lancer-shared 1.2.272 → 1.2.274
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 +83 -7
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +82 -7
- 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/constants/routes.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +8 -0
- package/dist/schemas/organization/index.d.ts +4 -2
- package/dist/schemas/organization/onboarding.d.ts +21 -18
- package/dist/schemas/scraper/scrape-payload.d.ts +5 -0
- 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",
|
|
@@ -7037,12 +7105,13 @@ const organizationMemberSchema = objectType({
|
|
|
7037
7105
|
invitedBy: stringType(),
|
|
7038
7106
|
});
|
|
7039
7107
|
|
|
7040
|
-
const
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7108
|
+
const onboardingSectionSchema = z.object({
|
|
7109
|
+
id: z.string(),
|
|
7110
|
+
parentId: z.string().nullable(),
|
|
7111
|
+
title: z.string(),
|
|
7112
|
+
stepNumber: z.string(),
|
|
7113
|
+
videoUrl: z.string().nullable(),
|
|
7114
|
+
description: z.string(),
|
|
7046
7115
|
});
|
|
7047
7116
|
|
|
7048
7117
|
const getOrganizationLeadsStatusEnum = z.enum([
|
|
@@ -7096,6 +7165,7 @@ const organizationSchema = objectType({
|
|
|
7096
7165
|
nextProposalStatusSyncTime: numberType().nullable(),
|
|
7097
7166
|
usBidderAccountSubscription: oneTimePaymentsSchema.optional(),
|
|
7098
7167
|
insufficientConnectsAction: insufficientConnectsActionEnum.nullable(),
|
|
7168
|
+
onboardingCompletions: recordType(stringType(), booleanType()).nullable(),
|
|
7099
7169
|
});
|
|
7100
7170
|
const organizationUpdateSchema = objectType({ planId: stringType() });
|
|
7101
7171
|
const caseStudySchema = objectType({
|
|
@@ -15244,6 +15314,10 @@ const ROUTES = {
|
|
|
15244
15314
|
BASE: 'bidder-accounts',
|
|
15245
15315
|
BY_ID: (id) => `bidder-accounts/${id}`,
|
|
15246
15316
|
},
|
|
15317
|
+
ONBOARDING: {
|
|
15318
|
+
BASE: 'onboarding',
|
|
15319
|
+
SECTIONS: 'onboarding/sections/v1',
|
|
15320
|
+
},
|
|
15247
15321
|
ORGANIZATIONS: {
|
|
15248
15322
|
BASE: 'organizations',
|
|
15249
15323
|
BY_ID: (id) => `organizations/${id}`,
|
|
@@ -15275,6 +15349,7 @@ const ROUTES = {
|
|
|
15275
15349
|
SUBSCRIBE: (id) => `organizations/${id}/subscribe`,
|
|
15276
15350
|
SUBSCRIBE_US_BIDDER_ACCOUNT: (id) => `organizations/${id}/subscribe-us-bidder-account`,
|
|
15277
15351
|
PAUSE_CAMPAIGNS: (id) => `organizations/${id}/pause-campaigns`,
|
|
15352
|
+
MARK_ONBOARDING_SECTION_COMPLETED: (id, sectionId) => `organizations/${id}/onboarding/${sectionId}/completed`,
|
|
15278
15353
|
BIDDER_ACCOUNTS: {
|
|
15279
15354
|
BASE: (id) => `organizations/${id}/bidder-accounts`,
|
|
15280
15355
|
BY_ID: (id, bidderId) => `organizations/${id}/bidder-accounts/${bidderId}`,
|
|
@@ -24000,6 +24075,7 @@ exports.FEED_JOB_TO_JOB_DETAILS_FIELD_MAPPING = FEED_JOB_TO_JOB_DETAILS_FIELD_MA
|
|
|
24000
24075
|
exports.FailedToParseNuxtJobException = FailedToParseNuxtJobException;
|
|
24001
24076
|
exports.FeedJobEnrichException = FeedJobEnrichException;
|
|
24002
24077
|
exports.FeedScrapeException = FeedScrapeException;
|
|
24078
|
+
exports.GOAT_COUNTRIES = GOAT_COUNTRIES;
|
|
24003
24079
|
exports.GetMultiloginBrowserException = GetMultiloginBrowserException;
|
|
24004
24080
|
exports.GoToUrlException = GoToUrlException;
|
|
24005
24081
|
exports.HIERARCHICAL_CATEGORIES_TO_CHILDREN = HIERARCHICAL_CATEGORIES_TO_CHILDREN;
|
|
@@ -24258,7 +24334,7 @@ exports.notificationConfigSchema = notificationConfigSchema;
|
|
|
24258
24334
|
exports.nuxtStateJobDetailsSchema = nuxtStateJobDetailsSchema;
|
|
24259
24335
|
exports.nuxtStateJobSchema = nuxtStateJobSchema;
|
|
24260
24336
|
exports.nuxtStateJobsSearchSchema = nuxtStateJobsSearchSchema;
|
|
24261
|
-
exports.
|
|
24337
|
+
exports.onboardingSectionSchema = onboardingSectionSchema;
|
|
24262
24338
|
exports.openPageException = openPageException;
|
|
24263
24339
|
exports.organizationCampaignStatsSchema = organizationCampaignStatsSchema;
|
|
24264
24340
|
exports.organizationMemberRoleEnum = organizationMemberRoleEnum;
|