lancer-shared 1.2.153 → 1.2.155
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
CHANGED
|
@@ -6556,6 +6556,7 @@ const ROUTES = {
|
|
|
6556
6556
|
BY_ID: (id, bidderId) => `organizations/${id}/bidder-accounts/${bidderId}`,
|
|
6557
6557
|
AVAILABLE_BIDDER_ACCOUNT: (id, region) => `organizations/${id}/bidder-accounts/available-bidder-account/${region}`,
|
|
6558
6558
|
ACCEPT_UPWORK_INVITATION: (id, bidderId) => `organizations/${id}/bidder-accounts/${bidderId}/accept-upwork-invitation`,
|
|
6559
|
+
RECONNECT: (id, bidderId) => `organizations/${id}/bidder-accounts/${bidderId}/reconnect`,
|
|
6559
6560
|
CONNECTION: (id) => `organizations/${id}/bidder-account-connection/status`,
|
|
6560
6561
|
DISMISS_CONNECTION_ERROR: (id) => `organizations/${id}/bidder-account-connection/dismiss-connection-error`,
|
|
6561
6562
|
},
|
|
@@ -6642,6 +6643,7 @@ const ROUTES = {
|
|
|
6642
6643
|
TEST_SYSTEM_PROMPTS: 'agent/test-system-prompts',
|
|
6643
6644
|
ANALYZE_LEAD: 'agent/analyze-lead',
|
|
6644
6645
|
GENERATE_PROPOSAL: 'agent/generate-proposal',
|
|
6646
|
+
PICK_SPECIALISED_PROFILE: 'agent/pick-specialised-profile',
|
|
6645
6647
|
BID: 'agent/bid',
|
|
6646
6648
|
},
|
|
6647
6649
|
PLANS: {
|
|
@@ -12574,6 +12576,15 @@ const acceptUpworkInvitationResponseSchema = z.object({
|
|
|
12574
12576
|
photoUrl: z.string(),
|
|
12575
12577
|
contractors: z.array(bidderAccountAgencyContractorSchema),
|
|
12576
12578
|
});
|
|
12579
|
+
const reconnectBidderAccountRequestBodySchema = z.object({
|
|
12580
|
+
organizationId: z.string(),
|
|
12581
|
+
bidderAccountId: z.string(),
|
|
12582
|
+
});
|
|
12583
|
+
const reconnectBidderAccountResponseSchema = z.object({
|
|
12584
|
+
agencyName: z.string(),
|
|
12585
|
+
photoUrl: z.string(),
|
|
12586
|
+
contractors: z.array(bidderAccountAgencyContractorSchema),
|
|
12587
|
+
});
|
|
12577
12588
|
|
|
12578
12589
|
class BidderAccountAlreadyConnectedException extends Error {
|
|
12579
12590
|
code = 'BIDDER_ACCOUNT_ALREADY_CONNECTED';
|
|
@@ -13002,6 +13013,9 @@ const upworkAccountConnectStatusSchema = z.union([
|
|
|
13002
13013
|
z.literal('processing'),
|
|
13003
13014
|
z.literal('connected'),
|
|
13004
13015
|
z.literal('failed'),
|
|
13016
|
+
z.literal('reconnecting'),
|
|
13017
|
+
z.literal('reconnected'),
|
|
13018
|
+
z.literal('reconnect_failed'),
|
|
13005
13019
|
]);
|
|
13006
13020
|
const upworkAccountConnectSchema = z.object({
|
|
13007
13021
|
status: upworkAccountConnectStatusSchema.nullable(),
|
|
@@ -13261,6 +13275,7 @@ const bidPayloadProposalDataSchema = z.object({
|
|
|
13261
13275
|
coverLetter: z.string(),
|
|
13262
13276
|
questionAnswerPairs: questionAnswerPairSchema.array().nullable(),
|
|
13263
13277
|
boostingEnabled: z.boolean(),
|
|
13278
|
+
specialisedProfileOptions: z.array(z.string()),
|
|
13264
13279
|
maximumBoost: z.number().nullable(),
|
|
13265
13280
|
biddingHourlyRateStrategy: biddingHourlyRateStrategyEnum,
|
|
13266
13281
|
biddingHourlyRatePercentage: z.number().min(0).max(100).nullable(),
|
|
@@ -13679,6 +13694,15 @@ const agentCalculateSuitabilityRequestSchema = z.object({
|
|
|
13679
13694
|
.array(z.object({ leadId: z.string(), campaignId: z.string() }))
|
|
13680
13695
|
.optional(),
|
|
13681
13696
|
});
|
|
13697
|
+
const agentPickSpecialisedProfileRequestSchema = z.object({
|
|
13698
|
+
jobTitle: z.string(),
|
|
13699
|
+
jobDescription: z.string(),
|
|
13700
|
+
specialisedProfiles: z.array(z.string()),
|
|
13701
|
+
});
|
|
13702
|
+
const agentPickSpecialisedProfileResponseSchema = z.object({
|
|
13703
|
+
profile: z.string(),
|
|
13704
|
+
reason: z.string(),
|
|
13705
|
+
});
|
|
13682
13706
|
const suitabilityRatingSchema = z.object({
|
|
13683
13707
|
rating: z.number(),
|
|
13684
13708
|
reason: z.string(),
|
|
@@ -14772,6 +14796,8 @@ exports.agencyBidProposalDataSchema = agencyBidProposalDataSchema;
|
|
|
14772
14796
|
exports.agentCalculateSuitabilityRequestSchema = agentCalculateSuitabilityRequestSchema;
|
|
14773
14797
|
exports.agentGenerateProposalRequestSchema = agentGenerateProposalRequestSchema;
|
|
14774
14798
|
exports.agentGenerateProposalResponseSchema = agentGenerateProposalResponseSchema;
|
|
14799
|
+
exports.agentPickSpecialisedProfileRequestSchema = agentPickSpecialisedProfileRequestSchema;
|
|
14800
|
+
exports.agentPickSpecialisedProfileResponseSchema = agentPickSpecialisedProfileResponseSchema;
|
|
14775
14801
|
exports.agentStatusSchema = agentStatusSchema;
|
|
14776
14802
|
exports.agentTaskResponseSchema = agentTaskResponseSchema;
|
|
14777
14803
|
exports.aiConfigSchema = aiConfigSchema;
|
|
@@ -14977,6 +15003,8 @@ exports.puppeteerConnectionErrorException = puppeteerConnectionErrorException;
|
|
|
14977
15003
|
exports.questionAnswerPairSchema = questionAnswerPairSchema;
|
|
14978
15004
|
exports.questionPairNotMatchingException = questionPairNotMatchingException;
|
|
14979
15005
|
exports.questionRulesSchema = questionRulesSchema;
|
|
15006
|
+
exports.reconnectBidderAccountRequestBodySchema = reconnectBidderAccountRequestBodySchema;
|
|
15007
|
+
exports.reconnectBidderAccountResponseSchema = reconnectBidderAccountResponseSchema;
|
|
14980
15008
|
exports.refreshRotatingProxiesRequestBodySchema = refreshRotatingProxiesRequestBodySchema;
|
|
14981
15009
|
exports.regionEnum = regionEnum;
|
|
14982
15010
|
exports.regionMapping = regionMapping;
|
|
@@ -137,6 +137,7 @@ export declare const ROUTES: {
|
|
|
137
137
|
readonly BY_ID: (id: string, bidderId: string) => string;
|
|
138
138
|
readonly AVAILABLE_BIDDER_ACCOUNT: (id: string, region: string) => string;
|
|
139
139
|
readonly ACCEPT_UPWORK_INVITATION: (id: string, bidderId: string) => string;
|
|
140
|
+
readonly RECONNECT: (id: string, bidderId: string) => string;
|
|
140
141
|
readonly CONNECTION: (id: string) => string;
|
|
141
142
|
readonly DISMISS_CONNECTION_ERROR: (id: string) => string;
|
|
142
143
|
};
|
|
@@ -220,6 +221,7 @@ export declare const ROUTES: {
|
|
|
220
221
|
readonly TEST_SYSTEM_PROMPTS: "agent/test-system-prompts";
|
|
221
222
|
readonly ANALYZE_LEAD: "agent/analyze-lead";
|
|
222
223
|
readonly GENERATE_PROPOSAL: "agent/generate-proposal";
|
|
224
|
+
readonly PICK_SPECIALISED_PROFILE: "agent/pick-specialised-profile";
|
|
223
225
|
readonly BID: "agent/bid";
|
|
224
226
|
};
|
|
225
227
|
readonly PLANS: {
|
|
@@ -527,6 +527,44 @@ export declare const acceptUpworkInvitationResponseSchema: z.ZodObject<{
|
|
|
527
527
|
agencyName: string;
|
|
528
528
|
photoUrl: string;
|
|
529
529
|
}>;
|
|
530
|
+
export declare const reconnectBidderAccountRequestBodySchema: z.ZodObject<{
|
|
531
|
+
organizationId: z.ZodString;
|
|
532
|
+
bidderAccountId: z.ZodString;
|
|
533
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
|
+
organizationId: string;
|
|
535
|
+
bidderAccountId: string;
|
|
536
|
+
}, {
|
|
537
|
+
organizationId: string;
|
|
538
|
+
bidderAccountId: string;
|
|
539
|
+
}>;
|
|
540
|
+
export declare const reconnectBidderAccountResponseSchema: z.ZodObject<{
|
|
541
|
+
agencyName: z.ZodString;
|
|
542
|
+
photoUrl: z.ZodString;
|
|
543
|
+
contractors: z.ZodArray<z.ZodObject<{
|
|
544
|
+
name: z.ZodString;
|
|
545
|
+
specializedProfiles: z.ZodArray<z.ZodString, "many">;
|
|
546
|
+
}, "strip", z.ZodTypeAny, {
|
|
547
|
+
name: string;
|
|
548
|
+
specializedProfiles: string[];
|
|
549
|
+
}, {
|
|
550
|
+
name: string;
|
|
551
|
+
specializedProfiles: string[];
|
|
552
|
+
}>, "many">;
|
|
553
|
+
}, "strip", z.ZodTypeAny, {
|
|
554
|
+
contractors: {
|
|
555
|
+
name: string;
|
|
556
|
+
specializedProfiles: string[];
|
|
557
|
+
}[];
|
|
558
|
+
agencyName: string;
|
|
559
|
+
photoUrl: string;
|
|
560
|
+
}, {
|
|
561
|
+
contractors: {
|
|
562
|
+
name: string;
|
|
563
|
+
specializedProfiles: string[];
|
|
564
|
+
}[];
|
|
565
|
+
agencyName: string;
|
|
566
|
+
photoUrl: string;
|
|
567
|
+
}>;
|
|
530
568
|
export interface BidderAccount extends z.infer<typeof bidderAccountSchema> {
|
|
531
569
|
proxy?: Proxy;
|
|
532
570
|
}
|
|
@@ -539,3 +577,5 @@ export type BidderAccountAgency = z.infer<typeof bidderAccountAgencySchema>;
|
|
|
539
577
|
export type BidderAccountAgencyContractor = z.infer<typeof bidderAccountAgencyContractorSchema>;
|
|
540
578
|
export type AcceptUpworkInvitation = z.infer<typeof acceptUpworkInvitationSchema>;
|
|
541
579
|
export type AcceptUpworkInvitationResponse = z.infer<typeof acceptUpworkInvitationResponseSchema>;
|
|
580
|
+
export type ReconnectBidderAccountRequestBody = z.infer<typeof reconnectBidderAccountRequestBodySchema>;
|
|
581
|
+
export type ReconnectBidderAccountResponse = z.infer<typeof reconnectBidderAccountResponseSchema>;
|
|
@@ -998,12 +998,39 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
998
998
|
leadId: string;
|
|
999
999
|
}[] | undefined;
|
|
1000
1000
|
}>;
|
|
1001
|
+
export declare const agentPickSpecialisedProfileRequestSchema: z.ZodObject<{
|
|
1002
|
+
jobTitle: z.ZodString;
|
|
1003
|
+
jobDescription: z.ZodString;
|
|
1004
|
+
specialisedProfiles: z.ZodArray<z.ZodString, "many">;
|
|
1005
|
+
}, "strip", z.ZodTypeAny, {
|
|
1006
|
+
jobTitle: string;
|
|
1007
|
+
jobDescription: string;
|
|
1008
|
+
specialisedProfiles: string[];
|
|
1009
|
+
}, {
|
|
1010
|
+
jobTitle: string;
|
|
1011
|
+
jobDescription: string;
|
|
1012
|
+
specialisedProfiles: string[];
|
|
1013
|
+
}>;
|
|
1014
|
+
export declare const agentPickSpecialisedProfileResponseSchema: z.ZodObject<{
|
|
1015
|
+
profile: z.ZodString;
|
|
1016
|
+
reason: z.ZodString;
|
|
1017
|
+
}, "strip", z.ZodTypeAny, {
|
|
1018
|
+
profile: string;
|
|
1019
|
+
reason: string;
|
|
1020
|
+
}, {
|
|
1021
|
+
profile: string;
|
|
1022
|
+
reason: string;
|
|
1023
|
+
}>;
|
|
1001
1024
|
export interface AgentCalculateSuitabilityRequest extends z.infer<typeof agentCalculateSuitabilityRequestSchema> {
|
|
1002
1025
|
}
|
|
1003
1026
|
export interface AgentGenerateProposalRequest extends z.infer<typeof agentGenerateProposalRequestSchema> {
|
|
1004
1027
|
}
|
|
1005
1028
|
export interface AgentGenerateProposalResponse extends z.infer<typeof agentGenerateProposalResponseSchema> {
|
|
1006
1029
|
}
|
|
1030
|
+
export interface AgentPickSpecialisedProfileRequest extends z.infer<typeof agentPickSpecialisedProfileRequestSchema> {
|
|
1031
|
+
}
|
|
1032
|
+
export interface AgentPickSpecialisedProfileResponse extends z.infer<typeof agentPickSpecialisedProfileResponseSchema> {
|
|
1033
|
+
}
|
|
1007
1034
|
export declare const suitabilityRatingSchema: z.ZodObject<{
|
|
1008
1035
|
rating: z.ZodNumber;
|
|
1009
1036
|
reason: z.ZodString;
|
|
@@ -13,6 +13,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
13
13
|
answer: string;
|
|
14
14
|
}>, "many">>;
|
|
15
15
|
boostingEnabled: z.ZodBoolean;
|
|
16
|
+
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
16
17
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
17
18
|
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
18
19
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
@@ -28,6 +29,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
28
29
|
answer: string;
|
|
29
30
|
}[] | null;
|
|
30
31
|
boostingEnabled: boolean;
|
|
32
|
+
specialisedProfileOptions: string[];
|
|
31
33
|
maximumBoost: number | null;
|
|
32
34
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
33
35
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -43,6 +45,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
43
45
|
answer: string;
|
|
44
46
|
}[] | null;
|
|
45
47
|
boostingEnabled: boolean;
|
|
48
|
+
specialisedProfileOptions: string[];
|
|
46
49
|
maximumBoost: number | null;
|
|
47
50
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
48
51
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -65,6 +68,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
65
68
|
answer: string;
|
|
66
69
|
}>, "many">>;
|
|
67
70
|
boostingEnabled: z.ZodBoolean;
|
|
71
|
+
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
68
72
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
69
73
|
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
70
74
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
@@ -80,6 +84,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
80
84
|
answer: string;
|
|
81
85
|
}[] | null;
|
|
82
86
|
boostingEnabled: boolean;
|
|
87
|
+
specialisedProfileOptions: string[];
|
|
83
88
|
maximumBoost: number | null;
|
|
84
89
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
85
90
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -95,6 +100,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
95
100
|
answer: string;
|
|
96
101
|
}[] | null;
|
|
97
102
|
boostingEnabled: boolean;
|
|
103
|
+
specialisedProfileOptions: string[];
|
|
98
104
|
maximumBoost: number | null;
|
|
99
105
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
100
106
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -117,6 +123,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
117
123
|
answer: string;
|
|
118
124
|
}>, "many">>;
|
|
119
125
|
boostingEnabled: z.ZodBoolean;
|
|
126
|
+
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
120
127
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
121
128
|
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
122
129
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
@@ -136,6 +143,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
136
143
|
answer: string;
|
|
137
144
|
}[] | null;
|
|
138
145
|
boostingEnabled: boolean;
|
|
146
|
+
specialisedProfileOptions: string[];
|
|
139
147
|
maximumBoost: number | null;
|
|
140
148
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
141
149
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -154,6 +162,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
154
162
|
answer: string;
|
|
155
163
|
}[] | null;
|
|
156
164
|
boostingEnabled: boolean;
|
|
165
|
+
specialisedProfileOptions: string[];
|
|
157
166
|
maximumBoost: number | null;
|
|
158
167
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
159
168
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -1669,6 +1678,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1669
1678
|
answer: string;
|
|
1670
1679
|
}>, "many">>;
|
|
1671
1680
|
boostingEnabled: z.ZodBoolean;
|
|
1681
|
+
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
1672
1682
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1673
1683
|
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
1674
1684
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1688,6 +1698,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1688
1698
|
answer: string;
|
|
1689
1699
|
}[] | null;
|
|
1690
1700
|
boostingEnabled: boolean;
|
|
1701
|
+
specialisedProfileOptions: string[];
|
|
1691
1702
|
maximumBoost: number | null;
|
|
1692
1703
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1693
1704
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -1706,6 +1717,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1706
1717
|
answer: string;
|
|
1707
1718
|
}[] | null;
|
|
1708
1719
|
boostingEnabled: boolean;
|
|
1720
|
+
specialisedProfileOptions: string[];
|
|
1709
1721
|
maximumBoost: number | null;
|
|
1710
1722
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1711
1723
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -1866,6 +1878,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1866
1878
|
answer: string;
|
|
1867
1879
|
}[] | null;
|
|
1868
1880
|
boostingEnabled: boolean;
|
|
1881
|
+
specialisedProfileOptions: string[];
|
|
1869
1882
|
maximumBoost: number | null;
|
|
1870
1883
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1871
1884
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -2026,6 +2039,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2026
2039
|
answer: string;
|
|
2027
2040
|
}[] | null;
|
|
2028
2041
|
boostingEnabled: boolean;
|
|
2042
|
+
specialisedProfileOptions: string[];
|
|
2029
2043
|
maximumBoost: number | null;
|
|
2030
2044
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2031
2045
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -2656,6 +2670,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2656
2670
|
answer: string;
|
|
2657
2671
|
}>, "many">>;
|
|
2658
2672
|
boostingEnabled: z.ZodBoolean;
|
|
2673
|
+
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
2659
2674
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
2660
2675
|
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
2661
2676
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2671,6 +2686,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2671
2686
|
answer: string;
|
|
2672
2687
|
}[] | null;
|
|
2673
2688
|
boostingEnabled: boolean;
|
|
2689
|
+
specialisedProfileOptions: string[];
|
|
2674
2690
|
maximumBoost: number | null;
|
|
2675
2691
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2676
2692
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -2686,6 +2702,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2686
2702
|
answer: string;
|
|
2687
2703
|
}[] | null;
|
|
2688
2704
|
boostingEnabled: boolean;
|
|
2705
|
+
specialisedProfileOptions: string[];
|
|
2689
2706
|
maximumBoost: number | null;
|
|
2690
2707
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2691
2708
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -2843,6 +2860,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2843
2860
|
answer: string;
|
|
2844
2861
|
}[] | null;
|
|
2845
2862
|
boostingEnabled: boolean;
|
|
2863
|
+
specialisedProfileOptions: string[];
|
|
2846
2864
|
maximumBoost: number | null;
|
|
2847
2865
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2848
2866
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -3000,6 +3018,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
3000
3018
|
answer: string;
|
|
3001
3019
|
}[] | null;
|
|
3002
3020
|
boostingEnabled: boolean;
|
|
3021
|
+
specialisedProfileOptions: string[];
|
|
3003
3022
|
maximumBoost: number | null;
|
|
3004
3023
|
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3005
3024
|
biddingHourlyRatePercentage: number | null;
|
|
@@ -494,19 +494,19 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
494
494
|
boostingThreshold?: number | null | undefined;
|
|
495
495
|
biddingDelayInMinutes?: number | undefined;
|
|
496
496
|
}>;
|
|
497
|
-
export declare const upworkAccountConnectStatusSchema: z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">]>;
|
|
497
|
+
export declare const upworkAccountConnectStatusSchema: z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">, z.ZodLiteral<"reconnecting">, z.ZodLiteral<"reconnected">, z.ZodLiteral<"reconnect_failed">]>;
|
|
498
498
|
export declare const upworkAccountConnectSchema: z.ZodObject<{
|
|
499
|
-
status: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">]>>;
|
|
499
|
+
status: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">, z.ZodLiteral<"reconnecting">, z.ZodLiteral<"reconnected">, z.ZodLiteral<"reconnect_failed">]>>;
|
|
500
500
|
error: z.ZodNullable<z.ZodString>;
|
|
501
501
|
email: z.ZodOptional<z.ZodString>;
|
|
502
502
|
profilePhotoUrl: z.ZodOptional<z.ZodString>;
|
|
503
503
|
}, "strip", z.ZodTypeAny, {
|
|
504
|
-
status: "processing" | "connected" | "failed" | null;
|
|
504
|
+
status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
|
|
505
505
|
error: string | null;
|
|
506
506
|
email?: string | undefined;
|
|
507
507
|
profilePhotoUrl?: string | undefined;
|
|
508
508
|
}, {
|
|
509
|
-
status: "processing" | "connected" | "failed" | null;
|
|
509
|
+
status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
|
|
510
510
|
error: string | null;
|
|
511
511
|
email?: string | undefined;
|
|
512
512
|
profilePhotoUrl?: string | undefined;
|