lancer-shared 1.2.189 → 1.2.190
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.
- package/dist/bundle.cjs.js +91 -32
- package/dist/schemas/campaign/campaign-analytics.d.ts +336 -72
- package/dist/schemas/campaign/campaign.d.ts +204 -48
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +10 -10
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/edges.d.ts +4 -0
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/index.d.ts +1 -0
- package/dist/schemas/campaign/sequence/node-types.d.ts +1 -1
- package/dist/schemas/campaign/sequence/rating-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +18 -18
- package/dist/schemas/scraper/scrape-payload.d.ts +94 -33
- package/dist/utils/timezones.d.ts +4 -3
- package/package.json +1 -1
|
@@ -19,7 +19,49 @@ export declare const bidConfigSchema: z.ZodObject<{
|
|
|
19
19
|
}>;
|
|
20
20
|
export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>;
|
|
21
21
|
export declare const biddingHourlyRateStrategyEnum: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
22
|
+
export declare const weekDaysEnum: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
|
|
22
23
|
export declare const bidWithWarningEnum: z.ZodEnum<["bid", "skip"]>;
|
|
24
|
+
export declare const timeBlockSchema: z.ZodObject<{
|
|
25
|
+
fromHour: z.ZodNumber;
|
|
26
|
+
toHour: z.ZodNumber;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
fromHour: number;
|
|
29
|
+
toHour: number;
|
|
30
|
+
}, {
|
|
31
|
+
fromHour: number;
|
|
32
|
+
toHour: number;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const workTimeSchema: z.ZodObject<{
|
|
35
|
+
enabled: z.ZodBoolean;
|
|
36
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
37
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
38
|
+
fromHour: z.ZodNumber;
|
|
39
|
+
toHour: z.ZodNumber;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
fromHour: number;
|
|
42
|
+
toHour: number;
|
|
43
|
+
}, {
|
|
44
|
+
fromHour: number;
|
|
45
|
+
toHour: number;
|
|
46
|
+
}>, "many">;
|
|
47
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
51
|
+
timeBlocks: {
|
|
52
|
+
fromHour: number;
|
|
53
|
+
toHour: number;
|
|
54
|
+
}[];
|
|
55
|
+
timezone: string | null;
|
|
56
|
+
}, {
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
59
|
+
timeBlocks: {
|
|
60
|
+
fromHour: number;
|
|
61
|
+
toHour: number;
|
|
62
|
+
}[];
|
|
63
|
+
timezone: string | null;
|
|
64
|
+
}>;
|
|
23
65
|
export declare const campaignSchema: z.ZodObject<{
|
|
24
66
|
id: z.ZodString;
|
|
25
67
|
name: z.ZodString;
|
|
@@ -265,10 +307,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
265
307
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
266
308
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
267
309
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
268
|
-
sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
269
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
270
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
271
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
272
310
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
273
311
|
expenses: z.ZodObject<{
|
|
274
312
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -329,14 +367,45 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
329
367
|
enabled: z.ZodBoolean;
|
|
330
368
|
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
331
369
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
maxDailyProposalsSent: number;
|
|
333
370
|
enabled: boolean;
|
|
371
|
+
maxDailyProposalsSent: number;
|
|
334
372
|
windowAnchorAt: number | null;
|
|
335
373
|
}, {
|
|
336
|
-
maxDailyProposalsSent: number;
|
|
337
374
|
enabled: boolean;
|
|
375
|
+
maxDailyProposalsSent: number;
|
|
338
376
|
windowAnchorAt: number | null;
|
|
339
377
|
}>;
|
|
378
|
+
workTime: z.ZodObject<{
|
|
379
|
+
enabled: z.ZodBoolean;
|
|
380
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
381
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
382
|
+
fromHour: z.ZodNumber;
|
|
383
|
+
toHour: z.ZodNumber;
|
|
384
|
+
}, "strip", z.ZodTypeAny, {
|
|
385
|
+
fromHour: number;
|
|
386
|
+
toHour: number;
|
|
387
|
+
}, {
|
|
388
|
+
fromHour: number;
|
|
389
|
+
toHour: number;
|
|
390
|
+
}>, "many">;
|
|
391
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
enabled: boolean;
|
|
394
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
395
|
+
timeBlocks: {
|
|
396
|
+
fromHour: number;
|
|
397
|
+
toHour: number;
|
|
398
|
+
}[];
|
|
399
|
+
timezone: string | null;
|
|
400
|
+
}, {
|
|
401
|
+
enabled: boolean;
|
|
402
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
403
|
+
timeBlocks: {
|
|
404
|
+
fromHour: number;
|
|
405
|
+
toHour: number;
|
|
406
|
+
}[];
|
|
407
|
+
timezone: string | null;
|
|
408
|
+
}>;
|
|
340
409
|
}, "strip", z.ZodTypeAny, {
|
|
341
410
|
id: string;
|
|
342
411
|
name: string;
|
|
@@ -404,10 +473,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
404
473
|
biddingFixedHourlyRate: number | null;
|
|
405
474
|
biddingHourlyRatePercentage: number | null;
|
|
406
475
|
bidWithWarning: "bid" | "skip";
|
|
407
|
-
sleepEnabled: boolean | null;
|
|
408
|
-
sleepStartAtHour: number | null;
|
|
409
|
-
sleepEndAtHour: number | null;
|
|
410
|
-
sleepTimezone: string | null;
|
|
411
476
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
412
477
|
expenses: {
|
|
413
478
|
biddingAmount: number;
|
|
@@ -433,10 +498,19 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
433
498
|
organizationProfileId: string | null;
|
|
434
499
|
lastSyncedProposalsAt: number | null;
|
|
435
500
|
limits: {
|
|
436
|
-
maxDailyProposalsSent: number;
|
|
437
501
|
enabled: boolean;
|
|
502
|
+
maxDailyProposalsSent: number;
|
|
438
503
|
windowAnchorAt: number | null;
|
|
439
504
|
};
|
|
505
|
+
workTime: {
|
|
506
|
+
enabled: boolean;
|
|
507
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
508
|
+
timeBlocks: {
|
|
509
|
+
fromHour: number;
|
|
510
|
+
toHour: number;
|
|
511
|
+
}[];
|
|
512
|
+
timezone: string | null;
|
|
513
|
+
};
|
|
440
514
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
441
515
|
}, {
|
|
442
516
|
id: string;
|
|
@@ -501,7 +575,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
501
575
|
biddingFixedHourlyRate: number | null;
|
|
502
576
|
biddingHourlyRatePercentage: number | null;
|
|
503
577
|
bidWithWarning: "bid" | "skip";
|
|
504
|
-
sleepTimezone: string | null;
|
|
505
578
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
506
579
|
expenses: {
|
|
507
580
|
biddingAmount?: number | undefined;
|
|
@@ -527,18 +600,24 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
527
600
|
organizationProfileId: string | null;
|
|
528
601
|
lastSyncedProposalsAt: number | null;
|
|
529
602
|
limits: {
|
|
530
|
-
maxDailyProposalsSent: number;
|
|
531
603
|
enabled: boolean;
|
|
604
|
+
maxDailyProposalsSent: number;
|
|
532
605
|
windowAnchorAt: number | null;
|
|
533
606
|
};
|
|
607
|
+
workTime: {
|
|
608
|
+
enabled: boolean;
|
|
609
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
610
|
+
timeBlocks: {
|
|
611
|
+
fromHour: number;
|
|
612
|
+
toHour: number;
|
|
613
|
+
}[];
|
|
614
|
+
timezone: string | null;
|
|
615
|
+
};
|
|
534
616
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
535
617
|
boostingEnabled?: boolean | null | undefined;
|
|
536
618
|
maximumBoost?: number | null | undefined;
|
|
537
619
|
boostingThreshold?: number | null | undefined;
|
|
538
620
|
biddingDelayInMinutes?: number | undefined;
|
|
539
|
-
sleepEnabled?: boolean | null | undefined;
|
|
540
|
-
sleepStartAtHour?: number | null | undefined;
|
|
541
|
-
sleepEndAtHour?: number | null | undefined;
|
|
542
621
|
}>;
|
|
543
622
|
export declare const upworkAccountConnectStatusSchema: z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">, z.ZodLiteral<"reconnecting">, z.ZodLiteral<"reconnected">, z.ZodLiteral<"reconnect_failed">]>;
|
|
544
623
|
export declare const upworkAccountConnectSchema: z.ZodObject<{
|
|
@@ -804,10 +883,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
804
883
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
805
884
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
806
885
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
807
|
-
sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
808
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
809
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
810
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
811
886
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
812
887
|
expenses: z.ZodObject<{
|
|
813
888
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -868,14 +943,45 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
868
943
|
enabled: z.ZodBoolean;
|
|
869
944
|
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
870
945
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
maxDailyProposalsSent: number;
|
|
872
946
|
enabled: boolean;
|
|
947
|
+
maxDailyProposalsSent: number;
|
|
873
948
|
windowAnchorAt: number | null;
|
|
874
949
|
}, {
|
|
875
|
-
maxDailyProposalsSent: number;
|
|
876
950
|
enabled: boolean;
|
|
951
|
+
maxDailyProposalsSent: number;
|
|
877
952
|
windowAnchorAt: number | null;
|
|
878
953
|
}>;
|
|
954
|
+
workTime: z.ZodObject<{
|
|
955
|
+
enabled: z.ZodBoolean;
|
|
956
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
957
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
958
|
+
fromHour: z.ZodNumber;
|
|
959
|
+
toHour: z.ZodNumber;
|
|
960
|
+
}, "strip", z.ZodTypeAny, {
|
|
961
|
+
fromHour: number;
|
|
962
|
+
toHour: number;
|
|
963
|
+
}, {
|
|
964
|
+
fromHour: number;
|
|
965
|
+
toHour: number;
|
|
966
|
+
}>, "many">;
|
|
967
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
968
|
+
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
enabled: boolean;
|
|
970
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
971
|
+
timeBlocks: {
|
|
972
|
+
fromHour: number;
|
|
973
|
+
toHour: number;
|
|
974
|
+
}[];
|
|
975
|
+
timezone: string | null;
|
|
976
|
+
}, {
|
|
977
|
+
enabled: boolean;
|
|
978
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
979
|
+
timeBlocks: {
|
|
980
|
+
fromHour: number;
|
|
981
|
+
toHour: number;
|
|
982
|
+
}[];
|
|
983
|
+
timezone: string | null;
|
|
984
|
+
}>;
|
|
879
985
|
}, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
|
|
880
986
|
name: string;
|
|
881
987
|
filters: {
|
|
@@ -940,10 +1046,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
940
1046
|
biddingFixedHourlyRate: number | null;
|
|
941
1047
|
biddingHourlyRatePercentage: number | null;
|
|
942
1048
|
bidWithWarning: "bid" | "skip";
|
|
943
|
-
sleepEnabled: boolean | null;
|
|
944
|
-
sleepStartAtHour: number | null;
|
|
945
|
-
sleepEndAtHour: number | null;
|
|
946
|
-
sleepTimezone: string | null;
|
|
947
1049
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
948
1050
|
expenses: {
|
|
949
1051
|
biddingAmount: number;
|
|
@@ -963,10 +1065,19 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
963
1065
|
organizationProfileId: string | null;
|
|
964
1066
|
lastSyncedProposalsAt: number | null;
|
|
965
1067
|
limits: {
|
|
966
|
-
maxDailyProposalsSent: number;
|
|
967
1068
|
enabled: boolean;
|
|
1069
|
+
maxDailyProposalsSent: number;
|
|
968
1070
|
windowAnchorAt: number | null;
|
|
969
1071
|
};
|
|
1072
|
+
workTime: {
|
|
1073
|
+
enabled: boolean;
|
|
1074
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1075
|
+
timeBlocks: {
|
|
1076
|
+
fromHour: number;
|
|
1077
|
+
toHour: number;
|
|
1078
|
+
}[];
|
|
1079
|
+
timezone: string | null;
|
|
1080
|
+
};
|
|
970
1081
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
971
1082
|
}, {
|
|
972
1083
|
name: string;
|
|
@@ -1028,7 +1139,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1028
1139
|
biddingFixedHourlyRate: number | null;
|
|
1029
1140
|
biddingHourlyRatePercentage: number | null;
|
|
1030
1141
|
bidWithWarning: "bid" | "skip";
|
|
1031
|
-
sleepTimezone: string | null;
|
|
1032
1142
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
|
|
1033
1143
|
expenses: {
|
|
1034
1144
|
biddingAmount?: number | undefined;
|
|
@@ -1048,18 +1158,24 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1048
1158
|
organizationProfileId: string | null;
|
|
1049
1159
|
lastSyncedProposalsAt: number | null;
|
|
1050
1160
|
limits: {
|
|
1051
|
-
maxDailyProposalsSent: number;
|
|
1052
1161
|
enabled: boolean;
|
|
1162
|
+
maxDailyProposalsSent: number;
|
|
1053
1163
|
windowAnchorAt: number | null;
|
|
1054
1164
|
};
|
|
1165
|
+
workTime: {
|
|
1166
|
+
enabled: boolean;
|
|
1167
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1168
|
+
timeBlocks: {
|
|
1169
|
+
fromHour: number;
|
|
1170
|
+
toHour: number;
|
|
1171
|
+
}[];
|
|
1172
|
+
timezone: string | null;
|
|
1173
|
+
};
|
|
1055
1174
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1056
1175
|
boostingEnabled?: boolean | null | undefined;
|
|
1057
1176
|
maximumBoost?: number | null | undefined;
|
|
1058
1177
|
boostingThreshold?: number | null | undefined;
|
|
1059
1178
|
biddingDelayInMinutes?: number | undefined;
|
|
1060
|
-
sleepEnabled?: boolean | null | undefined;
|
|
1061
|
-
sleepStartAtHour?: number | null | undefined;
|
|
1062
|
-
sleepEndAtHour?: number | null | undefined;
|
|
1063
1179
|
}>;
|
|
1064
1180
|
export declare const updateCampaignSchema: z.ZodObject<{
|
|
1065
1181
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>>;
|
|
@@ -1305,10 +1421,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1305
1421
|
biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1306
1422
|
biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1307
1423
|
bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
|
|
1308
|
-
sleepEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1309
|
-
sleepStartAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1310
|
-
sleepEndAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1311
|
-
sleepTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
1424
|
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>>;
|
|
1313
1425
|
expenses: z.ZodOptional<z.ZodObject<{
|
|
1314
1426
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1368,14 +1480,45 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1368
1480
|
enabled: z.ZodBoolean;
|
|
1369
1481
|
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
1370
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
maxDailyProposalsSent: number;
|
|
1372
1483
|
enabled: boolean;
|
|
1484
|
+
maxDailyProposalsSent: number;
|
|
1373
1485
|
windowAnchorAt: number | null;
|
|
1374
1486
|
}, {
|
|
1375
|
-
maxDailyProposalsSent: number;
|
|
1376
1487
|
enabled: boolean;
|
|
1488
|
+
maxDailyProposalsSent: number;
|
|
1377
1489
|
windowAnchorAt: number | null;
|
|
1378
1490
|
}>>;
|
|
1491
|
+
workTime: z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
enabled: z.ZodBoolean;
|
|
1493
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
1494
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
1495
|
+
fromHour: z.ZodNumber;
|
|
1496
|
+
toHour: z.ZodNumber;
|
|
1497
|
+
}, "strip", z.ZodTypeAny, {
|
|
1498
|
+
fromHour: number;
|
|
1499
|
+
toHour: number;
|
|
1500
|
+
}, {
|
|
1501
|
+
fromHour: number;
|
|
1502
|
+
toHour: number;
|
|
1503
|
+
}>, "many">;
|
|
1504
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
1505
|
+
}, "strip", z.ZodTypeAny, {
|
|
1506
|
+
enabled: boolean;
|
|
1507
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1508
|
+
timeBlocks: {
|
|
1509
|
+
fromHour: number;
|
|
1510
|
+
toHour: number;
|
|
1511
|
+
}[];
|
|
1512
|
+
timezone: string | null;
|
|
1513
|
+
}, {
|
|
1514
|
+
enabled: boolean;
|
|
1515
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1516
|
+
timeBlocks: {
|
|
1517
|
+
fromHour: number;
|
|
1518
|
+
toHour: number;
|
|
1519
|
+
}[];
|
|
1520
|
+
timezone: string | null;
|
|
1521
|
+
}>>;
|
|
1379
1522
|
}, "strip", z.ZodTypeAny, {
|
|
1380
1523
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1381
1524
|
id?: string | undefined;
|
|
@@ -1442,10 +1585,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1442
1585
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
1443
1586
|
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1444
1587
|
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1445
|
-
sleepEnabled?: boolean | null | undefined;
|
|
1446
|
-
sleepStartAtHour?: number | null | undefined;
|
|
1447
|
-
sleepEndAtHour?: number | null | undefined;
|
|
1448
|
-
sleepTimezone?: string | null | undefined;
|
|
1449
1588
|
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1450
1589
|
expenses?: {
|
|
1451
1590
|
biddingAmount: number;
|
|
@@ -1471,10 +1610,19 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1471
1610
|
organizationProfileId?: string | null | undefined;
|
|
1472
1611
|
lastSyncedProposalsAt?: number | null | undefined;
|
|
1473
1612
|
limits?: {
|
|
1474
|
-
maxDailyProposalsSent: number;
|
|
1475
1613
|
enabled: boolean;
|
|
1614
|
+
maxDailyProposalsSent: number;
|
|
1476
1615
|
windowAnchorAt: number | null;
|
|
1477
1616
|
} | undefined;
|
|
1617
|
+
workTime?: {
|
|
1618
|
+
enabled: boolean;
|
|
1619
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1620
|
+
timeBlocks: {
|
|
1621
|
+
fromHour: number;
|
|
1622
|
+
toHour: number;
|
|
1623
|
+
}[];
|
|
1624
|
+
timezone: string | null;
|
|
1625
|
+
} | undefined;
|
|
1478
1626
|
}, {
|
|
1479
1627
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1480
1628
|
id?: string | undefined;
|
|
@@ -1541,10 +1689,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1541
1689
|
biddingFixedHourlyRate?: number | null | undefined;
|
|
1542
1690
|
biddingHourlyRatePercentage?: number | null | undefined;
|
|
1543
1691
|
bidWithWarning?: "bid" | "skip" | undefined;
|
|
1544
|
-
sleepEnabled?: boolean | null | undefined;
|
|
1545
|
-
sleepStartAtHour?: number | null | undefined;
|
|
1546
|
-
sleepEndAtHour?: number | null | undefined;
|
|
1547
|
-
sleepTimezone?: string | null | undefined;
|
|
1548
1692
|
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1549
1693
|
expenses?: {
|
|
1550
1694
|
biddingAmount?: number | undefined;
|
|
@@ -1570,10 +1714,19 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1570
1714
|
organizationProfileId?: string | null | undefined;
|
|
1571
1715
|
lastSyncedProposalsAt?: number | null | undefined;
|
|
1572
1716
|
limits?: {
|
|
1573
|
-
maxDailyProposalsSent: number;
|
|
1574
1717
|
enabled: boolean;
|
|
1718
|
+
maxDailyProposalsSent: number;
|
|
1575
1719
|
windowAnchorAt: number | null;
|
|
1576
1720
|
} | undefined;
|
|
1721
|
+
workTime?: {
|
|
1722
|
+
enabled: boolean;
|
|
1723
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1724
|
+
timeBlocks: {
|
|
1725
|
+
fromHour: number;
|
|
1726
|
+
toHour: number;
|
|
1727
|
+
}[];
|
|
1728
|
+
timezone: string | null;
|
|
1729
|
+
} | undefined;
|
|
1577
1730
|
}>;
|
|
1578
1731
|
export type BiddingHourlyRateStrategy = z.infer<typeof biddingHourlyRateStrategyEnum>;
|
|
1579
1732
|
export interface Campaign extends z.infer<typeof campaignSchema> {
|
|
@@ -1591,3 +1744,6 @@ export interface UpdateCampaign extends z.infer<typeof updateCampaignSchema> {
|
|
|
1591
1744
|
}
|
|
1592
1745
|
export interface BidConfig extends infer<typeof bidConfigSchema> {
|
|
1593
1746
|
}
|
|
1747
|
+
export type WeekDays = z.infer<typeof weekDaysEnum>;
|
|
1748
|
+
export type TimeBlock = z.infer<typeof timeBlockSchema>;
|
|
1749
|
+
export type WorkTime = z.infer<typeof workTimeSchema>;
|
|
@@ -4,35 +4,35 @@ import { NodeType } from './node-types';
|
|
|
4
4
|
export type ClientSize = z.infer<typeof clientSizeEnum>;
|
|
5
5
|
export declare const createClientSizeFormSchema: (existingSizes: ClientSize[]) => z.ZodEffects<z.ZodObject<{
|
|
6
6
|
sizes: z.ZodArray<z.ZodEnum<["Individual client", "Small company (2-9 people)", "Mid-sized company (10-99 people)", "Large company (100-1,000 people)", "Large company (1,000+ people)", "Unspecified"]>, "many">;
|
|
7
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode"]>;
|
|
7
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
10
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
10
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
11
11
|
}, {
|
|
12
12
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
13
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
13
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
14
14
|
}>, {
|
|
15
15
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
16
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
16
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
17
17
|
}, {
|
|
18
18
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
19
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
19
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
20
20
|
}>;
|
|
21
21
|
export declare const addFromClientSizeNodeFormSchema: z.ZodEffects<z.ZodObject<{
|
|
22
22
|
sizes: z.ZodArray<z.ZodEnum<["Individual client", "Small company (2-9 people)", "Mid-sized company (10-99 people)", "Large company (100-1,000 people)", "Large company (1,000+ people)", "Unspecified"]>, "many">;
|
|
23
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode"]>;
|
|
23
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
26
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
26
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
27
27
|
}, {
|
|
28
28
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
29
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
29
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
30
30
|
}>, {
|
|
31
31
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
32
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
32
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
33
33
|
}, {
|
|
34
34
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
35
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
35
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
36
36
|
}>;
|
|
37
37
|
export type AddFromClientSizeNodeFormData = z.infer<typeof addFromClientSizeNodeFormSchema>;
|
|
38
38
|
export interface ClientSizeNodeData {
|
|
@@ -7,76 +7,76 @@ export declare const createClientSpentFormSchema: (existingRanges: {
|
|
|
7
7
|
}[]) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8
8
|
from: z.ZodNumber;
|
|
9
9
|
to: z.ZodNumber;
|
|
10
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode"]>;
|
|
10
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
from: number;
|
|
13
13
|
to: number;
|
|
14
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
14
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
15
15
|
}, {
|
|
16
16
|
from: number;
|
|
17
17
|
to: number;
|
|
18
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
18
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
19
19
|
}>, {
|
|
20
20
|
from: number;
|
|
21
21
|
to: number;
|
|
22
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
22
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
23
23
|
}, {
|
|
24
24
|
from: number;
|
|
25
25
|
to: number;
|
|
26
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
26
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
27
27
|
}>, {
|
|
28
28
|
from: number;
|
|
29
29
|
to: number;
|
|
30
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
30
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
31
31
|
}, {
|
|
32
32
|
from: number;
|
|
33
33
|
to: number;
|
|
34
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
34
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
35
35
|
}>, {
|
|
36
36
|
from: number;
|
|
37
37
|
to: number;
|
|
38
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
38
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
39
39
|
}, {
|
|
40
40
|
from: number;
|
|
41
41
|
to: number;
|
|
42
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
42
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
43
43
|
}>;
|
|
44
44
|
export declare const addFromClientSpentNodeFormSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
45
45
|
from: z.ZodNumber;
|
|
46
46
|
to: z.ZodNumber;
|
|
47
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode"]>;
|
|
47
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
from: number;
|
|
50
50
|
to: number;
|
|
51
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
51
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
52
52
|
}, {
|
|
53
53
|
from: number;
|
|
54
54
|
to: number;
|
|
55
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
55
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
56
56
|
}>, {
|
|
57
57
|
from: number;
|
|
58
58
|
to: number;
|
|
59
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
59
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
60
60
|
}, {
|
|
61
61
|
from: number;
|
|
62
62
|
to: number;
|
|
63
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
63
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
64
64
|
}>, {
|
|
65
65
|
from: number;
|
|
66
66
|
to: number;
|
|
67
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
67
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
68
68
|
}, {
|
|
69
69
|
from: number;
|
|
70
70
|
to: number;
|
|
71
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
71
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
72
72
|
}>, {
|
|
73
73
|
from: number;
|
|
74
74
|
to: number;
|
|
75
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
75
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
76
76
|
}, {
|
|
77
77
|
from: number;
|
|
78
78
|
to: number;
|
|
79
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode";
|
|
79
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
80
80
|
}>;
|
|
81
81
|
export type AddFromClientSpentNodeFormData = z.infer<typeof addFromClientSpentNodeFormSchema>;
|
|
82
82
|
export interface ClientSpentNodeData {
|