lancer-shared 1.2.246 → 1.2.248

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.
@@ -94,6 +94,7 @@ export declare const ROUTES: {
94
94
  readonly SAMPLE: (id: string) => string;
95
95
  readonly CREATE_SAMPLE: "admin/golden-dataset/create";
96
96
  readonly GET_SAMPLES: "admin/golden-dataset/get-samples";
97
+ readonly UPDATE_SAMPLE: "admin/golden-dataset/update";
97
98
  };
98
99
  readonly AGENT: {
99
100
  readonly BASE: "admin/agent";
@@ -66,7 +66,15 @@ export declare const getSamplesRequestSchema: z.ZodObject<{
66
66
  organizationId: string;
67
67
  leadIds: string[];
68
68
  }>;
69
+ export declare const updateSampleSchema: z.ZodObject<{
70
+ label: z.ZodEnum<["suitable", "unsuitable"]>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ label: "suitable" | "unsuitable";
73
+ }, {
74
+ label: "suitable" | "unsuitable";
75
+ }>;
69
76
  export type Sample = z.infer<typeof sampleSchema>;
70
77
  export type CreateSample = z.infer<typeof createSampleSchema>;
71
78
  export type GetSamplesRequest = z.infer<typeof getSamplesRequestSchema>;
79
+ export type UpdateSample = z.infer<typeof updateSampleSchema>;
72
80
  export type SampleLabel = z.infer<typeof labelEnum>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.246",
3
+ "version": "1.2.248",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",