lancer-shared 1.2.19 → 1.2.21

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 (160) hide show
  1. package/dist/bundle.cjs.js +134 -23
  2. package/dist/constants/account-status.d.ts +3 -0
  3. package/dist/constants/account-status.js +17 -0
  4. package/dist/constants/collections.js +16 -0
  5. package/dist/constants/common-questions.js +60 -0
  6. package/dist/constants/index.d.ts +1 -1
  7. package/dist/constants/index.js +40 -0
  8. package/dist/constants/invoice.d.ts +2 -0
  9. package/dist/constants/job-filter-options.js +268 -0
  10. package/dist/constants/job-status.js +26 -0
  11. package/dist/constants/mappings/countryMapping.js +122 -0
  12. package/dist/constants/mappings/regionMapping.js +242 -0
  13. package/dist/constants/routes.js +108 -0
  14. package/dist/constants/upwork-accounts.js +21 -0
  15. package/dist/index.js +20 -0
  16. package/dist/schemas/account/account-status.js +11 -0
  17. package/dist/schemas/account/bidder-account.js +37 -0
  18. package/dist/schemas/account/index.js +19 -0
  19. package/dist/schemas/account/manager-account.d.ts +116 -0
  20. package/dist/schemas/account/manager-account.js +38 -0
  21. package/dist/schemas/account/scraper-account.js +37 -0
  22. package/dist/schemas/ai/ai-config.d.ts +36 -0
  23. package/dist/schemas/ai/ai-config.js +12 -0
  24. package/dist/schemas/ai/index.d.ts +3 -0
  25. package/dist/schemas/ai/index.js +19 -0
  26. package/dist/schemas/ai/proposal.d.ts +82 -0
  27. package/dist/schemas/ai/proposal.js +16 -0
  28. package/dist/schemas/ai/suitability.d.ts +37 -0
  29. package/dist/schemas/ai/suitability.js +17 -0
  30. package/dist/schemas/bid/bid-result.js +15 -0
  31. package/dist/schemas/bid/bid.js +36 -0
  32. package/dist/schemas/bid/index.js +18 -0
  33. package/dist/schemas/bidding/index.d.ts +1 -0
  34. package/dist/schemas/bidding/index.js +17 -0
  35. package/dist/schemas/bidding/proposal-bidding-status.d.ts +26 -0
  36. package/dist/schemas/bidding/proposal-bidding-status.js +18 -0
  37. package/dist/schemas/campaign/campaign-ai-metrics.js +9 -0
  38. package/dist/schemas/campaign/campaign-analytics.d.ts +2621 -38
  39. package/dist/schemas/campaign/campaign-analytics.js +41 -0
  40. package/dist/schemas/campaign/campaign-expenses.js +9 -0
  41. package/dist/schemas/campaign/campaign-insights.js +31 -0
  42. package/dist/schemas/campaign/campaign-integrations.js +16 -0
  43. package/dist/schemas/campaign/campaign-job-count.js +6 -0
  44. package/dist/schemas/campaign/campaign.js +44 -0
  45. package/dist/schemas/campaign/index.js +23 -0
  46. package/dist/schemas/chat-message/chat-message.js +13 -0
  47. package/dist/schemas/chat-message/index.js +17 -0
  48. package/dist/schemas/config/agency-config.js +10 -0
  49. package/dist/schemas/config/index.js +17 -0
  50. package/dist/schemas/index.js +32 -0
  51. package/dist/schemas/invoice/index.d.ts +8 -0
  52. package/dist/schemas/job/index.js +19 -0
  53. package/dist/schemas/job/job-details.d.ts +335 -0
  54. package/dist/schemas/job/job-details.js +29 -0
  55. package/dist/schemas/job/job-note.d.ts +83 -0
  56. package/dist/schemas/job/job-note.js +30 -0
  57. package/dist/schemas/job/job-status.d.ts +3 -0
  58. package/dist/schemas/job/job-status.js +27 -0
  59. package/dist/schemas/job/job.d.ts +1160 -0
  60. package/dist/schemas/job/job.js +90 -0
  61. package/dist/schemas/job/pipeline-job.d.ts +602 -0
  62. package/dist/schemas/job/pipeline-job.js +42 -0
  63. package/dist/schemas/job/upwork-job.d.ts +334 -0
  64. package/dist/schemas/job/upwork-job.js +60 -0
  65. package/dist/schemas/job-filters/index.js +17 -0
  66. package/dist/schemas/job-filters/job-filters.js +87 -0
  67. package/dist/schemas/lead/index.js +19 -0
  68. package/dist/schemas/lead/lead-note.js +30 -0
  69. package/dist/schemas/lead/lead-status.d.ts +23 -0
  70. package/dist/schemas/lead/lead-status.js +26 -0
  71. package/dist/schemas/lead/lead.d.ts +1897 -0
  72. package/dist/schemas/lead/lead.js +143 -0
  73. package/dist/schemas/logger/index.js +17 -0
  74. package/dist/schemas/logger/log-event.d.ts +13 -10
  75. package/dist/schemas/logger/log-event.js +66 -0
  76. package/dist/schemas/organization/index.d.ts +68 -1
  77. package/dist/schemas/organization/index.js +17 -0
  78. package/dist/schemas/organization/organization.d.ts +13 -87
  79. package/dist/schemas/organization/organization.js +19 -0
  80. package/dist/schemas/organization/subscription.d.ts +47 -0
  81. package/dist/schemas/plan/index.d.ts +36 -3
  82. package/dist/schemas/proxy/index.js +17 -0
  83. package/dist/schemas/proxy/proxy.js +21 -0
  84. package/dist/schemas/saved-search/index.js +12 -0
  85. package/dist/schemas/scraper/index.js +18 -0
  86. package/dist/schemas/scraper/scrape-payload.d.ts +49 -0
  87. package/dist/schemas/scraper/scrape-payload.js +16 -0
  88. package/dist/schemas/scraper/scrape-result.js +23 -0
  89. package/dist/schemas/shared.js +16 -0
  90. package/dist/schemas/time-filter/index.js +9 -0
  91. package/dist/schemas/upwork-account/index.d.ts +3 -0
  92. package/dist/schemas/upwork-account/index.js +19 -0
  93. package/dist/schemas/upwork-account/upwork-account-status.d.ts +2 -0
  94. package/dist/schemas/upwork-account/upwork-account-status.js +11 -0
  95. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +95 -0
  96. package/dist/schemas/upwork-account/upwork-business-manager-account.js +35 -0
  97. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +90 -0
  98. package/dist/schemas/upwork-account/upwork-scraping-account.js +29 -0
  99. package/dist/schemas/user/index.js +55 -0
  100. package/dist/types/account/account-status.js +2 -0
  101. package/dist/types/account/bidder-account.js +2 -0
  102. package/dist/types/account/index.js +19 -0
  103. package/dist/types/account/manager-account.d.ts +7 -0
  104. package/dist/types/account/manager-account.js +2 -0
  105. package/dist/types/account/scraper-account.js +2 -0
  106. package/dist/types/ai/ai-config.d.ts +6 -0
  107. package/dist/types/ai/ai-config.js +2 -0
  108. package/dist/types/ai/index.d.ts +3 -0
  109. package/dist/types/ai/index.js +19 -0
  110. package/dist/types/ai/proposal.d.ts +10 -0
  111. package/dist/types/ai/proposal.js +2 -0
  112. package/dist/types/ai/suitability.d.ts +6 -0
  113. package/dist/types/ai/suitability.js +2 -0
  114. package/dist/types/bid/bid-result.js +2 -0
  115. package/dist/types/bid/bid.js +2 -0
  116. package/dist/types/bid/index.js +18 -0
  117. package/dist/types/bidding/index.d.ts +1 -0
  118. package/dist/types/bidding/index.js +17 -0
  119. package/dist/types/bidding/proposal-bidding-status.d.ts +3 -0
  120. package/dist/types/bidding/proposal-bidding-status.js +2 -0
  121. package/dist/types/campaign/campaign-analytics.js +2 -0
  122. package/dist/types/campaign/campaign-expenses.js +2 -0
  123. package/dist/types/campaign/campaign-insights.js +2 -0
  124. package/dist/types/campaign/campaign-integrations.js +2 -0
  125. package/dist/types/campaign/campaign-job-count.js +2 -0
  126. package/dist/types/campaign/campaign.js +2 -0
  127. package/dist/types/campaign/index.js +22 -0
  128. package/dist/types/chat-message/chat-message.js +2 -0
  129. package/dist/types/chat-message/index.js +17 -0
  130. package/dist/types/config/agency-config.js +2 -0
  131. package/dist/types/config/index.js +17 -0
  132. package/dist/types/index.js +29 -0
  133. package/dist/types/job/index.js +19 -0
  134. package/dist/types/job/job-details.d.ts +36 -0
  135. package/dist/types/job/job-details.js +2 -0
  136. package/dist/types/job/job-note.js +2 -0
  137. package/dist/types/job/job-status.js +12 -0
  138. package/dist/types/job/job.d.ts +36 -0
  139. package/dist/types/job/job.js +2 -0
  140. package/dist/types/job-filters/index.js +17 -0
  141. package/dist/types/job-filters/job-filters.js +2 -0
  142. package/dist/types/logger/index.js +17 -0
  143. package/dist/types/logger/log-event.js +2 -0
  144. package/dist/types/saved-search/index.js +2 -0
  145. package/dist/types/scraper/index.js +18 -0
  146. package/dist/types/scraper/scrape-payload.js +2 -0
  147. package/dist/types/scraper/scrape-result.js +2 -0
  148. package/dist/types/time-filter/index.js +2 -0
  149. package/dist/types/upwork-account/index.d.ts +3 -0
  150. package/dist/types/upwork-account/index.js +19 -0
  151. package/dist/types/upwork-account/upwork-account-status.d.ts +3 -0
  152. package/dist/types/upwork-account/upwork-account-status.js +2 -0
  153. package/dist/types/upwork-account/upwork-business-manager-account.d.ts +7 -0
  154. package/dist/types/upwork-account/upwork-business-manager-account.js +2 -0
  155. package/dist/types/upwork-account/upwork-scraping-account.d.ts +5 -0
  156. package/dist/types/upwork-account/upwork-scraping-account.js +2 -0
  157. package/dist/types/user/index.js +2 -0
  158. package/dist/utils/index.js +17 -0
  159. package/dist/utils/try-catch.js +25 -0
  160. package/package.json +1 -1
@@ -0,0 +1,1160 @@
1
+ import { z } from "zod";
2
+ export declare const jobSkillsSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ name: string;
6
+ }, {
7
+ name: string;
8
+ }>;
9
+ export declare const vendorQualificationSchema: z.ZodObject<{
10
+ location: z.ZodNullable<z.ZodString>;
11
+ talentType: z.ZodNullable<z.ZodEnum<["Agency", "Independent", "unspecified"]>>;
12
+ englishLevel: z.ZodNullable<z.ZodString>;
13
+ minimumEarnings: z.ZodNullable<z.ZodNumber>;
14
+ jobSuccessScore: z.ZodNullable<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ location: string | null;
17
+ talentType: "unspecified" | "Agency" | "Independent" | null;
18
+ englishLevel: string | null;
19
+ minimumEarnings: number | null;
20
+ jobSuccessScore: string | null;
21
+ }, {
22
+ location: string | null;
23
+ talentType: "unspecified" | "Agency" | "Independent" | null;
24
+ englishLevel: string | null;
25
+ minimumEarnings: number | null;
26
+ jobSuccessScore: string | null;
27
+ }>;
28
+ export declare const clientInfoSchema: z.ZodObject<{
29
+ isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
30
+ numberOfReviews: z.ZodNullable<z.ZodNumber>;
31
+ rating: z.ZodNullable<z.ZodNumber>;
32
+ country: z.ZodNullable<z.ZodString>;
33
+ region: z.ZodNullable<z.ZodString>;
34
+ jobsPosted: z.ZodNullable<z.ZodNumber>;
35
+ totalSpent: z.ZodNullable<z.ZodNumber>;
36
+ numberOfHires: z.ZodNullable<z.ZodNumber>;
37
+ activeEngagements: z.ZodNullable<z.ZodNumber>;
38
+ openJobs: z.ZodNullable<z.ZodNumber>;
39
+ hireRate: z.ZodNullable<z.ZodNumber>;
40
+ memberSince: z.ZodNullable<z.ZodString>;
41
+ companyIndustry: z.ZodNullable<z.ZodString>;
42
+ companySize: z.ZodNullable<z.ZodString>;
43
+ enterpriseClient: z.ZodNullable<z.ZodBoolean>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ country: string | null;
46
+ region: string | null;
47
+ rating: number | null;
48
+ isPaymentVerified: boolean | null;
49
+ numberOfReviews: number | null;
50
+ jobsPosted: number | null;
51
+ totalSpent: number | null;
52
+ numberOfHires: number | null;
53
+ activeEngagements: number | null;
54
+ openJobs: number | null;
55
+ hireRate: number | null;
56
+ memberSince: string | null;
57
+ companyIndustry: string | null;
58
+ companySize: string | null;
59
+ enterpriseClient: boolean | null;
60
+ }, {
61
+ country: string | null;
62
+ region: string | null;
63
+ rating: number | null;
64
+ isPaymentVerified: boolean | null;
65
+ numberOfReviews: number | null;
66
+ jobsPosted: number | null;
67
+ totalSpent: number | null;
68
+ numberOfHires: number | null;
69
+ activeEngagements: number | null;
70
+ openJobs: number | null;
71
+ hireRate: number | null;
72
+ memberSince: string | null;
73
+ companyIndustry: string | null;
74
+ companySize: string | null;
75
+ enterpriseClient: boolean | null;
76
+ }>;
77
+ export declare const metadataSchema: z.ZodObject<{
78
+ hours: z.ZodNullable<z.ZodString>;
79
+ duration: z.ZodNullable<z.ZodString>;
80
+ experienceLevel: z.ZodNullable<z.ZodString>;
81
+ hourlyRate: z.ZodNullable<z.ZodObject<{
82
+ min: z.ZodNullable<z.ZodNumber>;
83
+ max: z.ZodNullable<z.ZodNumber>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ max: number | null;
86
+ min: number | null;
87
+ }, {
88
+ max: number | null;
89
+ min: number | null;
90
+ }>>;
91
+ paymentType: z.ZodNullable<z.ZodString>;
92
+ fixedPrice: z.ZodNullable<z.ZodNumber>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ hours: string | null;
95
+ duration: string | null;
96
+ experienceLevel: string | null;
97
+ hourlyRate: {
98
+ max: number | null;
99
+ min: number | null;
100
+ } | null;
101
+ paymentType: string | null;
102
+ fixedPrice: number | null;
103
+ }, {
104
+ hours: string | null;
105
+ duration: string | null;
106
+ experienceLevel: string | null;
107
+ hourlyRate: {
108
+ max: number | null;
109
+ min: number | null;
110
+ } | null;
111
+ paymentType: string | null;
112
+ fixedPrice: number | null;
113
+ }>;
114
+ export declare const upworkJobSchema: z.ZodObject<{
115
+ id: z.ZodNullable<z.ZodString>;
116
+ createdAt: z.ZodNullable<z.ZodNumber>;
117
+ title: z.ZodNullable<z.ZodString>;
118
+ category: z.ZodNullable<z.ZodString>;
119
+ skills: z.ZodNullable<z.ZodArray<z.ZodObject<{
120
+ name: z.ZodString;
121
+ }, "strip", z.ZodTypeAny, {
122
+ name: string;
123
+ }, {
124
+ name: string;
125
+ }>, "many">>;
126
+ datetime: z.ZodNullable<z.ZodNumber>;
127
+ description: z.ZodNullable<z.ZodString>;
128
+ descriptionLength: z.ZodNullable<z.ZodNumber>;
129
+ connectsRequired: z.ZodNullable<z.ZodNumber>;
130
+ projectType: z.ZodNullable<z.ZodString>;
131
+ projectDuration: z.ZodNullable<z.ZodString>;
132
+ questions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
133
+ jobUrl: z.ZodNullable<z.ZodString>;
134
+ metadata: z.ZodNullable<z.ZodObject<{
135
+ hours: z.ZodNullable<z.ZodString>;
136
+ duration: z.ZodNullable<z.ZodString>;
137
+ experienceLevel: z.ZodNullable<z.ZodString>;
138
+ hourlyRate: z.ZodNullable<z.ZodObject<{
139
+ min: z.ZodNullable<z.ZodNumber>;
140
+ max: z.ZodNullable<z.ZodNumber>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ max: number | null;
143
+ min: number | null;
144
+ }, {
145
+ max: number | null;
146
+ min: number | null;
147
+ }>>;
148
+ paymentType: z.ZodNullable<z.ZodString>;
149
+ fixedPrice: z.ZodNullable<z.ZodNumber>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ hours: string | null;
152
+ duration: string | null;
153
+ experienceLevel: string | null;
154
+ hourlyRate: {
155
+ max: number | null;
156
+ min: number | null;
157
+ } | null;
158
+ paymentType: string | null;
159
+ fixedPrice: number | null;
160
+ }, {
161
+ hours: string | null;
162
+ duration: string | null;
163
+ experienceLevel: string | null;
164
+ hourlyRate: {
165
+ max: number | null;
166
+ min: number | null;
167
+ } | null;
168
+ paymentType: string | null;
169
+ fixedPrice: number | null;
170
+ }>>;
171
+ clientInfo: z.ZodNullable<z.ZodObject<{
172
+ isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
173
+ numberOfReviews: z.ZodNullable<z.ZodNumber>;
174
+ rating: z.ZodNullable<z.ZodNumber>;
175
+ country: z.ZodNullable<z.ZodString>;
176
+ region: z.ZodNullable<z.ZodString>;
177
+ jobsPosted: z.ZodNullable<z.ZodNumber>;
178
+ totalSpent: z.ZodNullable<z.ZodNumber>;
179
+ numberOfHires: z.ZodNullable<z.ZodNumber>;
180
+ activeEngagements: z.ZodNullable<z.ZodNumber>;
181
+ openJobs: z.ZodNullable<z.ZodNumber>;
182
+ hireRate: z.ZodNullable<z.ZodNumber>;
183
+ memberSince: z.ZodNullable<z.ZodString>;
184
+ companyIndustry: z.ZodNullable<z.ZodString>;
185
+ companySize: z.ZodNullable<z.ZodString>;
186
+ enterpriseClient: z.ZodNullable<z.ZodBoolean>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ country: string | null;
189
+ region: string | null;
190
+ rating: number | null;
191
+ isPaymentVerified: boolean | null;
192
+ numberOfReviews: number | null;
193
+ jobsPosted: number | null;
194
+ totalSpent: number | null;
195
+ numberOfHires: number | null;
196
+ activeEngagements: number | null;
197
+ openJobs: number | null;
198
+ hireRate: number | null;
199
+ memberSince: string | null;
200
+ companyIndustry: string | null;
201
+ companySize: string | null;
202
+ enterpriseClient: boolean | null;
203
+ }, {
204
+ country: string | null;
205
+ region: string | null;
206
+ rating: number | null;
207
+ isPaymentVerified: boolean | null;
208
+ numberOfReviews: number | null;
209
+ jobsPosted: number | null;
210
+ totalSpent: number | null;
211
+ numberOfHires: number | null;
212
+ activeEngagements: number | null;
213
+ openJobs: number | null;
214
+ hireRate: number | null;
215
+ memberSince: string | null;
216
+ companyIndustry: string | null;
217
+ companySize: string | null;
218
+ enterpriseClient: boolean | null;
219
+ }>>;
220
+ vendorQualifications: z.ZodNullable<z.ZodObject<{
221
+ location: z.ZodNullable<z.ZodString>;
222
+ talentType: z.ZodNullable<z.ZodEnum<["Agency", "Independent", "unspecified"]>>;
223
+ englishLevel: z.ZodNullable<z.ZodString>;
224
+ minimumEarnings: z.ZodNullable<z.ZodNumber>;
225
+ jobSuccessScore: z.ZodNullable<z.ZodString>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ location: string | null;
228
+ talentType: "unspecified" | "Agency" | "Independent" | null;
229
+ englishLevel: string | null;
230
+ minimumEarnings: number | null;
231
+ jobSuccessScore: string | null;
232
+ }, {
233
+ location: string | null;
234
+ talentType: "unspecified" | "Agency" | "Independent" | null;
235
+ englishLevel: string | null;
236
+ minimumEarnings: number | null;
237
+ jobSuccessScore: string | null;
238
+ }>>;
239
+ processed: z.ZodNullable<z.ZodBoolean>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ id: string | null;
242
+ title: string | null;
243
+ metadata: {
244
+ hours: string | null;
245
+ duration: string | null;
246
+ experienceLevel: string | null;
247
+ hourlyRate: {
248
+ max: number | null;
249
+ min: number | null;
250
+ } | null;
251
+ paymentType: string | null;
252
+ fixedPrice: number | null;
253
+ } | null;
254
+ description: string | null;
255
+ datetime: number | null;
256
+ createdAt: number | null;
257
+ category: string | null;
258
+ skills: {
259
+ name: string;
260
+ }[] | null;
261
+ descriptionLength: number | null;
262
+ connectsRequired: number | null;
263
+ projectType: string | null;
264
+ projectDuration: string | null;
265
+ questions: string[] | null;
266
+ jobUrl: string | null;
267
+ clientInfo: {
268
+ country: string | null;
269
+ region: string | null;
270
+ rating: number | null;
271
+ isPaymentVerified: boolean | null;
272
+ numberOfReviews: number | null;
273
+ jobsPosted: number | null;
274
+ totalSpent: number | null;
275
+ numberOfHires: number | null;
276
+ activeEngagements: number | null;
277
+ openJobs: number | null;
278
+ hireRate: number | null;
279
+ memberSince: string | null;
280
+ companyIndustry: string | null;
281
+ companySize: string | null;
282
+ enterpriseClient: boolean | null;
283
+ } | null;
284
+ vendorQualifications: {
285
+ location: string | null;
286
+ talentType: "unspecified" | "Agency" | "Independent" | null;
287
+ englishLevel: string | null;
288
+ minimumEarnings: number | null;
289
+ jobSuccessScore: string | null;
290
+ } | null;
291
+ processed: boolean | null;
292
+ }, {
293
+ id: string | null;
294
+ title: string | null;
295
+ metadata: {
296
+ hours: string | null;
297
+ duration: string | null;
298
+ experienceLevel: string | null;
299
+ hourlyRate: {
300
+ max: number | null;
301
+ min: number | null;
302
+ } | null;
303
+ paymentType: string | null;
304
+ fixedPrice: number | null;
305
+ } | null;
306
+ description: string | null;
307
+ datetime: number | null;
308
+ createdAt: number | null;
309
+ category: string | null;
310
+ skills: {
311
+ name: string;
312
+ }[] | null;
313
+ descriptionLength: number | null;
314
+ connectsRequired: number | null;
315
+ projectType: string | null;
316
+ projectDuration: string | null;
317
+ questions: string[] | null;
318
+ jobUrl: string | null;
319
+ clientInfo: {
320
+ country: string | null;
321
+ region: string | null;
322
+ rating: number | null;
323
+ isPaymentVerified: boolean | null;
324
+ numberOfReviews: number | null;
325
+ jobsPosted: number | null;
326
+ totalSpent: number | null;
327
+ numberOfHires: number | null;
328
+ activeEngagements: number | null;
329
+ openJobs: number | null;
330
+ hireRate: number | null;
331
+ memberSince: string | null;
332
+ companyIndustry: string | null;
333
+ companySize: string | null;
334
+ enterpriseClient: boolean | null;
335
+ } | null;
336
+ vendorQualifications: {
337
+ location: string | null;
338
+ talentType: "unspecified" | "Agency" | "Independent" | null;
339
+ englishLevel: string | null;
340
+ minimumEarnings: number | null;
341
+ jobSuccessScore: string | null;
342
+ } | null;
343
+ processed: boolean | null;
344
+ }>;
345
+ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
346
+ id: z.ZodNullable<z.ZodString>;
347
+ createdAt: z.ZodNullable<z.ZodNumber>;
348
+ title: z.ZodNullable<z.ZodString>;
349
+ category: z.ZodNullable<z.ZodString>;
350
+ skills: z.ZodNullable<z.ZodArray<z.ZodObject<{
351
+ name: z.ZodString;
352
+ }, "strip", z.ZodTypeAny, {
353
+ name: string;
354
+ }, {
355
+ name: string;
356
+ }>, "many">>;
357
+ datetime: z.ZodNullable<z.ZodNumber>;
358
+ description: z.ZodNullable<z.ZodString>;
359
+ descriptionLength: z.ZodNullable<z.ZodNumber>;
360
+ connectsRequired: z.ZodNullable<z.ZodNumber>;
361
+ projectType: z.ZodNullable<z.ZodString>;
362
+ projectDuration: z.ZodNullable<z.ZodString>;
363
+ questions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
364
+ jobUrl: z.ZodNullable<z.ZodString>;
365
+ metadata: z.ZodNullable<z.ZodObject<{
366
+ hours: z.ZodNullable<z.ZodString>;
367
+ duration: z.ZodNullable<z.ZodString>;
368
+ experienceLevel: z.ZodNullable<z.ZodString>;
369
+ hourlyRate: z.ZodNullable<z.ZodObject<{
370
+ min: z.ZodNullable<z.ZodNumber>;
371
+ max: z.ZodNullable<z.ZodNumber>;
372
+ }, "strip", z.ZodTypeAny, {
373
+ max: number | null;
374
+ min: number | null;
375
+ }, {
376
+ max: number | null;
377
+ min: number | null;
378
+ }>>;
379
+ paymentType: z.ZodNullable<z.ZodString>;
380
+ fixedPrice: z.ZodNullable<z.ZodNumber>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ hours: string | null;
383
+ duration: string | null;
384
+ experienceLevel: string | null;
385
+ hourlyRate: {
386
+ max: number | null;
387
+ min: number | null;
388
+ } | null;
389
+ paymentType: string | null;
390
+ fixedPrice: number | null;
391
+ }, {
392
+ hours: string | null;
393
+ duration: string | null;
394
+ experienceLevel: string | null;
395
+ hourlyRate: {
396
+ max: number | null;
397
+ min: number | null;
398
+ } | null;
399
+ paymentType: string | null;
400
+ fixedPrice: number | null;
401
+ }>>;
402
+ clientInfo: z.ZodNullable<z.ZodObject<{
403
+ isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
404
+ numberOfReviews: z.ZodNullable<z.ZodNumber>;
405
+ rating: z.ZodNullable<z.ZodNumber>;
406
+ country: z.ZodNullable<z.ZodString>;
407
+ region: z.ZodNullable<z.ZodString>;
408
+ jobsPosted: z.ZodNullable<z.ZodNumber>;
409
+ totalSpent: z.ZodNullable<z.ZodNumber>;
410
+ numberOfHires: z.ZodNullable<z.ZodNumber>;
411
+ activeEngagements: z.ZodNullable<z.ZodNumber>;
412
+ openJobs: z.ZodNullable<z.ZodNumber>;
413
+ hireRate: z.ZodNullable<z.ZodNumber>;
414
+ memberSince: z.ZodNullable<z.ZodString>;
415
+ companyIndustry: z.ZodNullable<z.ZodString>;
416
+ companySize: z.ZodNullable<z.ZodString>;
417
+ enterpriseClient: z.ZodNullable<z.ZodBoolean>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ country: string | null;
420
+ region: string | null;
421
+ rating: number | null;
422
+ isPaymentVerified: boolean | null;
423
+ numberOfReviews: number | null;
424
+ jobsPosted: number | null;
425
+ totalSpent: number | null;
426
+ numberOfHires: number | null;
427
+ activeEngagements: number | null;
428
+ openJobs: number | null;
429
+ hireRate: number | null;
430
+ memberSince: string | null;
431
+ companyIndustry: string | null;
432
+ companySize: string | null;
433
+ enterpriseClient: boolean | null;
434
+ }, {
435
+ country: string | null;
436
+ region: string | null;
437
+ rating: number | null;
438
+ isPaymentVerified: boolean | null;
439
+ numberOfReviews: number | null;
440
+ jobsPosted: number | null;
441
+ totalSpent: number | null;
442
+ numberOfHires: number | null;
443
+ activeEngagements: number | null;
444
+ openJobs: number | null;
445
+ hireRate: number | null;
446
+ memberSince: string | null;
447
+ companyIndustry: string | null;
448
+ companySize: string | null;
449
+ enterpriseClient: boolean | null;
450
+ }>>;
451
+ vendorQualifications: z.ZodNullable<z.ZodObject<{
452
+ location: z.ZodNullable<z.ZodString>;
453
+ talentType: z.ZodNullable<z.ZodEnum<["Agency", "Independent", "unspecified"]>>;
454
+ englishLevel: z.ZodNullable<z.ZodString>;
455
+ minimumEarnings: z.ZodNullable<z.ZodNumber>;
456
+ jobSuccessScore: z.ZodNullable<z.ZodString>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ location: string | null;
459
+ talentType: "unspecified" | "Agency" | "Independent" | null;
460
+ englishLevel: string | null;
461
+ minimumEarnings: number | null;
462
+ jobSuccessScore: string | null;
463
+ }, {
464
+ location: string | null;
465
+ talentType: "unspecified" | "Agency" | "Independent" | null;
466
+ englishLevel: string | null;
467
+ minimumEarnings: number | null;
468
+ jobSuccessScore: string | null;
469
+ }>>;
470
+ processed: z.ZodNullable<z.ZodBoolean>;
471
+ }, {
472
+ updatedAt: z.ZodNullable<z.ZodNumber>;
473
+ suitabilityRating: z.ZodNullable<z.ZodNumber>;
474
+ suitabilityReason: z.ZodNullable<z.ZodString>;
475
+ proposal: z.ZodNullable<z.ZodString>;
476
+ questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
477
+ question: z.ZodString;
478
+ answer: z.ZodString;
479
+ }, "strip", z.ZodTypeAny, {
480
+ answer: string;
481
+ question: string;
482
+ }, {
483
+ answer: string;
484
+ question: string;
485
+ }>, "many">>;
486
+ status: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalPending", "proposalProcessing", "proposalComplete", "biddingPending", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
487
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>>;
488
+ notes: z.ZodNullable<z.ZodArray<z.ZodObject<{
489
+ id: z.ZodString;
490
+ jobId: z.ZodString;
491
+ content: z.ZodString;
492
+ order: z.ZodNumber;
493
+ bgColor: z.ZodString;
494
+ createdAt: z.ZodNumber;
495
+ updatedAt: z.ZodNumber;
496
+ }, "strip", z.ZodTypeAny, {
497
+ id: string;
498
+ content: string;
499
+ order: number;
500
+ jobId: string;
501
+ bgColor: string;
502
+ createdAt: number;
503
+ updatedAt: number;
504
+ }, {
505
+ id: string;
506
+ content: string;
507
+ order: number;
508
+ jobId: string;
509
+ bgColor: string;
510
+ createdAt: number;
511
+ updatedAt: number;
512
+ }>, "many">>;
513
+ biddingAmount: z.ZodNullable<z.ZodNumber>;
514
+ boosted: z.ZodNullable<z.ZodBoolean>;
515
+ boostingAmount: z.ZodNullable<z.ZodNumber>;
516
+ }>, "strip", z.ZodTypeAny, {
517
+ id: string | null;
518
+ title: string | null;
519
+ metadata: {
520
+ hours: string | null;
521
+ duration: string | null;
522
+ experienceLevel: string | null;
523
+ hourlyRate: {
524
+ max: number | null;
525
+ min: number | null;
526
+ } | null;
527
+ paymentType: string | null;
528
+ fixedPrice: number | null;
529
+ } | null;
530
+ description: string | null;
531
+ status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
532
+ datetime: number | null;
533
+ createdAt: number | null;
534
+ updatedAt: number | null;
535
+ questionAnswerPairs: {
536
+ answer: string;
537
+ question: string;
538
+ }[] | null;
539
+ proposal: string | null;
540
+ category: string | null;
541
+ skills: {
542
+ name: string;
543
+ }[] | null;
544
+ descriptionLength: number | null;
545
+ connectsRequired: number | null;
546
+ projectType: string | null;
547
+ projectDuration: string | null;
548
+ questions: string[] | null;
549
+ jobUrl: string | null;
550
+ clientInfo: {
551
+ country: string | null;
552
+ region: string | null;
553
+ rating: number | null;
554
+ isPaymentVerified: boolean | null;
555
+ numberOfReviews: number | null;
556
+ jobsPosted: number | null;
557
+ totalSpent: number | null;
558
+ numberOfHires: number | null;
559
+ activeEngagements: number | null;
560
+ openJobs: number | null;
561
+ hireRate: number | null;
562
+ memberSince: string | null;
563
+ companyIndustry: string | null;
564
+ companySize: string | null;
565
+ enterpriseClient: boolean | null;
566
+ } | null;
567
+ vendorQualifications: {
568
+ location: string | null;
569
+ talentType: "unspecified" | "Agency" | "Independent" | null;
570
+ englishLevel: string | null;
571
+ minimumEarnings: number | null;
572
+ jobSuccessScore: string | null;
573
+ } | null;
574
+ processed: boolean | null;
575
+ suitabilityRating: number | null;
576
+ suitabilityReason: string | null;
577
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
578
+ notes: {
579
+ id: string;
580
+ content: string;
581
+ order: number;
582
+ jobId: string;
583
+ bgColor: string;
584
+ createdAt: number;
585
+ updatedAt: number;
586
+ }[] | null;
587
+ biddingAmount: number | null;
588
+ boosted: boolean | null;
589
+ boostingAmount: number | null;
590
+ }, {
591
+ id: string | null;
592
+ title: string | null;
593
+ metadata: {
594
+ hours: string | null;
595
+ duration: string | null;
596
+ experienceLevel: string | null;
597
+ hourlyRate: {
598
+ max: number | null;
599
+ min: number | null;
600
+ } | null;
601
+ paymentType: string | null;
602
+ fixedPrice: number | null;
603
+ } | null;
604
+ description: string | null;
605
+ status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
606
+ datetime: number | null;
607
+ createdAt: number | null;
608
+ updatedAt: number | null;
609
+ questionAnswerPairs: {
610
+ answer: string;
611
+ question: string;
612
+ }[] | null;
613
+ proposal: string | null;
614
+ category: string | null;
615
+ skills: {
616
+ name: string;
617
+ }[] | null;
618
+ descriptionLength: number | null;
619
+ connectsRequired: number | null;
620
+ projectType: string | null;
621
+ projectDuration: string | null;
622
+ questions: string[] | null;
623
+ jobUrl: string | null;
624
+ clientInfo: {
625
+ country: string | null;
626
+ region: string | null;
627
+ rating: number | null;
628
+ isPaymentVerified: boolean | null;
629
+ numberOfReviews: number | null;
630
+ jobsPosted: number | null;
631
+ totalSpent: number | null;
632
+ numberOfHires: number | null;
633
+ activeEngagements: number | null;
634
+ openJobs: number | null;
635
+ hireRate: number | null;
636
+ memberSince: string | null;
637
+ companyIndustry: string | null;
638
+ companySize: string | null;
639
+ enterpriseClient: boolean | null;
640
+ } | null;
641
+ vendorQualifications: {
642
+ location: string | null;
643
+ talentType: "unspecified" | "Agency" | "Independent" | null;
644
+ englishLevel: string | null;
645
+ minimumEarnings: number | null;
646
+ jobSuccessScore: string | null;
647
+ } | null;
648
+ processed: boolean | null;
649
+ suitabilityRating: number | null;
650
+ suitabilityReason: string | null;
651
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
652
+ notes: {
653
+ id: string;
654
+ content: string;
655
+ order: number;
656
+ jobId: string;
657
+ bgColor: string;
658
+ createdAt: number;
659
+ updatedAt: number;
660
+ }[] | null;
661
+ biddingAmount: number | null;
662
+ boosted: boolean | null;
663
+ boostingAmount: number | null;
664
+ }>;
665
+ export declare const jobListItemSchema: z.ZodObject<{
666
+ title: z.ZodNullable<z.ZodString>;
667
+ jobUrl: z.ZodNullable<z.ZodString>;
668
+ datetime: z.ZodNullable<z.ZodString>;
669
+ }, "strip", z.ZodTypeAny, {
670
+ title: string | null;
671
+ datetime: string | null;
672
+ jobUrl: string | null;
673
+ }, {
674
+ title: string | null;
675
+ datetime: string | null;
676
+ jobUrl: string | null;
677
+ }>;
678
+ export declare const jobResponseSchema: z.ZodObject<{
679
+ jobs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
680
+ id: z.ZodNullable<z.ZodString>;
681
+ createdAt: z.ZodNullable<z.ZodNumber>;
682
+ title: z.ZodNullable<z.ZodString>;
683
+ category: z.ZodNullable<z.ZodString>;
684
+ skills: z.ZodNullable<z.ZodArray<z.ZodObject<{
685
+ name: z.ZodString;
686
+ }, "strip", z.ZodTypeAny, {
687
+ name: string;
688
+ }, {
689
+ name: string;
690
+ }>, "many">>;
691
+ datetime: z.ZodNullable<z.ZodNumber>;
692
+ description: z.ZodNullable<z.ZodString>;
693
+ descriptionLength: z.ZodNullable<z.ZodNumber>;
694
+ connectsRequired: z.ZodNullable<z.ZodNumber>;
695
+ projectType: z.ZodNullable<z.ZodString>;
696
+ projectDuration: z.ZodNullable<z.ZodString>;
697
+ questions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
698
+ jobUrl: z.ZodNullable<z.ZodString>;
699
+ metadata: z.ZodNullable<z.ZodObject<{
700
+ hours: z.ZodNullable<z.ZodString>;
701
+ duration: z.ZodNullable<z.ZodString>;
702
+ experienceLevel: z.ZodNullable<z.ZodString>;
703
+ hourlyRate: z.ZodNullable<z.ZodObject<{
704
+ min: z.ZodNullable<z.ZodNumber>;
705
+ max: z.ZodNullable<z.ZodNumber>;
706
+ }, "strip", z.ZodTypeAny, {
707
+ max: number | null;
708
+ min: number | null;
709
+ }, {
710
+ max: number | null;
711
+ min: number | null;
712
+ }>>;
713
+ paymentType: z.ZodNullable<z.ZodString>;
714
+ fixedPrice: z.ZodNullable<z.ZodNumber>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ hours: string | null;
717
+ duration: string | null;
718
+ experienceLevel: string | null;
719
+ hourlyRate: {
720
+ max: number | null;
721
+ min: number | null;
722
+ } | null;
723
+ paymentType: string | null;
724
+ fixedPrice: number | null;
725
+ }, {
726
+ hours: string | null;
727
+ duration: string | null;
728
+ experienceLevel: string | null;
729
+ hourlyRate: {
730
+ max: number | null;
731
+ min: number | null;
732
+ } | null;
733
+ paymentType: string | null;
734
+ fixedPrice: number | null;
735
+ }>>;
736
+ clientInfo: z.ZodNullable<z.ZodObject<{
737
+ isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
738
+ numberOfReviews: z.ZodNullable<z.ZodNumber>;
739
+ rating: z.ZodNullable<z.ZodNumber>;
740
+ country: z.ZodNullable<z.ZodString>;
741
+ region: z.ZodNullable<z.ZodString>;
742
+ jobsPosted: z.ZodNullable<z.ZodNumber>;
743
+ totalSpent: z.ZodNullable<z.ZodNumber>;
744
+ numberOfHires: z.ZodNullable<z.ZodNumber>;
745
+ activeEngagements: z.ZodNullable<z.ZodNumber>;
746
+ openJobs: z.ZodNullable<z.ZodNumber>;
747
+ hireRate: z.ZodNullable<z.ZodNumber>;
748
+ memberSince: z.ZodNullable<z.ZodString>;
749
+ companyIndustry: z.ZodNullable<z.ZodString>;
750
+ companySize: z.ZodNullable<z.ZodString>;
751
+ enterpriseClient: z.ZodNullable<z.ZodBoolean>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ country: string | null;
754
+ region: string | null;
755
+ rating: number | null;
756
+ isPaymentVerified: boolean | null;
757
+ numberOfReviews: number | null;
758
+ jobsPosted: number | null;
759
+ totalSpent: number | null;
760
+ numberOfHires: number | null;
761
+ activeEngagements: number | null;
762
+ openJobs: number | null;
763
+ hireRate: number | null;
764
+ memberSince: string | null;
765
+ companyIndustry: string | null;
766
+ companySize: string | null;
767
+ enterpriseClient: boolean | null;
768
+ }, {
769
+ country: string | null;
770
+ region: string | null;
771
+ rating: number | null;
772
+ isPaymentVerified: boolean | null;
773
+ numberOfReviews: number | null;
774
+ jobsPosted: number | null;
775
+ totalSpent: number | null;
776
+ numberOfHires: number | null;
777
+ activeEngagements: number | null;
778
+ openJobs: number | null;
779
+ hireRate: number | null;
780
+ memberSince: string | null;
781
+ companyIndustry: string | null;
782
+ companySize: string | null;
783
+ enterpriseClient: boolean | null;
784
+ }>>;
785
+ vendorQualifications: z.ZodNullable<z.ZodObject<{
786
+ location: z.ZodNullable<z.ZodString>;
787
+ talentType: z.ZodNullable<z.ZodEnum<["Agency", "Independent", "unspecified"]>>;
788
+ englishLevel: z.ZodNullable<z.ZodString>;
789
+ minimumEarnings: z.ZodNullable<z.ZodNumber>;
790
+ jobSuccessScore: z.ZodNullable<z.ZodString>;
791
+ }, "strip", z.ZodTypeAny, {
792
+ location: string | null;
793
+ talentType: "unspecified" | "Agency" | "Independent" | null;
794
+ englishLevel: string | null;
795
+ minimumEarnings: number | null;
796
+ jobSuccessScore: string | null;
797
+ }, {
798
+ location: string | null;
799
+ talentType: "unspecified" | "Agency" | "Independent" | null;
800
+ englishLevel: string | null;
801
+ minimumEarnings: number | null;
802
+ jobSuccessScore: string | null;
803
+ }>>;
804
+ processed: z.ZodNullable<z.ZodBoolean>;
805
+ }, {
806
+ updatedAt: z.ZodNullable<z.ZodNumber>;
807
+ suitabilityRating: z.ZodNullable<z.ZodNumber>;
808
+ suitabilityReason: z.ZodNullable<z.ZodString>;
809
+ proposal: z.ZodNullable<z.ZodString>;
810
+ questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
811
+ question: z.ZodString;
812
+ answer: z.ZodString;
813
+ }, "strip", z.ZodTypeAny, {
814
+ answer: string;
815
+ question: string;
816
+ }, {
817
+ answer: string;
818
+ question: string;
819
+ }>, "many">>;
820
+ status: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalPending", "proposalProcessing", "proposalComplete", "biddingPending", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
821
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>>;
822
+ notes: z.ZodNullable<z.ZodArray<z.ZodObject<{
823
+ id: z.ZodString;
824
+ jobId: z.ZodString;
825
+ content: z.ZodString;
826
+ order: z.ZodNumber;
827
+ bgColor: z.ZodString;
828
+ createdAt: z.ZodNumber;
829
+ updatedAt: z.ZodNumber;
830
+ }, "strip", z.ZodTypeAny, {
831
+ id: string;
832
+ content: string;
833
+ order: number;
834
+ jobId: string;
835
+ bgColor: string;
836
+ createdAt: number;
837
+ updatedAt: number;
838
+ }, {
839
+ id: string;
840
+ content: string;
841
+ order: number;
842
+ jobId: string;
843
+ bgColor: string;
844
+ createdAt: number;
845
+ updatedAt: number;
846
+ }>, "many">>;
847
+ biddingAmount: z.ZodNullable<z.ZodNumber>;
848
+ boosted: z.ZodNullable<z.ZodBoolean>;
849
+ boostingAmount: z.ZodNullable<z.ZodNumber>;
850
+ }>, "strip", z.ZodTypeAny, {
851
+ id: string | null;
852
+ title: string | null;
853
+ metadata: {
854
+ hours: string | null;
855
+ duration: string | null;
856
+ experienceLevel: string | null;
857
+ hourlyRate: {
858
+ max: number | null;
859
+ min: number | null;
860
+ } | null;
861
+ paymentType: string | null;
862
+ fixedPrice: number | null;
863
+ } | null;
864
+ description: string | null;
865
+ status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
866
+ datetime: number | null;
867
+ createdAt: number | null;
868
+ updatedAt: number | null;
869
+ questionAnswerPairs: {
870
+ answer: string;
871
+ question: string;
872
+ }[] | null;
873
+ proposal: string | null;
874
+ category: string | null;
875
+ skills: {
876
+ name: string;
877
+ }[] | null;
878
+ descriptionLength: number | null;
879
+ connectsRequired: number | null;
880
+ projectType: string | null;
881
+ projectDuration: string | null;
882
+ questions: string[] | null;
883
+ jobUrl: string | null;
884
+ clientInfo: {
885
+ country: string | null;
886
+ region: string | null;
887
+ rating: number | null;
888
+ isPaymentVerified: boolean | null;
889
+ numberOfReviews: number | null;
890
+ jobsPosted: number | null;
891
+ totalSpent: number | null;
892
+ numberOfHires: number | null;
893
+ activeEngagements: number | null;
894
+ openJobs: number | null;
895
+ hireRate: number | null;
896
+ memberSince: string | null;
897
+ companyIndustry: string | null;
898
+ companySize: string | null;
899
+ enterpriseClient: boolean | null;
900
+ } | null;
901
+ vendorQualifications: {
902
+ location: string | null;
903
+ talentType: "unspecified" | "Agency" | "Independent" | null;
904
+ englishLevel: string | null;
905
+ minimumEarnings: number | null;
906
+ jobSuccessScore: string | null;
907
+ } | null;
908
+ processed: boolean | null;
909
+ suitabilityRating: number | null;
910
+ suitabilityReason: string | null;
911
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
912
+ notes: {
913
+ id: string;
914
+ content: string;
915
+ order: number;
916
+ jobId: string;
917
+ bgColor: string;
918
+ createdAt: number;
919
+ updatedAt: number;
920
+ }[] | null;
921
+ biddingAmount: number | null;
922
+ boosted: boolean | null;
923
+ boostingAmount: number | null;
924
+ }, {
925
+ id: string | null;
926
+ title: string | null;
927
+ metadata: {
928
+ hours: string | null;
929
+ duration: string | null;
930
+ experienceLevel: string | null;
931
+ hourlyRate: {
932
+ max: number | null;
933
+ min: number | null;
934
+ } | null;
935
+ paymentType: string | null;
936
+ fixedPrice: number | null;
937
+ } | null;
938
+ description: string | null;
939
+ status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
940
+ datetime: number | null;
941
+ createdAt: number | null;
942
+ updatedAt: number | null;
943
+ questionAnswerPairs: {
944
+ answer: string;
945
+ question: string;
946
+ }[] | null;
947
+ proposal: string | null;
948
+ category: string | null;
949
+ skills: {
950
+ name: string;
951
+ }[] | null;
952
+ descriptionLength: number | null;
953
+ connectsRequired: number | null;
954
+ projectType: string | null;
955
+ projectDuration: string | null;
956
+ questions: string[] | null;
957
+ jobUrl: string | null;
958
+ clientInfo: {
959
+ country: string | null;
960
+ region: string | null;
961
+ rating: number | null;
962
+ isPaymentVerified: boolean | null;
963
+ numberOfReviews: number | null;
964
+ jobsPosted: number | null;
965
+ totalSpent: number | null;
966
+ numberOfHires: number | null;
967
+ activeEngagements: number | null;
968
+ openJobs: number | null;
969
+ hireRate: number | null;
970
+ memberSince: string | null;
971
+ companyIndustry: string | null;
972
+ companySize: string | null;
973
+ enterpriseClient: boolean | null;
974
+ } | null;
975
+ vendorQualifications: {
976
+ location: string | null;
977
+ talentType: "unspecified" | "Agency" | "Independent" | null;
978
+ englishLevel: string | null;
979
+ minimumEarnings: number | null;
980
+ jobSuccessScore: string | null;
981
+ } | null;
982
+ processed: boolean | null;
983
+ suitabilityRating: number | null;
984
+ suitabilityReason: string | null;
985
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
986
+ notes: {
987
+ id: string;
988
+ content: string;
989
+ order: number;
990
+ jobId: string;
991
+ bgColor: string;
992
+ createdAt: number;
993
+ updatedAt: number;
994
+ }[] | null;
995
+ biddingAmount: number | null;
996
+ boosted: boolean | null;
997
+ boostingAmount: number | null;
998
+ }>, "many">;
999
+ nextCursor: z.ZodNullable<z.ZodString>;
1000
+ hasMore: z.ZodBoolean;
1001
+ jobCounts: z.ZodNullable<z.ZodNumber>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ jobs: {
1004
+ id: string | null;
1005
+ title: string | null;
1006
+ metadata: {
1007
+ hours: string | null;
1008
+ duration: string | null;
1009
+ experienceLevel: string | null;
1010
+ hourlyRate: {
1011
+ max: number | null;
1012
+ min: number | null;
1013
+ } | null;
1014
+ paymentType: string | null;
1015
+ fixedPrice: number | null;
1016
+ } | null;
1017
+ description: string | null;
1018
+ status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1019
+ datetime: number | null;
1020
+ createdAt: number | null;
1021
+ updatedAt: number | null;
1022
+ questionAnswerPairs: {
1023
+ answer: string;
1024
+ question: string;
1025
+ }[] | null;
1026
+ proposal: string | null;
1027
+ category: string | null;
1028
+ skills: {
1029
+ name: string;
1030
+ }[] | null;
1031
+ descriptionLength: number | null;
1032
+ connectsRequired: number | null;
1033
+ projectType: string | null;
1034
+ projectDuration: string | null;
1035
+ questions: string[] | null;
1036
+ jobUrl: string | null;
1037
+ clientInfo: {
1038
+ country: string | null;
1039
+ region: string | null;
1040
+ rating: number | null;
1041
+ isPaymentVerified: boolean | null;
1042
+ numberOfReviews: number | null;
1043
+ jobsPosted: number | null;
1044
+ totalSpent: number | null;
1045
+ numberOfHires: number | null;
1046
+ activeEngagements: number | null;
1047
+ openJobs: number | null;
1048
+ hireRate: number | null;
1049
+ memberSince: string | null;
1050
+ companyIndustry: string | null;
1051
+ companySize: string | null;
1052
+ enterpriseClient: boolean | null;
1053
+ } | null;
1054
+ vendorQualifications: {
1055
+ location: string | null;
1056
+ talentType: "unspecified" | "Agency" | "Independent" | null;
1057
+ englishLevel: string | null;
1058
+ minimumEarnings: number | null;
1059
+ jobSuccessScore: string | null;
1060
+ } | null;
1061
+ processed: boolean | null;
1062
+ suitabilityRating: number | null;
1063
+ suitabilityReason: string | null;
1064
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
1065
+ notes: {
1066
+ id: string;
1067
+ content: string;
1068
+ order: number;
1069
+ jobId: string;
1070
+ bgColor: string;
1071
+ createdAt: number;
1072
+ updatedAt: number;
1073
+ }[] | null;
1074
+ biddingAmount: number | null;
1075
+ boosted: boolean | null;
1076
+ boostingAmount: number | null;
1077
+ }[];
1078
+ nextCursor: string | null;
1079
+ hasMore: boolean;
1080
+ jobCounts: number | null;
1081
+ }, {
1082
+ jobs: {
1083
+ id: string | null;
1084
+ title: string | null;
1085
+ metadata: {
1086
+ hours: string | null;
1087
+ duration: string | null;
1088
+ experienceLevel: string | null;
1089
+ hourlyRate: {
1090
+ max: number | null;
1091
+ min: number | null;
1092
+ } | null;
1093
+ paymentType: string | null;
1094
+ fixedPrice: number | null;
1095
+ } | null;
1096
+ description: string | null;
1097
+ status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1098
+ datetime: number | null;
1099
+ createdAt: number | null;
1100
+ updatedAt: number | null;
1101
+ questionAnswerPairs: {
1102
+ answer: string;
1103
+ question: string;
1104
+ }[] | null;
1105
+ proposal: string | null;
1106
+ category: string | null;
1107
+ skills: {
1108
+ name: string;
1109
+ }[] | null;
1110
+ descriptionLength: number | null;
1111
+ connectsRequired: number | null;
1112
+ projectType: string | null;
1113
+ projectDuration: string | null;
1114
+ questions: string[] | null;
1115
+ jobUrl: string | null;
1116
+ clientInfo: {
1117
+ country: string | null;
1118
+ region: string | null;
1119
+ rating: number | null;
1120
+ isPaymentVerified: boolean | null;
1121
+ numberOfReviews: number | null;
1122
+ jobsPosted: number | null;
1123
+ totalSpent: number | null;
1124
+ numberOfHires: number | null;
1125
+ activeEngagements: number | null;
1126
+ openJobs: number | null;
1127
+ hireRate: number | null;
1128
+ memberSince: string | null;
1129
+ companyIndustry: string | null;
1130
+ companySize: string | null;
1131
+ enterpriseClient: boolean | null;
1132
+ } | null;
1133
+ vendorQualifications: {
1134
+ location: string | null;
1135
+ talentType: "unspecified" | "Agency" | "Independent" | null;
1136
+ englishLevel: string | null;
1137
+ minimumEarnings: number | null;
1138
+ jobSuccessScore: string | null;
1139
+ } | null;
1140
+ processed: boolean | null;
1141
+ suitabilityRating: number | null;
1142
+ suitabilityReason: string | null;
1143
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
1144
+ notes: {
1145
+ id: string;
1146
+ content: string;
1147
+ order: number;
1148
+ jobId: string;
1149
+ bgColor: string;
1150
+ createdAt: number;
1151
+ updatedAt: number;
1152
+ }[] | null;
1153
+ biddingAmount: number | null;
1154
+ boosted: boolean | null;
1155
+ boostingAmount: number | null;
1156
+ }[];
1157
+ nextCursor: string | null;
1158
+ hasMore: boolean;
1159
+ jobCounts: number | null;
1160
+ }>;