lancer-shared 1.2.290 → 1.2.291

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.
@@ -818,16 +818,19 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
818
818
  bidderId: z.ZodNullable<z.ZodString>;
819
819
  contractorName: z.ZodNullable<z.ZodString>;
820
820
  specialisedProfile: z.ZodNullable<z.ZodString>;
821
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
821
822
  }, "strip", z.ZodTypeAny, {
822
823
  contractorName: string | null;
823
824
  agencyName: string | null;
824
825
  specialisedProfile: string | null;
825
826
  bidderId: string | null;
827
+ bidAs: "agency" | "freelancer" | null;
826
828
  }, {
827
829
  contractorName: string | null;
828
830
  agencyName: string | null;
829
831
  specialisedProfile: string | null;
830
832
  bidderId: string | null;
833
+ bidAs: "agency" | "freelancer" | null;
831
834
  }>>;
832
835
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
833
836
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -1476,16 +1479,19 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1476
1479
  bidderId: z.ZodNullable<z.ZodString>;
1477
1480
  contractorName: z.ZodNullable<z.ZodString>;
1478
1481
  specialisedProfile: z.ZodNullable<z.ZodString>;
1482
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
1479
1483
  }, "strip", z.ZodTypeAny, {
1480
1484
  contractorName: string | null;
1481
1485
  agencyName: string | null;
1482
1486
  specialisedProfile: string | null;
1483
1487
  bidderId: string | null;
1488
+ bidAs: "agency" | "freelancer" | null;
1484
1489
  }, {
1485
1490
  contractorName: string | null;
1486
1491
  agencyName: string | null;
1487
1492
  specialisedProfile: string | null;
1488
1493
  bidderId: string | null;
1494
+ bidAs: "agency" | "freelancer" | null;
1489
1495
  }>>;
1490
1496
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
1491
1497
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -2565,16 +2571,19 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2565
2571
  bidderId: z.ZodNullable<z.ZodString>;
2566
2572
  contractorName: z.ZodNullable<z.ZodString>;
2567
2573
  specialisedProfile: z.ZodNullable<z.ZodString>;
2574
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
2568
2575
  }, "strip", z.ZodTypeAny, {
2569
2576
  contractorName: string | null;
2570
2577
  agencyName: string | null;
2571
2578
  specialisedProfile: string | null;
2572
2579
  bidderId: string | null;
2580
+ bidAs: "agency" | "freelancer" | null;
2573
2581
  }, {
2574
2582
  contractorName: string | null;
2575
2583
  agencyName: string | null;
2576
2584
  specialisedProfile: string | null;
2577
2585
  bidderId: string | null;
2586
+ bidAs: "agency" | "freelancer" | null;
2578
2587
  }>>;
2579
2588
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
2580
2589
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -3654,16 +3663,19 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3654
3663
  bidderId: z.ZodNullable<z.ZodString>;
3655
3664
  contractorName: z.ZodNullable<z.ZodString>;
3656
3665
  specialisedProfile: z.ZodNullable<z.ZodString>;
3666
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
3657
3667
  }, "strip", z.ZodTypeAny, {
3658
3668
  contractorName: string | null;
3659
3669
  agencyName: string | null;
3660
3670
  specialisedProfile: string | null;
3661
3671
  bidderId: string | null;
3672
+ bidAs: "agency" | "freelancer" | null;
3662
3673
  }, {
3663
3674
  contractorName: string | null;
3664
3675
  agencyName: string | null;
3665
3676
  specialisedProfile: string | null;
3666
3677
  bidderId: string | null;
3678
+ bidAs: "agency" | "freelancer" | null;
3667
3679
  }>>;
3668
3680
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
3669
3681
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -4740,16 +4752,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4740
4752
  bidderId: z.ZodNullable<z.ZodString>;
4741
4753
  contractorName: z.ZodNullable<z.ZodString>;
4742
4754
  specialisedProfile: z.ZodNullable<z.ZodString>;
4755
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
4743
4756
  }, "strip", z.ZodTypeAny, {
4744
4757
  contractorName: string | null;
4745
4758
  agencyName: string | null;
4746
4759
  specialisedProfile: string | null;
4747
4760
  bidderId: string | null;
4761
+ bidAs: "agency" | "freelancer" | null;
4748
4762
  }, {
4749
4763
  contractorName: string | null;
4750
4764
  agencyName: string | null;
4751
4765
  specialisedProfile: string | null;
4752
4766
  bidderId: string | null;
4767
+ bidAs: "agency" | "freelancer" | null;
4753
4768
  }>>;
4754
4769
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
4755
4770
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -5397,16 +5412,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5397
5412
  bidderId: z.ZodNullable<z.ZodString>;
5398
5413
  contractorName: z.ZodNullable<z.ZodString>;
5399
5414
  specialisedProfile: z.ZodNullable<z.ZodString>;
5415
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
5400
5416
  }, "strip", z.ZodTypeAny, {
5401
5417
  contractorName: string | null;
5402
5418
  agencyName: string | null;
5403
5419
  specialisedProfile: string | null;
5404
5420
  bidderId: string | null;
5421
+ bidAs: "agency" | "freelancer" | null;
5405
5422
  }, {
5406
5423
  contractorName: string | null;
5407
5424
  agencyName: string | null;
5408
5425
  specialisedProfile: string | null;
5409
5426
  bidderId: string | null;
5427
+ bidAs: "agency" | "freelancer" | null;
5410
5428
  }>>;
5411
5429
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
5412
5430
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -6485,16 +6503,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6485
6503
  bidderId: z.ZodNullable<z.ZodString>;
6486
6504
  contractorName: z.ZodNullable<z.ZodString>;
6487
6505
  specialisedProfile: z.ZodNullable<z.ZodString>;
6506
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
6488
6507
  }, "strip", z.ZodTypeAny, {
6489
6508
  contractorName: string | null;
6490
6509
  agencyName: string | null;
6491
6510
  specialisedProfile: string | null;
6492
6511
  bidderId: string | null;
6512
+ bidAs: "agency" | "freelancer" | null;
6493
6513
  }, {
6494
6514
  contractorName: string | null;
6495
6515
  agencyName: string | null;
6496
6516
  specialisedProfile: string | null;
6497
6517
  bidderId: string | null;
6518
+ bidAs: "agency" | "freelancer" | null;
6498
6519
  }>>;
6499
6520
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
6500
6521
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -7573,16 +7594,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7573
7594
  bidderId: z.ZodNullable<z.ZodString>;
7574
7595
  contractorName: z.ZodNullable<z.ZodString>;
7575
7596
  specialisedProfile: z.ZodNullable<z.ZodString>;
7597
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
7576
7598
  }, "strip", z.ZodTypeAny, {
7577
7599
  contractorName: string | null;
7578
7600
  agencyName: string | null;
7579
7601
  specialisedProfile: string | null;
7580
7602
  bidderId: string | null;
7603
+ bidAs: "agency" | "freelancer" | null;
7581
7604
  }, {
7582
7605
  contractorName: string | null;
7583
7606
  agencyName: string | null;
7584
7607
  specialisedProfile: string | null;
7585
7608
  bidderId: string | null;
7609
+ bidAs: "agency" | "freelancer" | null;
7586
7610
  }>>;
7587
7611
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
7588
7612
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -1,20 +1,24 @@
1
1
  import { z } from 'zod';
2
2
  import { JobFilters } from '../job';
3
+ export declare const bidAsEnum: z.ZodEnum<["agency", "freelancer"]>;
3
4
  export declare const bidConfigSchema: z.ZodObject<{
4
5
  agencyName: z.ZodNullable<z.ZodString>;
5
6
  bidderId: z.ZodNullable<z.ZodString>;
6
7
  contractorName: z.ZodNullable<z.ZodString>;
7
8
  specialisedProfile: z.ZodNullable<z.ZodString>;
9
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
8
10
  }, "strip", z.ZodTypeAny, {
9
11
  contractorName: string | null;
10
12
  agencyName: string | null;
11
13
  specialisedProfile: string | null;
12
14
  bidderId: string | null;
15
+ bidAs: "agency" | "freelancer" | null;
13
16
  }, {
14
17
  contractorName: string | null;
15
18
  agencyName: string | null;
16
19
  specialisedProfile: string | null;
17
20
  bidderId: string | null;
21
+ bidAs: "agency" | "freelancer" | null;
18
22
  }>;
19
23
  export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>;
20
24
  export declare const biddingHourlyRateStrategyEnum: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate", "smart_bidding"]>;
@@ -366,16 +370,19 @@ export declare const campaignSchema: z.ZodObject<{
366
370
  bidderId: z.ZodNullable<z.ZodString>;
367
371
  contractorName: z.ZodNullable<z.ZodString>;
368
372
  specialisedProfile: z.ZodNullable<z.ZodString>;
373
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
369
374
  }, "strip", z.ZodTypeAny, {
370
375
  contractorName: string | null;
371
376
  agencyName: string | null;
372
377
  specialisedProfile: string | null;
373
378
  bidderId: string | null;
379
+ bidAs: "agency" | "freelancer" | null;
374
380
  }, {
375
381
  contractorName: string | null;
376
382
  agencyName: string | null;
377
383
  specialisedProfile: string | null;
378
384
  bidderId: string | null;
385
+ bidAs: "agency" | "freelancer" | null;
379
386
  }>>;
380
387
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
381
388
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -472,6 +479,7 @@ export declare const campaignSchema: z.ZodObject<{
472
479
  agencyName: string | null;
473
480
  specialisedProfile: string | null;
474
481
  bidderId: string | null;
482
+ bidAs: "agency" | "freelancer" | null;
475
483
  } | null;
476
484
  filters: {
477
485
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
@@ -590,6 +598,7 @@ export declare const campaignSchema: z.ZodObject<{
590
598
  agencyName: string | null;
591
599
  specialisedProfile: string | null;
592
600
  bidderId: string | null;
601
+ bidAs: "agency" | "freelancer" | null;
593
602
  } | null;
594
603
  filters: {
595
604
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
@@ -1016,16 +1025,19 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1016
1025
  bidderId: z.ZodNullable<z.ZodString>;
1017
1026
  contractorName: z.ZodNullable<z.ZodString>;
1018
1027
  specialisedProfile: z.ZodNullable<z.ZodString>;
1028
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
1019
1029
  }, "strip", z.ZodTypeAny, {
1020
1030
  contractorName: string | null;
1021
1031
  agencyName: string | null;
1022
1032
  specialisedProfile: string | null;
1023
1033
  bidderId: string | null;
1034
+ bidAs: "agency" | "freelancer" | null;
1024
1035
  }, {
1025
1036
  contractorName: string | null;
1026
1037
  agencyName: string | null;
1027
1038
  specialisedProfile: string | null;
1028
1039
  bidderId: string | null;
1040
+ bidAs: "agency" | "freelancer" | null;
1029
1041
  }>>;
1030
1042
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
1031
1043
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -1348,16 +1360,19 @@ export declare const updateCampaignSchema: z.ZodObject<{
1348
1360
  bidderId: z.ZodNullable<z.ZodString>;
1349
1361
  contractorName: z.ZodNullable<z.ZodString>;
1350
1362
  specialisedProfile: z.ZodNullable<z.ZodString>;
1363
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
1351
1364
  }, "strip", z.ZodTypeAny, {
1352
1365
  contractorName: string | null;
1353
1366
  agencyName: string | null;
1354
1367
  specialisedProfile: string | null;
1355
1368
  bidderId: string | null;
1369
+ bidAs: "agency" | "freelancer" | null;
1356
1370
  }, {
1357
1371
  contractorName: string | null;
1358
1372
  agencyName: string | null;
1359
1373
  specialisedProfile: string | null;
1360
1374
  bidderId: string | null;
1375
+ bidAs: "agency" | "freelancer" | null;
1361
1376
  }>>>;
1362
1377
  filters: z.ZodOptional<z.ZodObject<{
1363
1378
  keywords: z.ZodNullable<z.ZodObject<{
@@ -1732,6 +1747,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1732
1747
  agencyName: string | null;
1733
1748
  specialisedProfile: string | null;
1734
1749
  bidderId: string | null;
1750
+ bidAs: "agency" | "freelancer" | null;
1735
1751
  } | null | undefined;
1736
1752
  filters?: {
1737
1753
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
@@ -1852,6 +1868,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1852
1868
  agencyName: string | null;
1853
1869
  specialisedProfile: string | null;
1854
1870
  bidderId: string | null;
1871
+ bidAs: "agency" | "freelancer" | null;
1855
1872
  } | null | undefined;
1856
1873
  filters?: {
1857
1874
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
@@ -721,16 +721,19 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
721
721
  bidderId: z.ZodNullable<z.ZodString>;
722
722
  contractorName: z.ZodNullable<z.ZodString>;
723
723
  specialisedProfile: z.ZodNullable<z.ZodString>;
724
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
724
725
  }, "strip", z.ZodTypeAny, {
725
726
  contractorName: string | null;
726
727
  agencyName: string | null;
727
728
  specialisedProfile: string | null;
728
729
  bidderId: string | null;
730
+ bidAs: "agency" | "freelancer" | null;
729
731
  }, {
730
732
  contractorName: string | null;
731
733
  agencyName: string | null;
732
734
  specialisedProfile: string | null;
733
735
  bidderId: string | null;
736
+ bidAs: "agency" | "freelancer" | null;
734
737
  }>>;
735
738
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
736
739
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -827,6 +830,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
827
830
  agencyName: string | null;
828
831
  specialisedProfile: string | null;
829
832
  bidderId: string | null;
833
+ bidAs: "agency" | "freelancer" | null;
830
834
  } | null;
831
835
  filters: {
832
836
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
@@ -945,6 +949,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
945
949
  agencyName: string | null;
946
950
  specialisedProfile: string | null;
947
951
  bidderId: string | null;
952
+ bidAs: "agency" | "freelancer" | null;
948
953
  } | null;
949
954
  filters: {
950
955
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
@@ -2522,6 +2527,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2522
2527
  agencyName: string | null;
2523
2528
  specialisedProfile: string | null;
2524
2529
  bidderId: string | null;
2530
+ bidAs: "agency" | "freelancer" | null;
2525
2531
  } | null;
2526
2532
  filters: {
2527
2533
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
@@ -2909,6 +2915,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2909
2915
  agencyName: string | null;
2910
2916
  specialisedProfile: string | null;
2911
2917
  bidderId: string | null;
2918
+ bidAs: "agency" | "freelancer" | null;
2912
2919
  } | null;
2913
2920
  filters: {
2914
2921
  regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.290",
3
+ "version": "1.2.291",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",