lancer-shared 1.2.334 → 1.2.336
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 +8 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +8 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/campaign/campaign-analytics.d.ts +16 -0
- package/dist/schemas/campaign/campaign-insights.d.ts +3 -0
- package/dist/schemas/proxy/proxy-available-replacements.d.ts +1 -1
- package/dist/schemas/proxy/proxy.d.ts +15 -7
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
|
|
|
15
15
|
submissionDelayCount: z.ZodOptional<z.ZodNumber>;
|
|
16
16
|
totalBiddingAmount: z.ZodOptional<z.ZodNumber>;
|
|
17
17
|
totalBoostedAmount: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
effectiveBoostedAmount: z.ZodOptional<z.ZodNumber>;
|
|
18
19
|
replyRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
19
20
|
viewRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
20
21
|
contactedByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
@@ -73,6 +74,7 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
|
|
|
73
74
|
submissionDelayCount?: number | undefined;
|
|
74
75
|
totalBiddingAmount?: number | undefined;
|
|
75
76
|
totalBoostedAmount?: number | undefined;
|
|
77
|
+
effectiveBoostedAmount?: number | undefined;
|
|
76
78
|
replyRateByTemplateId?: Record<string, number> | undefined;
|
|
77
79
|
viewRateByTemplateId?: Record<string, number> | undefined;
|
|
78
80
|
contactedByTemplateId?: Record<string, number> | undefined;
|
|
@@ -107,6 +109,7 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
|
|
|
107
109
|
submissionDelayCount?: number | undefined;
|
|
108
110
|
totalBiddingAmount?: number | undefined;
|
|
109
111
|
totalBoostedAmount?: number | undefined;
|
|
112
|
+
effectiveBoostedAmount?: number | undefined;
|
|
110
113
|
replyRateByTemplateId?: Record<string, number> | undefined;
|
|
111
114
|
viewRateByTemplateId?: Record<string, number> | undefined;
|
|
112
115
|
contactedByTemplateId?: Record<string, number> | undefined;
|
|
@@ -143,6 +146,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
143
146
|
submissionDelayCount: z.ZodOptional<z.ZodNumber>;
|
|
144
147
|
totalBiddingAmount: z.ZodOptional<z.ZodNumber>;
|
|
145
148
|
totalBoostedAmount: z.ZodOptional<z.ZodNumber>;
|
|
149
|
+
effectiveBoostedAmount: z.ZodOptional<z.ZodNumber>;
|
|
146
150
|
replyRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
147
151
|
viewRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
148
152
|
contactedByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
@@ -201,6 +205,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
201
205
|
submissionDelayCount?: number | undefined;
|
|
202
206
|
totalBiddingAmount?: number | undefined;
|
|
203
207
|
totalBoostedAmount?: number | undefined;
|
|
208
|
+
effectiveBoostedAmount?: number | undefined;
|
|
204
209
|
replyRateByTemplateId?: Record<string, number> | undefined;
|
|
205
210
|
viewRateByTemplateId?: Record<string, number> | undefined;
|
|
206
211
|
contactedByTemplateId?: Record<string, number> | undefined;
|
|
@@ -235,6 +240,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
235
240
|
submissionDelayCount?: number | undefined;
|
|
236
241
|
totalBiddingAmount?: number | undefined;
|
|
237
242
|
totalBoostedAmount?: number | undefined;
|
|
243
|
+
effectiveBoostedAmount?: number | undefined;
|
|
238
244
|
replyRateByTemplateId?: Record<string, number> | undefined;
|
|
239
245
|
viewRateByTemplateId?: Record<string, number> | undefined;
|
|
240
246
|
contactedByTemplateId?: Record<string, number> | undefined;
|
|
@@ -266,6 +272,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
266
272
|
submissionDelayCount: z.ZodNumber;
|
|
267
273
|
totalBiddingAmount: z.ZodNumber;
|
|
268
274
|
totalBoostedAmount: z.ZodNumber;
|
|
275
|
+
effectiveBoostedAmount: z.ZodNumber;
|
|
269
276
|
replyRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
270
277
|
viewRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
271
278
|
contactedByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
@@ -281,6 +288,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
281
288
|
submissionDelayCount: number;
|
|
282
289
|
totalBiddingAmount: number;
|
|
283
290
|
totalBoostedAmount: number;
|
|
291
|
+
effectiveBoostedAmount: number;
|
|
284
292
|
replyRateByTemplateId: Record<string, number>;
|
|
285
293
|
viewRateByTemplateId: Record<string, number>;
|
|
286
294
|
contactedByTemplateId: Record<string, number>;
|
|
@@ -296,6 +304,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
296
304
|
submissionDelayCount: number;
|
|
297
305
|
totalBiddingAmount: number;
|
|
298
306
|
totalBoostedAmount: number;
|
|
307
|
+
effectiveBoostedAmount: number;
|
|
299
308
|
replyRateByTemplateId: Record<string, number>;
|
|
300
309
|
viewRateByTemplateId: Record<string, number>;
|
|
301
310
|
contactedByTemplateId: Record<string, number>;
|
|
@@ -317,6 +326,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
317
326
|
submissionDelayCount?: number | undefined;
|
|
318
327
|
totalBiddingAmount?: number | undefined;
|
|
319
328
|
totalBoostedAmount?: number | undefined;
|
|
329
|
+
effectiveBoostedAmount?: number | undefined;
|
|
320
330
|
replyRateByTemplateId?: Record<string, number> | undefined;
|
|
321
331
|
viewRateByTemplateId?: Record<string, number> | undefined;
|
|
322
332
|
contactedByTemplateId?: Record<string, number> | undefined;
|
|
@@ -348,6 +358,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
348
358
|
submissionDelayCount: number;
|
|
349
359
|
totalBiddingAmount: number;
|
|
350
360
|
totalBoostedAmount: number;
|
|
361
|
+
effectiveBoostedAmount: number;
|
|
351
362
|
replyRateByTemplateId: Record<string, number>;
|
|
352
363
|
viewRateByTemplateId: Record<string, number>;
|
|
353
364
|
contactedByTemplateId: Record<string, number>;
|
|
@@ -369,6 +380,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
369
380
|
submissionDelayCount?: number | undefined;
|
|
370
381
|
totalBiddingAmount?: number | undefined;
|
|
371
382
|
totalBoostedAmount?: number | undefined;
|
|
383
|
+
effectiveBoostedAmount?: number | undefined;
|
|
372
384
|
replyRateByTemplateId?: Record<string, number> | undefined;
|
|
373
385
|
viewRateByTemplateId?: Record<string, number> | undefined;
|
|
374
386
|
contactedByTemplateId?: Record<string, number> | undefined;
|
|
@@ -400,6 +412,7 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
|
|
|
400
412
|
submissionDelayCount: number;
|
|
401
413
|
totalBiddingAmount: number;
|
|
402
414
|
totalBoostedAmount: number;
|
|
415
|
+
effectiveBoostedAmount: number;
|
|
403
416
|
replyRateByTemplateId: Record<string, number>;
|
|
404
417
|
viewRateByTemplateId: Record<string, number>;
|
|
405
418
|
contactedByTemplateId: Record<string, number>;
|
|
@@ -416,6 +429,7 @@ export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
|
|
|
416
429
|
submissionDelayCount: z.ZodNumber;
|
|
417
430
|
totalBiddingAmount: z.ZodNumber;
|
|
418
431
|
totalBoostedAmount: z.ZodNumber;
|
|
432
|
+
effectiveBoostedAmount: z.ZodNumber;
|
|
419
433
|
replyRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
420
434
|
viewRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
421
435
|
contactedByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
@@ -429,6 +443,7 @@ export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
|
|
|
429
443
|
submissionDelayCount: number;
|
|
430
444
|
totalBiddingAmount: number;
|
|
431
445
|
totalBoostedAmount: number;
|
|
446
|
+
effectiveBoostedAmount: number;
|
|
432
447
|
replyRateByTemplateId: Record<string, number>;
|
|
433
448
|
viewRateByTemplateId: Record<string, number>;
|
|
434
449
|
contactedByTemplateId: Record<string, number>;
|
|
@@ -443,6 +458,7 @@ export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
|
|
|
443
458
|
submissionDelayCount: number;
|
|
444
459
|
totalBiddingAmount: number;
|
|
445
460
|
totalBoostedAmount: number;
|
|
461
|
+
effectiveBoostedAmount: number;
|
|
446
462
|
replyRateByTemplateId: Record<string, number>;
|
|
447
463
|
viewRateByTemplateId: Record<string, number>;
|
|
448
464
|
contactedByTemplateId: Record<string, number>;
|
|
@@ -56,6 +56,7 @@ export declare const campaignInsightsSchema: z.ZodObject<{
|
|
|
56
56
|
}>;
|
|
57
57
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
58
58
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
59
|
+
effectiveBoostedAmount: z.ZodDefault<z.ZodNumber>;
|
|
59
60
|
boostedProposalsCount: z.ZodDefault<z.ZodNumber>;
|
|
60
61
|
totalProposalsCount: z.ZodDefault<z.ZodNumber>;
|
|
61
62
|
totalExpenses: z.ZodDefault<z.ZodNumber>;
|
|
@@ -72,6 +73,7 @@ export declare const campaignInsightsSchema: z.ZodObject<{
|
|
|
72
73
|
}, "strip", z.ZodTypeAny, {
|
|
73
74
|
biddingAmount: number;
|
|
74
75
|
boostingAmount: number;
|
|
76
|
+
effectiveBoostedAmount: number;
|
|
75
77
|
pipelineHealth: {
|
|
76
78
|
[x: string]: {
|
|
77
79
|
total: number;
|
|
@@ -112,6 +114,7 @@ export declare const campaignInsightsSchema: z.ZodObject<{
|
|
|
112
114
|
suitabilityRange90to100: number;
|
|
113
115
|
biddingAmount?: number | undefined;
|
|
114
116
|
boostingAmount?: number | undefined;
|
|
117
|
+
effectiveBoostedAmount?: number | undefined;
|
|
115
118
|
boostedProposalsCount?: number | undefined;
|
|
116
119
|
totalProposalsCount?: number | undefined;
|
|
117
120
|
totalExpenses?: number | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const proxyAvailableReplacementsSchema: z.ZodRecord<z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal"]>, z.ZodNumber>;
|
|
2
|
+
export declare const proxyAvailableReplacementsSchema: z.ZodRecord<z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal", "mars"]>, z.ZodNumber>;
|
|
3
3
|
export interface ProxyAvailableReplacements extends z.infer<typeof proxyAvailableReplacementsSchema> {
|
|
4
4
|
}
|
|
@@ -3,8 +3,9 @@ import { BidderAccount, ScraperAccount } from '../account';
|
|
|
3
3
|
import { Region } from '../shared';
|
|
4
4
|
import { proxyCountryEnum } from './proxy-country';
|
|
5
5
|
export declare const proxyStatusSchema: z.ZodEnum<["invalid", "valid", "pending_validation"]>;
|
|
6
|
-
export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal"]>;
|
|
6
|
+
export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal", "mars"]>;
|
|
7
7
|
export declare const proxyTypeSchema: z.ZodEnum<["rotating", "static"]>;
|
|
8
|
+
export declare const proxyProtocolSchema: z.ZodEnum<["socks5", "http"]>;
|
|
8
9
|
export declare const proxySchema: z.ZodObject<{
|
|
9
10
|
id: z.ZodString;
|
|
10
11
|
externalId: z.ZodString;
|
|
@@ -12,7 +13,7 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
12
13
|
port: z.ZodNumber;
|
|
13
14
|
username: z.ZodString;
|
|
14
15
|
password: z.ZodString;
|
|
15
|
-
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal"]>;
|
|
16
|
+
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal", "mars"]>;
|
|
16
17
|
ip: z.ZodString;
|
|
17
18
|
isProxy: z.ZodNullable<z.ZodBoolean>;
|
|
18
19
|
claimedCountry: 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"]>;
|
|
@@ -22,6 +23,7 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
22
23
|
region: z.ZodNullable<z.ZodString>;
|
|
23
24
|
accountId: z.ZodNullable<z.ZodString>;
|
|
24
25
|
type: z.ZodEnum<["rotating", "static"]>;
|
|
26
|
+
protocol: z.ZodOptional<z.ZodNullable<z.ZodEnum<["socks5", "http"]>>>;
|
|
25
27
|
}, "strip", z.ZodTypeAny, {
|
|
26
28
|
type: "rotating" | "static";
|
|
27
29
|
id: string;
|
|
@@ -35,10 +37,11 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
35
37
|
city: string | null;
|
|
36
38
|
externalId: string;
|
|
37
39
|
password: string;
|
|
38
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal";
|
|
40
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal" | "mars";
|
|
39
41
|
isProxy: boolean | null;
|
|
40
42
|
claimedCountry: "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";
|
|
41
43
|
accountId: string | null;
|
|
44
|
+
protocol?: "socks5" | "http" | null | undefined;
|
|
42
45
|
}, {
|
|
43
46
|
type: "rotating" | "static";
|
|
44
47
|
id: string;
|
|
@@ -52,10 +55,11 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
52
55
|
city: string | null;
|
|
53
56
|
externalId: string;
|
|
54
57
|
password: string;
|
|
55
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal";
|
|
58
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal" | "mars";
|
|
56
59
|
isProxy: boolean | null;
|
|
57
60
|
claimedCountry: "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";
|
|
58
61
|
accountId: string | null;
|
|
62
|
+
protocol?: "socks5" | "http" | null | undefined;
|
|
59
63
|
}>;
|
|
60
64
|
export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
61
65
|
id: z.ZodString;
|
|
@@ -64,7 +68,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
64
68
|
port: z.ZodNumber;
|
|
65
69
|
username: z.ZodString;
|
|
66
70
|
password: z.ZodString;
|
|
67
|
-
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal"]>;
|
|
71
|
+
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata", "iproyal", "mars"]>;
|
|
68
72
|
ip: z.ZodString;
|
|
69
73
|
isProxy: z.ZodNullable<z.ZodBoolean>;
|
|
70
74
|
claimedCountry: 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"]>;
|
|
@@ -74,6 +78,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
74
78
|
region: z.ZodNullable<z.ZodString>;
|
|
75
79
|
accountId: z.ZodNullable<z.ZodString>;
|
|
76
80
|
type: z.ZodEnum<["rotating", "static"]>;
|
|
81
|
+
protocol: z.ZodOptional<z.ZodNullable<z.ZodEnum<["socks5", "http"]>>>;
|
|
77
82
|
}, "id" | "country" | "status" | "city" | "accountId">, "strip", z.ZodTypeAny, {
|
|
78
83
|
type: "rotating" | "static";
|
|
79
84
|
port: number;
|
|
@@ -83,9 +88,10 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
83
88
|
ip: string;
|
|
84
89
|
externalId: string;
|
|
85
90
|
password: string;
|
|
86
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal";
|
|
91
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal" | "mars";
|
|
87
92
|
isProxy: boolean | null;
|
|
88
93
|
claimedCountry: "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";
|
|
94
|
+
protocol?: "socks5" | "http" | null | undefined;
|
|
89
95
|
}, {
|
|
90
96
|
type: "rotating" | "static";
|
|
91
97
|
port: number;
|
|
@@ -95,9 +101,10 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
95
101
|
ip: string;
|
|
96
102
|
externalId: string;
|
|
97
103
|
password: string;
|
|
98
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal";
|
|
104
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal" | "mars";
|
|
99
105
|
isProxy: boolean | null;
|
|
100
106
|
claimedCountry: "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";
|
|
107
|
+
protocol?: "socks5" | "http" | null | undefined;
|
|
101
108
|
}>;
|
|
102
109
|
export declare const refreshRotatingProxiesRequestBodySchema: z.ZodObject<{
|
|
103
110
|
region: z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>;
|
|
@@ -113,6 +120,7 @@ export interface Proxy extends z.infer<typeof proxySchema> {
|
|
|
113
120
|
account?: ScraperAccount | BidderAccount;
|
|
114
121
|
}
|
|
115
122
|
export type ProxyType = z.infer<typeof proxyTypeSchema>;
|
|
123
|
+
export type ProxyProtocol = z.infer<typeof proxyProtocolSchema>;
|
|
116
124
|
export interface ExternalProxy extends z.infer<typeof externalProxySchema> {
|
|
117
125
|
claimedCountry: ProxyCountry;
|
|
118
126
|
type: ProxyType;
|