lancer-shared 1.2.257 → 1.2.259
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 +3 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +3 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +5 -0
- package/dist/schemas/bidder/bid.d.ts +49 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +9 -0
- package/dist/schemas/golden-dataset/sample.d.ts +3 -3
- package/dist/schemas/lead/index.d.ts +23 -11
- package/dist/schemas/scraper/scrape-payload.d.ts +5 -0
- package/package.json +1 -1
package/dist/bundle.esm.js
CHANGED
|
@@ -6772,6 +6772,7 @@ const leadSchema = upworkJobSchema
|
|
|
6772
6772
|
bidDecision: z.enum(['proceeded', 'rejected']).nullable(),
|
|
6773
6773
|
rejectedFeedback: stringType().nullable(),
|
|
6774
6774
|
applicationId: stringType().nullable(),
|
|
6775
|
+
campaignName: stringType().optional(),
|
|
6775
6776
|
})
|
|
6776
6777
|
.omit({
|
|
6777
6778
|
processed: true,
|
|
@@ -6809,6 +6810,7 @@ const getCampaignLeadsRequestQuerySchema = z.object({
|
|
|
6809
6810
|
cursor: z.string().optional(),
|
|
6810
6811
|
limit: z.number().default(20).optional(),
|
|
6811
6812
|
status: getCampaignLeadsStatusEnum.optional(),
|
|
6813
|
+
campaignId: z.string().optional(),
|
|
6812
6814
|
});
|
|
6813
6815
|
const getCampaignLeadsResponseSchema = z.object({
|
|
6814
6816
|
data: z.array(leadSchema),
|
|
@@ -8460,7 +8462,7 @@ const createSampleSchema = z.object({
|
|
|
8460
8462
|
});
|
|
8461
8463
|
const getSamplesRequestSchema = z.object({
|
|
8462
8464
|
organizationId: z.string(),
|
|
8463
|
-
campaignId: z.string(),
|
|
8465
|
+
campaignId: z.string().optional(),
|
|
8464
8466
|
leadIds: z.array(z.string()),
|
|
8465
8467
|
});
|
|
8466
8468
|
const updateSampleSchema = z.object({
|