lancer-shared 1.2.140 → 1.2.142

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.
@@ -6532,7 +6532,7 @@ const ROUTES = {
6532
6532
  BASE: (id) => `organizations/${id}/onboarding`,
6533
6533
  PROGRESS: (id) => `organizations/${id}/onboarding/progress`,
6534
6534
  },
6535
- AI_CONFIG: (id) => `organizations/${id}/settings/ai-config`,
6535
+ AI_CONFIG: (id) => `organizations/${id}/settings/ai-config-v2`,
6536
6536
  COVER_LETTER: {
6537
6537
  BASE: (id) => `organizations/${id}/cover-letter`,
6538
6538
  BY_ID: (id, coverLetterId) => `organizations/${id}/cover-letter/${coverLetterId}`,
@@ -6689,6 +6689,10 @@ const bidderAccountProviderDisplayMap = {
6689
6689
  'user-provided': 'User Provided',
6690
6690
  };
6691
6691
 
6692
+ const planSlugToNameMap = {
6693
+ "lancer-unlimited-launch-offer": "Lancer Unlimited - Launch Offer",
6694
+ };
6695
+
6692
6696
  var util;
6693
6697
  (function (util) {
6694
6698
  util.assertEqual = (val) => val;
@@ -12738,6 +12742,14 @@ const getCampaignLeadsRequestQuerySchema = z.object({
12738
12742
  .enum(['all', 'suitable', 'contacted', 'viewed', 'replied'])
12739
12743
  .optional(),
12740
12744
  });
12745
+ const getCampaignLeadsResponseSchema = z.object({
12746
+ data: z.array(leadSchema),
12747
+ pagination: z.object({
12748
+ hasMore: booleanType(),
12749
+ nextCursor: z.string().nullable(),
12750
+ limit: z.number(),
12751
+ }),
12752
+ });
12741
12753
  const generateLeadCountsRequestSchema = z.object({
12742
12754
  filters: z.custom().optional(),
12743
12755
  campaignId: z.string().optional(),
@@ -12906,6 +12918,7 @@ const questionRulesSchema = objectType({
12906
12918
  question: stringType(),
12907
12919
  answer: stringType(),
12908
12920
  category: stringType(),
12921
+ type: stringType(),
12909
12922
  });
12910
12923
  const aiConfigSchema = objectType({
12911
12924
  questionHandling: z.string().nullable(),
@@ -14042,13 +14055,26 @@ class ScrapeJobDetailsException extends Error {
14042
14055
  const scrapeJobDetailsException = (jobListing) => {
14043
14056
  return new ScrapeJobDetailsException(jobListing);
14044
14057
  };
14058
+ class ScraperAccountProxyNotFoundException extends Error {
14059
+ scraperAccountId;
14060
+ proxyId;
14061
+ code = "SCRAPER_ACCOUNT_PROXY_NOT_FOUND";
14062
+ constructor(scraperAccountId, proxyId, message = "Scraper account proxy not found.") {
14063
+ super(message);
14064
+ this.scraperAccountId = scraperAccountId;
14065
+ this.proxyId = proxyId;
14066
+ }
14067
+ }
14068
+ const scraperAccountProxyNotFoundException = (scraperAccountId, proxyId, message) => {
14069
+ return new ScraperAccountProxyNotFoundException(scraperAccountId, proxyId, message);
14070
+ };
14045
14071
 
14046
14072
  const systemPromptSchema = objectType({
14047
14073
  suitability: stringType(),
14048
- proposal: stringType(),
14074
+ // proposal: string(),
14049
14075
  proposalQuestions: stringType(),
14050
14076
  proposalNoQuestions: stringType(),
14051
- questionHandlingGuidelines: stringType(),
14077
+ // questionHandlingGuidelines: string(),
14052
14078
  });
14053
14079
  const systemSchema = objectType({
14054
14080
  prompts: systemPromptSchema,
@@ -14620,6 +14646,7 @@ exports.PuppeteerConnectionErrorException = PuppeteerConnectionErrorException;
14620
14646
  exports.QuestionPairNotMatchingException = QuestionPairNotMatchingException;
14621
14647
  exports.ROUTES = ROUTES;
14622
14648
  exports.ScrapeJobDetailsException = ScrapeJobDetailsException;
14649
+ exports.ScraperAccountProxyNotFoundException = ScraperAccountProxyNotFoundException;
14623
14650
  exports.SelectAgencyException = SelectAgencyException;
14624
14651
  exports.SelectContractorException = SelectContractorException;
14625
14652
  exports.SelectorNotFoundError = SelectorNotFoundError;
@@ -14722,6 +14749,7 @@ exports.freelancerBidProposalDataSchema = freelancerBidProposalDataSchema;
14722
14749
  exports.generateLeadCountsRequestSchema = generateLeadCountsRequestSchema;
14723
14750
  exports.generateSlug = generateSlug;
14724
14751
  exports.getCampaignLeadsRequestQuerySchema = getCampaignLeadsRequestQuerySchema;
14752
+ exports.getCampaignLeadsResponseSchema = getCampaignLeadsResponseSchema;
14725
14753
  exports.getMultiloginBrowserException = getMultiloginBrowserException;
14726
14754
  exports.getNextStatus = getNextStatus;
14727
14755
  exports.getPreviousStatus = getPreviousStatus;
@@ -14800,6 +14828,7 @@ exports.periodTypeSchema = periodTypeSchema;
14800
14828
  exports.periodUsageSchema = periodUsageSchema;
14801
14829
  exports.planFeatureSchema = planFeatureSchema;
14802
14830
  exports.planSchema = planSchema;
14831
+ exports.planSlugToNameMap = planSlugToNameMap;
14803
14832
  exports.planStripeMetadataSchema = planStripeMetadataSchema;
14804
14833
  exports.pluralize = pluralize;
14805
14834
  exports.portfolioSchema = portfolioSchema;
@@ -14848,6 +14877,7 @@ exports.scrapePayloadSchema = scrapePayloadSchema;
14848
14877
  exports.scrapeResultSchema = scrapeResultSchema;
14849
14878
  exports.scrapeUserProfileRequestSchema = scrapeUserProfileRequestSchema;
14850
14879
  exports.scraperAccountErrorEventMetadata = scraperAccountErrorEventMetadata;
14880
+ exports.scraperAccountProxyNotFoundException = scraperAccountProxyNotFoundException;
14851
14881
  exports.scraperAccountRegionEnum = scraperAccountRegionEnum;
14852
14882
  exports.scraperAccountSchema = scraperAccountSchema;
14853
14883
  exports.scraperAccountType = scraperAccountType;
@@ -6,3 +6,4 @@ export { default as countryMapping } from "./mappings/countryMapping";
6
6
  export { default as regionMapping } from "./mappings/regionMapping";
7
7
  export * from "./routes";
8
8
  export * from "./upwork-accounts";
9
+ export * from "./plan";
@@ -0,0 +1,3 @@
1
+ export declare const planSlugToNameMap: {
2
+ readonly "lancer-unlimited-launch-offer": "Lancer Unlimited - Launch Offer";
3
+ };
@@ -322,6 +322,48 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
322
322
  updatedAt: z.ZodNumber;
323
323
  openRouterApiKey: z.ZodNullable<z.ZodString>;
324
324
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
325
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
326
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
327
+ paidAt: z.ZodOptional<z.ZodNumber>;
328
+ amount: z.ZodOptional<z.ZodNumber>;
329
+ currency: z.ZodOptional<z.ZodString>;
330
+ status: z.ZodString;
331
+ paymentIntentId: z.ZodOptional<z.ZodString>;
332
+ error: z.ZodOptional<z.ZodString>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ status: string;
335
+ paidAt?: number | undefined;
336
+ amount?: number | undefined;
337
+ currency?: string | undefined;
338
+ paymentIntentId?: string | undefined;
339
+ error?: string | undefined;
340
+ }, {
341
+ status: string;
342
+ paidAt?: number | undefined;
343
+ amount?: number | undefined;
344
+ currency?: string | undefined;
345
+ paymentIntentId?: string | undefined;
346
+ error?: string | undefined;
347
+ }>>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ usBidderAccountPayment?: {
350
+ status: string;
351
+ paidAt?: number | undefined;
352
+ amount?: number | undefined;
353
+ currency?: string | undefined;
354
+ paymentIntentId?: string | undefined;
355
+ error?: string | undefined;
356
+ } | undefined;
357
+ }, {
358
+ usBidderAccountPayment?: {
359
+ status: string;
360
+ paidAt?: number | undefined;
361
+ amount?: number | undefined;
362
+ currency?: string | undefined;
363
+ paymentIntentId?: string | undefined;
364
+ error?: string | undefined;
365
+ } | undefined;
366
+ }>>;
325
367
  }, "id" | "name">, "strip", z.ZodTypeAny, {
326
368
  id: string;
327
369
  name: string;
@@ -566,6 +608,9 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
566
608
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
567
609
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
568
610
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
611
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
612
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
613
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
569
614
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
570
615
  expenses: z.ZodObject<{
571
616
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -827,6 +872,48 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
827
872
  updatedAt: z.ZodNumber;
828
873
  openRouterApiKey: z.ZodNullable<z.ZodString>;
829
874
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
875
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
876
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
877
+ paidAt: z.ZodOptional<z.ZodNumber>;
878
+ amount: z.ZodOptional<z.ZodNumber>;
879
+ currency: z.ZodOptional<z.ZodString>;
880
+ status: z.ZodString;
881
+ paymentIntentId: z.ZodOptional<z.ZodString>;
882
+ error: z.ZodOptional<z.ZodString>;
883
+ }, "strip", z.ZodTypeAny, {
884
+ status: string;
885
+ paidAt?: number | undefined;
886
+ amount?: number | undefined;
887
+ currency?: string | undefined;
888
+ paymentIntentId?: string | undefined;
889
+ error?: string | undefined;
890
+ }, {
891
+ status: string;
892
+ paidAt?: number | undefined;
893
+ amount?: number | undefined;
894
+ currency?: string | undefined;
895
+ paymentIntentId?: string | undefined;
896
+ error?: string | undefined;
897
+ }>>;
898
+ }, "strip", z.ZodTypeAny, {
899
+ usBidderAccountPayment?: {
900
+ status: string;
901
+ paidAt?: number | undefined;
902
+ amount?: number | undefined;
903
+ currency?: string | undefined;
904
+ paymentIntentId?: string | undefined;
905
+ error?: string | undefined;
906
+ } | undefined;
907
+ }, {
908
+ usBidderAccountPayment?: {
909
+ status: string;
910
+ paidAt?: number | undefined;
911
+ amount?: number | undefined;
912
+ currency?: string | undefined;
913
+ paymentIntentId?: string | undefined;
914
+ error?: string | undefined;
915
+ } | undefined;
916
+ }>>;
830
917
  }, "id" | "name">, "strip", z.ZodTypeAny, {
831
918
  id: string;
832
919
  name: string;
@@ -1071,6 +1158,9 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1071
1158
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1072
1159
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
1073
1160
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1161
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
1162
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
1163
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
1074
1164
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
1075
1165
  expenses: z.ZodObject<{
1076
1166
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1683,6 +1773,48 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
1683
1773
  updatedAt: z.ZodNumber;
1684
1774
  openRouterApiKey: z.ZodNullable<z.ZodString>;
1685
1775
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
1776
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
1777
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
1778
+ paidAt: z.ZodOptional<z.ZodNumber>;
1779
+ amount: z.ZodOptional<z.ZodNumber>;
1780
+ currency: z.ZodOptional<z.ZodString>;
1781
+ status: z.ZodString;
1782
+ paymentIntentId: z.ZodOptional<z.ZodString>;
1783
+ error: z.ZodOptional<z.ZodString>;
1784
+ }, "strip", z.ZodTypeAny, {
1785
+ status: string;
1786
+ paidAt?: number | undefined;
1787
+ amount?: number | undefined;
1788
+ currency?: string | undefined;
1789
+ paymentIntentId?: string | undefined;
1790
+ error?: string | undefined;
1791
+ }, {
1792
+ status: string;
1793
+ paidAt?: number | undefined;
1794
+ amount?: number | undefined;
1795
+ currency?: string | undefined;
1796
+ paymentIntentId?: string | undefined;
1797
+ error?: string | undefined;
1798
+ }>>;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ usBidderAccountPayment?: {
1801
+ status: string;
1802
+ paidAt?: number | undefined;
1803
+ amount?: number | undefined;
1804
+ currency?: string | undefined;
1805
+ paymentIntentId?: string | undefined;
1806
+ error?: string | undefined;
1807
+ } | undefined;
1808
+ }, {
1809
+ usBidderAccountPayment?: {
1810
+ status: string;
1811
+ paidAt?: number | undefined;
1812
+ amount?: number | undefined;
1813
+ currency?: string | undefined;
1814
+ paymentIntentId?: string | undefined;
1815
+ error?: string | undefined;
1816
+ } | undefined;
1817
+ }>>;
1686
1818
  }, "id" | "name">, "strip", z.ZodTypeAny, {
1687
1819
  id: string;
1688
1820
  name: string;
@@ -1927,6 +2059,9 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
1927
2059
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1928
2060
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
1929
2061
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2062
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
2063
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
2064
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
1930
2065
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
1931
2066
  expenses: z.ZodObject<{
1932
2067
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -2539,6 +2674,48 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
2539
2674
  updatedAt: z.ZodNumber;
2540
2675
  openRouterApiKey: z.ZodNullable<z.ZodString>;
2541
2676
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
2677
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
2678
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
2679
+ paidAt: z.ZodOptional<z.ZodNumber>;
2680
+ amount: z.ZodOptional<z.ZodNumber>;
2681
+ currency: z.ZodOptional<z.ZodString>;
2682
+ status: z.ZodString;
2683
+ paymentIntentId: z.ZodOptional<z.ZodString>;
2684
+ error: z.ZodOptional<z.ZodString>;
2685
+ }, "strip", z.ZodTypeAny, {
2686
+ status: string;
2687
+ paidAt?: number | undefined;
2688
+ amount?: number | undefined;
2689
+ currency?: string | undefined;
2690
+ paymentIntentId?: string | undefined;
2691
+ error?: string | undefined;
2692
+ }, {
2693
+ status: string;
2694
+ paidAt?: number | undefined;
2695
+ amount?: number | undefined;
2696
+ currency?: string | undefined;
2697
+ paymentIntentId?: string | undefined;
2698
+ error?: string | undefined;
2699
+ }>>;
2700
+ }, "strip", z.ZodTypeAny, {
2701
+ usBidderAccountPayment?: {
2702
+ status: string;
2703
+ paidAt?: number | undefined;
2704
+ amount?: number | undefined;
2705
+ currency?: string | undefined;
2706
+ paymentIntentId?: string | undefined;
2707
+ error?: string | undefined;
2708
+ } | undefined;
2709
+ }, {
2710
+ usBidderAccountPayment?: {
2711
+ status: string;
2712
+ paidAt?: number | undefined;
2713
+ amount?: number | undefined;
2714
+ currency?: string | undefined;
2715
+ paymentIntentId?: string | undefined;
2716
+ error?: string | undefined;
2717
+ } | undefined;
2718
+ }>>;
2542
2719
  }, "id" | "name">, "strip", z.ZodTypeAny, {
2543
2720
  id: string;
2544
2721
  name: string;
@@ -2783,6 +2960,9 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
2783
2960
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2784
2961
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
2785
2962
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2963
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
2964
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
2965
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
2786
2966
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
2787
2967
  expenses: z.ZodObject<{
2788
2968
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -3392,6 +3572,48 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3392
3572
  updatedAt: z.ZodNumber;
3393
3573
  openRouterApiKey: z.ZodNullable<z.ZodString>;
3394
3574
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
3575
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
3576
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
3577
+ paidAt: z.ZodOptional<z.ZodNumber>;
3578
+ amount: z.ZodOptional<z.ZodNumber>;
3579
+ currency: z.ZodOptional<z.ZodString>;
3580
+ status: z.ZodString;
3581
+ paymentIntentId: z.ZodOptional<z.ZodString>;
3582
+ error: z.ZodOptional<z.ZodString>;
3583
+ }, "strip", z.ZodTypeAny, {
3584
+ status: string;
3585
+ paidAt?: number | undefined;
3586
+ amount?: number | undefined;
3587
+ currency?: string | undefined;
3588
+ paymentIntentId?: string | undefined;
3589
+ error?: string | undefined;
3590
+ }, {
3591
+ status: string;
3592
+ paidAt?: number | undefined;
3593
+ amount?: number | undefined;
3594
+ currency?: string | undefined;
3595
+ paymentIntentId?: string | undefined;
3596
+ error?: string | undefined;
3597
+ }>>;
3598
+ }, "strip", z.ZodTypeAny, {
3599
+ usBidderAccountPayment?: {
3600
+ status: string;
3601
+ paidAt?: number | undefined;
3602
+ amount?: number | undefined;
3603
+ currency?: string | undefined;
3604
+ paymentIntentId?: string | undefined;
3605
+ error?: string | undefined;
3606
+ } | undefined;
3607
+ }, {
3608
+ usBidderAccountPayment?: {
3609
+ status: string;
3610
+ paidAt?: number | undefined;
3611
+ amount?: number | undefined;
3612
+ currency?: string | undefined;
3613
+ paymentIntentId?: string | undefined;
3614
+ error?: string | undefined;
3615
+ } | undefined;
3616
+ }>>;
3395
3617
  }, "id" | "name">, "strip", z.ZodTypeAny, {
3396
3618
  id: string;
3397
3619
  name: string;
@@ -3636,6 +3858,9 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3636
3858
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3637
3859
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
3638
3860
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3861
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
3862
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
3863
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
3639
3864
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
3640
3865
  expenses: z.ZodObject<{
3641
3866
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -3896,6 +4121,48 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3896
4121
  updatedAt: z.ZodNumber;
3897
4122
  openRouterApiKey: z.ZodNullable<z.ZodString>;
3898
4123
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
4124
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
4125
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
4126
+ paidAt: z.ZodOptional<z.ZodNumber>;
4127
+ amount: z.ZodOptional<z.ZodNumber>;
4128
+ currency: z.ZodOptional<z.ZodString>;
4129
+ status: z.ZodString;
4130
+ paymentIntentId: z.ZodOptional<z.ZodString>;
4131
+ error: z.ZodOptional<z.ZodString>;
4132
+ }, "strip", z.ZodTypeAny, {
4133
+ status: string;
4134
+ paidAt?: number | undefined;
4135
+ amount?: number | undefined;
4136
+ currency?: string | undefined;
4137
+ paymentIntentId?: string | undefined;
4138
+ error?: string | undefined;
4139
+ }, {
4140
+ status: string;
4141
+ paidAt?: number | undefined;
4142
+ amount?: number | undefined;
4143
+ currency?: string | undefined;
4144
+ paymentIntentId?: string | undefined;
4145
+ error?: string | undefined;
4146
+ }>>;
4147
+ }, "strip", z.ZodTypeAny, {
4148
+ usBidderAccountPayment?: {
4149
+ status: string;
4150
+ paidAt?: number | undefined;
4151
+ amount?: number | undefined;
4152
+ currency?: string | undefined;
4153
+ paymentIntentId?: string | undefined;
4154
+ error?: string | undefined;
4155
+ } | undefined;
4156
+ }, {
4157
+ usBidderAccountPayment?: {
4158
+ status: string;
4159
+ paidAt?: number | undefined;
4160
+ amount?: number | undefined;
4161
+ currency?: string | undefined;
4162
+ paymentIntentId?: string | undefined;
4163
+ error?: string | undefined;
4164
+ } | undefined;
4165
+ }>>;
3899
4166
  }, "id" | "name">, "strip", z.ZodTypeAny, {
3900
4167
  id: string;
3901
4168
  name: string;
@@ -4140,6 +4407,9 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4140
4407
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4141
4408
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
4142
4409
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4410
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
4411
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
4412
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
4143
4413
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
4144
4414
  expenses: z.ZodObject<{
4145
4415
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -4751,6 +5021,48 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4751
5021
  updatedAt: z.ZodNumber;
4752
5022
  openRouterApiKey: z.ZodNullable<z.ZodString>;
4753
5023
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
5024
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
5025
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
5026
+ paidAt: z.ZodOptional<z.ZodNumber>;
5027
+ amount: z.ZodOptional<z.ZodNumber>;
5028
+ currency: z.ZodOptional<z.ZodString>;
5029
+ status: z.ZodString;
5030
+ paymentIntentId: z.ZodOptional<z.ZodString>;
5031
+ error: z.ZodOptional<z.ZodString>;
5032
+ }, "strip", z.ZodTypeAny, {
5033
+ status: string;
5034
+ paidAt?: number | undefined;
5035
+ amount?: number | undefined;
5036
+ currency?: string | undefined;
5037
+ paymentIntentId?: string | undefined;
5038
+ error?: string | undefined;
5039
+ }, {
5040
+ status: string;
5041
+ paidAt?: number | undefined;
5042
+ amount?: number | undefined;
5043
+ currency?: string | undefined;
5044
+ paymentIntentId?: string | undefined;
5045
+ error?: string | undefined;
5046
+ }>>;
5047
+ }, "strip", z.ZodTypeAny, {
5048
+ usBidderAccountPayment?: {
5049
+ status: string;
5050
+ paidAt?: number | undefined;
5051
+ amount?: number | undefined;
5052
+ currency?: string | undefined;
5053
+ paymentIntentId?: string | undefined;
5054
+ error?: string | undefined;
5055
+ } | undefined;
5056
+ }, {
5057
+ usBidderAccountPayment?: {
5058
+ status: string;
5059
+ paidAt?: number | undefined;
5060
+ amount?: number | undefined;
5061
+ currency?: string | undefined;
5062
+ paymentIntentId?: string | undefined;
5063
+ error?: string | undefined;
5064
+ } | undefined;
5065
+ }>>;
4754
5066
  }, "id" | "name">, "strip", z.ZodTypeAny, {
4755
5067
  id: string;
4756
5068
  name: string;
@@ -4995,6 +5307,9 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4995
5307
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4996
5308
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
4997
5309
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5310
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
5311
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
5312
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
4998
5313
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
4999
5314
  expenses: z.ZodObject<{
5000
5315
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -5606,6 +5921,48 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5606
5921
  updatedAt: z.ZodNumber;
5607
5922
  openRouterApiKey: z.ZodNullable<z.ZodString>;
5608
5923
  appTrialEndsAt: z.ZodNullable<z.ZodNumber>;
5924
+ oneTimePayments: z.ZodOptional<z.ZodObject<{
5925
+ usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
5926
+ paidAt: z.ZodOptional<z.ZodNumber>;
5927
+ amount: z.ZodOptional<z.ZodNumber>;
5928
+ currency: z.ZodOptional<z.ZodString>;
5929
+ status: z.ZodString;
5930
+ paymentIntentId: z.ZodOptional<z.ZodString>;
5931
+ error: z.ZodOptional<z.ZodString>;
5932
+ }, "strip", z.ZodTypeAny, {
5933
+ status: string;
5934
+ paidAt?: number | undefined;
5935
+ amount?: number | undefined;
5936
+ currency?: string | undefined;
5937
+ paymentIntentId?: string | undefined;
5938
+ error?: string | undefined;
5939
+ }, {
5940
+ status: string;
5941
+ paidAt?: number | undefined;
5942
+ amount?: number | undefined;
5943
+ currency?: string | undefined;
5944
+ paymentIntentId?: string | undefined;
5945
+ error?: string | undefined;
5946
+ }>>;
5947
+ }, "strip", z.ZodTypeAny, {
5948
+ usBidderAccountPayment?: {
5949
+ status: string;
5950
+ paidAt?: number | undefined;
5951
+ amount?: number | undefined;
5952
+ currency?: string | undefined;
5953
+ paymentIntentId?: string | undefined;
5954
+ error?: string | undefined;
5955
+ } | undefined;
5956
+ }, {
5957
+ usBidderAccountPayment?: {
5958
+ status: string;
5959
+ paidAt?: number | undefined;
5960
+ amount?: number | undefined;
5961
+ currency?: string | undefined;
5962
+ paymentIntentId?: string | undefined;
5963
+ error?: string | undefined;
5964
+ } | undefined;
5965
+ }>>;
5609
5966
  }, "id" | "name">, "strip", z.ZodTypeAny, {
5610
5967
  id: string;
5611
5968
  name: string;
@@ -5850,6 +6207,9 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5850
6207
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5851
6208
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
5852
6209
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
6210
+ biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
6211
+ biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
6212
+ biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
5853
6213
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
5854
6214
  expenses: z.ZodObject<{
5855
6215
  biddingAmount: z.ZodDefault<z.ZodNumber>;