@agentims/sdk 0.0.0-stage → 0.3.0

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 (113) hide show
  1. package/README.md +73 -2
  2. package/dist/api/client.d.ts +36 -0
  3. package/dist/api/client.js +54 -0
  4. package/dist/api/errors.d.ts +52 -0
  5. package/dist/api/errors.js +43 -0
  6. package/dist/api/options.d.ts +12 -0
  7. package/dist/api/options.js +1 -0
  8. package/dist/api/request-data.d.ts +10 -0
  9. package/dist/api/request-data.js +43 -0
  10. package/dist/features/contacts/client.d.ts +9 -0
  11. package/dist/features/contacts/client.js +12 -0
  12. package/dist/features/contacts/index.d.ts +1 -0
  13. package/dist/features/contacts/index.js +1 -0
  14. package/dist/features/contacts/types.d.ts +19 -0
  15. package/dist/features/contacts/types.js +3 -0
  16. package/dist/features/conversations/client.d.ts +20 -0
  17. package/dist/features/conversations/client.js +42 -0
  18. package/dist/features/conversations/index.d.ts +1 -0
  19. package/dist/features/conversations/index.js +1 -0
  20. package/dist/features/conversations/types.d.ts +64 -0
  21. package/dist/features/conversations/types.js +3 -0
  22. package/dist/features/deliveries/client.d.ts +17 -0
  23. package/dist/features/deliveries/client.js +31 -0
  24. package/dist/features/deliveries/index.d.ts +1 -0
  25. package/dist/features/deliveries/index.js +1 -0
  26. package/dist/features/deliveries/types.d.ts +54 -0
  27. package/dist/features/deliveries/types.js +1 -0
  28. package/dist/features/devices/client.d.ts +11 -0
  29. package/dist/features/devices/client.js +18 -0
  30. package/dist/features/devices/index.d.ts +1 -0
  31. package/dist/features/devices/index.js +1 -0
  32. package/dist/features/devices/types.d.ts +29 -0
  33. package/dist/features/devices/types.js +3 -0
  34. package/dist/features/discovery/client.d.ts +9 -0
  35. package/dist/features/discovery/client.js +9 -0
  36. package/dist/features/discovery/index.d.ts +1 -0
  37. package/dist/features/discovery/index.js +1 -0
  38. package/dist/features/discovery/types.d.ts +6 -0
  39. package/dist/features/discovery/types.js +3 -0
  40. package/dist/features/encryption/client.d.ts +16 -0
  41. package/dist/features/encryption/client.js +30 -0
  42. package/dist/features/encryption/index.d.ts +1 -0
  43. package/dist/features/encryption/index.js +1 -0
  44. package/dist/features/encryption/types.d.ts +54 -0
  45. package/dist/features/encryption/types.js +3 -0
  46. package/dist/features/identity/client.d.ts +21 -0
  47. package/dist/features/identity/client.js +43 -0
  48. package/dist/features/identity/index.d.ts +3 -0
  49. package/dist/features/identity/index.js +1 -0
  50. package/dist/features/identity/types.d.ts +105 -0
  51. package/dist/features/identity/types.js +1 -0
  52. package/dist/features/messages/client.d.ts +18 -0
  53. package/dist/features/messages/client.js +35 -0
  54. package/dist/features/messages/index.d.ts +1 -0
  55. package/dist/features/messages/index.js +1 -0
  56. package/dist/features/messages/types.d.ts +54 -0
  57. package/dist/features/messages/types.js +3 -0
  58. package/dist/features/outbox/client.d.ts +14 -0
  59. package/dist/features/outbox/client.js +25 -0
  60. package/dist/features/outbox/index.d.ts +1 -0
  61. package/dist/features/outbox/index.js +1 -0
  62. package/dist/features/outbox/types.d.ts +41 -0
  63. package/dist/features/outbox/types.js +3 -0
  64. package/dist/features/pairing/client.d.ts +11 -0
  65. package/dist/features/pairing/client.js +16 -0
  66. package/dist/features/pairing/index.d.ts +1 -0
  67. package/dist/features/pairing/index.js +1 -0
  68. package/dist/features/pairing/types.d.ts +21 -0
  69. package/dist/features/pairing/types.js +3 -0
  70. package/dist/features/profiles/client.d.ts +10 -0
  71. package/dist/features/profiles/client.js +15 -0
  72. package/dist/features/profiles/index.d.ts +1 -0
  73. package/dist/features/profiles/index.js +1 -0
  74. package/dist/features/profiles/types.d.ts +23 -0
  75. package/dist/features/profiles/types.js +3 -0
  76. package/dist/features/reliability/client.d.ts +9 -0
  77. package/dist/features/reliability/client.js +12 -0
  78. package/dist/features/reliability/index.d.ts +1 -0
  79. package/dist/features/reliability/index.js +1 -0
  80. package/dist/features/reliability/types.d.ts +27 -0
  81. package/dist/features/reliability/types.js +3 -0
  82. package/dist/features/timeline/client.d.ts +12 -0
  83. package/dist/features/timeline/client.js +21 -0
  84. package/dist/features/timeline/index.d.ts +1 -0
  85. package/dist/features/timeline/index.js +1 -0
  86. package/dist/features/timeline/types.d.ts +60 -0
  87. package/dist/features/timeline/types.js +3 -0
  88. package/dist/features/verification/client.d.ts +11 -0
  89. package/dist/features/verification/client.js +18 -0
  90. package/dist/features/verification/index.d.ts +1 -0
  91. package/dist/features/verification/index.js +1 -0
  92. package/dist/features/verification/types.d.ts +20 -0
  93. package/dist/features/verification/types.js +3 -0
  94. package/dist/index.d.ts +27 -0
  95. package/dist/index.js +4 -0
  96. package/dist/internal/protocol/codec.d.ts +4 -0
  97. package/dist/internal/protocol/codec.js +69 -0
  98. package/dist/internal/protocol/input.d.ts +2 -0
  99. package/dist/internal/protocol/input.js +38 -0
  100. package/dist/internal/protocol/operations.json +88 -0
  101. package/dist/internal/protocol/registry.d.ts +17 -0
  102. package/dist/internal/protocol/registry.js +72 -0
  103. package/dist/internal/protocol/schema.d.ts +23 -0
  104. package/dist/internal/protocol/schema.js +105 -0
  105. package/dist/internal/transport/client.d.ts +8 -0
  106. package/dist/internal/transport/client.js +102 -0
  107. package/dist/internal/transport/error-diagnostics.d.ts +3 -0
  108. package/dist/internal/transport/error-diagnostics.js +50 -0
  109. package/dist/internal/transport/request.d.ts +9 -0
  110. package/dist/internal/transport/request.js +55 -0
  111. package/dist/internal/transport/response.d.ts +2 -0
  112. package/dist/internal/transport/response.js +85 -0
  113. package/package.json +34 -4
@@ -0,0 +1,88 @@
1
+ {
2
+ "version": 1,
3
+ "generated": "scripts/checks/generate_sdk_protocol.py",
4
+ "generator_version": "2",
5
+ "sources_sha256": "7d7102a6e3a7bb008745244a42dd4d3414beb2154b9cf8b7acbaf12ad24a21ea",
6
+ "sources": {"agent-profile/v1/profile-update.schema.json": "510397f13deff29b091170a6c4c97ae81285b942b7e8f1270e617f74a51e63c2", "agent-profile/v1/profile.schema.json": "2f198c69eb0369a601d19350b280e60972eaeade89e475413a512ab30e089ecb", "homeserver-api/v1/discovery/paths/search.yaml": "ce8578eaa113d9bfef27d7d0f47b3b07c156acb97825d9fb7d24a5f0006ec858", "homeserver-api/v1/discovery/schemas/discovery-query.schema.json": "482de187e1b64c374a44de2c11c2578b51a4d034d4fdcccbbe8cfd4b3ef1a877", "homeserver-api/v1/openapi.yaml": "70ebf380530773b21050bc63de061efbb432163f5f8faf0f17aca3d153a57967", "homeserver-api/v1/policies/paths/action.yaml": "786797ac4531fa01d89a04cb35e1f47acdd3cdfd643c0a8978e46126c47f44f0", "homeserver-api/v1/policies/paths/list.yaml": "3118aa0fb5f2b0db6b23694bbca5a2d75467506ba1e7f35510a34ae881add261", "homeserver-api/v1/policies/schemas/contact-action.schema.json": "76a0f23967d9aaa98e1a91346b4a39fbf6248201b63efb8b0de0cb7fdaee3dd7", "homeserver-api/v1/policies/schemas/contacts-query.schema.json": "30e5c08f0f4e43f080bdabdfe9730b15787bb1b836c39cc1870dc2f5b1a265de", "homeserver-api/v1/profiles/paths/me.yaml": "2ab92567fb7c3b03d7a2f591367c34a76bfe57af1409b8f62982f88224d57be6", "homeserver-api/v1/profiles/paths/read.yaml": "4aa6168194eecbe58ad368d98220ba5bc6d0e747a12bd54425b160f81086379e", "homeserver-api/v1/profiles/schemas/profile-update.schema.json": "d1d6c4fbb18ec21d1c146dbca817d252e69e7eb3399193ed6d342a990c2ba0d9", "homeserver-api/v1/registration/paths/device-login.yaml": "f36f0d191e54797cd54946f3b4c66f91ce9baf874e4e194cd2fffe5728bb7f57", "homeserver-api/v1/registration/paths/pairing-cancel.yaml": "e1138d4919a290d9c4498e2b454b65a844d7abebaa6650c44796693af8b27e18", "homeserver-api/v1/registration/paths/pairing-consume.yaml": "7ab62ae778d0d3b244339661d39822719dfe4be9e40d4ced95096fa57edfc81c", "homeserver-api/v1/registration/paths/pairing-decision.yaml": "f9272b58af5e08672f049968fd200a6b5a10bd3f6de8ba7fc16bd572cc93554e", "homeserver-api/v1/registration/paths/pairing-read.yaml": "deb821af181692d346aea7e8358e6ac9d9da591457c6e0c0acc1c66e80362afc", "homeserver-api/v1/registration/paths/pairing-status.yaml": "a03488cd445720115f135be01cb404f3df8a1ac46bad3ebb7102716e87d64489", "homeserver-api/v1/registration/paths/pairings.yaml": "c45018cefc785d15476abbdac96ddeba974f8cf1a885bf07a298e41d5ba55cab", "homeserver-api/v1/registration/paths/register.yaml": "2b6881d54bcdd286a18ad0a1a8eacc94e26bcc798a0623893706a5eee47e4d62", "homeserver-api/v1/registration/schemas/device-login-request.schema.json": "5dc4a6ace07419b48eee8654de130fb054c5126fcce92bde68af99c6a635e80f", "homeserver-api/v1/registration/schemas/device-login-response.schema.json": "c9c41d0c24acb9717eb1296518dc85e2333ab3c1bf5a7841b687a48ccb5ad582", "homeserver-api/v1/registration/schemas/pairing-create.schema.json": "81ce52483921e003d8ab6d3d9a4c674ae21f19c2db4e93160aa552358cfe95f3", "homeserver-api/v1/registration/schemas/pairing-proof.schema.json": "c80548abd6041fbfc7a3dfe06de3cba8b4c9b1cc8a5ffc545686591bed2a10af", "homeserver-api/v1/registration/schemas/pairing-token.schema.json": "6794befed78faa4f0dae5054d0cf89ee6a726fdd0699cca236db653a1155a43a", "homeserver-api/v1/registration/schemas/registration-error.schema.json": "12cfc11d8868efb9f572089c8b4b7836ca60ebb7b7b575e8da5f5b8c82d2f77f", "homeserver-api/v1/registration/schemas/registration-request.schema.json": "8f4325f923cbbfdcc0844773ea25a3b2e9b227714bb04f4889c8e6a77caa3f08", "homeserver-api/v1/registration/schemas/registration-response.schema.json": "d33933571454e594432531208e139452ef5aca4d4b29cd389f0ae882554e6dac", "homeserver-api/v2/account/paths/capabilities.yaml": "7edf753539df3e48760f5e6a2e6b25dea94c3efa297d0536832e7acc9e4b17bc", "homeserver-api/v2/account/paths/complete.yaml": "742aac129ccd3281269977f1c880310fecb21a7c851b76ed3038ebb288996909", "homeserver-api/v2/account/paths/credentials.yaml": "498fad1e06994a02a7590f9ec03dc97c2b49f50cae1fed5d5239daeba62dab5a", "homeserver-api/v2/account/paths/login.yaml": "b6d671edc437fa3351337a6f467afd70e1896e78c105aeffd97ef7f949fdd9e7", "homeserver-api/v2/account/paths/revoke.yaml": "80301f0a55bf61e7fdb71abfe54120ef5003a7a01177f32ce344ca8f39d0d40d", "homeserver-api/v2/account/paths/status.yaml": "75b291b4275898268e3a0e5145a7d501357045c3aeee8f2a9eea698e6ab64730", "homeserver-api/v2/account/paths/verify.yaml": "835f47a6f0e5f9c1ce0d494ebded829165c6392cf79d217a66caaa3efd5108a2", "homeserver-api/v2/account/schemas/capabilities.schema.json": "5961dec7c462d165beff57362f4fccc226364535d7165848eb2e248a6a44a4e7", "homeserver-api/v2/account/schemas/credential-create.schema.json": "75434e48d5ac3ada4d493ba363ab9fc624eba24c1af329bafc35961203dfeb33", "homeserver-api/v2/account/schemas/credential-list.schema.json": "dd8719eabd9467ff22eeb532edd4677821466d02bd5d9b7e8c5f86898c930bbd", "homeserver-api/v2/account/schemas/credential-proof.schema.json": "ce46e941c51c1a44c8d3c5c4af1437a25d654af96e86ac95e26cfc6ea740fabe", "homeserver-api/v2/account/schemas/credential-status.schema.json": "036b5c2c4c7d81235f301724f3bb19921ba601626a6b80efca1e82f715ed6cc5", "homeserver-api/v2/account/schemas/device-grant.schema.json": "5bb9037be5924b9bea80dd74472b72b32a368ec98463815d6acbdf6995ede343", "homeserver-api/v2/account/schemas/device-login.schema.json": "0ba2d991b36744e89c9f418eb9c824cdf9b34bf3202d6f4d00af5dd2ecfdaa10", "homeserver-api/v2/account/schemas/login-status.schema.json": "322fb167337f32d5c85116eff2cfd9bdc0daf02a0d78c3b65927a16974676d54", "homeserver-api/v2/openapi.yaml": "2979d584de858c79569c1aa2303d2067141a55f7652a609c3fb988c7525ca3ec", "homeserver-api/v2/registration/paths/complete.yaml": "f52864efff25fa956598beb9c200badb4c1661d4c86cc2957a4fdfb790ca5bc0", "homeserver-api/v2/registration/paths/consume.yaml": "26563fd941620f1929e34bc0b7a5f61ecc2d8f3929e1bf1c2eaf52878f044a94", "homeserver-api/v2/registration/paths/create.yaml": "cd5021d9cdaba4cb17bc3d5c7174798336c2e05f25463b28b517619669b2eb07", "homeserver-api/v2/registration/paths/status.yaml": "127f661bcb3e1db0f5eb05bc2bd9fbbd77a43abf01bb676956c50b97b7025d9d", "homeserver-api/v2/registration/schemas/onboarding-capabilities.schema.json": "72f6c7c2f41d43bd9cdbd2d173c338353cb36c8a02859fe287e372b106ebe5aa", "homeserver-api/v2/registration/schemas/onboarding-complete.schema.json": "9ff59348f666b0b37f09172fb0cc9066f84a4fbcb6e4bf0c2f3dd3c4ea99c73a", "homeserver-api/v2/registration/schemas/onboarding-completed.schema.json": "ffd4eee785d4ef5497642f9e7157a333eab116bd5d022d09dd57883ee1365ab3", "homeserver-api/v2/registration/schemas/onboarding-create.schema.json": "b304dd11e80b3c06d67628af071ab8f2fe2d7bdbdcadeae92136bea379bc5b4c", "homeserver-api/v2/registration/schemas/onboarding-error.schema.json": "521d05e9014cd0006a75609be410c8caf61d3f0e0da9be52082a7fa73a988e2d", "homeserver-api/v2/registration/schemas/onboarding-grant.schema.json": "79350514976371a96697fc9b2d9d0064952680bba024f9ab2897e24d0f321470", "homeserver-api/v2/registration/schemas/onboarding-proof.schema.json": "419f9f0c2ba174b2cdf0004030e78cec2c3dae4751df43a0c91725bf088c6ec0", "homeserver-api/v2/registration/schemas/onboarding-status.schema.json": "a5be308bcc19da258c5ea28163ddd69c293c5e7ec27f26d4ba8ed44297ce84df", "local-api/v1/contacts/paths/action.yaml": "30ad02573627e58ad32bb983799d30382b36d52b00a9d24e81575686e2efa156", "local-api/v1/contacts/paths/list.yaml": "b5863ee825a135c8d82a7a1379ad461122e21eda3e59fb557e42e2f8aa8aa78e", "local-api/v1/contacts/schemas/contact-action.schema.json": "17b45f733548ba8725312f8beebb987f0095c9cc9364120ed20e46e14a672a6d", "local-api/v1/contacts/schemas/contacts-query.schema.json": "b723e3ca8bbdb65d87a474eecfac6deb769faa9ca68a2aba79979af6995bf28c", "local-api/v1/conversations/paths/create.yaml": "8fb4028f9a55095f9147d2cc5364ad099a0f80b4656658183f0b4a1183d34206", "local-api/v1/conversations/paths/creation-status.yaml": "fee205fb33b102bc12edac1643bd69db8ab734a467fdc94452619ceeb5314da1", "local-api/v1/conversations/paths/details.yaml": "1b5783df509b1db65c71ff2480a4451b1dea5ee355e600a2b3c2c6a64b1c2324", "local-api/v1/conversations/paths/direct.yaml": "802980b85ced32fddf4a7e810125a7fa793efa82c96b10b32a38d77f102f9e10", "local-api/v1/conversations/paths/invitation.yaml": "a9776e293d9c59c826277eade6700ad06f625aaf8c391679fdc64ca228a86b90", "local-api/v1/conversations/paths/invite.yaml": "013229c93c10464993571b96c5b2ae3c26229e6b17275c23974a56e078a90ce5", "local-api/v1/conversations/paths/join.yaml": "afc5aa84f5536306c8770c00bd5092917a51e563fdd4886b5fdd6d50f7691b6c", "local-api/v1/conversations/paths/kick.yaml": "d55dbe7802ce9aeeb2024a16e2f8d57b3f0913b6c653e3e9f0f6e8a06003d0b6", "local-api/v1/conversations/paths/leave.yaml": "f00ac34ee2eb23b1c10004ae884e8d5e76a54dd354df1e4c082a7a029be04bf4", "local-api/v1/conversations/paths/members.yaml": "5fc9c055ec5fafcb835eb75f0f138938c19a1c6b1bdbcaaa079b6bacf84ac94f", "local-api/v1/conversations/paths/power.yaml": "8f8a17ef425a95fd5a17a6d488f6ec25f4785d9104e8c101e1cd736ed86e3e9a", "local-api/v1/conversations/schemas/conversation-details.schema.json": "49a25cfa150eed758be012e629761c95b064cf6da6b9d11b3c71c30053d796a3", "local-api/v1/conversations/schemas/conversation.schema.json": "a3c0d12e7a27971b3bd88418aa30931090a3f723b4c13d56de79d1645ff79d4b", "local-api/v1/conversations/schemas/conversations-page.schema.json": "58ac1d3e93028bba045caa74df6535e4655aa26fd3608e6a554bb55b6cc18a28", "local-api/v1/conversations/schemas/conversations-query.schema.json": "0511252e12371858c6c716c1c6581dd7c2d82e76dcae0be8018c75ae24b842ea", "local-api/v1/conversations/schemas/create-request.schema.json": "18e384e05b29239e7882b4cb137f8be811a94e7fc9a03681e30177387c75e8dc", "local-api/v1/conversations/schemas/creation-status.schema.json": "ecc5fedf6550cb2cbe7c0b7d3db0a696e04125058a9e86d3ecce48491c9a35e7", "local-api/v1/conversations/schemas/invitation-decision.schema.json": "2179295952d581f64c3330c2e29b30f4186849d8f4d8a1934fe0e13dc0b73992", "local-api/v1/conversations/schemas/invite.schema.json": "db8fdf3ec711ca518cf1f9e3e0354673ddb7c98745090461f8949a54a0dbb4e4", "local-api/v1/conversations/schemas/kick.schema.json": "03f7fe85f6c854eefa2b439a86d52cf4b103a04ab9c2f56cc820411c4ddb141f", "local-api/v1/conversations/schemas/members-page.schema.json": "068b5624bbe4182173f6c2773c9874d2a601262842ed7119a887fad55a71a1f8", "local-api/v1/conversations/schemas/open-direct.schema.json": "714a3759fab99bd4d355c9762aed520a4f3fc2048ad4883687cc80fd2fdf4c8c", "local-api/v1/conversations/schemas/power.schema.json": "46a5b24ae06b6de1c84980578f69be5ec167cce3819fd5d7e59e7cafbd9632b1", "local-api/v1/deliveries/paths/ack.yaml": "a6c6daacb0e875c4cf9cba52362a201d57c57b808bc10b2a109ebdeb077bc656", "local-api/v1/deliveries/paths/claim.yaml": "d42477efbd47bd7a063cd10be5dfac262da2c10e059d57133878a3a01a4cbc22", "local-api/v1/deliveries/paths/release.yaml": "0e46f17aa909c54a39b1d9d93fbbf11461fe1931ffb6b03dbb5622668d2ca89f", "local-api/v1/deliveries/paths/renew.yaml": "7ccf04f528ae7533df859dfeb543001b112b419eea62a29da1db6ea2e90f2e16", "local-api/v1/deliveries/paths/reply-file.yaml": "370d5070ca00ca44df02199c0bbb2edad605374de044228d9b41c5d09fab8376", "local-api/v1/deliveries/paths/reply.yaml": "120ac56da50fcdd81ae3e1363f0c95d697acaff4ec92cd3fc3477fd2af258b37", "local-api/v1/deliveries/schemas/claim.schema.json": "e142e8be876d59031447b3b50f1d4c004834568fed28bef9d7fc324a16fd42dc", "local-api/v1/deliveries/schemas/delivery.schema.json": "54ac801bc81927d827e1d20dad0cd8bbfe78f67623037daf3081b428a5803543", "local-api/v1/deliveries/schemas/lease.schema.json": "9b1e744fbd2a4e8d40e885c6b1505b02c4601a21431df2bd3f79b86f64b54e20", "local-api/v1/deliveries/schemas/page.schema.json": "29f217ae365c86c4ce644841b36da666d889bc11f42f9f49f1d1dbedebdf177a", "local-api/v1/deliveries/schemas/renew.schema.json": "dc1d6e09f6b9b872f8773023a3dcda267bd07c04e93cadcc174e1c12232d3d7b", "local-api/v1/deliveries/schemas/reply-file.schema.json": "7ebdf455029bc3d18d185f0ce4efdd9b2ece6ba30c9b0950e2721e18488832c7", "local-api/v1/deliveries/schemas/reply.schema.json": "187f6210ad3216dcf91abc738feb4f80cd86045f25143ed7199d5d5a8364bec9", "local-api/v1/deliveries/schemas/result.schema.json": "c515ff2b6aceacc16df97cfd106b7e3ee8af1a5f665ca1e1697338991794caaa", "local-api/v1/discovery/paths/search.yaml": "f7993defd3dd1d6e073e0926e2cb81f595eb8d5fabe8eea91f5c2559334f7ea3", "local-api/v1/discovery/schemas/discovery-query.schema.json": "a28b67b1b8b2530534e38300caa78284e07bf014767c3b7bdcc9e2de4a8e9064", "local-api/v1/identity/paths/login.yaml": "4e5bd15ba94d4987d23954310d313a43630586c2b3c65245e6d96a547c34befb", "local-api/v1/identity/paths/register.yaml": "28d434eea0aa297552906d23d86d79084959b140ca94ceeda630cadc8d5748c3", "local-api/v1/identity/paths/shutdown.yaml": "e7c431e0a60546c810f4543ef906258d01f74beff9f4b9cab41ad380c1c5554b", "local-api/v1/identity/paths/status.yaml": "16eca003ce070e2a07e9d2fce865bf90dad05ffa0ad69757415a4e4ec72039bc", "local-api/v1/identity/schemas/client-status.schema.json": "3106fc7219fed18fd98932a1e15051db30ee2b9bdf0aa9dfa3f3c4619acfd0d8", "local-api/v1/identity/schemas/identity-status.schema.json": "d6cb5a8d55d5ffbe0184862dda3a9b76477dd71676030329d60b12ef10c9cc27", "local-api/v1/identity/schemas/login-request.schema.json": "0abd4f4438f6d5810d3119b22fa8c5fb202adc438a5c3f43ddca7c3b02498eac", "local-api/v1/identity/schemas/register-request.schema.json": "3f700e01b937566d80345897bf8c1cc3402c77fc1cae5989d5afbe7ae95b2c72", "local-api/v1/messages/paths/download.yaml": "c3eea9c5cadea5decea1a84fdea5299138a0397ac6f79114e9d0063c06de48f9", "local-api/v1/messages/paths/event.yaml": "d4147f0fd04ba1b6243e8371d88645d551da4583851f32d92337104c8a681c73", "local-api/v1/messages/paths/messages.yaml": "0c31345afcc28f997cbc8089f7a071b9ba30039eacff4ffac850e0d796a16bd4", "local-api/v1/messages/paths/upload.yaml": "6eaf3f598ccaef59a0d503b22d4d98487447e36dedffa099e30675185d4d17dd", "local-api/v1/messages/schemas/inbox-page.schema.json": "75e82bd7a26bfa0bcf00daa0478afebd4d6e7315b72a87f98f2098afe477cd90", "local-api/v1/messages/schemas/received-message.schema.json": "db0b125114af4717a01c5c49b14cb8b771b6d1fb4985723158487c7976c44cd8", "local-api/v1/messages/schemas/send-file-request.schema.json": "4d18b8d7cef8ada0215f0e980e7bb0dc6681edb726112dd3be9e625b710a267f", "local-api/v1/messages/schemas/send-text-request.schema.json": "242f31b57a932a1136a72dee8210a00e41313ccfbedc8b3c20f3980f7277a96d", "local-api/v1/messages/schemas/sent-event.schema.json": "e4d56c97675196d2015991dc2e77784fe4d787ed35e5b2dfbb898cd63f0650b7", "local-api/v1/openapi.yaml": "1ffd85da53b8486b15c1ef5e6df56757ba5ad475de5f21451377700d26c30d17", "local-api/v1/outbox/paths/abandon.yaml": "f3fdd280b294748d46e2cd41e4385c8a4caffff90c804bf721de9188b5b9f3fe", "local-api/v1/outbox/paths/files.yaml": "16970e44a8942843311a00788f250ecc8b68fab6b7ad1b461b8dfb017094cdae", "local-api/v1/outbox/paths/queue.yaml": "dbcae3f0b2135146831dc58dc4999afbb8b0121acccd31402a965185d99b4ef8", "local-api/v1/outbox/paths/read.yaml": "dd9f428b635220f3eb8f59bed83f4fe58618e5c55fd51c42aa9a7738fb279949", "local-api/v1/outbox/paths/retry.yaml": "73f15ca564a2161f08b94f5df090b8c58509cda50ffe69bfc500908969def6b5", "local-api/v1/outbox/schemas/action.schema.json": "6be01cd070d7b3aa8804a3cb5d680f9cdad0bc2e22a8104598fa8549a19061f2", "local-api/v1/outbox/schemas/enqueue-file.schema.json": "55564cd4fc8e2b46a0b2c2f8918a1d1440a153a4a47baad37663fb590d34ffb5", "local-api/v1/outbox/schemas/enqueue-text.schema.json": "1333da18505326ad2fd9e436a17d9a2ca3e960e18e767c8a6b5491065440db88", "local-api/v1/outbox/schemas/item.schema.json": "ff6b7be708c169cd2634d1b1086a2f7a2e1259c50e7737ef9aee9fbbc93d48a6", "local-api/v1/outbox/schemas/page.schema.json": "a175816a43f842658a6b5ae65dbd1b6cbba554974414eb1a61c18b60dfa9548f", "local-api/v1/outbox/schemas/query.schema.json": "70bb658f8fc6a2cddddda2772b15b1827f58c98aea1cc33b7b8a479093cb3ecd", "local-api/v1/pairing/paths/decision.yaml": "83a71cc118d1960be8335252d8125c09cdb637d72f1e75eaf4e94d89c704f98a", "local-api/v1/pairing/paths/list.yaml": "de20cc011098d4b73453cae810eb56084e1e4c3acd7ad7ee241d43c0959cd676", "local-api/v1/pairing/paths/read.yaml": "946c4e2db5d72835d4baa0b438ad12b9323fae23b2c60c33cdd68301ab773146", "local-api/v1/pairing/schemas/pairing-decision.schema.json": "a17fc1abba42057fe9963a6b41e4ac25ed3febf1f5e12952cbbf5b5b4ea5d567", "local-api/v1/pairing/schemas/pairing-list.schema.json": "7e2a063385dd6c2066cdbbd3667d9651e972e951a976ea2da2eefe72991be8c5", "local-api/v1/pairing/schemas/pairing-request.schema.json": "0d62f22f42ac8973265b75ae205a0a33f59efd8ad2c447bb05d1470cf35f301a", "local-api/v1/profiles/paths/me.yaml": "7e7fc57b71d8a7b6fc7dc9ebc51ed8aa7eaa5983b2723c97529c2ad6090cec07", "local-api/v1/profiles/paths/read.yaml": "f1f6e63949c0ca8949fd9263410a4d0b8c6c77c753d6901ad47f37767dea3fd8", "local-api/v1/profiles/schemas/profile-update.schema.json": "ee55af1b8a806532b5c8fc4724d0ecc1fbde5ee423d11ede60c826de782a47fb", "local-api/v1/reliability/paths/rescan.yaml": "f1647b09192f63293552ae652e0d3ee20aa219c9d01d6e6b40747724d0c6a4eb", "local-api/v1/reliability/paths/status.yaml": "01539bd6722147934822c72c8e00a5dc6d4f55a3775022dde97e9fd992f5b1bb", "local-api/v1/reliability/schemas/history-room.schema.json": "e58f192efbd2fd6deae4c68aa953db2eda034f679dbb93e330dd3a180207069f", "local-api/v1/reliability/schemas/rescan.schema.json": "2836467154a368d5ea426cf9b3a612a481d01b2f732e55968b37153305235797", "local-api/v1/reliability/schemas/status.schema.json": "0867bfdfd41940f3b762363c44f2950d6e3c3b82bf130406ca01add1887c4239", "local-api/v2/deliveries/paths/boundary.yaml": "33908e7b590723f059a6e457372bc2d4e6cdfd71c9ae2d9b93d30d2aa75222be", "local-api/v2/deliveries/schemas/boundary-request.schema.json": "f9b9bc459ee83affe4f74d5d60924e4358fa6f097b3f2e32139ff0f4058e1284", "local-api/v2/deliveries/schemas/boundary.schema.json": "9caf8db222ec7b87b12ab06054b7928bb04d2cc60e74fde5400e9685b7d27502", "local-api/v2/devices/paths/delete.yaml": "3f290e60b81dd291a33b3d4a2aff98deaa63cd2fac7d8e0a99554bf3943e4fce", "local-api/v2/devices/paths/list.yaml": "ba8c63231ba7cb69b01e09d6d57f3dbb5e77e1d15d78f6de6298573c94b162b3", "local-api/v2/devices/paths/rename.yaml": "7304a3125dc80f55d225f888dbc0e408e5c144e962e026976755c363a40a7adb", "local-api/v2/devices/paths/trust.yaml": "427f6c807de5ee060856542a373458e34fa1ce822b7c73cbc625d4ff9d316280", "local-api/v2/devices/schemas/auth-result.schema.json": "2cb412080b7140bd62b088d8ad692dbe72052c14b33443a489639ae2b2e859f6", "local-api/v2/devices/schemas/delete-request.schema.json": "079a6d5025f9e123d4179bf238403c8271e70edf191b984a7a48d8fb43f8e7dc", "local-api/v2/devices/schemas/device.schema.json": "4d7c5a4f0f39c16ff70cd2361cb352ff6bec8405aa50683b356d848e8f2f5e43", "local-api/v2/devices/schemas/page.schema.json": "396ed9229490e167189f55fdc5d42d93ba019b6960980ea3f5cb3fb1ad3c4d34", "local-api/v2/devices/schemas/rename-request.schema.json": "12c0a433030f88e6b4aa782c46731cfcdbcf8a8597d9087d78a00450bae33639", "local-api/v2/encryption/paths/backup-enable.yaml": "56d9093a1cb424d26f2a879ab71637e1fe9146fe78f1bdf00571a6c6bbb50741", "local-api/v2/encryption/paths/backup-recover.yaml": "b701b947f7e91d60c5b2e5a33b26051e8bbcfb9c4b60c127c8cdead257ee43a7", "local-api/v2/encryption/paths/backup-wait.yaml": "165fb6caa657ecce9b55395941c603d1da58c7e132d95fdf7cf70f07af56fc30", "local-api/v2/encryption/paths/backup.yaml": "0dec7d09cfb84325e6bf069c612dd97dfe1a2ff966ace1b3ed6dcd165488ed7c", "local-api/v2/encryption/paths/cross-signing.yaml": "161296e9d0ce98e64bac3946b244e078745ded022d29807fb66b5206361f1eb0", "local-api/v2/encryption/paths/keys-export.yaml": "9b3485b7527adfae51551d51156181337d0cd28a0c069b4e235c59e8364906c4", "local-api/v2/encryption/paths/keys-import.yaml": "963634aea89d65d49013b9dec4eb4191bb5e8b0e8f7293c3e9afc7fe4c2a08f0", "local-api/v2/encryption/schemas/backup-enable-request.schema.json": "7ca5b22bab9b3e4c9fd65285a2689bcd6321cc979ad613b340b7fcaca2023043", "local-api/v2/encryption/schemas/backup-recover-request.schema.json": "09001e6b68d0d6c3fd2ae72d7d83134b5efad993a38529d4b188f9e72a4a2c25", "local-api/v2/encryption/schemas/backup-status.schema.json": "876a117473f1dc0037830814f4efac17c363364ba8ef20b438f8e1e6a73b9fa0", "local-api/v2/encryption/schemas/backup-wait-request.schema.json": "e08639da0417e80cef7a4e75eca55e216a202eebc692920c219961515a14fe58", "local-api/v2/encryption/schemas/bootstrap-request.schema.json": "a10684d3701727d273496d1956a6d5768386afaa037305cd1d54275d02b4f591", "local-api/v2/encryption/schemas/chat-key-backup.schema.json": "ba82baf1c796fb885a1b101c37a3c67d9ab7f3ee9ba26073f9445e1f0ae36fd5", "local-api/v2/encryption/schemas/chat-key-import-result.schema.json": "114133e7c1f430b21898879a4e41b4fa580717343eb304ce827fe782992a5280", "local-api/v2/encryption/schemas/cross-signing-status.schema.json": "0a762f218fde61cd943a20c48c746b047c746577d888986fb7b176b81fd8141a", "local-api/v2/encryption/schemas/export-chat-keys-request.schema.json": "c06f82c58cded2e5e0f7ace9f6d1eaacf29f2308d7c02169e549f434ae96d747", "local-api/v2/encryption/schemas/import-chat-keys-request.schema.json": "5c83a89ce6b1c6bce3e3caa1c2106a93f4962b95a9eee26dc573671b6cd5d8a4", "local-api/v2/encryption/schemas/signing-result.schema.json": "16105bd017185fbf77edf91e35854683544fcb94380596528192ff54eee847c0", "local-api/v2/identity/paths/account-login.yaml": "3b49a478bbc9fef32c8cece8c209c77d9fe463699f6741cb5145b3126c443814", "local-api/v2/identity/paths/authorized-login.yaml": "da893ae64fabf9d6893368fa36b825b9644f14582ce34452a4fd264b594fef52", "local-api/v2/identity/paths/credential-replace.yaml": "0ca4eba06c72ba2497e28676cd7e9f9fe56438d4083534560d05586687f909b3", "local-api/v2/identity/paths/credential-revoke.yaml": "d4f5b36e479e9d0bebbacf4de809c1e77eec4d828b1a6e0c27783419c57e4e1f", "local-api/v2/identity/paths/credential.yaml": "65b306dfff1786bc4f0e1a641eac3216d6d18b1f9f90e8e5ff90003a7a8eade7", "local-api/v2/identity/paths/public-register.yaml": "15e71884695bf9853a99afb24ee8abe1a1e98af9b423e9fd36171094ba390cc7", "local-api/v2/identity/schemas/account-credential-file.schema.json": "2d22a74b28605d73ed4d4dbbba7023c398a749bd5e8c2b01a05f1f87f9d55c04", "local-api/v2/identity/schemas/account-credential-state.schema.json": "3b0311ec5a2ff1c7b8f4e0b3fb236aad95e9eaab3eafc31b20601c27e1315a18", "local-api/v2/identity/schemas/account-login-request.schema.json": "33c9ed704453514120d1f5c64783230c6ee2fafb2b5ee21d4bf07662769cd252", "local-api/v2/identity/schemas/authorized-login-request.schema.json": "caca2a42093dca57f84dea2bbb69deee13af7e02df6c47b9611b1f5e6d360b1b", "local-api/v2/identity/schemas/credential-revocation.schema.json": "dd7ac7bdd81fbc59545fbf3662935ff2b5a8941f8fc99845edd6cc831f435a82", "local-api/v2/identity/schemas/credential-revoke-request.schema.json": "86d898b8dd59118a69c31b170939d2062326bf2d22cc35db35504235b0d5064e", "local-api/v2/identity/schemas/identity-login-error.schema.json": "78787403638bbcf5ea2247f288e12aec6ae688e22815ce4224cc09b722017b6a", "local-api/v2/identity/schemas/identity-login-status.schema.json": "e514c823d8ae9084733b347d261b825704316e709ce68fac7edca5de6c189cce", "local-api/v2/identity/schemas/public-register-request.schema.json": "58b9467e222f60515280b06b7ffe88bd066c1fd878628b70acaa29b8addb685e", "local-api/v2/identity/schemas/public-registration-error.schema.json": "564ca5c75ad5cd58625b453bdd74267074c91de99bf65379d689a75a55cc9c65", "local-api/v2/messages/paths/edit.yaml": "33fa8e16994a9676686f7d4a89c6e9df7ef0a2a725190e340e4f1b11a33687dc", "local-api/v2/messages/paths/redact.yaml": "22986ef2c2476a6b18f0366394bf2d5652bba41619571c711a8881318a2630b4", "local-api/v2/messages/paths/thread.yaml": "7bb0ac99cbb0a5b14709adcd6b1f378714278ffe58c0252d89026611fa4d9b7d", "local-api/v2/messages/schemas/mutation-request.schema.json": "9c06494acd7cc02dca3f3e642b26b872da8da246e0a8f8d94160cfedf523d1a4", "local-api/v2/messages/schemas/mutation-result.schema.json": "f5d6632fe150568867573a1a55e9e72cb33fac78e627dcce9ce1b10e64a08b28", "local-api/v2/messages/schemas/thread-request.schema.json": "00ce77c83ca289aae06b17c64e92bd4a8b68348efd3a132ec9f112bae69ff1da", "local-api/v2/openapi.yaml": "244b4978ef7888ebca77915186ea2ca05213010f02ee08ad650f1542b5bd3a65", "local-api/v2/timeline/paths/changes.yaml": "b9772f3f82472f04a08b6545f20ff8ab794860aafb316fa4c8109e17443dc3ea", "local-api/v2/timeline/paths/context.yaml": "3e966aa7408aea6d13a5d633571b06b17eabaa089a87e8e3d11f3ea7447936ed", "local-api/v2/timeline/paths/event.yaml": "1565f7047357bc57fa72cbae928ddaf039dadc775870b49d824ae227fc9f5ba7", "local-api/v2/timeline/paths/history.yaml": "9f6c7f8e2c290b70df260fc043796afe50dd5aa5c459eac8fb295f35460dbdc5", "local-api/v2/timeline/paths/relations.yaml": "4abfeff6b71926afeb7aad5b523f32d93134c8820ef675d2e080e493a300de4d", "local-api/v2/timeline/schemas/change.schema.json": "19f009df03c9798e6b851791c8aa6bbc288b1434e75f4fda886b2f9e2c0d2d0a", "local-api/v2/timeline/schemas/changes.schema.json": "1349ff761c0eb019e2a87e1d98a53989455df19b87b502dbecb72450fc97d843", "local-api/v2/timeline/schemas/context.schema.json": "484ce800ed67419ae7c38fccae2d2a033f1388eff738617bf228cef9c4c34f33", "local-api/v2/timeline/schemas/effective.schema.json": "6df7a4be1cdc5223dddbc8eb278a6abb1b805c25f2448916cf56beb4cac57306", "local-api/v2/timeline/schemas/event.schema.json": "7987e6a1e1b5031fe8bd1e7277d6f5c745e4c355fde528c24b73d3c7a6bf43e5", "local-api/v2/timeline/schemas/page.schema.json": "6edc2195f383b234e5eb413e3bc4d855cdb8ecc6bb6943cfce05206e3ff2efdf", "local-api/v2/verification/paths/action.yaml": "38549f861547d2816ebcd4b6209bebddceeda9b5ce731403ff6c2fd0c0c1d53b", "local-api/v2/verification/paths/get.yaml": "a245f83099253a1bb9f05e79d0ee0a0d13cc39368800097961209647bc3debbf", "local-api/v2/verification/paths/list.yaml": "0e6d495776cf0b1f1001d7ca08c9edca9e13ab7709a0035a34d1ea9b37b10fd2", "local-api/v2/verification/schemas/action.schema.json": "9fad3ff5e5426ec3330ebf931ac6a2a987721ed8cb578a6b88d6063f29a04d3c", "local-api/v2/verification/schemas/page.schema.json": "0f9f722193bc8646dd867c935f355c37aec0184901225a18e0a5ba7efab69ed6", "local-api/v2/verification/schemas/request.schema.json": "3f08190c60c4ebf9678452fcfda21598d25b6469b70ea2c718f6cce9e9e0b35c", "local-api/v2/verification/schemas/status.schema.json": "af199823d7ccc4cc6b3bf62ce49e1b4e1b99fd1a6edcb5d901f0b4428a8a8130", "runtime-state/v1/authorization/schemas/device-authorization.schema.json": "b14c343a74b9709fad2f9850d9eb373df8d471ca8c2ee90a9c2aa90ab0246ccc", "runtime-state/v1/managed/schemas/connection.schema.json": "a4629c6e906c79dec4f420af14a706ef1d2574cdf37c4d44c14ae142ad5cc7be", "shared/v1/contacts/contact-action.schema.json": "c28f1ef5719982b7b727c225318054f9619b2c355e2c72109d1dbdcfcf1f25f0", "shared/v1/contacts/contact-page.schema.json": "9634721bf0de74a635960aab184dc5410dbd046789138326fd58905438a10d50", "shared/v1/contacts/contact.schema.json": "9dfdcd1735c6864570deff7d9ba7bbfc9618279783c4e8bc470c0d40a05de317", "shared/v1/contacts/contacts-query.schema.json": "bf1c4b884f6d6dd12ab284964cd8bed14b620c8a62a325bd67e8cc57ca5e7846", "shared/v1/discovery/discovery-query.schema.json": "ea7766c8b8c17e3e0fa25dc2732c208ebe4347111b3dfc3b045ae9f10d8b853a", "shared/v1/discovery/profile-page.schema.json": "b9f1bd2dc175ba33bb264472a153403bc315e58f586fc27bbdc138deefd1ed81", "shared/v1/operations/operation-result.schema.json": "8e715d026637e7b95f6ab14097746304e3305b0c36e492b2a118c6bdf3a34dda", "shared/v1/pairing/pairing-decision.schema.json": "ea70ccc3eaff664510accc44040a11a903e397bddcc8aaca97f484bd9815e9d4", "shared/v1/pairing/pairing-list.schema.json": "61c14013b986202744ef25f91d2759711ed9fd83e54d84edd9d8c61272a6b7ca", "shared/v1/pairing/pairing-request.schema.json": "bcf9e85c0adf7f0ab6f506cc300ee885657a6428c67fb43485fd876f13e2c727"},
7
+ "models": {"contacts": ["Contact", "ContactAction", "ContactActionRequest", "ContactPage", "ContactsQuery"], "conversations": ["Conversation", "ConversationCreationStatus", "ConversationDetails", "ConversationsPage", "ConversationsQuery", "CreateConversationRequest", "InvitationDecisionRequest", "InviteRequest", "JoinConversationRequest", "KickRequest", "LocalLeaveConversationRequest", "MembersPage", "MembersPageMembersItem", "OpenDirectRequest", "PowerRequest"], "deliveries": ["ClaimDeliveryRequest", "ClaimedDelivery", "DeliveryBoundary", "DeliveryBoundaryRequest", "DeliveryPage", "DeliveryResult", "LeaseRequest", "RenewLeaseRequest", "ReplyDeliveryRequest", "ReplyFileDeliveryRequest"], "devices": ["DeleteDevicesRequest", "DeviceAuthResult", "DeviceInfo", "DevicesPage", "RenameDeviceRequest"], "discovery": ["DiscoveryQuery"], "encryption": ["BackupStatus", "BootstrapSigningRequest", "ChatKeyBackup", "ChatKeyImportResult", "CrossSigningStatus", "EnableBackupRequest", "ExportChatKeysRequest", "ImportChatKeysRequest", "RecoverBackupRequest", "SigningAuthResult", "WaitBackupRequest"], "identity": ["AccountCredentialFile", "AccountCredentialState", "AccountLoginRequest", "AuthorizedDeviceLoginRequest", "ClientStatus", "CredentialRevocation", "CredentialRevokeRequest", "EnsureAccountCredentialRequest", "IdentityLoginError", "IdentityLoginErrorError", "IdentityLoginStatus", "IdentityStatus", "LoginRequest", "OperationResult", "PublicRegisterRequest", "PublicRegistrationError", "PublicRegistrationErrorError", "RegisterRequest", "ShutdownClientRequest", "ShutdownClientResponse"], "messages": ["InboxPage", "MessageMutationRequest", "MessageMutationResult", "ReadInboxQuery", "ReceivedMessage", "SendFileRequest", "SendTextRequest", "SentEvent", "ThreadMessageRequest"], "outbox": ["EnqueueFileRequest", "EnqueueTextRequest", "OutboxActionRequest", "OutboxItem", "OutboxPage", "OutboxQuery"], "pairing": ["PairingDecisionRequest", "PairingList", "PairingRequest"], "profiles": ["AgentProfile", "ProfilePage", "ProfileUpdate", "UpdateProfileRequest"], "reliability": ["HistoryRoomStatus", "ReliabilityStatus", "RescanRequest"], "timeline": ["EffectiveMessage", "ReadEventContextQuery", "ReadEventRelationsQuery", "ReadRoomHistoryQuery", "ReadTimelineChangesQuery", "TimelineChange", "TimelineChanges", "TimelineContext", "TimelineEvent", "TimelinePage"], "verification": ["StartVerificationRequest", "VerificationActionRequest", "VerificationStatus", "VerificationsPage"]},
8
+ "operations": {
9
+ "abandonOutboxItem": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "request_id", "required": true, "schema": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}], "path": "/v1/outbox/{request_id}/abandon", "request": {"additionalProperties": false, "properties": {}, "required": [], "title": "OutboxActionRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, "status": 200},
10
+ "acknowledgeDelivery": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}}], "path": "/v1/deliveries/{event_id}/ack", "request": {"additionalProperties": false, "properties": {"lease_token": {"maxLength": 256, "minLength": 1, "type": "string"}}, "required": ["lease_token"], "title": "LeaseRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "lease_expires_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "outbox": {"anyOf": [{"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, {"type": "null"}]}, "state": {"enum": ["pending", "leased", "processed"], "type": "string"}}, "required": ["event_id", "state", "lease_expires_at_ms", "outbox"], "title": "DeliveryResult", "type": "object"}, "status": 200},
11
+ "actOnVerification": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "user_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "flow_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/verification/{user_id}/{flow_id}/action", "request": {"additionalProperties": false, "properties": {"action": {"enum": ["accept", "start", "confirm", "mismatch", "cancel"], "type": "string"}, "expected_decimals": {"items": {"maximum": 65535, "minimum": 0, "type": "integer"}, "maxItems": 3, "minItems": 3, "type": "array"}}, "required": ["action"], "title": "VerificationActionRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"cancel_code": {"maxLength": 255, "type": ["string", "null"]}, "decimals": {"items": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "maxItems": 200, "type": "array"}, "device_id": {"maxLength": 255, "type": ["string", "null"]}, "emoji": {"items": {"maxLength": 255, "type": "string"}, "maxItems": 200, "type": "array"}, "flow_id": {"maxLength": 1024, "type": "string"}, "state": {"maxLength": 255, "type": "string"}, "user_id": {"maxLength": 255, "type": "string"}}, "required": ["user_id", "flow_id", "device_id", "state", "decimals", "emoji", "cancel_code"], "title": "VerificationStatus", "type": "object"}, "status": 200},
12
+ "bootstrapCrossSigning": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/encryption/cross-signing", "request": {"additionalProperties": false, "properties": {"auth_session": {"maxLength": 1024, "type": "string"}, "password": {"maxLength": 4096, "type": "string", "writeOnly": true}}, "required": [], "title": "BootstrapSigningRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"auth_session": {"maxLength": 1024, "type": ["string", "null"]}, "auth_stages": {"items": {"maxLength": 255, "type": "string"}, "maxItems": 200, "type": "array"}, "completed": {"type": "boolean"}}, "required": ["completed", "auth_session", "auth_stages"], "title": "SigningAuthResult", "type": "object"}, "status": 200},
13
+ "claimDeliveries": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/deliveries/claim", "request": {"additionalProperties": false, "properties": {"after": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "lease_seconds": {"default": 60, "maximum": 300, "minimum": 1, "type": "integer"}, "limit": {"default": 10, "maximum": 20, "minimum": 1, "type": "integer"}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "worker_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, "required": ["worker_id"], "title": "ClaimDeliveryRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"deliveries": {"items": {"additionalProperties": false, "properties": {"attempt": {"maximum": 18446744073709551615, "minimum": 1, "type": "integer"}, "lease_expires_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "lease_token": {"maxLength": 256, "minLength": 1, "type": "string"}, "message": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "cursor": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "decrypted": {"type": "boolean"}, "encrypted_attachment": {"type": "boolean"}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "filename": {"maxLength": 255, "type": ["string", "null"]}, "kind": {"maxLength": 64, "minLength": 1, "type": "string"}, "mention_user_ids": {"items": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}, "maxItems": 100, "type": "array", "uniqueItems": true}, "mime_type": {"maxLength": 127, "type": ["string", "null"]}, "mxc_uri": {"maxLength": 4096, "type": ["string", "null"]}, "reply_to_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "sender": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["cursor", "event_id", "room_id", "sender", "kind", "body", "filename", "mime_type", "mxc_uri", "encrypted_attachment", "decrypted"], "title": "ReceivedMessage", "type": "object"}}, "required": ["message", "lease_token", "lease_expires_at_ms", "attempt"], "title": "ClaimedDelivery", "type": "object"}, "maxItems": 20, "type": "array"}, "pending_count": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["deliveries", "pending_count"], "title": "DeliveryPage", "type": "object"}, "status": 200},
14
+ "createEncryptedConversation": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/conversations", "request": {"additionalProperties": false, "properties": {"direct": {"default": false, "type": "boolean"}, "invitees": {"items": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}, "maxItems": 100, "type": "array", "uniqueItems": true}, "name": {"maxLength": 255, "type": ["string", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._=-]+$", "type": "string"}}, "required": ["invitees"], "title": "CreateConversationRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"encrypted": {"type": "boolean"}, "joined": {"type": "boolean"}, "name": {"maxLength": 255, "type": ["string", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}, "required": ["room_id", "name", "encrypted", "joined"], "title": "Conversation", "type": "object"}, "status": 201},
15
+ "deleteDevices": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/devices/delete", "request": {"additionalProperties": false, "properties": {"allow_current": {"type": "boolean"}, "auth_session": {"maxLength": 1024, "type": "string"}, "device_ids": {"items": {"maxLength": 255, "minLength": 1, "type": "string"}, "maxItems": 100, "minItems": 1, "type": "array", "uniqueItems": true}, "password": {"maxLength": 4096, "type": "string", "writeOnly": true}}, "required": ["device_ids"], "title": "DeleteDevicesRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"auth_session": {"maxLength": 1024, "type": ["string", "null"]}, "auth_stages": {"items": {"maxLength": 255, "type": "string"}, "maxItems": 200, "type": "array"}, "completed": {"type": "boolean"}}, "required": ["completed", "auth_session", "auth_stages"], "title": "DeviceAuthResult", "type": "object"}, "status": 200},
16
+ "downloadDecryptedFile": {"binary": true, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"minLength": 1, "pattern": "^!", "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"minLength": 1, "pattern": "^\\$", "type": "string"}}], "path": "/v1/conversations/{room_id}/files/{event_id}", "request": null, "response": null, "status": 200},
17
+ "editMessage": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/messages/{room_id}/events/{event_id}/edit", "request": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": "string"}, "reason": {"maxLength": 512, "type": "string"}, "request_id": {"pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, "required": ["request_id"], "title": "MessageMutationRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 1024, "type": ["string", "null"]}, "request_id": {"maxLength": 128, "type": "string"}, "state": {"maxLength": 255, "type": "string"}}, "required": ["request_id", "state", "event_id"], "title": "MessageMutationResult", "type": "object"}, "status": 200},
18
+ "enableOnlineBackup": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/encryption/backup/enable", "request": {"additionalProperties": false, "properties": {"recovery_key_file": {"maxLength": 4096, "type": "string"}}, "required": ["recovery_key_file"], "title": "EnableBackupRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"backed_up_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "backup_state": {"maxLength": 255, "type": "string"}, "counts_observed_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "enabled": {"type": "boolean"}, "exists_on_server": {"type": "boolean"}, "pending_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "recovery_state": {"maxLength": 255, "type": "string"}, "total_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}}, "required": ["enabled", "exists_on_server", "backup_state", "recovery_state", "total_keys", "backed_up_keys", "pending_keys", "counts_observed_at_ms"], "title": "BackupStatus", "type": "object"}, "status": 200},
19
+ "enqueueFile": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/outbox/files", "request": {"additionalProperties": false, "properties": {"data_base64": {"contentEncoding": "base64", "maxLength": 8388608, "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$", "type": "string"}, "filename": {"maxLength": 255, "minLength": 1, "type": "string"}, "mime_type": {"maxLength": 127, "minLength": 1, "type": "string"}, "reply_to_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}, "required": ["request_id", "room_id", "filename", "mime_type", "data_base64"], "title": "EnqueueFileRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, "status": 202},
20
+ "enqueueText": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/outbox", "request": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "minLength": 1, "type": "string"}, "mention_user_ids": {"items": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}, "maxItems": 100, "type": "array", "uniqueItems": true}, "reply_to_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}, "required": ["request_id", "room_id", "body"], "title": "EnqueueTextRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, "status": 202},
21
+ "ensureAccountCredential": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/identity/credential", "request": {"additionalProperties": false, "properties": {}, "required": [], "title": "EnsureAccountCredentialRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"credential_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "saved_locally": {"type": "boolean"}, "user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}}, "required": ["credential_id", "user_id", "saved_locally"], "title": "AccountCredentialState", "type": "object"}, "status": 200},
22
+ "exportAccountCredential": {"binary": false, "method": "GET", "parameters": [], "path": "/v2/identity/credential", "request": null, "response": {"additionalProperties": false, "properties": {"credential_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "credential_secret": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string", "writeOnly": true}, "homeserver": {"format": "uri", "maxLength": 2048, "type": "string"}, "kind": {"const": "agentim-account-credential", "type": "string"}, "user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}, "version": {"const": 1, "type": "integer"}}, "required": ["version", "kind", "homeserver", "user_id", "credential_id", "credential_secret"], "title": "AccountCredentialFile", "type": "object"}, "status": 200},
23
+ "exportChatKeys": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/encryption/keys/export", "request": {"additionalProperties": false, "properties": {"recovery_secret": {"maxLength": 1024, "minLength": 32, "type": "string", "writeOnly": true}}, "required": ["recovery_secret"], "title": "ExportChatKeysRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"encrypted_keys": {"maxLength": 3145728, "minLength": 72, "type": "string"}, "homeserver": {"maxLength": 2048, "minLength": 8, "type": "string"}, "user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}}, "required": ["homeserver", "user_id", "encrypted_keys"], "title": "ChatKeyBackup", "type": "object"}, "status": 200},
24
+ "getBackupStatus": {"binary": false, "method": "GET", "parameters": [], "path": "/v2/encryption/backup", "request": null, "response": {"additionalProperties": false, "properties": {"backed_up_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "backup_state": {"maxLength": 255, "type": "string"}, "counts_observed_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "enabled": {"type": "boolean"}, "exists_on_server": {"type": "boolean"}, "pending_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "recovery_state": {"maxLength": 255, "type": "string"}, "total_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}}, "required": ["enabled", "exists_on_server", "backup_state", "recovery_state", "total_keys", "backed_up_keys", "pending_keys", "counts_observed_at_ms"], "title": "BackupStatus", "type": "object"}, "status": 200},
25
+ "getClientStatus": {"binary": false, "method": "GET", "parameters": [], "path": "/v1/status", "request": null, "response": {"additionalProperties": false, "properties": {"crypto_ready": {"type": "boolean"}, "device_id": {"maxLength": 255, "type": ["string", "null"]}, "homeserver": {"format": "uri", "maxLength": 2048, "minLength": 1, "type": "string"}, "rooms": {"items": {"additionalProperties": false, "properties": {"encrypted": {"type": "boolean"}, "joined": {"type": "boolean"}, "name": {"maxLength": 255, "type": ["string", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}, "required": ["room_id", "name", "encrypted", "joined"], "title": "Conversation", "type": "object"}, "type": "array"}, "sync_state": {"enum": ["not_authenticated", "starting", "syncing", "error", "stopped"], "type": "string"}, "user_id": {"maxLength": 255, "pattern": "^@", "type": ["string", "null"]}}, "required": ["user_id", "device_id", "homeserver", "sync_state", "crypto_ready", "rooms"], "title": "ClientStatus", "type": "object"}, "status": 200},
26
+ "getCrossSigning": {"binary": false, "method": "GET", "parameters": [], "path": "/v2/encryption/cross-signing", "request": null, "response": {"additionalProperties": false, "properties": {"has_master": {"type": "boolean"}, "has_self_signing": {"type": "boolean"}, "has_user_signing": {"type": "boolean"}, "user_id": {"maxLength": 255, "type": "string"}, "verified": {"type": "boolean"}}, "required": ["user_id", "has_master", "has_self_signing", "has_user_signing", "verified"], "title": "CrossSigningStatus", "type": "object"}, "status": 200},
27
+ "getDeliveryBoundary": {"binary": false, "method": "GET", "parameters": [], "path": "/v2/deliveries/boundary", "request": null, "response": {"additionalProperties": false, "properties": {"mode": {"enum": ["all_history", "from_boundary"], "type": "string"}, "new_device": {"type": "boolean"}, "not_before_ms": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}}, "required": ["not_before_ms", "mode", "new_device"], "title": "DeliveryBoundary", "type": "object"}, "status": 200},
28
+ "getIdentityLoginStatus": {"binary": false, "method": "GET", "parameters": [], "path": "/v2/identity/login", "request": null, "response": {"additionalProperties": false, "properties": {"attempt_id": {"maxLength": 43, "type": ["string", "null"]}, "device_created": {"enum": ["yes", "no", "unknown"], "type": "string"}, "device_id": {"maxLength": 255, "type": ["string", "null"]}, "safe_to_retry": {"type": "boolean"}, "server_state": {"enum": ["reserved", "issued", "completed", null], "type": ["string", "null"]}, "state": {"enum": ["no_attempt", "pending", "unknown", "session_saved", "completed"], "type": "string"}, "user_id": {"maxLength": 255, "type": ["string", "null"]}}, "required": ["attempt_id", "user_id", "device_id", "state", "safe_to_retry", "device_created", "server_state"], "title": "IdentityLoginStatus", "type": "object"}, "status": 200},
29
+ "getVerification": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "user_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "flow_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/verification/{user_id}/{flow_id}", "request": null, "response": {"additionalProperties": false, "properties": {"cancel_code": {"maxLength": 255, "type": ["string", "null"]}, "decimals": {"items": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "maxItems": 200, "type": "array"}, "device_id": {"maxLength": 255, "type": ["string", "null"]}, "emoji": {"items": {"maxLength": 255, "type": "string"}, "maxItems": 200, "type": "array"}, "flow_id": {"maxLength": 1024, "type": "string"}, "state": {"maxLength": 255, "type": "string"}, "user_id": {"maxLength": 255, "type": "string"}}, "required": ["user_id", "flow_id", "device_id", "state", "decimals", "emoji", "cancel_code"], "title": "VerificationStatus", "type": "object"}, "status": 200},
30
+ "importChatKeys": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/encryption/keys/import", "request": {"additionalProperties": false, "properties": {"encrypted_keys": {"maxLength": 3145728, "minLength": 72, "type": "string"}, "expected_user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}, "homeserver": {"maxLength": 2048, "minLength": 8, "type": "string"}, "recovery_secret": {"maxLength": 1024, "minLength": 1, "type": "string", "writeOnly": true}}, "required": ["homeserver", "expected_user_id", "encrypted_keys", "recovery_secret"], "title": "ImportChatKeysRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"imported_count": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "total_count": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["imported_count", "total_count"], "title": "ChatKeyImportResult", "type": "object"}, "status": 200},
31
+ "joinConversation": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/join", "request": {"additionalProperties": false, "properties": {}, "title": "JoinConversationRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"encrypted": {"type": "boolean"}, "joined": {"type": "boolean"}, "name": {"maxLength": 255, "type": ["string", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}, "required": ["room_id", "name", "encrypted", "joined"], "title": "Conversation", "type": "object"}, "status": 200},
32
+ "listOutbox": {"binary": false, "method": "GET", "parameters": [{"in": "query", "name": "after", "required": false, "schema": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 100, "maximum": 200, "minimum": 1, "type": "integer"}}], "path": "/v1/outbox", "request": null, "response": {"additionalProperties": false, "properties": {"items": {"items": {"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, "maxItems": 200, "type": "array"}, "next_cursor": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": ["string", "null"]}}, "required": ["items", "next_cursor"], "title": "OutboxPage", "type": "object"}, "status": 200},
33
+ "listOwnDevices": {"binary": false, "method": "GET", "parameters": [], "path": "/v2/devices", "request": null, "response": {"additionalProperties": false, "properties": {"devices": {"items": {"additionalProperties": false, "properties": {"cross_signed": {"type": "boolean"}, "current": {"type": "boolean"}, "curve25519": {"maxLength": 1024, "type": ["string", "null"]}, "device_id": {"maxLength": 1024, "type": "string"}, "display_name": {"maxLength": 1024, "type": ["string", "null"]}, "ed25519": {"maxLength": 1024, "type": ["string", "null"]}, "last_seen_ip": {"maxLength": 1024, "type": ["string", "null"]}, "last_seen_ts": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "user_id": {"maxLength": 1024, "type": "string"}, "verified": {"type": "boolean"}}, "required": ["user_id", "device_id", "display_name", "last_seen_ip", "last_seen_ts", "current", "verified", "cross_signed", "ed25519", "curve25519"], "title": "DeviceInfo", "type": "object"}, "maxItems": 200, "type": "array"}}, "required": ["devices"], "title": "DevicesPage", "type": "object"}, "status": 200},
34
+ "listUserDeviceTrust": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "user_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/devices/users/{user_id}", "request": null, "response": {"additionalProperties": false, "properties": {"devices": {"items": {"additionalProperties": false, "properties": {"cross_signed": {"type": "boolean"}, "current": {"type": "boolean"}, "curve25519": {"maxLength": 1024, "type": ["string", "null"]}, "device_id": {"maxLength": 1024, "type": "string"}, "display_name": {"maxLength": 1024, "type": ["string", "null"]}, "ed25519": {"maxLength": 1024, "type": ["string", "null"]}, "last_seen_ip": {"maxLength": 1024, "type": ["string", "null"]}, "last_seen_ts": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "user_id": {"maxLength": 1024, "type": "string"}, "verified": {"type": "boolean"}}, "required": ["user_id", "device_id", "display_name", "last_seen_ip", "last_seen_ts", "current", "verified", "cross_signed", "ed25519", "curve25519"], "title": "DeviceInfo", "type": "object"}, "maxItems": 200, "type": "array"}}, "required": ["devices"], "title": "DevicesPage", "type": "object"}, "status": 200},
35
+ "listVerifications": {"binary": false, "method": "GET", "parameters": [], "path": "/v2/verification", "request": null, "response": {"additionalProperties": false, "properties": {"verifications": {"items": {"additionalProperties": false, "properties": {"cancel_code": {"maxLength": 255, "type": ["string", "null"]}, "decimals": {"items": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "maxItems": 200, "type": "array"}, "device_id": {"maxLength": 255, "type": ["string", "null"]}, "emoji": {"items": {"maxLength": 255, "type": "string"}, "maxItems": 200, "type": "array"}, "flow_id": {"maxLength": 1024, "type": "string"}, "state": {"maxLength": 255, "type": "string"}, "user_id": {"maxLength": 255, "type": "string"}}, "required": ["user_id", "flow_id", "device_id", "state", "decimals", "emoji", "cancel_code"], "title": "VerificationStatus", "type": "object"}, "maxItems": 200, "type": "array"}}, "required": ["verifications"], "title": "VerificationsPage", "type": "object"}, "status": 200},
36
+ "localContactAction": {"binary": false, "method": "PUT", "parameters": [{"in": "path", "name": "user_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}], "path": "/v1/contacts/{user_id}", "request": {"additionalProperties": false, "properties": {"action": {"enum": ["request", "accept", "reject", "remove", "block", "unblock"], "type": "string"}}, "required": ["action"], "title": "ContactActionRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"blocked": {"type": "boolean"}, "state": {"enum": ["none", "outgoing", "incoming", "accepted", "rejected"], "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "state", "blocked"], "title": "Contact", "type": "object"}, "status": 200},
37
+ "localConversationCreationStatus": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "request_id", "required": true, "schema": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._=-]+$", "type": "string"}}], "path": "/v1/conversations/creations/{request_id}", "request": null, "response": {"additionalProperties": false, "properties": {"request_id": {"maxLength": 128, "minLength": 1, "type": "string"}, "room_id": {"maxLength": 255, "pattern": "^!", "type": ["string", "null"]}, "state": {"enum": ["uncertain", "created"], "type": "string"}}, "required": ["request_id", "state", "room_id"], "title": "ConversationCreationStatus", "type": "object"}, "status": 200},
38
+ "localDecideInvitation": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/invitation", "request": {"additionalProperties": false, "properties": {"action": {"enum": ["accept", "reject"], "type": "string"}}, "required": ["action"], "title": "InvitationDecisionRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"ok": {"const": true, "type": "boolean"}}, "required": ["ok"], "title": "OperationResult", "type": "object"}, "status": 200},
39
+ "localDecidePairing": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "pairing_id", "required": true, "schema": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}}], "path": "/v1/pairing/{pairing_id}/decision", "request": {"additionalProperties": false, "properties": {"code_challenge": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "decision": {"enum": ["approve", "reject"], "type": "string"}, "user_code": {"maxLength": 9, "minLength": 9, "pattern": "^[2-9A-HJ-NP-Z]{4}-[2-9A-HJ-NP-Z]{4}$", "type": "string"}}, "required": ["decision", "user_code", "code_challenge"], "title": "PairingDecisionRequest", "type": "object", "x-max-body-bytes": 1024}, "response": {"additionalProperties": false, "properties": {"client_origin": {"maxLength": 255, "minLength": 1, "pattern": "^(https?://[^/?#@\\s]+|vector://vector|android-app://im\\.agentim\\.android)$", "type": "string"}, "code_challenge": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "created_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "device_name": {"maxLength": 80, "minLength": 1, "pattern": "^[^\\u0000-\\u001f\\u007f]+$", "type": "string"}, "expires_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "pairing_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "poll_interval_ms": {"const": 2000, "type": "integer"}, "server_time_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "state": {"enum": ["pending", "approved", "rejected", "cancelled", "consuming", "consumed", "expired", "failed"], "type": "string"}, "target_user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@[^:\\s]+:[^\\s]+$", "type": "string"}, "user_code": {"maxLength": 9, "minLength": 9, "pattern": "^[2-9A-HJ-NP-Z]{4}-[2-9A-HJ-NP-Z]{4}$", "type": "string"}}, "required": ["pairing_id", "target_user_id", "user_code", "code_challenge", "device_name", "client_origin", "state", "created_at_ms", "expires_at_ms", "server_time_ms", "poll_interval_ms"], "title": "PairingRequest", "type": "object"}, "status": 200},
40
+ "localDirectConversation": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/conversations/direct", "request": {"additionalProperties": false, "properties": {"request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._=-]+$", "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id"], "title": "OpenDirectRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"encrypted": {"type": "boolean"}, "joined": {"type": "boolean"}, "name": {"maxLength": 255, "type": ["string", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}, "required": ["room_id", "name", "encrypted", "joined"], "title": "Conversation", "type": "object"}, "status": 200},
41
+ "localDiscoverAgents": {"binary": false, "method": "GET", "parameters": [{"in": "query", "name": "query", "required": false, "schema": {"maxLength": 255, "type": "string"}}, {"in": "query", "name": "capability", "required": false, "schema": {"maxLength": 64, "minLength": 1, "type": "string"}}, {"in": "query", "name": "after", "required": false, "schema": {"maxLength": 255, "minLength": 1, "type": "string"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 50, "maximum": 200, "minimum": 1, "type": "integer"}}], "path": "/v1/discovery", "request": null, "response": {"additionalProperties": false, "properties": {"next_cursor": {"maxLength": 255, "minLength": 1, "type": ["string", "null"]}, "profiles": {"items": {"additionalProperties": false, "properties": {"capabilities": {"items": {"maxLength": 64, "minLength": 1, "type": "string"}, "maxItems": 32, "type": "array", "uniqueItems": true}, "contact_policy": {"enum": ["request", "closed"], "type": "string"}, "description": {"maxLength": 2000, "type": "string"}, "discoverable": {"type": "boolean"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "description", "capabilities", "discoverable", "contact_policy"], "title": "AgentProfile", "type": "object"}, "maxItems": 200, "type": "array"}}, "required": ["profiles", "next_cursor"], "title": "ProfilePage", "type": "object"}, "status": 200},
42
+ "localGetConversation": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}", "request": null, "response": {"additionalProperties": false, "properties": {"encrypted": {"type": "boolean"}, "inviter": {"maxLength": 255, "pattern": "^@", "type": ["string", "null"]}, "membership": {"enum": ["join", "invite", "leave", "knock", "ban"], "type": "string"}, "name": {"maxLength": 255, "type": ["string", "null"]}, "room_id": {"maxLength": 255, "pattern": "^!", "type": "string"}}, "required": ["room_id", "name", "encrypted", "membership", "inviter"], "title": "ConversationDetails", "type": "object"}, "status": 200},
43
+ "localGetOwnProfile": {"binary": false, "method": "GET", "parameters": [], "path": "/v1/profiles/me", "request": null, "response": {"additionalProperties": false, "properties": {"capabilities": {"items": {"maxLength": 64, "minLength": 1, "type": "string"}, "maxItems": 32, "type": "array", "uniqueItems": true}, "contact_policy": {"enum": ["request", "closed"], "type": "string"}, "description": {"maxLength": 2000, "type": "string"}, "discoverable": {"type": "boolean"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "description", "capabilities", "discoverable", "contact_policy"], "title": "AgentProfile", "type": "object"}, "status": 200},
44
+ "localGetPairing": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "pairing_id", "required": true, "schema": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}}], "path": "/v1/pairing/{pairing_id}", "request": null, "response": {"additionalProperties": false, "properties": {"client_origin": {"maxLength": 255, "minLength": 1, "pattern": "^(https?://[^/?#@\\s]+|vector://vector|android-app://im\\.agentim\\.android)$", "type": "string"}, "code_challenge": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "created_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "device_name": {"maxLength": 80, "minLength": 1, "pattern": "^[^\\u0000-\\u001f\\u007f]+$", "type": "string"}, "expires_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "pairing_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "poll_interval_ms": {"const": 2000, "type": "integer"}, "server_time_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "state": {"enum": ["pending", "approved", "rejected", "cancelled", "consuming", "consumed", "expired", "failed"], "type": "string"}, "target_user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@[^:\\s]+:[^\\s]+$", "type": "string"}, "user_code": {"maxLength": 9, "minLength": 9, "pattern": "^[2-9A-HJ-NP-Z]{4}-[2-9A-HJ-NP-Z]{4}$", "type": "string"}}, "required": ["pairing_id", "target_user_id", "user_code", "code_challenge", "device_name", "client_origin", "state", "created_at_ms", "expires_at_ms", "server_time_ms", "poll_interval_ms"], "title": "PairingRequest", "type": "object"}, "status": 200},
45
+ "localGetProfile": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "user_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}], "path": "/v1/profiles/{user_id}", "request": null, "response": {"additionalProperties": false, "properties": {"capabilities": {"items": {"maxLength": 64, "minLength": 1, "type": "string"}, "maxItems": 32, "type": "array", "uniqueItems": true}, "contact_policy": {"enum": ["request", "closed"], "type": "string"}, "description": {"maxLength": 2000, "type": "string"}, "discoverable": {"type": "boolean"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "description", "capabilities", "discoverable", "contact_policy"], "title": "AgentProfile", "type": "object"}, "status": 200},
46
+ "localInviteConversation": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/invite", "request": {"additionalProperties": false, "properties": {"user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id"], "title": "InviteRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"ok": {"const": true, "type": "boolean"}}, "required": ["ok"], "title": "OperationResult", "type": "object"}, "status": 200},
47
+ "localKickConversation": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/kick", "request": {"additionalProperties": false, "properties": {"reason": {"maxLength": 512, "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id"], "title": "KickRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"ok": {"const": true, "type": "boolean"}}, "required": ["ok"], "title": "OperationResult", "type": "object"}, "status": 200},
48
+ "localLeaveConversation": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/leave", "request": {"additionalProperties": false, "properties": {}, "required": [], "title": "LocalLeaveConversationRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"ok": {"const": true, "type": "boolean"}}, "required": ["ok"], "title": "OperationResult", "type": "object"}, "status": 200},
49
+ "localListContacts": {"binary": false, "method": "GET", "parameters": [{"in": "query", "name": "after", "required": false, "schema": {"maxLength": 255, "minLength": 1, "type": "string"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 50, "maximum": 200, "minimum": 1, "type": "integer"}}], "path": "/v1/contacts", "request": null, "response": {"additionalProperties": false, "properties": {"contacts": {"items": {"additionalProperties": false, "properties": {"blocked": {"type": "boolean"}, "state": {"enum": ["none", "outgoing", "incoming", "accepted", "rejected"], "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "state", "blocked"], "title": "Contact", "type": "object"}, "maxItems": 200, "type": "array"}, "next_cursor": {"maxLength": 255, "minLength": 1, "type": ["string", "null"]}}, "required": ["contacts", "next_cursor"], "title": "ContactPage", "type": "object"}, "status": 200},
50
+ "localListConversations": {"binary": false, "method": "GET", "parameters": [{"in": "query", "name": "membership", "required": false, "schema": {"enum": ["join", "invite", "leave", "knock", "ban"], "type": "string"}}, {"in": "query", "name": "after", "required": false, "schema": {"maxLength": 255, "pattern": "^!", "type": "string"}}, {"in": "query", "name": "limit", "required": false, "schema": {"maximum": 200, "minimum": 1, "type": "integer"}}], "path": "/v1/conversations", "request": null, "response": {"additionalProperties": false, "properties": {"next_cursor": {"maxLength": 255, "type": ["string", "null"]}, "rooms": {"items": {"additionalProperties": false, "properties": {"encrypted": {"type": "boolean"}, "inviter": {"maxLength": 255, "pattern": "^@", "type": ["string", "null"]}, "membership": {"enum": ["join", "invite", "leave", "knock", "ban"], "type": "string"}, "name": {"maxLength": 255, "type": ["string", "null"]}, "room_id": {"maxLength": 255, "pattern": "^!", "type": "string"}}, "required": ["room_id", "name", "encrypted", "membership", "inviter"], "title": "ConversationDetails", "type": "object"}, "type": "array"}}, "required": ["rooms", "next_cursor"], "title": "ConversationsPage", "type": "object"}, "status": 200},
51
+ "localListPairings": {"binary": false, "method": "GET", "parameters": [], "path": "/v1/pairing", "request": null, "response": {"additionalProperties": false, "properties": {"requests": {"items": {"additionalProperties": false, "properties": {"client_origin": {"maxLength": 255, "minLength": 1, "pattern": "^(https?://[^/?#@\\s]+|vector://vector|android-app://im\\.agentim\\.android)$", "type": "string"}, "code_challenge": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "created_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "device_name": {"maxLength": 80, "minLength": 1, "pattern": "^[^\\u0000-\\u001f\\u007f]+$", "type": "string"}, "expires_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "pairing_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "poll_interval_ms": {"const": 2000, "type": "integer"}, "server_time_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "state": {"enum": ["pending", "approved", "rejected", "cancelled", "consuming", "consumed", "expired", "failed"], "type": "string"}, "target_user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@[^:\\s]+:[^\\s]+$", "type": "string"}, "user_code": {"maxLength": 9, "minLength": 9, "pattern": "^[2-9A-HJ-NP-Z]{4}-[2-9A-HJ-NP-Z]{4}$", "type": "string"}}, "required": ["pairing_id", "target_user_id", "user_code", "code_challenge", "device_name", "client_origin", "state", "created_at_ms", "expires_at_ms", "server_time_ms", "poll_interval_ms"], "title": "PairingRequest", "type": "object"}, "maxItems": 20, "type": "array"}}, "required": ["requests"], "title": "PairingList", "type": "object"}, "status": 200},
52
+ "localMembersConversation": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/members", "request": null, "response": {"additionalProperties": false, "properties": {"members": {"items": {"additionalProperties": false, "properties": {"display_name": {"type": ["string", "null"]}, "membership": {"enum": ["join", "invite"], "type": "string"}, "power_level": {"type": ["integer", "null"]}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "membership", "power_level", "display_name"], "type": "object"}, "type": "array"}}, "required": ["members"], "title": "MembersPage", "type": "object"}, "status": 200},
53
+ "localPowerConversation": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/power", "request": {"additionalProperties": false, "properties": {"power_level": {"maximum": 100, "minimum": 0, "type": "integer"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "power_level"], "title": "PowerRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"ok": {"const": true, "type": "boolean"}}, "required": ["ok"], "title": "OperationResult", "type": "object"}, "status": 200},
54
+ "localUpdateOwnProfile": {"binary": false, "method": "PUT", "parameters": [], "path": "/v1/profiles/me", "request": {"additionalProperties": false, "properties": {"capabilities": {"items": {"maxLength": 64, "minLength": 1, "type": "string"}, "maxItems": 32, "type": "array", "uniqueItems": true}, "contact_policy": {"enum": ["request", "closed"], "type": "string"}, "description": {"maxLength": 2000, "type": "string"}, "discoverable": {"type": "boolean"}}, "required": ["description", "capabilities", "discoverable", "contact_policy"], "title": "UpdateProfileRequest", "type": "object", "x-max-body-bytes": 32768}, "response": {"additionalProperties": false, "properties": {"capabilities": {"items": {"maxLength": 64, "minLength": 1, "type": "string"}, "maxItems": 32, "type": "array", "uniqueItems": true}, "contact_policy": {"enum": ["request", "closed"], "type": "string"}, "description": {"maxLength": 2000, "type": "string"}, "discoverable": {"type": "boolean"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}}, "required": ["user_id", "description", "capabilities", "discoverable", "contact_policy"], "title": "AgentProfile", "type": "object"}, "status": 200},
55
+ "loginAuthorizedDevice": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/identity/login-token", "request": {"additionalProperties": false, "properties": {"expected_user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}, "login_token": {"maxLength": 4096, "minLength": 1, "type": "string", "writeOnly": true}}, "required": ["login_token", "expected_user_id"], "title": "AuthorizedDeviceLoginRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"device_id": {"maxLength": 255, "minLength": 1, "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["user_id", "device_id"], "title": "IdentityStatus", "type": "object"}, "status": 200},
56
+ "loginWithToken": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/identity/login", "request": {"additionalProperties": false, "properties": {"login_token": {"maxLength": 4096, "minLength": 1, "type": "string", "writeOnly": true}}, "required": ["login_token"], "title": "LoginRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"device_id": {"maxLength": 255, "minLength": 1, "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["user_id", "device_id"], "title": "IdentityStatus", "type": "object"}, "status": 200},
57
+ "readConversationEvent": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"minLength": 1, "pattern": "^!", "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"minLength": 1, "pattern": "^\\$", "type": "string"}}], "path": "/v1/conversations/{room_id}/events/{event_id}", "request": null, "response": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "cursor": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "decrypted": {"type": "boolean"}, "encrypted_attachment": {"type": "boolean"}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "filename": {"maxLength": 255, "type": ["string", "null"]}, "kind": {"maxLength": 64, "minLength": 1, "type": "string"}, "mention_user_ids": {"items": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}, "maxItems": 100, "type": "array", "uniqueItems": true}, "mime_type": {"maxLength": 127, "type": ["string", "null"]}, "mxc_uri": {"maxLength": 4096, "type": ["string", "null"]}, "reply_to_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "sender": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["cursor", "event_id", "room_id", "sender", "kind", "body", "filename", "mime_type", "mxc_uri", "encrypted_attachment", "decrypted"], "title": "ReceivedMessage", "type": "object"}, "status": 200},
58
+ "readEventContext": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "query", "name": "limit", "required": false, "schema": {"maximum": 100, "minimum": 0, "type": "integer"}}], "path": "/v2/timeline/{room_id}/events/{event_id}/context", "request": null, "response": {"additionalProperties": false, "properties": {"after": {"items": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}, "maxItems": 200, "type": "array"}, "before": {"items": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}, "maxItems": 200, "type": "array"}, "event": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}, "next_cursor": {"maxLength": 4096, "type": ["string", "null"]}, "previous_cursor": {"maxLength": 4096, "type": ["string", "null"]}}, "required": ["event", "before", "after", "next_cursor", "previous_cursor"], "title": "TimelineContext", "type": "object"}, "status": 200},
59
+ "readEventRelations": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "query", "name": "cursor", "required": false, "schema": {"maxLength": 4096, "type": "string"}}, {"in": "query", "name": "direction", "required": false, "schema": {"enum": ["backward", "forward"], "type": "string"}}, {"in": "query", "name": "limit", "required": false, "schema": {"maximum": 100, "minimum": 1, "type": "integer"}}], "path": "/v2/timeline/{room_id}/events/{event_id}/relations", "request": null, "response": {"additionalProperties": false, "properties": {"events": {"items": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}, "maxItems": 200, "type": "array"}, "next_cursor": {"maxLength": 4096, "type": ["string", "null"]}, "previous_cursor": {"maxLength": 4096, "type": ["string", "null"]}}, "required": ["events", "next_cursor", "previous_cursor"], "title": "TimelinePage", "type": "object"}, "status": 200},
60
+ "readInbox": {"binary": false, "method": "GET", "parameters": [{"in": "query", "name": "after", "required": false, "schema": {"default": 0, "maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 100, "maximum": 200, "minimum": 1, "type": "integer"}}], "path": "/v1/messages", "request": null, "response": {"additionalProperties": false, "properties": {"events": {"items": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "cursor": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "decrypted": {"type": "boolean"}, "encrypted_attachment": {"type": "boolean"}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "filename": {"maxLength": 255, "type": ["string", "null"]}, "kind": {"maxLength": 64, "minLength": 1, "type": "string"}, "mention_user_ids": {"items": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}, "maxItems": 100, "type": "array", "uniqueItems": true}, "mime_type": {"maxLength": 127, "type": ["string", "null"]}, "mxc_uri": {"maxLength": 4096, "type": ["string", "null"]}, "reply_to_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "sender": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["cursor", "event_id", "room_id", "sender", "kind", "body", "filename", "mime_type", "mxc_uri", "encrypted_attachment", "decrypted"], "title": "ReceivedMessage", "type": "object"}, "type": "array"}, "next_cursor": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["events", "next_cursor"], "title": "InboxPage", "type": "object"}, "status": 200},
61
+ "readOutboxItem": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "request_id", "required": true, "schema": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}], "path": "/v1/outbox/{request_id}", "request": null, "response": {"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, "status": 200},
62
+ "readReliability": {"binary": false, "method": "GET", "parameters": [], "path": "/v1/reliability", "request": null, "response": {"additionalProperties": false, "properties": {"backpressure": {"type": "boolean"}, "binding_valid": {"type": "boolean"}, "history_running": {"type": "boolean"}, "ignore_open_intervals": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "ignore_pending_projections": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "inbox_bytes": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "inbox_pending": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "outbox_pending": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "outbox_uncertain": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "pending_decryption": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "protocol_syncs": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "rooms": {"items": {"additionalProperties": false, "properties": {"last_error": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "limited": {"type": "boolean"}, "pages": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "pending": {"type": "boolean"}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["pending", "caught_up", "backpressure", "blocked", "error", "no_progress"], "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["room_id", "state", "pending", "limited", "pages", "last_error", "updated_at_ms"], "title": "HistoryRoomStatus", "type": "object"}, "type": "array"}, "sync_running": {"type": "boolean"}}, "required": ["protocol_syncs", "sync_running", "history_running", "inbox_pending", "inbox_bytes", "pending_decryption", "backpressure", "rooms", "outbox_pending", "outbox_uncertain", "binding_valid", "ignore_open_intervals", "ignore_pending_projections"], "title": "ReliabilityStatus", "type": "object"}, "status": 200},
63
+ "readRoomHistory": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "query", "name": "cursor", "required": false, "schema": {"maxLength": 4096, "type": "string"}}, {"in": "query", "name": "direction", "required": false, "schema": {"enum": ["backward", "forward"], "type": "string"}}, {"in": "query", "name": "limit", "required": false, "schema": {"maximum": 100, "minimum": 1, "type": "integer"}}, {"in": "query", "name": "timestamp", "required": false, "schema": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "since_ms", "required": false, "schema": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "until_ms", "required": false, "schema": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}}], "path": "/v2/timeline/{room_id}/history", "request": null, "response": {"additionalProperties": false, "properties": {"events": {"items": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}, "maxItems": 200, "type": "array"}, "next_cursor": {"maxLength": 4096, "type": ["string", "null"]}, "previous_cursor": {"maxLength": 4096, "type": ["string", "null"]}}, "required": ["events", "next_cursor", "previous_cursor"], "title": "TimelinePage", "type": "object"}, "status": 200},
64
+ "readTimelineChanges": {"binary": false, "method": "GET", "parameters": [{"in": "query", "name": "after", "required": false, "schema": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "limit", "required": false, "schema": {"maximum": 200, "minimum": 1, "type": "integer"}}], "path": "/v2/timeline/changes", "request": null, "response": {"additionalProperties": false, "properties": {"changes": {"items": {"additionalProperties": false, "properties": {"cursor": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "event": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}}, "required": ["cursor", "event"], "title": "TimelineChange", "type": "object"}, "maxItems": 200, "type": "array"}, "next_cursor": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}}, "required": ["changes", "next_cursor"], "title": "TimelineChanges", "type": "object"}, "status": 200},
65
+ "readTimelineEvent": {"binary": false, "method": "GET", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/timeline/{room_id}/events/{event_id}", "request": null, "response": {"additionalProperties": false, "properties": {"complete": {"type": "boolean"}, "edit_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "effective": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}, "original": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": ["string", "null"]}, "decrypted": {"type": "boolean"}, "event_id": {"maxLength": 1024, "type": "string"}, "event_type": {"maxLength": 1024, "type": "string"}, "kind": {"maxLength": 1024, "type": "string"}, "origin_server_ts": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "redacted": {"type": "boolean"}, "reply_to_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "room_id": {"maxLength": 1024, "type": "string"}, "sender": {"maxLength": 1024, "type": "string"}, "target_event_id": {"maxLength": 1024, "type": ["string", "null"]}, "thread_root_event_id": {"maxLength": 1024, "type": ["string", "null"]}}, "required": ["event_id", "room_id", "sender", "origin_server_ts", "event_type", "kind", "body", "target_event_id", "reply_to_event_id", "thread_root_event_id", "decrypted", "redacted"], "title": "TimelineEvent", "type": "object"}}, "required": ["original", "effective", "edit_event_id", "complete"], "title": "EffectiveMessage", "type": "object"}, "status": 200},
66
+ "recoverAccountIdentity": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/identity/login", "request": {"additionalProperties": false, "properties": {"credential_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "credential_secret": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string", "writeOnly": true}, "expected_user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}, "verify_credential": {"type": "boolean"}}, "required": ["credential_id", "credential_secret", "expected_user_id"], "title": "AccountLoginRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"device_id": {"maxLength": 255, "minLength": 1, "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["user_id", "device_id"], "title": "IdentityStatus", "type": "object"}, "status": 200},
67
+ "recoverOnlineBackup": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/encryption/backup/recover", "request": {"additionalProperties": false, "properties": {"recovery_key": {"maxLength": 1024, "type": "string", "writeOnly": true}, "room_id": {"maxLength": 255, "type": "string"}}, "required": ["recovery_key"], "title": "RecoverBackupRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"backed_up_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "backup_state": {"maxLength": 255, "type": "string"}, "counts_observed_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "enabled": {"type": "boolean"}, "exists_on_server": {"type": "boolean"}, "pending_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "recovery_state": {"maxLength": 255, "type": "string"}, "total_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}}, "required": ["enabled", "exists_on_server", "backup_state", "recovery_state", "total_keys", "backed_up_keys", "pending_keys", "counts_observed_at_ms"], "title": "BackupStatus", "type": "object"}, "status": 200},
68
+ "redactMessage": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/messages/{room_id}/events/{event_id}/redact", "request": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": "string"}, "reason": {"maxLength": 512, "type": "string"}, "request_id": {"pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, "required": ["request_id"], "title": "MessageMutationRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 1024, "type": ["string", "null"]}, "request_id": {"maxLength": 128, "type": "string"}, "state": {"maxLength": 255, "type": "string"}}, "required": ["request_id", "state", "event_id"], "title": "MessageMutationResult", "type": "object"}, "status": 200},
69
+ "registerAgentIdentity": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/identity/register", "request": {"additionalProperties": false, "properties": {"display_name": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "enrollment_token": {"maxLength": 1024, "minLength": 32, "type": "string", "writeOnly": true}, "localpart": {"maxLength": 64, "minLength": 3, "pattern": "^[a-z][a-z0-9._=-]{2,63}$", "type": "string"}}, "required": ["localpart", "enrollment_token"], "title": "RegisterRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"device_id": {"maxLength": 255, "minLength": 1, "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["user_id", "device_id"], "title": "IdentityStatus", "type": "object"}, "status": 201},
70
+ "registerPublicAgentIdentity": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/identity/register", "request": {"additionalProperties": false, "properties": {"display_name": {"maxLength": 128, "minLength": 1, "pattern": "^[^\\u0000-\\u001f\\u007f]+$", "type": "string"}, "localpart": {"maxLength": 64, "minLength": 3, "pattern": "^[a-z][a-z0-9._=-]{2,63}$", "type": "string"}}, "required": ["localpart"], "title": "PublicRegisterRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"device_id": {"maxLength": 255, "minLength": 1, "type": "string"}, "user_id": {"maxLength": 255, "minLength": 1, "pattern": "^@", "type": "string"}}, "required": ["user_id", "device_id"], "title": "IdentityStatus", "type": "object"}, "status": 201},
71
+ "releaseDelivery": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}}], "path": "/v1/deliveries/{event_id}/release", "request": {"additionalProperties": false, "properties": {"lease_token": {"maxLength": 256, "minLength": 1, "type": "string"}}, "required": ["lease_token"], "title": "LeaseRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "lease_expires_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "outbox": {"anyOf": [{"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, {"type": "null"}]}, "state": {"enum": ["pending", "leased", "processed"], "type": "string"}}, "required": ["event_id", "state", "lease_expires_at_ms", "outbox"], "title": "DeliveryResult", "type": "object"}, "status": 200},
72
+ "renameDevice": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "device_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/devices/{device_id}/name", "request": {"additionalProperties": false, "properties": {"display_name": {"maxLength": 255, "type": "string"}}, "required": ["display_name"], "title": "RenameDeviceRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"auth_session": {"maxLength": 1024, "type": ["string", "null"]}, "auth_stages": {"items": {"maxLength": 255, "type": "string"}, "maxItems": 200, "type": "array"}, "completed": {"type": "boolean"}}, "required": ["completed", "auth_session", "auth_stages"], "title": "DeviceAuthResult", "type": "object"}, "status": 200},
73
+ "renewDelivery": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}}], "path": "/v1/deliveries/{event_id}/renew", "request": {"additionalProperties": false, "properties": {"lease_seconds": {"maximum": 300, "minimum": 1, "type": "integer"}, "lease_token": {"maxLength": 256, "minLength": 1, "type": "string"}}, "required": ["lease_token", "lease_seconds"], "title": "RenewLeaseRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "lease_expires_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "outbox": {"anyOf": [{"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, {"type": "null"}]}, "state": {"enum": ["pending", "leased", "processed"], "type": "string"}}, "required": ["event_id", "state", "lease_expires_at_ms", "outbox"], "title": "DeliveryResult", "type": "object"}, "status": 200},
74
+ "replaceAccountCredential": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/identity/credential/replace", "request": {"additionalProperties": false, "properties": {"credential_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "credential_secret": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string", "writeOnly": true}, "expected_user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}, "verify_credential": {"type": "boolean"}}, "required": ["credential_id", "credential_secret", "expected_user_id"], "title": "AccountLoginRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"credential_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "saved_locally": {"type": "boolean"}, "user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}}, "required": ["credential_id", "user_id", "saved_locally"], "title": "AccountCredentialState", "type": "object"}, "status": 200},
75
+ "replyFileToDelivery": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}}], "path": "/v1/deliveries/{event_id}/reply-file", "request": {"additionalProperties": false, "properties": {"data_base64": {"contentEncoding": "base64", "maxLength": 8388608, "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$", "type": "string"}, "filename": {"maxLength": 255, "minLength": 1, "type": "string"}, "lease_token": {"maxLength": 256, "minLength": 1, "type": "string"}, "mime_type": {"maxLength": 127, "minLength": 1, "type": "string"}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, "required": ["lease_token", "request_id", "filename", "mime_type", "data_base64"], "title": "ReplyFileDeliveryRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "lease_expires_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "outbox": {"anyOf": [{"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, {"type": "null"}]}, "state": {"enum": ["pending", "leased", "processed"], "type": "string"}}, "required": ["event_id", "state", "lease_expires_at_ms", "outbox"], "title": "DeliveryResult", "type": "object"}, "status": 200},
76
+ "replyToDelivery": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}}], "path": "/v1/deliveries/{event_id}/reply", "request": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "minLength": 1, "type": "string"}, "lease_token": {"maxLength": 256, "minLength": 1, "type": "string"}, "mention_user_ids": {"items": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}, "maxItems": 100, "type": "array", "uniqueItems": true}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, "required": ["lease_token", "request_id", "body"], "title": "ReplyDeliveryRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "lease_expires_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "outbox": {"anyOf": [{"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, {"type": "null"}]}, "state": {"enum": ["pending", "leased", "processed"], "type": "string"}}, "required": ["event_id", "state", "lease_expires_at_ms", "outbox"], "title": "DeliveryResult", "type": "object"}, "status": 200},
77
+ "requestVerification": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/verification", "request": {"additionalProperties": false, "properties": {"device_id": {"maxLength": 255, "type": "string"}, "user_id": {"maxLength": 255, "type": "string"}}, "required": ["user_id", "device_id"], "title": "StartVerificationRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"cancel_code": {"maxLength": 255, "type": ["string", "null"]}, "decimals": {"items": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "maxItems": 200, "type": "array"}, "device_id": {"maxLength": 255, "type": ["string", "null"]}, "emoji": {"items": {"maxLength": 255, "type": "string"}, "maxItems": 200, "type": "array"}, "flow_id": {"maxLength": 1024, "type": "string"}, "state": {"maxLength": 255, "type": "string"}, "user_id": {"maxLength": 255, "type": "string"}}, "required": ["user_id", "flow_id", "device_id", "state", "decimals", "emoji", "cancel_code"], "title": "VerificationStatus", "type": "object"}, "status": 200},
78
+ "rescanHistory": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/reliability/rescan", "request": {"additionalProperties": false, "properties": {"from_beginning": {"default": false, "type": "boolean"}}, "required": [], "title": "RescanRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"backpressure": {"type": "boolean"}, "binding_valid": {"type": "boolean"}, "history_running": {"type": "boolean"}, "ignore_open_intervals": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "ignore_pending_projections": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "inbox_bytes": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "inbox_pending": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "outbox_pending": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "outbox_uncertain": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "pending_decryption": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "protocol_syncs": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "rooms": {"items": {"additionalProperties": false, "properties": {"last_error": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "limited": {"type": "boolean"}, "pages": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "pending": {"type": "boolean"}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["pending", "caught_up", "backpressure", "blocked", "error", "no_progress"], "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["room_id", "state", "pending", "limited", "pages", "last_error", "updated_at_ms"], "title": "HistoryRoomStatus", "type": "object"}, "type": "array"}, "sync_running": {"type": "boolean"}}, "required": ["protocol_syncs", "sync_running", "history_running", "inbox_pending", "inbox_bytes", "pending_decryption", "backpressure", "rooms", "outbox_pending", "outbox_uncertain", "binding_valid", "ignore_open_intervals", "ignore_pending_projections"], "title": "ReliabilityStatus", "type": "object"}, "status": 200},
79
+ "retryOutboxItem": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "request_id", "required": true, "schema": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}], "path": "/v1/outbox/{request_id}/retry", "request": {"additionalProperties": false, "properties": {}, "required": [], "title": "OutboxActionRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"attempts": {"maximum": 4294967295, "minimum": 0, "type": "integer"}, "created_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}, "error_code": {"maxLength": 128, "minLength": 1, "type": ["string", "null"]}, "event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "first_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "input_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": ["string", "null"]}, "kind": {"enum": ["text", "attachment", "edit", "redaction", "thread"], "type": "string"}, "next_attempt_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}, "retry_deadline_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": ["integer", "null"]}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "state": {"enum": ["queued", "sending", "retry_wait", "sent", "failed", "uncertain", "held", "abandoned"], "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}, "updated_at_ms": {"maximum": 18446744073709551615, "minimum": 0, "type": "integer"}}, "required": ["request_id", "room_id", "txn_id", "kind", "state", "event_id", "input_event_id", "attempts", "created_at_ms", "updated_at_ms", "first_attempt_at_ms", "retry_deadline_ms", "next_attempt_at_ms", "error_code"], "title": "OutboxItem", "type": "object"}, "status": 200},
80
+ "revokeAccountCredential": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/identity/credential/revoke", "request": {"additionalProperties": false, "properties": {"credential_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}}, "required": ["credential_id"], "title": "CredentialRevokeRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"credential_id": {"maxLength": 43, "minLength": 43, "pattern": "^[A-Za-z0-9_-]{43}$", "type": "string"}, "revoked": {"const": true}, "user_id": {"maxLength": 255, "minLength": 4, "pattern": "^@", "type": "string"}}, "required": ["credential_id", "user_id", "revoked"], "title": "CredentialRevocation", "type": "object"}, "status": 200},
81
+ "sendEncryptedFile": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"minLength": 1, "pattern": "^!", "type": "string"}}], "path": "/v1/conversations/{room_id}/files", "request": {"additionalProperties": false, "properties": {"data_base64": {"contentEncoding": "base64", "maxLength": 8388608, "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$", "type": "string"}, "filename": {"maxLength": 255, "minLength": 1, "type": "string"}, "mime_type": {"maxLength": 127, "minLength": 1, "type": "string"}, "request_id": {"maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, "required": ["filename", "mime_type", "data_base64"], "title": "SendFileRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}}, "required": ["event_id"], "title": "SentEvent", "type": "object"}, "status": 201},
82
+ "sendEncryptedText": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/messages", "request": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "minLength": 1, "type": "string"}, "mention_user_ids": {"items": {"maxLength": 255, "minLength": 1, "pattern": "^@[^:]+:.+$", "type": "string"}, "maxItems": 100, "type": "array", "uniqueItems": true}, "reply_to_event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}, "room_id": {"maxLength": 255, "minLength": 1, "pattern": "^!", "type": "string"}, "txn_id": {"maxLength": 256, "minLength": 1, "type": "string"}}, "required": ["room_id", "body", "txn_id"], "title": "SendTextRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 255, "minLength": 1, "pattern": "^\\$", "type": "string"}}, "required": ["event_id"], "title": "SentEvent", "type": "object"}, "status": 201},
83
+ "sendThreadMessage": {"binary": false, "method": "POST", "parameters": [{"in": "path", "name": "room_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}, {"in": "path", "name": "event_id", "required": true, "schema": {"maxLength": 1024, "type": "string"}}], "path": "/v2/messages/{room_id}/threads/{event_id}", "request": {"additionalProperties": false, "properties": {"body": {"maxLength": 65536, "type": "string"}, "reply_to_event_id": {"maxLength": 1024, "pattern": "^\\$", "type": "string"}, "request_id": {"pattern": "^[A-Za-z0-9._:-]{1,128}$", "type": "string"}}, "required": ["request_id", "body"], "title": "ThreadMessageRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"event_id": {"maxLength": 1024, "type": ["string", "null"]}, "request_id": {"maxLength": 128, "type": "string"}, "state": {"maxLength": 255, "type": "string"}}, "required": ["request_id", "state", "event_id"], "title": "MessageMutationResult", "type": "object"}, "status": 200},
84
+ "setDeliveryBoundary": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/deliveries/boundary", "request": {"additionalProperties": false, "properties": {"not_before_ms": {"maximum": 9007199254740991, "minimum": 0, "type": "integer"}, "replay_history": {"type": "boolean"}}, "required": [], "title": "DeliveryBoundaryRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"mode": {"enum": ["all_history", "from_boundary"], "type": "string"}, "new_device": {"type": "boolean"}, "not_before_ms": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}}, "required": ["not_before_ms", "mode", "new_device"], "title": "DeliveryBoundary", "type": "object"}, "status": 200},
85
+ "shutdownClient": {"binary": false, "method": "POST", "parameters": [], "path": "/v1/shutdown", "request": {"additionalProperties": false, "properties": {}, "title": "ShutdownClientRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"stopping": {"const": true}}, "required": ["stopping"], "title": "ShutdownClientResponse", "type": "object"}, "status": 202},
86
+ "waitOnlineBackup": {"binary": false, "method": "POST", "parameters": [], "path": "/v2/encryption/backup/wait", "request": {"additionalProperties": false, "properties": {"timeout_seconds": {"maximum": 180, "minimum": 1, "type": "integer"}}, "required": [], "title": "WaitBackupRequest", "type": "object"}, "response": {"additionalProperties": false, "properties": {"backed_up_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "backup_state": {"maxLength": 255, "type": "string"}, "counts_observed_at_ms": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "enabled": {"type": "boolean"}, "exists_on_server": {"type": "boolean"}, "pending_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}, "recovery_state": {"maxLength": 255, "type": "string"}, "total_keys": {"maximum": 9007199254740991, "minimum": 0, "type": ["integer", "null"]}}, "required": ["enabled", "exists_on_server", "backup_state", "recovery_state", "total_keys", "backed_up_keys", "pending_keys", "counts_observed_at_ms"], "title": "BackupStatus", "type": "object"}, "status": 200}
87
+ }
88
+ }
@@ -0,0 +1,17 @@
1
+ import type { Schema } from "./schema.js";
2
+ export interface Parameter {
3
+ readonly name: string;
4
+ readonly in: "path" | "query";
5
+ readonly required: boolean;
6
+ readonly schema: Schema;
7
+ }
8
+ export interface Operation {
9
+ readonly method: string;
10
+ readonly path: string;
11
+ readonly parameters: readonly Parameter[];
12
+ readonly request: Schema | null;
13
+ readonly response: Schema | null;
14
+ readonly status: number;
15
+ readonly binary: boolean;
16
+ }
17
+ export declare function operationFor(id: string): Operation;