lancer-shared 1.2.188 → 1.2.190
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 +250 -28
- package/dist/schemas/agent/index.d.ts +5 -5
- package/dist/schemas/bidder/bid.d.ts +44 -44
- package/dist/schemas/campaign/campaign-analytics.d.ts +405 -61
- package/dist/schemas/campaign/campaign.d.ts +270 -45
- package/dist/schemas/campaign/index.d.ts +1 -0
- package/dist/schemas/campaign/sequence/bid-node.d.ts +6 -0
- package/dist/schemas/campaign/sequence/boost-node.d.ts +26 -0
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +45 -0
- package/dist/schemas/campaign/sequence/client-size.d.ts +45 -0
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +92 -0
- package/dist/schemas/campaign/sequence/edges.d.ts +24 -0
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hire-rate.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hourly-rate.d.ts +91 -0
- package/dist/schemas/campaign/sequence/index.d.ts +10 -0
- package/dist/schemas/campaign/sequence/node-types.d.ts +3 -0
- package/dist/schemas/campaign/sequence/rating-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +90 -0
- package/dist/schemas/campaign/sequence/suitability.d.ts +90 -0
- package/dist/schemas/lead/index.d.ts +18 -18
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +5 -5
- package/dist/schemas/scraper/scrape-payload.d.ts +147 -50
- package/dist/utils/timezones.d.ts +4 -3
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -12696,6 +12696,7 @@ const leadStatusEnum = z.enum([
|
|
|
12696
12696
|
'insufficientConnects',
|
|
12697
12697
|
'doesNotMeetCriteria',
|
|
12698
12698
|
'syncedInAnotherCampaign',
|
|
12699
|
+
'dailyLimitReached',
|
|
12699
12700
|
'viewed',
|
|
12700
12701
|
'replied',
|
|
12701
12702
|
'won',
|
|
@@ -13072,14 +13073,33 @@ const biddingHourlyRateStrategyEnum = z.enum([
|
|
|
13072
13073
|
'match_profile_rate',
|
|
13073
13074
|
'fixed_rate',
|
|
13074
13075
|
]);
|
|
13076
|
+
const weekDaysEnum = z.enum([
|
|
13077
|
+
'monday',
|
|
13078
|
+
'tuesday',
|
|
13079
|
+
'wednesday',
|
|
13080
|
+
'thursday',
|
|
13081
|
+
'friday',
|
|
13082
|
+
'saturday',
|
|
13083
|
+
'sunday',
|
|
13084
|
+
]);
|
|
13075
13085
|
const bidWithWarningEnum = z.enum(['bid', 'skip']);
|
|
13086
|
+
const timeBlockSchema = z.object({
|
|
13087
|
+
fromHour: z.number().min(0).max(23),
|
|
13088
|
+
toHour: z.number().min(0).max(23),
|
|
13089
|
+
});
|
|
13090
|
+
const workTimeSchema = z.object({
|
|
13091
|
+
enabled: z.boolean(),
|
|
13092
|
+
days: z.array(weekDaysEnum),
|
|
13093
|
+
timeBlocks: z.array(timeBlockSchema),
|
|
13094
|
+
timezone: z.string().nullable(),
|
|
13095
|
+
});
|
|
13076
13096
|
const campaignSchema = z.object({
|
|
13077
13097
|
id: z.string(),
|
|
13078
13098
|
name: z.string(),
|
|
13079
13099
|
filters: jobFiltersSchema,
|
|
13080
13100
|
createdAt: numberType(),
|
|
13081
13101
|
updatedAt: numberType(),
|
|
13082
|
-
confirmedBillingAt:
|
|
13102
|
+
confirmedBillingAt: z.number().nullable(),
|
|
13083
13103
|
// automatedSuitability: z.boolean().nullable(),
|
|
13084
13104
|
boostingEnabled: z.boolean().nullable().default(false),
|
|
13085
13105
|
maximumBoost: z.number().nullable().default(30),
|
|
@@ -13092,10 +13112,6 @@ const campaignSchema = z.object({
|
|
|
13092
13112
|
biddingFixedHourlyRate: z.number().nullable(),
|
|
13093
13113
|
biddingHourlyRatePercentage: z.number().min(0).max(100).nullable(),
|
|
13094
13114
|
bidWithWarning: bidWithWarningEnum,
|
|
13095
|
-
sleepEnabled: z.boolean().nullable().default(false),
|
|
13096
|
-
sleepStartAtHour: z.number().nullable().default(23),
|
|
13097
|
-
sleepEndAtHour: z.number().nullable().default(7),
|
|
13098
|
-
sleepTimezone: z.string().nullable(),
|
|
13099
13115
|
leadCounts: z.record(leadStatusEnum, z.number()).nullable(),
|
|
13100
13116
|
expenses: campaignExpensesSchema,
|
|
13101
13117
|
notificationsEnabled: z.boolean().nullable(),
|
|
@@ -13105,7 +13121,13 @@ const campaignSchema = z.object({
|
|
|
13105
13121
|
priority: z.number().nullable(),
|
|
13106
13122
|
coverLetterTemplate: coverLetterTemplateSchema.nullable(),
|
|
13107
13123
|
organizationProfileId: z.string().nullable(),
|
|
13108
|
-
lastSyncedProposalsAt:
|
|
13124
|
+
lastSyncedProposalsAt: z.number().nullable(),
|
|
13125
|
+
limits: z.object({
|
|
13126
|
+
maxDailyProposalsSent: z.number().min(1),
|
|
13127
|
+
enabled: z.boolean(),
|
|
13128
|
+
windowAnchorAt: z.number().nullable(),
|
|
13129
|
+
}),
|
|
13130
|
+
workTime: workTimeSchema,
|
|
13109
13131
|
});
|
|
13110
13132
|
const upworkAccountConnectStatusSchema = z.union([
|
|
13111
13133
|
z.literal('processing'),
|
|
@@ -13258,6 +13280,7 @@ const updateCampaignAnalyticsSchema = z.object({
|
|
|
13258
13280
|
'replied',
|
|
13259
13281
|
'doesNotMeetCriteria',
|
|
13260
13282
|
'syncedInAnotherCampaign',
|
|
13283
|
+
'dailyLimitReached',
|
|
13261
13284
|
'insufficientConnects',
|
|
13262
13285
|
'won',
|
|
13263
13286
|
'leadsAnalyzed',
|
|
@@ -13373,6 +13396,176 @@ const campaignInsightsSchema = z.object({
|
|
|
13373
13396
|
suitabilityRange90to100: z.number(),
|
|
13374
13397
|
});
|
|
13375
13398
|
|
|
13399
|
+
const fallbackEnum = z.enum(['noBoostBid', 'ignore']);
|
|
13400
|
+
const boostFormSchema = z.object({
|
|
13401
|
+
minPlace: z.number().int().min(1).max(4), // Don't boost below this place
|
|
13402
|
+
maxConnects: z.number().int().min(1), // Maximum connects willing to spend
|
|
13403
|
+
fallback: fallbackEnum, // What to do if no place fits budget
|
|
13404
|
+
});
|
|
13405
|
+
|
|
13406
|
+
const nodeEnums = z.enum([
|
|
13407
|
+
'clientAvgHourlyRateNode',
|
|
13408
|
+
'bidNode',
|
|
13409
|
+
'suitabilityNode',
|
|
13410
|
+
'clientHireRateNode',
|
|
13411
|
+
'clientSizeNode',
|
|
13412
|
+
'boostNode',
|
|
13413
|
+
'clientSpentNode',
|
|
13414
|
+
'clientRatingNode',
|
|
13415
|
+
]);
|
|
13416
|
+
|
|
13417
|
+
const sizeOverlap = (size1, size2) => {
|
|
13418
|
+
if (size1 === size2) {
|
|
13419
|
+
return true;
|
|
13420
|
+
}
|
|
13421
|
+
return false;
|
|
13422
|
+
};
|
|
13423
|
+
const createClientSizeFormSchema = (existingSizes) => z
|
|
13424
|
+
.object({
|
|
13425
|
+
sizes: z.array(clientSizeEnum).min(1),
|
|
13426
|
+
action: nodeEnums,
|
|
13427
|
+
})
|
|
13428
|
+
.refine((data) => {
|
|
13429
|
+
const newSizes = data.sizes;
|
|
13430
|
+
return !existingSizes.some((existingSize) => newSizes.some((newSize) => sizeOverlap(newSize, existingSize)));
|
|
13431
|
+
}, {
|
|
13432
|
+
message: 'Size overlaps with existing size',
|
|
13433
|
+
path: ['sizes'],
|
|
13434
|
+
});
|
|
13435
|
+
const addFromClientSizeNodeFormSchema = createClientSizeFormSchema([]);
|
|
13436
|
+
|
|
13437
|
+
const INFINITY = 99999999999;
|
|
13438
|
+
const rangesOverlap$4 = (range1, range2) => {
|
|
13439
|
+
return range1.from < range2.to && range2.from < range1.to;
|
|
13440
|
+
};
|
|
13441
|
+
const createClientSpentFormSchema = (existingRanges) => z
|
|
13442
|
+
.object({
|
|
13443
|
+
from: z.number().min(0),
|
|
13444
|
+
to: z.number().min(0),
|
|
13445
|
+
action: nodeEnums,
|
|
13446
|
+
})
|
|
13447
|
+
.refine((data) => data.from < data.to, {
|
|
13448
|
+
message: 'From must be less than To',
|
|
13449
|
+
path: ['from'],
|
|
13450
|
+
})
|
|
13451
|
+
.refine((data) => data.to > data.from, {
|
|
13452
|
+
message: 'To must be greater than From',
|
|
13453
|
+
path: ['to'],
|
|
13454
|
+
})
|
|
13455
|
+
.refine((data) => {
|
|
13456
|
+
const newRange = { from: data.from, to: data.to };
|
|
13457
|
+
return !existingRanges.some((existingRange) => rangesOverlap$4(newRange, existingRange));
|
|
13458
|
+
}, {
|
|
13459
|
+
message: 'Range overlaps with existing range',
|
|
13460
|
+
path: ['from'],
|
|
13461
|
+
});
|
|
13462
|
+
const addFromClientSpentNodeFormSchema = createClientSpentFormSchema([]);
|
|
13463
|
+
|
|
13464
|
+
const rangesOverlap$3 = (range1, range2) => {
|
|
13465
|
+
return range1.from < range2.to && range2.from < range1.to;
|
|
13466
|
+
};
|
|
13467
|
+
const createClientHireRateFormSchema = (existingRanges) => z
|
|
13468
|
+
.object({
|
|
13469
|
+
from: z.number().min(0),
|
|
13470
|
+
to: z.number().min(0),
|
|
13471
|
+
action: nodeEnums,
|
|
13472
|
+
})
|
|
13473
|
+
.refine((data) => data.from < data.to, {
|
|
13474
|
+
message: 'From must be less than To',
|
|
13475
|
+
path: ['from'],
|
|
13476
|
+
})
|
|
13477
|
+
.refine((data) => data.to > data.from, {
|
|
13478
|
+
message: 'To must be greater than From',
|
|
13479
|
+
path: ['to'],
|
|
13480
|
+
})
|
|
13481
|
+
.refine((data) => {
|
|
13482
|
+
const newRange = { from: data.from, to: data.to };
|
|
13483
|
+
return !existingRanges.some((existingRange) => rangesOverlap$3(newRange, existingRange));
|
|
13484
|
+
}, {
|
|
13485
|
+
message: 'Range overlaps with existing range',
|
|
13486
|
+
path: ['from'],
|
|
13487
|
+
});
|
|
13488
|
+
const addFromClientHireRateNodeFormSchema = createClientHireRateFormSchema([]);
|
|
13489
|
+
|
|
13490
|
+
const rangesOverlap$2 = (range1, range2) => {
|
|
13491
|
+
return range1.from < range2.to && range2.from < range1.to;
|
|
13492
|
+
};
|
|
13493
|
+
const createHourlyRateFormSchema = (existingRanges) => z
|
|
13494
|
+
.object({
|
|
13495
|
+
from: z.number().min(0),
|
|
13496
|
+
to: z.number().min(0),
|
|
13497
|
+
action: nodeEnums,
|
|
13498
|
+
})
|
|
13499
|
+
.refine((data) => data.from < data.to, {
|
|
13500
|
+
message: 'From must be less than To',
|
|
13501
|
+
path: ['from'],
|
|
13502
|
+
})
|
|
13503
|
+
.refine((data) => data.to > data.from, {
|
|
13504
|
+
message: 'To must be greater than From',
|
|
13505
|
+
path: ['to'],
|
|
13506
|
+
})
|
|
13507
|
+
.refine((data) => {
|
|
13508
|
+
const newRange = { from: data.from, to: data.to };
|
|
13509
|
+
return !existingRanges.some((existingRange) => rangesOverlap$2(newRange, existingRange));
|
|
13510
|
+
}, {
|
|
13511
|
+
message: 'Range overlaps with existing range',
|
|
13512
|
+
path: ['from'],
|
|
13513
|
+
});
|
|
13514
|
+
// Keep the original schema for backwards compatibility if needed
|
|
13515
|
+
const addFromHourlyRateNodeFormSchema = createHourlyRateFormSchema([]);
|
|
13516
|
+
|
|
13517
|
+
const rangesOverlap$1 = (range1, range2) => {
|
|
13518
|
+
return range1.from < range2.to && range2.from < range1.to;
|
|
13519
|
+
};
|
|
13520
|
+
const createClientRatingFormSchema = (existingRanges) => z
|
|
13521
|
+
.object({
|
|
13522
|
+
from: z.number().min(0).max(5),
|
|
13523
|
+
to: z.number().min(0).max(5),
|
|
13524
|
+
action: nodeEnums,
|
|
13525
|
+
})
|
|
13526
|
+
.refine((data) => data.from < data.to, {
|
|
13527
|
+
message: 'From must be less than To',
|
|
13528
|
+
path: ['from'],
|
|
13529
|
+
})
|
|
13530
|
+
.refine((data) => data.to > data.from, {
|
|
13531
|
+
message: 'To must be greater than From',
|
|
13532
|
+
path: ['to'],
|
|
13533
|
+
})
|
|
13534
|
+
.refine((data) => {
|
|
13535
|
+
const newRange = { from: data.from, to: data.to };
|
|
13536
|
+
return !existingRanges.some((existingRange) => rangesOverlap$1(newRange, existingRange));
|
|
13537
|
+
}, {
|
|
13538
|
+
message: 'Range overlaps with existing range',
|
|
13539
|
+
path: ['from'],
|
|
13540
|
+
});
|
|
13541
|
+
const addFromClientRatingNodeFormSchema = createClientRatingFormSchema([]);
|
|
13542
|
+
|
|
13543
|
+
const rangesOverlap = (range1, range2) => {
|
|
13544
|
+
return range1.from < range2.to && range2.from < range1.to;
|
|
13545
|
+
};
|
|
13546
|
+
const createSuitabilityFormSchema = (existingRanges) => z
|
|
13547
|
+
.object({
|
|
13548
|
+
from: z.number().min(0).max(99),
|
|
13549
|
+
to: z.number().min(1).max(100),
|
|
13550
|
+
action: nodeEnums,
|
|
13551
|
+
})
|
|
13552
|
+
.refine((data) => data.from < data.to, {
|
|
13553
|
+
message: 'From must be less than To',
|
|
13554
|
+
path: ['from'],
|
|
13555
|
+
})
|
|
13556
|
+
.refine((data) => data.to > data.from, {
|
|
13557
|
+
message: 'To must be greater than From',
|
|
13558
|
+
path: ['to'],
|
|
13559
|
+
})
|
|
13560
|
+
.refine((data) => {
|
|
13561
|
+
const newRange = { from: data.from, to: data.to };
|
|
13562
|
+
return !existingRanges.some((existingRange) => rangesOverlap(newRange, existingRange));
|
|
13563
|
+
}, {
|
|
13564
|
+
message: 'Range overlaps with existing range',
|
|
13565
|
+
path: ['from'],
|
|
13566
|
+
});
|
|
13567
|
+
const addFromSuitabilityNodeFormSchema = createSuitabilityFormSchema([]);
|
|
13568
|
+
|
|
13376
13569
|
const bidPayloadProposalDataSchema = z.object({
|
|
13377
13570
|
organizationId: z.string(),
|
|
13378
13571
|
campaignId: z.string(),
|
|
@@ -23059,32 +23252,43 @@ const convertToUtc = (sleepTimezone, sleepStartAtHour, sleepEndAtHour) => {
|
|
|
23059
23252
|
if (endHour <= startHour) {
|
|
23060
23253
|
localEndDt = localEndDt.plus({ days: 1 });
|
|
23061
23254
|
}
|
|
23255
|
+
if (!localStartDt.isValid || !localEndDt.isValid) {
|
|
23256
|
+
throw new Error('Invalid timezone conversion');
|
|
23257
|
+
}
|
|
23062
23258
|
return {
|
|
23063
|
-
|
|
23064
|
-
|
|
23259
|
+
from: localStartDt.toUTC().toISO(),
|
|
23260
|
+
to: localEndDt.toUTC().toISO(),
|
|
23065
23261
|
};
|
|
23066
23262
|
};
|
|
23067
|
-
const
|
|
23068
|
-
const
|
|
23069
|
-
const
|
|
23070
|
-
|
|
23263
|
+
const isWorkTime = (workTimezone, workTimeBlocks, workDays) => {
|
|
23264
|
+
const nowInWorkTz = DateTime.now().setZone(workTimezone);
|
|
23265
|
+
const getDayName = (weekday) => {
|
|
23266
|
+
const days = [
|
|
23267
|
+
'monday',
|
|
23268
|
+
'tuesday',
|
|
23269
|
+
'wednesday',
|
|
23270
|
+
'thursday',
|
|
23271
|
+
'friday',
|
|
23272
|
+
'saturday',
|
|
23273
|
+
'sunday',
|
|
23274
|
+
];
|
|
23275
|
+
return days[weekday - 1];
|
|
23276
|
+
};
|
|
23277
|
+
const currentDay = getDayName(nowInWorkTz.weekday);
|
|
23278
|
+
if (!workDays.includes(currentDay)) {
|
|
23071
23279
|
return false;
|
|
23072
23280
|
}
|
|
23073
|
-
const
|
|
23074
|
-
|
|
23075
|
-
|
|
23076
|
-
|
|
23077
|
-
|
|
23078
|
-
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
}
|
|
23084
|
-
else {
|
|
23085
|
-
// Same-day period: sleep from morning to evening
|
|
23086
|
-
return now >= sleepStart && now <= sleepEnd;
|
|
23087
|
-
}
|
|
23281
|
+
const currentHour = nowInWorkTz.hour;
|
|
23282
|
+
return workTimeBlocks.some((block) => {
|
|
23283
|
+
if (block.toHour <= block.fromHour) {
|
|
23284
|
+
// Cross-midnight period (e.g., 22:00 to 06:00)
|
|
23285
|
+
return currentHour >= block.fromHour || currentHour < block.toHour;
|
|
23286
|
+
}
|
|
23287
|
+
else {
|
|
23288
|
+
// Same-day period (e.g., 09:00 to 18:00)
|
|
23289
|
+
return currentHour >= block.fromHour && currentHour < block.toHour;
|
|
23290
|
+
}
|
|
23291
|
+
});
|
|
23088
23292
|
};
|
|
23089
23293
|
|
|
23090
23294
|
// Main wrapper function
|
|
@@ -23114,6 +23318,7 @@ exports.FeedScrapeException = FeedScrapeException;
|
|
|
23114
23318
|
exports.GetMultiloginBrowserException = GetMultiloginBrowserException;
|
|
23115
23319
|
exports.GoToUrlException = GoToUrlException;
|
|
23116
23320
|
exports.HIERARCHICAL_CATEGORIES_TO_CHILDREN = HIERARCHICAL_CATEGORIES_TO_CHILDREN;
|
|
23321
|
+
exports.INFINITY = INFINITY;
|
|
23117
23322
|
exports.IncorrectSecurityQuestionAnswerException = IncorrectSecurityQuestionAnswerException;
|
|
23118
23323
|
exports.InitBrowserException = InitBrowserException;
|
|
23119
23324
|
exports.InsufficientConnectsException = InsufficientConnectsException;
|
|
@@ -23155,6 +23360,12 @@ exports.acceptUpworkInvitationSchema = acceptUpworkInvitationSchema;
|
|
|
23155
23360
|
exports.accountStatusDisplayMap = accountStatusDisplayMap;
|
|
23156
23361
|
exports.accountStatusOrder = accountStatusOrder;
|
|
23157
23362
|
exports.accountStatusSchema = accountStatusSchema;
|
|
23363
|
+
exports.addFromClientHireRateNodeFormSchema = addFromClientHireRateNodeFormSchema;
|
|
23364
|
+
exports.addFromClientRatingNodeFormSchema = addFromClientRatingNodeFormSchema;
|
|
23365
|
+
exports.addFromClientSizeNodeFormSchema = addFromClientSizeNodeFormSchema;
|
|
23366
|
+
exports.addFromClientSpentNodeFormSchema = addFromClientSpentNodeFormSchema;
|
|
23367
|
+
exports.addFromHourlyRateNodeFormSchema = addFromHourlyRateNodeFormSchema;
|
|
23368
|
+
exports.addFromSuitabilityNodeFormSchema = addFromSuitabilityNodeFormSchema;
|
|
23158
23369
|
exports.agencyBidPayloadSchema = agencyBidPayloadSchema;
|
|
23159
23370
|
exports.agencyBidProposalDataSchema = agencyBidProposalDataSchema;
|
|
23160
23371
|
exports.agentCalculateSuitabilityRequestSchema = agentCalculateSuitabilityRequestSchema;
|
|
@@ -23186,6 +23397,7 @@ exports.biddingFailedEventMetadata = biddingFailedEventMetadata;
|
|
|
23186
23397
|
exports.biddingHourlyRateStrategyEnum = biddingHourlyRateStrategyEnum;
|
|
23187
23398
|
exports.biddingRejectedWithFeedbackEventMetadata = biddingRejectedWithFeedbackEventMetadata;
|
|
23188
23399
|
exports.booleanSchema = booleanSchema;
|
|
23400
|
+
exports.boostFormSchema = boostFormSchema;
|
|
23189
23401
|
exports.buildRoute = buildRoute;
|
|
23190
23402
|
exports.campaignAIMetricsSchema = campaignAIMetricsSchema;
|
|
23191
23403
|
exports.campaignActivityCreateSchema = campaignActivityCreateSchema;
|
|
@@ -23220,10 +23432,16 @@ exports.coverLetterTemplateSchema = coverLetterTemplateSchema;
|
|
|
23220
23432
|
exports.createBidderAccountSchema = createBidderAccountSchema;
|
|
23221
23433
|
exports.createCampaignSchema = createCampaignSchema;
|
|
23222
23434
|
exports.createChatbotSchema = createChatbotSchema;
|
|
23435
|
+
exports.createClientHireRateFormSchema = createClientHireRateFormSchema;
|
|
23436
|
+
exports.createClientRatingFormSchema = createClientRatingFormSchema;
|
|
23437
|
+
exports.createClientSizeFormSchema = createClientSizeFormSchema;
|
|
23438
|
+
exports.createClientSpentFormSchema = createClientSpentFormSchema;
|
|
23223
23439
|
exports.createCoverLetterTemplateSchema = createCoverLetterTemplateSchema;
|
|
23440
|
+
exports.createHourlyRateFormSchema = createHourlyRateFormSchema;
|
|
23224
23441
|
exports.createOrganizationProfileSchema = createOrganizationProfileSchema;
|
|
23225
23442
|
exports.createOrganizationSchema = createOrganizationSchema;
|
|
23226
23443
|
exports.createScraperAccountSchema = createScraperAccountSchema;
|
|
23444
|
+
exports.createSuitabilityFormSchema = createSuitabilityFormSchema;
|
|
23227
23445
|
exports.dailyUsageSchema = dailyUsageSchema;
|
|
23228
23446
|
exports.dateSchema = dateSchema;
|
|
23229
23447
|
exports.deleteMultiloginProfileException = deleteMultiloginProfileException;
|
|
@@ -23288,7 +23506,7 @@ exports.invoiceStripeMetadataSchema = invoiceStripeMetadataSchema;
|
|
|
23288
23506
|
exports.isNumeric = isNumeric;
|
|
23289
23507
|
exports.isPaymentVerifiedEnum = isPaymentVerifiedEnum;
|
|
23290
23508
|
exports.isPhoneVerifiedEnum = isPhoneVerifiedEnum;
|
|
23291
|
-
exports.
|
|
23509
|
+
exports.isWorkTime = isWorkTime;
|
|
23292
23510
|
exports.jobActivityDeltaSchema = jobActivityDeltaSchema;
|
|
23293
23511
|
exports.jobActivityOffsetEnum = jobActivityOffsetEnum;
|
|
23294
23512
|
exports.jobActivityOffsetHourSchema = jobActivityOffsetHourSchema;
|
|
@@ -23324,6 +23542,7 @@ exports.newPageException = newPageException;
|
|
|
23324
23542
|
exports.noBidderAccountsAvailableException = noBidderAccountsAvailableException;
|
|
23325
23543
|
exports.noGoogleOAuthTokensFoundException = noGoogleOAuthTokensFoundException;
|
|
23326
23544
|
exports.noScraperAccountAvailableException = noScraperAccountAvailableException;
|
|
23545
|
+
exports.nodeEnums = nodeEnums;
|
|
23327
23546
|
exports.notificationConfigSchema = notificationConfigSchema;
|
|
23328
23547
|
exports.nuxtStateJobDetailsSchema = nuxtStateJobDetailsSchema;
|
|
23329
23548
|
exports.nuxtStateJobSchema = nuxtStateJobSchema;
|
|
@@ -23420,6 +23639,7 @@ exports.syncProposalsStatusRequestPayloadSchema = syncProposalsStatusRequestPayl
|
|
|
23420
23639
|
exports.systemPromptSchema = systemPromptSchema;
|
|
23421
23640
|
exports.systemSchema = systemSchema;
|
|
23422
23641
|
exports.talentTypeEnum = talentTypeEnum;
|
|
23642
|
+
exports.timeBlockSchema = timeBlockSchema;
|
|
23423
23643
|
exports.trackUsageEventTypeEnum = trackUsageEventTypeEnum;
|
|
23424
23644
|
exports.trackUsagePayloadSchema = trackUsagePayloadSchema;
|
|
23425
23645
|
exports.transactionSchema = transactionSchema;
|
|
@@ -23454,4 +23674,6 @@ exports.vendorTypeEnum = vendorTypeEnum;
|
|
|
23454
23674
|
exports.verifyBidderAccountCredentialsResponseSchema = verifyBidderAccountCredentialsResponseSchema;
|
|
23455
23675
|
exports.verifyBidderAccountCredentialsSchema = verifyBidderAccountCredentialsSchema;
|
|
23456
23676
|
exports.waitForFunctionTimeoutError = waitForFunctionTimeoutError;
|
|
23677
|
+
exports.weekDaysEnum = weekDaysEnum;
|
|
23678
|
+
exports.workTimeSchema = workTimeSchema;
|
|
23457
23679
|
//# sourceMappingURL=bundle.cjs.js.map
|
|
@@ -419,7 +419,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
419
419
|
answer: string;
|
|
420
420
|
}>, "many">>;
|
|
421
421
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
422
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
422
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
423
423
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
424
424
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
425
425
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -533,7 +533,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
533
533
|
suitabilityReason: string | null;
|
|
534
534
|
proposal: string | null;
|
|
535
535
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
536
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won" | null;
|
|
536
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
537
537
|
biddingAmount: number | null;
|
|
538
538
|
boosted: boolean | null;
|
|
539
539
|
boostingAmount: number | null;
|
|
@@ -668,7 +668,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
668
668
|
suitabilityReason: string | null;
|
|
669
669
|
proposal: string | null;
|
|
670
670
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
671
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won" | null;
|
|
671
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
672
672
|
biddingAmount: number | null;
|
|
673
673
|
boosted: boolean | null;
|
|
674
674
|
boostingAmount: number | null;
|
|
@@ -819,7 +819,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
819
819
|
suitabilityReason: string | null;
|
|
820
820
|
proposal: string | null;
|
|
821
821
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
822
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won" | null;
|
|
822
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
823
823
|
biddingAmount: number | null;
|
|
824
824
|
boosted: boolean | null;
|
|
825
825
|
boostingAmount: number | null;
|
|
@@ -964,7 +964,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
964
964
|
suitabilityReason: string | null;
|
|
965
965
|
proposal: string | null;
|
|
966
966
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
967
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won" | null;
|
|
967
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
|
|
968
968
|
biddingAmount: number | null;
|
|
969
969
|
boosted: boolean | null;
|
|
970
970
|
boostingAmount: number | null;
|