@intlayer/api 9.5.2 → 9.5.4-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/README.md +9 -9
  2. package/dist/cjs/getIntlayerAPI/index.cjs +1 -1
  3. package/dist/cjs/index.cjs +4 -4
  4. package/dist/cjs/proxy.cjs +1 -1
  5. package/dist/esm/getIntlayerAPI/index.mjs +1 -1
  6. package/dist/esm/index.mjs +4 -4
  7. package/dist/esm/proxy.mjs +1 -1
  8. package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +1 -2
  9. package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
  10. package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +1 -2
  11. package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +1 -1
  12. package/dist/types/getIntlayerAPI/ai.d.ts +1 -3
  13. package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
  14. package/dist/types/getIntlayerAPI/analytics.d.ts +1 -3
  15. package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
  16. package/dist/types/getIntlayerAPI/asset.d.ts +0 -2
  17. package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
  18. package/dist/types/getIntlayerAPI/audit.d.ts +1 -3
  19. package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
  20. package/dist/types/getIntlayerAPI/dictionary.d.ts +1 -2
  21. package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
  22. package/dist/types/getIntlayerAPI/editor.d.ts +1 -3
  23. package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
  24. package/dist/types/getIntlayerAPI/environment.d.ts +1 -2
  25. package/dist/types/getIntlayerAPI/environment.d.ts.map +1 -1
  26. package/dist/types/getIntlayerAPI/newsletter.d.ts +1 -2
  27. package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
  28. package/dist/types/getIntlayerAPI/oAuth.d.ts +0 -3
  29. package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
  30. package/dist/types/getIntlayerAPI/organization.d.ts +1 -2
  31. package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
  32. package/dist/types/getIntlayerAPI/project.d.ts +1 -5
  33. package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
  34. package/dist/types/getIntlayerAPI/reviewer.d.ts +31 -636
  35. package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
  36. package/dist/types/getIntlayerAPI/search.d.ts +1 -2
  37. package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
  38. package/dist/types/getIntlayerAPI/showcaseProject.d.ts +1 -2
  39. package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
  40. package/dist/types/getIntlayerAPI/status.d.ts +0 -2
  41. package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
  42. package/dist/types/getIntlayerAPI/stripe.d.ts +1 -2
  43. package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
  44. package/dist/types/getIntlayerAPI/tag.d.ts +1 -2
  45. package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
  46. package/dist/types/getIntlayerAPI/translate.d.ts +1 -2
  47. package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
  48. package/dist/types/getIntlayerAPI/user.d.ts +3 -7
  49. package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
  50. package/dist/types/index.d.ts +4 -9
  51. package/dist/types/public/createPublicClient.d.ts +1 -2
  52. package/dist/types/public/createPublicClient.d.ts.map +1 -1
  53. package/dist/types/types.d.ts +1 -2
  54. package/package.json +5 -4
  55. package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +0 -8
  56. package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +0 -1
  57. package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts +0 -78
  58. package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts.map +0 -1
  59. package/dist/types/apps/backend/dist/types/controllers/analytics.controller.d.ts +0 -31
  60. package/dist/types/apps/backend/dist/types/controllers/analytics.controller.d.ts.map +0 -1
  61. package/dist/types/apps/backend/dist/types/controllers/asset.controller.d.ts +0 -12
  62. package/dist/types/apps/backend/dist/types/controllers/asset.controller.d.ts.map +0 -1
  63. package/dist/types/apps/backend/dist/types/controllers/audit.controller.d.ts +0 -1
  64. package/dist/types/apps/backend/dist/types/controllers/bitbucket.controller.d.ts +0 -1
  65. package/dist/types/apps/backend/dist/types/controllers/cliSessionToken.controller.d.ts +0 -14
  66. package/dist/types/apps/backend/dist/types/controllers/cliSessionToken.controller.d.ts.map +0 -1
  67. package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts +0 -62
  68. package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts.map +0 -1
  69. package/dist/types/apps/backend/dist/types/controllers/environment.controller.d.ts +0 -26
  70. package/dist/types/apps/backend/dist/types/controllers/environment.controller.d.ts.map +0 -1
  71. package/dist/types/apps/backend/dist/types/controllers/eventListener.controller.d.ts +0 -2
  72. package/dist/types/apps/backend/dist/types/controllers/github.controller.d.ts +0 -2
  73. package/dist/types/apps/backend/dist/types/controllers/gitlab.controller.d.ts +0 -1
  74. package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts +0 -16
  75. package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts.map +0 -1
  76. package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts +0 -7
  77. package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts.map +0 -1
  78. package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts +0 -38
  79. package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts.map +0 -1
  80. package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts +0 -50
  81. package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts.map +0 -1
  82. package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts +0 -17
  83. package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts.map +0 -1
  84. package/dist/types/apps/backend/dist/types/controllers/projectMemberAccess.controller.d.ts +0 -13
  85. package/dist/types/apps/backend/dist/types/controllers/projectMemberAccess.controller.d.ts.map +0 -1
  86. package/dist/types/apps/backend/dist/types/controllers/publicDictionary.controller.d.ts +0 -2
  87. package/dist/types/apps/backend/dist/types/controllers/publicToken.controller.d.ts +0 -1
  88. package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts +0 -31
  89. package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts.map +0 -1
  90. package/dist/types/apps/backend/dist/types/controllers/reviewer.controller.d.ts +0 -69
  91. package/dist/types/apps/backend/dist/types/controllers/reviewer.controller.d.ts.map +0 -1
  92. package/dist/types/apps/backend/dist/types/controllers/searchDoc.controller.d.ts +0 -19
  93. package/dist/types/apps/backend/dist/types/controllers/searchDoc.controller.d.ts.map +0 -1
  94. package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts +0 -50
  95. package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts.map +0 -1
  96. package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts +0 -91
  97. package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts.map +0 -1
  98. package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts +0 -22
  99. package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts.map +0 -1
  100. package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts +0 -15
  101. package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts.map +0 -1
  102. package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts +0 -30
  103. package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts.map +0 -1
  104. package/dist/types/apps/backend/dist/types/export.d.ts +0 -67
  105. package/dist/types/apps/backend/dist/types/routes/ai.routes.d.ts +0 -1
  106. package/dist/types/apps/backend/dist/types/routes/analytics.routes.d.ts +0 -1
  107. package/dist/types/apps/backend/dist/types/routes/asset.routes.d.ts +0 -1
  108. package/dist/types/apps/backend/dist/types/routes/audit.routes.d.ts +0 -1
  109. package/dist/types/apps/backend/dist/types/routes/bitbucket.routes.d.ts +0 -1
  110. package/dist/types/apps/backend/dist/types/routes/dictionary.routes.d.ts +0 -1
  111. package/dist/types/apps/backend/dist/types/routes/environment.routes.d.ts +0 -1
  112. package/dist/types/apps/backend/dist/types/routes/github.routes.d.ts +0 -1
  113. package/dist/types/apps/backend/dist/types/routes/gitlab.routes.d.ts +0 -1
  114. package/dist/types/apps/backend/dist/types/routes/newsletter.routes.d.ts +0 -1
  115. package/dist/types/apps/backend/dist/types/routes/organization.routes.d.ts +0 -1
  116. package/dist/types/apps/backend/dist/types/routes/project.routes.d.ts +0 -1
  117. package/dist/types/apps/backend/dist/types/routes/reviewer.routes.d.ts +0 -1
  118. package/dist/types/apps/backend/dist/types/routes/showcaseProject.routes.d.ts +0 -1
  119. package/dist/types/apps/backend/dist/types/routes/stripe.routes.d.ts +0 -1
  120. package/dist/types/apps/backend/dist/types/routes/translate.routes.d.ts +0 -1
  121. package/dist/types/apps/backend/dist/types/routes/user.routes.d.ts +0 -1
  122. package/dist/types/apps/backend/dist/types/services/audit/types.d.ts +0 -52
  123. package/dist/types/apps/backend/dist/types/services/audit/types.d.ts.map +0 -1
  124. package/dist/types/apps/backend/dist/types/services/ci.service.d.ts +0 -2
  125. package/dist/types/apps/backend/dist/types/services/github.service.d.ts +0 -2
  126. package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts +0 -14
  127. package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts.map +0 -1
  128. package/dist/types/apps/backend/dist/types/types/affiliate.types.d.ts +0 -40
  129. package/dist/types/apps/backend/dist/types/types/affiliate.types.d.ts.map +0 -1
  130. package/dist/types/apps/backend/dist/types/types/affiliateInvitation.types.d.ts +0 -25
  131. package/dist/types/apps/backend/dist/types/types/affiliateInvitation.types.d.ts.map +0 -1
  132. package/dist/types/apps/backend/dist/types/types/aiStats.types.d.ts +0 -35
  133. package/dist/types/apps/backend/dist/types/types/aiStats.types.d.ts.map +0 -1
  134. package/dist/types/apps/backend/dist/types/types/analytics.types.d.ts +0 -128
  135. package/dist/types/apps/backend/dist/types/types/analytics.types.d.ts.map +0 -1
  136. package/dist/types/apps/backend/dist/types/types/asset.types.d.ts +0 -30
  137. package/dist/types/apps/backend/dist/types/types/asset.types.d.ts.map +0 -1
  138. package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts +0 -67
  139. package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts.map +0 -1
  140. package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts +0 -41
  141. package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts.map +0 -1
  142. package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts +0 -14
  143. package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts.map +0 -1
  144. package/dist/types/apps/backend/dist/types/types/organization.types.d.ts +0 -105
  145. package/dist/types/apps/backend/dist/types/types/organization.types.d.ts.map +0 -1
  146. package/dist/types/apps/backend/dist/types/types/plan.types.d.ts +0 -22
  147. package/dist/types/apps/backend/dist/types/types/plan.types.d.ts.map +0 -1
  148. package/dist/types/apps/backend/dist/types/types/project.types.d.ts +0 -127
  149. package/dist/types/apps/backend/dist/types/types/project.types.d.ts.map +0 -1
  150. package/dist/types/apps/backend/dist/types/types/projectInsights.types.d.ts +0 -79
  151. package/dist/types/apps/backend/dist/types/types/projectInsights.types.d.ts.map +0 -1
  152. package/dist/types/apps/backend/dist/types/types/promoCode.types.d.ts +0 -25
  153. package/dist/types/apps/backend/dist/types/types/promoCode.types.d.ts.map +0 -1
  154. package/dist/types/apps/backend/dist/types/types/reviewer.types.d.ts +0 -60
  155. package/dist/types/apps/backend/dist/types/types/reviewer.types.d.ts.map +0 -1
  156. package/dist/types/apps/backend/dist/types/types/session.types.d.ts +0 -8
  157. package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts +0 -57
  158. package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts.map +0 -1
  159. package/dist/types/apps/backend/dist/types/types/tag.types.d.ts +0 -30
  160. package/dist/types/apps/backend/dist/types/types/tag.types.d.ts.map +0 -1
  161. package/dist/types/apps/backend/dist/types/types/user.types.d.ts +0 -31
  162. package/dist/types/apps/backend/dist/types/types/user.types.d.ts.map +0 -1
  163. package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts +0 -8
  164. package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts.map +0 -1
  165. package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts +0 -14
  166. package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts.map +0 -1
  167. package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts +0 -11
  168. package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts.map +0 -1
  169. package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryMetadata/index.d.ts +0 -4
  170. package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts +0 -10
  171. package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts.map +0 -1
  172. package/dist/types/apps/backend/dist/types/utils/AI/chat/index.d.ts +0 -16
  173. package/dist/types/apps/backend/dist/types/utils/AI/chat/index.d.ts.map +0 -1
  174. package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts +0 -11
  175. package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts.map +0 -1
  176. package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts +0 -20
  177. package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts.map +0 -1
  178. package/dist/types/apps/backend/dist/types/utils/auth/getAuth.d.ts +0 -3
  179. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +0 -42
  180. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts.map +0 -1
  181. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +0 -20
  182. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts.map +0 -1
  183. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts +0 -11
  184. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts.map +0 -1
  185. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +0 -28
  186. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts.map +0 -1
  187. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +0 -21
  188. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts.map +0 -1
  189. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +0 -19
  190. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts.map +0 -1
  191. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts +0 -23
  192. package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts.map +0 -1
  193. package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts +0 -408
  194. package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts.map +0 -1
  195. package/dist/types/apps/backend/dist/types/utils/mongoDB/types.d.ts +0 -9
  196. package/dist/types/apps/backend/dist/types/utils/mongoDB/types.d.ts.map +0 -1
  197. package/dist/types/apps/backend/dist/types/utils/permissions.d.ts +0 -7
  198. package/dist/types/apps/backend/dist/types/utils/responseData.d.ts +0 -25
  199. package/dist/types/apps/backend/dist/types/utils/responseData.d.ts.map +0 -1
  200. package/dist/types/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +0 -8
  201. package/dist/types/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +0 -1
  202. package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +0 -18
  203. package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +0 -1
  204. package/dist/types/intlayer-editor/server/dist/export.d.ts +0 -3
  205. package/dist/types/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts +0 -408
  206. package/dist/types/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +0 -1
  207. package/dist/types/intlayer-editor/server/dist/utils/responseData.d.ts +0 -18
  208. package/dist/types/intlayer-editor/server/dist/utils/responseData.d.ts.map +0 -1
  209. package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts +0 -119
  210. package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts.map +0 -1
  211. package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts +0 -12
  212. package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts.map +0 -1
  213. package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts +0 -9
  214. package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts.map +0 -1
  215. package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts +0 -30
  216. package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts.map +0 -1
  217. package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts +0 -9
  218. package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts.map +0 -1
  219. package/dist/types/packages/@intlayer/core/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +0 -2
  220. package/dist/types/packages/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -2
  221. package/dist/types/packages/@intlayer/core/dist/types/formatters/compact.d.ts +0 -1
  222. package/dist/types/packages/@intlayer/core/dist/types/formatters/currency.d.ts +0 -1
  223. package/dist/types/packages/@intlayer/core/dist/types/formatters/date.d.ts +0 -1
  224. package/dist/types/packages/@intlayer/core/dist/types/formatters/index.d.ts +0 -9
  225. package/dist/types/packages/@intlayer/core/dist/types/formatters/list.d.ts +0 -1
  226. package/dist/types/packages/@intlayer/core/dist/types/formatters/number.d.ts +0 -1
  227. package/dist/types/packages/@intlayer/core/dist/types/formatters/percentage.d.ts +0 -1
  228. package/dist/types/packages/@intlayer/core/dist/types/formatters/relativeTime.d.ts +0 -1
  229. package/dist/types/packages/@intlayer/core/dist/types/formatters/units.d.ts +0 -1
  230. package/dist/types/packages/@intlayer/core/dist/types/interpreter/dictionaryTransformCache.d.ts +0 -4
  231. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getCondition.d.ts +0 -2
  232. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/deepTransform.d.ts +0 -1
  233. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/getContent.d.ts +0 -3
  234. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/index.d.ts +0 -3
  235. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/plugins.d.ts +0 -7
  236. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getDictionary.d.ts +0 -4
  237. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -6
  238. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -2
  239. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -2
  240. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -2
  241. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getIntlayer.d.ts +0 -4
  242. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getIntlayerAsync.d.ts +0 -4
  243. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getNesting.d.ts +0 -6
  244. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -3
  245. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -2
  246. package/dist/types/packages/@intlayer/core/dist/types/interpreter/getTranslation.d.ts +0 -1
  247. package/dist/types/packages/@intlayer/core/dist/types/interpreter/index.d.ts +0 -18
  248. package/dist/types/packages/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -2
  249. package/dist/types/packages/@intlayer/core/dist/types/localization/comparePaths.d.ts +0 -1
  250. package/dist/types/packages/@intlayer/core/dist/types/localization/domainUtils.d.ts +0 -2
  251. package/dist/types/packages/@intlayer/core/dist/types/localization/generateSitemap.d.ts +0 -2
  252. package/dist/types/packages/@intlayer/core/dist/types/localization/getBrowserLocale.d.ts +0 -1
  253. package/dist/types/packages/@intlayer/core/dist/types/localization/getCanonicalPath.d.ts +0 -2
  254. package/dist/types/packages/@intlayer/core/dist/types/localization/getHTMLTextDir.d.ts +0 -1
  255. package/dist/types/packages/@intlayer/core/dist/types/localization/getLocale.d.ts +0 -1
  256. package/dist/types/packages/@intlayer/core/dist/types/localization/getLocaleFromPath.d.ts +0 -2
  257. package/dist/types/packages/@intlayer/core/dist/types/localization/getLocaleLang.d.ts +0 -1
  258. package/dist/types/packages/@intlayer/core/dist/types/localization/getLocaleName.d.ts +0 -1
  259. package/dist/types/packages/@intlayer/core/dist/types/localization/getLocalizedPath.d.ts +0 -2
  260. package/dist/types/packages/@intlayer/core/dist/types/localization/getLocalizedUrl.d.ts +0 -2
  261. package/dist/types/packages/@intlayer/core/dist/types/localization/getMultilingualUrls.d.ts +0 -2
  262. package/dist/types/packages/@intlayer/core/dist/types/localization/getPathWithoutLocale.d.ts +0 -1
  263. package/dist/types/packages/@intlayer/core/dist/types/localization/getPrefix.d.ts +0 -2
  264. package/dist/types/packages/@intlayer/core/dist/types/localization/index.d.ts +0 -22
  265. package/dist/types/packages/@intlayer/core/dist/types/localization/localeDetector.d.ts +0 -2
  266. package/dist/types/packages/@intlayer/core/dist/types/localization/localeMapper.d.ts +0 -1
  267. package/dist/types/packages/@intlayer/core/dist/types/localization/localeResolver.d.ts +0 -1
  268. package/dist/types/packages/@intlayer/core/dist/types/localization/resolveBrowserLocale.d.ts +0 -2
  269. package/dist/types/packages/@intlayer/core/dist/types/localization/rewriteMatch.d.ts +0 -1
  270. package/dist/types/packages/@intlayer/core/dist/types/localization/rewriteUtils.d.ts +0 -2
  271. package/dist/types/packages/@intlayer/core/dist/types/localization/validatePrefix.d.ts +0 -2
  272. package/dist/types/packages/@intlayer/core/dist/types/markdown/index.d.ts +0 -2
  273. package/dist/types/packages/@intlayer/core/dist/types/messageFormat/ICU.d.ts +0 -1
  274. package/dist/types/packages/@intlayer/core/dist/types/messageFormat/i18next.d.ts +0 -2
  275. package/dist/types/packages/@intlayer/core/dist/types/messageFormat/index.d.ts +0 -5
  276. package/dist/types/packages/@intlayer/core/dist/types/messageFormat/po.d.ts +0 -2
  277. package/dist/types/packages/@intlayer/core/dist/types/messageFormat/resolveMessage.d.ts +0 -1
  278. package/dist/types/packages/@intlayer/core/dist/types/messageFormat/vue-i18n.d.ts +0 -2
  279. package/dist/types/packages/@intlayer/core/dist/types/transpiler/condition/condition.d.ts +0 -1
  280. package/dist/types/packages/@intlayer/core/dist/types/transpiler/condition/index.d.ts +0 -1
  281. package/dist/types/packages/@intlayer/core/dist/types/transpiler/enumeration/enumeration.d.ts +0 -1
  282. package/dist/types/packages/@intlayer/core/dist/types/transpiler/enumeration/index.d.ts +0 -1
  283. package/dist/types/packages/@intlayer/core/dist/types/transpiler/file/file.d.ts +0 -1
  284. package/dist/types/packages/@intlayer/core/dist/types/transpiler/file/index.d.ts +0 -1
  285. package/dist/types/packages/@intlayer/core/dist/types/transpiler/gender/gender.d.ts +0 -1
  286. package/dist/types/packages/@intlayer/core/dist/types/transpiler/gender/index.d.ts +0 -1
  287. package/dist/types/packages/@intlayer/core/dist/types/transpiler/html/html.d.ts +0 -1
  288. package/dist/types/packages/@intlayer/core/dist/types/transpiler/html/index.d.ts +0 -1
  289. package/dist/types/packages/@intlayer/core/dist/types/transpiler/index.d.ts +0 -22
  290. package/dist/types/packages/@intlayer/core/dist/types/transpiler/insertion/index.d.ts +0 -1
  291. package/dist/types/packages/@intlayer/core/dist/types/transpiler/insertion/insertion.d.ts +0 -1
  292. package/dist/types/packages/@intlayer/core/dist/types/transpiler/markdown/index.d.ts +0 -1
  293. package/dist/types/packages/@intlayer/core/dist/types/transpiler/markdown/markdown.d.ts +0 -1
  294. package/dist/types/packages/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
  295. package/dist/types/packages/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -4
  296. package/dist/types/packages/@intlayer/core/dist/types/transpiler/plural/index.d.ts +0 -1
  297. package/dist/types/packages/@intlayer/core/dist/types/transpiler/plural/plural.d.ts +0 -1
  298. package/dist/types/packages/@intlayer/core/dist/types/transpiler/select/index.d.ts +0 -1
  299. package/dist/types/packages/@intlayer/core/dist/types/transpiler/select/select.d.ts +0 -1
  300. package/dist/types/packages/@intlayer/core/dist/types/transpiler/translation/index.d.ts +0 -1
  301. package/dist/types/packages/@intlayer/core/dist/types/transpiler/translation/translation.d.ts +0 -2
  302. package/dist/types/packages/@intlayer/core/dist/types/utils/index.d.ts +0 -3
  303. package/dist/types/packages/@intlayer/core/dist/types/utils/intl.d.ts +0 -1
  304. package/dist/types/packages/@intlayer/core/dist/types/utils/isSameKeyPath.d.ts +0 -1
  305. package/dist/types/packages/@intlayer/core/dist/types/utils/localeStorage.d.ts +0 -2
  306. package/dist/types/packages/@intlayer/engine/dist/types/build.d.ts +0 -27
  307. package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +0 -6
  308. package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/index.d.ts +0 -2
  309. package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +0 -2
  310. package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +0 -4
  311. package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +0 -3
  312. package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +0 -2
  313. package/dist/types/packages/@intlayer/engine/dist/types/cleanOutputDir.d.ts +0 -1
  314. package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +0 -1
  315. package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +0 -1
  316. package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +0 -1
  317. package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +0 -1
  318. package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +0 -1
  319. package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/index.d.ts +0 -5
  320. package/dist/types/packages/@intlayer/engine/dist/types/createType/createModuleAugmentation.d.ts +0 -1
  321. package/dist/types/packages/@intlayer/engine/dist/types/createType/createType.d.ts +0 -2
  322. package/dist/types/packages/@intlayer/engine/dist/types/createType/index.d.ts +0 -2
  323. package/dist/types/packages/@intlayer/engine/dist/types/formatDictionary.d.ts +0 -3
  324. package/dist/types/packages/@intlayer/engine/dist/types/intlayer/dist/types/index.d.ts +0 -11
  325. package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/index.d.ts +0 -4
  326. package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadContentDeclaration.d.ts +0 -3
  327. package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadDictionaries.d.ts +0 -2
  328. package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +0 -2
  329. package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +0 -3
  330. package/dist/types/packages/@intlayer/engine/dist/types/prepareIntlayer.d.ts +0 -1
  331. package/dist/types/packages/@intlayer/engine/dist/types/writeConfiguration/index.d.ts +0 -1
  332. package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +0 -6
  333. package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +0 -1
  334. package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/index.d.ts +0 -4
  335. package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/transformJSFile.d.ts +0 -2
  336. package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +0 -4
  337. package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/writeJSFile.d.ts +0 -2
  338. package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +0 -8
  339. package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +0 -1
  340. package/dist/types/packages/intlayer/dist/types/index.d.ts +0 -13
  341. package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +0 -8
  342. package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +0 -1
  343. package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +0 -19
  344. package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +0 -1
  345. package/dist/types/packages/intlayer-editor/server/dist/export.d.ts +0 -3
  346. package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts +0 -408
  347. package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +0 -1
  348. package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts +0 -18
  349. package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts.map +0 -1
@@ -1,349 +1,45 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
- import { PaginatedResponse, ResponseData } from "../apps/backend/dist/types/utils/responseData.js";
4
- import { MissionEstimate, MissionStatus, ReviewerCategory, ReviewerStatus } from "../apps/backend/dist/types/types/reviewer.types.js";
5
- import { CreateMissionBody, EstimateMissionBody, GetMarketplaceQuery, PriceDistributionData, RegisterReviewerBody, SendMessageBody, SubmitReviewBody, UpdateMissionStatusBody, UpdateReviewerBody, UploadReviewerPictureResult } from "../apps/backend/dist/types/controllers/reviewer.controller.js";
6
- import "../apps/backend/dist/types/export.js";
7
3
  import "../index.js";
8
4
  import { IntlayerConfig } from "@intlayer/types/config";
5
+ import { CreateMissionBody, EstimateMissionBody, GetMarketplaceQuery, RegisterReviewerBody, SendMessageBody, SubmitReviewBody, UpdateMissionStatusBody, UpdateReviewerBody } from "@intlayer/backend";
9
6
  //#region src/getIntlayerAPI/reviewer.d.ts
10
7
  export declare const getReviewerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
11
- getMarketplace: (params?: GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
12
- userId: string;
13
- name?: string;
14
- avatar?: string;
15
- bio?: string;
16
- mainPicture?: string;
17
- coverPicture?: string;
18
- languagePairs: {
19
- from: string;
20
- to: string;
21
- }[];
22
- categories: ReviewerCategory[];
23
- pricePerHour: number;
24
- status: ReviewerStatus;
25
- totalMissions: number;
26
- averageRating: number;
27
- reviewCount: number;
28
- stripeAccountId?: string;
29
- socialLinks?: {
30
- github?: string;
31
- linkedin?: string;
32
- portfolio?: string;
33
- };
34
- isHidden?: boolean;
35
- id: string;
36
- createdAt: Date;
37
- updatedAt: Date;
38
- }>>;
8
+ getMarketplace: (params?: GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
39
9
  getPriceDistribution: (params?: Pick<GetMarketplaceQuery, 'fromLocale' | 'toLocale' | 'minRating' | 'categories'>, otherOptions?: FetcherOptions) => Promise<ResponseData<PriceDistributionData>>;
40
- getReviewerById: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
41
- userId: string;
42
- name?: string;
43
- avatar?: string;
44
- bio?: string;
45
- mainPicture?: string;
46
- coverPicture?: string;
47
- languagePairs: {
48
- from: string;
49
- to: string;
50
- }[];
51
- categories: ReviewerCategory[];
52
- pricePerHour: number;
53
- status: ReviewerStatus;
54
- totalMissions: number;
55
- averageRating: number;
56
- reviewCount: number;
57
- stripeAccountId?: string;
58
- socialLinks?: {
59
- github?: string;
60
- linkedin?: string;
61
- portfolio?: string;
62
- };
63
- isHidden?: boolean;
64
- id: string;
65
- createdAt: Date;
66
- updatedAt: Date;
67
- }>>;
10
+ getReviewerById: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
68
11
  getReviewerReviews: (reviewerId: string, params?: {
69
12
  page?: number;
70
13
  pageSize?: number;
71
- }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
72
- missionId: string;
73
- reviewerId: string;
74
- rating: number;
75
- comment?: string;
76
- id: string;
77
- createdAt: Date;
78
- updatedAt: Date;
79
- }>>;
80
- getMyReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<{
81
- userId: string;
82
- name?: string;
83
- avatar?: string;
84
- bio?: string;
85
- mainPicture?: string;
86
- coverPicture?: string;
87
- languagePairs: {
88
- from: string;
89
- to: string;
90
- }[];
91
- categories: ReviewerCategory[];
92
- pricePerHour: number;
93
- status: ReviewerStatus;
94
- totalMissions: number;
95
- averageRating: number;
96
- reviewCount: number;
97
- stripeAccountId?: string;
98
- socialLinks?: {
99
- github?: string;
100
- linkedin?: string;
101
- portfolio?: string;
102
- };
103
- isHidden?: boolean;
104
- id: string;
105
- createdAt: Date;
106
- updatedAt: Date;
107
- }>>;
108
- registerAsReviewer: (body: RegisterReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
109
- userId: string;
110
- name?: string;
111
- avatar?: string;
112
- bio?: string;
113
- mainPicture?: string;
114
- coverPicture?: string;
115
- languagePairs: {
116
- from: string;
117
- to: string;
118
- }[];
119
- categories: ReviewerCategory[];
120
- pricePerHour: number;
121
- status: ReviewerStatus;
122
- totalMissions: number;
123
- averageRating: number;
124
- reviewCount: number;
125
- stripeAccountId?: string;
126
- socialLinks?: {
127
- github?: string;
128
- linkedin?: string;
129
- portfolio?: string;
130
- };
131
- isHidden?: boolean;
132
- id: string;
133
- createdAt: Date;
134
- updatedAt: Date;
135
- }>>;
136
- updateReviewerProfile: (body: UpdateReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
137
- userId: string;
138
- name?: string;
139
- avatar?: string;
140
- bio?: string;
141
- mainPicture?: string;
142
- coverPicture?: string;
143
- languagePairs: {
144
- from: string;
145
- to: string;
146
- }[];
147
- categories: ReviewerCategory[];
148
- pricePerHour: number;
149
- status: ReviewerStatus;
150
- totalMissions: number;
151
- averageRating: number;
152
- reviewCount: number;
153
- stripeAccountId?: string;
154
- socialLinks?: {
155
- github?: string;
156
- linkedin?: string;
157
- portfolio?: string;
158
- };
159
- isHidden?: boolean;
160
- id: string;
161
- createdAt: Date;
162
- updatedAt: Date;
163
- }>>;
14
+ }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerReviewAPI>>;
15
+ getMyReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
16
+ registerAsReviewer: (body: RegisterReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
17
+ updateReviewerProfile: (body: UpdateReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
164
18
  deleteReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<null>>;
165
19
  estimateMission: (body: EstimateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<MissionEstimate>>;
166
- createMission: (body: CreateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
167
- reviewerId: string;
168
- clientUserId: string;
169
- projectId?: string;
170
- dictionaryIds: string[];
171
- sourceLocale?: string;
172
- targetLocales: string[];
173
- wordCount: number;
174
- estimatedHours: number;
175
- pricePerHour: number;
176
- totalPrice: number;
177
- currency: string;
178
- status: MissionStatus;
179
- notes?: string;
180
- aiPreGeneratedAt?: Date;
181
- completedAt?: Date;
182
- canceledAt?: Date;
183
- id: string;
184
- createdAt: Date;
185
- updatedAt: Date;
186
- }>>;
20
+ createMission: (body: CreateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
187
21
  getMyMissions: (params?: {
188
22
  role?: 'client' | 'reviewer';
189
23
  page?: number;
190
24
  pageSize?: number;
191
- }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
192
- reviewerId: string;
193
- clientUserId: string;
194
- projectId?: string;
195
- dictionaryIds: string[];
196
- sourceLocale?: string;
197
- targetLocales: string[];
198
- wordCount: number;
199
- estimatedHours: number;
200
- pricePerHour: number;
201
- totalPrice: number;
202
- currency: string;
203
- status: MissionStatus;
204
- notes?: string;
205
- aiPreGeneratedAt?: Date;
206
- completedAt?: Date;
207
- canceledAt?: Date;
208
- id: string;
209
- createdAt: Date;
210
- updatedAt: Date;
211
- }>>;
212
- getMissionById: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
213
- reviewerId: string;
214
- clientUserId: string;
215
- projectId?: string;
216
- dictionaryIds: string[];
217
- sourceLocale?: string;
218
- targetLocales: string[];
219
- wordCount: number;
220
- estimatedHours: number;
221
- pricePerHour: number;
222
- totalPrice: number;
223
- currency: string;
224
- status: MissionStatus;
225
- notes?: string;
226
- aiPreGeneratedAt?: Date;
227
- completedAt?: Date;
228
- canceledAt?: Date;
229
- id: string;
230
- createdAt: Date;
231
- updatedAt: Date;
232
- }>>;
233
- updateMissionStatus: (missionId: string, body: UpdateMissionStatusBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
234
- reviewerId: string;
235
- clientUserId: string;
236
- projectId?: string;
237
- dictionaryIds: string[];
238
- sourceLocale?: string;
239
- targetLocales: string[];
240
- wordCount: number;
241
- estimatedHours: number;
242
- pricePerHour: number;
243
- totalPrice: number;
244
- currency: string;
245
- status: MissionStatus;
246
- notes?: string;
247
- aiPreGeneratedAt?: Date;
248
- completedAt?: Date;
249
- canceledAt?: Date;
250
- id: string;
251
- createdAt: Date;
252
- updatedAt: Date;
253
- }>>;
254
- submitReview: (missionId: string, body: SubmitReviewBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
255
- missionId: string;
256
- reviewerId: string;
257
- rating: number;
258
- comment?: string;
259
- id: string;
260
- createdAt: Date;
261
- updatedAt: Date;
262
- }>>;
25
+ }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<TranslationMissionAPI>>;
26
+ getMissionById: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
27
+ updateMissionStatus: (missionId: string, body: UpdateMissionStatusBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
28
+ submitReview: (missionId: string, body: SubmitReviewBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerReviewAPI>>;
263
29
  contactReviewer: (reviewerId: string, body: {
264
30
  message: string;
265
31
  }, otherOptions?: FetcherOptions) => Promise<ResponseData<null>>;
266
- getChatHistory: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
267
- missionId: string;
268
- senderId: string;
269
- content: string;
270
- readAt?: Date;
271
- id: string;
272
- createdAt: Date;
273
- updatedAt: Date;
274
- }[]>>;
275
- sendMessage: (missionId: string, body: SendMessageBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
276
- missionId: string;
277
- senderId: string;
278
- content: string;
279
- readAt?: Date;
280
- id: string;
281
- createdAt: Date;
282
- updatedAt: Date;
283
- }>>;
32
+ getChatHistory: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerMessageAPI[]>>;
33
+ sendMessage: (missionId: string, body: SendMessageBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerMessageAPI>>;
284
34
  getChatStreamUrl: (missionId: string) => string;
285
35
  uploadMainPicture: (file: File, otherOptions?: FetcherOptions) => Promise<UploadReviewerPictureResult>;
286
36
  uploadCoverPicture: (file: File, otherOptions?: FetcherOptions) => Promise<UploadReviewerPictureResult>;
287
- validateReviewerProfile: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
288
- userId: string;
289
- name?: string;
290
- avatar?: string;
291
- bio?: string;
292
- mainPicture?: string;
293
- coverPicture?: string;
294
- languagePairs: {
295
- from: string;
296
- to: string;
297
- }[];
298
- categories: ReviewerCategory[];
299
- pricePerHour: number;
300
- status: ReviewerStatus;
301
- totalMissions: number;
302
- averageRating: number;
303
- reviewCount: number;
304
- stripeAccountId?: string;
305
- socialLinks?: {
306
- github?: string;
307
- linkedin?: string;
308
- portfolio?: string;
309
- };
310
- isHidden?: boolean;
311
- id: string;
312
- createdAt: Date;
313
- updatedAt: Date;
314
- }>>;
37
+ validateReviewerProfile: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
315
38
  getAdminReviewers: (params?: {
316
39
  page?: number;
317
40
  pageSize?: number;
318
41
  status?: string;
319
- }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
320
- userId: string;
321
- name?: string;
322
- avatar?: string;
323
- bio?: string;
324
- mainPicture?: string;
325
- coverPicture?: string;
326
- languagePairs: {
327
- from: string;
328
- to: string;
329
- }[];
330
- categories: ReviewerCategory[];
331
- pricePerHour: number;
332
- status: ReviewerStatus;
333
- totalMissions: number;
334
- averageRating: number;
335
- reviewCount: number;
336
- stripeAccountId?: string;
337
- socialLinks?: {
338
- github?: string;
339
- linkedin?: string;
340
- portfolio?: string;
341
- };
342
- isHidden?: boolean;
343
- id: string;
344
- createdAt: Date;
345
- updatedAt: Date;
346
- }>>;
42
+ }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
347
43
  };
348
44
  /**
349
45
  * Authenticated `reviewer` endpoint bound to an Intlayer CMS authenticator.
@@ -352,342 +48,41 @@ export declare const getReviewerAPI: (authAPIOptions?: FetcherOptions, intlayerC
352
48
  * the build-time configuration (`@intlayer/config/built`).
353
49
  */
354
50
  export declare const reviewerEndpoint: CMSEndpoint<{
355
- getMarketplace: (params?: GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
356
- userId: string;
357
- name?: string;
358
- avatar?: string;
359
- bio?: string;
360
- mainPicture?: string;
361
- coverPicture?: string;
362
- languagePairs: {
363
- from: string;
364
- to: string;
365
- }[];
366
- categories: ReviewerCategory[];
367
- pricePerHour: number;
368
- status: ReviewerStatus;
369
- totalMissions: number;
370
- averageRating: number;
371
- reviewCount: number;
372
- stripeAccountId?: string;
373
- socialLinks?: {
374
- github?: string;
375
- linkedin?: string;
376
- portfolio?: string;
377
- };
378
- isHidden?: boolean;
379
- id: string;
380
- createdAt: Date;
381
- updatedAt: Date;
382
- }>>;
51
+ getMarketplace: (params?: GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
383
52
  getPriceDistribution: (params?: Pick<GetMarketplaceQuery, 'fromLocale' | 'toLocale' | 'minRating' | 'categories'>, otherOptions?: FetcherOptions) => Promise<ResponseData<PriceDistributionData>>;
384
- getReviewerById: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
385
- userId: string;
386
- name?: string;
387
- avatar?: string;
388
- bio?: string;
389
- mainPicture?: string;
390
- coverPicture?: string;
391
- languagePairs: {
392
- from: string;
393
- to: string;
394
- }[];
395
- categories: ReviewerCategory[];
396
- pricePerHour: number;
397
- status: ReviewerStatus;
398
- totalMissions: number;
399
- averageRating: number;
400
- reviewCount: number;
401
- stripeAccountId?: string;
402
- socialLinks?: {
403
- github?: string;
404
- linkedin?: string;
405
- portfolio?: string;
406
- };
407
- isHidden?: boolean;
408
- id: string;
409
- createdAt: Date;
410
- updatedAt: Date;
411
- }>>;
53
+ getReviewerById: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
412
54
  getReviewerReviews: (reviewerId: string, params?: {
413
55
  page?: number;
414
56
  pageSize?: number;
415
- }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
416
- missionId: string;
417
- reviewerId: string;
418
- rating: number;
419
- comment?: string;
420
- id: string;
421
- createdAt: Date;
422
- updatedAt: Date;
423
- }>>;
424
- getMyReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<{
425
- userId: string;
426
- name?: string;
427
- avatar?: string;
428
- bio?: string;
429
- mainPicture?: string;
430
- coverPicture?: string;
431
- languagePairs: {
432
- from: string;
433
- to: string;
434
- }[];
435
- categories: ReviewerCategory[];
436
- pricePerHour: number;
437
- status: ReviewerStatus;
438
- totalMissions: number;
439
- averageRating: number;
440
- reviewCount: number;
441
- stripeAccountId?: string;
442
- socialLinks?: {
443
- github?: string;
444
- linkedin?: string;
445
- portfolio?: string;
446
- };
447
- isHidden?: boolean;
448
- id: string;
449
- createdAt: Date;
450
- updatedAt: Date;
451
- }>>;
452
- registerAsReviewer: (body: RegisterReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
453
- userId: string;
454
- name?: string;
455
- avatar?: string;
456
- bio?: string;
457
- mainPicture?: string;
458
- coverPicture?: string;
459
- languagePairs: {
460
- from: string;
461
- to: string;
462
- }[];
463
- categories: ReviewerCategory[];
464
- pricePerHour: number;
465
- status: ReviewerStatus;
466
- totalMissions: number;
467
- averageRating: number;
468
- reviewCount: number;
469
- stripeAccountId?: string;
470
- socialLinks?: {
471
- github?: string;
472
- linkedin?: string;
473
- portfolio?: string;
474
- };
475
- isHidden?: boolean;
476
- id: string;
477
- createdAt: Date;
478
- updatedAt: Date;
479
- }>>;
480
- updateReviewerProfile: (body: UpdateReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
481
- userId: string;
482
- name?: string;
483
- avatar?: string;
484
- bio?: string;
485
- mainPicture?: string;
486
- coverPicture?: string;
487
- languagePairs: {
488
- from: string;
489
- to: string;
490
- }[];
491
- categories: ReviewerCategory[];
492
- pricePerHour: number;
493
- status: ReviewerStatus;
494
- totalMissions: number;
495
- averageRating: number;
496
- reviewCount: number;
497
- stripeAccountId?: string;
498
- socialLinks?: {
499
- github?: string;
500
- linkedin?: string;
501
- portfolio?: string;
502
- };
503
- isHidden?: boolean;
504
- id: string;
505
- createdAt: Date;
506
- updatedAt: Date;
507
- }>>;
57
+ }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerReviewAPI>>;
58
+ getMyReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
59
+ registerAsReviewer: (body: RegisterReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
60
+ updateReviewerProfile: (body: UpdateReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
508
61
  deleteReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<null>>;
509
62
  estimateMission: (body: EstimateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<MissionEstimate>>;
510
- createMission: (body: CreateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
511
- reviewerId: string;
512
- clientUserId: string;
513
- projectId?: string;
514
- dictionaryIds: string[];
515
- sourceLocale?: string;
516
- targetLocales: string[];
517
- wordCount: number;
518
- estimatedHours: number;
519
- pricePerHour: number;
520
- totalPrice: number;
521
- currency: string;
522
- status: MissionStatus;
523
- notes?: string;
524
- aiPreGeneratedAt?: Date;
525
- completedAt?: Date;
526
- canceledAt?: Date;
527
- id: string;
528
- createdAt: Date;
529
- updatedAt: Date;
530
- }>>;
63
+ createMission: (body: CreateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
531
64
  getMyMissions: (params?: {
532
65
  role?: 'client' | 'reviewer';
533
66
  page?: number;
534
67
  pageSize?: number;
535
- }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
536
- reviewerId: string;
537
- clientUserId: string;
538
- projectId?: string;
539
- dictionaryIds: string[];
540
- sourceLocale?: string;
541
- targetLocales: string[];
542
- wordCount: number;
543
- estimatedHours: number;
544
- pricePerHour: number;
545
- totalPrice: number;
546
- currency: string;
547
- status: MissionStatus;
548
- notes?: string;
549
- aiPreGeneratedAt?: Date;
550
- completedAt?: Date;
551
- canceledAt?: Date;
552
- id: string;
553
- createdAt: Date;
554
- updatedAt: Date;
555
- }>>;
556
- getMissionById: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
557
- reviewerId: string;
558
- clientUserId: string;
559
- projectId?: string;
560
- dictionaryIds: string[];
561
- sourceLocale?: string;
562
- targetLocales: string[];
563
- wordCount: number;
564
- estimatedHours: number;
565
- pricePerHour: number;
566
- totalPrice: number;
567
- currency: string;
568
- status: MissionStatus;
569
- notes?: string;
570
- aiPreGeneratedAt?: Date;
571
- completedAt?: Date;
572
- canceledAt?: Date;
573
- id: string;
574
- createdAt: Date;
575
- updatedAt: Date;
576
- }>>;
577
- updateMissionStatus: (missionId: string, body: UpdateMissionStatusBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
578
- reviewerId: string;
579
- clientUserId: string;
580
- projectId?: string;
581
- dictionaryIds: string[];
582
- sourceLocale?: string;
583
- targetLocales: string[];
584
- wordCount: number;
585
- estimatedHours: number;
586
- pricePerHour: number;
587
- totalPrice: number;
588
- currency: string;
589
- status: MissionStatus;
590
- notes?: string;
591
- aiPreGeneratedAt?: Date;
592
- completedAt?: Date;
593
- canceledAt?: Date;
594
- id: string;
595
- createdAt: Date;
596
- updatedAt: Date;
597
- }>>;
598
- submitReview: (missionId: string, body: SubmitReviewBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
599
- missionId: string;
600
- reviewerId: string;
601
- rating: number;
602
- comment?: string;
603
- id: string;
604
- createdAt: Date;
605
- updatedAt: Date;
606
- }>>;
68
+ }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<TranslationMissionAPI>>;
69
+ getMissionById: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
70
+ updateMissionStatus: (missionId: string, body: UpdateMissionStatusBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
71
+ submitReview: (missionId: string, body: SubmitReviewBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerReviewAPI>>;
607
72
  contactReviewer: (reviewerId: string, body: {
608
73
  message: string;
609
74
  }, otherOptions?: FetcherOptions) => Promise<ResponseData<null>>;
610
- getChatHistory: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
611
- missionId: string;
612
- senderId: string;
613
- content: string;
614
- readAt?: Date;
615
- id: string;
616
- createdAt: Date;
617
- updatedAt: Date;
618
- }[]>>;
619
- sendMessage: (missionId: string, body: SendMessageBody, otherOptions?: FetcherOptions) => Promise<ResponseData<{
620
- missionId: string;
621
- senderId: string;
622
- content: string;
623
- readAt?: Date;
624
- id: string;
625
- createdAt: Date;
626
- updatedAt: Date;
627
- }>>;
75
+ getChatHistory: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerMessageAPI[]>>;
76
+ sendMessage: (missionId: string, body: SendMessageBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerMessageAPI>>;
628
77
  getChatStreamUrl: (missionId: string) => string;
629
78
  uploadMainPicture: (file: File, otherOptions?: FetcherOptions) => Promise<UploadReviewerPictureResult>;
630
79
  uploadCoverPicture: (file: File, otherOptions?: FetcherOptions) => Promise<UploadReviewerPictureResult>;
631
- validateReviewerProfile: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<{
632
- userId: string;
633
- name?: string;
634
- avatar?: string;
635
- bio?: string;
636
- mainPicture?: string;
637
- coverPicture?: string;
638
- languagePairs: {
639
- from: string;
640
- to: string;
641
- }[];
642
- categories: ReviewerCategory[];
643
- pricePerHour: number;
644
- status: ReviewerStatus;
645
- totalMissions: number;
646
- averageRating: number;
647
- reviewCount: number;
648
- stripeAccountId?: string;
649
- socialLinks?: {
650
- github?: string;
651
- linkedin?: string;
652
- portfolio?: string;
653
- };
654
- isHidden?: boolean;
655
- id: string;
656
- createdAt: Date;
657
- updatedAt: Date;
658
- }>>;
80
+ validateReviewerProfile: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
659
81
  getAdminReviewers: (params?: {
660
82
  page?: number;
661
83
  pageSize?: number;
662
84
  status?: string;
663
- }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
664
- userId: string;
665
- name?: string;
666
- avatar?: string;
667
- bio?: string;
668
- mainPicture?: string;
669
- coverPicture?: string;
670
- languagePairs: {
671
- from: string;
672
- to: string;
673
- }[];
674
- categories: ReviewerCategory[];
675
- pricePerHour: number;
676
- status: ReviewerStatus;
677
- totalMissions: number;
678
- averageRating: number;
679
- reviewCount: number;
680
- stripeAccountId?: string;
681
- socialLinks?: {
682
- github?: string;
683
- linkedin?: string;
684
- portfolio?: string;
685
- };
686
- isHidden?: boolean;
687
- id: string;
688
- createdAt: Date;
689
- updatedAt: Date;
690
- }>>;
85
+ }, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
691
86
  }>;
692
87
  //#endregion
693
88
  //# sourceMappingURL=reviewer.d.ts.map