lancer-shared 1.0.166 → 1.0.168
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 +6251 -0
- package/dist/constants/collections.js +1 -4
- package/dist/constants/common-questions.js +1 -4
- package/dist/constants/index.js +10 -32
- package/dist/constants/job-filter-options.js +1 -4
- package/dist/constants/job-status.js +7 -12
- package/dist/constants/mappings/countryMapping.js +1 -3
- package/dist/constants/mappings/regionMapping.js +1 -3
- package/dist/constants/routes.d.ts +9 -2
- package/dist/constants/routes.js +40 -37
- package/dist/constants/upwork-accounts.js +3 -6
- package/dist/index.js +4 -20
- package/dist/schemas/account/account-status.js +2 -5
- package/dist/schemas/account/bidder-account.d.ts +15 -15
- package/dist/schemas/account/bidder-account.js +19 -22
- package/dist/schemas/account/index.js +3 -19
- package/dist/schemas/account/scraper-account.d.ts +27 -27
- package/dist/schemas/account/scraper-account.js +21 -24
- package/dist/schemas/ai/ai-config.js +8 -11
- package/dist/schemas/ai/index.js +3 -19
- package/dist/schemas/ai/proposal.d.ts +12 -12
- package/dist/schemas/ai/proposal.js +10 -13
- package/dist/schemas/ai/suitability.d.ts +6 -6
- package/dist/schemas/ai/suitability.js +8 -11
- package/dist/schemas/bid/bid-result.d.ts +2 -2
- package/dist/schemas/bid/bid-result.js +10 -13
- package/dist/schemas/bid/bid.d.ts +42 -42
- package/dist/schemas/bid/bid.js +27 -30
- package/dist/schemas/bid/index.js +2 -18
- package/dist/schemas/campaign/campaign-ai-metrics.js +5 -8
- package/dist/schemas/campaign/campaign-analytics.d.ts +99 -40
- package/dist/schemas/campaign/campaign-analytics.js +28 -31
- package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
- package/dist/schemas/campaign/campaign-expenses.js +5 -8
- package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
- package/dist/schemas/campaign/campaign-insights.js +30 -30
- package/dist/schemas/campaign/campaign-integrations.js +10 -13
- package/dist/schemas/campaign/campaign-job-count.js +3 -6
- package/dist/schemas/campaign/campaign.d.ts +107 -107
- package/dist/schemas/campaign/campaign.js +32 -35
- package/dist/schemas/campaign/index.js +7 -23
- package/dist/schemas/chat-message/chat-message.js +7 -10
- package/dist/schemas/chat-message/index.js +1 -17
- package/dist/schemas/config/agency-config.js +6 -9
- package/dist/schemas/config/index.js +1 -17
- package/dist/schemas/event/index.d.ts +58 -0
- package/dist/schemas/index.d.ts +16 -16
- package/dist/schemas/index.js +16 -32
- package/dist/schemas/job/index.d.ts +95 -3
- package/dist/schemas/job-filters/index.js +1 -17
- package/dist/schemas/job-filters/job-filters.d.ts +16 -16
- package/dist/schemas/job-filters/job-filters.js +62 -65
- package/dist/schemas/lead/index.d.ts +2405 -1
- package/dist/schemas/lead/index.js +166 -19
- package/dist/schemas/lead/lead-note.d.ts +4 -4
- package/dist/schemas/lead/lead-note.js +13 -16
- package/dist/schemas/lead/lead-status.js +3 -6
- package/dist/schemas/logger/index.js +1 -17
- package/dist/schemas/logger/log-event.d.ts +183 -13
- package/dist/schemas/logger/log-event.js +38 -19
- package/dist/schemas/organization/index.js +1 -17
- package/dist/schemas/organization/organization.d.ts +10 -10
- package/dist/schemas/organization/organization.js +14 -17
- package/dist/schemas/proxy/index.js +1 -17
- package/dist/schemas/proxy/proxy.d.ts +16 -16
- package/dist/schemas/proxy/proxy.js +14 -17
- package/dist/schemas/saved-search/index.d.ts +5 -5
- package/dist/schemas/saved-search/index.js +8 -11
- package/dist/schemas/scraper/index.js +2 -18
- package/dist/schemas/scraper/scrape-payload.d.ts +105 -19
- package/dist/schemas/scraper/scrape-payload.js +19 -14
- package/dist/schemas/scraper/scrape-result.d.ts +476 -289
- package/dist/schemas/scraper/scrape-result.js +21 -21
- package/dist/schemas/shared.d.ts +2 -1
- package/dist/schemas/shared.js +12 -9
- package/dist/schemas/time-filter/index.js +5 -8
- package/dist/schemas/user/index.d.ts +26 -26
- package/dist/schemas/user/index.js +38 -41
- package/dist/types/account/account-status.js +1 -2
- package/dist/types/account/bidder-account.js +1 -2
- package/dist/types/account/index.js +3 -19
- package/dist/types/account/scraper-account.js +1 -2
- package/dist/types/ai/ai-config.js +1 -2
- package/dist/types/ai/index.js +3 -19
- package/dist/types/ai/proposal.js +1 -2
- package/dist/types/ai/suitability.js +1 -2
- package/dist/types/bid/bid-result.js +1 -2
- package/dist/types/bid/bid.js +1 -2
- package/dist/types/bid/index.js +2 -18
- package/dist/types/campaign/campaign-analytics.js +1 -2
- package/dist/types/campaign/campaign-expenses.js +1 -2
- package/dist/types/campaign/campaign-insights.js +1 -2
- package/dist/types/campaign/campaign-integrations.js +1 -2
- package/dist/types/campaign/campaign-job-count.js +1 -2
- package/dist/types/campaign/campaign.js +1 -2
- package/dist/types/campaign/index.js +6 -22
- package/dist/types/chat-message/chat-message.js +1 -2
- package/dist/types/chat-message/index.js +1 -17
- package/dist/types/config/agency-config.js +1 -2
- package/dist/types/config/index.js +1 -17
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +14 -29
- package/dist/types/job/index.d.ts +44 -1
- package/dist/types/job/index.js +2 -19
- package/dist/types/job/job-note.js +1 -2
- package/dist/types/job/job-status.js +1 -4
- package/dist/types/job-filters/index.js +1 -17
- package/dist/types/job-filters/job-filters.js +1 -2
- package/dist/types/logger/index.js +1 -17
- package/dist/types/logger/log-event.d.ts +4 -1
- package/dist/types/logger/log-event.js +1 -2
- package/dist/types/saved-search/index.js +1 -2
- package/dist/types/scraper/index.js +2 -18
- package/dist/types/scraper/scrape-payload.d.ts +5 -1
- package/dist/types/scraper/scrape-payload.js +1 -2
- package/dist/types/scraper/scrape-result.d.ts +3 -2
- package/dist/types/scraper/scrape-result.js +1 -2
- package/dist/types/shared.d.ts +3 -0
- package/dist/types/shared.js +1 -0
- package/dist/types/time-filter/index.js +1 -2
- package/dist/types/user/index.js +1 -2
- package/dist/utils/index.js +1 -17
- package/dist/utils/try-catch.js +8 -23
- package/package.json +12 -7
- package/dist/constants/account-status.d.ts +0 -3
- package/dist/constants/account-status.js +0 -17
- package/dist/constants/upwork-filters.d.ts +0 -5
- package/dist/constants/upwork-filters.js +0 -75
- package/dist/schemas/account/manager-account.d.ts +0 -116
- package/dist/schemas/account/manager-account.js +0 -38
- package/dist/schemas/ai-config/ai-config.d.ts +0 -39
- package/dist/schemas/ai-config/ai-config.js +0 -12
- package/dist/schemas/ai-config/index.d.ts +0 -1
- package/dist/schemas/ai-config/index.js +0 -17
- package/dist/schemas/bid/bid-status.d.ts +0 -30
- package/dist/schemas/bid/bid-status.js +0 -15
- package/dist/schemas/bidding/index.d.ts +0 -1
- package/dist/schemas/bidding/index.js +0 -17
- package/dist/schemas/bidding/proposal-bidding-status.d.ts +0 -26
- package/dist/schemas/bidding/proposal-bidding-status.js +0 -18
- package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
- package/dist/schemas/bidding/proposal-dto.js +0 -18
- package/dist/schemas/job/index.js +0 -19
- package/dist/schemas/job/job-details.d.ts +0 -335
- package/dist/schemas/job/job-details.js +0 -29
- package/dist/schemas/job/job-note.d.ts +0 -83
- package/dist/schemas/job/job-note.js +0 -30
- package/dist/schemas/job/job-pipeline.d.ts +0 -74
- package/dist/schemas/job/job-pipeline.js +0 -29
- package/dist/schemas/job/job-status.d.ts +0 -3
- package/dist/schemas/job/job-status.js +0 -27
- package/dist/schemas/job/job-suitability.d.ts +0 -12
- package/dist/schemas/job/job-suitability.js +0 -13
- package/dist/schemas/job/job.d.ts +0 -1160
- package/dist/schemas/job/job.js +0 -90
- package/dist/schemas/job/pipeline-job.d.ts +0 -608
- package/dist/schemas/job/pipeline-job.js +0 -43
- package/dist/schemas/job/upwork-job.d.ts +0 -334
- package/dist/schemas/job/upwork-job.js +0 -60
- package/dist/schemas/knowledge-object/index.d.ts +0 -1
- package/dist/schemas/knowledge-object/index.js +0 -17
- package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
- package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
- package/dist/schemas/lead/lead.d.ts +0 -1897
- package/dist/schemas/lead/lead.js +0 -143
- package/dist/schemas/scraper/scrape-response.d.ts +0 -345
- package/dist/schemas/scraper/scrape-response.js +0 -9
- package/dist/schemas/upwork-account/index.d.ts +0 -3
- package/dist/schemas/upwork-account/index.js +0 -19
- package/dist/schemas/upwork-account/upwork-account-status.d.ts +0 -2
- package/dist/schemas/upwork-account/upwork-account-status.js +0 -11
- package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +0 -95
- package/dist/schemas/upwork-account/upwork-business-manager-account.js +0 -35
- package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +0 -92
- package/dist/schemas/upwork-account/upwork-scraper-account.js +0 -31
- package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +0 -90
- package/dist/schemas/upwork-account/upwork-scraping-account.js +0 -30
- package/dist/types/account/manager-account.d.ts +0 -7
- package/dist/types/account/manager-account.js +0 -2
- package/dist/types/ai-config/ai-config.d.ts +0 -6
- package/dist/types/ai-config/ai-config.js +0 -2
- package/dist/types/ai-config/index.d.ts +0 -1
- package/dist/types/ai-config/index.js +0 -17
- package/dist/types/bid/bid-status.d.ts +0 -5
- package/dist/types/bid/bid-status.js +0 -2
- package/dist/types/bidding/index.d.ts +0 -1
- package/dist/types/bidding/index.js +0 -17
- package/dist/types/bidding/proposal-bidding-status.d.ts +0 -3
- package/dist/types/bidding/proposal-bidding-status.js +0 -2
- package/dist/types/bidding/proposal-dto.d.ts +0 -3
- package/dist/types/bidding/proposal-dto.js +0 -2
- package/dist/types/job/job-details.d.ts +0 -36
- package/dist/types/job/job-details.js +0 -2
- package/dist/types/job/job-pipeline.d.ts +0 -4
- package/dist/types/job/job-pipeline.js +0 -2
- package/dist/types/job/job-suitability.d.ts +0 -3
- package/dist/types/job/job-suitability.js +0 -2
- package/dist/types/job/job.d.ts +0 -36
- package/dist/types/job/job.js +0 -2
- package/dist/types/knowledge-object/index.d.ts +0 -1
- package/dist/types/knowledge-object/index.js +0 -17
- package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
- package/dist/types/knowledge-object/knowledge-object.js +0 -2
- package/dist/types/scraper/scrape-response.d.ts +0 -4
- package/dist/types/scraper/scrape-response.js +0 -2
- package/dist/types/upwork-account/index.d.ts +0 -3
- package/dist/types/upwork-account/index.js +0 -19
- package/dist/types/upwork-account/upwork-account-status.d.ts +0 -3
- package/dist/types/upwork-account/upwork-account-status.js +0 -2
- package/dist/types/upwork-account/upwork-business-manager-account.d.ts +0 -7
- package/dist/types/upwork-account/upwork-business-manager-account.js +0 -2
- package/dist/types/upwork-account/upwork-scraping-account.d.ts +0 -5
- package/dist/types/upwork-account/upwork-scraping-account.js +0 -2
|
@@ -1,44 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
zod_1.z.literal('draft'),
|
|
12
|
-
zod_1.z.literal('paused'),
|
|
13
|
-
zod_1.z.literal('error'),
|
|
1
|
+
import { number, z } from "zod";
|
|
2
|
+
import { jobFiltersSchema } from "../job-filters";
|
|
3
|
+
import { leadStatusSchema } from "../lead";
|
|
4
|
+
import { campaignExpensesSchema } from "./campaign-expenses";
|
|
5
|
+
import { campaignIntegrationsSchema } from "./campaign-integrations";
|
|
6
|
+
export const campaignStatusSchema = z.union([
|
|
7
|
+
z.literal("active"),
|
|
8
|
+
z.literal("draft"),
|
|
9
|
+
z.literal("paused"),
|
|
10
|
+
z.literal("error"),
|
|
14
11
|
]);
|
|
15
|
-
|
|
16
|
-
id:
|
|
17
|
-
name:
|
|
18
|
-
filters:
|
|
19
|
-
createdAt:
|
|
20
|
-
updatedAt:
|
|
21
|
-
confirmedBillingAt:
|
|
22
|
-
automatedSuitability:
|
|
23
|
-
automatedBidding:
|
|
24
|
-
boostingEnabled:
|
|
25
|
-
maximumBoost:
|
|
26
|
-
minimumBoost:
|
|
27
|
-
webhookUrl:
|
|
28
|
-
monthlyBudget:
|
|
29
|
-
suitabilityThreshold:
|
|
30
|
-
boostingThreshold:
|
|
31
|
-
leadCounts:
|
|
32
|
-
expenses:
|
|
33
|
-
integrations:
|
|
34
|
-
status:
|
|
12
|
+
export const campaignSchema = z.object({
|
|
13
|
+
id: z.string(),
|
|
14
|
+
name: z.string(),
|
|
15
|
+
filters: jobFiltersSchema,
|
|
16
|
+
createdAt: number(),
|
|
17
|
+
updatedAt: number(),
|
|
18
|
+
confirmedBillingAt: number().nullable(),
|
|
19
|
+
automatedSuitability: z.boolean().nullable(),
|
|
20
|
+
automatedBidding: z.boolean().nullable(),
|
|
21
|
+
boostingEnabled: z.boolean().nullable().default(false),
|
|
22
|
+
maximumBoost: z.number().nullable().default(30),
|
|
23
|
+
minimumBoost: z.number().nullable().default(0),
|
|
24
|
+
webhookUrl: z.string().nullable(),
|
|
25
|
+
monthlyBudget: z.number().nullable(),
|
|
26
|
+
suitabilityThreshold: z.number().min(0).max(100).nullable().default(0),
|
|
27
|
+
boostingThreshold: z.number().min(0).max(100).nullable().default(0),
|
|
28
|
+
leadCounts: z.record(leadStatusSchema, z.number()).nullable(),
|
|
29
|
+
expenses: campaignExpensesSchema,
|
|
30
|
+
integrations: campaignIntegrationsSchema,
|
|
31
|
+
status: campaignStatusSchema.optional(),
|
|
35
32
|
});
|
|
36
|
-
|
|
33
|
+
export const createCampaignSchema = campaignSchema.omit({
|
|
37
34
|
id: true,
|
|
38
35
|
createdAt: true,
|
|
39
36
|
updatedAt: true,
|
|
40
37
|
});
|
|
41
|
-
|
|
38
|
+
export const updateCampaignSchema = campaignSchema.omit({
|
|
42
39
|
createdAt: true,
|
|
43
40
|
updatedAt: true,
|
|
44
41
|
});
|
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./campaign"), exports);
|
|
18
|
-
__exportStar(require("./campaign-insights"), exports);
|
|
19
|
-
__exportStar(require("./campaign-job-count"), exports);
|
|
20
|
-
__exportStar(require("./campaign-expenses"), exports);
|
|
21
|
-
__exportStar(require("./campaign-integrations"), exports);
|
|
22
|
-
__exportStar(require("./campaign-analytics"), exports);
|
|
23
|
-
__exportStar(require("./campaign-ai-metrics"), exports);
|
|
1
|
+
export * from './campaign';
|
|
2
|
+
export * from './campaign-insights';
|
|
3
|
+
export * from './campaign-job-count';
|
|
4
|
+
export * from './campaign-expenses';
|
|
5
|
+
export * from './campaign-integrations';
|
|
6
|
+
export * from './campaign-analytics';
|
|
7
|
+
export * from './campaign-ai-metrics';
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
content: zod_1.z.string(),
|
|
8
|
-
role: zod_1.z.enum(['user', 'assistant']),
|
|
9
|
-
timestamp: zod_1.z.string(),
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const chatMessageSchema = z.object({
|
|
3
|
+
id: z.string(),
|
|
4
|
+
content: z.string(),
|
|
5
|
+
role: z.enum(['user', 'assistant']),
|
|
6
|
+
timestamp: z.string(),
|
|
10
7
|
});
|
|
11
|
-
|
|
8
|
+
export const newChatMessageSchema = chatMessageSchema.omit({
|
|
12
9
|
id: true,
|
|
13
10
|
});
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./chat-message"), exports);
|
|
1
|
+
export * from './chat-message';
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
contractorName: zod_1.z.string(),
|
|
8
|
-
specializedProfile: zod_1.z.string().nullable(),
|
|
9
|
-
accountId: zod_1.z.string(),
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const agencyConfigSchema = z.object({
|
|
3
|
+
agencyName: z.string(),
|
|
4
|
+
contractorName: z.string(),
|
|
5
|
+
specializedProfile: z.string().nullable(),
|
|
6
|
+
accountId: z.string(),
|
|
10
7
|
});
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./agency-config"), exports);
|
|
1
|
+
export * from './agency-config';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const logEventSchemaWithMetadata: import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
2
|
+
type: import("zod").ZodEnum<["scraperStarted", "scraperCompleted", "jobScraped", "jobScrapeFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
|
|
3
|
+
source: import("zod").ZodString;
|
|
4
|
+
resourceType: import("zod").ZodDefault<import("zod").ZodString>;
|
|
5
|
+
resourceId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6
|
+
leadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7
|
+
campaignId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8
|
+
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
9
|
+
reason: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10
|
+
timestamp: import("zod").ZodNumber;
|
|
11
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12
|
+
type: "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
|
|
13
|
+
source: string;
|
|
14
|
+
resourceType: string;
|
|
15
|
+
resourceId: string | null;
|
|
16
|
+
leadId: string | null;
|
|
17
|
+
campaignId: string | null;
|
|
18
|
+
userId: string | null;
|
|
19
|
+
reason: string | null;
|
|
20
|
+
timestamp: number;
|
|
21
|
+
}, {
|
|
22
|
+
type: "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
|
|
23
|
+
source: string;
|
|
24
|
+
resourceId: string | null;
|
|
25
|
+
leadId: string | null;
|
|
26
|
+
campaignId: string | null;
|
|
27
|
+
userId: string | null;
|
|
28
|
+
reason: string | null;
|
|
29
|
+
timestamp: number;
|
|
30
|
+
resourceType?: string | undefined;
|
|
31
|
+
}>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
32
|
+
type: import("zod").ZodEnum<["jobActivityScraped"]>;
|
|
33
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
34
|
+
type: "jobActivityScraped";
|
|
35
|
+
}, {
|
|
36
|
+
type: "jobActivityScraped";
|
|
37
|
+
}>, import("zod").ZodObject<{
|
|
38
|
+
type: import("zod").ZodEnum<["scraperStarted", "scraperCompleted", "jobScraped", "jobScrapeFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScrapeFailed", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
|
|
39
|
+
metadata: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
40
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
41
|
+
type: "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScrapeFailed" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
|
|
42
|
+
metadata: Record<string, unknown> | null;
|
|
43
|
+
}, {
|
|
44
|
+
type: "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScrapeFailed" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
|
|
45
|
+
metadata: Record<string, unknown> | null;
|
|
46
|
+
}>]>>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
47
|
+
type: import("zod").ZodEnum<["jobActivityScraped"]>;
|
|
48
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
49
|
+
type: "jobActivityScraped";
|
|
50
|
+
}, {
|
|
51
|
+
type: "jobActivityScraped";
|
|
52
|
+
}>, import("zod").ZodObject<{
|
|
53
|
+
type: import("zod").ZodEnum<["jobActivityScraped"]>;
|
|
54
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
55
|
+
type: "jobActivityScraped";
|
|
56
|
+
}, {
|
|
57
|
+
type: "jobActivityScraped";
|
|
58
|
+
}>]>>;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
1
|
+
export * from "./account";
|
|
2
|
+
export * from "./ai";
|
|
3
|
+
export * from "./bid";
|
|
4
|
+
export * from "./campaign";
|
|
5
|
+
export * from "./chat-message";
|
|
6
|
+
export * from "./config";
|
|
7
|
+
export * from "./job-filters";
|
|
8
|
+
export * from "./lead";
|
|
9
|
+
export * from "./logger";
|
|
10
|
+
export * from "./organization";
|
|
11
|
+
export * from "./proxy";
|
|
12
|
+
export * from "./saved-search";
|
|
13
|
+
export * from "./scraper";
|
|
14
|
+
export * from "./shared";
|
|
15
|
+
export * from "./time-filter";
|
|
16
|
+
export * from "./user";
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,32 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
__exportStar(require("./account"), exports);
|
|
18
|
-
__exportStar(require("./ai"), exports);
|
|
19
|
-
__exportStar(require("./bid"), exports);
|
|
20
|
-
__exportStar(require("./campaign"), exports);
|
|
21
|
-
__exportStar(require("./chat-message"), exports);
|
|
22
|
-
__exportStar(require("./config"), exports);
|
|
23
|
-
__exportStar(require("./job-filters"), exports);
|
|
24
|
-
__exportStar(require("./lead"), exports);
|
|
25
|
-
__exportStar(require("./logger"), exports);
|
|
26
|
-
__exportStar(require("./organization"), exports);
|
|
27
|
-
__exportStar(require("./proxy"), exports);
|
|
28
|
-
__exportStar(require("./saved-search"), exports);
|
|
29
|
-
__exportStar(require("./scraper"), exports);
|
|
30
|
-
__exportStar(require("./shared"), exports);
|
|
31
|
-
__exportStar(require("./time-filter"), exports);
|
|
32
|
-
__exportStar(require("./user"), exports);
|
|
1
|
+
export * from "./account";
|
|
2
|
+
export * from "./ai";
|
|
3
|
+
export * from "./bid";
|
|
4
|
+
export * from "./campaign";
|
|
5
|
+
export * from "./chat-message";
|
|
6
|
+
export * from "./config";
|
|
7
|
+
export * from "./job-filters";
|
|
8
|
+
export * from "./lead";
|
|
9
|
+
export * from "./logger";
|
|
10
|
+
export * from "./organization";
|
|
11
|
+
export * from "./proxy";
|
|
12
|
+
export * from "./saved-search";
|
|
13
|
+
export * from "./scraper";
|
|
14
|
+
export * from "./shared";
|
|
15
|
+
export * from "./time-filter";
|
|
16
|
+
export * from "./user";
|
|
@@ -1,3 +1,95 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const jobActivityOffsetEnum: z.ZodEnum<["4h", "24h"]>;
|
|
3
|
+
export declare const jobListingSchema: z.ZodObject<{
|
|
4
|
+
uid: z.ZodNullable<z.ZodString>;
|
|
5
|
+
title: z.ZodNullable<z.ZodString>;
|
|
6
|
+
jobUrl: z.ZodNullable<z.ZodString>;
|
|
7
|
+
datetime: z.ZodNullable<z.ZodString>;
|
|
8
|
+
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
+
region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
uid: string | null;
|
|
12
|
+
title: string | null;
|
|
13
|
+
jobUrl: string | null;
|
|
14
|
+
datetime: string | null;
|
|
15
|
+
isFeatured: boolean | null;
|
|
16
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
17
|
+
}, {
|
|
18
|
+
uid: string | null;
|
|
19
|
+
title: string | null;
|
|
20
|
+
jobUrl: string | null;
|
|
21
|
+
datetime: string | null;
|
|
22
|
+
isFeatured: boolean | null;
|
|
23
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const jobActivityUpdateSchema: z.ZodObject<{
|
|
26
|
+
data: z.ZodObject<{
|
|
27
|
+
proposals: z.ZodObject<{
|
|
28
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
min: number | null;
|
|
32
|
+
max: number | null;
|
|
33
|
+
}, {
|
|
34
|
+
min: number | null;
|
|
35
|
+
max: number | null;
|
|
36
|
+
}>;
|
|
37
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
38
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
41
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
proposals: {
|
|
45
|
+
min: number | null;
|
|
46
|
+
max: number | null;
|
|
47
|
+
};
|
|
48
|
+
lastViewedByClient: string | null;
|
|
49
|
+
hires: number | null;
|
|
50
|
+
interviewing: number | null;
|
|
51
|
+
invitesSent: number | null;
|
|
52
|
+
unansweredInvites: number | null;
|
|
53
|
+
updatedAt: number | null;
|
|
54
|
+
}, {
|
|
55
|
+
proposals: {
|
|
56
|
+
min: number | null;
|
|
57
|
+
max: number | null;
|
|
58
|
+
};
|
|
59
|
+
lastViewedByClient: string | null;
|
|
60
|
+
hires: number | null;
|
|
61
|
+
interviewing: number | null;
|
|
62
|
+
invitesSent: number | null;
|
|
63
|
+
unansweredInvites: number | null;
|
|
64
|
+
updatedAt: number | null;
|
|
65
|
+
}>;
|
|
66
|
+
offset: z.ZodEnum<["4h", "24h"]>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
data: {
|
|
69
|
+
proposals: {
|
|
70
|
+
min: number | null;
|
|
71
|
+
max: number | null;
|
|
72
|
+
};
|
|
73
|
+
lastViewedByClient: string | null;
|
|
74
|
+
hires: number | null;
|
|
75
|
+
interviewing: number | null;
|
|
76
|
+
invitesSent: number | null;
|
|
77
|
+
unansweredInvites: number | null;
|
|
78
|
+
updatedAt: number | null;
|
|
79
|
+
};
|
|
80
|
+
offset: "4h" | "24h";
|
|
81
|
+
}, {
|
|
82
|
+
data: {
|
|
83
|
+
proposals: {
|
|
84
|
+
min: number | null;
|
|
85
|
+
max: number | null;
|
|
86
|
+
};
|
|
87
|
+
lastViewedByClient: string | null;
|
|
88
|
+
hires: number | null;
|
|
89
|
+
interviewing: number | null;
|
|
90
|
+
invitesSent: number | null;
|
|
91
|
+
unansweredInvites: number | null;
|
|
92
|
+
updatedAt: number | null;
|
|
93
|
+
};
|
|
94
|
+
offset: "4h" | "24h";
|
|
95
|
+
}>;
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./job-filters"), exports);
|
|
1
|
+
export * from './job-filters';
|
|
@@ -81,9 +81,9 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
81
81
|
memberSinceFrom: z.ZodNullable<z.ZodString>;
|
|
82
82
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
isPaymentVerified: "
|
|
85
|
-
isPhoneVerified: "
|
|
86
|
-
enterpriseClient: "
|
|
84
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
85
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
86
|
+
enterpriseClient: "all" | "true" | "false";
|
|
87
87
|
clientLocationIncludes: string[] | null;
|
|
88
88
|
clientLocationExcludes: string[] | null;
|
|
89
89
|
minReviewScore: number | null;
|
|
@@ -109,9 +109,9 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
109
109
|
minNumReviews: number | null;
|
|
110
110
|
memberSinceFrom: string | null;
|
|
111
111
|
memberSinceTo: string | null;
|
|
112
|
-
isPaymentVerified?: "
|
|
113
|
-
isPhoneVerified?: "
|
|
114
|
-
enterpriseClient?: "
|
|
112
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
113
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
114
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
115
115
|
}>>;
|
|
116
116
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
117
117
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -143,8 +143,8 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
143
143
|
includes: string | null;
|
|
144
144
|
excludes: string | null;
|
|
145
145
|
} | null;
|
|
146
|
-
isFeatured: "
|
|
147
|
-
regions: ("
|
|
146
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
147
|
+
regions: ("Worldwide" | "UKOnly" | "USOnly" | "all")[] | null;
|
|
148
148
|
categories: {
|
|
149
149
|
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
150
150
|
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
@@ -163,9 +163,9 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
163
163
|
} | null;
|
|
164
164
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
165
165
|
clientInfo: {
|
|
166
|
-
isPaymentVerified: "
|
|
167
|
-
isPhoneVerified: "
|
|
168
|
-
enterpriseClient: "
|
|
166
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
167
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
168
|
+
enterpriseClient: "all" | "true" | "false";
|
|
169
169
|
clientLocationIncludes: string[] | null;
|
|
170
170
|
clientLocationExcludes: string[] | null;
|
|
171
171
|
minReviewScore: number | null;
|
|
@@ -193,8 +193,8 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
193
193
|
includes: string | null;
|
|
194
194
|
excludes: string | null;
|
|
195
195
|
} | null;
|
|
196
|
-
isFeatured: "
|
|
197
|
-
regions: ("
|
|
196
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
197
|
+
regions: ("Worldwide" | "UKOnly" | "USOnly" | "all")[] | null;
|
|
198
198
|
categories: {
|
|
199
199
|
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
200
200
|
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
@@ -225,9 +225,9 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
225
225
|
minNumReviews: number | null;
|
|
226
226
|
memberSinceFrom: string | null;
|
|
227
227
|
memberSinceTo: string | null;
|
|
228
|
-
isPaymentVerified?: "
|
|
229
|
-
isPhoneVerified?: "
|
|
230
|
-
enterpriseClient?: "
|
|
228
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
229
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
230
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
231
231
|
} | null;
|
|
232
232
|
vendorQualifications: {
|
|
233
233
|
locationIncludes: string[] | null;
|