lancer-shared 1.2.123 → 1.2.125
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 +551 -566
- package/dist/constants/job-filter-options.d.ts +2 -2
- package/dist/schemas/agent/index.d.ts +132 -38
- package/dist/schemas/bid/bid.d.ts +2623 -1
- package/dist/schemas/bid/exceptions/index.d.ts +3 -1
- package/dist/schemas/bid/exceptions/proposal-generation-failed.exception.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +80 -80
- package/dist/schemas/campaign/campaign.d.ts +42 -42
- package/dist/schemas/job/index.d.ts +1 -1
- package/dist/schemas/job/job-filters.d.ts +14 -13
- package/dist/schemas/job/job-listing.d.ts +866 -0
- package/dist/schemas/logger/index.d.ts +2 -1
- package/dist/schemas/logger/log-event.d.ts +14 -1513
- package/dist/schemas/logger/scraper-events.d.ts +1535 -0
- package/dist/schemas/organization/index.d.ts +7 -7
- package/dist/schemas/scraper/exceptions.d.ts +11 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +372 -102
- package/dist/schemas/usage-event/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { infer, z } from
|
|
2
|
-
import { CoverLetterTemplate } from
|
|
3
|
-
import { OnboardingProgress } from
|
|
1
|
+
import { infer, z } from 'zod';
|
|
2
|
+
import { CoverLetterTemplate } from './cover-letter';
|
|
3
|
+
import { OnboardingProgress } from './onboarding';
|
|
4
4
|
export declare const organizationTypeSchema: z.ZodEnum<["agency", "freelancer"]>;
|
|
5
5
|
export declare const organizationTierEnum: z.ZodEnum<["free", "premium"]>;
|
|
6
6
|
export declare const limitsSchema: z.ZodObject<{
|
|
@@ -712,7 +712,7 @@ export interface OrganizationSettings extends infer<typeof organizationSettingsS
|
|
|
712
712
|
export type OrganizationType = z.infer<typeof organizationTypeSchema>;
|
|
713
713
|
export interface SubscribePayload extends z.infer<typeof subscribePayloadSchema> {
|
|
714
714
|
}
|
|
715
|
-
export * from
|
|
716
|
-
export * from
|
|
717
|
-
export * from
|
|
718
|
-
export * from
|
|
715
|
+
export * from './cover-letter';
|
|
716
|
+
export * from './member';
|
|
717
|
+
export * from './onboarding';
|
|
718
|
+
export * from './subscription';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JobListing } from '../job';
|
|
1
2
|
export declare class NoScraperAccountAvailableException extends Error {
|
|
2
3
|
readonly code = "NO_SCRAPER_ACCOUNT_AVAILABLE";
|
|
3
4
|
constructor(message?: string);
|
|
@@ -13,3 +14,13 @@ export declare class FeedScrapeException extends Error {
|
|
|
13
14
|
constructor(message?: string);
|
|
14
15
|
}
|
|
15
16
|
export declare const feedScrapeException: (message?: string) => FeedScrapeException;
|
|
17
|
+
export declare class ParseJobListingsException extends Error {
|
|
18
|
+
readonly code = "PARSE_JOB_LISTINGS_FAILED";
|
|
19
|
+
constructor(message?: string);
|
|
20
|
+
}
|
|
21
|
+
export declare const parseJobListingsException: (message?: string) => ParseJobListingsException;
|
|
22
|
+
export declare class ScrapeJobDetailsException extends Error {
|
|
23
|
+
readonly code = "SCRAPE_JOB_DETAILS_FAILED";
|
|
24
|
+
constructor(jobListing: JobListing);
|
|
25
|
+
}
|
|
26
|
+
export declare const scrapeJobDetailsException: (jobListing: JobListing) => ScrapeJobDetailsException;
|