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.
- package/dist/bundle.cjs.js +269 -136
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +252 -135
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +54 -0
- package/dist/schemas/account/bidder-account.d.ts +70 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +32 -0
- package/dist/schemas/chat/index.d.ts +255 -0
- package/dist/schemas/index.d.ts +2 -1
- package/dist/schemas/logger/log-event.d.ts +61 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +68 -0
- package/dist/schemas/upwork-talent/index.d.ts +562 -0
- package/package.json +1 -1
|
@@ -166,6 +166,24 @@ export declare const ROUTES: {
|
|
|
166
166
|
readonly CONNECT_UPWORK_ACCOUNT: (id: string) => string;
|
|
167
167
|
readonly RETRY_CONNECT_UPWORK_ACCOUNT: (id: string, bidderId: string) => string;
|
|
168
168
|
readonly AVAILABLE_REGIONS: (id: string) => string;
|
|
169
|
+
readonly CHAT: {
|
|
170
|
+
readonly ROOMS_TAGS: (organizationId: string) => string;
|
|
171
|
+
readonly ROOM_TAG: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
172
|
+
readonly ROOM_NOTES: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
173
|
+
readonly CONNECT_ACCOUNT: (organizationId: string, bidderAccountId: string) => string;
|
|
174
|
+
readonly ROOMS: (id: string, bidderAccountId: string) => string;
|
|
175
|
+
readonly ROOM: (id: string, bidderAccountId: string, roomId: string) => string;
|
|
176
|
+
readonly SEND_MESSAGE: (id: string, bidderAccountId: string, roomId: string) => string;
|
|
177
|
+
readonly REFRESH_ROOMS: (organizationId: string, bidderAccountId: string) => string;
|
|
178
|
+
readonly CREATE_ZOOM_MEETING: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
179
|
+
readonly MARK_ROOM_AS_READ: (id: string, bidderAccountId: string, roomId: string) => string;
|
|
180
|
+
readonly SCHEDULE_MEETING: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
181
|
+
readonly ADD_TO_CALENDAR: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
182
|
+
readonly JOIN_ZOOM_MEETING: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
183
|
+
readonly GET_FREE_SLOTS: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
184
|
+
readonly BOOK_SLOT: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
185
|
+
readonly ATTACHMENT_REDIRECT: (organizationId: string, bidderAccountId: string, roomId: string) => string;
|
|
186
|
+
};
|
|
169
187
|
};
|
|
170
188
|
readonly LEADS_BY_JOB_ID: (organizationId: string, jobId: string) => string;
|
|
171
189
|
readonly UPDATE_CAMPAIGN_PRIORITY: (organizationId: string) => string;
|
|
@@ -261,6 +279,21 @@ export declare const ROUTES: {
|
|
|
261
279
|
readonly GENERATE_PROPOSAL: "agent/generate-proposal";
|
|
262
280
|
readonly PICK_SPECIALISED_PROFILE: "agent/pick-specialised-profile";
|
|
263
281
|
readonly BID: "agent/bid";
|
|
282
|
+
readonly CHAT: {
|
|
283
|
+
readonly BASE: "agent/chat";
|
|
284
|
+
readonly ROOMS: (bidderAccountId: string) => string;
|
|
285
|
+
readonly ROOM: (bidderAccountId: string, roomId: string) => string;
|
|
286
|
+
readonly SEND_MESSAGE: (bidderAccountId: string, roomId: string) => string;
|
|
287
|
+
readonly MARK_AS_READ: (bidderAccountId: string, roomId: string) => string;
|
|
288
|
+
readonly REFRESH_ROOMS: (bidderAccountId: string) => string;
|
|
289
|
+
readonly CREATE_ZOOM_MEETING: (bidderAccountId: string, roomId: string) => string;
|
|
290
|
+
readonly SCHEDULE_MEETING: (bidderAccountId: string, roomId: string) => string;
|
|
291
|
+
readonly ADD_TO_CALENDAR: (bidderAccountId: string, roomId: string) => string;
|
|
292
|
+
readonly JOIN_ZOOM_MEETING: (bidderAccountId: string, roomId: string) => string;
|
|
293
|
+
readonly GET_FREE_SLOTS: (bidderAccountId: string, roomId: string) => string;
|
|
294
|
+
readonly BOOK_SLOT: (bidderAccountId: string, roomId: string) => string;
|
|
295
|
+
readonly ATTACHMENT_REDIRECT: (bidderAccountId: string, roomId: string) => string;
|
|
296
|
+
};
|
|
264
297
|
};
|
|
265
298
|
readonly PLANS: {
|
|
266
299
|
readonly BASE: "plans";
|
|
@@ -303,6 +336,27 @@ export declare const ROUTES: {
|
|
|
303
336
|
readonly TOP_10_CATEGORIES_BY_AVG_PAID_PER_PROJECT: "upwork-analytics/top-10-categories-by-avg-paid-per-project";
|
|
304
337
|
readonly TOP_20_CATEGORIES_BY_AVG_HOURLY_RATE_PAID: "upwork-analytics/top-20-categories-by-avg-hourly-rate-paid";
|
|
305
338
|
};
|
|
339
|
+
readonly UPWORK_TALENT: {
|
|
340
|
+
readonly BASE: "upwork-talent";
|
|
341
|
+
readonly SEARCH: "upwork-talent/search";
|
|
342
|
+
readonly BY_ID: (id: string) => string;
|
|
343
|
+
readonly COUNTRIES: "upwork-talent/countries";
|
|
344
|
+
readonly SKILLS: "upwork-talent/skills";
|
|
345
|
+
};
|
|
346
|
+
readonly CHAT_ROOMS: {
|
|
347
|
+
readonly BASE: "chat-rooms";
|
|
348
|
+
readonly BY_ACCOUNT_ID: (accountId: string) => string;
|
|
349
|
+
readonly BY_ID: (accountId: string, roomId: string) => string;
|
|
350
|
+
readonly METADATA: (accountId: string) => string;
|
|
351
|
+
readonly MESSAGES: {
|
|
352
|
+
readonly BY_ROOM: (accountId: string, roomId: string) => string;
|
|
353
|
+
readonly BY_ID: (accountId: string, roomId: string, messageId: string) => string;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
readonly AUTH_CACHE: {
|
|
357
|
+
readonly BASE: "chat-auth-cache";
|
|
358
|
+
readonly BY_ID: (id: string) => string;
|
|
359
|
+
};
|
|
306
360
|
readonly BIDDER_INSTANCES: {
|
|
307
361
|
readonly BASE: "bidder-instances";
|
|
308
362
|
readonly BY_ID: (id: string) => string;
|
|
@@ -124,6 +124,11 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
124
124
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
125
125
|
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
126
126
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
127
|
+
connectedToChat: z.ZodNullable<z.ZodBoolean>;
|
|
128
|
+
failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
|
|
129
|
+
failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
|
|
130
|
+
roomsRefreshedAt: z.ZodNullable<z.ZodNumber>;
|
|
131
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
127
132
|
}, "strip", z.ZodTypeAny, {
|
|
128
133
|
name: string | null;
|
|
129
134
|
status: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting";
|
|
@@ -160,6 +165,11 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
160
165
|
updatedAt: number;
|
|
161
166
|
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
162
167
|
errorMessage: string | null;
|
|
168
|
+
connectedToChat: boolean | null;
|
|
169
|
+
failedToRefreshRooms: boolean | null;
|
|
170
|
+
failedToRefreshRoomsAttempts: number | null;
|
|
171
|
+
roomsRefreshedAt: number | null;
|
|
172
|
+
userId: string | null;
|
|
163
173
|
googleOauthTokens?: any;
|
|
164
174
|
isProtected?: boolean | undefined;
|
|
165
175
|
}, {
|
|
@@ -198,6 +208,11 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
198
208
|
updatedAt: number;
|
|
199
209
|
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
200
210
|
errorMessage: string | null;
|
|
211
|
+
connectedToChat: boolean | null;
|
|
212
|
+
failedToRefreshRooms: boolean | null;
|
|
213
|
+
failedToRefreshRoomsAttempts: number | null;
|
|
214
|
+
roomsRefreshedAt: number | null;
|
|
215
|
+
userId: string | null;
|
|
201
216
|
googleOauthTokens?: any;
|
|
202
217
|
isProtected?: boolean | undefined;
|
|
203
218
|
}>;
|
|
@@ -288,6 +303,11 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
288
303
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
289
304
|
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
290
305
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
306
|
+
connectedToChat: z.ZodNullable<z.ZodBoolean>;
|
|
307
|
+
failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
|
|
308
|
+
failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
|
|
309
|
+
roomsRefreshedAt: z.ZodNullable<z.ZodNumber>;
|
|
310
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
291
311
|
}, "name" | "provider" | "email" | "password" | "securityQuestionAnswer" | "assignedOrganizations" | "multiLoginProfileId" | "proxyId" | "profilePhotoUrl" | "agencies" | "region">, {
|
|
292
312
|
proxyCountry: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BD", "BY", "BE", "BA", "BR", "BG", "CM", "CF", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DM", "DO", "EC", "EG", "SV", "EE", "ET", "FI", "FR", "GE", "DE", "GH", "GR", "GL", "GD", "GT", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KR", "LV", "LB", "LT", "LU", "MK", "MW", "MY", "MT", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "NL", "NZ", "NI", "NG", "NO", "PK", "PW", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "SM", "SA", "SN", "RS", "SG", "SK", "SI", "SO", "ZA", "ES", "LK", "SR", "SE", "CH", "TH", "TR", "UG", "UA", "AE", "UY", "UZ", "VE", "VN", "YE", "ZM", "ZW"]>>;
|
|
293
313
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -402,6 +422,11 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
402
422
|
region: z.ZodOptional<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>>;
|
|
403
423
|
isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
404
424
|
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
425
|
+
connectedToChat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
426
|
+
failedToRefreshRooms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
427
|
+
failedToRefreshRoomsAttempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
428
|
+
roomsRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
429
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
430
|
}, "strip", z.ZodTypeAny, {
|
|
406
431
|
name?: string | null | undefined;
|
|
407
432
|
status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
|
|
@@ -439,6 +464,11 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
439
464
|
region?: "Worldwide" | "USOnly" | "UKOnly" | "All" | undefined;
|
|
440
465
|
isProtected?: boolean | undefined;
|
|
441
466
|
errorMessage?: string | null | undefined;
|
|
467
|
+
connectedToChat?: boolean | null | undefined;
|
|
468
|
+
failedToRefreshRooms?: boolean | null | undefined;
|
|
469
|
+
failedToRefreshRoomsAttempts?: number | null | undefined;
|
|
470
|
+
roomsRefreshedAt?: number | null | undefined;
|
|
471
|
+
userId?: string | null | undefined;
|
|
442
472
|
}, {
|
|
443
473
|
name?: string | null | undefined;
|
|
444
474
|
status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
|
|
@@ -476,6 +506,11 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
476
506
|
region?: "Worldwide" | "USOnly" | "UKOnly" | "All" | undefined;
|
|
477
507
|
isProtected?: boolean | undefined;
|
|
478
508
|
errorMessage?: string | null | undefined;
|
|
509
|
+
connectedToChat?: boolean | null | undefined;
|
|
510
|
+
failedToRefreshRooms?: boolean | null | undefined;
|
|
511
|
+
failedToRefreshRoomsAttempts?: number | null | undefined;
|
|
512
|
+
roomsRefreshedAt?: number | null | undefined;
|
|
513
|
+
userId?: string | null | undefined;
|
|
479
514
|
}>;
|
|
480
515
|
export declare const verifyBidderAccountCredentialsSchema: z.ZodObject<{
|
|
481
516
|
organizationId: z.ZodString;
|
|
@@ -639,3 +674,38 @@ export type AcceptUpworkInvitationResponse = z.infer<typeof acceptUpworkInvitati
|
|
|
639
674
|
export type ReconnectBidderAccountRequestBody = z.infer<typeof reconnectBidderAccountRequestBodySchema>;
|
|
640
675
|
export type ReconnectBidderAccountResponse = z.infer<typeof reconnectBidderAccountResponseSchema>;
|
|
641
676
|
export type ConnectUpworkAccount = z.infer<typeof connectUpworkAccountSchema>;
|
|
677
|
+
export declare const upworkOrganizationSchema: z.ZodObject<{
|
|
678
|
+
label: z.ZodString;
|
|
679
|
+
photo_url: z.ZodString;
|
|
680
|
+
uid: z.ZodString;
|
|
681
|
+
id: z.ZodString;
|
|
682
|
+
link: z.ZodString;
|
|
683
|
+
type: z.ZodEnum<["freelancer", "agency"]>;
|
|
684
|
+
type_title: z.ZodString;
|
|
685
|
+
is_active: z.ZodBoolean;
|
|
686
|
+
monetizedTitle: z.ZodString;
|
|
687
|
+
portrait100: z.ZodOptional<z.ZodString>;
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
type: "freelancer" | "agency";
|
|
690
|
+
id: string;
|
|
691
|
+
label: string;
|
|
692
|
+
photo_url: string;
|
|
693
|
+
uid: string;
|
|
694
|
+
link: string;
|
|
695
|
+
type_title: string;
|
|
696
|
+
is_active: boolean;
|
|
697
|
+
monetizedTitle: string;
|
|
698
|
+
portrait100?: string | undefined;
|
|
699
|
+
}, {
|
|
700
|
+
type: "freelancer" | "agency";
|
|
701
|
+
id: string;
|
|
702
|
+
label: string;
|
|
703
|
+
photo_url: string;
|
|
704
|
+
uid: string;
|
|
705
|
+
link: string;
|
|
706
|
+
type_title: string;
|
|
707
|
+
is_active: boolean;
|
|
708
|
+
monetizedTitle: string;
|
|
709
|
+
portrait100?: string | undefined;
|
|
710
|
+
}>;
|
|
711
|
+
export type UpworkOrganization = z.infer<typeof upworkOrganizationSchema>;
|
|
@@ -964,6 +964,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
964
964
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
965
965
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
966
966
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
967
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
967
968
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
968
969
|
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>>;
|
|
969
970
|
expenses: z.ZodObject<{
|
|
@@ -987,18 +988,21 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
987
988
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
988
989
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
989
990
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
991
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
990
992
|
}, "strip", z.ZodTypeAny, {
|
|
991
993
|
contractorName: string | null;
|
|
992
994
|
specialisedProfile: string | null;
|
|
993
995
|
agencyName: string | null;
|
|
994
996
|
bidderId: string | null;
|
|
995
997
|
bidAs: "agency" | "freelancer" | null;
|
|
998
|
+
selectedPortfoliosIds: string[] | null;
|
|
996
999
|
}, {
|
|
997
1000
|
contractorName: string | null;
|
|
998
1001
|
specialisedProfile: string | null;
|
|
999
1002
|
agencyName: string | null;
|
|
1000
1003
|
bidderId: string | null;
|
|
1001
1004
|
bidAs: "agency" | "freelancer" | null;
|
|
1005
|
+
selectedPortfoliosIds: string[] | null;
|
|
1002
1006
|
}>>;
|
|
1003
1007
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
1004
1008
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1625,6 +1629,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1625
1629
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1626
1630
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
1627
1631
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1632
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
1628
1633
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1629
1634
|
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>>;
|
|
1630
1635
|
expenses: z.ZodObject<{
|
|
@@ -1648,18 +1653,21 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1648
1653
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
1649
1654
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1650
1655
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
1656
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1651
1657
|
}, "strip", z.ZodTypeAny, {
|
|
1652
1658
|
contractorName: string | null;
|
|
1653
1659
|
specialisedProfile: string | null;
|
|
1654
1660
|
agencyName: string | null;
|
|
1655
1661
|
bidderId: string | null;
|
|
1656
1662
|
bidAs: "agency" | "freelancer" | null;
|
|
1663
|
+
selectedPortfoliosIds: string[] | null;
|
|
1657
1664
|
}, {
|
|
1658
1665
|
contractorName: string | null;
|
|
1659
1666
|
specialisedProfile: string | null;
|
|
1660
1667
|
agencyName: string | null;
|
|
1661
1668
|
bidderId: string | null;
|
|
1662
1669
|
bidAs: "agency" | "freelancer" | null;
|
|
1670
|
+
selectedPortfoliosIds: string[] | null;
|
|
1663
1671
|
}>>;
|
|
1664
1672
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
1665
1673
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2717,6 +2725,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2717
2725
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2718
2726
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
2719
2727
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2728
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
2720
2729
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2721
2730
|
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>>;
|
|
2722
2731
|
expenses: z.ZodObject<{
|
|
@@ -2740,18 +2749,21 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2740
2749
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
2741
2750
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
2742
2751
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
2752
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2743
2753
|
}, "strip", z.ZodTypeAny, {
|
|
2744
2754
|
contractorName: string | null;
|
|
2745
2755
|
specialisedProfile: string | null;
|
|
2746
2756
|
agencyName: string | null;
|
|
2747
2757
|
bidderId: string | null;
|
|
2748
2758
|
bidAs: "agency" | "freelancer" | null;
|
|
2759
|
+
selectedPortfoliosIds: string[] | null;
|
|
2749
2760
|
}, {
|
|
2750
2761
|
contractorName: string | null;
|
|
2751
2762
|
specialisedProfile: string | null;
|
|
2752
2763
|
agencyName: string | null;
|
|
2753
2764
|
bidderId: string | null;
|
|
2754
2765
|
bidAs: "agency" | "freelancer" | null;
|
|
2766
|
+
selectedPortfoliosIds: string[] | null;
|
|
2755
2767
|
}>>;
|
|
2756
2768
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
2757
2769
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3809,6 +3821,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3809
3821
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3810
3822
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
3811
3823
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3824
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
3812
3825
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3813
3826
|
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>>;
|
|
3814
3827
|
expenses: z.ZodObject<{
|
|
@@ -3832,18 +3845,21 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3832
3845
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
3833
3846
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
3834
3847
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
3848
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
3835
3849
|
}, "strip", z.ZodTypeAny, {
|
|
3836
3850
|
contractorName: string | null;
|
|
3837
3851
|
specialisedProfile: string | null;
|
|
3838
3852
|
agencyName: string | null;
|
|
3839
3853
|
bidderId: string | null;
|
|
3840
3854
|
bidAs: "agency" | "freelancer" | null;
|
|
3855
|
+
selectedPortfoliosIds: string[] | null;
|
|
3841
3856
|
}, {
|
|
3842
3857
|
contractorName: string | null;
|
|
3843
3858
|
specialisedProfile: string | null;
|
|
3844
3859
|
agencyName: string | null;
|
|
3845
3860
|
bidderId: string | null;
|
|
3846
3861
|
bidAs: "agency" | "freelancer" | null;
|
|
3862
|
+
selectedPortfoliosIds: string[] | null;
|
|
3847
3863
|
}>>;
|
|
3848
3864
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
3849
3865
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4898,6 +4914,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4898
4914
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4899
4915
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
4900
4916
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4917
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
4901
4918
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4902
4919
|
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>>;
|
|
4903
4920
|
expenses: z.ZodObject<{
|
|
@@ -4921,18 +4938,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4921
4938
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
4922
4939
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
4923
4940
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
4941
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
4924
4942
|
}, "strip", z.ZodTypeAny, {
|
|
4925
4943
|
contractorName: string | null;
|
|
4926
4944
|
specialisedProfile: string | null;
|
|
4927
4945
|
agencyName: string | null;
|
|
4928
4946
|
bidderId: string | null;
|
|
4929
4947
|
bidAs: "agency" | "freelancer" | null;
|
|
4948
|
+
selectedPortfoliosIds: string[] | null;
|
|
4930
4949
|
}, {
|
|
4931
4950
|
contractorName: string | null;
|
|
4932
4951
|
specialisedProfile: string | null;
|
|
4933
4952
|
agencyName: string | null;
|
|
4934
4953
|
bidderId: string | null;
|
|
4935
4954
|
bidAs: "agency" | "freelancer" | null;
|
|
4955
|
+
selectedPortfoliosIds: string[] | null;
|
|
4936
4956
|
}>>;
|
|
4937
4957
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
4938
4958
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5558,6 +5578,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5558
5578
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5559
5579
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
5560
5580
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5581
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
5561
5582
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
5562
5583
|
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>>;
|
|
5563
5584
|
expenses: z.ZodObject<{
|
|
@@ -5581,18 +5602,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5581
5602
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
5582
5603
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
5583
5604
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
5605
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
5584
5606
|
}, "strip", z.ZodTypeAny, {
|
|
5585
5607
|
contractorName: string | null;
|
|
5586
5608
|
specialisedProfile: string | null;
|
|
5587
5609
|
agencyName: string | null;
|
|
5588
5610
|
bidderId: string | null;
|
|
5589
5611
|
bidAs: "agency" | "freelancer" | null;
|
|
5612
|
+
selectedPortfoliosIds: string[] | null;
|
|
5590
5613
|
}, {
|
|
5591
5614
|
contractorName: string | null;
|
|
5592
5615
|
specialisedProfile: string | null;
|
|
5593
5616
|
agencyName: string | null;
|
|
5594
5617
|
bidderId: string | null;
|
|
5595
5618
|
bidAs: "agency" | "freelancer" | null;
|
|
5619
|
+
selectedPortfoliosIds: string[] | null;
|
|
5596
5620
|
}>>;
|
|
5597
5621
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
5598
5622
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6649,6 +6673,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6649
6673
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6650
6674
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
6651
6675
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6676
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
6652
6677
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
6653
6678
|
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>>;
|
|
6654
6679
|
expenses: z.ZodObject<{
|
|
@@ -6672,18 +6697,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6672
6697
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
6673
6698
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
6674
6699
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
6700
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
6675
6701
|
}, "strip", z.ZodTypeAny, {
|
|
6676
6702
|
contractorName: string | null;
|
|
6677
6703
|
specialisedProfile: string | null;
|
|
6678
6704
|
agencyName: string | null;
|
|
6679
6705
|
bidderId: string | null;
|
|
6680
6706
|
bidAs: "agency" | "freelancer" | null;
|
|
6707
|
+
selectedPortfoliosIds: string[] | null;
|
|
6681
6708
|
}, {
|
|
6682
6709
|
contractorName: string | null;
|
|
6683
6710
|
specialisedProfile: string | null;
|
|
6684
6711
|
agencyName: string | null;
|
|
6685
6712
|
bidderId: string | null;
|
|
6686
6713
|
bidAs: "agency" | "freelancer" | null;
|
|
6714
|
+
selectedPortfoliosIds: string[] | null;
|
|
6687
6715
|
}>>;
|
|
6688
6716
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
6689
6717
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -7740,6 +7768,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7740
7768
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
7741
7769
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
7742
7770
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
7771
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
7743
7772
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
7744
7773
|
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>>;
|
|
7745
7774
|
expenses: z.ZodObject<{
|
|
@@ -7763,18 +7792,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7763
7792
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
7764
7793
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
7765
7794
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
7795
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
7766
7796
|
}, "strip", z.ZodTypeAny, {
|
|
7767
7797
|
contractorName: string | null;
|
|
7768
7798
|
specialisedProfile: string | null;
|
|
7769
7799
|
agencyName: string | null;
|
|
7770
7800
|
bidderId: string | null;
|
|
7771
7801
|
bidAs: "agency" | "freelancer" | null;
|
|
7802
|
+
selectedPortfoliosIds: string[] | null;
|
|
7772
7803
|
}, {
|
|
7773
7804
|
contractorName: string | null;
|
|
7774
7805
|
specialisedProfile: string | null;
|
|
7775
7806
|
agencyName: string | null;
|
|
7776
7807
|
bidderId: string | null;
|
|
7777
7808
|
bidAs: "agency" | "freelancer" | null;
|
|
7809
|
+
selectedPortfoliosIds: string[] | null;
|
|
7778
7810
|
}>>;
|
|
7779
7811
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
7780
7812
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|