lancer-shared 1.2.127 → 1.2.129
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 +911 -907
- package/dist/schemas/job/job-filters.d.ts +0 -1
- package/dist/schemas/proxy/proxy.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BidderAccount, ScraperAccount } from '../account';
|
|
3
|
+
import { Region } from '../shared';
|
|
3
4
|
import { proxyCountryEnum } from './proxy-country';
|
|
4
5
|
export declare const proxyStatusSchema: z.ZodEnum<["invalid", "valid", "pending_validation"]>;
|
|
5
6
|
export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap"]>;
|
|
@@ -80,6 +81,13 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
80
81
|
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";
|
|
81
82
|
type: "rotating" | "static";
|
|
82
83
|
}>;
|
|
84
|
+
export declare const refreshRotatingProxiesRequestBodySchema: z.ZodObject<{
|
|
85
|
+
region: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
region: "all" | "Worldwide" | "UKOnly" | "USOnly";
|
|
88
|
+
}, {
|
|
89
|
+
region: "all" | "Worldwide" | "UKOnly" | "USOnly";
|
|
90
|
+
}>;
|
|
83
91
|
export type ProxyProvider = z.infer<typeof proxyProviderSchema>;
|
|
84
92
|
export type ProxyCountry = z.infer<typeof proxyCountryEnum>;
|
|
85
93
|
export type ProxyStatus = z.infer<typeof proxyStatusSchema>;
|
|
@@ -91,3 +99,6 @@ export interface ExternalProxy extends z.infer<typeof externalProxySchema> {
|
|
|
91
99
|
claimedCountry: ProxyCountry;
|
|
92
100
|
type: ProxyType;
|
|
93
101
|
}
|
|
102
|
+
export interface RefreshRotatingProxiesRequestBody extends z.infer<typeof refreshRotatingProxiesRequestBodySchema> {
|
|
103
|
+
region: Region;
|
|
104
|
+
}
|