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