lancer-shared 1.2.274 → 1.2.275

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.
@@ -764,6 +764,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
764
764
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
765
765
  alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
766
766
  insufficientConnectsAction: z.ZodEnum<["buy_more_connects", "pause_campaigns"]>;
767
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
767
768
  isHourlyRate: z.ZodBoolean;
768
769
  jobMinHourlyRate: z.ZodNullable<z.ZodNumber>;
769
770
  jobMaxHourlyRate: z.ZodNullable<z.ZodNumber>;
@@ -953,6 +954,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
953
954
  } | null | undefined;
954
955
  };
955
956
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
957
+ numberOfConnectsToBuyWhenInsufficient: number | null;
956
958
  specialisedProfileOptions: string[];
957
959
  minimumBoost: number | null;
958
960
  isHourlyRate: boolean;
@@ -1143,6 +1145,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
1143
1145
  } | null | undefined;
1144
1146
  };
1145
1147
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
1148
+ numberOfConnectsToBuyWhenInsufficient: number | null;
1146
1149
  specialisedProfileOptions: string[];
1147
1150
  minimumBoost: number | null;
1148
1151
  isHourlyRate: boolean;
@@ -1913,6 +1916,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
1913
1916
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
1914
1917
  alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
1915
1918
  insufficientConnectsAction: z.ZodEnum<["buy_more_connects", "pause_campaigns"]>;
1919
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
1916
1920
  isHourlyRate: z.ZodBoolean;
1917
1921
  jobMinHourlyRate: z.ZodNullable<z.ZodNumber>;
1918
1922
  jobMaxHourlyRate: z.ZodNullable<z.ZodNumber>;
@@ -2102,6 +2106,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
2102
2106
  } | null | undefined;
2103
2107
  };
2104
2108
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
2109
+ numberOfConnectsToBuyWhenInsufficient: number | null;
2105
2110
  specialisedProfileOptions: string[];
2106
2111
  minimumBoost: number | null;
2107
2112
  isHourlyRate: boolean;
@@ -2292,6 +2297,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
2292
2297
  } | null | undefined;
2293
2298
  };
2294
2299
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
2300
+ numberOfConnectsToBuyWhenInsufficient: number | null;
2295
2301
  specialisedProfileOptions: string[];
2296
2302
  minimumBoost: number | null;
2297
2303
  isHourlyRate: boolean;
@@ -3062,6 +3068,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
3062
3068
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
3063
3069
  alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
3064
3070
  insufficientConnectsAction: z.ZodEnum<["buy_more_connects", "pause_campaigns"]>;
3071
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
3065
3072
  isHourlyRate: z.ZodBoolean;
3066
3073
  jobMinHourlyRate: z.ZodNullable<z.ZodNumber>;
3067
3074
  jobMaxHourlyRate: z.ZodNullable<z.ZodNumber>;
@@ -3257,6 +3264,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
3257
3264
  } | null | undefined;
3258
3265
  };
3259
3266
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
3267
+ numberOfConnectsToBuyWhenInsufficient: number | null;
3260
3268
  specialisedProfileOptions: string[];
3261
3269
  minimumBoost: number | null;
3262
3270
  isHourlyRate: boolean;
@@ -3450,6 +3458,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
3450
3458
  } | null | undefined;
3451
3459
  };
3452
3460
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
3461
+ numberOfConnectsToBuyWhenInsufficient: number | null;
3453
3462
  specialisedProfileOptions: string[];
3454
3463
  minimumBoost: number | null;
3455
3464
  isHourlyRate: boolean;
@@ -6055,6 +6064,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
6055
6064
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
6056
6065
  alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
6057
6066
  insufficientConnectsAction: z.ZodEnum<["buy_more_connects", "pause_campaigns"]>;
6067
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
6058
6068
  isHourlyRate: z.ZodBoolean;
6059
6069
  jobMinHourlyRate: z.ZodNullable<z.ZodNumber>;
6060
6070
  jobMaxHourlyRate: z.ZodNullable<z.ZodNumber>;
@@ -6250,6 +6260,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
6250
6260
  } | null | undefined;
6251
6261
  };
6252
6262
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
6263
+ numberOfConnectsToBuyWhenInsufficient: number | null;
6253
6264
  specialisedProfileOptions: string[];
6254
6265
  minimumBoost: number | null;
6255
6266
  isHourlyRate: boolean;
@@ -6443,6 +6454,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
6443
6454
  } | null | undefined;
6444
6455
  };
6445
6456
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
6457
+ numberOfConnectsToBuyWhenInsufficient: number | null;
6446
6458
  specialisedProfileOptions: string[];
6447
6459
  minimumBoost: number | null;
6448
6460
  isHourlyRate: boolean;
@@ -6809,6 +6821,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
6809
6821
  } | null | undefined;
6810
6822
  };
6811
6823
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
6824
+ numberOfConnectsToBuyWhenInsufficient: number | null;
6812
6825
  specialisedProfileOptions: string[];
6813
6826
  minimumBoost: number | null;
6814
6827
  isHourlyRate: boolean;
@@ -7175,6 +7188,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
7175
7188
  } | null | undefined;
7176
7189
  };
7177
7190
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
7191
+ numberOfConnectsToBuyWhenInsufficient: number | null;
7178
7192
  specialisedProfileOptions: string[];
7179
7193
  minimumBoost: number | null;
7180
7194
  isHourlyRate: boolean;
@@ -8692,6 +8706,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
8692
8706
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
8693
8707
  alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
8694
8708
  insufficientConnectsAction: z.ZodEnum<["buy_more_connects", "pause_campaigns"]>;
8709
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
8695
8710
  isHourlyRate: z.ZodBoolean;
8696
8711
  jobMinHourlyRate: z.ZodNullable<z.ZodNumber>;
8697
8712
  jobMaxHourlyRate: z.ZodNullable<z.ZodNumber>;
@@ -8881,6 +8896,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
8881
8896
  } | null | undefined;
8882
8897
  };
8883
8898
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
8899
+ numberOfConnectsToBuyWhenInsufficient: number | null;
8884
8900
  specialisedProfileOptions: string[];
8885
8901
  minimumBoost: number | null;
8886
8902
  isHourlyRate: boolean;
@@ -9071,6 +9087,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
9071
9087
  } | null | undefined;
9072
9088
  };
9073
9089
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
9090
+ numberOfConnectsToBuyWhenInsufficient: number | null;
9074
9091
  specialisedProfileOptions: string[];
9075
9092
  minimumBoost: number | null;
9076
9093
  isHourlyRate: boolean;
@@ -9434,6 +9451,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
9434
9451
  } | null | undefined;
9435
9452
  };
9436
9453
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
9454
+ numberOfConnectsToBuyWhenInsufficient: number | null;
9437
9455
  specialisedProfileOptions: string[];
9438
9456
  minimumBoost: number | null;
9439
9457
  isHourlyRate: boolean;
@@ -9797,6 +9815,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
9797
9815
  } | null | undefined;
9798
9816
  };
9799
9817
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns";
9818
+ numberOfConnectsToBuyWhenInsufficient: number | null;
9800
9819
  specialisedProfileOptions: string[];
9801
9820
  minimumBoost: number | null;
9802
9821
  isHourlyRate: boolean;
@@ -377,6 +377,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
377
377
  } | undefined;
378
378
  }>>;
379
379
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
380
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
380
381
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
381
382
  }, "id" | "name">, "strip", z.ZodTypeAny, {
382
383
  id: string;
@@ -1029,6 +1030,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1029
1030
  } | undefined;
1030
1031
  }>>;
1031
1032
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
1033
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
1032
1034
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1033
1035
  }, "id" | "name">, "strip", z.ZodTypeAny, {
1034
1036
  id: string;
@@ -2111,6 +2113,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2111
2113
  } | undefined;
2112
2114
  }>>;
2113
2115
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
2116
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
2114
2117
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2115
2118
  }, "id" | "name">, "strip", z.ZodTypeAny, {
2116
2119
  id: string;
@@ -3193,6 +3196,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3193
3196
  } | undefined;
3194
3197
  }>>;
3195
3198
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
3199
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
3196
3200
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
3197
3201
  }, "id" | "name">, "strip", z.ZodTypeAny, {
3198
3202
  id: string;
@@ -4272,6 +4276,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4272
4276
  } | undefined;
4273
4277
  }>>;
4274
4278
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
4279
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
4275
4280
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4276
4281
  }, "id" | "name">, "strip", z.ZodTypeAny, {
4277
4282
  id: string;
@@ -4923,6 +4928,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4923
4928
  } | undefined;
4924
4929
  }>>;
4925
4930
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
4931
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
4926
4932
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4927
4933
  }, "id" | "name">, "strip", z.ZodTypeAny, {
4928
4934
  id: string;
@@ -6004,6 +6010,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6004
6010
  } | undefined;
6005
6011
  }>>;
6006
6012
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
6013
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
6007
6014
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
6008
6015
  }, "id" | "name">, "strip", z.ZodTypeAny, {
6009
6016
  id: string;
@@ -7085,6 +7092,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7085
7092
  } | undefined;
7086
7093
  }>>;
7087
7094
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
7095
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
7088
7096
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
7089
7097
  }, "id" | "name">, "strip", z.ZodTypeAny, {
7090
7098
  id: string;
@@ -301,6 +301,7 @@ export declare const organizationSchema: z.ZodObject<{
301
301
  } | undefined;
302
302
  }>>;
303
303
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
304
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
304
305
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
305
306
  }, "strip", z.ZodTypeAny, {
306
307
  type: "agency" | "freelancer";
@@ -354,6 +355,7 @@ export declare const organizationSchema: z.ZodObject<{
354
355
  openRouterApiKey: string | null;
355
356
  nextProposalStatusSyncTime: number | null;
356
357
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
358
+ numberOfConnectsToBuyWhenInsufficient: number | null;
357
359
  onboardingCompletions: Record<string, boolean> | null;
358
360
  usBidderAccountSubscription?: {
359
361
  usBidderAccountPayment?: {
@@ -417,6 +419,7 @@ export declare const organizationSchema: z.ZodObject<{
417
419
  openRouterApiKey: string | null;
418
420
  nextProposalStatusSyncTime: number | null;
419
421
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
422
+ numberOfConnectsToBuyWhenInsufficient: number | null;
420
423
  onboardingCompletions: Record<string, boolean> | null;
421
424
  usBidderAccountSubscription?: {
422
425
  usBidderAccountPayment?: {
@@ -893,6 +896,7 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
893
896
  } | undefined;
894
897
  }>>;
895
898
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
899
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
896
900
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
897
901
  }, "type" | "name">, "strip", z.ZodTypeAny, {
898
902
  type: "agency" | "freelancer";
@@ -1259,6 +1259,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1259
1259
  } | undefined;
1260
1260
  }>>;
1261
1261
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
1262
+ numberOfConnectsToBuyWhenInsufficient: z.ZodNullable<z.ZodNumber>;
1262
1263
  onboardingCompletions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1263
1264
  }, "strip", z.ZodTypeAny, {
1264
1265
  type: "agency" | "freelancer";
@@ -1312,6 +1313,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1312
1313
  openRouterApiKey: string | null;
1313
1314
  nextProposalStatusSyncTime: number | null;
1314
1315
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
1316
+ numberOfConnectsToBuyWhenInsufficient: number | null;
1315
1317
  onboardingCompletions: Record<string, boolean> | null;
1316
1318
  usBidderAccountSubscription?: {
1317
1319
  usBidderAccountPayment?: {
@@ -1375,6 +1377,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1375
1377
  openRouterApiKey: string | null;
1376
1378
  nextProposalStatusSyncTime: number | null;
1377
1379
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
1380
+ numberOfConnectsToBuyWhenInsufficient: number | null;
1378
1381
  onboardingCompletions: Record<string, boolean> | null;
1379
1382
  usBidderAccountSubscription?: {
1380
1383
  usBidderAccountPayment?: {
@@ -2286,6 +2289,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2286
2289
  openRouterApiKey: string | null;
2287
2290
  nextProposalStatusSyncTime: number | null;
2288
2291
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
2292
+ numberOfConnectsToBuyWhenInsufficient: number | null;
2289
2293
  onboardingCompletions: Record<string, boolean> | null;
2290
2294
  usBidderAccountSubscription?: {
2291
2295
  usBidderAccountPayment?: {
@@ -2668,6 +2672,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2668
2672
  openRouterApiKey: string | null;
2669
2673
  nextProposalStatusSyncTime: number | null;
2670
2674
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
2675
+ numberOfConnectsToBuyWhenInsufficient: number | null;
2671
2676
  onboardingCompletions: Record<string, boolean> | null;
2672
2677
  usBidderAccountSubscription?: {
2673
2678
  usBidderAccountPayment?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.274",
3
+ "version": "1.2.275",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",