@experts_hub/shared 1.0.389 → 1.0.391

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/index.mjs CHANGED
@@ -1417,17 +1417,17 @@ import {
1417
1417
  } from "class-validator";
1418
1418
 
1419
1419
  // src/entities/rating.entity.ts
1420
- import { Entity as Entity50, Column as Column51, ManyToOne as ManyToOne44, JoinColumn as JoinColumn45, Index as Index43 } from "typeorm";
1420
+ import { Entity as Entity51, Column as Column52, ManyToOne as ManyToOne45, JoinColumn as JoinColumn46, Index as Index44 } from "typeorm";
1421
1421
 
1422
1422
  // src/entities/user.entity.ts
1423
1423
  import {
1424
- Entity as Entity49,
1425
- Column as Column50,
1424
+ Entity as Entity50,
1425
+ Column as Column51,
1426
1426
  OneToMany as OneToMany18,
1427
1427
  OneToOne as OneToOne4,
1428
- Index as Index42,
1429
- ManyToOne as ManyToOne43,
1430
- JoinColumn as JoinColumn44
1428
+ Index as Index43,
1429
+ ManyToOne as ManyToOne44,
1430
+ JoinColumn as JoinColumn45
1431
1431
  } from "typeorm";
1432
1432
 
1433
1433
  // src/entities/base.entity.ts
@@ -3311,6 +3311,12 @@ __decorateClass([
3311
3311
  __decorateClass([
3312
3312
  Column23({ name: "application_count", type: "integer", default: 0 })
3313
3313
  ], Job.prototype, "applicationCount", 2);
3314
+ __decorateClass([
3315
+ Column23({ name: "is_contract_signed", type: "boolean", default: false })
3316
+ ], Job.prototype, "isContractSigned", 2);
3317
+ __decorateClass([
3318
+ Column23({ name: "is_interview_created", type: "boolean", default: false })
3319
+ ], Job.prototype, "isInterviewCreated", 2);
3314
3320
  __decorateClass([
3315
3321
  OneToMany9(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3316
3322
  ], Job.prototype, "jobSkills", 2);
@@ -4351,6 +4357,32 @@ StripeWallet = __decorateClass([
4351
4357
  Entity48("stripe_wallets")
4352
4358
  ], StripeWallet);
4353
4359
 
4360
+ // src/entities/signature.entity.ts
4361
+ import {
4362
+ Entity as Entity49,
4363
+ Column as Column50,
4364
+ Index as Index42,
4365
+ ManyToOne as ManyToOne43,
4366
+ JoinColumn as JoinColumn44
4367
+ } from "typeorm";
4368
+ var Signature = class extends BaseEntity {
4369
+ };
4370
+ // individual index to find profile by user
4371
+ __decorateClass([
4372
+ Column50({ name: "user_id", type: "integer", nullable: true }),
4373
+ Index42()
4374
+ ], Signature.prototype, "userId", 2);
4375
+ __decorateClass([
4376
+ ManyToOne43(() => User, (user) => user.signatures),
4377
+ JoinColumn44({ name: "user_id" })
4378
+ ], Signature.prototype, "user", 2);
4379
+ __decorateClass([
4380
+ Column50({ name: "signature_url", type: "text", nullable: true })
4381
+ ], Signature.prototype, "signatureUrl", 2);
4382
+ Signature = __decorateClass([
4383
+ Entity49("signatures")
4384
+ ], Signature);
4385
+
4354
4386
  // src/entities/user.entity.ts
4355
4387
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
4356
4388
  AccountType2["ADMIN"] = "ADMIN";
@@ -4376,51 +4408,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
4376
4408
  var User = class extends BaseEntity {
4377
4409
  };
4378
4410
  __decorateClass([
4379
- Column50({ name: "unique_id", type: "varchar", unique: true })
4411
+ Column51({ name: "unique_id", type: "varchar", unique: true })
4380
4412
  ], User.prototype, "uniqueId", 2);
4381
4413
  __decorateClass([
4382
- Column50({ name: "parent_id", type: "integer", nullable: true }),
4383
- Index42()
4414
+ Column51({ name: "parent_id", type: "integer", nullable: true }),
4415
+ Index43()
4384
4416
  ], User.prototype, "parentId", 2);
4385
4417
  __decorateClass([
4386
- ManyToOne43(() => User, (user) => user.children, { nullable: true }),
4387
- JoinColumn44({ name: "parent_id" })
4418
+ ManyToOne44(() => User, (user) => user.children, { nullable: true }),
4419
+ JoinColumn45({ name: "parent_id" })
4388
4420
  ], User.prototype, "parent", 2);
4389
4421
  __decorateClass([
4390
4422
  OneToMany18(() => User, (user) => user.parent)
4391
4423
  ], User.prototype, "children", 2);
4392
4424
  __decorateClass([
4393
- Column50({ name: "username", type: "varchar", unique: true, nullable: true })
4425
+ Column51({ name: "username", type: "varchar", unique: true, nullable: true })
4394
4426
  ], User.prototype, "username", 2);
4395
4427
  __decorateClass([
4396
- Column50({ name: "first_name", type: "varchar", length: 100, nullable: true })
4428
+ Column51({ name: "first_name", type: "varchar", length: 100, nullable: true })
4397
4429
  ], User.prototype, "firstName", 2);
4398
4430
  __decorateClass([
4399
- Column50({ name: "last_name", type: "varchar", length: 100, nullable: true })
4431
+ Column51({ name: "last_name", type: "varchar", length: 100, nullable: true })
4400
4432
  ], User.prototype, "lastName", 2);
4401
4433
  __decorateClass([
4402
- Column50({ name: "date_of_birth", type: "date", nullable: true })
4434
+ Column51({ name: "date_of_birth", type: "date", nullable: true })
4403
4435
  ], User.prototype, "dateOfBirth", 2);
4404
4436
  __decorateClass([
4405
- Column50({ name: "gender", type: "varchar", length: 10, nullable: true })
4437
+ Column51({ name: "gender", type: "varchar", length: 10, nullable: true })
4406
4438
  ], User.prototype, "gender", 2);
4407
4439
  __decorateClass([
4408
- Column50({ name: "profile_picture_url", type: "text", nullable: true })
4440
+ Column51({ name: "profile_picture_url", type: "text", nullable: true })
4409
4441
  ], User.prototype, "profilePictureUrl", 2);
4410
4442
  __decorateClass([
4411
- Column50({ name: "email", type: "varchar", unique: true })
4443
+ Column51({ name: "email", type: "varchar", unique: true })
4412
4444
  ], User.prototype, "email", 2);
4413
4445
  __decorateClass([
4414
- Column50({ name: "mobile_code", type: "varchar", nullable: true })
4446
+ Column51({ name: "mobile_code", type: "varchar", nullable: true })
4415
4447
  ], User.prototype, "mobileCode", 2);
4416
4448
  __decorateClass([
4417
- Column50({ name: "mobile", type: "varchar", nullable: true })
4449
+ Column51({ name: "mobile", type: "varchar", nullable: true })
4418
4450
  ], User.prototype, "mobile", 2);
4419
4451
  __decorateClass([
4420
- Column50({ name: "password", type: "varchar", nullable: true })
4452
+ Column51({ name: "password", type: "varchar", nullable: true })
4421
4453
  ], User.prototype, "password", 2);
4422
4454
  __decorateClass([
4423
- Column50({
4455
+ Column51({
4424
4456
  name: "account_type",
4425
4457
  type: "enum",
4426
4458
  enum: AccountType,
@@ -4428,7 +4460,7 @@ __decorateClass([
4428
4460
  })
4429
4461
  ], User.prototype, "accountType", 2);
4430
4462
  __decorateClass([
4431
- Column50({
4463
+ Column51({
4432
4464
  name: "account_status",
4433
4465
  type: "enum",
4434
4466
  enum: AccountStatus,
@@ -4436,42 +4468,42 @@ __decorateClass([
4436
4468
  })
4437
4469
  ], User.prototype, "accountStatus", 2);
4438
4470
  __decorateClass([
4439
- Column50({ name: "is_email_verified", type: "boolean", default: false })
4471
+ Column51({ name: "is_email_verified", type: "boolean", default: false })
4440
4472
  ], User.prototype, "isEmailVerified", 2);
4441
4473
  __decorateClass([
4442
- Column50({ name: "is_mobile_verified", type: "boolean", default: false })
4474
+ Column51({ name: "is_mobile_verified", type: "boolean", default: false })
4443
4475
  ], User.prototype, "isMobileVerified", 2);
4444
4476
  __decorateClass([
4445
- Column50({ name: "is_social", type: "boolean", default: false })
4477
+ Column51({ name: "is_social", type: "boolean", default: false })
4446
4478
  ], User.prototype, "isSocial", 2);
4447
4479
  __decorateClass([
4448
- Column50({
4480
+ Column51({
4449
4481
  name: "last_login_at",
4450
4482
  type: "timestamp with time zone",
4451
4483
  nullable: true
4452
4484
  })
4453
4485
  ], User.prototype, "lastLoginAt", 2);
4454
4486
  __decorateClass([
4455
- Column50({ name: "last_login_ip", type: "varchar", nullable: true })
4487
+ Column51({ name: "last_login_ip", type: "varchar", nullable: true })
4456
4488
  ], User.prototype, "lastLoginIp", 2);
4457
4489
  __decorateClass([
4458
- Column50({ name: "reset_token", type: "varchar", nullable: true })
4490
+ Column51({ name: "reset_token", type: "varchar", nullable: true })
4459
4491
  ], User.prototype, "resetToken", 2);
4460
4492
  __decorateClass([
4461
- Column50({
4493
+ Column51({
4462
4494
  name: "reset_token_expire_at",
4463
4495
  type: "timestamp with time zone",
4464
4496
  nullable: true
4465
4497
  })
4466
4498
  ], User.prototype, "resetTokenExpireAt", 2);
4467
4499
  __decorateClass([
4468
- Column50({ name: "set_password_token", type: "varchar", nullable: true })
4500
+ Column51({ name: "set_password_token", type: "varchar", nullable: true })
4469
4501
  ], User.prototype, "setPasswordToken", 2);
4470
4502
  __decorateClass([
4471
4503
  OneToMany18(() => RefreshToken, (token) => token.user)
4472
4504
  ], User.prototype, "refreshTokens", 2);
4473
4505
  __decorateClass([
4474
- Column50({
4506
+ Column51({
4475
4507
  name: "provider",
4476
4508
  type: "enum",
4477
4509
  enum: Provider,
@@ -4480,19 +4512,19 @@ __decorateClass([
4480
4512
  })
4481
4513
  ], User.prototype, "provider", 2);
4482
4514
  __decorateClass([
4483
- Column50({ name: "provider_token", type: "varchar", nullable: true })
4515
+ Column51({ name: "provider_token", type: "varchar", nullable: true })
4484
4516
  ], User.prototype, "providerToken", 2);
4485
4517
  __decorateClass([
4486
- Column50({ name: "linkedin_id", type: "varchar", nullable: true })
4518
+ Column51({ name: "linkedin_id", type: "varchar", nullable: true })
4487
4519
  ], User.prototype, "linkedInId", 2);
4488
4520
  __decorateClass([
4489
- Column50({ name: "google_id", type: "varchar", nullable: true })
4521
+ Column51({ name: "google_id", type: "varchar", nullable: true })
4490
4522
  ], User.prototype, "googleId", 2);
4491
4523
  __decorateClass([
4492
- Column50({ name: "gitlabs_id", type: "varchar", nullable: true })
4524
+ Column51({ name: "gitlabs_id", type: "varchar", nullable: true })
4493
4525
  ], User.prototype, "gitLabsId", 2);
4494
4526
  __decorateClass([
4495
- Column50({ name: "onboarded_by", type: "varchar", nullable: true })
4527
+ Column51({ name: "onboarded_by", type: "varchar", nullable: true })
4496
4528
  ], User.prototype, "onBoardedBy", 2);
4497
4529
  __decorateClass([
4498
4530
  OneToMany18(() => Otp, (otp) => otp.user)
@@ -4629,6 +4661,9 @@ __decorateClass([
4629
4661
  __decorateClass([
4630
4662
  OneToOne4(() => StripeWallet, (stripeWallet) => stripeWallet.user)
4631
4663
  ], User.prototype, "stripeWallet", 2);
4664
+ __decorateClass([
4665
+ OneToOne4(() => Signature, (signature) => signature.user)
4666
+ ], User.prototype, "signatures", 2);
4632
4667
  __decorateClass([
4633
4668
  OneToMany18(() => Timesheet, (timesheet) => timesheet.client)
4634
4669
  ], User.prototype, "clientTimesheets", 2);
@@ -4636,7 +4671,7 @@ __decorateClass([
4636
4671
  OneToMany18(() => Timesheet, (timesheet) => timesheet.freelancer)
4637
4672
  ], User.prototype, "freelancerTimesheets", 2);
4638
4673
  User = __decorateClass([
4639
- Entity49("users")
4674
+ Entity50("users")
4640
4675
  ], User);
4641
4676
 
4642
4677
  // src/entities/rating.entity.ts
@@ -4648,36 +4683,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4648
4683
  var Rating = class extends BaseEntity {
4649
4684
  };
4650
4685
  __decorateClass([
4651
- Column51({ name: "reviewer_id", type: "integer" }),
4652
- Index43()
4686
+ Column52({ name: "reviewer_id", type: "integer" }),
4687
+ Index44()
4653
4688
  ], Rating.prototype, "reviewer_id", 2);
4654
4689
  __decorateClass([
4655
- ManyToOne44(() => User, { onDelete: "CASCADE" }),
4656
- JoinColumn45({ name: "reviewer_id" })
4690
+ ManyToOne45(() => User, { onDelete: "CASCADE" }),
4691
+ JoinColumn46({ name: "reviewer_id" })
4657
4692
  ], Rating.prototype, "reviewer", 2);
4658
4693
  __decorateClass([
4659
- Column51({ name: "reviewee_id", type: "integer" }),
4660
- Index43()
4694
+ Column52({ name: "reviewee_id", type: "integer" }),
4695
+ Index44()
4661
4696
  ], Rating.prototype, "reviewee_id", 2);
4662
4697
  __decorateClass([
4663
- ManyToOne44(() => User, { onDelete: "CASCADE" }),
4664
- JoinColumn45({ name: "reviewee_id" })
4698
+ ManyToOne45(() => User, { onDelete: "CASCADE" }),
4699
+ JoinColumn46({ name: "reviewee_id" })
4665
4700
  ], Rating.prototype, "reviewee", 2);
4666
4701
  __decorateClass([
4667
- Column51({
4702
+ Column52({
4668
4703
  type: "enum",
4669
4704
  enum: RatingTypeEnum,
4670
4705
  nullable: true
4671
4706
  })
4672
4707
  ], Rating.prototype, "ratingType", 2);
4673
4708
  __decorateClass([
4674
- Column51({ type: "integer", nullable: true })
4709
+ Column52({ type: "integer", nullable: true })
4675
4710
  ], Rating.prototype, "rating", 2);
4676
4711
  __decorateClass([
4677
- Column51({ type: "text", nullable: true })
4712
+ Column52({ type: "text", nullable: true })
4678
4713
  ], Rating.prototype, "review", 2);
4679
4714
  Rating = __decorateClass([
4680
- Entity50("ratings")
4715
+ Entity51("ratings")
4681
4716
  ], Rating);
4682
4717
 
4683
4718
  // src/modules/rating/dto/add.rating.dto.ts
@@ -6453,11 +6488,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
6453
6488
  };
6454
6489
 
6455
6490
  // src/entities/sequence-generator.entity.ts
6456
- import { Entity as Entity51, Column as Column52 } from "typeorm";
6491
+ import { Entity as Entity52, Column as Column53 } from "typeorm";
6457
6492
  var SequenceGenerator = class extends BaseEntity {
6458
6493
  };
6459
6494
  __decorateClass([
6460
- Column52({
6495
+ Column53({
6461
6496
  name: "module",
6462
6497
  type: "varchar",
6463
6498
  length: 50,
@@ -6466,7 +6501,7 @@ __decorateClass([
6466
6501
  })
6467
6502
  ], SequenceGenerator.prototype, "module", 2);
6468
6503
  __decorateClass([
6469
- Column52({
6504
+ Column53({
6470
6505
  name: "prefix",
6471
6506
  type: "varchar",
6472
6507
  length: 10,
@@ -6475,7 +6510,7 @@ __decorateClass([
6475
6510
  })
6476
6511
  ], SequenceGenerator.prototype, "prefix", 2);
6477
6512
  __decorateClass([
6478
- Column52({
6513
+ Column53({
6479
6514
  name: "last_sequence",
6480
6515
  type: "int",
6481
6516
  nullable: false,
@@ -6483,7 +6518,7 @@ __decorateClass([
6483
6518
  })
6484
6519
  ], SequenceGenerator.prototype, "lastSequence", 2);
6485
6520
  __decorateClass([
6486
- Column52({
6521
+ Column53({
6487
6522
  name: "year",
6488
6523
  type: "int",
6489
6524
  nullable: true,
@@ -6491,11 +6526,11 @@ __decorateClass([
6491
6526
  })
6492
6527
  ], SequenceGenerator.prototype, "year", 2);
6493
6528
  SequenceGenerator = __decorateClass([
6494
- Entity51("sequence_generators")
6529
+ Entity52("sequence_generators")
6495
6530
  ], SequenceGenerator);
6496
6531
 
6497
6532
  // src/entities/question.entity.ts
6498
- import { Entity as Entity52, Column as Column53 } from "typeorm";
6533
+ import { Entity as Entity53, Column as Column54 } from "typeorm";
6499
6534
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6500
6535
  QuestionFor2["CLIENT"] = "CLIENT";
6501
6536
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -6504,16 +6539,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6504
6539
  var Question = class extends BaseEntity {
6505
6540
  };
6506
6541
  __decorateClass([
6507
- Column53({ name: "question", type: "varchar" })
6542
+ Column54({ name: "question", type: "varchar" })
6508
6543
  ], Question.prototype, "question", 2);
6509
6544
  __decorateClass([
6510
- Column53({ name: "hint", type: "varchar", nullable: true })
6545
+ Column54({ name: "hint", type: "varchar", nullable: true })
6511
6546
  ], Question.prototype, "hint", 2);
6512
6547
  __decorateClass([
6513
- Column53({ name: "slug", type: "varchar", nullable: true, unique: true })
6548
+ Column54({ name: "slug", type: "varchar", nullable: true, unique: true })
6514
6549
  ], Question.prototype, "slug", 2);
6515
6550
  __decorateClass([
6516
- Column53({
6551
+ Column54({
6517
6552
  name: "question_for",
6518
6553
  type: "enum",
6519
6554
  enum: QuestionFor,
@@ -6521,119 +6556,119 @@ __decorateClass([
6521
6556
  })
6522
6557
  ], Question.prototype, "questionFor", 2);
6523
6558
  __decorateClass([
6524
- Column53({ name: "type", type: "varchar", nullable: true })
6559
+ Column54({ name: "type", type: "varchar", nullable: true })
6525
6560
  ], Question.prototype, "type", 2);
6526
6561
  __decorateClass([
6527
- Column53({ name: "options", type: "jsonb", nullable: true })
6562
+ Column54({ name: "options", type: "jsonb", nullable: true })
6528
6563
  ], Question.prototype, "options", 2);
6529
6564
  __decorateClass([
6530
- Column53({ name: "is_active", type: "boolean", default: false })
6565
+ Column54({ name: "is_active", type: "boolean", default: false })
6531
6566
  ], Question.prototype, "isActive", 2);
6532
6567
  Question = __decorateClass([
6533
- Entity52("questions")
6568
+ Entity53("questions")
6534
6569
  ], Question);
6535
6570
 
6536
6571
  // src/entities/skill.entity.ts
6537
- import { Entity as Entity53, Column as Column54 } from "typeorm";
6572
+ import { Entity as Entity54, Column as Column55 } from "typeorm";
6538
6573
  var Skill = class extends BaseEntity {
6539
6574
  };
6540
6575
  __decorateClass([
6541
- Column54({ name: "name", type: "varchar", nullable: true })
6576
+ Column55({ name: "name", type: "varchar", nullable: true })
6542
6577
  ], Skill.prototype, "name", 2);
6543
6578
  __decorateClass([
6544
- Column54({ name: "slug", type: "varchar", nullable: true, unique: true })
6579
+ Column55({ name: "slug", type: "varchar", nullable: true, unique: true })
6545
6580
  ], Skill.prototype, "slug", 2);
6546
6581
  __decorateClass([
6547
- Column54({ name: "is_active", type: "boolean", default: false })
6582
+ Column55({ name: "is_active", type: "boolean", default: false })
6548
6583
  ], Skill.prototype, "isActive", 2);
6549
6584
  Skill = __decorateClass([
6550
- Entity53("skills")
6585
+ Entity54("skills")
6551
6586
  ], Skill);
6552
6587
 
6553
6588
  // src/entities/job-role.entity.ts
6554
- import { Entity as Entity54, Column as Column55 } from "typeorm";
6589
+ import { Entity as Entity55, Column as Column56 } from "typeorm";
6555
6590
  var JobRoles = class extends BaseEntity {
6556
6591
  };
6557
6592
  __decorateClass([
6558
- Column55({ name: "slug", type: "varchar", nullable: true, unique: true })
6593
+ Column56({ name: "slug", type: "varchar", nullable: true, unique: true })
6559
6594
  ], JobRoles.prototype, "slug", 2);
6560
6595
  __decorateClass([
6561
- Column55({ name: "name", type: "varchar", nullable: true })
6596
+ Column56({ name: "name", type: "varchar", nullable: true })
6562
6597
  ], JobRoles.prototype, "name", 2);
6563
6598
  __decorateClass([
6564
- Column55({ name: "is_active", type: "boolean", default: true })
6599
+ Column56({ name: "is_active", type: "boolean", default: true })
6565
6600
  ], JobRoles.prototype, "isActive", 2);
6566
6601
  JobRoles = __decorateClass([
6567
- Entity54("job_roles")
6602
+ Entity55("job_roles")
6568
6603
  ], JobRoles);
6569
6604
 
6570
6605
  // src/entities/plan.entity.ts
6571
- import { Entity as Entity56, Column as Column57, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
6606
+ import { Entity as Entity57, Column as Column58, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
6572
6607
 
6573
6608
  // src/entities/feature.entity.ts
6574
- import { Entity as Entity55, Column as Column56, ManyToMany as ManyToMany2 } from "typeorm";
6609
+ import { Entity as Entity56, Column as Column57, ManyToMany as ManyToMany2 } from "typeorm";
6575
6610
  var Feature = class extends BaseEntity {
6576
6611
  };
6577
6612
  __decorateClass([
6578
- Column56({ name: "name", type: "varchar", unique: true })
6613
+ Column57({ name: "name", type: "varchar", unique: true })
6579
6614
  ], Feature.prototype, "name", 2);
6580
6615
  __decorateClass([
6581
6616
  ManyToMany2(() => Plan, (plan) => plan.features)
6582
6617
  ], Feature.prototype, "plans", 2);
6583
6618
  Feature = __decorateClass([
6584
- Entity55("features")
6619
+ Entity56("features")
6585
6620
  ], Feature);
6586
6621
 
6587
6622
  // src/entities/plan.entity.ts
6588
6623
  var Plan = class extends BaseEntity {
6589
6624
  };
6590
6625
  __decorateClass([
6591
- Column57({ name: "name", type: "varchar", unique: true })
6626
+ Column58({ name: "name", type: "varchar", unique: true })
6592
6627
  ], Plan.prototype, "name", 2);
6593
6628
  __decorateClass([
6594
- Column57({ name: "description", type: "varchar", nullable: true })
6629
+ Column58({ name: "description", type: "varchar", nullable: true })
6595
6630
  ], Plan.prototype, "description", 2);
6596
6631
  __decorateClass([
6597
- Column57({ name: "price", type: "decimal", precision: 10, scale: 2 })
6632
+ Column58({ name: "price", type: "decimal", precision: 10, scale: 2 })
6598
6633
  ], Plan.prototype, "price", 2);
6599
6634
  __decorateClass([
6600
- Column57({ name: "billing_period", type: "varchar" })
6635
+ Column58({ name: "billing_period", type: "varchar" })
6601
6636
  ], Plan.prototype, "billingPeriod", 2);
6602
6637
  __decorateClass([
6603
- Column57({ name: "is_current", type: "boolean", default: false })
6638
+ Column58({ name: "is_current", type: "boolean", default: false })
6604
6639
  ], Plan.prototype, "isCurrent", 2);
6605
6640
  __decorateClass([
6606
6641
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
6607
6642
  JoinTable()
6608
6643
  ], Plan.prototype, "features", 2);
6609
6644
  Plan = __decorateClass([
6610
- Entity56("plans")
6645
+ Entity57("plans")
6611
6646
  ], Plan);
6612
6647
 
6613
6648
  // src/entities/cms.entity.ts
6614
- import { Entity as Entity57, Column as Column58 } from "typeorm";
6649
+ import { Entity as Entity58, Column as Column59 } from "typeorm";
6615
6650
  var Cms = class extends BaseEntity {
6616
6651
  };
6617
6652
  __decorateClass([
6618
- Column58({ name: "title", type: "varchar", nullable: true })
6653
+ Column59({ name: "title", type: "varchar", nullable: true })
6619
6654
  ], Cms.prototype, "title", 2);
6620
6655
  __decorateClass([
6621
- Column58({ name: "slug", type: "varchar", nullable: true, unique: true })
6656
+ Column59({ name: "slug", type: "varchar", nullable: true, unique: true })
6622
6657
  ], Cms.prototype, "slug", 2);
6623
6658
  __decorateClass([
6624
- Column58({ name: "content", type: "varchar", nullable: true })
6659
+ Column59({ name: "content", type: "varchar", nullable: true })
6625
6660
  ], Cms.prototype, "content", 2);
6626
6661
  __decorateClass([
6627
- Column58({ name: "is_active", type: "boolean", default: true })
6662
+ Column59({ name: "is_active", type: "boolean", default: true })
6628
6663
  ], Cms.prototype, "isActive", 2);
6629
6664
  Cms = __decorateClass([
6630
- Entity57("cms")
6665
+ Entity58("cms")
6631
6666
  ], Cms);
6632
6667
 
6633
6668
  // src/entities/lead.entity.ts
6634
6669
  import {
6635
- Entity as Entity58,
6636
- Column as Column59
6670
+ Entity as Entity59,
6671
+ Column as Column60
6637
6672
  } from "typeorm";
6638
6673
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6639
6674
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -6643,22 +6678,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6643
6678
  var Lead = class extends BaseEntity {
6644
6679
  };
6645
6680
  __decorateClass([
6646
- Column59({ name: "name", type: "varchar", nullable: true })
6681
+ Column60({ name: "name", type: "varchar", nullable: true })
6647
6682
  ], Lead.prototype, "name", 2);
6648
6683
  __decorateClass([
6649
- Column59({ name: "mobile_code", type: "varchar", nullable: true })
6684
+ Column60({ name: "mobile_code", type: "varchar", nullable: true })
6650
6685
  ], Lead.prototype, "mobileCode", 2);
6651
6686
  __decorateClass([
6652
- Column59({ name: "mobile", type: "varchar", nullable: true })
6687
+ Column60({ name: "mobile", type: "varchar", nullable: true })
6653
6688
  ], Lead.prototype, "mobile", 2);
6654
6689
  __decorateClass([
6655
- Column59({ name: "email", type: "varchar", nullable: true })
6690
+ Column60({ name: "email", type: "varchar", nullable: true })
6656
6691
  ], Lead.prototype, "email", 2);
6657
6692
  __decorateClass([
6658
- Column59({ name: "description", type: "varchar", nullable: true })
6693
+ Column60({ name: "description", type: "varchar", nullable: true })
6659
6694
  ], Lead.prototype, "description", 2);
6660
6695
  __decorateClass([
6661
- Column59({
6696
+ Column60({
6662
6697
  name: "category",
6663
6698
  type: "enum",
6664
6699
  enum: CategoryEmum,
@@ -6666,7 +6701,7 @@ __decorateClass([
6666
6701
  })
6667
6702
  ], Lead.prototype, "category", 2);
6668
6703
  Lead = __decorateClass([
6669
- Entity58("leads")
6704
+ Entity59("leads")
6670
6705
  ], Lead);
6671
6706
 
6672
6707
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -6907,7 +6942,7 @@ ClientFreelancerRecommendation = __decorateClass([
6907
6942
  ], ClientFreelancerRecommendation);
6908
6943
 
6909
6944
  // src/entities/commission.entity.ts
6910
- import { Entity as Entity59, Column as Column60 } from "typeorm";
6945
+ import { Entity as Entity60, Column as Column61 } from "typeorm";
6911
6946
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
6912
6947
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
6913
6948
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -6916,7 +6951,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
6916
6951
  var Commission = class extends BaseEntity {
6917
6952
  };
6918
6953
  __decorateClass([
6919
- Column60({
6954
+ Column61({
6920
6955
  name: "freelancer_commission_type",
6921
6956
  type: "enum",
6922
6957
  enum: CommissionTypeEnum,
@@ -6924,10 +6959,10 @@ __decorateClass([
6924
6959
  })
6925
6960
  ], Commission.prototype, "freelancerCommissionType", 2);
6926
6961
  __decorateClass([
6927
- Column60({ name: "freelancer_commission", type: "integer", default: 0 })
6962
+ Column61({ name: "freelancer_commission", type: "integer", default: 0 })
6928
6963
  ], Commission.prototype, "freelancerCommission", 2);
6929
6964
  __decorateClass([
6930
- Column60({
6965
+ Column61({
6931
6966
  name: "client_commission_type",
6932
6967
  type: "enum",
6933
6968
  enum: CommissionTypeEnum,
@@ -6935,74 +6970,74 @@ __decorateClass([
6935
6970
  })
6936
6971
  ], Commission.prototype, "clientCommissionType", 2);
6937
6972
  __decorateClass([
6938
- Column60({ name: "client_commission", type: "integer", default: 0 })
6973
+ Column61({ name: "client_commission", type: "integer", default: 0 })
6939
6974
  ], Commission.prototype, "clientCommission", 2);
6940
6975
  Commission = __decorateClass([
6941
- Entity59("commissions")
6976
+ Entity60("commissions")
6942
6977
  ], Commission);
6943
6978
 
6944
6979
  // src/entities/calendly-meeting-log.entity.ts
6945
6980
  import {
6946
- Entity as Entity60,
6947
- Column as Column61,
6948
- Index as Index44
6981
+ Entity as Entity61,
6982
+ Column as Column62,
6983
+ Index as Index45
6949
6984
  } from "typeorm";
6950
6985
  var CalendlyMeetingLog = class extends BaseEntity {
6951
6986
  };
6952
6987
  __decorateClass([
6953
- Column61({ name: "calendly_event_id", type: "varchar", nullable: true }),
6954
- Index44()
6988
+ Column62({ name: "calendly_event_id", type: "varchar", nullable: true }),
6989
+ Index45()
6955
6990
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
6956
6991
  __decorateClass([
6957
- Column61({ name: "calendly_event_type", type: "varchar", nullable: true })
6992
+ Column62({ name: "calendly_event_type", type: "varchar", nullable: true })
6958
6993
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
6959
6994
  __decorateClass([
6960
- Column61({ name: "raw_webhook_data", type: "jsonb", nullable: true })
6995
+ Column62({ name: "raw_webhook_data", type: "jsonb", nullable: true })
6961
6996
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
6962
6997
  CalendlyMeetingLog = __decorateClass([
6963
- Entity60("calendly_meeting_logs")
6998
+ Entity61("calendly_meeting_logs")
6964
6999
  ], CalendlyMeetingLog);
6965
7000
 
6966
7001
  // src/entities/zoom-meeting-log.entity.ts
6967
7002
  import {
6968
- Entity as Entity61,
6969
- Column as Column62,
6970
- Index as Index45
7003
+ Entity as Entity62,
7004
+ Column as Column63,
7005
+ Index as Index46
6971
7006
  } from "typeorm";
6972
7007
  var ZoomMeetingLog = class extends BaseEntity {
6973
7008
  };
6974
7009
  __decorateClass([
6975
- Column62({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
6976
- Index45()
7010
+ Column63({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7011
+ Index46()
6977
7012
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
6978
7013
  __decorateClass([
6979
- Column62({ name: "zoom_event_type", type: "varchar", nullable: true })
7014
+ Column63({ name: "zoom_event_type", type: "varchar", nullable: true })
6980
7015
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
6981
7016
  __decorateClass([
6982
- Column62({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7017
+ Column63({ name: "raw_webhook_data", type: "jsonb", nullable: true })
6983
7018
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
6984
7019
  ZoomMeetingLog = __decorateClass([
6985
- Entity61("zoom_meeting_logs")
7020
+ Entity62("zoom_meeting_logs")
6986
7021
  ], ZoomMeetingLog);
6987
7022
 
6988
7023
  // src/entities/stripe-logs.entity.ts
6989
- import { Entity as Entity62, Column as Column63 } from "typeorm";
7024
+ import { Entity as Entity63, Column as Column64 } from "typeorm";
6990
7025
  var StripeLog = class extends BaseEntity {
6991
7026
  };
6992
7027
  __decorateClass([
6993
- Column63({ name: "stripe_event_id", type: "varchar", nullable: true })
7028
+ Column64({ name: "stripe_event_id", type: "varchar", nullable: true })
6994
7029
  ], StripeLog.prototype, "stripeEventId", 2);
6995
7030
  __decorateClass([
6996
- Column63({ name: "event_type", type: "varchar", nullable: true })
7031
+ Column64({ name: "event_type", type: "varchar", nullable: true })
6997
7032
  ], StripeLog.prototype, "eventType", 2);
6998
7033
  __decorateClass([
6999
- Column63({ name: "stripe_account_id", type: "varchar", nullable: true })
7034
+ Column64({ name: "stripe_account_id", type: "varchar", nullable: true })
7000
7035
  ], StripeLog.prototype, "stripeAccountId", 2);
7001
7036
  __decorateClass([
7002
- Column63({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7037
+ Column64({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7003
7038
  ], StripeLog.prototype, "rawWebhookData", 2);
7004
7039
  StripeLog = __decorateClass([
7005
- Entity62("stripe_logs")
7040
+ Entity63("stripe_logs")
7006
7041
  ], StripeLog);
7007
7042
  export {
7008
7043
  ADMIN_FREELANCER_PATTERN,
@@ -7220,6 +7255,7 @@ export {
7220
7255
  SetPasswordDto,
7221
7256
  SignContractForClientDto,
7222
7257
  SignContractForFreelancerDto,
7258
+ Signature,
7223
7259
  Skill,
7224
7260
  State,
7225
7261
  Step,