lancer-shared 1.0.152 → 1.0.153

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.
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>;
3
3
  export declare const campaignSchema: z.ZodObject<{
4
4
  id: z.ZodString;
@@ -232,6 +232,7 @@ export declare const campaignSchema: z.ZodObject<{
232
232
  }>;
233
233
  createdAt: z.ZodNumber;
234
234
  updatedAt: z.ZodNumber;
235
+ confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
235
236
  automatedSuitability: z.ZodNullable<z.ZodBoolean>;
236
237
  automatedBidding: z.ZodNullable<z.ZodBoolean>;
237
238
  boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
@@ -353,6 +354,7 @@ export declare const campaignSchema: z.ZodObject<{
353
354
  } | null;
354
355
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
355
356
  };
357
+ confirmedBillingAt: number | null;
356
358
  automatedSuitability: boolean | null;
357
359
  automatedBidding: boolean | null;
358
360
  boostingEnabled: boolean | null;
@@ -435,6 +437,7 @@ export declare const campaignSchema: z.ZodObject<{
435
437
  } | null;
436
438
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
437
439
  };
440
+ confirmedBillingAt: number | null;
438
441
  automatedSuitability: boolean | null;
439
442
  automatedBidding: boolean | null;
440
443
  webhookUrl: string | null;
@@ -693,6 +696,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
693
696
  }>;
694
697
  createdAt: z.ZodNumber;
695
698
  updatedAt: z.ZodNumber;
699
+ confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
696
700
  automatedSuitability: z.ZodNullable<z.ZodBoolean>;
697
701
  automatedBidding: z.ZodNullable<z.ZodBoolean>;
698
702
  boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
@@ -811,6 +815,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
811
815
  } | null;
812
816
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
813
817
  };
818
+ confirmedBillingAt: number | null;
814
819
  automatedSuitability: boolean | null;
815
820
  automatedBidding: boolean | null;
816
821
  boostingEnabled: boolean | null;
@@ -890,6 +895,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
890
895
  } | null;
891
896
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
892
897
  };
898
+ confirmedBillingAt: number | null;
893
899
  automatedSuitability: boolean | null;
894
900
  automatedBidding: boolean | null;
895
901
  webhookUrl: string | null;
@@ -1148,6 +1154,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1148
1154
  }>;
1149
1155
  createdAt: z.ZodNumber;
1150
1156
  updatedAt: z.ZodNumber;
1157
+ confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
1151
1158
  automatedSuitability: z.ZodNullable<z.ZodBoolean>;
1152
1159
  automatedBidding: z.ZodNullable<z.ZodBoolean>;
1153
1160
  boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
@@ -1267,6 +1274,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1267
1274
  } | null;
1268
1275
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1269
1276
  };
1277
+ confirmedBillingAt: number | null;
1270
1278
  automatedSuitability: boolean | null;
1271
1279
  automatedBidding: boolean | null;
1272
1280
  boostingEnabled: boolean | null;
@@ -1347,6 +1355,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1347
1355
  } | null;
1348
1356
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1349
1357
  };
1358
+ confirmedBillingAt: number | null;
1350
1359
  automatedSuitability: boolean | null;
1351
1360
  automatedBidding: boolean | null;
1352
1361
  webhookUrl: string | null;
@@ -7,10 +7,10 @@ const lead_1 = require("../lead");
7
7
  const campaign_expenses_1 = require("./campaign-expenses");
8
8
  const campaign_integrations_1 = require("./campaign-integrations");
9
9
  exports.campaignStatusSchema = zod_1.z.union([
10
- zod_1.z.literal("active"),
11
- zod_1.z.literal("draft"),
12
- zod_1.z.literal("paused"),
13
- zod_1.z.literal("error"),
10
+ zod_1.z.literal('active'),
11
+ zod_1.z.literal('draft'),
12
+ zod_1.z.literal('paused'),
13
+ zod_1.z.literal('error'),
14
14
  ]);
15
15
  exports.campaignSchema = zod_1.z.object({
16
16
  id: zod_1.z.string(),
@@ -18,6 +18,7 @@ exports.campaignSchema = zod_1.z.object({
18
18
  filters: job_filters_1.jobFiltersSchema,
19
19
  createdAt: (0, zod_1.number)(),
20
20
  updatedAt: (0, zod_1.number)(),
21
+ confirmedBillingAt: (0, zod_1.number)().nullable(),
21
22
  automatedSuitability: zod_1.z.boolean().nullable(),
22
23
  automatedBidding: zod_1.z.boolean().nullable(),
23
24
  boostingEnabled: zod_1.z.boolean().nullable().default(false),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.152",
4
+ "version": "1.0.153",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",