lancer-shared 1.2.248 → 1.2.250
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
CHANGED
|
@@ -6797,12 +6797,17 @@ const findLeadsResponseSchema = z.object({
|
|
|
6797
6797
|
lastMonthTotalWithEmptyFilters: z.number().optional(),
|
|
6798
6798
|
error: z.string().optional(),
|
|
6799
6799
|
});
|
|
6800
|
+
const getCampaignLeadsStatusEnum = z.enum([
|
|
6801
|
+
'all',
|
|
6802
|
+
'suitable',
|
|
6803
|
+
'contacted',
|
|
6804
|
+
'viewed',
|
|
6805
|
+
'replied',
|
|
6806
|
+
]);
|
|
6800
6807
|
const getCampaignLeadsRequestQuerySchema = z.object({
|
|
6801
6808
|
cursor: z.string().optional(),
|
|
6802
6809
|
limit: z.number().default(20).optional(),
|
|
6803
|
-
status:
|
|
6804
|
-
.enum(['all', 'suitable', 'contacted', 'viewed', 'replied'])
|
|
6805
|
-
.optional(),
|
|
6810
|
+
status: getCampaignLeadsStatusEnum.optional(),
|
|
6806
6811
|
});
|
|
6807
6812
|
const getCampaignLeadsResponseSchema = z.object({
|
|
6808
6813
|
data: z.array(leadSchema),
|
|
@@ -8430,7 +8435,6 @@ const getSamplesRequestSchema = z.object({
|
|
|
8430
8435
|
leadIds: z.array(z.string()),
|
|
8431
8436
|
});
|
|
8432
8437
|
const updateSampleSchema = z.object({
|
|
8433
|
-
id: z.string(),
|
|
8434
8438
|
label: labelEnum,
|
|
8435
8439
|
});
|
|
8436
8440
|
|
|
@@ -15034,7 +15038,6 @@ const ROUTES = {
|
|
|
15034
15038
|
SAMPLE: (id) => `admin/golden-dataset/${id}`,
|
|
15035
15039
|
CREATE_SAMPLE: 'admin/golden-dataset/create',
|
|
15036
15040
|
GET_SAMPLES: 'admin/golden-dataset/get-samples',
|
|
15037
|
-
UPDATE_SAMPLE: 'admin/golden-dataset/update',
|
|
15038
15041
|
},
|
|
15039
15042
|
AGENT: {
|
|
15040
15043
|
BASE: 'admin/agent',
|
|
@@ -15129,6 +15132,9 @@ const ROUTES = {
|
|
|
15129
15132
|
},
|
|
15130
15133
|
CHECK_LEAD_STATUS: (organizationId, campaignId, leadId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/${leadId}/check-lead-status`,
|
|
15131
15134
|
},
|
|
15135
|
+
LEADS: {
|
|
15136
|
+
BASE: (organizationId) => `organizations/${organizationId}/leads`,
|
|
15137
|
+
},
|
|
15132
15138
|
USAGE_SUMMARIES: {
|
|
15133
15139
|
DAILY: {
|
|
15134
15140
|
BASE: (organizationId) => `usage-summaries/${organizationId}/daily`,
|
|
@@ -23983,6 +23989,7 @@ exports.getBiddingProcessingEventFromAnotherCampaignsPayloadSchema = getBiddingP
|
|
|
23983
23989
|
exports.getBiddingProcessingEventFromAnotherCampaignsResponseSchema = getBiddingProcessingEventFromAnotherCampaignsResponseSchema;
|
|
23984
23990
|
exports.getCampaignLeadsRequestQuerySchema = getCampaignLeadsRequestQuerySchema;
|
|
23985
23991
|
exports.getCampaignLeadsResponseSchema = getCampaignLeadsResponseSchema;
|
|
23992
|
+
exports.getCampaignLeadsStatusEnum = getCampaignLeadsStatusEnum;
|
|
23986
23993
|
exports.getMultiloginBrowserException = getMultiloginBrowserException;
|
|
23987
23994
|
exports.getNextStatus = getNextStatus;
|
|
23988
23995
|
exports.getPreviousStatus = getPreviousStatus;
|