lancer-shared 1.2.283 → 1.2.285
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 +185 -137
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +177 -138
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +4 -0
- package/dist/schemas/account/bidder-account.d.ts +41 -103
- package/dist/schemas/account/scraper-account.d.ts +8 -8
- package/dist/schemas/bidder/exceptions/index.d.ts +5 -1
- package/dist/schemas/bidder/exceptions/network-restrictions.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/two-factor-present.exception.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +10 -0
- package/dist/schemas/campaign/campaign.d.ts +2 -2
- package/dist/schemas/logger/log-event.d.ts +84 -10
- package/dist/schemas/proxy/proxy-available-replacements.d.ts +1 -1
- package/dist/schemas/proxy/proxy-country.d.ts +2 -1
- package/dist/schemas/proxy/proxy.d.ts +24 -34
- package/dist/schemas/scraper/scrape-payload.d.ts +10 -0
- package/package.json +1 -1
|
@@ -66,6 +66,7 @@ export declare const ROUTES: {
|
|
|
66
66
|
readonly BY_ID: (id: string) => string;
|
|
67
67
|
readonly BY_PROVIDER: (provider: string) => string;
|
|
68
68
|
readonly BY_PROVIDER_AND_ID: (provider: string, id: string) => string;
|
|
69
|
+
readonly REFRESH_PROXY: (bidderId: string) => string;
|
|
69
70
|
};
|
|
70
71
|
readonly SCRAPER_ACCOUNTS: {
|
|
71
72
|
readonly BASE: "admin/scraper-accounts";
|
|
@@ -157,9 +158,12 @@ export declare const ROUTES: {
|
|
|
157
158
|
readonly RECONNECT: (id: string, bidderId: string) => string;
|
|
158
159
|
readonly CONNECTION: (id: string) => string;
|
|
159
160
|
readonly DISMISS_CONNECTION_ERROR: (id: string) => string;
|
|
161
|
+
readonly CONNECT_UPWORK_ACCOUNT: (id: string) => string;
|
|
162
|
+
readonly RETRY_CONNECT_UPWORK_ACCOUNT: (id: string, bidderId: string) => string;
|
|
160
163
|
};
|
|
161
164
|
readonly LEADS_BY_JOB_ID: (organizationId: string, jobId: string) => string;
|
|
162
165
|
readonly UPDATE_CAMPAIGN_PRIORITY: (organizationId: string) => string;
|
|
166
|
+
readonly CAMPAIGN_ANALYTICS: (organizationId: string) => string;
|
|
163
167
|
readonly CAMPAIGNS: {
|
|
164
168
|
readonly BASE: (organizationId: string) => string;
|
|
165
169
|
readonly BY_ID: (organizationId: string, campaignId: string) => string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Proxy } from '../proxy';
|
|
3
3
|
export declare const bidderAccountProvider: z.ZodEnum<["user-provided", "lancer-provided"]>;
|
|
4
|
+
export declare const bidderAccountStatusEnum: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
4
5
|
export declare const bidderAccountAgencyContractorSchema: z.ZodObject<{
|
|
5
6
|
name: z.ZodString;
|
|
6
7
|
specializedProfiles: z.ZodArray<z.ZodString, "many">;
|
|
@@ -93,10 +94,13 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
93
94
|
updatedAt: z.ZodNumber;
|
|
94
95
|
region: z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>;
|
|
95
96
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
98
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
96
99
|
}, "strip", z.ZodTypeAny, {
|
|
97
100
|
id: string;
|
|
98
101
|
name: string | null;
|
|
99
102
|
email: string;
|
|
103
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
100
104
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
101
105
|
password: string;
|
|
102
106
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -120,12 +124,14 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
120
124
|
instanceId: string | null;
|
|
121
125
|
createdAt: number;
|
|
122
126
|
updatedAt: number;
|
|
127
|
+
errorMessage: string | null;
|
|
123
128
|
googleOauthTokens?: any;
|
|
124
129
|
isProtected?: boolean | undefined;
|
|
125
130
|
}, {
|
|
126
131
|
id: string;
|
|
127
132
|
name: string | null;
|
|
128
133
|
email: string;
|
|
134
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
129
135
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
130
136
|
password: string;
|
|
131
137
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -149,9 +155,26 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
149
155
|
instanceId: string | null;
|
|
150
156
|
createdAt: number;
|
|
151
157
|
updatedAt: number;
|
|
158
|
+
errorMessage: string | null;
|
|
152
159
|
googleOauthTokens?: any;
|
|
153
160
|
isProtected?: boolean | undefined;
|
|
154
161
|
}>;
|
|
162
|
+
export declare const connectUpworkAccountSchema: z.ZodObject<{
|
|
163
|
+
email: z.ZodString;
|
|
164
|
+
password: z.ZodString;
|
|
165
|
+
securityQuestionAnswer: z.ZodNullable<z.ZodString>;
|
|
166
|
+
targetCountry: 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"]>;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
email: string;
|
|
169
|
+
password: string;
|
|
170
|
+
securityQuestionAnswer: string | null;
|
|
171
|
+
targetCountry: "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";
|
|
172
|
+
}, {
|
|
173
|
+
email: string;
|
|
174
|
+
password: string;
|
|
175
|
+
securityQuestionAnswer: string | null;
|
|
176
|
+
targetCountry: "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";
|
|
177
|
+
}>;
|
|
155
178
|
export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
156
179
|
id: z.ZodString;
|
|
157
180
|
provider: z.ZodEnum<["user-provided", "lancer-provided"]>;
|
|
@@ -203,8 +226,10 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
203
226
|
updatedAt: z.ZodNumber;
|
|
204
227
|
region: z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>;
|
|
205
228
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
+
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
230
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
206
231
|
}, "name" | "email" | "region" | "password" | "provider" | "securityQuestionAnswer" | "assignedOrganizations" | "multiLoginProfileId" | "proxyId" | "profilePhotoUrl" | "agencies">, {
|
|
207
|
-
proxyCountry: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "
|
|
232
|
+
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"]>>;
|
|
208
233
|
}>, "strip", z.ZodTypeAny, {
|
|
209
234
|
name: string | null;
|
|
210
235
|
email: string;
|
|
@@ -225,7 +250,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
225
250
|
specializedProfiles: string[];
|
|
226
251
|
}[];
|
|
227
252
|
}[] | null;
|
|
228
|
-
proxyCountry: "US" | "CA" | "GB" | "AF" | "
|
|
253
|
+
proxyCountry: "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" | null;
|
|
229
254
|
}, {
|
|
230
255
|
name: string | null;
|
|
231
256
|
email: string;
|
|
@@ -246,11 +271,12 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
246
271
|
specializedProfiles: string[];
|
|
247
272
|
}[];
|
|
248
273
|
}[] | null;
|
|
249
|
-
proxyCountry: "US" | "CA" | "GB" | "AF" | "
|
|
274
|
+
proxyCountry: "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" | null;
|
|
250
275
|
}>;
|
|
251
276
|
export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
252
277
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
278
|
email: z.ZodOptional<z.ZodString>;
|
|
279
|
+
status: z.ZodOptional<z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>>;
|
|
254
280
|
region: z.ZodOptional<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>>;
|
|
255
281
|
password: z.ZodOptional<z.ZodString>;
|
|
256
282
|
provider: z.ZodOptional<z.ZodEnum<["user-provided", "lancer-provided"]>>;
|
|
@@ -298,9 +324,11 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
298
324
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
299
325
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
300
326
|
isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
327
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
301
328
|
}, "strip", z.ZodTypeAny, {
|
|
302
329
|
name?: string | null | undefined;
|
|
303
330
|
email?: string | undefined;
|
|
331
|
+
status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
|
|
304
332
|
region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
|
|
305
333
|
password?: string | undefined;
|
|
306
334
|
provider?: "user-provided" | "lancer-provided" | undefined;
|
|
@@ -326,9 +354,11 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
326
354
|
createdAt?: number | undefined;
|
|
327
355
|
updatedAt?: number | undefined;
|
|
328
356
|
isProtected?: boolean | undefined;
|
|
357
|
+
errorMessage?: string | null | undefined;
|
|
329
358
|
}, {
|
|
330
359
|
name?: string | null | undefined;
|
|
331
360
|
email?: string | undefined;
|
|
361
|
+
status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
|
|
332
362
|
region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
|
|
333
363
|
password?: string | undefined;
|
|
334
364
|
provider?: "user-provided" | "lancer-provided" | undefined;
|
|
@@ -354,110 +384,17 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
354
384
|
createdAt?: number | undefined;
|
|
355
385
|
updatedAt?: number | undefined;
|
|
356
386
|
isProtected?: boolean | undefined;
|
|
387
|
+
errorMessage?: string | null | undefined;
|
|
357
388
|
}>;
|
|
358
389
|
export declare const verifyBidderAccountCredentialsSchema: z.ZodObject<{
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
securityQuestionAnswer: z.ZodString;
|
|
362
|
-
multiloginProfileId: z.ZodString;
|
|
363
|
-
proxy: z.ZodObject<{
|
|
364
|
-
id: z.ZodString;
|
|
365
|
-
externalId: z.ZodString;
|
|
366
|
-
host: z.ZodString;
|
|
367
|
-
port: z.ZodNumber;
|
|
368
|
-
username: z.ZodString;
|
|
369
|
-
password: z.ZodString;
|
|
370
|
-
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>;
|
|
371
|
-
ip: z.ZodString;
|
|
372
|
-
oldIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
373
|
-
oldAccounts: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
374
|
-
fraudScore: z.ZodNullable<z.ZodNumber>;
|
|
375
|
-
claimedCountry: z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>;
|
|
376
|
-
status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
|
|
377
|
-
country: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>>;
|
|
378
|
-
accountId: z.ZodNullable<z.ZodString>;
|
|
379
|
-
type: z.ZodEnum<["rotating", "static"]>;
|
|
380
|
-
}, "strip", z.ZodTypeAny, {
|
|
381
|
-
type: "rotating" | "static";
|
|
382
|
-
id: string;
|
|
383
|
-
port: number;
|
|
384
|
-
country: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | null;
|
|
385
|
-
username: string;
|
|
386
|
-
host: string;
|
|
387
|
-
status: "invalid" | "valid" | "pending_validation" | null;
|
|
388
|
-
ip: string;
|
|
389
|
-
externalId: string;
|
|
390
|
-
password: string;
|
|
391
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
392
|
-
oldIds: string[] | null;
|
|
393
|
-
oldAccounts: string[] | null;
|
|
394
|
-
fraudScore: number | null;
|
|
395
|
-
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
396
|
-
accountId: string | null;
|
|
397
|
-
}, {
|
|
398
|
-
type: "rotating" | "static";
|
|
399
|
-
id: string;
|
|
400
|
-
port: number;
|
|
401
|
-
country: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | null;
|
|
402
|
-
username: string;
|
|
403
|
-
host: string;
|
|
404
|
-
status: "invalid" | "valid" | "pending_validation" | null;
|
|
405
|
-
ip: string;
|
|
406
|
-
externalId: string;
|
|
407
|
-
password: string;
|
|
408
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
409
|
-
oldIds: string[] | null;
|
|
410
|
-
oldAccounts: string[] | null;
|
|
411
|
-
fraudScore: number | null;
|
|
412
|
-
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
413
|
-
accountId: string | null;
|
|
414
|
-
}>;
|
|
390
|
+
organizationId: z.ZodString;
|
|
391
|
+
bidderAccountId: z.ZodString;
|
|
415
392
|
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
securityQuestionAnswer: string;
|
|
419
|
-
multiloginProfileId: string;
|
|
420
|
-
proxy: {
|
|
421
|
-
type: "rotating" | "static";
|
|
422
|
-
id: string;
|
|
423
|
-
port: number;
|
|
424
|
-
country: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | null;
|
|
425
|
-
username: string;
|
|
426
|
-
host: string;
|
|
427
|
-
status: "invalid" | "valid" | "pending_validation" | null;
|
|
428
|
-
ip: string;
|
|
429
|
-
externalId: string;
|
|
430
|
-
password: string;
|
|
431
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
432
|
-
oldIds: string[] | null;
|
|
433
|
-
oldAccounts: string[] | null;
|
|
434
|
-
fraudScore: number | null;
|
|
435
|
-
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
436
|
-
accountId: string | null;
|
|
437
|
-
};
|
|
393
|
+
organizationId: string;
|
|
394
|
+
bidderAccountId: string;
|
|
438
395
|
}, {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
securityQuestionAnswer: string;
|
|
442
|
-
multiloginProfileId: string;
|
|
443
|
-
proxy: {
|
|
444
|
-
type: "rotating" | "static";
|
|
445
|
-
id: string;
|
|
446
|
-
port: number;
|
|
447
|
-
country: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | null;
|
|
448
|
-
username: string;
|
|
449
|
-
host: string;
|
|
450
|
-
status: "invalid" | "valid" | "pending_validation" | null;
|
|
451
|
-
ip: string;
|
|
452
|
-
externalId: string;
|
|
453
|
-
password: string;
|
|
454
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
455
|
-
oldIds: string[] | null;
|
|
456
|
-
oldAccounts: string[] | null;
|
|
457
|
-
fraudScore: number | null;
|
|
458
|
-
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
459
|
-
accountId: string | null;
|
|
460
|
-
};
|
|
396
|
+
organizationId: string;
|
|
397
|
+
bidderAccountId: string;
|
|
461
398
|
}>;
|
|
462
399
|
export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
463
400
|
accountName: z.ZodNullable<z.ZodString>;
|
|
@@ -605,3 +542,4 @@ export type AcceptUpworkInvitation = z.infer<typeof acceptUpworkInvitationSchema
|
|
|
605
542
|
export type AcceptUpworkInvitationResponse = z.infer<typeof acceptUpworkInvitationResponseSchema>;
|
|
606
543
|
export type ReconnectBidderAccountRequestBody = z.infer<typeof reconnectBidderAccountRequestBodySchema>;
|
|
607
544
|
export type ReconnectBidderAccountResponse = z.infer<typeof reconnectBidderAccountResponseSchema>;
|
|
545
|
+
export type ConnectUpworkAccount = z.infer<typeof connectUpworkAccountSchema>;
|
|
@@ -27,8 +27,8 @@ export declare const scraperAccountSchema: z.ZodObject<{
|
|
|
27
27
|
proxyId: string | null;
|
|
28
28
|
createdAt: number;
|
|
29
29
|
updatedAt: number;
|
|
30
|
-
multiloginProfileId: string | null;
|
|
31
30
|
isActive: boolean;
|
|
31
|
+
multiloginProfileId: string | null;
|
|
32
32
|
isProtected?: boolean | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
|
|
@@ -41,8 +41,8 @@ export declare const scraperAccountSchema: z.ZodObject<{
|
|
|
41
41
|
proxyId: string | null;
|
|
42
42
|
createdAt: number;
|
|
43
43
|
updatedAt: number;
|
|
44
|
-
multiloginProfileId: string | null;
|
|
45
44
|
isActive: boolean;
|
|
45
|
+
multiloginProfileId: string | null;
|
|
46
46
|
isProtected?: boolean | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export declare const createScraperAccountSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
@@ -60,7 +60,7 @@ export declare const createScraperAccountSchema: z.ZodObject<z.objectUtil.extend
|
|
|
60
60
|
updatedAt: z.ZodNumber;
|
|
61
61
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
}, "type" | "email" | "region" | "password" | "securityQuestionAnswer" | "isActive">, {
|
|
63
|
-
proxyCountry: z.ZodOptional<z.ZodEnum<["US", "CA", "GB", "AF", "
|
|
63
|
+
proxyCountry: z.ZodOptional<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"]>>;
|
|
64
64
|
rotatingProxy: z.ZodOptional<z.ZodBoolean>;
|
|
65
65
|
}>, "strip", z.ZodTypeAny, {
|
|
66
66
|
type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
|
|
@@ -69,7 +69,7 @@ export declare const createScraperAccountSchema: z.ZodObject<z.objectUtil.extend
|
|
|
69
69
|
password: string;
|
|
70
70
|
securityQuestionAnswer: string | null;
|
|
71
71
|
isActive: boolean;
|
|
72
|
-
proxyCountry?: "US" | "CA" | "GB" | "AF" | "
|
|
72
|
+
proxyCountry?: "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" | undefined;
|
|
73
73
|
rotatingProxy?: boolean | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
|
|
@@ -78,7 +78,7 @@ export declare const createScraperAccountSchema: z.ZodObject<z.objectUtil.extend
|
|
|
78
78
|
password: string;
|
|
79
79
|
securityQuestionAnswer: string | null;
|
|
80
80
|
isActive: boolean;
|
|
81
|
-
proxyCountry?: "US" | "CA" | "GB" | "AF" | "
|
|
81
|
+
proxyCountry?: "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" | undefined;
|
|
82
82
|
rotatingProxy?: boolean | undefined;
|
|
83
83
|
}>;
|
|
84
84
|
export declare const updateScraperAccountSchema: z.ZodObject<{
|
|
@@ -92,8 +92,8 @@ export declare const updateScraperAccountSchema: z.ZodObject<{
|
|
|
92
92
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
93
93
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
94
94
|
isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
95
|
-
multiloginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
95
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
multiloginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
|
|
99
99
|
email?: string | undefined;
|
|
@@ -105,8 +105,8 @@ export declare const updateScraperAccountSchema: z.ZodObject<{
|
|
|
105
105
|
createdAt?: number | undefined;
|
|
106
106
|
updatedAt?: number | undefined;
|
|
107
107
|
isProtected?: boolean | undefined;
|
|
108
|
-
multiloginProfileId?: string | null | undefined;
|
|
109
108
|
isActive?: boolean | undefined;
|
|
109
|
+
multiloginProfileId?: string | null | undefined;
|
|
110
110
|
}, {
|
|
111
111
|
type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
|
|
112
112
|
email?: string | undefined;
|
|
@@ -118,8 +118,8 @@ export declare const updateScraperAccountSchema: z.ZodObject<{
|
|
|
118
118
|
createdAt?: number | undefined;
|
|
119
119
|
updatedAt?: number | undefined;
|
|
120
120
|
isProtected?: boolean | undefined;
|
|
121
|
-
multiloginProfileId?: string | null | undefined;
|
|
122
121
|
isActive?: boolean | undefined;
|
|
122
|
+
multiloginProfileId?: string | null | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
export type ScraperAccountType = z.infer<typeof scraperAccountTypeEnum>;
|
|
125
125
|
export interface ScraperAccount extends z.infer<typeof scraperAccountSchema> {
|
|
@@ -18,6 +18,7 @@ import { JobNoLongerAvailableException } from './job-no-longer-available.excepti
|
|
|
18
18
|
import { LoginFailedException } from './login-failed.exception';
|
|
19
19
|
import { MultiloginAuthenticationException } from './multilogin-authentication.exception';
|
|
20
20
|
import { NavigationTimeoutException } from './navigation-timeout.exception';
|
|
21
|
+
import { NetworkRestrictionsException } from './network-restrictions.exception';
|
|
21
22
|
import { NewBrowserPageException } from './new-browser-page.exception';
|
|
22
23
|
import { NewPageException } from './new-page.exception';
|
|
23
24
|
import { GoToUrlException } from './open-new-url.exception';
|
|
@@ -32,6 +33,7 @@ import { QuestionPairNotMatchingException } from './question-pair-not-matching.e
|
|
|
32
33
|
import { SelectAgencyException } from './select-agency.exception';
|
|
33
34
|
import { SelectContractorException } from './select-contractor.exception';
|
|
34
35
|
import { SelectorNotFoundError } from './selector-not-found.exception';
|
|
36
|
+
import { TwoFactorPresentException } from './two-factor-present.exception';
|
|
35
37
|
import { TypedValueInFieldNotMatchingException } from './typed-value-not-matching.exception';
|
|
36
38
|
import { TypingInputFieldException } from './typing-input-field.exception';
|
|
37
39
|
import { WaitForFunctionTimeoutError } from './wait-for-function-timeout.exception';
|
|
@@ -55,6 +57,7 @@ export * from './job-no-longer-available.exception';
|
|
|
55
57
|
export * from './login-failed.exception';
|
|
56
58
|
export * from './multilogin-authentication.exception';
|
|
57
59
|
export * from './navigation-timeout.exception';
|
|
60
|
+
export * from './network-restrictions.exception';
|
|
58
61
|
export * from './new-browser-page.exception';
|
|
59
62
|
export * from './new-page.exception';
|
|
60
63
|
export * from './open-new-url.exception';
|
|
@@ -69,7 +72,8 @@ export * from './question-pair-not-matching.exception';
|
|
|
69
72
|
export * from './select-agency.exception';
|
|
70
73
|
export * from './select-contractor.exception';
|
|
71
74
|
export * from './selector-not-found.exception';
|
|
75
|
+
export * from './two-factor-present.exception';
|
|
72
76
|
export * from './typed-value-not-matching.exception';
|
|
73
77
|
export * from './typing-input-field.exception';
|
|
74
78
|
export * from './wait-for-function-timeout.exception';
|
|
75
|
-
export type BiddingError = CloudflareChallengeFailedException | DeleteMultiloginProfileException | DropdownOptionNotPresentException | ElementNotClickableException | EvaluateFunctionException | GetMultiloginBrowserException | InitBrowserException | InsufficientConnectsException | InvalidJobUrlException | LoginFailedException | NavigationTimeoutException | NewBrowserPageException | NewPageException | GoToUrlException | ParseConnectsException | ProposalErrorAlertException | ProposalFormWarningAlertException | ProposalSubmitFailedException | PuppeteerConnectionErrorException | QuestionPairNotMatchingException | SelectAgencyException | SelectContractorException | SelectorNotFoundError | TypedValueInFieldNotMatchingException | TypingInputFieldException | WaitForFunctionTimeoutError | IncorrectSecurityQuestionAnswerException | EvaluateElementException | MultiloginAuthenticationException | InvalidCredentialsException | ProposalGenerationFailedException | BoostAboveMaxConnectsException | PrivateJobException | JobNoLongerAvailableException | JobAlreadyProcessedInAnotherCampaignException | JobAlreadyBiddedOnException | JobAlreadyHiredException;
|
|
79
|
+
export type BiddingError = CloudflareChallengeFailedException | DeleteMultiloginProfileException | DropdownOptionNotPresentException | ElementNotClickableException | EvaluateFunctionException | GetMultiloginBrowserException | InitBrowserException | InsufficientConnectsException | InvalidJobUrlException | LoginFailedException | NavigationTimeoutException | NewBrowserPageException | NewPageException | GoToUrlException | ParseConnectsException | ProposalErrorAlertException | ProposalFormWarningAlertException | ProposalSubmitFailedException | PuppeteerConnectionErrorException | QuestionPairNotMatchingException | SelectAgencyException | SelectContractorException | SelectorNotFoundError | TypedValueInFieldNotMatchingException | TypingInputFieldException | WaitForFunctionTimeoutError | IncorrectSecurityQuestionAnswerException | EvaluateElementException | MultiloginAuthenticationException | InvalidCredentialsException | ProposalGenerationFailedException | BoostAboveMaxConnectsException | PrivateJobException | JobNoLongerAvailableException | JobAlreadyProcessedInAnotherCampaignException | JobAlreadyBiddedOnException | JobAlreadyHiredException | NetworkRestrictionsException | TwoFactorPresentException;
|
|
@@ -82,6 +82,8 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
82
82
|
replied: z.ZodNumber;
|
|
83
83
|
won: z.ZodNumber;
|
|
84
84
|
leadsAnalyzed: z.ZodNumber;
|
|
85
|
+
totalBiddingAmount: z.ZodNumber;
|
|
86
|
+
totalBoostedAmount: z.ZodNumber;
|
|
85
87
|
}, "strip", z.ZodTypeAny, {
|
|
86
88
|
label: string;
|
|
87
89
|
contacted: number;
|
|
@@ -90,6 +92,8 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
90
92
|
won: number;
|
|
91
93
|
leadsAnalyzed: number;
|
|
92
94
|
contactedSync: number;
|
|
95
|
+
totalBiddingAmount: number;
|
|
96
|
+
totalBoostedAmount: number;
|
|
93
97
|
}, {
|
|
94
98
|
label: string;
|
|
95
99
|
contacted: number;
|
|
@@ -98,6 +102,8 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
98
102
|
won: number;
|
|
99
103
|
leadsAnalyzed: number;
|
|
100
104
|
contactedSync: number;
|
|
105
|
+
totalBiddingAmount: number;
|
|
106
|
+
totalBoostedAmount: number;
|
|
101
107
|
}>, "many">;
|
|
102
108
|
}, "strip", z.ZodTypeAny, {
|
|
103
109
|
totalStats: {
|
|
@@ -121,6 +127,8 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
121
127
|
won: number;
|
|
122
128
|
leadsAnalyzed: number;
|
|
123
129
|
contactedSync: number;
|
|
130
|
+
totalBiddingAmount: number;
|
|
131
|
+
totalBoostedAmount: number;
|
|
124
132
|
}[];
|
|
125
133
|
}, {
|
|
126
134
|
totalStats: {
|
|
@@ -144,6 +152,8 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
144
152
|
won: number;
|
|
145
153
|
leadsAnalyzed: number;
|
|
146
154
|
contactedSync: number;
|
|
155
|
+
totalBiddingAmount: number;
|
|
156
|
+
totalBoostedAmount: number;
|
|
147
157
|
}[];
|
|
148
158
|
}>;
|
|
149
159
|
export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
|