lancer-shared 1.2.241 → 1.2.242
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.map +1 -0
- package/dist/bundle.esm.js.map +1 -0
- package/dist/schemas/account/bidder-account.d.ts +75 -75
- package/dist/schemas/account/scraper-account.d.ts +37 -37
- package/dist/schemas/agent/index.d.ts +285 -285
- package/dist/schemas/agent/proposal.d.ts +6 -6
- package/dist/schemas/bidder/bid.d.ts +2345 -2345
- package/dist/schemas/campaign/campaign-analytics.d.ts +857 -857
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +25 -25
- package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
- package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
- package/dist/schemas/campaign/campaign.d.ts +201 -201
- package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
- package/dist/schemas/dashboard/index.d.ts +34 -34
- package/dist/schemas/infrastructure/index.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +51 -51
- package/dist/schemas/job/index.d.ts +212 -212
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +736 -736
- package/dist/schemas/job/job-filters.d.ts +14 -14
- package/dist/schemas/job/job-listing.d.ts +94 -94
- package/dist/schemas/job/nuxt.d.ts +150 -150
- package/dist/schemas/lead/index.d.ts +1022 -1022
- package/dist/schemas/lead/lead-status.d.ts +10 -10
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +25 -25
- package/dist/schemas/logger/feed/feed-enrich.d.ts +15 -15
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +321 -321
- package/dist/schemas/logger/feed/feed-scrape.d.ts +15 -15
- package/dist/schemas/logger/log-event.d.ts +91 -91
- package/dist/schemas/logger/scraper-events.d.ts +90 -90
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/cover-letter.d.ts +2 -2
- package/dist/schemas/organization/index.d.ts +104 -104
- package/dist/schemas/organization/subscription.d.ts +6 -6
- package/dist/schemas/plan/index.d.ts +14 -14
- package/dist/schemas/proxy/proxy.d.ts +20 -20
- package/dist/schemas/saved-search/index.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +621 -621
- package/dist/schemas/scraper/scrape-result.d.ts +214 -214
- package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
- package/dist/schemas/shared.d.ts +1 -1
- package/dist/schemas/talent/index.d.ts +854 -854
- package/dist/schemas/transaction/index.d.ts +18 -18
- package/dist/schemas/usage/index.d.ts +16 -16
- package/dist/schemas/usage-event/index.d.ts +4 -4
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +8 -6
|
@@ -10,30 +10,30 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
10
10
|
userId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
|
|
14
|
-
organizationId: string;
|
|
13
|
+
status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
|
|
15
14
|
campaignId: string;
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
organizationId: string;
|
|
16
|
+
leadId: string;
|
|
18
17
|
userId?: string | undefined;
|
|
18
|
+
proposalId?: string | undefined;
|
|
19
19
|
wonAmount?: number | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
|
|
22
|
-
organizationId: string;
|
|
21
|
+
status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
|
|
23
22
|
campaignId: string;
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
organizationId: string;
|
|
24
|
+
leadId: string;
|
|
26
25
|
userId?: string | undefined;
|
|
26
|
+
proposalId?: string | undefined;
|
|
27
27
|
wonAmount?: number | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.ZodObject<{
|
|
30
30
|
applicationUid: z.ZodString;
|
|
31
31
|
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "
|
|
33
|
+
status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
|
|
34
34
|
applicationUid: string;
|
|
35
35
|
}, {
|
|
36
|
-
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "
|
|
36
|
+
status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
|
|
37
37
|
applicationUid: string;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
export type LeadStatus = z.infer<typeof leadStatusEnum>;
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const feedChunkEnrichStartedEventMetadata: z.ZodObject<{
|
|
3
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
3
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
4
4
|
accountId: z.ZodString;
|
|
5
5
|
accountEmail: z.ZodString;
|
|
6
6
|
chunkSize: z.ZodNumber;
|
|
7
7
|
feedEnrichId: z.ZodString;
|
|
8
8
|
feedScrapeId: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
region: "USOnly" | "UKOnly" | "
|
|
10
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
11
11
|
accountId: string;
|
|
12
|
+
feedScrapeId: string;
|
|
12
13
|
accountEmail: string;
|
|
13
14
|
chunkSize: number;
|
|
14
15
|
feedEnrichId: string;
|
|
15
|
-
feedScrapeId: string;
|
|
16
16
|
}, {
|
|
17
|
-
region: "USOnly" | "UKOnly" | "
|
|
17
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
18
18
|
accountId: string;
|
|
19
|
+
feedScrapeId: string;
|
|
19
20
|
accountEmail: string;
|
|
20
21
|
chunkSize: number;
|
|
21
22
|
feedEnrichId: string;
|
|
22
|
-
feedScrapeId: string;
|
|
23
23
|
}>;
|
|
24
24
|
export declare const feedChunkEnrichCompletedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
25
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
25
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
26
26
|
accountId: z.ZodString;
|
|
27
27
|
accountEmail: z.ZodString;
|
|
28
28
|
chunkSize: z.ZodNumber;
|
|
29
29
|
feedEnrichId: z.ZodString;
|
|
30
30
|
feedScrapeId: z.ZodString;
|
|
31
|
-
}, "region" | "accountId" | "
|
|
31
|
+
}, "region" | "accountId" | "feedScrapeId" | "accountEmail" | "chunkSize" | "feedEnrichId">, {
|
|
32
32
|
duration: z.ZodString;
|
|
33
33
|
successfulEnrichJobCount: z.ZodNumber;
|
|
34
34
|
failedEnrichJobCount: z.ZodNumber;
|
|
35
35
|
}>, "strip", z.ZodTypeAny, {
|
|
36
|
-
region: "USOnly" | "UKOnly" | "
|
|
36
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
37
|
+
duration: string;
|
|
37
38
|
accountId: string;
|
|
39
|
+
feedScrapeId: string;
|
|
38
40
|
accountEmail: string;
|
|
39
41
|
chunkSize: number;
|
|
40
42
|
feedEnrichId: string;
|
|
41
|
-
feedScrapeId: string;
|
|
42
|
-
duration: string;
|
|
43
43
|
successfulEnrichJobCount: number;
|
|
44
44
|
failedEnrichJobCount: number;
|
|
45
45
|
}, {
|
|
46
|
-
region: "USOnly" | "UKOnly" | "
|
|
46
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
47
|
+
duration: string;
|
|
47
48
|
accountId: string;
|
|
49
|
+
feedScrapeId: string;
|
|
48
50
|
accountEmail: string;
|
|
49
51
|
chunkSize: number;
|
|
50
52
|
feedEnrichId: string;
|
|
51
|
-
feedScrapeId: string;
|
|
52
|
-
duration: string;
|
|
53
53
|
successfulEnrichJobCount: number;
|
|
54
54
|
failedEnrichJobCount: number;
|
|
55
55
|
}>;
|
|
56
56
|
export declare const feedChunkEnrichFailedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
57
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
57
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
58
58
|
accountId: z.ZodString;
|
|
59
59
|
accountEmail: z.ZodString;
|
|
60
60
|
chunkSize: z.ZodNumber;
|
|
61
61
|
feedEnrichId: z.ZodString;
|
|
62
62
|
feedScrapeId: z.ZodString;
|
|
63
|
-
}, "region" | "accountId" | "
|
|
63
|
+
}, "region" | "accountId" | "feedScrapeId" | "accountEmail" | "chunkSize" | "feedEnrichId">, {
|
|
64
64
|
errorMessage: z.ZodString;
|
|
65
65
|
errorCode: z.ZodString;
|
|
66
66
|
errorStack: z.ZodString;
|
|
67
67
|
}>, "strip", z.ZodTypeAny, {
|
|
68
|
-
|
|
68
|
+
errorCode: string;
|
|
69
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
69
70
|
accountId: string;
|
|
71
|
+
errorMessage: string;
|
|
72
|
+
feedScrapeId: string;
|
|
73
|
+
errorStack: string;
|
|
70
74
|
accountEmail: string;
|
|
71
75
|
chunkSize: number;
|
|
72
76
|
feedEnrichId: string;
|
|
73
|
-
feedScrapeId: string;
|
|
74
|
-
errorMessage: string;
|
|
75
|
-
errorCode: string;
|
|
76
|
-
errorStack: string;
|
|
77
77
|
}, {
|
|
78
|
-
|
|
78
|
+
errorCode: string;
|
|
79
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
79
80
|
accountId: string;
|
|
81
|
+
errorMessage: string;
|
|
82
|
+
feedScrapeId: string;
|
|
83
|
+
errorStack: string;
|
|
80
84
|
accountEmail: string;
|
|
81
85
|
chunkSize: number;
|
|
82
86
|
feedEnrichId: string;
|
|
83
|
-
feedScrapeId: string;
|
|
84
|
-
errorMessage: string;
|
|
85
|
-
errorCode: string;
|
|
86
|
-
errorStack: string;
|
|
87
87
|
}>;
|
|
88
88
|
export interface FeedChunkEnrichStartedEventMetadata extends z.infer<typeof feedChunkEnrichStartedEventMetadata> {
|
|
89
89
|
}
|
|
@@ -2,21 +2,21 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const feedEnrichStartedEventMetadata: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
feedScrapeId: z.ZodString;
|
|
5
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
5
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
6
6
|
accountIds: z.ZodArray<z.ZodString, "many">;
|
|
7
7
|
accountEmails: z.ZodArray<z.ZodString, "many">;
|
|
8
8
|
jobCount: z.ZodNumber;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: string;
|
|
11
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
11
12
|
feedScrapeId: string;
|
|
12
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
13
13
|
accountIds: string[];
|
|
14
14
|
accountEmails: string[];
|
|
15
15
|
jobCount: number;
|
|
16
16
|
}, {
|
|
17
17
|
id: string;
|
|
18
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
18
19
|
feedScrapeId: string;
|
|
19
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
20
20
|
accountIds: string[];
|
|
21
21
|
accountEmails: string[];
|
|
22
22
|
jobCount: number;
|
|
@@ -24,7 +24,7 @@ export declare const feedEnrichStartedEventMetadata: z.ZodObject<{
|
|
|
24
24
|
export declare const feedEnrichCompletedEventMetadata: z.ZodObject<z.objectUtil.extendShape<{
|
|
25
25
|
id: z.ZodString;
|
|
26
26
|
feedScrapeId: z.ZodString;
|
|
27
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
27
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
28
28
|
accountIds: z.ZodArray<z.ZodString, "many">;
|
|
29
29
|
accountEmails: z.ZodArray<z.ZodString, "many">;
|
|
30
30
|
jobCount: z.ZodNumber;
|
|
@@ -32,25 +32,25 @@ export declare const feedEnrichCompletedEventMetadata: z.ZodObject<z.objectUtil.
|
|
|
32
32
|
duration: z.ZodString;
|
|
33
33
|
}>, "strip", z.ZodTypeAny, {
|
|
34
34
|
id: string;
|
|
35
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
36
|
+
duration: string;
|
|
35
37
|
feedScrapeId: string;
|
|
36
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
37
38
|
accountIds: string[];
|
|
38
39
|
accountEmails: string[];
|
|
39
40
|
jobCount: number;
|
|
40
|
-
duration: string;
|
|
41
41
|
}, {
|
|
42
42
|
id: string;
|
|
43
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
44
|
+
duration: string;
|
|
43
45
|
feedScrapeId: string;
|
|
44
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
45
46
|
accountIds: string[];
|
|
46
47
|
accountEmails: string[];
|
|
47
48
|
jobCount: number;
|
|
48
|
-
duration: string;
|
|
49
49
|
}>;
|
|
50
50
|
export declare const feedEnrichFailedEventMetadata: z.ZodObject<z.objectUtil.extendShape<{
|
|
51
51
|
id: z.ZodString;
|
|
52
52
|
feedScrapeId: z.ZodString;
|
|
53
|
-
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
53
|
+
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>;
|
|
54
54
|
accountIds: z.ZodArray<z.ZodString, "many">;
|
|
55
55
|
accountEmails: z.ZodArray<z.ZodString, "many">;
|
|
56
56
|
jobCount: z.ZodNumber;
|
|
@@ -60,23 +60,23 @@ export declare const feedEnrichFailedEventMetadata: z.ZodObject<z.objectUtil.ext
|
|
|
60
60
|
errorStack: z.ZodString;
|
|
61
61
|
}>, "strip", z.ZodTypeAny, {
|
|
62
62
|
id: string;
|
|
63
|
+
errorCode: string;
|
|
64
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
65
|
+
errorMessage: string;
|
|
63
66
|
feedScrapeId: string;
|
|
64
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
65
67
|
accountIds: string[];
|
|
66
68
|
accountEmails: string[];
|
|
67
69
|
jobCount: number;
|
|
68
|
-
errorMessage: string;
|
|
69
|
-
errorCode: string;
|
|
70
70
|
errorStack: string;
|
|
71
71
|
}, {
|
|
72
72
|
id: string;
|
|
73
|
+
errorCode: string;
|
|
74
|
+
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
75
|
+
errorMessage: string;
|
|
73
76
|
feedScrapeId: string;
|
|
74
|
-
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
75
77
|
accountIds: string[];
|
|
76
78
|
accountEmails: string[];
|
|
77
79
|
jobCount: number;
|
|
78
|
-
errorMessage: string;
|
|
79
|
-
errorCode: string;
|
|
80
80
|
errorStack: string;
|
|
81
81
|
}>;
|
|
82
82
|
export interface FeedEnrichStartedEventMetadata extends z.infer<typeof feedEnrichStartedEventMetadata> {
|