lancer-shared 1.2.191 → 1.2.193

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.
@@ -13107,6 +13107,7 @@ const campaignSchema = z.object({
13107
13107
  // automatedSuitability: z.boolean().nullable(),
13108
13108
  boostingEnabled: z.boolean().nullable().default(false),
13109
13109
  maximumBoost: z.number().nullable().default(30),
13110
+ minBoost: z.number().nullable().default(1),
13110
13111
  boostDownToNthPlace: z.number().min(1).max(4).nullable(),
13111
13112
  connectsAbovePrevious: z.number().min(1).nullable(),
13112
13113
  insufficeintBoostConnectsAction: insufficeintBoostConnectsActionEnum,
@@ -13740,6 +13741,7 @@ const bidPayloadProposalDataSchema = z.object({
13740
13741
  boostingEnabled: z.boolean(),
13741
13742
  specialisedProfileOptions: z.array(z.string()),
13742
13743
  maximumBoost: z.number().nullable(),
13744
+ minimumBoost: z.number().nullable(),
13743
13745
  boostDownToNthPlace: z.number().min(1).max(4).nullable(),
13744
13746
  connectsAbovePrevious: z.number().min(1).nullable(),
13745
13747
  insufficeintBoostConnectsAction: insufficeintBoostConnectsActionEnum,
@@ -617,6 +617,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
617
617
  boostingEnabled: z.ZodBoolean;
618
618
  specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
619
619
  maximumBoost: z.ZodNullable<z.ZodNumber>;
620
+ minimumBoost: z.ZodNullable<z.ZodNumber>;
620
621
  boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
621
622
  connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
622
623
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
@@ -774,6 +775,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
774
775
  boostingEnabled: boolean;
775
776
  specialisedProfileOptions: string[];
776
777
  maximumBoost: number | null;
778
+ minimumBoost: number | null;
777
779
  boostDownToNthPlace: number | null;
778
780
  connectsAbovePrevious: number | null;
779
781
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -931,6 +933,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
931
933
  boostingEnabled: boolean;
932
934
  specialisedProfileOptions: string[];
933
935
  maximumBoost: number | null;
936
+ minimumBoost: number | null;
934
937
  boostDownToNthPlace: number | null;
935
938
  connectsAbovePrevious: number | null;
936
939
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -1559,6 +1562,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
1559
1562
  boostingEnabled: z.ZodBoolean;
1560
1563
  specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
1561
1564
  maximumBoost: z.ZodNullable<z.ZodNumber>;
1565
+ minimumBoost: z.ZodNullable<z.ZodNumber>;
1562
1566
  boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
1563
1567
  connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
1564
1568
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
@@ -1716,6 +1720,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
1716
1720
  boostingEnabled: boolean;
1717
1721
  specialisedProfileOptions: string[];
1718
1722
  maximumBoost: number | null;
1723
+ minimumBoost: number | null;
1719
1724
  boostDownToNthPlace: number | null;
1720
1725
  connectsAbovePrevious: number | null;
1721
1726
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -1873,6 +1878,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
1873
1878
  boostingEnabled: boolean;
1874
1879
  specialisedProfileOptions: string[];
1875
1880
  maximumBoost: number | null;
1881
+ minimumBoost: number | null;
1876
1882
  boostDownToNthPlace: number | null;
1877
1883
  connectsAbovePrevious: number | null;
1878
1884
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -2501,6 +2507,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
2501
2507
  boostingEnabled: z.ZodBoolean;
2502
2508
  specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
2503
2509
  maximumBoost: z.ZodNullable<z.ZodNumber>;
2510
+ minimumBoost: z.ZodNullable<z.ZodNumber>;
2504
2511
  boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
2505
2512
  connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
2506
2513
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
@@ -2662,6 +2669,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
2662
2669
  boostingEnabled: boolean;
2663
2670
  specialisedProfileOptions: string[];
2664
2671
  maximumBoost: number | null;
2672
+ minimumBoost: number | null;
2665
2673
  boostDownToNthPlace: number | null;
2666
2674
  connectsAbovePrevious: number | null;
2667
2675
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -2822,6 +2830,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
2822
2830
  boostingEnabled: boolean;
2823
2831
  specialisedProfileOptions: string[];
2824
2832
  maximumBoost: number | null;
2833
+ minimumBoost: number | null;
2825
2834
  boostDownToNthPlace: number | null;
2826
2835
  connectsAbovePrevious: number | null;
2827
2836
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -4951,6 +4960,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
4951
4960
  boostingEnabled: z.ZodBoolean;
4952
4961
  specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
4953
4962
  maximumBoost: z.ZodNullable<z.ZodNumber>;
4963
+ minimumBoost: z.ZodNullable<z.ZodNumber>;
4954
4964
  boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
4955
4965
  connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
4956
4966
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
@@ -5112,6 +5122,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
5112
5122
  boostingEnabled: boolean;
5113
5123
  specialisedProfileOptions: string[];
5114
5124
  maximumBoost: number | null;
5125
+ minimumBoost: number | null;
5115
5126
  boostDownToNthPlace: number | null;
5116
5127
  connectsAbovePrevious: number | null;
5117
5128
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -5272,6 +5283,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
5272
5283
  boostingEnabled: boolean;
5273
5284
  specialisedProfileOptions: string[];
5274
5285
  maximumBoost: number | null;
5286
+ minimumBoost: number | null;
5275
5287
  boostDownToNthPlace: number | null;
5276
5288
  connectsAbovePrevious: number | null;
5277
5289
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -5575,6 +5587,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
5575
5587
  boostingEnabled: boolean;
5576
5588
  specialisedProfileOptions: string[];
5577
5589
  maximumBoost: number | null;
5590
+ minimumBoost: number | null;
5578
5591
  boostDownToNthPlace: number | null;
5579
5592
  connectsAbovePrevious: number | null;
5580
5593
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -5878,6 +5891,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
5878
5891
  boostingEnabled: boolean;
5879
5892
  specialisedProfileOptions: string[];
5880
5893
  maximumBoost: number | null;
5894
+ minimumBoost: number | null;
5881
5895
  boostDownToNthPlace: number | null;
5882
5896
  connectsAbovePrevious: number | null;
5883
5897
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -7117,6 +7131,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
7117
7131
  boostingEnabled: z.ZodBoolean;
7118
7132
  specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
7119
7133
  maximumBoost: z.ZodNullable<z.ZodNumber>;
7134
+ minimumBoost: z.ZodNullable<z.ZodNumber>;
7120
7135
  boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
7121
7136
  connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
7122
7137
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
@@ -7274,6 +7289,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
7274
7289
  boostingEnabled: boolean;
7275
7290
  specialisedProfileOptions: string[];
7276
7291
  maximumBoost: number | null;
7292
+ minimumBoost: number | null;
7277
7293
  boostDownToNthPlace: number | null;
7278
7294
  connectsAbovePrevious: number | null;
7279
7295
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -7431,6 +7447,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
7431
7447
  boostingEnabled: boolean;
7432
7448
  specialisedProfileOptions: string[];
7433
7449
  maximumBoost: number | null;
7450
+ minimumBoost: number | null;
7434
7451
  boostDownToNthPlace: number | null;
7435
7452
  connectsAbovePrevious: number | null;
7436
7453
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -7731,6 +7748,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
7731
7748
  boostingEnabled: boolean;
7732
7749
  specialisedProfileOptions: string[];
7733
7750
  maximumBoost: number | null;
7751
+ minimumBoost: number | null;
7734
7752
  boostDownToNthPlace: number | null;
7735
7753
  connectsAbovePrevious: number | null;
7736
7754
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -8031,6 +8049,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
8031
8049
  boostingEnabled: boolean;
8032
8050
  specialisedProfileOptions: string[];
8033
8051
  maximumBoost: number | null;
8052
+ minimumBoost: number | null;
8034
8053
  boostDownToNthPlace: number | null;
8035
8054
  connectsAbovePrevious: number | null;
8036
8055
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -301,6 +301,7 @@ export declare const campaignSchema: z.ZodObject<{
301
301
  confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
302
302
  boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
303
303
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
304
+ minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
304
305
  boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
305
306
  connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
306
307
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
@@ -470,6 +471,7 @@ export declare const campaignSchema: z.ZodObject<{
470
471
  confirmedBillingAt: number | null;
471
472
  boostingEnabled: boolean | null;
472
473
  maximumBoost: number | null;
474
+ minBoost: number | null;
473
475
  boostDownToNthPlace: number | null;
474
476
  connectsAbovePrevious: number | null;
475
477
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -626,6 +628,7 @@ export declare const campaignSchema: z.ZodObject<{
626
628
  status?: "active" | "draft" | "paused" | "error" | undefined;
627
629
  boostingEnabled?: boolean | null | undefined;
628
630
  maximumBoost?: number | null | undefined;
631
+ minBoost?: number | null | undefined;
629
632
  boostingThreshold?: number | null | undefined;
630
633
  biddingDelayInMinutes?: number | undefined;
631
634
  }>;
@@ -886,6 +889,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
886
889
  confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
887
890
  boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
888
891
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
892
+ minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
889
893
  boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
890
894
  connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
891
895
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
@@ -1052,6 +1056,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1052
1056
  confirmedBillingAt: number | null;
1053
1057
  boostingEnabled: boolean | null;
1054
1058
  maximumBoost: number | null;
1059
+ minBoost: number | null;
1055
1060
  boostDownToNthPlace: number | null;
1056
1061
  connectsAbovePrevious: number | null;
1057
1062
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
@@ -1193,6 +1198,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1193
1198
  status?: "active" | "draft" | "paused" | "error" | undefined;
1194
1199
  boostingEnabled?: boolean | null | undefined;
1195
1200
  maximumBoost?: number | null | undefined;
1201
+ minBoost?: number | null | undefined;
1196
1202
  boostingThreshold?: number | null | undefined;
1197
1203
  biddingDelayInMinutes?: number | undefined;
1198
1204
  }>;
@@ -1433,6 +1439,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1433
1439
  confirmedBillingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1434
1440
  boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
1435
1441
  maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1442
+ minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1436
1443
  boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1437
1444
  connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1438
1445
  insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
@@ -1600,6 +1607,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1600
1607
  confirmedBillingAt?: number | null | undefined;
1601
1608
  boostingEnabled?: boolean | null | undefined;
1602
1609
  maximumBoost?: number | null | undefined;
1610
+ minBoost?: number | null | undefined;
1603
1611
  boostDownToNthPlace?: number | null | undefined;
1604
1612
  connectsAbovePrevious?: number | null | undefined;
1605
1613
  insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
@@ -1707,6 +1715,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1707
1715
  confirmedBillingAt?: number | null | undefined;
1708
1716
  boostingEnabled?: boolean | null | undefined;
1709
1717
  maximumBoost?: number | null | undefined;
1718
+ minBoost?: number | null | undefined;
1710
1719
  boostDownToNthPlace?: number | null | undefined;
1711
1720
  connectsAbovePrevious?: number | null | undefined;
1712
1721
  insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.191",
3
+ "version": "1.2.193",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",