lancer-shared 1.2.295 → 1.2.297
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 +145 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +122 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +27 -0
- package/dist/schemas/account/bidder-account.d.ts +3 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/proxy/proxy-country.d.ts +1 -0
- package/dist/schemas/proxy/proxy.d.ts +6 -0
- package/dist/schemas/upwork-analytics/index.d.ts +200 -0
- package/package.json +1 -1
|
@@ -163,6 +163,7 @@ export declare const ROUTES: {
|
|
|
163
163
|
readonly DISMISS_CONNECTION_ERROR: (id: string) => string;
|
|
164
164
|
readonly CONNECT_UPWORK_ACCOUNT: (id: string) => string;
|
|
165
165
|
readonly RETRY_CONNECT_UPWORK_ACCOUNT: (id: string, bidderId: string) => string;
|
|
166
|
+
readonly AVAILABLE_REGIONS: (id: string) => string;
|
|
166
167
|
};
|
|
167
168
|
readonly LEADS_BY_JOB_ID: (organizationId: string, jobId: string) => string;
|
|
168
169
|
readonly UPDATE_CAMPAIGN_PRIORITY: (organizationId: string) => string;
|
|
@@ -270,6 +271,32 @@ export declare const ROUTES: {
|
|
|
270
271
|
readonly BASE: "usage-events";
|
|
271
272
|
readonly BY_ID: (id: string) => string;
|
|
272
273
|
};
|
|
274
|
+
readonly UPWORK_ANALYTICS: {
|
|
275
|
+
readonly BASE: "upwork-analytics";
|
|
276
|
+
readonly JOBS_POSTED: "upwork-analytics/jobs-posted";
|
|
277
|
+
readonly AVERAGE_CLIENT_HIRE_RATE: "upwork-analytics/average-client-hire-rate";
|
|
278
|
+
readonly AVERAGE_CLIENT_TOTAL_SPENT: "upwork-analytics/average-client-total-spent";
|
|
279
|
+
readonly AVERAGE_HOURLY_RATE_BUDGET: "upwork-analytics/average-hourly-rate-budget";
|
|
280
|
+
readonly AVERAGE_FIXED_PRICE_BUDGET: "upwork-analytics/average-fixed-price-budget";
|
|
281
|
+
readonly AVERAGE_PAID_PER_PROJECT: "upwork-analytics/average-paid-per-project";
|
|
282
|
+
readonly JOBS_COUNT_LAST_3_MONTHS: "upwork-analytics/jobs-count-last-3-months";
|
|
283
|
+
readonly JOBS_BY_COUNTRY: "upwork-analytics/jobs-by-country";
|
|
284
|
+
readonly JOBS_BY_CLIENT_TOTAL_SPENT: "upwork-analytics/jobs-by-client-total-spent";
|
|
285
|
+
readonly JOBS_BY_HOUR_POSTED: "upwork-analytics/jobs-by-hour-posted";
|
|
286
|
+
readonly JOBS_BY_DAY_OF_WEEK: "upwork-analytics/jobs-by-day-of-week";
|
|
287
|
+
readonly AVERAGE_HOURLY_RATE_PAID_BY_COUNTRY: "upwork-analytics/average-hourly-rate-paid-by-country";
|
|
288
|
+
readonly TOP_10_SKILLS: "upwork-analytics/top-10-skills";
|
|
289
|
+
readonly TOP_10_COUNTRIES_BY_JOBS_POSTED: "upwork-analytics/top-10-countries-by-jobs-posted";
|
|
290
|
+
readonly TOP_10_COUNTRIES_BY_CLIENT_TOTAL_SPENT: "upwork-analytics/top-10-countries-by-client-total-spent";
|
|
291
|
+
readonly TOP_10_COUNTRIES_BY_CLIENT_HIRE_RATE: "upwork-analytics/top-10-countries-by-client-hire-rate";
|
|
292
|
+
readonly TOP_10_COUNTRIES_BY_AVG_HOURLY_BUDGET: "upwork-analytics/top-10-countries-by-avg-hourly-budget";
|
|
293
|
+
readonly TOP_10_COUNTRIES_BY_AVG_PAID_PER_PROJECT: "upwork-analytics/top-10-countries-by-avg-paid-per-project";
|
|
294
|
+
readonly TOP_10_CATEGORIES_BY_JOBS_POSTED: "upwork-analytics/top-10-categories-by-jobs-posted";
|
|
295
|
+
readonly TOP_10_CATEGORIES_BY_CLIENT_TOTAL_SPENT: "upwork-analytics/top-10-categories-by-client-total-spent";
|
|
296
|
+
readonly TOP_10_CATEGORIES_BY_CLIENT_HIRE_RATE: "upwork-analytics/top-10-categories-by-client-hire-rate";
|
|
297
|
+
readonly TOP_10_CATEGORIES_BY_AVG_HOURLY_BUDGET: "upwork-analytics/top-10-categories-by-avg-hourly-budget";
|
|
298
|
+
readonly TOP_10_CATEGORIES_BY_AVG_PAID_PER_PROJECT: "upwork-analytics/top-10-categories-by-avg-paid-per-project";
|
|
299
|
+
};
|
|
273
300
|
readonly BIDDER_INSTANCES: {
|
|
274
301
|
readonly BASE: "bidder-instances";
|
|
275
302
|
readonly BY_ID: (id: string) => string;
|
|
@@ -175,16 +175,19 @@ export declare const connectUpworkAccountSchema: z.ZodObject<{
|
|
|
175
175
|
password: z.ZodString;
|
|
176
176
|
securityQuestionAnswer: z.ZodNullable<z.ZodString>;
|
|
177
177
|
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"]>;
|
|
178
|
+
targetRegion: z.ZodOptional<z.ZodString>;
|
|
178
179
|
}, "strip", z.ZodTypeAny, {
|
|
179
180
|
email: string;
|
|
180
181
|
password: string;
|
|
181
182
|
securityQuestionAnswer: string | null;
|
|
182
183
|
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";
|
|
184
|
+
targetRegion?: string | undefined;
|
|
183
185
|
}, {
|
|
184
186
|
email: string;
|
|
185
187
|
password: string;
|
|
186
188
|
securityQuestionAnswer: string | null;
|
|
187
189
|
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";
|
|
190
|
+
targetRegion?: string | undefined;
|
|
188
191
|
}>;
|
|
189
192
|
export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
190
193
|
id: z.ZodString;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const proxyCountryEnum: 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"]>;
|
|
3
3
|
export declare const proxyCountryCodeToName: Record<(typeof proxyCountryEnum)['_type'], string>;
|
|
4
|
+
export declare const largeCountries: string[];
|
|
@@ -19,6 +19,7 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
19
19
|
city: z.ZodNullable<z.ZodString>;
|
|
20
20
|
status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
|
|
21
21
|
country: 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"]>>;
|
|
22
|
+
region: z.ZodNullable<z.ZodString>;
|
|
22
23
|
accountId: z.ZodNullable<z.ZodString>;
|
|
23
24
|
type: z.ZodEnum<["rotating", "static"]>;
|
|
24
25
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29,6 +30,7 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
29
30
|
username: string;
|
|
30
31
|
host: string;
|
|
31
32
|
status: "invalid" | "valid" | "pending_validation" | null;
|
|
33
|
+
region: string | null;
|
|
32
34
|
ip: string;
|
|
33
35
|
city: string | null;
|
|
34
36
|
externalId: string;
|
|
@@ -45,6 +47,7 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
45
47
|
username: string;
|
|
46
48
|
host: string;
|
|
47
49
|
status: "invalid" | "valid" | "pending_validation" | null;
|
|
50
|
+
region: string | null;
|
|
48
51
|
ip: string;
|
|
49
52
|
city: string | null;
|
|
50
53
|
externalId: string;
|
|
@@ -68,6 +71,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
68
71
|
city: z.ZodNullable<z.ZodString>;
|
|
69
72
|
status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
|
|
70
73
|
country: 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"]>>;
|
|
74
|
+
region: z.ZodNullable<z.ZodString>;
|
|
71
75
|
accountId: z.ZodNullable<z.ZodString>;
|
|
72
76
|
type: z.ZodEnum<["rotating", "static"]>;
|
|
73
77
|
}, "id" | "country" | "status" | "city" | "accountId">, "strip", z.ZodTypeAny, {
|
|
@@ -75,6 +79,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
75
79
|
port: number;
|
|
76
80
|
username: string;
|
|
77
81
|
host: string;
|
|
82
|
+
region: string | null;
|
|
78
83
|
ip: string;
|
|
79
84
|
externalId: string;
|
|
80
85
|
password: string;
|
|
@@ -86,6 +91,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
86
91
|
port: number;
|
|
87
92
|
username: string;
|
|
88
93
|
host: string;
|
|
94
|
+
region: string | null;
|
|
89
95
|
ip: string;
|
|
90
96
|
externalId: string;
|
|
91
97
|
password: string;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const getJobsPostedResponseSchema: z.ZodNumber;
|
|
3
|
+
export type GetJobsPostedResponse = z.infer<typeof getJobsPostedResponseSchema>;
|
|
4
|
+
export declare const getAverageClientHireRateResponseSchema: z.ZodNumber;
|
|
5
|
+
export type GetAverageClientHireRateResponse = z.infer<typeof getAverageClientHireRateResponseSchema>;
|
|
6
|
+
export declare const getAverageClientTotalSpentResponseSchema: z.ZodNumber;
|
|
7
|
+
export type GetAverageClientTotalSpentResponse = z.infer<typeof getAverageClientTotalSpentResponseSchema>;
|
|
8
|
+
export declare const getAverageHourlyRateBudgetResponseSchema: z.ZodNumber;
|
|
9
|
+
export type GetAverageHourlyRateBudgetResponse = z.infer<typeof getAverageHourlyRateBudgetResponseSchema>;
|
|
10
|
+
export declare const getAverageFixedPriceBudgetResponseSchema: z.ZodNumber;
|
|
11
|
+
export type GetAverageFixedPriceBudgetResponse = z.infer<typeof getAverageFixedPriceBudgetResponseSchema>;
|
|
12
|
+
export declare const getAveragePaidPerProjectResponseSchema: z.ZodNumber;
|
|
13
|
+
export type GetAveragePaidPerProjectResponse = z.infer<typeof getAveragePaidPerProjectResponseSchema>;
|
|
14
|
+
export declare const getJobsCountLast3MonthsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
15
|
+
period: z.ZodString;
|
|
16
|
+
count: z.ZodNumber;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
period: string;
|
|
19
|
+
count: number;
|
|
20
|
+
}, {
|
|
21
|
+
period: string;
|
|
22
|
+
count: number;
|
|
23
|
+
}>, "many">;
|
|
24
|
+
export type GetJobsCountLast3MonthsResponse = z.infer<typeof getJobsCountLast3MonthsResponseSchema>;
|
|
25
|
+
export declare const getJobsByCountryResponseSchema: z.ZodArray<z.ZodObject<{
|
|
26
|
+
country: z.ZodString;
|
|
27
|
+
count: z.ZodNumber;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
country: string;
|
|
30
|
+
count: number;
|
|
31
|
+
}, {
|
|
32
|
+
country: string;
|
|
33
|
+
count: number;
|
|
34
|
+
}>, "many">;
|
|
35
|
+
export type GetJobsByCountryResponse = z.infer<typeof getJobsByCountryResponseSchema>;
|
|
36
|
+
export declare const getAverageHourlyRatePaidByCountryResponseSchema: z.ZodArray<z.ZodObject<{
|
|
37
|
+
country: z.ZodString;
|
|
38
|
+
avgHourlyRatePaid: z.ZodNumber;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
country: string;
|
|
41
|
+
avgHourlyRatePaid: number;
|
|
42
|
+
}, {
|
|
43
|
+
country: string;
|
|
44
|
+
avgHourlyRatePaid: number;
|
|
45
|
+
}>, "many">;
|
|
46
|
+
export type GetAverageHourlyRatePaidByCountryResponse = z.infer<typeof getAverageHourlyRatePaidByCountryResponseSchema>;
|
|
47
|
+
export declare const getJobsByClientTotalSpentResponseSchema: z.ZodArray<z.ZodObject<{
|
|
48
|
+
range: z.ZodString;
|
|
49
|
+
count: z.ZodNumber;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
count: number;
|
|
52
|
+
range: string;
|
|
53
|
+
}, {
|
|
54
|
+
count: number;
|
|
55
|
+
range: string;
|
|
56
|
+
}>, "many">;
|
|
57
|
+
export type GetJobsByClientTotalSpentResponse = z.infer<typeof getJobsByClientTotalSpentResponseSchema>;
|
|
58
|
+
export declare const getJobsByHourPostedResponseSchema: z.ZodArray<z.ZodObject<{
|
|
59
|
+
hour: z.ZodString;
|
|
60
|
+
count: z.ZodNumber;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
hour: string;
|
|
63
|
+
count: number;
|
|
64
|
+
}, {
|
|
65
|
+
hour: string;
|
|
66
|
+
count: number;
|
|
67
|
+
}>, "many">;
|
|
68
|
+
export type GetJobsByHourPostedResponse = z.infer<typeof getJobsByHourPostedResponseSchema>;
|
|
69
|
+
export declare const getJobsByDayOfWeekResponseSchema: z.ZodArray<z.ZodObject<{
|
|
70
|
+
day: z.ZodString;
|
|
71
|
+
count: z.ZodNumber;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
day: string;
|
|
74
|
+
count: number;
|
|
75
|
+
}, {
|
|
76
|
+
day: string;
|
|
77
|
+
count: number;
|
|
78
|
+
}>, "many">;
|
|
79
|
+
export type GetJobsByDayOfWeekResponse = z.infer<typeof getJobsByDayOfWeekResponseSchema>;
|
|
80
|
+
export declare const getTop10SkillsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
81
|
+
skill: z.ZodString;
|
|
82
|
+
count: z.ZodNumber;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
skill: string;
|
|
85
|
+
count: number;
|
|
86
|
+
}, {
|
|
87
|
+
skill: string;
|
|
88
|
+
count: number;
|
|
89
|
+
}>, "many">;
|
|
90
|
+
export type GetTop10SkillsResponse = z.infer<typeof getTop10SkillsResponseSchema>;
|
|
91
|
+
export declare const getTop10CountriesByJobsPostedResponseSchema: z.ZodArray<z.ZodObject<{
|
|
92
|
+
country: z.ZodString;
|
|
93
|
+
jobsPosted: z.ZodNumber;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
country: string;
|
|
96
|
+
jobsPosted: number;
|
|
97
|
+
}, {
|
|
98
|
+
country: string;
|
|
99
|
+
jobsPosted: number;
|
|
100
|
+
}>, "many">;
|
|
101
|
+
export type GetTop10CountriesByJobsPostedResponse = z.infer<typeof getTop10CountriesByJobsPostedResponseSchema>;
|
|
102
|
+
export declare const getTop10CountriesByClientTotalSpentResponseSchema: z.ZodArray<z.ZodObject<{
|
|
103
|
+
country: z.ZodString;
|
|
104
|
+
totalSpent: z.ZodNumber;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
country: string;
|
|
107
|
+
totalSpent: number;
|
|
108
|
+
}, {
|
|
109
|
+
country: string;
|
|
110
|
+
totalSpent: number;
|
|
111
|
+
}>, "many">;
|
|
112
|
+
export type GetTop10CountriesByClientTotalSpentResponse = z.infer<typeof getTop10CountriesByClientTotalSpentResponseSchema>;
|
|
113
|
+
export declare const getTop10CountriesByClientHireRateResponseSchema: z.ZodArray<z.ZodObject<{
|
|
114
|
+
country: z.ZodString;
|
|
115
|
+
hireRate: z.ZodNumber;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
country: string;
|
|
118
|
+
hireRate: number;
|
|
119
|
+
}, {
|
|
120
|
+
country: string;
|
|
121
|
+
hireRate: number;
|
|
122
|
+
}>, "many">;
|
|
123
|
+
export type GetTop10CountriesByClientHireRateResponse = z.infer<typeof getTop10CountriesByClientHireRateResponseSchema>;
|
|
124
|
+
export declare const getTop10CountriesByAvgHourlyBudgetResponseSchema: z.ZodArray<z.ZodObject<{
|
|
125
|
+
country: z.ZodString;
|
|
126
|
+
avgHourlyBudget: z.ZodNumber;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
country: string;
|
|
129
|
+
avgHourlyBudget: number;
|
|
130
|
+
}, {
|
|
131
|
+
country: string;
|
|
132
|
+
avgHourlyBudget: number;
|
|
133
|
+
}>, "many">;
|
|
134
|
+
export type GetTop10CountriesByAvgHourlyBudgetResponse = z.infer<typeof getTop10CountriesByAvgHourlyBudgetResponseSchema>;
|
|
135
|
+
export declare const getTop10CountriesByAvgPaidPerProjectResponseSchema: z.ZodArray<z.ZodObject<{
|
|
136
|
+
country: z.ZodString;
|
|
137
|
+
avgPaidPerProject: z.ZodNumber;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
country: string;
|
|
140
|
+
avgPaidPerProject: number;
|
|
141
|
+
}, {
|
|
142
|
+
country: string;
|
|
143
|
+
avgPaidPerProject: number;
|
|
144
|
+
}>, "many">;
|
|
145
|
+
export type GetTop10CountriesByAvgPaidPerProjectResponse = z.infer<typeof getTop10CountriesByAvgPaidPerProjectResponseSchema>;
|
|
146
|
+
export declare const getTop10CategoriesByJobsPostedResponseSchema: z.ZodArray<z.ZodObject<{
|
|
147
|
+
category: z.ZodString;
|
|
148
|
+
jobsPosted: z.ZodNumber;
|
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
category: string;
|
|
151
|
+
jobsPosted: number;
|
|
152
|
+
}, {
|
|
153
|
+
category: string;
|
|
154
|
+
jobsPosted: number;
|
|
155
|
+
}>, "many">;
|
|
156
|
+
export type GetTop10CategoriesByJobsPostedResponse = z.infer<typeof getTop10CategoriesByJobsPostedResponseSchema>;
|
|
157
|
+
export declare const getTop10CategoriesByClientTotalSpentResponseSchema: z.ZodArray<z.ZodObject<{
|
|
158
|
+
category: z.ZodString;
|
|
159
|
+
totalSpent: z.ZodNumber;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
category: string;
|
|
162
|
+
totalSpent: number;
|
|
163
|
+
}, {
|
|
164
|
+
category: string;
|
|
165
|
+
totalSpent: number;
|
|
166
|
+
}>, "many">;
|
|
167
|
+
export type GetTop10CategoriesByClientTotalSpentResponse = z.infer<typeof getTop10CategoriesByClientTotalSpentResponseSchema>;
|
|
168
|
+
export declare const getTop10CategoriesByClientHireRateResponseSchema: z.ZodArray<z.ZodObject<{
|
|
169
|
+
category: z.ZodString;
|
|
170
|
+
hireRate: z.ZodNumber;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
category: string;
|
|
173
|
+
hireRate: number;
|
|
174
|
+
}, {
|
|
175
|
+
category: string;
|
|
176
|
+
hireRate: number;
|
|
177
|
+
}>, "many">;
|
|
178
|
+
export type GetTop10CategoriesByClientHireRateResponse = z.infer<typeof getTop10CategoriesByClientHireRateResponseSchema>;
|
|
179
|
+
export declare const getTop10CategoriesByAvgHourlyBudgetResponseSchema: z.ZodArray<z.ZodObject<{
|
|
180
|
+
category: z.ZodString;
|
|
181
|
+
avgHourlyBudget: z.ZodNumber;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
category: string;
|
|
184
|
+
avgHourlyBudget: number;
|
|
185
|
+
}, {
|
|
186
|
+
category: string;
|
|
187
|
+
avgHourlyBudget: number;
|
|
188
|
+
}>, "many">;
|
|
189
|
+
export type GetTop10CategoriesByAvgHourlyBudgetResponse = z.infer<typeof getTop10CategoriesByAvgHourlyBudgetResponseSchema>;
|
|
190
|
+
export declare const getTop10CategoriesByAvgPaidPerProjectResponseSchema: z.ZodArray<z.ZodObject<{
|
|
191
|
+
category: z.ZodString;
|
|
192
|
+
avgPaidPerProject: z.ZodNumber;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
category: string;
|
|
195
|
+
avgPaidPerProject: number;
|
|
196
|
+
}, {
|
|
197
|
+
category: string;
|
|
198
|
+
avgPaidPerProject: number;
|
|
199
|
+
}>, "many">;
|
|
200
|
+
export type GetTop10CategoriesByAvgPaidPerProjectResponse = z.infer<typeof getTop10CategoriesByAvgPaidPerProjectResponseSchema>;
|