lancer-shared 1.0.56 → 1.0.58

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.
Files changed (59) hide show
  1. package/dist/constants/upwork-filters.d.ts +5 -0
  2. package/dist/constants/upwork-filters.js +75 -0
  3. package/dist/index.d.ts +3 -3
  4. package/dist/schemas/ai-config/ai-config.d.ts +39 -0
  5. package/dist/schemas/ai-config/ai-config.js +12 -0
  6. package/dist/schemas/ai-config/index.d.ts +1 -0
  7. package/dist/schemas/ai-config/index.js +17 -0
  8. package/dist/schemas/bidding/proposal-dto.d.ts +26 -0
  9. package/dist/schemas/bidding/proposal-dto.js +18 -0
  10. package/dist/schemas/index.d.ts +13 -12
  11. package/dist/schemas/index.js +1 -0
  12. package/dist/schemas/job/job-pipeline.d.ts +74 -0
  13. package/dist/schemas/job/job-pipeline.js +29 -0
  14. package/dist/schemas/job/job-suitability.d.ts +12 -0
  15. package/dist/schemas/job/job-suitability.js +13 -0
  16. package/dist/schemas/job/job.d.ts +16 -16
  17. package/dist/schemas/job/pipeline-job.d.ts +9 -3
  18. package/dist/schemas/job/pipeline-job.js +1 -0
  19. package/dist/schemas/knowledge-object/index.d.ts +1 -0
  20. package/dist/schemas/knowledge-object/index.js +17 -0
  21. package/dist/schemas/knowledge-object/knowledge-object.d.ts +128 -0
  22. package/dist/schemas/knowledge-object/knowledge-object.js +47 -0
  23. package/dist/schemas/scraper/scrape-response.d.ts +345 -0
  24. package/dist/schemas/scraper/scrape-response.js +9 -0
  25. package/dist/schemas/upwork-account/index.d.ts +3 -0
  26. package/dist/schemas/upwork-account/index.js +19 -0
  27. package/dist/schemas/upwork-account/upwork-account-status.d.ts +2 -0
  28. package/dist/schemas/upwork-account/upwork-account-status.js +11 -0
  29. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +36 -0
  30. package/dist/schemas/upwork-account/upwork-business-manager-account.js +20 -0
  31. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +35 -0
  32. package/dist/schemas/upwork-account/upwork-scraping-account.js +16 -0
  33. package/dist/types/ai-config/ai-config.d.ts +6 -0
  34. package/dist/types/ai-config/ai-config.js +2 -0
  35. package/dist/types/ai-config/index.d.ts +1 -0
  36. package/dist/types/ai-config/index.js +17 -0
  37. package/dist/types/bidding/proposal-dto.d.ts +3 -0
  38. package/dist/types/bidding/proposal-dto.js +2 -0
  39. package/dist/types/index.d.ts +12 -11
  40. package/dist/types/index.js +1 -0
  41. package/dist/types/job/job-pipeline.d.ts +4 -0
  42. package/dist/types/job/job-pipeline.js +2 -0
  43. package/dist/types/job/job-suitability.d.ts +3 -0
  44. package/dist/types/job/job-suitability.js +2 -0
  45. package/dist/types/knowledge-object/index.d.ts +1 -0
  46. package/dist/types/knowledge-object/index.js +17 -0
  47. package/dist/types/knowledge-object/knowledge-object.d.ts +4 -0
  48. package/dist/types/knowledge-object/knowledge-object.js +2 -0
  49. package/dist/types/scraper/scrape-response.d.ts +4 -0
  50. package/dist/types/scraper/scrape-response.js +2 -0
  51. package/dist/types/upwork-account/index.d.ts +3 -0
  52. package/dist/types/upwork-account/index.js +19 -0
  53. package/dist/types/upwork-account/upwork-account-status.d.ts +3 -0
  54. package/dist/types/upwork-account/upwork-account-status.js +2 -0
  55. package/dist/types/upwork-account/upwork-business-manager-account.d.ts +5 -0
  56. package/dist/types/upwork-account/upwork-business-manager-account.js +2 -0
  57. package/dist/types/upwork-account/upwork-scraping-account.d.ts +3 -0
  58. package/dist/types/upwork-account/upwork-scraping-account.js +2 -0
  59. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ import { aiConfigSchema, updateAiConfigSchema } from '../../schemas';
3
+ export interface AiConfig extends z.infer<typeof aiConfigSchema> {
4
+ }
5
+ export interface UpdateAiConfig extends z.infer<typeof updateAiConfigSchema> {
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './ai-config';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ai-config"), exports);
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ import { proposalDtoSchema } from '../../schemas';
3
+ export type ProposalDto = z.infer<typeof proposalDtoSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,12 @@
1
- export * from "./chat-message";
2
- export * from "./job";
3
- export * from "./saved-search";
4
- export * from "./user";
5
- export * from "./job-filters";
6
- export * from "./campaign";
7
- export * from "./bidding";
8
- export * from "./ai";
9
- export * from "./scraper";
10
- export * from "./config";
11
- export * from "./logger";
1
+ export * from './chat-message';
2
+ export * from './job';
3
+ export * from './saved-search';
4
+ export * from './user';
5
+ export * from './job-filters';
6
+ export * from './campaign';
7
+ export * from './bidding';
8
+ export * from './ai';
9
+ export * from './scraper';
10
+ export * from './config';
11
+ export * from './logger';
12
+ export * from './upwork-account';
@@ -25,3 +25,4 @@ __exportStar(require("./ai"), exports);
25
25
  __exportStar(require("./scraper"), exports);
26
26
  __exportStar(require("./config"), exports);
27
27
  __exportStar(require("./logger"), exports);
28
+ __exportStar(require("./upwork-account"), exports);
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ import { jobPipelineSchema } from '../../schemas';
3
+ export interface JobPipeline extends z.infer<typeof jobPipelineSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ import { questionAnswerPairSchema } from '../../schemas';
3
+ export type QuestionAnswerPair = z.infer<typeof questionAnswerPairSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './knowledge-object';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./knowledge-object"), exports);
@@ -0,0 +1,4 @@
1
+ import { chatResponseSchema, KnowledgeObjectSchema } from '../../schemas/knowledge-object';
2
+ import { z } from 'zod';
3
+ export type KnowledgeObject = z.infer<typeof KnowledgeObjectSchema>;
4
+ export type ChatResponse = z.infer<typeof chatResponseSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ import { scrapeResponseSchema } from '../../schemas';
3
+ export interface ScrapeResponse extends z.infer<typeof scrapeResponseSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from './upwork-account-status';
2
+ export * from './upwork-business-manager-account';
3
+ export * from './upwork-scraping-account';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./upwork-account-status"), exports);
18
+ __exportStar(require("./upwork-business-manager-account"), exports);
19
+ __exportStar(require("./upwork-scraping-account"), exports);
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ import { upworkAccountStatusSchema } from '../../schemas';
3
+ export type UpworkAccountStatus = z.infer<typeof upworkAccountStatusSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ import { upworkBusinessManagerAccountProvider, upworkBusinessManagerAccountSchema } from '../../schemas';
3
+ export interface UpworkBusinessManagerAccount extends z.infer<typeof upworkBusinessManagerAccountSchema> {
4
+ }
5
+ export type UpworkBusinessManagerAccountProvider = z.infer<typeof upworkBusinessManagerAccountProvider>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ import { upworkScrapingAccountSchema } from '../../schemas';
3
+ export type UpworkScrapingAccount = z.infer<typeof upworkScrapingAccountSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.56",
4
+ "version": "1.0.58",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",