lancer-shared 1.2.36 → 1.2.38
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
CHANGED
|
@@ -80,7 +80,7 @@ const JOB_FILTER_OPTIONS = {
|
|
|
80
80
|
"Unspecified",
|
|
81
81
|
],
|
|
82
82
|
VENDOR_TYPE: ["Independent", "Agency", "Unspecified"],
|
|
83
|
-
PAYMENT_TYPE: ["
|
|
83
|
+
PAYMENT_TYPE: ["Unspecified", "Hourly", "Fixed-price"],
|
|
84
84
|
TALENT_TYPE: ["Agency", "Independent", "Unspecified"],
|
|
85
85
|
ENGLISH_LEVELS: [
|
|
86
86
|
"Fluent",
|
|
@@ -6540,6 +6540,7 @@ const ROUTES = {
|
|
|
6540
6540
|
SEND_NOTIFICATION: (organizationId, campaignId, leadId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/${leadId}/send-notification`,
|
|
6541
6541
|
SEND_TEST_NOTIFICATION: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/send-test-notification`,
|
|
6542
6542
|
SEARCH: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/search`,
|
|
6543
|
+
GENERATE_COUNTS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/generate-counts`,
|
|
6543
6544
|
},
|
|
6544
6545
|
ANALYTICS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/analytics`,
|
|
6545
6546
|
ACTIVITIES: {
|
|
@@ -11768,6 +11769,8 @@ const requiredEarningsEnum = z.union([
|
|
|
11768
11769
|
z.literal(10000),
|
|
11769
11770
|
]);
|
|
11770
11771
|
const requiredJSSEnum = z.enum(JOB_FILTER_OPTIONS.REQUIRED_JSS);
|
|
11772
|
+
const isPaymentVerifiedEnum = z.enum(["all", "true", "false"]);
|
|
11773
|
+
const isPhoneVerifiedEnum = z.enum(["all", "true", "false"]);
|
|
11771
11774
|
// Main job filters schema
|
|
11772
11775
|
const jobFiltersSchema = z.object({
|
|
11773
11776
|
keywords: z
|
|
@@ -11803,8 +11806,8 @@ const jobFiltersSchema = z.object({
|
|
|
11803
11806
|
engagementType: z.array(engagementTypeEnum).nullable(),
|
|
11804
11807
|
clientInfo: z
|
|
11805
11808
|
.object({
|
|
11806
|
-
isPaymentVerified:
|
|
11807
|
-
isPhoneVerified:
|
|
11809
|
+
isPaymentVerified: isPaymentVerifiedEnum.default("all"),
|
|
11810
|
+
isPhoneVerified: isPhoneVerifiedEnum.default("all"),
|
|
11808
11811
|
enterpriseClient: z.enum(["all", "true", "false"]).default("all"),
|
|
11809
11812
|
clientLocationIncludes: z.array(z.string()).nullable(),
|
|
11810
11813
|
clientLocationExcludes: z.array(z.string()).nullable(),
|
|
@@ -12084,6 +12087,10 @@ const findLeadsResponseSchema = z.object({
|
|
|
12084
12087
|
lastMonthTotal: z.number().optional(),
|
|
12085
12088
|
error: z.string().optional(),
|
|
12086
12089
|
});
|
|
12090
|
+
const generateLeadCountsRequestSchema = z.object({
|
|
12091
|
+
filters: z.custom().optional(),
|
|
12092
|
+
campaignId: z.string().optional(),
|
|
12093
|
+
});
|
|
12087
12094
|
|
|
12088
12095
|
const LogEventTypeEnum = z.enum([
|
|
12089
12096
|
// Scraper Events
|
|
@@ -12790,7 +12797,7 @@ const campaignSchema = z.object({
|
|
|
12790
12797
|
minimumBoost: z.number().nullable().default(0),
|
|
12791
12798
|
webhookUrl: z.string().nullable(),
|
|
12792
12799
|
monthlyBudget: z.number().nullable(),
|
|
12793
|
-
suitabilityThreshold: z.number().min(0).max(100).nullable().default(0),
|
|
12800
|
+
// suitabilityThreshold: z.number().min(0).max(100).nullable().default(0),
|
|
12794
12801
|
boostingThreshold: z.number().min(0).max(100).nullable().default(0),
|
|
12795
12802
|
leadCounts: z.record(leadStatusSchema, z.number()).nullable(),
|
|
12796
12803
|
expenses: campaignExpensesSchema,
|
|
@@ -13715,6 +13722,7 @@ exports.findLeadsResponseSchema = findLeadsResponseSchema;
|
|
|
13715
13722
|
exports.formatCurrency = formatCurrency;
|
|
13716
13723
|
exports.freelancerBidPayloadSchema = freelancerBidPayloadSchema;
|
|
13717
13724
|
exports.freelancerBidProposalDataSchema = freelancerBidProposalDataSchema;
|
|
13725
|
+
exports.generateLeadCountsRequestSchema = generateLeadCountsRequestSchema;
|
|
13718
13726
|
exports.generateSlug = generateSlug;
|
|
13719
13727
|
exports.getMultiloginBrowserException = getMultiloginBrowserException;
|
|
13720
13728
|
exports.getNextStatus = getNextStatus;
|
|
@@ -13734,6 +13742,8 @@ exports.invoiceStatusNames = invoiceStatusNames;
|
|
|
13734
13742
|
exports.invoiceStripeMetadataLineSchema = invoiceStripeMetadataLineSchema;
|
|
13735
13743
|
exports.invoiceStripeMetadataSchema = invoiceStripeMetadataSchema;
|
|
13736
13744
|
exports.isNumeric = isNumeric;
|
|
13745
|
+
exports.isPaymentVerifiedEnum = isPaymentVerifiedEnum;
|
|
13746
|
+
exports.isPhoneVerifiedEnum = isPhoneVerifiedEnum;
|
|
13737
13747
|
exports.jobActivityDeltaSchema = jobActivityDeltaSchema;
|
|
13738
13748
|
exports.jobActivityOffsetEnum = jobActivityOffsetEnum;
|
|
13739
13749
|
exports.jobActivityOffsetHourSchema = jobActivityOffsetHourSchema;
|
|
@@ -3,7 +3,7 @@ export declare const JOB_FILTER_OPTIONS: {
|
|
|
3
3
|
PROJECT_DURATION: readonly ["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"];
|
|
4
4
|
ENGAGEMENT_TYPE: readonly ["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"];
|
|
5
5
|
VENDOR_TYPE: readonly ["Independent", "Agency", "Unspecified"];
|
|
6
|
-
PAYMENT_TYPE: readonly ["
|
|
6
|
+
PAYMENT_TYPE: readonly ["Unspecified", "Hourly", "Fixed-price"];
|
|
7
7
|
TALENT_TYPE: readonly ["Agency", "Independent", "Unspecified"];
|
|
8
8
|
ENGLISH_LEVELS: readonly ["Fluent", "Conversational", "Native or Bilingual", "Unspecified"];
|
|
9
9
|
EXPERIENCE_LEVELS: readonly ["Entry level", "Intermediate", "Expert"];
|
|
@@ -124,6 +124,7 @@ export declare const ROUTES: {
|
|
|
124
124
|
readonly SEND_NOTIFICATION: (organizationId: string, campaignId: string, leadId: string) => string;
|
|
125
125
|
readonly SEND_TEST_NOTIFICATION: (organizationId: string, campaignId: string) => string;
|
|
126
126
|
readonly SEARCH: (organizationId: string, campaignId: string) => string;
|
|
127
|
+
readonly GENERATE_COUNTS: (organizationId: string, campaignId: string) => string;
|
|
127
128
|
};
|
|
128
129
|
readonly ANALYTICS: (organizationId: string, campaignId: string) => string;
|
|
129
130
|
readonly ACTIVITIES: {
|
|
@@ -47,19 +47,19 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
47
47
|
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")[] | null;
|
|
48
48
|
}>>;
|
|
49
49
|
payment: z.ZodNullable<z.ZodObject<{
|
|
50
|
-
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["
|
|
50
|
+
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
|
|
51
51
|
minFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
52
52
|
maxFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
53
53
|
minHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
54
54
|
maxHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
paymentType: ("Unspecified" | "
|
|
56
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
57
57
|
minFixedPrice: number | null;
|
|
58
58
|
maxFixedPrice: number | null;
|
|
59
59
|
minHourlyRate: number | null;
|
|
60
60
|
maxHourlyRate: number | null;
|
|
61
61
|
}, {
|
|
62
|
-
paymentType: ("Unspecified" | "
|
|
62
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
63
63
|
minFixedPrice: number | null;
|
|
64
64
|
maxFixedPrice: number | null;
|
|
65
65
|
minHourlyRate: number | null;
|
|
@@ -161,7 +161,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
161
161
|
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")[] | null;
|
|
162
162
|
} | null;
|
|
163
163
|
payment: {
|
|
164
|
-
paymentType: ("Unspecified" | "
|
|
164
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
165
165
|
minFixedPrice: number | null;
|
|
166
166
|
maxFixedPrice: number | null;
|
|
167
167
|
minHourlyRate: number | null;
|
|
@@ -211,7 +211,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
211
211
|
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")[] | null;
|
|
212
212
|
} | null;
|
|
213
213
|
payment: {
|
|
214
|
-
paymentType: ("Unspecified" | "
|
|
214
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
215
215
|
minFixedPrice: number | null;
|
|
216
216
|
maxFixedPrice: number | null;
|
|
217
217
|
minHourlyRate: number | null;
|
|
@@ -260,7 +260,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
260
260
|
minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
261
261
|
webhookUrl: z.ZodNullable<z.ZodString>;
|
|
262
262
|
monthlyBudget: z.ZodNullable<z.ZodNumber>;
|
|
263
|
-
suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
264
263
|
boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
265
264
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
|
|
266
265
|
expenses: z.ZodObject<{
|
|
@@ -310,7 +309,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
310
309
|
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")[] | null;
|
|
311
310
|
} | null;
|
|
312
311
|
payment: {
|
|
313
|
-
paymentType: ("Unspecified" | "
|
|
312
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
314
313
|
minFixedPrice: number | null;
|
|
315
314
|
maxFixedPrice: number | null;
|
|
316
315
|
minHourlyRate: number | null;
|
|
@@ -359,7 +358,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
359
358
|
minimumBoost: number | null;
|
|
360
359
|
webhookUrl: string | null;
|
|
361
360
|
monthlyBudget: number | null;
|
|
362
|
-
suitabilityThreshold: number | null;
|
|
363
361
|
boostingThreshold: number | null;
|
|
364
362
|
leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
|
|
365
363
|
expenses: {
|
|
@@ -391,7 +389,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
391
389
|
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")[] | null;
|
|
392
390
|
} | null;
|
|
393
391
|
payment: {
|
|
394
|
-
paymentType: ("Unspecified" | "
|
|
392
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
395
393
|
minFixedPrice: number | null;
|
|
396
394
|
maxFixedPrice: number | null;
|
|
397
395
|
minHourlyRate: number | null;
|
|
@@ -455,7 +453,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
455
453
|
boostingEnabled?: boolean | null | undefined;
|
|
456
454
|
maximumBoost?: number | null | undefined;
|
|
457
455
|
minimumBoost?: number | null | undefined;
|
|
458
|
-
suitabilityThreshold?: number | null | undefined;
|
|
459
456
|
boostingThreshold?: number | null | undefined;
|
|
460
457
|
}>;
|
|
461
458
|
export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
@@ -485,19 +482,19 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
485
482
|
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")[] | null;
|
|
486
483
|
}>>;
|
|
487
484
|
payment: z.ZodNullable<z.ZodObject<{
|
|
488
|
-
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["
|
|
485
|
+
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
|
|
489
486
|
minFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
490
487
|
maxFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
491
488
|
minHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
492
489
|
maxHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
493
490
|
}, "strip", z.ZodTypeAny, {
|
|
494
|
-
paymentType: ("Unspecified" | "
|
|
491
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
495
492
|
minFixedPrice: number | null;
|
|
496
493
|
maxFixedPrice: number | null;
|
|
497
494
|
minHourlyRate: number | null;
|
|
498
495
|
maxHourlyRate: number | null;
|
|
499
496
|
}, {
|
|
500
|
-
paymentType: ("Unspecified" | "
|
|
497
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
501
498
|
minFixedPrice: number | null;
|
|
502
499
|
maxFixedPrice: number | null;
|
|
503
500
|
minHourlyRate: number | null;
|
|
@@ -599,7 +596,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
599
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")[] | null;
|
|
600
597
|
} | null;
|
|
601
598
|
payment: {
|
|
602
|
-
paymentType: ("Unspecified" | "
|
|
599
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
603
600
|
minFixedPrice: number | null;
|
|
604
601
|
maxFixedPrice: number | null;
|
|
605
602
|
minHourlyRate: number | null;
|
|
@@ -649,7 +646,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
649
646
|
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")[] | null;
|
|
650
647
|
} | null;
|
|
651
648
|
payment: {
|
|
652
|
-
paymentType: ("Unspecified" | "
|
|
649
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
653
650
|
minFixedPrice: number | null;
|
|
654
651
|
maxFixedPrice: number | null;
|
|
655
652
|
minHourlyRate: number | null;
|
|
@@ -698,7 +695,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
698
695
|
minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
699
696
|
webhookUrl: z.ZodNullable<z.ZodString>;
|
|
700
697
|
monthlyBudget: z.ZodNullable<z.ZodNumber>;
|
|
701
|
-
suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
702
698
|
boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
703
699
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
|
|
704
700
|
expenses: z.ZodObject<{
|
|
@@ -747,7 +743,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
747
743
|
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")[] | null;
|
|
748
744
|
} | null;
|
|
749
745
|
payment: {
|
|
750
|
-
paymentType: ("Unspecified" | "
|
|
746
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
751
747
|
minFixedPrice: number | null;
|
|
752
748
|
maxFixedPrice: number | null;
|
|
753
749
|
minHourlyRate: number | null;
|
|
@@ -794,7 +790,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
794
790
|
minimumBoost: number | null;
|
|
795
791
|
webhookUrl: string | null;
|
|
796
792
|
monthlyBudget: number | null;
|
|
797
|
-
suitabilityThreshold: number | null;
|
|
798
793
|
boostingThreshold: number | null;
|
|
799
794
|
leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
|
|
800
795
|
expenses: {
|
|
@@ -825,7 +820,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
825
820
|
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")[] | null;
|
|
826
821
|
} | null;
|
|
827
822
|
payment: {
|
|
828
|
-
paymentType: ("Unspecified" | "
|
|
823
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
829
824
|
minFixedPrice: number | null;
|
|
830
825
|
maxFixedPrice: number | null;
|
|
831
826
|
minHourlyRate: number | null;
|
|
@@ -887,7 +882,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
887
882
|
boostingEnabled?: boolean | null | undefined;
|
|
888
883
|
maximumBoost?: number | null | undefined;
|
|
889
884
|
minimumBoost?: number | null | undefined;
|
|
890
|
-
suitabilityThreshold?: number | null | undefined;
|
|
891
885
|
boostingThreshold?: number | null | undefined;
|
|
892
886
|
}>;
|
|
893
887
|
export declare const updateCampaignSchema: z.ZodObject<{
|
|
@@ -918,19 +912,19 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
918
912
|
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")[] | null;
|
|
919
913
|
}>>;
|
|
920
914
|
payment: z.ZodNullable<z.ZodObject<{
|
|
921
|
-
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["
|
|
915
|
+
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
|
|
922
916
|
minFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
923
917
|
maxFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
924
918
|
minHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
925
919
|
maxHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
926
920
|
}, "strip", z.ZodTypeAny, {
|
|
927
|
-
paymentType: ("Unspecified" | "
|
|
921
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
928
922
|
minFixedPrice: number | null;
|
|
929
923
|
maxFixedPrice: number | null;
|
|
930
924
|
minHourlyRate: number | null;
|
|
931
925
|
maxHourlyRate: number | null;
|
|
932
926
|
}, {
|
|
933
|
-
paymentType: ("Unspecified" | "
|
|
927
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
934
928
|
minFixedPrice: number | null;
|
|
935
929
|
maxFixedPrice: number | null;
|
|
936
930
|
minHourlyRate: number | null;
|
|
@@ -1032,7 +1026,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1032
1026
|
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")[] | null;
|
|
1033
1027
|
} | null;
|
|
1034
1028
|
payment: {
|
|
1035
|
-
paymentType: ("Unspecified" | "
|
|
1029
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1036
1030
|
minFixedPrice: number | null;
|
|
1037
1031
|
maxFixedPrice: number | null;
|
|
1038
1032
|
minHourlyRate: number | null;
|
|
@@ -1082,7 +1076,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1082
1076
|
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")[] | null;
|
|
1083
1077
|
} | null;
|
|
1084
1078
|
payment: {
|
|
1085
|
-
paymentType: ("Unspecified" | "
|
|
1079
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1086
1080
|
minFixedPrice: number | null;
|
|
1087
1081
|
maxFixedPrice: number | null;
|
|
1088
1082
|
minHourlyRate: number | null;
|
|
@@ -1129,7 +1123,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1129
1123
|
minimumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1130
1124
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1131
1125
|
monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1132
|
-
suitabilityThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1133
1126
|
boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1134
1127
|
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>>;
|
|
1135
1128
|
expenses: z.ZodOptional<z.ZodObject<{
|
|
@@ -1179,7 +1172,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1179
1172
|
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")[] | null;
|
|
1180
1173
|
} | null;
|
|
1181
1174
|
payment: {
|
|
1182
|
-
paymentType: ("Unspecified" | "
|
|
1175
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1183
1176
|
minFixedPrice: number | null;
|
|
1184
1177
|
maxFixedPrice: number | null;
|
|
1185
1178
|
minHourlyRate: number | null;
|
|
@@ -1226,7 +1219,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1226
1219
|
minimumBoost?: number | null | undefined;
|
|
1227
1220
|
webhookUrl?: string | null | undefined;
|
|
1228
1221
|
monthlyBudget?: number | null | undefined;
|
|
1229
|
-
suitabilityThreshold?: number | null | undefined;
|
|
1230
1222
|
boostingThreshold?: number | null | undefined;
|
|
1231
1223
|
leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null | undefined;
|
|
1232
1224
|
expenses?: {
|
|
@@ -1258,7 +1250,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1258
1250
|
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")[] | null;
|
|
1259
1251
|
} | null;
|
|
1260
1252
|
payment: {
|
|
1261
|
-
paymentType: ("Unspecified" | "
|
|
1253
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1262
1254
|
minFixedPrice: number | null;
|
|
1263
1255
|
maxFixedPrice: number | null;
|
|
1264
1256
|
minHourlyRate: number | null;
|
|
@@ -1305,7 +1297,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1305
1297
|
minimumBoost?: number | null | undefined;
|
|
1306
1298
|
webhookUrl?: string | null | undefined;
|
|
1307
1299
|
monthlyBudget?: number | null | undefined;
|
|
1308
|
-
suitabilityThreshold?: number | null | undefined;
|
|
1309
1300
|
boostingThreshold?: number | null | undefined;
|
|
1310
1301
|
leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null | undefined;
|
|
1311
1302
|
expenses?: {
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const projectDurationEnum: z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>;
|
|
3
3
|
export declare const engagementTypeEnum: z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>;
|
|
4
4
|
export declare const vendorTypeEnum: z.ZodEnum<["Independent", "Agency", "Unspecified"]>;
|
|
5
|
-
export declare const paymentTypeEnum: z.ZodEnum<["
|
|
5
|
+
export declare const paymentTypeEnum: z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>;
|
|
6
6
|
export declare const categoryEnum: z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "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", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>;
|
|
7
7
|
export declare const clientIndustryEnum: z.ZodEnum<["Aerospace", "Agriculture & Forestry", "Art & Design", "Automotive", "Aviation", "Education", "Energy & Utilities", "Engineering & Architecture", "Fashion & Beauty", "Finance & Accounting", "Food & Beverage", "Government & Public Sector", "Health & Fitness", "HR & Business Services", "Legal", "Manufacturing & Construction", "Media & Entertainment", "Military & Defense", "Mining", "Real Estate", "Retail & Consumer Goods", "Sales & Marketing", "Science & Medicine", "Sports & Recreation", "Supply Chain & Logistics", "Tech & IT", "Transportation & Warehousing", "Travel & Hospitality"]>;
|
|
8
8
|
export declare const clientSizeEnum: z.ZodEnum<["Individual client", "Small company (2-9 people)", "Mid-sized company (10-99 people)", "Large company (100-1,000 people)", "Large company (1,000+ people)", "Unspecified"]>;
|
|
@@ -12,6 +12,8 @@ export declare const experienceLevelEnum: z.ZodEnum<["Entry level", "Intermediat
|
|
|
12
12
|
export declare const regionEnum: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
|
|
13
13
|
export declare const requiredEarningsEnum: z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>;
|
|
14
14
|
export declare const requiredJSSEnum: z.ZodEnum<[">80%", ">90%", "100%", "RT"]>;
|
|
15
|
+
export declare const isPaymentVerifiedEnum: z.ZodEnum<["all", "true", "false"]>;
|
|
16
|
+
export declare const isPhoneVerifiedEnum: z.ZodEnum<["all", "true", "false"]>;
|
|
15
17
|
export declare const jobFiltersSchema: z.ZodObject<{
|
|
16
18
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
17
19
|
includes: z.ZodNullable<z.ZodString>;
|
|
@@ -36,19 +38,19 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
36
38
|
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")[] | null;
|
|
37
39
|
}>>;
|
|
38
40
|
payment: z.ZodNullable<z.ZodObject<{
|
|
39
|
-
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["
|
|
41
|
+
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
|
|
40
42
|
minFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
41
43
|
maxFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
42
44
|
minHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
43
45
|
maxHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
44
46
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
paymentType: ("Unspecified" | "
|
|
47
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
46
48
|
minFixedPrice: number | null;
|
|
47
49
|
maxFixedPrice: number | null;
|
|
48
50
|
minHourlyRate: number | null;
|
|
49
51
|
maxHourlyRate: number | null;
|
|
50
52
|
}, {
|
|
51
|
-
paymentType: ("Unspecified" | "
|
|
53
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
52
54
|
minFixedPrice: number | null;
|
|
53
55
|
maxFixedPrice: number | null;
|
|
54
56
|
minHourlyRate: number | null;
|
|
@@ -150,7 +152,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
150
152
|
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")[] | null;
|
|
151
153
|
} | null;
|
|
152
154
|
payment: {
|
|
153
|
-
paymentType: ("Unspecified" | "
|
|
155
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
154
156
|
minFixedPrice: number | null;
|
|
155
157
|
maxFixedPrice: number | null;
|
|
156
158
|
minHourlyRate: number | null;
|
|
@@ -200,7 +202,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
200
202
|
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")[] | null;
|
|
201
203
|
} | null;
|
|
202
204
|
payment: {
|
|
203
|
-
paymentType: ("Unspecified" | "
|
|
205
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
204
206
|
minFixedPrice: number | null;
|
|
205
207
|
maxFixedPrice: number | null;
|
|
206
208
|
minHourlyRate: number | null;
|
|
@@ -241,3 +243,13 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
241
243
|
}>;
|
|
242
244
|
export interface JobFilters extends z.infer<typeof jobFiltersSchema> {
|
|
243
245
|
}
|
|
246
|
+
export type PaymentType = z.infer<typeof paymentTypeEnum>;
|
|
247
|
+
export type ExperienceLevel = z.infer<typeof experienceLevelEnum>;
|
|
248
|
+
export type IsPaymentVerified = z.infer<typeof isPaymentVerifiedEnum>;
|
|
249
|
+
export type IsPhoneVerified = z.infer<typeof isPaymentVerifiedEnum>;
|
|
250
|
+
export interface Counts {
|
|
251
|
+
experienceLevel: Record<ExperienceLevel, number>;
|
|
252
|
+
paymentType: Record<PaymentType, number>;
|
|
253
|
+
paymentVerified: Record<IsPaymentVerified, number>;
|
|
254
|
+
phoneVerified: Record<IsPhoneVerified, number>;
|
|
255
|
+
}
|
|
@@ -3047,6 +3047,16 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3047
3047
|
lastMonthTotal?: number | undefined;
|
|
3048
3048
|
error?: string | undefined;
|
|
3049
3049
|
}>;
|
|
3050
|
+
export declare const generateLeadCountsRequestSchema: z.ZodObject<{
|
|
3051
|
+
filters: z.ZodOptional<z.ZodType<JobFilters, z.ZodTypeDef, JobFilters>>;
|
|
3052
|
+
campaignId: z.ZodOptional<z.ZodString>;
|
|
3053
|
+
}, "strip", z.ZodTypeAny, {
|
|
3054
|
+
filters?: JobFilters | undefined;
|
|
3055
|
+
campaignId?: string | undefined;
|
|
3056
|
+
}, {
|
|
3057
|
+
filters?: JobFilters | undefined;
|
|
3058
|
+
campaignId?: string | undefined;
|
|
3059
|
+
}>;
|
|
3050
3060
|
export interface QuestionAnswerPair extends z.infer<typeof questionAnswerPairSchema> {
|
|
3051
3061
|
}
|
|
3052
3062
|
export interface Lead extends z.infer<typeof leadSchema> {
|
|
@@ -3063,4 +3073,5 @@ export interface LeadResponse extends z.infer<typeof leadResponseSchema> {
|
|
|
3063
3073
|
}
|
|
3064
3074
|
export type FindLeadsRequest = z.infer<typeof findLeadsRequestSchema>;
|
|
3065
3075
|
export type FindLeadsResponse = z.infer<typeof findLeadsResponseSchema>;
|
|
3076
|
+
export type GenerateLeadCountsRequest = z.infer<typeof generateLeadCountsRequestSchema>;
|
|
3066
3077
|
export * from "./lead-status";
|