@atproto/api 0.1.1 → 0.1.3

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 (47) hide show
  1. package/build.js +8 -0
  2. package/dist/client/index.d.ts +14 -0
  3. package/dist/client/lexicons.d.ts +251 -227
  4. package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -24
  5. package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +2 -15
  6. package/dist/client/types/app/bsky/actor/profile.d.ts +24 -1
  7. package/dist/client/types/app/bsky/actor/ref.d.ts +2 -0
  8. package/dist/client/types/app/bsky/actor/search.d.ts +2 -15
  9. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +2 -13
  10. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +3 -3
  11. package/dist/client/types/app/bsky/embed/record.d.ts +33 -0
  12. package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +2 -15
  13. package/dist/client/types/app/bsky/feed/post.d.ts +3 -2
  14. package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -15
  15. package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -15
  16. package/dist/client/types/app/bsky/graph/getMutes.d.ts +2 -13
  17. package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
  18. package/dist/client/types/com/atproto/report/reasonType.d.ts +1 -1
  19. package/dist/client/types/com/atproto/sync/getBlocks.d.ts +15 -0
  20. package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +12 -0
  21. package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +13 -0
  22. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +1 -0
  23. package/dist/index.js +709 -545
  24. package/dist/index.js.map +4 -4
  25. package/package.json +1 -1
  26. package/src/client/index.ts +56 -0
  27. package/src/client/lexicons.ts +290 -253
  28. package/src/client/types/app/bsky/actor/getProfile.ts +2 -35
  29. package/src/client/types/app/bsky/actor/getSuggestions.ts +2 -25
  30. package/src/client/types/app/bsky/actor/profile.ts +47 -1
  31. package/src/client/types/app/bsky/actor/ref.ts +2 -0
  32. package/src/client/types/app/bsky/actor/search.ts +2 -23
  33. package/src/client/types/app/bsky/actor/searchTypeahead.ts +2 -23
  34. package/src/client/types/app/bsky/actor/updateProfile.ts +3 -3
  35. package/src/client/types/app/bsky/embed/record.ts +83 -0
  36. package/src/client/types/app/bsky/feed/getRepostedBy.ts +2 -25
  37. package/src/client/types/app/bsky/feed/post.ts +3 -0
  38. package/src/client/types/app/bsky/graph/getFollowers.ts +1 -25
  39. package/src/client/types/app/bsky/graph/getFollows.ts +1 -25
  40. package/src/client/types/app/bsky/graph/getMutes.ts +2 -23
  41. package/src/client/types/com/atproto/handle/update.ts +31 -0
  42. package/src/client/types/com/atproto/report/reasonType.ts +2 -2
  43. package/src/client/types/com/atproto/sync/getBlocks.ts +31 -0
  44. package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +26 -0
  45. package/src/client/types/com/atproto/sync/requestCrawl.ts +29 -0
  46. package/src/client/types/com/atproto/sync/subscribeAllRepos.ts +7 -0
  47. package/tsconfig.build.tsbuildinfo +1 -1
package/dist/index.js CHANGED
@@ -93,6 +93,7 @@ __export(src_exports, {
93
93
  AppBskyActorUpdateProfile: () => updateProfile_exports,
94
94
  AppBskyEmbedExternal: () => external_exports,
95
95
  AppBskyEmbedImages: () => images_exports,
96
+ AppBskyEmbedRecord: () => record_exports2,
96
97
  AppBskyFeedFeedViewPost: () => feedViewPost_exports,
97
98
  AppBskyFeedGetAuthorFeed: () => getAuthorFeed_exports,
98
99
  AppBskyFeedGetPostThread: () => getPostThread_exports,
@@ -153,6 +154,7 @@ __export(src_exports, {
153
154
  ComAtprotoAdminTakeModerationAction: () => takeModerationAction_exports,
154
155
  ComAtprotoBlobUpload: () => upload_exports,
155
156
  ComAtprotoHandleResolve: () => resolve_exports,
157
+ ComAtprotoHandleUpdate: () => update_exports,
156
158
  ComAtprotoRepoBatchWrite: () => batchWrite_exports,
157
159
  ComAtprotoRepoCreateRecord: () => createRecord_exports,
158
160
  ComAtprotoRepoDeleteRecord: () => deleteRecord_exports,
@@ -171,11 +173,15 @@ __export(src_exports, {
171
173
  ComAtprotoSessionDelete: () => delete_exports2,
172
174
  ComAtprotoSessionGet: () => get_exports2,
173
175
  ComAtprotoSessionRefresh: () => refresh_exports,
176
+ ComAtprotoSyncGetBlocks: () => getBlocks_exports,
174
177
  ComAtprotoSyncGetCheckout: () => getCheckout_exports,
175
178
  ComAtprotoSyncGetCommitPath: () => getCommitPath_exports,
176
179
  ComAtprotoSyncGetHead: () => getHead_exports,
177
180
  ComAtprotoSyncGetRecord: () => getRecord_exports3,
178
181
  ComAtprotoSyncGetRepo: () => getRepo_exports2,
182
+ ComAtprotoSyncNotifyOfUpdate: () => notifyOfUpdate_exports,
183
+ ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
184
+ ComAtprotoSyncSubscribeAllRepos: () => subscribeAllRepos_exports,
179
185
  ComNS: () => ComNS,
180
186
  ConfirmationRecord: () => ConfirmationRecord,
181
187
  DeclarationRecord: () => DeclarationRecord,
@@ -3365,6 +3371,7 @@ var lexObject = mod.object({
3365
3371
  type: mod.literal("object"),
3366
3372
  description: mod.string().optional(),
3367
3373
  required: mod.string().array().optional(),
3374
+ nullable: mod.string().array().optional(),
3368
3375
  properties: mod.record(mod.union([lexRefVariant, lexArray, lexBlobVariant, lexPrimitive])).optional()
3369
3376
  });
3370
3377
  var lexXrpcParameters = mod.object({
@@ -3378,6 +3385,11 @@ var lexXrpcBody = mod.object({
3378
3385
  encoding: mod.string(),
3379
3386
  schema: mod.union([lexRefVariant, lexObject]).optional()
3380
3387
  });
3388
+ var lexXrpcSubscriptionMessage = mod.object({
3389
+ description: mod.string().optional(),
3390
+ schema: mod.union([lexRefVariant, lexObject]).optional(),
3391
+ codes: mod.record(mod.number().int()).optional()
3392
+ });
3381
3393
  var lexXrpcError = mod.object({
3382
3394
  name: mod.string(),
3383
3395
  description: mod.string().optional()
@@ -3397,6 +3409,14 @@ var lexXrpcProcedure = mod.object({
3397
3409
  output: lexXrpcBody.optional(),
3398
3410
  errors: lexXrpcError.array().optional()
3399
3411
  });
3412
+ var lexXrpcSubscription = mod.object({
3413
+ type: mod.literal("subscription"),
3414
+ description: mod.string().optional(),
3415
+ parameters: lexXrpcParameters.optional(),
3416
+ message: lexXrpcSubscriptionMessage.optional(),
3417
+ infos: lexXrpcError.array().optional(),
3418
+ errors: lexXrpcError.array().optional()
3419
+ });
3400
3420
  var lexRecord = mod.object({
3401
3421
  type: mod.literal("record"),
3402
3422
  description: mod.string().optional(),
@@ -3407,6 +3427,7 @@ var lexUserType = mod.union([
3407
3427
  lexRecord,
3408
3428
  lexXrpcQuery,
3409
3429
  lexXrpcProcedure,
3430
+ lexXrpcSubscription,
3410
3431
  lexBlob,
3411
3432
  lexImage,
3412
3433
  lexVideo,
@@ -3432,10 +3453,10 @@ var lexiconDoc = mod.object({
3432
3453
  }).superRefine((doc, ctx) => {
3433
3454
  for (const defId in doc.defs) {
3434
3455
  const def = doc.defs[defId];
3435
- if (defId !== "main" && (def.type === "record" || def.type === "procedure" || def.type === "query")) {
3456
+ if (defId !== "main" && (def.type === "record" || def.type === "procedure" || def.type === "query" || def.type === "subscription")) {
3436
3457
  ctx.addIssue({
3437
3458
  code: mod.ZodIssueCode.custom,
3438
- message: `Records, procedures, and queries must be the main definition.`
3459
+ message: `Records, procedures, queries, and subscriptions must be the main definition.`
3439
3460
  });
3440
3461
  }
3441
3462
  }
@@ -3492,9 +3513,9 @@ function validate(lexicons2, path, def, value) {
3492
3513
  function boolean(lexicons2, path, def, value) {
3493
3514
  def = def;
3494
3515
  const type = typeof value;
3495
- if (type == "undefined") {
3516
+ if (type === "undefined") {
3496
3517
  if (typeof def.default === "boolean") {
3497
- return { success: true };
3518
+ return { success: true, value: def.default };
3498
3519
  }
3499
3520
  return {
3500
3521
  success: false,
@@ -3514,14 +3535,14 @@ function boolean(lexicons2, path, def, value) {
3514
3535
  };
3515
3536
  }
3516
3537
  }
3517
- return { success: true };
3538
+ return { success: true, value };
3518
3539
  }
3519
3540
  function number(lexicons2, path, def, value) {
3520
3541
  def = def;
3521
3542
  const type = typeof value;
3522
- if (type == "undefined") {
3543
+ if (type === "undefined") {
3523
3544
  if (typeof def.default === "number") {
3524
- return { success: true };
3545
+ return { success: true, value: def.default };
3525
3546
  }
3526
3547
  return {
3527
3548
  success: false,
@@ -3571,13 +3592,15 @@ function number(lexicons2, path, def, value) {
3571
3592
  };
3572
3593
  }
3573
3594
  }
3574
- return { success: true };
3595
+ return { success: true, value };
3575
3596
  }
3576
3597
  function integer(lexicons2, path, def, value) {
3577
3598
  def = def;
3578
3599
  const numRes = number(lexicons2, path, def, value);
3579
3600
  if (!numRes.success) {
3580
3601
  return numRes;
3602
+ } else {
3603
+ value = numRes.value;
3581
3604
  }
3582
3605
  if (!Number.isInteger(value)) {
3583
3606
  return {
@@ -3585,14 +3608,14 @@ function integer(lexicons2, path, def, value) {
3585
3608
  error: new ValidationError(`${path} must be an integer`)
3586
3609
  };
3587
3610
  }
3588
- return { success: true };
3611
+ return { success: true, value };
3589
3612
  }
3590
3613
  function string(lexicons2, path, def, value) {
3591
3614
  def = def;
3592
3615
  const type = typeof value;
3593
- if (type == "undefined") {
3616
+ if (type === "undefined") {
3594
3617
  if (typeof def.default === "string") {
3595
- return { success: true };
3618
+ return { success: true, value: def.default };
3596
3619
  }
3597
3620
  return {
3598
3621
  success: false,
@@ -3642,7 +3665,7 @@ function string(lexicons2, path, def, value) {
3642
3665
  };
3643
3666
  }
3644
3667
  }
3645
- return { success: true };
3668
+ return { success: true, value };
3646
3669
  }
3647
3670
  function datetime(lexicons2, path, def, value) {
3648
3671
  def = def;
@@ -3664,7 +3687,7 @@ function datetime(lexicons2, path, def, value) {
3664
3687
  throw new ValidationError(`${path} must be an iso8601 formatted datetime`);
3665
3688
  }
3666
3689
  }
3667
- return { success: true };
3690
+ return { success: true, value };
3668
3691
  }
3669
3692
  function unknown(lexicons2, path, def, value) {
3670
3693
  if (!value || typeof value !== "object") {
@@ -3673,7 +3696,7 @@ function unknown(lexicons2, path, def, value) {
3673
3696
  error: new ValidationError(`${path} must be an object`)
3674
3697
  };
3675
3698
  }
3676
- return { success: true };
3699
+ return { success: true, value };
3677
3700
  }
3678
3701
 
3679
3702
  // ../lexicon/src/validators/blob.ts
@@ -3696,7 +3719,7 @@ function blob(lexicons2, path, def, value) {
3696
3719
  error: new ValidationError(`${path}/mimeType should be a string`)
3697
3720
  };
3698
3721
  }
3699
- return { success: true };
3722
+ return { success: true, value };
3700
3723
  }
3701
3724
  function image(lexicons2, path, def, value) {
3702
3725
  return blob(lexicons2, path, def, value);
@@ -3778,7 +3801,7 @@ function array(lexicons2, path, def, value) {
3778
3801
  return res;
3779
3802
  }
3780
3803
  }
3781
- return { success: true };
3804
+ return { success: true, value };
3782
3805
  }
3783
3806
  function object(lexicons2, path, def, value) {
3784
3807
  def = def;
@@ -3788,31 +3811,36 @@ function object(lexicons2, path, def, value) {
3788
3811
  error: new ValidationError(`${path} must be an object`)
3789
3812
  };
3790
3813
  }
3791
- if (Array.isArray(def.required)) {
3792
- for (const key of def.required) {
3793
- if (typeof value[key] === "undefined") {
3794
- return {
3795
- success: false,
3796
- error: new ValidationError(`${path} must have the property "${key}"`)
3797
- };
3798
- }
3799
- }
3800
- }
3814
+ const requiredProps = new Set(def.required);
3815
+ const nullableProps = new Set(def.nullable);
3816
+ let resultValue = value;
3801
3817
  if (typeof def.properties === "object") {
3802
3818
  for (const key in def.properties) {
3803
- const propValue = value[key];
3804
- if (typeof propValue === "undefined") {
3819
+ if (value[key] === null && nullableProps.has(key)) {
3805
3820
  continue;
3806
3821
  }
3807
3822
  const propDef = def.properties[key];
3808
3823
  const propPath = `${path}/${key}`;
3809
- const res = validateOneOf(lexicons2, propPath, propDef, propValue);
3810
- if (!res.success) {
3811
- return res;
3824
+ const validated = validateOneOf(lexicons2, propPath, propDef, value[key]);
3825
+ const propValue = validated.success ? validated.value : value[key];
3826
+ const propIsUndefined = typeof propValue === "undefined";
3827
+ if (propIsUndefined && requiredProps.has(key)) {
3828
+ return {
3829
+ success: false,
3830
+ error: new ValidationError(`${path} must have the property "${key}"`)
3831
+ };
3832
+ } else if (!propIsUndefined && !validated.success) {
3833
+ return validated;
3834
+ }
3835
+ if (propValue !== value[key]) {
3836
+ if (resultValue === value) {
3837
+ resultValue = { ...value };
3838
+ }
3839
+ resultValue[key] = propValue;
3812
3840
  }
3813
3841
  }
3814
3842
  }
3815
- return { success: true };
3843
+ return { success: true, value: resultValue };
3816
3844
  }
3817
3845
 
3818
3846
  // ../lexicon/src/util.ts
@@ -3849,7 +3877,7 @@ function validateOneOf(lexicons2, path, def, value, mustBeObj = false) {
3849
3877
  )
3850
3878
  };
3851
3879
  }
3852
- return { success: true };
3880
+ return { success: true, value };
3853
3881
  } else {
3854
3882
  concreteDefs = toConcreteTypes(lexicons2, {
3855
3883
  type: "ref",
@@ -3878,9 +3906,9 @@ function validateOneOf(lexicons2, path, def, value, mustBeObj = false) {
3878
3906
  }
3879
3907
  function assertValidOneOf(lexicons2, path, def, value, mustBeObj = false) {
3880
3908
  const res = validateOneOf(lexicons2, path, def, value, mustBeObj);
3881
- if (!res.success) {
3909
+ if (!res.success)
3882
3910
  throw res.error;
3883
- }
3911
+ return res.value;
3884
3912
  }
3885
3913
  function toConcreteTypes(lexicons2, def) {
3886
3914
  if (def.type === "ref") {
@@ -3893,32 +3921,33 @@ function toConcreteTypes(lexicons2, def) {
3893
3921
  }
3894
3922
 
3895
3923
  // ../lexicon/src/validators/xrpc.ts
3896
- function params(lexicons2, path, def, value) {
3897
- if (!value || typeof value !== "object") {
3898
- value = {};
3899
- }
3900
- if (Array.isArray(def.required)) {
3901
- for (const key of def.required) {
3902
- if (typeof value[key] === "undefined") {
3924
+ function params(lexicons2, path, def, val) {
3925
+ const value = val && typeof val === "object" ? val : {};
3926
+ const requiredProps = new Set(def.required ?? []);
3927
+ let resultValue = value;
3928
+ if (typeof def.properties === "object") {
3929
+ for (const key in def.properties) {
3930
+ const propDef = def.properties[key];
3931
+ const validated = propDef.type === "array" ? array(lexicons2, key, propDef, value[key]) : validate(lexicons2, key, propDef, value[key]);
3932
+ const propValue = validated.success ? validated.value : value[key];
3933
+ const propIsUndefined = typeof propValue === "undefined";
3934
+ if (propIsUndefined && requiredProps.has(key)) {
3903
3935
  return {
3904
3936
  success: false,
3905
3937
  error: new ValidationError(`${path} must have the property "${key}"`)
3906
3938
  };
3939
+ } else if (!propIsUndefined && !validated.success) {
3940
+ return validated;
3941
+ }
3942
+ if (propValue !== value[key]) {
3943
+ if (resultValue === value) {
3944
+ resultValue = { ...value };
3945
+ }
3946
+ resultValue[key] = propValue;
3907
3947
  }
3908
3948
  }
3909
3949
  }
3910
- for (const key in def.properties) {
3911
- if (typeof value[key] === "undefined") {
3912
- continue;
3913
- }
3914
- const paramDef = def.properties[key];
3915
- const val = value[key];
3916
- const res = paramDef.type === "array" ? array(lexicons2, key, paramDef, val) : validate(lexicons2, key, paramDef, val);
3917
- if (!res.success) {
3918
- return res;
3919
- }
3920
- }
3921
- return { success: true };
3950
+ return { success: true, value: resultValue };
3922
3951
  }
3923
3952
 
3924
3953
  // ../lexicon/src/validation.ts
@@ -3926,22 +3955,35 @@ function assertValidRecord(lexicons2, def, value) {
3926
3955
  const res = object(lexicons2, "Record", def.record, value);
3927
3956
  if (!res.success)
3928
3957
  throw res.error;
3958
+ return res.value;
3929
3959
  }
3930
3960
  function assertValidXrpcParams(lexicons2, def, value) {
3931
3961
  if (def.parameters) {
3932
3962
  const res = params(lexicons2, "Params", def.parameters, value);
3933
3963
  if (!res.success)
3934
3964
  throw res.error;
3965
+ return res.value;
3935
3966
  }
3936
3967
  }
3937
3968
  function assertValidXrpcInput(lexicons2, def, value) {
3938
3969
  if (def.input?.schema) {
3939
- assertValidOneOf(lexicons2, "Input", def.input.schema, value, true);
3970
+ return assertValidOneOf(lexicons2, "Input", def.input.schema, value, true);
3940
3971
  }
3941
3972
  }
3942
3973
  function assertValidXrpcOutput(lexicons2, def, value) {
3943
3974
  if (def.output?.schema) {
3944
- assertValidOneOf(lexicons2, "Output", def.output.schema, value, true);
3975
+ return assertValidOneOf(lexicons2, "Output", def.output.schema, value, true);
3976
+ }
3977
+ }
3978
+ function assertValidXrpcMessage(lexicons2, def, value) {
3979
+ if (def.message?.schema) {
3980
+ return assertValidOneOf(
3981
+ lexicons2,
3982
+ "Message",
3983
+ def.message.schema,
3984
+ value,
3985
+ true
3986
+ );
3945
3987
  }
3946
3988
  }
3947
3989
 
@@ -3975,7 +4017,7 @@ var Lexicons = class {
3975
4017
  if (this.docs.has(uri)) {
3976
4018
  throw new Error(`${uri} has already been registered`);
3977
4019
  }
3978
- resolveRefUris(validatedDoc, uri);
4020
+ resolveRefUris(validatedDoc, uri, true);
3979
4021
  this.docs.set(uri, validatedDoc);
3980
4022
  for (const [defUri, def] of iterDefs(validatedDoc)) {
3981
4023
  this.defs.set(defUri, def);
@@ -4041,22 +4083,43 @@ var Lexicons = class {
4041
4083
  `Invalid $type: must be ${lexUri}, got ${$type}`
4042
4084
  );
4043
4085
  }
4044
- assertValidRecord(this, def, value);
4086
+ return assertValidRecord(this, def, value);
4045
4087
  }
4046
4088
  assertValidXrpcParams(lexUri, value) {
4047
4089
  lexUri = toLexUri(lexUri);
4048
- const def = this.getDefOrThrow(lexUri, ["query", "procedure"]);
4049
- assertValidXrpcParams(this, def, value);
4090
+ const def = this.getDefOrThrow(lexUri, [
4091
+ "query",
4092
+ "procedure",
4093
+ "subscription"
4094
+ ]);
4095
+ return assertValidXrpcParams(
4096
+ this,
4097
+ def,
4098
+ value
4099
+ );
4050
4100
  }
4051
4101
  assertValidXrpcInput(lexUri, value) {
4052
4102
  lexUri = toLexUri(lexUri);
4053
4103
  const def = this.getDefOrThrow(lexUri, ["procedure"]);
4054
- assertValidXrpcInput(this, def, value);
4104
+ return assertValidXrpcInput(this, def, value);
4055
4105
  }
4056
4106
  assertValidXrpcOutput(lexUri, value) {
4057
4107
  lexUri = toLexUri(lexUri);
4058
4108
  const def = this.getDefOrThrow(lexUri, ["query", "procedure"]);
4059
- assertValidXrpcOutput(this, def, value);
4109
+ return assertValidXrpcOutput(
4110
+ this,
4111
+ def,
4112
+ value
4113
+ );
4114
+ }
4115
+ assertValidXrpcMessage(lexUri, value) {
4116
+ lexUri = toLexUri(lexUri);
4117
+ const def = this.getDefOrThrow(lexUri, ["subscription"]);
4118
+ return assertValidXrpcMessage(this, def, value);
4119
+ }
4120
+ resolveLexUri(lexUri, ref) {
4121
+ lexUri = toLexUri(lexUri);
4122
+ return toLexUri(ref, lexUri);
4060
4123
  }
4061
4124
  };
4062
4125
  function* iterDefs(doc) {
@@ -4067,7 +4130,7 @@ function* iterDefs(doc) {
4067
4130
  }
4068
4131
  }
4069
4132
  }
4070
- function resolveRefUris(obj, baseUri) {
4133
+ function resolveRefUris(obj, baseUri, root) {
4071
4134
  for (const k in obj) {
4072
4135
  if (obj.type === "ref") {
4073
4136
  obj.ref = toLexUri(obj.ref, baseUri);
@@ -4086,6 +4149,17 @@ function resolveRefUris(obj, baseUri) {
4086
4149
  obj[k] = resolveRefUris(obj[k], baseUri);
4087
4150
  }
4088
4151
  }
4152
+ if (root && obj?.defs?.main?.type === "subscription") {
4153
+ const sub = obj.defs.main;
4154
+ if (sub.message?.codes) {
4155
+ sub.message.codes = Object.entries(sub.message.codes).reduce(
4156
+ (acc, [key, code]) => {
4157
+ return Object.assign(acc, { [toLexUri(key, baseUri)]: code });
4158
+ },
4159
+ {}
4160
+ );
4161
+ }
4162
+ }
4089
4163
  return obj;
4090
4164
  }
4091
4165
 
@@ -4618,7 +4692,7 @@ var schemaDict = {
4618
4692
  required: ["id"],
4619
4693
  properties: {
4620
4694
  id: {
4621
- type: "number"
4695
+ type: "integer"
4622
4696
  }
4623
4697
  }
4624
4698
  },
@@ -4690,7 +4764,7 @@ var schemaDict = {
4690
4764
  required: ["id"],
4691
4765
  properties: {
4692
4766
  id: {
4693
- type: "number"
4767
+ type: "integer"
4694
4768
  }
4695
4769
  }
4696
4770
  },
@@ -5536,6 +5610,28 @@ var schemaDict = {
5536
5610
  }
5537
5611
  }
5538
5612
  },
5613
+ ComAtprotoHandleUpdate: {
5614
+ lexicon: 1,
5615
+ id: "com.atproto.handle.update",
5616
+ defs: {
5617
+ main: {
5618
+ type: "procedure",
5619
+ description: "Updates the handle of the account",
5620
+ input: {
5621
+ encoding: "application/json",
5622
+ schema: {
5623
+ type: "object",
5624
+ required: ["handle"],
5625
+ properties: {
5626
+ handle: {
5627
+ type: "string"
5628
+ }
5629
+ }
5630
+ }
5631
+ }
5632
+ }
5633
+ }
5634
+ },
5539
5635
  ComAtprotoRepoBatchWrite: {
5540
5636
  lexicon: 1,
5541
5637
  id: "com.atproto.repo.batchWrite",
@@ -6079,8 +6175,8 @@ var schemaDict = {
6079
6175
  main: {
6080
6176
  type: "string",
6081
6177
  knownValues: [
6082
- "com.atproto.report.reason#spam",
6083
- "com.atproto.report.reason#other"
6178
+ "com.atproto.report.reasonType#spam",
6179
+ "com.atproto.report.reasonType#other"
6084
6180
  ]
6085
6181
  },
6086
6182
  spam: {
@@ -6309,6 +6405,35 @@ var schemaDict = {
6309
6405
  }
6310
6406
  }
6311
6407
  },
6408
+ ComAtprotoSyncGetBlocks: {
6409
+ lexicon: 1,
6410
+ id: "com.atproto.sync.getBlocks",
6411
+ defs: {
6412
+ main: {
6413
+ type: "query",
6414
+ description: "Gets blocks from a given repo.",
6415
+ parameters: {
6416
+ type: "params",
6417
+ required: ["did", "cids"],
6418
+ properties: {
6419
+ did: {
6420
+ type: "string",
6421
+ description: "The DID of the repo."
6422
+ },
6423
+ cids: {
6424
+ type: "array",
6425
+ items: {
6426
+ type: "string"
6427
+ }
6428
+ }
6429
+ }
6430
+ },
6431
+ output: {
6432
+ encoding: "application/vnd.ipld.car"
6433
+ }
6434
+ }
6435
+ }
6436
+ },
6312
6437
  ComAtprotoSyncGetCheckout: {
6313
6438
  lexicon: 1,
6314
6439
  id: "com.atproto.sync.getCheckout",
@@ -6475,87 +6600,131 @@ var schemaDict = {
6475
6600
  }
6476
6601
  }
6477
6602
  },
6478
- AppBskyActorGetProfile: {
6603
+ ComAtprotoSyncNotifyOfUpdate: {
6479
6604
  lexicon: 1,
6480
- id: "app.bsky.actor.getProfile",
6605
+ id: "com.atproto.sync.notifyOfUpdate",
6606
+ defs: {
6607
+ main: {
6608
+ type: "query",
6609
+ description: "Notify a crawling service of a recent update. Often when a long break between updates causes the connection with the crawling service to break."
6610
+ }
6611
+ }
6612
+ },
6613
+ ComAtprotoSyncRequestCrawl: {
6614
+ lexicon: 1,
6615
+ id: "com.atproto.sync.requestCrawl",
6481
6616
  defs: {
6482
6617
  main: {
6483
6618
  type: "query",
6619
+ description: "Request a service to persistently crawl hosted repos.",
6484
6620
  parameters: {
6485
6621
  type: "params",
6486
- required: ["actor"],
6622
+ required: ["hostname"],
6487
6623
  properties: {
6488
- actor: {
6489
- type: "string"
6624
+ host: {
6625
+ type: "string",
6626
+ description: "Hostname of the service that is requesting to be crawled."
6627
+ }
6628
+ }
6629
+ }
6630
+ }
6631
+ }
6632
+ },
6633
+ ComAtprotoSyncSubscribeAllRepos: {
6634
+ lexicon: 1,
6635
+ id: "com.atproto.sync.subscribeAllRepos",
6636
+ defs: {
6637
+ main: {
6638
+ type: "subscription",
6639
+ description: "Subscribe to repo updates",
6640
+ parameters: {
6641
+ type: "params",
6642
+ properties: {
6643
+ cursor: {
6644
+ type: "integer",
6645
+ description: "The last known event to backfill from."
6490
6646
  }
6491
6647
  }
6492
6648
  },
6493
- output: {
6494
- encoding: "application/json",
6649
+ message: {
6495
6650
  schema: {
6496
6651
  type: "object",
6497
6652
  required: [
6498
- "did",
6499
- "declaration",
6500
- "handle",
6501
- "creator",
6502
- "followersCount",
6503
- "followsCount",
6504
- "postsCount"
6653
+ "seq",
6654
+ "event",
6655
+ "repo",
6656
+ "commit",
6657
+ "prev",
6658
+ "blocks",
6659
+ "blobs",
6660
+ "time"
6505
6661
  ],
6662
+ nullable: ["prev"],
6506
6663
  properties: {
6507
- did: {
6508
- type: "string"
6509
- },
6510
- declaration: {
6511
- type: "ref",
6512
- ref: "lex:app.bsky.system.declRef"
6513
- },
6514
- handle: {
6515
- type: "string"
6516
- },
6517
- creator: {
6518
- type: "string"
6519
- },
6520
- displayName: {
6521
- type: "string",
6522
- maxLength: 64
6664
+ seq: {
6665
+ type: "integer"
6523
6666
  },
6524
- description: {
6667
+ event: {
6525
6668
  type: "string",
6526
- maxLength: 256
6669
+ knownValues: ["repo_append", "rebase"]
6527
6670
  },
6528
- avatar: {
6671
+ repo: {
6529
6672
  type: "string"
6530
6673
  },
6531
- banner: {
6674
+ commit: {
6532
6675
  type: "string"
6533
6676
  },
6534
- followersCount: {
6535
- type: "integer"
6677
+ prev: {
6678
+ type: "string"
6536
6679
  },
6537
- followsCount: {
6538
- type: "integer"
6680
+ blocks: {
6681
+ type: "unknown"
6539
6682
  },
6540
- postsCount: {
6541
- type: "integer"
6683
+ blobs: {
6684
+ type: "array",
6685
+ items: {
6686
+ type: "string"
6687
+ }
6542
6688
  },
6543
- myState: {
6544
- type: "ref",
6545
- ref: "lex:app.bsky.actor.getProfile#myState"
6689
+ time: {
6690
+ type: "datetime"
6546
6691
  }
6547
6692
  }
6548
6693
  }
6549
- }
6550
- },
6551
- myState: {
6552
- type: "object",
6553
- properties: {
6554
- follow: {
6555
- type: "string"
6556
- },
6557
- muted: {
6558
- type: "boolean"
6694
+ },
6695
+ infos: [
6696
+ {
6697
+ name: "OutdatedCursor"
6698
+ }
6699
+ ],
6700
+ errors: [
6701
+ {
6702
+ name: "FutureCursor"
6703
+ }
6704
+ ]
6705
+ }
6706
+ }
6707
+ },
6708
+ AppBskyActorGetProfile: {
6709
+ lexicon: 1,
6710
+ id: "app.bsky.actor.getProfile",
6711
+ defs: {
6712
+ main: {
6713
+ type: "query",
6714
+ parameters: {
6715
+ type: "params",
6716
+ required: ["actor"],
6717
+ properties: {
6718
+ actor: {
6719
+ type: "string"
6720
+ }
6721
+ }
6722
+ },
6723
+ output: {
6724
+ encoding: "application/json",
6725
+ schema: {
6726
+ type: "ref",
6727
+ ref: "lex:app.bsky.actor.profile#view"
6559
6728
  }
6560
6729
  }
6561
6730
  }
@@ -6633,41 +6802,12 @@ var schemaDict = {
6633
6802
  type: "array",
6634
6803
  items: {
6635
6804
  type: "ref",
6636
- ref: "lex:app.bsky.actor.getSuggestions#actor"
6805
+ ref: "lex:app.bsky.actor.profile#viewBasic"
6637
6806
  }
6638
6807
  }
6639
6808
  }
6640
6809
  }
6641
6810
  }
6642
- },
6643
- actor: {
6644
- type: "object",
6645
- required: ["did", "declaration", "handle"],
6646
- properties: {
6647
- did: {
6648
- type: "string"
6649
- },
6650
- declaration: {
6651
- type: "ref",
6652
- ref: "lex:app.bsky.system.declRef"
6653
- },
6654
- handle: {
6655
- type: "string"
6656
- },
6657
- displayName: {
6658
- type: "string",
6659
- maxLength: 64
6660
- },
6661
- description: {
6662
- type: "string"
6663
- },
6664
- avatar: {
6665
- type: "string"
6666
- },
6667
- indexedAt: {
6668
- type: "datetime"
6669
- }
6670
- }
6671
6811
  }
6672
6812
  }
6673
6813
  },
@@ -6729,9 +6869,6 @@ var schemaDict = {
6729
6869
  handle: {
6730
6870
  type: "string"
6731
6871
  },
6732
- creator: {
6733
- type: "string"
6734
- },
6735
6872
  displayName: {
6736
6873
  type: "string",
6737
6874
  maxLength: 64
@@ -6755,39 +6892,99 @@ var schemaDict = {
6755
6892
  postsCount: {
6756
6893
  type: "integer"
6757
6894
  },
6895
+ creator: {
6896
+ type: "string"
6897
+ },
6898
+ indexedAt: {
6899
+ type: "datetime"
6900
+ },
6901
+ viewer: {
6902
+ type: "ref",
6903
+ ref: "lex:app.bsky.actor.profile#viewerState"
6904
+ },
6758
6905
  myState: {
6759
6906
  type: "ref",
6760
- ref: "lex:app.bsky.actor.profile#myState"
6907
+ ref: "lex:app.bsky.actor.profile#myState",
6908
+ description: "Deprecated"
6761
6909
  }
6762
6910
  }
6763
6911
  },
6764
- myState: {
6765
- type: "object",
6766
- properties: {
6767
- follow: {
6768
- type: "string"
6769
- },
6770
- muted: {
6771
- type: "boolean"
6772
- }
6773
- }
6774
- }
6775
- }
6776
- },
6777
- AppBskyActorRef: {
6778
- lexicon: 1,
6779
- id: "app.bsky.actor.ref",
6780
- description: "A reference to an actor in the network.",
6781
- defs: {
6782
- main: {
6912
+ viewBasic: {
6783
6913
  type: "object",
6784
- required: ["did", "declarationCid"],
6914
+ required: ["did", "declaration", "handle"],
6785
6915
  properties: {
6786
6916
  did: {
6787
6917
  type: "string"
6788
6918
  },
6789
- declarationCid: {
6790
- type: "string"
6919
+ declaration: {
6920
+ type: "ref",
6921
+ ref: "lex:app.bsky.system.declRef"
6922
+ },
6923
+ handle: {
6924
+ type: "string"
6925
+ },
6926
+ displayName: {
6927
+ type: "string",
6928
+ maxLength: 64
6929
+ },
6930
+ description: {
6931
+ type: "string",
6932
+ maxLength: 256
6933
+ },
6934
+ avatar: {
6935
+ type: "string"
6936
+ },
6937
+ indexedAt: {
6938
+ type: "datetime"
6939
+ },
6940
+ viewer: {
6941
+ type: "ref",
6942
+ ref: "lex:app.bsky.actor.profile#viewerState"
6943
+ }
6944
+ }
6945
+ },
6946
+ viewerState: {
6947
+ type: "object",
6948
+ properties: {
6949
+ muted: {
6950
+ type: "boolean"
6951
+ },
6952
+ following: {
6953
+ type: "string"
6954
+ },
6955
+ followedBy: {
6956
+ type: "string"
6957
+ }
6958
+ }
6959
+ },
6960
+ myState: {
6961
+ type: "object",
6962
+ description: "Deprecated in favor of #viewerState",
6963
+ properties: {
6964
+ follow: {
6965
+ type: "string"
6966
+ },
6967
+ muted: {
6968
+ type: "boolean"
6969
+ }
6970
+ }
6971
+ }
6972
+ }
6973
+ },
6974
+ AppBskyActorRef: {
6975
+ lexicon: 1,
6976
+ id: "app.bsky.actor.ref",
6977
+ description: "A reference to an actor in the network.",
6978
+ defs: {
6979
+ main: {
6980
+ type: "object",
6981
+ required: ["did", "declarationCid"],
6982
+ properties: {
6983
+ did: {
6984
+ type: "string"
6985
+ },
6986
+ declarationCid: {
6987
+ type: "string"
6791
6988
  }
6792
6989
  }
6793
6990
  },
@@ -6823,6 +7020,12 @@ var schemaDict = {
6823
7020
  properties: {
6824
7021
  muted: {
6825
7022
  type: "boolean"
7023
+ },
7024
+ following: {
7025
+ type: "string"
7026
+ },
7027
+ followedBy: {
7028
+ type: "string"
6826
7029
  }
6827
7030
  }
6828
7031
  }
@@ -6865,41 +7068,12 @@ var schemaDict = {
6865
7068
  type: "array",
6866
7069
  items: {
6867
7070
  type: "ref",
6868
- ref: "lex:app.bsky.actor.search#user"
7071
+ ref: "lex:app.bsky.actor.profile#viewBasic"
6869
7072
  }
6870
7073
  }
6871
7074
  }
6872
7075
  }
6873
7076
  }
6874
- },
6875
- user: {
6876
- type: "object",
6877
- required: ["did", "declaration", "handle"],
6878
- properties: {
6879
- did: {
6880
- type: "string"
6881
- },
6882
- declaration: {
6883
- type: "ref",
6884
- ref: "lex:app.bsky.system.declRef"
6885
- },
6886
- handle: {
6887
- type: "string"
6888
- },
6889
- displayName: {
6890
- type: "string",
6891
- maxLength: 64
6892
- },
6893
- avatar: {
6894
- type: "string"
6895
- },
6896
- description: {
6897
- type: "string"
6898
- },
6899
- indexedAt: {
6900
- type: "datetime"
6901
- }
6902
- }
6903
7077
  }
6904
7078
  }
6905
7079
  },
@@ -6934,35 +7108,12 @@ var schemaDict = {
6934
7108
  type: "array",
6935
7109
  items: {
6936
7110
  type: "ref",
6937
- ref: "lex:app.bsky.actor.searchTypeahead#user"
7111
+ ref: "lex:app.bsky.actor.ref#withInfo"
6938
7112
  }
6939
7113
  }
6940
7114
  }
6941
7115
  }
6942
7116
  }
6943
- },
6944
- user: {
6945
- type: "object",
6946
- required: ["did", "declaration", "handle"],
6947
- properties: {
6948
- did: {
6949
- type: "string"
6950
- },
6951
- declaration: {
6952
- type: "ref",
6953
- ref: "lex:app.bsky.system.declRef"
6954
- },
6955
- handle: {
6956
- type: "string"
6957
- },
6958
- displayName: {
6959
- type: "string",
6960
- maxLength: 64
6961
- },
6962
- avatar: {
6963
- type: "string"
6964
- }
6965
- }
6966
7117
  }
6967
7118
  }
6968
7119
  },
@@ -6977,6 +7128,7 @@ var schemaDict = {
6977
7128
  encoding: "application/json",
6978
7129
  schema: {
6979
7130
  type: "object",
7131
+ nullable: ["description", "avatar", "banner"],
6980
7132
  properties: {
6981
7133
  displayName: {
6982
7134
  type: "string",
@@ -7171,6 +7323,64 @@ var schemaDict = {
7171
7323
  }
7172
7324
  }
7173
7325
  },
7326
+ AppBskyEmbedRecord: {
7327
+ lexicon: 1,
7328
+ id: "app.bsky.embed.record",
7329
+ description: "An representation of a record embedded in another form of content",
7330
+ defs: {
7331
+ main: {
7332
+ type: "object",
7333
+ required: ["record"],
7334
+ properties: {
7335
+ record: {
7336
+ type: "ref",
7337
+ ref: "lex:com.atproto.repo.strongRef"
7338
+ }
7339
+ }
7340
+ },
7341
+ presented: {
7342
+ type: "object",
7343
+ required: ["record"],
7344
+ properties: {
7345
+ record: {
7346
+ type: "union",
7347
+ refs: [
7348
+ "lex:app.bsky.embed.record#presentedRecord",
7349
+ "lex:app.bsky.embed.record#presentedNotFound"
7350
+ ]
7351
+ }
7352
+ }
7353
+ },
7354
+ presentedRecord: {
7355
+ type: "object",
7356
+ required: ["uri", "cid", "author", "record"],
7357
+ properties: {
7358
+ uri: {
7359
+ type: "string"
7360
+ },
7361
+ cid: {
7362
+ type: "string"
7363
+ },
7364
+ author: {
7365
+ type: "ref",
7366
+ ref: "lex:app.bsky.actor.ref#withInfo"
7367
+ },
7368
+ record: {
7369
+ type: "unknown"
7370
+ }
7371
+ }
7372
+ },
7373
+ presentedNotFound: {
7374
+ type: "object",
7375
+ required: ["uri"],
7376
+ properties: {
7377
+ uri: {
7378
+ type: "string"
7379
+ }
7380
+ }
7381
+ }
7382
+ }
7383
+ },
7174
7384
  AppBskyFeedFeedViewPost: {
7175
7385
  lexicon: 1,
7176
7386
  id: "app.bsky.feed.feedViewPost",
@@ -7397,41 +7607,12 @@ var schemaDict = {
7397
7607
  type: "array",
7398
7608
  items: {
7399
7609
  type: "ref",
7400
- ref: "lex:app.bsky.feed.getRepostedBy#repostedBy"
7610
+ ref: "lex:app.bsky.actor.ref#withInfo"
7401
7611
  }
7402
7612
  }
7403
7613
  }
7404
7614
  }
7405
7615
  }
7406
- },
7407
- repostedBy: {
7408
- type: "object",
7409
- required: ["did", "declaration", "handle", "indexedAt"],
7410
- properties: {
7411
- did: {
7412
- type: "string"
7413
- },
7414
- declaration: {
7415
- type: "ref",
7416
- ref: "lex:app.bsky.system.declRef"
7417
- },
7418
- handle: {
7419
- type: "string"
7420
- },
7421
- displayName: {
7422
- type: "string",
7423
- maxLength: 64
7424
- },
7425
- avatar: {
7426
- type: "string"
7427
- },
7428
- createdAt: {
7429
- type: "datetime"
7430
- },
7431
- indexedAt: {
7432
- type: "datetime"
7433
- }
7434
- }
7435
7616
  }
7436
7617
  }
7437
7618
  },
@@ -7590,7 +7771,8 @@ var schemaDict = {
7590
7771
  type: "union",
7591
7772
  refs: [
7592
7773
  "lex:app.bsky.embed.images",
7593
- "lex:app.bsky.embed.external"
7774
+ "lex:app.bsky.embed.external",
7775
+ "lex:app.bsky.embed.record"
7594
7776
  ]
7595
7777
  },
7596
7778
  createdAt: {
@@ -7677,7 +7859,8 @@ var schemaDict = {
7677
7859
  type: "union",
7678
7860
  refs: [
7679
7861
  "lex:app.bsky.embed.images#presented",
7680
- "lex:app.bsky.embed.external#presented"
7862
+ "lex:app.bsky.embed.external#presented",
7863
+ "lex:app.bsky.embed.record#presented"
7681
7864
  ]
7682
7865
  },
7683
7866
  replyCount: {
@@ -7947,41 +8130,12 @@ var schemaDict = {
7947
8130
  type: "array",
7948
8131
  items: {
7949
8132
  type: "ref",
7950
- ref: "lex:app.bsky.graph.getFollowers#follower"
8133
+ ref: "lex:app.bsky.actor.ref#withInfo"
7951
8134
  }
7952
8135
  }
7953
8136
  }
7954
8137
  }
7955
8138
  }
7956
- },
7957
- follower: {
7958
- type: "object",
7959
- required: ["did", "declaration", "handle", "indexedAt"],
7960
- properties: {
7961
- did: {
7962
- type: "string"
7963
- },
7964
- declaration: {
7965
- type: "ref",
7966
- ref: "lex:app.bsky.system.declRef"
7967
- },
7968
- handle: {
7969
- type: "string"
7970
- },
7971
- displayName: {
7972
- type: "string",
7973
- maxLength: 64
7974
- },
7975
- avatar: {
7976
- type: "string"
7977
- },
7978
- createdAt: {
7979
- type: "datetime"
7980
- },
7981
- indexedAt: {
7982
- type: "datetime"
7983
- }
7984
- }
7985
8139
  }
7986
8140
  }
7987
8141
  },
@@ -8027,41 +8181,12 @@ var schemaDict = {
8027
8181
  type: "array",
8028
8182
  items: {
8029
8183
  type: "ref",
8030
- ref: "lex:app.bsky.graph.getFollows#follow"
8184
+ ref: "lex:app.bsky.actor.ref#withInfo"
8031
8185
  }
8032
8186
  }
8033
8187
  }
8034
8188
  }
8035
8189
  }
8036
- },
8037
- follow: {
8038
- type: "object",
8039
- required: ["did", "declaration", "handle", "indexedAt"],
8040
- properties: {
8041
- did: {
8042
- type: "string"
8043
- },
8044
- declaration: {
8045
- type: "ref",
8046
- ref: "lex:app.bsky.system.declRef"
8047
- },
8048
- handle: {
8049
- type: "string"
8050
- },
8051
- displayName: {
8052
- type: "string",
8053
- maxLength: 64
8054
- },
8055
- avatar: {
8056
- type: "string"
8057
- },
8058
- createdAt: {
8059
- type: "datetime"
8060
- },
8061
- indexedAt: {
8062
- type: "datetime"
8063
- }
8064
- }
8065
8190
  }
8066
8191
  }
8067
8192
  },
@@ -8099,35 +8224,12 @@ var schemaDict = {
8099
8224
  type: "array",
8100
8225
  items: {
8101
8226
  type: "ref",
8102
- ref: "lex:app.bsky.graph.getMutes#mute"
8227
+ ref: "lex:app.bsky.actor.ref#withInfo"
8103
8228
  }
8104
8229
  }
8105
8230
  }
8106
8231
  }
8107
8232
  }
8108
- },
8109
- mute: {
8110
- type: "object",
8111
- required: ["did", "declaration", "handle", "createdAt"],
8112
- properties: {
8113
- did: {
8114
- type: "string"
8115
- },
8116
- declaration: {
8117
- type: "ref",
8118
- ref: "lex:app.bsky.system.declRef"
8119
- },
8120
- handle: {
8121
- type: "string"
8122
- },
8123
- displayName: {
8124
- type: "string",
8125
- maxLength: 64
8126
- },
8127
- createdAt: {
8128
- type: "datetime"
8129
- }
8130
- }
8131
8233
  }
8132
8234
  }
8133
8235
  },
@@ -8644,13 +8746,24 @@ function toKnownErr19(e) {
8644
8746
  return e;
8645
8747
  }
8646
8748
 
8749
+ // src/client/types/com/atproto/handle/update.ts
8750
+ var update_exports = {};
8751
+ __export(update_exports, {
8752
+ toKnownErr: () => toKnownErr20
8753
+ });
8754
+ function toKnownErr20(e) {
8755
+ if (e instanceof XRPCError) {
8756
+ }
8757
+ return e;
8758
+ }
8759
+
8647
8760
  // src/client/types/com/atproto/repo/batchWrite.ts
8648
8761
  var batchWrite_exports = {};
8649
8762
  __export(batchWrite_exports, {
8650
8763
  isCreate: () => isCreate,
8651
8764
  isDelete: () => isDelete,
8652
8765
  isUpdate: () => isUpdate,
8653
- toKnownErr: () => toKnownErr20,
8766
+ toKnownErr: () => toKnownErr21,
8654
8767
  validateCreate: () => validateCreate,
8655
8768
  validateDelete: () => validateDelete,
8656
8769
  validateUpdate: () => validateUpdate
@@ -8665,7 +8778,7 @@ function hasProp2(data, prop) {
8665
8778
  }
8666
8779
 
8667
8780
  // src/client/types/com/atproto/repo/batchWrite.ts
8668
- function toKnownErr20(e) {
8781
+ function toKnownErr21(e) {
8669
8782
  if (e instanceof XRPCError) {
8670
8783
  }
8671
8784
  return e;
@@ -8692,9 +8805,9 @@ function validateDelete(v) {
8692
8805
  // src/client/types/com/atproto/repo/createRecord.ts
8693
8806
  var createRecord_exports = {};
8694
8807
  __export(createRecord_exports, {
8695
- toKnownErr: () => toKnownErr21
8808
+ toKnownErr: () => toKnownErr22
8696
8809
  });
8697
- function toKnownErr21(e) {
8810
+ function toKnownErr22(e) {
8698
8811
  if (e instanceof XRPCError) {
8699
8812
  }
8700
8813
  return e;
@@ -8703,9 +8816,9 @@ function toKnownErr21(e) {
8703
8816
  // src/client/types/com/atproto/repo/deleteRecord.ts
8704
8817
  var deleteRecord_exports = {};
8705
8818
  __export(deleteRecord_exports, {
8706
- toKnownErr: () => toKnownErr22
8819
+ toKnownErr: () => toKnownErr23
8707
8820
  });
8708
- function toKnownErr22(e) {
8821
+ function toKnownErr23(e) {
8709
8822
  if (e instanceof XRPCError) {
8710
8823
  }
8711
8824
  return e;
@@ -8714,9 +8827,9 @@ function toKnownErr22(e) {
8714
8827
  // src/client/types/com/atproto/repo/describe.ts
8715
8828
  var describe_exports = {};
8716
8829
  __export(describe_exports, {
8717
- toKnownErr: () => toKnownErr23
8830
+ toKnownErr: () => toKnownErr24
8718
8831
  });
8719
- function toKnownErr23(e) {
8832
+ function toKnownErr24(e) {
8720
8833
  if (e instanceof XRPCError) {
8721
8834
  }
8722
8835
  return e;
@@ -8725,9 +8838,9 @@ function toKnownErr23(e) {
8725
8838
  // src/client/types/com/atproto/repo/getRecord.ts
8726
8839
  var getRecord_exports2 = {};
8727
8840
  __export(getRecord_exports2, {
8728
- toKnownErr: () => toKnownErr24
8841
+ toKnownErr: () => toKnownErr25
8729
8842
  });
8730
- function toKnownErr24(e) {
8843
+ function toKnownErr25(e) {
8731
8844
  if (e instanceof XRPCError) {
8732
8845
  }
8733
8846
  return e;
@@ -8737,10 +8850,10 @@ function toKnownErr24(e) {
8737
8850
  var listRecords_exports = {};
8738
8851
  __export(listRecords_exports, {
8739
8852
  isRecord: () => isRecord,
8740
- toKnownErr: () => toKnownErr25,
8853
+ toKnownErr: () => toKnownErr26,
8741
8854
  validateRecord: () => validateRecord
8742
8855
  });
8743
- function toKnownErr25(e) {
8856
+ function toKnownErr26(e) {
8744
8857
  if (e instanceof XRPCError) {
8745
8858
  }
8746
8859
  return e;
@@ -8755,9 +8868,9 @@ function validateRecord(v) {
8755
8868
  // src/client/types/com/atproto/repo/putRecord.ts
8756
8869
  var putRecord_exports = {};
8757
8870
  __export(putRecord_exports, {
8758
- toKnownErr: () => toKnownErr26
8871
+ toKnownErr: () => toKnownErr27
8759
8872
  });
8760
- function toKnownErr26(e) {
8873
+ function toKnownErr27(e) {
8761
8874
  if (e instanceof XRPCError) {
8762
8875
  }
8763
8876
  return e;
@@ -8766,9 +8879,9 @@ function toKnownErr26(e) {
8766
8879
  // src/client/types/com/atproto/report/create.ts
8767
8880
  var create_exports2 = {};
8768
8881
  __export(create_exports2, {
8769
- toKnownErr: () => toKnownErr27
8882
+ toKnownErr: () => toKnownErr28
8770
8883
  });
8771
- function toKnownErr27(e) {
8884
+ function toKnownErr28(e) {
8772
8885
  if (e instanceof XRPCError) {
8773
8886
  }
8774
8887
  return e;
@@ -8778,10 +8891,10 @@ function toKnownErr27(e) {
8778
8891
  var getAccountsConfig_exports = {};
8779
8892
  __export(getAccountsConfig_exports, {
8780
8893
  isLinks: () => isLinks,
8781
- toKnownErr: () => toKnownErr28,
8894
+ toKnownErr: () => toKnownErr29,
8782
8895
  validateLinks: () => validateLinks
8783
8896
  });
8784
- function toKnownErr28(e) {
8897
+ function toKnownErr29(e) {
8785
8898
  if (e instanceof XRPCError) {
8786
8899
  }
8787
8900
  return e;
@@ -8797,14 +8910,14 @@ function validateLinks(v) {
8797
8910
  var create_exports3 = {};
8798
8911
  __export(create_exports3, {
8799
8912
  AccountTakedownError: () => AccountTakedownError,
8800
- toKnownErr: () => toKnownErr29
8913
+ toKnownErr: () => toKnownErr30
8801
8914
  });
8802
8915
  var AccountTakedownError = class extends XRPCError {
8803
8916
  constructor(src) {
8804
8917
  super(src.status, src.error, src.message);
8805
8918
  }
8806
8919
  };
8807
- function toKnownErr29(e) {
8920
+ function toKnownErr30(e) {
8808
8921
  if (e instanceof XRPCError) {
8809
8922
  if (e.error === "AccountTakedown")
8810
8923
  return new AccountTakedownError(e);
@@ -8815,9 +8928,9 @@ function toKnownErr29(e) {
8815
8928
  // src/client/types/com/atproto/session/delete.ts
8816
8929
  var delete_exports2 = {};
8817
8930
  __export(delete_exports2, {
8818
- toKnownErr: () => toKnownErr30
8931
+ toKnownErr: () => toKnownErr31
8819
8932
  });
8820
- function toKnownErr30(e) {
8933
+ function toKnownErr31(e) {
8821
8934
  if (e instanceof XRPCError) {
8822
8935
  }
8823
8936
  return e;
@@ -8826,9 +8939,9 @@ function toKnownErr30(e) {
8826
8939
  // src/client/types/com/atproto/session/get.ts
8827
8940
  var get_exports2 = {};
8828
8941
  __export(get_exports2, {
8829
- toKnownErr: () => toKnownErr31
8942
+ toKnownErr: () => toKnownErr32
8830
8943
  });
8831
- function toKnownErr31(e) {
8944
+ function toKnownErr32(e) {
8832
8945
  if (e instanceof XRPCError) {
8833
8946
  }
8834
8947
  return e;
@@ -8838,14 +8951,14 @@ function toKnownErr31(e) {
8838
8951
  var refresh_exports = {};
8839
8952
  __export(refresh_exports, {
8840
8953
  AccountTakedownError: () => AccountTakedownError2,
8841
- toKnownErr: () => toKnownErr32
8954
+ toKnownErr: () => toKnownErr33
8842
8955
  });
8843
8956
  var AccountTakedownError2 = class extends XRPCError {
8844
8957
  constructor(src) {
8845
8958
  super(src.status, src.error, src.message);
8846
8959
  }
8847
8960
  };
8848
- function toKnownErr32(e) {
8961
+ function toKnownErr33(e) {
8849
8962
  if (e instanceof XRPCError) {
8850
8963
  if (e.error === "AccountTakedown")
8851
8964
  return new AccountTakedownError2(e);
@@ -8853,12 +8966,23 @@ function toKnownErr32(e) {
8853
8966
  return e;
8854
8967
  }
8855
8968
 
8969
+ // src/client/types/com/atproto/sync/getBlocks.ts
8970
+ var getBlocks_exports = {};
8971
+ __export(getBlocks_exports, {
8972
+ toKnownErr: () => toKnownErr34
8973
+ });
8974
+ function toKnownErr34(e) {
8975
+ if (e instanceof XRPCError) {
8976
+ }
8977
+ return e;
8978
+ }
8979
+
8856
8980
  // src/client/types/com/atproto/sync/getCheckout.ts
8857
8981
  var getCheckout_exports = {};
8858
8982
  __export(getCheckout_exports, {
8859
- toKnownErr: () => toKnownErr33
8983
+ toKnownErr: () => toKnownErr35
8860
8984
  });
8861
- function toKnownErr33(e) {
8985
+ function toKnownErr35(e) {
8862
8986
  if (e instanceof XRPCError) {
8863
8987
  }
8864
8988
  return e;
@@ -8867,9 +8991,9 @@ function toKnownErr33(e) {
8867
8991
  // src/client/types/com/atproto/sync/getCommitPath.ts
8868
8992
  var getCommitPath_exports = {};
8869
8993
  __export(getCommitPath_exports, {
8870
- toKnownErr: () => toKnownErr34
8994
+ toKnownErr: () => toKnownErr36
8871
8995
  });
8872
- function toKnownErr34(e) {
8996
+ function toKnownErr36(e) {
8873
8997
  if (e instanceof XRPCError) {
8874
8998
  }
8875
8999
  return e;
@@ -8878,9 +9002,9 @@ function toKnownErr34(e) {
8878
9002
  // src/client/types/com/atproto/sync/getHead.ts
8879
9003
  var getHead_exports = {};
8880
9004
  __export(getHead_exports, {
8881
- toKnownErr: () => toKnownErr35
9005
+ toKnownErr: () => toKnownErr37
8882
9006
  });
8883
- function toKnownErr35(e) {
9007
+ function toKnownErr37(e) {
8884
9008
  if (e instanceof XRPCError) {
8885
9009
  }
8886
9010
  return e;
@@ -8889,9 +9013,9 @@ function toKnownErr35(e) {
8889
9013
  // src/client/types/com/atproto/sync/getRecord.ts
8890
9014
  var getRecord_exports3 = {};
8891
9015
  __export(getRecord_exports3, {
8892
- toKnownErr: () => toKnownErr36
9016
+ toKnownErr: () => toKnownErr38
8893
9017
  });
8894
- function toKnownErr36(e) {
9018
+ function toKnownErr38(e) {
8895
9019
  if (e instanceof XRPCError) {
8896
9020
  }
8897
9021
  return e;
@@ -8900,9 +9024,31 @@ function toKnownErr36(e) {
8900
9024
  // src/client/types/com/atproto/sync/getRepo.ts
8901
9025
  var getRepo_exports2 = {};
8902
9026
  __export(getRepo_exports2, {
8903
- toKnownErr: () => toKnownErr37
9027
+ toKnownErr: () => toKnownErr39
8904
9028
  });
8905
- function toKnownErr37(e) {
9029
+ function toKnownErr39(e) {
9030
+ if (e instanceof XRPCError) {
9031
+ }
9032
+ return e;
9033
+ }
9034
+
9035
+ // src/client/types/com/atproto/sync/notifyOfUpdate.ts
9036
+ var notifyOfUpdate_exports = {};
9037
+ __export(notifyOfUpdate_exports, {
9038
+ toKnownErr: () => toKnownErr40
9039
+ });
9040
+ function toKnownErr40(e) {
9041
+ if (e instanceof XRPCError) {
9042
+ }
9043
+ return e;
9044
+ }
9045
+
9046
+ // src/client/types/com/atproto/sync/requestCrawl.ts
9047
+ var requestCrawl_exports = {};
9048
+ __export(requestCrawl_exports, {
9049
+ toKnownErr: () => toKnownErr41
9050
+ });
9051
+ function toKnownErr41(e) {
8906
9052
  if (e instanceof XRPCError) {
8907
9053
  }
8908
9054
  return e;
@@ -8911,28 +9057,20 @@ function toKnownErr37(e) {
8911
9057
  // src/client/types/app/bsky/actor/getProfile.ts
8912
9058
  var getProfile_exports = {};
8913
9059
  __export(getProfile_exports, {
8914
- isMyState: () => isMyState,
8915
- toKnownErr: () => toKnownErr38,
8916
- validateMyState: () => validateMyState
9060
+ toKnownErr: () => toKnownErr42
8917
9061
  });
8918
- function toKnownErr38(e) {
9062
+ function toKnownErr42(e) {
8919
9063
  if (e instanceof XRPCError) {
8920
9064
  }
8921
9065
  return e;
8922
9066
  }
8923
- function isMyState(v) {
8924
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.getProfile#myState";
8925
- }
8926
- function validateMyState(v) {
8927
- return lexicons.validate("app.bsky.actor.getProfile#myState", v);
8928
- }
8929
9067
 
8930
9068
  // src/client/types/app/bsky/actor/getProfiles.ts
8931
9069
  var getProfiles_exports = {};
8932
9070
  __export(getProfiles_exports, {
8933
- toKnownErr: () => toKnownErr39
9071
+ toKnownErr: () => toKnownErr43
8934
9072
  });
8935
- function toKnownErr39(e) {
9073
+ function toKnownErr43(e) {
8936
9074
  if (e instanceof XRPCError) {
8937
9075
  }
8938
9076
  return e;
@@ -8941,59 +9079,35 @@ function toKnownErr39(e) {
8941
9079
  // src/client/types/app/bsky/actor/getSuggestions.ts
8942
9080
  var getSuggestions_exports = {};
8943
9081
  __export(getSuggestions_exports, {
8944
- isActor: () => isActor,
8945
- toKnownErr: () => toKnownErr40,
8946
- validateActor: () => validateActor
9082
+ toKnownErr: () => toKnownErr44
8947
9083
  });
8948
- function toKnownErr40(e) {
9084
+ function toKnownErr44(e) {
8949
9085
  if (e instanceof XRPCError) {
8950
9086
  }
8951
9087
  return e;
8952
9088
  }
8953
- function isActor(v) {
8954
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.getSuggestions#actor";
8955
- }
8956
- function validateActor(v) {
8957
- return lexicons.validate("app.bsky.actor.getSuggestions#actor", v);
8958
- }
8959
9089
 
8960
9090
  // src/client/types/app/bsky/actor/search.ts
8961
9091
  var search_exports = {};
8962
9092
  __export(search_exports, {
8963
- isUser: () => isUser,
8964
- toKnownErr: () => toKnownErr41,
8965
- validateUser: () => validateUser
9093
+ toKnownErr: () => toKnownErr45
8966
9094
  });
8967
- function toKnownErr41(e) {
9095
+ function toKnownErr45(e) {
8968
9096
  if (e instanceof XRPCError) {
8969
9097
  }
8970
9098
  return e;
8971
9099
  }
8972
- function isUser(v) {
8973
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.search#user";
8974
- }
8975
- function validateUser(v) {
8976
- return lexicons.validate("app.bsky.actor.search#user", v);
8977
- }
8978
9100
 
8979
9101
  // src/client/types/app/bsky/actor/searchTypeahead.ts
8980
9102
  var searchTypeahead_exports = {};
8981
9103
  __export(searchTypeahead_exports, {
8982
- isUser: () => isUser2,
8983
- toKnownErr: () => toKnownErr42,
8984
- validateUser: () => validateUser2
9104
+ toKnownErr: () => toKnownErr46
8985
9105
  });
8986
- function toKnownErr42(e) {
9106
+ function toKnownErr46(e) {
8987
9107
  if (e instanceof XRPCError) {
8988
9108
  }
8989
9109
  return e;
8990
9110
  }
8991
- function isUser2(v) {
8992
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.searchTypeahead#user";
8993
- }
8994
- function validateUser2(v) {
8995
- return lexicons.validate("app.bsky.actor.searchTypeahead#user", v);
8996
- }
8997
9111
 
8998
9112
  // src/client/types/app/bsky/actor/updateProfile.ts
8999
9113
  var updateProfile_exports = {};
@@ -9002,7 +9116,7 @@ __export(updateProfile_exports, {
9002
9116
  InvalidBlobError: () => InvalidBlobError,
9003
9117
  InvalidImageDimensionsError: () => InvalidImageDimensionsError,
9004
9118
  InvalidMimeTypeError: () => InvalidMimeTypeError,
9005
- toKnownErr: () => toKnownErr43
9119
+ toKnownErr: () => toKnownErr47
9006
9120
  });
9007
9121
  var InvalidBlobError = class extends XRPCError {
9008
9122
  constructor(src) {
@@ -9024,7 +9138,7 @@ var InvalidImageDimensionsError = class extends XRPCError {
9024
9138
  super(src.status, src.error, src.message);
9025
9139
  }
9026
9140
  };
9027
- function toKnownErr43(e) {
9141
+ function toKnownErr47(e) {
9028
9142
  if (e instanceof XRPCError) {
9029
9143
  if (e.error === "InvalidBlob")
9030
9144
  return new InvalidBlobError(e);
@@ -9041,9 +9155,9 @@ function toKnownErr43(e) {
9041
9155
  // src/client/types/app/bsky/feed/getAuthorFeed.ts
9042
9156
  var getAuthorFeed_exports = {};
9043
9157
  __export(getAuthorFeed_exports, {
9044
- toKnownErr: () => toKnownErr44
9158
+ toKnownErr: () => toKnownErr48
9045
9159
  });
9046
- function toKnownErr44(e) {
9160
+ function toKnownErr48(e) {
9047
9161
  if (e instanceof XRPCError) {
9048
9162
  }
9049
9163
  return e;
@@ -9055,7 +9169,7 @@ __export(getPostThread_exports, {
9055
9169
  NotFoundError: () => NotFoundError,
9056
9170
  isNotFoundPost: () => isNotFoundPost,
9057
9171
  isThreadViewPost: () => isThreadViewPost,
9058
- toKnownErr: () => toKnownErr45,
9172
+ toKnownErr: () => toKnownErr49,
9059
9173
  validateNotFoundPost: () => validateNotFoundPost,
9060
9174
  validateThreadViewPost: () => validateThreadViewPost
9061
9175
  });
@@ -9064,7 +9178,7 @@ var NotFoundError = class extends XRPCError {
9064
9178
  super(src.status, src.error, src.message);
9065
9179
  }
9066
9180
  };
9067
- function toKnownErr45(e) {
9181
+ function toKnownErr49(e) {
9068
9182
  if (e instanceof XRPCError) {
9069
9183
  if (e.error === "NotFound")
9070
9184
  return new NotFoundError(e);
@@ -9087,28 +9201,20 @@ function validateNotFoundPost(v) {
9087
9201
  // src/client/types/app/bsky/feed/getRepostedBy.ts
9088
9202
  var getRepostedBy_exports = {};
9089
9203
  __export(getRepostedBy_exports, {
9090
- isRepostedBy: () => isRepostedBy,
9091
- toKnownErr: () => toKnownErr46,
9092
- validateRepostedBy: () => validateRepostedBy
9204
+ toKnownErr: () => toKnownErr50
9093
9205
  });
9094
- function toKnownErr46(e) {
9206
+ function toKnownErr50(e) {
9095
9207
  if (e instanceof XRPCError) {
9096
9208
  }
9097
9209
  return e;
9098
9210
  }
9099
- function isRepostedBy(v) {
9100
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.getRepostedBy#repostedBy";
9101
- }
9102
- function validateRepostedBy(v) {
9103
- return lexicons.validate("app.bsky.feed.getRepostedBy#repostedBy", v);
9104
- }
9105
9211
 
9106
9212
  // src/client/types/app/bsky/feed/getTimeline.ts
9107
9213
  var getTimeline_exports = {};
9108
9214
  __export(getTimeline_exports, {
9109
- toKnownErr: () => toKnownErr47
9215
+ toKnownErr: () => toKnownErr51
9110
9216
  });
9111
- function toKnownErr47(e) {
9217
+ function toKnownErr51(e) {
9112
9218
  if (e instanceof XRPCError) {
9113
9219
  }
9114
9220
  return e;
@@ -9118,10 +9224,10 @@ function toKnownErr47(e) {
9118
9224
  var getVotes_exports = {};
9119
9225
  __export(getVotes_exports, {
9120
9226
  isVote: () => isVote,
9121
- toKnownErr: () => toKnownErr48,
9227
+ toKnownErr: () => toKnownErr52,
9122
9228
  validateVote: () => validateVote
9123
9229
  });
9124
- function toKnownErr48(e) {
9230
+ function toKnownErr52(e) {
9125
9231
  if (e instanceof XRPCError) {
9126
9232
  }
9127
9233
  return e;
@@ -9136,9 +9242,9 @@ function validateVote(v) {
9136
9242
  // src/client/types/app/bsky/feed/setVote.ts
9137
9243
  var setVote_exports = {};
9138
9244
  __export(setVote_exports, {
9139
- toKnownErr: () => toKnownErr49
9245
+ toKnownErr: () => toKnownErr53
9140
9246
  });
9141
- function toKnownErr49(e) {
9247
+ function toKnownErr53(e) {
9142
9248
  if (e instanceof XRPCError) {
9143
9249
  }
9144
9250
  return e;
@@ -9147,66 +9253,42 @@ function toKnownErr49(e) {
9147
9253
  // src/client/types/app/bsky/graph/getFollowers.ts
9148
9254
  var getFollowers_exports = {};
9149
9255
  __export(getFollowers_exports, {
9150
- isFollower: () => isFollower,
9151
- toKnownErr: () => toKnownErr50,
9152
- validateFollower: () => validateFollower
9256
+ toKnownErr: () => toKnownErr54
9153
9257
  });
9154
- function toKnownErr50(e) {
9258
+ function toKnownErr54(e) {
9155
9259
  if (e instanceof XRPCError) {
9156
9260
  }
9157
9261
  return e;
9158
9262
  }
9159
- function isFollower(v) {
9160
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getFollowers#follower";
9161
- }
9162
- function validateFollower(v) {
9163
- return lexicons.validate("app.bsky.graph.getFollowers#follower", v);
9164
- }
9165
9263
 
9166
9264
  // src/client/types/app/bsky/graph/getFollows.ts
9167
9265
  var getFollows_exports = {};
9168
9266
  __export(getFollows_exports, {
9169
- isFollow: () => isFollow,
9170
- toKnownErr: () => toKnownErr51,
9171
- validateFollow: () => validateFollow
9267
+ toKnownErr: () => toKnownErr55
9172
9268
  });
9173
- function toKnownErr51(e) {
9269
+ function toKnownErr55(e) {
9174
9270
  if (e instanceof XRPCError) {
9175
9271
  }
9176
9272
  return e;
9177
9273
  }
9178
- function isFollow(v) {
9179
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getFollows#follow";
9180
- }
9181
- function validateFollow(v) {
9182
- return lexicons.validate("app.bsky.graph.getFollows#follow", v);
9183
- }
9184
9274
 
9185
9275
  // src/client/types/app/bsky/graph/getMutes.ts
9186
9276
  var getMutes_exports = {};
9187
9277
  __export(getMutes_exports, {
9188
- isMute: () => isMute,
9189
- toKnownErr: () => toKnownErr52,
9190
- validateMute: () => validateMute
9278
+ toKnownErr: () => toKnownErr56
9191
9279
  });
9192
- function toKnownErr52(e) {
9280
+ function toKnownErr56(e) {
9193
9281
  if (e instanceof XRPCError) {
9194
9282
  }
9195
9283
  return e;
9196
9284
  }
9197
- function isMute(v) {
9198
- return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getMutes#mute";
9199
- }
9200
- function validateMute(v) {
9201
- return lexicons.validate("app.bsky.graph.getMutes#mute", v);
9202
- }
9203
9285
 
9204
9286
  // src/client/types/app/bsky/graph/mute.ts
9205
9287
  var mute_exports = {};
9206
9288
  __export(mute_exports, {
9207
- toKnownErr: () => toKnownErr53
9289
+ toKnownErr: () => toKnownErr57
9208
9290
  });
9209
- function toKnownErr53(e) {
9291
+ function toKnownErr57(e) {
9210
9292
  if (e instanceof XRPCError) {
9211
9293
  }
9212
9294
  return e;
@@ -9215,9 +9297,9 @@ function toKnownErr53(e) {
9215
9297
  // src/client/types/app/bsky/graph/unmute.ts
9216
9298
  var unmute_exports = {};
9217
9299
  __export(unmute_exports, {
9218
- toKnownErr: () => toKnownErr54
9300
+ toKnownErr: () => toKnownErr58
9219
9301
  });
9220
- function toKnownErr54(e) {
9302
+ function toKnownErr58(e) {
9221
9303
  if (e instanceof XRPCError) {
9222
9304
  }
9223
9305
  return e;
@@ -9226,9 +9308,9 @@ function toKnownErr54(e) {
9226
9308
  // src/client/types/app/bsky/notification/getCount.ts
9227
9309
  var getCount_exports = {};
9228
9310
  __export(getCount_exports, {
9229
- toKnownErr: () => toKnownErr55
9311
+ toKnownErr: () => toKnownErr59
9230
9312
  });
9231
- function toKnownErr55(e) {
9313
+ function toKnownErr59(e) {
9232
9314
  if (e instanceof XRPCError) {
9233
9315
  }
9234
9316
  return e;
@@ -9238,10 +9320,10 @@ function toKnownErr55(e) {
9238
9320
  var list_exports = {};
9239
9321
  __export(list_exports, {
9240
9322
  isNotification: () => isNotification,
9241
- toKnownErr: () => toKnownErr56,
9323
+ toKnownErr: () => toKnownErr60,
9242
9324
  validateNotification: () => validateNotification
9243
9325
  });
9244
- function toKnownErr56(e) {
9326
+ function toKnownErr60(e) {
9245
9327
  if (e instanceof XRPCError) {
9246
9328
  }
9247
9329
  return e;
@@ -9256,9 +9338,9 @@ function validateNotification(v) {
9256
9338
  // src/client/types/app/bsky/notification/updateSeen.ts
9257
9339
  var updateSeen_exports = {};
9258
9340
  __export(updateSeen_exports, {
9259
- toKnownErr: () => toKnownErr57
9341
+ toKnownErr: () => toKnownErr61
9260
9342
  });
9261
- function toKnownErr57(e) {
9343
+ function toKnownErr61(e) {
9262
9344
  if (e instanceof XRPCError) {
9263
9345
  }
9264
9346
  return e;
@@ -9524,15 +9606,22 @@ function validateRecordRef(v) {
9524
9606
  return lexicons.validate("com.atproto.report.subject#recordRef", v);
9525
9607
  }
9526
9608
 
9609
+ // src/client/types/com/atproto/sync/subscribeAllRepos.ts
9610
+ var subscribeAllRepos_exports = {};
9611
+
9527
9612
  // src/client/types/app/bsky/actor/profile.ts
9528
9613
  var profile_exports = {};
9529
9614
  __export(profile_exports, {
9530
- isMyState: () => isMyState2,
9615
+ isMyState: () => isMyState,
9531
9616
  isRecord: () => isRecord3,
9532
9617
  isView: () => isView6,
9533
- validateMyState: () => validateMyState2,
9618
+ isViewBasic: () => isViewBasic,
9619
+ isViewerState: () => isViewerState,
9620
+ validateMyState: () => validateMyState,
9534
9621
  validateRecord: () => validateRecord3,
9535
- validateView: () => validateView6
9622
+ validateView: () => validateView6,
9623
+ validateViewBasic: () => validateViewBasic,
9624
+ validateViewerState: () => validateViewerState
9536
9625
  });
9537
9626
  function isRecord3(v) {
9538
9627
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.actor.profile#main" || v.$type === "app.bsky.actor.profile");
@@ -9546,10 +9635,22 @@ function isView6(v) {
9546
9635
  function validateView6(v) {
9547
9636
  return lexicons.validate("app.bsky.actor.profile#view", v);
9548
9637
  }
9549
- function isMyState2(v) {
9638
+ function isViewBasic(v) {
9639
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.profile#viewBasic";
9640
+ }
9641
+ function validateViewBasic(v) {
9642
+ return lexicons.validate("app.bsky.actor.profile#viewBasic", v);
9643
+ }
9644
+ function isViewerState(v) {
9645
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.profile#viewerState";
9646
+ }
9647
+ function validateViewerState(v) {
9648
+ return lexicons.validate("app.bsky.actor.profile#viewerState", v);
9649
+ }
9650
+ function isMyState(v) {
9550
9651
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.profile#myState";
9551
9652
  }
9552
- function validateMyState2(v) {
9653
+ function validateMyState(v) {
9553
9654
  return lexicons.validate("app.bsky.actor.profile#myState", v);
9554
9655
  }
9555
9656
 
@@ -9557,10 +9658,10 @@ function validateMyState2(v) {
9557
9658
  var ref_exports = {};
9558
9659
  __export(ref_exports, {
9559
9660
  isMain: () => isMain4,
9560
- isViewerState: () => isViewerState,
9661
+ isViewerState: () => isViewerState2,
9561
9662
  isWithInfo: () => isWithInfo,
9562
9663
  validateMain: () => validateMain4,
9563
- validateViewerState: () => validateViewerState,
9664
+ validateViewerState: () => validateViewerState2,
9564
9665
  validateWithInfo: () => validateWithInfo
9565
9666
  });
9566
9667
  function isMain4(v) {
@@ -9575,10 +9676,10 @@ function isWithInfo(v) {
9575
9676
  function validateWithInfo(v) {
9576
9677
  return lexicons.validate("app.bsky.actor.ref#withInfo", v);
9577
9678
  }
9578
- function isViewerState(v) {
9679
+ function isViewerState2(v) {
9579
9680
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.ref#viewerState";
9580
9681
  }
9581
- function validateViewerState(v) {
9682
+ function validateViewerState2(v) {
9582
9683
  return lexicons.validate("app.bsky.actor.ref#viewerState", v);
9583
9684
  }
9584
9685
 
@@ -9656,20 +9757,57 @@ function validatePresentedImage(v) {
9656
9757
  return lexicons.validate("app.bsky.embed.images#presentedImage", v);
9657
9758
  }
9658
9759
 
9760
+ // src/client/types/app/bsky/embed/record.ts
9761
+ var record_exports2 = {};
9762
+ __export(record_exports2, {
9763
+ isMain: () => isMain7,
9764
+ isPresented: () => isPresented3,
9765
+ isPresentedNotFound: () => isPresentedNotFound,
9766
+ isPresentedRecord: () => isPresentedRecord,
9767
+ validateMain: () => validateMain7,
9768
+ validatePresented: () => validatePresented3,
9769
+ validatePresentedNotFound: () => validatePresentedNotFound,
9770
+ validatePresentedRecord: () => validatePresentedRecord
9771
+ });
9772
+ function isMain7(v) {
9773
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.embed.record#main" || v.$type === "app.bsky.embed.record");
9774
+ }
9775
+ function validateMain7(v) {
9776
+ return lexicons.validate("app.bsky.embed.record#main", v);
9777
+ }
9778
+ function isPresented3(v) {
9779
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.embed.record#presented";
9780
+ }
9781
+ function validatePresented3(v) {
9782
+ return lexicons.validate("app.bsky.embed.record#presented", v);
9783
+ }
9784
+ function isPresentedRecord(v) {
9785
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.embed.record#presentedRecord";
9786
+ }
9787
+ function validatePresentedRecord(v) {
9788
+ return lexicons.validate("app.bsky.embed.record#presentedRecord", v);
9789
+ }
9790
+ function isPresentedNotFound(v) {
9791
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.embed.record#presentedNotFound";
9792
+ }
9793
+ function validatePresentedNotFound(v) {
9794
+ return lexicons.validate("app.bsky.embed.record#presentedNotFound", v);
9795
+ }
9796
+
9659
9797
  // src/client/types/app/bsky/feed/feedViewPost.ts
9660
9798
  var feedViewPost_exports = {};
9661
9799
  __export(feedViewPost_exports, {
9662
- isMain: () => isMain7,
9800
+ isMain: () => isMain8,
9663
9801
  isReasonRepost: () => isReasonRepost,
9664
9802
  isReplyRef: () => isReplyRef,
9665
- validateMain: () => validateMain7,
9803
+ validateMain: () => validateMain8,
9666
9804
  validateReasonRepost: () => validateReasonRepost,
9667
9805
  validateReplyRef: () => validateReplyRef
9668
9806
  });
9669
- function isMain7(v) {
9807
+ function isMain8(v) {
9670
9808
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.feedViewPost#main" || v.$type === "app.bsky.feed.feedViewPost");
9671
9809
  }
9672
- function validateMain7(v) {
9810
+ function validateMain8(v) {
9673
9811
  return lexicons.validate("app.bsky.feed.feedViewPost#main", v);
9674
9812
  }
9675
9813
  function isReplyRef(v) {
@@ -9693,13 +9831,13 @@ __export(post_exports, {
9693
9831
  isReplyRef: () => isReplyRef2,
9694
9832
  isTextSlice: () => isTextSlice,
9695
9833
  isView: () => isView7,
9696
- isViewerState: () => isViewerState2,
9834
+ isViewerState: () => isViewerState3,
9697
9835
  validateEntity: () => validateEntity,
9698
9836
  validateRecord: () => validateRecord4,
9699
9837
  validateReplyRef: () => validateReplyRef2,
9700
9838
  validateTextSlice: () => validateTextSlice,
9701
9839
  validateView: () => validateView7,
9702
- validateViewerState: () => validateViewerState2
9840
+ validateViewerState: () => validateViewerState3
9703
9841
  });
9704
9842
  function isRecord4(v) {
9705
9843
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.post#main" || v.$type === "app.bsky.feed.post");
@@ -9731,10 +9869,10 @@ function isView7(v) {
9731
9869
  function validateView7(v) {
9732
9870
  return lexicons.validate("app.bsky.feed.post#view", v);
9733
9871
  }
9734
- function isViewerState2(v) {
9872
+ function isViewerState3(v) {
9735
9873
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.post#viewerState";
9736
9874
  }
9737
- function validateViewerState2(v) {
9875
+ function validateViewerState3(v) {
9738
9876
  return lexicons.validate("app.bsky.feed.post#viewerState", v);
9739
9877
  }
9740
9878
 
@@ -9827,13 +9965,13 @@ var MAIN3 = "app.bsky.system.actorUser#main";
9827
9965
  // src/client/types/app/bsky/system/declRef.ts
9828
9966
  var declRef_exports = {};
9829
9967
  __export(declRef_exports, {
9830
- isMain: () => isMain8,
9831
- validateMain: () => validateMain8
9968
+ isMain: () => isMain9,
9969
+ validateMain: () => validateMain9
9832
9970
  });
9833
- function isMain8(v) {
9971
+ function isMain9(v) {
9834
9972
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.system.declRef#main" || v.$type === "app.bsky.system.declRef");
9835
9973
  }
9836
- function validateMain8(v) {
9974
+ function validateMain9(v) {
9837
9975
  return lexicons.validate("app.bsky.system.declRef#main", v);
9838
9976
  }
9839
9977
 
@@ -10021,6 +10159,11 @@ var HandleNS = class {
10021
10159
  throw toKnownErr19(e);
10022
10160
  });
10023
10161
  }
10162
+ update(data, opts) {
10163
+ return this._service.xrpc.call("com.atproto.handle.update", opts?.qp, data, opts).catch((e) => {
10164
+ throw toKnownErr20(e);
10165
+ });
10166
+ }
10024
10167
  };
10025
10168
  var RepoNS = class {
10026
10169
  constructor(service) {
@@ -10028,37 +10171,37 @@ var RepoNS = class {
10028
10171
  }
10029
10172
  batchWrite(data, opts) {
10030
10173
  return this._service.xrpc.call("com.atproto.repo.batchWrite", opts?.qp, data, opts).catch((e) => {
10031
- throw toKnownErr20(e);
10174
+ throw toKnownErr21(e);
10032
10175
  });
10033
10176
  }
10034
10177
  createRecord(data, opts) {
10035
10178
  return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
10036
- throw toKnownErr21(e);
10179
+ throw toKnownErr22(e);
10037
10180
  });
10038
10181
  }
10039
10182
  deleteRecord(data, opts) {
10040
10183
  return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
10041
- throw toKnownErr22(e);
10184
+ throw toKnownErr23(e);
10042
10185
  });
10043
10186
  }
10044
10187
  describe(params2, opts) {
10045
10188
  return this._service.xrpc.call("com.atproto.repo.describe", params2, void 0, opts).catch((e) => {
10046
- throw toKnownErr23(e);
10189
+ throw toKnownErr24(e);
10047
10190
  });
10048
10191
  }
10049
10192
  getRecord(params2, opts) {
10050
10193
  return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
10051
- throw toKnownErr24(e);
10194
+ throw toKnownErr25(e);
10052
10195
  });
10053
10196
  }
10054
10197
  listRecords(params2, opts) {
10055
10198
  return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
10056
- throw toKnownErr25(e);
10199
+ throw toKnownErr26(e);
10057
10200
  });
10058
10201
  }
10059
10202
  putRecord(data, opts) {
10060
10203
  return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
10061
- throw toKnownErr26(e);
10204
+ throw toKnownErr27(e);
10062
10205
  });
10063
10206
  }
10064
10207
  };
@@ -10068,7 +10211,7 @@ var ReportNS = class {
10068
10211
  }
10069
10212
  create(data, opts) {
10070
10213
  return this._service.xrpc.call("com.atproto.report.create", opts?.qp, data, opts).catch((e) => {
10071
- throw toKnownErr27(e);
10214
+ throw toKnownErr28(e);
10072
10215
  });
10073
10216
  }
10074
10217
  };
@@ -10078,7 +10221,7 @@ var ServerNS = class {
10078
10221
  }
10079
10222
  getAccountsConfig(params2, opts) {
10080
10223
  return this._service.xrpc.call("com.atproto.server.getAccountsConfig", params2, void 0, opts).catch((e) => {
10081
- throw toKnownErr28(e);
10224
+ throw toKnownErr29(e);
10082
10225
  });
10083
10226
  }
10084
10227
  };
@@ -10088,22 +10231,22 @@ var SessionNS = class {
10088
10231
  }
10089
10232
  create(data, opts) {
10090
10233
  return this._service.xrpc.call("com.atproto.session.create", opts?.qp, data, opts).catch((e) => {
10091
- throw toKnownErr29(e);
10234
+ throw toKnownErr30(e);
10092
10235
  });
10093
10236
  }
10094
10237
  delete(data, opts) {
10095
10238
  return this._service.xrpc.call("com.atproto.session.delete", opts?.qp, data, opts).catch((e) => {
10096
- throw toKnownErr30(e);
10239
+ throw toKnownErr31(e);
10097
10240
  });
10098
10241
  }
10099
10242
  get(params2, opts) {
10100
10243
  return this._service.xrpc.call("com.atproto.session.get", params2, void 0, opts).catch((e) => {
10101
- throw toKnownErr31(e);
10244
+ throw toKnownErr32(e);
10102
10245
  });
10103
10246
  }
10104
10247
  refresh(data, opts) {
10105
10248
  return this._service.xrpc.call("com.atproto.session.refresh", opts?.qp, data, opts).catch((e) => {
10106
- throw toKnownErr32(e);
10249
+ throw toKnownErr33(e);
10107
10250
  });
10108
10251
  }
10109
10252
  };
@@ -10111,29 +10254,44 @@ var SyncNS = class {
10111
10254
  constructor(service) {
10112
10255
  this._service = service;
10113
10256
  }
10257
+ getBlocks(params2, opts) {
10258
+ return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
10259
+ throw toKnownErr34(e);
10260
+ });
10261
+ }
10114
10262
  getCheckout(params2, opts) {
10115
10263
  return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
10116
- throw toKnownErr33(e);
10264
+ throw toKnownErr35(e);
10117
10265
  });
10118
10266
  }
10119
10267
  getCommitPath(params2, opts) {
10120
10268
  return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
10121
- throw toKnownErr34(e);
10269
+ throw toKnownErr36(e);
10122
10270
  });
10123
10271
  }
10124
10272
  getHead(params2, opts) {
10125
10273
  return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
10126
- throw toKnownErr35(e);
10274
+ throw toKnownErr37(e);
10127
10275
  });
10128
10276
  }
10129
10277
  getRecord(params2, opts) {
10130
10278
  return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
10131
- throw toKnownErr36(e);
10279
+ throw toKnownErr38(e);
10132
10280
  });
10133
10281
  }
10134
10282
  getRepo(params2, opts) {
10135
10283
  return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
10136
- throw toKnownErr37(e);
10284
+ throw toKnownErr39(e);
10285
+ });
10286
+ }
10287
+ notifyOfUpdate(params2, opts) {
10288
+ return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", params2, void 0, opts).catch((e) => {
10289
+ throw toKnownErr40(e);
10290
+ });
10291
+ }
10292
+ requestCrawl(params2, opts) {
10293
+ return this._service.xrpc.call("com.atproto.sync.requestCrawl", params2, void 0, opts).catch((e) => {
10294
+ throw toKnownErr41(e);
10137
10295
  });
10138
10296
  }
10139
10297
  };
@@ -10161,32 +10319,32 @@ var ActorNS = class {
10161
10319
  }
10162
10320
  getProfile(params2, opts) {
10163
10321
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
10164
- throw toKnownErr38(e);
10322
+ throw toKnownErr42(e);
10165
10323
  });
10166
10324
  }
10167
10325
  getProfiles(params2, opts) {
10168
10326
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
10169
- throw toKnownErr39(e);
10327
+ throw toKnownErr43(e);
10170
10328
  });
10171
10329
  }
10172
10330
  getSuggestions(params2, opts) {
10173
10331
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
10174
- throw toKnownErr40(e);
10332
+ throw toKnownErr44(e);
10175
10333
  });
10176
10334
  }
10177
10335
  search(params2, opts) {
10178
10336
  return this._service.xrpc.call("app.bsky.actor.search", params2, void 0, opts).catch((e) => {
10179
- throw toKnownErr41(e);
10337
+ throw toKnownErr45(e);
10180
10338
  });
10181
10339
  }
10182
10340
  searchTypeahead(params2, opts) {
10183
10341
  return this._service.xrpc.call("app.bsky.actor.searchTypeahead", params2, void 0, opts).catch((e) => {
10184
- throw toKnownErr42(e);
10342
+ throw toKnownErr46(e);
10185
10343
  });
10186
10344
  }
10187
10345
  updateProfile(data, opts) {
10188
10346
  return this._service.xrpc.call("app.bsky.actor.updateProfile", opts?.qp, data, opts).catch((e) => {
10189
- throw toKnownErr43(e);
10347
+ throw toKnownErr47(e);
10190
10348
  });
10191
10349
  }
10192
10350
  };
@@ -10241,32 +10399,32 @@ var FeedNS = class {
10241
10399
  }
10242
10400
  getAuthorFeed(params2, opts) {
10243
10401
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
10244
- throw toKnownErr44(e);
10402
+ throw toKnownErr48(e);
10245
10403
  });
10246
10404
  }
10247
10405
  getPostThread(params2, opts) {
10248
10406
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
10249
- throw toKnownErr45(e);
10407
+ throw toKnownErr49(e);
10250
10408
  });
10251
10409
  }
10252
10410
  getRepostedBy(params2, opts) {
10253
10411
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
10254
- throw toKnownErr46(e);
10412
+ throw toKnownErr50(e);
10255
10413
  });
10256
10414
  }
10257
10415
  getTimeline(params2, opts) {
10258
10416
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
10259
- throw toKnownErr47(e);
10417
+ throw toKnownErr51(e);
10260
10418
  });
10261
10419
  }
10262
10420
  getVotes(params2, opts) {
10263
10421
  return this._service.xrpc.call("app.bsky.feed.getVotes", params2, void 0, opts).catch((e) => {
10264
- throw toKnownErr48(e);
10422
+ throw toKnownErr52(e);
10265
10423
  });
10266
10424
  }
10267
10425
  setVote(data, opts) {
10268
10426
  return this._service.xrpc.call("app.bsky.feed.setVote", opts?.qp, data, opts).catch((e) => {
10269
- throw toKnownErr49(e);
10427
+ throw toKnownErr53(e);
10270
10428
  });
10271
10429
  }
10272
10430
  };
@@ -10390,27 +10548,27 @@ var GraphNS = class {
10390
10548
  }
10391
10549
  getFollowers(params2, opts) {
10392
10550
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
10393
- throw toKnownErr50(e);
10551
+ throw toKnownErr54(e);
10394
10552
  });
10395
10553
  }
10396
10554
  getFollows(params2, opts) {
10397
10555
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
10398
- throw toKnownErr51(e);
10556
+ throw toKnownErr55(e);
10399
10557
  });
10400
10558
  }
10401
10559
  getMutes(params2, opts) {
10402
10560
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
10403
- throw toKnownErr52(e);
10561
+ throw toKnownErr56(e);
10404
10562
  });
10405
10563
  }
10406
10564
  mute(data, opts) {
10407
10565
  return this._service.xrpc.call("app.bsky.graph.mute", opts?.qp, data, opts).catch((e) => {
10408
- throw toKnownErr53(e);
10566
+ throw toKnownErr57(e);
10409
10567
  });
10410
10568
  }
10411
10569
  unmute(data, opts) {
10412
10570
  return this._service.xrpc.call("app.bsky.graph.unmute", opts?.qp, data, opts).catch((e) => {
10413
- throw toKnownErr54(e);
10571
+ throw toKnownErr58(e);
10414
10572
  });
10415
10573
  }
10416
10574
  };
@@ -10531,17 +10689,17 @@ var NotificationNS = class {
10531
10689
  }
10532
10690
  getCount(params2, opts) {
10533
10691
  return this._service.xrpc.call("app.bsky.notification.getCount", params2, void 0, opts).catch((e) => {
10534
- throw toKnownErr55(e);
10692
+ throw toKnownErr59(e);
10535
10693
  });
10536
10694
  }
10537
10695
  list(params2, opts) {
10538
10696
  return this._service.xrpc.call("app.bsky.notification.list", params2, void 0, opts).catch((e) => {
10539
- throw toKnownErr56(e);
10697
+ throw toKnownErr60(e);
10540
10698
  });
10541
10699
  }
10542
10700
  updateSeen(data, opts) {
10543
10701
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
10544
- throw toKnownErr57(e);
10702
+ throw toKnownErr61(e);
10545
10703
  });
10546
10704
  }
10547
10705
  };
@@ -10789,6 +10947,7 @@ function isNewSessionObject(client, v) {
10789
10947
  AppBskyActorUpdateProfile,
10790
10948
  AppBskyEmbedExternal,
10791
10949
  AppBskyEmbedImages,
10950
+ AppBskyEmbedRecord,
10792
10951
  AppBskyFeedFeedViewPost,
10793
10952
  AppBskyFeedGetAuthorFeed,
10794
10953
  AppBskyFeedGetPostThread,
@@ -10849,6 +11008,7 @@ function isNewSessionObject(client, v) {
10849
11008
  ComAtprotoAdminTakeModerationAction,
10850
11009
  ComAtprotoBlobUpload,
10851
11010
  ComAtprotoHandleResolve,
11011
+ ComAtprotoHandleUpdate,
10852
11012
  ComAtprotoRepoBatchWrite,
10853
11013
  ComAtprotoRepoCreateRecord,
10854
11014
  ComAtprotoRepoDeleteRecord,
@@ -10867,11 +11027,15 @@ function isNewSessionObject(client, v) {
10867
11027
  ComAtprotoSessionDelete,
10868
11028
  ComAtprotoSessionGet,
10869
11029
  ComAtprotoSessionRefresh,
11030
+ ComAtprotoSyncGetBlocks,
10870
11031
  ComAtprotoSyncGetCheckout,
10871
11032
  ComAtprotoSyncGetCommitPath,
10872
11033
  ComAtprotoSyncGetHead,
10873
11034
  ComAtprotoSyncGetRecord,
10874
11035
  ComAtprotoSyncGetRepo,
11036
+ ComAtprotoSyncNotifyOfUpdate,
11037
+ ComAtprotoSyncRequestCrawl,
11038
+ ComAtprotoSyncSubscribeAllRepos,
10875
11039
  ComNS,
10876
11040
  ConfirmationRecord,
10877
11041
  DeclarationRecord,