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.cjs.js
CHANGED
|
@@ -6774,6 +6774,7 @@ const leadSchema = upworkJobSchema
|
|
|
6774
6774
|
bidDecision: z.enum(['proceeded', 'rejected']).nullable(),
|
|
6775
6775
|
rejectedFeedback: stringType().nullable(),
|
|
6776
6776
|
applicationId: stringType().nullable(),
|
|
6777
|
+
campaignName: stringType().optional(),
|
|
6777
6778
|
})
|
|
6778
6779
|
.omit({
|
|
6779
6780
|
processed: true,
|
|
@@ -6811,6 +6812,7 @@ const getCampaignLeadsRequestQuerySchema = z.object({
|
|
|
6811
6812
|
cursor: z.string().optional(),
|
|
6812
6813
|
limit: z.number().default(20).optional(),
|
|
6813
6814
|
status: getCampaignLeadsStatusEnum.optional(),
|
|
6815
|
+
campaignId: z.string().optional(),
|
|
6814
6816
|
});
|
|
6815
6817
|
const getCampaignLeadsResponseSchema = z.object({
|
|
6816
6818
|
data: z.array(leadSchema),
|
|
@@ -8462,7 +8464,7 @@ const createSampleSchema = z.object({
|
|
|
8462
8464
|
});
|
|
8463
8465
|
const getSamplesRequestSchema = z.object({
|
|
8464
8466
|
organizationId: z.string(),
|
|
8465
|
-
campaignId: z.string(),
|
|
8467
|
+
campaignId: z.string().optional(),
|
|
8466
8468
|
leadIds: z.array(z.string()),
|
|
8467
8469
|
});
|
|
8468
8470
|
const updateSampleSchema = z.object({
|