lancer-shared 1.2.231 → 1.2.233
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/package.json +1 -1
- package/dist/constants/account-status.d.ts +0 -3
- package/dist/constants/account-status.js +0 -17
- package/dist/constants/campaign-notifications.d.ts +0 -2
- package/dist/constants/campaign-webhook-types.d.ts +0 -2
- package/dist/constants/collections.d.ts +0 -13
- package/dist/constants/collections.js +0 -16
- package/dist/constants/common-questions.d.ts +0 -2
- package/dist/constants/common-questions.js +0 -60
- package/dist/constants/index.js +0 -40
- package/dist/constants/job-filter-options.js +0 -268
- package/dist/constants/job-status.js +0 -26
- package/dist/constants/mappings/countryMapping.js +0 -122
- package/dist/constants/mappings/regionMapping.js +0 -242
- package/dist/constants/organization.d.ts +0 -2
- package/dist/constants/proxies.d.ts +0 -4
- package/dist/constants/routes.js +0 -114
- package/dist/constants/upwork-accounts.js +0 -21
- package/dist/constants/upwork-filters.d.ts +0 -5
- package/dist/constants/upwork-filters.js +0 -75
- package/dist/schemas/account/account-status.js +0 -11
- package/dist/schemas/account/bidder-account.js +0 -37
- package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +0 -5
- package/dist/schemas/account/index.js +0 -19
- package/dist/schemas/account/manager-account.d.ts +0 -116
- package/dist/schemas/account/manager-account.js +0 -38
- package/dist/schemas/account/scraper-account.js +0 -37
- package/dist/schemas/ai/ai-config.d.ts +0 -36
- package/dist/schemas/ai/ai-config.js +0 -12
- package/dist/schemas/ai/index.d.ts +0 -3
- package/dist/schemas/ai/index.js +0 -19
- package/dist/schemas/ai/proposal.d.ts +0 -82
- package/dist/schemas/ai/proposal.js +0 -16
- package/dist/schemas/ai/suitability.d.ts +0 -37
- package/dist/schemas/ai/suitability.js +0 -17
- 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-result.d.ts +0 -30
- package/dist/schemas/bid/bid-result.js +0 -15
- package/dist/schemas/bid/bid-status.d.ts +0 -30
- package/dist/schemas/bid/bid-status.js +0 -15
- package/dist/schemas/bid/bid.d.ts +0 -8010
- package/dist/schemas/bid/bid.js +0 -36
- package/dist/schemas/bid/exceptions/base-exception.d.ts +0 -4
- package/dist/schemas/bid/exceptions/cloudflare-challenge-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/delete-multilogin-profile.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/dropdown-option-not-present.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/element-not-clickable.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/evalaute-element.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/evaluate-function.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/get-multilogin-browser.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/incorrect-security-question-answer.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/index.d.ts +0 -63
- package/dist/schemas/bid/exceptions/init-browser.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/insufficient-connects.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/invalid-credentials.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/invalid-job-url.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/login-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/multilogin-authentication.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/navigation-timeout.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/new-browser-page.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/new-page.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/open-new-url.exception.d.ts +0 -15
- package/dist/schemas/bid/exceptions/parse-connects.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-error-alert.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-form-warning-alert.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-generation-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-submit-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/pupeteer-conection-error.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/question-pair-not-matching.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/select-agency.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/select-contractor.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/selector-not-found.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/typed-value-not-matching.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/typing-input-field.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +0 -5
- package/dist/schemas/bid/exceptions/wait-for-function-timeout.exception.d.ts +0 -5
- package/dist/schemas/bid/index.d.ts +0 -3
- package/dist/schemas/bid/index.js +0 -18
- 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/campaign/campaign-ai-metrics.js +0 -9
- package/dist/schemas/campaign/campaign-analytics.js +0 -41
- package/dist/schemas/campaign/campaign-expenses.js +0 -9
- package/dist/schemas/campaign/campaign-insights.js +0 -31
- package/dist/schemas/campaign/campaign-integrations.d.ts +0 -82
- package/dist/schemas/campaign/campaign-integrations.js +0 -16
- package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
- package/dist/schemas/campaign/campaign-job-count.js +0 -6
- package/dist/schemas/campaign/campaign-notifications.d.ts +0 -9
- package/dist/schemas/campaign/campaign.js +0 -44
- package/dist/schemas/campaign/index.js +0 -23
- package/dist/schemas/campaign/sequence/budget-node.d.ts +0 -294
- package/dist/schemas/campaign/sequence/client-size.d.ts +0 -45
- package/dist/schemas/campaign/sequence/fixed-budget-node.d.ts +0 -91
- package/dist/schemas/campaign/sequence/hire-rate.d.ts +0 -91
- package/dist/schemas/campaign/sequence/hourly-budget-node.d.ts +0 -91
- package/dist/schemas/campaign/sequence/hourly-rate.d.ts +0 -91
- package/dist/schemas/campaign/sequence/payment-type-node.d.ts +0 -45
- package/dist/schemas/campaign/sequence/payment-type.d.ts +0 -45
- package/dist/schemas/campaign/sequence/start-node.d.ts +0 -16
- package/dist/schemas/campaign/sequence/suitability.d.ts +0 -90
- package/dist/schemas/chat-message/chat-message.d.ts +0 -31
- package/dist/schemas/chat-message/chat-message.js +0 -13
- package/dist/schemas/chat-message/index.d.ts +0 -1
- package/dist/schemas/chat-message/index.js +0 -17
- package/dist/schemas/config/agency-config.d.ts +0 -17
- package/dist/schemas/config/agency-config.js +0 -10
- package/dist/schemas/config/index.d.ts +0 -1
- package/dist/schemas/config/index.js +0 -17
- package/dist/schemas/index.js +0 -32
- package/dist/schemas/job/feed-job.d.ts +0 -866
- package/dist/schemas/job/index.js +0 -19
- 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/job-filters/index.d.ts +0 -1
- package/dist/schemas/job-filters/index.js +0 -17
- package/dist/schemas/job-filters/job-filters.d.ts +0 -241
- package/dist/schemas/job-filters/job-filters.js +0 -87
- 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/index.js +0 -19
- package/dist/schemas/lead/lead-note.d.ts +0 -83
- package/dist/schemas/lead/lead-note.js +0 -30
- package/dist/schemas/lead/lead-status.js +0 -26
- package/dist/schemas/lead/lead.d.ts +0 -1897
- package/dist/schemas/lead/lead.js +0 -143
- package/dist/schemas/lead/nuxt.d.ts +0 -1664
- package/dist/schemas/logger/index.js +0 -17
- package/dist/schemas/logger/log-event.js +0 -66
- package/dist/schemas/organization/index.js +0 -17
- package/dist/schemas/organization/organization.d.ts +0 -70
- package/dist/schemas/organization/organization.js +0 -19
- package/dist/schemas/proxy/index.js +0 -17
- package/dist/schemas/proxy/proxy.js +0 -23
- package/dist/schemas/saved-search/index.js +0 -12
- package/dist/schemas/scraper/index.js +0 -18
- package/dist/schemas/scraper/scrape-payload.js +0 -16
- package/dist/schemas/scraper/scrape-response.d.ts +0 -345
- package/dist/schemas/scraper/scrape-response.js +0 -9
- package/dist/schemas/scraper/scrape-result.js +0 -23
- package/dist/schemas/shared.js +0 -16
- package/dist/schemas/time-filter/index.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/schemas/user/index.js +0 -55
- package/dist/types/account/account-status.d.ts +0 -3
- package/dist/types/account/account-status.js +0 -2
- package/dist/types/account/bidder-account.d.ts +0 -7
- package/dist/types/account/bidder-account.js +0 -2
- package/dist/types/account/index.d.ts +0 -3
- package/dist/types/account/index.js +0 -19
- package/dist/types/account/manager-account.d.ts +0 -7
- package/dist/types/account/manager-account.js +0 -2
- package/dist/types/account/scraper-account.d.ts +0 -5
- package/dist/types/account/scraper-account.js +0 -2
- package/dist/types/ai/ai-config.d.ts +0 -6
- package/dist/types/ai/ai-config.js +0 -2
- package/dist/types/ai/index.d.ts +0 -3
- package/dist/types/ai/index.js +0 -19
- package/dist/types/ai/proposal.d.ts +0 -10
- package/dist/types/ai/proposal.js +0 -2
- package/dist/types/ai/suitability.d.ts +0 -6
- package/dist/types/ai/suitability.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-result.d.ts +0 -5
- package/dist/types/bid/bid-result.js +0 -2
- package/dist/types/bid/bid-status.d.ts +0 -5
- package/dist/types/bid/bid-status.js +0 -2
- package/dist/types/bid/bid.d.ts +0 -9
- package/dist/types/bid/bid.js +0 -2
- package/dist/types/bid/index.d.ts +0 -2
- package/dist/types/bid/index.js +0 -18
- 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/campaign/campaign-analytics.d.ts +0 -7
- package/dist/types/campaign/campaign-analytics.js +0 -2
- package/dist/types/campaign/campaign-expenses.d.ts +0 -3
- package/dist/types/campaign/campaign-expenses.js +0 -2
- package/dist/types/campaign/campaign-insights.d.ts +0 -7
- package/dist/types/campaign/campaign-insights.js +0 -2
- package/dist/types/campaign/campaign-integrations.d.ts +0 -6
- package/dist/types/campaign/campaign-integrations.js +0 -2
- package/dist/types/campaign/campaign-job-count.d.ts +0 -4
- package/dist/types/campaign/campaign-job-count.js +0 -2
- package/dist/types/campaign/campaign-notifications.d.ts +0 -7
- package/dist/types/campaign/campaign.d.ts +0 -13
- package/dist/types/campaign/campaign.js +0 -2
- package/dist/types/campaign/index.d.ts +0 -2
- package/dist/types/campaign/index.js +0 -22
- package/dist/types/chat-message/chat-message.d.ts +0 -4
- package/dist/types/chat-message/chat-message.js +0 -2
- package/dist/types/chat-message/index.d.ts +0 -1
- package/dist/types/chat-message/index.js +0 -17
- package/dist/types/config/agency-config.d.ts +0 -4
- package/dist/types/config/agency-config.js +0 -2
- package/dist/types/config/index.d.ts +0 -1
- package/dist/types/config/index.js +0 -17
- package/dist/types/index.d.ts +0 -15
- package/dist/types/index.js +0 -29
- package/dist/types/job/index.d.ts +0 -48
- package/dist/types/job/index.js +0 -19
- package/dist/types/job/job-details.d.ts +0 -36
- package/dist/types/job/job-details.js +0 -2
- package/dist/types/job/job-note.d.ts +0 -10
- package/dist/types/job/job-note.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-status.d.ts +0 -5
- package/dist/types/job/job-status.js +0 -12
- 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/job/nuxt.d.ts +0 -4
- package/dist/types/job-filters/index.d.ts +0 -1
- package/dist/types/job-filters/index.js +0 -17
- package/dist/types/job-filters/job-filters.d.ts +0 -4
- package/dist/types/job-filters/job-filters.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/logger/index.d.ts +0 -1
- package/dist/types/logger/index.js +0 -17
- package/dist/types/logger/log-event.d.ts +0 -14
- package/dist/types/logger/log-event.js +0 -2
- package/dist/types/saved-search/index.d.ts +0 -6
- package/dist/types/saved-search/index.js +0 -2
- package/dist/types/scraper/index.d.ts +0 -2
- package/dist/types/scraper/index.js +0 -18
- package/dist/types/scraper/scrape-payload.d.ts +0 -10
- package/dist/types/scraper/scrape-payload.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/scraper/scrape-result.d.ts +0 -8
- package/dist/types/scraper/scrape-result.js +0 -2
- package/dist/types/shared.d.ts +0 -8
- package/dist/types/time-filter/index.d.ts +0 -3
- package/dist/types/time-filter/index.js +0 -2
- package/dist/types/transaction/index.d.ts +0 -4
- 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
- package/dist/types/usage/index.d.ts +0 -6
- package/dist/types/user/index.d.ts +0 -15
- package/dist/types/user/index.js +0 -2
- package/dist/utils/index.js +0 -17
- package/dist/utils/try-catch.js +0 -25
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
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"), exports);
|
|
18
|
-
__exportStar(require("./job-note"), exports);
|
|
19
|
-
__exportStar(require("./job-status"), exports);
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JobListItemSchema = exports.jobDetailsSchema = exports.JobSkillsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const job_note_1 = require("./job-note");
|
|
6
|
-
const job_status_1 = require("./job-status");
|
|
7
|
-
const proposal_1 = require("../ai/proposal");
|
|
8
|
-
const suitability_1 = require("../ai/suitability");
|
|
9
|
-
const upwork_job_1 = require("./upwork-job");
|
|
10
|
-
exports.JobSkillsSchema = zod_1.z.object({
|
|
11
|
-
name: zod_1.z.string(),
|
|
12
|
-
});
|
|
13
|
-
exports.jobDetailsSchema = upwork_job_1.upworkJobDetailsSchema.extend({
|
|
14
|
-
jobId: zod_1.z.string(),
|
|
15
|
-
addedAt: zod_1.z.date().optional(),
|
|
16
|
-
updatedAt: zod_1.z.date().optional(),
|
|
17
|
-
suitabilityRating: zod_1.z.number().optional(),
|
|
18
|
-
suitabilityReason: zod_1.z.string().optional(),
|
|
19
|
-
suitabilityProposal: zod_1.z.string().optional(),
|
|
20
|
-
suitabilityQuestionAnswerPairs: zod_1.z.array(proposal_1.questionAnswerPairSchema).optional(),
|
|
21
|
-
suitabilityStatus: suitability_1.suitabilityStatusSchema.optional(),
|
|
22
|
-
notes: zod_1.z.array(job_note_1.jobNoteSchema).optional(),
|
|
23
|
-
status: job_status_1.jobStatusSchema.optional(),
|
|
24
|
-
});
|
|
25
|
-
exports.JobListItemSchema = zod_1.z.object({
|
|
26
|
-
title: zod_1.z.string().nullable(),
|
|
27
|
-
jobUrl: zod_1.z.string().nullable(),
|
|
28
|
-
datetime: zod_1.z.string().nullable(),
|
|
29
|
-
});
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const jobNoteSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
jobId: z.ZodString;
|
|
5
|
-
content: z.ZodString;
|
|
6
|
-
order: z.ZodNumber;
|
|
7
|
-
bgColor: z.ZodString;
|
|
8
|
-
createdAt: z.ZodNumber;
|
|
9
|
-
updatedAt: z.ZodNumber;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
id: string;
|
|
12
|
-
content: string;
|
|
13
|
-
order: number;
|
|
14
|
-
jobId: string;
|
|
15
|
-
bgColor: string;
|
|
16
|
-
createdAt: number;
|
|
17
|
-
updatedAt: number;
|
|
18
|
-
}, {
|
|
19
|
-
id: string;
|
|
20
|
-
content: string;
|
|
21
|
-
order: number;
|
|
22
|
-
jobId: string;
|
|
23
|
-
bgColor: string;
|
|
24
|
-
createdAt: number;
|
|
25
|
-
updatedAt: number;
|
|
26
|
-
}>;
|
|
27
|
-
export declare const createJobNoteSchema: z.ZodObject<Pick<{
|
|
28
|
-
id: z.ZodString;
|
|
29
|
-
jobId: z.ZodString;
|
|
30
|
-
content: z.ZodString;
|
|
31
|
-
order: z.ZodNumber;
|
|
32
|
-
bgColor: z.ZodString;
|
|
33
|
-
createdAt: z.ZodNumber;
|
|
34
|
-
updatedAt: z.ZodNumber;
|
|
35
|
-
}, "id" | "content" | "order" | "bgColor">, "strip", z.ZodTypeAny, {
|
|
36
|
-
id: string;
|
|
37
|
-
content: string;
|
|
38
|
-
order: number;
|
|
39
|
-
bgColor: string;
|
|
40
|
-
}, {
|
|
41
|
-
id: string;
|
|
42
|
-
content: string;
|
|
43
|
-
order: number;
|
|
44
|
-
bgColor: string;
|
|
45
|
-
}>;
|
|
46
|
-
export declare const updateJobNoteSchema: z.ZodObject<{
|
|
47
|
-
id: z.ZodString;
|
|
48
|
-
content: z.ZodOptional<z.ZodString>;
|
|
49
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
50
|
-
bgColor: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
id: string;
|
|
53
|
-
content?: string | undefined;
|
|
54
|
-
order?: number | undefined;
|
|
55
|
-
bgColor?: string | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
id: string;
|
|
58
|
-
content?: string | undefined;
|
|
59
|
-
order?: number | undefined;
|
|
60
|
-
bgColor?: string | undefined;
|
|
61
|
-
}>;
|
|
62
|
-
export declare const updateJobNotesOrderSchema: z.ZodObject<{
|
|
63
|
-
order: z.ZodArray<z.ZodObject<{
|
|
64
|
-
id: z.ZodString;
|
|
65
|
-
order: z.ZodNumber;
|
|
66
|
-
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
id: string;
|
|
68
|
-
order: number;
|
|
69
|
-
}, {
|
|
70
|
-
id: string;
|
|
71
|
-
order: number;
|
|
72
|
-
}>, "many">;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
order: {
|
|
75
|
-
id: string;
|
|
76
|
-
order: number;
|
|
77
|
-
}[];
|
|
78
|
-
}, {
|
|
79
|
-
order: {
|
|
80
|
-
id: string;
|
|
81
|
-
order: number;
|
|
82
|
-
}[];
|
|
83
|
-
}>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateJobNotesOrderSchema = exports.updateJobNoteSchema = exports.createJobNoteSchema = exports.jobNoteSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.jobNoteSchema = zod_1.z.object({
|
|
6
|
-
id: zod_1.z.string(),
|
|
7
|
-
jobId: zod_1.z.string(),
|
|
8
|
-
content: zod_1.z.string(),
|
|
9
|
-
order: zod_1.z.number(),
|
|
10
|
-
bgColor: zod_1.z.string(),
|
|
11
|
-
createdAt: zod_1.z.number(),
|
|
12
|
-
updatedAt: zod_1.z.number(),
|
|
13
|
-
});
|
|
14
|
-
exports.createJobNoteSchema = exports.jobNoteSchema.pick({
|
|
15
|
-
id: true,
|
|
16
|
-
content: true,
|
|
17
|
-
order: true,
|
|
18
|
-
bgColor: true,
|
|
19
|
-
});
|
|
20
|
-
exports.updateJobNoteSchema = exports.jobNoteSchema
|
|
21
|
-
.pick({
|
|
22
|
-
id: true,
|
|
23
|
-
content: true,
|
|
24
|
-
order: true,
|
|
25
|
-
bgColor: true,
|
|
26
|
-
})
|
|
27
|
-
.partial({ content: true, order: true, bgColor: true });
|
|
28
|
-
exports.updateJobNotesOrderSchema = zod_1.z.object({
|
|
29
|
-
order: zod_1.z.array(zod_1.z.object({ id: zod_1.z.string(), order: zod_1.z.number() })),
|
|
30
|
-
});
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const jobPipelineSchema: z.ZodObject<{
|
|
3
|
-
jobId: z.ZodString;
|
|
4
|
-
addedAt: z.ZodString;
|
|
5
|
-
country: z.ZodOptional<z.ZodString>;
|
|
6
|
-
description: z.ZodString;
|
|
7
|
-
fixedPrice: z.ZodOptional<z.ZodString>;
|
|
8
|
-
hourlyRate: z.ZodOptional<z.ZodObject<{
|
|
9
|
-
min: z.ZodOptional<z.ZodString>;
|
|
10
|
-
max: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
max?: string | undefined;
|
|
13
|
-
min?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
max?: string | undefined;
|
|
16
|
-
min?: string | undefined;
|
|
17
|
-
}>>;
|
|
18
|
-
status: z.ZodString;
|
|
19
|
-
suitabilityRating: z.ZodOptional<z.ZodNumber>;
|
|
20
|
-
suitabilityReason: z.ZodOptional<z.ZodString>;
|
|
21
|
-
suitabilityStatus: z.ZodOptional<z.ZodString>;
|
|
22
|
-
title: z.ZodString;
|
|
23
|
-
suitabilityProposal: z.ZodOptional<z.ZodString>;
|
|
24
|
-
suitabilityQuestionAnswerPairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
-
question: z.ZodString;
|
|
26
|
-
answer: z.ZodString;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
answer: string;
|
|
29
|
-
question: string;
|
|
30
|
-
}, {
|
|
31
|
-
answer: string;
|
|
32
|
-
question: string;
|
|
33
|
-
}>, "many">>;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
title: string;
|
|
36
|
-
description: string;
|
|
37
|
-
status: string;
|
|
38
|
-
jobId: string;
|
|
39
|
-
addedAt: string;
|
|
40
|
-
country?: string | undefined;
|
|
41
|
-
fixedPrice?: string | undefined;
|
|
42
|
-
hourlyRate?: {
|
|
43
|
-
max?: string | undefined;
|
|
44
|
-
min?: string | undefined;
|
|
45
|
-
} | undefined;
|
|
46
|
-
suitabilityRating?: number | undefined;
|
|
47
|
-
suitabilityReason?: string | undefined;
|
|
48
|
-
suitabilityStatus?: string | undefined;
|
|
49
|
-
suitabilityProposal?: string | undefined;
|
|
50
|
-
suitabilityQuestionAnswerPairs?: {
|
|
51
|
-
answer: string;
|
|
52
|
-
question: string;
|
|
53
|
-
}[] | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
title: string;
|
|
56
|
-
description: string;
|
|
57
|
-
status: string;
|
|
58
|
-
jobId: string;
|
|
59
|
-
addedAt: string;
|
|
60
|
-
country?: string | undefined;
|
|
61
|
-
fixedPrice?: string | undefined;
|
|
62
|
-
hourlyRate?: {
|
|
63
|
-
max?: string | undefined;
|
|
64
|
-
min?: string | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
suitabilityRating?: number | undefined;
|
|
67
|
-
suitabilityReason?: string | undefined;
|
|
68
|
-
suitabilityStatus?: string | undefined;
|
|
69
|
-
suitabilityProposal?: string | undefined;
|
|
70
|
-
suitabilityQuestionAnswerPairs?: {
|
|
71
|
-
answer: string;
|
|
72
|
-
question: string;
|
|
73
|
-
}[] | undefined;
|
|
74
|
-
}>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.jobPipelineSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.jobPipelineSchema = zod_1.z.object({
|
|
6
|
-
jobId: zod_1.z.string(),
|
|
7
|
-
addedAt: zod_1.z.string(),
|
|
8
|
-
country: zod_1.z.string().optional(),
|
|
9
|
-
description: zod_1.z.string(),
|
|
10
|
-
fixedPrice: zod_1.z.string().optional(),
|
|
11
|
-
hourlyRate: zod_1.z
|
|
12
|
-
.object({
|
|
13
|
-
min: zod_1.z.string().optional(),
|
|
14
|
-
max: zod_1.z.string().optional(),
|
|
15
|
-
})
|
|
16
|
-
.optional(),
|
|
17
|
-
status: zod_1.z.string(),
|
|
18
|
-
suitabilityRating: zod_1.z.number().optional(),
|
|
19
|
-
suitabilityReason: zod_1.z.string().optional(),
|
|
20
|
-
suitabilityStatus: zod_1.z.string().optional(),
|
|
21
|
-
title: zod_1.z.string(),
|
|
22
|
-
suitabilityProposal: zod_1.z.string().optional(),
|
|
23
|
-
suitabilityQuestionAnswerPairs: zod_1.z
|
|
24
|
-
.array(zod_1.z.object({
|
|
25
|
-
question: zod_1.z.string(),
|
|
26
|
-
answer: zod_1.z.string(),
|
|
27
|
-
}))
|
|
28
|
-
.optional(),
|
|
29
|
-
});
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const jobStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalPending", "proposalProcessing", "proposalComplete", "biddingPending", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>;
|
|
3
|
-
export declare const jobLeadStatusSchema: z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.jobLeadStatusSchema = exports.jobStatusSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.jobStatusSchema = zod_1.z.enum([
|
|
6
|
-
"suitabilityPending",
|
|
7
|
-
"suitabilityProcessing",
|
|
8
|
-
"suitabilityComplete",
|
|
9
|
-
"suitabilityFailed",
|
|
10
|
-
"proposalPending",
|
|
11
|
-
"proposalProcessing",
|
|
12
|
-
"proposalComplete",
|
|
13
|
-
"biddingPending",
|
|
14
|
-
"biddingProcessing",
|
|
15
|
-
"biddingComplete",
|
|
16
|
-
"biddingFailed",
|
|
17
|
-
"jobArchived",
|
|
18
|
-
]);
|
|
19
|
-
exports.jobLeadStatusSchema = zod_1.z.enum([
|
|
20
|
-
"leads",
|
|
21
|
-
"contacted",
|
|
22
|
-
"viewed",
|
|
23
|
-
"replied",
|
|
24
|
-
"negotiations",
|
|
25
|
-
"won",
|
|
26
|
-
"lost",
|
|
27
|
-
]);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const jobSuitabilityStatusSchema: z.ZodEnum<["completed", "pending", "failed"]>;
|
|
3
|
-
export declare const questionAnswerPairSchema: z.ZodObject<{
|
|
4
|
-
question: z.ZodString;
|
|
5
|
-
answer: z.ZodString;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
answer: string;
|
|
8
|
-
question: string;
|
|
9
|
-
}, {
|
|
10
|
-
answer: string;
|
|
11
|
-
question: string;
|
|
12
|
-
}>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.questionAnswerPairSchema = exports.jobSuitabilityStatusSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.jobSuitabilityStatusSchema = zod_1.z.enum([
|
|
6
|
-
'completed',
|
|
7
|
-
'pending',
|
|
8
|
-
'failed',
|
|
9
|
-
]);
|
|
10
|
-
exports.questionAnswerPairSchema = zod_1.z.object({
|
|
11
|
-
question: zod_1.z.string(),
|
|
12
|
-
answer: zod_1.z.string(),
|
|
13
|
-
});
|