lancer-shared 1.2.242 → 1.2.243

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.
@@ -1032,14 +1032,14 @@ export type AgentGenerateProposalResponse = z.infer<typeof agentGenerateProposal
1032
1032
  export type AgentPickSpecialisedProfileRequest = z.infer<typeof agentPickSpecialisedProfileRequestSchema>;
1033
1033
  export type AgentPickSpecialisedProfileResponse = z.infer<typeof agentPickSpecialisedProfileResponseSchema>;
1034
1034
  export declare const suitabilityRatingSchema: z.ZodObject<{
1035
- rating: z.ZodNumber;
1035
+ classification: z.ZodEnum<["suitable", "unsuitable", "not sure"]>;
1036
1036
  reason: z.ZodString;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
1038
  reason: string;
1039
- rating: number;
1039
+ classification: "suitable" | "unsuitable" | "not sure";
1040
1040
  }, {
1041
1041
  reason: string;
1042
- rating: number;
1042
+ classification: "suitable" | "unsuitable" | "not sure";
1043
1043
  }>;
1044
1044
  export declare const jobQualityScoreSchema: z.ZodObject<{
1045
1045
  rating: z.ZodNumber;
@@ -1056,14 +1056,14 @@ export { proposalSchema };
1056
1056
  export type Proposal = z.infer<typeof proposalSchema>;
1057
1057
  export declare const agentTaskResponseSchema: z.ZodObject<{
1058
1058
  result: z.ZodUnion<[z.ZodObject<{
1059
- rating: z.ZodNumber;
1059
+ classification: z.ZodEnum<["suitable", "unsuitable", "not sure"]>;
1060
1060
  reason: z.ZodString;
1061
1061
  }, "strip", z.ZodTypeAny, {
1062
1062
  reason: string;
1063
- rating: number;
1063
+ classification: "suitable" | "unsuitable" | "not sure";
1064
1064
  }, {
1065
1065
  reason: string;
1066
- rating: number;
1066
+ classification: "suitable" | "unsuitable" | "not sure";
1067
1067
  }>, z.ZodObject<{
1068
1068
  coverLetter: z.ZodString;
1069
1069
  questionAnswerPairs: z.ZodArray<z.ZodObject<{
@@ -1103,7 +1103,7 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
1103
1103
  coverLetter: string;
1104
1104
  } | {
1105
1105
  reason: string;
1106
- rating: number;
1106
+ classification: "suitable" | "unsuitable" | "not sure";
1107
1107
  };
1108
1108
  model: string;
1109
1109
  promptTokens: number;
@@ -1118,7 +1118,7 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
1118
1118
  coverLetter: string;
1119
1119
  } | {
1120
1120
  reason: string;
1121
- rating: number;
1121
+ classification: "suitable" | "unsuitable" | "not sure";
1122
1122
  };
1123
1123
  model: string;
1124
1124
  promptTokens: number;
@@ -2634,6 +2634,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2634
2634
  wonAmount?: number | undefined;
2635
2635
  }>]>, "many">;
2636
2636
  lastMonthTotal: z.ZodOptional<z.ZodNumber>;
2637
+ lastMonthTotalWithEmptyFilters: z.ZodOptional<z.ZodNumber>;
2637
2638
  error: z.ZodOptional<z.ZodString>;
2638
2639
  }, "strip", z.ZodTypeAny, {
2639
2640
  data: ({
@@ -2886,6 +2887,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2886
2887
  total: number;
2887
2888
  error?: string | undefined;
2888
2889
  lastMonthTotal?: number | undefined;
2890
+ lastMonthTotalWithEmptyFilters?: number | undefined;
2889
2891
  }, {
2890
2892
  data: ({
2891
2893
  id: string | null;
@@ -3137,6 +3139,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3137
3139
  total: number;
3138
3140
  error?: string | undefined;
3139
3141
  lastMonthTotal?: number | undefined;
3142
+ lastMonthTotalWithEmptyFilters?: number | undefined;
3140
3143
  }>;
3141
3144
  export declare const getCampaignLeadsRequestQuerySchema: z.ZodObject<{
3142
3145
  cursor: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.242",
3
+ "version": "1.2.243",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",
@@ -19,7 +19,7 @@
19
19
  "test": "echo \"Error: no test specified\" && exit 1",
20
20
  "prepublishOnly": "npm run build",
21
21
  "build": "tsc",
22
- "dev": "tsc --watch"
22
+ "dev": "rollup -c -w --bundleConfigAsCjs"
23
23
  },
24
24
  "keywords": [],
25
25
  "author": "MVP Masters",