lancer-shared 1.0.73 → 1.0.75

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.
Files changed (63) hide show
  1. package/dist/schemas/account/account-status.d.ts +2 -0
  2. package/dist/schemas/account/account-status.js +11 -0
  3. package/dist/schemas/account/index.d.ts +3 -0
  4. package/dist/schemas/{ai-config → account}/index.js +3 -1
  5. package/dist/schemas/account/manager-account.d.ts +95 -0
  6. package/dist/schemas/account/manager-account.js +35 -0
  7. package/dist/schemas/{upwork-account/upwork-scraper-account.d.ts → account/scraper-account.d.ts} +3 -3
  8. package/dist/schemas/{upwork-account/upwork-scraper-account.js → account/scraper-account.js} +6 -6
  9. package/dist/schemas/index.d.ts +1 -1
  10. package/dist/schemas/index.js +1 -1
  11. package/dist/schemas/job/job.d.ts +16 -16
  12. package/dist/schemas/job/pipeline-job.d.ts +3 -9
  13. package/dist/schemas/job/pipeline-job.js +0 -1
  14. package/dist/schemas/lead/lead.d.ts +20 -0
  15. package/dist/schemas/lead/lead.js +1 -0
  16. package/dist/schemas/scraper/scrape-result.d.ts +7 -0
  17. package/dist/schemas/upwork-account/index.d.ts +1 -1
  18. package/dist/schemas/upwork-account/index.js +1 -1
  19. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +14 -14
  20. package/dist/schemas/upwork-account/upwork-business-manager-account.js +2 -2
  21. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +23 -23
  22. package/dist/schemas/upwork-account/upwork-scraping-account.js +3 -4
  23. package/dist/types/account/account-status.d.ts +3 -0
  24. package/dist/types/account/index.d.ts +3 -0
  25. package/dist/types/{ai-config → account}/index.js +3 -1
  26. package/dist/types/account/manager-account.d.ts +7 -0
  27. package/dist/types/account/scraper-account.d.ts +5 -0
  28. package/dist/types/index.d.ts +1 -1
  29. package/dist/types/index.js +1 -1
  30. package/dist/types/upwork-account/upwork-scraping-account.d.ts +2 -2
  31. package/package.json +1 -1
  32. package/dist/constants/upwork-filters.d.ts +0 -5
  33. package/dist/constants/upwork-filters.js +0 -75
  34. package/dist/schemas/ai-config/ai-config.d.ts +0 -39
  35. package/dist/schemas/ai-config/ai-config.js +0 -12
  36. package/dist/schemas/ai-config/index.d.ts +0 -1
  37. package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
  38. package/dist/schemas/bidding/proposal-dto.js +0 -18
  39. package/dist/schemas/job/job-pipeline.d.ts +0 -74
  40. package/dist/schemas/job/job-pipeline.js +0 -29
  41. package/dist/schemas/job/job-suitability.d.ts +0 -12
  42. package/dist/schemas/job/job-suitability.js +0 -13
  43. package/dist/schemas/knowledge-object/index.d.ts +0 -1
  44. package/dist/schemas/knowledge-object/index.js +0 -17
  45. package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
  46. package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
  47. package/dist/schemas/scraper/scrape-response.d.ts +0 -345
  48. package/dist/schemas/scraper/scrape-response.js +0 -9
  49. package/dist/types/ai-config/ai-config.d.ts +0 -6
  50. package/dist/types/ai-config/index.d.ts +0 -1
  51. package/dist/types/bidding/proposal-dto.d.ts +0 -3
  52. package/dist/types/job/job-pipeline.d.ts +0 -4
  53. package/dist/types/job/job-suitability.d.ts +0 -3
  54. package/dist/types/job/job-suitability.js +0 -2
  55. package/dist/types/knowledge-object/index.d.ts +0 -1
  56. package/dist/types/knowledge-object/index.js +0 -17
  57. package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
  58. package/dist/types/knowledge-object/knowledge-object.js +0 -2
  59. package/dist/types/scraper/scrape-response.d.ts +0 -4
  60. package/dist/types/scraper/scrape-response.js +0 -2
  61. /package/dist/types/{ai-config/ai-config.js → account/account-status.js} +0 -0
  62. /package/dist/types/{bidding/proposal-dto.js → account/manager-account.js} +0 -0
  63. /package/dist/types/{job/job-pipeline.js → account/scraper-account.js} +0 -0
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const accountStatusSchema: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accountStatusSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.accountStatusSchema = zod_1.z.enum([
6
+ 'verification_required',
7
+ 'shadow_banned',
8
+ 'healthy',
9
+ 'banned',
10
+ 'suspended',
11
+ ]);
@@ -0,0 +1,3 @@
1
+ export * from './account-status';
2
+ export * from './manager-account';
3
+ export * from './scraper-account';
@@ -14,4 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ai-config"), exports);
17
+ __exportStar(require("./account-status"), exports);
18
+ __exportStar(require("./manager-account"), exports);
19
+ __exportStar(require("./scraper-account"), exports);
@@ -0,0 +1,95 @@
1
+ import { z } from 'zod';
2
+ export declare const managerAccountProvider: z.ZodEnum<["user_provided", "lancer_provided"]>;
3
+ export declare const managerAccountSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ provider: z.ZodEnum<["user_provided", "lancer_provided"]>;
6
+ email: z.ZodString;
7
+ password: z.ZodString;
8
+ cookies: z.ZodNullable<z.ZodArray<z.ZodAny, "many">>;
9
+ proxy: z.ZodString;
10
+ status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
11
+ verified: z.ZodBoolean;
12
+ isActive: z.ZodBoolean;
13
+ assignedOrganizations: z.ZodArray<z.ZodString, "many">;
14
+ lastUsed: z.ZodNullable<z.ZodNumber>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ id: string;
17
+ email: string;
18
+ status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
19
+ cookies: any[] | null;
20
+ password: string;
21
+ isActive: boolean;
22
+ provider: "user_provided" | "lancer_provided";
23
+ proxy: string;
24
+ verified: boolean;
25
+ assignedOrganizations: string[];
26
+ lastUsed: number | null;
27
+ }, {
28
+ id: string;
29
+ email: string;
30
+ status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
31
+ cookies: any[] | null;
32
+ password: string;
33
+ isActive: boolean;
34
+ provider: "user_provided" | "lancer_provided";
35
+ proxy: string;
36
+ verified: boolean;
37
+ assignedOrganizations: string[];
38
+ lastUsed: number | null;
39
+ }>;
40
+ export declare const createManagerAccountSchema: z.ZodObject<Pick<{
41
+ id: z.ZodString;
42
+ provider: z.ZodEnum<["user_provided", "lancer_provided"]>;
43
+ email: z.ZodString;
44
+ password: z.ZodString;
45
+ cookies: z.ZodNullable<z.ZodArray<z.ZodAny, "many">>;
46
+ proxy: z.ZodString;
47
+ status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
48
+ verified: z.ZodBoolean;
49
+ isActive: z.ZodBoolean;
50
+ assignedOrganizations: z.ZodArray<z.ZodString, "many">;
51
+ lastUsed: z.ZodNullable<z.ZodNumber>;
52
+ }, "email" | "password" | "provider" | "proxy" | "assignedOrganizations">, "strip", z.ZodTypeAny, {
53
+ email: string;
54
+ password: string;
55
+ provider: "user_provided" | "lancer_provided";
56
+ proxy: string;
57
+ assignedOrganizations: string[];
58
+ }, {
59
+ email: string;
60
+ password: string;
61
+ provider: "user_provided" | "lancer_provided";
62
+ proxy: string;
63
+ assignedOrganizations: string[];
64
+ }>;
65
+ export declare const updateManagerAccountSchema: z.ZodObject<{
66
+ email: z.ZodOptional<z.ZodString>;
67
+ status: z.ZodOptional<z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>>;
68
+ cookies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
69
+ password: z.ZodOptional<z.ZodString>;
70
+ isActive: z.ZodOptional<z.ZodBoolean>;
71
+ proxy: z.ZodOptional<z.ZodString>;
72
+ verified: z.ZodOptional<z.ZodBoolean>;
73
+ assignedOrganizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
74
+ lastUsed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ email?: string | undefined;
77
+ status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
78
+ cookies?: any[] | null | undefined;
79
+ password?: string | undefined;
80
+ isActive?: boolean | undefined;
81
+ proxy?: string | undefined;
82
+ verified?: boolean | undefined;
83
+ assignedOrganizations?: string[] | undefined;
84
+ lastUsed?: number | null | undefined;
85
+ }, {
86
+ email?: string | undefined;
87
+ status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
88
+ cookies?: any[] | null | undefined;
89
+ password?: string | undefined;
90
+ isActive?: boolean | undefined;
91
+ proxy?: string | undefined;
92
+ verified?: boolean | undefined;
93
+ assignedOrganizations?: string[] | undefined;
94
+ lastUsed?: number | null | undefined;
95
+ }>;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateManagerAccountSchema = exports.createManagerAccountSchema = exports.managerAccountSchema = exports.managerAccountProvider = void 0;
4
+ const zod_1 = require("zod");
5
+ const account_status_1 = require("./account-status");
6
+ exports.managerAccountProvider = zod_1.z.enum([
7
+ 'user_provided',
8
+ 'lancer_provided',
9
+ ]);
10
+ exports.managerAccountSchema = zod_1.z.object({
11
+ id: zod_1.z.string(),
12
+ provider: exports.managerAccountProvider,
13
+ email: zod_1.z.string().email(),
14
+ password: zod_1.z.string(),
15
+ cookies: zod_1.z.array(zod_1.z.any()).nullable(),
16
+ proxy: zod_1.z.string(),
17
+ status: account_status_1.accountStatusSchema,
18
+ verified: zod_1.z.boolean(),
19
+ isActive: zod_1.z.boolean(),
20
+ assignedOrganizations: zod_1.z.array(zod_1.z.string()),
21
+ lastUsed: zod_1.z.number().nullable(),
22
+ });
23
+ exports.createManagerAccountSchema = exports.managerAccountSchema.pick({
24
+ email: true,
25
+ password: true,
26
+ proxy: true,
27
+ assignedOrganizations: true,
28
+ provider: true,
29
+ });
30
+ exports.updateManagerAccountSchema = exports.managerAccountSchema
31
+ .omit({
32
+ id: true,
33
+ provider: true,
34
+ })
35
+ .partial();
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const upworkScraperAccountSchema: z.ZodObject<{
2
+ export declare const scraperAccountSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  email: z.ZodString;
5
5
  password: z.ZodString;
@@ -33,7 +33,7 @@ export declare const upworkScraperAccountSchema: z.ZodObject<{
33
33
  lastUsed: number;
34
34
  proxy_credentials: string;
35
35
  }>;
36
- export declare const createUpworkScraperAccountSchema: z.ZodObject<Pick<{
36
+ export declare const createScraperAccountSchema: z.ZodObject<Pick<{
37
37
  id: z.ZodString;
38
38
  email: z.ZodString;
39
39
  password: z.ZodString;
@@ -59,7 +59,7 @@ export declare const createUpworkScraperAccountSchema: z.ZodObject<Pick<{
59
59
  verified: boolean;
60
60
  proxy_credentials: string;
61
61
  }>;
62
- export declare const updateUpworkScraperAccountSchema: z.ZodObject<{
62
+ export declare const updateScraperAccountSchema: z.ZodObject<{
63
63
  email: z.ZodOptional<z.ZodString>;
64
64
  status: z.ZodOptional<z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>>;
65
65
  region: z.ZodOptional<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>>;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateUpworkScraperAccountSchema = exports.createUpworkScraperAccountSchema = exports.upworkScraperAccountSchema = void 0;
3
+ exports.updateScraperAccountSchema = exports.createScraperAccountSchema = exports.scraperAccountSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- const upwork_account_status_1 = require("./upwork-account-status");
5
+ const account_status_1 = require("./account-status");
6
6
  const job_filters_1 = require("../job-filters");
7
- exports.upworkScraperAccountSchema = zod_1.z.object({
7
+ exports.scraperAccountSchema = zod_1.z.object({
8
8
  id: zod_1.z.string(),
9
9
  email: zod_1.z.string().email(),
10
10
  password: zod_1.z.string(),
@@ -13,10 +13,10 @@ exports.upworkScraperAccountSchema = zod_1.z.object({
13
13
  region: job_filters_1.regionEnum,
14
14
  isActive: zod_1.z.boolean(),
15
15
  lastUsed: zod_1.z.number(),
16
- status: upwork_account_status_1.upworkAccountStatusSchema,
16
+ status: account_status_1.accountStatusSchema,
17
17
  verified: zod_1.z.boolean(),
18
18
  });
19
- exports.createUpworkScraperAccountSchema = exports.upworkScraperAccountSchema.pick({
19
+ exports.createScraperAccountSchema = exports.scraperAccountSchema.pick({
20
20
  email: true,
21
21
  password: true,
22
22
  proxy_credentials: true,
@@ -24,7 +24,7 @@ exports.createUpworkScraperAccountSchema = exports.upworkScraperAccountSchema.pi
24
24
  verified: true,
25
25
  isActive: true,
26
26
  });
27
- exports.updateUpworkScraperAccountSchema = exports.upworkScraperAccountSchema
27
+ exports.updateScraperAccountSchema = exports.scraperAccountSchema
28
28
  .omit({
29
29
  id: true,
30
30
  })
@@ -10,4 +10,4 @@ export * from './bidding';
10
10
  export * from './scraper';
11
11
  export * from './config';
12
12
  export * from './logger';
13
- export * from './upwork-account';
13
+ export * from './account';
@@ -26,4 +26,4 @@ __exportStar(require("./bidding"), exports);
26
26
  __exportStar(require("./scraper"), exports);
27
27
  __exportStar(require("./config"), exports);
28
28
  __exportStar(require("./logger"), exports);
29
- __exportStar(require("./upwork-account"), exports);
29
+ __exportStar(require("./account"), exports);
@@ -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;
@@ -418,9 +418,9 @@ export declare const jobSchema: 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 jobSchema: 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;
@@ -550,9 +550,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
550
550
  clientInfo: {
551
551
  country: string | null;
552
552
  region: string | null;
553
+ rating: number | null;
553
554
  isPaymentVerified: boolean | null;
554
555
  numberOfReviews: number | null;
555
- rating: number | null;
556
556
  jobsPosted: number | null;
557
557
  totalSpent: number | null;
558
558
  numberOfHires: number | null;
@@ -624,9 +624,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
624
624
  clientInfo: {
625
625
  country: string | null;
626
626
  region: string | null;
627
+ rating: number | null;
627
628
  isPaymentVerified: boolean | null;
628
629
  numberOfReviews: number | null;
629
- rating: number | null;
630
630
  jobsPosted: number | null;
631
631
  totalSpent: number | null;
632
632
  numberOfHires: number | null;
@@ -752,9 +752,9 @@ export declare const jobResponseSchema: z.ZodObject<{
752
752
  }, "strip", z.ZodTypeAny, {
753
753
  country: string | null;
754
754
  region: string | null;
755
+ rating: number | null;
755
756
  isPaymentVerified: boolean | null;
756
757
  numberOfReviews: number | null;
757
- rating: number | null;
758
758
  jobsPosted: number | null;
759
759
  totalSpent: number | null;
760
760
  numberOfHires: number | null;
@@ -768,9 +768,9 @@ export declare const jobResponseSchema: z.ZodObject<{
768
768
  }, {
769
769
  country: string | null;
770
770
  region: string | null;
771
+ rating: number | null;
771
772
  isPaymentVerified: boolean | null;
772
773
  numberOfReviews: number | null;
773
- rating: number | null;
774
774
  jobsPosted: number | null;
775
775
  totalSpent: number | null;
776
776
  numberOfHires: number | null;
@@ -884,9 +884,9 @@ export declare const jobResponseSchema: z.ZodObject<{
884
884
  clientInfo: {
885
885
  country: string | null;
886
886
  region: string | null;
887
+ rating: number | null;
887
888
  isPaymentVerified: boolean | null;
888
889
  numberOfReviews: number | null;
889
- rating: number | null;
890
890
  jobsPosted: number | null;
891
891
  totalSpent: number | null;
892
892
  numberOfHires: number | null;
@@ -958,9 +958,9 @@ export declare const jobResponseSchema: z.ZodObject<{
958
958
  clientInfo: {
959
959
  country: string | null;
960
960
  region: string | null;
961
+ rating: number | null;
961
962
  isPaymentVerified: boolean | null;
962
963
  numberOfReviews: number | null;
963
- rating: number | null;
964
964
  jobsPosted: number | null;
965
965
  totalSpent: number | null;
966
966
  numberOfHires: number | null;
@@ -1037,9 +1037,9 @@ export declare const jobResponseSchema: z.ZodObject<{
1037
1037
  clientInfo: {
1038
1038
  country: string | null;
1039
1039
  region: string | null;
1040
+ rating: number | null;
1040
1041
  isPaymentVerified: boolean | null;
1041
1042
  numberOfReviews: number | null;
1042
- rating: number | null;
1043
1043
  jobsPosted: number | null;
1044
1044
  totalSpent: number | null;
1045
1045
  numberOfHires: number | null;
@@ -1116,9 +1116,9 @@ export declare const jobResponseSchema: z.ZodObject<{
1116
1116
  clientInfo: {
1117
1117
  country: string | null;
1118
1118
  region: string | null;
1119
+ rating: number | null;
1119
1120
  isPaymentVerified: boolean | null;
1120
1121
  numberOfReviews: number | null;
1121
- rating: number | null;
1122
1122
  jobsPosted: number | null;
1123
1123
  totalSpent: number | null;
1124
1124
  numberOfHires: number | null;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
3
  id: z.ZodNullable<z.ZodString>;
4
4
  createdAt: z.ZodNullable<z.ZodNumber>;
@@ -222,7 +222,7 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
222
222
  biddingAmount: z.ZodOptional<z.ZodNumber>;
223
223
  boosted: z.ZodOptional<z.ZodBoolean>;
224
224
  boostingAmount: z.ZodOptional<z.ZodNumber>;
225
- }>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "questions" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
225
+ }>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
226
226
  title: string | null;
227
227
  metadata: {
228
228
  hourlyRate: {
@@ -233,7 +233,6 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
233
233
  };
234
234
  description: string | null;
235
235
  jobId: string;
236
- questions: string[] | null;
237
236
  clientInfo: {
238
237
  country: string | null;
239
238
  };
@@ -257,7 +256,6 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
257
256
  };
258
257
  description: string | null;
259
258
  jobId: string;
260
- questions: string[] | null;
261
259
  clientInfo: {
262
260
  country: string | null;
263
261
  };
@@ -495,7 +493,7 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
495
493
  biddingAmount: z.ZodOptional<z.ZodNumber>;
496
494
  boosted: z.ZodOptional<z.ZodBoolean>;
497
495
  boostingAmount: z.ZodOptional<z.ZodNumber>;
498
- }>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "questions" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
496
+ }>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
499
497
  title: string | null;
500
498
  metadata: {
501
499
  hourlyRate: {
@@ -506,7 +504,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
506
504
  };
507
505
  description: string | null;
508
506
  jobId: string;
509
- questions: string[] | null;
510
507
  clientInfo: {
511
508
  country: string | null;
512
509
  };
@@ -530,7 +527,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
530
527
  };
531
528
  description: string | null;
532
529
  jobId: string;
533
- questions: string[] | null;
534
530
  clientInfo: {
535
531
  country: string | null;
536
532
  };
@@ -559,7 +555,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
559
555
  };
560
556
  description: string | null;
561
557
  jobId: string;
562
- questions: string[] | null;
563
558
  clientInfo: {
564
559
  country: string | null;
565
560
  };
@@ -588,7 +583,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
588
583
  };
589
584
  description: string | null;
590
585
  jobId: string;
591
- questions: string[] | null;
592
586
  clientInfo: {
593
587
  country: string | null;
594
588
  };
@@ -33,7 +33,6 @@ exports.jobPipelineDetailsSchema = job_details_1.jobDetailsSchema
33
33
  biddingAmount: true,
34
34
  boostingAmount: true,
35
35
  boosted: true,
36
- questions: true,
37
36
  });
38
37
  exports.jobPipelineResponseSchema = zod_1.z.object({
39
38
  jobs: zod_1.z.array(exports.jobPipelineDetailsSchema),
@@ -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(),