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