lancer-shared 1.2.260 → 1.2.262
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 +141 -35
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +138 -36
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +165 -18
- package/dist/schemas/agent/proposal.d.ts +1 -1
- package/dist/schemas/bidder/bid.d.ts +1680 -304
- package/dist/schemas/campaign/campaign-analytics.d.ts +614 -38
- package/dist/schemas/campaign/campaign-search.d.ts +3 -5
- package/dist/schemas/campaign/campaign.d.ts +127 -127
- package/dist/schemas/lead/index.d.ts +675 -72
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +31 -17
- package/dist/schemas/organization/index.d.ts +1 -0
- package/dist/schemas/organization/organization-leads.d.ts +23 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +233 -89
- package/package.json +1 -1
package/dist/bundle.esm.js
CHANGED
|
@@ -6725,6 +6725,7 @@ const leadStatusEnum = z.enum([
|
|
|
6725
6725
|
'alreadyBiddedOn',
|
|
6726
6726
|
'viewed',
|
|
6727
6727
|
'replied',
|
|
6728
|
+
'biddingProcessing',
|
|
6728
6729
|
'won',
|
|
6729
6730
|
]);
|
|
6730
6731
|
const updateLeadStatusSchema = z.object({
|
|
@@ -6745,6 +6746,29 @@ const questionAnswerPairSchema = z.object({
|
|
|
6745
6746
|
question: z.string(),
|
|
6746
6747
|
answer: z.string(),
|
|
6747
6748
|
});
|
|
6749
|
+
const leadBiddingConfigSchema = z.object({
|
|
6750
|
+
appliedFromQueue: z.boolean().nullable(),
|
|
6751
|
+
biddingDelayInMinutes: z.number().nullable(),
|
|
6752
|
+
bidWithWarning: z.enum(['bid', 'skip']),
|
|
6753
|
+
biddingHourlyRateStrategy: z.enum([
|
|
6754
|
+
'match_job_budget',
|
|
6755
|
+
'match_profile_rate',
|
|
6756
|
+
'fixed_rate',
|
|
6757
|
+
]),
|
|
6758
|
+
biddingHourlyRatePercentage: z.number().nullable(),
|
|
6759
|
+
biddingFixedHourlyRate: z.number().nullable(),
|
|
6760
|
+
boostingEnabled: z.boolean().nullable(),
|
|
6761
|
+
boostDownToNthPlace: z.number().nullable(),
|
|
6762
|
+
connectsAbovePrevious: z.number().nullable(),
|
|
6763
|
+
maximumBoost: z.number().nullable(),
|
|
6764
|
+
minBoost: z.number().nullable(),
|
|
6765
|
+
insufficeintBoostConnectsAction: z.enum(['skip', 'bid_without_boost']),
|
|
6766
|
+
bidConfig: z.object({
|
|
6767
|
+
agencyName: z.string().nullable(),
|
|
6768
|
+
contractorName: z.string().nullable(),
|
|
6769
|
+
specialisedProfile: z.string().nullable(),
|
|
6770
|
+
}),
|
|
6771
|
+
});
|
|
6748
6772
|
const leadSchema = upworkJobSchema
|
|
6749
6773
|
.extend({
|
|
6750
6774
|
jobId: stringType(),
|
|
@@ -6768,12 +6792,14 @@ const leadSchema = upworkJobSchema
|
|
|
6768
6792
|
biddingTaskScheduled: booleanType().nullable(),
|
|
6769
6793
|
scheduledBiddingTime: numberType().nullable(),
|
|
6770
6794
|
inQueue: booleanType().nullable(),
|
|
6795
|
+
biddingDelayInMinutes: numberType().nullable(),
|
|
6796
|
+
checkFeedbackStatusCreatedAt: numberType().nullable(),
|
|
6771
6797
|
wonAmount: numberType().optional(),
|
|
6772
6798
|
feedbackCheckTaskId: stringType().nullable(),
|
|
6773
6799
|
bidDecision: z.enum(['proceeded', 'rejected']).nullable(),
|
|
6774
6800
|
rejectedFeedback: stringType().nullable(),
|
|
6775
6801
|
applicationId: stringType().nullable(),
|
|
6776
|
-
|
|
6802
|
+
leadBiddingConfig: leadBiddingConfigSchema.nullable(),
|
|
6777
6803
|
})
|
|
6778
6804
|
.omit({
|
|
6779
6805
|
processed: true,
|
|
@@ -6812,6 +6838,7 @@ const getCampaignLeadsRequestQuerySchema = z.object({
|
|
|
6812
6838
|
limit: z.number().default(20).optional(),
|
|
6813
6839
|
status: getCampaignLeadsStatusEnum.optional(),
|
|
6814
6840
|
campaignId: z.string().optional(),
|
|
6841
|
+
inQueue: z.boolean().optional(),
|
|
6815
6842
|
});
|
|
6816
6843
|
const getCampaignLeadsResponseSchema = z.object({
|
|
6817
6844
|
data: z.array(leadSchema),
|
|
@@ -6851,6 +6878,7 @@ const agentGenerateProposalRequestSchema = z.object({
|
|
|
6851
6878
|
userId: z.string().nullable(),
|
|
6852
6879
|
organizationId: z.string(),
|
|
6853
6880
|
campaignId: z.string(),
|
|
6881
|
+
coverLetterTemplateId: z.string().optional(),
|
|
6854
6882
|
job: z.object({
|
|
6855
6883
|
leadId: z.string(),
|
|
6856
6884
|
jobId: z.string(),
|
|
@@ -6996,6 +7024,21 @@ const onboardingProgressSchema = z.object({
|
|
|
6996
7024
|
startCampaign: z.boolean(),
|
|
6997
7025
|
});
|
|
6998
7026
|
|
|
7027
|
+
const getOrganizationLeadsStatusEnum = z.enum([
|
|
7028
|
+
'all',
|
|
7029
|
+
'suitable',
|
|
7030
|
+
'contacted',
|
|
7031
|
+
'viewed',
|
|
7032
|
+
'replied',
|
|
7033
|
+
]);
|
|
7034
|
+
const getOrganizationLeadsRequestQuerySchema = z.object({
|
|
7035
|
+
cursor: z.string().optional(),
|
|
7036
|
+
limit: z.number().default(20).optional(),
|
|
7037
|
+
status: getOrganizationLeadsStatusEnum.optional(),
|
|
7038
|
+
campaignId: z.string().optional(),
|
|
7039
|
+
inQueue: z.boolean().optional(),
|
|
7040
|
+
});
|
|
7041
|
+
|
|
6999
7042
|
const organizationTypeSchema = z.enum(['agency', 'freelancer']);
|
|
7000
7043
|
const organizationTierEnum = z.enum(['free', 'premium']);
|
|
7001
7044
|
const limitsSchema = objectType({
|
|
@@ -7355,6 +7398,7 @@ const updateCampaignAnalyticsSchema = z.object({
|
|
|
7355
7398
|
'suitableJobs',
|
|
7356
7399
|
'unsuitableJobs',
|
|
7357
7400
|
'wonAmount',
|
|
7401
|
+
'biddingProcessing',
|
|
7358
7402
|
])),
|
|
7359
7403
|
});
|
|
7360
7404
|
|
|
@@ -7483,7 +7527,8 @@ const SearchFieldsSchema = z.object({
|
|
|
7483
7527
|
anyWords: z.string().default(''),
|
|
7484
7528
|
noneWords: z.string().default(''),
|
|
7485
7529
|
exactPhrase: z.string().default(''),
|
|
7486
|
-
titleSearch: z.string().default(''),
|
|
7530
|
+
titleSearch: z.string().default(''), // AND logic for titles
|
|
7531
|
+
titleAny: z.string().default(''), // OR logic for titles
|
|
7487
7532
|
skillsSearch: z.string().default(''),
|
|
7488
7533
|
});
|
|
7489
7534
|
class SearchQueryBuilder {
|
|
@@ -7524,17 +7569,15 @@ class SearchQueryBuilder {
|
|
|
7524
7569
|
if (validatedFields.exactPhrase.trim()) {
|
|
7525
7570
|
parts.push(`"${validatedFields.exactPhrase.trim()}"`);
|
|
7526
7571
|
}
|
|
7527
|
-
//
|
|
7572
|
+
// Title searches with proper AND/OR logic
|
|
7528
7573
|
if (validatedFields.titleSearch.trim()) {
|
|
7529
7574
|
const titleTerms = this.splitTerms(validatedFields.titleSearch);
|
|
7530
7575
|
if (titleTerms.length === 1) {
|
|
7531
|
-
// Single term or phrase
|
|
7532
7576
|
const term = titleTerms[0];
|
|
7533
7577
|
const isQuoted = term.startsWith('"') && term.endsWith('"');
|
|
7534
7578
|
parts.push(isQuoted ? `title:${term}` : `title:"${term}"`);
|
|
7535
7579
|
}
|
|
7536
7580
|
else {
|
|
7537
|
-
// Multiple terms - each gets title: prefix
|
|
7538
7581
|
const titleParts = titleTerms.map((term) => {
|
|
7539
7582
|
const isQuoted = term.startsWith('"') && term.endsWith('"');
|
|
7540
7583
|
return isQuoted ? `title:${term}` : `title:"${term}"`;
|
|
@@ -7542,6 +7585,21 @@ class SearchQueryBuilder {
|
|
|
7542
7585
|
parts.push(`(${titleParts.join(' AND ')})`);
|
|
7543
7586
|
}
|
|
7544
7587
|
}
|
|
7588
|
+
if (validatedFields.titleAny.trim()) {
|
|
7589
|
+
const titleTerms = this.splitTerms(validatedFields.titleAny);
|
|
7590
|
+
if (titleTerms.length === 1) {
|
|
7591
|
+
const term = titleTerms[0];
|
|
7592
|
+
const isQuoted = term.startsWith('"') && term.endsWith('"');
|
|
7593
|
+
parts.push(isQuoted ? `title:${term}` : `title:"${term}"`);
|
|
7594
|
+
}
|
|
7595
|
+
else {
|
|
7596
|
+
const titleParts = titleTerms.map((term) => {
|
|
7597
|
+
const isQuoted = term.startsWith('"') && term.endsWith('"');
|
|
7598
|
+
return isQuoted ? `title:${term}` : `title:"${term}"`;
|
|
7599
|
+
});
|
|
7600
|
+
parts.push(`(${titleParts.join(' OR ')})`);
|
|
7601
|
+
}
|
|
7602
|
+
}
|
|
7545
7603
|
if (validatedFields.skillsSearch.trim()) {
|
|
7546
7604
|
const skillsTerms = this.splitTerms(validatedFields.skillsSearch);
|
|
7547
7605
|
if (skillsTerms.length === 1) {
|
|
@@ -7574,7 +7632,9 @@ class SearchQueryBuilder {
|
|
|
7574
7632
|
if (validatedFields.exactPhrase)
|
|
7575
7633
|
descriptions.push(`Exact phrase: "${validatedFields.exactPhrase}"`);
|
|
7576
7634
|
if (validatedFields.titleSearch)
|
|
7577
|
-
descriptions.push(`
|
|
7635
|
+
descriptions.push(`Title (all): ${validatedFields.titleSearch}`);
|
|
7636
|
+
if (validatedFields.titleAny)
|
|
7637
|
+
descriptions.push(`Title (any): ${validatedFields.titleAny}`);
|
|
7578
7638
|
if (validatedFields.skillsSearch)
|
|
7579
7639
|
descriptions.push(`Skills: ${validatedFields.skillsSearch}`);
|
|
7580
7640
|
return descriptions.length > 0 ? descriptions.join(' • ') : 'All results';
|
|
@@ -7592,24 +7652,6 @@ class SearchQueryBuilder {
|
|
|
7592
7652
|
errors: result.error.errors.map((err) => `${err.path.join('.')}: ${err.message}`),
|
|
7593
7653
|
};
|
|
7594
7654
|
}
|
|
7595
|
-
/**
|
|
7596
|
-
* Test/demo method to show phrase handling
|
|
7597
|
-
* Remove this in production
|
|
7598
|
-
*/
|
|
7599
|
-
static examples() {
|
|
7600
|
-
const testFields = {
|
|
7601
|
-
allWords: 'react "senior developer" javascript',
|
|
7602
|
-
anyWords: 'frontend "full stack" backend',
|
|
7603
|
-
noneWords: 'junior "entry level"',
|
|
7604
|
-
exactPhrase: 'tech lead',
|
|
7605
|
-
titleSearch: 'software engineer',
|
|
7606
|
-
skillsSearch: 'node.js',
|
|
7607
|
-
};
|
|
7608
|
-
console.log('Query:', this.buildQuery(testFields));
|
|
7609
|
-
console.log('Description:', this.describe(testFields));
|
|
7610
|
-
// Should produce:
|
|
7611
|
-
// Query: (react AND "senior developer" AND javascript) AND (frontend OR "full stack" OR backend) AND NOT junior AND NOT "entry level" AND "tech lead" AND title:"software engineer" AND skills:"node.js"
|
|
7612
|
-
}
|
|
7613
7655
|
/**
|
|
7614
7656
|
* Parse a query string back into SearchFields structure
|
|
7615
7657
|
* Fixed to handle grouped NOT expressions correctly
|
|
@@ -7621,13 +7663,40 @@ class SearchQueryBuilder {
|
|
|
7621
7663
|
noneWords: '',
|
|
7622
7664
|
exactPhrase: '',
|
|
7623
7665
|
titleSearch: '',
|
|
7666
|
+
titleAny: '',
|
|
7624
7667
|
skillsSearch: '',
|
|
7625
7668
|
};
|
|
7626
7669
|
if (!query || query.trim() === '*') {
|
|
7627
7670
|
return result;
|
|
7628
7671
|
}
|
|
7629
7672
|
let remainingQuery = query.trim();
|
|
7630
|
-
// 1. Extract
|
|
7673
|
+
// 1. FIRST: Extract grouped expressions like (title:"a" OR title:"b") or (title:"a" AND title:"b")
|
|
7674
|
+
const titleGroupPattern = /\((title:"[^"]+"(?:\s+(?:OR|AND)\s+title:"[^"]+")+)\)/g;
|
|
7675
|
+
const titleGroupMatches = [...remainingQuery.matchAll(titleGroupPattern)];
|
|
7676
|
+
for (const match of titleGroupMatches) {
|
|
7677
|
+
const groupContent = match[1]; // e.g., 'title:"developer" OR title:"expert"'
|
|
7678
|
+
if (groupContent.includes(' OR ')) {
|
|
7679
|
+
// Extract terms from OR group for titleAny
|
|
7680
|
+
const terms = groupContent
|
|
7681
|
+
.split(/\s+OR\s+/)
|
|
7682
|
+
.map((term) => term.replace(/^title:"([^"]+)"$/, '"$1"'))
|
|
7683
|
+
.filter(Boolean);
|
|
7684
|
+
result.titleAny = terms.join(' ');
|
|
7685
|
+
}
|
|
7686
|
+
else if (groupContent.includes(' AND ')) {
|
|
7687
|
+
// Extract terms from AND group for titleSearch
|
|
7688
|
+
const terms = groupContent
|
|
7689
|
+
.split(/\s+AND\s+/)
|
|
7690
|
+
.map((term) => term.replace(/^title:"([^"]+)"$/, '"$1"'))
|
|
7691
|
+
.filter(Boolean);
|
|
7692
|
+
result.titleSearch = result.titleSearch
|
|
7693
|
+
? `${result.titleSearch} ${terms.join(' ')}`
|
|
7694
|
+
: terms.join(' ');
|
|
7695
|
+
}
|
|
7696
|
+
// Remove the matched group from remaining query
|
|
7697
|
+
remainingQuery = remainingQuery.replace(match[0], '').trim();
|
|
7698
|
+
}
|
|
7699
|
+
// 2. THEN: Extract individual title: and skills: patterns
|
|
7631
7700
|
const fieldPatterns = [
|
|
7632
7701
|
{ field: 'titleSearch', pattern: /title:("([^"]+)"|([^\s)]+))/g },
|
|
7633
7702
|
{ field: 'skillsSearch', pattern: /skills:("([^"]+)"|([^\s)]+))/g },
|
|
@@ -7641,21 +7710,46 @@ class SearchQueryBuilder {
|
|
|
7641
7710
|
}
|
|
7642
7711
|
return match[3];
|
|
7643
7712
|
});
|
|
7644
|
-
|
|
7713
|
+
if (field === 'titleSearch') {
|
|
7714
|
+
result.titleSearch = result.titleSearch
|
|
7715
|
+
? `${result.titleSearch} ${terms.join(' ')}`
|
|
7716
|
+
: terms.join(' ');
|
|
7717
|
+
}
|
|
7718
|
+
else {
|
|
7719
|
+
result[field] = terms.join(' ');
|
|
7720
|
+
}
|
|
7645
7721
|
remainingQuery = remainingQuery.replace(pattern, '').trim();
|
|
7646
7722
|
}
|
|
7647
7723
|
}
|
|
7648
|
-
//
|
|
7724
|
+
// 3. Handle legacy grouped field searches like title:(term1 AND term2)
|
|
7649
7725
|
const groupedFieldPattern = /(title|skills):\(([^)]+)\)/g;
|
|
7650
7726
|
let groupMatch;
|
|
7651
7727
|
while ((groupMatch = groupedFieldPattern.exec(remainingQuery)) !== null) {
|
|
7652
|
-
const
|
|
7728
|
+
const fieldType = groupMatch[1];
|
|
7653
7729
|
const groupContent = groupMatch[2];
|
|
7654
|
-
|
|
7655
|
-
|
|
7730
|
+
if (fieldType === 'title') {
|
|
7731
|
+
// Check if it's OR logic (titleAny) or AND logic (titleSearch)
|
|
7732
|
+
if (groupContent.includes(' OR ')) {
|
|
7733
|
+
const terms = this.extractTermsFromGroup(groupContent, fieldType);
|
|
7734
|
+
result.titleAny = result.titleAny
|
|
7735
|
+
? `${result.titleAny} ${terms.join(' ')}`
|
|
7736
|
+
: terms.join(' ');
|
|
7737
|
+
}
|
|
7738
|
+
else {
|
|
7739
|
+
const terms = this.extractTermsFromGroup(groupContent, fieldType);
|
|
7740
|
+
result.titleSearch = result.titleSearch
|
|
7741
|
+
? `${result.titleSearch} ${terms.join(' ')}`
|
|
7742
|
+
: terms.join(' ');
|
|
7743
|
+
}
|
|
7744
|
+
}
|
|
7745
|
+
else {
|
|
7746
|
+
// skills logic remains the same
|
|
7747
|
+
const terms = this.extractTermsFromGroup(groupContent, fieldType);
|
|
7748
|
+
result.skillsSearch = terms.join(' ');
|
|
7749
|
+
}
|
|
7656
7750
|
remainingQuery = remainingQuery.replace(groupMatch[0], '').trim();
|
|
7657
7751
|
}
|
|
7658
|
-
//
|
|
7752
|
+
// 4. Extract grouped NOT expressions: NOT (term1 OR term2 OR ...)
|
|
7659
7753
|
const groupedNotPattern = /NOT\s+\(([^)]+(?:\s+OR\s+[^)]+)+)\)/g;
|
|
7660
7754
|
const groupedNotMatches = [...remainingQuery.matchAll(groupedNotPattern)];
|
|
7661
7755
|
if (groupedNotMatches.length > 0) {
|
|
@@ -7665,7 +7759,7 @@ class SearchQueryBuilder {
|
|
|
7665
7759
|
.replace(groupedNotMatches[0][0], '')
|
|
7666
7760
|
.trim();
|
|
7667
7761
|
}
|
|
7668
|
-
//
|
|
7762
|
+
// 5. Extract individual NOT terms (only if no grouped NOT was found)
|
|
7669
7763
|
if (!result.noneWords) {
|
|
7670
7764
|
const notPattern = /NOT\s+("([^"]+)"|([^\s)]+))/g;
|
|
7671
7765
|
const notMatches = [...remainingQuery.matchAll(notPattern)];
|
|
@@ -7680,7 +7774,7 @@ class SearchQueryBuilder {
|
|
|
7680
7774
|
remainingQuery = remainingQuery.replace(notPattern, '').trim();
|
|
7681
7775
|
}
|
|
7682
7776
|
}
|
|
7683
|
-
//
|
|
7777
|
+
// 6. Process grouped expressions - DON'T clean up connectors first!
|
|
7684
7778
|
// Extract OR groups (anyWords) - PROCESS FIRST
|
|
7685
7779
|
const orGroupPattern = /\(([^)]+(?:\s+OR\s+[^)]+)+)\)/g;
|
|
7686
7780
|
const orMatches = [...remainingQuery.matchAll(orGroupPattern)];
|
|
@@ -7699,14 +7793,14 @@ class SearchQueryBuilder {
|
|
|
7699
7793
|
}
|
|
7700
7794
|
// NOW clean up connectors after group processing
|
|
7701
7795
|
remainingQuery = this.cleanupConnectors(remainingQuery);
|
|
7702
|
-
//
|
|
7796
|
+
// 7. Extract standalone quoted phrases (exactPhrase) - ONLY after all groups processed
|
|
7703
7797
|
const standaloneQuotePattern = /(?:^|\s)("([^"]+)")(?=\s|$)/g;
|
|
7704
7798
|
const quoteMatches = [...remainingQuery.matchAll(standaloneQuotePattern)];
|
|
7705
7799
|
if (quoteMatches.length > 0) {
|
|
7706
7800
|
result.exactPhrase = quoteMatches[0][2];
|
|
7707
7801
|
remainingQuery = remainingQuery.replace(quoteMatches[0][1], '').trim();
|
|
7708
7802
|
}
|
|
7709
|
-
//
|
|
7803
|
+
// 8. Handle remaining simple terms as allWords
|
|
7710
7804
|
if (remainingQuery) {
|
|
7711
7805
|
const remainingTerms = this.splitTermsWithQuotes(remainingQuery);
|
|
7712
7806
|
if (remainingTerms.length > 0) {
|
|
@@ -7789,6 +7883,7 @@ class SearchQueryBuilder {
|
|
|
7789
7883
|
return query
|
|
7790
7884
|
.replace(/\s+AND\s+/g, ' ')
|
|
7791
7885
|
.replace(/\s+/g, ' ')
|
|
7886
|
+
.replace(/\(\s*\)/g, '')
|
|
7792
7887
|
.trim();
|
|
7793
7888
|
}
|
|
7794
7889
|
/**
|
|
@@ -8684,6 +8779,7 @@ const LogEventTypeEnum = z.enum([
|
|
|
8684
8779
|
'acceptInvitationFailed',
|
|
8685
8780
|
'syncProposalsStatusCompleted',
|
|
8686
8781
|
'syncProposalsStatusFailed',
|
|
8782
|
+
'scheduleBidding',
|
|
8687
8783
|
// System/Generic Events
|
|
8688
8784
|
'errorLogged',
|
|
8689
8785
|
'cloudTaskRetry',
|
|
@@ -8778,6 +8874,11 @@ const leadStatusEventMetadata = objectType({
|
|
|
8778
8874
|
const biddingRejectedWithFeedbackEventMetadata = objectType({
|
|
8779
8875
|
feedback: z.string(),
|
|
8780
8876
|
});
|
|
8877
|
+
const scheduleBiddingEventMetadataSchema = objectType({
|
|
8878
|
+
organizationId: z.string(),
|
|
8879
|
+
campaignId: z.string(),
|
|
8880
|
+
leadId: z.string(),
|
|
8881
|
+
});
|
|
8781
8882
|
const suitabilityPendingEventMetadataSchema = objectType({
|
|
8782
8883
|
jobId: z.string(),
|
|
8783
8884
|
jobUrl: z.string(),
|
|
@@ -15147,6 +15248,7 @@ const ROUTES = {
|
|
|
15147
15248
|
SEARCH: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/search`,
|
|
15148
15249
|
GENERATE_COUNTS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/generate-counts`,
|
|
15149
15250
|
REJECTED: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/rejected`,
|
|
15251
|
+
SCHEDULE_BIDDING: (organizationId, campaignId, leadId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/${leadId}/schedule-bidding`,
|
|
15150
15252
|
},
|
|
15151
15253
|
ANALYTICS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/analytics`,
|
|
15152
15254
|
TOTAL_STATS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/analytics/totals`,
|
|
@@ -23828,5 +23930,5 @@ async function tryCatch(promise) {
|
|
|
23828
23930
|
}
|
|
23829
23931
|
}
|
|
23830
23932
|
|
|
23831
|
-
export { BidderAccountAlreadyConnectedException, BoostAboveMaxConnectsException, CAMPAIGN_NOTIFICATION_SETTINGS, CAMPAIGN_NOTIFICATION_TYPES, CLIENT_SIZE_TO_NUMBER, CloudflareChallengeFailedException, DeleteMultiloginProfileException, DropdownOptionNotPresentException, ElementNotClickableException, EvaluateElementException, EvaluateFunctionException, FEED_JOB_TO_JOB_DETAILS_FIELD_MAPPING, FailedToParseNuxtJobException, FeedJobEnrichException, FeedScrapeException, GetMultiloginBrowserException, GoToUrlException, HIERARCHICAL_CATEGORIES_TO_CHILDREN, INFINITY, IncorrectSecurityQuestionAnswerException, InitBrowserException, InsufficientConnectsException, InvalidCredentialsException, InvalidGoogleOAuthTokenException, InvalidJobUrlException, JOB_FILTER_OPTIONS, JobAlreadyBiddedOnException, JobAlreadyProcessedInAnotherCampaignException, JobIsPrivateException, JobNoLongerAvailableException, LogEventTypeEnum, LoginFailedException, MultiloginAuthenticationException, NavigationTimeoutException, NewBrowserPageException, NewPageException, NoBidderAccountsAvailableException, NoGoogleOAuthTokensFoundException, NoScraperAccountAvailableException, OpenPageException, PageClosedException, PageContentException, ParseConnectsException, ParseJobListingsException, PrivateJobException, ProposalErrorAlertException, ProposalFormWarningAlertException, ProposalGenerationFailedException, ProposalSubmitFailedException, PuppeteerConnectionErrorException, QuestionPairNotMatchingException, ROUTES, ScraperAccountProxyNotFoundException, SearchFieldsSchema, SearchQueryBuilder, SelectAgencyException, SelectContractorException, SelectorNotFoundError, TypedValueInFieldNotMatchingException, TypingInputFieldException, WaitForFunctionTimeoutError, acceptUpworkInvitationResponseSchema, acceptUpworkInvitationSchema, accountStatusDisplayMap, accountStatusOrder, accountStatusSchema, addFromClientHireRateNodeFormSchema, addFromClientRatingNodeFormSchema, addFromClientSizeNodeFormSchema, addFromClientSpentNodeFormSchema, addFromHourlyRateNodeFormSchema, addFromSuitabilityNodeFormSchema, agencyBidPayloadSchema, agencyBidProposalDataSchema, agentCalculateSuitabilityRequestSchema, agentGenerateProposalRequestSchema, agentGenerateProposalResponseSchema, agentPickSpecialisedProfileRequestSchema, agentPickSpecialisedProfileResponseSchema, agentStatusSchema, agentTaskResponseSchema, aiConfigSchema, bidConfigSchema, bidDtoSchema, bidFailedSchema, bidPayloadProposalDataSchema, bidPayloadSchema, bidRangeSchema, bidSuccessSchema, bidWithWarningEnum, bidderAccountAgencyContractorSchema, bidderAccountAgencySchema, bidderAccountAlreadyConnectedException, bidderAccountProvider, bidderAccountProviderDisplayMap, bidderAccountSchema, bidderInstanceSchema, bidderInstanceStatusEnum, biddingCompletedEventMetadata, biddingFailedEventMetadata, biddingHourlyRateStrategyEnum, biddingProcessingEventMetadata, biddingRejectedWithFeedbackEventMetadata, booleanSchema, boostAboveMaxConnectsException, boostFormSchema, buildRoute, campaignAIMetricsSchema, campaignActivityCreateSchema, campaignActivitySchema, campaignActivityTypeSchema, campaignAnalyticsResponseSchema, campaignAnalyticsSchema, campaignAnalyticsStatsSchema, campaignCountByStatusSchema, campaignExpensesSchema, campaignInsightsSchema, campaignNotificationType, campaignSchema, campaignStatusActivitySchema, campaignStatusSchema, capitalize, caseStudySchema, categoryEnum, chatbotChannelSchema, chatbotPlatforms, chatbotSchema, checkLeadStatusPayloadSchema, clientIndustryEnum, clientInfoSchema, clientReviewSchema, clientSizeEnum, cloudflareProtectionFailure, convertToUtc, countryMapping, coverLetterTemplateSchema, createBidderAccountSchema, createCampaignSchema, createChatbotSchema, createClientHireRateFormSchema, createClientRatingFormSchema, createClientSizeFormSchema, createClientSpentFormSchema, createCoverLetterTemplateSchema, createHourlyRateFormSchema, createOrganizationProfileSchema, createOrganizationSchema, createSampleSchema, createScraperAccountSchema, createSuitabilityFormSchema, dailyUsageSchema, dateSchema, defaultQuestions, deleteMultiloginProfileException, dropdownOptionNotPresentException, elementNotClickableException, employmentHistorySchema, engagementTypeEnum, englishLevelEnum, evaluateElementException, evaluateFunctionException, eventLoggerPayloadSchema, experienceLevelEnum, externalProxySchema, failedToParseNuxtJobException, feedChunkEnrichCompletedEventMetadata, feedChunkEnrichFailedEventMetadata, feedChunkEnrichStartedEventMetadata, feedEnrichCompletedEventMetadata, feedEnrichFailedEventMetadata, feedEnrichStartedEventMetadata, feedJobEnrichCompletedEventMetadata, feedJobEnrichFailedEventMetadata, feedJobEnrichFailedException, feedJobEnrichStartedEventMetadata, feedJobSchema, feedScrapeCompletedEventMetadata, feedScrapeException, feedScrapeFailedEventMetadata, feedScrapeResultSchema, feedScrapeStartedEventMetadata, filterOptionItemSchema, filterOptionsResponseSchema, findLeadsRequestSchema, findLeadsResponseSchema, forgotPasswordSchema, formatCurrency, formatDuration, freelancerBidPayloadSchema, freelancerBidProposalDataSchema, generateLeadCountsRequestSchema, generateSlug, getBiddingProcessingEventFromAnotherCampaignsPayloadSchema, getBiddingProcessingEventFromAnotherCampaignsResponseSchema, getCampaignLeadsRequestQuerySchema, getCampaignLeadsResponseSchema, getCampaignLeadsStatusEnum, getMultiloginBrowserException, getNextStatus, getPreviousStatus, getRouteWithoutAdminPrefix, getSamplesRequestSchema, goToUrlException, hasQuestionsEnum, incorrectSecurityQuestionAnswerException, initBrowserException, insufficeintBoostConnectsActionEnum, insufficientConnectsException, invalidCredentialsException, invalidGoogleOAuthTokenSchema, invalidJobUrlException, invoiceLineItemSchema, invoiceSchema, invoiceStatusEnum, invoiceStatusNames, invoiceStripeMetadataLineSchema, invoiceStripeMetadataSchema, isNumeric, isPaymentVerifiedEnum, isPhoneVerifiedEnum, isWorkTime, jobActivityDeltaSchema, jobActivityOffsetEnum, jobActivityOffsetHourSchema, jobActivityOffsetHours, jobActivitySchema, jobActivityScrapeFailedEventMetadata, jobActivityScrapedEventMetadata, jobActivitySnapshotSchema, jobActivityUpdateSchema, jobAlreadyBiddedOnException, jobAlreadyProcessedInAnotherCampaignException, jobDetailsStateSchema, jobFiltersSchema, jobIsPrivateException, jobListingSchema, jobNoLongerAvailableException, jobQualityScoreSchema, jobSkillsSchema, jobStatusOrder, labelEnum, lancerBiddingExceptionEventMetadata, leadAnalysisActivitySchema, leadResponseSchema, leadSchema, leadStatusActivitySchema, leadStatusEnum, leadStatusEventMetadata, limitsSchema, logEventSchema, loginFailedException, loginSchema, metadataSchema, multiloginAuthenticationException, navigationTimeoutException, newBrowserPageException, newPageException, noBidderAccountsAvailableException, noGoogleOAuthTokensFoundException, noScraperAccountAvailableException, nodeEnums, notificationConfigSchema, nuxtStateJobDetailsSchema, nuxtStateJobSchema, nuxtStateJobsSearchSchema, onboardingProgressSchema, openPageException, organizationCampaignStatsSchema, organizationMemberRoleEnum, organizationMemberSchema, organizationProfileSchema, organizationSchema, organizationSettingsSchema, organizationTierEnum, organizationTypeSchema, organizationUpdateSchema, pageClosedException, pageContentException, parseConnectsException, parseJobListingsException, passwordSchema, paymentTypeEnum, periodTypeSchema, periodUsageSchema, pickProfileRequestSchema, pickProfileResponseSchema, planFeatureSchema, planSchema, planSlugEnum, planSlugToNameMap, planStripeMetadataSchema, pluralize, portfolioSchema, privateJobException, processFeedPayloadSchema, profileSearchNuxtObjectSchema, profileSearchNuxtObjectStateSchema, projectDurationEnum, proposalCompleteEventMetadataSchema, proposalErrorAlertException, proposalFormWarningAlertException, proposalGenerationFailed, proposalSchema, proposalSentActivitySchema, proposalSubmitFailedException, proxyAvailableReplacementsSchema, proxyCountryEnum, proxyProviderSchema, proxySchema, proxyStatusSchema, proxyTypeSchema, puppeteerConnectionErrorException, questionAnswerPairSchema, questionPairNotMatchingException, questionRulesSchema, reconnectBidderAccountRequestBodySchema, reconnectBidderAccountResponseSchema, refreshRotatingProxiesRequestBodySchema, regionEnum, regionMapping, regionNames, regionSchema, registerSchema, requiredEarningsEnum, requiredJSSEnum, sampleSchema, savedSearchSchema, scrapeJobActivityPayloadSchema, scrapeJobPayloadSchema, scrapeJobsCompletedEventMetadata, scrapePayloadSchema, scrapeResultSchema, scrapeUserProfileRequestSchema, scraperAccountErrorEventMetadata, scraperAccountProxyNotFoundException, scraperAccountRegionEnum, scraperAccountSchema, scraperAccountSwapCompletedEventMetadata, scraperAccountSwapFailedEventMetadata, scraperAccountSwapStartedEventMetadata, scraperAccountTypeEnum, selectAgencyException, selectContractorException, selectorNotFoundError, sendAlertPayloadSchema, sendNotificationRequestSchema, specialisedProfileSchema, stringify, subscribePayloadSchema, subscriptionSchema, subscriptionSourceEnum, subscriptionStatusEnum, subscriptionStripeMetadataItemSchema, subscriptionStripeMetadataSchema, suitabilityCompleteEventMetadataSchema, suitabilityFailedEventMetadataSchema, suitabilityPendingEventMetadataSchema, suitabilityRatingSchema, syncProposalsStatusCompletedEventMetadata, syncProposalsStatusFailedEventMetadata, syncProposalsStatusRequestPayloadSchema, systemPromptSchema, systemSchema, talentTypeEnum, timeBlockSchema, trackUsageEventTypeEnum, trackUsagePayloadSchema, transactionSchema, transactionStatusEnum, transactionStripeMetadataSchema, transactionTypeEnum, tryCatch, typedValueInFieldNotMatchingException, typingInputFieldException, updateBidderAccountSchema, updateCampaignAnalyticsSchema, updateCampaignSchema, updateChatbotSchema, updateLeadStatusSchema, updateOrganizationLeadsStatusPayloadSchema, updateOrganizationProfileSchema, updateSampleSchema, updateScraperAccountSchema, updateSuitableLeadNotificationBodySchema, updateSuitableLeadNotificationType, upworkAccountConnectSchema, upworkAccountConnectStatusSchema, upworkJobSchema, upworkProfileSchema, upworkTalentSchema, usageEventMetadataSchema, usageEventSchema, usageEventTypeEnum, userAccountBiddingExceptionEventMetadata, userSchema, vendorQualificationSchema, vendorTypeEnum, verifyBidderAccountCredentialsResponseSchema, verifyBidderAccountCredentialsSchema, waitForFunctionTimeoutError, weekDaysEnum, workTimeSchema };
|
|
23933
|
+
export { BidderAccountAlreadyConnectedException, BoostAboveMaxConnectsException, CAMPAIGN_NOTIFICATION_SETTINGS, CAMPAIGN_NOTIFICATION_TYPES, CLIENT_SIZE_TO_NUMBER, CloudflareChallengeFailedException, DeleteMultiloginProfileException, DropdownOptionNotPresentException, ElementNotClickableException, EvaluateElementException, EvaluateFunctionException, FEED_JOB_TO_JOB_DETAILS_FIELD_MAPPING, FailedToParseNuxtJobException, FeedJobEnrichException, FeedScrapeException, GetMultiloginBrowserException, GoToUrlException, HIERARCHICAL_CATEGORIES_TO_CHILDREN, INFINITY, IncorrectSecurityQuestionAnswerException, InitBrowserException, InsufficientConnectsException, InvalidCredentialsException, InvalidGoogleOAuthTokenException, InvalidJobUrlException, JOB_FILTER_OPTIONS, JobAlreadyBiddedOnException, JobAlreadyProcessedInAnotherCampaignException, JobIsPrivateException, JobNoLongerAvailableException, LogEventTypeEnum, LoginFailedException, MultiloginAuthenticationException, NavigationTimeoutException, NewBrowserPageException, NewPageException, NoBidderAccountsAvailableException, NoGoogleOAuthTokensFoundException, NoScraperAccountAvailableException, OpenPageException, PageClosedException, PageContentException, ParseConnectsException, ParseJobListingsException, PrivateJobException, ProposalErrorAlertException, ProposalFormWarningAlertException, ProposalGenerationFailedException, ProposalSubmitFailedException, PuppeteerConnectionErrorException, QuestionPairNotMatchingException, ROUTES, ScraperAccountProxyNotFoundException, SearchFieldsSchema, SearchQueryBuilder, SelectAgencyException, SelectContractorException, SelectorNotFoundError, TypedValueInFieldNotMatchingException, TypingInputFieldException, WaitForFunctionTimeoutError, acceptUpworkInvitationResponseSchema, acceptUpworkInvitationSchema, accountStatusDisplayMap, accountStatusOrder, accountStatusSchema, addFromClientHireRateNodeFormSchema, addFromClientRatingNodeFormSchema, addFromClientSizeNodeFormSchema, addFromClientSpentNodeFormSchema, addFromHourlyRateNodeFormSchema, addFromSuitabilityNodeFormSchema, agencyBidPayloadSchema, agencyBidProposalDataSchema, agentCalculateSuitabilityRequestSchema, agentGenerateProposalRequestSchema, agentGenerateProposalResponseSchema, agentPickSpecialisedProfileRequestSchema, agentPickSpecialisedProfileResponseSchema, agentStatusSchema, agentTaskResponseSchema, aiConfigSchema, bidConfigSchema, bidDtoSchema, bidFailedSchema, bidPayloadProposalDataSchema, bidPayloadSchema, bidRangeSchema, bidSuccessSchema, bidWithWarningEnum, bidderAccountAgencyContractorSchema, bidderAccountAgencySchema, bidderAccountAlreadyConnectedException, bidderAccountProvider, bidderAccountProviderDisplayMap, bidderAccountSchema, bidderInstanceSchema, bidderInstanceStatusEnum, biddingCompletedEventMetadata, biddingFailedEventMetadata, biddingHourlyRateStrategyEnum, biddingProcessingEventMetadata, biddingRejectedWithFeedbackEventMetadata, booleanSchema, boostAboveMaxConnectsException, boostFormSchema, buildRoute, campaignAIMetricsSchema, campaignActivityCreateSchema, campaignActivitySchema, campaignActivityTypeSchema, campaignAnalyticsResponseSchema, campaignAnalyticsSchema, campaignAnalyticsStatsSchema, campaignCountByStatusSchema, campaignExpensesSchema, campaignInsightsSchema, campaignNotificationType, campaignSchema, campaignStatusActivitySchema, campaignStatusSchema, capitalize, caseStudySchema, categoryEnum, chatbotChannelSchema, chatbotPlatforms, chatbotSchema, checkLeadStatusPayloadSchema, clientIndustryEnum, clientInfoSchema, clientReviewSchema, clientSizeEnum, cloudflareProtectionFailure, convertToUtc, countryMapping, coverLetterTemplateSchema, createBidderAccountSchema, createCampaignSchema, createChatbotSchema, createClientHireRateFormSchema, createClientRatingFormSchema, createClientSizeFormSchema, createClientSpentFormSchema, createCoverLetterTemplateSchema, createHourlyRateFormSchema, createOrganizationProfileSchema, createOrganizationSchema, createSampleSchema, createScraperAccountSchema, createSuitabilityFormSchema, dailyUsageSchema, dateSchema, defaultQuestions, deleteMultiloginProfileException, dropdownOptionNotPresentException, elementNotClickableException, employmentHistorySchema, engagementTypeEnum, englishLevelEnum, evaluateElementException, evaluateFunctionException, eventLoggerPayloadSchema, experienceLevelEnum, externalProxySchema, failedToParseNuxtJobException, feedChunkEnrichCompletedEventMetadata, feedChunkEnrichFailedEventMetadata, feedChunkEnrichStartedEventMetadata, feedEnrichCompletedEventMetadata, feedEnrichFailedEventMetadata, feedEnrichStartedEventMetadata, feedJobEnrichCompletedEventMetadata, feedJobEnrichFailedEventMetadata, feedJobEnrichFailedException, feedJobEnrichStartedEventMetadata, feedJobSchema, feedScrapeCompletedEventMetadata, feedScrapeException, feedScrapeFailedEventMetadata, feedScrapeResultSchema, feedScrapeStartedEventMetadata, filterOptionItemSchema, filterOptionsResponseSchema, findLeadsRequestSchema, findLeadsResponseSchema, forgotPasswordSchema, formatCurrency, formatDuration, freelancerBidPayloadSchema, freelancerBidProposalDataSchema, generateLeadCountsRequestSchema, generateSlug, getBiddingProcessingEventFromAnotherCampaignsPayloadSchema, getBiddingProcessingEventFromAnotherCampaignsResponseSchema, getCampaignLeadsRequestQuerySchema, getCampaignLeadsResponseSchema, getCampaignLeadsStatusEnum, getMultiloginBrowserException, getNextStatus, getOrganizationLeadsRequestQuerySchema, getOrganizationLeadsStatusEnum, getPreviousStatus, getRouteWithoutAdminPrefix, getSamplesRequestSchema, goToUrlException, hasQuestionsEnum, incorrectSecurityQuestionAnswerException, initBrowserException, insufficeintBoostConnectsActionEnum, insufficientConnectsException, invalidCredentialsException, invalidGoogleOAuthTokenSchema, invalidJobUrlException, invoiceLineItemSchema, invoiceSchema, invoiceStatusEnum, invoiceStatusNames, invoiceStripeMetadataLineSchema, invoiceStripeMetadataSchema, isNumeric, isPaymentVerifiedEnum, isPhoneVerifiedEnum, isWorkTime, jobActivityDeltaSchema, jobActivityOffsetEnum, jobActivityOffsetHourSchema, jobActivityOffsetHours, jobActivitySchema, jobActivityScrapeFailedEventMetadata, jobActivityScrapedEventMetadata, jobActivitySnapshotSchema, jobActivityUpdateSchema, jobAlreadyBiddedOnException, jobAlreadyProcessedInAnotherCampaignException, jobDetailsStateSchema, jobFiltersSchema, jobIsPrivateException, jobListingSchema, jobNoLongerAvailableException, jobQualityScoreSchema, jobSkillsSchema, jobStatusOrder, labelEnum, lancerBiddingExceptionEventMetadata, leadAnalysisActivitySchema, leadBiddingConfigSchema, leadResponseSchema, leadSchema, leadStatusActivitySchema, leadStatusEnum, leadStatusEventMetadata, limitsSchema, logEventSchema, loginFailedException, loginSchema, metadataSchema, multiloginAuthenticationException, navigationTimeoutException, newBrowserPageException, newPageException, noBidderAccountsAvailableException, noGoogleOAuthTokensFoundException, noScraperAccountAvailableException, nodeEnums, notificationConfigSchema, nuxtStateJobDetailsSchema, nuxtStateJobSchema, nuxtStateJobsSearchSchema, onboardingProgressSchema, openPageException, organizationCampaignStatsSchema, organizationMemberRoleEnum, organizationMemberSchema, organizationProfileSchema, organizationSchema, organizationSettingsSchema, organizationTierEnum, organizationTypeSchema, organizationUpdateSchema, pageClosedException, pageContentException, parseConnectsException, parseJobListingsException, passwordSchema, paymentTypeEnum, periodTypeSchema, periodUsageSchema, pickProfileRequestSchema, pickProfileResponseSchema, planFeatureSchema, planSchema, planSlugEnum, planSlugToNameMap, planStripeMetadataSchema, pluralize, portfolioSchema, privateJobException, processFeedPayloadSchema, profileSearchNuxtObjectSchema, profileSearchNuxtObjectStateSchema, projectDurationEnum, proposalCompleteEventMetadataSchema, proposalErrorAlertException, proposalFormWarningAlertException, proposalGenerationFailed, proposalSchema, proposalSentActivitySchema, proposalSubmitFailedException, proxyAvailableReplacementsSchema, proxyCountryEnum, proxyProviderSchema, proxySchema, proxyStatusSchema, proxyTypeSchema, puppeteerConnectionErrorException, questionAnswerPairSchema, questionPairNotMatchingException, questionRulesSchema, reconnectBidderAccountRequestBodySchema, reconnectBidderAccountResponseSchema, refreshRotatingProxiesRequestBodySchema, regionEnum, regionMapping, regionNames, regionSchema, registerSchema, requiredEarningsEnum, requiredJSSEnum, sampleSchema, savedSearchSchema, scheduleBiddingEventMetadataSchema, scrapeJobActivityPayloadSchema, scrapeJobPayloadSchema, scrapeJobsCompletedEventMetadata, scrapePayloadSchema, scrapeResultSchema, scrapeUserProfileRequestSchema, scraperAccountErrorEventMetadata, scraperAccountProxyNotFoundException, scraperAccountRegionEnum, scraperAccountSchema, scraperAccountSwapCompletedEventMetadata, scraperAccountSwapFailedEventMetadata, scraperAccountSwapStartedEventMetadata, scraperAccountTypeEnum, selectAgencyException, selectContractorException, selectorNotFoundError, sendAlertPayloadSchema, sendNotificationRequestSchema, specialisedProfileSchema, stringify, subscribePayloadSchema, subscriptionSchema, subscriptionSourceEnum, subscriptionStatusEnum, subscriptionStripeMetadataItemSchema, subscriptionStripeMetadataSchema, suitabilityCompleteEventMetadataSchema, suitabilityFailedEventMetadataSchema, suitabilityPendingEventMetadataSchema, suitabilityRatingSchema, syncProposalsStatusCompletedEventMetadata, syncProposalsStatusFailedEventMetadata, syncProposalsStatusRequestPayloadSchema, systemPromptSchema, systemSchema, talentTypeEnum, timeBlockSchema, trackUsageEventTypeEnum, trackUsagePayloadSchema, transactionSchema, transactionStatusEnum, transactionStripeMetadataSchema, transactionTypeEnum, tryCatch, typedValueInFieldNotMatchingException, typingInputFieldException, updateBidderAccountSchema, updateCampaignAnalyticsSchema, updateCampaignSchema, updateChatbotSchema, updateLeadStatusSchema, updateOrganizationLeadsStatusPayloadSchema, updateOrganizationProfileSchema, updateSampleSchema, updateScraperAccountSchema, updateSuitableLeadNotificationBodySchema, updateSuitableLeadNotificationType, upworkAccountConnectSchema, upworkAccountConnectStatusSchema, upworkJobSchema, upworkProfileSchema, upworkTalentSchema, usageEventMetadataSchema, usageEventSchema, usageEventTypeEnum, userAccountBiddingExceptionEventMetadata, userSchema, vendorQualificationSchema, vendorTypeEnum, verifyBidderAccountCredentialsResponseSchema, verifyBidderAccountCredentialsSchema, waitForFunctionTimeoutError, weekDaysEnum, workTimeSchema };
|
|
23832
23934
|
//# sourceMappingURL=bundle.esm.js.map
|