lancer-shared 1.0.34 → 1.0.36
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/schemas/campaign/campaign.d.ts +9 -9
- package/dist/schemas/job/job.d.ts +20 -28
- package/dist/schemas/job/job.js +3 -4
- package/dist/schemas/lead/lead-status.d.ts +1 -1
- package/dist/schemas/lead/lead-status.js +1 -3
- package/dist/schemas/lead/lead.d.ts +8 -8
- package/dist/schemas/logger/log-event.d.ts +4 -4
- package/dist/schemas/logger/log-event.js +3 -10
- package/dist/schemas/scraper/scrape-result.d.ts +10 -0
- package/dist/schemas/scraper/scrape-result.js +9 -1
- package/dist/types/scraper/scrape-result.d.ts +3 -2
- package/package.json +1 -1
|
@@ -189,7 +189,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
189
189
|
monthlyBudget: z.ZodNullable<z.ZodNumber>;
|
|
190
190
|
suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
191
191
|
boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
192
|
-
jobCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "
|
|
192
|
+
jobCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "leadArchived"]>, z.ZodNumber>>;
|
|
193
193
|
expenses: z.ZodObject<{
|
|
194
194
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
195
195
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -297,7 +297,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
297
297
|
monthlyBudget: number | null;
|
|
298
298
|
suitabilityThreshold: number | null;
|
|
299
299
|
boostingThreshold: number | null;
|
|
300
|
-
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
300
|
+
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived", number>> | null;
|
|
301
301
|
expenses: {
|
|
302
302
|
biddingAmount: number;
|
|
303
303
|
boosted: number;
|
|
@@ -362,7 +362,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
362
362
|
automatedBidding: boolean | null;
|
|
363
363
|
webhookUrl: string | null;
|
|
364
364
|
monthlyBudget: number | null;
|
|
365
|
-
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
365
|
+
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived", number>> | null;
|
|
366
366
|
expenses: {
|
|
367
367
|
biddingAmount?: number | undefined;
|
|
368
368
|
boosted?: number | undefined;
|
|
@@ -574,7 +574,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
574
574
|
monthlyBudget: z.ZodNullable<z.ZodNumber>;
|
|
575
575
|
suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
576
576
|
boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
577
|
-
jobCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "
|
|
577
|
+
jobCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "leadArchived"]>, z.ZodNumber>>;
|
|
578
578
|
expenses: z.ZodObject<{
|
|
579
579
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
580
580
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -679,7 +679,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
679
679
|
monthlyBudget: number | null;
|
|
680
680
|
suitabilityThreshold: number | null;
|
|
681
681
|
boostingThreshold: number | null;
|
|
682
|
-
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
682
|
+
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived", number>> | null;
|
|
683
683
|
expenses: {
|
|
684
684
|
biddingAmount: number;
|
|
685
685
|
boosted: number;
|
|
@@ -741,7 +741,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
741
741
|
automatedBidding: boolean | null;
|
|
742
742
|
webhookUrl: string | null;
|
|
743
743
|
monthlyBudget: number | null;
|
|
744
|
-
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
744
|
+
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived", number>> | null;
|
|
745
745
|
expenses: {
|
|
746
746
|
biddingAmount?: number | undefined;
|
|
747
747
|
boosted?: number | undefined;
|
|
@@ -953,7 +953,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
953
953
|
monthlyBudget: z.ZodNullable<z.ZodNumber>;
|
|
954
954
|
suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
955
955
|
boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
956
|
-
jobCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "
|
|
956
|
+
jobCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "leadArchived"]>, z.ZodNumber>>;
|
|
957
957
|
expenses: z.ZodObject<{
|
|
958
958
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
959
959
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1059,7 +1059,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1059
1059
|
monthlyBudget: number | null;
|
|
1060
1060
|
suitabilityThreshold: number | null;
|
|
1061
1061
|
boostingThreshold: number | null;
|
|
1062
|
-
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
1062
|
+
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived", number>> | null;
|
|
1063
1063
|
expenses: {
|
|
1064
1064
|
biddingAmount: number;
|
|
1065
1065
|
boosted: number;
|
|
@@ -1122,7 +1122,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1122
1122
|
automatedBidding: boolean | null;
|
|
1123
1123
|
webhookUrl: string | null;
|
|
1124
1124
|
monthlyBudget: number | null;
|
|
1125
|
-
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
1125
|
+
jobCounts: Partial<Record<"suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived", number>> | null;
|
|
1126
1126
|
expenses: {
|
|
1127
1127
|
biddingAmount?: number | undefined;
|
|
1128
1128
|
boosted?: number | undefined;
|
|
@@ -44,9 +44,9 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
country: string | null;
|
|
46
46
|
region: string | null;
|
|
47
|
+
rating: number | null;
|
|
47
48
|
isPaymentVerified: boolean | null;
|
|
48
49
|
numberOfReviews: number | null;
|
|
49
|
-
rating: number | null;
|
|
50
50
|
jobsPosted: number | null;
|
|
51
51
|
totalSpent: number | null;
|
|
52
52
|
numberOfHires: number | null;
|
|
@@ -60,9 +60,9 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
60
60
|
}, {
|
|
61
61
|
country: string | null;
|
|
62
62
|
region: string | null;
|
|
63
|
+
rating: number | null;
|
|
63
64
|
isPaymentVerified: boolean | null;
|
|
64
65
|
numberOfReviews: number | null;
|
|
65
|
-
rating: number | null;
|
|
66
66
|
jobsPosted: number | null;
|
|
67
67
|
totalSpent: number | null;
|
|
68
68
|
numberOfHires: number | null;
|
|
@@ -187,9 +187,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
country: string | null;
|
|
189
189
|
region: string | null;
|
|
190
|
+
rating: number | null;
|
|
190
191
|
isPaymentVerified: boolean | null;
|
|
191
192
|
numberOfReviews: number | null;
|
|
192
|
-
rating: number | null;
|
|
193
193
|
jobsPosted: number | null;
|
|
194
194
|
totalSpent: number | null;
|
|
195
195
|
numberOfHires: number | null;
|
|
@@ -203,9 +203,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
203
203
|
}, {
|
|
204
204
|
country: string | null;
|
|
205
205
|
region: string | null;
|
|
206
|
+
rating: number | null;
|
|
206
207
|
isPaymentVerified: boolean | null;
|
|
207
208
|
numberOfReviews: number | null;
|
|
208
|
-
rating: number | null;
|
|
209
209
|
jobsPosted: number | null;
|
|
210
210
|
totalSpent: number | null;
|
|
211
211
|
numberOfHires: number | null;
|
|
@@ -267,9 +267,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
267
267
|
clientInfo: {
|
|
268
268
|
country: string | null;
|
|
269
269
|
region: string | null;
|
|
270
|
+
rating: number | null;
|
|
270
271
|
isPaymentVerified: boolean | null;
|
|
271
272
|
numberOfReviews: number | null;
|
|
272
|
-
rating: number | null;
|
|
273
273
|
jobsPosted: number | null;
|
|
274
274
|
totalSpent: number | null;
|
|
275
275
|
numberOfHires: number | null;
|
|
@@ -319,9 +319,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
319
319
|
clientInfo: {
|
|
320
320
|
country: string | null;
|
|
321
321
|
region: string | null;
|
|
322
|
+
rating: number | null;
|
|
322
323
|
isPaymentVerified: boolean | null;
|
|
323
324
|
numberOfReviews: number | null;
|
|
324
|
-
rating: number | null;
|
|
325
325
|
jobsPosted: number | null;
|
|
326
326
|
totalSpent: number | null;
|
|
327
327
|
numberOfHires: number | null;
|
|
@@ -342,7 +342,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
342
342
|
} | null;
|
|
343
343
|
processed: boolean | null;
|
|
344
344
|
}>;
|
|
345
|
-
export declare const
|
|
345
|
+
export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
346
346
|
id: z.ZodNullable<z.ZodString>;
|
|
347
347
|
createdAt: z.ZodNullable<z.ZodNumber>;
|
|
348
348
|
title: z.ZodNullable<z.ZodString>;
|
|
@@ -418,9 +418,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
419
|
country: string | null;
|
|
420
420
|
region: string | null;
|
|
421
|
+
rating: number | null;
|
|
421
422
|
isPaymentVerified: boolean | null;
|
|
422
423
|
numberOfReviews: number | null;
|
|
423
|
-
rating: number | null;
|
|
424
424
|
jobsPosted: number | null;
|
|
425
425
|
totalSpent: number | null;
|
|
426
426
|
numberOfHires: number | null;
|
|
@@ -434,9 +434,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
434
434
|
}, {
|
|
435
435
|
country: string | null;
|
|
436
436
|
region: string | null;
|
|
437
|
+
rating: number | null;
|
|
437
438
|
isPaymentVerified: boolean | null;
|
|
438
439
|
numberOfReviews: number | null;
|
|
439
|
-
rating: number | null;
|
|
440
440
|
jobsPosted: number | null;
|
|
441
441
|
totalSpent: number | null;
|
|
442
442
|
numberOfHires: number | null;
|
|
@@ -469,7 +469,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
469
469
|
}>>;
|
|
470
470
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
471
471
|
}, {
|
|
472
|
-
jobId: z.ZodString;
|
|
473
472
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
474
473
|
suitabilityRating: z.ZodNullable<z.ZodNumber>;
|
|
475
474
|
suitabilityReason: z.ZodNullable<z.ZodString>;
|
|
@@ -531,7 +530,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
531
530
|
description: string | null;
|
|
532
531
|
status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
533
532
|
datetime: number | null;
|
|
534
|
-
jobId: string;
|
|
535
533
|
createdAt: number | null;
|
|
536
534
|
updatedAt: number | null;
|
|
537
535
|
questionAnswerPairs: {
|
|
@@ -552,9 +550,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
552
550
|
clientInfo: {
|
|
553
551
|
country: string | null;
|
|
554
552
|
region: string | null;
|
|
553
|
+
rating: number | null;
|
|
555
554
|
isPaymentVerified: boolean | null;
|
|
556
555
|
numberOfReviews: number | null;
|
|
557
|
-
rating: number | null;
|
|
558
556
|
jobsPosted: number | null;
|
|
559
557
|
totalSpent: number | null;
|
|
560
558
|
numberOfHires: number | null;
|
|
@@ -606,7 +604,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
606
604
|
description: string | null;
|
|
607
605
|
status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
608
606
|
datetime: number | null;
|
|
609
|
-
jobId: string;
|
|
610
607
|
createdAt: number | null;
|
|
611
608
|
updatedAt: number | null;
|
|
612
609
|
questionAnswerPairs: {
|
|
@@ -627,9 +624,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
627
624
|
clientInfo: {
|
|
628
625
|
country: string | null;
|
|
629
626
|
region: string | null;
|
|
627
|
+
rating: number | null;
|
|
630
628
|
isPaymentVerified: boolean | null;
|
|
631
629
|
numberOfReviews: number | null;
|
|
632
|
-
rating: number | null;
|
|
633
630
|
jobsPosted: number | null;
|
|
634
631
|
totalSpent: number | null;
|
|
635
632
|
numberOfHires: number | null;
|
|
@@ -679,7 +676,7 @@ export declare const jobListItemSchema: z.ZodObject<{
|
|
|
679
676
|
jobUrl: string | null;
|
|
680
677
|
}>;
|
|
681
678
|
export declare const jobResponseSchema: z.ZodObject<{
|
|
682
|
-
|
|
679
|
+
jobs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
683
680
|
id: z.ZodNullable<z.ZodString>;
|
|
684
681
|
createdAt: z.ZodNullable<z.ZodNumber>;
|
|
685
682
|
title: z.ZodNullable<z.ZodString>;
|
|
@@ -755,9 +752,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
755
752
|
}, "strip", z.ZodTypeAny, {
|
|
756
753
|
country: string | null;
|
|
757
754
|
region: string | null;
|
|
755
|
+
rating: number | null;
|
|
758
756
|
isPaymentVerified: boolean | null;
|
|
759
757
|
numberOfReviews: number | null;
|
|
760
|
-
rating: number | null;
|
|
761
758
|
jobsPosted: number | null;
|
|
762
759
|
totalSpent: number | null;
|
|
763
760
|
numberOfHires: number | null;
|
|
@@ -771,9 +768,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
771
768
|
}, {
|
|
772
769
|
country: string | null;
|
|
773
770
|
region: string | null;
|
|
771
|
+
rating: number | null;
|
|
774
772
|
isPaymentVerified: boolean | null;
|
|
775
773
|
numberOfReviews: number | null;
|
|
776
|
-
rating: number | null;
|
|
777
774
|
jobsPosted: number | null;
|
|
778
775
|
totalSpent: number | null;
|
|
779
776
|
numberOfHires: number | null;
|
|
@@ -806,7 +803,6 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
806
803
|
}>>;
|
|
807
804
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
808
805
|
}, {
|
|
809
|
-
jobId: z.ZodString;
|
|
810
806
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
811
807
|
suitabilityRating: z.ZodNullable<z.ZodNumber>;
|
|
812
808
|
suitabilityReason: z.ZodNullable<z.ZodString>;
|
|
@@ -868,7 +864,6 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
868
864
|
description: string | null;
|
|
869
865
|
status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
870
866
|
datetime: number | null;
|
|
871
|
-
jobId: string;
|
|
872
867
|
createdAt: number | null;
|
|
873
868
|
updatedAt: number | null;
|
|
874
869
|
questionAnswerPairs: {
|
|
@@ -889,9 +884,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
889
884
|
clientInfo: {
|
|
890
885
|
country: string | null;
|
|
891
886
|
region: string | null;
|
|
887
|
+
rating: number | null;
|
|
892
888
|
isPaymentVerified: boolean | null;
|
|
893
889
|
numberOfReviews: number | null;
|
|
894
|
-
rating: number | null;
|
|
895
890
|
jobsPosted: number | null;
|
|
896
891
|
totalSpent: number | null;
|
|
897
892
|
numberOfHires: number | null;
|
|
@@ -943,7 +938,6 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
943
938
|
description: string | null;
|
|
944
939
|
status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
945
940
|
datetime: number | null;
|
|
946
|
-
jobId: string;
|
|
947
941
|
createdAt: number | null;
|
|
948
942
|
updatedAt: number | null;
|
|
949
943
|
questionAnswerPairs: {
|
|
@@ -964,9 +958,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
964
958
|
clientInfo: {
|
|
965
959
|
country: string | null;
|
|
966
960
|
region: string | null;
|
|
961
|
+
rating: number | null;
|
|
967
962
|
isPaymentVerified: boolean | null;
|
|
968
963
|
numberOfReviews: number | null;
|
|
969
|
-
rating: number | null;
|
|
970
964
|
jobsPosted: number | null;
|
|
971
965
|
totalSpent: number | null;
|
|
972
966
|
numberOfHires: number | null;
|
|
@@ -1006,7 +1000,7 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1006
1000
|
hasMore: z.ZodBoolean;
|
|
1007
1001
|
jobCounts: z.ZodNullable<z.ZodNumber>;
|
|
1008
1002
|
}, "strip", z.ZodTypeAny, {
|
|
1009
|
-
|
|
1003
|
+
jobs: {
|
|
1010
1004
|
id: string | null;
|
|
1011
1005
|
title: string | null;
|
|
1012
1006
|
metadata: {
|
|
@@ -1023,7 +1017,6 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1023
1017
|
description: string | null;
|
|
1024
1018
|
status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1025
1019
|
datetime: number | null;
|
|
1026
|
-
jobId: string;
|
|
1027
1020
|
createdAt: number | null;
|
|
1028
1021
|
updatedAt: number | null;
|
|
1029
1022
|
questionAnswerPairs: {
|
|
@@ -1044,9 +1037,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1044
1037
|
clientInfo: {
|
|
1045
1038
|
country: string | null;
|
|
1046
1039
|
region: string | null;
|
|
1040
|
+
rating: number | null;
|
|
1047
1041
|
isPaymentVerified: boolean | null;
|
|
1048
1042
|
numberOfReviews: number | null;
|
|
1049
|
-
rating: number | null;
|
|
1050
1043
|
jobsPosted: number | null;
|
|
1051
1044
|
totalSpent: number | null;
|
|
1052
1045
|
numberOfHires: number | null;
|
|
@@ -1086,7 +1079,7 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1086
1079
|
hasMore: boolean;
|
|
1087
1080
|
jobCounts: number | null;
|
|
1088
1081
|
}, {
|
|
1089
|
-
|
|
1082
|
+
jobs: {
|
|
1090
1083
|
id: string | null;
|
|
1091
1084
|
title: string | null;
|
|
1092
1085
|
metadata: {
|
|
@@ -1103,7 +1096,6 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1103
1096
|
description: string | null;
|
|
1104
1097
|
status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1105
1098
|
datetime: number | null;
|
|
1106
|
-
jobId: string;
|
|
1107
1099
|
createdAt: number | null;
|
|
1108
1100
|
updatedAt: number | null;
|
|
1109
1101
|
questionAnswerPairs: {
|
|
@@ -1124,9 +1116,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1124
1116
|
clientInfo: {
|
|
1125
1117
|
country: string | null;
|
|
1126
1118
|
region: string | null;
|
|
1119
|
+
rating: number | null;
|
|
1127
1120
|
isPaymentVerified: boolean | null;
|
|
1128
1121
|
numberOfReviews: number | null;
|
|
1129
|
-
rating: number | null;
|
|
1130
1122
|
jobsPosted: number | null;
|
|
1131
1123
|
totalSpent: number | null;
|
|
1132
1124
|
numberOfHires: number | null;
|
package/dist/schemas/job/job.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.jobResponseSchema = exports.jobListItemSchema = exports.
|
|
3
|
+
exports.jobResponseSchema = exports.jobListItemSchema = exports.jobSchema = exports.upworkJobSchema = exports.metadataSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const job_note_1 = require("./job-note");
|
|
6
6
|
const job_status_1 = require("./job-status");
|
|
@@ -64,8 +64,7 @@ exports.upworkJobSchema = zod_1.z.object({
|
|
|
64
64
|
vendorQualifications: exports.vendorQualificationSchema.nullable(),
|
|
65
65
|
processed: (0, zod_1.boolean)().nullable(),
|
|
66
66
|
});
|
|
67
|
-
exports.
|
|
68
|
-
jobId: zod_1.z.string(),
|
|
67
|
+
exports.jobSchema = exports.upworkJobSchema.extend({
|
|
69
68
|
updatedAt: zod_1.z.number().nullable(),
|
|
70
69
|
suitabilityRating: zod_1.z.number().nullable(),
|
|
71
70
|
suitabilityReason: zod_1.z.string().nullable(),
|
|
@@ -84,7 +83,7 @@ exports.jobListItemSchema = zod_1.z.object({
|
|
|
84
83
|
datetime: zod_1.z.string().nullable(),
|
|
85
84
|
});
|
|
86
85
|
exports.jobResponseSchema = zod_1.z.object({
|
|
87
|
-
|
|
86
|
+
jobs: zod_1.z.array(exports.jobSchema),
|
|
88
87
|
nextCursor: zod_1.z.string().nullable(),
|
|
89
88
|
hasMore: zod_1.z.boolean(),
|
|
90
89
|
jobCounts: zod_1.z.number().nullable(),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "
|
|
2
|
+
export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "leadArchived"]>;
|
|
3
3
|
export declare const leadStatusSchema: z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>;
|
|
@@ -7,15 +7,13 @@ exports.agentStatusSchema = zod_1.z.enum([
|
|
|
7
7
|
"suitabilityProcessing",
|
|
8
8
|
"suitabilityComplete",
|
|
9
9
|
"suitabilityFailed",
|
|
10
|
-
"proposalPending",
|
|
11
10
|
"proposalProcessing",
|
|
12
11
|
"proposalComplete",
|
|
13
12
|
"proposalFailed",
|
|
14
|
-
"biddingPending",
|
|
15
13
|
"biddingProcessing",
|
|
16
14
|
"biddingComplete",
|
|
17
15
|
"biddingFailed",
|
|
18
|
-
"
|
|
16
|
+
"leadArchived",
|
|
19
17
|
]);
|
|
20
18
|
exports.leadStatusSchema = zod_1.z.enum([
|
|
21
19
|
"leads",
|
|
@@ -658,7 +658,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
658
658
|
answer: string;
|
|
659
659
|
question: string;
|
|
660
660
|
}>, "many">>;
|
|
661
|
-
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "
|
|
661
|
+
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "leadArchived"]>>;
|
|
662
662
|
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>>;
|
|
663
663
|
notes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
664
664
|
id: z.ZodString;
|
|
@@ -768,7 +768,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
768
768
|
}[] | null;
|
|
769
769
|
suitabilityRating: number | null;
|
|
770
770
|
suitabilityReason: string | null;
|
|
771
|
-
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
771
|
+
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | null;
|
|
772
772
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
|
|
773
773
|
notes: {
|
|
774
774
|
id: string;
|
|
@@ -862,7 +862,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
862
862
|
}[] | null;
|
|
863
863
|
suitabilityRating: number | null;
|
|
864
864
|
suitabilityReason: string | null;
|
|
865
|
-
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
865
|
+
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | null;
|
|
866
866
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
|
|
867
867
|
notes: {
|
|
868
868
|
id: string;
|
|
@@ -1085,7 +1085,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1085
1085
|
answer: string;
|
|
1086
1086
|
question: string;
|
|
1087
1087
|
}>, "many">>;
|
|
1088
|
-
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "
|
|
1088
|
+
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "leadArchived"]>>;
|
|
1089
1089
|
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>>;
|
|
1090
1090
|
notes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1091
1091
|
id: z.ZodString;
|
|
@@ -1195,7 +1195,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1195
1195
|
}[] | null;
|
|
1196
1196
|
suitabilityRating: number | null;
|
|
1197
1197
|
suitabilityReason: string | null;
|
|
1198
|
-
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
1198
|
+
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | null;
|
|
1199
1199
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
|
|
1200
1200
|
notes: {
|
|
1201
1201
|
id: string;
|
|
@@ -1289,7 +1289,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1289
1289
|
}[] | null;
|
|
1290
1290
|
suitabilityRating: number | null;
|
|
1291
1291
|
suitabilityReason: string | null;
|
|
1292
|
-
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
1292
|
+
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | null;
|
|
1293
1293
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
|
|
1294
1294
|
notes: {
|
|
1295
1295
|
id: string;
|
|
@@ -1388,7 +1388,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1388
1388
|
}[] | null;
|
|
1389
1389
|
suitabilityRating: number | null;
|
|
1390
1390
|
suitabilityReason: string | null;
|
|
1391
|
-
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
1391
|
+
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | null;
|
|
1392
1392
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
|
|
1393
1393
|
notes: {
|
|
1394
1394
|
id: string;
|
|
@@ -1487,7 +1487,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1487
1487
|
}[] | null;
|
|
1488
1488
|
suitabilityRating: number | null;
|
|
1489
1489
|
suitabilityReason: string | null;
|
|
1490
|
-
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
1490
|
+
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | null;
|
|
1491
1491
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
|
|
1492
1492
|
notes: {
|
|
1493
1493
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const LogEventTypeEnum: z.ZodEnum<["scraperStarted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "
|
|
2
|
+
export declare const LogEventTypeEnum: z.ZodEnum<["scraperStarted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingPending", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
|
|
3
3
|
export declare const logEventSchema: z.ZodObject<{
|
|
4
|
-
type: z.ZodEnum<["scraperStarted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "
|
|
4
|
+
type: z.ZodEnum<["scraperStarted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingPending", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
|
|
5
5
|
source: z.ZodString;
|
|
6
6
|
resourceType: z.ZodDefault<z.ZodString>;
|
|
7
7
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -12,7 +12,7 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
12
12
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
13
|
timestamp: z.ZodNumber;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
type: "suitabilityPending" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
15
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | "scraperStarted" | "jobScraped" | "jobsIndexed" | "jobDuplicateSkipped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingPending" | "biddingSkipped" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "auditTrailLogged";
|
|
16
16
|
reason: string | null;
|
|
17
17
|
source: string;
|
|
18
18
|
metadata: Record<string, unknown> | null;
|
|
@@ -23,7 +23,7 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
23
23
|
campaignId: string | null;
|
|
24
24
|
userId: string | null;
|
|
25
25
|
}, {
|
|
26
|
-
type: "suitabilityPending" | "suitabilityComplete" | "suitabilityFailed" | "
|
|
26
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadArchived" | "scraperStarted" | "jobScraped" | "jobsIndexed" | "jobDuplicateSkipped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingPending" | "biddingSkipped" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "auditTrailLogged";
|
|
27
27
|
reason: string | null;
|
|
28
28
|
source: string;
|
|
29
29
|
metadata: Record<string, unknown> | null;
|
|
@@ -14,25 +14,18 @@ exports.LogEventTypeEnum = zod_1.z.enum([
|
|
|
14
14
|
"leadsCreatedAndSynced",
|
|
15
15
|
// Suitability Events
|
|
16
16
|
"suitabilityPending",
|
|
17
|
-
"
|
|
18
|
-
"suitabilityStarted",
|
|
17
|
+
"suitabilityProcessing",
|
|
19
18
|
"suitabilityComplete",
|
|
20
19
|
"suitabilityFailed",
|
|
21
20
|
"manualSuitabilityAnalyzed",
|
|
22
|
-
"suitabilityRateLimited",
|
|
23
|
-
"suitabilityRetryScheduled",
|
|
24
21
|
// Proposal Events
|
|
25
|
-
"
|
|
26
|
-
"proposalTaskCreated",
|
|
27
|
-
"proposalStarted",
|
|
22
|
+
"proposalProcessing",
|
|
28
23
|
"proposalComplete",
|
|
29
24
|
"proposalFailed",
|
|
30
25
|
"manualProposalGenerated",
|
|
31
|
-
"proposalRetryScheduled",
|
|
32
26
|
// Bidding Events
|
|
33
27
|
"biddingPending",
|
|
34
|
-
"
|
|
35
|
-
"biddingStarted",
|
|
28
|
+
"biddingProcessing",
|
|
36
29
|
"biddingComplete",
|
|
37
30
|
"biddingFailed",
|
|
38
31
|
"biddingSkipped",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const regionSchema: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
2
3
|
export declare const scrapeResultSchema: z.ZodObject<{
|
|
3
4
|
jobs: z.ZodArray<z.ZodObject<{
|
|
4
5
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -313,7 +314,11 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
313
314
|
}[] | null;
|
|
314
315
|
}>, "many">;
|
|
315
316
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
317
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
318
|
+
usAccountCookies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
319
|
+
ukAccountCookies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
316
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
317
322
|
cookies: any[];
|
|
318
323
|
jobs: {
|
|
319
324
|
id: string | null;
|
|
@@ -385,7 +390,10 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
385
390
|
totalBilled: number | null;
|
|
386
391
|
}[] | null;
|
|
387
392
|
}[];
|
|
393
|
+
usAccountCookies?: any[] | undefined;
|
|
394
|
+
ukAccountCookies?: any[] | undefined;
|
|
388
395
|
}, {
|
|
396
|
+
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
389
397
|
cookies: any[];
|
|
390
398
|
jobs: {
|
|
391
399
|
id: string | null;
|
|
@@ -457,4 +465,6 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
457
465
|
totalBilled: number | null;
|
|
458
466
|
}[] | null;
|
|
459
467
|
}[];
|
|
468
|
+
usAccountCookies?: any[] | undefined;
|
|
469
|
+
ukAccountCookies?: any[] | undefined;
|
|
460
470
|
}>;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.scrapeResultSchema = void 0;
|
|
3
|
+
exports.scrapeResultSchema = exports.regionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const lead_1 = require("../lead");
|
|
6
|
+
exports.regionSchema = zod_1.z.union([
|
|
7
|
+
zod_1.z.literal("USOnly"),
|
|
8
|
+
zod_1.z.literal("UKOnly"),
|
|
9
|
+
zod_1.z.literal("Worldwide"),
|
|
10
|
+
]);
|
|
6
11
|
exports.scrapeResultSchema = zod_1.z.object({
|
|
7
12
|
jobs: zod_1.z.array(lead_1.upworkJobSchema),
|
|
8
13
|
cookies: zod_1.z.array(zod_1.z.any()),
|
|
14
|
+
region: exports.regionSchema,
|
|
15
|
+
usAccountCookies: zod_1.z.array(zod_1.z.any()).optional(),
|
|
16
|
+
ukAccountCookies: zod_1.z.array(zod_1.z.any()).optional(),
|
|
9
17
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { scrapeResultSchema } from
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { regionSchema, scrapeResultSchema } from "../../schemas";
|
|
3
3
|
export interface ScrapeResult extends z.infer<typeof scrapeResultSchema> {
|
|
4
4
|
}
|
|
5
|
+
export type Region = z.infer<typeof regionSchema>;
|