lancer-shared 1.2.276 → 1.2.278

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.
@@ -6578,6 +6578,9 @@ const proxySchema = z.object({
6578
6578
  username: z.string(),
6579
6579
  password: z.string(),
6580
6580
  provider: proxyProviderSchema,
6581
+ ip: z.string(),
6582
+ oldIds: z.array(z.string()).nullable(),
6583
+ oldAccounts: z.array(z.string()).nullable(),
6581
6584
  fraudScore: z.number().nullable(),
6582
6585
  claimedCountry: proxyCountryEnum,
6583
6586
  status: proxyStatusSchema.nullable(),
@@ -6624,6 +6627,7 @@ const bidderAccountSchema = z.object({
6624
6627
  lastUsed: z.number().nullable(),
6625
6628
  multiLoginProfileId: z.string().nullable(),
6626
6629
  proxyId: z.string().nullable(),
6630
+ newProxyId: z.string().nullable(),
6627
6631
  profilePhotoUrl: z.string().nullable(),
6628
6632
  name: z.string().nullable(),
6629
6633
  agencies: z.array(bidderAccountAgencySchema).nullable(),
@@ -6833,6 +6837,7 @@ const leadBiddingConfigSchema = z.object({
6833
6837
  'match_job_budget',
6834
6838
  'match_profile_rate',
6835
6839
  'fixed_rate',
6840
+ 'smart_bidding',
6836
6841
  ]),
6837
6842
  biddingHourlyRatePercentage: z.number().nullable(),
6838
6843
  biddingFixedHourlyRate: z.number().nullable(),
@@ -7256,11 +7261,13 @@ const campaignStatusSchema = z.union([
7256
7261
  z.literal('draft'),
7257
7262
  z.literal('paused'),
7258
7263
  z.literal('error'),
7264
+ z.literal('archived'),
7259
7265
  ]);
7260
7266
  const biddingHourlyRateStrategyEnum = z.enum([
7261
7267
  'match_job_budget',
7262
7268
  'match_profile_rate',
7263
7269
  'fixed_rate',
7270
+ 'smart_bidding',
7264
7271
  ]);
7265
7272
  const weekDaysEnum = z.enum([
7266
7273
  'monday',
@@ -7292,6 +7299,7 @@ const campaignSchema = z.object({
7292
7299
  filters: jobFiltersSchema,
7293
7300
  createdAt: z.number(),
7294
7301
  updatedAt: z.number(),
7302
+ archivedAt: z.number().nullable(),
7295
7303
  confirmedBillingAt: z.number().nullable(),
7296
7304
  boostingEnabled: z.boolean().nullable().default(false),
7297
7305
  maximumBoost: z.number().nullable().default(30),
@@ -7410,7 +7418,7 @@ const baseActivitySchema = z.object({
7410
7418
  });
7411
7419
  const campaignStatusActivityExtraSchema = z.object({
7412
7420
  type: z.literal('campaign_status'),
7413
- status: z.enum(['started', 'paused', 'created', 'error']),
7421
+ status: z.enum(['started', 'paused', 'created', 'error', 'archived']),
7414
7422
  creditBalance: z.number(),
7415
7423
  });
7416
7424
  const campaignStatusActivitySchema = baseActivitySchema.extend({