lancer-shared 1.0.74 → 1.0.76
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.
|
@@ -73,10 +73,14 @@ export declare const ROUTES: {
|
|
|
73
73
|
readonly ADMIN: {
|
|
74
74
|
readonly BASE: "admin";
|
|
75
75
|
readonly MANAGER_ACCOUNTS: {
|
|
76
|
-
readonly
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
readonly LANCER_PROVIDED: {
|
|
77
|
+
readonly BASE: "admin/manager-accounts/lancer-provided";
|
|
78
|
+
readonly BY_ID: (id: string) => string;
|
|
79
|
+
};
|
|
80
|
+
readonly USER_PROVIDED: {
|
|
81
|
+
readonly BASE: "admin/manager-accounts/user-provided";
|
|
82
|
+
readonly BY_ID: (id: string) => string;
|
|
83
|
+
};
|
|
80
84
|
};
|
|
81
85
|
readonly SCRAPER_ACCOUNTS: {
|
|
82
86
|
readonly BASE: "admin/scraper-accounts";
|
package/dist/constants/routes.js
CHANGED
|
@@ -76,10 +76,14 @@ exports.ROUTES = {
|
|
|
76
76
|
ADMIN: {
|
|
77
77
|
BASE: 'admin',
|
|
78
78
|
MANAGER_ACCOUNTS: {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
LANCER_PROVIDED: {
|
|
80
|
+
BASE: 'admin/manager-accounts/lancer-provided',
|
|
81
|
+
BY_ID: (id) => `admin/manager-accounts/lancer-provided/${id}`,
|
|
82
|
+
},
|
|
83
|
+
USER_PROVIDED: {
|
|
84
|
+
BASE: 'admin/manager-accounts/user-provided',
|
|
85
|
+
BY_ID: (id) => `admin/manager-accounts/user-provided/${id}`,
|
|
86
|
+
},
|
|
83
87
|
},
|
|
84
88
|
SCRAPER_ACCOUNTS: {
|
|
85
89
|
BASE: 'admin/scraper-accounts',
|
|
@@ -30,6 +30,7 @@ export declare const vendorQualificationSchema: z.ZodObject<{
|
|
|
30
30
|
}>;
|
|
31
31
|
export declare const clientInfoSchema: z.ZodObject<{
|
|
32
32
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
33
|
+
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
33
34
|
numberOfReviews: z.ZodNullable<z.ZodNumber>;
|
|
34
35
|
rating: z.ZodNullable<z.ZodNumber>;
|
|
35
36
|
country: z.ZodNullable<z.ZodString>;
|
|
@@ -49,6 +50,7 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
49
50
|
country: string | null;
|
|
50
51
|
region: string | null;
|
|
51
52
|
isPaymentVerified: boolean | null;
|
|
53
|
+
isPhoneVerified: boolean | null;
|
|
52
54
|
numberOfReviews: number | null;
|
|
53
55
|
rating: number | null;
|
|
54
56
|
jobsPosted: number | null;
|
|
@@ -66,6 +68,7 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
66
68
|
country: string | null;
|
|
67
69
|
region: string | null;
|
|
68
70
|
isPaymentVerified: boolean | null;
|
|
71
|
+
isPhoneVerified: boolean | null;
|
|
69
72
|
numberOfReviews: number | null;
|
|
70
73
|
rating: number | null;
|
|
71
74
|
jobsPosted: number | null;
|
|
@@ -269,6 +272,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
269
272
|
}>>;
|
|
270
273
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
271
274
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
275
|
+
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
272
276
|
numberOfReviews: z.ZodNullable<z.ZodNumber>;
|
|
273
277
|
rating: z.ZodNullable<z.ZodNumber>;
|
|
274
278
|
country: z.ZodNullable<z.ZodString>;
|
|
@@ -288,6 +292,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
288
292
|
country: string | null;
|
|
289
293
|
region: string | null;
|
|
290
294
|
isPaymentVerified: boolean | null;
|
|
295
|
+
isPhoneVerified: boolean | null;
|
|
291
296
|
numberOfReviews: number | null;
|
|
292
297
|
rating: number | null;
|
|
293
298
|
jobsPosted: number | null;
|
|
@@ -305,6 +310,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
305
310
|
country: string | null;
|
|
306
311
|
region: string | null;
|
|
307
312
|
isPaymentVerified: boolean | null;
|
|
313
|
+
isPhoneVerified: boolean | null;
|
|
308
314
|
numberOfReviews: number | null;
|
|
309
315
|
rating: number | null;
|
|
310
316
|
jobsPosted: number | null;
|
|
@@ -470,6 +476,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
470
476
|
country: string | null;
|
|
471
477
|
region: string | null;
|
|
472
478
|
isPaymentVerified: boolean | null;
|
|
479
|
+
isPhoneVerified: boolean | null;
|
|
473
480
|
numberOfReviews: number | null;
|
|
474
481
|
rating: number | null;
|
|
475
482
|
jobsPosted: number | null;
|
|
@@ -558,6 +565,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
558
565
|
country: string | null;
|
|
559
566
|
region: string | null;
|
|
560
567
|
isPaymentVerified: boolean | null;
|
|
568
|
+
isPhoneVerified: boolean | null;
|
|
561
569
|
numberOfReviews: number | null;
|
|
562
570
|
rating: number | null;
|
|
563
571
|
jobsPosted: number | null;
|
|
@@ -674,6 +682,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
674
682
|
}>>;
|
|
675
683
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
676
684
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
685
|
+
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
677
686
|
numberOfReviews: z.ZodNullable<z.ZodNumber>;
|
|
678
687
|
rating: z.ZodNullable<z.ZodNumber>;
|
|
679
688
|
country: z.ZodNullable<z.ZodString>;
|
|
@@ -693,6 +702,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
693
702
|
country: string | null;
|
|
694
703
|
region: string | null;
|
|
695
704
|
isPaymentVerified: boolean | null;
|
|
705
|
+
isPhoneVerified: boolean | null;
|
|
696
706
|
numberOfReviews: number | null;
|
|
697
707
|
rating: number | null;
|
|
698
708
|
jobsPosted: number | null;
|
|
@@ -710,6 +720,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
710
720
|
country: string | null;
|
|
711
721
|
region: string | null;
|
|
712
722
|
isPaymentVerified: boolean | null;
|
|
723
|
+
isPhoneVerified: boolean | null;
|
|
713
724
|
numberOfReviews: number | null;
|
|
714
725
|
rating: number | null;
|
|
715
726
|
jobsPosted: number | null;
|
|
@@ -930,6 +941,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
930
941
|
country: string | null;
|
|
931
942
|
region: string | null;
|
|
932
943
|
isPaymentVerified: boolean | null;
|
|
944
|
+
isPhoneVerified: boolean | null;
|
|
933
945
|
numberOfReviews: number | null;
|
|
934
946
|
rating: number | null;
|
|
935
947
|
jobsPosted: number | null;
|
|
@@ -1042,6 +1054,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
1042
1054
|
country: string | null;
|
|
1043
1055
|
region: string | null;
|
|
1044
1056
|
isPaymentVerified: boolean | null;
|
|
1057
|
+
isPhoneVerified: boolean | null;
|
|
1045
1058
|
numberOfReviews: number | null;
|
|
1046
1059
|
rating: number | null;
|
|
1047
1060
|
jobsPosted: number | null;
|
|
@@ -1195,6 +1208,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1195
1208
|
}>>;
|
|
1196
1209
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
1197
1210
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
1211
|
+
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
1198
1212
|
numberOfReviews: z.ZodNullable<z.ZodNumber>;
|
|
1199
1213
|
rating: z.ZodNullable<z.ZodNumber>;
|
|
1200
1214
|
country: z.ZodNullable<z.ZodString>;
|
|
@@ -1214,6 +1228,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1214
1228
|
country: string | null;
|
|
1215
1229
|
region: string | null;
|
|
1216
1230
|
isPaymentVerified: boolean | null;
|
|
1231
|
+
isPhoneVerified: boolean | null;
|
|
1217
1232
|
numberOfReviews: number | null;
|
|
1218
1233
|
rating: number | null;
|
|
1219
1234
|
jobsPosted: number | null;
|
|
@@ -1231,6 +1246,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1231
1246
|
country: string | null;
|
|
1232
1247
|
region: string | null;
|
|
1233
1248
|
isPaymentVerified: boolean | null;
|
|
1249
|
+
isPhoneVerified: boolean | null;
|
|
1234
1250
|
numberOfReviews: number | null;
|
|
1235
1251
|
rating: number | null;
|
|
1236
1252
|
jobsPosted: number | null;
|
|
@@ -1451,6 +1467,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1451
1467
|
country: string | null;
|
|
1452
1468
|
region: string | null;
|
|
1453
1469
|
isPaymentVerified: boolean | null;
|
|
1470
|
+
isPhoneVerified: boolean | null;
|
|
1454
1471
|
numberOfReviews: number | null;
|
|
1455
1472
|
rating: number | null;
|
|
1456
1473
|
jobsPosted: number | null;
|
|
@@ -1563,6 +1580,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1563
1580
|
country: string | null;
|
|
1564
1581
|
region: string | null;
|
|
1565
1582
|
isPaymentVerified: boolean | null;
|
|
1583
|
+
isPhoneVerified: boolean | null;
|
|
1566
1584
|
numberOfReviews: number | null;
|
|
1567
1585
|
rating: number | null;
|
|
1568
1586
|
jobsPosted: number | null;
|
|
@@ -1680,6 +1698,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1680
1698
|
country: string | null;
|
|
1681
1699
|
region: string | null;
|
|
1682
1700
|
isPaymentVerified: boolean | null;
|
|
1701
|
+
isPhoneVerified: boolean | null;
|
|
1683
1702
|
numberOfReviews: number | null;
|
|
1684
1703
|
rating: number | null;
|
|
1685
1704
|
jobsPosted: number | null;
|
|
@@ -1797,6 +1816,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1797
1816
|
country: string | null;
|
|
1798
1817
|
region: string | null;
|
|
1799
1818
|
isPaymentVerified: boolean | null;
|
|
1819
|
+
isPhoneVerified: boolean | null;
|
|
1800
1820
|
numberOfReviews: number | null;
|
|
1801
1821
|
rating: number | null;
|
|
1802
1822
|
jobsPosted: number | null;
|
|
@@ -19,6 +19,7 @@ exports.vendorQualificationSchema = zod_1.z.object({
|
|
|
19
19
|
});
|
|
20
20
|
exports.clientInfoSchema = zod_1.z.object({
|
|
21
21
|
isPaymentVerified: zod_1.z.boolean().nullable(),
|
|
22
|
+
isPhoneVerified: zod_1.z.boolean().nullable(),
|
|
22
23
|
numberOfReviews: zod_1.z.number().nullable(),
|
|
23
24
|
rating: zod_1.z.number().nullable(),
|
|
24
25
|
country: zod_1.z.string().nullable(),
|
|
@@ -60,6 +60,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
60
60
|
}>>;
|
|
61
61
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
62
62
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
63
|
+
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
63
64
|
numberOfReviews: z.ZodNullable<z.ZodNumber>;
|
|
64
65
|
rating: z.ZodNullable<z.ZodNumber>;
|
|
65
66
|
country: z.ZodNullable<z.ZodString>;
|
|
@@ -79,6 +80,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
79
80
|
country: string | null;
|
|
80
81
|
region: string | null;
|
|
81
82
|
isPaymentVerified: boolean | null;
|
|
83
|
+
isPhoneVerified: boolean | null;
|
|
82
84
|
numberOfReviews: number | null;
|
|
83
85
|
rating: number | null;
|
|
84
86
|
jobsPosted: number | null;
|
|
@@ -96,6 +98,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
96
98
|
country: string | null;
|
|
97
99
|
region: string | null;
|
|
98
100
|
isPaymentVerified: boolean | null;
|
|
101
|
+
isPhoneVerified: boolean | null;
|
|
99
102
|
numberOfReviews: number | null;
|
|
100
103
|
rating: number | null;
|
|
101
104
|
jobsPosted: number | null;
|
|
@@ -261,6 +264,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
261
264
|
country: string | null;
|
|
262
265
|
region: string | null;
|
|
263
266
|
isPaymentVerified: boolean | null;
|
|
267
|
+
isPhoneVerified: boolean | null;
|
|
264
268
|
numberOfReviews: number | null;
|
|
265
269
|
rating: number | null;
|
|
266
270
|
jobsPosted: number | null;
|
|
@@ -349,6 +353,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
349
353
|
country: string | null;
|
|
350
354
|
region: string | null;
|
|
351
355
|
isPaymentVerified: boolean | null;
|
|
356
|
+
isPhoneVerified: boolean | null;
|
|
352
357
|
numberOfReviews: number | null;
|
|
353
358
|
rating: number | null;
|
|
354
359
|
jobsPosted: number | null;
|
|
@@ -445,6 +450,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
445
450
|
country: string | null;
|
|
446
451
|
region: string | null;
|
|
447
452
|
isPaymentVerified: boolean | null;
|
|
453
|
+
isPhoneVerified: boolean | null;
|
|
448
454
|
numberOfReviews: number | null;
|
|
449
455
|
rating: number | null;
|
|
450
456
|
jobsPosted: number | null;
|
|
@@ -539,6 +545,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
539
545
|
country: string | null;
|
|
540
546
|
region: string | null;
|
|
541
547
|
isPaymentVerified: boolean | null;
|
|
548
|
+
isPhoneVerified: boolean | null;
|
|
542
549
|
numberOfReviews: number | null;
|
|
543
550
|
rating: number | null;
|
|
544
551
|
jobsPosted: number | null;
|