@atproto/api 0.13.9 → 0.13.10

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 (32) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/client/index.d.ts +15 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +34 -2
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +176 -0
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +176 -0
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/tools/ozone/signature/defs.d.ts +12 -0
  11. package/dist/client/types/tools/ozone/signature/defs.d.ts.map +1 -0
  12. package/dist/client/types/tools/ozone/signature/defs.js +16 -0
  13. package/dist/client/types/tools/ozone/signature/defs.js.map +1 -0
  14. package/dist/client/types/tools/ozone/signature/findCorrelation.d.ts +24 -0
  15. package/dist/client/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -0
  16. package/dist/client/types/tools/ozone/signature/findCorrelation.js +8 -0
  17. package/dist/client/types/tools/ozone/signature/findCorrelation.js.map +1 -0
  18. package/dist/client/types/tools/ozone/signature/findRelatedAccounts.d.ts +36 -0
  19. package/dist/client/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -0
  20. package/dist/client/types/tools/ozone/signature/findRelatedAccounts.js +20 -0
  21. package/dist/client/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -0
  22. package/dist/client/types/tools/ozone/signature/searchAccounts.d.ts +27 -0
  23. package/dist/client/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -0
  24. package/dist/client/types/tools/ozone/signature/searchAccounts.js +8 -0
  25. package/dist/client/types/tools/ozone/signature/searchAccounts.js.map +1 -0
  26. package/package.json +1 -1
  27. package/src/client/index.ts +54 -0
  28. package/src/client/lexicons.ts +180 -0
  29. package/src/client/types/tools/ozone/signature/defs.ts +25 -0
  30. package/src/client/types/tools/ozone/signature/findCorrelation.ts +35 -0
  31. package/src/client/types/tools/ozone/signature/findRelatedAccounts.ts +60 -0
  32. package/src/client/types/tools/ozone/signature/searchAccounts.ts +38 -0
@@ -11815,6 +11815,178 @@ exports.schemaDict = {
11815
11815
  },
11816
11816
  },
11817
11817
  },
11818
+ ToolsOzoneSignatureDefs: {
11819
+ lexicon: 1,
11820
+ id: 'tools.ozone.signature.defs',
11821
+ defs: {
11822
+ sigDetail: {
11823
+ type: 'object',
11824
+ required: ['property', 'value'],
11825
+ properties: {
11826
+ property: {
11827
+ type: 'string',
11828
+ },
11829
+ value: {
11830
+ type: 'string',
11831
+ },
11832
+ },
11833
+ },
11834
+ },
11835
+ },
11836
+ ToolsOzoneSignatureFindCorrelation: {
11837
+ lexicon: 1,
11838
+ id: 'tools.ozone.signature.findCorrelation',
11839
+ defs: {
11840
+ main: {
11841
+ type: 'query',
11842
+ description: 'Find all correlated threat signatures between 2 or more accounts.',
11843
+ parameters: {
11844
+ type: 'params',
11845
+ required: ['dids'],
11846
+ properties: {
11847
+ dids: {
11848
+ type: 'array',
11849
+ items: {
11850
+ type: 'string',
11851
+ format: 'did',
11852
+ },
11853
+ },
11854
+ },
11855
+ },
11856
+ output: {
11857
+ encoding: 'application/json',
11858
+ schema: {
11859
+ type: 'object',
11860
+ required: ['details'],
11861
+ properties: {
11862
+ details: {
11863
+ type: 'array',
11864
+ items: {
11865
+ type: 'ref',
11866
+ ref: 'lex:tools.ozone.signature.defs#sigDetail',
11867
+ },
11868
+ },
11869
+ },
11870
+ },
11871
+ },
11872
+ },
11873
+ },
11874
+ },
11875
+ ToolsOzoneSignatureFindRelatedAccounts: {
11876
+ lexicon: 1,
11877
+ id: 'tools.ozone.signature.findRelatedAccounts',
11878
+ defs: {
11879
+ main: {
11880
+ type: 'query',
11881
+ description: 'Get accounts that share some matching threat signatures with the root account.',
11882
+ parameters: {
11883
+ type: 'params',
11884
+ required: ['did'],
11885
+ properties: {
11886
+ did: {
11887
+ type: 'string',
11888
+ format: 'did',
11889
+ },
11890
+ cursor: {
11891
+ type: 'string',
11892
+ },
11893
+ limit: {
11894
+ type: 'integer',
11895
+ minimum: 1,
11896
+ maximum: 100,
11897
+ default: 50,
11898
+ },
11899
+ },
11900
+ },
11901
+ output: {
11902
+ encoding: 'application/json',
11903
+ schema: {
11904
+ type: 'object',
11905
+ required: ['accounts'],
11906
+ properties: {
11907
+ cursor: {
11908
+ type: 'string',
11909
+ },
11910
+ accounts: {
11911
+ type: 'array',
11912
+ items: {
11913
+ type: 'ref',
11914
+ ref: 'lex:tools.ozone.signature.findRelatedAccounts#relatedAccount',
11915
+ },
11916
+ },
11917
+ },
11918
+ },
11919
+ },
11920
+ },
11921
+ relatedAccount: {
11922
+ type: 'object',
11923
+ required: ['account'],
11924
+ properties: {
11925
+ account: {
11926
+ type: 'ref',
11927
+ ref: 'lex:com.atproto.admin.defs#accountView',
11928
+ },
11929
+ similarities: {
11930
+ type: 'array',
11931
+ items: {
11932
+ type: 'ref',
11933
+ ref: 'lex:tools.ozone.signature.defs#sigDetail',
11934
+ },
11935
+ },
11936
+ },
11937
+ },
11938
+ },
11939
+ },
11940
+ ToolsOzoneSignatureSearchAccounts: {
11941
+ lexicon: 1,
11942
+ id: 'tools.ozone.signature.searchAccounts',
11943
+ defs: {
11944
+ main: {
11945
+ type: 'query',
11946
+ description: 'Search for accounts that match one or more threat signature values.',
11947
+ parameters: {
11948
+ type: 'params',
11949
+ required: ['values'],
11950
+ properties: {
11951
+ values: {
11952
+ type: 'array',
11953
+ items: {
11954
+ type: 'string',
11955
+ },
11956
+ },
11957
+ cursor: {
11958
+ type: 'string',
11959
+ },
11960
+ limit: {
11961
+ type: 'integer',
11962
+ minimum: 1,
11963
+ maximum: 100,
11964
+ default: 50,
11965
+ },
11966
+ },
11967
+ },
11968
+ output: {
11969
+ encoding: 'application/json',
11970
+ schema: {
11971
+ type: 'object',
11972
+ required: ['accounts'],
11973
+ properties: {
11974
+ cursor: {
11975
+ type: 'string',
11976
+ },
11977
+ accounts: {
11978
+ type: 'array',
11979
+ items: {
11980
+ type: 'ref',
11981
+ ref: 'lex:com.atproto.admin.defs#accountView',
11982
+ },
11983
+ },
11984
+ },
11985
+ },
11986
+ },
11987
+ },
11988
+ },
11989
+ },
11818
11990
  ToolsOzoneTeamAddMember: {
11819
11991
  lexicon: 1,
11820
11992
  id: 'tools.ozone.team.addMember',
@@ -12242,6 +12414,10 @@ exports.ids = {
12242
12414
  ToolsOzoneModerationQueryStatuses: 'tools.ozone.moderation.queryStatuses',
12243
12415
  ToolsOzoneModerationSearchRepos: 'tools.ozone.moderation.searchRepos',
12244
12416
  ToolsOzoneServerGetConfig: 'tools.ozone.server.getConfig',
12417
+ ToolsOzoneSignatureDefs: 'tools.ozone.signature.defs',
12418
+ ToolsOzoneSignatureFindCorrelation: 'tools.ozone.signature.findCorrelation',
12419
+ ToolsOzoneSignatureFindRelatedAccounts: 'tools.ozone.signature.findRelatedAccounts',
12420
+ ToolsOzoneSignatureSearchAccounts: 'tools.ozone.signature.searchAccounts',
12245
12421
  ToolsOzoneTeamAddMember: 'tools.ozone.team.addMember',
12246
12422
  ToolsOzoneTeamDefs: 'tools.ozone.team.defs',
12247
12423
  ToolsOzoneTeamDeleteMember: 'tools.ozone.team.deleteMember',