@rakun-kit/core 1.3.8 → 1.3.9

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 (354) hide show
  1. package/dist/cjs/api/routes/web/page.js +6 -3
  2. package/dist/cjs/api/routes/web/page.js.map +1 -1
  3. package/dist/esm/api/context.d.ts +1 -1
  4. package/dist/esm/api/context.js +3 -3
  5. package/dist/esm/api/operations/catalog.d.ts +2 -2
  6. package/dist/esm/api/operations/catalog.js +1 -1
  7. package/dist/esm/api/operations/custom.d.ts +1 -1
  8. package/dist/esm/api/operations/custom.js +1 -1
  9. package/dist/esm/api/operations/index.d.ts +92 -92
  10. package/dist/esm/api/operations/index.js +8 -8
  11. package/dist/esm/api/operations/manager-contract.d.ts +65 -65
  12. package/dist/esm/api/operations/manager-contract.js +5 -5
  13. package/dist/esm/api/operations/manager.d.ts +66 -66
  14. package/dist/esm/api/operations/manager.js +51 -51
  15. package/dist/esm/api/operations/tracing.d.ts +1 -1
  16. package/dist/esm/api/operations/tracing.js +1 -1
  17. package/dist/esm/api/operations/types.d.ts +1 -1
  18. package/dist/esm/api/operations/web-contract.d.ts +19 -19
  19. package/dist/esm/api/operations/web-contract.js +3 -3
  20. package/dist/esm/api/operations/web.d.ts +20 -20
  21. package/dist/esm/api/operations/web.js +9 -9
  22. package/dist/esm/api/proxies/context.d.ts +2 -2
  23. package/dist/esm/api/proxies/index.d.ts +8 -8
  24. package/dist/esm/api/proxies/index.js +1 -1
  25. package/dist/esm/api/routes/manager/apiOperations.d.ts +3 -3
  26. package/dist/esm/api/routes/manager/apiOperations.js +5 -5
  27. package/dist/esm/api/routes/manager/auth/accountInfo.d.ts +2 -2
  28. package/dist/esm/api/routes/manager/auth/accountInfo.js +3 -3
  29. package/dist/esm/api/routes/manager/auth/deleteSession.d.ts +2 -2
  30. package/dist/esm/api/routes/manager/auth/deleteSession.js +3 -3
  31. package/dist/esm/api/routes/manager/auth/getSession.d.ts +5 -5
  32. package/dist/esm/api/routes/manager/auth/login.d.ts +1 -1
  33. package/dist/esm/api/routes/manager/auth/login.js +4 -4
  34. package/dist/esm/api/routes/manager/auth/logout.d.ts +1 -1
  35. package/dist/esm/api/routes/manager/auth/logout.js +3 -3
  36. package/dist/esm/api/routes/manager/auth/markTourSeen.d.ts +6 -6
  37. package/dist/esm/api/routes/manager/auth/markTourSeen.js +3 -3
  38. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.d.ts +2 -2
  39. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.js +2 -2
  40. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.d.ts +1 -1
  41. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.js +3 -3
  42. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.d.ts +1 -1
  43. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.js +3 -3
  44. package/dist/esm/api/routes/manager/auth/updateAccount.d.ts +6 -6
  45. package/dist/esm/api/routes/manager/auth/updateAccount.js +3 -3
  46. package/dist/esm/api/routes/manager/auth/updatePassword.d.ts +2 -2
  47. package/dist/esm/api/routes/manager/auth/updatePassword.js +3 -3
  48. package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.d.ts +6 -6
  49. package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.js +3 -3
  50. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthOptions.js +4 -4
  51. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthVerify.js +4 -4
  52. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.d.ts +2 -2
  53. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.js +3 -3
  54. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.d.ts +1 -1
  55. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.js +4 -4
  56. package/dist/esm/api/routes/manager/backups/create.d.ts +2 -2
  57. package/dist/esm/api/routes/manager/backups/create.js +2 -2
  58. package/dist/esm/api/routes/manager/backups/list.d.ts +2 -2
  59. package/dist/esm/api/routes/manager/backups/list.js +2 -2
  60. package/dist/esm/api/routes/manager/backups/restore.d.ts +2 -2
  61. package/dist/esm/api/routes/manager/backups/restore.js +3 -3
  62. package/dist/esm/api/routes/manager/contentTypes.d.ts +6 -6
  63. package/dist/esm/api/routes/manager/contentTypes.js +1 -1
  64. package/dist/esm/api/routes/manager/create.d.ts +4 -4
  65. package/dist/esm/api/routes/manager/create.js +8 -8
  66. package/dist/esm/api/routes/manager/delete.d.ts +2 -2
  67. package/dist/esm/api/routes/manager/delete.js +8 -8
  68. package/dist/esm/api/routes/manager/duplicate.d.ts +4 -4
  69. package/dist/esm/api/routes/manager/duplicate.js +5 -5
  70. package/dist/esm/api/routes/manager/get.d.ts +2 -2
  71. package/dist/esm/api/routes/manager/get.js +8 -8
  72. package/dist/esm/api/routes/manager/languages.d.ts +3 -3
  73. package/dist/esm/api/routes/manager/languages.js +1 -1
  74. package/dist/esm/api/routes/manager/list.d.ts +2 -2
  75. package/dist/esm/api/routes/manager/list.js +9 -9
  76. package/dist/esm/api/routes/manager/literals/list.d.ts +2 -2
  77. package/dist/esm/api/routes/manager/literals/list.js +5 -5
  78. package/dist/esm/api/routes/manager/literals/upsert.d.ts +2 -2
  79. package/dist/esm/api/routes/manager/literals/upsert.js +6 -6
  80. package/dist/esm/api/routes/manager/media/createFolder.d.ts +2 -2
  81. package/dist/esm/api/routes/manager/media/createFolder.js +7 -7
  82. package/dist/esm/api/routes/manager/media/deleteFolder.d.ts +2 -2
  83. package/dist/esm/api/routes/manager/media/deleteFolder.js +7 -7
  84. package/dist/esm/api/routes/manager/media/deleteMediaStorage.js +2 -2
  85. package/dist/esm/api/routes/manager/media/finalizeUpload.d.ts +2 -2
  86. package/dist/esm/api/routes/manager/media/finalizeUpload.js +10 -10
  87. package/dist/esm/api/routes/manager/media/getMediaUrl.d.ts +2 -2
  88. package/dist/esm/api/routes/manager/media/getMediaUrl.js +3 -3
  89. package/dist/esm/api/routes/manager/media/listFolders.d.ts +2 -2
  90. package/dist/esm/api/routes/manager/media/listFolders.js +4 -4
  91. package/dist/esm/api/routes/manager/media/prepareUpload.d.ts +2 -2
  92. package/dist/esm/api/routes/manager/media/prepareUpload.js +4 -4
  93. package/dist/esm/api/routes/manager/media/resolveMediaRecordUrls.js +1 -1
  94. package/dist/esm/api/routes/manager/media/uploadBinary.d.ts +1 -1
  95. package/dist/esm/api/routes/manager/media/uploadBinary.js +6 -6
  96. package/dist/esm/api/routes/manager/migrations/list.d.ts +2 -2
  97. package/dist/esm/api/routes/manager/migrations/list.js +2 -2
  98. package/dist/esm/api/routes/manager/permissions.d.ts +1 -1
  99. package/dist/esm/api/routes/manager/permissions.js +2 -2
  100. package/dist/esm/api/routes/manager/preview/create.d.ts +2 -2
  101. package/dist/esm/api/routes/manager/preview/create.js +13 -13
  102. package/dist/esm/api/routes/manager/regenerateRoutes.d.ts +1 -1
  103. package/dist/esm/api/routes/manager/regenerateRoutes.js +2 -2
  104. package/dist/esm/api/routes/manager/setDefaultLanguage.d.ts +2 -2
  105. package/dist/esm/api/routes/manager/setDefaultLanguage.js +4 -4
  106. package/dist/esm/api/routes/manager/translateDocument.d.ts +2 -2
  107. package/dist/esm/api/routes/manager/translateDocument.js +10 -10
  108. package/dist/esm/api/routes/manager/trash.d.ts +2 -2
  109. package/dist/esm/api/routes/manager/trash.js +6 -6
  110. package/dist/esm/api/routes/manager/update.d.ts +4 -4
  111. package/dist/esm/api/routes/manager/update.js +8 -8
  112. package/dist/esm/api/routes/manager/versions/get.d.ts +2 -2
  113. package/dist/esm/api/routes/manager/versions/get.js +2 -2
  114. package/dist/esm/api/routes/manager/versions/list.d.ts +2 -2
  115. package/dist/esm/api/routes/manager/versions/list.js +2 -2
  116. package/dist/esm/api/routes/manager/versions/restore.d.ts +2 -2
  117. package/dist/esm/api/routes/manager/versions/restore.js +4 -4
  118. package/dist/esm/api/routes/web/page.d.ts +4 -4
  119. package/dist/esm/api/routes/web/page.d.ts.map +1 -1
  120. package/dist/esm/api/routes/web/page.js +20 -17
  121. package/dist/esm/api/routes/web/page.js.map +1 -1
  122. package/dist/esm/api/routes/web/previewPage.d.ts +6 -6
  123. package/dist/esm/api/routes/web/previewPage.js +8 -8
  124. package/dist/esm/api/routes/web/robots.d.ts +1 -1
  125. package/dist/esm/api/routes/web/robots.js +2 -2
  126. package/dist/esm/api/routes/web/seo.d.ts +1 -1
  127. package/dist/esm/api/routes/web/sitemap.d.ts +1 -1
  128. package/dist/esm/api/routes/web/sitemap.js +3 -3
  129. package/dist/esm/api/sessionCookie.d.ts +1 -1
  130. package/dist/esm/api/utils/checkFailureCase.d.ts +1 -1
  131. package/dist/esm/api/utils/checkFailureCase.js +1 -1
  132. package/dist/esm/api/utils/checkOwnership.d.ts +2 -2
  133. package/dist/esm/api/utils/checkOwnership.js +4 -4
  134. package/dist/esm/api/utils/checkPermissions.d.ts +2 -2
  135. package/dist/esm/api/utils/checkPermissions.js +3 -3
  136. package/dist/esm/api/utils/getLanguages.d.ts +3 -3
  137. package/dist/esm/api/utils/getLanguages.js +2 -2
  138. package/dist/esm/api/utils/getLink.d.ts +2 -2
  139. package/dist/esm/api/utils/getLink.js +4 -4
  140. package/dist/esm/api/utils/getUser.d.ts +5 -5
  141. package/dist/esm/api/utils/getUser.js +4 -4
  142. package/dist/esm/api/utils/index.d.ts +23 -23
  143. package/dist/esm/api/utils/index.js +23 -23
  144. package/dist/esm/api/utils/parseId.d.ts +1 -1
  145. package/dist/esm/api/utils/parseId.js +1 -1
  146. package/dist/esm/api/utils/passwords.js +1 -1
  147. package/dist/esm/api/utils/populates/populateLinks.d.ts +2 -2
  148. package/dist/esm/api/utils/populates/populateLinks.js +4 -4
  149. package/dist/esm/api/utils/populates/populateRelations.d.ts +2 -2
  150. package/dist/esm/api/utils/populates/populateRelations.js +6 -6
  151. package/dist/esm/api/utils/redirects/resolveRedirect.js +2 -2
  152. package/dist/esm/api/utils/requireContentType.d.ts +1 -1
  153. package/dist/esm/api/utils/requireContentType.js +2 -2
  154. package/dist/esm/api/utils/routes/revalidatePath.js +5 -5
  155. package/dist/esm/api/utils/routes/routeDefinitions.d.ts +1 -1
  156. package/dist/esm/api/utils/routes/routeMapHelpers.d.ts +5 -5
  157. package/dist/esm/api/utils/routes/routeMapHelpers.js +7 -7
  158. package/dist/esm/api/utils/routes/syncConfiguredRoutes.d.ts +2 -2
  159. package/dist/esm/api/utils/routes/syncConfiguredRoutes.js +5 -5
  160. package/dist/esm/api/utils/routes/updateRoutesMap.d.ts +2 -2
  161. package/dist/esm/api/utils/routes/updateRoutesMap.js +4 -4
  162. package/dist/esm/api/utils/transformObjectIdsToStrings.js +1 -1
  163. package/dist/esm/api/utils/transformStringToObjectIds.js +1 -1
  164. package/dist/esm/api/utils/translate.d.ts +1 -1
  165. package/dist/esm/api/utils/translate.js +3 -3
  166. package/dist/esm/api/utils/validateModule.d.ts +1 -1
  167. package/dist/esm/api/utils/validateModule.js +2 -2
  168. package/dist/esm/bootstrapState.d.ts +9 -9
  169. package/dist/esm/client.d.ts +42 -42
  170. package/dist/esm/client.js +26 -26
  171. package/dist/esm/contracts.d.ts +38 -38
  172. package/dist/esm/contracts.js +38 -38
  173. package/dist/esm/index.d.ts +37 -37
  174. package/dist/esm/index.js +34 -34
  175. package/dist/esm/internal-content-types/Backup.d.ts +57 -57
  176. package/dist/esm/internal-content-types/Backup.js +2 -2
  177. package/dist/esm/internal-content-types/BackupDocument.d.ts +114 -114
  178. package/dist/esm/internal-content-types/BackupDocument.js +2 -2
  179. package/dist/esm/internal-content-types/ContentVersion.d.ts +139 -139
  180. package/dist/esm/internal-content-types/ContentVersion.js +2 -2
  181. package/dist/esm/internal-content-types/HelloWorld.d.ts +30 -30
  182. package/dist/esm/internal-content-types/HelloWorld.js +2 -2
  183. package/dist/esm/internal-content-types/Language.d.ts +39 -39
  184. package/dist/esm/internal-content-types/Language.js +2 -2
  185. package/dist/esm/internal-content-types/LiteralTranslation.d.ts +59 -59
  186. package/dist/esm/internal-content-types/LiteralTranslation.js +2 -2
  187. package/dist/esm/internal-content-types/ManagerRole.d.ts +31 -31
  188. package/dist/esm/internal-content-types/ManagerRole.js +3 -3
  189. package/dist/esm/internal-content-types/ManagerUser.d.ts +200 -200
  190. package/dist/esm/internal-content-types/ManagerUser.js +3 -3
  191. package/dist/esm/internal-content-types/Media.d.ts +261 -261
  192. package/dist/esm/internal-content-types/Media.js +3 -3
  193. package/dist/esm/internal-content-types/MediaFolder.d.ts +88 -88
  194. package/dist/esm/internal-content-types/MediaFolder.js +2 -2
  195. package/dist/esm/internal-content-types/MfaChallenge.d.ts +532 -532
  196. package/dist/esm/internal-content-types/MfaChallenge.js +3 -3
  197. package/dist/esm/internal-content-types/Migration.d.ts +133 -133
  198. package/dist/esm/internal-content-types/Migration.js +2 -2
  199. package/dist/esm/internal-content-types/MigrationLock.d.ts +16 -16
  200. package/dist/esm/internal-content-types/MigrationLock.js +2 -2
  201. package/dist/esm/internal-content-types/Page.d.ts +1267 -1267
  202. package/dist/esm/internal-content-types/Page.js +4 -4
  203. package/dist/esm/internal-content-types/PreviewSnapshot.d.ts +213 -213
  204. package/dist/esm/internal-content-types/PreviewSnapshot.js +2 -2
  205. package/dist/esm/internal-content-types/Redirect.d.ts +146 -146
  206. package/dist/esm/internal-content-types/Redirect.js +2 -2
  207. package/dist/esm/internal-content-types/RobotsRule.d.ts +103 -103
  208. package/dist/esm/internal-content-types/RobotsRule.js +2 -2
  209. package/dist/esm/internal-content-types/Route.d.ts +151 -151
  210. package/dist/esm/internal-content-types/Route.js +2 -2
  211. package/dist/esm/internal-content-types/RouteLayoutModule.d.ts +164 -164
  212. package/dist/esm/internal-content-types/RouteLayoutModule.js +2 -2
  213. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.d.ts +143 -143
  214. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.js +2 -2
  215. package/dist/esm/internal-content-types/RouteMap.d.ts +143 -143
  216. package/dist/esm/internal-content-types/RouteMap.js +2 -2
  217. package/dist/esm/internal-content-types/RouteSettings.d.ts +1298 -1298
  218. package/dist/esm/internal-content-types/RouteSettings.js +3 -3
  219. package/dist/esm/internal-content-types/SchemaState.d.ts +65 -65
  220. package/dist/esm/internal-content-types/SchemaState.js +2 -2
  221. package/dist/esm/internal-content-types/Seo.d.ts +430 -430
  222. package/dist/esm/internal-content-types/Seo.js +2 -2
  223. package/dist/esm/internal-content-types/SeoSettings.d.ts +491 -491
  224. package/dist/esm/internal-content-types/SeoSettings.js +3 -3
  225. package/dist/esm/internal-content-types/Session.d.ts +495 -495
  226. package/dist/esm/internal-content-types/Session.js +3 -3
  227. package/dist/esm/internal-content-types/UserMfa.d.ts +464 -464
  228. package/dist/esm/internal-content-types/UserMfa.js +3 -3
  229. package/dist/esm/internal-content-types/WebAuthnCredential.d.ts +586 -586
  230. package/dist/esm/internal-content-types/WebAuthnCredential.js +3 -3
  231. package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts +524 -524
  232. package/dist/esm/internal-content-types/WebAuthnRegChallenge.js +3 -3
  233. package/dist/esm/internal-content-types/index.d.ts +29 -29
  234. package/dist/esm/internal-content-types/index.js +29 -29
  235. package/dist/esm/lib/ContentType.d.ts +2 -2
  236. package/dist/esm/lib/ContentType.js +1 -1
  237. package/dist/esm/lib/Permissions.d.ts +1 -1
  238. package/dist/esm/lib/Registry.d.ts +4 -4
  239. package/dist/esm/lib/Registry.js +1 -1
  240. package/dist/esm/lib/errors/AppError.d.ts +1 -1
  241. package/dist/esm/lib/errors/AppError.js +1 -1
  242. package/dist/esm/lib/errors/index.d.ts +4 -4
  243. package/dist/esm/lib/errors/index.js +3 -3
  244. package/dist/esm/lib/errors/throwAppError.d.ts +1 -1
  245. package/dist/esm/lib/errors/throwAppError.js +3 -3
  246. package/dist/esm/lib/fields/Boolean.d.ts +1 -1
  247. package/dist/esm/lib/fields/Boolean.js +1 -1
  248. package/dist/esm/lib/fields/ContentReference.d.ts +2 -2
  249. package/dist/esm/lib/fields/ContentReference.js +2 -2
  250. package/dist/esm/lib/fields/Date.d.ts +1 -1
  251. package/dist/esm/lib/fields/Date.js +1 -1
  252. package/dist/esm/lib/fields/Field.d.ts +12 -12
  253. package/dist/esm/lib/fields/Fields.d.ts +13 -13
  254. package/dist/esm/lib/fields/Fields.js +13 -13
  255. package/dist/esm/lib/fields/File.d.ts +1 -1
  256. package/dist/esm/lib/fields/File.js +2 -2
  257. package/dist/esm/lib/fields/Iterator.d.ts +2 -2
  258. package/dist/esm/lib/fields/Iterator.js +3 -3
  259. package/dist/esm/lib/fields/Link.d.ts +1 -1
  260. package/dist/esm/lib/fields/Link.js +2 -2
  261. package/dist/esm/lib/fields/List.d.ts +1 -1
  262. package/dist/esm/lib/fields/List.js +1 -1
  263. package/dist/esm/lib/fields/Number.d.ts +1 -1
  264. package/dist/esm/lib/fields/Number.js +1 -1
  265. package/dist/esm/lib/fields/Relation.d.ts +3 -3
  266. package/dist/esm/lib/fields/Relation.js +3 -3
  267. package/dist/esm/lib/fields/Select.d.ts +1 -1
  268. package/dist/esm/lib/fields/Select.js +1 -1
  269. package/dist/esm/lib/fields/SelfRelation.d.ts +1 -1
  270. package/dist/esm/lib/fields/SelfRelation.js +2 -2
  271. package/dist/esm/lib/fields/SimpleList.d.ts +1 -1
  272. package/dist/esm/lib/fields/SimpleList.js +1 -1
  273. package/dist/esm/lib/fields/String.d.ts +1 -1
  274. package/dist/esm/lib/fields/String.js +3 -3
  275. package/dist/esm/lib/fields/index.d.ts +15 -15
  276. package/dist/esm/lib/fields/index.js +15 -15
  277. package/dist/esm/lib/types/index.d.ts +2 -2
  278. package/dist/esm/lib/utils/getListField.d.ts +1 -1
  279. package/dist/esm/lib/utils/getSchemas.d.ts +1 -1
  280. package/dist/esm/lib/utils/getTranslation.d.ts +2 -2
  281. package/dist/esm/lib/utils/getTranslation.js +1 -1
  282. package/dist/esm/lib/utils/isTranslatableObject.d.ts +1 -1
  283. package/dist/esm/lib/utils/translateObject.d.ts +2 -2
  284. package/dist/esm/lib/utils/translateObject.js +3 -3
  285. package/dist/esm/literals/definitions.d.ts +1 -1
  286. package/dist/esm/literals/definitions.js +1 -1
  287. package/dist/esm/literals/index.d.ts +3 -3
  288. package/dist/esm/literals/index.js +3 -3
  289. package/dist/esm/literals/manager.d.ts +1 -1
  290. package/dist/esm/literals/manager.js +1 -1
  291. package/dist/esm/manager.d.ts +264 -264
  292. package/dist/esm/manager.js +2 -2
  293. package/dist/esm/media/imageOptimization.d.ts +1 -1
  294. package/dist/esm/media/imageOptimization.js +2 -2
  295. package/dist/esm/media/index.d.ts +4 -4
  296. package/dist/esm/media/index.js +3 -3
  297. package/dist/esm/media/mediaService.d.ts +1 -1
  298. package/dist/esm/orm/backups.js +5 -5
  299. package/dist/esm/orm/createIndexes.js +2 -2
  300. package/dist/esm/orm/database.js +3 -3
  301. package/dist/esm/orm/dbService.d.ts +6 -6
  302. package/dist/esm/orm/index.d.ts +2 -2
  303. package/dist/esm/orm/index.js +16 -16
  304. package/dist/esm/orm/migrations.d.ts +1 -1
  305. package/dist/esm/orm/migrations.js +4 -4
  306. package/dist/esm/orm/mongodbPeer.js +1 -1
  307. package/dist/esm/orm/operations/clear.d.ts +1 -1
  308. package/dist/esm/orm/operations/clear.js +1 -1
  309. package/dist/esm/orm/operations/create.d.ts +3 -3
  310. package/dist/esm/orm/operations/create.js +5 -5
  311. package/dist/esm/orm/operations/delete.d.ts +3 -3
  312. package/dist/esm/orm/operations/delete.js +3 -3
  313. package/dist/esm/orm/operations/find.d.ts +2 -2
  314. package/dist/esm/orm/operations/find.js +3 -3
  315. package/dist/esm/orm/operations/findDependencies.d.ts +2 -2
  316. package/dist/esm/orm/operations/findDependencies.js +4 -4
  317. package/dist/esm/orm/operations/get.d.ts +3 -3
  318. package/dist/esm/orm/operations/get.js +3 -3
  319. package/dist/esm/orm/operations/getAll.d.ts +2 -2
  320. package/dist/esm/orm/operations/getAll.js +2 -2
  321. package/dist/esm/orm/operations/list.d.ts +2 -2
  322. package/dist/esm/orm/operations/list.js +3 -3
  323. package/dist/esm/orm/operations/update.d.ts +4 -4
  324. package/dist/esm/orm/operations/update.js +6 -6
  325. package/dist/esm/orm/operations/updateMany.d.ts +3 -3
  326. package/dist/esm/orm/operations/updateMany.js +3 -3
  327. package/dist/esm/orm/operations/upsert.d.ts +3 -3
  328. package/dist/esm/orm/operations/upsert.js +4 -4
  329. package/dist/esm/orm/utils/deepDeleteNulls.js +1 -1
  330. package/dist/esm/orm/utils/parseId.d.ts +1 -1
  331. package/dist/esm/orm/utils/parseId.js +1 -1
  332. package/dist/esm/orm/utils/transformObjectIdsToStrings.js +1 -1
  333. package/dist/esm/orm/utils/transformStringToObjectIds.js +1 -1
  334. package/dist/esm/orm/versions.d.ts +1 -1
  335. package/dist/esm/orm/versions.js +7 -7
  336. package/dist/esm/schemas/manager/literals/upsert.js +1 -1
  337. package/dist/esm/schemas/manager/media/finalizeUpload.js +1 -1
  338. package/dist/esm/schemas/manager/media/getMediaUrl.js +1 -1
  339. package/dist/esm/schemas/manager/media/listFolders.js +1 -1
  340. package/dist/esm/schemas/web/page.d.ts +28 -28
  341. package/dist/esm/schemas/web/page.js +1 -1
  342. package/dist/esm/schemas/web/previewPage.d.ts +20 -20
  343. package/dist/esm/schemas/web/previewPage.js +1 -1
  344. package/dist/esm/translation/document.d.ts +3 -3
  345. package/dist/esm/translation/index.d.ts +4 -4
  346. package/dist/esm/translation/index.js +3 -3
  347. package/dist/esm/translation/translationService.d.ts +1 -1
  348. package/dist/esm/web/client.d.ts +1 -1
  349. package/dist/esm/web/client.js +1 -1
  350. package/dist/esm/web/index.d.ts +2 -2
  351. package/dist/esm/web/index.js +2 -2
  352. package/dist/esm/web/page.d.ts +1 -1
  353. package/dist/tsconfig.build.tsbuildinfo +1 -1
  354. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { type AnyRakunOperationContract, type RakunOperationHttpMethod, type RakunOperationKind } from "./api/operations/types";
2
- import { createManagerOperationContracts } from "./api/operations/manager-contract";
1
+ import { type AnyRakunOperationContract, type RakunOperationHttpMethod, type RakunOperationKind } from "./api/operations/types.js";
2
+ import { createManagerOperationContracts } from "./api/operations/manager-contract.js";
3
3
  export type ManagerOperationContracts = ReturnType<typeof createManagerOperationContracts>;
4
4
  export type ManagerOperationDefinitions = ManagerOperationContracts;
5
5
  export type ManagerOperationName = keyof ManagerOperationContracts & string;
@@ -30,7 +30,7 @@ export type ManagerOperationMeta = {
30
30
  };
31
31
  export declare const toManagerOperationPath: (name: string) => string;
32
32
  declare const managerOperationContracts: {
33
- "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
33
+ "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
34
34
  name: string;
35
35
  fields: Record<string, unknown>;
36
36
  uniques: string[][];
@@ -52,51 +52,51 @@ declare const managerOperationContracts: {
52
52
  }[] | undefined;
53
53
  isInternal?: boolean | undefined;
54
54
  }[], "query", "get", "auth">;
55
- "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
55
+ "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
56
56
  code: string;
57
57
  name: string;
58
58
  default: boolean;
59
59
  _type: "Language";
60
60
  _id: string;
61
- parent?: import("./client").SelfRelationValue<string> | undefined;
61
+ parent?: import("./client.js").SelfRelationValue<string> | undefined;
62
62
  _schemaVersion?: number | undefined;
63
- _visibility?: import("./client").DocumentVisibility | undefined;
64
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
63
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
64
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
65
65
  _trashed?: boolean | undefined;
66
66
  _revision?: number | undefined;
67
67
  trashedAt?: Date | undefined;
68
68
  createdAt?: Date | undefined;
69
69
  updatedAt?: Date | undefined;
70
70
  }[], "query", "get", "auth">;
71
- "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
71
+ "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
72
72
  ok: boolean;
73
73
  }, "mutation", "post", "auth">;
74
- "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
74
+ "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
75
75
  contentType: string;
76
76
  data: any;
77
77
  }, any, "mutation", "post", "auth">;
78
- "manager.duplicate": import("./api/operations/types").RakunOperationContractWithInput<{
78
+ "manager.duplicate": import("./api/operations/types.js").RakunOperationContractWithInput<{
79
79
  contentType: string;
80
80
  id: string;
81
81
  }, any, "mutation", "post", "auth">;
82
- "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
82
+ "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
83
83
  contentType: string;
84
84
  id: string;
85
85
  data: any;
86
86
  }, any, "mutation", "post", "auth">;
87
- "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
87
+ "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
88
88
  contentType: string;
89
89
  id: string;
90
90
  }, any, "mutation", "post", "auth">;
91
- "manager.trash": import("./api/operations/types").RakunOperationContractWithInput<{
91
+ "manager.trash": import("./api/operations/types.js").RakunOperationContractWithInput<{
92
92
  contentType: string;
93
93
  id: string;
94
94
  }, any, "mutation", "post", "auth">;
95
- "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
95
+ "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
96
96
  contentType: string;
97
97
  id: string;
98
98
  }, any, "query", "post", "auth">;
99
- "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
99
+ "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
100
100
  contentType: string;
101
101
  query: {
102
102
  filter?: Record<string, any> | undefined;
@@ -114,13 +114,13 @@ declare const managerOperationContracts: {
114
114
  _id: string;
115
115
  }[];
116
116
  }, "query", "post", "auth">;
117
- "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
117
+ "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
118
118
  language: string;
119
119
  }, {
120
120
  ok: boolean;
121
121
  }, "mutation", "post", "auth">;
122
- "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
123
- "manager.backups.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
122
+ "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
123
+ "manager.backups.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
124
124
  _id: string;
125
125
  contentTypes: string[];
126
126
  createdAt: string | Date;
@@ -130,7 +130,7 @@ declare const managerOperationContracts: {
130
130
  createdBy?: string | undefined;
131
131
  error?: string | undefined;
132
132
  }[], "query", "get", "auth">;
133
- "manager.backups.create": import("./api/operations/types").RakunOperationContractWithInput<{
133
+ "manager.backups.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
134
134
  contentTypes?: string[] | undefined;
135
135
  reason?: string | undefined;
136
136
  }, {
@@ -143,7 +143,7 @@ declare const managerOperationContracts: {
143
143
  createdBy?: string | undefined;
144
144
  error?: string | undefined;
145
145
  }, "mutation", "post", "auth">;
146
- "manager.backups.restore": import("./api/operations/types").RakunOperationContractWithInput<{
146
+ "manager.backups.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
147
147
  backupId: string;
148
148
  reason?: string | undefined;
149
149
  }, {
@@ -169,7 +169,7 @@ declare const managerOperationContracts: {
169
169
  };
170
170
  restoredCount: number;
171
171
  }, "mutation", "post", "auth">;
172
- "manager.migrations.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
172
+ "manager.migrations.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
173
173
  states: {
174
174
  _id: string;
175
175
  contentType: string;
@@ -198,7 +198,7 @@ declare const managerOperationContracts: {
198
198
  description?: string | undefined;
199
199
  }[];
200
200
  }, "query", "get", "auth">;
201
- "manager.versions.list": import("./api/operations/types").RakunOperationContractWithInput<{
201
+ "manager.versions.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
202
202
  contentType: string;
203
203
  documentId: string;
204
204
  }, {
@@ -229,7 +229,7 @@ declare const managerOperationContracts: {
229
229
  reason?: string | undefined;
230
230
  schemaVersion?: number | undefined;
231
231
  }[], "query", "post", "auth">;
232
- "manager.versions.get": import("./api/operations/types").RakunOperationContractWithInput<{
232
+ "manager.versions.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
233
233
  versionId: string;
234
234
  }, {
235
235
  _id: string;
@@ -259,7 +259,7 @@ declare const managerOperationContracts: {
259
259
  reason?: string | undefined;
260
260
  schemaVersion?: number | undefined;
261
261
  } | null, "query", "post", "auth">;
262
- "manager.versions.restore": import("./api/operations/types").RakunOperationContractWithInput<{
262
+ "manager.versions.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
263
263
  versionId: string;
264
264
  reason?: string | undefined;
265
265
  }, {
@@ -293,7 +293,7 @@ declare const managerOperationContracts: {
293
293
  };
294
294
  restored: Record<string, unknown>;
295
295
  }, "mutation", "post", "auth">;
296
- "manager.translateDocument": import("./api/operations/types").RakunOperationContractWithInput<{
296
+ "manager.translateDocument": import("./api/operations/types.js").RakunOperationContractWithInput<{
297
297
  contentType: string;
298
298
  id: string;
299
299
  from: string;
@@ -310,7 +310,7 @@ declare const managerOperationContracts: {
310
310
  translatedFields: string[];
311
311
  };
312
312
  }, "mutation", "post", "auth">;
313
- "manager.preview.create": import("./api/operations/types").RakunOperationContractWithInput<{
313
+ "manager.preview.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
314
314
  contentType: string;
315
315
  data: Record<string, any>;
316
316
  documentId?: string | undefined;
@@ -321,7 +321,7 @@ declare const managerOperationContracts: {
321
321
  path: string;
322
322
  expiresAt: string;
323
323
  }, "mutation", "post", "auth">;
324
- "manager.apiOperations": import("./api/operations/types").RakunOperationContractWithoutInput<{
324
+ "manager.apiOperations": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
325
325
  name: string;
326
326
  path: string;
327
327
  kind: "query" | "mutation";
@@ -331,7 +331,7 @@ declare const managerOperationContracts: {
331
331
  description?: string | undefined;
332
332
  input?: Record<string, unknown> | undefined;
333
333
  }[], "query", "get", "auth">;
334
- "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
334
+ "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
335
335
  fileName: string;
336
336
  mime: string;
337
337
  size: number;
@@ -345,7 +345,7 @@ declare const managerOperationContracts: {
345
345
  access: "public" | "private";
346
346
  headers?: Record<string, string> | undefined;
347
347
  }, "mutation", "post", "auth">;
348
- "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
348
+ "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
349
349
  key: string;
350
350
  access?: "public" | "private" | undefined;
351
351
  fileName?: string | undefined;
@@ -430,7 +430,7 @@ declare const managerOperationContracts: {
430
430
  path: string;
431
431
  } | undefined;
432
432
  }, "mutation", "post", "auth">;
433
- "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
433
+ "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
434
434
  key: string;
435
435
  access?: "public" | "private" | undefined;
436
436
  expiresInSeconds?: number | undefined;
@@ -441,7 +441,7 @@ declare const managerOperationContracts: {
441
441
  expiresAt: Date | null;
442
442
  isPublic: boolean;
443
443
  }, "query", "post", "auth">;
444
- "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
444
+ "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
445
445
  name: string;
446
446
  parentId?: string | undefined;
447
447
  description?: string | undefined;
@@ -453,7 +453,7 @@ declare const managerOperationContracts: {
453
453
  parentId?: string | undefined;
454
454
  description?: string | undefined;
455
455
  }, "mutation", "post", "auth">;
456
- "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
456
+ "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
457
457
  parentId?: string | undefined;
458
458
  }, {
459
459
  items: {
@@ -465,7 +465,7 @@ declare const managerOperationContracts: {
465
465
  description?: string | undefined;
466
466
  }[];
467
467
  }, "query", "post", "auth">;
468
- "manager.media.deleteFolder": import("./api/operations/types").RakunOperationContractWithInput<{
468
+ "manager.media.deleteFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
469
469
  id: string;
470
470
  recursive: true;
471
471
  }, {
@@ -473,7 +473,7 @@ declare const managerOperationContracts: {
473
473
  deletedFolders: number;
474
474
  deletedMedia: number;
475
475
  }, "mutation", "post", "auth">;
476
- "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
476
+ "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
477
477
  locale?: string | undefined;
478
478
  }, {
479
479
  defaultLocale: string;
@@ -502,7 +502,7 @@ declare const managerOperationContracts: {
502
502
  translation?: string | undefined;
503
503
  }[];
504
504
  }, "query", "post", "auth">;
505
- "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
505
+ "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
506
506
  key: string;
507
507
  locale: string;
508
508
  message: string;
@@ -518,13 +518,13 @@ declare const managerOperationContracts: {
518
518
  extra: string[];
519
519
  };
520
520
  }, "mutation", "post", "auth">;
521
- "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
521
+ "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
522
522
  currentPassword: string;
523
523
  newPassword: string;
524
524
  }, {
525
525
  ok: boolean;
526
526
  }, "mutation", "post", "auth">;
527
- "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
527
+ "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
528
528
  username: string;
529
529
  password: string;
530
530
  }, {
@@ -534,10 +534,10 @@ declare const managerOperationContracts: {
534
534
  expiresAt: string;
535
535
  method: string;
536
536
  }, "mutation", "post", "public">;
537
- "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
537
+ "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
538
538
  token: string;
539
539
  }, "mutation", "post", "auth">;
540
- "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
540
+ "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
541
541
  user: string;
542
542
  email: string;
543
543
  role: {
@@ -546,8 +546,8 @@ declare const managerOperationContracts: {
546
546
  _type: "ManagerRole";
547
547
  _id: string;
548
548
  _schemaVersion?: number | undefined;
549
- _visibility?: import("./client").DocumentVisibility | undefined;
550
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
549
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
550
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
551
551
  _trashed?: boolean | undefined;
552
552
  _revision?: number | undefined;
553
553
  trashedAt?: Date | undefined;
@@ -566,15 +566,15 @@ declare const managerOperationContracts: {
566
566
  tutorialsPromptedAt?: Date | undefined;
567
567
  seenTours?: (string | undefined)[] | undefined;
568
568
  _schemaVersion?: number | undefined;
569
- _visibility?: import("./client").DocumentVisibility | undefined;
570
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
569
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
570
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
571
571
  _trashed?: boolean | undefined;
572
572
  _revision?: number | undefined;
573
573
  trashedAt?: Date | undefined;
574
574
  createdAt?: Date | undefined;
575
575
  updatedAt?: Date | undefined;
576
576
  } | null, "query", "get", "public">;
577
- "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
577
+ "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
578
578
  has2FA: boolean;
579
579
  enabled2FA: boolean;
580
580
  method2FA: "totp" | "webauthn";
@@ -585,7 +585,7 @@ declare const managerOperationContracts: {
585
585
  }[];
586
586
  currentSession: string;
587
587
  }, "query", "get", "auth">;
588
- "manager.auth.updateAccount": import("./api/operations/types").RakunOperationContractWithInput<{
588
+ "manager.auth.updateAccount": import("./api/operations/types.js").RakunOperationContractWithInput<{
589
589
  user: string;
590
590
  avatarId?: string | null | undefined;
591
591
  }, {
@@ -597,8 +597,8 @@ declare const managerOperationContracts: {
597
597
  _type: "ManagerRole";
598
598
  _id: string;
599
599
  _schemaVersion?: number | undefined;
600
- _visibility?: import("./client").DocumentVisibility | undefined;
601
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
600
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
601
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
602
602
  _trashed?: boolean | undefined;
603
603
  _revision?: number | undefined;
604
604
  trashedAt?: Date | undefined;
@@ -617,15 +617,15 @@ declare const managerOperationContracts: {
617
617
  tutorialsPromptedAt?: Date | undefined;
618
618
  seenTours?: (string | undefined)[] | undefined;
619
619
  _schemaVersion?: number | undefined;
620
- _visibility?: import("./client").DocumentVisibility | undefined;
621
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
620
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
621
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
622
622
  _trashed?: boolean | undefined;
623
623
  _revision?: number | undefined;
624
624
  trashedAt?: Date | undefined;
625
625
  createdAt?: Date | undefined;
626
626
  updatedAt?: Date | undefined;
627
627
  }, "mutation", "post", "auth">;
628
- "manager.auth.updateTutorialPreferences": import("./api/operations/types").RakunOperationContractWithInput<{
628
+ "manager.auth.updateTutorialPreferences": import("./api/operations/types.js").RakunOperationContractWithInput<{
629
629
  enabled: boolean;
630
630
  }, {
631
631
  user: string;
@@ -636,8 +636,8 @@ declare const managerOperationContracts: {
636
636
  _type: "ManagerRole";
637
637
  _id: string;
638
638
  _schemaVersion?: number | undefined;
639
- _visibility?: import("./client").DocumentVisibility | undefined;
640
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
639
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
640
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
641
641
  _trashed?: boolean | undefined;
642
642
  _revision?: number | undefined;
643
643
  trashedAt?: Date | undefined;
@@ -656,15 +656,15 @@ declare const managerOperationContracts: {
656
656
  tutorialsPromptedAt?: Date | undefined;
657
657
  seenTours?: (string | undefined)[] | undefined;
658
658
  _schemaVersion?: number | undefined;
659
- _visibility?: import("./client").DocumentVisibility | undefined;
660
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
659
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
660
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
661
661
  _trashed?: boolean | undefined;
662
662
  _revision?: number | undefined;
663
663
  trashedAt?: Date | undefined;
664
664
  createdAt?: Date | undefined;
665
665
  updatedAt?: Date | undefined;
666
666
  }, "mutation", "post", "auth">;
667
- "manager.auth.markTourSeen": import("./api/operations/types").RakunOperationContractWithInput<{
667
+ "manager.auth.markTourSeen": import("./api/operations/types.js").RakunOperationContractWithInput<{
668
668
  tourId: string;
669
669
  }, {
670
670
  user: string;
@@ -675,8 +675,8 @@ declare const managerOperationContracts: {
675
675
  _type: "ManagerRole";
676
676
  _id: string;
677
677
  _schemaVersion?: number | undefined;
678
- _visibility?: import("./client").DocumentVisibility | undefined;
679
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
678
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
679
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
680
680
  _trashed?: boolean | undefined;
681
681
  _revision?: number | undefined;
682
682
  trashedAt?: Date | undefined;
@@ -695,29 +695,29 @@ declare const managerOperationContracts: {
695
695
  tutorialsPromptedAt?: Date | undefined;
696
696
  seenTours?: (string | undefined)[] | undefined;
697
697
  _schemaVersion?: number | undefined;
698
- _visibility?: import("./client").DocumentVisibility | undefined;
699
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
698
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
699
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
700
700
  _trashed?: boolean | undefined;
701
701
  _revision?: number | undefined;
702
702
  trashedAt?: Date | undefined;
703
703
  createdAt?: Date | undefined;
704
704
  updatedAt?: Date | undefined;
705
705
  }, "mutation", "post", "auth">;
706
- "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
706
+ "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
707
707
  token: string;
708
708
  }, {
709
709
  ok: boolean;
710
710
  }, "mutation", "post", "auth">;
711
- "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
711
+ "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
712
712
  qrDataURL: string;
713
713
  otpauthURL: string;
714
714
  }, "query", "get", "auth">;
715
- "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
715
+ "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
716
716
  code: string;
717
717
  }, {
718
718
  ok: boolean;
719
719
  }, "mutation", "post", "auth">;
720
- "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
720
+ "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
721
721
  code: string;
722
722
  challenge: string;
723
723
  }, {
@@ -725,25 +725,25 @@ declare const managerOperationContracts: {
725
725
  } | {
726
726
  error: string;
727
727
  }, "mutation", "post", "public">;
728
- "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
728
+ "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
729
729
  deviceName: string;
730
730
  }, {
731
731
  token: string;
732
732
  options: any;
733
733
  }, "query", "post", "auth">;
734
- "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
734
+ "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
735
735
  token: string;
736
736
  deviceName: string;
737
737
  response: any;
738
738
  }, {
739
739
  ok: boolean;
740
740
  }, "mutation", "post", "auth">;
741
- "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
741
+ "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
742
742
  challengeToken: string;
743
743
  }, {
744
744
  options: any;
745
745
  }, "query", "post", "public">;
746
- "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
746
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
747
747
  challengeToken: string;
748
748
  response: any;
749
749
  }, {
@@ -751,8 +751,8 @@ declare const managerOperationContracts: {
751
751
  }, "mutation", "post", "public">;
752
752
  };
753
753
  export { managerOperationContracts };
754
- export declare const managerOperationManifest: import(".").RakunOperationManifestFromContracts<{
755
- "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
754
+ export declare const managerOperationManifest: import("./index.js").RakunOperationManifestFromContracts<{
755
+ "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
756
756
  name: string;
757
757
  fields: Record<string, unknown>;
758
758
  uniques: string[][];
@@ -774,51 +774,51 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
774
774
  }[] | undefined;
775
775
  isInternal?: boolean | undefined;
776
776
  }[], "query", "get", "auth">;
777
- "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
777
+ "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
778
778
  code: string;
779
779
  name: string;
780
780
  default: boolean;
781
781
  _type: "Language";
782
782
  _id: string;
783
- parent?: import("./client").SelfRelationValue<string> | undefined;
783
+ parent?: import("./client.js").SelfRelationValue<string> | undefined;
784
784
  _schemaVersion?: number | undefined;
785
- _visibility?: import("./client").DocumentVisibility | undefined;
786
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
785
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
786
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
787
787
  _trashed?: boolean | undefined;
788
788
  _revision?: number | undefined;
789
789
  trashedAt?: Date | undefined;
790
790
  createdAt?: Date | undefined;
791
791
  updatedAt?: Date | undefined;
792
792
  }[], "query", "get", "auth">;
793
- "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
793
+ "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
794
794
  ok: boolean;
795
795
  }, "mutation", "post", "auth">;
796
- "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
796
+ "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
797
797
  contentType: string;
798
798
  data: any;
799
799
  }, any, "mutation", "post", "auth">;
800
- "manager.duplicate": import("./api/operations/types").RakunOperationContractWithInput<{
800
+ "manager.duplicate": import("./api/operations/types.js").RakunOperationContractWithInput<{
801
801
  contentType: string;
802
802
  id: string;
803
803
  }, any, "mutation", "post", "auth">;
804
- "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
804
+ "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
805
805
  contentType: string;
806
806
  id: string;
807
807
  data: any;
808
808
  }, any, "mutation", "post", "auth">;
809
- "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
809
+ "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
810
810
  contentType: string;
811
811
  id: string;
812
812
  }, any, "mutation", "post", "auth">;
813
- "manager.trash": import("./api/operations/types").RakunOperationContractWithInput<{
813
+ "manager.trash": import("./api/operations/types.js").RakunOperationContractWithInput<{
814
814
  contentType: string;
815
815
  id: string;
816
816
  }, any, "mutation", "post", "auth">;
817
- "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
817
+ "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
818
818
  contentType: string;
819
819
  id: string;
820
820
  }, any, "query", "post", "auth">;
821
- "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
821
+ "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
822
822
  contentType: string;
823
823
  query: {
824
824
  filter?: Record<string, any> | undefined;
@@ -836,13 +836,13 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
836
836
  _id: string;
837
837
  }[];
838
838
  }, "query", "post", "auth">;
839
- "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
839
+ "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
840
840
  language: string;
841
841
  }, {
842
842
  ok: boolean;
843
843
  }, "mutation", "post", "auth">;
844
- "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
845
- "manager.backups.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
844
+ "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
845
+ "manager.backups.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
846
846
  _id: string;
847
847
  contentTypes: string[];
848
848
  createdAt: string | Date;
@@ -852,7 +852,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
852
852
  createdBy?: string | undefined;
853
853
  error?: string | undefined;
854
854
  }[], "query", "get", "auth">;
855
- "manager.backups.create": import("./api/operations/types").RakunOperationContractWithInput<{
855
+ "manager.backups.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
856
856
  contentTypes?: string[] | undefined;
857
857
  reason?: string | undefined;
858
858
  }, {
@@ -865,7 +865,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
865
865
  createdBy?: string | undefined;
866
866
  error?: string | undefined;
867
867
  }, "mutation", "post", "auth">;
868
- "manager.backups.restore": import("./api/operations/types").RakunOperationContractWithInput<{
868
+ "manager.backups.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
869
869
  backupId: string;
870
870
  reason?: string | undefined;
871
871
  }, {
@@ -891,7 +891,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
891
891
  };
892
892
  restoredCount: number;
893
893
  }, "mutation", "post", "auth">;
894
- "manager.migrations.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
894
+ "manager.migrations.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
895
895
  states: {
896
896
  _id: string;
897
897
  contentType: string;
@@ -920,7 +920,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
920
920
  description?: string | undefined;
921
921
  }[];
922
922
  }, "query", "get", "auth">;
923
- "manager.versions.list": import("./api/operations/types").RakunOperationContractWithInput<{
923
+ "manager.versions.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
924
924
  contentType: string;
925
925
  documentId: string;
926
926
  }, {
@@ -951,7 +951,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
951
951
  reason?: string | undefined;
952
952
  schemaVersion?: number | undefined;
953
953
  }[], "query", "post", "auth">;
954
- "manager.versions.get": import("./api/operations/types").RakunOperationContractWithInput<{
954
+ "manager.versions.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
955
955
  versionId: string;
956
956
  }, {
957
957
  _id: string;
@@ -981,7 +981,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
981
981
  reason?: string | undefined;
982
982
  schemaVersion?: number | undefined;
983
983
  } | null, "query", "post", "auth">;
984
- "manager.versions.restore": import("./api/operations/types").RakunOperationContractWithInput<{
984
+ "manager.versions.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
985
985
  versionId: string;
986
986
  reason?: string | undefined;
987
987
  }, {
@@ -1015,7 +1015,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1015
1015
  };
1016
1016
  restored: Record<string, unknown>;
1017
1017
  }, "mutation", "post", "auth">;
1018
- "manager.translateDocument": import("./api/operations/types").RakunOperationContractWithInput<{
1018
+ "manager.translateDocument": import("./api/operations/types.js").RakunOperationContractWithInput<{
1019
1019
  contentType: string;
1020
1020
  id: string;
1021
1021
  from: string;
@@ -1032,7 +1032,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1032
1032
  translatedFields: string[];
1033
1033
  };
1034
1034
  }, "mutation", "post", "auth">;
1035
- "manager.preview.create": import("./api/operations/types").RakunOperationContractWithInput<{
1035
+ "manager.preview.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
1036
1036
  contentType: string;
1037
1037
  data: Record<string, any>;
1038
1038
  documentId?: string | undefined;
@@ -1043,7 +1043,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1043
1043
  path: string;
1044
1044
  expiresAt: string;
1045
1045
  }, "mutation", "post", "auth">;
1046
- "manager.apiOperations": import("./api/operations/types").RakunOperationContractWithoutInput<{
1046
+ "manager.apiOperations": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1047
1047
  name: string;
1048
1048
  path: string;
1049
1049
  kind: "query" | "mutation";
@@ -1053,7 +1053,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1053
1053
  description?: string | undefined;
1054
1054
  input?: Record<string, unknown> | undefined;
1055
1055
  }[], "query", "get", "auth">;
1056
- "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
1056
+ "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
1057
1057
  fileName: string;
1058
1058
  mime: string;
1059
1059
  size: number;
@@ -1067,7 +1067,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1067
1067
  access: "public" | "private";
1068
1068
  headers?: Record<string, string> | undefined;
1069
1069
  }, "mutation", "post", "auth">;
1070
- "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
1070
+ "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
1071
1071
  key: string;
1072
1072
  access?: "public" | "private" | undefined;
1073
1073
  fileName?: string | undefined;
@@ -1152,7 +1152,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1152
1152
  path: string;
1153
1153
  } | undefined;
1154
1154
  }, "mutation", "post", "auth">;
1155
- "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
1155
+ "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
1156
1156
  key: string;
1157
1157
  access?: "public" | "private" | undefined;
1158
1158
  expiresInSeconds?: number | undefined;
@@ -1163,7 +1163,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1163
1163
  expiresAt: Date | null;
1164
1164
  isPublic: boolean;
1165
1165
  }, "query", "post", "auth">;
1166
- "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
1166
+ "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
1167
1167
  name: string;
1168
1168
  parentId?: string | undefined;
1169
1169
  description?: string | undefined;
@@ -1175,7 +1175,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1175
1175
  parentId?: string | undefined;
1176
1176
  description?: string | undefined;
1177
1177
  }, "mutation", "post", "auth">;
1178
- "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
1178
+ "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
1179
1179
  parentId?: string | undefined;
1180
1180
  }, {
1181
1181
  items: {
@@ -1187,7 +1187,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1187
1187
  description?: string | undefined;
1188
1188
  }[];
1189
1189
  }, "query", "post", "auth">;
1190
- "manager.media.deleteFolder": import("./api/operations/types").RakunOperationContractWithInput<{
1190
+ "manager.media.deleteFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
1191
1191
  id: string;
1192
1192
  recursive: true;
1193
1193
  }, {
@@ -1195,7 +1195,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1195
1195
  deletedFolders: number;
1196
1196
  deletedMedia: number;
1197
1197
  }, "mutation", "post", "auth">;
1198
- "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
1198
+ "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
1199
1199
  locale?: string | undefined;
1200
1200
  }, {
1201
1201
  defaultLocale: string;
@@ -1224,7 +1224,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1224
1224
  translation?: string | undefined;
1225
1225
  }[];
1226
1226
  }, "query", "post", "auth">;
1227
- "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
1227
+ "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
1228
1228
  key: string;
1229
1229
  locale: string;
1230
1230
  message: string;
@@ -1240,13 +1240,13 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1240
1240
  extra: string[];
1241
1241
  };
1242
1242
  }, "mutation", "post", "auth">;
1243
- "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
1243
+ "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
1244
1244
  currentPassword: string;
1245
1245
  newPassword: string;
1246
1246
  }, {
1247
1247
  ok: boolean;
1248
1248
  }, "mutation", "post", "auth">;
1249
- "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
1249
+ "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
1250
1250
  username: string;
1251
1251
  password: string;
1252
1252
  }, {
@@ -1256,10 +1256,10 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1256
1256
  expiresAt: string;
1257
1257
  method: string;
1258
1258
  }, "mutation", "post", "public">;
1259
- "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
1259
+ "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1260
1260
  token: string;
1261
1261
  }, "mutation", "post", "auth">;
1262
- "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
1262
+ "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1263
1263
  user: string;
1264
1264
  email: string;
1265
1265
  role: {
@@ -1268,8 +1268,8 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1268
1268
  _type: "ManagerRole";
1269
1269
  _id: string;
1270
1270
  _schemaVersion?: number | undefined;
1271
- _visibility?: import("./client").DocumentVisibility | undefined;
1272
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1271
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1272
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1273
1273
  _trashed?: boolean | undefined;
1274
1274
  _revision?: number | undefined;
1275
1275
  trashedAt?: Date | undefined;
@@ -1288,15 +1288,15 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1288
1288
  tutorialsPromptedAt?: Date | undefined;
1289
1289
  seenTours?: (string | undefined)[] | undefined;
1290
1290
  _schemaVersion?: number | undefined;
1291
- _visibility?: import("./client").DocumentVisibility | undefined;
1292
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1291
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1292
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1293
1293
  _trashed?: boolean | undefined;
1294
1294
  _revision?: number | undefined;
1295
1295
  trashedAt?: Date | undefined;
1296
1296
  createdAt?: Date | undefined;
1297
1297
  updatedAt?: Date | undefined;
1298
1298
  } | null, "query", "get", "public">;
1299
- "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
1299
+ "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1300
1300
  has2FA: boolean;
1301
1301
  enabled2FA: boolean;
1302
1302
  method2FA: "totp" | "webauthn";
@@ -1307,7 +1307,7 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1307
1307
  }[];
1308
1308
  currentSession: string;
1309
1309
  }, "query", "get", "auth">;
1310
- "manager.auth.updateAccount": import("./api/operations/types").RakunOperationContractWithInput<{
1310
+ "manager.auth.updateAccount": import("./api/operations/types.js").RakunOperationContractWithInput<{
1311
1311
  user: string;
1312
1312
  avatarId?: string | null | undefined;
1313
1313
  }, {
@@ -1319,8 +1319,8 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1319
1319
  _type: "ManagerRole";
1320
1320
  _id: string;
1321
1321
  _schemaVersion?: number | undefined;
1322
- _visibility?: import("./client").DocumentVisibility | undefined;
1323
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1322
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1323
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1324
1324
  _trashed?: boolean | undefined;
1325
1325
  _revision?: number | undefined;
1326
1326
  trashedAt?: Date | undefined;
@@ -1339,15 +1339,15 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1339
1339
  tutorialsPromptedAt?: Date | undefined;
1340
1340
  seenTours?: (string | undefined)[] | undefined;
1341
1341
  _schemaVersion?: number | undefined;
1342
- _visibility?: import("./client").DocumentVisibility | undefined;
1343
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1342
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1343
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1344
1344
  _trashed?: boolean | undefined;
1345
1345
  _revision?: number | undefined;
1346
1346
  trashedAt?: Date | undefined;
1347
1347
  createdAt?: Date | undefined;
1348
1348
  updatedAt?: Date | undefined;
1349
1349
  }, "mutation", "post", "auth">;
1350
- "manager.auth.updateTutorialPreferences": import("./api/operations/types").RakunOperationContractWithInput<{
1350
+ "manager.auth.updateTutorialPreferences": import("./api/operations/types.js").RakunOperationContractWithInput<{
1351
1351
  enabled: boolean;
1352
1352
  }, {
1353
1353
  user: string;
@@ -1358,8 +1358,8 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1358
1358
  _type: "ManagerRole";
1359
1359
  _id: string;
1360
1360
  _schemaVersion?: number | undefined;
1361
- _visibility?: import("./client").DocumentVisibility | undefined;
1362
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1361
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1362
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1363
1363
  _trashed?: boolean | undefined;
1364
1364
  _revision?: number | undefined;
1365
1365
  trashedAt?: Date | undefined;
@@ -1378,15 +1378,15 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1378
1378
  tutorialsPromptedAt?: Date | undefined;
1379
1379
  seenTours?: (string | undefined)[] | undefined;
1380
1380
  _schemaVersion?: number | undefined;
1381
- _visibility?: import("./client").DocumentVisibility | undefined;
1382
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1381
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1382
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1383
1383
  _trashed?: boolean | undefined;
1384
1384
  _revision?: number | undefined;
1385
1385
  trashedAt?: Date | undefined;
1386
1386
  createdAt?: Date | undefined;
1387
1387
  updatedAt?: Date | undefined;
1388
1388
  }, "mutation", "post", "auth">;
1389
- "manager.auth.markTourSeen": import("./api/operations/types").RakunOperationContractWithInput<{
1389
+ "manager.auth.markTourSeen": import("./api/operations/types.js").RakunOperationContractWithInput<{
1390
1390
  tourId: string;
1391
1391
  }, {
1392
1392
  user: string;
@@ -1397,8 +1397,8 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1397
1397
  _type: "ManagerRole";
1398
1398
  _id: string;
1399
1399
  _schemaVersion?: number | undefined;
1400
- _visibility?: import("./client").DocumentVisibility | undefined;
1401
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1400
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1401
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1402
1402
  _trashed?: boolean | undefined;
1403
1403
  _revision?: number | undefined;
1404
1404
  trashedAt?: Date | undefined;
@@ -1417,29 +1417,29 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1417
1417
  tutorialsPromptedAt?: Date | undefined;
1418
1418
  seenTours?: (string | undefined)[] | undefined;
1419
1419
  _schemaVersion?: number | undefined;
1420
- _visibility?: import("./client").DocumentVisibility | undefined;
1421
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1420
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1421
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1422
1422
  _trashed?: boolean | undefined;
1423
1423
  _revision?: number | undefined;
1424
1424
  trashedAt?: Date | undefined;
1425
1425
  createdAt?: Date | undefined;
1426
1426
  updatedAt?: Date | undefined;
1427
1427
  }, "mutation", "post", "auth">;
1428
- "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
1428
+ "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
1429
1429
  token: string;
1430
1430
  }, {
1431
1431
  ok: boolean;
1432
1432
  }, "mutation", "post", "auth">;
1433
- "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
1433
+ "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1434
1434
  qrDataURL: string;
1435
1435
  otpauthURL: string;
1436
1436
  }, "query", "get", "auth">;
1437
- "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
1437
+ "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
1438
1438
  code: string;
1439
1439
  }, {
1440
1440
  ok: boolean;
1441
1441
  }, "mutation", "post", "auth">;
1442
- "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
1442
+ "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
1443
1443
  code: string;
1444
1444
  challenge: string;
1445
1445
  }, {
@@ -1447,25 +1447,25 @@ export declare const managerOperationManifest: import(".").RakunOperationManifes
1447
1447
  } | {
1448
1448
  error: string;
1449
1449
  }, "mutation", "post", "public">;
1450
- "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
1450
+ "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
1451
1451
  deviceName: string;
1452
1452
  }, {
1453
1453
  token: string;
1454
1454
  options: any;
1455
1455
  }, "query", "post", "auth">;
1456
- "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
1456
+ "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
1457
1457
  token: string;
1458
1458
  deviceName: string;
1459
1459
  response: any;
1460
1460
  }, {
1461
1461
  ok: boolean;
1462
1462
  }, "mutation", "post", "auth">;
1463
- "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
1463
+ "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
1464
1464
  challengeToken: string;
1465
1465
  }, {
1466
1466
  options: any;
1467
1467
  }, "query", "post", "public">;
1468
- "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
1468
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
1469
1469
  challengeToken: string;
1470
1470
  response: any;
1471
1471
  }, {
@@ -1479,8 +1479,8 @@ export type ManagerQueryOperationName = {
1479
1479
  export type ManagerMutationOperationName = {
1480
1480
  [TName in keyof ManagerManifest]: ManagerManifest[TName]["kind"] extends "mutation" ? TName : never;
1481
1481
  }[keyof ManagerManifest];
1482
- export declare const getManagerOperationMeta: <TName extends ManagerOperationName>(name: TName) => import(".").RakunOperationManifestFromContracts<{
1483
- "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
1482
+ export declare const getManagerOperationMeta: <TName extends ManagerOperationName>(name: TName) => import("./index.js").RakunOperationManifestFromContracts<{
1483
+ "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1484
1484
  name: string;
1485
1485
  fields: Record<string, unknown>;
1486
1486
  uniques: string[][];
@@ -1502,51 +1502,51 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1502
1502
  }[] | undefined;
1503
1503
  isInternal?: boolean | undefined;
1504
1504
  }[], "query", "get", "auth">;
1505
- "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
1505
+ "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1506
1506
  code: string;
1507
1507
  name: string;
1508
1508
  default: boolean;
1509
1509
  _type: "Language";
1510
1510
  _id: string;
1511
- parent?: import("./client").SelfRelationValue<string> | undefined;
1511
+ parent?: import("./client.js").SelfRelationValue<string> | undefined;
1512
1512
  _schemaVersion?: number | undefined;
1513
- _visibility?: import("./client").DocumentVisibility | undefined;
1514
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1513
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
1514
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
1515
1515
  _trashed?: boolean | undefined;
1516
1516
  _revision?: number | undefined;
1517
1517
  trashedAt?: Date | undefined;
1518
1518
  createdAt?: Date | undefined;
1519
1519
  updatedAt?: Date | undefined;
1520
1520
  }[], "query", "get", "auth">;
1521
- "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
1521
+ "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1522
1522
  ok: boolean;
1523
1523
  }, "mutation", "post", "auth">;
1524
- "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
1524
+ "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
1525
1525
  contentType: string;
1526
1526
  data: any;
1527
1527
  }, any, "mutation", "post", "auth">;
1528
- "manager.duplicate": import("./api/operations/types").RakunOperationContractWithInput<{
1528
+ "manager.duplicate": import("./api/operations/types.js").RakunOperationContractWithInput<{
1529
1529
  contentType: string;
1530
1530
  id: string;
1531
1531
  }, any, "mutation", "post", "auth">;
1532
- "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
1532
+ "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
1533
1533
  contentType: string;
1534
1534
  id: string;
1535
1535
  data: any;
1536
1536
  }, any, "mutation", "post", "auth">;
1537
- "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
1537
+ "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
1538
1538
  contentType: string;
1539
1539
  id: string;
1540
1540
  }, any, "mutation", "post", "auth">;
1541
- "manager.trash": import("./api/operations/types").RakunOperationContractWithInput<{
1541
+ "manager.trash": import("./api/operations/types.js").RakunOperationContractWithInput<{
1542
1542
  contentType: string;
1543
1543
  id: string;
1544
1544
  }, any, "mutation", "post", "auth">;
1545
- "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
1545
+ "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
1546
1546
  contentType: string;
1547
1547
  id: string;
1548
1548
  }, any, "query", "post", "auth">;
1549
- "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
1549
+ "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
1550
1550
  contentType: string;
1551
1551
  query: {
1552
1552
  filter?: Record<string, any> | undefined;
@@ -1564,13 +1564,13 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1564
1564
  _id: string;
1565
1565
  }[];
1566
1566
  }, "query", "post", "auth">;
1567
- "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
1567
+ "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
1568
1568
  language: string;
1569
1569
  }, {
1570
1570
  ok: boolean;
1571
1571
  }, "mutation", "post", "auth">;
1572
- "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
1573
- "manager.backups.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
1572
+ "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
1573
+ "manager.backups.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1574
1574
  _id: string;
1575
1575
  contentTypes: string[];
1576
1576
  createdAt: string | Date;
@@ -1580,7 +1580,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1580
1580
  createdBy?: string | undefined;
1581
1581
  error?: string | undefined;
1582
1582
  }[], "query", "get", "auth">;
1583
- "manager.backups.create": import("./api/operations/types").RakunOperationContractWithInput<{
1583
+ "manager.backups.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
1584
1584
  contentTypes?: string[] | undefined;
1585
1585
  reason?: string | undefined;
1586
1586
  }, {
@@ -1593,7 +1593,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1593
1593
  createdBy?: string | undefined;
1594
1594
  error?: string | undefined;
1595
1595
  }, "mutation", "post", "auth">;
1596
- "manager.backups.restore": import("./api/operations/types").RakunOperationContractWithInput<{
1596
+ "manager.backups.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
1597
1597
  backupId: string;
1598
1598
  reason?: string | undefined;
1599
1599
  }, {
@@ -1619,7 +1619,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1619
1619
  };
1620
1620
  restoredCount: number;
1621
1621
  }, "mutation", "post", "auth">;
1622
- "manager.migrations.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
1622
+ "manager.migrations.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1623
1623
  states: {
1624
1624
  _id: string;
1625
1625
  contentType: string;
@@ -1648,7 +1648,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1648
1648
  description?: string | undefined;
1649
1649
  }[];
1650
1650
  }, "query", "get", "auth">;
1651
- "manager.versions.list": import("./api/operations/types").RakunOperationContractWithInput<{
1651
+ "manager.versions.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
1652
1652
  contentType: string;
1653
1653
  documentId: string;
1654
1654
  }, {
@@ -1679,7 +1679,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1679
1679
  reason?: string | undefined;
1680
1680
  schemaVersion?: number | undefined;
1681
1681
  }[], "query", "post", "auth">;
1682
- "manager.versions.get": import("./api/operations/types").RakunOperationContractWithInput<{
1682
+ "manager.versions.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
1683
1683
  versionId: string;
1684
1684
  }, {
1685
1685
  _id: string;
@@ -1709,7 +1709,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1709
1709
  reason?: string | undefined;
1710
1710
  schemaVersion?: number | undefined;
1711
1711
  } | null, "query", "post", "auth">;
1712
- "manager.versions.restore": import("./api/operations/types").RakunOperationContractWithInput<{
1712
+ "manager.versions.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
1713
1713
  versionId: string;
1714
1714
  reason?: string | undefined;
1715
1715
  }, {
@@ -1743,7 +1743,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1743
1743
  };
1744
1744
  restored: Record<string, unknown>;
1745
1745
  }, "mutation", "post", "auth">;
1746
- "manager.translateDocument": import("./api/operations/types").RakunOperationContractWithInput<{
1746
+ "manager.translateDocument": import("./api/operations/types.js").RakunOperationContractWithInput<{
1747
1747
  contentType: string;
1748
1748
  id: string;
1749
1749
  from: string;
@@ -1760,7 +1760,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1760
1760
  translatedFields: string[];
1761
1761
  };
1762
1762
  }, "mutation", "post", "auth">;
1763
- "manager.preview.create": import("./api/operations/types").RakunOperationContractWithInput<{
1763
+ "manager.preview.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
1764
1764
  contentType: string;
1765
1765
  data: Record<string, any>;
1766
1766
  documentId?: string | undefined;
@@ -1771,7 +1771,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1771
1771
  path: string;
1772
1772
  expiresAt: string;
1773
1773
  }, "mutation", "post", "auth">;
1774
- "manager.apiOperations": import("./api/operations/types").RakunOperationContractWithoutInput<{
1774
+ "manager.apiOperations": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1775
1775
  name: string;
1776
1776
  path: string;
1777
1777
  kind: "query" | "mutation";
@@ -1781,7 +1781,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1781
1781
  description?: string | undefined;
1782
1782
  input?: Record<string, unknown> | undefined;
1783
1783
  }[], "query", "get", "auth">;
1784
- "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
1784
+ "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
1785
1785
  fileName: string;
1786
1786
  mime: string;
1787
1787
  size: number;
@@ -1795,7 +1795,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1795
1795
  access: "public" | "private";
1796
1796
  headers?: Record<string, string> | undefined;
1797
1797
  }, "mutation", "post", "auth">;
1798
- "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
1798
+ "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
1799
1799
  key: string;
1800
1800
  access?: "public" | "private" | undefined;
1801
1801
  fileName?: string | undefined;
@@ -1880,7 +1880,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1880
1880
  path: string;
1881
1881
  } | undefined;
1882
1882
  }, "mutation", "post", "auth">;
1883
- "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
1883
+ "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
1884
1884
  key: string;
1885
1885
  access?: "public" | "private" | undefined;
1886
1886
  expiresInSeconds?: number | undefined;
@@ -1891,7 +1891,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1891
1891
  expiresAt: Date | null;
1892
1892
  isPublic: boolean;
1893
1893
  }, "query", "post", "auth">;
1894
- "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
1894
+ "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
1895
1895
  name: string;
1896
1896
  parentId?: string | undefined;
1897
1897
  description?: string | undefined;
@@ -1903,7 +1903,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1903
1903
  parentId?: string | undefined;
1904
1904
  description?: string | undefined;
1905
1905
  }, "mutation", "post", "auth">;
1906
- "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
1906
+ "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
1907
1907
  parentId?: string | undefined;
1908
1908
  }, {
1909
1909
  items: {
@@ -1915,7 +1915,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1915
1915
  description?: string | undefined;
1916
1916
  }[];
1917
1917
  }, "query", "post", "auth">;
1918
- "manager.media.deleteFolder": import("./api/operations/types").RakunOperationContractWithInput<{
1918
+ "manager.media.deleteFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
1919
1919
  id: string;
1920
1920
  recursive: true;
1921
1921
  }, {
@@ -1923,7 +1923,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1923
1923
  deletedFolders: number;
1924
1924
  deletedMedia: number;
1925
1925
  }, "mutation", "post", "auth">;
1926
- "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
1926
+ "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
1927
1927
  locale?: string | undefined;
1928
1928
  }, {
1929
1929
  defaultLocale: string;
@@ -1952,7 +1952,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1952
1952
  translation?: string | undefined;
1953
1953
  }[];
1954
1954
  }, "query", "post", "auth">;
1955
- "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
1955
+ "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
1956
1956
  key: string;
1957
1957
  locale: string;
1958
1958
  message: string;
@@ -1968,13 +1968,13 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1968
1968
  extra: string[];
1969
1969
  };
1970
1970
  }, "mutation", "post", "auth">;
1971
- "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
1971
+ "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
1972
1972
  currentPassword: string;
1973
1973
  newPassword: string;
1974
1974
  }, {
1975
1975
  ok: boolean;
1976
1976
  }, "mutation", "post", "auth">;
1977
- "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
1977
+ "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
1978
1978
  username: string;
1979
1979
  password: string;
1980
1980
  }, {
@@ -1984,10 +1984,10 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1984
1984
  expiresAt: string;
1985
1985
  method: string;
1986
1986
  }, "mutation", "post", "public">;
1987
- "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
1987
+ "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1988
1988
  token: string;
1989
1989
  }, "mutation", "post", "auth">;
1990
- "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
1990
+ "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1991
1991
  user: string;
1992
1992
  email: string;
1993
1993
  role: {
@@ -1996,8 +1996,8 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
1996
1996
  _type: "ManagerRole";
1997
1997
  _id: string;
1998
1998
  _schemaVersion?: number | undefined;
1999
- _visibility?: import("./client").DocumentVisibility | undefined;
2000
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
1999
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2000
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2001
2001
  _trashed?: boolean | undefined;
2002
2002
  _revision?: number | undefined;
2003
2003
  trashedAt?: Date | undefined;
@@ -2016,15 +2016,15 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2016
2016
  tutorialsPromptedAt?: Date | undefined;
2017
2017
  seenTours?: (string | undefined)[] | undefined;
2018
2018
  _schemaVersion?: number | undefined;
2019
- _visibility?: import("./client").DocumentVisibility | undefined;
2020
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2019
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2020
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2021
2021
  _trashed?: boolean | undefined;
2022
2022
  _revision?: number | undefined;
2023
2023
  trashedAt?: Date | undefined;
2024
2024
  createdAt?: Date | undefined;
2025
2025
  updatedAt?: Date | undefined;
2026
2026
  } | null, "query", "get", "public">;
2027
- "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
2027
+ "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2028
2028
  has2FA: boolean;
2029
2029
  enabled2FA: boolean;
2030
2030
  method2FA: "totp" | "webauthn";
@@ -2035,7 +2035,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2035
2035
  }[];
2036
2036
  currentSession: string;
2037
2037
  }, "query", "get", "auth">;
2038
- "manager.auth.updateAccount": import("./api/operations/types").RakunOperationContractWithInput<{
2038
+ "manager.auth.updateAccount": import("./api/operations/types.js").RakunOperationContractWithInput<{
2039
2039
  user: string;
2040
2040
  avatarId?: string | null | undefined;
2041
2041
  }, {
@@ -2047,8 +2047,8 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2047
2047
  _type: "ManagerRole";
2048
2048
  _id: string;
2049
2049
  _schemaVersion?: number | undefined;
2050
- _visibility?: import("./client").DocumentVisibility | undefined;
2051
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2050
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2051
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2052
2052
  _trashed?: boolean | undefined;
2053
2053
  _revision?: number | undefined;
2054
2054
  trashedAt?: Date | undefined;
@@ -2067,15 +2067,15 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2067
2067
  tutorialsPromptedAt?: Date | undefined;
2068
2068
  seenTours?: (string | undefined)[] | undefined;
2069
2069
  _schemaVersion?: number | undefined;
2070
- _visibility?: import("./client").DocumentVisibility | undefined;
2071
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2070
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2071
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2072
2072
  _trashed?: boolean | undefined;
2073
2073
  _revision?: number | undefined;
2074
2074
  trashedAt?: Date | undefined;
2075
2075
  createdAt?: Date | undefined;
2076
2076
  updatedAt?: Date | undefined;
2077
2077
  }, "mutation", "post", "auth">;
2078
- "manager.auth.updateTutorialPreferences": import("./api/operations/types").RakunOperationContractWithInput<{
2078
+ "manager.auth.updateTutorialPreferences": import("./api/operations/types.js").RakunOperationContractWithInput<{
2079
2079
  enabled: boolean;
2080
2080
  }, {
2081
2081
  user: string;
@@ -2086,8 +2086,8 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2086
2086
  _type: "ManagerRole";
2087
2087
  _id: string;
2088
2088
  _schemaVersion?: number | undefined;
2089
- _visibility?: import("./client").DocumentVisibility | undefined;
2090
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2089
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2090
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2091
2091
  _trashed?: boolean | undefined;
2092
2092
  _revision?: number | undefined;
2093
2093
  trashedAt?: Date | undefined;
@@ -2106,15 +2106,15 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2106
2106
  tutorialsPromptedAt?: Date | undefined;
2107
2107
  seenTours?: (string | undefined)[] | undefined;
2108
2108
  _schemaVersion?: number | undefined;
2109
- _visibility?: import("./client").DocumentVisibility | undefined;
2110
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2109
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2110
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2111
2111
  _trashed?: boolean | undefined;
2112
2112
  _revision?: number | undefined;
2113
2113
  trashedAt?: Date | undefined;
2114
2114
  createdAt?: Date | undefined;
2115
2115
  updatedAt?: Date | undefined;
2116
2116
  }, "mutation", "post", "auth">;
2117
- "manager.auth.markTourSeen": import("./api/operations/types").RakunOperationContractWithInput<{
2117
+ "manager.auth.markTourSeen": import("./api/operations/types.js").RakunOperationContractWithInput<{
2118
2118
  tourId: string;
2119
2119
  }, {
2120
2120
  user: string;
@@ -2125,8 +2125,8 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2125
2125
  _type: "ManagerRole";
2126
2126
  _id: string;
2127
2127
  _schemaVersion?: number | undefined;
2128
- _visibility?: import("./client").DocumentVisibility | undefined;
2129
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2128
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2129
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2130
2130
  _trashed?: boolean | undefined;
2131
2131
  _revision?: number | undefined;
2132
2132
  trashedAt?: Date | undefined;
@@ -2145,29 +2145,29 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2145
2145
  tutorialsPromptedAt?: Date | undefined;
2146
2146
  seenTours?: (string | undefined)[] | undefined;
2147
2147
  _schemaVersion?: number | undefined;
2148
- _visibility?: import("./client").DocumentVisibility | undefined;
2149
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2148
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2149
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2150
2150
  _trashed?: boolean | undefined;
2151
2151
  _revision?: number | undefined;
2152
2152
  trashedAt?: Date | undefined;
2153
2153
  createdAt?: Date | undefined;
2154
2154
  updatedAt?: Date | undefined;
2155
2155
  }, "mutation", "post", "auth">;
2156
- "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
2156
+ "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
2157
2157
  token: string;
2158
2158
  }, {
2159
2159
  ok: boolean;
2160
2160
  }, "mutation", "post", "auth">;
2161
- "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
2161
+ "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2162
2162
  qrDataURL: string;
2163
2163
  otpauthURL: string;
2164
2164
  }, "query", "get", "auth">;
2165
- "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
2165
+ "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
2166
2166
  code: string;
2167
2167
  }, {
2168
2168
  ok: boolean;
2169
2169
  }, "mutation", "post", "auth">;
2170
- "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
2170
+ "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
2171
2171
  code: string;
2172
2172
  challenge: string;
2173
2173
  }, {
@@ -2175,25 +2175,25 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2175
2175
  } | {
2176
2176
  error: string;
2177
2177
  }, "mutation", "post", "public">;
2178
- "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
2178
+ "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
2179
2179
  deviceName: string;
2180
2180
  }, {
2181
2181
  token: string;
2182
2182
  options: any;
2183
2183
  }, "query", "post", "auth">;
2184
- "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
2184
+ "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
2185
2185
  token: string;
2186
2186
  deviceName: string;
2187
2187
  response: any;
2188
2188
  }, {
2189
2189
  ok: boolean;
2190
2190
  }, "mutation", "post", "auth">;
2191
- "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
2191
+ "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
2192
2192
  challengeToken: string;
2193
2193
  }, {
2194
2194
  options: any;
2195
2195
  }, "query", "post", "public">;
2196
- "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
2196
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
2197
2197
  challengeToken: string;
2198
2198
  response: any;
2199
2199
  }, {
@@ -2201,7 +2201,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
2201
2201
  }, "mutation", "post", "public">;
2202
2202
  }>[TName];
2203
2203
  export declare const getManagerOperationContract: <TName extends ManagerOperationName>(name: TName) => {
2204
- "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
2204
+ "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2205
2205
  name: string;
2206
2206
  fields: Record<string, unknown>;
2207
2207
  uniques: string[][];
@@ -2223,51 +2223,51 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2223
2223
  }[] | undefined;
2224
2224
  isInternal?: boolean | undefined;
2225
2225
  }[], "query", "get", "auth">;
2226
- "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
2226
+ "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2227
2227
  code: string;
2228
2228
  name: string;
2229
2229
  default: boolean;
2230
2230
  _type: "Language";
2231
2231
  _id: string;
2232
- parent?: import("./client").SelfRelationValue<string> | undefined;
2232
+ parent?: import("./client.js").SelfRelationValue<string> | undefined;
2233
2233
  _schemaVersion?: number | undefined;
2234
- _visibility?: import("./client").DocumentVisibility | undefined;
2235
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2234
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2235
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2236
2236
  _trashed?: boolean | undefined;
2237
2237
  _revision?: number | undefined;
2238
2238
  trashedAt?: Date | undefined;
2239
2239
  createdAt?: Date | undefined;
2240
2240
  updatedAt?: Date | undefined;
2241
2241
  }[], "query", "get", "auth">;
2242
- "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
2242
+ "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2243
2243
  ok: boolean;
2244
2244
  }, "mutation", "post", "auth">;
2245
- "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
2245
+ "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
2246
2246
  contentType: string;
2247
2247
  data: any;
2248
2248
  }, any, "mutation", "post", "auth">;
2249
- "manager.duplicate": import("./api/operations/types").RakunOperationContractWithInput<{
2249
+ "manager.duplicate": import("./api/operations/types.js").RakunOperationContractWithInput<{
2250
2250
  contentType: string;
2251
2251
  id: string;
2252
2252
  }, any, "mutation", "post", "auth">;
2253
- "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
2253
+ "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
2254
2254
  contentType: string;
2255
2255
  id: string;
2256
2256
  data: any;
2257
2257
  }, any, "mutation", "post", "auth">;
2258
- "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
2258
+ "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
2259
2259
  contentType: string;
2260
2260
  id: string;
2261
2261
  }, any, "mutation", "post", "auth">;
2262
- "manager.trash": import("./api/operations/types").RakunOperationContractWithInput<{
2262
+ "manager.trash": import("./api/operations/types.js").RakunOperationContractWithInput<{
2263
2263
  contentType: string;
2264
2264
  id: string;
2265
2265
  }, any, "mutation", "post", "auth">;
2266
- "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
2266
+ "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
2267
2267
  contentType: string;
2268
2268
  id: string;
2269
2269
  }, any, "query", "post", "auth">;
2270
- "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
2270
+ "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
2271
2271
  contentType: string;
2272
2272
  query: {
2273
2273
  filter?: Record<string, any> | undefined;
@@ -2285,13 +2285,13 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2285
2285
  _id: string;
2286
2286
  }[];
2287
2287
  }, "query", "post", "auth">;
2288
- "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
2288
+ "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
2289
2289
  language: string;
2290
2290
  }, {
2291
2291
  ok: boolean;
2292
2292
  }, "mutation", "post", "auth">;
2293
- "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
2294
- "manager.backups.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
2293
+ "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
2294
+ "manager.backups.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2295
2295
  _id: string;
2296
2296
  contentTypes: string[];
2297
2297
  createdAt: string | Date;
@@ -2301,7 +2301,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2301
2301
  createdBy?: string | undefined;
2302
2302
  error?: string | undefined;
2303
2303
  }[], "query", "get", "auth">;
2304
- "manager.backups.create": import("./api/operations/types").RakunOperationContractWithInput<{
2304
+ "manager.backups.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
2305
2305
  contentTypes?: string[] | undefined;
2306
2306
  reason?: string | undefined;
2307
2307
  }, {
@@ -2314,7 +2314,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2314
2314
  createdBy?: string | undefined;
2315
2315
  error?: string | undefined;
2316
2316
  }, "mutation", "post", "auth">;
2317
- "manager.backups.restore": import("./api/operations/types").RakunOperationContractWithInput<{
2317
+ "manager.backups.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
2318
2318
  backupId: string;
2319
2319
  reason?: string | undefined;
2320
2320
  }, {
@@ -2340,7 +2340,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2340
2340
  };
2341
2341
  restoredCount: number;
2342
2342
  }, "mutation", "post", "auth">;
2343
- "manager.migrations.list": import("./api/operations/types").RakunOperationContractWithoutInput<{
2343
+ "manager.migrations.list": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2344
2344
  states: {
2345
2345
  _id: string;
2346
2346
  contentType: string;
@@ -2369,7 +2369,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2369
2369
  description?: string | undefined;
2370
2370
  }[];
2371
2371
  }, "query", "get", "auth">;
2372
- "manager.versions.list": import("./api/operations/types").RakunOperationContractWithInput<{
2372
+ "manager.versions.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
2373
2373
  contentType: string;
2374
2374
  documentId: string;
2375
2375
  }, {
@@ -2400,7 +2400,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2400
2400
  reason?: string | undefined;
2401
2401
  schemaVersion?: number | undefined;
2402
2402
  }[], "query", "post", "auth">;
2403
- "manager.versions.get": import("./api/operations/types").RakunOperationContractWithInput<{
2403
+ "manager.versions.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
2404
2404
  versionId: string;
2405
2405
  }, {
2406
2406
  _id: string;
@@ -2430,7 +2430,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2430
2430
  reason?: string | undefined;
2431
2431
  schemaVersion?: number | undefined;
2432
2432
  } | null, "query", "post", "auth">;
2433
- "manager.versions.restore": import("./api/operations/types").RakunOperationContractWithInput<{
2433
+ "manager.versions.restore": import("./api/operations/types.js").RakunOperationContractWithInput<{
2434
2434
  versionId: string;
2435
2435
  reason?: string | undefined;
2436
2436
  }, {
@@ -2464,7 +2464,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2464
2464
  };
2465
2465
  restored: Record<string, unknown>;
2466
2466
  }, "mutation", "post", "auth">;
2467
- "manager.translateDocument": import("./api/operations/types").RakunOperationContractWithInput<{
2467
+ "manager.translateDocument": import("./api/operations/types.js").RakunOperationContractWithInput<{
2468
2468
  contentType: string;
2469
2469
  id: string;
2470
2470
  from: string;
@@ -2481,7 +2481,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2481
2481
  translatedFields: string[];
2482
2482
  };
2483
2483
  }, "mutation", "post", "auth">;
2484
- "manager.preview.create": import("./api/operations/types").RakunOperationContractWithInput<{
2484
+ "manager.preview.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
2485
2485
  contentType: string;
2486
2486
  data: Record<string, any>;
2487
2487
  documentId?: string | undefined;
@@ -2492,7 +2492,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2492
2492
  path: string;
2493
2493
  expiresAt: string;
2494
2494
  }, "mutation", "post", "auth">;
2495
- "manager.apiOperations": import("./api/operations/types").RakunOperationContractWithoutInput<{
2495
+ "manager.apiOperations": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2496
2496
  name: string;
2497
2497
  path: string;
2498
2498
  kind: "query" | "mutation";
@@ -2502,7 +2502,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2502
2502
  description?: string | undefined;
2503
2503
  input?: Record<string, unknown> | undefined;
2504
2504
  }[], "query", "get", "auth">;
2505
- "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
2505
+ "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
2506
2506
  fileName: string;
2507
2507
  mime: string;
2508
2508
  size: number;
@@ -2516,7 +2516,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2516
2516
  access: "public" | "private";
2517
2517
  headers?: Record<string, string> | undefined;
2518
2518
  }, "mutation", "post", "auth">;
2519
- "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
2519
+ "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
2520
2520
  key: string;
2521
2521
  access?: "public" | "private" | undefined;
2522
2522
  fileName?: string | undefined;
@@ -2601,7 +2601,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2601
2601
  path: string;
2602
2602
  } | undefined;
2603
2603
  }, "mutation", "post", "auth">;
2604
- "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
2604
+ "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
2605
2605
  key: string;
2606
2606
  access?: "public" | "private" | undefined;
2607
2607
  expiresInSeconds?: number | undefined;
@@ -2612,7 +2612,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2612
2612
  expiresAt: Date | null;
2613
2613
  isPublic: boolean;
2614
2614
  }, "query", "post", "auth">;
2615
- "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
2615
+ "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
2616
2616
  name: string;
2617
2617
  parentId?: string | undefined;
2618
2618
  description?: string | undefined;
@@ -2624,7 +2624,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2624
2624
  parentId?: string | undefined;
2625
2625
  description?: string | undefined;
2626
2626
  }, "mutation", "post", "auth">;
2627
- "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
2627
+ "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
2628
2628
  parentId?: string | undefined;
2629
2629
  }, {
2630
2630
  items: {
@@ -2636,7 +2636,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2636
2636
  description?: string | undefined;
2637
2637
  }[];
2638
2638
  }, "query", "post", "auth">;
2639
- "manager.media.deleteFolder": import("./api/operations/types").RakunOperationContractWithInput<{
2639
+ "manager.media.deleteFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
2640
2640
  id: string;
2641
2641
  recursive: true;
2642
2642
  }, {
@@ -2644,7 +2644,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2644
2644
  deletedFolders: number;
2645
2645
  deletedMedia: number;
2646
2646
  }, "mutation", "post", "auth">;
2647
- "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
2647
+ "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
2648
2648
  locale?: string | undefined;
2649
2649
  }, {
2650
2650
  defaultLocale: string;
@@ -2673,7 +2673,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2673
2673
  translation?: string | undefined;
2674
2674
  }[];
2675
2675
  }, "query", "post", "auth">;
2676
- "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
2676
+ "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
2677
2677
  key: string;
2678
2678
  locale: string;
2679
2679
  message: string;
@@ -2689,13 +2689,13 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2689
2689
  extra: string[];
2690
2690
  };
2691
2691
  }, "mutation", "post", "auth">;
2692
- "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
2692
+ "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
2693
2693
  currentPassword: string;
2694
2694
  newPassword: string;
2695
2695
  }, {
2696
2696
  ok: boolean;
2697
2697
  }, "mutation", "post", "auth">;
2698
- "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
2698
+ "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
2699
2699
  username: string;
2700
2700
  password: string;
2701
2701
  }, {
@@ -2705,10 +2705,10 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2705
2705
  expiresAt: string;
2706
2706
  method: string;
2707
2707
  }, "mutation", "post", "public">;
2708
- "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
2708
+ "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2709
2709
  token: string;
2710
2710
  }, "mutation", "post", "auth">;
2711
- "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
2711
+ "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2712
2712
  user: string;
2713
2713
  email: string;
2714
2714
  role: {
@@ -2717,8 +2717,8 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2717
2717
  _type: "ManagerRole";
2718
2718
  _id: string;
2719
2719
  _schemaVersion?: number | undefined;
2720
- _visibility?: import("./client").DocumentVisibility | undefined;
2721
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2720
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2721
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2722
2722
  _trashed?: boolean | undefined;
2723
2723
  _revision?: number | undefined;
2724
2724
  trashedAt?: Date | undefined;
@@ -2737,15 +2737,15 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2737
2737
  tutorialsPromptedAt?: Date | undefined;
2738
2738
  seenTours?: (string | undefined)[] | undefined;
2739
2739
  _schemaVersion?: number | undefined;
2740
- _visibility?: import("./client").DocumentVisibility | undefined;
2741
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2740
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2741
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2742
2742
  _trashed?: boolean | undefined;
2743
2743
  _revision?: number | undefined;
2744
2744
  trashedAt?: Date | undefined;
2745
2745
  createdAt?: Date | undefined;
2746
2746
  updatedAt?: Date | undefined;
2747
2747
  } | null, "query", "get", "public">;
2748
- "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
2748
+ "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2749
2749
  has2FA: boolean;
2750
2750
  enabled2FA: boolean;
2751
2751
  method2FA: "totp" | "webauthn";
@@ -2756,7 +2756,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2756
2756
  }[];
2757
2757
  currentSession: string;
2758
2758
  }, "query", "get", "auth">;
2759
- "manager.auth.updateAccount": import("./api/operations/types").RakunOperationContractWithInput<{
2759
+ "manager.auth.updateAccount": import("./api/operations/types.js").RakunOperationContractWithInput<{
2760
2760
  user: string;
2761
2761
  avatarId?: string | null | undefined;
2762
2762
  }, {
@@ -2768,8 +2768,8 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2768
2768
  _type: "ManagerRole";
2769
2769
  _id: string;
2770
2770
  _schemaVersion?: number | undefined;
2771
- _visibility?: import("./client").DocumentVisibility | undefined;
2772
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2771
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2772
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2773
2773
  _trashed?: boolean | undefined;
2774
2774
  _revision?: number | undefined;
2775
2775
  trashedAt?: Date | undefined;
@@ -2788,15 +2788,15 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2788
2788
  tutorialsPromptedAt?: Date | undefined;
2789
2789
  seenTours?: (string | undefined)[] | undefined;
2790
2790
  _schemaVersion?: number | undefined;
2791
- _visibility?: import("./client").DocumentVisibility | undefined;
2792
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2791
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2792
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2793
2793
  _trashed?: boolean | undefined;
2794
2794
  _revision?: number | undefined;
2795
2795
  trashedAt?: Date | undefined;
2796
2796
  createdAt?: Date | undefined;
2797
2797
  updatedAt?: Date | undefined;
2798
2798
  }, "mutation", "post", "auth">;
2799
- "manager.auth.updateTutorialPreferences": import("./api/operations/types").RakunOperationContractWithInput<{
2799
+ "manager.auth.updateTutorialPreferences": import("./api/operations/types.js").RakunOperationContractWithInput<{
2800
2800
  enabled: boolean;
2801
2801
  }, {
2802
2802
  user: string;
@@ -2807,8 +2807,8 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2807
2807
  _type: "ManagerRole";
2808
2808
  _id: string;
2809
2809
  _schemaVersion?: number | undefined;
2810
- _visibility?: import("./client").DocumentVisibility | undefined;
2811
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2810
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2811
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2812
2812
  _trashed?: boolean | undefined;
2813
2813
  _revision?: number | undefined;
2814
2814
  trashedAt?: Date | undefined;
@@ -2827,15 +2827,15 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2827
2827
  tutorialsPromptedAt?: Date | undefined;
2828
2828
  seenTours?: (string | undefined)[] | undefined;
2829
2829
  _schemaVersion?: number | undefined;
2830
- _visibility?: import("./client").DocumentVisibility | undefined;
2831
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2830
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2831
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2832
2832
  _trashed?: boolean | undefined;
2833
2833
  _revision?: number | undefined;
2834
2834
  trashedAt?: Date | undefined;
2835
2835
  createdAt?: Date | undefined;
2836
2836
  updatedAt?: Date | undefined;
2837
2837
  }, "mutation", "post", "auth">;
2838
- "manager.auth.markTourSeen": import("./api/operations/types").RakunOperationContractWithInput<{
2838
+ "manager.auth.markTourSeen": import("./api/operations/types.js").RakunOperationContractWithInput<{
2839
2839
  tourId: string;
2840
2840
  }, {
2841
2841
  user: string;
@@ -2846,8 +2846,8 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2846
2846
  _type: "ManagerRole";
2847
2847
  _id: string;
2848
2848
  _schemaVersion?: number | undefined;
2849
- _visibility?: import("./client").DocumentVisibility | undefined;
2850
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2849
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2850
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2851
2851
  _trashed?: boolean | undefined;
2852
2852
  _revision?: number | undefined;
2853
2853
  trashedAt?: Date | undefined;
@@ -2866,29 +2866,29 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2866
2866
  tutorialsPromptedAt?: Date | undefined;
2867
2867
  seenTours?: (string | undefined)[] | undefined;
2868
2868
  _schemaVersion?: number | undefined;
2869
- _visibility?: import("./client").DocumentVisibility | undefined;
2870
- _visibilityBeforeTrash?: Exclude<import("./client").DocumentVisibility, "trash"> | undefined;
2869
+ _visibility?: import("./client.js").DocumentVisibility | undefined;
2870
+ _visibilityBeforeTrash?: Exclude<import("./client.js").DocumentVisibility, "trash"> | undefined;
2871
2871
  _trashed?: boolean | undefined;
2872
2872
  _revision?: number | undefined;
2873
2873
  trashedAt?: Date | undefined;
2874
2874
  createdAt?: Date | undefined;
2875
2875
  updatedAt?: Date | undefined;
2876
2876
  }, "mutation", "post", "auth">;
2877
- "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
2877
+ "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
2878
2878
  token: string;
2879
2879
  }, {
2880
2880
  ok: boolean;
2881
2881
  }, "mutation", "post", "auth">;
2882
- "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
2882
+ "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
2883
2883
  qrDataURL: string;
2884
2884
  otpauthURL: string;
2885
2885
  }, "query", "get", "auth">;
2886
- "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
2886
+ "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
2887
2887
  code: string;
2888
2888
  }, {
2889
2889
  ok: boolean;
2890
2890
  }, "mutation", "post", "auth">;
2891
- "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
2891
+ "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
2892
2892
  code: string;
2893
2893
  challenge: string;
2894
2894
  }, {
@@ -2896,25 +2896,25 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
2896
2896
  } | {
2897
2897
  error: string;
2898
2898
  }, "mutation", "post", "public">;
2899
- "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
2899
+ "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
2900
2900
  deviceName: string;
2901
2901
  }, {
2902
2902
  token: string;
2903
2903
  options: any;
2904
2904
  }, "query", "post", "auth">;
2905
- "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
2905
+ "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
2906
2906
  token: string;
2907
2907
  deviceName: string;
2908
2908
  response: any;
2909
2909
  }, {
2910
2910
  ok: boolean;
2911
2911
  }, "mutation", "post", "auth">;
2912
- "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
2912
+ "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
2913
2913
  challengeToken: string;
2914
2914
  }, {
2915
2915
  options: any;
2916
2916
  }, "query", "post", "public">;
2917
- "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
2917
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
2918
2918
  challengeToken: string;
2919
2919
  response: any;
2920
2920
  }, {