@clioplaylists/clio 0.1.5 → 0.1.7

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 (294) hide show
  1. package/dist/.env +7 -0
  2. package/dist/api/com/clioplaylists/alpha/actor/getProfile.d.ts +0 -0
  3. package/dist/api/com/clioplaylists/alpha/actor/getProfile.js +37 -0
  4. package/dist/api/com/clioplaylists/alpha/feed/getSongs.d.ts +0 -0
  5. package/dist/api/com/clioplaylists/alpha/feed/getSongs.js +37 -0
  6. package/dist/api/health.d.ts +3 -0
  7. package/dist/api/health.js +25 -0
  8. package/dist/api/index.d.ts +4 -0
  9. package/dist/api/index.js +6 -0
  10. package/dist/api/util.d.ts +9 -0
  11. package/dist/api/util.js +13 -0
  12. package/dist/auth-verifier.d.ts +92 -0
  13. package/dist/auth-verifier.js +365 -0
  14. package/dist/client.d.ts +9 -0
  15. package/dist/client.js +33 -0
  16. package/dist/config.d.ts +21 -0
  17. package/dist/config.js +49 -0
  18. package/dist/context.d.ts +11 -0
  19. package/dist/context.js +12 -0
  20. package/dist/dataplane/client.d.ts +27 -0
  21. package/dist/dataplane/client.js +120 -0
  22. package/dist/dataplane/index.d.ts +2 -0
  23. package/dist/dataplane/index.js +2 -0
  24. package/dist/dataplane/server/background.d.ts +13 -0
  25. package/dist/dataplane/server/background.js +30 -0
  26. package/dist/dataplane/server/db/database-schema.d.ts +13 -0
  27. package/dist/dataplane/server/db/database-schema.js +1 -0
  28. package/dist/dataplane/server/db/db.d.ts +32 -0
  29. package/dist/dataplane/server/db/db.js +152 -0
  30. package/dist/dataplane/server/db/index.d.ts +1 -0
  31. package/dist/dataplane/server/db/index.js +1 -0
  32. package/dist/dataplane/server/db/migrations/20230309T045948368Z-init.d.ts +3 -0
  33. package/dist/dataplane/server/db/migrations/20230309T045948368Z-init.js +113 -0
  34. package/dist/dataplane/server/db/migrations/20230420T211446071Z-did-cache.d.ts +3 -0
  35. package/dist/dataplane/server/db/migrations/20230420T211446071Z-did-cache.js +11 -0
  36. package/dist/dataplane/server/db/migrations/index.d.ts +2 -0
  37. package/dist/dataplane/server/db/migrations/index.js +5 -0
  38. package/dist/dataplane/server/db/migrations/provider.d.ts +11 -0
  39. package/dist/dataplane/server/db/migrations/provider.js +19 -0
  40. package/dist/dataplane/server/db/pagination.d.ts +86 -0
  41. package/dist/dataplane/server/db/pagination.js +128 -0
  42. package/dist/dataplane/server/db/tables/actor-sync.d.ts +9 -0
  43. package/dist/dataplane/server/db/tables/actor-sync.js +1 -0
  44. package/dist/dataplane/server/db/tables/actor.d.ts +11 -0
  45. package/dist/dataplane/server/db/tables/actor.js +1 -0
  46. package/dist/dataplane/server/db/tables/artist-list-item.d.ts +11 -0
  47. package/dist/dataplane/server/db/tables/artist-list-item.js +1 -0
  48. package/dist/dataplane/server/db/tables/artist.d.ts +10 -0
  49. package/dist/dataplane/server/db/tables/artist.js +1 -0
  50. package/dist/dataplane/server/db/tables/playlist-idea.d.ts +14 -0
  51. package/dist/dataplane/server/db/tables/playlist-idea.js +1 -0
  52. package/dist/dataplane/server/db/tables/playlist-item.d.ts +11 -0
  53. package/dist/dataplane/server/db/tables/playlist-item.js +1 -0
  54. package/dist/dataplane/server/db/tables/playlist.d.ts +10 -0
  55. package/dist/dataplane/server/db/tables/playlist.js +1 -0
  56. package/dist/dataplane/server/db/tables/profile.d.ts +15 -0
  57. package/dist/dataplane/server/db/tables/profile.js +1 -0
  58. package/dist/dataplane/server/db/tables/record.d.ts +12 -0
  59. package/dist/dataplane/server/db/tables/record.js +1 -0
  60. package/dist/dataplane/server/db/tables/song.d.ts +12 -0
  61. package/dist/dataplane/server/db/tables/song.js +1 -0
  62. package/dist/dataplane/server/db/types.d.ts +9 -0
  63. package/dist/dataplane/server/db/types.js +1 -0
  64. package/dist/dataplane/server/db/util.d.ts +20 -0
  65. package/dist/dataplane/server/db/util.js +40 -0
  66. package/dist/dataplane/server/index.d.ts +11 -0
  67. package/dist/dataplane/server/index.js +36 -0
  68. package/dist/dataplane/server/indexing/index.d.ts +32 -0
  69. package/dist/dataplane/server/indexing/index.js +271 -0
  70. package/dist/dataplane/server/indexing/plugins/playlist-idea.d.ts +14 -0
  71. package/dist/dataplane/server/indexing/plugins/playlist-idea.js +126 -0
  72. package/dist/dataplane/server/indexing/plugins/profile.d.ts +8 -0
  73. package/dist/dataplane/server/indexing/plugins/profile.js +44 -0
  74. package/dist/dataplane/server/indexing/processor.d.ts +22 -0
  75. package/dist/dataplane/server/indexing/processor.js +72 -0
  76. package/dist/dataplane/server/routes/identity.d.ts +6 -0
  77. package/dist/dataplane/server/routes/identity.js +54 -0
  78. package/dist/dataplane/server/routes/index.d.ts +5 -0
  79. package/dist/dataplane/server/routes/index.js +14 -0
  80. package/dist/dataplane/server/routes/profile.d.ts +5 -0
  81. package/dist/dataplane/server/routes/profile.js +59 -0
  82. package/dist/dataplane/server/routes/records.d.ts +11 -0
  83. package/dist/dataplane/server/routes/records.js +51 -0
  84. package/dist/dataplane/server/routes/sync.d.ts +5 -0
  85. package/dist/dataplane/server/routes/sync.js +12 -0
  86. package/dist/dataplane/server/subscription.d.ts +25 -0
  87. package/dist/dataplane/server/subscription.js +86 -0
  88. package/dist/error.d.ts +2 -0
  89. package/dist/error.js +10 -0
  90. package/dist/index.d.ts +20 -0
  91. package/dist/index.js +55 -0
  92. package/dist/lexicons/index.d.ts +278 -0
  93. package/dist/lexicons/index.js +463 -0
  94. package/dist/lexicons/lexicons.d.ts +8466 -0
  95. package/dist/lexicons/lexicons.js +4548 -0
  96. package/dist/lexicons/types/com/atproto/admin/defs.d.ts +50 -0
  97. package/dist/lexicons/types/com/atproto/admin/defs.js +42 -0
  98. package/dist/lexicons/types/com/atproto/admin/deleteAccount.d.ts +29 -0
  99. package/dist/lexicons/types/com/atproto/admin/deleteAccount.js +1 -0
  100. package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts +31 -0
  101. package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +1 -0
  102. package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.d.ts +30 -0
  103. package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js +1 -0
  104. package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts +31 -0
  105. package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +1 -0
  106. package/dist/lexicons/types/com/atproto/admin/getAccountInfo.d.ts +33 -0
  107. package/dist/lexicons/types/com/atproto/admin/getAccountInfo.js +1 -0
  108. package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts +36 -0
  109. package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +1 -0
  110. package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +39 -0
  111. package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +1 -0
  112. package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.d.ts +44 -0
  113. package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js +1 -0
  114. package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +39 -0
  115. package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +1 -0
  116. package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +45 -0
  117. package/dist/lexicons/types/com/atproto/admin/sendEmail.js +1 -0
  118. package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts +31 -0
  119. package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +1 -0
  120. package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.d.ts +30 -0
  121. package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.js +1 -0
  122. package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.d.ts +30 -0
  123. package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.js +1 -0
  124. package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.d.ts +51 -0
  125. package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js +1 -0
  126. package/dist/lexicons/types/com/atproto/identity/defs.d.ts +14 -0
  127. package/dist/lexicons/types/com/atproto/identity/defs.js +10 -0
  128. package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +38 -0
  129. package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +1 -0
  130. package/dist/lexicons/types/com/atproto/identity/refreshIdentity.d.ts +39 -0
  131. package/dist/lexicons/types/com/atproto/identity/refreshIdentity.js +1 -0
  132. package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.d.ts +23 -0
  133. package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.js +1 -0
  134. package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts +38 -0
  135. package/dist/lexicons/types/com/atproto/identity/resolveDid.js +1 -0
  136. package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts +37 -0
  137. package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +1 -0
  138. package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts +35 -0
  139. package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +1 -0
  140. package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +46 -0
  141. package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +1 -0
  142. package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.d.ts +29 -0
  143. package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.js +1 -0
  144. package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts +30 -0
  145. package/dist/lexicons/types/com/atproto/identity/updateHandle.js +1 -0
  146. package/dist/lexicons/types/com/atproto/label/defs.d.ts +73 -0
  147. package/dist/lexicons/types/com/atproto/label/defs.js +42 -0
  148. package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +42 -0
  149. package/dist/lexicons/types/com/atproto/label/queryLabels.js +1 -0
  150. package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +38 -0
  151. package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +18 -0
  152. package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts +11 -0
  153. package/dist/lexicons/types/com/atproto/lexicon/schema.js +11 -0
  154. package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +57 -0
  155. package/dist/lexicons/types/com/atproto/moderation/createReport.js +1 -0
  156. package/dist/lexicons/types/com/atproto/moderation/defs.d.ts +20 -0
  157. package/dist/lexicons/types/com/atproto/moderation/defs.js +17 -0
  158. package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +98 -0
  159. package/dist/lexicons/types/com/atproto/repo/applyWrites.js +50 -0
  160. package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +56 -0
  161. package/dist/lexicons/types/com/atproto/repo/createRecord.js +1 -0
  162. package/dist/lexicons/types/com/atproto/repo/defs.d.ts +11 -0
  163. package/dist/lexicons/types/com/atproto/repo/defs.js +10 -0
  164. package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +51 -0
  165. package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +1 -0
  166. package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +43 -0
  167. package/dist/lexicons/types/com/atproto/repo/describeRepo.js +1 -0
  168. package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +45 -0
  169. package/dist/lexicons/types/com/atproto/repo/getRecord.js +1 -0
  170. package/dist/lexicons/types/com/atproto/repo/importRepo.d.ts +27 -0
  171. package/dist/lexicons/types/com/atproto/repo/importRepo.js +1 -0
  172. package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +45 -0
  173. package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +10 -0
  174. package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +53 -0
  175. package/dist/lexicons/types/com/atproto/repo/listRecords.js +10 -0
  176. package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +58 -0
  177. package/dist/lexicons/types/com/atproto/repo/putRecord.js +1 -0
  178. package/dist/lexicons/types/com/atproto/repo/strongRef.d.ts +11 -0
  179. package/dist/lexicons/types/com/atproto/repo/strongRef.js +11 -0
  180. package/dist/lexicons/types/com/atproto/repo/uploadBlob.d.ts +39 -0
  181. package/dist/lexicons/types/com/atproto/repo/uploadBlob.js +1 -0
  182. package/dist/lexicons/types/com/atproto/server/activateAccount.d.ts +23 -0
  183. package/dist/lexicons/types/com/atproto/server/activateAccount.js +1 -0
  184. package/dist/lexicons/types/com/atproto/server/checkAccountStatus.d.ts +42 -0
  185. package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js +1 -0
  186. package/dist/lexicons/types/com/atproto/server/confirmEmail.d.ts +31 -0
  187. package/dist/lexicons/types/com/atproto/server/confirmEmail.js +1 -0
  188. package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +61 -0
  189. package/dist/lexicons/types/com/atproto/server/createAccount.js +1 -0
  190. package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +51 -0
  191. package/dist/lexicons/types/com/atproto/server/createAppPassword.js +10 -0
  192. package/dist/lexicons/types/com/atproto/server/createInviteCode.d.ts +41 -0
  193. package/dist/lexicons/types/com/atproto/server/createInviteCode.js +1 -0
  194. package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +50 -0
  195. package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +10 -0
  196. package/dist/lexicons/types/com/atproto/server/createSession.d.ts +56 -0
  197. package/dist/lexicons/types/com/atproto/server/createSession.js +1 -0
  198. package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts +30 -0
  199. package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +1 -0
  200. package/dist/lexicons/types/com/atproto/server/defs.d.ts +23 -0
  201. package/dist/lexicons/types/com/atproto/server/defs.js +18 -0
  202. package/dist/lexicons/types/com/atproto/server/deleteAccount.d.ts +32 -0
  203. package/dist/lexicons/types/com/atproto/server/deleteAccount.js +1 -0
  204. package/dist/lexicons/types/com/atproto/server/deleteSession.d.ts +23 -0
  205. package/dist/lexicons/types/com/atproto/server/deleteSession.js +1 -0
  206. package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +56 -0
  207. package/dist/lexicons/types/com/atproto/server/describeServer.js +18 -0
  208. package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +39 -0
  209. package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +1 -0
  210. package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts +41 -0
  211. package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +1 -0
  212. package/dist/lexicons/types/com/atproto/server/getSession.d.ts +42 -0
  213. package/dist/lexicons/types/com/atproto/server/getSession.js +1 -0
  214. package/dist/lexicons/types/com/atproto/server/listAppPasswords.d.ts +44 -0
  215. package/dist/lexicons/types/com/atproto/server/listAppPasswords.js +10 -0
  216. package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +42 -0
  217. package/dist/lexicons/types/com/atproto/server/refreshSession.js +1 -0
  218. package/dist/lexicons/types/com/atproto/server/requestAccountDelete.d.ts +23 -0
  219. package/dist/lexicons/types/com/atproto/server/requestAccountDelete.js +1 -0
  220. package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.d.ts +23 -0
  221. package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.js +1 -0
  222. package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.d.ts +34 -0
  223. package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.js +1 -0
  224. package/dist/lexicons/types/com/atproto/server/requestPasswordReset.d.ts +29 -0
  225. package/dist/lexicons/types/com/atproto/server/requestPasswordReset.js +1 -0
  226. package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts +42 -0
  227. package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +1 -0
  228. package/dist/lexicons/types/com/atproto/server/resetPassword.d.ts +31 -0
  229. package/dist/lexicons/types/com/atproto/server/resetPassword.js +1 -0
  230. package/dist/lexicons/types/com/atproto/server/revokeAppPassword.d.ts +29 -0
  231. package/dist/lexicons/types/com/atproto/server/revokeAppPassword.js +1 -0
  232. package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts +33 -0
  233. package/dist/lexicons/types/com/atproto/server/updateEmail.js +1 -0
  234. package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +36 -0
  235. package/dist/lexicons/types/com/atproto/sync/getBlob.js +1 -0
  236. package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +35 -0
  237. package/dist/lexicons/types/com/atproto/sync/getBlocks.js +1 -0
  238. package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +33 -0
  239. package/dist/lexicons/types/com/atproto/sync/getCheckout.js +1 -0
  240. package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +37 -0
  241. package/dist/lexicons/types/com/atproto/sync/getHead.js +1 -0
  242. package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +38 -0
  243. package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +1 -0
  244. package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +37 -0
  245. package/dist/lexicons/types/com/atproto/sync/getRecord.js +1 -0
  246. package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +36 -0
  247. package/dist/lexicons/types/com/atproto/sync/getRepo.js +1 -0
  248. package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +42 -0
  249. package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +1 -0
  250. package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +42 -0
  251. package/dist/lexicons/types/com/atproto/sync/listBlobs.js +1 -0
  252. package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +50 -0
  253. package/dist/lexicons/types/com/atproto/sync/listRepos.js +10 -0
  254. package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +46 -0
  255. package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +10 -0
  256. package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts +30 -0
  257. package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +1 -0
  258. package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts +30 -0
  259. package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +1 -0
  260. package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +111 -0
  261. package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +50 -0
  262. package/dist/lexicons/types/com/atproto/temp/addReservedHandle.d.ts +39 -0
  263. package/dist/lexicons/types/com/atproto/temp/addReservedHandle.js +1 -0
  264. package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.d.ts +36 -0
  265. package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js +1 -0
  266. package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +37 -0
  267. package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +1 -0
  268. package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.d.ts +29 -0
  269. package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.js +1 -0
  270. package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.d.ts +19 -0
  271. package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.js +11 -0
  272. package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.d.ts +32 -0
  273. package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.js +18 -0
  274. package/dist/lexicons/types/com/clioplaylists/alpha/feed/getSongs.d.ts +37 -0
  275. package/dist/lexicons/types/com/clioplaylists/alpha/feed/getSongs.js +1 -0
  276. package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.d.ts +32 -0
  277. package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.js +27 -0
  278. package/dist/lexicons/util.d.ts +5 -0
  279. package/dist/lexicons/util.js +9 -0
  280. package/dist/logger.d.ts +6 -0
  281. package/dist/logger.js +20 -0
  282. package/dist/rpc/clio_connect.d.ts +103 -0
  283. package/dist/rpc/clio_connect.js +107 -0
  284. package/dist/rpc/clio_pb.d.ts +457 -0
  285. package/dist/rpc/clio_pb.js +811 -0
  286. package/dist/start.d.ts +1 -0
  287. package/dist/util/retry.d.ts +2 -0
  288. package/dist/util/retry.js +13 -0
  289. package/dist/util/uris.d.ts +1 -0
  290. package/dist/util/uris.js +4 -0
  291. package/dist/util.d.ts +23 -0
  292. package/dist/util.js +76 -0
  293. package/package.json +7 -7
  294. /package/{start.js → dist/start.js} +0 -0
@@ -0,0 +1,811 @@
1
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension="
2
+ // @generated from file clio.proto (package clio, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3, Timestamp } from '@bufbuild/protobuf';
6
+ /**
7
+ * @generated from message clio.Record
8
+ */
9
+ export class Record extends Message {
10
+ /**
11
+ * @generated from field: bytes record = 1;
12
+ */
13
+ record = new Uint8Array(0);
14
+ /**
15
+ * @generated from field: string cid = 2;
16
+ */
17
+ cid = '';
18
+ /**
19
+ * @generated from field: google.protobuf.Timestamp indexed_at = 4;
20
+ */
21
+ indexedAt;
22
+ /**
23
+ * @generated from field: bool taken_down = 5;
24
+ */
25
+ takenDown = false;
26
+ /**
27
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
28
+ */
29
+ createdAt;
30
+ /**
31
+ * @generated from field: google.protobuf.Timestamp sorted_at = 7;
32
+ */
33
+ sortedAt;
34
+ /**
35
+ * @generated from field: string takedown_ref = 8;
36
+ */
37
+ takedownRef = '';
38
+ constructor(data) {
39
+ super();
40
+ proto3.util.initPartial(data, this);
41
+ }
42
+ static runtime = proto3;
43
+ static typeName = 'clio.Record';
44
+ static fields = proto3.util.newFieldList(() => [
45
+ { no: 1, name: 'record', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
46
+ { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
47
+ { no: 4, name: 'indexed_at', kind: 'message', T: Timestamp },
48
+ { no: 5, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
49
+ { no: 6, name: 'created_at', kind: 'message', T: Timestamp },
50
+ { no: 7, name: 'sorted_at', kind: 'message', T: Timestamp },
51
+ {
52
+ no: 8,
53
+ name: 'takedown_ref',
54
+ kind: 'scalar',
55
+ T: 9 /* ScalarType.STRING */,
56
+ },
57
+ ]);
58
+ static fromBinary(bytes, options) {
59
+ return new Record().fromBinary(bytes, options);
60
+ }
61
+ static fromJson(jsonValue, options) {
62
+ return new Record().fromJson(jsonValue, options);
63
+ }
64
+ static fromJsonString(jsonString, options) {
65
+ return new Record().fromJsonString(jsonString, options);
66
+ }
67
+ static equals(a, b) {
68
+ return proto3.util.equals(Record, a, b);
69
+ }
70
+ }
71
+ /**
72
+ * @generated from message clio.GetSongRecordsRequest
73
+ */
74
+ export class GetSongRecordsRequest extends Message {
75
+ /**
76
+ * @generated from field: repeated string track_mb_ids = 1;
77
+ */
78
+ trackMbIds = [];
79
+ constructor(data) {
80
+ super();
81
+ proto3.util.initPartial(data, this);
82
+ }
83
+ static runtime = proto3;
84
+ static typeName = 'clio.GetSongRecordsRequest';
85
+ static fields = proto3.util.newFieldList(() => [
86
+ {
87
+ no: 1,
88
+ name: 'track_mb_ids',
89
+ kind: 'scalar',
90
+ T: 9 /* ScalarType.STRING */,
91
+ repeated: true,
92
+ },
93
+ ]);
94
+ static fromBinary(bytes, options) {
95
+ return new GetSongRecordsRequest().fromBinary(bytes, options);
96
+ }
97
+ static fromJson(jsonValue, options) {
98
+ return new GetSongRecordsRequest().fromJson(jsonValue, options);
99
+ }
100
+ static fromJsonString(jsonString, options) {
101
+ return new GetSongRecordsRequest().fromJsonString(jsonString, options);
102
+ }
103
+ static equals(a, b) {
104
+ return proto3.util.equals(GetSongRecordsRequest, a, b);
105
+ }
106
+ }
107
+ /**
108
+ * @generated from message clio.GetSongRecordsResponse
109
+ */
110
+ export class GetSongRecordsResponse extends Message {
111
+ /**
112
+ * @generated from field: repeated clio.Record records = 1;
113
+ */
114
+ records = [];
115
+ constructor(data) {
116
+ super();
117
+ proto3.util.initPartial(data, this);
118
+ }
119
+ static runtime = proto3;
120
+ static typeName = 'clio.GetSongRecordsResponse';
121
+ static fields = proto3.util.newFieldList(() => [
122
+ { no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
123
+ ]);
124
+ static fromBinary(bytes, options) {
125
+ return new GetSongRecordsResponse().fromBinary(bytes, options);
126
+ }
127
+ static fromJson(jsonValue, options) {
128
+ return new GetSongRecordsResponse().fromJson(jsonValue, options);
129
+ }
130
+ static fromJsonString(jsonString, options) {
131
+ return new GetSongRecordsResponse().fromJsonString(jsonString, options);
132
+ }
133
+ static equals(a, b) {
134
+ return proto3.util.equals(GetSongRecordsResponse, a, b);
135
+ }
136
+ }
137
+ /**
138
+ * @generated from message clio.GetProfileRecordsRequest
139
+ */
140
+ export class GetProfileRecordsRequest extends Message {
141
+ /**
142
+ * @generated from field: repeated string uris = 1;
143
+ */
144
+ uris = [];
145
+ constructor(data) {
146
+ super();
147
+ proto3.util.initPartial(data, this);
148
+ }
149
+ static runtime = proto3;
150
+ static typeName = 'clio.GetProfileRecordsRequest';
151
+ static fields = proto3.util.newFieldList(() => [
152
+ {
153
+ no: 1,
154
+ name: 'uris',
155
+ kind: 'scalar',
156
+ T: 9 /* ScalarType.STRING */,
157
+ repeated: true,
158
+ },
159
+ ]);
160
+ static fromBinary(bytes, options) {
161
+ return new GetProfileRecordsRequest().fromBinary(bytes, options);
162
+ }
163
+ static fromJson(jsonValue, options) {
164
+ return new GetProfileRecordsRequest().fromJson(jsonValue, options);
165
+ }
166
+ static fromJsonString(jsonString, options) {
167
+ return new GetProfileRecordsRequest().fromJsonString(jsonString, options);
168
+ }
169
+ static equals(a, b) {
170
+ return proto3.util.equals(GetProfileRecordsRequest, a, b);
171
+ }
172
+ }
173
+ /**
174
+ * @generated from message clio.GetProfileRecordsResponse
175
+ */
176
+ export class GetProfileRecordsResponse extends Message {
177
+ /**
178
+ * @generated from field: repeated clio.Record records = 1;
179
+ */
180
+ records = [];
181
+ constructor(data) {
182
+ super();
183
+ proto3.util.initPartial(data, this);
184
+ }
185
+ static runtime = proto3;
186
+ static typeName = 'clio.GetProfileRecordsResponse';
187
+ static fields = proto3.util.newFieldList(() => [
188
+ { no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
189
+ ]);
190
+ static fromBinary(bytes, options) {
191
+ return new GetProfileRecordsResponse().fromBinary(bytes, options);
192
+ }
193
+ static fromJson(jsonValue, options) {
194
+ return new GetProfileRecordsResponse().fromJson(jsonValue, options);
195
+ }
196
+ static fromJsonString(jsonString, options) {
197
+ return new GetProfileRecordsResponse().fromJsonString(jsonString, options);
198
+ }
199
+ static equals(a, b) {
200
+ return proto3.util.equals(GetProfileRecordsResponse, a, b);
201
+ }
202
+ }
203
+ /**
204
+ * - return actor information for dids A, B, C…
205
+ * - profile hydration
206
+ * - should this include handles? apply repo takedown?
207
+ *
208
+ * @generated from message clio.GetActorsRequest
209
+ */
210
+ export class GetActorsRequest extends Message {
211
+ /**
212
+ * @generated from field: repeated string dids = 1;
213
+ */
214
+ dids = [];
215
+ constructor(data) {
216
+ super();
217
+ proto3.util.initPartial(data, this);
218
+ }
219
+ static runtime = proto3;
220
+ static typeName = 'clio.GetActorsRequest';
221
+ static fields = proto3.util.newFieldList(() => [
222
+ {
223
+ no: 1,
224
+ name: 'dids',
225
+ kind: 'scalar',
226
+ T: 9 /* ScalarType.STRING */,
227
+ repeated: true,
228
+ },
229
+ ]);
230
+ static fromBinary(bytes, options) {
231
+ return new GetActorsRequest().fromBinary(bytes, options);
232
+ }
233
+ static fromJson(jsonValue, options) {
234
+ return new GetActorsRequest().fromJson(jsonValue, options);
235
+ }
236
+ static fromJsonString(jsonString, options) {
237
+ return new GetActorsRequest().fromJsonString(jsonString, options);
238
+ }
239
+ static equals(a, b) {
240
+ return proto3.util.equals(GetActorsRequest, a, b);
241
+ }
242
+ }
243
+ /**
244
+ * @generated from message clio.ActorInfo
245
+ */
246
+ export class ActorInfo extends Message {
247
+ /**
248
+ * @generated from field: bool exists = 1;
249
+ */
250
+ exists = false;
251
+ /**
252
+ * @generated from field: string handle = 2;
253
+ */
254
+ handle = '';
255
+ /**
256
+ * @generated from field: clio.Record profile = 3;
257
+ */
258
+ profile;
259
+ /**
260
+ * @generated from field: bool taken_down = 4;
261
+ */
262
+ takenDown = false;
263
+ /**
264
+ * @generated from field: string takedown_ref = 5;
265
+ */
266
+ takedownRef = '';
267
+ /**
268
+ * @generated from field: google.protobuf.Timestamp tombstoned_at = 6;
269
+ */
270
+ tombstonedAt;
271
+ /**
272
+ * @generated from field: bool labeler = 7;
273
+ */
274
+ labeler = false;
275
+ /**
276
+ * @generated from field: string allow_incoming_chats_from = 8;
277
+ */
278
+ allowIncomingChatsFrom = '';
279
+ /**
280
+ * @generated from field: string upstream_status = 9;
281
+ */
282
+ upstreamStatus = '';
283
+ /**
284
+ * @generated from field: google.protobuf.Timestamp created_at = 10;
285
+ */
286
+ createdAt;
287
+ /**
288
+ * @generated from field: bool priority_notifications = 11;
289
+ */
290
+ priorityNotifications = false;
291
+ constructor(data) {
292
+ super();
293
+ proto3.util.initPartial(data, this);
294
+ }
295
+ static runtime = proto3;
296
+ static typeName = 'clio.ActorInfo';
297
+ static fields = proto3.util.newFieldList(() => [
298
+ { no: 1, name: 'exists', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
299
+ { no: 2, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
300
+ { no: 3, name: 'profile', kind: 'message', T: Record },
301
+ { no: 4, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
302
+ {
303
+ no: 5,
304
+ name: 'takedown_ref',
305
+ kind: 'scalar',
306
+ T: 9 /* ScalarType.STRING */,
307
+ },
308
+ { no: 6, name: 'tombstoned_at', kind: 'message', T: Timestamp },
309
+ { no: 7, name: 'labeler', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
310
+ {
311
+ no: 8,
312
+ name: 'allow_incoming_chats_from',
313
+ kind: 'scalar',
314
+ T: 9 /* ScalarType.STRING */,
315
+ },
316
+ {
317
+ no: 9,
318
+ name: 'upstream_status',
319
+ kind: 'scalar',
320
+ T: 9 /* ScalarType.STRING */,
321
+ },
322
+ { no: 10, name: 'created_at', kind: 'message', T: Timestamp },
323
+ {
324
+ no: 11,
325
+ name: 'priority_notifications',
326
+ kind: 'scalar',
327
+ T: 8 /* ScalarType.BOOL */,
328
+ },
329
+ ]);
330
+ static fromBinary(bytes, options) {
331
+ return new ActorInfo().fromBinary(bytes, options);
332
+ }
333
+ static fromJson(jsonValue, options) {
334
+ return new ActorInfo().fromJson(jsonValue, options);
335
+ }
336
+ static fromJsonString(jsonString, options) {
337
+ return new ActorInfo().fromJsonString(jsonString, options);
338
+ }
339
+ static equals(a, b) {
340
+ return proto3.util.equals(ActorInfo, a, b);
341
+ }
342
+ }
343
+ /**
344
+ * @generated from message clio.GetActorsResponse
345
+ */
346
+ export class GetActorsResponse extends Message {
347
+ /**
348
+ * @generated from field: repeated clio.ActorInfo actors = 1;
349
+ */
350
+ actors = [];
351
+ constructor(data) {
352
+ super();
353
+ proto3.util.initPartial(data, this);
354
+ }
355
+ static runtime = proto3;
356
+ static typeName = 'clio.GetActorsResponse';
357
+ static fields = proto3.util.newFieldList(() => [
358
+ { no: 1, name: 'actors', kind: 'message', T: ActorInfo, repeated: true },
359
+ ]);
360
+ static fromBinary(bytes, options) {
361
+ return new GetActorsResponse().fromBinary(bytes, options);
362
+ }
363
+ static fromJson(jsonValue, options) {
364
+ return new GetActorsResponse().fromJson(jsonValue, options);
365
+ }
366
+ static fromJsonString(jsonString, options) {
367
+ return new GetActorsResponse().fromJsonString(jsonString, options);
368
+ }
369
+ static equals(a, b) {
370
+ return proto3.util.equals(GetActorsResponse, a, b);
371
+ }
372
+ }
373
+ /**
374
+ * - return did for handle A
375
+ * - `resolveHandle`
376
+ * - answering queries where the query param is a handle
377
+ *
378
+ * @generated from message clio.GetDidsByHandlesRequest
379
+ */
380
+ export class GetDidsByHandlesRequest extends Message {
381
+ /**
382
+ * @generated from field: repeated string handles = 1;
383
+ */
384
+ handles = [];
385
+ constructor(data) {
386
+ super();
387
+ proto3.util.initPartial(data, this);
388
+ }
389
+ static runtime = proto3;
390
+ static typeName = 'clio.GetDidsByHandlesRequest';
391
+ static fields = proto3.util.newFieldList(() => [
392
+ {
393
+ no: 1,
394
+ name: 'handles',
395
+ kind: 'scalar',
396
+ T: 9 /* ScalarType.STRING */,
397
+ repeated: true,
398
+ },
399
+ ]);
400
+ static fromBinary(bytes, options) {
401
+ return new GetDidsByHandlesRequest().fromBinary(bytes, options);
402
+ }
403
+ static fromJson(jsonValue, options) {
404
+ return new GetDidsByHandlesRequest().fromJson(jsonValue, options);
405
+ }
406
+ static fromJsonString(jsonString, options) {
407
+ return new GetDidsByHandlesRequest().fromJsonString(jsonString, options);
408
+ }
409
+ static equals(a, b) {
410
+ return proto3.util.equals(GetDidsByHandlesRequest, a, b);
411
+ }
412
+ }
413
+ /**
414
+ * @generated from message clio.GetDidsByHandlesResponse
415
+ */
416
+ export class GetDidsByHandlesResponse extends Message {
417
+ /**
418
+ * @generated from field: repeated string dids = 1;
419
+ */
420
+ dids = [];
421
+ constructor(data) {
422
+ super();
423
+ proto3.util.initPartial(data, this);
424
+ }
425
+ static runtime = proto3;
426
+ static typeName = 'clio.GetDidsByHandlesResponse';
427
+ static fields = proto3.util.newFieldList(() => [
428
+ {
429
+ no: 1,
430
+ name: 'dids',
431
+ kind: 'scalar',
432
+ T: 9 /* ScalarType.STRING */,
433
+ repeated: true,
434
+ },
435
+ ]);
436
+ static fromBinary(bytes, options) {
437
+ return new GetDidsByHandlesResponse().fromBinary(bytes, options);
438
+ }
439
+ static fromJson(jsonValue, options) {
440
+ return new GetDidsByHandlesResponse().fromJson(jsonValue, options);
441
+ }
442
+ static fromJsonString(jsonString, options) {
443
+ return new GetDidsByHandlesResponse().fromJsonString(jsonString, options);
444
+ }
445
+ static equals(a, b) {
446
+ return proto3.util.equals(GetDidsByHandlesResponse, a, b);
447
+ }
448
+ }
449
+ /**
450
+ * - Latest repo rev of user w/ DID
451
+ *
452
+ * @generated from message clio.GetLatestRevRequest
453
+ */
454
+ export class GetLatestRevRequest extends Message {
455
+ /**
456
+ * @generated from field: string actor_did = 1;
457
+ */
458
+ actorDid = '';
459
+ constructor(data) {
460
+ super();
461
+ proto3.util.initPartial(data, this);
462
+ }
463
+ static runtime = proto3;
464
+ static typeName = 'clio.GetLatestRevRequest';
465
+ static fields = proto3.util.newFieldList(() => [
466
+ { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
467
+ ]);
468
+ static fromBinary(bytes, options) {
469
+ return new GetLatestRevRequest().fromBinary(bytes, options);
470
+ }
471
+ static fromJson(jsonValue, options) {
472
+ return new GetLatestRevRequest().fromJson(jsonValue, options);
473
+ }
474
+ static fromJsonString(jsonString, options) {
475
+ return new GetLatestRevRequest().fromJsonString(jsonString, options);
476
+ }
477
+ static equals(a, b) {
478
+ return proto3.util.equals(GetLatestRevRequest, a, b);
479
+ }
480
+ }
481
+ /**
482
+ * @generated from message clio.GetLatestRevResponse
483
+ */
484
+ export class GetLatestRevResponse extends Message {
485
+ /**
486
+ * @generated from field: string rev = 1;
487
+ */
488
+ rev = '';
489
+ constructor(data) {
490
+ super();
491
+ proto3.util.initPartial(data, this);
492
+ }
493
+ static runtime = proto3;
494
+ static typeName = 'clio.GetLatestRevResponse';
495
+ static fields = proto3.util.newFieldList(() => [
496
+ { no: 1, name: 'rev', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
497
+ ]);
498
+ static fromBinary(bytes, options) {
499
+ return new GetLatestRevResponse().fromBinary(bytes, options);
500
+ }
501
+ static fromJson(jsonValue, options) {
502
+ return new GetLatestRevResponse().fromJson(jsonValue, options);
503
+ }
504
+ static fromJsonString(jsonString, options) {
505
+ return new GetLatestRevResponse().fromJsonString(jsonString, options);
506
+ }
507
+ static equals(a, b) {
508
+ return proto3.util.equals(GetLatestRevResponse, a, b);
509
+ }
510
+ }
511
+ /**
512
+ * @generated from message clio.GetIdentityByDidRequest
513
+ */
514
+ export class GetIdentityByDidRequest extends Message {
515
+ /**
516
+ * @generated from field: string did = 1;
517
+ */
518
+ did = '';
519
+ constructor(data) {
520
+ super();
521
+ proto3.util.initPartial(data, this);
522
+ }
523
+ static runtime = proto3;
524
+ static typeName = 'clio.GetIdentityByDidRequest';
525
+ static fields = proto3.util.newFieldList(() => [
526
+ { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
527
+ ]);
528
+ static fromBinary(bytes, options) {
529
+ return new GetIdentityByDidRequest().fromBinary(bytes, options);
530
+ }
531
+ static fromJson(jsonValue, options) {
532
+ return new GetIdentityByDidRequest().fromJson(jsonValue, options);
533
+ }
534
+ static fromJsonString(jsonString, options) {
535
+ return new GetIdentityByDidRequest().fromJsonString(jsonString, options);
536
+ }
537
+ static equals(a, b) {
538
+ return proto3.util.equals(GetIdentityByDidRequest, a, b);
539
+ }
540
+ }
541
+ /**
542
+ * @generated from message clio.GetIdentityByDidResponse
543
+ */
544
+ export class GetIdentityByDidResponse extends Message {
545
+ /**
546
+ * @generated from field: string did = 1;
547
+ */
548
+ did = '';
549
+ /**
550
+ * @generated from field: string handle = 2;
551
+ */
552
+ handle = '';
553
+ /**
554
+ * @generated from field: bytes keys = 3;
555
+ */
556
+ keys = new Uint8Array(0);
557
+ /**
558
+ * @generated from field: bytes services = 4;
559
+ */
560
+ services = new Uint8Array(0);
561
+ /**
562
+ * @generated from field: google.protobuf.Timestamp updated = 5;
563
+ */
564
+ updated;
565
+ constructor(data) {
566
+ super();
567
+ proto3.util.initPartial(data, this);
568
+ }
569
+ static runtime = proto3;
570
+ static typeName = 'clio.GetIdentityByDidResponse';
571
+ static fields = proto3.util.newFieldList(() => [
572
+ { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
573
+ { no: 2, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
574
+ { no: 3, name: 'keys', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
575
+ { no: 4, name: 'services', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
576
+ { no: 5, name: 'updated', kind: 'message', T: Timestamp },
577
+ ]);
578
+ static fromBinary(bytes, options) {
579
+ return new GetIdentityByDidResponse().fromBinary(bytes, options);
580
+ }
581
+ static fromJson(jsonValue, options) {
582
+ return new GetIdentityByDidResponse().fromJson(jsonValue, options);
583
+ }
584
+ static fromJsonString(jsonString, options) {
585
+ return new GetIdentityByDidResponse().fromJsonString(jsonString, options);
586
+ }
587
+ static equals(a, b) {
588
+ return proto3.util.equals(GetIdentityByDidResponse, a, b);
589
+ }
590
+ }
591
+ /**
592
+ * @generated from message clio.GetIdentityByHandleRequest
593
+ */
594
+ export class GetIdentityByHandleRequest extends Message {
595
+ /**
596
+ * @generated from field: string handle = 1;
597
+ */
598
+ handle = '';
599
+ constructor(data) {
600
+ super();
601
+ proto3.util.initPartial(data, this);
602
+ }
603
+ static runtime = proto3;
604
+ static typeName = 'clio.GetIdentityByHandleRequest';
605
+ static fields = proto3.util.newFieldList(() => [
606
+ { no: 1, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
607
+ ]);
608
+ static fromBinary(bytes, options) {
609
+ return new GetIdentityByHandleRequest().fromBinary(bytes, options);
610
+ }
611
+ static fromJson(jsonValue, options) {
612
+ return new GetIdentityByHandleRequest().fromJson(jsonValue, options);
613
+ }
614
+ static fromJsonString(jsonString, options) {
615
+ return new GetIdentityByHandleRequest().fromJsonString(jsonString, options);
616
+ }
617
+ static equals(a, b) {
618
+ return proto3.util.equals(GetIdentityByHandleRequest, a, b);
619
+ }
620
+ }
621
+ /**
622
+ * @generated from message clio.GetIdentityByHandleResponse
623
+ */
624
+ export class GetIdentityByHandleResponse extends Message {
625
+ /**
626
+ * @generated from field: string handle = 1;
627
+ */
628
+ handle = '';
629
+ /**
630
+ * @generated from field: string did = 2;
631
+ */
632
+ did = '';
633
+ /**
634
+ * @generated from field: bytes keys = 3;
635
+ */
636
+ keys = new Uint8Array(0);
637
+ /**
638
+ * @generated from field: bytes services = 4;
639
+ */
640
+ services = new Uint8Array(0);
641
+ /**
642
+ * @generated from field: google.protobuf.Timestamp updated = 5;
643
+ */
644
+ updated;
645
+ constructor(data) {
646
+ super();
647
+ proto3.util.initPartial(data, this);
648
+ }
649
+ static runtime = proto3;
650
+ static typeName = 'clio.GetIdentityByHandleResponse';
651
+ static fields = proto3.util.newFieldList(() => [
652
+ { no: 1, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
653
+ { no: 2, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
654
+ { no: 3, name: 'keys', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
655
+ { no: 4, name: 'services', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
656
+ { no: 5, name: 'updated', kind: 'message', T: Timestamp },
657
+ ]);
658
+ static fromBinary(bytes, options) {
659
+ return new GetIdentityByHandleResponse().fromBinary(bytes, options);
660
+ }
661
+ static fromJson(jsonValue, options) {
662
+ return new GetIdentityByHandleResponse().fromJson(jsonValue, options);
663
+ }
664
+ static fromJsonString(jsonString, options) {
665
+ return new GetIdentityByHandleResponse().fromJsonString(jsonString, options);
666
+ }
667
+ static equals(a, b) {
668
+ return proto3.util.equals(GetIdentityByHandleResponse, a, b);
669
+ }
670
+ }
671
+ /**
672
+ * @generated from message clio.UpdateActorUpstreamStatusRequest
673
+ */
674
+ export class UpdateActorUpstreamStatusRequest extends Message {
675
+ /**
676
+ * @generated from field: string actor_did = 1;
677
+ */
678
+ actorDid = '';
679
+ /**
680
+ * @generated from field: bool active = 2;
681
+ */
682
+ active = false;
683
+ /**
684
+ * @generated from field: string upstream_status = 3;
685
+ */
686
+ upstreamStatus = '';
687
+ constructor(data) {
688
+ super();
689
+ proto3.util.initPartial(data, this);
690
+ }
691
+ static runtime = proto3;
692
+ static typeName = 'clio.UpdateActorUpstreamStatusRequest';
693
+ static fields = proto3.util.newFieldList(() => [
694
+ { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
695
+ { no: 2, name: 'active', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
696
+ {
697
+ no: 3,
698
+ name: 'upstream_status',
699
+ kind: 'scalar',
700
+ T: 9 /* ScalarType.STRING */,
701
+ },
702
+ ]);
703
+ static fromBinary(bytes, options) {
704
+ return new UpdateActorUpstreamStatusRequest().fromBinary(bytes, options);
705
+ }
706
+ static fromJson(jsonValue, options) {
707
+ return new UpdateActorUpstreamStatusRequest().fromJson(jsonValue, options);
708
+ }
709
+ static fromJsonString(jsonString, options) {
710
+ return new UpdateActorUpstreamStatusRequest().fromJsonString(jsonString, options);
711
+ }
712
+ static equals(a, b) {
713
+ return proto3.util.equals(UpdateActorUpstreamStatusRequest, a, b);
714
+ }
715
+ }
716
+ /**
717
+ * @generated from message clio.UpdateActorUpstreamStatusResponse
718
+ */
719
+ export class UpdateActorUpstreamStatusResponse extends Message {
720
+ constructor(data) {
721
+ super();
722
+ proto3.util.initPartial(data, this);
723
+ }
724
+ static runtime = proto3;
725
+ static typeName = 'clio.UpdateActorUpstreamStatusResponse';
726
+ static fields = proto3.util.newFieldList(() => []);
727
+ static fromBinary(bytes, options) {
728
+ return new UpdateActorUpstreamStatusResponse().fromBinary(bytes, options);
729
+ }
730
+ static fromJson(jsonValue, options) {
731
+ return new UpdateActorUpstreamStatusResponse().fromJson(jsonValue, options);
732
+ }
733
+ static fromJsonString(jsonString, options) {
734
+ return new UpdateActorUpstreamStatusResponse().fromJsonString(jsonString, options);
735
+ }
736
+ static equals(a, b) {
737
+ return proto3.util.equals(UpdateActorUpstreamStatusResponse, a, b);
738
+ }
739
+ }
740
+ /**
741
+ * @generated from message clio.HealthCheckRequest
742
+ */
743
+ export class HealthCheckRequest extends Message {
744
+ constructor(data) {
745
+ super();
746
+ proto3.util.initPartial(data, this);
747
+ }
748
+ static runtime = proto3;
749
+ static typeName = 'clio.HealthCheckRequest';
750
+ static fields = proto3.util.newFieldList(() => []);
751
+ static fromBinary(bytes, options) {
752
+ return new HealthCheckRequest().fromBinary(bytes, options);
753
+ }
754
+ static fromJson(jsonValue, options) {
755
+ return new HealthCheckRequest().fromJson(jsonValue, options);
756
+ }
757
+ static fromJsonString(jsonString, options) {
758
+ return new HealthCheckRequest().fromJsonString(jsonString, options);
759
+ }
760
+ static equals(a, b) {
761
+ return proto3.util.equals(HealthCheckRequest, a, b);
762
+ }
763
+ }
764
+ /**
765
+ * @generated from message clio.HealthCheck
766
+ */
767
+ export class HealthCheck extends Message {
768
+ constructor(data) {
769
+ super();
770
+ proto3.util.initPartial(data, this);
771
+ }
772
+ static runtime = proto3;
773
+ static typeName = 'clio.HealthCheck';
774
+ static fields = proto3.util.newFieldList(() => []);
775
+ static fromBinary(bytes, options) {
776
+ return new HealthCheck().fromBinary(bytes, options);
777
+ }
778
+ static fromJson(jsonValue, options) {
779
+ return new HealthCheck().fromJson(jsonValue, options);
780
+ }
781
+ static fromJsonString(jsonString, options) {
782
+ return new HealthCheck().fromJsonString(jsonString, options);
783
+ }
784
+ static equals(a, b) {
785
+ return proto3.util.equals(HealthCheck, a, b);
786
+ }
787
+ }
788
+ /**
789
+ * @generated from message clio.HealthCheckResponse
790
+ */
791
+ export class HealthCheckResponse extends Message {
792
+ constructor(data) {
793
+ super();
794
+ proto3.util.initPartial(data, this);
795
+ }
796
+ static runtime = proto3;
797
+ static typeName = 'clio.HealthCheckResponse';
798
+ static fields = proto3.util.newFieldList(() => []);
799
+ static fromBinary(bytes, options) {
800
+ return new HealthCheckResponse().fromBinary(bytes, options);
801
+ }
802
+ static fromJson(jsonValue, options) {
803
+ return new HealthCheckResponse().fromJson(jsonValue, options);
804
+ }
805
+ static fromJsonString(jsonString, options) {
806
+ return new HealthCheckResponse().fromJsonString(jsonString, options);
807
+ }
808
+ static equals(a, b) {
809
+ return proto3.util.equals(HealthCheckResponse, a, b);
810
+ }
811
+ }