lancer-shared 1.2.232 → 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
package/dist/schemas/bid/bid.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bidDtoSchema = exports.freelancerBidPayloadSchema = exports.agencyBidPayloadSchema = exports.bidPayloadSchema = exports.agencyBidProposalDataSchema = exports.freelancerBidProposalDataSchema = exports.bidPayloadProposalDataSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const ai_1 = require("../ai");
|
|
6
|
-
exports.bidPayloadProposalDataSchema = zod_1.z.object({
|
|
7
|
-
coverLetter: zod_1.z.string(),
|
|
8
|
-
questionAnswerPairs: zod_1.z.array(ai_1.questionAnswerPairSchema).nullable(),
|
|
9
|
-
boostingEnabled: zod_1.z.boolean(),
|
|
10
|
-
minimumBoost: zod_1.z.number().nullable(),
|
|
11
|
-
maximumBoost: zod_1.z.number().nullable(),
|
|
12
|
-
});
|
|
13
|
-
exports.freelancerBidProposalDataSchema = exports.bidPayloadProposalDataSchema;
|
|
14
|
-
exports.agencyBidProposalDataSchema = exports.bidPayloadProposalDataSchema.extend({
|
|
15
|
-
agencyName: zod_1.z.string(),
|
|
16
|
-
contractorName: zod_1.z.string(),
|
|
17
|
-
specializedProfile: zod_1.z.string().nullable(),
|
|
18
|
-
});
|
|
19
|
-
exports.bidPayloadSchema = zod_1.z.object({
|
|
20
|
-
jobUrl: zod_1.z.string(),
|
|
21
|
-
username: zod_1.z.string(),
|
|
22
|
-
password: zod_1.z.string(),
|
|
23
|
-
cookies: zod_1.z.array(zod_1.z.any()),
|
|
24
|
-
multiLoginProfileId: zod_1.z.string(),
|
|
25
|
-
});
|
|
26
|
-
exports.agencyBidPayloadSchema = exports.bidPayloadSchema.extend({
|
|
27
|
-
proposalData: exports.agencyBidProposalDataSchema,
|
|
28
|
-
});
|
|
29
|
-
exports.freelancerBidPayloadSchema = exports.bidPayloadSchema.extend({
|
|
30
|
-
proposalData: exports.freelancerBidProposalDataSchema,
|
|
31
|
-
});
|
|
32
|
-
exports.bidDtoSchema = zod_1.z.object({
|
|
33
|
-
organizationId: zod_1.z.string(),
|
|
34
|
-
campaignId: zod_1.z.string(),
|
|
35
|
-
leadId: zod_1.z.string(),
|
|
36
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class CloudflareChallengeFailedException extends Error {
|
|
2
|
-
readonly code = "CLOUDFLARE_CHALLENGE_FAILED_EXCEPTION";
|
|
3
|
-
constructor(url: string, errorMessage?: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const cloudflareProtectionFailure: (url: string, errorMessage?: string) => CloudflareChallengeFailedException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class DeleteMultiloginProfileException extends Error {
|
|
2
|
-
readonly code = "DELETE_MULTILOGIN_PROFILE_EXCEPTION";
|
|
3
|
-
constructor(message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const deleteMultiloginProfileException: (message: string) => DeleteMultiloginProfileException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class DropdownOptionNotPresentException extends Error {
|
|
2
|
-
readonly code = "DROPDOWN_OPTION_NOT_PRESENT_EXCEPTION";
|
|
3
|
-
constructor(selector: string, option: string);
|
|
4
|
-
}
|
|
5
|
-
export declare function dropdownOptionNotPresentException(selector: string, option: string): DropdownOptionNotPresentException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class ElementNotClickableException extends Error {
|
|
2
|
-
readonly code = "ELEMENT_NOT_CLICKABLE_EXCEPTION";
|
|
3
|
-
constructor(context: string, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare function elementNotClickableException(elementInfo: any, message: string): ElementNotClickableException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class EvaluateFunctionException extends Error {
|
|
2
|
-
readonly code = "EVALUATE_FUNCTION_EXCEPTION";
|
|
3
|
-
constructor(fn: () => void, args: string, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare function evaluateFunctionException(fn: () => void, args: string, message: string): EvaluateFunctionException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class IncorrectSecurityQuestionAnswerException extends Error {
|
|
2
|
-
readonly code = "INCORRECT_SECURITY_QUESTION_ANSWER_EXCEPTION";
|
|
3
|
-
constructor(message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const incorrectSecurityQuestionAnswerException: (message: string) => IncorrectSecurityQuestionAnswerException;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { CloudflareChallengeFailedException } from './cloudflare-challenge-failed.exception';
|
|
2
|
-
import { DeleteMultiloginProfileException } from './delete-multilogin-profile.exception';
|
|
3
|
-
import { DropdownOptionNotPresentException } from './dropdown-option-not-present.exception';
|
|
4
|
-
import { ElementNotClickableException } from './element-not-clickable.exception';
|
|
5
|
-
import { EvaluateElementException } from './evalaute-element.exception';
|
|
6
|
-
import { EvaluateFunctionException } from './evaluate-function.exception';
|
|
7
|
-
import { GetMultiloginBrowserException } from './get-multilogin-browser.exception';
|
|
8
|
-
import { IncorrectSecurityQuestionAnswerException } from './incorrect-security-question-answer.exception';
|
|
9
|
-
import { InitBrowserException } from './init-browser.exception';
|
|
10
|
-
import { InsufficientConnectsException } from './insufficient-connects.exception';
|
|
11
|
-
import { InvalidCredentialsException } from './invalid-credentials.exception';
|
|
12
|
-
import { InvalidJobUrlException } from './invalid-job-url.exception';
|
|
13
|
-
import { LoginFailedException } from './login-failed.exception';
|
|
14
|
-
import { MultiloginAuthenticationException } from './multilogin-authentication.exception';
|
|
15
|
-
import { NavigationTimeoutException } from './navigation-timeout.exception';
|
|
16
|
-
import { NewBrowserPageException } from './new-browser-page.exception';
|
|
17
|
-
import { NewPageException } from './new-page.exception';
|
|
18
|
-
import { GoToUrlException } from './open-new-url.exception';
|
|
19
|
-
import { ParseConnectsException } from './parse-connects.exception';
|
|
20
|
-
import { ProposalErrorAlertException } from './proposal-error-alert.exception';
|
|
21
|
-
import { ProposalFormWarningAlertException } from './proposal-form-warning-alert.exception';
|
|
22
|
-
import { ProposalGenerationFailedException } from './proposal-generation-failed.exception';
|
|
23
|
-
import { ProposalSubmitFailedException } from './proposal-submit-failed.exception';
|
|
24
|
-
import { PuppeteerConnectionErrorException } from './pupeteer-conection-error.exception';
|
|
25
|
-
import { QuestionPairNotMatchingException } from './question-pair-not-matching.exception';
|
|
26
|
-
import { SelectAgencyException } from './select-agency.exception';
|
|
27
|
-
import { SelectContractorException } from './select-contractor.exception';
|
|
28
|
-
import { SelectorNotFoundError } from './selector-not-found.exception';
|
|
29
|
-
import { TypedValueInFieldNotMatchingException } from './typed-value-not-matching.exception';
|
|
30
|
-
import { TypingInputFieldException } from './typing-input-field.exception';
|
|
31
|
-
import { WaitForFunctionTimeoutError } from './wait-for-function-timeout.exception';
|
|
32
|
-
export * from './cloudflare-challenge-failed.exception';
|
|
33
|
-
export * from './delete-multilogin-profile.exception';
|
|
34
|
-
export * from './dropdown-option-not-present.exception';
|
|
35
|
-
export * from './element-not-clickable.exception';
|
|
36
|
-
export * from './evalaute-element.exception';
|
|
37
|
-
export * from './evaluate-function.exception';
|
|
38
|
-
export * from './get-multilogin-browser.exception';
|
|
39
|
-
export * from './incorrect-security-question-answer.exception';
|
|
40
|
-
export * from './init-browser.exception';
|
|
41
|
-
export * from './insufficient-connects.exception';
|
|
42
|
-
export * from './invalid-credentials.exception';
|
|
43
|
-
export * from './invalid-job-url.exception';
|
|
44
|
-
export * from './login-failed.exception';
|
|
45
|
-
export * from './multilogin-authentication.exception';
|
|
46
|
-
export * from './navigation-timeout.exception';
|
|
47
|
-
export * from './new-browser-page.exception';
|
|
48
|
-
export * from './new-page.exception';
|
|
49
|
-
export * from './open-new-url.exception';
|
|
50
|
-
export * from './parse-connects.exception';
|
|
51
|
-
export * from './proposal-error-alert.exception';
|
|
52
|
-
export * from './proposal-form-warning-alert.exception';
|
|
53
|
-
export * from './proposal-generation-failed.exception';
|
|
54
|
-
export * from './proposal-submit-failed.exception';
|
|
55
|
-
export * from './pupeteer-conection-error.exception';
|
|
56
|
-
export * from './question-pair-not-matching.exception';
|
|
57
|
-
export * from './select-agency.exception';
|
|
58
|
-
export * from './select-contractor.exception';
|
|
59
|
-
export * from './selector-not-found.exception';
|
|
60
|
-
export * from './typed-value-not-matching.exception';
|
|
61
|
-
export * from './typing-input-field.exception';
|
|
62
|
-
export * from './wait-for-function-timeout.exception';
|
|
63
|
-
export type BiddingError = CloudflareChallengeFailedException | DeleteMultiloginProfileException | DropdownOptionNotPresentException | ElementNotClickableException | EvaluateFunctionException | GetMultiloginBrowserException | InitBrowserException | InsufficientConnectsException | InvalidJobUrlException | LoginFailedException | NavigationTimeoutException | NewBrowserPageException | NewPageException | GoToUrlException | ParseConnectsException | ProposalErrorAlertException | ProposalFormWarningAlertException | ProposalSubmitFailedException | PuppeteerConnectionErrorException | QuestionPairNotMatchingException | SelectAgencyException | SelectContractorException | SelectorNotFoundError | TypedValueInFieldNotMatchingException | TypingInputFieldException | WaitForFunctionTimeoutError | IncorrectSecurityQuestionAnswerException | EvaluateElementException | MultiloginAuthenticationException | InvalidCredentialsException | ProposalGenerationFailedException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class MultiloginAuthenticationException extends Error {
|
|
2
|
-
readonly code = "MULTILOGIN_AUTHENTICATION_EXCEPTION";
|
|
3
|
-
constructor(message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const multiloginAuthenticationException: (message: string) => MultiloginAuthenticationException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class NavigationTimeoutException extends Error {
|
|
2
|
-
readonly code = "NAVIGATION_TIMEOUT_EXCEPTION";
|
|
3
|
-
constructor(url: string, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const navigationTimeoutException: (url: string, message: string) => NavigationTimeoutException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class NewBrowserPageException extends Error {
|
|
2
|
-
readonly code = "NEW_BROWSER_PAGE_EXCEPTION";
|
|
3
|
-
constructor(profileId: string, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const newBrowserPageException: (profileId: string, message: string) => NewBrowserPageException;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class GoToUrlException extends Error {
|
|
2
|
-
readonly code = "GO_TO_URL_EXCEPTION";
|
|
3
|
-
constructor(url: string, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const goToUrlException: (url: string, message: string) => GoToUrlException;
|
|
6
|
-
export declare class PageClosedException extends Error {
|
|
7
|
-
readonly code = "PAGE_CLOSED_EXCEPTION";
|
|
8
|
-
constructor();
|
|
9
|
-
}
|
|
10
|
-
export declare const pageClosedException: () => PageClosedException;
|
|
11
|
-
export declare class PageContentException extends Error {
|
|
12
|
-
readonly code = "PAGE_CONTENT_EXCEPTION";
|
|
13
|
-
constructor(url: string, message: string);
|
|
14
|
-
}
|
|
15
|
-
export declare const pageContentException: (url: string, message: string) => PageContentException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class ProposalFormWarningAlertException extends Error {
|
|
2
|
-
readonly code = "PROPOSAL_FORM_WARNING_ALERT_EXCEPTION";
|
|
3
|
-
constructor(message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare function proposalFormWarningAlertException(message: string): ProposalFormWarningAlertException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class ProposalGenerationFailedException extends Error {
|
|
2
|
-
readonly code = "PROPOSAL_GENERATION_FAILED_EXCEPTION";
|
|
3
|
-
constructor(message: string, organizationId: string, campaignId: string, leadId: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const proposalGenerationFailed: (message: string, leadId: string, campaignId: string, organizationId: string) => ProposalGenerationFailedException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class PuppeteerConnectionErrorException extends Error {
|
|
2
|
-
readonly code = "PUPPETEER_CONNECTION_ERROR_EXCEPTION";
|
|
3
|
-
constructor(message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const puppeteerConnectionErrorException: (message: string) => PuppeteerConnectionErrorException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class QuestionPairNotMatchingException extends Error {
|
|
2
|
-
readonly code = "QUESTION_PAIR_NOT_MATCHING";
|
|
3
|
-
constructor(upworkQuestion: string, generatedQuestion: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const questionPairNotMatchingException: (upworkQuestion: string, generatedQuestion: string) => QuestionPairNotMatchingException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class SelectContractorException extends Error {
|
|
2
|
-
readonly code = "SELECT_CONTRACTOR_EXCEPTION";
|
|
3
|
-
constructor(contractorName: string, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare function selectContractorException(contractorName: string, message: string): SelectContractorException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class TypedValueInFieldNotMatchingException extends Error {
|
|
2
|
-
readonly code = "TYPED_VALUE_IN_FIELD_NOT_MATCHING_EXCEPTION";
|
|
3
|
-
constructor(element: any, inputValue: string, correctValue: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const typedValueInFieldNotMatchingException: (element: any, inputValue: string, correctValue: string) => TypedValueInFieldNotMatchingException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class TypingInputFieldException extends Error {
|
|
2
|
-
readonly code = "TYPING_INPUT_FIELD_EXCEPTION";
|
|
3
|
-
constructor(element: string | any, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare const typingInputFieldException: (element: string | any, message: string) => TypingInputFieldException;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class WaitForFunctionTimeoutError extends Error {
|
|
2
|
-
readonly code = "WAIT_FOR_FUNCTION_TIMEOUT_ERROR";
|
|
3
|
-
constructor(fn: Function, timeout: number);
|
|
4
|
-
}
|
|
5
|
-
export declare const waitForFunctionTimeoutError: (fn: Function, timeout: number) => WaitForFunctionTimeoutError;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class WaitForFunctionTimeoutError extends Error {
|
|
2
|
-
readonly code = "WAIT_FOR_FUNCTION_TIMEOUT_ERROR";
|
|
3
|
-
constructor(fn: Function, timeout: number);
|
|
4
|
-
}
|
|
5
|
-
export declare const waitForFunctionTimeoutError: (fn: Function, timeout: number) => WaitForFunctionTimeoutError;
|
|
@@ -1,18 +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("./bid"), exports);
|
|
18
|
-
__exportStar(require("./bid-result"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './proposal-bidding-status';
|
|
@@ -1,17 +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("./proposal-bidding-status"), exports);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const proposalBiddingStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
3
|
-
status: z.ZodLiteral<"success">;
|
|
4
|
-
biddingAmount: z.ZodNumber;
|
|
5
|
-
boosted: z.ZodBoolean;
|
|
6
|
-
boostingAmount: z.ZodNumber;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
status: "success";
|
|
9
|
-
biddingAmount: number;
|
|
10
|
-
boosted: boolean;
|
|
11
|
-
boostingAmount: number;
|
|
12
|
-
}, {
|
|
13
|
-
status: "success";
|
|
14
|
-
biddingAmount: number;
|
|
15
|
-
boosted: boolean;
|
|
16
|
-
boostingAmount: number;
|
|
17
|
-
}>, z.ZodObject<{
|
|
18
|
-
status: z.ZodLiteral<"failed">;
|
|
19
|
-
errorMessage: z.ZodString;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
status: "failed";
|
|
22
|
-
errorMessage: string;
|
|
23
|
-
}, {
|
|
24
|
-
status: "failed";
|
|
25
|
-
errorMessage: string;
|
|
26
|
-
}>]>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.proposalBiddingStatusSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.proposalBiddingStatusSchema = zod_1.z.discriminatedUnion('status', [
|
|
6
|
-
// Success case
|
|
7
|
-
zod_1.z.object({
|
|
8
|
-
status: zod_1.z.literal('success'),
|
|
9
|
-
biddingAmount: zod_1.z.number(),
|
|
10
|
-
boosted: zod_1.z.boolean(),
|
|
11
|
-
boostingAmount: zod_1.z.number(),
|
|
12
|
-
}),
|
|
13
|
-
// Failed case
|
|
14
|
-
zod_1.z.object({
|
|
15
|
-
status: zod_1.z.literal('failed'),
|
|
16
|
-
errorMessage: zod_1.z.string(),
|
|
17
|
-
}),
|
|
18
|
-
]);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const proposalDtoSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
3
|
-
status: z.ZodLiteral<"success">;
|
|
4
|
-
biddingAmount: z.ZodNumber;
|
|
5
|
-
boosted: z.ZodBoolean;
|
|
6
|
-
boostingAmount: z.ZodNumber;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
status: "success";
|
|
9
|
-
biddingAmount: number;
|
|
10
|
-
boosted: boolean;
|
|
11
|
-
boostingAmount: number;
|
|
12
|
-
}, {
|
|
13
|
-
status: "success";
|
|
14
|
-
biddingAmount: number;
|
|
15
|
-
boosted: boolean;
|
|
16
|
-
boostingAmount: number;
|
|
17
|
-
}>, z.ZodObject<{
|
|
18
|
-
status: z.ZodLiteral<"failed">;
|
|
19
|
-
errorMessage: z.ZodString;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
status: "failed";
|
|
22
|
-
errorMessage: string;
|
|
23
|
-
}, {
|
|
24
|
-
status: "failed";
|
|
25
|
-
errorMessage: string;
|
|
26
|
-
}>]>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.proposalDtoSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.proposalDtoSchema = zod_1.z.discriminatedUnion('status', [
|
|
6
|
-
// Success case
|
|
7
|
-
zod_1.z.object({
|
|
8
|
-
status: zod_1.z.literal('success'),
|
|
9
|
-
biddingAmount: zod_1.z.number(),
|
|
10
|
-
boosted: zod_1.z.boolean(),
|
|
11
|
-
boostingAmount: zod_1.z.number(),
|
|
12
|
-
}),
|
|
13
|
-
// Failed case
|
|
14
|
-
zod_1.z.object({
|
|
15
|
-
status: zod_1.z.literal('failed'),
|
|
16
|
-
errorMessage: zod_1.z.string(),
|
|
17
|
-
}),
|
|
18
|
-
]);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.campaignAIMetricsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.campaignAIMetricsSchema = zod_1.z.object({
|
|
6
|
-
leadsAnalyzed: zod_1.z.number(),
|
|
7
|
-
leadsBidded: zod_1.z.number(),
|
|
8
|
-
connectsSaved: zod_1.z.number(),
|
|
9
|
-
});
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.campaignActivitySchema = exports.campaignAnalyticsResponseSchema = exports.campaignAnalyticsStatsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const lead_1 = require("../lead");
|
|
6
|
-
exports.campaignAnalyticsStatsSchema = zod_1.z.object({
|
|
7
|
-
jobsAnalyzed: zod_1.z.number(),
|
|
8
|
-
totalStats: zod_1.z.object({
|
|
9
|
-
contacted: zod_1.z.number(),
|
|
10
|
-
viewed: zod_1.z.number(),
|
|
11
|
-
replied: zod_1.z.number(),
|
|
12
|
-
negotiations: zod_1.z.number(),
|
|
13
|
-
won: zod_1.z.number(),
|
|
14
|
-
}),
|
|
15
|
-
statsByDate: zod_1.z.array(zod_1.z.object({
|
|
16
|
-
label: zod_1.z.string(),
|
|
17
|
-
contacted: zod_1.z.number(),
|
|
18
|
-
viewed: zod_1.z.number(),
|
|
19
|
-
replied: zod_1.z.number(),
|
|
20
|
-
negotiations: zod_1.z.number(),
|
|
21
|
-
won: zod_1.z.number(),
|
|
22
|
-
})),
|
|
23
|
-
});
|
|
24
|
-
exports.campaignAnalyticsResponseSchema = zod_1.z.object({
|
|
25
|
-
jobsAnalyzed: zod_1.z.number(),
|
|
26
|
-
contacted: zod_1.z.number(),
|
|
27
|
-
viewed: zod_1.z.number(),
|
|
28
|
-
replied: zod_1.z.number(),
|
|
29
|
-
negotiations: zod_1.z.number(),
|
|
30
|
-
won: zod_1.z.number(),
|
|
31
|
-
});
|
|
32
|
-
exports.campaignActivitySchema = zod_1.z.object({
|
|
33
|
-
createdAt: zod_1.z.number(),
|
|
34
|
-
status: lead_1.leadStatusSchema,
|
|
35
|
-
job: lead_1.upworkJobSchema.pick({
|
|
36
|
-
id: true,
|
|
37
|
-
title: true,
|
|
38
|
-
datetime: true,
|
|
39
|
-
jobUrl: true,
|
|
40
|
-
}),
|
|
41
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.campaignExpensesSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.campaignExpensesSchema = zod_1.z.object({
|
|
6
|
-
biddingAmount: zod_1.z.number().default(0),
|
|
7
|
-
boostingAmount: zod_1.z.number().default(0),
|
|
8
|
-
boosted: zod_1.z.number().default(0),
|
|
9
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.campaignInsightsSchema = exports.campaignCountByStatusSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const lead_1 = require("../lead");
|
|
6
|
-
exports.campaignCountByStatusSchema = zod_1.z.object(Object.assign({}, Object.fromEntries(Object.values(lead_1.agentStatusSchema.enum).map((status) => [
|
|
7
|
-
status,
|
|
8
|
-
zod_1.z.object({
|
|
9
|
-
boosted: zod_1.z.number(),
|
|
10
|
-
organic: zod_1.z.number(),
|
|
11
|
-
total: zod_1.z.number(),
|
|
12
|
-
}),
|
|
13
|
-
]))));
|
|
14
|
-
exports.campaignInsightsSchema = zod_1.z.object({
|
|
15
|
-
pipelineHealth: exports.campaignCountByStatusSchema,
|
|
16
|
-
biddingAmount: zod_1.z.number().default(0),
|
|
17
|
-
boostingAmount: zod_1.z.number().default(0),
|
|
18
|
-
boostedProposalsCount: zod_1.z.number().default(0),
|
|
19
|
-
totalProposalsCount: zod_1.z.number().default(0),
|
|
20
|
-
totalExpenses: zod_1.z.number().default(0),
|
|
21
|
-
suitabilityRange0to10: zod_1.z.number(),
|
|
22
|
-
suitabilityRange10to20: zod_1.z.number(),
|
|
23
|
-
suitabilityRange20to30: zod_1.z.number(),
|
|
24
|
-
suitabilityRange30to40: zod_1.z.number(),
|
|
25
|
-
suitabilityRange40to50: zod_1.z.number(),
|
|
26
|
-
suitabilityRange50to60: zod_1.z.number(),
|
|
27
|
-
suitabilityRange60to70: zod_1.z.number(),
|
|
28
|
-
suitabilityRange70to80: zod_1.z.number(),
|
|
29
|
-
suitabilityRange80to90: zod_1.z.number(),
|
|
30
|
-
suitabilityRange90to100: zod_1.z.number(),
|
|
31
|
-
});
|