lancer-shared 1.2.217 → 1.2.219
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
CHANGED
|
@@ -11168,7 +11168,7 @@ const jobFiltersSchema = z.object({
|
|
|
11168
11168
|
experienceLevel: z.array(experienceLevelEnum).nullable(),
|
|
11169
11169
|
questions: z
|
|
11170
11170
|
.object({
|
|
11171
|
-
hasQuestions:
|
|
11171
|
+
hasQuestions: z.array(hasQuestionsEnum),
|
|
11172
11172
|
})
|
|
11173
11173
|
.nullable(),
|
|
11174
11174
|
engagementType: z.array(engagementTypeEnum).nullable(),
|
|
@@ -13122,8 +13122,8 @@ const campaignSchema = z.object({
|
|
|
13122
13122
|
id: z.string(),
|
|
13123
13123
|
name: z.string(),
|
|
13124
13124
|
filters: jobFiltersSchema,
|
|
13125
|
-
createdAt:
|
|
13126
|
-
updatedAt:
|
|
13125
|
+
createdAt: z.number(),
|
|
13126
|
+
updatedAt: z.number(),
|
|
13127
13127
|
confirmedBillingAt: z.number().nullable(),
|
|
13128
13128
|
// automatedSuitability: z.boolean().nullable(),
|
|
13129
13129
|
boostingEnabled: z.boolean().nullable().default(false),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
import { JobFilters } from '../job';
|
|
3
3
|
export declare const bidConfigSchema: z.ZodObject<{
|
|
4
4
|
agencyName: z.ZodNullable<z.ZodString>;
|
|
@@ -1887,7 +1887,7 @@ export interface Campaign extends z.infer<typeof campaignSchema> {
|
|
|
1887
1887
|
export type CampaignStatus = z.infer<typeof campaignStatusSchema>;
|
|
1888
1888
|
export type CreateCampaign = z.infer<typeof createCampaignSchema>;
|
|
1889
1889
|
export type UpdateCampaign = z.infer<typeof updateCampaignSchema>;
|
|
1890
|
-
export interface BidConfig extends infer<typeof bidConfigSchema> {
|
|
1890
|
+
export interface BidConfig extends z.infer<typeof bidConfigSchema> {
|
|
1891
1891
|
}
|
|
1892
1892
|
export type WeekDays = z.infer<typeof weekDaysEnum>;
|
|
1893
1893
|
export type TimeBlock = z.infer<typeof timeBlockSchema>;
|