lancer-shared 1.2.257 → 1.2.258

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.
@@ -55,16 +55,16 @@ export declare const createSampleSchema: z.ZodObject<{
55
55
  }>;
56
56
  export declare const getSamplesRequestSchema: z.ZodObject<{
57
57
  organizationId: z.ZodString;
58
- campaignId: z.ZodString;
58
+ campaignId: z.ZodOptional<z.ZodString>;
59
59
  leadIds: z.ZodArray<z.ZodString, "many">;
60
60
  }, "strip", z.ZodTypeAny, {
61
- campaignId: string;
62
61
  organizationId: string;
63
62
  leadIds: string[];
63
+ campaignId?: string | undefined;
64
64
  }, {
65
- campaignId: string;
66
65
  organizationId: string;
67
66
  leadIds: string[];
67
+ campaignId?: string | undefined;
68
68
  }>;
69
69
  export declare const updateSampleSchema: z.ZodObject<{
70
70
  label: z.ZodEnum<["suitable", "unsuitable"]>;
@@ -3185,13 +3185,16 @@ export declare const getCampaignLeadsRequestQuerySchema: z.ZodObject<{
3185
3185
  cursor: z.ZodOptional<z.ZodString>;
3186
3186
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
3187
3187
  status: z.ZodOptional<z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>>;
3188
+ campaignId: z.ZodOptional<z.ZodString>;
3188
3189
  }, "strip", z.ZodTypeAny, {
3189
3190
  cursor?: string | undefined;
3190
3191
  status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3192
+ campaignId?: string | undefined;
3191
3193
  limit?: number | undefined;
3192
3194
  }, {
3193
3195
  cursor?: string | undefined;
3194
3196
  status?: "all" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
3197
+ campaignId?: string | undefined;
3195
3198
  limit?: number | undefined;
3196
3199
  }>;
3197
3200
  export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
@@ -4128,6 +4131,7 @@ export interface Lead extends z.infer<typeof leadSchema> {
4128
4131
  questionAnswerPairs: QuestionAnswerPair[] | null;
4129
4132
  agentStatus: LeadAgentStatus | null;
4130
4133
  leadStatus: LeadStatus | null;
4134
+ campaignName: string | null;
4131
4135
  }
4132
4136
  export type LeadResponse = z.infer<typeof leadResponseSchema>;
4133
4137
  export type FindLeadsRequest = z.infer<typeof findLeadsRequestSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.257",
3
+ "version": "1.2.258",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",