lancer-shared 1.2.277 → 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.
@@ -684,6 +684,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
684
684
  }>;
685
685
  createdAt: z.ZodNumber;
686
686
  updatedAt: z.ZodNumber;
687
+ archivedAt: z.ZodNullable<z.ZodNumber>;
687
688
  confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
688
689
  boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
689
690
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
@@ -694,7 +695,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
694
695
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
695
696
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
696
697
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
697
- biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
698
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate", "smart_bidding"]>;
698
699
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
699
700
  alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
700
701
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
@@ -714,7 +715,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
714
715
  boostingAmount?: number | undefined;
715
716
  }>;
716
717
  notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
717
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>;
718
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>;
718
719
  bidConfig: z.ZodNullable<z.ZodObject<{
719
720
  agencyName: z.ZodNullable<z.ZodString>;
720
721
  bidderId: z.ZodNullable<z.ZodString>;
@@ -807,7 +808,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
807
808
  coverLetterTemplateId: string | null;
808
809
  biddingDelayInMinutes: number;
809
810
  bidWithWarning: "bid" | "skip";
810
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
811
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
811
812
  biddingHourlyRatePercentage: number | null;
812
813
  biddingFixedHourlyRate: number | null;
813
814
  boostingEnabled: boolean | null;
@@ -883,6 +884,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
883
884
  totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
884
885
  averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
885
886
  };
887
+ archivedAt: number | null;
886
888
  confirmedBillingAt: number | null;
887
889
  monthlyBudget: number | null;
888
890
  boostingThreshold: number | null;
@@ -916,7 +918,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
916
918
  }[];
917
919
  timezone: string | null;
918
920
  };
919
- status?: "error" | "active" | "paused" | "draft" | undefined;
921
+ status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
920
922
  }, {
921
923
  id: string;
922
924
  priority: number | null;
@@ -925,7 +927,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
925
927
  updatedAt: number;
926
928
  coverLetterTemplateId: string | null;
927
929
  bidWithWarning: "bid" | "skip";
928
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
930
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
929
931
  biddingHourlyRatePercentage: number | null;
930
932
  biddingFixedHourlyRate: number | null;
931
933
  boostDownToNthPlace: number | null;
@@ -998,6 +1000,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
998
1000
  totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
999
1001
  averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1000
1002
  };
1003
+ archivedAt: number | null;
1001
1004
  confirmedBillingAt: number | null;
1002
1005
  monthlyBudget: number | null;
1003
1006
  leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
@@ -1030,7 +1033,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1030
1033
  }[];
1031
1034
  timezone: string | null;
1032
1035
  };
1033
- status?: "error" | "active" | "paused" | "draft" | undefined;
1036
+ status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
1034
1037
  biddingDelayInMinutes?: number | undefined;
1035
1038
  boostingEnabled?: boolean | null | undefined;
1036
1039
  maximumBoost?: number | null | undefined;
@@ -1734,7 +1737,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1734
1737
  appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
1735
1738
  biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
1736
1739
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
1737
- biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
1740
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate", "smart_bidding"]>;
1738
1741
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
1739
1742
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
1740
1743
  boostingEnabled: z.ZodNullable<z.ZodBoolean>;
@@ -1761,7 +1764,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1761
1764
  biddingDelayInMinutes: number | null;
1762
1765
  appliedFromQueue: boolean | null;
1763
1766
  bidWithWarning: "bid" | "skip";
1764
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1767
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
1765
1768
  biddingHourlyRatePercentage: number | null;
1766
1769
  biddingFixedHourlyRate: number | null;
1767
1770
  boostingEnabled: boolean | null;
@@ -1780,7 +1783,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1780
1783
  biddingDelayInMinutes: number | null;
1781
1784
  appliedFromQueue: boolean | null;
1782
1785
  bidWithWarning: "bid" | "skip";
1783
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1786
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
1784
1787
  biddingHourlyRatePercentage: number | null;
1785
1788
  biddingFixedHourlyRate: number | null;
1786
1789
  boostingEnabled: boolean | null;
@@ -1923,7 +1926,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1923
1926
  biddingDelayInMinutes: number | null;
1924
1927
  appliedFromQueue: boolean | null;
1925
1928
  bidWithWarning: "bid" | "skip";
1926
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1929
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
1927
1930
  biddingHourlyRatePercentage: number | null;
1928
1931
  biddingFixedHourlyRate: number | null;
1929
1932
  boostingEnabled: boolean | null;
@@ -2088,7 +2091,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2088
2091
  biddingDelayInMinutes: number | null;
2089
2092
  appliedFromQueue: boolean | null;
2090
2093
  bidWithWarning: "bid" | "skip";
2091
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2094
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
2092
2095
  biddingHourlyRatePercentage: number | null;
2093
2096
  biddingFixedHourlyRate: number | null;
2094
2097
  boostingEnabled: boolean | null;
@@ -2432,7 +2435,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2432
2435
  biddingDelayInMinutes: number | null;
2433
2436
  appliedFromQueue: boolean | null;
2434
2437
  bidWithWarning: "bid" | "skip";
2435
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2438
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
2436
2439
  biddingHourlyRatePercentage: number | null;
2437
2440
  biddingFixedHourlyRate: number | null;
2438
2441
  boostingEnabled: boolean | null;
@@ -2481,7 +2484,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2481
2484
  coverLetterTemplateId: string | null;
2482
2485
  biddingDelayInMinutes: number;
2483
2486
  bidWithWarning: "bid" | "skip";
2484
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2487
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
2485
2488
  biddingHourlyRatePercentage: number | null;
2486
2489
  biddingFixedHourlyRate: number | null;
2487
2490
  boostingEnabled: boolean | null;
@@ -2557,6 +2560,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2557
2560
  totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
2558
2561
  averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
2559
2562
  };
2563
+ archivedAt: number | null;
2560
2564
  confirmedBillingAt: number | null;
2561
2565
  monthlyBudget: number | null;
2562
2566
  boostingThreshold: number | null;
@@ -2590,7 +2594,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2590
2594
  }[];
2591
2595
  timezone: string | null;
2592
2596
  };
2593
- status?: "error" | "active" | "paused" | "draft" | undefined;
2597
+ status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
2594
2598
  };
2595
2599
  bidder: {
2596
2600
  id: string;
@@ -2816,7 +2820,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2816
2820
  biddingDelayInMinutes: number | null;
2817
2821
  appliedFromQueue: boolean | null;
2818
2822
  bidWithWarning: "bid" | "skip";
2819
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2823
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
2820
2824
  biddingHourlyRatePercentage: number | null;
2821
2825
  biddingFixedHourlyRate: number | null;
2822
2826
  boostingEnabled: boolean | null;
@@ -2864,7 +2868,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2864
2868
  updatedAt: number;
2865
2869
  coverLetterTemplateId: string | null;
2866
2870
  bidWithWarning: "bid" | "skip";
2867
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2871
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
2868
2872
  biddingHourlyRatePercentage: number | null;
2869
2873
  biddingFixedHourlyRate: number | null;
2870
2874
  boostDownToNthPlace: number | null;
@@ -2937,6 +2941,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2937
2941
  totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
2938
2942
  averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
2939
2943
  };
2944
+ archivedAt: number | null;
2940
2945
  confirmedBillingAt: number | null;
2941
2946
  monthlyBudget: number | null;
2942
2947
  leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
@@ -2969,7 +2974,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2969
2974
  }[];
2970
2975
  timezone: string | null;
2971
2976
  };
2972
- status?: "error" | "active" | "paused" | "draft" | undefined;
2977
+ status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
2973
2978
  biddingDelayInMinutes?: number | undefined;
2974
2979
  boostingEnabled?: boolean | null | undefined;
2975
2980
  maximumBoost?: number | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.277",
3
+ "version": "1.2.278",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",