lancer-shared 1.2.332 → 1.2.334
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 +13 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +11 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/bidder/exceptions/index.d.ts +3 -1
- package/dist/schemas/bidder/exceptions/proxy-not-reachable.exception.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +24 -0
- package/dist/schemas/campaign/campaign.d.ts +15 -0
- package/dist/schemas/job/job-filters.d.ts +5 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +7 -0
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -5301,6 +5301,7 @@ const requiredJSSEnum = z.enum(JOB_FILTER_OPTIONS.REQUIRED_JSS);
|
|
|
5301
5301
|
const isPaymentVerifiedEnum = z.enum(['all', 'true', 'false']);
|
|
5302
5302
|
const isPhoneVerifiedEnum = z.enum(['all', 'true', 'false']);
|
|
5303
5303
|
const hasQuestionsEnum = z.enum(['all', 'yes', 'no']);
|
|
5304
|
+
const searchQueryModeEnum = z.enum(['builder', 'custom']);
|
|
5304
5305
|
// Main job filters schema
|
|
5305
5306
|
const jobFiltersSchema = z.object({
|
|
5306
5307
|
keywords: z
|
|
@@ -5310,6 +5311,7 @@ const jobFiltersSchema = z.object({
|
|
|
5310
5311
|
})
|
|
5311
5312
|
.nullable(),
|
|
5312
5313
|
searchQuery: z.string().nullable(),
|
|
5314
|
+
searchQueryMode: searchQueryModeEnum.nullable().optional(),
|
|
5313
5315
|
isFeatured: z.enum(['all', 'true', 'false']).nullable(),
|
|
5314
5316
|
regions: z.array(regionEnum).nullable(),
|
|
5315
5317
|
categories: z
|
|
@@ -8798,6 +8800,14 @@ const proposalSubmitFailedException = (message) => {
|
|
|
8798
8800
|
return new ProposalSubmitFailedException(message);
|
|
8799
8801
|
};
|
|
8800
8802
|
|
|
8803
|
+
class ProxyNotReachableException extends Error {
|
|
8804
|
+
code = 'PROXY_NOT_REACHABLE_EXCEPTION';
|
|
8805
|
+
constructor(message) {
|
|
8806
|
+
super(message);
|
|
8807
|
+
}
|
|
8808
|
+
}
|
|
8809
|
+
const proxyNotReachableException = (message) => new ProxyNotReachableException(message);
|
|
8810
|
+
|
|
8801
8811
|
class PuppeteerConnectionErrorException extends Error {
|
|
8802
8812
|
code = 'PUPPETEER_CONNECTION_ERROR_EXCEPTION';
|
|
8803
8813
|
constructor(message) {
|
|
@@ -24688,6 +24698,7 @@ exports.ProposalErrorAlertException = ProposalErrorAlertException;
|
|
|
24688
24698
|
exports.ProposalFormWarningAlertException = ProposalFormWarningAlertException;
|
|
24689
24699
|
exports.ProposalGenerationFailedException = ProposalGenerationFailedException;
|
|
24690
24700
|
exports.ProposalSubmitFailedException = ProposalSubmitFailedException;
|
|
24701
|
+
exports.ProxyNotReachableException = ProxyNotReachableException;
|
|
24691
24702
|
exports.PuppeteerConnectionErrorException = PuppeteerConnectionErrorException;
|
|
24692
24703
|
exports.QuestionPairNotMatchingException = QuestionPairNotMatchingException;
|
|
24693
24704
|
exports.ROOM_CRM_ARCHIVED_REASON_LABELS = ROOM_CRM_ARCHIVED_REASON_LABELS;
|
|
@@ -25002,6 +25013,7 @@ exports.proposalSubmitFailedException = proposalSubmitFailedException;
|
|
|
25002
25013
|
exports.proxyAvailableReplacementsSchema = proxyAvailableReplacementsSchema;
|
|
25003
25014
|
exports.proxyCountryCodeToName = proxyCountryCodeToName;
|
|
25004
25015
|
exports.proxyCountryEnum = proxyCountryEnum;
|
|
25016
|
+
exports.proxyNotReachableException = proxyNotReachableException;
|
|
25005
25017
|
exports.proxyProviderSchema = proxyProviderSchema;
|
|
25006
25018
|
exports.proxySchema = proxySchema;
|
|
25007
25019
|
exports.proxyStatusSchema = proxyStatusSchema;
|
|
@@ -25045,6 +25057,7 @@ exports.scraperAccountSwapCompletedEventMetadata = scraperAccountSwapCompletedEv
|
|
|
25045
25057
|
exports.scraperAccountSwapFailedEventMetadata = scraperAccountSwapFailedEventMetadata;
|
|
25046
25058
|
exports.scraperAccountSwapStartedEventMetadata = scraperAccountSwapStartedEventMetadata;
|
|
25047
25059
|
exports.scraperAccountTypeEnum = scraperAccountTypeEnum;
|
|
25060
|
+
exports.searchQueryModeEnum = searchQueryModeEnum;
|
|
25048
25061
|
exports.selectAgencyException = selectAgencyException;
|
|
25049
25062
|
exports.selectContractorException = selectContractorException;
|
|
25050
25063
|
exports.selectorNotFoundError = selectorNotFoundError;
|