lancer-shared 1.2.311 → 1.2.313

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.
@@ -0,0 +1,255 @@
1
+ import { z } from 'zod';
2
+ export declare const roomSchema: z.ZodObject<{
3
+ roomId: z.ZodString;
4
+ roomName: z.ZodString;
5
+ topic: z.ZodString;
6
+ organizationUid: z.ZodString;
7
+ organizationType: z.ZodString;
8
+ recentTimestamp: z.ZodNumber;
9
+ context: z.ZodObject<{
10
+ freelancerId: z.ZodString;
11
+ freelancerOrgId: z.ZodString;
12
+ freelancerName: z.ZodOptional<z.ZodString>;
13
+ clientId: z.ZodOptional<z.ZodString>;
14
+ clientName: z.ZodOptional<z.ZodString>;
15
+ jobTitle: z.ZodOptional<z.ZodString>;
16
+ currentStatus: z.ZodOptional<z.ZodString>;
17
+ associatedAgencyOrgId: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ freelancerId: string;
20
+ freelancerOrgId: string;
21
+ freelancerName?: string | undefined;
22
+ clientId?: string | undefined;
23
+ clientName?: string | undefined;
24
+ jobTitle?: string | undefined;
25
+ currentStatus?: string | undefined;
26
+ associatedAgencyOrgId?: string | undefined;
27
+ }, {
28
+ freelancerId: string;
29
+ freelancerOrgId: string;
30
+ freelancerName?: string | undefined;
31
+ clientId?: string | undefined;
32
+ clientName?: string | undefined;
33
+ jobTitle?: string | undefined;
34
+ currentStatus?: string | undefined;
35
+ associatedAgencyOrgId?: string | undefined;
36
+ }>;
37
+ numUnread: z.ZodNumber;
38
+ latestStory: z.ZodOptional<z.ZodObject<{
39
+ message: z.ZodString;
40
+ created: z.ZodNumber;
41
+ messageId: z.ZodOptional<z.ZodString>;
42
+ senderName: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ message: string;
45
+ created: number;
46
+ messageId?: string | undefined;
47
+ senderName?: string | undefined;
48
+ }, {
49
+ message: string;
50
+ created: number;
51
+ messageId?: string | undefined;
52
+ senderName?: string | undefined;
53
+ }>>;
54
+ lastChecked: z.ZodOptional<z.ZodNumber>;
55
+ hasNewMessages: z.ZodOptional<z.ZodBoolean>;
56
+ updatedAt: z.ZodOptional<z.ZodNumber>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ roomId: string;
59
+ roomName: string;
60
+ topic: string;
61
+ organizationUid: string;
62
+ organizationType: string;
63
+ recentTimestamp: number;
64
+ context: {
65
+ freelancerId: string;
66
+ freelancerOrgId: string;
67
+ freelancerName?: string | undefined;
68
+ clientId?: string | undefined;
69
+ clientName?: string | undefined;
70
+ jobTitle?: string | undefined;
71
+ currentStatus?: string | undefined;
72
+ associatedAgencyOrgId?: string | undefined;
73
+ };
74
+ numUnread: number;
75
+ latestStory?: {
76
+ message: string;
77
+ created: number;
78
+ messageId?: string | undefined;
79
+ senderName?: string | undefined;
80
+ } | undefined;
81
+ lastChecked?: number | undefined;
82
+ hasNewMessages?: boolean | undefined;
83
+ updatedAt?: number | undefined;
84
+ }, {
85
+ roomId: string;
86
+ roomName: string;
87
+ topic: string;
88
+ organizationUid: string;
89
+ organizationType: string;
90
+ recentTimestamp: number;
91
+ context: {
92
+ freelancerId: string;
93
+ freelancerOrgId: string;
94
+ freelancerName?: string | undefined;
95
+ clientId?: string | undefined;
96
+ clientName?: string | undefined;
97
+ jobTitle?: string | undefined;
98
+ currentStatus?: string | undefined;
99
+ associatedAgencyOrgId?: string | undefined;
100
+ };
101
+ numUnread: number;
102
+ latestStory?: {
103
+ message: string;
104
+ created: number;
105
+ messageId?: string | undefined;
106
+ senderName?: string | undefined;
107
+ } | undefined;
108
+ lastChecked?: number | undefined;
109
+ hasNewMessages?: boolean | undefined;
110
+ updatedAt?: number | undefined;
111
+ }>;
112
+ export type Room = z.infer<typeof roomSchema>;
113
+ export declare const roomsMetadataSchema: z.ZodObject<{
114
+ accountId: z.ZodString;
115
+ lastUpdated: z.ZodNumber;
116
+ totalRooms: z.ZodNumber;
117
+ }, "strip", z.ZodTypeAny, {
118
+ accountId: string;
119
+ lastUpdated: number;
120
+ totalRooms: number;
121
+ }, {
122
+ accountId: string;
123
+ lastUpdated: number;
124
+ totalRooms: number;
125
+ }>;
126
+ export type RoomsMetadata = z.infer<typeof roomsMetadataSchema>;
127
+ export declare const roomMessageSchema: z.ZodObject<{
128
+ messageId: z.ZodString;
129
+ userId: z.ZodString;
130
+ message: z.ZodString;
131
+ created: z.ZodNumber;
132
+ userName: z.ZodOptional<z.ZodString>;
133
+ orgId: z.ZodOptional<z.ZodString>;
134
+ senderName: z.ZodOptional<z.ZodString>;
135
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
136
+ messageId: z.ZodString;
137
+ userId: z.ZodString;
138
+ message: z.ZodString;
139
+ created: z.ZodNumber;
140
+ userName: z.ZodOptional<z.ZodString>;
141
+ orgId: z.ZodOptional<z.ZodString>;
142
+ senderName: z.ZodOptional<z.ZodString>;
143
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
144
+ messageId: z.ZodString;
145
+ userId: z.ZodString;
146
+ message: z.ZodString;
147
+ created: z.ZodNumber;
148
+ userName: z.ZodOptional<z.ZodString>;
149
+ orgId: z.ZodOptional<z.ZodString>;
150
+ senderName: z.ZodOptional<z.ZodString>;
151
+ }, z.ZodTypeAny, "passthrough">>;
152
+ export type RoomMessage = z.infer<typeof roomMessageSchema>;
153
+ export declare const roomTagSchema: z.ZodObject<{
154
+ id: z.ZodString;
155
+ name: z.ZodString;
156
+ color: z.ZodOptional<z.ZodString>;
157
+ createdAt: z.ZodNumber;
158
+ updatedAt: z.ZodOptional<z.ZodNumber>;
159
+ }, "strip", z.ZodTypeAny, {
160
+ id: string;
161
+ name: string;
162
+ createdAt: number;
163
+ updatedAt?: number | undefined;
164
+ color?: string | undefined;
165
+ }, {
166
+ id: string;
167
+ name: string;
168
+ createdAt: number;
169
+ updatedAt?: number | undefined;
170
+ color?: string | undefined;
171
+ }>;
172
+ export type RoomTag = z.infer<typeof roomTagSchema>;
173
+ export declare const createRoomTagRequestBodySchema: z.ZodObject<{
174
+ name: z.ZodString;
175
+ color: z.ZodOptional<z.ZodString>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ name: string;
178
+ color?: string | undefined;
179
+ }, {
180
+ name: string;
181
+ color?: string | undefined;
182
+ }>;
183
+ export type CreateRoomTagRequestBody = z.infer<typeof createRoomTagRequestBodySchema>;
184
+ export declare const assignRoomTagsRequestBodySchema: z.ZodObject<{
185
+ tagIds: z.ZodArray<z.ZodString, "many">;
186
+ }, "strip", z.ZodTypeAny, {
187
+ tagIds: string[];
188
+ }, {
189
+ tagIds: string[];
190
+ }>;
191
+ export type AssignRoomTagsRequestBody = z.infer<typeof assignRoomTagsRequestBodySchema>;
192
+ export declare const roomNoteSchema: z.ZodObject<{
193
+ note: z.ZodNullable<z.ZodString>;
194
+ createdAt: z.ZodNumber;
195
+ updatedAt: z.ZodNumber;
196
+ }, "strip", z.ZodTypeAny, {
197
+ updatedAt: number;
198
+ createdAt: number;
199
+ note: string | null;
200
+ }, {
201
+ updatedAt: number;
202
+ createdAt: number;
203
+ note: string | null;
204
+ }>;
205
+ export type RoomNote = z.infer<typeof roomNoteSchema>;
206
+ export declare const updateRoomNotesRequestBodySchema: z.ZodObject<{
207
+ note: z.ZodString;
208
+ }, "strip", z.ZodTypeAny, {
209
+ note: string;
210
+ }, {
211
+ note: string;
212
+ }>;
213
+ export type UpdateRoomNotesRequestBody = z.infer<typeof updateRoomNotesRequestBodySchema>;
214
+ export declare const sendMessageRequestSchema: z.ZodObject<{
215
+ message: z.ZodString;
216
+ file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ message: string;
219
+ file?: File | undefined;
220
+ }, {
221
+ message: string;
222
+ file?: File | undefined;
223
+ }>;
224
+ export type SendMessageRequest = z.infer<typeof sendMessageRequestSchema>;
225
+ export declare const freeSlotsRequestBodySchema: z.ZodObject<{
226
+ userId: z.ZodString;
227
+ durationMinutes: z.ZodNumber;
228
+ }, "strip", z.ZodTypeAny, {
229
+ userId: string;
230
+ durationMinutes: number;
231
+ }, {
232
+ userId: string;
233
+ durationMinutes: number;
234
+ }>;
235
+ export type FreeSlotsRequestBody = z.infer<typeof freeSlotsRequestBodySchema>;
236
+ export declare const bookSlotRequestBodySchema: z.ZodObject<{
237
+ ownerUid: z.ZodString;
238
+ duration: z.ZodNumber;
239
+ platform: z.ZodString;
240
+ startTime: z.ZodNumber;
241
+ endTime: z.ZodNumber;
242
+ }, "strip", z.ZodTypeAny, {
243
+ ownerUid: string;
244
+ duration: number;
245
+ platform: string;
246
+ startTime: number;
247
+ endTime: number;
248
+ }, {
249
+ ownerUid: string;
250
+ duration: number;
251
+ platform: string;
252
+ startTime: number;
253
+ endTime: number;
254
+ }>;
255
+ export type BookSlotRequestBody = z.infer<typeof bookSlotRequestBodySchema>;
@@ -2,6 +2,7 @@ export * from './account';
2
2
  export * from './agent';
3
3
  export * from './bidder';
4
4
  export * from './campaign';
5
+ export * from './chat';
5
6
  export * from './dashboard';
6
7
  export * from './golden-dataset';
7
8
  export * from './infrastructure';
@@ -17,10 +18,10 @@ export * from './saved-search';
17
18
  export * from './scraper';
18
19
  export * from './shared';
19
20
  export * from './system';
20
- export * from './talent';
21
21
  export * from './time-filter';
22
22
  export * from './transaction';
23
23
  export * from './upwork-analytics';
24
+ export * from './upwork-talent';
24
25
  export * from './usage';
25
26
  export * from './usage-event';
26
27
  export * from './user';
@@ -231,7 +231,43 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
231
231
  title: string;
232
232
  imageUrl: string;
233
233
  }>, "many">;
234
+ upworkOrganizations: z.ZodArray<z.ZodObject<{
235
+ label: z.ZodString;
236
+ photo_url: z.ZodString;
237
+ uid: z.ZodString;
238
+ id: z.ZodString;
239
+ link: z.ZodString;
240
+ type: z.ZodEnum<["freelancer", "agency"]>;
241
+ type_title: z.ZodString;
242
+ is_active: z.ZodBoolean;
243
+ monetizedTitle: z.ZodString;
244
+ portrait100: z.ZodOptional<z.ZodString>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ type: "freelancer" | "agency";
247
+ label: string;
248
+ photo_url: string;
249
+ uid: string;
250
+ id: string;
251
+ link: string;
252
+ type_title: string;
253
+ is_active: boolean;
254
+ monetizedTitle: string;
255
+ portrait100?: string | undefined;
256
+ }, {
257
+ type: "freelancer" | "agency";
258
+ label: string;
259
+ photo_url: string;
260
+ uid: string;
261
+ id: string;
262
+ link: string;
263
+ type_title: string;
264
+ is_active: boolean;
265
+ monetizedTitle: string;
266
+ portrait100?: string | undefined;
267
+ }>, "many">;
268
+ userId: z.ZodNullable<z.ZodString>;
234
269
  }, "strip", z.ZodTypeAny, {
270
+ userId: string | null;
235
271
  bidderAccountId: string;
236
272
  accountName: string;
237
273
  accountPhotoUrl: string;
@@ -250,7 +286,20 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
250
286
  title: string;
251
287
  imageUrl: string;
252
288
  }[];
289
+ upworkOrganizations: {
290
+ type: "freelancer" | "agency";
291
+ label: string;
292
+ photo_url: string;
293
+ uid: string;
294
+ id: string;
295
+ link: string;
296
+ type_title: string;
297
+ is_active: boolean;
298
+ monetizedTitle: string;
299
+ portrait100?: string | undefined;
300
+ }[];
253
301
  }, {
302
+ userId: string | null;
254
303
  bidderAccountId: string;
255
304
  accountName: string;
256
305
  accountPhotoUrl: string;
@@ -269,6 +318,18 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
269
318
  title: string;
270
319
  imageUrl: string;
271
320
  }[];
321
+ upworkOrganizations: {
322
+ type: "freelancer" | "agency";
323
+ label: string;
324
+ photo_url: string;
325
+ uid: string;
326
+ id: string;
327
+ link: string;
328
+ type_title: string;
329
+ is_active: boolean;
330
+ monetizedTitle: string;
331
+ portrait100?: string | undefined;
332
+ }[];
272
333
  }>;
273
334
  export declare const verifyCredentialsFailedEventMetadataSchema: z.ZodObject<{
274
335
  bidderAccountId: z.ZodString;
@@ -699,6 +699,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
699
699
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
700
700
  alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
701
701
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
702
+ biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
702
703
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
703
704
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
704
705
  expenses: z.ZodObject<{
@@ -722,18 +723,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
722
723
  contractorName: z.ZodNullable<z.ZodString>;
723
724
  specialisedProfile: z.ZodNullable<z.ZodString>;
724
725
  bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
726
+ selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
725
727
  }, "strip", z.ZodTypeAny, {
726
728
  agencyName: string | null;
727
729
  bidderId: string | null;
728
730
  contractorName: string | null;
729
731
  specialisedProfile: string | null;
730
732
  bidAs: "agency" | "freelancer" | null;
733
+ selectedPortfoliosIds: string[] | null;
731
734
  }, {
732
735
  agencyName: string | null;
733
736
  bidderId: string | null;
734
737
  contractorName: string | null;
735
738
  specialisedProfile: string | null;
736
739
  bidAs: "agency" | "freelancer" | null;
740
+ selectedPortfoliosIds: string[] | null;
737
741
  }>>;
738
742
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
739
743
  coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -886,6 +890,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
886
890
  biddingFixedHourlyRate: number | null;
887
891
  alreadyHiredAction: "skip" | "bid";
888
892
  biddingHourlyRatePercentage: number | null;
893
+ biddingFixedPriceRate: number | null;
889
894
  bidWithWarning: "skip" | "bid";
890
895
  leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
891
896
  expenses: {
@@ -900,6 +905,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
900
905
  contractorName: string | null;
901
906
  specialisedProfile: string | null;
902
907
  bidAs: "agency" | "freelancer" | null;
908
+ selectedPortfoliosIds: string[] | null;
903
909
  } | null;
904
910
  coverLetterTemplateId: string | null;
905
911
  coverLetterTemplatesIds: string[] | null;
@@ -1004,6 +1010,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1004
1010
  biddingFixedHourlyRate: number | null;
1005
1011
  alreadyHiredAction: "skip" | "bid";
1006
1012
  biddingHourlyRatePercentage: number | null;
1013
+ biddingFixedPriceRate: number | null;
1007
1014
  bidWithWarning: "skip" | "bid";
1008
1015
  leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
1009
1016
  expenses: {
@@ -1018,6 +1025,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
1018
1025
  contractorName: string | null;
1019
1026
  specialisedProfile: string | null;
1020
1027
  bidAs: "agency" | "freelancer" | null;
1028
+ selectedPortfoliosIds: string[] | null;
1021
1029
  } | null;
1022
1030
  coverLetterTemplateId: string | null;
1023
1031
  coverLetterTemplatesIds: string[] | null;
@@ -2158,6 +2166,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2158
2166
  googleOauthTokens: z.ZodNullable<z.ZodAny>;
2159
2167
  lastUsed: z.ZodNullable<z.ZodNumber>;
2160
2168
  multiLoginProfileId: z.ZodNullable<z.ZodString>;
2169
+ gologinProfileId: z.ZodNullable<z.ZodString>;
2161
2170
  proxyId: z.ZodNullable<z.ZodString>;
2162
2171
  newProxyId: z.ZodNullable<z.ZodString>;
2163
2172
  profilePhotoUrl: z.ZodNullable<z.ZodString>;
@@ -2197,6 +2206,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2197
2206
  agencyId: string | null;
2198
2207
  }>, "many">>;
2199
2208
  specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
2209
+ portfolios: z.ZodNullable<z.ZodArray<z.ZodObject<{
2210
+ title: z.ZodString;
2211
+ imageUrl: z.ZodString;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ title: string;
2214
+ imageUrl: string;
2215
+ }, {
2216
+ title: string;
2217
+ imageUrl: string;
2218
+ }>, "many">>;
2200
2219
  instanceId: z.ZodNullable<z.ZodString>;
2201
2220
  createdAt: z.ZodNumber;
2202
2221
  updatedAt: z.ZodNumber;
@@ -2204,9 +2223,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2204
2223
  isProtected: z.ZodOptional<z.ZodBoolean>;
2205
2224
  status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
2206
2225
  errorMessage: z.ZodNullable<z.ZodString>;
2226
+ connectedToChat: z.ZodNullable<z.ZodBoolean>;
2227
+ failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
2228
+ failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
2229
+ roomsRefreshedAt: z.ZodNullable<z.ZodNumber>;
2230
+ userId: z.ZodNullable<z.ZodString>;
2207
2231
  }, "strip", z.ZodTypeAny, {
2208
2232
  status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
2209
2233
  region: "USOnly" | "UKOnly" | "Worldwide" | "All";
2234
+ userId: string | null;
2210
2235
  id: string;
2211
2236
  name: string | null;
2212
2237
  createdAt: number;
@@ -2219,6 +2244,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2219
2244
  assignedOrganizations: string[];
2220
2245
  lastUsed: number | null;
2221
2246
  multiLoginProfileId: string | null;
2247
+ gologinProfileId: string | null;
2222
2248
  proxyId: string | null;
2223
2249
  newProxyId: string | null;
2224
2250
  profilePhotoUrl: string | null;
@@ -2233,13 +2259,22 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2233
2259
  agencyId: string | null;
2234
2260
  }[] | null;
2235
2261
  specialisedProfiles: string[] | null;
2262
+ portfolios: {
2263
+ title: string;
2264
+ imageUrl: string;
2265
+ }[] | null;
2236
2266
  instanceId: string | null;
2237
2267
  errorMessage: string | null;
2268
+ connectedToChat: boolean | null;
2269
+ failedToRefreshRooms: boolean | null;
2270
+ failedToRefreshRoomsAttempts: number | null;
2271
+ roomsRefreshedAt: number | null;
2238
2272
  googleOauthTokens?: any;
2239
2273
  isProtected?: boolean | undefined;
2240
2274
  }, {
2241
2275
  status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
2242
2276
  region: "USOnly" | "UKOnly" | "Worldwide" | "All";
2277
+ userId: string | null;
2243
2278
  id: string;
2244
2279
  name: string | null;
2245
2280
  createdAt: number;
@@ -2252,6 +2287,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2252
2287
  assignedOrganizations: string[];
2253
2288
  lastUsed: number | null;
2254
2289
  multiLoginProfileId: string | null;
2290
+ gologinProfileId: string | null;
2255
2291
  proxyId: string | null;
2256
2292
  newProxyId: string | null;
2257
2293
  profilePhotoUrl: string | null;
@@ -2266,8 +2302,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2266
2302
  agencyId: string | null;
2267
2303
  }[] | null;
2268
2304
  specialisedProfiles: string[] | null;
2305
+ portfolios: {
2306
+ title: string;
2307
+ imageUrl: string;
2308
+ }[] | null;
2269
2309
  instanceId: string | null;
2270
2310
  errorMessage: string | null;
2311
+ connectedToChat: boolean | null;
2312
+ failedToRefreshRooms: boolean | null;
2313
+ failedToRefreshRoomsAttempts: number | null;
2314
+ roomsRefreshedAt: number | null;
2271
2315
  googleOauthTokens?: any;
2272
2316
  isProtected?: boolean | undefined;
2273
2317
  }>;
@@ -2354,6 +2398,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2354
2398
  biddingFixedHourlyRate: number | null;
2355
2399
  alreadyHiredAction: "skip" | "bid";
2356
2400
  biddingHourlyRatePercentage: number | null;
2401
+ biddingFixedPriceRate: number | null;
2357
2402
  bidWithWarning: "skip" | "bid";
2358
2403
  leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
2359
2404
  expenses: {
@@ -2368,6 +2413,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2368
2413
  contractorName: string | null;
2369
2414
  specialisedProfile: string | null;
2370
2415
  bidAs: "agency" | "freelancer" | null;
2416
+ selectedPortfoliosIds: string[] | null;
2371
2417
  } | null;
2372
2418
  coverLetterTemplateId: string | null;
2373
2419
  coverLetterTemplatesIds: string[] | null;
@@ -2633,6 +2679,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2633
2679
  bidder: {
2634
2680
  status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
2635
2681
  region: "USOnly" | "UKOnly" | "Worldwide" | "All";
2682
+ userId: string | null;
2636
2683
  id: string;
2637
2684
  name: string | null;
2638
2685
  createdAt: number;
@@ -2645,6 +2692,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2645
2692
  assignedOrganizations: string[];
2646
2693
  lastUsed: number | null;
2647
2694
  multiLoginProfileId: string | null;
2695
+ gologinProfileId: string | null;
2648
2696
  proxyId: string | null;
2649
2697
  newProxyId: string | null;
2650
2698
  profilePhotoUrl: string | null;
@@ -2659,8 +2707,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2659
2707
  agencyId: string | null;
2660
2708
  }[] | null;
2661
2709
  specialisedProfiles: string[] | null;
2710
+ portfolios: {
2711
+ title: string;
2712
+ imageUrl: string;
2713
+ }[] | null;
2662
2714
  instanceId: string | null;
2663
2715
  errorMessage: string | null;
2716
+ connectedToChat: boolean | null;
2717
+ failedToRefreshRooms: boolean | null;
2718
+ failedToRefreshRoomsAttempts: number | null;
2719
+ roomsRefreshedAt: number | null;
2664
2720
  googleOauthTokens?: any;
2665
2721
  isProtected?: boolean | undefined;
2666
2722
  };
@@ -2742,6 +2798,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2742
2798
  biddingFixedHourlyRate: number | null;
2743
2799
  alreadyHiredAction: "skip" | "bid";
2744
2800
  biddingHourlyRatePercentage: number | null;
2801
+ biddingFixedPriceRate: number | null;
2745
2802
  bidWithWarning: "skip" | "bid";
2746
2803
  leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
2747
2804
  expenses: {
@@ -2756,6 +2813,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2756
2813
  contractorName: string | null;
2757
2814
  specialisedProfile: string | null;
2758
2815
  bidAs: "agency" | "freelancer" | null;
2816
+ selectedPortfoliosIds: string[] | null;
2759
2817
  } | null;
2760
2818
  coverLetterTemplateId: string | null;
2761
2819
  coverLetterTemplatesIds: string[] | null;
@@ -3026,6 +3084,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
3026
3084
  bidder: {
3027
3085
  status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
3028
3086
  region: "USOnly" | "UKOnly" | "Worldwide" | "All";
3087
+ userId: string | null;
3029
3088
  id: string;
3030
3089
  name: string | null;
3031
3090
  createdAt: number;
@@ -3038,6 +3097,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
3038
3097
  assignedOrganizations: string[];
3039
3098
  lastUsed: number | null;
3040
3099
  multiLoginProfileId: string | null;
3100
+ gologinProfileId: string | null;
3041
3101
  proxyId: string | null;
3042
3102
  newProxyId: string | null;
3043
3103
  profilePhotoUrl: string | null;
@@ -3052,8 +3112,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
3052
3112
  agencyId: string | null;
3053
3113
  }[] | null;
3054
3114
  specialisedProfiles: string[] | null;
3115
+ portfolios: {
3116
+ title: string;
3117
+ imageUrl: string;
3118
+ }[] | null;
3055
3119
  instanceId: string | null;
3056
3120
  errorMessage: string | null;
3121
+ connectedToChat: boolean | null;
3122
+ failedToRefreshRooms: boolean | null;
3123
+ failedToRefreshRoomsAttempts: number | null;
3124
+ roomsRefreshedAt: number | null;
3057
3125
  googleOauthTokens?: any;
3058
3126
  isProtected?: boolean | undefined;
3059
3127
  };