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