lancer-shared 1.2.277 → 1.2.279
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 +5 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +5 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +7 -7
- package/dist/schemas/bidder/bid.d.ts +86 -86
- package/dist/schemas/campaign/campaign-analytics.d.ts +60 -52
- package/dist/schemas/campaign/campaign.d.ts +29 -20
- package/dist/schemas/dashboard/index.d.ts +8 -8
- package/dist/schemas/lead/index.d.ts +29 -29
- package/dist/schemas/plan/index.d.ts +2 -2
- package/dist/schemas/scraper/scrape-payload.d.ts +22 -17
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -6839,6 +6839,7 @@ const leadBiddingConfigSchema = z.object({
|
|
|
6839
6839
|
'match_job_budget',
|
|
6840
6840
|
'match_profile_rate',
|
|
6841
6841
|
'fixed_rate',
|
|
6842
|
+
'smart_bidding',
|
|
6842
6843
|
]),
|
|
6843
6844
|
biddingHourlyRatePercentage: z.number().nullable(),
|
|
6844
6845
|
biddingFixedHourlyRate: z.number().nullable(),
|
|
@@ -7262,11 +7263,13 @@ const campaignStatusSchema = z.union([
|
|
|
7262
7263
|
z.literal('draft'),
|
|
7263
7264
|
z.literal('paused'),
|
|
7264
7265
|
z.literal('error'),
|
|
7266
|
+
z.literal('archived'),
|
|
7265
7267
|
]);
|
|
7266
7268
|
const biddingHourlyRateStrategyEnum = z.enum([
|
|
7267
7269
|
'match_job_budget',
|
|
7268
7270
|
'match_profile_rate',
|
|
7269
7271
|
'fixed_rate',
|
|
7272
|
+
'smart_bidding',
|
|
7270
7273
|
]);
|
|
7271
7274
|
const weekDaysEnum = z.enum([
|
|
7272
7275
|
'monday',
|
|
@@ -7298,6 +7301,7 @@ const campaignSchema = z.object({
|
|
|
7298
7301
|
filters: jobFiltersSchema,
|
|
7299
7302
|
createdAt: z.number(),
|
|
7300
7303
|
updatedAt: z.number(),
|
|
7304
|
+
archivedAt: z.number().nullable(),
|
|
7301
7305
|
confirmedBillingAt: z.number().nullable(),
|
|
7302
7306
|
boostingEnabled: z.boolean().nullable().default(false),
|
|
7303
7307
|
maximumBoost: z.number().nullable().default(30),
|
|
@@ -7416,7 +7420,7 @@ const baseActivitySchema = z.object({
|
|
|
7416
7420
|
});
|
|
7417
7421
|
const campaignStatusActivityExtraSchema = z.object({
|
|
7418
7422
|
type: z.literal('campaign_status'),
|
|
7419
|
-
status: z.enum(['started', 'paused', 'created', 'error']),
|
|
7423
|
+
status: z.enum(['started', 'paused', 'created', 'error', 'archived']),
|
|
7420
7424
|
creditBalance: z.number(),
|
|
7421
7425
|
});
|
|
7422
7426
|
const campaignStatusActivitySchema = baseActivitySchema.extend({
|