lancer-shared 1.2.142 → 1.2.143

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.
@@ -12964,6 +12964,7 @@ const biddingHourlyRateStrategy = z.enum([
12964
12964
  'match_profile_rate',
12965
12965
  'fixed_rate',
12966
12966
  ]);
12967
+ const bidWithWarningEnum = z.enum(['bid', 'skip']);
12967
12968
  const campaignSchema = z.object({
12968
12969
  id: z.string(),
12969
12970
  name: z.string(),
@@ -12981,6 +12982,7 @@ const campaignSchema = z.object({
12981
12982
  biddingDelayInMinutes: z.number().default(5),
12982
12983
  biddingHourlyRateStrategy: biddingHourlyRateStrategy,
12983
12984
  biddingFixedHourlyRate: z.number().nullable(),
12985
+ bidWithWarning: bidWithWarningEnum,
12984
12986
  leadCounts: z.record(leadStatusSchema, z.number()).nullable(),
12985
12987
  expenses: campaignExpensesSchema,
12986
12988
  notificationsEnabled: z.boolean().nullable(),
@@ -14673,6 +14675,7 @@ exports.bidPayloadProposalDataSchema = bidPayloadProposalDataSchema;
14673
14675
  exports.bidPayloadSchema = bidPayloadSchema;
14674
14676
  exports.bidRangeSchema = bidRangeSchema;
14675
14677
  exports.bidSuccessSchema = bidSuccessSchema;
14678
+ exports.bidWithWarningEnum = bidWithWarningEnum;
14676
14679
  exports.bidderAccountAgencySchema = bidderAccountAgencySchema;
14677
14680
  exports.bidderAccountAlreadyConnectedException = bidderAccountAlreadyConnectedException;
14678
14681
  exports.bidderAccountProvider = bidderAccountProvider;
@@ -19,6 +19,7 @@ export declare const bidConfigSchema: z.ZodObject<{
19
19
  }>;
20
20
  export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>;
21
21
  export declare const biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
22
+ export declare const bidWithWarningEnum: z.ZodEnum<["bid", "skip"]>;
22
23
  export declare const campaignSchema: z.ZodObject<{
23
24
  id: z.ZodString;
24
25
  name: z.ZodString;
@@ -259,6 +260,7 @@ export declare const campaignSchema: z.ZodObject<{
259
260
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
260
261
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
261
262
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
263
+ bidWithWarning: z.ZodEnum<["bid", "skip"]>;
262
264
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
263
265
  expenses: z.ZodObject<{
264
266
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -376,6 +378,7 @@ export declare const campaignSchema: z.ZodObject<{
376
378
  biddingDelayInMinutes: number;
377
379
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
378
380
  biddingFixedHourlyRate: number | null;
381
+ bidWithWarning: "bid" | "skip";
379
382
  leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
380
383
  expenses: {
381
384
  biddingAmount: number;
@@ -459,6 +462,7 @@ export declare const campaignSchema: z.ZodObject<{
459
462
  monthlyBudget: number | null;
460
463
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
461
464
  biddingFixedHourlyRate: number | null;
465
+ bidWithWarning: "bid" | "skip";
462
466
  leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
463
467
  expenses: {
464
468
  biddingAmount?: number | undefined;
@@ -746,6 +750,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
746
750
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
747
751
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
748
752
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
753
+ bidWithWarning: z.ZodEnum<["bid", "skip"]>;
749
754
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
750
755
  expenses: z.ZodObject<{
751
756
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -860,6 +865,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
860
865
  biddingDelayInMinutes: number;
861
866
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
862
867
  biddingFixedHourlyRate: number | null;
868
+ bidWithWarning: "bid" | "skip";
863
869
  leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
864
870
  expenses: {
865
871
  biddingAmount: number;
@@ -934,6 +940,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
934
940
  monthlyBudget: number | null;
935
941
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
936
942
  biddingFixedHourlyRate: number | null;
943
+ bidWithWarning: "bid" | "skip";
937
944
  leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
938
945
  expenses: {
939
946
  biddingAmount?: number | undefined;
@@ -1195,6 +1202,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1195
1202
  biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1196
1203
  biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>>;
1197
1204
  biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1205
+ bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
1198
1206
  leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>>;
1199
1207
  expenses: z.ZodOptional<z.ZodObject<{
1200
1208
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1310,6 +1318,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1310
1318
  biddingDelayInMinutes?: number | undefined;
1311
1319
  biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
1312
1320
  biddingFixedHourlyRate?: number | null | undefined;
1321
+ bidWithWarning?: "bid" | "skip" | undefined;
1313
1322
  leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null | undefined;
1314
1323
  expenses?: {
1315
1324
  biddingAmount: number;
@@ -1395,6 +1404,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1395
1404
  biddingDelayInMinutes?: number | undefined;
1396
1405
  biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
1397
1406
  biddingFixedHourlyRate?: number | null | undefined;
1407
+ bidWithWarning?: "bid" | "skip" | undefined;
1398
1408
  leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null | undefined;
1399
1409
  expenses?: {
1400
1410
  biddingAmount?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.142",
3
+ "version": "1.2.143",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",