lancer-shared 1.2.273 → 1.2.275
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 +20 -7
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +20 -7
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +5 -0
- package/dist/schemas/bidder/bid.d.ts +19 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +16 -0
- package/dist/schemas/organization/index.d.ts +8 -2
- package/dist/schemas/organization/onboarding.d.ts +21 -18
- package/dist/schemas/scraper/scrape-payload.d.ts +10 -0
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -7105,12 +7105,13 @@ const organizationMemberSchema = objectType({
|
|
|
7105
7105
|
invitedBy: stringType(),
|
|
7106
7106
|
});
|
|
7107
7107
|
|
|
7108
|
-
const
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
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(),
|
|
7114
7115
|
});
|
|
7115
7116
|
|
|
7116
7117
|
const getOrganizationLeadsStatusEnum = z.enum([
|
|
@@ -7164,6 +7165,8 @@ const organizationSchema = objectType({
|
|
|
7164
7165
|
nextProposalStatusSyncTime: numberType().nullable(),
|
|
7165
7166
|
usBidderAccountSubscription: oneTimePaymentsSchema.optional(),
|
|
7166
7167
|
insufficientConnectsAction: insufficientConnectsActionEnum.nullable(),
|
|
7168
|
+
numberOfConnectsToBuyWhenInsufficient: numberType().min(50).max(1001).nullable(),
|
|
7169
|
+
onboardingCompletions: recordType(stringType(), booleanType()).nullable(),
|
|
7167
7170
|
});
|
|
7168
7171
|
const organizationUpdateSchema = objectType({ planId: stringType() });
|
|
7169
7172
|
const caseStudySchema = objectType({
|
|
@@ -8204,6 +8207,11 @@ const bidPayloadProposalDataSchema = z.object({
|
|
|
8204
8207
|
biddingFixedHourlyRate: z.number().nullable(),
|
|
8205
8208
|
alreadyHiredAction: alreadyHiredActionEnum,
|
|
8206
8209
|
insufficientConnectsAction: insufficientConnectsActionEnum,
|
|
8210
|
+
numberOfConnectsToBuyWhenInsufficient: z
|
|
8211
|
+
.number()
|
|
8212
|
+
.min(50)
|
|
8213
|
+
.max(1001)
|
|
8214
|
+
.nullable(),
|
|
8207
8215
|
isHourlyRate: z.boolean(),
|
|
8208
8216
|
jobMinHourlyRate: z.number().nullable(),
|
|
8209
8217
|
jobMaxHourlyRate: z.number().nullable(),
|
|
@@ -15312,6 +15320,10 @@ const ROUTES = {
|
|
|
15312
15320
|
BASE: 'bidder-accounts',
|
|
15313
15321
|
BY_ID: (id) => `bidder-accounts/${id}`,
|
|
15314
15322
|
},
|
|
15323
|
+
ONBOARDING: {
|
|
15324
|
+
BASE: 'onboarding',
|
|
15325
|
+
SECTIONS: 'onboarding/sections/v1',
|
|
15326
|
+
},
|
|
15315
15327
|
ORGANIZATIONS: {
|
|
15316
15328
|
BASE: 'organizations',
|
|
15317
15329
|
BY_ID: (id) => `organizations/${id}`,
|
|
@@ -15343,6 +15355,7 @@ const ROUTES = {
|
|
|
15343
15355
|
SUBSCRIBE: (id) => `organizations/${id}/subscribe`,
|
|
15344
15356
|
SUBSCRIBE_US_BIDDER_ACCOUNT: (id) => `organizations/${id}/subscribe-us-bidder-account`,
|
|
15345
15357
|
PAUSE_CAMPAIGNS: (id) => `organizations/${id}/pause-campaigns`,
|
|
15358
|
+
MARK_ONBOARDING_SECTION_COMPLETED: (id, sectionId) => `organizations/${id}/onboarding/${sectionId}/completed`,
|
|
15346
15359
|
BIDDER_ACCOUNTS: {
|
|
15347
15360
|
BASE: (id) => `organizations/${id}/bidder-accounts`,
|
|
15348
15361
|
BY_ID: (id, bidderId) => `organizations/${id}/bidder-accounts/${bidderId}`,
|
|
@@ -24327,7 +24340,7 @@ exports.notificationConfigSchema = notificationConfigSchema;
|
|
|
24327
24340
|
exports.nuxtStateJobDetailsSchema = nuxtStateJobDetailsSchema;
|
|
24328
24341
|
exports.nuxtStateJobSchema = nuxtStateJobSchema;
|
|
24329
24342
|
exports.nuxtStateJobsSearchSchema = nuxtStateJobsSearchSchema;
|
|
24330
|
-
exports.
|
|
24343
|
+
exports.onboardingSectionSchema = onboardingSectionSchema;
|
|
24331
24344
|
exports.openPageException = openPageException;
|
|
24332
24345
|
exports.organizationCampaignStatsSchema = organizationCampaignStatsSchema;
|
|
24333
24346
|
exports.organizationMemberRoleEnum = organizationMemberRoleEnum;
|