lancer-shared 1.2.302 → 1.2.304
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.
- package/dist/bundle.cjs.js +4 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +4 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/account/bidder-account.d.ts +47 -40
- package/dist/schemas/account/scraper-account.d.ts +27 -27
- package/dist/schemas/agent/index.d.ts +273 -273
- package/dist/schemas/agent/proposal.d.ts +4 -4
- package/dist/schemas/bidder/bid.d.ts +2377 -2358
- package/dist/schemas/campaign/campaign-analytics.d.ts +1404 -1404
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
- package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
- package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
- package/dist/schemas/campaign/campaign.d.ts +575 -566
- package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
- package/dist/schemas/dashboard/index.d.ts +46 -46
- package/dist/schemas/golden-dataset/sample.d.ts +12 -12
- package/dist/schemas/infrastructure/index.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +55 -55
- package/dist/schemas/job/index.d.ts +189 -189
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +726 -726
- package/dist/schemas/job/job-filters.d.ts +55 -55
- package/dist/schemas/job/job-listing.d.ts +96 -96
- package/dist/schemas/job/nuxt.d.ts +130 -130
- package/dist/schemas/lead/index.d.ts +1040 -1040
- package/dist/schemas/lead/lead-status.d.ts +4 -4
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
- package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +272 -272
- package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
- package/dist/schemas/logger/log-event.d.ts +103 -103
- package/dist/schemas/logger/scraper-events.d.ts +73 -73
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/billing.d.ts +2 -2
- package/dist/schemas/organization/cover-letter.d.ts +4 -4
- package/dist/schemas/organization/index.d.ts +112 -112
- package/dist/schemas/organization/onboarding.d.ts +6 -6
- package/dist/schemas/organization/organization-leads.d.ts +4 -4
- package/dist/schemas/organization/subscription.d.ts +12 -12
- package/dist/schemas/plan/index.d.ts +55 -55
- package/dist/schemas/proxy/proxy.d.ts +29 -29
- package/dist/schemas/saved-search/index.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +876 -876
- package/dist/schemas/scraper/scrape-result.d.ts +174 -174
- package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
- package/dist/schemas/shared.d.ts +1 -1
- package/dist/schemas/talent/index.d.ts +750 -750
- package/dist/schemas/transaction/index.d.ts +20 -20
- package/dist/schemas/upwork-analytics/index.d.ts +22 -22
- package/dist/schemas/usage/index.d.ts +16 -16
- package/dist/schemas/usage-event/index.d.ts +11 -11
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +2 -2
|
@@ -8,16 +8,16 @@ export declare const bidConfigSchema: z.ZodObject<{
|
|
|
8
8
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
9
9
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
contractorName: string | null;
|
|
12
11
|
agencyName: string | null;
|
|
13
|
-
specialisedProfile: string | null;
|
|
14
12
|
bidderId: string | null;
|
|
13
|
+
contractorName: string | null;
|
|
14
|
+
specialisedProfile: string | null;
|
|
15
15
|
bidAs: "agency" | "freelancer" | null;
|
|
16
16
|
}, {
|
|
17
|
-
contractorName: string | null;
|
|
18
17
|
agencyName: string | null;
|
|
19
|
-
specialisedProfile: string | null;
|
|
20
18
|
bidderId: string | null;
|
|
19
|
+
contractorName: string | null;
|
|
20
|
+
specialisedProfile: string | null;
|
|
21
21
|
bidAs: "agency" | "freelancer" | null;
|
|
22
22
|
}>;
|
|
23
23
|
export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>;
|
|
@@ -49,16 +49,16 @@ export declare const workTimeSchema: z.ZodObject<{
|
|
|
49
49
|
}>, "many">;
|
|
50
50
|
timezone: z.ZodNullable<z.ZodString>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
53
52
|
enabled: boolean;
|
|
53
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
54
54
|
timeBlocks: {
|
|
55
55
|
fromHour: number;
|
|
56
56
|
toHour: number;
|
|
57
57
|
}[];
|
|
58
58
|
timezone: string | null;
|
|
59
59
|
}, {
|
|
60
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
61
60
|
enabled: boolean;
|
|
61
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
62
62
|
timeBlocks: {
|
|
63
63
|
fromHour: number;
|
|
64
64
|
toHour: number;
|
|
@@ -143,10 +143,9 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
143
143
|
memberSinceFrom: z.ZodNullable<z.ZodString>;
|
|
144
144
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
enterpriseClient: "false" | "all" | "true";
|
|
146
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
147
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
148
|
+
enterpriseClient: "all" | "true" | "false";
|
|
150
149
|
clientLocationIncludes: string[] | null;
|
|
151
150
|
clientLocationExcludes: string[] | null;
|
|
152
151
|
minReviewScore: number | null;
|
|
@@ -156,6 +155,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
156
155
|
minHireRate: number | null;
|
|
157
156
|
maxHireRate: number | null;
|
|
158
157
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
158
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
159
159
|
minJobsPosted: number | null;
|
|
160
160
|
minAvgHourlyRate: number | null;
|
|
161
161
|
maxAvgHourlyRate: number | null;
|
|
@@ -163,7 +163,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
163
163
|
memberSinceFrom: string | null;
|
|
164
164
|
memberSinceTo: string | null;
|
|
165
165
|
}, {
|
|
166
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
167
166
|
clientLocationIncludes: string[] | null;
|
|
168
167
|
clientLocationExcludes: string[] | null;
|
|
169
168
|
minReviewScore: number | null;
|
|
@@ -173,15 +172,16 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
173
172
|
minHireRate: number | null;
|
|
174
173
|
maxHireRate: number | null;
|
|
175
174
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
175
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
176
176
|
minJobsPosted: number | null;
|
|
177
177
|
minAvgHourlyRate: number | null;
|
|
178
178
|
maxAvgHourlyRate: number | null;
|
|
179
179
|
minNumReviews: number | null;
|
|
180
180
|
memberSinceFrom: string | null;
|
|
181
181
|
memberSinceTo: string | null;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
enterpriseClient?: "
|
|
182
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
183
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
184
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
185
185
|
}>>;
|
|
186
186
|
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
187
187
|
includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -196,34 +196,51 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
196
196
|
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
197
197
|
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
-
includeRisingTalent: string | null;
|
|
200
199
|
locationIncludes: string[] | null;
|
|
201
200
|
locationExcludes: string[] | null;
|
|
202
201
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
203
202
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
203
|
+
includeRisingTalent: string | null;
|
|
204
204
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
205
205
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
206
206
|
}, {
|
|
207
|
-
includeRisingTalent: string | null;
|
|
208
207
|
locationIncludes: string[] | null;
|
|
209
208
|
locationExcludes: string[] | null;
|
|
210
209
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
211
210
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
211
|
+
includeRisingTalent: string | null;
|
|
212
212
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
213
213
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
214
214
|
}>>;
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
keywords: {
|
|
217
|
+
includes: string | null;
|
|
218
|
+
excludes: string | null;
|
|
219
|
+
} | null;
|
|
220
|
+
searchQuery: string | null;
|
|
221
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
222
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
223
|
+
categories: {
|
|
224
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
225
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
226
|
+
} | null;
|
|
227
|
+
payment: {
|
|
228
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
229
|
+
minFixedPrice: number | null;
|
|
230
|
+
maxFixedPrice: number | null;
|
|
231
|
+
minHourlyRate: number | null;
|
|
232
|
+
maxHourlyRate: number | null;
|
|
219
233
|
} | null;
|
|
220
234
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
221
235
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
236
|
+
questions: {
|
|
237
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
238
|
+
} | null;
|
|
239
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
222
240
|
clientInfo: {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
enterpriseClient: "false" | "all" | "true";
|
|
241
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
242
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
243
|
+
enterpriseClient: "all" | "true" | "false";
|
|
227
244
|
clientLocationIncludes: string[] | null;
|
|
228
245
|
clientLocationExcludes: string[] | null;
|
|
229
246
|
minReviewScore: number | null;
|
|
@@ -233,6 +250,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
233
250
|
minHireRate: number | null;
|
|
234
251
|
maxHireRate: number | null;
|
|
235
252
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
253
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
236
254
|
minJobsPosted: number | null;
|
|
237
255
|
minAvgHourlyRate: number | null;
|
|
238
256
|
maxAvgHourlyRate: number | null;
|
|
@@ -240,21 +258,27 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
240
258
|
memberSinceFrom: string | null;
|
|
241
259
|
memberSinceTo: string | null;
|
|
242
260
|
} | null;
|
|
261
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
262
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
263
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
264
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
243
265
|
vendorQualifications: {
|
|
244
|
-
includeRisingTalent: string | null;
|
|
245
266
|
locationIncludes: string[] | null;
|
|
246
267
|
locationExcludes: string[] | null;
|
|
247
268
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
248
269
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
270
|
+
includeRisingTalent: string | null;
|
|
249
271
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
250
272
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
251
273
|
} | null;
|
|
252
|
-
|
|
274
|
+
}, {
|
|
253
275
|
keywords: {
|
|
254
276
|
includes: string | null;
|
|
255
277
|
excludes: string | null;
|
|
256
278
|
} | null;
|
|
257
279
|
searchQuery: string | null;
|
|
280
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
281
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
258
282
|
categories: {
|
|
259
283
|
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
260
284
|
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
@@ -266,20 +290,13 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
266
290
|
minHourlyRate: number | null;
|
|
267
291
|
maxHourlyRate: number | null;
|
|
268
292
|
} | null;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
272
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
273
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
274
|
-
}, {
|
|
275
|
-
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
293
|
+
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
294
|
+
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
276
295
|
questions: {
|
|
277
296
|
hasQuestions: ("all" | "yes" | "no")[];
|
|
278
297
|
} | null;
|
|
279
|
-
|
|
280
|
-
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
298
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
281
299
|
clientInfo: {
|
|
282
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
283
300
|
clientLocationIncludes: string[] | null;
|
|
284
301
|
clientLocationExcludes: string[] | null;
|
|
285
302
|
minReviewScore: number | null;
|
|
@@ -289,47 +306,30 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
289
306
|
minHireRate: number | null;
|
|
290
307
|
maxHireRate: number | null;
|
|
291
308
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
309
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
292
310
|
minJobsPosted: number | null;
|
|
293
311
|
minAvgHourlyRate: number | null;
|
|
294
312
|
maxAvgHourlyRate: number | null;
|
|
295
313
|
minNumReviews: number | null;
|
|
296
314
|
memberSinceFrom: string | null;
|
|
297
315
|
memberSinceTo: string | null;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
enterpriseClient?: "
|
|
316
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
317
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
318
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
301
319
|
} | null;
|
|
320
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
321
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
322
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
323
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
302
324
|
vendorQualifications: {
|
|
303
|
-
includeRisingTalent: string | null;
|
|
304
325
|
locationIncludes: string[] | null;
|
|
305
326
|
locationExcludes: string[] | null;
|
|
306
327
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
307
328
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
329
|
+
includeRisingTalent: string | null;
|
|
308
330
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
309
331
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
310
332
|
} | null;
|
|
311
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
312
|
-
keywords: {
|
|
313
|
-
includes: string | null;
|
|
314
|
-
excludes: string | null;
|
|
315
|
-
} | null;
|
|
316
|
-
searchQuery: string | null;
|
|
317
|
-
categories: {
|
|
318
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
319
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
320
|
-
} | null;
|
|
321
|
-
payment: {
|
|
322
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
323
|
-
minFixedPrice: number | null;
|
|
324
|
-
maxFixedPrice: number | null;
|
|
325
|
-
minHourlyRate: number | null;
|
|
326
|
-
maxHourlyRate: number | null;
|
|
327
|
-
} | null;
|
|
328
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
329
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
330
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
331
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
332
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
333
333
|
}>;
|
|
334
334
|
createdAt: z.ZodNumber;
|
|
335
335
|
updatedAt: z.ZodNumber;
|
|
@@ -348,6 +348,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
348
348
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
349
349
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
350
350
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
351
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
351
352
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
352
353
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
353
354
|
expenses: z.ZodObject<{
|
|
@@ -356,12 +357,12 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
356
357
|
boosted: z.ZodDefault<z.ZodNumber>;
|
|
357
358
|
}, "strip", z.ZodTypeAny, {
|
|
358
359
|
biddingAmount: number;
|
|
359
|
-
boosted: number;
|
|
360
360
|
boostingAmount: number;
|
|
361
|
+
boosted: number;
|
|
361
362
|
}, {
|
|
362
363
|
biddingAmount?: number | undefined;
|
|
363
|
-
boosted?: number | undefined;
|
|
364
364
|
boostingAmount?: number | undefined;
|
|
365
|
+
boosted?: number | undefined;
|
|
365
366
|
}>;
|
|
366
367
|
notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
367
368
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>;
|
|
@@ -372,16 +373,16 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
372
373
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
373
374
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
374
375
|
}, "strip", z.ZodTypeAny, {
|
|
375
|
-
contractorName: string | null;
|
|
376
376
|
agencyName: string | null;
|
|
377
|
-
specialisedProfile: string | null;
|
|
378
377
|
bidderId: string | null;
|
|
378
|
+
contractorName: string | null;
|
|
379
|
+
specialisedProfile: string | null;
|
|
379
380
|
bidAs: "agency" | "freelancer" | null;
|
|
380
381
|
}, {
|
|
381
|
-
contractorName: string | null;
|
|
382
382
|
agencyName: string | null;
|
|
383
|
-
specialisedProfile: string | null;
|
|
384
383
|
bidderId: string | null;
|
|
384
|
+
contractorName: string | null;
|
|
385
|
+
specialisedProfile: string | null;
|
|
385
386
|
bidAs: "agency" | "freelancer" | null;
|
|
386
387
|
}>>;
|
|
387
388
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
@@ -395,18 +396,18 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
395
396
|
instructions: z.ZodString;
|
|
396
397
|
status: z.ZodEnum<["active", "archived"]>;
|
|
397
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
status: "active" | "archived";
|
|
398
400
|
id: string;
|
|
399
401
|
name: string;
|
|
400
|
-
template: string;
|
|
401
402
|
description: string | null;
|
|
402
|
-
|
|
403
|
+
template: string;
|
|
403
404
|
instructions: string;
|
|
404
405
|
}, {
|
|
406
|
+
status: "active" | "archived";
|
|
405
407
|
id: string;
|
|
406
408
|
name: string;
|
|
407
|
-
template: string;
|
|
408
409
|
description: string | null;
|
|
409
|
-
|
|
410
|
+
template: string;
|
|
410
411
|
instructions: string;
|
|
411
412
|
}>>;
|
|
412
413
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
@@ -439,16 +440,16 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
439
440
|
}>, "many">;
|
|
440
441
|
timezone: z.ZodNullable<z.ZodString>;
|
|
441
442
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
443
443
|
enabled: boolean;
|
|
444
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
444
445
|
timeBlocks: {
|
|
445
446
|
fromHour: number;
|
|
446
447
|
toHour: number;
|
|
447
448
|
}[];
|
|
448
449
|
timezone: string | null;
|
|
449
450
|
}, {
|
|
450
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
451
451
|
enabled: boolean;
|
|
452
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
452
453
|
timeBlocks: {
|
|
453
454
|
fromHour: number;
|
|
454
455
|
toHour: number;
|
|
@@ -457,42 +458,36 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
457
458
|
}>;
|
|
458
459
|
}, "strip", z.ZodTypeAny, {
|
|
459
460
|
id: string;
|
|
460
|
-
priority: number | null;
|
|
461
461
|
name: string;
|
|
462
|
-
createdAt: number;
|
|
463
|
-
updatedAt: number;
|
|
464
|
-
coverLetterTemplateId: string | null;
|
|
465
|
-
biddingDelayInMinutes: number;
|
|
466
|
-
bidWithWarning: "bid" | "skip";
|
|
467
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
468
|
-
biddingHourlyRatePercentage: number | null;
|
|
469
|
-
biddingFixedHourlyRate: number | null;
|
|
470
|
-
boostingEnabled: boolean | null;
|
|
471
|
-
boostDownToNthPlace: number | null;
|
|
472
|
-
connectsAbovePrevious: number | null;
|
|
473
|
-
maximumBoost: number | null;
|
|
474
|
-
minBoost: number | null;
|
|
475
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
476
|
-
alreadyHiredAction: "bid" | "skip";
|
|
477
|
-
bidConfig: {
|
|
478
|
-
contractorName: string | null;
|
|
479
|
-
agencyName: string | null;
|
|
480
|
-
specialisedProfile: string | null;
|
|
481
|
-
bidderId: string | null;
|
|
482
|
-
bidAs: "agency" | "freelancer" | null;
|
|
483
|
-
} | null;
|
|
484
462
|
filters: {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
463
|
+
keywords: {
|
|
464
|
+
includes: string | null;
|
|
465
|
+
excludes: string | null;
|
|
466
|
+
} | null;
|
|
467
|
+
searchQuery: string | null;
|
|
468
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
469
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
470
|
+
categories: {
|
|
471
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
472
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
473
|
+
} | null;
|
|
474
|
+
payment: {
|
|
475
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
476
|
+
minFixedPrice: number | null;
|
|
477
|
+
maxFixedPrice: number | null;
|
|
478
|
+
minHourlyRate: number | null;
|
|
479
|
+
maxHourlyRate: number | null;
|
|
488
480
|
} | null;
|
|
489
481
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
490
482
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
483
|
+
questions: {
|
|
484
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
485
|
+
} | null;
|
|
486
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
491
487
|
clientInfo: {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
enterpriseClient: "false" | "all" | "true";
|
|
488
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
489
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
490
|
+
enterpriseClient: "all" | "true" | "false";
|
|
496
491
|
clientLocationIncludes: string[] | null;
|
|
497
492
|
clientLocationExcludes: string[] | null;
|
|
498
493
|
minReviewScore: number | null;
|
|
@@ -502,6 +497,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
502
497
|
minHireRate: number | null;
|
|
503
498
|
maxHireRate: number | null;
|
|
504
499
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
500
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
505
501
|
minJobsPosted: number | null;
|
|
506
502
|
minAvgHourlyRate: number | null;
|
|
507
503
|
maxAvgHourlyRate: number | null;
|
|
@@ -509,56 +505,62 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
509
505
|
memberSinceFrom: string | null;
|
|
510
506
|
memberSinceTo: string | null;
|
|
511
507
|
} | null;
|
|
508
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
509
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
510
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
511
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
512
512
|
vendorQualifications: {
|
|
513
|
-
includeRisingTalent: string | null;
|
|
514
513
|
locationIncludes: string[] | null;
|
|
515
514
|
locationExcludes: string[] | null;
|
|
516
515
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
517
516
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
517
|
+
includeRisingTalent: string | null;
|
|
518
518
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
519
519
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
520
520
|
} | null;
|
|
521
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
522
|
-
keywords: {
|
|
523
|
-
includes: string | null;
|
|
524
|
-
excludes: string | null;
|
|
525
|
-
} | null;
|
|
526
|
-
searchQuery: string | null;
|
|
527
|
-
categories: {
|
|
528
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
529
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
530
|
-
} | null;
|
|
531
|
-
payment: {
|
|
532
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
533
|
-
minFixedPrice: number | null;
|
|
534
|
-
maxFixedPrice: number | null;
|
|
535
|
-
minHourlyRate: number | null;
|
|
536
|
-
maxHourlyRate: number | null;
|
|
537
|
-
} | null;
|
|
538
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
539
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
540
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
541
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
542
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
543
521
|
};
|
|
522
|
+
createdAt: number;
|
|
523
|
+
updatedAt: number;
|
|
544
524
|
archivedAt: number | null;
|
|
545
525
|
confirmedBillingAt: number | null;
|
|
526
|
+
boostingEnabled: boolean | null;
|
|
527
|
+
maximumBoost: number | null;
|
|
528
|
+
minBoost: number | null;
|
|
529
|
+
boostDownToNthPlace: number | null;
|
|
530
|
+
connectsAbovePrevious: number | null;
|
|
531
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
546
532
|
monthlyBudget: number | null;
|
|
547
533
|
boostingThreshold: number | null;
|
|
548
|
-
|
|
534
|
+
biddingDelayInMinutes: number;
|
|
535
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
536
|
+
biddingFixedHourlyRate: number | null;
|
|
537
|
+
alreadyHiredAction: "bid" | "skip";
|
|
538
|
+
biddingHourlyRatePercentage: number | null;
|
|
539
|
+
biddingFixedPriceRate: number | null;
|
|
540
|
+
bidWithWarning: "bid" | "skip";
|
|
541
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
549
542
|
expenses: {
|
|
550
543
|
biddingAmount: number;
|
|
551
|
-
boosted: number;
|
|
552
544
|
boostingAmount: number;
|
|
545
|
+
boosted: number;
|
|
553
546
|
};
|
|
554
547
|
notificationsEnabled: boolean | null;
|
|
548
|
+
bidConfig: {
|
|
549
|
+
agencyName: string | null;
|
|
550
|
+
bidderId: string | null;
|
|
551
|
+
contractorName: string | null;
|
|
552
|
+
specialisedProfile: string | null;
|
|
553
|
+
bidAs: "agency" | "freelancer" | null;
|
|
554
|
+
} | null;
|
|
555
|
+
coverLetterTemplateId: string | null;
|
|
555
556
|
coverLetterTemplatesIds: string[] | null;
|
|
557
|
+
priority: number | null;
|
|
556
558
|
coverLetterTemplate: {
|
|
559
|
+
status: "active" | "archived";
|
|
557
560
|
id: string;
|
|
558
561
|
name: string;
|
|
559
|
-
template: string;
|
|
560
562
|
description: string | null;
|
|
561
|
-
|
|
563
|
+
template: string;
|
|
562
564
|
instructions: string;
|
|
563
565
|
} | null;
|
|
564
566
|
organizationProfileId: string | null;
|
|
@@ -569,46 +571,44 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
569
571
|
windowAnchorAt: number | null;
|
|
570
572
|
};
|
|
571
573
|
workTime: {
|
|
572
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
573
574
|
enabled: boolean;
|
|
575
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
574
576
|
timeBlocks: {
|
|
575
577
|
fromHour: number;
|
|
576
578
|
toHour: number;
|
|
577
579
|
}[];
|
|
578
580
|
timezone: string | null;
|
|
579
581
|
};
|
|
580
|
-
status?: "
|
|
582
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
581
583
|
}, {
|
|
582
584
|
id: string;
|
|
583
|
-
priority: number | null;
|
|
584
585
|
name: string;
|
|
585
|
-
createdAt: number;
|
|
586
|
-
updatedAt: number;
|
|
587
|
-
coverLetterTemplateId: string | null;
|
|
588
|
-
bidWithWarning: "bid" | "skip";
|
|
589
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
590
|
-
biddingHourlyRatePercentage: number | null;
|
|
591
|
-
biddingFixedHourlyRate: number | null;
|
|
592
|
-
boostDownToNthPlace: number | null;
|
|
593
|
-
connectsAbovePrevious: number | null;
|
|
594
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
595
|
-
alreadyHiredAction: "bid" | "skip";
|
|
596
|
-
bidConfig: {
|
|
597
|
-
contractorName: string | null;
|
|
598
|
-
agencyName: string | null;
|
|
599
|
-
specialisedProfile: string | null;
|
|
600
|
-
bidderId: string | null;
|
|
601
|
-
bidAs: "agency" | "freelancer" | null;
|
|
602
|
-
} | null;
|
|
603
586
|
filters: {
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
587
|
+
keywords: {
|
|
588
|
+
includes: string | null;
|
|
589
|
+
excludes: string | null;
|
|
590
|
+
} | null;
|
|
591
|
+
searchQuery: string | null;
|
|
592
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
593
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
594
|
+
categories: {
|
|
595
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
596
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
597
|
+
} | null;
|
|
598
|
+
payment: {
|
|
599
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
600
|
+
minFixedPrice: number | null;
|
|
601
|
+
maxFixedPrice: number | null;
|
|
602
|
+
minHourlyRate: number | null;
|
|
603
|
+
maxHourlyRate: number | null;
|
|
607
604
|
} | null;
|
|
608
605
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
609
606
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
610
|
-
|
|
611
|
-
|
|
607
|
+
questions: {
|
|
608
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
609
|
+
} | null;
|
|
610
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
611
|
+
clientInfo: {
|
|
612
612
|
clientLocationIncludes: string[] | null;
|
|
613
613
|
clientLocationExcludes: string[] | null;
|
|
614
614
|
minReviewScore: number | null;
|
|
@@ -618,65 +618,68 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
618
618
|
minHireRate: number | null;
|
|
619
619
|
maxHireRate: number | null;
|
|
620
620
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
621
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
621
622
|
minJobsPosted: number | null;
|
|
622
623
|
minAvgHourlyRate: number | null;
|
|
623
624
|
maxAvgHourlyRate: number | null;
|
|
624
625
|
minNumReviews: number | null;
|
|
625
626
|
memberSinceFrom: string | null;
|
|
626
627
|
memberSinceTo: string | null;
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
enterpriseClient?: "
|
|
628
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
629
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
630
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
630
631
|
} | null;
|
|
632
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
633
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
634
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
635
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
631
636
|
vendorQualifications: {
|
|
632
|
-
includeRisingTalent: string | null;
|
|
633
637
|
locationIncludes: string[] | null;
|
|
634
638
|
locationExcludes: string[] | null;
|
|
635
639
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
636
640
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
641
|
+
includeRisingTalent: string | null;
|
|
637
642
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
638
643
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
639
644
|
} | null;
|
|
640
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
641
|
-
keywords: {
|
|
642
|
-
includes: string | null;
|
|
643
|
-
excludes: string | null;
|
|
644
|
-
} | null;
|
|
645
|
-
searchQuery: string | null;
|
|
646
|
-
categories: {
|
|
647
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
648
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
649
|
-
} | null;
|
|
650
|
-
payment: {
|
|
651
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
652
|
-
minFixedPrice: number | null;
|
|
653
|
-
maxFixedPrice: number | null;
|
|
654
|
-
minHourlyRate: number | null;
|
|
655
|
-
maxHourlyRate: number | null;
|
|
656
|
-
} | null;
|
|
657
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
658
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
659
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
660
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
661
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
662
645
|
};
|
|
646
|
+
createdAt: number;
|
|
647
|
+
updatedAt: number;
|
|
663
648
|
archivedAt: number | null;
|
|
664
649
|
confirmedBillingAt: number | null;
|
|
650
|
+
boostDownToNthPlace: number | null;
|
|
651
|
+
connectsAbovePrevious: number | null;
|
|
652
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
665
653
|
monthlyBudget: number | null;
|
|
666
|
-
|
|
654
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
655
|
+
biddingFixedHourlyRate: number | null;
|
|
656
|
+
alreadyHiredAction: "bid" | "skip";
|
|
657
|
+
biddingHourlyRatePercentage: number | null;
|
|
658
|
+
biddingFixedPriceRate: number | null;
|
|
659
|
+
bidWithWarning: "bid" | "skip";
|
|
660
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
667
661
|
expenses: {
|
|
668
662
|
biddingAmount?: number | undefined;
|
|
669
|
-
boosted?: number | undefined;
|
|
670
663
|
boostingAmount?: number | undefined;
|
|
664
|
+
boosted?: number | undefined;
|
|
671
665
|
};
|
|
672
666
|
notificationsEnabled: boolean | null;
|
|
667
|
+
bidConfig: {
|
|
668
|
+
agencyName: string | null;
|
|
669
|
+
bidderId: string | null;
|
|
670
|
+
contractorName: string | null;
|
|
671
|
+
specialisedProfile: string | null;
|
|
672
|
+
bidAs: "agency" | "freelancer" | null;
|
|
673
|
+
} | null;
|
|
674
|
+
coverLetterTemplateId: string | null;
|
|
673
675
|
coverLetterTemplatesIds: string[] | null;
|
|
676
|
+
priority: number | null;
|
|
674
677
|
coverLetterTemplate: {
|
|
678
|
+
status: "active" | "archived";
|
|
675
679
|
id: string;
|
|
676
680
|
name: string;
|
|
677
|
-
template: string;
|
|
678
681
|
description: string | null;
|
|
679
|
-
|
|
682
|
+
template: string;
|
|
680
683
|
instructions: string;
|
|
681
684
|
} | null;
|
|
682
685
|
organizationProfileId: string | null;
|
|
@@ -687,20 +690,20 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
687
690
|
windowAnchorAt: number | null;
|
|
688
691
|
};
|
|
689
692
|
workTime: {
|
|
690
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
691
693
|
enabled: boolean;
|
|
694
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
692
695
|
timeBlocks: {
|
|
693
696
|
fromHour: number;
|
|
694
697
|
toHour: number;
|
|
695
698
|
}[];
|
|
696
699
|
timezone: string | null;
|
|
697
700
|
};
|
|
698
|
-
status?: "
|
|
699
|
-
biddingDelayInMinutes?: number | undefined;
|
|
701
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
700
702
|
boostingEnabled?: boolean | null | undefined;
|
|
701
703
|
maximumBoost?: number | null | undefined;
|
|
702
704
|
minBoost?: number | null | undefined;
|
|
703
705
|
boostingThreshold?: number | null | undefined;
|
|
706
|
+
biddingDelayInMinutes?: number | undefined;
|
|
704
707
|
}>;
|
|
705
708
|
export declare const upworkAccountConnectStatusSchema: z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">, z.ZodLiteral<"reconnecting">, z.ZodLiteral<"reconnected">, z.ZodLiteral<"reconnect_failed">]>;
|
|
706
709
|
export declare const upworkAccountConnectSchema: z.ZodObject<{
|
|
@@ -709,13 +712,13 @@ export declare const upworkAccountConnectSchema: z.ZodObject<{
|
|
|
709
712
|
email: z.ZodOptional<z.ZodString>;
|
|
710
713
|
profilePhotoUrl: z.ZodOptional<z.ZodString>;
|
|
711
714
|
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
|
|
712
716
|
error: string | null;
|
|
713
|
-
status: "failed" | "connected" | "reconnecting" | "processing" | "reconnected" | "reconnect_failed" | null;
|
|
714
717
|
email?: string | undefined;
|
|
715
718
|
profilePhotoUrl?: string | undefined;
|
|
716
719
|
}, {
|
|
720
|
+
status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
|
|
717
721
|
error: string | null;
|
|
718
|
-
status: "failed" | "connected" | "reconnecting" | "processing" | "reconnected" | "reconnect_failed" | null;
|
|
719
722
|
email?: string | undefined;
|
|
720
723
|
profilePhotoUrl?: string | undefined;
|
|
721
724
|
}>;
|
|
@@ -798,10 +801,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
798
801
|
memberSinceFrom: z.ZodNullable<z.ZodString>;
|
|
799
802
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
800
803
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
enterpriseClient: "false" | "all" | "true";
|
|
804
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
805
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
806
|
+
enterpriseClient: "all" | "true" | "false";
|
|
805
807
|
clientLocationIncludes: string[] | null;
|
|
806
808
|
clientLocationExcludes: string[] | null;
|
|
807
809
|
minReviewScore: number | null;
|
|
@@ -811,6 +813,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
811
813
|
minHireRate: number | null;
|
|
812
814
|
maxHireRate: number | null;
|
|
813
815
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
816
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
814
817
|
minJobsPosted: number | null;
|
|
815
818
|
minAvgHourlyRate: number | null;
|
|
816
819
|
maxAvgHourlyRate: number | null;
|
|
@@ -818,7 +821,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
818
821
|
memberSinceFrom: string | null;
|
|
819
822
|
memberSinceTo: string | null;
|
|
820
823
|
}, {
|
|
821
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
822
824
|
clientLocationIncludes: string[] | null;
|
|
823
825
|
clientLocationExcludes: string[] | null;
|
|
824
826
|
minReviewScore: number | null;
|
|
@@ -828,15 +830,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
828
830
|
minHireRate: number | null;
|
|
829
831
|
maxHireRate: number | null;
|
|
830
832
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
833
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
831
834
|
minJobsPosted: number | null;
|
|
832
835
|
minAvgHourlyRate: number | null;
|
|
833
836
|
maxAvgHourlyRate: number | null;
|
|
834
837
|
minNumReviews: number | null;
|
|
835
838
|
memberSinceFrom: string | null;
|
|
836
839
|
memberSinceTo: string | null;
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
enterpriseClient?: "
|
|
840
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
841
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
842
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
840
843
|
}>>;
|
|
841
844
|
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
842
845
|
includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -851,34 +854,51 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
851
854
|
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
852
855
|
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
853
856
|
}, "strip", z.ZodTypeAny, {
|
|
854
|
-
includeRisingTalent: string | null;
|
|
855
857
|
locationIncludes: string[] | null;
|
|
856
858
|
locationExcludes: string[] | null;
|
|
857
859
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
858
860
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
861
|
+
includeRisingTalent: string | null;
|
|
859
862
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
860
863
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
861
864
|
}, {
|
|
862
|
-
includeRisingTalent: string | null;
|
|
863
865
|
locationIncludes: string[] | null;
|
|
864
866
|
locationExcludes: string[] | null;
|
|
865
867
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
866
868
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
869
|
+
includeRisingTalent: string | null;
|
|
867
870
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
868
871
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
869
872
|
}>>;
|
|
870
873
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
+
keywords: {
|
|
875
|
+
includes: string | null;
|
|
876
|
+
excludes: string | null;
|
|
877
|
+
} | null;
|
|
878
|
+
searchQuery: string | null;
|
|
879
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
880
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
881
|
+
categories: {
|
|
882
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
883
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
884
|
+
} | null;
|
|
885
|
+
payment: {
|
|
886
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
887
|
+
minFixedPrice: number | null;
|
|
888
|
+
maxFixedPrice: number | null;
|
|
889
|
+
minHourlyRate: number | null;
|
|
890
|
+
maxHourlyRate: number | null;
|
|
874
891
|
} | null;
|
|
875
892
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
876
893
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
894
|
+
questions: {
|
|
895
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
896
|
+
} | null;
|
|
897
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
877
898
|
clientInfo: {
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
enterpriseClient: "false" | "all" | "true";
|
|
899
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
900
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
901
|
+
enterpriseClient: "all" | "true" | "false";
|
|
882
902
|
clientLocationIncludes: string[] | null;
|
|
883
903
|
clientLocationExcludes: string[] | null;
|
|
884
904
|
minReviewScore: number | null;
|
|
@@ -888,6 +908,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
888
908
|
minHireRate: number | null;
|
|
889
909
|
maxHireRate: number | null;
|
|
890
910
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
911
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
891
912
|
minJobsPosted: number | null;
|
|
892
913
|
minAvgHourlyRate: number | null;
|
|
893
914
|
maxAvgHourlyRate: number | null;
|
|
@@ -895,21 +916,27 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
895
916
|
memberSinceFrom: string | null;
|
|
896
917
|
memberSinceTo: string | null;
|
|
897
918
|
} | null;
|
|
919
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
920
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
921
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
922
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
898
923
|
vendorQualifications: {
|
|
899
|
-
includeRisingTalent: string | null;
|
|
900
924
|
locationIncludes: string[] | null;
|
|
901
925
|
locationExcludes: string[] | null;
|
|
902
926
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
903
927
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
928
|
+
includeRisingTalent: string | null;
|
|
904
929
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
905
930
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
906
931
|
} | null;
|
|
907
|
-
|
|
932
|
+
}, {
|
|
908
933
|
keywords: {
|
|
909
934
|
includes: string | null;
|
|
910
935
|
excludes: string | null;
|
|
911
936
|
} | null;
|
|
912
937
|
searchQuery: string | null;
|
|
938
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
939
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
913
940
|
categories: {
|
|
914
941
|
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
915
942
|
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
@@ -921,20 +948,13 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
921
948
|
minHourlyRate: number | null;
|
|
922
949
|
maxHourlyRate: number | null;
|
|
923
950
|
} | null;
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
927
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
928
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
929
|
-
}, {
|
|
930
|
-
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
951
|
+
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
952
|
+
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
931
953
|
questions: {
|
|
932
954
|
hasQuestions: ("all" | "yes" | "no")[];
|
|
933
955
|
} | null;
|
|
934
|
-
|
|
935
|
-
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
956
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
936
957
|
clientInfo: {
|
|
937
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
938
958
|
clientLocationIncludes: string[] | null;
|
|
939
959
|
clientLocationExcludes: string[] | null;
|
|
940
960
|
minReviewScore: number | null;
|
|
@@ -944,47 +964,30 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
944
964
|
minHireRate: number | null;
|
|
945
965
|
maxHireRate: number | null;
|
|
946
966
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
967
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
947
968
|
minJobsPosted: number | null;
|
|
948
969
|
minAvgHourlyRate: number | null;
|
|
949
970
|
maxAvgHourlyRate: number | null;
|
|
950
971
|
minNumReviews: number | null;
|
|
951
972
|
memberSinceFrom: string | null;
|
|
952
973
|
memberSinceTo: string | null;
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
enterpriseClient?: "
|
|
974
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
975
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
976
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
956
977
|
} | null;
|
|
978
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
979
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
980
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
981
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
957
982
|
vendorQualifications: {
|
|
958
|
-
includeRisingTalent: string | null;
|
|
959
983
|
locationIncludes: string[] | null;
|
|
960
984
|
locationExcludes: string[] | null;
|
|
961
985
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
962
986
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
987
|
+
includeRisingTalent: string | null;
|
|
963
988
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
964
989
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
965
990
|
} | null;
|
|
966
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
967
|
-
keywords: {
|
|
968
|
-
includes: string | null;
|
|
969
|
-
excludes: string | null;
|
|
970
|
-
} | null;
|
|
971
|
-
searchQuery: string | null;
|
|
972
|
-
categories: {
|
|
973
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
974
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
975
|
-
} | null;
|
|
976
|
-
payment: {
|
|
977
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
978
|
-
minFixedPrice: number | null;
|
|
979
|
-
maxFixedPrice: number | null;
|
|
980
|
-
minHourlyRate: number | null;
|
|
981
|
-
maxHourlyRate: number | null;
|
|
982
|
-
} | null;
|
|
983
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
984
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
985
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
986
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
987
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
988
991
|
}>;
|
|
989
992
|
createdAt: z.ZodNumber;
|
|
990
993
|
updatedAt: z.ZodNumber;
|
|
@@ -1003,6 +1006,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1003
1006
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1004
1007
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
1005
1008
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1009
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
1006
1010
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1007
1011
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
1008
1012
|
expenses: z.ZodObject<{
|
|
@@ -1011,12 +1015,12 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1011
1015
|
boosted: z.ZodDefault<z.ZodNumber>;
|
|
1012
1016
|
}, "strip", z.ZodTypeAny, {
|
|
1013
1017
|
biddingAmount: number;
|
|
1014
|
-
boosted: number;
|
|
1015
1018
|
boostingAmount: number;
|
|
1019
|
+
boosted: number;
|
|
1016
1020
|
}, {
|
|
1017
1021
|
biddingAmount?: number | undefined;
|
|
1018
|
-
boosted?: number | undefined;
|
|
1019
1022
|
boostingAmount?: number | undefined;
|
|
1023
|
+
boosted?: number | undefined;
|
|
1020
1024
|
}>;
|
|
1021
1025
|
notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
1022
1026
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>;
|
|
@@ -1027,16 +1031,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1027
1031
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1028
1032
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
1029
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1030
|
-
contractorName: string | null;
|
|
1031
1034
|
agencyName: string | null;
|
|
1032
|
-
specialisedProfile: string | null;
|
|
1033
1035
|
bidderId: string | null;
|
|
1036
|
+
contractorName: string | null;
|
|
1037
|
+
specialisedProfile: string | null;
|
|
1034
1038
|
bidAs: "agency" | "freelancer" | null;
|
|
1035
1039
|
}, {
|
|
1036
|
-
contractorName: string | null;
|
|
1037
1040
|
agencyName: string | null;
|
|
1038
|
-
specialisedProfile: string | null;
|
|
1039
1041
|
bidderId: string | null;
|
|
1042
|
+
contractorName: string | null;
|
|
1043
|
+
specialisedProfile: string | null;
|
|
1040
1044
|
bidAs: "agency" | "freelancer" | null;
|
|
1041
1045
|
}>>;
|
|
1042
1046
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
@@ -1050,18 +1054,18 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1050
1054
|
instructions: z.ZodString;
|
|
1051
1055
|
status: z.ZodEnum<["active", "archived"]>;
|
|
1052
1056
|
}, "strip", z.ZodTypeAny, {
|
|
1057
|
+
status: "active" | "archived";
|
|
1053
1058
|
id: string;
|
|
1054
1059
|
name: string;
|
|
1055
|
-
template: string;
|
|
1056
1060
|
description: string | null;
|
|
1057
|
-
|
|
1061
|
+
template: string;
|
|
1058
1062
|
instructions: string;
|
|
1059
1063
|
}, {
|
|
1064
|
+
status: "active" | "archived";
|
|
1060
1065
|
id: string;
|
|
1061
1066
|
name: string;
|
|
1062
|
-
template: string;
|
|
1063
1067
|
description: string | null;
|
|
1064
|
-
|
|
1068
|
+
template: string;
|
|
1065
1069
|
instructions: string;
|
|
1066
1070
|
}>>;
|
|
1067
1071
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
@@ -1094,16 +1098,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1094
1098
|
}>, "many">;
|
|
1095
1099
|
timezone: z.ZodNullable<z.ZodString>;
|
|
1096
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1098
1101
|
enabled: boolean;
|
|
1102
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1099
1103
|
timeBlocks: {
|
|
1100
1104
|
fromHour: number;
|
|
1101
1105
|
toHour: number;
|
|
1102
1106
|
}[];
|
|
1103
1107
|
timezone: string | null;
|
|
1104
1108
|
}, {
|
|
1105
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1106
1109
|
enabled: boolean;
|
|
1110
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1107
1111
|
timeBlocks: {
|
|
1108
1112
|
fromHour: number;
|
|
1109
1113
|
toHour: number;
|
|
@@ -1111,33 +1115,36 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1111
1115
|
timezone: string | null;
|
|
1112
1116
|
}>;
|
|
1113
1117
|
}, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
|
|
1114
|
-
priority: number | null;
|
|
1115
1118
|
name: string;
|
|
1116
|
-
coverLetterTemplateId: string | null;
|
|
1117
|
-
biddingDelayInMinutes: number;
|
|
1118
|
-
bidWithWarning: "bid" | "skip";
|
|
1119
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1120
|
-
biddingHourlyRatePercentage: number | null;
|
|
1121
|
-
biddingFixedHourlyRate: number | null;
|
|
1122
|
-
boostingEnabled: boolean | null;
|
|
1123
|
-
boostDownToNthPlace: number | null;
|
|
1124
|
-
connectsAbovePrevious: number | null;
|
|
1125
|
-
maximumBoost: number | null;
|
|
1126
|
-
minBoost: number | null;
|
|
1127
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1128
|
-
alreadyHiredAction: "bid" | "skip";
|
|
1129
1119
|
filters: {
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1120
|
+
keywords: {
|
|
1121
|
+
includes: string | null;
|
|
1122
|
+
excludes: string | null;
|
|
1123
|
+
} | null;
|
|
1124
|
+
searchQuery: string | null;
|
|
1125
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
1126
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
1127
|
+
categories: {
|
|
1128
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1129
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1130
|
+
} | null;
|
|
1131
|
+
payment: {
|
|
1132
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1133
|
+
minFixedPrice: number | null;
|
|
1134
|
+
maxFixedPrice: number | null;
|
|
1135
|
+
minHourlyRate: number | null;
|
|
1136
|
+
maxHourlyRate: number | null;
|
|
1133
1137
|
} | null;
|
|
1134
1138
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1135
1139
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1140
|
+
questions: {
|
|
1141
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1142
|
+
} | null;
|
|
1143
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1136
1144
|
clientInfo: {
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
enterpriseClient: "false" | "all" | "true";
|
|
1145
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
1146
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
1147
|
+
enterpriseClient: "all" | "true" | "false";
|
|
1141
1148
|
clientLocationIncludes: string[] | null;
|
|
1142
1149
|
clientLocationExcludes: string[] | null;
|
|
1143
1150
|
minReviewScore: number | null;
|
|
@@ -1147,6 +1154,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1147
1154
|
minHireRate: number | null;
|
|
1148
1155
|
maxHireRate: number | null;
|
|
1149
1156
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1157
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1150
1158
|
minJobsPosted: number | null;
|
|
1151
1159
|
minAvgHourlyRate: number | null;
|
|
1152
1160
|
maxAvgHourlyRate: number | null;
|
|
@@ -1154,56 +1162,53 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1154
1162
|
memberSinceFrom: string | null;
|
|
1155
1163
|
memberSinceTo: string | null;
|
|
1156
1164
|
} | null;
|
|
1165
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1166
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1167
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1168
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1157
1169
|
vendorQualifications: {
|
|
1158
|
-
includeRisingTalent: string | null;
|
|
1159
1170
|
locationIncludes: string[] | null;
|
|
1160
1171
|
locationExcludes: string[] | null;
|
|
1161
1172
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1162
1173
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1174
|
+
includeRisingTalent: string | null;
|
|
1163
1175
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1164
1176
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1165
1177
|
} | null;
|
|
1166
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
1167
|
-
keywords: {
|
|
1168
|
-
includes: string | null;
|
|
1169
|
-
excludes: string | null;
|
|
1170
|
-
} | null;
|
|
1171
|
-
searchQuery: string | null;
|
|
1172
|
-
categories: {
|
|
1173
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1174
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1175
|
-
} | null;
|
|
1176
|
-
payment: {
|
|
1177
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1178
|
-
minFixedPrice: number | null;
|
|
1179
|
-
maxFixedPrice: number | null;
|
|
1180
|
-
minHourlyRate: number | null;
|
|
1181
|
-
maxHourlyRate: number | null;
|
|
1182
|
-
} | null;
|
|
1183
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1184
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
1185
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1186
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1187
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1188
1178
|
};
|
|
1189
1179
|
archivedAt: number | null;
|
|
1190
1180
|
confirmedBillingAt: number | null;
|
|
1181
|
+
boostingEnabled: boolean | null;
|
|
1182
|
+
maximumBoost: number | null;
|
|
1183
|
+
minBoost: number | null;
|
|
1184
|
+
boostDownToNthPlace: number | null;
|
|
1185
|
+
connectsAbovePrevious: number | null;
|
|
1186
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1191
1187
|
monthlyBudget: number | null;
|
|
1192
1188
|
boostingThreshold: number | null;
|
|
1193
|
-
|
|
1189
|
+
biddingDelayInMinutes: number;
|
|
1190
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1191
|
+
biddingFixedHourlyRate: number | null;
|
|
1192
|
+
alreadyHiredAction: "bid" | "skip";
|
|
1193
|
+
biddingHourlyRatePercentage: number | null;
|
|
1194
|
+
biddingFixedPriceRate: number | null;
|
|
1195
|
+
bidWithWarning: "bid" | "skip";
|
|
1196
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
1194
1197
|
expenses: {
|
|
1195
1198
|
biddingAmount: number;
|
|
1196
|
-
boosted: number;
|
|
1197
1199
|
boostingAmount: number;
|
|
1200
|
+
boosted: number;
|
|
1198
1201
|
};
|
|
1199
1202
|
notificationsEnabled: boolean | null;
|
|
1203
|
+
coverLetterTemplateId: string | null;
|
|
1200
1204
|
coverLetterTemplatesIds: string[] | null;
|
|
1205
|
+
priority: number | null;
|
|
1201
1206
|
coverLetterTemplate: {
|
|
1207
|
+
status: "active" | "archived";
|
|
1202
1208
|
id: string;
|
|
1203
1209
|
name: string;
|
|
1204
|
-
template: string;
|
|
1205
1210
|
description: string | null;
|
|
1206
|
-
|
|
1211
|
+
template: string;
|
|
1207
1212
|
instructions: string;
|
|
1208
1213
|
} | null;
|
|
1209
1214
|
organizationProfileId: string | null;
|
|
@@ -1214,36 +1219,43 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1214
1219
|
windowAnchorAt: number | null;
|
|
1215
1220
|
};
|
|
1216
1221
|
workTime: {
|
|
1217
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1218
1222
|
enabled: boolean;
|
|
1223
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1219
1224
|
timeBlocks: {
|
|
1220
1225
|
fromHour: number;
|
|
1221
1226
|
toHour: number;
|
|
1222
1227
|
}[];
|
|
1223
1228
|
timezone: string | null;
|
|
1224
1229
|
};
|
|
1225
|
-
status?: "
|
|
1230
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
1226
1231
|
}, {
|
|
1227
|
-
priority: number | null;
|
|
1228
1232
|
name: string;
|
|
1229
|
-
coverLetterTemplateId: string | null;
|
|
1230
|
-
bidWithWarning: "bid" | "skip";
|
|
1231
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1232
|
-
biddingHourlyRatePercentage: number | null;
|
|
1233
|
-
biddingFixedHourlyRate: number | null;
|
|
1234
|
-
boostDownToNthPlace: number | null;
|
|
1235
|
-
connectsAbovePrevious: number | null;
|
|
1236
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1237
|
-
alreadyHiredAction: "bid" | "skip";
|
|
1238
1233
|
filters: {
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1234
|
+
keywords: {
|
|
1235
|
+
includes: string | null;
|
|
1236
|
+
excludes: string | null;
|
|
1237
|
+
} | null;
|
|
1238
|
+
searchQuery: string | null;
|
|
1239
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
1240
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
1241
|
+
categories: {
|
|
1242
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1243
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1244
|
+
} | null;
|
|
1245
|
+
payment: {
|
|
1246
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1247
|
+
minFixedPrice: number | null;
|
|
1248
|
+
maxFixedPrice: number | null;
|
|
1249
|
+
minHourlyRate: number | null;
|
|
1250
|
+
maxHourlyRate: number | null;
|
|
1242
1251
|
} | null;
|
|
1243
1252
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1244
1253
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1254
|
+
questions: {
|
|
1255
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1256
|
+
} | null;
|
|
1257
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1245
1258
|
clientInfo: {
|
|
1246
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1247
1259
|
clientLocationIncludes: string[] | null;
|
|
1248
1260
|
clientLocationExcludes: string[] | null;
|
|
1249
1261
|
minReviewScore: number | null;
|
|
@@ -1253,65 +1265,59 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1253
1265
|
minHireRate: number | null;
|
|
1254
1266
|
maxHireRate: number | null;
|
|
1255
1267
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1268
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1256
1269
|
minJobsPosted: number | null;
|
|
1257
1270
|
minAvgHourlyRate: number | null;
|
|
1258
1271
|
maxAvgHourlyRate: number | null;
|
|
1259
1272
|
minNumReviews: number | null;
|
|
1260
1273
|
memberSinceFrom: string | null;
|
|
1261
1274
|
memberSinceTo: string | null;
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
enterpriseClient?: "
|
|
1275
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
1276
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1277
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1265
1278
|
} | null;
|
|
1279
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1280
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1281
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1282
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1266
1283
|
vendorQualifications: {
|
|
1267
|
-
includeRisingTalent: string | null;
|
|
1268
1284
|
locationIncludes: string[] | null;
|
|
1269
1285
|
locationExcludes: string[] | null;
|
|
1270
1286
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1271
1287
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1288
|
+
includeRisingTalent: string | null;
|
|
1272
1289
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1273
1290
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1274
1291
|
} | null;
|
|
1275
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
1276
|
-
keywords: {
|
|
1277
|
-
includes: string | null;
|
|
1278
|
-
excludes: string | null;
|
|
1279
|
-
} | null;
|
|
1280
|
-
searchQuery: string | null;
|
|
1281
|
-
categories: {
|
|
1282
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1283
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1284
|
-
} | null;
|
|
1285
|
-
payment: {
|
|
1286
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1287
|
-
minFixedPrice: number | null;
|
|
1288
|
-
maxFixedPrice: number | null;
|
|
1289
|
-
minHourlyRate: number | null;
|
|
1290
|
-
maxHourlyRate: number | null;
|
|
1291
|
-
} | null;
|
|
1292
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1293
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
1294
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1295
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1296
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1297
1292
|
};
|
|
1298
1293
|
archivedAt: number | null;
|
|
1299
1294
|
confirmedBillingAt: number | null;
|
|
1295
|
+
boostDownToNthPlace: number | null;
|
|
1296
|
+
connectsAbovePrevious: number | null;
|
|
1297
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1300
1298
|
monthlyBudget: number | null;
|
|
1301
|
-
|
|
1299
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1300
|
+
biddingFixedHourlyRate: number | null;
|
|
1301
|
+
alreadyHiredAction: "bid" | "skip";
|
|
1302
|
+
biddingHourlyRatePercentage: number | null;
|
|
1303
|
+
biddingFixedPriceRate: number | null;
|
|
1304
|
+
bidWithWarning: "bid" | "skip";
|
|
1305
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
1302
1306
|
expenses: {
|
|
1303
1307
|
biddingAmount?: number | undefined;
|
|
1304
|
-
boosted?: number | undefined;
|
|
1305
1308
|
boostingAmount?: number | undefined;
|
|
1309
|
+
boosted?: number | undefined;
|
|
1306
1310
|
};
|
|
1307
1311
|
notificationsEnabled: boolean | null;
|
|
1312
|
+
coverLetterTemplateId: string | null;
|
|
1308
1313
|
coverLetterTemplatesIds: string[] | null;
|
|
1314
|
+
priority: number | null;
|
|
1309
1315
|
coverLetterTemplate: {
|
|
1316
|
+
status: "active" | "archived";
|
|
1310
1317
|
id: string;
|
|
1311
1318
|
name: string;
|
|
1312
|
-
template: string;
|
|
1313
1319
|
description: string | null;
|
|
1314
|
-
|
|
1320
|
+
template: string;
|
|
1315
1321
|
instructions: string;
|
|
1316
1322
|
} | null;
|
|
1317
1323
|
organizationProfileId: string | null;
|
|
@@ -1322,58 +1328,25 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1322
1328
|
windowAnchorAt: number | null;
|
|
1323
1329
|
};
|
|
1324
1330
|
workTime: {
|
|
1325
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1326
1331
|
enabled: boolean;
|
|
1332
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1327
1333
|
timeBlocks: {
|
|
1328
1334
|
fromHour: number;
|
|
1329
1335
|
toHour: number;
|
|
1330
1336
|
}[];
|
|
1331
1337
|
timezone: string | null;
|
|
1332
1338
|
};
|
|
1333
|
-
status?: "
|
|
1334
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1339
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
1335
1340
|
boostingEnabled?: boolean | null | undefined;
|
|
1336
1341
|
maximumBoost?: number | null | undefined;
|
|
1337
1342
|
minBoost?: number | null | undefined;
|
|
1338
1343
|
boostingThreshold?: number | null | undefined;
|
|
1344
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1339
1345
|
}>;
|
|
1340
1346
|
export declare const updateCampaignSchema: z.ZodObject<{
|
|
1347
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>>;
|
|
1341
1348
|
id: z.ZodOptional<z.ZodString>;
|
|
1342
|
-
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1343
1349
|
name: z.ZodOptional<z.ZodString>;
|
|
1344
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>>;
|
|
1345
|
-
coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1346
|
-
biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1347
|
-
bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
|
|
1348
|
-
biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate", "smart_bidding"]>>;
|
|
1349
|
-
biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1350
|
-
biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1351
|
-
boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1352
|
-
boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1353
|
-
connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1354
|
-
maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1355
|
-
minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1356
|
-
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
1357
|
-
alreadyHiredAction: z.ZodOptional<z.ZodEnum<["skip", "bid"]>>;
|
|
1358
|
-
bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1359
|
-
agencyName: z.ZodNullable<z.ZodString>;
|
|
1360
|
-
bidderId: z.ZodNullable<z.ZodString>;
|
|
1361
|
-
contractorName: z.ZodNullable<z.ZodString>;
|
|
1362
|
-
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1363
|
-
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
1364
|
-
}, "strip", z.ZodTypeAny, {
|
|
1365
|
-
contractorName: string | null;
|
|
1366
|
-
agencyName: string | null;
|
|
1367
|
-
specialisedProfile: string | null;
|
|
1368
|
-
bidderId: string | null;
|
|
1369
|
-
bidAs: "agency" | "freelancer" | null;
|
|
1370
|
-
}, {
|
|
1371
|
-
contractorName: string | null;
|
|
1372
|
-
agencyName: string | null;
|
|
1373
|
-
specialisedProfile: string | null;
|
|
1374
|
-
bidderId: string | null;
|
|
1375
|
-
bidAs: "agency" | "freelancer" | null;
|
|
1376
|
-
}>>>;
|
|
1377
1350
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1378
1351
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
1379
1352
|
includes: z.ZodNullable<z.ZodString>;
|
|
@@ -1448,10 +1421,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1448
1421
|
memberSinceFrom: z.ZodNullable<z.ZodString>;
|
|
1449
1422
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
1450
1423
|
}, "strip", z.ZodTypeAny, {
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
enterpriseClient: "false" | "all" | "true";
|
|
1424
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
1425
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
1426
|
+
enterpriseClient: "all" | "true" | "false";
|
|
1455
1427
|
clientLocationIncludes: string[] | null;
|
|
1456
1428
|
clientLocationExcludes: string[] | null;
|
|
1457
1429
|
minReviewScore: number | null;
|
|
@@ -1461,6 +1433,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1461
1433
|
minHireRate: number | null;
|
|
1462
1434
|
maxHireRate: number | null;
|
|
1463
1435
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1436
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1464
1437
|
minJobsPosted: number | null;
|
|
1465
1438
|
minAvgHourlyRate: number | null;
|
|
1466
1439
|
maxAvgHourlyRate: number | null;
|
|
@@ -1468,7 +1441,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1468
1441
|
memberSinceFrom: string | null;
|
|
1469
1442
|
memberSinceTo: string | null;
|
|
1470
1443
|
}, {
|
|
1471
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1472
1444
|
clientLocationIncludes: string[] | null;
|
|
1473
1445
|
clientLocationExcludes: string[] | null;
|
|
1474
1446
|
minReviewScore: number | null;
|
|
@@ -1478,15 +1450,16 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1478
1450
|
minHireRate: number | null;
|
|
1479
1451
|
maxHireRate: number | null;
|
|
1480
1452
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1453
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1481
1454
|
minJobsPosted: number | null;
|
|
1482
1455
|
minAvgHourlyRate: number | null;
|
|
1483
1456
|
maxAvgHourlyRate: number | null;
|
|
1484
1457
|
minNumReviews: number | null;
|
|
1485
1458
|
memberSinceFrom: string | null;
|
|
1486
1459
|
memberSinceTo: string | null;
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
enterpriseClient?: "
|
|
1460
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
1461
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1462
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1490
1463
|
}>>;
|
|
1491
1464
|
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
1492
1465
|
includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1501,34 +1474,51 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1501
1474
|
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
1502
1475
|
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
1503
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1504
|
-
includeRisingTalent: string | null;
|
|
1505
1477
|
locationIncludes: string[] | null;
|
|
1506
1478
|
locationExcludes: string[] | null;
|
|
1507
1479
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1508
1480
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1481
|
+
includeRisingTalent: string | null;
|
|
1509
1482
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1510
1483
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1511
1484
|
}, {
|
|
1512
|
-
includeRisingTalent: string | null;
|
|
1513
1485
|
locationIncludes: string[] | null;
|
|
1514
1486
|
locationExcludes: string[] | null;
|
|
1515
1487
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1516
1488
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1489
|
+
includeRisingTalent: string | null;
|
|
1517
1490
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1518
1491
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1519
1492
|
}>>;
|
|
1520
1493
|
}, "strip", z.ZodTypeAny, {
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1494
|
+
keywords: {
|
|
1495
|
+
includes: string | null;
|
|
1496
|
+
excludes: string | null;
|
|
1497
|
+
} | null;
|
|
1498
|
+
searchQuery: string | null;
|
|
1499
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
1500
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
1501
|
+
categories: {
|
|
1502
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1503
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1504
|
+
} | null;
|
|
1505
|
+
payment: {
|
|
1506
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1507
|
+
minFixedPrice: number | null;
|
|
1508
|
+
maxFixedPrice: number | null;
|
|
1509
|
+
minHourlyRate: number | null;
|
|
1510
|
+
maxHourlyRate: number | null;
|
|
1524
1511
|
} | null;
|
|
1525
1512
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1526
1513
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1514
|
+
questions: {
|
|
1515
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1516
|
+
} | null;
|
|
1517
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1527
1518
|
clientInfo: {
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
enterpriseClient: "false" | "all" | "true";
|
|
1519
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
1520
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
1521
|
+
enterpriseClient: "all" | "true" | "false";
|
|
1532
1522
|
clientLocationIncludes: string[] | null;
|
|
1533
1523
|
clientLocationExcludes: string[] | null;
|
|
1534
1524
|
minReviewScore: number | null;
|
|
@@ -1538,6 +1528,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1538
1528
|
minHireRate: number | null;
|
|
1539
1529
|
maxHireRate: number | null;
|
|
1540
1530
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1531
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1541
1532
|
minJobsPosted: number | null;
|
|
1542
1533
|
minAvgHourlyRate: number | null;
|
|
1543
1534
|
maxAvgHourlyRate: number | null;
|
|
@@ -1545,21 +1536,27 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1545
1536
|
memberSinceFrom: string | null;
|
|
1546
1537
|
memberSinceTo: string | null;
|
|
1547
1538
|
} | null;
|
|
1539
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1540
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1541
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1542
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1548
1543
|
vendorQualifications: {
|
|
1549
|
-
includeRisingTalent: string | null;
|
|
1550
1544
|
locationIncludes: string[] | null;
|
|
1551
1545
|
locationExcludes: string[] | null;
|
|
1552
1546
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1553
1547
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1548
|
+
includeRisingTalent: string | null;
|
|
1554
1549
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1555
1550
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1556
1551
|
} | null;
|
|
1557
|
-
|
|
1552
|
+
}, {
|
|
1558
1553
|
keywords: {
|
|
1559
1554
|
includes: string | null;
|
|
1560
1555
|
excludes: string | null;
|
|
1561
1556
|
} | null;
|
|
1562
1557
|
searchQuery: string | null;
|
|
1558
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
1559
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
1563
1560
|
categories: {
|
|
1564
1561
|
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1565
1562
|
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
@@ -1571,20 +1568,13 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1571
1568
|
minHourlyRate: number | null;
|
|
1572
1569
|
maxHourlyRate: number | null;
|
|
1573
1570
|
} | null;
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1577
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1578
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1579
|
-
}, {
|
|
1580
|
-
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
1571
|
+
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1572
|
+
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1581
1573
|
questions: {
|
|
1582
1574
|
hasQuestions: ("all" | "yes" | "no")[];
|
|
1583
1575
|
} | null;
|
|
1584
|
-
|
|
1585
|
-
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1576
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1586
1577
|
clientInfo: {
|
|
1587
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1588
1578
|
clientLocationIncludes: string[] | null;
|
|
1589
1579
|
clientLocationExcludes: string[] | null;
|
|
1590
1580
|
minReviewScore: number | null;
|
|
@@ -1594,52 +1584,48 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1594
1584
|
minHireRate: number | null;
|
|
1595
1585
|
maxHireRate: number | null;
|
|
1596
1586
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1587
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1597
1588
|
minJobsPosted: number | null;
|
|
1598
1589
|
minAvgHourlyRate: number | null;
|
|
1599
1590
|
maxAvgHourlyRate: number | null;
|
|
1600
1591
|
minNumReviews: number | null;
|
|
1601
1592
|
memberSinceFrom: string | null;
|
|
1602
1593
|
memberSinceTo: string | null;
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
enterpriseClient?: "
|
|
1594
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
1595
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1596
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1606
1597
|
} | null;
|
|
1598
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1599
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1600
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1601
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1607
1602
|
vendorQualifications: {
|
|
1608
|
-
includeRisingTalent: string | null;
|
|
1609
1603
|
locationIncludes: string[] | null;
|
|
1610
1604
|
locationExcludes: string[] | null;
|
|
1611
1605
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1612
1606
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1607
|
+
includeRisingTalent: string | null;
|
|
1613
1608
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1614
1609
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1615
1610
|
} | null;
|
|
1616
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
1617
|
-
keywords: {
|
|
1618
|
-
includes: string | null;
|
|
1619
|
-
excludes: string | null;
|
|
1620
|
-
} | null;
|
|
1621
|
-
searchQuery: string | null;
|
|
1622
|
-
categories: {
|
|
1623
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1624
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1625
|
-
} | null;
|
|
1626
|
-
payment: {
|
|
1627
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1628
|
-
minFixedPrice: number | null;
|
|
1629
|
-
maxFixedPrice: number | null;
|
|
1630
|
-
minHourlyRate: number | null;
|
|
1631
|
-
maxHourlyRate: number | null;
|
|
1632
|
-
} | null;
|
|
1633
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1634
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
1635
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1636
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1637
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1638
1611
|
}>>;
|
|
1639
1612
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1640
1613
|
confirmedBillingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1614
|
+
boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1615
|
+
maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1616
|
+
minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1617
|
+
boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1618
|
+
connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1619
|
+
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
1641
1620
|
monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1642
1621
|
boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1622
|
+
biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1623
|
+
biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate", "smart_bidding"]>>;
|
|
1624
|
+
biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1625
|
+
alreadyHiredAction: z.ZodOptional<z.ZodEnum<["skip", "bid"]>>;
|
|
1626
|
+
biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1627
|
+
biddingFixedPriceRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1628
|
+
bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
|
|
1643
1629
|
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>>;
|
|
1644
1630
|
expenses: z.ZodOptional<z.ZodObject<{
|
|
1645
1631
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1647,15 +1633,36 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1647
1633
|
boosted: z.ZodDefault<z.ZodNumber>;
|
|
1648
1634
|
}, "strip", z.ZodTypeAny, {
|
|
1649
1635
|
biddingAmount: number;
|
|
1650
|
-
boosted: number;
|
|
1651
1636
|
boostingAmount: number;
|
|
1637
|
+
boosted: number;
|
|
1652
1638
|
}, {
|
|
1653
1639
|
biddingAmount?: number | undefined;
|
|
1654
|
-
boosted?: number | undefined;
|
|
1655
1640
|
boostingAmount?: number | undefined;
|
|
1641
|
+
boosted?: number | undefined;
|
|
1656
1642
|
}>>;
|
|
1657
1643
|
notificationsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1644
|
+
bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1645
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
1646
|
+
bidderId: z.ZodNullable<z.ZodString>;
|
|
1647
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
1648
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1649
|
+
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
1650
|
+
}, "strip", z.ZodTypeAny, {
|
|
1651
|
+
agencyName: string | null;
|
|
1652
|
+
bidderId: string | null;
|
|
1653
|
+
contractorName: string | null;
|
|
1654
|
+
specialisedProfile: string | null;
|
|
1655
|
+
bidAs: "agency" | "freelancer" | null;
|
|
1656
|
+
}, {
|
|
1657
|
+
agencyName: string | null;
|
|
1658
|
+
bidderId: string | null;
|
|
1659
|
+
contractorName: string | null;
|
|
1660
|
+
specialisedProfile: string | null;
|
|
1661
|
+
bidAs: "agency" | "freelancer" | null;
|
|
1662
|
+
}>>>;
|
|
1663
|
+
coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1658
1664
|
coverLetterTemplatesIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1665
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1659
1666
|
coverLetterTemplate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1660
1667
|
id: z.ZodString;
|
|
1661
1668
|
name: z.ZodString;
|
|
@@ -1664,18 +1671,18 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1664
1671
|
instructions: z.ZodString;
|
|
1665
1672
|
status: z.ZodEnum<["active", "archived"]>;
|
|
1666
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1674
|
+
status: "active" | "archived";
|
|
1667
1675
|
id: string;
|
|
1668
1676
|
name: string;
|
|
1669
|
-
template: string;
|
|
1670
1677
|
description: string | null;
|
|
1671
|
-
|
|
1678
|
+
template: string;
|
|
1672
1679
|
instructions: string;
|
|
1673
1680
|
}, {
|
|
1681
|
+
status: "active" | "archived";
|
|
1674
1682
|
id: string;
|
|
1675
1683
|
name: string;
|
|
1676
|
-
template: string;
|
|
1677
1684
|
description: string | null;
|
|
1678
|
-
|
|
1685
|
+
template: string;
|
|
1679
1686
|
instructions: string;
|
|
1680
1687
|
}>>>;
|
|
1681
1688
|
organizationProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1708,16 +1715,16 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1708
1715
|
}>, "many">;
|
|
1709
1716
|
timezone: z.ZodNullable<z.ZodString>;
|
|
1710
1717
|
}, "strip", z.ZodTypeAny, {
|
|
1711
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1712
1718
|
enabled: boolean;
|
|
1719
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1713
1720
|
timeBlocks: {
|
|
1714
1721
|
fromHour: number;
|
|
1715
1722
|
toHour: number;
|
|
1716
1723
|
}[];
|
|
1717
1724
|
timezone: string | null;
|
|
1718
1725
|
}, {
|
|
1719
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1720
1726
|
enabled: boolean;
|
|
1727
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1721
1728
|
timeBlocks: {
|
|
1722
1729
|
fromHour: number;
|
|
1723
1730
|
toHour: number;
|
|
@@ -1725,42 +1732,38 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1725
1732
|
timezone: string | null;
|
|
1726
1733
|
}>>;
|
|
1727
1734
|
}, "strip", z.ZodTypeAny, {
|
|
1735
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
1728
1736
|
id?: string | undefined;
|
|
1729
|
-
priority?: number | null | undefined;
|
|
1730
1737
|
name?: string | undefined;
|
|
1731
|
-
status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
|
|
1732
|
-
coverLetterTemplateId?: string | null | undefined;
|
|
1733
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1734
|
-
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1735
|
-
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
|
|
1736
|
-
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1737
|
-
biddingFixedHourlyRate?: number | null | undefined;
|
|
1738
|
-
boostingEnabled?: boolean | null | undefined;
|
|
1739
|
-
boostDownToNthPlace?: number | null | undefined;
|
|
1740
|
-
connectsAbovePrevious?: number | null | undefined;
|
|
1741
|
-
maximumBoost?: number | null | undefined;
|
|
1742
|
-
minBoost?: number | null | undefined;
|
|
1743
|
-
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1744
|
-
alreadyHiredAction?: "bid" | "skip" | undefined;
|
|
1745
|
-
bidConfig?: {
|
|
1746
|
-
contractorName: string | null;
|
|
1747
|
-
agencyName: string | null;
|
|
1748
|
-
specialisedProfile: string | null;
|
|
1749
|
-
bidderId: string | null;
|
|
1750
|
-
bidAs: "agency" | "freelancer" | null;
|
|
1751
|
-
} | null | undefined;
|
|
1752
1738
|
filters?: {
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1739
|
+
keywords: {
|
|
1740
|
+
includes: string | null;
|
|
1741
|
+
excludes: string | null;
|
|
1742
|
+
} | null;
|
|
1743
|
+
searchQuery: string | null;
|
|
1744
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
1745
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
1746
|
+
categories: {
|
|
1747
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1748
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1749
|
+
} | null;
|
|
1750
|
+
payment: {
|
|
1751
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1752
|
+
minFixedPrice: number | null;
|
|
1753
|
+
maxFixedPrice: number | null;
|
|
1754
|
+
minHourlyRate: number | null;
|
|
1755
|
+
maxHourlyRate: number | null;
|
|
1756
1756
|
} | null;
|
|
1757
1757
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1758
1758
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1759
|
+
questions: {
|
|
1760
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1761
|
+
} | null;
|
|
1762
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1759
1763
|
clientInfo: {
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
enterpriseClient: "false" | "all" | "true";
|
|
1764
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
1765
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
1766
|
+
enterpriseClient: "all" | "true" | "false";
|
|
1764
1767
|
clientLocationIncludes: string[] | null;
|
|
1765
1768
|
clientLocationExcludes: string[] | null;
|
|
1766
1769
|
minReviewScore: number | null;
|
|
@@ -1770,6 +1773,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1770
1773
|
minHireRate: number | null;
|
|
1771
1774
|
maxHireRate: number | null;
|
|
1772
1775
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1776
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1773
1777
|
minJobsPosted: number | null;
|
|
1774
1778
|
minAvgHourlyRate: number | null;
|
|
1775
1779
|
maxAvgHourlyRate: number | null;
|
|
@@ -1777,56 +1781,60 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1777
1781
|
memberSinceFrom: string | null;
|
|
1778
1782
|
memberSinceTo: string | null;
|
|
1779
1783
|
} | null;
|
|
1784
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1785
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1786
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1787
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1780
1788
|
vendorQualifications: {
|
|
1781
|
-
includeRisingTalent: string | null;
|
|
1782
1789
|
locationIncludes: string[] | null;
|
|
1783
1790
|
locationExcludes: string[] | null;
|
|
1784
1791
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1785
1792
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1793
|
+
includeRisingTalent: string | null;
|
|
1786
1794
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1787
1795
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1788
1796
|
} | null;
|
|
1789
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
1790
|
-
keywords: {
|
|
1791
|
-
includes: string | null;
|
|
1792
|
-
excludes: string | null;
|
|
1793
|
-
} | null;
|
|
1794
|
-
searchQuery: string | null;
|
|
1795
|
-
categories: {
|
|
1796
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1797
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1798
|
-
} | null;
|
|
1799
|
-
payment: {
|
|
1800
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1801
|
-
minFixedPrice: number | null;
|
|
1802
|
-
maxFixedPrice: number | null;
|
|
1803
|
-
minHourlyRate: number | null;
|
|
1804
|
-
maxHourlyRate: number | null;
|
|
1805
|
-
} | null;
|
|
1806
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1807
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
1808
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1809
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1810
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1811
1797
|
} | undefined;
|
|
1812
1798
|
archivedAt?: number | null | undefined;
|
|
1813
1799
|
confirmedBillingAt?: number | null | undefined;
|
|
1800
|
+
boostingEnabled?: boolean | null | undefined;
|
|
1801
|
+
maximumBoost?: number | null | undefined;
|
|
1802
|
+
minBoost?: number | null | undefined;
|
|
1803
|
+
boostDownToNthPlace?: number | null | undefined;
|
|
1804
|
+
connectsAbovePrevious?: number | null | undefined;
|
|
1805
|
+
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1814
1806
|
monthlyBudget?: number | null | undefined;
|
|
1815
1807
|
boostingThreshold?: number | null | undefined;
|
|
1816
|
-
|
|
1808
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1809
|
+
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
|
|
1810
|
+
biddingFixedHourlyRate?: number | null | undefined;
|
|
1811
|
+
alreadyHiredAction?: "bid" | "skip" | undefined;
|
|
1812
|
+
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1813
|
+
biddingFixedPriceRate?: number | null | undefined;
|
|
1814
|
+
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1815
|
+
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null | undefined;
|
|
1817
1816
|
expenses?: {
|
|
1818
1817
|
biddingAmount: number;
|
|
1819
|
-
boosted: number;
|
|
1820
1818
|
boostingAmount: number;
|
|
1819
|
+
boosted: number;
|
|
1821
1820
|
} | undefined;
|
|
1822
1821
|
notificationsEnabled?: boolean | null | undefined;
|
|
1822
|
+
bidConfig?: {
|
|
1823
|
+
agencyName: string | null;
|
|
1824
|
+
bidderId: string | null;
|
|
1825
|
+
contractorName: string | null;
|
|
1826
|
+
specialisedProfile: string | null;
|
|
1827
|
+
bidAs: "agency" | "freelancer" | null;
|
|
1828
|
+
} | null | undefined;
|
|
1829
|
+
coverLetterTemplateId?: string | null | undefined;
|
|
1823
1830
|
coverLetterTemplatesIds?: string[] | null | undefined;
|
|
1831
|
+
priority?: number | null | undefined;
|
|
1824
1832
|
coverLetterTemplate?: {
|
|
1833
|
+
status: "active" | "archived";
|
|
1825
1834
|
id: string;
|
|
1826
1835
|
name: string;
|
|
1827
|
-
template: string;
|
|
1828
1836
|
description: string | null;
|
|
1829
|
-
|
|
1837
|
+
template: string;
|
|
1830
1838
|
instructions: string;
|
|
1831
1839
|
} | null | undefined;
|
|
1832
1840
|
organizationProfileId?: string | null | undefined;
|
|
@@ -1837,8 +1845,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1837
1845
|
windowAnchorAt: number | null;
|
|
1838
1846
|
} | undefined;
|
|
1839
1847
|
workTime?: {
|
|
1840
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1841
1848
|
enabled: boolean;
|
|
1849
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1842
1850
|
timeBlocks: {
|
|
1843
1851
|
fromHour: number;
|
|
1844
1852
|
toHour: number;
|
|
@@ -1846,39 +1854,35 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1846
1854
|
timezone: string | null;
|
|
1847
1855
|
} | undefined;
|
|
1848
1856
|
}, {
|
|
1857
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
1849
1858
|
id?: string | undefined;
|
|
1850
|
-
priority?: number | null | undefined;
|
|
1851
1859
|
name?: string | undefined;
|
|
1852
|
-
status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
|
|
1853
|
-
coverLetterTemplateId?: string | null | undefined;
|
|
1854
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1855
|
-
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1856
|
-
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
|
|
1857
|
-
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1858
|
-
biddingFixedHourlyRate?: number | null | undefined;
|
|
1859
|
-
boostingEnabled?: boolean | null | undefined;
|
|
1860
|
-
boostDownToNthPlace?: number | null | undefined;
|
|
1861
|
-
connectsAbovePrevious?: number | null | undefined;
|
|
1862
|
-
maximumBoost?: number | null | undefined;
|
|
1863
|
-
minBoost?: number | null | undefined;
|
|
1864
|
-
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1865
|
-
alreadyHiredAction?: "bid" | "skip" | undefined;
|
|
1866
|
-
bidConfig?: {
|
|
1867
|
-
contractorName: string | null;
|
|
1868
|
-
agencyName: string | null;
|
|
1869
|
-
specialisedProfile: string | null;
|
|
1870
|
-
bidderId: string | null;
|
|
1871
|
-
bidAs: "agency" | "freelancer" | null;
|
|
1872
|
-
} | null | undefined;
|
|
1873
1860
|
filters?: {
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1861
|
+
keywords: {
|
|
1862
|
+
includes: string | null;
|
|
1863
|
+
excludes: string | null;
|
|
1864
|
+
} | null;
|
|
1865
|
+
searchQuery: string | null;
|
|
1866
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
1867
|
+
regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
|
|
1868
|
+
categories: {
|
|
1869
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1870
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1871
|
+
} | null;
|
|
1872
|
+
payment: {
|
|
1873
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1874
|
+
minFixedPrice: number | null;
|
|
1875
|
+
maxFixedPrice: number | null;
|
|
1876
|
+
minHourlyRate: number | null;
|
|
1877
|
+
maxHourlyRate: number | null;
|
|
1877
1878
|
} | null;
|
|
1878
1879
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1879
1880
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1881
|
+
questions: {
|
|
1882
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1883
|
+
} | null;
|
|
1884
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1880
1885
|
clientInfo: {
|
|
1881
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1882
1886
|
clientLocationIncludes: string[] | null;
|
|
1883
1887
|
clientLocationExcludes: string[] | null;
|
|
1884
1888
|
minReviewScore: number | null;
|
|
@@ -1888,66 +1892,71 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1888
1892
|
minHireRate: number | null;
|
|
1889
1893
|
maxHireRate: number | null;
|
|
1890
1894
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
1895
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
1891
1896
|
minJobsPosted: number | null;
|
|
1892
1897
|
minAvgHourlyRate: number | null;
|
|
1893
1898
|
maxAvgHourlyRate: number | null;
|
|
1894
1899
|
minNumReviews: number | null;
|
|
1895
1900
|
memberSinceFrom: string | null;
|
|
1896
1901
|
memberSinceTo: string | null;
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
enterpriseClient?: "
|
|
1902
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
1903
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1904
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1900
1905
|
} | null;
|
|
1906
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1907
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1908
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1909
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1901
1910
|
vendorQualifications: {
|
|
1902
|
-
includeRisingTalent: string | null;
|
|
1903
1911
|
locationIncludes: string[] | null;
|
|
1904
1912
|
locationExcludes: string[] | null;
|
|
1905
1913
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
1906
1914
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1915
|
+
includeRisingTalent: string | null;
|
|
1907
1916
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1908
1917
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1909
1918
|
} | null;
|
|
1910
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
1911
|
-
keywords: {
|
|
1912
|
-
includes: string | null;
|
|
1913
|
-
excludes: string | null;
|
|
1914
|
-
} | null;
|
|
1915
|
-
searchQuery: string | null;
|
|
1916
|
-
categories: {
|
|
1917
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1918
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1919
|
-
} | null;
|
|
1920
|
-
payment: {
|
|
1921
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1922
|
-
minFixedPrice: number | null;
|
|
1923
|
-
maxFixedPrice: number | null;
|
|
1924
|
-
minHourlyRate: number | null;
|
|
1925
|
-
maxHourlyRate: number | null;
|
|
1926
|
-
} | null;
|
|
1927
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1928
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
1929
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1930
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1931
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1932
1919
|
} | undefined;
|
|
1933
1920
|
archivedAt?: number | null | undefined;
|
|
1934
1921
|
confirmedBillingAt?: number | null | undefined;
|
|
1922
|
+
boostingEnabled?: boolean | null | undefined;
|
|
1923
|
+
maximumBoost?: number | null | undefined;
|
|
1924
|
+
minBoost?: number | null | undefined;
|
|
1925
|
+
boostDownToNthPlace?: number | null | undefined;
|
|
1926
|
+
connectsAbovePrevious?: number | null | undefined;
|
|
1927
|
+
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
1935
1928
|
monthlyBudget?: number | null | undefined;
|
|
1936
1929
|
boostingThreshold?: number | null | undefined;
|
|
1937
|
-
|
|
1930
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1931
|
+
biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
|
|
1932
|
+
biddingFixedHourlyRate?: number | null | undefined;
|
|
1933
|
+
alreadyHiredAction?: "bid" | "skip" | undefined;
|
|
1934
|
+
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1935
|
+
biddingFixedPriceRate?: number | null | undefined;
|
|
1936
|
+
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1937
|
+
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null | undefined;
|
|
1938
1938
|
expenses?: {
|
|
1939
1939
|
biddingAmount?: number | undefined;
|
|
1940
|
-
boosted?: number | undefined;
|
|
1941
1940
|
boostingAmount?: number | undefined;
|
|
1941
|
+
boosted?: number | undefined;
|
|
1942
1942
|
} | undefined;
|
|
1943
1943
|
notificationsEnabled?: boolean | null | undefined;
|
|
1944
|
+
bidConfig?: {
|
|
1945
|
+
agencyName: string | null;
|
|
1946
|
+
bidderId: string | null;
|
|
1947
|
+
contractorName: string | null;
|
|
1948
|
+
specialisedProfile: string | null;
|
|
1949
|
+
bidAs: "agency" | "freelancer" | null;
|
|
1950
|
+
} | null | undefined;
|
|
1951
|
+
coverLetterTemplateId?: string | null | undefined;
|
|
1944
1952
|
coverLetterTemplatesIds?: string[] | null | undefined;
|
|
1953
|
+
priority?: number | null | undefined;
|
|
1945
1954
|
coverLetterTemplate?: {
|
|
1955
|
+
status: "active" | "archived";
|
|
1946
1956
|
id: string;
|
|
1947
1957
|
name: string;
|
|
1948
|
-
template: string;
|
|
1949
1958
|
description: string | null;
|
|
1950
|
-
|
|
1959
|
+
template: string;
|
|
1951
1960
|
instructions: string;
|
|
1952
1961
|
} | null | undefined;
|
|
1953
1962
|
organizationProfileId?: string | null | undefined;
|
|
@@ -1958,8 +1967,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1958
1967
|
windowAnchorAt: number | null;
|
|
1959
1968
|
} | undefined;
|
|
1960
1969
|
workTime?: {
|
|
1961
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1962
1970
|
enabled: boolean;
|
|
1971
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1963
1972
|
timeBlocks: {
|
|
1964
1973
|
fromHour: number;
|
|
1965
1974
|
toHour: number;
|