lancer-shared 1.2.271 → 1.2.273
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 +78 -4
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +77 -5
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/grouped-countries.d.ts +1 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/schemas/account/bidder-account.d.ts +20 -20
- package/dist/schemas/account/scraper-account.d.ts +22 -22
- package/dist/schemas/agent/index.d.ts +216 -216
- package/dist/schemas/agent/proposal.d.ts +2 -2
- package/dist/schemas/bidder/bid.d.ts +2062 -2043
- package/dist/schemas/campaign/campaign-analytics.d.ts +784 -776
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +9 -9
- package/dist/schemas/campaign/campaign.d.ts +378 -378
- package/dist/schemas/dashboard/index.d.ts +12 -12
- package/dist/schemas/golden-dataset/sample.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +4 -4
- package/dist/schemas/job/index.d.ts +112 -112
- package/dist/schemas/job/job-api.d.ts +6 -6
- package/dist/schemas/job/job-details.d.ts +74 -74
- package/dist/schemas/job/job-filters.d.ts +47 -47
- package/dist/schemas/job/job-listing.d.ts +22 -22
- package/dist/schemas/job/nuxt.d.ts +24 -24
- package/dist/schemas/lead/index.d.ts +845 -844
- package/dist/schemas/lead/insufficient-connects-action.d.ts +3 -0
- package/dist/schemas/lead/lead-status.d.ts +10 -10
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +6 -6
- package/dist/schemas/logger/feed/feed-enrich.d.ts +6 -6
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +140 -140
- package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
- package/dist/schemas/logger/log-event.d.ts +72 -72
- package/dist/schemas/logger/scraper-events.d.ts +28 -28
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/billing.d.ts +2 -2
- package/dist/schemas/organization/index.d.ts +66 -62
- package/dist/schemas/organization/organization-leads.d.ts +4 -4
- package/dist/schemas/organization/subscription.d.ts +9 -9
- package/dist/schemas/plan/index.d.ts +22 -22
- package/dist/schemas/proxy/proxy.d.ts +2 -2
- package/dist/schemas/scraper/scrape-payload.d.ts +495 -490
- package/dist/schemas/scraper/scrape-result.d.ts +136 -136
- package/dist/schemas/talent/index.d.ts +148 -148
- package/dist/schemas/transaction/index.d.ts +2 -2
- package/dist/schemas/usage/index.d.ts +2 -2
- package/dist/schemas/usage-event/index.d.ts +8 -8
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -43,6 +43,74 @@ const defaultQuestions = [
|
|
|
43
43
|
},
|
|
44
44
|
];
|
|
45
45
|
|
|
46
|
+
const GOAT_COUNTRIES = [
|
|
47
|
+
'USA',
|
|
48
|
+
'United States',
|
|
49
|
+
'United Kingdom',
|
|
50
|
+
'CAN',
|
|
51
|
+
'Canada',
|
|
52
|
+
'AUS',
|
|
53
|
+
'Australia',
|
|
54
|
+
'ISR',
|
|
55
|
+
'Israel',
|
|
56
|
+
'United Arab Emirates',
|
|
57
|
+
'Singapore',
|
|
58
|
+
'Switzerland',
|
|
59
|
+
'Saudi Arabia',
|
|
60
|
+
'CHN',
|
|
61
|
+
'China',
|
|
62
|
+
'Austria',
|
|
63
|
+
'BEL',
|
|
64
|
+
'Belgium',
|
|
65
|
+
'Bulgaria',
|
|
66
|
+
'Croatia',
|
|
67
|
+
'CYP',
|
|
68
|
+
'Cyprus',
|
|
69
|
+
'CZH',
|
|
70
|
+
'Czech Republic',
|
|
71
|
+
'Denmark',
|
|
72
|
+
'Estonia',
|
|
73
|
+
'FIN',
|
|
74
|
+
'Finland',
|
|
75
|
+
'FRA',
|
|
76
|
+
'France',
|
|
77
|
+
'DEU',
|
|
78
|
+
'Germany',
|
|
79
|
+
'Greece',
|
|
80
|
+
'HUN',
|
|
81
|
+
'Hungry',
|
|
82
|
+
'Ireland',
|
|
83
|
+
'Italy',
|
|
84
|
+
'Latvia',
|
|
85
|
+
'Lithuania',
|
|
86
|
+
'LUX',
|
|
87
|
+
'Luxhembourg',
|
|
88
|
+
'Malta',
|
|
89
|
+
'Netherlands',
|
|
90
|
+
'POL',
|
|
91
|
+
'Poland',
|
|
92
|
+
'Portugal',
|
|
93
|
+
'Romania',
|
|
94
|
+
'Slovakia',
|
|
95
|
+
'Slovenia',
|
|
96
|
+
'Spain',
|
|
97
|
+
'SWE',
|
|
98
|
+
'Sweden',
|
|
99
|
+
'Norway',
|
|
100
|
+
'New Zealand',
|
|
101
|
+
'GBR',
|
|
102
|
+
'NLD',
|
|
103
|
+
'Qatar',
|
|
104
|
+
'SGP',
|
|
105
|
+
'ESP',
|
|
106
|
+
'ITA',
|
|
107
|
+
'Puerto Rico',
|
|
108
|
+
'Costa Rica',
|
|
109
|
+
'Iceland',
|
|
110
|
+
'QAT',
|
|
111
|
+
'Monaco',
|
|
112
|
+
];
|
|
113
|
+
|
|
46
114
|
const invoiceStatusNames = {
|
|
47
115
|
open: "Open",
|
|
48
116
|
paid: "Paid",
|
|
@@ -6750,6 +6818,11 @@ const updateOrganizationLeadsStatusPayloadSchema = z.array(z.object({
|
|
|
6750
6818
|
|
|
6751
6819
|
const alreadyHiredActionEnum = z.enum(['skip', 'bid']);
|
|
6752
6820
|
|
|
6821
|
+
const insufficientConnectsActionEnum = z.enum([
|
|
6822
|
+
'buy_more_connects',
|
|
6823
|
+
'pause_campaigns',
|
|
6824
|
+
]);
|
|
6825
|
+
|
|
6753
6826
|
const questionAnswerPairSchema = z.object({
|
|
6754
6827
|
question: z.string(),
|
|
6755
6828
|
answer: z.string(),
|
|
@@ -7007,7 +7080,7 @@ const subscriptionSchema = objectType({
|
|
|
7007
7080
|
source: subscriptionSourceEnum,
|
|
7008
7081
|
usage: recordType(usageEventTypeEnum, numberType()),
|
|
7009
7082
|
trialEndsAt: numberType().nullable(),
|
|
7010
|
-
billingInterval: billingIntervalEnum,
|
|
7083
|
+
billingInterval: billingIntervalEnum.nullable(),
|
|
7011
7084
|
hasUsBidderAccess: booleanType().nullable(),
|
|
7012
7085
|
usBidderSubscriptionItemId: stringType().nullable(),
|
|
7013
7086
|
});
|
|
@@ -7090,6 +7163,7 @@ const organizationSchema = objectType({
|
|
|
7090
7163
|
openRouterApiKey: stringType().nullable(),
|
|
7091
7164
|
nextProposalStatusSyncTime: numberType().nullable(),
|
|
7092
7165
|
usBidderAccountSubscription: oneTimePaymentsSchema.optional(),
|
|
7166
|
+
insufficientConnectsAction: insufficientConnectsActionEnum.nullable(),
|
|
7093
7167
|
});
|
|
7094
7168
|
const organizationUpdateSchema = objectType({ planId: stringType() });
|
|
7095
7169
|
const caseStudySchema = objectType({
|
|
@@ -7218,16 +7292,13 @@ const campaignSchema = z.object({
|
|
|
7218
7292
|
createdAt: z.number(),
|
|
7219
7293
|
updatedAt: z.number(),
|
|
7220
7294
|
confirmedBillingAt: z.number().nullable(),
|
|
7221
|
-
// automatedSuitability: z.boolean().nullable(),
|
|
7222
7295
|
boostingEnabled: z.boolean().nullable().default(false),
|
|
7223
7296
|
maximumBoost: z.number().nullable().default(30),
|
|
7224
7297
|
minBoost: z.number().nullable().default(1),
|
|
7225
7298
|
boostDownToNthPlace: z.number().min(1).max(4).nullable(),
|
|
7226
7299
|
connectsAbovePrevious: z.number().min(1).nullable(),
|
|
7227
7300
|
insufficeintBoostConnectsAction: insufficeintBoostConnectsActionEnum,
|
|
7228
|
-
// minimumBoost: z.number().nullable().default(0),
|
|
7229
7301
|
monthlyBudget: z.number().nullable(),
|
|
7230
|
-
// suitabilityThreshold: z.number().min(0).max(100).nullable().default(0),
|
|
7231
7302
|
boostingThreshold: z.number().min(0).max(100).nullable().default(0),
|
|
7232
7303
|
biddingDelayInMinutes: z.number().default(5),
|
|
7233
7304
|
biddingHourlyRateStrategy: biddingHourlyRateStrategyEnum,
|
|
@@ -8132,6 +8203,7 @@ const bidPayloadProposalDataSchema = z.object({
|
|
|
8132
8203
|
biddingHourlyRatePercentage: z.number().min(0).max(100).nullable(),
|
|
8133
8204
|
biddingFixedHourlyRate: z.number().nullable(),
|
|
8134
8205
|
alreadyHiredAction: alreadyHiredActionEnum,
|
|
8206
|
+
insufficientConnectsAction: insufficientConnectsActionEnum,
|
|
8135
8207
|
isHourlyRate: z.boolean(),
|
|
8136
8208
|
jobMinHourlyRate: z.number().nullable(),
|
|
8137
8209
|
jobMaxHourlyRate: z.number().nullable(),
|
|
@@ -23996,6 +24068,7 @@ exports.FEED_JOB_TO_JOB_DETAILS_FIELD_MAPPING = FEED_JOB_TO_JOB_DETAILS_FIELD_MA
|
|
|
23996
24068
|
exports.FailedToParseNuxtJobException = FailedToParseNuxtJobException;
|
|
23997
24069
|
exports.FeedJobEnrichException = FeedJobEnrichException;
|
|
23998
24070
|
exports.FeedScrapeException = FeedScrapeException;
|
|
24071
|
+
exports.GOAT_COUNTRIES = GOAT_COUNTRIES;
|
|
23999
24072
|
exports.GetMultiloginBrowserException = GetMultiloginBrowserException;
|
|
24000
24073
|
exports.GoToUrlException = GoToUrlException;
|
|
24001
24074
|
exports.HIERARCHICAL_CATEGORIES_TO_CHILDREN = HIERARCHICAL_CATEGORIES_TO_CHILDREN;
|
|
@@ -24193,6 +24266,7 @@ exports.hasQuestionsEnum = hasQuestionsEnum;
|
|
|
24193
24266
|
exports.incorrectSecurityQuestionAnswerException = incorrectSecurityQuestionAnswerException;
|
|
24194
24267
|
exports.initBrowserException = initBrowserException;
|
|
24195
24268
|
exports.insufficeintBoostConnectsActionEnum = insufficeintBoostConnectsActionEnum;
|
|
24269
|
+
exports.insufficientConnectsActionEnum = insufficientConnectsActionEnum;
|
|
24196
24270
|
exports.insufficientConnectsException = insufficientConnectsException;
|
|
24197
24271
|
exports.invalidCredentialsException = invalidCredentialsException;
|
|
24198
24272
|
exports.invalidGoogleOAuthTokenSchema = invalidGoogleOAuthTokenSchema;
|