lancer-shared 1.0.173 → 1.0.174
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 +38 -38
- package/dist/constants/routes.d.ts +3 -3
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -6242,15 +6242,15 @@ const regionMapping = {
|
|
|
6242
6242
|
|
|
6243
6243
|
const ROUTES = {
|
|
6244
6244
|
AUTH: {
|
|
6245
|
-
BASE:
|
|
6246
|
-
REGISTER:
|
|
6245
|
+
BASE: "auth",
|
|
6246
|
+
REGISTER: "auth/register",
|
|
6247
6247
|
},
|
|
6248
6248
|
EVENTS: {
|
|
6249
|
-
BASE:
|
|
6249
|
+
BASE: "events",
|
|
6250
6250
|
BY_ID: (id) => `events/${id}`,
|
|
6251
6251
|
},
|
|
6252
6252
|
CAMPAIGNS: {
|
|
6253
|
-
BASE:
|
|
6253
|
+
BASE: "campaigns",
|
|
6254
6254
|
BY_ID: (id) => `campaigns/${id}`,
|
|
6255
6255
|
LEADS: {
|
|
6256
6256
|
BASE: (campaignId) => `campaigns/${campaignId}/leads`,
|
|
@@ -6283,69 +6283,69 @@ const ROUTES = {
|
|
|
6283
6283
|
},
|
|
6284
6284
|
},
|
|
6285
6285
|
JOBS: {
|
|
6286
|
-
BASE:
|
|
6286
|
+
BASE: "jobs",
|
|
6287
6287
|
BY_ID: (id) => `jobs/${id}`,
|
|
6288
|
-
|
|
6289
|
-
IMPORT:
|
|
6290
|
-
FILTER_OPTIONS:
|
|
6291
|
-
TOTAL_JOBS:
|
|
6288
|
+
UPDATE_ACTIVITY: `jobs/update-activity`,
|
|
6289
|
+
IMPORT: "jobs/import",
|
|
6290
|
+
FILTER_OPTIONS: "jobs/filter-options",
|
|
6291
|
+
TOTAL_JOBS: "jobs/total-jobs",
|
|
6292
6292
|
GET_JOB_TITLE: (jobId) => `jobs/get-job-title/${jobId}`,
|
|
6293
|
-
SEARCH:
|
|
6293
|
+
SEARCH: "jobs/search",
|
|
6294
6294
|
},
|
|
6295
6295
|
USERS: {
|
|
6296
|
-
BASE:
|
|
6296
|
+
BASE: "users",
|
|
6297
6297
|
BY_ID: (id) => `users/${id}`,
|
|
6298
6298
|
},
|
|
6299
6299
|
AI_CONFIG: {
|
|
6300
|
-
BASE:
|
|
6301
|
-
GENERATE_KNOWLEDGE_BASE:
|
|
6300
|
+
BASE: "ai-config",
|
|
6301
|
+
GENERATE_KNOWLEDGE_BASE: "ai-config/generate-knowledge-base",
|
|
6302
6302
|
},
|
|
6303
6303
|
COOKIES: {
|
|
6304
|
-
BASE:
|
|
6305
|
-
SCRAPE:
|
|
6304
|
+
BASE: "cookies",
|
|
6305
|
+
SCRAPE: "cookies/scrape-cookies",
|
|
6306
6306
|
},
|
|
6307
6307
|
SCRAPING: {
|
|
6308
|
-
BASE:
|
|
6309
|
-
START_SCRAPING:
|
|
6310
|
-
START_WORLDWIDE_SCRAPING:
|
|
6311
|
-
START_US_SCRAPING:
|
|
6312
|
-
START_UK_SCRAPING:
|
|
6313
|
-
UPDATE_ACTIVITY_4H_WORLDWIDE:
|
|
6314
|
-
UPDATE_ACTIVITY_4H_UK:
|
|
6315
|
-
UPDATE_ACTIVITY_4H_US:
|
|
6316
|
-
UPDATE_ACTIVITY_24H_WORLDWIDE:
|
|
6317
|
-
UPDATE_ACTIVITY_24H_UK:
|
|
6318
|
-
UPDATE_ACTIVITY_24H_US:
|
|
6319
|
-
SCRAPE_FEED_WORLDWIDE:
|
|
6320
|
-
SCRAPE_FEED_UK:
|
|
6321
|
-
SCRAPE_FEED_US:
|
|
6322
|
-
SCRAPE_JOB:
|
|
6323
|
-
SCRAPE_JOB_ACTIVITY:
|
|
6308
|
+
BASE: "scraping",
|
|
6309
|
+
START_SCRAPING: "scraping/start",
|
|
6310
|
+
START_WORLDWIDE_SCRAPING: "scraping/start-worldwide",
|
|
6311
|
+
START_US_SCRAPING: "scraping/start-us",
|
|
6312
|
+
START_UK_SCRAPING: "scraping/start-uk",
|
|
6313
|
+
UPDATE_ACTIVITY_4H_WORLDWIDE: "scraping/update-activity/4h",
|
|
6314
|
+
UPDATE_ACTIVITY_4H_UK: "scraping/update-activity/4h/uk",
|
|
6315
|
+
UPDATE_ACTIVITY_4H_US: "scraping/update-activity/4h/us",
|
|
6316
|
+
UPDATE_ACTIVITY_24H_WORLDWIDE: "scraping/update-activity/24h",
|
|
6317
|
+
UPDATE_ACTIVITY_24H_UK: "scraping/update-activity/24h/uk",
|
|
6318
|
+
UPDATE_ACTIVITY_24H_US: "scraping/update-activity/24h/us",
|
|
6319
|
+
SCRAPE_FEED_WORLDWIDE: "scraping/feed-worldwide",
|
|
6320
|
+
SCRAPE_FEED_UK: "scraping/feed-uk",
|
|
6321
|
+
SCRAPE_FEED_US: "scraping/feed-us",
|
|
6322
|
+
SCRAPE_JOB: "scraping/job",
|
|
6323
|
+
SCRAPE_JOB_ACTIVITY: "scraping/job-activity",
|
|
6324
6324
|
},
|
|
6325
6325
|
ADMIN: {
|
|
6326
|
-
BASE:
|
|
6326
|
+
BASE: "admin",
|
|
6327
6327
|
BIDDER_ACCOUNTS: {
|
|
6328
|
-
BASE:
|
|
6328
|
+
BASE: "admin/bidder-accounts",
|
|
6329
6329
|
BY_ID: (id) => `admin/bidder-accounts/${id}`,
|
|
6330
6330
|
BY_PROVIDER: (provider) => `admin/bidder-accounts/${provider}`,
|
|
6331
6331
|
BY_PROVIDER_AND_ID: (provider, id) => `admin/bidder-accounts/${provider}/${id}`,
|
|
6332
6332
|
},
|
|
6333
6333
|
SCRAPER_ACCOUNTS: {
|
|
6334
|
-
BASE:
|
|
6334
|
+
BASE: "admin/scraper-accounts",
|
|
6335
6335
|
BY_ID: (id) => `admin/scraper-accounts/${id}`,
|
|
6336
6336
|
BY_PROVIDER: (provider) => `admin/scraper-accounts/${provider}`,
|
|
6337
6337
|
BY_PROVIDER_AND_ID: (provider, id) => `admin/scraper-accounts/${provider}/${id}`,
|
|
6338
6338
|
},
|
|
6339
6339
|
PROXIES: {
|
|
6340
|
-
BASE:
|
|
6340
|
+
BASE: "admin/proxies",
|
|
6341
6341
|
BY_ID: (id) => `admin/proxies/${id}`,
|
|
6342
6342
|
REPLACE_PROXY: (id) => `admin/proxies/${id}/replace`,
|
|
6343
|
-
SYNC:
|
|
6344
|
-
AVAILABLE_REPLACEMENTS:
|
|
6343
|
+
SYNC: "admin/proxies/sync",
|
|
6344
|
+
AVAILABLE_REPLACEMENTS: "admin/proxies/available-replacements",
|
|
6345
6345
|
},
|
|
6346
6346
|
},
|
|
6347
6347
|
BID: {
|
|
6348
|
-
BASE:
|
|
6348
|
+
BASE: "bid",
|
|
6349
6349
|
BID_ON_JOB: (userId, campaignId, leadId) => `bid/${userId}/${campaignId}/${leadId}`,
|
|
6350
6350
|
},
|
|
6351
6351
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LeadStatus, TimeFilter } from
|
|
1
|
+
import { LeadStatus, TimeFilter } from "../types";
|
|
2
2
|
export declare const ROUTES: {
|
|
3
3
|
readonly AUTH: {
|
|
4
4
|
readonly BASE: "auth";
|
|
@@ -22,7 +22,7 @@ export declare const ROUTES: {
|
|
|
22
22
|
readonly AI_METRICS: (campaignId: string) => string;
|
|
23
23
|
readonly CONNECT_SAVED: (campaignId: string) => string;
|
|
24
24
|
readonly ANALYTICS: (campaignId: string, timeFilter: TimeFilter) => string;
|
|
25
|
-
readonly ACTIVITY: (campaignId: string, status: LeadStatus |
|
|
25
|
+
readonly ACTIVITY: (campaignId: string, status: LeadStatus | "all", offset: string, limit: string) => string;
|
|
26
26
|
readonly INTEGRATIONS: {
|
|
27
27
|
readonly BASE: (campaignId: string) => string;
|
|
28
28
|
readonly TEST_SUITABILITY_WEBHOOK: (campaignId: string, integrationId: string) => string;
|
|
@@ -44,7 +44,7 @@ export declare const ROUTES: {
|
|
|
44
44
|
readonly JOBS: {
|
|
45
45
|
readonly BASE: "jobs";
|
|
46
46
|
readonly BY_ID: (id: string) => string;
|
|
47
|
-
readonly
|
|
47
|
+
readonly UPDATE_ACTIVITY: "jobs/update-activity";
|
|
48
48
|
readonly IMPORT: "jobs/import";
|
|
49
49
|
readonly FILTER_OPTIONS: "jobs/filter-options";
|
|
50
50
|
readonly TOTAL_JOBS: "jobs/total-jobs";
|