lancer-shared 1.2.60 → 1.2.61

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.
@@ -13259,10 +13259,11 @@ const sendAlertPayloadSchema = z.object({
13259
13259
  z.literal("suitability"),
13260
13260
  z.literal("proposal"),
13261
13261
  z.literal("bidding"),
13262
+ z.literal("scraper"),
13262
13263
  ]),
13263
- organizationId: z.string(),
13264
- campaignId: z.string(),
13265
- leadId: z.string(),
13264
+ organizationId: z.string().nullable(),
13265
+ campaignId: z.string().nullable(),
13266
+ leadId: z.string().nullable(),
13266
13267
  errorMessage: z.string(),
13267
13268
  });
13268
13269
 
@@ -1,21 +1,21 @@
1
1
  import { z } from "zod";
2
2
  export declare const sendAlertPayloadSchema: z.ZodObject<{
3
- type: z.ZodUnion<[z.ZodLiteral<"suitability">, z.ZodLiteral<"proposal">, z.ZodLiteral<"bidding">]>;
4
- organizationId: z.ZodString;
5
- campaignId: z.ZodString;
6
- leadId: z.ZodString;
3
+ type: z.ZodUnion<[z.ZodLiteral<"suitability">, z.ZodLiteral<"proposal">, z.ZodLiteral<"bidding">, z.ZodLiteral<"scraper">]>;
4
+ organizationId: z.ZodNullable<z.ZodString>;
5
+ campaignId: z.ZodNullable<z.ZodString>;
6
+ leadId: z.ZodNullable<z.ZodString>;
7
7
  errorMessage: z.ZodString;
8
8
  }, "strip", z.ZodTypeAny, {
9
- type: "suitability" | "proposal" | "bidding";
10
- organizationId: string;
11
- campaignId: string;
12
- leadId: string;
9
+ type: "suitability" | "proposal" | "bidding" | "scraper";
10
+ organizationId: string | null;
11
+ campaignId: string | null;
12
+ leadId: string | null;
13
13
  errorMessage: string;
14
14
  }, {
15
- type: "suitability" | "proposal" | "bidding";
16
- organizationId: string;
17
- campaignId: string;
18
- leadId: string;
15
+ type: "suitability" | "proposal" | "bidding" | "scraper";
16
+ organizationId: string | null;
17
+ campaignId: string | null;
18
+ leadId: string | null;
19
19
  errorMessage: string;
20
20
  }>;
21
21
  export type SendAlertPayload = z.infer<typeof sendAlertPayloadSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.60",
3
+ "version": "1.2.61",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",