lancer-shared 1.2.290 → 1.2.292

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.
@@ -7260,11 +7260,13 @@ const campaignExpensesSchema = z.object({
7260
7260
  boosted: z.number().default(0),
7261
7261
  });
7262
7262
 
7263
+ const bidAsEnum = z.enum(['agency', 'freelancer']);
7263
7264
  const bidConfigSchema = z.object({
7264
7265
  agencyName: z.string().nullable(),
7265
7266
  bidderId: z.string().nullable(),
7266
7267
  contractorName: z.string().nullable(),
7267
7268
  specialisedProfile: z.string().nullable(),
7269
+ bidAs: bidAsEnum.nullable(),
7268
7270
  });
7269
7271
  const campaignStatusSchema = z.union([
7270
7272
  z.literal('active'),
@@ -15349,6 +15351,7 @@ const ROUTES = {
15349
15351
  BY_PROVIDER_AND_ID: (provider, id) => `admin/bidder-accounts/${provider}/${id}`,
15350
15352
  REFRESH_PROXY: (bidderId) => `admin/bidder-accounts/${bidderId}/refresh-proxy`,
15351
15353
  AGENCIES: 'admin/bidder-accounts/agencies',
15354
+ ASSIGN_IPROYAL_PROXY: (bidderId) => `admin/bidder-accounts/${bidderId}/assign-iproyal-proxy`,
15352
15355
  },
15353
15356
  SCRAPER_ACCOUNTS: {
15354
15357
  BASE: 'admin/scraper-accounts',
@@ -24234,6 +24237,7 @@ exports.agentStatusSchema = agentStatusSchema;
24234
24237
  exports.agentTaskResponseSchema = agentTaskResponseSchema;
24235
24238
  exports.aiConfigSchema = aiConfigSchema;
24236
24239
  exports.alreadyHiredActionEnum = alreadyHiredActionEnum;
24240
+ exports.bidAsEnum = bidAsEnum;
24237
24241
  exports.bidConfigSchema = bidConfigSchema;
24238
24242
  exports.bidDtoSchema = bidDtoSchema;
24239
24243
  exports.bidFailedSchema = bidFailedSchema;