lancer-shared 1.2.337 → 1.2.338
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 +14 -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/constants/routes.d.ts +1 -0
- package/dist/schemas/account/bidder-account.d.ts +71 -0
- package/dist/schemas/dashboard/index.d.ts +6 -6
- package/dist/schemas/scraper/scrape-payload.d.ts +36 -0
- package/dist/schemas/usage-event/index.d.ts +6 -6
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -6769,6 +6769,14 @@ const bidderAccountSchema = z.object({
|
|
|
6769
6769
|
userId: z.string().nullable(),
|
|
6770
6770
|
connectingToChatStartedAt: z.number().nullable(),
|
|
6771
6771
|
shouldRefetchAllRooms: z.boolean().nullable(),
|
|
6772
|
+
assignedOrganizationPlans: z
|
|
6773
|
+
.array(z.object({
|
|
6774
|
+
organizationId: z.string(),
|
|
6775
|
+
planId: z.string().nullable(),
|
|
6776
|
+
}))
|
|
6777
|
+
.optional(),
|
|
6778
|
+
assignedOrganizationNames: z.array(z.string()).optional(),
|
|
6779
|
+
biddingCompleteLast30Days: z.number().optional(),
|
|
6772
6780
|
});
|
|
6773
6781
|
const connectUpworkAccountSchema = z.object({
|
|
6774
6782
|
email: z.string().email(),
|
|
@@ -6820,6 +6828,10 @@ const reconnectBidderAccountRequestBodySchema = z.object({
|
|
|
6820
6828
|
organizationId: z.string(),
|
|
6821
6829
|
bidderAccountId: z.string(),
|
|
6822
6830
|
});
|
|
6831
|
+
const assignDecodoProxyToBidderAccountSchema = z.object({
|
|
6832
|
+
proxyString: z.string().min(1),
|
|
6833
|
+
country: proxyCountryEnum,
|
|
6834
|
+
});
|
|
6823
6835
|
const reconnectBidderAccountResponseSchema = z.object({
|
|
6824
6836
|
agencyName: z.string(),
|
|
6825
6837
|
photoUrl: z.string(),
|
|
@@ -15828,6 +15840,7 @@ const ROUTES = {
|
|
|
15828
15840
|
REFRESH_WITH_IPROYAL_PROXY: (bidderId) => `admin/bidder-accounts/${bidderId}/refresh-with-iproyal-proxy`,
|
|
15829
15841
|
AGENCIES: 'admin/bidder-accounts/agencies',
|
|
15830
15842
|
ASSIGN_IPROYAL_PROXY: (bidderId) => `admin/bidder-accounts/${bidderId}/assign-iproyal-proxy`,
|
|
15843
|
+
ASSIGN_DECODO_PROXY: (bidderId) => `admin/bidder-accounts/${bidderId}/assign-decodo-proxy`,
|
|
15831
15844
|
},
|
|
15832
15845
|
SCRAPER_ACCOUNTS: {
|
|
15833
15846
|
BASE: 'admin/scraper-accounts',
|
|
@@ -24817,6 +24830,7 @@ exports.agentStatusSchema = agentStatusSchema;
|
|
|
24817
24830
|
exports.agentTaskResponseSchema = agentTaskResponseSchema;
|
|
24818
24831
|
exports.aiConfigSchema = aiConfigSchema;
|
|
24819
24832
|
exports.alreadyHiredActionEnum = alreadyHiredActionEnum;
|
|
24833
|
+
exports.assignDecodoProxyToBidderAccountSchema = assignDecodoProxyToBidderAccountSchema;
|
|
24820
24834
|
exports.assignRoomTagsRequestBodySchema = assignRoomTagsRequestBodySchema;
|
|
24821
24835
|
exports.bidAsEnum = bidAsEnum;
|
|
24822
24836
|
exports.bidConfigSchema = bidConfigSchema;
|