@intlayer/api 9.0.0-canary.12 → 9.0.0-canary.14

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