lancer-shared 1.2.297 → 1.2.299
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 +27 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +27 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +168 -0
- package/dist/schemas/upwork-analytics/index.d.ts +13 -2
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -7417,6 +7417,27 @@ const campaignAnalyticsSchema = z.object({
|
|
|
7417
7417
|
replyRateByTemplateId: z.record(z.string(), z.number()).optional(),
|
|
7418
7418
|
viewRateByTemplateId: z.record(z.string(), z.number()).optional(),
|
|
7419
7419
|
contactedByTemplateId: z.record(z.string(), z.number()).optional(),
|
|
7420
|
+
contactedByContractor: z
|
|
7421
|
+
.array(z.object({
|
|
7422
|
+
contractorName: z.string(),
|
|
7423
|
+
specialisedProfile: z.string(),
|
|
7424
|
+
count: z.number(),
|
|
7425
|
+
}))
|
|
7426
|
+
.optional(),
|
|
7427
|
+
viewedByContractor: z
|
|
7428
|
+
.array(z.object({
|
|
7429
|
+
contractorName: z.string(),
|
|
7430
|
+
specialisedProfile: z.string(),
|
|
7431
|
+
count: z.number(),
|
|
7432
|
+
}))
|
|
7433
|
+
.optional(),
|
|
7434
|
+
repliedByContractor: z
|
|
7435
|
+
.array(z.object({
|
|
7436
|
+
contractorName: z.string(),
|
|
7437
|
+
specialisedProfile: z.string(),
|
|
7438
|
+
count: z.number(),
|
|
7439
|
+
}))
|
|
7440
|
+
.optional(),
|
|
7420
7441
|
});
|
|
7421
7442
|
const campaignAnalyticsStatsSchema = z.object({
|
|
7422
7443
|
totalStats: campaignAnalyticsSchema,
|
|
@@ -9624,6 +9645,10 @@ const getTop10CategoriesByAvgPaidPerProjectResponseSchema = z.array(z.object({
|
|
|
9624
9645
|
category: z.string(),
|
|
9625
9646
|
avgPaidPerProject: z.number(),
|
|
9626
9647
|
}));
|
|
9648
|
+
const getTop20CategoriesByAvgHourlyRatePaidResponseSchema = z.array(z.object({
|
|
9649
|
+
category: z.string(),
|
|
9650
|
+
avgHourlyRatePaid: z.number(),
|
|
9651
|
+
}));
|
|
9627
9652
|
|
|
9628
9653
|
const breakdownSchema = objectType({
|
|
9629
9654
|
suitability: numberType(),
|
|
@@ -15680,6 +15705,7 @@ const ROUTES = {
|
|
|
15680
15705
|
TOP_10_CATEGORIES_BY_CLIENT_HIRE_RATE: 'upwork-analytics/top-10-categories-by-client-hire-rate',
|
|
15681
15706
|
TOP_10_CATEGORIES_BY_AVG_HOURLY_BUDGET: 'upwork-analytics/top-10-categories-by-avg-hourly-budget',
|
|
15682
15707
|
TOP_10_CATEGORIES_BY_AVG_PAID_PER_PROJECT: 'upwork-analytics/top-10-categories-by-avg-paid-per-project',
|
|
15708
|
+
TOP_20_CATEGORIES_BY_AVG_HOURLY_RATE_PAID: 'upwork-analytics/top-20-categories-by-avg-hourly-rate-paid',
|
|
15683
15709
|
},
|
|
15684
15710
|
BIDDER_INSTANCES: {
|
|
15685
15711
|
BASE: 'bidder-instances',
|
|
@@ -24511,6 +24537,7 @@ exports.getTop10CountriesByClientHireRateResponseSchema = getTop10CountriesByCli
|
|
|
24511
24537
|
exports.getTop10CountriesByClientTotalSpentResponseSchema = getTop10CountriesByClientTotalSpentResponseSchema;
|
|
24512
24538
|
exports.getTop10CountriesByJobsPostedResponseSchema = getTop10CountriesByJobsPostedResponseSchema;
|
|
24513
24539
|
exports.getTop10SkillsResponseSchema = getTop10SkillsResponseSchema;
|
|
24540
|
+
exports.getTop20CategoriesByAvgHourlyRatePaidResponseSchema = getTop20CategoriesByAvgHourlyRatePaidResponseSchema;
|
|
24514
24541
|
exports.goToUrlException = goToUrlException;
|
|
24515
24542
|
exports.hasQuestionsEnum = hasQuestionsEnum;
|
|
24516
24543
|
exports.incorrectSecurityQuestionAnswerException = incorrectSecurityQuestionAnswerException;
|