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.
@@ -6837,6 +6837,7 @@ const leadBiddingConfigSchema = z.object({
6837
6837
  'match_job_budget',
6838
6838
  'match_profile_rate',
6839
6839
  'fixed_rate',
6840
+ 'smart_bidding',
6840
6841
  ]),
6841
6842
  biddingHourlyRatePercentage: z.number().nullable(),
6842
6843
  biddingFixedHourlyRate: z.number().nullable(),
@@ -7260,11 +7261,13 @@ const campaignStatusSchema = z.union([
7260
7261
  z.literal('draft'),
7261
7262
  z.literal('paused'),
7262
7263
  z.literal('error'),
7264
+ z.literal('archived'),
7263
7265
  ]);
7264
7266
  const biddingHourlyRateStrategyEnum = z.enum([
7265
7267
  'match_job_budget',
7266
7268
  'match_profile_rate',
7267
7269
  'fixed_rate',
7270
+ 'smart_bidding',
7268
7271
  ]);
7269
7272
  const weekDaysEnum = z.enum([
7270
7273
  'monday',
@@ -7296,6 +7299,7 @@ const campaignSchema = z.object({
7296
7299
  filters: jobFiltersSchema,
7297
7300
  createdAt: z.number(),
7298
7301
  updatedAt: z.number(),
7302
+ archivedAt: z.number().nullable(),
7299
7303
  confirmedBillingAt: z.number().nullable(),
7300
7304
  boostingEnabled: z.boolean().nullable().default(false),
7301
7305
  maximumBoost: z.number().nullable().default(30),
@@ -7414,7 +7418,7 @@ const baseActivitySchema = z.object({
7414
7418
  });
7415
7419
  const campaignStatusActivityExtraSchema = z.object({
7416
7420
  type: z.literal('campaign_status'),
7417
- status: z.enum(['started', 'paused', 'created', 'error']),
7421
+ status: z.enum(['started', 'paused', 'created', 'error', 'archived']),
7418
7422
  creditBalance: z.number(),
7419
7423
  });
7420
7424
  const campaignStatusActivitySchema = baseActivitySchema.extend({