lancer-shared 1.2.333 → 1.2.335
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 +15 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +14 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/bidder/exceptions/index.d.ts +3 -1
- package/dist/schemas/bidder/exceptions/proxy-not-reachable.exception.d.ts +5 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +16 -0
- package/dist/schemas/campaign/campaign-insights.d.ts +3 -0
- package/dist/schemas/proxy/proxy-available-replacements.d.ts +1 -1
- package/dist/schemas/proxy/proxy.d.ts +7 -7
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -6674,6 +6674,7 @@ const proxyProviderSchema = z.enum([
|
|
|
6674
6674
|
'rayobyte',
|
|
6675
6675
|
'brightdata',
|
|
6676
6676
|
'iproyal',
|
|
6677
|
+
'mars',
|
|
6677
6678
|
]);
|
|
6678
6679
|
const proxyTypeSchema = z.enum(['rotating', 'static']);
|
|
6679
6680
|
const proxySchema = z.object({
|
|
@@ -7545,6 +7546,7 @@ const campaignAnalyticsSchema = z.object({
|
|
|
7545
7546
|
submissionDelayCount: z.number().optional(),
|
|
7546
7547
|
totalBiddingAmount: z.number().optional(),
|
|
7547
7548
|
totalBoostedAmount: z.number().optional(),
|
|
7549
|
+
effectiveBoostedAmount: z.number().optional(),
|
|
7548
7550
|
replyRateByTemplateId: z.record(z.string(), z.number()).optional(),
|
|
7549
7551
|
viewRateByTemplateId: z.record(z.string(), z.number()).optional(),
|
|
7550
7552
|
contactedByTemplateId: z.record(z.string(), z.number()).optional(),
|
|
@@ -7584,6 +7586,7 @@ const campaignAnalyticsStatsSchema = z.object({
|
|
|
7584
7586
|
submissionDelayCount: z.number(),
|
|
7585
7587
|
totalBiddingAmount: z.number(),
|
|
7586
7588
|
totalBoostedAmount: z.number(),
|
|
7589
|
+
effectiveBoostedAmount: z.number(),
|
|
7587
7590
|
replyRateByTemplateId: z.record(z.string(), z.number()),
|
|
7588
7591
|
viewRateByTemplateId: z.record(z.string(), z.number()),
|
|
7589
7592
|
contactedByTemplateId: z.record(z.string(), z.number()),
|
|
@@ -7600,6 +7603,7 @@ const campaignAnalyticsResponseSchema = z.object({
|
|
|
7600
7603
|
submissionDelayCount: z.number(),
|
|
7601
7604
|
totalBiddingAmount: z.number(),
|
|
7602
7605
|
totalBoostedAmount: z.number(),
|
|
7606
|
+
effectiveBoostedAmount: z.number(),
|
|
7603
7607
|
replyRateByTemplateId: z.record(z.string(), z.number()),
|
|
7604
7608
|
viewRateByTemplateId: z.record(z.string(), z.number()),
|
|
7605
7609
|
contactedByTemplateId: z.record(z.string(), z.number()),
|
|
@@ -7819,6 +7823,7 @@ const campaignInsightsSchema = z.object({
|
|
|
7819
7823
|
pipelineHealth: campaignCountByStatusSchema,
|
|
7820
7824
|
biddingAmount: z.number().default(0),
|
|
7821
7825
|
boostingAmount: z.number().default(0),
|
|
7826
|
+
effectiveBoostedAmount: z.number().default(0),
|
|
7822
7827
|
boostedProposalsCount: z.number().default(0),
|
|
7823
7828
|
totalProposalsCount: z.number().default(0),
|
|
7824
7829
|
totalExpenses: z.number().default(0),
|
|
@@ -8800,6 +8805,14 @@ const proposalSubmitFailedException = (message) => {
|
|
|
8800
8805
|
return new ProposalSubmitFailedException(message);
|
|
8801
8806
|
};
|
|
8802
8807
|
|
|
8808
|
+
class ProxyNotReachableException extends Error {
|
|
8809
|
+
code = 'PROXY_NOT_REACHABLE_EXCEPTION';
|
|
8810
|
+
constructor(message) {
|
|
8811
|
+
super(message);
|
|
8812
|
+
}
|
|
8813
|
+
}
|
|
8814
|
+
const proxyNotReachableException = (message) => new ProxyNotReachableException(message);
|
|
8815
|
+
|
|
8803
8816
|
class PuppeteerConnectionErrorException extends Error {
|
|
8804
8817
|
code = 'PUPPETEER_CONNECTION_ERROR_EXCEPTION';
|
|
8805
8818
|
constructor(message) {
|
|
@@ -24690,6 +24703,7 @@ exports.ProposalErrorAlertException = ProposalErrorAlertException;
|
|
|
24690
24703
|
exports.ProposalFormWarningAlertException = ProposalFormWarningAlertException;
|
|
24691
24704
|
exports.ProposalGenerationFailedException = ProposalGenerationFailedException;
|
|
24692
24705
|
exports.ProposalSubmitFailedException = ProposalSubmitFailedException;
|
|
24706
|
+
exports.ProxyNotReachableException = ProxyNotReachableException;
|
|
24693
24707
|
exports.PuppeteerConnectionErrorException = PuppeteerConnectionErrorException;
|
|
24694
24708
|
exports.QuestionPairNotMatchingException = QuestionPairNotMatchingException;
|
|
24695
24709
|
exports.ROOM_CRM_ARCHIVED_REASON_LABELS = ROOM_CRM_ARCHIVED_REASON_LABELS;
|
|
@@ -25004,6 +25018,7 @@ exports.proposalSubmitFailedException = proposalSubmitFailedException;
|
|
|
25004
25018
|
exports.proxyAvailableReplacementsSchema = proxyAvailableReplacementsSchema;
|
|
25005
25019
|
exports.proxyCountryCodeToName = proxyCountryCodeToName;
|
|
25006
25020
|
exports.proxyCountryEnum = proxyCountryEnum;
|
|
25021
|
+
exports.proxyNotReachableException = proxyNotReachableException;
|
|
25007
25022
|
exports.proxyProviderSchema = proxyProviderSchema;
|
|
25008
25023
|
exports.proxySchema = proxySchema;
|
|
25009
25024
|
exports.proxyStatusSchema = proxyStatusSchema;
|