lancer-shared 1.2.328 → 1.2.330

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.
@@ -5,15 +5,15 @@ export declare const ROOM_CRM_STATUS_ORDER: readonly RoomCrmStatus[];
5
5
  export declare const ROOM_CRM_STATUS_LABELS: Record<RoomCrmStatus, string>;
6
6
  export declare const DEFAULT_ROOM_CRM_STATUS: RoomCrmStatus;
7
7
  export declare const ROOM_CRM_STATUS_IDS: {
8
- readonly replied: 1;
8
+ readonly new: 1;
9
9
  readonly follow_up: 2;
10
- readonly interested: 3;
11
- readonly closed: 4;
12
- readonly not_interested: 5;
10
+ readonly qualified: 3;
11
+ readonly won: 4;
12
+ readonly archived: 5;
13
13
  };
14
14
  export type RoomCrmStatusId = (typeof ROOM_CRM_STATUS_IDS)[RoomCrmStatus];
15
15
  export declare const ROOM_CRM_STATUS_BY_ID: Record<RoomCrmStatusId, RoomCrmStatus>;
16
16
  export declare const ROOM_CRM_KANBAN_STATUS_ORDER: readonly RoomCrmStatus[];
17
- export declare const isRoomCrmStatus: (status: string) => status is "closed" | "replied" | "interested" | "follow_up" | "not_interested";
17
+ export declare const isRoomCrmStatus: (status: string) => status is "new" | "qualified" | "won" | "archived" | "follow_up";
18
18
  export declare const normalizeRoomCrmStatus: (status?: string | null) => RoomCrmStatus;
19
19
  export declare const normalizeRoomCrmStatuses: (statuses?: string[]) => RoomCrmStatus[];
@@ -6,6 +6,7 @@ export declare const SearchFieldsSchema: z.ZodObject<{
6
6
  exactPhrase: z.ZodDefault<z.ZodString>;
7
7
  titleSearch: z.ZodDefault<z.ZodString>;
8
8
  titleAny: z.ZodDefault<z.ZodString>;
9
+ titleNoneAny: z.ZodDefault<z.ZodString>;
9
10
  skillsSearch: z.ZodDefault<z.ZodString>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  allWords: string;
@@ -14,6 +15,7 @@ export declare const SearchFieldsSchema: z.ZodObject<{
14
15
  exactPhrase: string;
15
16
  titleSearch: string;
16
17
  titleAny: string;
18
+ titleNoneAny: string;
17
19
  skillsSearch: string;
18
20
  }, {
19
21
  allWords?: string | undefined;
@@ -22,6 +24,7 @@ export declare const SearchFieldsSchema: z.ZodObject<{
22
24
  exactPhrase?: string | undefined;
23
25
  titleSearch?: string | undefined;
24
26
  titleAny?: string | undefined;
27
+ titleNoneAny?: string | undefined;
25
28
  skillsSearch?: string | undefined;
26
29
  }>;
27
30
  export type SearchFields = z.infer<typeof SearchFieldsSchema>;
@@ -13,7 +13,7 @@ export declare const roomNoteSchema: z.ZodObject<{
13
13
  note: string | null;
14
14
  }>;
15
15
  export type RoomNote = z.infer<typeof roomNoteSchema>;
16
- export declare const roomCrmStatusEnum: z.ZodEnum<["replied", "interested", "follow_up", "not_interested", "closed"]>;
16
+ export declare const roomCrmStatusEnum: z.ZodEnum<["new", "follow_up", "qualified", "won", "archived"]>;
17
17
  export type RoomCrmStatus = z.infer<typeof roomCrmStatusEnum>;
18
18
  export declare const roomJobClientHistorySchema: z.ZodObject<{
19
19
  jobUrl: z.ZodNullable<z.ZodString>;
@@ -196,7 +196,7 @@ export declare const roomSchema: z.ZodObject<{
196
196
  updatedAt: number;
197
197
  note: string | null;
198
198
  }>>;
199
- crmStatus: z.ZodOptional<z.ZodEnum<["replied", "interested", "follow_up", "not_interested", "closed"]>>;
199
+ crmStatus: z.ZodOptional<z.ZodEnum<["new", "follow_up", "qualified", "won", "archived"]>>;
200
200
  crmStatusUpdatedAt: z.ZodOptional<z.ZodNumber>;
201
201
  jobClientHistory: z.ZodOptional<z.ZodObject<{
202
202
  jobUrl: z.ZodNullable<z.ZodString>;
@@ -342,7 +342,7 @@ export declare const roomSchema: z.ZodObject<{
342
342
  updatedAt: number;
343
343
  note: string | null;
344
344
  } | undefined;
345
- crmStatus?: "closed" | "replied" | "interested" | "follow_up" | "not_interested" | undefined;
345
+ crmStatus?: "new" | "qualified" | "won" | "archived" | "follow_up" | undefined;
346
346
  crmStatusUpdatedAt?: number | undefined;
347
347
  jobClientHistory?: {
348
348
  title: string | null;
@@ -404,7 +404,7 @@ export declare const roomSchema: z.ZodObject<{
404
404
  updatedAt: number;
405
405
  note: string | null;
406
406
  } | undefined;
407
- crmStatus?: "closed" | "replied" | "interested" | "follow_up" | "not_interested" | undefined;
407
+ crmStatus?: "new" | "qualified" | "won" | "archived" | "follow_up" | undefined;
408
408
  crmStatusUpdatedAt?: number | undefined;
409
409
  jobClientHistory?: {
410
410
  title: string | null;
@@ -551,7 +551,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
551
551
  updatedAt: number;
552
552
  note: string | null;
553
553
  }>>;
554
- crmStatus: z.ZodOptional<z.ZodEnum<["replied", "interested", "follow_up", "not_interested", "closed"]>>;
554
+ crmStatus: z.ZodOptional<z.ZodEnum<["new", "follow_up", "qualified", "won", "archived"]>>;
555
555
  crmStatusUpdatedAt: z.ZodOptional<z.ZodNumber>;
556
556
  jobClientHistory: z.ZodOptional<z.ZodObject<{
557
557
  jobUrl: z.ZodNullable<z.ZodString>;
@@ -697,7 +697,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
697
697
  updatedAt: number;
698
698
  note: string | null;
699
699
  } | undefined;
700
- crmStatus?: "closed" | "replied" | "interested" | "follow_up" | "not_interested" | undefined;
700
+ crmStatus?: "new" | "qualified" | "won" | "archived" | "follow_up" | undefined;
701
701
  crmStatusUpdatedAt?: number | undefined;
702
702
  jobClientHistory?: {
703
703
  title: string | null;
@@ -759,7 +759,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
759
759
  updatedAt: number;
760
760
  note: string | null;
761
761
  } | undefined;
762
- crmStatus?: "closed" | "replied" | "interested" | "follow_up" | "not_interested" | undefined;
762
+ crmStatus?: "new" | "qualified" | "won" | "archived" | "follow_up" | undefined;
763
763
  crmStatusUpdatedAt?: number | undefined;
764
764
  jobClientHistory?: {
765
765
  title: string | null;
@@ -839,7 +839,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
839
839
  updatedAt: number;
840
840
  note: string | null;
841
841
  } | undefined;
842
- crmStatus?: "closed" | "replied" | "interested" | "follow_up" | "not_interested" | undefined;
842
+ crmStatus?: "new" | "qualified" | "won" | "archived" | "follow_up" | undefined;
843
843
  crmStatusUpdatedAt?: number | undefined;
844
844
  jobClientHistory?: {
845
845
  title: string | null;
@@ -909,7 +909,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
909
909
  updatedAt: number;
910
910
  note: string | null;
911
911
  } | undefined;
912
- crmStatus?: "closed" | "replied" | "interested" | "follow_up" | "not_interested" | undefined;
912
+ crmStatus?: "new" | "qualified" | "won" | "archived" | "follow_up" | undefined;
913
913
  crmStatusUpdatedAt?: number | undefined;
914
914
  jobClientHistory?: {
915
915
  title: string | null;
@@ -992,11 +992,11 @@ export declare const updateRoomNotesRequestBodySchema: z.ZodObject<{
992
992
  }>;
993
993
  export type UpdateRoomNotesRequestBody = z.infer<typeof updateRoomNotesRequestBodySchema>;
994
994
  export declare const updateRoomCrmStatusRequestBodySchema: z.ZodObject<{
995
- status: z.ZodEnum<["replied", "interested", "follow_up", "not_interested", "closed"]>;
995
+ status: z.ZodEnum<["new", "follow_up", "qualified", "won", "archived"]>;
996
996
  }, "strip", z.ZodTypeAny, {
997
- status: "closed" | "replied" | "interested" | "follow_up" | "not_interested";
997
+ status: "new" | "qualified" | "won" | "archived" | "follow_up";
998
998
  }, {
999
- status: "closed" | "replied" | "interested" | "follow_up" | "not_interested";
999
+ status: "new" | "qualified" | "won" | "archived" | "follow_up";
1000
1000
  }>;
1001
1001
  export type UpdateRoomCrmStatusRequestBody = z.infer<typeof updateRoomCrmStatusRequestBodySchema>;
1002
1002
  export declare const sendMessageRequestSchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.328",
3
+ "version": "1.2.330",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",