lancer-shared 1.2.322 → 1.2.323
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 +20 -5
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +19 -6
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/chat.d.ts +3 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/schemas/account/bidder-account.d.ts +10 -10
- package/dist/schemas/account/scraper-account.d.ts +10 -10
- package/dist/schemas/agent/index.d.ts +50 -50
- package/dist/schemas/bidder/bid.d.ts +352 -352
- package/dist/schemas/campaign/campaign-analytics.d.ts +78 -78
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +4 -4
- package/dist/schemas/chat/index.d.ts +137 -66
- package/dist/schemas/dashboard/index.d.ts +18 -18
- package/dist/schemas/golden-dataset/sample.d.ts +4 -4
- package/dist/schemas/job/index.d.ts +32 -32
- package/dist/schemas/job/nuxt.d.ts +6 -6
- package/dist/schemas/lead/index.d.ts +165 -165
- package/dist/schemas/lead/lead-status.d.ts +2 -2
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +30 -30
- package/dist/schemas/logger/log-event.d.ts +20 -20
- package/dist/schemas/logger/scraper-events.d.ts +4 -4
- package/dist/schemas/organization/organization-leads.d.ts +2 -2
- package/dist/schemas/plan/index.d.ts +2 -2
- package/dist/schemas/proxy/proxy.d.ts +3 -3
- package/dist/schemas/scraper/scrape-payload.d.ts +44 -44
- package/dist/schemas/scraper/scrape-result.d.ts +28 -28
- package/dist/schemas/transaction/index.d.ts +2 -2
- package/dist/schemas/upwork-talent/index.d.ts +2 -2
- package/dist/schemas/usage/index.d.ts +2 -2
- package/dist/schemas/usage-event/index.d.ts +6 -6
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const ROOM_EXTENDED_TYPE_MAP = {
|
|
4
|
+
proposal: ['fl-proposal'],
|
|
5
|
+
dm: ['direct_message'],
|
|
6
|
+
invite: ['client-invitation', 'direct_hire_FL_profile'],
|
|
7
|
+
};
|
|
8
|
+
const ROOM_TYPES_MATCHING_EMPTY_EXTENDED_TYPE = new Set([
|
|
9
|
+
'proposal',
|
|
10
|
+
]);
|
|
11
|
+
|
|
3
12
|
const defaultQuestions = [
|
|
4
13
|
{
|
|
5
14
|
question: 'What is your company website URL?',
|
|
@@ -8751,6 +8760,11 @@ const syncProposalsStatusRequestPayloadSchema = z.object({
|
|
|
8751
8760
|
bidderAccountId: z.string(),
|
|
8752
8761
|
});
|
|
8753
8762
|
|
|
8763
|
+
const roomNoteSchema = z.object({
|
|
8764
|
+
note: z.string().nullable(),
|
|
8765
|
+
createdAt: z.number(),
|
|
8766
|
+
updatedAt: z.number(),
|
|
8767
|
+
});
|
|
8754
8768
|
const roomSchema = z.object({
|
|
8755
8769
|
id: z.string(),
|
|
8756
8770
|
roomId: z.string(),
|
|
@@ -8783,6 +8797,8 @@ const roomSchema = z.object({
|
|
|
8783
8797
|
hasNewMessages: z.boolean().optional(),
|
|
8784
8798
|
updatedAt: z.number().optional(),
|
|
8785
8799
|
lastFetchedAt: z.number().optional(),
|
|
8800
|
+
roomTypeExtended: z.string().optional(),
|
|
8801
|
+
roomNote: roomNoteSchema.optional(),
|
|
8786
8802
|
});
|
|
8787
8803
|
const roomsMetadataSchema = z.object({
|
|
8788
8804
|
accountId: z.string(),
|
|
@@ -8798,6 +8814,8 @@ const roomMessageSchema = z
|
|
|
8798
8814
|
userName: z.string().optional(),
|
|
8799
8815
|
orgId: z.string().optional(),
|
|
8800
8816
|
senderName: z.string().optional(),
|
|
8817
|
+
attachmentUrl: z.string().optional(),
|
|
8818
|
+
startedPreparingDownloadAt: z.number().optional(),
|
|
8801
8819
|
})
|
|
8802
8820
|
.passthrough();
|
|
8803
8821
|
const getRoomsResponseSchema = z.object({
|
|
@@ -8823,11 +8841,6 @@ const createRoomTagRequestBodySchema = z.object({
|
|
|
8823
8841
|
const assignRoomTagsRequestBodySchema = z.object({
|
|
8824
8842
|
tagIds: z.array(z.string()),
|
|
8825
8843
|
});
|
|
8826
|
-
const roomNoteSchema = z.object({
|
|
8827
|
-
note: z.string().nullable(),
|
|
8828
|
-
createdAt: z.number(),
|
|
8829
|
-
updatedAt: z.number(),
|
|
8830
|
-
});
|
|
8831
8844
|
const updateRoomNotesRequestBodySchema = z.object({
|
|
8832
8845
|
note: z.string(),
|
|
8833
8846
|
});
|
|
@@ -24509,6 +24522,8 @@ exports.ProposalGenerationFailedException = ProposalGenerationFailedException;
|
|
|
24509
24522
|
exports.ProposalSubmitFailedException = ProposalSubmitFailedException;
|
|
24510
24523
|
exports.PuppeteerConnectionErrorException = PuppeteerConnectionErrorException;
|
|
24511
24524
|
exports.QuestionPairNotMatchingException = QuestionPairNotMatchingException;
|
|
24525
|
+
exports.ROOM_EXTENDED_TYPE_MAP = ROOM_EXTENDED_TYPE_MAP;
|
|
24526
|
+
exports.ROOM_TYPES_MATCHING_EMPTY_EXTENDED_TYPE = ROOM_TYPES_MATCHING_EMPTY_EXTENDED_TYPE;
|
|
24512
24527
|
exports.ROUTES = ROUTES;
|
|
24513
24528
|
exports.ScraperAccountProxyNotFoundException = ScraperAccountProxyNotFoundException;
|
|
24514
24529
|
exports.SearchFieldsSchema = SearchFieldsSchema;
|