@atproto/pds 0.4.36 → 0.4.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/lexicon/index.d.ts +25 -0
  3. package/dist/lexicon/index.d.ts.map +1 -1
  4. package/dist/lexicon/index.js +54 -1
  5. package/dist/lexicon/index.js.map +1 -1
  6. package/dist/lexicon/lexicons.d.ts +536 -0
  7. package/dist/lexicon/lexicons.d.ts.map +1 -1
  8. package/dist/lexicon/lexicons.js +561 -1
  9. package/dist/lexicon/lexicons.js.map +1 -1
  10. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +5 -0
  11. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  13. package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
  14. package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
  15. package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
  16. package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
  17. package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
  18. package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
  19. package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
  20. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
  21. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
  22. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
  23. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
  24. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
  25. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
  26. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
  27. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
  28. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
  29. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
  30. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
  31. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
  32. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
  33. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
  34. package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
  35. package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
  36. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
  37. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  38. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  39. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +40 -0
  40. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -0
  41. package/dist/lexicon/types/tools/ozone/team/addMember.js +3 -0
  42. package/dist/lexicon/types/tools/ozone/team/addMember.js.map +1 -0
  43. package/dist/lexicon/types/tools/ozone/team/defs.d.ts +24 -0
  44. package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -0
  45. package/dist/lexicon/types/tools/ozone/team/defs.js +22 -0
  46. package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -0
  47. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +30 -0
  48. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -0
  49. package/dist/lexicon/types/tools/ozone/team/deleteMember.js +3 -0
  50. package/dist/lexicon/types/tools/ozone/team/deleteMember.js.map +1 -0
  51. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +38 -0
  52. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -0
  53. package/dist/lexicon/types/tools/ozone/team/listMembers.js +3 -0
  54. package/dist/lexicon/types/tools/ozone/team/listMembers.js.map +1 -0
  55. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +41 -0
  56. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -0
  57. package/dist/lexicon/types/tools/ozone/team/updateMember.js +3 -0
  58. package/dist/lexicon/types/tools/ozone/team/updateMember.js.map +1 -0
  59. package/dist/pipethrough.d.ts.map +1 -1
  60. package/dist/pipethrough.js +4 -0
  61. package/dist/pipethrough.js.map +1 -1
  62. package/dist/repo/prepare.d.ts.map +1 -1
  63. package/dist/repo/prepare.js +4 -0
  64. package/dist/repo/prepare.js.map +1 -1
  65. package/package.json +5 -5
  66. package/src/lexicon/index.ts +100 -0
  67. package/src/lexicon/lexicons.ts +566 -1
  68. package/src/lexicon/types/app/bsky/actor/defs.ts +5 -0
  69. package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
  70. package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
  71. package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
  72. package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
  73. package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
  74. package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
  75. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
  76. package/src/lexicon/types/tools/ozone/team/addMember.ts +53 -0
  77. package/src/lexicon/types/tools/ozone/team/defs.ts +42 -0
  78. package/src/lexicon/types/tools/ozone/team/deleteMember.ts +39 -0
  79. package/src/lexicon/types/tools/ozone/team/listMembers.ts +48 -0
  80. package/src/lexicon/types/tools/ozone/team/updateMember.ts +54 -0
  81. package/src/pipethrough.ts +4 -0
  82. package/src/repo/prepare.ts +3 -0
  83. package/tests/proxied/__snapshots__/admin.test.ts.snap +3 -0
  84. package/tests/proxied/__snapshots__/feedgen.test.ts.snap +2 -0
  85. package/tests/proxied/__snapshots__/views.test.ts.snap +71 -0
  86. package/tests/proxied/admin.test.ts +1 -1
@@ -3805,6 +3805,10 @@ exports.schemaDict = {
3805
3805
  ref: 'lex:com.atproto.label.defs#label',
3806
3806
  },
3807
3807
  },
3808
+ createdAt: {
3809
+ type: 'string',
3810
+ format: 'datetime',
3811
+ },
3808
3812
  },
3809
3813
  },
3810
3814
  profileView: {
@@ -3841,6 +3845,10 @@ exports.schemaDict = {
3841
3845
  type: 'string',
3842
3846
  format: 'datetime',
3843
3847
  },
3848
+ createdAt: {
3849
+ type: 'string',
3850
+ format: 'datetime',
3851
+ },
3844
3852
  viewer: {
3845
3853
  type: 'ref',
3846
3854
  ref: 'lex:app.bsky.actor.defs#viewerState',
@@ -3897,10 +3905,18 @@ exports.schemaDict = {
3897
3905
  type: 'ref',
3898
3906
  ref: 'lex:app.bsky.actor.defs#profileAssociated',
3899
3907
  },
3908
+ joinedViaStarterPack: {
3909
+ type: 'ref',
3910
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
3911
+ },
3900
3912
  indexedAt: {
3901
3913
  type: 'string',
3902
3914
  format: 'datetime',
3903
3915
  },
3916
+ createdAt: {
3917
+ type: 'string',
3918
+ format: 'datetime',
3919
+ },
3904
3920
  viewer: {
3905
3921
  type: 'ref',
3906
3922
  ref: 'lex:app.bsky.actor.defs#viewerState',
@@ -3923,6 +3939,9 @@ exports.schemaDict = {
3923
3939
  feedgens: {
3924
3940
  type: 'integer',
3925
3941
  },
3942
+ starterPacks: {
3943
+ type: 'integer',
3944
+ },
3926
3945
  labeler: {
3927
3946
  type: 'boolean',
3928
3947
  },
@@ -4426,6 +4445,14 @@ exports.schemaDict = {
4426
4445
  description: 'Self-label values, specific to the Bluesky application, on the overall account.',
4427
4446
  refs: ['lex:com.atproto.label.defs#selfLabels'],
4428
4447
  },
4448
+ joinedViaStarterPack: {
4449
+ type: 'ref',
4450
+ ref: 'lex:com.atproto.repo.strongRef',
4451
+ },
4452
+ createdAt: {
4453
+ type: 'string',
4454
+ format: 'datetime',
4455
+ },
4429
4456
  },
4430
4457
  },
4431
4458
  },
@@ -6579,6 +6606,10 @@ exports.schemaDict = {
6579
6606
  type: 'string',
6580
6607
  format: 'uri',
6581
6608
  },
6609
+ listItemCount: {
6610
+ type: 'integer',
6611
+ minimum: 0,
6612
+ },
6582
6613
  labels: {
6583
6614
  type: 'array',
6584
6615
  items: {
@@ -6637,6 +6668,10 @@ exports.schemaDict = {
6637
6668
  type: 'string',
6638
6669
  format: 'uri',
6639
6670
  },
6671
+ listItemCount: {
6672
+ type: 'integer',
6673
+ minimum: 0,
6674
+ },
6640
6675
  labels: {
6641
6676
  type: 'array',
6642
6677
  items: {
@@ -6668,11 +6703,116 @@ exports.schemaDict = {
6668
6703
  },
6669
6704
  },
6670
6705
  },
6706
+ starterPackView: {
6707
+ type: 'object',
6708
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
6709
+ properties: {
6710
+ uri: {
6711
+ type: 'string',
6712
+ format: 'at-uri',
6713
+ },
6714
+ cid: {
6715
+ type: 'string',
6716
+ format: 'cid',
6717
+ },
6718
+ record: {
6719
+ type: 'unknown',
6720
+ },
6721
+ creator: {
6722
+ type: 'ref',
6723
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6724
+ },
6725
+ list: {
6726
+ type: 'ref',
6727
+ ref: 'lex:app.bsky.graph.defs#listViewBasic',
6728
+ },
6729
+ listItemsSample: {
6730
+ type: 'array',
6731
+ maxLength: 12,
6732
+ items: {
6733
+ type: 'ref',
6734
+ ref: 'lex:app.bsky.graph.defs#listItemView',
6735
+ },
6736
+ },
6737
+ feeds: {
6738
+ type: 'array',
6739
+ maxLength: 3,
6740
+ items: {
6741
+ type: 'ref',
6742
+ ref: 'lex:app.bsky.feed.defs#generatorView',
6743
+ },
6744
+ },
6745
+ joinedWeekCount: {
6746
+ type: 'integer',
6747
+ minimum: 0,
6748
+ },
6749
+ joinedAllTimeCount: {
6750
+ type: 'integer',
6751
+ minimum: 0,
6752
+ },
6753
+ labels: {
6754
+ type: 'array',
6755
+ items: {
6756
+ type: 'ref',
6757
+ ref: 'lex:com.atproto.label.defs#label',
6758
+ },
6759
+ },
6760
+ indexedAt: {
6761
+ type: 'string',
6762
+ format: 'datetime',
6763
+ },
6764
+ },
6765
+ },
6766
+ starterPackViewBasic: {
6767
+ type: 'object',
6768
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
6769
+ properties: {
6770
+ uri: {
6771
+ type: 'string',
6772
+ format: 'at-uri',
6773
+ },
6774
+ cid: {
6775
+ type: 'string',
6776
+ format: 'cid',
6777
+ },
6778
+ record: {
6779
+ type: 'unknown',
6780
+ },
6781
+ creator: {
6782
+ type: 'ref',
6783
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6784
+ },
6785
+ listItemCount: {
6786
+ type: 'integer',
6787
+ minimum: 0,
6788
+ },
6789
+ joinedWeekCount: {
6790
+ type: 'integer',
6791
+ minimum: 0,
6792
+ },
6793
+ joinedAllTimeCount: {
6794
+ type: 'integer',
6795
+ minimum: 0,
6796
+ },
6797
+ labels: {
6798
+ type: 'array',
6799
+ items: {
6800
+ type: 'ref',
6801
+ ref: 'lex:com.atproto.label.defs#label',
6802
+ },
6803
+ },
6804
+ indexedAt: {
6805
+ type: 'string',
6806
+ format: 'datetime',
6807
+ },
6808
+ },
6809
+ },
6671
6810
  listPurpose: {
6672
6811
  type: 'string',
6673
6812
  knownValues: [
6674
6813
  'app.bsky.graph.defs#modlist',
6675
6814
  'app.bsky.graph.defs#curatelist',
6815
+ 'app.bsky.graph.defs#referencelist',
6676
6816
  ],
6677
6817
  },
6678
6818
  modlist: {
@@ -6683,6 +6823,10 @@ exports.schemaDict = {
6683
6823
  type: 'token',
6684
6824
  description: 'A list of actors used for curation purposes such as list feeds or interaction gating.',
6685
6825
  },
6826
+ referencelist: {
6827
+ type: 'token',
6828
+ description: 'A list of actors used for only for reference purposes such as within a starter pack.',
6829
+ },
6686
6830
  listViewerState: {
6687
6831
  type: 'object',
6688
6832
  properties: {
@@ -6758,6 +6902,54 @@ exports.schemaDict = {
6758
6902
  },
6759
6903
  },
6760
6904
  },
6905
+ AppBskyGraphGetActorStarterPacks: {
6906
+ lexicon: 1,
6907
+ id: 'app.bsky.graph.getActorStarterPacks',
6908
+ defs: {
6909
+ main: {
6910
+ type: 'query',
6911
+ description: 'Get a list of starter packs created by the actor.',
6912
+ parameters: {
6913
+ type: 'params',
6914
+ required: ['actor'],
6915
+ properties: {
6916
+ actor: {
6917
+ type: 'string',
6918
+ format: 'at-identifier',
6919
+ },
6920
+ limit: {
6921
+ type: 'integer',
6922
+ minimum: 1,
6923
+ maximum: 100,
6924
+ default: 50,
6925
+ },
6926
+ cursor: {
6927
+ type: 'string',
6928
+ },
6929
+ },
6930
+ },
6931
+ output: {
6932
+ encoding: 'application/json',
6933
+ schema: {
6934
+ type: 'object',
6935
+ required: ['starterPacks'],
6936
+ properties: {
6937
+ cursor: {
6938
+ type: 'string',
6939
+ },
6940
+ starterPacks: {
6941
+ type: 'array',
6942
+ items: {
6943
+ type: 'ref',
6944
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
6945
+ },
6946
+ },
6947
+ },
6948
+ },
6949
+ },
6950
+ },
6951
+ },
6952
+ },
6761
6953
  AppBskyGraphGetBlocks: {
6762
6954
  lexicon: 1,
6763
6955
  id: 'app.bsky.graph.getBlocks',
@@ -7247,6 +7439,80 @@ exports.schemaDict = {
7247
7439
  },
7248
7440
  },
7249
7441
  },
7442
+ AppBskyGraphGetStarterPack: {
7443
+ lexicon: 1,
7444
+ id: 'app.bsky.graph.getStarterPack',
7445
+ defs: {
7446
+ main: {
7447
+ type: 'query',
7448
+ description: 'Gets a view of a starter pack.',
7449
+ parameters: {
7450
+ type: 'params',
7451
+ required: ['starterPack'],
7452
+ properties: {
7453
+ starterPack: {
7454
+ type: 'string',
7455
+ format: 'at-uri',
7456
+ description: 'Reference (AT-URI) of the starter pack record.',
7457
+ },
7458
+ },
7459
+ },
7460
+ output: {
7461
+ encoding: 'application/json',
7462
+ schema: {
7463
+ type: 'object',
7464
+ required: ['starterPack'],
7465
+ properties: {
7466
+ starterPack: {
7467
+ type: 'ref',
7468
+ ref: 'lex:app.bsky.graph.defs#starterPackView',
7469
+ },
7470
+ },
7471
+ },
7472
+ },
7473
+ },
7474
+ },
7475
+ },
7476
+ AppBskyGraphGetStarterPacks: {
7477
+ lexicon: 1,
7478
+ id: 'app.bsky.graph.getStarterPacks',
7479
+ defs: {
7480
+ main: {
7481
+ type: 'query',
7482
+ description: 'Get views for a list of starter packs.',
7483
+ parameters: {
7484
+ type: 'params',
7485
+ required: ['uris'],
7486
+ properties: {
7487
+ uris: {
7488
+ type: 'array',
7489
+ items: {
7490
+ type: 'string',
7491
+ format: 'at-uri',
7492
+ },
7493
+ maxLength: 25,
7494
+ },
7495
+ },
7496
+ },
7497
+ output: {
7498
+ encoding: 'application/json',
7499
+ schema: {
7500
+ type: 'object',
7501
+ required: ['starterPacks'],
7502
+ properties: {
7503
+ starterPacks: {
7504
+ type: 'array',
7505
+ items: {
7506
+ type: 'ref',
7507
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
7508
+ },
7509
+ },
7510
+ },
7511
+ },
7512
+ },
7513
+ },
7514
+ },
7515
+ },
7250
7516
  AppBskyGraphGetSuggestedFollowsByActor: {
7251
7517
  lexicon: 1,
7252
7518
  id: 'app.bsky.graph.getSuggestedFollowsByActor',
@@ -7462,6 +7728,69 @@ exports.schemaDict = {
7462
7728
  },
7463
7729
  },
7464
7730
  },
7731
+ AppBskyGraphStarterpack: {
7732
+ lexicon: 1,
7733
+ id: 'app.bsky.graph.starterpack',
7734
+ defs: {
7735
+ main: {
7736
+ type: 'record',
7737
+ description: 'Record defining a starter pack of actors and feeds for new users.',
7738
+ key: 'tid',
7739
+ record: {
7740
+ type: 'object',
7741
+ required: ['name', 'list', 'createdAt'],
7742
+ properties: {
7743
+ name: {
7744
+ type: 'string',
7745
+ maxGraphemes: 50,
7746
+ maxLength: 500,
7747
+ minLength: 1,
7748
+ description: 'Display name for starter pack; can not be empty.',
7749
+ },
7750
+ description: {
7751
+ type: 'string',
7752
+ maxGraphemes: 300,
7753
+ maxLength: 3000,
7754
+ },
7755
+ descriptionFacets: {
7756
+ type: 'array',
7757
+ items: {
7758
+ type: 'ref',
7759
+ ref: 'lex:app.bsky.richtext.facet',
7760
+ },
7761
+ },
7762
+ list: {
7763
+ type: 'string',
7764
+ format: 'at-uri',
7765
+ description: 'Reference (AT-URI) to the list record.',
7766
+ },
7767
+ feeds: {
7768
+ type: 'array',
7769
+ maxLength: 3,
7770
+ items: {
7771
+ type: 'ref',
7772
+ ref: 'lex:app.bsky.graph.starterpack#feedItem',
7773
+ },
7774
+ },
7775
+ createdAt: {
7776
+ type: 'string',
7777
+ format: 'datetime',
7778
+ },
7779
+ },
7780
+ },
7781
+ },
7782
+ feedItem: {
7783
+ type: 'object',
7784
+ required: ['uri'],
7785
+ properties: {
7786
+ uri: {
7787
+ type: 'string',
7788
+ format: 'at-uri',
7789
+ },
7790
+ },
7791
+ },
7792
+ },
7793
+ },
7465
7794
  AppBskyGraphUnmuteActor: {
7466
7795
  lexicon: 1,
7467
7796
  id: 'app.bsky.graph.unmuteActor',
@@ -7827,7 +8156,7 @@ exports.schemaDict = {
7827
8156
  },
7828
8157
  reason: {
7829
8158
  type: 'string',
7830
- description: "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', and 'quote'.",
8159
+ description: "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'.",
7831
8160
  knownValues: [
7832
8161
  'like',
7833
8162
  'repost',
@@ -7835,6 +8164,7 @@ exports.schemaDict = {
7835
8164
  'mention',
7836
8165
  'reply',
7837
8166
  'quote',
8167
+ 'starterpack-joined',
7838
8168
  ],
7839
8169
  },
7840
8170
  reasonSubject: {
@@ -10705,6 +11035,227 @@ exports.schemaDict = {
10705
11035
  },
10706
11036
  },
10707
11037
  },
11038
+ ToolsOzoneTeamAddMember: {
11039
+ lexicon: 1,
11040
+ id: 'tools.ozone.team.addMember',
11041
+ defs: {
11042
+ main: {
11043
+ type: 'procedure',
11044
+ description: 'Add a member to the ozone team. Requires admin role.',
11045
+ input: {
11046
+ encoding: 'application/json',
11047
+ schema: {
11048
+ type: 'object',
11049
+ required: ['did', 'role'],
11050
+ properties: {
11051
+ did: {
11052
+ type: 'string',
11053
+ format: 'did',
11054
+ },
11055
+ role: {
11056
+ type: 'string',
11057
+ knownValues: [
11058
+ 'tools.ozone.team.defs#roleAdmin',
11059
+ 'tools.ozone.team.defs#roleModerator',
11060
+ 'tools.ozone.team.defs#roleTriage',
11061
+ ],
11062
+ },
11063
+ },
11064
+ },
11065
+ },
11066
+ output: {
11067
+ encoding: 'application/json',
11068
+ schema: {
11069
+ type: 'ref',
11070
+ ref: 'lex:tools.ozone.team.defs#member',
11071
+ },
11072
+ },
11073
+ errors: [
11074
+ {
11075
+ name: 'MemberAlreadyExists',
11076
+ description: 'Member already exists in the team.',
11077
+ },
11078
+ ],
11079
+ },
11080
+ },
11081
+ },
11082
+ ToolsOzoneTeamDefs: {
11083
+ lexicon: 1,
11084
+ id: 'tools.ozone.team.defs',
11085
+ defs: {
11086
+ member: {
11087
+ type: 'object',
11088
+ required: ['did', 'role'],
11089
+ properties: {
11090
+ did: {
11091
+ type: 'string',
11092
+ format: 'did',
11093
+ },
11094
+ disabled: {
11095
+ type: 'boolean',
11096
+ },
11097
+ profile: {
11098
+ type: 'ref',
11099
+ ref: 'lex:app.bsky.actor.defs#profileViewDetailed',
11100
+ },
11101
+ createdAt: {
11102
+ type: 'string',
11103
+ format: 'datetime',
11104
+ },
11105
+ updatedAt: {
11106
+ type: 'string',
11107
+ format: 'datetime',
11108
+ },
11109
+ lastUpdatedBy: {
11110
+ type: 'string',
11111
+ },
11112
+ role: {
11113
+ type: 'string',
11114
+ knownValues: [
11115
+ 'lex:tools.ozone.team.defs#roleAdmin',
11116
+ 'lex:tools.ozone.team.defs#roleModerator',
11117
+ 'lex:tools.ozone.team.defs#roleTriage',
11118
+ ],
11119
+ },
11120
+ },
11121
+ },
11122
+ roleAdmin: {
11123
+ type: 'token',
11124
+ description: 'Admin role. Highest level of access, can perform all actions.',
11125
+ },
11126
+ roleModerator: {
11127
+ type: 'token',
11128
+ description: 'Moderator role. Can perform most actions.',
11129
+ },
11130
+ roleTriage: {
11131
+ type: 'token',
11132
+ description: 'Triage role. Mostly intended for monitoring and escalating issues.',
11133
+ },
11134
+ },
11135
+ },
11136
+ ToolsOzoneTeamDeleteMember: {
11137
+ lexicon: 1,
11138
+ id: 'tools.ozone.team.deleteMember',
11139
+ defs: {
11140
+ main: {
11141
+ type: 'procedure',
11142
+ description: 'Delete a member from ozone team. Requires admin role.',
11143
+ input: {
11144
+ encoding: 'application/json',
11145
+ schema: {
11146
+ type: 'object',
11147
+ required: ['did'],
11148
+ properties: {
11149
+ did: {
11150
+ type: 'string',
11151
+ format: 'did',
11152
+ },
11153
+ },
11154
+ },
11155
+ },
11156
+ errors: [
11157
+ {
11158
+ name: 'MemberNotFound',
11159
+ description: 'The member being deleted does not exist',
11160
+ },
11161
+ {
11162
+ name: 'CannotDeleteSelf',
11163
+ description: 'You can not delete yourself from the team',
11164
+ },
11165
+ ],
11166
+ },
11167
+ },
11168
+ },
11169
+ ToolsOzoneTeamListMembers: {
11170
+ lexicon: 1,
11171
+ id: 'tools.ozone.team.listMembers',
11172
+ defs: {
11173
+ main: {
11174
+ type: 'query',
11175
+ description: 'List all members with access to the ozone service.',
11176
+ parameters: {
11177
+ type: 'params',
11178
+ properties: {
11179
+ limit: {
11180
+ type: 'integer',
11181
+ minimum: 1,
11182
+ maximum: 100,
11183
+ default: 50,
11184
+ },
11185
+ cursor: {
11186
+ type: 'string',
11187
+ },
11188
+ },
11189
+ },
11190
+ output: {
11191
+ encoding: 'application/json',
11192
+ schema: {
11193
+ type: 'object',
11194
+ required: ['members'],
11195
+ properties: {
11196
+ cursor: {
11197
+ type: 'string',
11198
+ },
11199
+ members: {
11200
+ type: 'array',
11201
+ items: {
11202
+ type: 'ref',
11203
+ ref: 'lex:tools.ozone.team.defs#member',
11204
+ },
11205
+ },
11206
+ },
11207
+ },
11208
+ },
11209
+ },
11210
+ },
11211
+ },
11212
+ ToolsOzoneTeamUpdateMember: {
11213
+ lexicon: 1,
11214
+ id: 'tools.ozone.team.updateMember',
11215
+ defs: {
11216
+ main: {
11217
+ type: 'procedure',
11218
+ description: 'Update a member in the ozone service. Requires admin role.',
11219
+ input: {
11220
+ encoding: 'application/json',
11221
+ schema: {
11222
+ type: 'object',
11223
+ required: ['did'],
11224
+ properties: {
11225
+ did: {
11226
+ type: 'string',
11227
+ format: 'did',
11228
+ },
11229
+ disabled: {
11230
+ type: 'boolean',
11231
+ },
11232
+ role: {
11233
+ type: 'string',
11234
+ knownValues: [
11235
+ 'tools.ozone.team.defs#roleAdmin',
11236
+ 'tools.ozone.team.defs#roleModerator',
11237
+ 'tools.ozone.team.defs#roleTriage',
11238
+ ],
11239
+ },
11240
+ },
11241
+ },
11242
+ },
11243
+ output: {
11244
+ encoding: 'application/json',
11245
+ schema: {
11246
+ type: 'ref',
11247
+ ref: 'lex:tools.ozone.team.defs#member',
11248
+ },
11249
+ },
11250
+ errors: [
11251
+ {
11252
+ name: 'MemberNotFound',
11253
+ description: 'The member being updated does not exist in the team',
11254
+ },
11255
+ ],
11256
+ },
11257
+ },
11258
+ },
10708
11259
  };
10709
11260
  exports.schemas = Object.values(exports.schemaDict);
10710
11261
  exports.lexicons = new lexicon_1.Lexicons(exports.schemas);
@@ -10827,6 +11378,7 @@ exports.ids = {
10827
11378
  AppBskyGraphBlock: 'app.bsky.graph.block',
10828
11379
  AppBskyGraphDefs: 'app.bsky.graph.defs',
10829
11380
  AppBskyGraphFollow: 'app.bsky.graph.follow',
11381
+ AppBskyGraphGetActorStarterPacks: 'app.bsky.graph.getActorStarterPacks',
10830
11382
  AppBskyGraphGetBlocks: 'app.bsky.graph.getBlocks',
10831
11383
  AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',
10832
11384
  AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',
@@ -10837,6 +11389,8 @@ exports.ids = {
10837
11389
  AppBskyGraphGetLists: 'app.bsky.graph.getLists',
10838
11390
  AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
10839
11391
  AppBskyGraphGetRelationships: 'app.bsky.graph.getRelationships',
11392
+ AppBskyGraphGetStarterPack: 'app.bsky.graph.getStarterPack',
11393
+ AppBskyGraphGetStarterPacks: 'app.bsky.graph.getStarterPacks',
10840
11394
  AppBskyGraphGetSuggestedFollowsByActor: 'app.bsky.graph.getSuggestedFollowsByActor',
10841
11395
  AppBskyGraphList: 'app.bsky.graph.list',
10842
11396
  AppBskyGraphListblock: 'app.bsky.graph.listblock',
@@ -10844,6 +11398,7 @@ exports.ids = {
10844
11398
  AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
10845
11399
  AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
10846
11400
  AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
11401
+ AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
10847
11402
  AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
10848
11403
  AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',
10849
11404
  AppBskyGraphUnmuteThread: 'app.bsky.graph.unmuteThread',
@@ -10895,5 +11450,10 @@ exports.ids = {
10895
11450
  ToolsOzoneModerationQueryStatuses: 'tools.ozone.moderation.queryStatuses',
10896
11451
  ToolsOzoneModerationSearchRepos: 'tools.ozone.moderation.searchRepos',
10897
11452
  ToolsOzoneServerGetConfig: 'tools.ozone.server.getConfig',
11453
+ ToolsOzoneTeamAddMember: 'tools.ozone.team.addMember',
11454
+ ToolsOzoneTeamDefs: 'tools.ozone.team.defs',
11455
+ ToolsOzoneTeamDeleteMember: 'tools.ozone.team.deleteMember',
11456
+ ToolsOzoneTeamListMembers: 'tools.ozone.team.listMembers',
11457
+ ToolsOzoneTeamUpdateMember: 'tools.ozone.team.updateMember',
10898
11458
  };
10899
11459
  //# sourceMappingURL=lexicons.js.map