lancer-shared 1.2.320 → 1.2.321

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.
@@ -6672,6 +6672,7 @@ const bidderAccountSchema = z.object({
6672
6672
  roomsRefreshedAt: z.number().nullable(),
6673
6673
  userId: z.string().nullable(),
6674
6674
  connectingToChatStartedAt: z.number().nullable(),
6675
+ shouldRefetchAllRooms: z.boolean().nullable(),
6675
6676
  });
6676
6677
  const connectUpworkAccountSchema = z.object({
6677
6678
  email: z.string().email(),
@@ -8751,6 +8752,7 @@ const syncProposalsStatusRequestPayloadSchema = z.object({
8751
8752
  });
8752
8753
 
8753
8754
  const roomSchema = z.object({
8755
+ id: z.string(),
8754
8756
  roomId: z.string(),
8755
8757
  roomName: z.string(),
8756
8758
  topic: z.string(),
@@ -8797,6 +8799,15 @@ const roomMessageSchema = z
8797
8799
  senderName: z.string().optional(),
8798
8800
  })
8799
8801
  .passthrough();
8802
+ const getRoomsResponseSchema = z.object({
8803
+ data: z.array(roomSchema),
8804
+ pagination: z.object({
8805
+ hasMore: z.boolean(),
8806
+ nextCursor: z.string().nullable(),
8807
+ limit: z.number(),
8808
+ total: z.number(),
8809
+ }),
8810
+ });
8800
8811
  const roomTagSchema = z.object({
8801
8812
  id: z.string(),
8802
8813
  name: z.string(),
@@ -24670,6 +24681,7 @@ exports.getNextStatus = getNextStatus;
24670
24681
  exports.getOrganizationLeadsRequestQuerySchema = getOrganizationLeadsRequestQuerySchema;
24671
24682
  exports.getOrganizationLeadsStatusEnum = getOrganizationLeadsStatusEnum;
24672
24683
  exports.getPreviousStatus = getPreviousStatus;
24684
+ exports.getRoomsResponseSchema = getRoomsResponseSchema;
24673
24685
  exports.getRouteWithoutAdminPrefix = getRouteWithoutAdminPrefix;
24674
24686
  exports.getSamplesRequestSchema = getSamplesRequestSchema;
24675
24687
  exports.getTop10CategoriesByAvgHourlyBudgetResponseSchema = getTop10CategoriesByAvgHourlyBudgetResponseSchema;