lancer-shared 1.2.319 → 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,12 +8752,14 @@ 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(),
8757
8759
  organizationUid: z.string(),
8758
8760
  organizationType: z.string(),
8759
8761
  recentTimestamp: z.number(),
8762
+ organizationName: z.string(),
8760
8763
  context: z.object({
8761
8764
  freelancerId: z.string(),
8762
8765
  freelancerOrgId: z.string(),
@@ -8796,6 +8799,15 @@ const roomMessageSchema = z
8796
8799
  senderName: z.string().optional(),
8797
8800
  })
8798
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
+ });
8799
8811
  const roomTagSchema = z.object({
8800
8812
  id: z.string(),
8801
8813
  name: z.string(),
@@ -24669,6 +24681,7 @@ exports.getNextStatus = getNextStatus;
24669
24681
  exports.getOrganizationLeadsRequestQuerySchema = getOrganizationLeadsRequestQuerySchema;
24670
24682
  exports.getOrganizationLeadsStatusEnum = getOrganizationLeadsStatusEnum;
24671
24683
  exports.getPreviousStatus = getPreviousStatus;
24684
+ exports.getRoomsResponseSchema = getRoomsResponseSchema;
24672
24685
  exports.getRouteWithoutAdminPrefix = getRouteWithoutAdminPrefix;
24673
24686
  exports.getSamplesRequestSchema = getSamplesRequestSchema;
24674
24687
  exports.getTop10CategoriesByAvgHourlyBudgetResponseSchema = getTop10CategoriesByAvgHourlyBudgetResponseSchema;