@experts_hub/shared 1.0.394 → 1.0.396
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/index.d.ts +1 -0
- package/dist/entities/timesheet-line-history.entity.d.ts +19 -0
- package/dist/entities/timesheet-line.entity.d.ts +2 -0
- package/dist/index.d.mts +20 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.js +633 -569
- package/dist/index.mjs +581 -519
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -260,9 +260,11 @@ __export(index_exports, {
|
|
|
260
260
|
TIMESHEET_FREELANCER_PATTERN: () => TIMESHEET_FREELANCER_PATTERN,
|
|
261
261
|
Timesheet: () => Timesheet,
|
|
262
262
|
TimesheetLine: () => TimesheetLine,
|
|
263
|
+
TimesheetLineHistory: () => TimesheetLineHistory,
|
|
263
264
|
TimesheetLineStatusEnum: () => TimesheetLineStatusEnum,
|
|
264
265
|
TimesheetLogs: () => TimesheetLogs,
|
|
265
266
|
TimesheetStatusEnum: () => TimesheetStatusEnum,
|
|
267
|
+
TimesheetSubmissionActionEnum: () => TimesheetSubmissionActionEnum,
|
|
266
268
|
ToggleCompanyMemberVisibilityDto: () => ToggleCompanyMemberVisibilityDto,
|
|
267
269
|
ToggleCompanyRoleVisibilityDto: () => ToggleCompanyRoleVisibilityDto,
|
|
268
270
|
TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
|
|
@@ -1190,6 +1192,7 @@ __decorateClass([
|
|
|
1190
1192
|
(0, import_class_validator33.IsString)({ message: "Job role must be a string" })
|
|
1191
1193
|
], JobBasicInformationDto.prototype, "jobRole", 2);
|
|
1192
1194
|
__decorateClass([
|
|
1195
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1193
1196
|
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter project name" })
|
|
1194
1197
|
], JobBasicInformationDto.prototype, "projectName", 2);
|
|
1195
1198
|
__decorateClass([
|
|
@@ -1588,10 +1591,10 @@ var RATING_PATTERN = {
|
|
|
1588
1591
|
var import_class_validator42 = require("class-validator");
|
|
1589
1592
|
|
|
1590
1593
|
// src/entities/rating.entity.ts
|
|
1591
|
-
var
|
|
1594
|
+
var import_typeorm55 = require("typeorm");
|
|
1592
1595
|
|
|
1593
1596
|
// src/entities/user.entity.ts
|
|
1594
|
-
var
|
|
1597
|
+
var import_typeorm54 = require("typeorm");
|
|
1595
1598
|
|
|
1596
1599
|
// src/entities/base.entity.ts
|
|
1597
1600
|
var import_typeorm = require("typeorm");
|
|
@@ -2261,7 +2264,7 @@ CompanyProfile = __decorateClass([
|
|
|
2261
2264
|
], CompanyProfile);
|
|
2262
2265
|
|
|
2263
2266
|
// src/entities/job.entity.ts
|
|
2264
|
-
var
|
|
2267
|
+
var import_typeorm26 = require("typeorm");
|
|
2265
2268
|
|
|
2266
2269
|
// src/entities/job-skill.entity.ts
|
|
2267
2270
|
var import_typeorm10 = require("typeorm");
|
|
@@ -3201,7 +3204,7 @@ Timesheet = __decorateClass([
|
|
|
3201
3204
|
], Timesheet);
|
|
3202
3205
|
|
|
3203
3206
|
// src/entities/timesheet-line.entity.ts
|
|
3204
|
-
var
|
|
3207
|
+
var import_typeorm25 = require("typeorm");
|
|
3205
3208
|
|
|
3206
3209
|
// src/entities/timesheet-logs.entity.ts
|
|
3207
3210
|
var import_typeorm23 = require("typeorm");
|
|
@@ -3251,6 +3254,62 @@ TimesheetLogs = __decorateClass([
|
|
|
3251
3254
|
(0, import_typeorm23.Entity)("timesheet-logs")
|
|
3252
3255
|
], TimesheetLogs);
|
|
3253
3256
|
|
|
3257
|
+
// src/entities/timesheet-line-history.entity.ts
|
|
3258
|
+
var import_typeorm24 = require("typeorm");
|
|
3259
|
+
var TimesheetSubmissionActionEnum = /* @__PURE__ */ ((TimesheetSubmissionActionEnum2) => {
|
|
3260
|
+
TimesheetSubmissionActionEnum2["SUBMITTED"] = "SUBMITTED";
|
|
3261
|
+
TimesheetSubmissionActionEnum2["RESUBMITTED"] = "RESUBMITTED";
|
|
3262
|
+
TimesheetSubmissionActionEnum2["SEND_BACK"] = "SEND_BACK";
|
|
3263
|
+
TimesheetSubmissionActionEnum2["APPROVED"] = "APPROVED";
|
|
3264
|
+
TimesheetSubmissionActionEnum2["REJECTED"] = "REJECTED";
|
|
3265
|
+
TimesheetSubmissionActionEnum2["PAID"] = "PAID";
|
|
3266
|
+
return TimesheetSubmissionActionEnum2;
|
|
3267
|
+
})(TimesheetSubmissionActionEnum || {});
|
|
3268
|
+
var TimesheetLineHistory = class extends BaseEntity {
|
|
3269
|
+
};
|
|
3270
|
+
__decorateClass([
|
|
3271
|
+
(0, import_typeorm24.Column)({ name: "timesheet_line_id", type: "integer", nullable: false }),
|
|
3272
|
+
(0, import_typeorm24.Index)()
|
|
3273
|
+
], TimesheetLineHistory.prototype, "timesheetLineId", 2);
|
|
3274
|
+
__decorateClass([
|
|
3275
|
+
(0, import_typeorm24.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLineHistory),
|
|
3276
|
+
(0, import_typeorm24.JoinColumn)({ name: "timesheet_line_id" })
|
|
3277
|
+
], TimesheetLineHistory.prototype, "timesheetLine", 2);
|
|
3278
|
+
__decorateClass([
|
|
3279
|
+
(0, import_typeorm24.Column)({ name: "changed_by", type: "integer", nullable: true }),
|
|
3280
|
+
(0, import_typeorm24.Index)()
|
|
3281
|
+
], TimesheetLineHistory.prototype, "changedBy", 2);
|
|
3282
|
+
__decorateClass([
|
|
3283
|
+
(0, import_typeorm24.Column)({
|
|
3284
|
+
name: "previous_status",
|
|
3285
|
+
type: "enum",
|
|
3286
|
+
enum: TimesheetLineStatusEnum,
|
|
3287
|
+
nullable: true
|
|
3288
|
+
})
|
|
3289
|
+
], TimesheetLineHistory.prototype, "previousStatus", 2);
|
|
3290
|
+
__decorateClass([
|
|
3291
|
+
(0, import_typeorm24.Column)({
|
|
3292
|
+
name: "new_status",
|
|
3293
|
+
type: "enum",
|
|
3294
|
+
enum: TimesheetLineStatusEnum,
|
|
3295
|
+
nullable: false
|
|
3296
|
+
})
|
|
3297
|
+
], TimesheetLineHistory.prototype, "newStatus", 2);
|
|
3298
|
+
__decorateClass([
|
|
3299
|
+
(0, import_typeorm24.Column)({
|
|
3300
|
+
name: "action_type",
|
|
3301
|
+
type: "enum",
|
|
3302
|
+
enum: TimesheetSubmissionActionEnum,
|
|
3303
|
+
nullable: false
|
|
3304
|
+
})
|
|
3305
|
+
], TimesheetLineHistory.prototype, "actionType", 2);
|
|
3306
|
+
__decorateClass([
|
|
3307
|
+
(0, import_typeorm24.Column)({ name: "remarks", type: "varchar", nullable: true })
|
|
3308
|
+
], TimesheetLineHistory.prototype, "remarks", 2);
|
|
3309
|
+
TimesheetLineHistory = __decorateClass([
|
|
3310
|
+
(0, import_typeorm24.Entity)("timesheet-line-history")
|
|
3311
|
+
], TimesheetLineHistory);
|
|
3312
|
+
|
|
3254
3313
|
// src/entities/timesheet-line.entity.ts
|
|
3255
3314
|
var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
|
|
3256
3315
|
TimesheetLineStatusEnum2["DRAFT"] = "DRAFT";
|
|
@@ -3266,54 +3325,57 @@ var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
|
|
|
3266
3325
|
var TimesheetLine = class extends BaseEntity {
|
|
3267
3326
|
};
|
|
3268
3327
|
__decorateClass([
|
|
3269
|
-
(0,
|
|
3270
|
-
(0,
|
|
3328
|
+
(0, import_typeorm25.Column)({ name: "job_id", type: "integer", nullable: true }),
|
|
3329
|
+
(0, import_typeorm25.Index)()
|
|
3271
3330
|
], TimesheetLine.prototype, "jobId", 2);
|
|
3272
3331
|
__decorateClass([
|
|
3273
|
-
(0,
|
|
3274
|
-
(0,
|
|
3332
|
+
(0, import_typeorm25.ManyToOne)(() => Job, (job) => job.timesheetLine),
|
|
3333
|
+
(0, import_typeorm25.JoinColumn)({ name: "job_id" })
|
|
3275
3334
|
], TimesheetLine.prototype, "job", 2);
|
|
3276
3335
|
__decorateClass([
|
|
3277
|
-
(0,
|
|
3278
|
-
(0,
|
|
3336
|
+
(0, import_typeorm25.Column)({ name: "client_id", type: "integer", nullable: true }),
|
|
3337
|
+
(0, import_typeorm25.Index)()
|
|
3279
3338
|
], TimesheetLine.prototype, "clientId", 2);
|
|
3280
3339
|
__decorateClass([
|
|
3281
|
-
(0,
|
|
3282
|
-
(0,
|
|
3340
|
+
(0, import_typeorm25.ManyToOne)(() => User, (user) => user.clientTimesheetLine),
|
|
3341
|
+
(0, import_typeorm25.JoinColumn)({ name: "client_id" })
|
|
3283
3342
|
], TimesheetLine.prototype, "client", 2);
|
|
3284
3343
|
__decorateClass([
|
|
3285
|
-
(0,
|
|
3286
|
-
(0,
|
|
3344
|
+
(0, import_typeorm25.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
|
|
3345
|
+
(0, import_typeorm25.Index)()
|
|
3287
3346
|
], TimesheetLine.prototype, "freelancerId", 2);
|
|
3288
3347
|
__decorateClass([
|
|
3289
|
-
(0,
|
|
3290
|
-
(0,
|
|
3348
|
+
(0, import_typeorm25.ManyToOne)(() => User, (user) => user.freelancerTimesheetLine),
|
|
3349
|
+
(0, import_typeorm25.JoinColumn)({ name: "freelancer_id" })
|
|
3291
3350
|
], TimesheetLine.prototype, "freelancer", 2);
|
|
3292
3351
|
__decorateClass([
|
|
3293
|
-
(0,
|
|
3352
|
+
(0, import_typeorm25.OneToMany)(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
|
|
3294
3353
|
], TimesheetLine.prototype, "timesheetLogs", 2);
|
|
3295
3354
|
__decorateClass([
|
|
3296
|
-
(0,
|
|
3355
|
+
(0, import_typeorm25.OneToMany)(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
|
|
3356
|
+
], TimesheetLine.prototype, "timesheetLineHistory", 2);
|
|
3357
|
+
__decorateClass([
|
|
3358
|
+
(0, import_typeorm25.Column)({ name: "unique_id", type: "varchar", nullable: true })
|
|
3297
3359
|
], TimesheetLine.prototype, "uniqueId", 2);
|
|
3298
3360
|
__decorateClass([
|
|
3299
|
-
(0,
|
|
3361
|
+
(0, import_typeorm25.Column)({
|
|
3300
3362
|
name: "week_start_date",
|
|
3301
3363
|
type: "date",
|
|
3302
3364
|
nullable: true
|
|
3303
3365
|
})
|
|
3304
3366
|
], TimesheetLine.prototype, "weekStartDate", 2);
|
|
3305
3367
|
__decorateClass([
|
|
3306
|
-
(0,
|
|
3368
|
+
(0, import_typeorm25.Column)({
|
|
3307
3369
|
name: "week_end_date",
|
|
3308
3370
|
type: "date",
|
|
3309
3371
|
nullable: true
|
|
3310
3372
|
})
|
|
3311
3373
|
], TimesheetLine.prototype, "weekEndDate", 2);
|
|
3312
3374
|
__decorateClass([
|
|
3313
|
-
(0,
|
|
3375
|
+
(0, import_typeorm25.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
|
|
3314
3376
|
], TimesheetLine.prototype, "status", 2);
|
|
3315
3377
|
TimesheetLine = __decorateClass([
|
|
3316
|
-
(0,
|
|
3378
|
+
(0, import_typeorm25.Entity)("timesheet-line")
|
|
3317
3379
|
], TimesheetLine);
|
|
3318
3380
|
|
|
3319
3381
|
// src/entities/job.entity.ts
|
|
@@ -3353,52 +3415,52 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
|
|
|
3353
3415
|
var Job = class extends BaseEntity {
|
|
3354
3416
|
};
|
|
3355
3417
|
__decorateClass([
|
|
3356
|
-
(0,
|
|
3418
|
+
(0, import_typeorm26.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
|
|
3357
3419
|
], Job.prototype, "jobId", 2);
|
|
3358
3420
|
// individual index to find jobs by user
|
|
3359
3421
|
__decorateClass([
|
|
3360
|
-
(0,
|
|
3361
|
-
(0,
|
|
3422
|
+
(0, import_typeorm26.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3423
|
+
(0, import_typeorm26.Index)()
|
|
3362
3424
|
], Job.prototype, "userId", 2);
|
|
3363
3425
|
__decorateClass([
|
|
3364
|
-
(0,
|
|
3365
|
-
(0,
|
|
3426
|
+
(0, import_typeorm26.ManyToOne)(() => User, (user) => user.jobs),
|
|
3427
|
+
(0, import_typeorm26.JoinColumn)({ name: "user_id" })
|
|
3366
3428
|
], Job.prototype, "user", 2);
|
|
3367
3429
|
__decorateClass([
|
|
3368
|
-
(0,
|
|
3430
|
+
(0, import_typeorm26.Column)({ name: "country_id", type: "int", nullable: true })
|
|
3369
3431
|
], Job.prototype, "countryId", 2);
|
|
3370
3432
|
__decorateClass([
|
|
3371
|
-
(0,
|
|
3372
|
-
(0,
|
|
3433
|
+
(0, import_typeorm26.ManyToOne)(() => Country),
|
|
3434
|
+
(0, import_typeorm26.JoinColumn)({ name: "country_id" })
|
|
3373
3435
|
], Job.prototype, "country", 2);
|
|
3374
3436
|
__decorateClass([
|
|
3375
|
-
(0,
|
|
3437
|
+
(0, import_typeorm26.Column)({ name: "state_id", type: "int", nullable: true })
|
|
3376
3438
|
], Job.prototype, "stateId", 2);
|
|
3377
3439
|
__decorateClass([
|
|
3378
|
-
(0,
|
|
3379
|
-
(0,
|
|
3440
|
+
(0, import_typeorm26.ManyToOne)(() => State),
|
|
3441
|
+
(0, import_typeorm26.JoinColumn)({ name: "state_id" })
|
|
3380
3442
|
], Job.prototype, "state", 2);
|
|
3381
3443
|
__decorateClass([
|
|
3382
|
-
(0,
|
|
3444
|
+
(0, import_typeorm26.Column)({ name: "city_id", type: "int", nullable: true })
|
|
3383
3445
|
], Job.prototype, "cityId", 2);
|
|
3384
3446
|
__decorateClass([
|
|
3385
|
-
(0,
|
|
3386
|
-
(0,
|
|
3447
|
+
(0, import_typeorm26.ManyToOne)(() => City),
|
|
3448
|
+
(0, import_typeorm26.JoinColumn)({ name: "city_id" })
|
|
3387
3449
|
], Job.prototype, "city", 2);
|
|
3388
3450
|
__decorateClass([
|
|
3389
|
-
(0,
|
|
3451
|
+
(0, import_typeorm26.Column)({ name: "job_role", type: "varchar", nullable: true })
|
|
3390
3452
|
], Job.prototype, "jobRole", 2);
|
|
3391
3453
|
__decorateClass([
|
|
3392
|
-
(0,
|
|
3454
|
+
(0, import_typeorm26.Column)({ name: "project_name", type: "varchar", nullable: true })
|
|
3393
3455
|
], Job.prototype, "projectName", 2);
|
|
3394
3456
|
__decorateClass([
|
|
3395
|
-
(0,
|
|
3457
|
+
(0, import_typeorm26.Column)({ name: "note", type: "varchar", nullable: true })
|
|
3396
3458
|
], Job.prototype, "note", 2);
|
|
3397
3459
|
__decorateClass([
|
|
3398
|
-
(0,
|
|
3460
|
+
(0, import_typeorm26.Column)({ name: "openings", type: "integer", default: 0 })
|
|
3399
3461
|
], Job.prototype, "openings", 2);
|
|
3400
3462
|
__decorateClass([
|
|
3401
|
-
(0,
|
|
3463
|
+
(0, import_typeorm26.Column)({
|
|
3402
3464
|
name: "location",
|
|
3403
3465
|
type: "enum",
|
|
3404
3466
|
enum: JobLocationEnum,
|
|
@@ -3406,7 +3468,7 @@ __decorateClass([
|
|
|
3406
3468
|
})
|
|
3407
3469
|
], Job.prototype, "location", 2);
|
|
3408
3470
|
__decorateClass([
|
|
3409
|
-
(0,
|
|
3471
|
+
(0, import_typeorm26.Column)({
|
|
3410
3472
|
name: "type_of_employment",
|
|
3411
3473
|
type: "enum",
|
|
3412
3474
|
enum: TypeOfEmploymentEnum,
|
|
@@ -3414,19 +3476,19 @@ __decorateClass([
|
|
|
3414
3476
|
})
|
|
3415
3477
|
], Job.prototype, "typeOfEmployment", 2);
|
|
3416
3478
|
__decorateClass([
|
|
3417
|
-
(0,
|
|
3479
|
+
(0, import_typeorm26.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
|
|
3418
3480
|
], Job.prototype, "academicQualification", 2);
|
|
3419
3481
|
__decorateClass([
|
|
3420
|
-
(0,
|
|
3482
|
+
(0, import_typeorm26.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
|
|
3421
3483
|
], Job.prototype, "yearsOfExperience", 2);
|
|
3422
3484
|
__decorateClass([
|
|
3423
|
-
(0,
|
|
3485
|
+
(0, import_typeorm26.Column)({ name: "business_industry", type: "varchar", nullable: true })
|
|
3424
3486
|
], Job.prototype, "businessIndustry", 2);
|
|
3425
3487
|
__decorateClass([
|
|
3426
|
-
(0,
|
|
3488
|
+
(0, import_typeorm26.Column)({ name: "currency", type: "varchar", default: "USD" })
|
|
3427
3489
|
], Job.prototype, "currency", 2);
|
|
3428
3490
|
__decorateClass([
|
|
3429
|
-
(0,
|
|
3491
|
+
(0, import_typeorm26.Column)({
|
|
3430
3492
|
name: "expected_salary_from",
|
|
3431
3493
|
type: "decimal",
|
|
3432
3494
|
precision: 10,
|
|
@@ -3435,7 +3497,7 @@ __decorateClass([
|
|
|
3435
3497
|
})
|
|
3436
3498
|
], Job.prototype, "expectedSalaryFrom", 2);
|
|
3437
3499
|
__decorateClass([
|
|
3438
|
-
(0,
|
|
3500
|
+
(0, import_typeorm26.Column)({
|
|
3439
3501
|
name: "expected_salary_to",
|
|
3440
3502
|
type: "decimal",
|
|
3441
3503
|
precision: 10,
|
|
@@ -3444,16 +3506,16 @@ __decorateClass([
|
|
|
3444
3506
|
})
|
|
3445
3507
|
], Job.prototype, "expectedSalaryTo", 2);
|
|
3446
3508
|
__decorateClass([
|
|
3447
|
-
(0,
|
|
3509
|
+
(0, import_typeorm26.Column)({ name: "tentative_start_date", type: "date", nullable: true })
|
|
3448
3510
|
], Job.prototype, "tentativeStartDate", 2);
|
|
3449
3511
|
__decorateClass([
|
|
3450
|
-
(0,
|
|
3512
|
+
(0, import_typeorm26.Column)({ name: "tentative_end_date", type: "date", nullable: true })
|
|
3451
3513
|
], Job.prototype, "tentativeEndDate", 2);
|
|
3452
3514
|
__decorateClass([
|
|
3453
|
-
(0,
|
|
3515
|
+
(0, import_typeorm26.Column)({ name: "duration", type: "varchar", nullable: true })
|
|
3454
3516
|
], Job.prototype, "duration", 2);
|
|
3455
3517
|
__decorateClass([
|
|
3456
|
-
(0,
|
|
3518
|
+
(0, import_typeorm26.Column)({
|
|
3457
3519
|
name: "duration_type",
|
|
3458
3520
|
type: "enum",
|
|
3459
3521
|
enum: DurationTypeEnum,
|
|
@@ -3461,13 +3523,13 @@ __decorateClass([
|
|
|
3461
3523
|
})
|
|
3462
3524
|
], Job.prototype, "durationType", 2);
|
|
3463
3525
|
__decorateClass([
|
|
3464
|
-
(0,
|
|
3526
|
+
(0, import_typeorm26.Column)({ name: "description", type: "varchar", nullable: true })
|
|
3465
3527
|
], Job.prototype, "description", 2);
|
|
3466
3528
|
__decorateClass([
|
|
3467
|
-
(0,
|
|
3529
|
+
(0, import_typeorm26.Column)({ name: "additional_comment", type: "varchar", nullable: true })
|
|
3468
3530
|
], Job.prototype, "additionalComment", 2);
|
|
3469
3531
|
__decorateClass([
|
|
3470
|
-
(0,
|
|
3532
|
+
(0, import_typeorm26.Column)({
|
|
3471
3533
|
name: "onboarding_tat",
|
|
3472
3534
|
type: "varchar",
|
|
3473
3535
|
length: 50,
|
|
@@ -3475,14 +3537,14 @@ __decorateClass([
|
|
|
3475
3537
|
})
|
|
3476
3538
|
], Job.prototype, "onboardingTat", 2);
|
|
3477
3539
|
__decorateClass([
|
|
3478
|
-
(0,
|
|
3540
|
+
(0, import_typeorm26.Column)({
|
|
3479
3541
|
name: "candidate_communication_skills",
|
|
3480
3542
|
type: "varchar",
|
|
3481
3543
|
nullable: true
|
|
3482
3544
|
})
|
|
3483
3545
|
], Job.prototype, "candidateCommunicationSkills", 2);
|
|
3484
3546
|
__decorateClass([
|
|
3485
|
-
(0,
|
|
3547
|
+
(0, import_typeorm26.Column)({
|
|
3486
3548
|
name: "step_completed",
|
|
3487
3549
|
type: "enum",
|
|
3488
3550
|
enum: Step,
|
|
@@ -3490,7 +3552,7 @@ __decorateClass([
|
|
|
3490
3552
|
})
|
|
3491
3553
|
], Job.prototype, "stepCompleted", 2);
|
|
3492
3554
|
__decorateClass([
|
|
3493
|
-
(0,
|
|
3555
|
+
(0, import_typeorm26.Column)({
|
|
3494
3556
|
name: "status",
|
|
3495
3557
|
type: "enum",
|
|
3496
3558
|
enum: JobStatusEnum,
|
|
@@ -3498,32 +3560,32 @@ __decorateClass([
|
|
|
3498
3560
|
})
|
|
3499
3561
|
], Job.prototype, "status", 2);
|
|
3500
3562
|
__decorateClass([
|
|
3501
|
-
(0,
|
|
3563
|
+
(0, import_typeorm26.Column)({ name: "viewed_count", type: "integer", default: 0 })
|
|
3502
3564
|
], Job.prototype, "viewedCount", 2);
|
|
3503
3565
|
__decorateClass([
|
|
3504
|
-
(0,
|
|
3566
|
+
(0, import_typeorm26.Column)({ name: "application_count", type: "integer", default: 0 })
|
|
3505
3567
|
], Job.prototype, "applicationCount", 2);
|
|
3506
3568
|
__decorateClass([
|
|
3507
|
-
(0,
|
|
3569
|
+
(0, import_typeorm26.Column)({ name: "is_contract_signed", type: "boolean", default: false })
|
|
3508
3570
|
], Job.prototype, "isContractSigned", 2);
|
|
3509
3571
|
__decorateClass([
|
|
3510
|
-
(0,
|
|
3572
|
+
(0, import_typeorm26.Column)({ name: "is_interview_created", type: "boolean", default: false })
|
|
3511
3573
|
], Job.prototype, "isInterviewCreated", 2);
|
|
3512
3574
|
__decorateClass([
|
|
3513
|
-
(0,
|
|
3575
|
+
(0, import_typeorm26.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
3514
3576
|
], Job.prototype, "jobSkills", 2);
|
|
3515
3577
|
__decorateClass([
|
|
3516
|
-
(0,
|
|
3578
|
+
(0, import_typeorm26.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
|
|
3517
3579
|
cascade: true
|
|
3518
3580
|
})
|
|
3519
3581
|
], Job.prototype, "jobApplications", 2);
|
|
3520
3582
|
__decorateClass([
|
|
3521
|
-
(0,
|
|
3583
|
+
(0, import_typeorm26.OneToMany)(() => Interview, (interview) => interview.job, {
|
|
3522
3584
|
cascade: true
|
|
3523
3585
|
})
|
|
3524
3586
|
], Job.prototype, "interviews", 2);
|
|
3525
3587
|
__decorateClass([
|
|
3526
|
-
(0,
|
|
3588
|
+
(0, import_typeorm26.OneToMany)(
|
|
3527
3589
|
() => JobRecommendation,
|
|
3528
3590
|
(jobRecommendation) => jobRecommendation.job,
|
|
3529
3591
|
{
|
|
@@ -3532,7 +3594,7 @@ __decorateClass([
|
|
|
3532
3594
|
)
|
|
3533
3595
|
], Job.prototype, "recommendations", 2);
|
|
3534
3596
|
__decorateClass([
|
|
3535
|
-
(0,
|
|
3597
|
+
(0, import_typeorm26.OneToMany)(
|
|
3536
3598
|
() => Contract,
|
|
3537
3599
|
(contract) => contract.job,
|
|
3538
3600
|
{
|
|
@@ -3541,7 +3603,7 @@ __decorateClass([
|
|
|
3541
3603
|
)
|
|
3542
3604
|
], Job.prototype, "contracts", 2);
|
|
3543
3605
|
__decorateClass([
|
|
3544
|
-
(0,
|
|
3606
|
+
(0, import_typeorm26.OneToMany)(
|
|
3545
3607
|
() => Timesheet,
|
|
3546
3608
|
(timesheet) => timesheet.job,
|
|
3547
3609
|
{
|
|
@@ -3550,7 +3612,7 @@ __decorateClass([
|
|
|
3550
3612
|
)
|
|
3551
3613
|
], Job.prototype, "timesheets", 2);
|
|
3552
3614
|
__decorateClass([
|
|
3553
|
-
(0,
|
|
3615
|
+
(0, import_typeorm26.OneToMany)(
|
|
3554
3616
|
() => TimesheetLine,
|
|
3555
3617
|
(timesheetLine) => timesheetLine.job,
|
|
3556
3618
|
{
|
|
@@ -3559,11 +3621,11 @@ __decorateClass([
|
|
|
3559
3621
|
)
|
|
3560
3622
|
], Job.prototype, "timesheetLine", 2);
|
|
3561
3623
|
Job = __decorateClass([
|
|
3562
|
-
(0,
|
|
3624
|
+
(0, import_typeorm26.Entity)("jobs")
|
|
3563
3625
|
], Job);
|
|
3564
3626
|
|
|
3565
3627
|
// src/entities/bank-details.entity.ts
|
|
3566
|
-
var
|
|
3628
|
+
var import_typeorm27 = require("typeorm");
|
|
3567
3629
|
var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
|
|
3568
3630
|
BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
|
|
3569
3631
|
BankAccountTypeEnum2["SECONDARY"] = "SECONDARY";
|
|
@@ -3578,48 +3640,48 @@ var BankDetail = class extends BaseEntity {
|
|
|
3578
3640
|
};
|
|
3579
3641
|
// individual index to find bank details by user
|
|
3580
3642
|
__decorateClass([
|
|
3581
|
-
(0,
|
|
3582
|
-
(0,
|
|
3643
|
+
(0, import_typeorm27.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3644
|
+
(0, import_typeorm27.Index)()
|
|
3583
3645
|
], BankDetail.prototype, "userId", 2);
|
|
3584
3646
|
__decorateClass([
|
|
3585
|
-
(0,
|
|
3586
|
-
(0,
|
|
3647
|
+
(0, import_typeorm27.ManyToOne)(() => User, (user) => user.bankDetail),
|
|
3648
|
+
(0, import_typeorm27.JoinColumn)({ name: "user_id" })
|
|
3587
3649
|
], BankDetail.prototype, "user", 2);
|
|
3588
3650
|
__decorateClass([
|
|
3589
|
-
(0,
|
|
3651
|
+
(0, import_typeorm27.Column)({ name: "name", type: "varchar", nullable: true })
|
|
3590
3652
|
], BankDetail.prototype, "name", 2);
|
|
3591
3653
|
__decorateClass([
|
|
3592
|
-
(0,
|
|
3654
|
+
(0, import_typeorm27.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
|
|
3593
3655
|
], BankDetail.prototype, "mobile", 2);
|
|
3594
3656
|
__decorateClass([
|
|
3595
|
-
(0,
|
|
3657
|
+
(0, import_typeorm27.Column)({ name: "email", type: "varchar", unique: true })
|
|
3596
3658
|
], BankDetail.prototype, "email", 2);
|
|
3597
3659
|
__decorateClass([
|
|
3598
|
-
(0,
|
|
3660
|
+
(0, import_typeorm27.Column)({ name: "address", type: "varchar", nullable: true })
|
|
3599
3661
|
], BankDetail.prototype, "address", 2);
|
|
3600
3662
|
__decorateClass([
|
|
3601
|
-
(0,
|
|
3663
|
+
(0, import_typeorm27.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
|
|
3602
3664
|
], BankDetail.prototype, "accountNumber", 2);
|
|
3603
3665
|
__decorateClass([
|
|
3604
|
-
(0,
|
|
3666
|
+
(0, import_typeorm27.Column)({ name: "bank_name", type: "varchar", nullable: true })
|
|
3605
3667
|
], BankDetail.prototype, "bankName", 2);
|
|
3606
3668
|
__decorateClass([
|
|
3607
|
-
(0,
|
|
3669
|
+
(0, import_typeorm27.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
|
|
3608
3670
|
], BankDetail.prototype, "ifscCode", 2);
|
|
3609
3671
|
__decorateClass([
|
|
3610
|
-
(0,
|
|
3672
|
+
(0, import_typeorm27.Column)({ name: "branch_name", type: "varchar", nullable: true })
|
|
3611
3673
|
], BankDetail.prototype, "branchName", 2);
|
|
3612
3674
|
__decorateClass([
|
|
3613
|
-
(0,
|
|
3675
|
+
(0, import_typeorm27.Column)({ name: "routing_no", type: "varchar", nullable: true })
|
|
3614
3676
|
], BankDetail.prototype, "routingNo", 2);
|
|
3615
3677
|
__decorateClass([
|
|
3616
|
-
(0,
|
|
3678
|
+
(0, import_typeorm27.Column)({ name: "aba_no", type: "varchar", nullable: true })
|
|
3617
3679
|
], BankDetail.prototype, "abaNumber", 2);
|
|
3618
3680
|
__decorateClass([
|
|
3619
|
-
(0,
|
|
3681
|
+
(0, import_typeorm27.Column)({ name: "iban", type: "varchar", nullable: true })
|
|
3620
3682
|
], BankDetail.prototype, "iban", 2);
|
|
3621
3683
|
__decorateClass([
|
|
3622
|
-
(0,
|
|
3684
|
+
(0, import_typeorm27.Column)({
|
|
3623
3685
|
name: "account_type",
|
|
3624
3686
|
type: "enum",
|
|
3625
3687
|
enum: BankAccountTypeEnum,
|
|
@@ -3627,7 +3689,7 @@ __decorateClass([
|
|
|
3627
3689
|
})
|
|
3628
3690
|
], BankDetail.prototype, "accountType", 2);
|
|
3629
3691
|
__decorateClass([
|
|
3630
|
-
(0,
|
|
3692
|
+
(0, import_typeorm27.Column)({
|
|
3631
3693
|
name: "account_scope",
|
|
3632
3694
|
type: "enum",
|
|
3633
3695
|
enum: BankAccountScopeEnum,
|
|
@@ -3635,210 +3697,210 @@ __decorateClass([
|
|
|
3635
3697
|
})
|
|
3636
3698
|
], BankDetail.prototype, "accountScope", 2);
|
|
3637
3699
|
BankDetail = __decorateClass([
|
|
3638
|
-
(0,
|
|
3700
|
+
(0, import_typeorm27.Entity)("bank_details")
|
|
3639
3701
|
], BankDetail);
|
|
3640
3702
|
|
|
3641
3703
|
// src/entities/system-preference.entity.ts
|
|
3642
|
-
var
|
|
3704
|
+
var import_typeorm28 = require("typeorm");
|
|
3643
3705
|
var SystemPreference = class extends BaseEntity {
|
|
3644
3706
|
};
|
|
3645
3707
|
// individual index to find system preference by user
|
|
3646
3708
|
__decorateClass([
|
|
3647
|
-
(0,
|
|
3648
|
-
(0,
|
|
3709
|
+
(0, import_typeorm28.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3710
|
+
(0, import_typeorm28.Index)()
|
|
3649
3711
|
], SystemPreference.prototype, "userId", 2);
|
|
3650
3712
|
__decorateClass([
|
|
3651
|
-
(0,
|
|
3652
|
-
(0,
|
|
3713
|
+
(0, import_typeorm28.ManyToOne)(() => User, (user) => user.systemPreference),
|
|
3714
|
+
(0, import_typeorm28.JoinColumn)({ name: "user_id" })
|
|
3653
3715
|
], SystemPreference.prototype, "user", 2);
|
|
3654
3716
|
__decorateClass([
|
|
3655
|
-
(0,
|
|
3717
|
+
(0, import_typeorm28.Column)({ name: "key", type: "varchar", nullable: false })
|
|
3656
3718
|
], SystemPreference.prototype, "key", 2);
|
|
3657
3719
|
__decorateClass([
|
|
3658
|
-
(0,
|
|
3720
|
+
(0, import_typeorm28.Column)({ name: "value", type: "boolean", default: false })
|
|
3659
3721
|
], SystemPreference.prototype, "value", 2);
|
|
3660
3722
|
SystemPreference = __decorateClass([
|
|
3661
|
-
(0,
|
|
3723
|
+
(0, import_typeorm28.Entity)("system_preferences")
|
|
3662
3724
|
], SystemPreference);
|
|
3663
3725
|
|
|
3664
3726
|
// src/entities/freelancer-experience.entity.ts
|
|
3665
|
-
var
|
|
3727
|
+
var import_typeorm29 = require("typeorm");
|
|
3666
3728
|
var FreelancerExperience = class extends BaseEntity {
|
|
3667
3729
|
};
|
|
3668
3730
|
// individual index to find experence by user
|
|
3669
3731
|
__decorateClass([
|
|
3670
|
-
(0,
|
|
3671
|
-
(0,
|
|
3732
|
+
(0, import_typeorm29.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3733
|
+
(0, import_typeorm29.Index)()
|
|
3672
3734
|
], FreelancerExperience.prototype, "userId", 2);
|
|
3673
3735
|
__decorateClass([
|
|
3674
|
-
(0,
|
|
3675
|
-
(0,
|
|
3736
|
+
(0, import_typeorm29.ManyToOne)(() => User, (user) => user.freelancerExperience),
|
|
3737
|
+
(0, import_typeorm29.JoinColumn)({ name: "user_id" })
|
|
3676
3738
|
], FreelancerExperience.prototype, "user", 2);
|
|
3677
3739
|
__decorateClass([
|
|
3678
|
-
(0,
|
|
3740
|
+
(0, import_typeorm29.Column)({ name: "company_name", type: "varchar", nullable: true })
|
|
3679
3741
|
], FreelancerExperience.prototype, "companyName", 2);
|
|
3680
3742
|
__decorateClass([
|
|
3681
|
-
(0,
|
|
3743
|
+
(0, import_typeorm29.Column)({ name: "designation", type: "varchar", nullable: true })
|
|
3682
3744
|
], FreelancerExperience.prototype, "designation", 2);
|
|
3683
3745
|
__decorateClass([
|
|
3684
|
-
(0,
|
|
3746
|
+
(0, import_typeorm29.Column)({ name: "job_duration", type: "varchar", nullable: true })
|
|
3685
3747
|
], FreelancerExperience.prototype, "jobDuration", 2);
|
|
3686
3748
|
__decorateClass([
|
|
3687
|
-
(0,
|
|
3749
|
+
(0, import_typeorm29.Column)({ name: "description", type: "varchar", nullable: true })
|
|
3688
3750
|
], FreelancerExperience.prototype, "description", 2);
|
|
3689
3751
|
FreelancerExperience = __decorateClass([
|
|
3690
|
-
(0,
|
|
3752
|
+
(0, import_typeorm29.Entity)("freelancer_experiences")
|
|
3691
3753
|
], FreelancerExperience);
|
|
3692
3754
|
|
|
3693
3755
|
// src/entities/freelancer-education.entity.ts
|
|
3694
|
-
var
|
|
3756
|
+
var import_typeorm30 = require("typeorm");
|
|
3695
3757
|
var FreelancerEducation = class extends BaseEntity {
|
|
3696
3758
|
};
|
|
3697
3759
|
// individual index to find education by user
|
|
3698
3760
|
__decorateClass([
|
|
3699
|
-
(0,
|
|
3700
|
-
(0,
|
|
3761
|
+
(0, import_typeorm30.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3762
|
+
(0, import_typeorm30.Index)()
|
|
3701
3763
|
], FreelancerEducation.prototype, "userId", 2);
|
|
3702
3764
|
__decorateClass([
|
|
3703
|
-
(0,
|
|
3704
|
-
(0,
|
|
3765
|
+
(0, import_typeorm30.ManyToOne)(() => User, (user) => user.freelancerEducation),
|
|
3766
|
+
(0, import_typeorm30.JoinColumn)({ name: "user_id" })
|
|
3705
3767
|
], FreelancerEducation.prototype, "user", 2);
|
|
3706
3768
|
__decorateClass([
|
|
3707
|
-
(0,
|
|
3769
|
+
(0, import_typeorm30.Column)({ name: "degree", type: "varchar", nullable: true })
|
|
3708
3770
|
], FreelancerEducation.prototype, "degree", 2);
|
|
3709
3771
|
__decorateClass([
|
|
3710
|
-
(0,
|
|
3772
|
+
(0, import_typeorm30.Column)({ name: "university", type: "varchar", nullable: true })
|
|
3711
3773
|
], FreelancerEducation.prototype, "university", 2);
|
|
3712
3774
|
__decorateClass([
|
|
3713
|
-
(0,
|
|
3775
|
+
(0, import_typeorm30.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
|
|
3714
3776
|
], FreelancerEducation.prototype, "yearOfGraduation", 2);
|
|
3715
3777
|
FreelancerEducation = __decorateClass([
|
|
3716
|
-
(0,
|
|
3778
|
+
(0, import_typeorm30.Entity)("freelancer_educations")
|
|
3717
3779
|
], FreelancerEducation);
|
|
3718
3780
|
|
|
3719
3781
|
// src/entities/freelancer-project.entity.ts
|
|
3720
|
-
var
|
|
3782
|
+
var import_typeorm31 = require("typeorm");
|
|
3721
3783
|
var FreelancerProject = class extends BaseEntity {
|
|
3722
3784
|
};
|
|
3723
3785
|
// individual index to find project by user
|
|
3724
3786
|
__decorateClass([
|
|
3725
|
-
(0,
|
|
3726
|
-
(0,
|
|
3787
|
+
(0, import_typeorm31.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3788
|
+
(0, import_typeorm31.Index)()
|
|
3727
3789
|
], FreelancerProject.prototype, "userId", 2);
|
|
3728
3790
|
__decorateClass([
|
|
3729
|
-
(0,
|
|
3730
|
-
(0,
|
|
3791
|
+
(0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerProject),
|
|
3792
|
+
(0, import_typeorm31.JoinColumn)({ name: "user_id" })
|
|
3731
3793
|
], FreelancerProject.prototype, "user", 2);
|
|
3732
3794
|
__decorateClass([
|
|
3733
|
-
(0,
|
|
3795
|
+
(0, import_typeorm31.Column)({ name: "project_name", type: "varchar", nullable: true })
|
|
3734
3796
|
], FreelancerProject.prototype, "projectName", 2);
|
|
3735
3797
|
__decorateClass([
|
|
3736
|
-
(0,
|
|
3798
|
+
(0, import_typeorm31.Column)({ name: "start_date", type: "date", nullable: true })
|
|
3737
3799
|
], FreelancerProject.prototype, "startDate", 2);
|
|
3738
3800
|
__decorateClass([
|
|
3739
|
-
(0,
|
|
3801
|
+
(0, import_typeorm31.Column)({ name: "end_date", type: "date", nullable: true })
|
|
3740
3802
|
], FreelancerProject.prototype, "endDate", 2);
|
|
3741
3803
|
__decorateClass([
|
|
3742
|
-
(0,
|
|
3804
|
+
(0, import_typeorm31.Column)({ name: "client_name", type: "varchar", nullable: true })
|
|
3743
3805
|
], FreelancerProject.prototype, "clientName", 2);
|
|
3744
3806
|
__decorateClass([
|
|
3745
|
-
(0,
|
|
3807
|
+
(0, import_typeorm31.Column)({ name: "git_link", type: "varchar", nullable: true })
|
|
3746
3808
|
], FreelancerProject.prototype, "gitLink", 2);
|
|
3747
3809
|
__decorateClass([
|
|
3748
|
-
(0,
|
|
3810
|
+
(0, import_typeorm31.Column)({ name: "description", type: "varchar", nullable: true })
|
|
3749
3811
|
], FreelancerProject.prototype, "description", 2);
|
|
3750
3812
|
FreelancerProject = __decorateClass([
|
|
3751
|
-
(0,
|
|
3813
|
+
(0, import_typeorm31.Entity)("freelancer_projects")
|
|
3752
3814
|
], FreelancerProject);
|
|
3753
3815
|
|
|
3754
3816
|
// src/entities/freelancer-casestudy.entity.ts
|
|
3755
|
-
var
|
|
3817
|
+
var import_typeorm32 = require("typeorm");
|
|
3756
3818
|
var FreelancerCaseStudy = class extends BaseEntity {
|
|
3757
3819
|
};
|
|
3758
3820
|
// individual index to find case study by user
|
|
3759
3821
|
__decorateClass([
|
|
3760
|
-
(0,
|
|
3761
|
-
(0,
|
|
3822
|
+
(0, import_typeorm32.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3823
|
+
(0, import_typeorm32.Index)()
|
|
3762
3824
|
], FreelancerCaseStudy.prototype, "userId", 2);
|
|
3763
3825
|
__decorateClass([
|
|
3764
|
-
(0,
|
|
3765
|
-
(0,
|
|
3826
|
+
(0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
|
|
3827
|
+
(0, import_typeorm32.JoinColumn)({ name: "user_id" })
|
|
3766
3828
|
], FreelancerCaseStudy.prototype, "user", 2);
|
|
3767
3829
|
__decorateClass([
|
|
3768
|
-
(0,
|
|
3830
|
+
(0, import_typeorm32.Column)({ name: "project_name", type: "varchar", nullable: true })
|
|
3769
3831
|
], FreelancerCaseStudy.prototype, "projectName", 2);
|
|
3770
3832
|
__decorateClass([
|
|
3771
|
-
(0,
|
|
3833
|
+
(0, import_typeorm32.Column)({ name: "case_study_link", type: "varchar", nullable: true })
|
|
3772
3834
|
], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
|
|
3773
3835
|
__decorateClass([
|
|
3774
|
-
(0,
|
|
3836
|
+
(0, import_typeorm32.Column)({ name: "description", type: "varchar", nullable: true })
|
|
3775
3837
|
], FreelancerCaseStudy.prototype, "description", 2);
|
|
3776
3838
|
FreelancerCaseStudy = __decorateClass([
|
|
3777
|
-
(0,
|
|
3839
|
+
(0, import_typeorm32.Entity)("freelancer_case_studies")
|
|
3778
3840
|
], FreelancerCaseStudy);
|
|
3779
3841
|
|
|
3780
3842
|
// src/entities/freelancer-skill.entity.ts
|
|
3781
|
-
var
|
|
3843
|
+
var import_typeorm33 = require("typeorm");
|
|
3782
3844
|
var FreelancerSkill = class extends BaseEntity {
|
|
3783
3845
|
};
|
|
3784
3846
|
// individual index to find core skills by user
|
|
3785
3847
|
__decorateClass([
|
|
3786
|
-
(0,
|
|
3787
|
-
(0,
|
|
3848
|
+
(0, import_typeorm33.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3849
|
+
(0, import_typeorm33.Index)()
|
|
3788
3850
|
], FreelancerSkill.prototype, "userId", 2);
|
|
3789
3851
|
__decorateClass([
|
|
3790
|
-
(0,
|
|
3791
|
-
(0,
|
|
3852
|
+
(0, import_typeorm33.ManyToOne)(() => User, (user) => user.freelancerSkills),
|
|
3853
|
+
(0, import_typeorm33.JoinColumn)({ name: "user_id" })
|
|
3792
3854
|
], FreelancerSkill.prototype, "user", 2);
|
|
3793
3855
|
__decorateClass([
|
|
3794
|
-
(0,
|
|
3856
|
+
(0, import_typeorm33.Column)({ name: "skill_name", type: "varchar", nullable: true })
|
|
3795
3857
|
], FreelancerSkill.prototype, "skillName", 2);
|
|
3796
3858
|
FreelancerSkill = __decorateClass([
|
|
3797
|
-
(0,
|
|
3859
|
+
(0, import_typeorm33.Entity)("freelancer_skills")
|
|
3798
3860
|
], FreelancerSkill);
|
|
3799
3861
|
|
|
3800
3862
|
// src/entities/freelancer-tool.entity.ts
|
|
3801
|
-
var
|
|
3863
|
+
var import_typeorm34 = require("typeorm");
|
|
3802
3864
|
var FreelancerTool = class extends BaseEntity {
|
|
3803
3865
|
};
|
|
3804
3866
|
// individual index to find tool by user
|
|
3805
3867
|
__decorateClass([
|
|
3806
|
-
(0,
|
|
3807
|
-
(0,
|
|
3868
|
+
(0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3869
|
+
(0, import_typeorm34.Index)()
|
|
3808
3870
|
], FreelancerTool.prototype, "userId", 2);
|
|
3809
3871
|
__decorateClass([
|
|
3810
|
-
(0,
|
|
3811
|
-
(0,
|
|
3872
|
+
(0, import_typeorm34.ManyToOne)(() => User, (user) => user.freelancerTool),
|
|
3873
|
+
(0, import_typeorm34.JoinColumn)({ name: "user_id" })
|
|
3812
3874
|
], FreelancerTool.prototype, "user", 2);
|
|
3813
3875
|
__decorateClass([
|
|
3814
|
-
(0,
|
|
3876
|
+
(0, import_typeorm34.Column)({ name: "tool_name", type: "varchar", nullable: true })
|
|
3815
3877
|
], FreelancerTool.prototype, "toolName", 2);
|
|
3816
3878
|
FreelancerTool = __decorateClass([
|
|
3817
|
-
(0,
|
|
3879
|
+
(0, import_typeorm34.Entity)("freelancer_tools")
|
|
3818
3880
|
], FreelancerTool);
|
|
3819
3881
|
|
|
3820
3882
|
// src/entities/freelancer-framework.entity.ts
|
|
3821
|
-
var
|
|
3883
|
+
var import_typeorm35 = require("typeorm");
|
|
3822
3884
|
var FreelancerFramework = class extends BaseEntity {
|
|
3823
3885
|
};
|
|
3824
3886
|
// individual index to find framework by user
|
|
3825
3887
|
__decorateClass([
|
|
3826
|
-
(0,
|
|
3827
|
-
(0,
|
|
3888
|
+
(0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3889
|
+
(0, import_typeorm35.Index)()
|
|
3828
3890
|
], FreelancerFramework.prototype, "userId", 2);
|
|
3829
3891
|
__decorateClass([
|
|
3830
|
-
(0,
|
|
3831
|
-
(0,
|
|
3892
|
+
(0, import_typeorm35.ManyToOne)(() => User, (user) => user.freelancerFramework),
|
|
3893
|
+
(0, import_typeorm35.JoinColumn)({ name: "user_id" })
|
|
3832
3894
|
], FreelancerFramework.prototype, "user", 2);
|
|
3833
3895
|
__decorateClass([
|
|
3834
|
-
(0,
|
|
3896
|
+
(0, import_typeorm35.Column)({ name: "framework_name", type: "varchar", nullable: true })
|
|
3835
3897
|
], FreelancerFramework.prototype, "frameworkName", 2);
|
|
3836
3898
|
FreelancerFramework = __decorateClass([
|
|
3837
|
-
(0,
|
|
3899
|
+
(0, import_typeorm35.Entity)("freelancer_frameworks")
|
|
3838
3900
|
], FreelancerFramework);
|
|
3839
3901
|
|
|
3840
3902
|
// src/entities/freelancer-assessment.entity.ts
|
|
3841
|
-
var
|
|
3903
|
+
var import_typeorm36 = require("typeorm");
|
|
3842
3904
|
var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
|
|
3843
3905
|
AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
|
|
3844
3906
|
AssessmentStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
@@ -3854,30 +3916,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
|
|
|
3854
3916
|
var FreelancerAssessment = class extends BaseEntity {
|
|
3855
3917
|
};
|
|
3856
3918
|
__decorateClass([
|
|
3857
|
-
(0,
|
|
3858
|
-
(0,
|
|
3919
|
+
(0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3920
|
+
(0, import_typeorm36.Index)()
|
|
3859
3921
|
], FreelancerAssessment.prototype, "userId", 2);
|
|
3860
3922
|
__decorateClass([
|
|
3861
|
-
(0,
|
|
3862
|
-
(0,
|
|
3923
|
+
(0, import_typeorm36.ManyToOne)(() => User, (user) => user.assessments),
|
|
3924
|
+
(0, import_typeorm36.JoinColumn)({ name: "user_id" })
|
|
3863
3925
|
], FreelancerAssessment.prototype, "user", 2);
|
|
3864
3926
|
__decorateClass([
|
|
3865
|
-
(0,
|
|
3927
|
+
(0, import_typeorm36.Column)({ name: "interview_id", type: "varchar", nullable: true })
|
|
3866
3928
|
], FreelancerAssessment.prototype, "interviewId", 2);
|
|
3867
3929
|
__decorateClass([
|
|
3868
|
-
(0,
|
|
3930
|
+
(0, import_typeorm36.Column)({ name: "interview_link", type: "text", nullable: true })
|
|
3869
3931
|
], FreelancerAssessment.prototype, "interviewLink", 2);
|
|
3870
3932
|
__decorateClass([
|
|
3871
|
-
(0,
|
|
3933
|
+
(0, import_typeorm36.Column)({ name: "recording_link", type: "text", nullable: true })
|
|
3872
3934
|
], FreelancerAssessment.prototype, "recordingLink", 2);
|
|
3873
3935
|
__decorateClass([
|
|
3874
|
-
(0,
|
|
3936
|
+
(0, import_typeorm36.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
|
|
3875
3937
|
], FreelancerAssessment.prototype, "iframeResponse", 2);
|
|
3876
3938
|
__decorateClass([
|
|
3877
|
-
(0,
|
|
3939
|
+
(0, import_typeorm36.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
|
|
3878
3940
|
], FreelancerAssessment.prototype, "interviewSummary", 2);
|
|
3879
3941
|
__decorateClass([
|
|
3880
|
-
(0,
|
|
3942
|
+
(0, import_typeorm36.Column)({
|
|
3881
3943
|
name: "status",
|
|
3882
3944
|
type: "enum",
|
|
3883
3945
|
enum: AssessmentStatusEnum,
|
|
@@ -3885,11 +3947,11 @@ __decorateClass([
|
|
|
3885
3947
|
})
|
|
3886
3948
|
], FreelancerAssessment.prototype, "status", 2);
|
|
3887
3949
|
FreelancerAssessment = __decorateClass([
|
|
3888
|
-
(0,
|
|
3950
|
+
(0, import_typeorm36.Entity)("freelancer_assessments")
|
|
3889
3951
|
], FreelancerAssessment);
|
|
3890
3952
|
|
|
3891
3953
|
// src/entities/freelancer-declaration.entity.ts
|
|
3892
|
-
var
|
|
3954
|
+
var import_typeorm37 = require("typeorm");
|
|
3893
3955
|
var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
|
|
3894
3956
|
DocumentType2["AADHAAR"] = "AADHAAR_CARD";
|
|
3895
3957
|
DocumentType2["PASSPORT"] = "PASSPORT";
|
|
@@ -3901,15 +3963,15 @@ var FreelancerDeclaration = class extends BaseEntity {
|
|
|
3901
3963
|
};
|
|
3902
3964
|
// individual index to find declaration by user
|
|
3903
3965
|
__decorateClass([
|
|
3904
|
-
(0,
|
|
3905
|
-
(0,
|
|
3966
|
+
(0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3967
|
+
(0, import_typeorm37.Index)()
|
|
3906
3968
|
], FreelancerDeclaration.prototype, "userId", 2);
|
|
3907
3969
|
__decorateClass([
|
|
3908
|
-
(0,
|
|
3909
|
-
(0,
|
|
3970
|
+
(0, import_typeorm37.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
|
|
3971
|
+
(0, import_typeorm37.JoinColumn)({ name: "user_id" })
|
|
3910
3972
|
], FreelancerDeclaration.prototype, "user", 2);
|
|
3911
3973
|
__decorateClass([
|
|
3912
|
-
(0,
|
|
3974
|
+
(0, import_typeorm37.Column)({
|
|
3913
3975
|
name: "document_type",
|
|
3914
3976
|
type: "enum",
|
|
3915
3977
|
enum: DocumentType,
|
|
@@ -3917,144 +3979,144 @@ __decorateClass([
|
|
|
3917
3979
|
})
|
|
3918
3980
|
], FreelancerDeclaration.prototype, "documentType", 2);
|
|
3919
3981
|
__decorateClass([
|
|
3920
|
-
(0,
|
|
3982
|
+
(0, import_typeorm37.Column)({ name: "front_document_url", type: "varchar", nullable: true })
|
|
3921
3983
|
], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
|
|
3922
3984
|
__decorateClass([
|
|
3923
|
-
(0,
|
|
3985
|
+
(0, import_typeorm37.Column)({ name: "back_document_url", type: "varchar", nullable: true })
|
|
3924
3986
|
], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
|
|
3925
3987
|
__decorateClass([
|
|
3926
|
-
(0,
|
|
3988
|
+
(0, import_typeorm37.Column)({ name: "declaration_accepted", type: "boolean", default: false })
|
|
3927
3989
|
], FreelancerDeclaration.prototype, "declarationAccepted", 2);
|
|
3928
3990
|
__decorateClass([
|
|
3929
|
-
(0,
|
|
3991
|
+
(0, import_typeorm37.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
|
|
3930
3992
|
], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
|
|
3931
3993
|
FreelancerDeclaration = __decorateClass([
|
|
3932
|
-
(0,
|
|
3994
|
+
(0, import_typeorm37.Entity)("freelancer_declaration")
|
|
3933
3995
|
], FreelancerDeclaration);
|
|
3934
3996
|
|
|
3935
3997
|
// src/entities/company-members-roles.entity.ts
|
|
3936
|
-
var
|
|
3998
|
+
var import_typeorm41 = require("typeorm");
|
|
3937
3999
|
|
|
3938
4000
|
// src/entities/company-role.entity.ts
|
|
3939
|
-
var
|
|
4001
|
+
var import_typeorm40 = require("typeorm");
|
|
3940
4002
|
|
|
3941
4003
|
// src/entities/company-role-permission.entity.ts
|
|
3942
|
-
var
|
|
4004
|
+
var import_typeorm39 = require("typeorm");
|
|
3943
4005
|
|
|
3944
4006
|
// src/entities/permission.entity.ts
|
|
3945
|
-
var
|
|
4007
|
+
var import_typeorm38 = require("typeorm");
|
|
3946
4008
|
var Permission = class extends BaseEntity {
|
|
3947
4009
|
};
|
|
3948
4010
|
__decorateClass([
|
|
3949
|
-
(0,
|
|
4011
|
+
(0, import_typeorm38.Column)({ name: "name", type: "varchar", nullable: true })
|
|
3950
4012
|
], Permission.prototype, "name", 2);
|
|
3951
4013
|
__decorateClass([
|
|
3952
|
-
(0,
|
|
3953
|
-
(0,
|
|
4014
|
+
(0, import_typeorm38.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
4015
|
+
(0, import_typeorm38.Index)()
|
|
3954
4016
|
], Permission.prototype, "slug", 2);
|
|
3955
4017
|
__decorateClass([
|
|
3956
|
-
(0,
|
|
4018
|
+
(0, import_typeorm38.Column)({ name: "description", type: "text", nullable: true })
|
|
3957
4019
|
], Permission.prototype, "description", 2);
|
|
3958
4020
|
__decorateClass([
|
|
3959
|
-
(0,
|
|
4021
|
+
(0, import_typeorm38.Column)({ name: "is_active", type: "boolean", default: true })
|
|
3960
4022
|
], Permission.prototype, "isActive", 2);
|
|
3961
4023
|
Permission = __decorateClass([
|
|
3962
|
-
(0,
|
|
4024
|
+
(0, import_typeorm38.Entity)("permissions")
|
|
3963
4025
|
], Permission);
|
|
3964
4026
|
|
|
3965
4027
|
// src/entities/company-role-permission.entity.ts
|
|
3966
4028
|
var CompanyRolePermission = class extends BaseEntity {
|
|
3967
4029
|
};
|
|
3968
4030
|
__decorateClass([
|
|
3969
|
-
(0,
|
|
3970
|
-
(0,
|
|
4031
|
+
(0, import_typeorm39.Column)({ name: "company_role_id", type: "integer", nullable: true }),
|
|
4032
|
+
(0, import_typeorm39.Index)()
|
|
3971
4033
|
], CompanyRolePermission.prototype, "companyRoleId", 2);
|
|
3972
4034
|
__decorateClass([
|
|
3973
|
-
(0,
|
|
4035
|
+
(0, import_typeorm39.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
|
|
3974
4036
|
onDelete: "CASCADE"
|
|
3975
4037
|
}),
|
|
3976
|
-
(0,
|
|
4038
|
+
(0, import_typeorm39.JoinColumn)({ name: "company_role_id" })
|
|
3977
4039
|
], CompanyRolePermission.prototype, "companyRole", 2);
|
|
3978
4040
|
__decorateClass([
|
|
3979
|
-
(0,
|
|
3980
|
-
(0,
|
|
4041
|
+
(0, import_typeorm39.Column)({ name: "permission_id", type: "integer" }),
|
|
4042
|
+
(0, import_typeorm39.Index)()
|
|
3981
4043
|
], CompanyRolePermission.prototype, "permissionId", 2);
|
|
3982
4044
|
__decorateClass([
|
|
3983
|
-
(0,
|
|
3984
|
-
(0,
|
|
4045
|
+
(0, import_typeorm39.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
|
|
4046
|
+
(0, import_typeorm39.JoinColumn)({ name: "permission_id" })
|
|
3985
4047
|
], CompanyRolePermission.prototype, "permission", 2);
|
|
3986
4048
|
__decorateClass([
|
|
3987
|
-
(0,
|
|
4049
|
+
(0, import_typeorm39.Column)({ name: "assigned_by", type: "integer", nullable: true })
|
|
3988
4050
|
], CompanyRolePermission.prototype, "assignedBy", 2);
|
|
3989
4051
|
CompanyRolePermission = __decorateClass([
|
|
3990
|
-
(0,
|
|
4052
|
+
(0, import_typeorm39.Entity)("company_role_permissions")
|
|
3991
4053
|
], CompanyRolePermission);
|
|
3992
4054
|
|
|
3993
4055
|
// src/entities/company-role.entity.ts
|
|
3994
4056
|
var CompanyRole = class extends BaseEntity {
|
|
3995
4057
|
};
|
|
3996
4058
|
__decorateClass([
|
|
3997
|
-
(0,
|
|
3998
|
-
(0,
|
|
4059
|
+
(0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
4060
|
+
(0, import_typeorm40.Index)()
|
|
3999
4061
|
], CompanyRole.prototype, "userId", 2);
|
|
4000
4062
|
__decorateClass([
|
|
4001
|
-
(0,
|
|
4002
|
-
(0,
|
|
4063
|
+
(0, import_typeorm40.ManyToOne)(() => User, (user) => user.otps),
|
|
4064
|
+
(0, import_typeorm40.JoinColumn)({ name: "user_id" })
|
|
4003
4065
|
], CompanyRole.prototype, "user", 2);
|
|
4004
4066
|
__decorateClass([
|
|
4005
|
-
(0,
|
|
4067
|
+
(0, import_typeorm40.Column)({ name: "name", type: "varchar" })
|
|
4006
4068
|
], CompanyRole.prototype, "name", 2);
|
|
4007
4069
|
__decorateClass([
|
|
4008
|
-
(0,
|
|
4009
|
-
(0,
|
|
4070
|
+
(0, import_typeorm40.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
4071
|
+
(0, import_typeorm40.Index)()
|
|
4010
4072
|
], CompanyRole.prototype, "slug", 2);
|
|
4011
4073
|
__decorateClass([
|
|
4012
|
-
(0,
|
|
4074
|
+
(0, import_typeorm40.Column)({ name: "description", type: "text", nullable: true })
|
|
4013
4075
|
], CompanyRole.prototype, "description", 2);
|
|
4014
4076
|
__decorateClass([
|
|
4015
|
-
(0,
|
|
4077
|
+
(0, import_typeorm40.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4016
4078
|
], CompanyRole.prototype, "isActive", 2);
|
|
4017
4079
|
__decorateClass([
|
|
4018
|
-
(0,
|
|
4080
|
+
(0, import_typeorm40.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
|
|
4019
4081
|
], CompanyRole.prototype, "rolePermissions", 2);
|
|
4020
4082
|
CompanyRole = __decorateClass([
|
|
4021
|
-
(0,
|
|
4083
|
+
(0, import_typeorm40.Entity)("company_roles")
|
|
4022
4084
|
], CompanyRole);
|
|
4023
4085
|
|
|
4024
4086
|
// src/entities/company-members-roles.entity.ts
|
|
4025
4087
|
var CompanyMemberRole = class extends BaseEntity {
|
|
4026
4088
|
};
|
|
4027
4089
|
__decorateClass([
|
|
4028
|
-
(0,
|
|
4029
|
-
(0,
|
|
4090
|
+
(0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
4091
|
+
(0, import_typeorm41.Index)()
|
|
4030
4092
|
], CompanyMemberRole.prototype, "userId", 2);
|
|
4031
4093
|
__decorateClass([
|
|
4032
|
-
(0,
|
|
4033
|
-
(0,
|
|
4094
|
+
(0, import_typeorm41.ManyToOne)(() => User),
|
|
4095
|
+
(0, import_typeorm41.JoinColumn)({ name: "user_id" })
|
|
4034
4096
|
], CompanyMemberRole.prototype, "user", 2);
|
|
4035
4097
|
__decorateClass([
|
|
4036
|
-
(0,
|
|
4037
|
-
(0,
|
|
4098
|
+
(0, import_typeorm41.ManyToOne)(() => CompanyRole),
|
|
4099
|
+
(0, import_typeorm41.JoinColumn)({ name: "company_role_id" })
|
|
4038
4100
|
], CompanyMemberRole.prototype, "role", 2);
|
|
4039
4101
|
__decorateClass([
|
|
4040
|
-
(0,
|
|
4041
|
-
(0,
|
|
4102
|
+
(0, import_typeorm41.Column)({ name: "company_role_id", type: "integer", nullable: true }),
|
|
4103
|
+
(0, import_typeorm41.Index)()
|
|
4042
4104
|
], CompanyMemberRole.prototype, "companyRoleId", 2);
|
|
4043
4105
|
__decorateClass([
|
|
4044
|
-
(0,
|
|
4106
|
+
(0, import_typeorm41.Column)({ name: "assigned_by", type: "integer", nullable: true })
|
|
4045
4107
|
], CompanyMemberRole.prototype, "assignedBy", 2);
|
|
4046
4108
|
CompanyMemberRole = __decorateClass([
|
|
4047
|
-
(0,
|
|
4109
|
+
(0, import_typeorm41.Entity)("company_member_roles")
|
|
4048
4110
|
], CompanyMemberRole);
|
|
4049
4111
|
|
|
4050
4112
|
// src/entities/assessment-answer.entity.ts
|
|
4051
|
-
var
|
|
4113
|
+
var import_typeorm44 = require("typeorm");
|
|
4052
4114
|
|
|
4053
4115
|
// src/entities/assessment-question.entity.ts
|
|
4054
|
-
var
|
|
4116
|
+
var import_typeorm43 = require("typeorm");
|
|
4055
4117
|
|
|
4056
4118
|
// src/entities/assessment-question-option.entity.ts
|
|
4057
|
-
var
|
|
4119
|
+
var import_typeorm42 = require("typeorm");
|
|
4058
4120
|
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
4059
4121
|
AnswerTypeEnum2["CORRECT"] = "CORRECT";
|
|
4060
4122
|
AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
|
|
@@ -4064,21 +4126,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
|
4064
4126
|
var AssessmetQuestionOption = class extends BaseEntity {
|
|
4065
4127
|
};
|
|
4066
4128
|
__decorateClass([
|
|
4067
|
-
(0,
|
|
4068
|
-
(0,
|
|
4129
|
+
(0, import_typeorm42.Column)({ name: "question_id", type: "integer", nullable: true }),
|
|
4130
|
+
(0, import_typeorm42.Index)()
|
|
4069
4131
|
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
4070
4132
|
__decorateClass([
|
|
4071
|
-
(0,
|
|
4133
|
+
(0, import_typeorm42.ManyToOne)(
|
|
4072
4134
|
() => AssessmetQuestion,
|
|
4073
4135
|
(assessmentQuestion) => assessmentQuestion.options
|
|
4074
4136
|
),
|
|
4075
|
-
(0,
|
|
4137
|
+
(0, import_typeorm42.JoinColumn)({ name: "question_id" })
|
|
4076
4138
|
], AssessmetQuestionOption.prototype, "question", 2);
|
|
4077
4139
|
__decorateClass([
|
|
4078
|
-
(0,
|
|
4140
|
+
(0, import_typeorm42.Column)({ name: "text", type: "varchar", nullable: true })
|
|
4079
4141
|
], AssessmetQuestionOption.prototype, "text", 2);
|
|
4080
4142
|
__decorateClass([
|
|
4081
|
-
(0,
|
|
4143
|
+
(0, import_typeorm42.Column)({
|
|
4082
4144
|
name: "answer_type",
|
|
4083
4145
|
type: "enum",
|
|
4084
4146
|
enum: AnswerTypeEnum,
|
|
@@ -4086,13 +4148,13 @@ __decorateClass([
|
|
|
4086
4148
|
})
|
|
4087
4149
|
], AssessmetQuestionOption.prototype, "answerType", 2);
|
|
4088
4150
|
__decorateClass([
|
|
4089
|
-
(0,
|
|
4151
|
+
(0, import_typeorm42.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4090
4152
|
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
4091
4153
|
__decorateClass([
|
|
4092
|
-
(0,
|
|
4154
|
+
(0, import_typeorm42.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
|
|
4093
4155
|
], AssessmetQuestionOption.prototype, "selectedOptions", 2);
|
|
4094
4156
|
AssessmetQuestionOption = __decorateClass([
|
|
4095
|
-
(0,
|
|
4157
|
+
(0, import_typeorm42.Entity)("assessment_question_options")
|
|
4096
4158
|
], AssessmetQuestionOption);
|
|
4097
4159
|
|
|
4098
4160
|
// src/entities/assessment-question.entity.ts
|
|
@@ -4104,10 +4166,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
|
|
|
4104
4166
|
var AssessmetQuestion = class extends BaseEntity {
|
|
4105
4167
|
};
|
|
4106
4168
|
__decorateClass([
|
|
4107
|
-
(0,
|
|
4169
|
+
(0, import_typeorm43.Column)({ name: "text", type: "varchar", nullable: true })
|
|
4108
4170
|
], AssessmetQuestion.prototype, "text", 2);
|
|
4109
4171
|
__decorateClass([
|
|
4110
|
-
(0,
|
|
4172
|
+
(0, import_typeorm43.Column)({
|
|
4111
4173
|
name: "question_for",
|
|
4112
4174
|
type: "enum",
|
|
4113
4175
|
enum: QuestionForEnum,
|
|
@@ -4115,16 +4177,16 @@ __decorateClass([
|
|
|
4115
4177
|
})
|
|
4116
4178
|
], AssessmetQuestion.prototype, "questionFor", 2);
|
|
4117
4179
|
__decorateClass([
|
|
4118
|
-
(0,
|
|
4180
|
+
(0, import_typeorm43.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4119
4181
|
], AssessmetQuestion.prototype, "isActive", 2);
|
|
4120
4182
|
__decorateClass([
|
|
4121
|
-
(0,
|
|
4183
|
+
(0, import_typeorm43.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
4122
4184
|
], AssessmetQuestion.prototype, "options", 2);
|
|
4123
4185
|
__decorateClass([
|
|
4124
|
-
(0,
|
|
4186
|
+
(0, import_typeorm43.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
|
|
4125
4187
|
], AssessmetQuestion.prototype, "answers", 2);
|
|
4126
4188
|
AssessmetQuestion = __decorateClass([
|
|
4127
|
-
(0,
|
|
4189
|
+
(0, import_typeorm43.Entity)("assessment_questions")
|
|
4128
4190
|
], AssessmetQuestion);
|
|
4129
4191
|
|
|
4130
4192
|
// src/entities/assessment-answer.entity.ts
|
|
@@ -4137,118 +4199,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
|
|
|
4137
4199
|
var AssessmentAnswer = class extends BaseEntity {
|
|
4138
4200
|
};
|
|
4139
4201
|
__decorateClass([
|
|
4140
|
-
(0,
|
|
4141
|
-
(0,
|
|
4202
|
+
(0, import_typeorm44.Column)({ name: "user_id", type: "integer" }),
|
|
4203
|
+
(0, import_typeorm44.Index)()
|
|
4142
4204
|
], AssessmentAnswer.prototype, "userId", 2);
|
|
4143
4205
|
__decorateClass([
|
|
4144
|
-
(0,
|
|
4145
|
-
(0,
|
|
4206
|
+
(0, import_typeorm44.ManyToOne)(() => User, (user) => user.assessmentAnswers),
|
|
4207
|
+
(0, import_typeorm44.JoinColumn)({ name: "user_id" })
|
|
4146
4208
|
], AssessmentAnswer.prototype, "user", 2);
|
|
4147
4209
|
__decorateClass([
|
|
4148
|
-
(0,
|
|
4149
|
-
(0,
|
|
4210
|
+
(0, import_typeorm44.Column)({ name: "question_id", type: "integer" }),
|
|
4211
|
+
(0, import_typeorm44.Index)()
|
|
4150
4212
|
], AssessmentAnswer.prototype, "questionId", 2);
|
|
4151
4213
|
__decorateClass([
|
|
4152
|
-
(0,
|
|
4214
|
+
(0, import_typeorm44.ManyToOne)(
|
|
4153
4215
|
() => AssessmetQuestion,
|
|
4154
4216
|
(assessmentQuestion) => assessmentQuestion.answers
|
|
4155
4217
|
),
|
|
4156
|
-
(0,
|
|
4218
|
+
(0, import_typeorm44.JoinColumn)({ name: "question_id" })
|
|
4157
4219
|
], AssessmentAnswer.prototype, "question", 2);
|
|
4158
4220
|
__decorateClass([
|
|
4159
|
-
(0,
|
|
4160
|
-
(0,
|
|
4221
|
+
(0, import_typeorm44.Column)({ name: "selected_option_id", type: "integer" }),
|
|
4222
|
+
(0, import_typeorm44.Index)()
|
|
4161
4223
|
], AssessmentAnswer.prototype, "selectedOptionId", 2);
|
|
4162
4224
|
__decorateClass([
|
|
4163
|
-
(0,
|
|
4225
|
+
(0, import_typeorm44.ManyToOne)(
|
|
4164
4226
|
() => AssessmetQuestionOption,
|
|
4165
4227
|
(assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
|
|
4166
4228
|
),
|
|
4167
|
-
(0,
|
|
4229
|
+
(0, import_typeorm44.JoinColumn)({ name: "selected_option_id" })
|
|
4168
4230
|
], AssessmentAnswer.prototype, "option", 2);
|
|
4169
4231
|
__decorateClass([
|
|
4170
|
-
(0,
|
|
4232
|
+
(0, import_typeorm44.Column)({
|
|
4171
4233
|
name: "selected_answer_type",
|
|
4172
4234
|
type: "enum",
|
|
4173
4235
|
enum: SelectedAnswerTypeEnum
|
|
4174
4236
|
})
|
|
4175
4237
|
], AssessmentAnswer.prototype, "selectedAnswerType", 2);
|
|
4176
4238
|
__decorateClass([
|
|
4177
|
-
(0,
|
|
4239
|
+
(0, import_typeorm44.Column)({ name: "score", type: "float" })
|
|
4178
4240
|
], AssessmentAnswer.prototype, "score", 2);
|
|
4179
4241
|
AssessmentAnswer = __decorateClass([
|
|
4180
|
-
(0,
|
|
4242
|
+
(0, import_typeorm44.Entity)("assessment_answers")
|
|
4181
4243
|
], AssessmentAnswer);
|
|
4182
4244
|
|
|
4183
4245
|
// src/entities/company-skill.entity.ts
|
|
4184
|
-
var
|
|
4246
|
+
var import_typeorm45 = require("typeorm");
|
|
4185
4247
|
var CompanySkill = class extends BaseEntity {
|
|
4186
4248
|
};
|
|
4187
4249
|
// individual index to find core skills by user
|
|
4188
4250
|
__decorateClass([
|
|
4189
|
-
(0,
|
|
4190
|
-
(0,
|
|
4251
|
+
(0, import_typeorm45.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
4252
|
+
(0, import_typeorm45.Index)()
|
|
4191
4253
|
], CompanySkill.prototype, "userId", 2);
|
|
4192
4254
|
__decorateClass([
|
|
4193
|
-
(0,
|
|
4194
|
-
(0,
|
|
4255
|
+
(0, import_typeorm45.ManyToOne)(() => User, (user) => user.freelancerSkills),
|
|
4256
|
+
(0, import_typeorm45.JoinColumn)({ name: "user_id" })
|
|
4195
4257
|
], CompanySkill.prototype, "user", 2);
|
|
4196
4258
|
__decorateClass([
|
|
4197
|
-
(0,
|
|
4259
|
+
(0, import_typeorm45.Column)({ name: "skill_name", type: "varchar", nullable: true })
|
|
4198
4260
|
], CompanySkill.prototype, "skillName", 2);
|
|
4199
4261
|
CompanySkill = __decorateClass([
|
|
4200
|
-
(0,
|
|
4262
|
+
(0, import_typeorm45.Entity)("company_skills")
|
|
4201
4263
|
], CompanySkill);
|
|
4202
4264
|
|
|
4203
4265
|
// src/entities/admin-user-role.entity.ts
|
|
4204
|
-
var
|
|
4266
|
+
var import_typeorm49 = require("typeorm");
|
|
4205
4267
|
|
|
4206
4268
|
// src/entities/admin-role.entity.ts
|
|
4207
|
-
var
|
|
4269
|
+
var import_typeorm48 = require("typeorm");
|
|
4208
4270
|
|
|
4209
4271
|
// src/entities/admin-role-permission.entity.ts
|
|
4210
|
-
var
|
|
4272
|
+
var import_typeorm47 = require("typeorm");
|
|
4211
4273
|
|
|
4212
4274
|
// src/entities/admin-permission.entity.ts
|
|
4213
|
-
var
|
|
4275
|
+
var import_typeorm46 = require("typeorm");
|
|
4214
4276
|
var AdminPermission = class extends BaseEntity {
|
|
4215
4277
|
};
|
|
4216
4278
|
__decorateClass([
|
|
4217
|
-
(0,
|
|
4279
|
+
(0, import_typeorm46.Column)({ name: "permission_name", type: "varchar", nullable: true })
|
|
4218
4280
|
], AdminPermission.prototype, "permissionName", 2);
|
|
4219
4281
|
__decorateClass([
|
|
4220
|
-
(0,
|
|
4282
|
+
(0, import_typeorm46.Column)({
|
|
4221
4283
|
name: "permission_slug",
|
|
4222
4284
|
type: "varchar",
|
|
4223
4285
|
unique: true,
|
|
4224
4286
|
nullable: true
|
|
4225
4287
|
}),
|
|
4226
|
-
(0,
|
|
4288
|
+
(0, import_typeorm46.Index)()
|
|
4227
4289
|
], AdminPermission.prototype, "permissionSlug", 2);
|
|
4228
4290
|
__decorateClass([
|
|
4229
|
-
(0,
|
|
4291
|
+
(0, import_typeorm46.Column)({ name: "permission_description", type: "varchar", nullable: true })
|
|
4230
4292
|
], AdminPermission.prototype, "permissionDescription", 2);
|
|
4231
4293
|
__decorateClass([
|
|
4232
|
-
(0,
|
|
4294
|
+
(0, import_typeorm46.Column)({ name: "module", type: "varchar", nullable: true })
|
|
4233
4295
|
], AdminPermission.prototype, "module", 2);
|
|
4234
4296
|
__decorateClass([
|
|
4235
|
-
(0,
|
|
4297
|
+
(0, import_typeorm46.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4236
4298
|
], AdminPermission.prototype, "isActive", 2);
|
|
4237
4299
|
__decorateClass([
|
|
4238
|
-
(0,
|
|
4300
|
+
(0, import_typeorm46.OneToMany)(
|
|
4239
4301
|
() => AdminRolePermission,
|
|
4240
4302
|
(adminRolePermission) => adminRolePermission.adminPermissions
|
|
4241
4303
|
)
|
|
4242
4304
|
], AdminPermission.prototype, "adminRole", 2);
|
|
4243
4305
|
AdminPermission = __decorateClass([
|
|
4244
|
-
(0,
|
|
4306
|
+
(0, import_typeorm46.Entity)("admin_permissions")
|
|
4245
4307
|
], AdminPermission);
|
|
4246
4308
|
|
|
4247
4309
|
// src/entities/admin-role-permission.entity.ts
|
|
4248
4310
|
var AdminRolePermission = class extends BaseEntity {
|
|
4249
4311
|
};
|
|
4250
4312
|
__decorateClass([
|
|
4251
|
-
(0,
|
|
4313
|
+
(0, import_typeorm47.Column)({
|
|
4252
4314
|
name: "role_id",
|
|
4253
4315
|
type: "int",
|
|
4254
4316
|
nullable: true,
|
|
@@ -4256,11 +4318,11 @@ __decorateClass([
|
|
|
4256
4318
|
})
|
|
4257
4319
|
], AdminRolePermission.prototype, "roleId", 2);
|
|
4258
4320
|
__decorateClass([
|
|
4259
|
-
(0,
|
|
4260
|
-
(0,
|
|
4321
|
+
(0, import_typeorm47.ManyToOne)(() => AdminRole),
|
|
4322
|
+
(0, import_typeorm47.JoinColumn)({ name: "role_id" })
|
|
4261
4323
|
], AdminRolePermission.prototype, "adminRole", 2);
|
|
4262
4324
|
__decorateClass([
|
|
4263
|
-
(0,
|
|
4325
|
+
(0, import_typeorm47.Column)({
|
|
4264
4326
|
name: "permission_id",
|
|
4265
4327
|
type: "int",
|
|
4266
4328
|
nullable: true,
|
|
@@ -4268,47 +4330,47 @@ __decorateClass([
|
|
|
4268
4330
|
})
|
|
4269
4331
|
], AdminRolePermission.prototype, "permissionId", 2);
|
|
4270
4332
|
__decorateClass([
|
|
4271
|
-
(0,
|
|
4272
|
-
(0,
|
|
4333
|
+
(0, import_typeorm47.ManyToOne)(() => AdminPermission),
|
|
4334
|
+
(0, import_typeorm47.JoinColumn)({ name: "permission_id" })
|
|
4273
4335
|
], AdminRolePermission.prototype, "adminPermissions", 2);
|
|
4274
4336
|
AdminRolePermission = __decorateClass([
|
|
4275
|
-
(0,
|
|
4337
|
+
(0, import_typeorm47.Entity)("admin_role_permissions")
|
|
4276
4338
|
], AdminRolePermission);
|
|
4277
4339
|
|
|
4278
4340
|
// src/entities/admin-role.entity.ts
|
|
4279
4341
|
var AdminRole = class extends BaseEntity {
|
|
4280
4342
|
};
|
|
4281
4343
|
__decorateClass([
|
|
4282
|
-
(0,
|
|
4344
|
+
(0, import_typeorm48.Column)({ name: "role_name", type: "varchar", nullable: true })
|
|
4283
4345
|
], AdminRole.prototype, "roleName", 2);
|
|
4284
4346
|
__decorateClass([
|
|
4285
|
-
(0,
|
|
4286
|
-
(0,
|
|
4347
|
+
(0, import_typeorm48.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
|
|
4348
|
+
(0, import_typeorm48.Index)()
|
|
4287
4349
|
], AdminRole.prototype, "roleSlug", 2);
|
|
4288
4350
|
__decorateClass([
|
|
4289
|
-
(0,
|
|
4351
|
+
(0, import_typeorm48.Column)({ name: "role_description", type: "varchar", nullable: true })
|
|
4290
4352
|
], AdminRole.prototype, "roleDescription", 2);
|
|
4291
4353
|
__decorateClass([
|
|
4292
|
-
(0,
|
|
4354
|
+
(0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4293
4355
|
], AdminRole.prototype, "isActive", 2);
|
|
4294
4356
|
__decorateClass([
|
|
4295
|
-
(0,
|
|
4357
|
+
(0, import_typeorm48.OneToMany)(
|
|
4296
4358
|
() => AdminRolePermission,
|
|
4297
4359
|
(addminRolePermission) => addminRolePermission.adminRole
|
|
4298
4360
|
)
|
|
4299
4361
|
], AdminRole.prototype, "adminRolePermission", 2);
|
|
4300
4362
|
__decorateClass([
|
|
4301
|
-
(0,
|
|
4363
|
+
(0, import_typeorm48.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
|
|
4302
4364
|
], AdminRole.prototype, "userRoles", 2);
|
|
4303
4365
|
AdminRole = __decorateClass([
|
|
4304
|
-
(0,
|
|
4366
|
+
(0, import_typeorm48.Entity)("admin_roles")
|
|
4305
4367
|
], AdminRole);
|
|
4306
4368
|
|
|
4307
4369
|
// src/entities/admin-user-role.entity.ts
|
|
4308
4370
|
var AdminUserRole = class extends BaseEntity {
|
|
4309
4371
|
};
|
|
4310
4372
|
__decorateClass([
|
|
4311
|
-
(0,
|
|
4373
|
+
(0, import_typeorm49.Column)({
|
|
4312
4374
|
name: "user_id",
|
|
4313
4375
|
type: "int",
|
|
4314
4376
|
nullable: true,
|
|
@@ -4316,11 +4378,11 @@ __decorateClass([
|
|
|
4316
4378
|
})
|
|
4317
4379
|
], AdminUserRole.prototype, "userId", 2);
|
|
4318
4380
|
__decorateClass([
|
|
4319
|
-
(0,
|
|
4320
|
-
(0,
|
|
4381
|
+
(0, import_typeorm49.ManyToOne)(() => User),
|
|
4382
|
+
(0, import_typeorm49.JoinColumn)({ name: "user_id" })
|
|
4321
4383
|
], AdminUserRole.prototype, "user", 2);
|
|
4322
4384
|
__decorateClass([
|
|
4323
|
-
(0,
|
|
4385
|
+
(0, import_typeorm49.Column)({
|
|
4324
4386
|
name: "role_id",
|
|
4325
4387
|
type: "int",
|
|
4326
4388
|
nullable: true,
|
|
@@ -4328,41 +4390,41 @@ __decorateClass([
|
|
|
4328
4390
|
})
|
|
4329
4391
|
], AdminUserRole.prototype, "roleId", 2);
|
|
4330
4392
|
__decorateClass([
|
|
4331
|
-
(0,
|
|
4332
|
-
(0,
|
|
4393
|
+
(0, import_typeorm49.ManyToOne)(() => AdminRole),
|
|
4394
|
+
(0, import_typeorm49.JoinColumn)({ name: "role_id" })
|
|
4333
4395
|
], AdminUserRole.prototype, "adminRole", 2);
|
|
4334
4396
|
AdminUserRole = __decorateClass([
|
|
4335
|
-
(0,
|
|
4397
|
+
(0, import_typeorm49.Entity)("admin_user_roles")
|
|
4336
4398
|
], AdminUserRole);
|
|
4337
4399
|
|
|
4338
4400
|
// src/entities/freelancer-resume.entity.ts
|
|
4339
|
-
var
|
|
4401
|
+
var import_typeorm50 = require("typeorm");
|
|
4340
4402
|
var FreelancerResume = class extends BaseEntity {
|
|
4341
4403
|
};
|
|
4342
4404
|
// individual index to find profile by user
|
|
4343
4405
|
__decorateClass([
|
|
4344
|
-
(0,
|
|
4345
|
-
(0,
|
|
4406
|
+
(0, import_typeorm50.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
4407
|
+
(0, import_typeorm50.Index)()
|
|
4346
4408
|
], FreelancerResume.prototype, "userId", 2);
|
|
4347
4409
|
__decorateClass([
|
|
4348
|
-
(0,
|
|
4349
|
-
(0,
|
|
4410
|
+
(0, import_typeorm50.ManyToOne)(() => User, (user) => user.freelancerProfile),
|
|
4411
|
+
(0, import_typeorm50.JoinColumn)({ name: "user_id" })
|
|
4350
4412
|
], FreelancerResume.prototype, "user", 2);
|
|
4351
4413
|
__decorateClass([
|
|
4352
|
-
(0,
|
|
4414
|
+
(0, import_typeorm50.Column)({ name: "resume_data", type: "jsonb", nullable: true })
|
|
4353
4415
|
], FreelancerResume.prototype, "resumeData", 2);
|
|
4354
4416
|
__decorateClass([
|
|
4355
|
-
(0,
|
|
4417
|
+
(0, import_typeorm50.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
|
|
4356
4418
|
], FreelancerResume.prototype, "processedResumeData", 2);
|
|
4357
4419
|
FreelancerResume = __decorateClass([
|
|
4358
|
-
(0,
|
|
4420
|
+
(0, import_typeorm50.Entity)("freelancer_resumes")
|
|
4359
4421
|
], FreelancerResume);
|
|
4360
4422
|
|
|
4361
4423
|
// src/entities/stripe-wallet.entity.ts
|
|
4362
|
-
var
|
|
4424
|
+
var import_typeorm52 = require("typeorm");
|
|
4363
4425
|
|
|
4364
4426
|
// src/entities/stripe-wallet-transaction.entity.ts
|
|
4365
|
-
var
|
|
4427
|
+
var import_typeorm51 = require("typeorm");
|
|
4366
4428
|
var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
|
|
4367
4429
|
StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
|
|
4368
4430
|
StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
|
|
@@ -4382,36 +4444,36 @@ var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactio
|
|
|
4382
4444
|
var StripeWalletTransaction = class extends BaseEntity {
|
|
4383
4445
|
};
|
|
4384
4446
|
__decorateClass([
|
|
4385
|
-
(0,
|
|
4386
|
-
(0,
|
|
4447
|
+
(0, import_typeorm51.Column)({ name: "wallet_id", type: "integer", nullable: true }),
|
|
4448
|
+
(0, import_typeorm51.Index)()
|
|
4387
4449
|
], StripeWalletTransaction.prototype, "walletId", 2);
|
|
4388
4450
|
__decorateClass([
|
|
4389
|
-
(0,
|
|
4390
|
-
(0,
|
|
4451
|
+
(0, import_typeorm51.ManyToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
|
|
4452
|
+
(0, import_typeorm51.JoinColumn)({ name: "wallet_id" })
|
|
4391
4453
|
], StripeWalletTransaction.prototype, "stripeWallet", 2);
|
|
4392
4454
|
__decorateClass([
|
|
4393
|
-
(0,
|
|
4455
|
+
(0, import_typeorm51.Column)({ name: "amount", type: "bigint", nullable: true })
|
|
4394
4456
|
], StripeWalletTransaction.prototype, "amount", 2);
|
|
4395
4457
|
__decorateClass([
|
|
4396
|
-
(0,
|
|
4458
|
+
(0, import_typeorm51.Column)({ name: "currency", type: "varchar", nullable: true })
|
|
4397
4459
|
], StripeWalletTransaction.prototype, "currency", 2);
|
|
4398
4460
|
__decorateClass([
|
|
4399
|
-
(0,
|
|
4461
|
+
(0, import_typeorm51.Column)({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
|
|
4400
4462
|
], StripeWalletTransaction.prototype, "type", 2);
|
|
4401
4463
|
__decorateClass([
|
|
4402
|
-
(0,
|
|
4464
|
+
(0, import_typeorm51.Column)({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
|
|
4403
4465
|
], StripeWalletTransaction.prototype, "status", 2);
|
|
4404
4466
|
__decorateClass([
|
|
4405
|
-
(0,
|
|
4467
|
+
(0, import_typeorm51.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
|
|
4406
4468
|
], StripeWalletTransaction.prototype, "stripeSessionId", 2);
|
|
4407
4469
|
__decorateClass([
|
|
4408
|
-
(0,
|
|
4470
|
+
(0, import_typeorm51.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
|
|
4409
4471
|
], StripeWalletTransaction.prototype, "stripePaymentIntentId", 2);
|
|
4410
4472
|
__decorateClass([
|
|
4411
|
-
(0,
|
|
4473
|
+
(0, import_typeorm51.Column)({ name: "description", type: "text", nullable: true })
|
|
4412
4474
|
], StripeWalletTransaction.prototype, "description", 2);
|
|
4413
4475
|
StripeWalletTransaction = __decorateClass([
|
|
4414
|
-
(0,
|
|
4476
|
+
(0, import_typeorm51.Entity)("stripe_wallet_transactions")
|
|
4415
4477
|
], StripeWalletTransaction);
|
|
4416
4478
|
|
|
4417
4479
|
// src/entities/stripe-wallet.entity.ts
|
|
@@ -4428,56 +4490,56 @@ var StripeWalletOnboardingStatusEnum = /* @__PURE__ */ ((StripeWalletOnboardingS
|
|
|
4428
4490
|
var StripeWallet = class extends BaseEntity {
|
|
4429
4491
|
};
|
|
4430
4492
|
__decorateClass([
|
|
4431
|
-
(0,
|
|
4432
|
-
(0,
|
|
4493
|
+
(0, import_typeorm52.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
4494
|
+
(0, import_typeorm52.Index)()
|
|
4433
4495
|
], StripeWallet.prototype, "userId", 2);
|
|
4434
4496
|
__decorateClass([
|
|
4435
|
-
(0,
|
|
4436
|
-
(0,
|
|
4497
|
+
(0, import_typeorm52.OneToOne)(() => User, (user) => user.stripeWallet),
|
|
4498
|
+
(0, import_typeorm52.JoinColumn)({ name: "user_id" })
|
|
4437
4499
|
], StripeWallet.prototype, "user", 2);
|
|
4438
4500
|
__decorateClass([
|
|
4439
|
-
(0,
|
|
4501
|
+
(0, import_typeorm52.Column)({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
|
|
4440
4502
|
], StripeWallet.prototype, "accountType", 2);
|
|
4441
4503
|
__decorateClass([
|
|
4442
|
-
(0,
|
|
4504
|
+
(0, import_typeorm52.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
|
|
4443
4505
|
], StripeWallet.prototype, "stripeAccountId", 2);
|
|
4444
4506
|
__decorateClass([
|
|
4445
|
-
(0,
|
|
4507
|
+
(0, import_typeorm52.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
|
|
4446
4508
|
], StripeWallet.prototype, "stripeCustomerId", 2);
|
|
4447
4509
|
__decorateClass([
|
|
4448
|
-
(0,
|
|
4510
|
+
(0, import_typeorm52.Column)({ name: "wallet_balance", type: "bigint", default: 0 })
|
|
4449
4511
|
], StripeWallet.prototype, "walletBalance", 2);
|
|
4450
4512
|
__decorateClass([
|
|
4451
|
-
(0,
|
|
4513
|
+
(0, import_typeorm52.Column)({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
|
|
4452
4514
|
], StripeWallet.prototype, "onboardingStatus", 2);
|
|
4453
4515
|
__decorateClass([
|
|
4454
|
-
(0,
|
|
4516
|
+
(0, import_typeorm52.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
|
|
4455
4517
|
], StripeWallet.prototype, "stripeMetadata", 2);
|
|
4456
4518
|
__decorateClass([
|
|
4457
|
-
(0,
|
|
4519
|
+
(0, import_typeorm52.OneToMany)(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
|
|
4458
4520
|
], StripeWallet.prototype, "transactions", 2);
|
|
4459
4521
|
StripeWallet = __decorateClass([
|
|
4460
|
-
(0,
|
|
4522
|
+
(0, import_typeorm52.Entity)("stripe_wallets")
|
|
4461
4523
|
], StripeWallet);
|
|
4462
4524
|
|
|
4463
4525
|
// src/entities/signature.entity.ts
|
|
4464
|
-
var
|
|
4526
|
+
var import_typeorm53 = require("typeorm");
|
|
4465
4527
|
var Signature = class extends BaseEntity {
|
|
4466
4528
|
};
|
|
4467
4529
|
// individual index to find profile by user
|
|
4468
4530
|
__decorateClass([
|
|
4469
|
-
(0,
|
|
4470
|
-
(0,
|
|
4531
|
+
(0, import_typeorm53.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
4532
|
+
(0, import_typeorm53.Index)()
|
|
4471
4533
|
], Signature.prototype, "userId", 2);
|
|
4472
4534
|
__decorateClass([
|
|
4473
|
-
(0,
|
|
4474
|
-
(0,
|
|
4535
|
+
(0, import_typeorm53.ManyToOne)(() => User, (user) => user.signatures),
|
|
4536
|
+
(0, import_typeorm53.JoinColumn)({ name: "user_id" })
|
|
4475
4537
|
], Signature.prototype, "user", 2);
|
|
4476
4538
|
__decorateClass([
|
|
4477
|
-
(0,
|
|
4539
|
+
(0, import_typeorm53.Column)({ name: "signature_url", type: "text", nullable: true })
|
|
4478
4540
|
], Signature.prototype, "signatureUrl", 2);
|
|
4479
4541
|
Signature = __decorateClass([
|
|
4480
|
-
(0,
|
|
4542
|
+
(0, import_typeorm53.Entity)("signatures")
|
|
4481
4543
|
], Signature);
|
|
4482
4544
|
|
|
4483
4545
|
// src/entities/user.entity.ts
|
|
@@ -4505,51 +4567,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
4505
4567
|
var User = class extends BaseEntity {
|
|
4506
4568
|
};
|
|
4507
4569
|
__decorateClass([
|
|
4508
|
-
(0,
|
|
4570
|
+
(0, import_typeorm54.Column)({ name: "unique_id", type: "varchar", unique: true })
|
|
4509
4571
|
], User.prototype, "uniqueId", 2);
|
|
4510
4572
|
__decorateClass([
|
|
4511
|
-
(0,
|
|
4512
|
-
(0,
|
|
4573
|
+
(0, import_typeorm54.Column)({ name: "parent_id", type: "integer", nullable: true }),
|
|
4574
|
+
(0, import_typeorm54.Index)()
|
|
4513
4575
|
], User.prototype, "parentId", 2);
|
|
4514
4576
|
__decorateClass([
|
|
4515
|
-
(0,
|
|
4516
|
-
(0,
|
|
4577
|
+
(0, import_typeorm54.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
|
|
4578
|
+
(0, import_typeorm54.JoinColumn)({ name: "parent_id" })
|
|
4517
4579
|
], User.prototype, "parent", 2);
|
|
4518
4580
|
__decorateClass([
|
|
4519
|
-
(0,
|
|
4581
|
+
(0, import_typeorm54.OneToMany)(() => User, (user) => user.parent)
|
|
4520
4582
|
], User.prototype, "children", 2);
|
|
4521
4583
|
__decorateClass([
|
|
4522
|
-
(0,
|
|
4584
|
+
(0, import_typeorm54.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
4523
4585
|
], User.prototype, "username", 2);
|
|
4524
4586
|
__decorateClass([
|
|
4525
|
-
(0,
|
|
4587
|
+
(0, import_typeorm54.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
4526
4588
|
], User.prototype, "firstName", 2);
|
|
4527
4589
|
__decorateClass([
|
|
4528
|
-
(0,
|
|
4590
|
+
(0, import_typeorm54.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
4529
4591
|
], User.prototype, "lastName", 2);
|
|
4530
4592
|
__decorateClass([
|
|
4531
|
-
(0,
|
|
4593
|
+
(0, import_typeorm54.Column)({ name: "date_of_birth", type: "date", nullable: true })
|
|
4532
4594
|
], User.prototype, "dateOfBirth", 2);
|
|
4533
4595
|
__decorateClass([
|
|
4534
|
-
(0,
|
|
4596
|
+
(0, import_typeorm54.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
4535
4597
|
], User.prototype, "gender", 2);
|
|
4536
4598
|
__decorateClass([
|
|
4537
|
-
(0,
|
|
4599
|
+
(0, import_typeorm54.Column)({ name: "profile_picture_url", type: "text", nullable: true })
|
|
4538
4600
|
], User.prototype, "profilePictureUrl", 2);
|
|
4539
4601
|
__decorateClass([
|
|
4540
|
-
(0,
|
|
4602
|
+
(0, import_typeorm54.Column)({ name: "email", type: "varchar", unique: true })
|
|
4541
4603
|
], User.prototype, "email", 2);
|
|
4542
4604
|
__decorateClass([
|
|
4543
|
-
(0,
|
|
4605
|
+
(0, import_typeorm54.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4544
4606
|
], User.prototype, "mobileCode", 2);
|
|
4545
4607
|
__decorateClass([
|
|
4546
|
-
(0,
|
|
4608
|
+
(0, import_typeorm54.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
4547
4609
|
], User.prototype, "mobile", 2);
|
|
4548
4610
|
__decorateClass([
|
|
4549
|
-
(0,
|
|
4611
|
+
(0, import_typeorm54.Column)({ name: "password", type: "varchar", nullable: true })
|
|
4550
4612
|
], User.prototype, "password", 2);
|
|
4551
4613
|
__decorateClass([
|
|
4552
|
-
(0,
|
|
4614
|
+
(0, import_typeorm54.Column)({
|
|
4553
4615
|
name: "account_type",
|
|
4554
4616
|
type: "enum",
|
|
4555
4617
|
enum: AccountType,
|
|
@@ -4557,7 +4619,7 @@ __decorateClass([
|
|
|
4557
4619
|
})
|
|
4558
4620
|
], User.prototype, "accountType", 2);
|
|
4559
4621
|
__decorateClass([
|
|
4560
|
-
(0,
|
|
4622
|
+
(0, import_typeorm54.Column)({
|
|
4561
4623
|
name: "account_status",
|
|
4562
4624
|
type: "enum",
|
|
4563
4625
|
enum: AccountStatus,
|
|
@@ -4565,42 +4627,42 @@ __decorateClass([
|
|
|
4565
4627
|
})
|
|
4566
4628
|
], User.prototype, "accountStatus", 2);
|
|
4567
4629
|
__decorateClass([
|
|
4568
|
-
(0,
|
|
4630
|
+
(0, import_typeorm54.Column)({ name: "is_email_verified", type: "boolean", default: false })
|
|
4569
4631
|
], User.prototype, "isEmailVerified", 2);
|
|
4570
4632
|
__decorateClass([
|
|
4571
|
-
(0,
|
|
4633
|
+
(0, import_typeorm54.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
4572
4634
|
], User.prototype, "isMobileVerified", 2);
|
|
4573
4635
|
__decorateClass([
|
|
4574
|
-
(0,
|
|
4636
|
+
(0, import_typeorm54.Column)({ name: "is_social", type: "boolean", default: false })
|
|
4575
4637
|
], User.prototype, "isSocial", 2);
|
|
4576
4638
|
__decorateClass([
|
|
4577
|
-
(0,
|
|
4639
|
+
(0, import_typeorm54.Column)({
|
|
4578
4640
|
name: "last_login_at",
|
|
4579
4641
|
type: "timestamp with time zone",
|
|
4580
4642
|
nullable: true
|
|
4581
4643
|
})
|
|
4582
4644
|
], User.prototype, "lastLoginAt", 2);
|
|
4583
4645
|
__decorateClass([
|
|
4584
|
-
(0,
|
|
4646
|
+
(0, import_typeorm54.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
4585
4647
|
], User.prototype, "lastLoginIp", 2);
|
|
4586
4648
|
__decorateClass([
|
|
4587
|
-
(0,
|
|
4649
|
+
(0, import_typeorm54.Column)({ name: "reset_token", type: "varchar", nullable: true })
|
|
4588
4650
|
], User.prototype, "resetToken", 2);
|
|
4589
4651
|
__decorateClass([
|
|
4590
|
-
(0,
|
|
4652
|
+
(0, import_typeorm54.Column)({
|
|
4591
4653
|
name: "reset_token_expire_at",
|
|
4592
4654
|
type: "timestamp with time zone",
|
|
4593
4655
|
nullable: true
|
|
4594
4656
|
})
|
|
4595
4657
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
4596
4658
|
__decorateClass([
|
|
4597
|
-
(0,
|
|
4659
|
+
(0, import_typeorm54.Column)({ name: "set_password_token", type: "varchar", nullable: true })
|
|
4598
4660
|
], User.prototype, "setPasswordToken", 2);
|
|
4599
4661
|
__decorateClass([
|
|
4600
|
-
(0,
|
|
4662
|
+
(0, import_typeorm54.OneToMany)(() => RefreshToken, (token) => token.user)
|
|
4601
4663
|
], User.prototype, "refreshTokens", 2);
|
|
4602
4664
|
__decorateClass([
|
|
4603
|
-
(0,
|
|
4665
|
+
(0, import_typeorm54.Column)({
|
|
4604
4666
|
name: "provider",
|
|
4605
4667
|
type: "enum",
|
|
4606
4668
|
enum: Provider,
|
|
@@ -4609,172 +4671,172 @@ __decorateClass([
|
|
|
4609
4671
|
})
|
|
4610
4672
|
], User.prototype, "provider", 2);
|
|
4611
4673
|
__decorateClass([
|
|
4612
|
-
(0,
|
|
4674
|
+
(0, import_typeorm54.Column)({ name: "provider_token", type: "varchar", nullable: true })
|
|
4613
4675
|
], User.prototype, "providerToken", 2);
|
|
4614
4676
|
__decorateClass([
|
|
4615
|
-
(0,
|
|
4677
|
+
(0, import_typeorm54.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
4616
4678
|
], User.prototype, "linkedInId", 2);
|
|
4617
4679
|
__decorateClass([
|
|
4618
|
-
(0,
|
|
4680
|
+
(0, import_typeorm54.Column)({ name: "google_id", type: "varchar", nullable: true })
|
|
4619
4681
|
], User.prototype, "googleId", 2);
|
|
4620
4682
|
__decorateClass([
|
|
4621
|
-
(0,
|
|
4683
|
+
(0, import_typeorm54.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
4622
4684
|
], User.prototype, "gitLabsId", 2);
|
|
4623
4685
|
__decorateClass([
|
|
4624
|
-
(0,
|
|
4686
|
+
(0, import_typeorm54.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
4625
4687
|
], User.prototype, "onBoardedBy", 2);
|
|
4626
4688
|
__decorateClass([
|
|
4627
|
-
(0,
|
|
4689
|
+
(0, import_typeorm54.OneToMany)(() => Otp, (otp) => otp.user)
|
|
4628
4690
|
], User.prototype, "otps", 2);
|
|
4629
4691
|
__decorateClass([
|
|
4630
|
-
(0,
|
|
4692
|
+
(0, import_typeorm54.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
4631
4693
|
], User.prototype, "senseloafLogs", 2);
|
|
4632
4694
|
__decorateClass([
|
|
4633
|
-
(0,
|
|
4695
|
+
(0, import_typeorm54.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
4634
4696
|
], User.prototype, "companyProfile", 2);
|
|
4635
4697
|
__decorateClass([
|
|
4636
|
-
(0,
|
|
4698
|
+
(0, import_typeorm54.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
|
|
4637
4699
|
], User.prototype, "companySkills", 2);
|
|
4638
4700
|
__decorateClass([
|
|
4639
|
-
(0,
|
|
4701
|
+
(0, import_typeorm54.OneToMany)(
|
|
4640
4702
|
() => CompanyMemberRole,
|
|
4641
4703
|
(companyMemberRole) => companyMemberRole.user
|
|
4642
4704
|
)
|
|
4643
4705
|
], User.prototype, "companyMemberRoles", 2);
|
|
4644
4706
|
__decorateClass([
|
|
4645
|
-
(0,
|
|
4707
|
+
(0, import_typeorm54.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
|
|
4646
4708
|
], User.prototype, "companyAiInterview", 2);
|
|
4647
4709
|
__decorateClass([
|
|
4648
|
-
(0,
|
|
4710
|
+
(0, import_typeorm54.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
4649
4711
|
], User.prototype, "clientF2FInterviews", 2);
|
|
4650
4712
|
__decorateClass([
|
|
4651
|
-
(0,
|
|
4713
|
+
(0, import_typeorm54.OneToOne)(
|
|
4652
4714
|
() => FreelancerProfile,
|
|
4653
4715
|
(freelancerProfile) => freelancerProfile.user
|
|
4654
4716
|
)
|
|
4655
4717
|
], User.prototype, "freelancerProfile", 2);
|
|
4656
4718
|
__decorateClass([
|
|
4657
|
-
(0,
|
|
4719
|
+
(0, import_typeorm54.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
4658
4720
|
], User.prototype, "freelancerResume", 2);
|
|
4659
4721
|
__decorateClass([
|
|
4660
|
-
(0,
|
|
4722
|
+
(0, import_typeorm54.OneToMany)(
|
|
4661
4723
|
() => FreelancerAssessment,
|
|
4662
4724
|
(freelancerAssessment) => freelancerAssessment.user
|
|
4663
4725
|
)
|
|
4664
4726
|
], User.prototype, "assessments", 2);
|
|
4665
4727
|
__decorateClass([
|
|
4666
|
-
(0,
|
|
4728
|
+
(0, import_typeorm54.OneToMany)(
|
|
4667
4729
|
() => AssessmentAnswer,
|
|
4668
4730
|
(assessmentAnswer) => assessmentAnswer.user
|
|
4669
4731
|
)
|
|
4670
4732
|
], User.prototype, "assessmentAnswers", 2);
|
|
4671
4733
|
__decorateClass([
|
|
4672
|
-
(0,
|
|
4734
|
+
(0, import_typeorm54.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
4673
4735
|
], User.prototype, "freelancerSkills", 2);
|
|
4674
4736
|
__decorateClass([
|
|
4675
|
-
(0,
|
|
4737
|
+
(0, import_typeorm54.OneToMany)(
|
|
4676
4738
|
() => FreelancerExperience,
|
|
4677
4739
|
(freelancerExperience) => freelancerExperience.user
|
|
4678
4740
|
)
|
|
4679
4741
|
], User.prototype, "freelancerExperience", 2);
|
|
4680
4742
|
__decorateClass([
|
|
4681
|
-
(0,
|
|
4743
|
+
(0, import_typeorm54.OneToMany)(
|
|
4682
4744
|
() => FreelancerEducation,
|
|
4683
4745
|
(freelancerEducation) => freelancerEducation.user
|
|
4684
4746
|
)
|
|
4685
4747
|
], User.prototype, "freelancerEducation", 2);
|
|
4686
4748
|
__decorateClass([
|
|
4687
|
-
(0,
|
|
4749
|
+
(0, import_typeorm54.OneToMany)(
|
|
4688
4750
|
() => FreelancerProject,
|
|
4689
4751
|
(freelancerProject) => freelancerProject.user
|
|
4690
4752
|
)
|
|
4691
4753
|
], User.prototype, "freelancerProject", 2);
|
|
4692
4754
|
__decorateClass([
|
|
4693
|
-
(0,
|
|
4755
|
+
(0, import_typeorm54.OneToMany)(
|
|
4694
4756
|
() => FreelancerCaseStudy,
|
|
4695
4757
|
(freelancerCaseStudy) => freelancerCaseStudy.user
|
|
4696
4758
|
)
|
|
4697
4759
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
4698
4760
|
__decorateClass([
|
|
4699
|
-
(0,
|
|
4761
|
+
(0, import_typeorm54.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
4700
4762
|
], User.prototype, "freelancerTool", 2);
|
|
4701
4763
|
__decorateClass([
|
|
4702
|
-
(0,
|
|
4764
|
+
(0, import_typeorm54.OneToMany)(
|
|
4703
4765
|
() => FreelancerFramework,
|
|
4704
4766
|
(freelancerFramework) => freelancerFramework.user
|
|
4705
4767
|
)
|
|
4706
4768
|
], User.prototype, "freelancerFramework", 2);
|
|
4707
4769
|
__decorateClass([
|
|
4708
|
-
(0,
|
|
4770
|
+
(0, import_typeorm54.OneToOne)(
|
|
4709
4771
|
() => FreelancerDeclaration,
|
|
4710
4772
|
(freelancerDeclaration) => freelancerDeclaration.user
|
|
4711
4773
|
)
|
|
4712
4774
|
], User.prototype, "freelancerDeclaration", 2);
|
|
4713
4775
|
__decorateClass([
|
|
4714
|
-
(0,
|
|
4776
|
+
(0, import_typeorm54.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
|
|
4715
4777
|
], User.prototype, "freelancerAiInterview", 2);
|
|
4716
4778
|
__decorateClass([
|
|
4717
|
-
(0,
|
|
4779
|
+
(0, import_typeorm54.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
|
|
4718
4780
|
], User.prototype, "freelancerF2FInterviews", 2);
|
|
4719
4781
|
__decorateClass([
|
|
4720
|
-
(0,
|
|
4782
|
+
(0, import_typeorm54.OneToMany)(
|
|
4721
4783
|
() => F2fInterviewRescheduleRequest,
|
|
4722
4784
|
(f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
|
|
4723
4785
|
)
|
|
4724
4786
|
], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
|
|
4725
4787
|
__decorateClass([
|
|
4726
|
-
(0,
|
|
4788
|
+
(0, import_typeorm54.OneToMany)(() => Job, (job) => job.user)
|
|
4727
4789
|
], User.prototype, "jobs", 2);
|
|
4728
4790
|
__decorateClass([
|
|
4729
|
-
(0,
|
|
4791
|
+
(0, import_typeorm54.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
4730
4792
|
], User.prototype, "jobApplications", 2);
|
|
4731
4793
|
__decorateClass([
|
|
4732
|
-
(0,
|
|
4794
|
+
(0, import_typeorm54.OneToMany)(() => Interview, (interview) => interview.user)
|
|
4733
4795
|
], User.prototype, "interviews", 2);
|
|
4734
4796
|
__decorateClass([
|
|
4735
|
-
(0,
|
|
4797
|
+
(0, import_typeorm54.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
4736
4798
|
], User.prototype, "bankDetail", 2);
|
|
4737
4799
|
__decorateClass([
|
|
4738
|
-
(0,
|
|
4800
|
+
(0, import_typeorm54.OneToMany)(
|
|
4739
4801
|
() => SystemPreference,
|
|
4740
4802
|
(systemPreference) => systemPreference.user
|
|
4741
4803
|
)
|
|
4742
4804
|
], User.prototype, "systemPreference", 2);
|
|
4743
4805
|
__decorateClass([
|
|
4744
|
-
(0,
|
|
4806
|
+
(0, import_typeorm54.OneToMany)(() => Rating, (rating) => rating.reviewer)
|
|
4745
4807
|
], User.prototype, "givenRatings", 2);
|
|
4746
4808
|
__decorateClass([
|
|
4747
|
-
(0,
|
|
4809
|
+
(0, import_typeorm54.OneToMany)(() => Rating, (rating) => rating.reviewee)
|
|
4748
4810
|
], User.prototype, "receivedRatings", 2);
|
|
4749
4811
|
__decorateClass([
|
|
4750
|
-
(0,
|
|
4812
|
+
(0, import_typeorm54.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
4751
4813
|
], User.prototype, "adminUserRoles", 2);
|
|
4752
4814
|
__decorateClass([
|
|
4753
|
-
(0,
|
|
4815
|
+
(0, import_typeorm54.OneToMany)(() => Contract, (contract) => contract.client)
|
|
4754
4816
|
], User.prototype, "clientContracts", 2);
|
|
4755
4817
|
__decorateClass([
|
|
4756
|
-
(0,
|
|
4818
|
+
(0, import_typeorm54.OneToMany)(() => Contract, (contract) => contract.freelancer)
|
|
4757
4819
|
], User.prototype, "freelancerContracts", 2);
|
|
4758
4820
|
__decorateClass([
|
|
4759
|
-
(0,
|
|
4821
|
+
(0, import_typeorm54.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
|
|
4760
4822
|
], User.prototype, "stripeWallet", 2);
|
|
4761
4823
|
__decorateClass([
|
|
4762
|
-
(0,
|
|
4824
|
+
(0, import_typeorm54.OneToOne)(() => Signature, (signature) => signature.user)
|
|
4763
4825
|
], User.prototype, "signatures", 2);
|
|
4764
4826
|
__decorateClass([
|
|
4765
|
-
(0,
|
|
4827
|
+
(0, import_typeorm54.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
|
|
4766
4828
|
], User.prototype, "clientTimesheets", 2);
|
|
4767
4829
|
__decorateClass([
|
|
4768
|
-
(0,
|
|
4830
|
+
(0, import_typeorm54.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
|
|
4769
4831
|
], User.prototype, "freelancerTimesheets", 2);
|
|
4770
4832
|
__decorateClass([
|
|
4771
|
-
(0,
|
|
4833
|
+
(0, import_typeorm54.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
|
|
4772
4834
|
], User.prototype, "clientTimesheetLine", 2);
|
|
4773
4835
|
__decorateClass([
|
|
4774
|
-
(0,
|
|
4836
|
+
(0, import_typeorm54.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
|
|
4775
4837
|
], User.prototype, "freelancerTimesheetLine", 2);
|
|
4776
4838
|
User = __decorateClass([
|
|
4777
|
-
(0,
|
|
4839
|
+
(0, import_typeorm54.Entity)("users")
|
|
4778
4840
|
], User);
|
|
4779
4841
|
|
|
4780
4842
|
// src/entities/rating.entity.ts
|
|
@@ -4786,36 +4848,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
4786
4848
|
var Rating = class extends BaseEntity {
|
|
4787
4849
|
};
|
|
4788
4850
|
__decorateClass([
|
|
4789
|
-
(0,
|
|
4790
|
-
(0,
|
|
4851
|
+
(0, import_typeorm55.Column)({ name: "reviewer_id", type: "integer" }),
|
|
4852
|
+
(0, import_typeorm55.Index)()
|
|
4791
4853
|
], Rating.prototype, "reviewer_id", 2);
|
|
4792
4854
|
__decorateClass([
|
|
4793
|
-
(0,
|
|
4794
|
-
(0,
|
|
4855
|
+
(0, import_typeorm55.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
4856
|
+
(0, import_typeorm55.JoinColumn)({ name: "reviewer_id" })
|
|
4795
4857
|
], Rating.prototype, "reviewer", 2);
|
|
4796
4858
|
__decorateClass([
|
|
4797
|
-
(0,
|
|
4798
|
-
(0,
|
|
4859
|
+
(0, import_typeorm55.Column)({ name: "reviewee_id", type: "integer" }),
|
|
4860
|
+
(0, import_typeorm55.Index)()
|
|
4799
4861
|
], Rating.prototype, "reviewee_id", 2);
|
|
4800
4862
|
__decorateClass([
|
|
4801
|
-
(0,
|
|
4802
|
-
(0,
|
|
4863
|
+
(0, import_typeorm55.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
4864
|
+
(0, import_typeorm55.JoinColumn)({ name: "reviewee_id" })
|
|
4803
4865
|
], Rating.prototype, "reviewee", 2);
|
|
4804
4866
|
__decorateClass([
|
|
4805
|
-
(0,
|
|
4867
|
+
(0, import_typeorm55.Column)({
|
|
4806
4868
|
type: "enum",
|
|
4807
4869
|
enum: RatingTypeEnum,
|
|
4808
4870
|
nullable: true
|
|
4809
4871
|
})
|
|
4810
4872
|
], Rating.prototype, "ratingType", 2);
|
|
4811
4873
|
__decorateClass([
|
|
4812
|
-
(0,
|
|
4874
|
+
(0, import_typeorm55.Column)({ type: "integer", nullable: true })
|
|
4813
4875
|
], Rating.prototype, "rating", 2);
|
|
4814
4876
|
__decorateClass([
|
|
4815
|
-
(0,
|
|
4877
|
+
(0, import_typeorm55.Column)({ type: "text", nullable: true })
|
|
4816
4878
|
], Rating.prototype, "review", 2);
|
|
4817
4879
|
Rating = __decorateClass([
|
|
4818
|
-
(0,
|
|
4880
|
+
(0, import_typeorm55.Entity)("ratings")
|
|
4819
4881
|
], Rating);
|
|
4820
4882
|
|
|
4821
4883
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -6478,11 +6540,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
6478
6540
|
};
|
|
6479
6541
|
|
|
6480
6542
|
// src/entities/sequence-generator.entity.ts
|
|
6481
|
-
var
|
|
6543
|
+
var import_typeorm56 = require("typeorm");
|
|
6482
6544
|
var SequenceGenerator = class extends BaseEntity {
|
|
6483
6545
|
};
|
|
6484
6546
|
__decorateClass([
|
|
6485
|
-
(0,
|
|
6547
|
+
(0, import_typeorm56.Column)({
|
|
6486
6548
|
name: "module",
|
|
6487
6549
|
type: "varchar",
|
|
6488
6550
|
length: 50,
|
|
@@ -6491,7 +6553,7 @@ __decorateClass([
|
|
|
6491
6553
|
})
|
|
6492
6554
|
], SequenceGenerator.prototype, "module", 2);
|
|
6493
6555
|
__decorateClass([
|
|
6494
|
-
(0,
|
|
6556
|
+
(0, import_typeorm56.Column)({
|
|
6495
6557
|
name: "prefix",
|
|
6496
6558
|
type: "varchar",
|
|
6497
6559
|
length: 10,
|
|
@@ -6500,7 +6562,7 @@ __decorateClass([
|
|
|
6500
6562
|
})
|
|
6501
6563
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
6502
6564
|
__decorateClass([
|
|
6503
|
-
(0,
|
|
6565
|
+
(0, import_typeorm56.Column)({
|
|
6504
6566
|
name: "last_sequence",
|
|
6505
6567
|
type: "int",
|
|
6506
6568
|
nullable: false,
|
|
@@ -6508,7 +6570,7 @@ __decorateClass([
|
|
|
6508
6570
|
})
|
|
6509
6571
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
6510
6572
|
__decorateClass([
|
|
6511
|
-
(0,
|
|
6573
|
+
(0, import_typeorm56.Column)({
|
|
6512
6574
|
name: "year",
|
|
6513
6575
|
type: "int",
|
|
6514
6576
|
nullable: true,
|
|
@@ -6516,11 +6578,11 @@ __decorateClass([
|
|
|
6516
6578
|
})
|
|
6517
6579
|
], SequenceGenerator.prototype, "year", 2);
|
|
6518
6580
|
SequenceGenerator = __decorateClass([
|
|
6519
|
-
(0,
|
|
6581
|
+
(0, import_typeorm56.Entity)("sequence_generators")
|
|
6520
6582
|
], SequenceGenerator);
|
|
6521
6583
|
|
|
6522
6584
|
// src/entities/question.entity.ts
|
|
6523
|
-
var
|
|
6585
|
+
var import_typeorm57 = require("typeorm");
|
|
6524
6586
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
6525
6587
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
6526
6588
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -6529,16 +6591,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
6529
6591
|
var Question = class extends BaseEntity {
|
|
6530
6592
|
};
|
|
6531
6593
|
__decorateClass([
|
|
6532
|
-
(0,
|
|
6594
|
+
(0, import_typeorm57.Column)({ name: "question", type: "varchar" })
|
|
6533
6595
|
], Question.prototype, "question", 2);
|
|
6534
6596
|
__decorateClass([
|
|
6535
|
-
(0,
|
|
6597
|
+
(0, import_typeorm57.Column)({ name: "hint", type: "varchar", nullable: true })
|
|
6536
6598
|
], Question.prototype, "hint", 2);
|
|
6537
6599
|
__decorateClass([
|
|
6538
|
-
(0,
|
|
6600
|
+
(0, import_typeorm57.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6539
6601
|
], Question.prototype, "slug", 2);
|
|
6540
6602
|
__decorateClass([
|
|
6541
|
-
(0,
|
|
6603
|
+
(0, import_typeorm57.Column)({
|
|
6542
6604
|
name: "question_for",
|
|
6543
6605
|
type: "enum",
|
|
6544
6606
|
enum: QuestionFor,
|
|
@@ -6546,117 +6608,117 @@ __decorateClass([
|
|
|
6546
6608
|
})
|
|
6547
6609
|
], Question.prototype, "questionFor", 2);
|
|
6548
6610
|
__decorateClass([
|
|
6549
|
-
(0,
|
|
6611
|
+
(0, import_typeorm57.Column)({ name: "type", type: "varchar", nullable: true })
|
|
6550
6612
|
], Question.prototype, "type", 2);
|
|
6551
6613
|
__decorateClass([
|
|
6552
|
-
(0,
|
|
6614
|
+
(0, import_typeorm57.Column)({ name: "options", type: "jsonb", nullable: true })
|
|
6553
6615
|
], Question.prototype, "options", 2);
|
|
6554
6616
|
__decorateClass([
|
|
6555
|
-
(0,
|
|
6617
|
+
(0, import_typeorm57.Column)({ name: "is_active", type: "boolean", default: false })
|
|
6556
6618
|
], Question.prototype, "isActive", 2);
|
|
6557
6619
|
Question = __decorateClass([
|
|
6558
|
-
(0,
|
|
6620
|
+
(0, import_typeorm57.Entity)("questions")
|
|
6559
6621
|
], Question);
|
|
6560
6622
|
|
|
6561
6623
|
// src/entities/skill.entity.ts
|
|
6562
|
-
var
|
|
6624
|
+
var import_typeorm58 = require("typeorm");
|
|
6563
6625
|
var Skill = class extends BaseEntity {
|
|
6564
6626
|
};
|
|
6565
6627
|
__decorateClass([
|
|
6566
|
-
(0,
|
|
6628
|
+
(0, import_typeorm58.Column)({ name: "name", type: "varchar", nullable: true })
|
|
6567
6629
|
], Skill.prototype, "name", 2);
|
|
6568
6630
|
__decorateClass([
|
|
6569
|
-
(0,
|
|
6631
|
+
(0, import_typeorm58.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6570
6632
|
], Skill.prototype, "slug", 2);
|
|
6571
6633
|
__decorateClass([
|
|
6572
|
-
(0,
|
|
6634
|
+
(0, import_typeorm58.Column)({ name: "is_active", type: "boolean", default: false })
|
|
6573
6635
|
], Skill.prototype, "isActive", 2);
|
|
6574
6636
|
Skill = __decorateClass([
|
|
6575
|
-
(0,
|
|
6637
|
+
(0, import_typeorm58.Entity)("skills")
|
|
6576
6638
|
], Skill);
|
|
6577
6639
|
|
|
6578
6640
|
// src/entities/job-role.entity.ts
|
|
6579
|
-
var
|
|
6641
|
+
var import_typeorm59 = require("typeorm");
|
|
6580
6642
|
var JobRoles = class extends BaseEntity {
|
|
6581
6643
|
};
|
|
6582
6644
|
__decorateClass([
|
|
6583
|
-
(0,
|
|
6645
|
+
(0, import_typeorm59.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6584
6646
|
], JobRoles.prototype, "slug", 2);
|
|
6585
6647
|
__decorateClass([
|
|
6586
|
-
(0,
|
|
6648
|
+
(0, import_typeorm59.Column)({ name: "name", type: "varchar", nullable: true })
|
|
6587
6649
|
], JobRoles.prototype, "name", 2);
|
|
6588
6650
|
__decorateClass([
|
|
6589
|
-
(0,
|
|
6651
|
+
(0, import_typeorm59.Column)({ name: "is_active", type: "boolean", default: true })
|
|
6590
6652
|
], JobRoles.prototype, "isActive", 2);
|
|
6591
6653
|
JobRoles = __decorateClass([
|
|
6592
|
-
(0,
|
|
6654
|
+
(0, import_typeorm59.Entity)("job_roles")
|
|
6593
6655
|
], JobRoles);
|
|
6594
6656
|
|
|
6595
6657
|
// src/entities/plan.entity.ts
|
|
6596
|
-
var
|
|
6658
|
+
var import_typeorm61 = require("typeorm");
|
|
6597
6659
|
|
|
6598
6660
|
// src/entities/feature.entity.ts
|
|
6599
|
-
var
|
|
6661
|
+
var import_typeorm60 = require("typeorm");
|
|
6600
6662
|
var Feature = class extends BaseEntity {
|
|
6601
6663
|
};
|
|
6602
6664
|
__decorateClass([
|
|
6603
|
-
(0,
|
|
6665
|
+
(0, import_typeorm60.Column)({ name: "name", type: "varchar", unique: true })
|
|
6604
6666
|
], Feature.prototype, "name", 2);
|
|
6605
6667
|
__decorateClass([
|
|
6606
|
-
(0,
|
|
6668
|
+
(0, import_typeorm60.ManyToMany)(() => Plan, (plan) => plan.features)
|
|
6607
6669
|
], Feature.prototype, "plans", 2);
|
|
6608
6670
|
Feature = __decorateClass([
|
|
6609
|
-
(0,
|
|
6671
|
+
(0, import_typeorm60.Entity)("features")
|
|
6610
6672
|
], Feature);
|
|
6611
6673
|
|
|
6612
6674
|
// src/entities/plan.entity.ts
|
|
6613
6675
|
var Plan = class extends BaseEntity {
|
|
6614
6676
|
};
|
|
6615
6677
|
__decorateClass([
|
|
6616
|
-
(0,
|
|
6678
|
+
(0, import_typeorm61.Column)({ name: "name", type: "varchar", unique: true })
|
|
6617
6679
|
], Plan.prototype, "name", 2);
|
|
6618
6680
|
__decorateClass([
|
|
6619
|
-
(0,
|
|
6681
|
+
(0, import_typeorm61.Column)({ name: "description", type: "varchar", nullable: true })
|
|
6620
6682
|
], Plan.prototype, "description", 2);
|
|
6621
6683
|
__decorateClass([
|
|
6622
|
-
(0,
|
|
6684
|
+
(0, import_typeorm61.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
6623
6685
|
], Plan.prototype, "price", 2);
|
|
6624
6686
|
__decorateClass([
|
|
6625
|
-
(0,
|
|
6687
|
+
(0, import_typeorm61.Column)({ name: "billing_period", type: "varchar" })
|
|
6626
6688
|
], Plan.prototype, "billingPeriod", 2);
|
|
6627
6689
|
__decorateClass([
|
|
6628
|
-
(0,
|
|
6690
|
+
(0, import_typeorm61.Column)({ name: "is_current", type: "boolean", default: false })
|
|
6629
6691
|
], Plan.prototype, "isCurrent", 2);
|
|
6630
6692
|
__decorateClass([
|
|
6631
|
-
(0,
|
|
6632
|
-
(0,
|
|
6693
|
+
(0, import_typeorm61.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
6694
|
+
(0, import_typeorm61.JoinTable)()
|
|
6633
6695
|
], Plan.prototype, "features", 2);
|
|
6634
6696
|
Plan = __decorateClass([
|
|
6635
|
-
(0,
|
|
6697
|
+
(0, import_typeorm61.Entity)("plans")
|
|
6636
6698
|
], Plan);
|
|
6637
6699
|
|
|
6638
6700
|
// src/entities/cms.entity.ts
|
|
6639
|
-
var
|
|
6701
|
+
var import_typeorm62 = require("typeorm");
|
|
6640
6702
|
var Cms = class extends BaseEntity {
|
|
6641
6703
|
};
|
|
6642
6704
|
__decorateClass([
|
|
6643
|
-
(0,
|
|
6705
|
+
(0, import_typeorm62.Column)({ name: "title", type: "varchar", nullable: true })
|
|
6644
6706
|
], Cms.prototype, "title", 2);
|
|
6645
6707
|
__decorateClass([
|
|
6646
|
-
(0,
|
|
6708
|
+
(0, import_typeorm62.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6647
6709
|
], Cms.prototype, "slug", 2);
|
|
6648
6710
|
__decorateClass([
|
|
6649
|
-
(0,
|
|
6711
|
+
(0, import_typeorm62.Column)({ name: "content", type: "varchar", nullable: true })
|
|
6650
6712
|
], Cms.prototype, "content", 2);
|
|
6651
6713
|
__decorateClass([
|
|
6652
|
-
(0,
|
|
6714
|
+
(0, import_typeorm62.Column)({ name: "is_active", type: "boolean", default: true })
|
|
6653
6715
|
], Cms.prototype, "isActive", 2);
|
|
6654
6716
|
Cms = __decorateClass([
|
|
6655
|
-
(0,
|
|
6717
|
+
(0, import_typeorm62.Entity)("cms")
|
|
6656
6718
|
], Cms);
|
|
6657
6719
|
|
|
6658
6720
|
// src/entities/lead.entity.ts
|
|
6659
|
-
var
|
|
6721
|
+
var import_typeorm63 = require("typeorm");
|
|
6660
6722
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
6661
6723
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
6662
6724
|
CategoryEmum2["FREELANCER"] = "FREELANCER";
|
|
@@ -6665,22 +6727,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
6665
6727
|
var Lead = class extends BaseEntity {
|
|
6666
6728
|
};
|
|
6667
6729
|
__decorateClass([
|
|
6668
|
-
(0,
|
|
6730
|
+
(0, import_typeorm63.Column)({ name: "name", type: "varchar", nullable: true })
|
|
6669
6731
|
], Lead.prototype, "name", 2);
|
|
6670
6732
|
__decorateClass([
|
|
6671
|
-
(0,
|
|
6733
|
+
(0, import_typeorm63.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
6672
6734
|
], Lead.prototype, "mobileCode", 2);
|
|
6673
6735
|
__decorateClass([
|
|
6674
|
-
(0,
|
|
6736
|
+
(0, import_typeorm63.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
6675
6737
|
], Lead.prototype, "mobile", 2);
|
|
6676
6738
|
__decorateClass([
|
|
6677
|
-
(0,
|
|
6739
|
+
(0, import_typeorm63.Column)({ name: "email", type: "varchar", nullable: true })
|
|
6678
6740
|
], Lead.prototype, "email", 2);
|
|
6679
6741
|
__decorateClass([
|
|
6680
|
-
(0,
|
|
6742
|
+
(0, import_typeorm63.Column)({ name: "description", type: "varchar", nullable: true })
|
|
6681
6743
|
], Lead.prototype, "description", 2);
|
|
6682
6744
|
__decorateClass([
|
|
6683
|
-
(0,
|
|
6745
|
+
(0, import_typeorm63.Column)({
|
|
6684
6746
|
name: "category",
|
|
6685
6747
|
type: "enum",
|
|
6686
6748
|
enum: CategoryEmum,
|
|
@@ -6688,129 +6750,129 @@ __decorateClass([
|
|
|
6688
6750
|
})
|
|
6689
6751
|
], Lead.prototype, "category", 2);
|
|
6690
6752
|
Lead = __decorateClass([
|
|
6691
|
-
(0,
|
|
6753
|
+
(0, import_typeorm63.Entity)("leads")
|
|
6692
6754
|
], Lead);
|
|
6693
6755
|
|
|
6694
6756
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
6695
|
-
var
|
|
6757
|
+
var import_typeorm64 = require("typeorm");
|
|
6696
6758
|
var JobFreelancerRecommendation = class {
|
|
6697
6759
|
};
|
|
6698
6760
|
__decorateClass([
|
|
6699
|
-
(0,
|
|
6761
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_id" })
|
|
6700
6762
|
], JobFreelancerRecommendation.prototype, "jobId", 2);
|
|
6701
6763
|
__decorateClass([
|
|
6702
|
-
(0,
|
|
6764
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_uuid" })
|
|
6703
6765
|
], JobFreelancerRecommendation.prototype, "jobUuid", 2);
|
|
6704
6766
|
__decorateClass([
|
|
6705
|
-
(0,
|
|
6767
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_unique_id" })
|
|
6706
6768
|
], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
|
|
6707
6769
|
__decorateClass([
|
|
6708
|
-
(0,
|
|
6770
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_role" })
|
|
6709
6771
|
], JobFreelancerRecommendation.prototype, "jobRole", 2);
|
|
6710
6772
|
__decorateClass([
|
|
6711
|
-
(0,
|
|
6773
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_openings" })
|
|
6712
6774
|
], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
|
|
6713
6775
|
__decorateClass([
|
|
6714
|
-
(0,
|
|
6776
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_location" })
|
|
6715
6777
|
], JobFreelancerRecommendation.prototype, "jobLocation", 2);
|
|
6716
6778
|
__decorateClass([
|
|
6717
|
-
(0,
|
|
6779
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_currency" })
|
|
6718
6780
|
], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
|
|
6719
6781
|
__decorateClass([
|
|
6720
|
-
(0,
|
|
6782
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_salary_from" })
|
|
6721
6783
|
], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
|
|
6722
6784
|
__decorateClass([
|
|
6723
|
-
(0,
|
|
6785
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_salary_to" })
|
|
6724
6786
|
], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
|
|
6725
6787
|
__decorateClass([
|
|
6726
|
-
(0,
|
|
6788
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_employment_type" })
|
|
6727
6789
|
], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
|
|
6728
6790
|
__decorateClass([
|
|
6729
|
-
(0,
|
|
6791
|
+
(0, import_typeorm64.ViewColumn)({ name: "application_received" })
|
|
6730
6792
|
], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
|
|
6731
6793
|
__decorateClass([
|
|
6732
|
-
(0,
|
|
6794
|
+
(0, import_typeorm64.ViewColumn)({ name: "job_posted_at" })
|
|
6733
6795
|
], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
|
|
6734
6796
|
__decorateClass([
|
|
6735
|
-
(0,
|
|
6797
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_id" })
|
|
6736
6798
|
], JobFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
6737
6799
|
__decorateClass([
|
|
6738
|
-
(0,
|
|
6800
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_uuid" })
|
|
6739
6801
|
], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
6740
6802
|
__decorateClass([
|
|
6741
|
-
(0,
|
|
6803
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_unique_id" })
|
|
6742
6804
|
], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
6743
6805
|
__decorateClass([
|
|
6744
|
-
(0,
|
|
6806
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_first_name" })
|
|
6745
6807
|
], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
6746
6808
|
__decorateClass([
|
|
6747
|
-
(0,
|
|
6809
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_last_name" })
|
|
6748
6810
|
], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
6749
6811
|
__decorateClass([
|
|
6750
|
-
(0,
|
|
6812
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_email" })
|
|
6751
6813
|
], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
6752
6814
|
__decorateClass([
|
|
6753
|
-
(0,
|
|
6815
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
6754
6816
|
], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
6755
6817
|
__decorateClass([
|
|
6756
|
-
(0,
|
|
6818
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_is_social" })
|
|
6757
6819
|
], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
6758
6820
|
__decorateClass([
|
|
6759
|
-
(0,
|
|
6821
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_created_at" })
|
|
6760
6822
|
], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
6761
6823
|
__decorateClass([
|
|
6762
|
-
(0,
|
|
6824
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_designation" })
|
|
6763
6825
|
], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
6764
6826
|
__decorateClass([
|
|
6765
|
-
(0,
|
|
6827
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_experience" })
|
|
6766
6828
|
], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
6767
6829
|
__decorateClass([
|
|
6768
|
-
(0,
|
|
6830
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
6769
6831
|
], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
6770
6832
|
__decorateClass([
|
|
6771
|
-
(0,
|
|
6833
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
6772
6834
|
], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
6773
6835
|
__decorateClass([
|
|
6774
|
-
(0,
|
|
6836
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_country_name" })
|
|
6775
6837
|
], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
6776
6838
|
__decorateClass([
|
|
6777
|
-
(0,
|
|
6839
|
+
(0, import_typeorm64.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
6778
6840
|
], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
6779
6841
|
__decorateClass([
|
|
6780
|
-
(0,
|
|
6842
|
+
(0, import_typeorm64.ViewColumn)({ name: "client_id" })
|
|
6781
6843
|
], JobFreelancerRecommendation.prototype, "clientId", 2);
|
|
6782
6844
|
__decorateClass([
|
|
6783
|
-
(0,
|
|
6845
|
+
(0, import_typeorm64.ViewColumn)({ name: "client_uuid" })
|
|
6784
6846
|
], JobFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
6785
6847
|
__decorateClass([
|
|
6786
|
-
(0,
|
|
6848
|
+
(0, import_typeorm64.ViewColumn)({ name: "client_first_name" })
|
|
6787
6849
|
], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
|
|
6788
6850
|
__decorateClass([
|
|
6789
|
-
(0,
|
|
6851
|
+
(0, import_typeorm64.ViewColumn)({ name: "client_last_name" })
|
|
6790
6852
|
], JobFreelancerRecommendation.prototype, "clientLastName", 2);
|
|
6791
6853
|
__decorateClass([
|
|
6792
|
-
(0,
|
|
6854
|
+
(0, import_typeorm64.ViewColumn)({ name: "client_email" })
|
|
6793
6855
|
], JobFreelancerRecommendation.prototype, "clientEmail", 2);
|
|
6794
6856
|
__decorateClass([
|
|
6795
|
-
(0,
|
|
6857
|
+
(0, import_typeorm64.ViewColumn)({ name: "client_company_logo" })
|
|
6796
6858
|
], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
|
|
6797
6859
|
__decorateClass([
|
|
6798
|
-
(0,
|
|
6860
|
+
(0, import_typeorm64.ViewColumn)({ name: "client_company_name" })
|
|
6799
6861
|
], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
|
|
6800
6862
|
__decorateClass([
|
|
6801
|
-
(0,
|
|
6863
|
+
(0, import_typeorm64.ViewColumn)({ name: "matching_skills" })
|
|
6802
6864
|
], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
6803
6865
|
__decorateClass([
|
|
6804
|
-
(0,
|
|
6866
|
+
(0, import_typeorm64.ViewColumn)({ name: "matching_skills_count" })
|
|
6805
6867
|
], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
6806
6868
|
__decorateClass([
|
|
6807
|
-
(0,
|
|
6869
|
+
(0, import_typeorm64.ViewColumn)({ name: "required_skills" })
|
|
6808
6870
|
], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
6809
6871
|
__decorateClass([
|
|
6810
|
-
(0,
|
|
6872
|
+
(0, import_typeorm64.ViewColumn)({ name: "required_skills_count" })
|
|
6811
6873
|
], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
6812
6874
|
JobFreelancerRecommendation = __decorateClass([
|
|
6813
|
-
(0,
|
|
6875
|
+
(0, import_typeorm64.ViewEntity)({
|
|
6814
6876
|
name: "job_freelancer_recommendations",
|
|
6815
6877
|
materialized: true,
|
|
6816
6878
|
synchronize: false
|
|
@@ -6819,32 +6881,32 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
6819
6881
|
], JobFreelancerRecommendation);
|
|
6820
6882
|
|
|
6821
6883
|
// src/entities/job-freelancer-recommendation-v2.entity.ts
|
|
6822
|
-
var
|
|
6884
|
+
var import_typeorm65 = require("typeorm");
|
|
6823
6885
|
var JobFreelancerRecommendationV2 = class {
|
|
6824
6886
|
};
|
|
6825
6887
|
__decorateClass([
|
|
6826
|
-
(0,
|
|
6888
|
+
(0, import_typeorm65.ViewColumn)({ name: "job_id" })
|
|
6827
6889
|
], JobFreelancerRecommendationV2.prototype, "jobId", 2);
|
|
6828
6890
|
__decorateClass([
|
|
6829
|
-
(0,
|
|
6891
|
+
(0, import_typeorm65.ViewColumn)({ name: "job_owner_id" })
|
|
6830
6892
|
], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
|
|
6831
6893
|
__decorateClass([
|
|
6832
|
-
(0,
|
|
6894
|
+
(0, import_typeorm65.ViewColumn)({ name: "freelancer_id" })
|
|
6833
6895
|
], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
|
|
6834
6896
|
__decorateClass([
|
|
6835
|
-
(0,
|
|
6897
|
+
(0, import_typeorm65.ViewColumn)({ name: "matching_skills" })
|
|
6836
6898
|
], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
|
|
6837
6899
|
__decorateClass([
|
|
6838
|
-
(0,
|
|
6900
|
+
(0, import_typeorm65.ViewColumn)({ name: "matching_skills_count" })
|
|
6839
6901
|
], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
|
|
6840
6902
|
__decorateClass([
|
|
6841
|
-
(0,
|
|
6903
|
+
(0, import_typeorm65.ViewColumn)({ name: "required_skills" })
|
|
6842
6904
|
], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
|
|
6843
6905
|
__decorateClass([
|
|
6844
|
-
(0,
|
|
6906
|
+
(0, import_typeorm65.ViewColumn)({ name: "required_skills_count" })
|
|
6845
6907
|
], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
|
|
6846
6908
|
JobFreelancerRecommendationV2 = __decorateClass([
|
|
6847
|
-
(0,
|
|
6909
|
+
(0, import_typeorm65.ViewEntity)({
|
|
6848
6910
|
name: "job_freelancer_recommendations_v2",
|
|
6849
6911
|
materialized: true,
|
|
6850
6912
|
synchronize: false
|
|
@@ -6853,74 +6915,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
|
|
|
6853
6915
|
], JobFreelancerRecommendationV2);
|
|
6854
6916
|
|
|
6855
6917
|
// src/entities/client-freelancer-recommendation.entity.ts
|
|
6856
|
-
var
|
|
6918
|
+
var import_typeorm66 = require("typeorm");
|
|
6857
6919
|
var ClientFreelancerRecommendation = class {
|
|
6858
6920
|
};
|
|
6859
6921
|
__decorateClass([
|
|
6860
|
-
(0,
|
|
6922
|
+
(0, import_typeorm66.ViewColumn)({ name: "client_id" })
|
|
6861
6923
|
], ClientFreelancerRecommendation.prototype, "clientId", 2);
|
|
6862
6924
|
__decorateClass([
|
|
6863
|
-
(0,
|
|
6925
|
+
(0, import_typeorm66.ViewColumn)({ name: "client_uuid" })
|
|
6864
6926
|
], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
6865
6927
|
__decorateClass([
|
|
6866
|
-
(0,
|
|
6928
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_id" })
|
|
6867
6929
|
], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
6868
6930
|
__decorateClass([
|
|
6869
|
-
(0,
|
|
6931
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_uuid" })
|
|
6870
6932
|
], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
6871
6933
|
__decorateClass([
|
|
6872
|
-
(0,
|
|
6934
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_unique_id" })
|
|
6873
6935
|
], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
6874
6936
|
__decorateClass([
|
|
6875
|
-
(0,
|
|
6937
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_first_name" })
|
|
6876
6938
|
], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
6877
6939
|
__decorateClass([
|
|
6878
|
-
(0,
|
|
6940
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_last_name" })
|
|
6879
6941
|
], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
6880
6942
|
__decorateClass([
|
|
6881
|
-
(0,
|
|
6943
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_email" })
|
|
6882
6944
|
], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
6883
6945
|
__decorateClass([
|
|
6884
|
-
(0,
|
|
6946
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
6885
6947
|
], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
6886
6948
|
__decorateClass([
|
|
6887
|
-
(0,
|
|
6949
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_is_social" })
|
|
6888
6950
|
], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
6889
6951
|
__decorateClass([
|
|
6890
|
-
(0,
|
|
6952
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_created_at" })
|
|
6891
6953
|
], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
6892
6954
|
__decorateClass([
|
|
6893
|
-
(0,
|
|
6955
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_designation" })
|
|
6894
6956
|
], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
6895
6957
|
__decorateClass([
|
|
6896
|
-
(0,
|
|
6958
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_experience" })
|
|
6897
6959
|
], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
6898
6960
|
__decorateClass([
|
|
6899
|
-
(0,
|
|
6961
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
6900
6962
|
], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
6901
6963
|
__decorateClass([
|
|
6902
|
-
(0,
|
|
6964
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
6903
6965
|
], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
6904
6966
|
__decorateClass([
|
|
6905
|
-
(0,
|
|
6967
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_country_name" })
|
|
6906
6968
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
6907
6969
|
__decorateClass([
|
|
6908
|
-
(0,
|
|
6970
|
+
(0, import_typeorm66.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
6909
6971
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
6910
6972
|
__decorateClass([
|
|
6911
|
-
(0,
|
|
6973
|
+
(0, import_typeorm66.ViewColumn)({ name: "matching_skills" })
|
|
6912
6974
|
], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
6913
6975
|
__decorateClass([
|
|
6914
|
-
(0,
|
|
6976
|
+
(0, import_typeorm66.ViewColumn)({ name: "matching_skills_count" })
|
|
6915
6977
|
], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
6916
6978
|
__decorateClass([
|
|
6917
|
-
(0,
|
|
6979
|
+
(0, import_typeorm66.ViewColumn)({ name: "required_skills" })
|
|
6918
6980
|
], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
6919
6981
|
__decorateClass([
|
|
6920
|
-
(0,
|
|
6982
|
+
(0, import_typeorm66.ViewColumn)({ name: "required_skills_count" })
|
|
6921
6983
|
], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
6922
6984
|
ClientFreelancerRecommendation = __decorateClass([
|
|
6923
|
-
(0,
|
|
6985
|
+
(0, import_typeorm66.ViewEntity)({
|
|
6924
6986
|
name: "client_freelancer_recommendations",
|
|
6925
6987
|
materialized: true,
|
|
6926
6988
|
synchronize: false
|
|
@@ -6929,7 +6991,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
6929
6991
|
], ClientFreelancerRecommendation);
|
|
6930
6992
|
|
|
6931
6993
|
// src/entities/commission.entity.ts
|
|
6932
|
-
var
|
|
6994
|
+
var import_typeorm67 = require("typeorm");
|
|
6933
6995
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
6934
6996
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
6935
6997
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -6938,7 +7000,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
6938
7000
|
var Commission = class extends BaseEntity {
|
|
6939
7001
|
};
|
|
6940
7002
|
__decorateClass([
|
|
6941
|
-
(0,
|
|
7003
|
+
(0, import_typeorm67.Column)({
|
|
6942
7004
|
name: "freelancer_commission_type",
|
|
6943
7005
|
type: "enum",
|
|
6944
7006
|
enum: CommissionTypeEnum,
|
|
@@ -6946,10 +7008,10 @@ __decorateClass([
|
|
|
6946
7008
|
})
|
|
6947
7009
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
6948
7010
|
__decorateClass([
|
|
6949
|
-
(0,
|
|
7011
|
+
(0, import_typeorm67.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
6950
7012
|
], Commission.prototype, "freelancerCommission", 2);
|
|
6951
7013
|
__decorateClass([
|
|
6952
|
-
(0,
|
|
7014
|
+
(0, import_typeorm67.Column)({
|
|
6953
7015
|
name: "client_commission_type",
|
|
6954
7016
|
type: "enum",
|
|
6955
7017
|
enum: CommissionTypeEnum,
|
|
@@ -6957,66 +7019,66 @@ __decorateClass([
|
|
|
6957
7019
|
})
|
|
6958
7020
|
], Commission.prototype, "clientCommissionType", 2);
|
|
6959
7021
|
__decorateClass([
|
|
6960
|
-
(0,
|
|
7022
|
+
(0, import_typeorm67.Column)({ name: "client_commission", type: "integer", default: 0 })
|
|
6961
7023
|
], Commission.prototype, "clientCommission", 2);
|
|
6962
7024
|
Commission = __decorateClass([
|
|
6963
|
-
(0,
|
|
7025
|
+
(0, import_typeorm67.Entity)("commissions")
|
|
6964
7026
|
], Commission);
|
|
6965
7027
|
|
|
6966
7028
|
// src/entities/calendly-meeting-log.entity.ts
|
|
6967
|
-
var
|
|
7029
|
+
var import_typeorm68 = require("typeorm");
|
|
6968
7030
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
6969
7031
|
};
|
|
6970
7032
|
__decorateClass([
|
|
6971
|
-
(0,
|
|
6972
|
-
(0,
|
|
7033
|
+
(0, import_typeorm68.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
7034
|
+
(0, import_typeorm68.Index)()
|
|
6973
7035
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
6974
7036
|
__decorateClass([
|
|
6975
|
-
(0,
|
|
7037
|
+
(0, import_typeorm68.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
|
|
6976
7038
|
], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
|
|
6977
7039
|
__decorateClass([
|
|
6978
|
-
(0,
|
|
7040
|
+
(0, import_typeorm68.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6979
7041
|
], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
|
|
6980
7042
|
CalendlyMeetingLog = __decorateClass([
|
|
6981
|
-
(0,
|
|
7043
|
+
(0, import_typeorm68.Entity)("calendly_meeting_logs")
|
|
6982
7044
|
], CalendlyMeetingLog);
|
|
6983
7045
|
|
|
6984
7046
|
// src/entities/zoom-meeting-log.entity.ts
|
|
6985
|
-
var
|
|
7047
|
+
var import_typeorm69 = require("typeorm");
|
|
6986
7048
|
var ZoomMeetingLog = class extends BaseEntity {
|
|
6987
7049
|
};
|
|
6988
7050
|
__decorateClass([
|
|
6989
|
-
(0,
|
|
6990
|
-
(0,
|
|
7051
|
+
(0, import_typeorm69.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
|
|
7052
|
+
(0, import_typeorm69.Index)()
|
|
6991
7053
|
], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
|
|
6992
7054
|
__decorateClass([
|
|
6993
|
-
(0,
|
|
7055
|
+
(0, import_typeorm69.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
|
|
6994
7056
|
], ZoomMeetingLog.prototype, "zoomEventType", 2);
|
|
6995
7057
|
__decorateClass([
|
|
6996
|
-
(0,
|
|
7058
|
+
(0, import_typeorm69.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6997
7059
|
], ZoomMeetingLog.prototype, "rawWebhookData", 2);
|
|
6998
7060
|
ZoomMeetingLog = __decorateClass([
|
|
6999
|
-
(0,
|
|
7061
|
+
(0, import_typeorm69.Entity)("zoom_meeting_logs")
|
|
7000
7062
|
], ZoomMeetingLog);
|
|
7001
7063
|
|
|
7002
7064
|
// src/entities/stripe-logs.entity.ts
|
|
7003
|
-
var
|
|
7065
|
+
var import_typeorm70 = require("typeorm");
|
|
7004
7066
|
var StripeLog = class extends BaseEntity {
|
|
7005
7067
|
};
|
|
7006
7068
|
__decorateClass([
|
|
7007
|
-
(0,
|
|
7069
|
+
(0, import_typeorm70.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
|
|
7008
7070
|
], StripeLog.prototype, "stripeEventId", 2);
|
|
7009
7071
|
__decorateClass([
|
|
7010
|
-
(0,
|
|
7072
|
+
(0, import_typeorm70.Column)({ name: "event_type", type: "varchar", nullable: true })
|
|
7011
7073
|
], StripeLog.prototype, "eventType", 2);
|
|
7012
7074
|
__decorateClass([
|
|
7013
|
-
(0,
|
|
7075
|
+
(0, import_typeorm70.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
|
|
7014
7076
|
], StripeLog.prototype, "stripeAccountId", 2);
|
|
7015
7077
|
__decorateClass([
|
|
7016
|
-
(0,
|
|
7078
|
+
(0, import_typeorm70.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
7017
7079
|
], StripeLog.prototype, "rawWebhookData", 2);
|
|
7018
7080
|
StripeLog = __decorateClass([
|
|
7019
|
-
(0,
|
|
7081
|
+
(0, import_typeorm70.Entity)("stripe_logs")
|
|
7020
7082
|
], StripeLog);
|
|
7021
7083
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7022
7084
|
0 && (module.exports = {
|
|
@@ -7253,9 +7315,11 @@ StripeLog = __decorateClass([
|
|
|
7253
7315
|
TIMESHEET_FREELANCER_PATTERN,
|
|
7254
7316
|
Timesheet,
|
|
7255
7317
|
TimesheetLine,
|
|
7318
|
+
TimesheetLineHistory,
|
|
7256
7319
|
TimesheetLineStatusEnum,
|
|
7257
7320
|
TimesheetLogs,
|
|
7258
7321
|
TimesheetStatusEnum,
|
|
7322
|
+
TimesheetSubmissionActionEnum,
|
|
7259
7323
|
ToggleCompanyMemberVisibilityDto,
|
|
7260
7324
|
ToggleCompanyRoleVisibilityDto,
|
|
7261
7325
|
TypeOfEmploymentEnum,
|