@experts_hub/shared 1.0.711 → 1.0.713
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/entities/job.entity.d.ts +1 -0
- package/dist/index.d.mts +22 -5
- package/dist/index.d.ts +22 -5
- package/dist/index.js +115 -47
- package/dist/index.mjs +227 -158
- package/dist/modules/onboarding/dto/freelancer-profile-question.dto.d.ts +22 -5
- package/package.json +1 -1
|
@@ -114,6 +114,7 @@ export declare class Job extends BaseEntity {
|
|
|
114
114
|
viewedCount: number;
|
|
115
115
|
applicationCount: number;
|
|
116
116
|
isContractSigned: boolean;
|
|
117
|
+
isJobCreatedAsIs: boolean;
|
|
117
118
|
isInterviewCreated: boolean;
|
|
118
119
|
isJobCreatedViaAI: boolean;
|
|
119
120
|
interviewInvites: InterviewInvite[];
|
package/dist/index.d.mts
CHANGED
|
@@ -265,13 +265,29 @@ declare class FreelancerDevelopmentPreferenceDto {
|
|
|
265
265
|
developer: boolean;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
+
declare enum ModeOfWorkEnum$2 {
|
|
269
|
+
ONSITE = "ONSITE",
|
|
270
|
+
REMOTE = "REMOTE",
|
|
271
|
+
HYBRID = "HYBRID",
|
|
272
|
+
BOTH = "BOTH"
|
|
273
|
+
}
|
|
274
|
+
declare enum NatureOfWorkEnum$2 {
|
|
275
|
+
FREELANCE = "FREELANCE"
|
|
276
|
+
}
|
|
268
277
|
declare class FreelancerProfileQuestionDto {
|
|
269
278
|
uuid: string;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
numberOfHours
|
|
273
|
-
|
|
274
|
-
|
|
279
|
+
modeOfWork: ModeOfWorkEnum$2;
|
|
280
|
+
natureOfWork: NatureOfWorkEnum$2;
|
|
281
|
+
numberOfHours: number;
|
|
282
|
+
isImmediateJoiner: boolean;
|
|
283
|
+
availabilityToJoin?: string;
|
|
284
|
+
currency: string;
|
|
285
|
+
expectedHourlyCompensation: number;
|
|
286
|
+
linkedinProfileLink: string;
|
|
287
|
+
kaggleProfileLink?: string | null;
|
|
288
|
+
githubProfileLink?: string | null;
|
|
289
|
+
stackOverflowProfileLink?: string | null;
|
|
290
|
+
portfolioLink?: string | null;
|
|
275
291
|
}
|
|
276
292
|
|
|
277
293
|
declare class FreelancerWorkShowcaseDto {
|
|
@@ -1486,6 +1502,7 @@ declare class Job extends BaseEntity {
|
|
|
1486
1502
|
viewedCount: number;
|
|
1487
1503
|
applicationCount: number;
|
|
1488
1504
|
isContractSigned: boolean;
|
|
1505
|
+
isJobCreatedAsIs: boolean;
|
|
1489
1506
|
isInterviewCreated: boolean;
|
|
1490
1507
|
isJobCreatedViaAI: boolean;
|
|
1491
1508
|
interviewInvites: InterviewInvite[];
|
package/dist/index.d.ts
CHANGED
|
@@ -265,13 +265,29 @@ declare class FreelancerDevelopmentPreferenceDto {
|
|
|
265
265
|
developer: boolean;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
+
declare enum ModeOfWorkEnum$2 {
|
|
269
|
+
ONSITE = "ONSITE",
|
|
270
|
+
REMOTE = "REMOTE",
|
|
271
|
+
HYBRID = "HYBRID",
|
|
272
|
+
BOTH = "BOTH"
|
|
273
|
+
}
|
|
274
|
+
declare enum NatureOfWorkEnum$2 {
|
|
275
|
+
FREELANCE = "FREELANCE"
|
|
276
|
+
}
|
|
268
277
|
declare class FreelancerProfileQuestionDto {
|
|
269
278
|
uuid: string;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
numberOfHours
|
|
273
|
-
|
|
274
|
-
|
|
279
|
+
modeOfWork: ModeOfWorkEnum$2;
|
|
280
|
+
natureOfWork: NatureOfWorkEnum$2;
|
|
281
|
+
numberOfHours: number;
|
|
282
|
+
isImmediateJoiner: boolean;
|
|
283
|
+
availabilityToJoin?: string;
|
|
284
|
+
currency: string;
|
|
285
|
+
expectedHourlyCompensation: number;
|
|
286
|
+
linkedinProfileLink: string;
|
|
287
|
+
kaggleProfileLink?: string | null;
|
|
288
|
+
githubProfileLink?: string | null;
|
|
289
|
+
stackOverflowProfileLink?: string | null;
|
|
290
|
+
portfolioLink?: string | null;
|
|
275
291
|
}
|
|
276
292
|
|
|
277
293
|
declare class FreelancerWorkShowcaseDto {
|
|
@@ -1486,6 +1502,7 @@ declare class Job extends BaseEntity {
|
|
|
1486
1502
|
viewedCount: number;
|
|
1487
1503
|
applicationCount: number;
|
|
1488
1504
|
isContractSigned: boolean;
|
|
1505
|
+
isJobCreatedAsIs: boolean;
|
|
1489
1506
|
isInterviewCreated: boolean;
|
|
1490
1507
|
isJobCreatedViaAI: boolean;
|
|
1491
1508
|
interviewInvites: InterviewInvite[];
|
package/dist/index.js
CHANGED
|
@@ -1200,6 +1200,17 @@ __decorateClass([
|
|
|
1200
1200
|
|
|
1201
1201
|
// src/modules/onboarding/dto/freelancer-profile-question.dto.ts
|
|
1202
1202
|
var import_class_validator31 = require("class-validator");
|
|
1203
|
+
var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
|
|
1204
|
+
ModeOfWorkEnum4["ONSITE"] = "ONSITE";
|
|
1205
|
+
ModeOfWorkEnum4["REMOTE"] = "REMOTE";
|
|
1206
|
+
ModeOfWorkEnum4["HYBRID"] = "HYBRID";
|
|
1207
|
+
ModeOfWorkEnum4["BOTH"] = "BOTH";
|
|
1208
|
+
return ModeOfWorkEnum4;
|
|
1209
|
+
})(ModeOfWorkEnum || {});
|
|
1210
|
+
var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
|
|
1211
|
+
NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
|
|
1212
|
+
return NatureOfWorkEnum4;
|
|
1213
|
+
})(NatureOfWorkEnum || {});
|
|
1203
1214
|
var FreelancerProfileQuestionDto = class {
|
|
1204
1215
|
};
|
|
1205
1216
|
__decorateClass([
|
|
@@ -1207,28 +1218,82 @@ __decorateClass([
|
|
|
1207
1218
|
(0, import_class_validator31.IsUUID)()
|
|
1208
1219
|
], FreelancerProfileQuestionDto.prototype, "uuid", 2);
|
|
1209
1220
|
__decorateClass([
|
|
1210
|
-
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter
|
|
1211
|
-
(0, import_class_validator31.
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
"isImmediateJoiner"
|
|
1218
|
-
])
|
|
1219
|
-
], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
|
|
1221
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter mode of work." }),
|
|
1222
|
+
(0, import_class_validator31.IsEnum)(ModeOfWorkEnum, {
|
|
1223
|
+
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
|
|
1224
|
+
", "
|
|
1225
|
+
)}`
|
|
1226
|
+
})
|
|
1227
|
+
], FreelancerProfileQuestionDto.prototype, "modeOfWork", 2);
|
|
1220
1228
|
__decorateClass([
|
|
1221
|
-
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter
|
|
1222
|
-
|
|
1229
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter nature of work." }),
|
|
1230
|
+
(0, import_class_validator31.IsEnum)(NatureOfWorkEnum, {
|
|
1231
|
+
message: `Nature of work must be one of: ${Object.values(NatureOfWorkEnum).join(
|
|
1232
|
+
", "
|
|
1233
|
+
)}`
|
|
1234
|
+
})
|
|
1235
|
+
], FreelancerProfileQuestionDto.prototype, "natureOfWork", 2);
|
|
1223
1236
|
__decorateClass([
|
|
1224
|
-
(0, import_class_validator31.
|
|
1237
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter number of hours." })
|
|
1225
1238
|
], FreelancerProfileQuestionDto.prototype, "numberOfHours", 2);
|
|
1239
|
+
__decorateClass([
|
|
1240
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter is immediate joiner." })
|
|
1241
|
+
], FreelancerProfileQuestionDto.prototype, "isImmediateJoiner", 2);
|
|
1226
1242
|
__decorateClass([
|
|
1227
1243
|
(0, import_class_validator31.IsOptional)()
|
|
1244
|
+
], FreelancerProfileQuestionDto.prototype, "availabilityToJoin", 2);
|
|
1245
|
+
__decorateClass([
|
|
1246
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter currency." })
|
|
1228
1247
|
], FreelancerProfileQuestionDto.prototype, "currency", 2);
|
|
1229
1248
|
__decorateClass([
|
|
1230
|
-
(0, import_class_validator31.
|
|
1231
|
-
], FreelancerProfileQuestionDto.prototype, "
|
|
1249
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
|
|
1250
|
+
], FreelancerProfileQuestionDto.prototype, "expectedHourlyCompensation", 2);
|
|
1251
|
+
__decorateClass([
|
|
1252
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter likedin profile url." }),
|
|
1253
|
+
(0, import_class_validator31.IsString)(),
|
|
1254
|
+
(0, import_class_validator31.IsUrl)(
|
|
1255
|
+
{ require_protocol: false },
|
|
1256
|
+
{
|
|
1257
|
+
message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
1258
|
+
}
|
|
1259
|
+
)
|
|
1260
|
+
], FreelancerProfileQuestionDto.prototype, "linkedinProfileLink", 2);
|
|
1261
|
+
__decorateClass([
|
|
1262
|
+
(0, import_class_validator31.IsOptional)(),
|
|
1263
|
+
(0, import_class_validator31.IsUrl)(
|
|
1264
|
+
{ require_protocol: false },
|
|
1265
|
+
{
|
|
1266
|
+
message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
1267
|
+
}
|
|
1268
|
+
)
|
|
1269
|
+
], FreelancerProfileQuestionDto.prototype, "kaggleProfileLink", 2);
|
|
1270
|
+
__decorateClass([
|
|
1271
|
+
(0, import_class_validator31.IsOptional)(),
|
|
1272
|
+
(0, import_class_validator31.IsUrl)(
|
|
1273
|
+
{ require_protocol: false },
|
|
1274
|
+
{
|
|
1275
|
+
message: "githubProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
1276
|
+
}
|
|
1277
|
+
)
|
|
1278
|
+
], FreelancerProfileQuestionDto.prototype, "githubProfileLink", 2);
|
|
1279
|
+
__decorateClass([
|
|
1280
|
+
(0, import_class_validator31.IsOptional)(),
|
|
1281
|
+
(0, import_class_validator31.IsUrl)(
|
|
1282
|
+
{ require_protocol: false },
|
|
1283
|
+
{
|
|
1284
|
+
message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
1285
|
+
}
|
|
1286
|
+
)
|
|
1287
|
+
], FreelancerProfileQuestionDto.prototype, "stackOverflowProfileLink", 2);
|
|
1288
|
+
__decorateClass([
|
|
1289
|
+
(0, import_class_validator31.IsOptional)(),
|
|
1290
|
+
(0, import_class_validator31.IsUrl)(
|
|
1291
|
+
{ require_protocol: false },
|
|
1292
|
+
{
|
|
1293
|
+
message: "portfolioLink must be a valid URL with protocol (e.g. https://)"
|
|
1294
|
+
}
|
|
1295
|
+
)
|
|
1296
|
+
], FreelancerProfileQuestionDto.prototype, "portfolioLink", 2);
|
|
1232
1297
|
|
|
1233
1298
|
// src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
|
|
1234
1299
|
var import_class_validator32 = require("class-validator");
|
|
@@ -5157,6 +5222,9 @@ __decorateClass([
|
|
|
5157
5222
|
__decorateClass([
|
|
5158
5223
|
(0, import_typeorm43.Column)({ name: "is_contract_signed", type: "boolean", default: false })
|
|
5159
5224
|
], Job.prototype, "isContractSigned", 2);
|
|
5225
|
+
__decorateClass([
|
|
5226
|
+
(0, import_typeorm43.Column)({ name: "is_job_created_as_is", type: "boolean", default: false })
|
|
5227
|
+
], Job.prototype, "isJobCreatedAsIs", 2);
|
|
5160
5228
|
__decorateClass([
|
|
5161
5229
|
(0, import_typeorm43.Column)({ name: "is_interview_created", type: "boolean", default: false })
|
|
5162
5230
|
], Job.prototype, "isInterviewCreated", 2);
|
|
@@ -9154,18 +9222,18 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
9154
9222
|
// src/modules/freelancer-admin/dto/create-freelancer.dto.ts
|
|
9155
9223
|
var import_class_validator83 = require("class-validator");
|
|
9156
9224
|
var import_class_transformer10 = require("class-transformer");
|
|
9157
|
-
var
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
return
|
|
9162
|
-
})(
|
|
9163
|
-
var
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
return
|
|
9168
|
-
})(
|
|
9225
|
+
var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
|
|
9226
|
+
NatureOfWorkEnum4["FTE"] = "FTE";
|
|
9227
|
+
NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
|
|
9228
|
+
NatureOfWorkEnum4["BOTH"] = "BOTH";
|
|
9229
|
+
return NatureOfWorkEnum4;
|
|
9230
|
+
})(NatureOfWorkEnum2 || {});
|
|
9231
|
+
var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
|
|
9232
|
+
ModeOfWorkEnum4["REMOTE"] = "REMOTE";
|
|
9233
|
+
ModeOfWorkEnum4["ONSITE"] = "ONSITE";
|
|
9234
|
+
ModeOfWorkEnum4["HYBRID"] = "HYBRID";
|
|
9235
|
+
return ModeOfWorkEnum4;
|
|
9236
|
+
})(ModeOfWorkEnum2 || {});
|
|
9169
9237
|
var CreateFreelancerDto = class {
|
|
9170
9238
|
};
|
|
9171
9239
|
__decorateClass([
|
|
@@ -9335,9 +9403,9 @@ __decorateClass([
|
|
|
9335
9403
|
], CreateFreelancerDto.prototype, "developer", 2);
|
|
9336
9404
|
__decorateClass([
|
|
9337
9405
|
(0, import_class_validator83.IsOptional)(),
|
|
9338
|
-
(0, import_class_validator83.IsEnum)(
|
|
9406
|
+
(0, import_class_validator83.IsEnum)(NatureOfWorkEnum2, {
|
|
9339
9407
|
message: `Nature of work must be one of: ${Object.values(
|
|
9340
|
-
|
|
9408
|
+
NatureOfWorkEnum2
|
|
9341
9409
|
).join(", ")}`
|
|
9342
9410
|
})
|
|
9343
9411
|
], CreateFreelancerDto.prototype, "natureOfWork", 2);
|
|
@@ -9379,8 +9447,8 @@ __decorateClass([
|
|
|
9379
9447
|
], CreateFreelancerDto.prototype, "numberOfHours", 2);
|
|
9380
9448
|
__decorateClass([
|
|
9381
9449
|
(0, import_class_validator83.IsOptional)(),
|
|
9382
|
-
(0, import_class_validator83.IsEnum)(
|
|
9383
|
-
message: `Mode of work must be one of: ${Object.values(
|
|
9450
|
+
(0, import_class_validator83.IsEnum)(ModeOfWorkEnum2, {
|
|
9451
|
+
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
|
|
9384
9452
|
", "
|
|
9385
9453
|
)}`
|
|
9386
9454
|
})
|
|
@@ -9481,18 +9549,18 @@ __decorateClass([
|
|
|
9481
9549
|
// src/modules/freelancer-admin/dto/update-freelancer.dto.ts
|
|
9482
9550
|
var import_class_validator84 = require("class-validator");
|
|
9483
9551
|
var import_class_transformer11 = require("class-transformer");
|
|
9484
|
-
var
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
return
|
|
9489
|
-
})(
|
|
9490
|
-
var
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
return
|
|
9495
|
-
})(
|
|
9552
|
+
var NatureOfWorkEnum3 = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
|
|
9553
|
+
NatureOfWorkEnum4["FTE"] = "FTE";
|
|
9554
|
+
NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
|
|
9555
|
+
NatureOfWorkEnum4["BOTH"] = "BOTH";
|
|
9556
|
+
return NatureOfWorkEnum4;
|
|
9557
|
+
})(NatureOfWorkEnum3 || {});
|
|
9558
|
+
var ModeOfWorkEnum3 = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
|
|
9559
|
+
ModeOfWorkEnum4["REMOTE"] = "REMOTE";
|
|
9560
|
+
ModeOfWorkEnum4["ONSITE"] = "ONSITE";
|
|
9561
|
+
ModeOfWorkEnum4["HYBRID"] = "HYBRID";
|
|
9562
|
+
return ModeOfWorkEnum4;
|
|
9563
|
+
})(ModeOfWorkEnum3 || {});
|
|
9496
9564
|
var UpdateFreelancerDto = class {
|
|
9497
9565
|
};
|
|
9498
9566
|
__decorateClass([
|
|
@@ -9651,9 +9719,9 @@ __decorateClass([
|
|
|
9651
9719
|
], UpdateFreelancerDto.prototype, "developer", 2);
|
|
9652
9720
|
__decorateClass([
|
|
9653
9721
|
(0, import_class_validator84.IsOptional)(),
|
|
9654
|
-
(0, import_class_validator84.IsEnum)(
|
|
9722
|
+
(0, import_class_validator84.IsEnum)(NatureOfWorkEnum3, {
|
|
9655
9723
|
message: `Nature of work must be one of: ${Object.values(
|
|
9656
|
-
|
|
9724
|
+
NatureOfWorkEnum3
|
|
9657
9725
|
).join(", ")}`
|
|
9658
9726
|
})
|
|
9659
9727
|
], UpdateFreelancerDto.prototype, "natureOfWork", 2);
|
|
@@ -9695,8 +9763,8 @@ __decorateClass([
|
|
|
9695
9763
|
], UpdateFreelancerDto.prototype, "numberOfHours", 2);
|
|
9696
9764
|
__decorateClass([
|
|
9697
9765
|
(0, import_class_validator84.IsOptional)(),
|
|
9698
|
-
(0, import_class_validator84.IsEnum)(
|
|
9699
|
-
message: `Mode of work must be one of: ${Object.values(
|
|
9766
|
+
(0, import_class_validator84.IsEnum)(ModeOfWorkEnum3, {
|
|
9767
|
+
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum3).join(
|
|
9700
9768
|
", "
|
|
9701
9769
|
)}`
|
|
9702
9770
|
})
|