@experts_hub/shared 1.0.692 → 1.0.695

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.js CHANGED
@@ -460,6 +460,13 @@ __export(index_exports, {
460
460
  UpdateTaskDto: () => UpdateTaskDto,
461
461
  User: () => User,
462
462
  UserRMQAdapter: () => UserRMQAdapter,
463
+ UserSubscription: () => UserSubscription,
464
+ UserSubscriptionPlan: () => UserSubscriptionPlan,
465
+ UserSubscriptionPlanFeature: () => UserSubscriptionPlanFeature,
466
+ UserSubscriptionPlanPricing: () => UserSubscriptionPlanPricing,
467
+ UserSubscriptionPlanPricingBillingCycleEnum: () => UserSubscriptionPlanPricingBillingCycleEnum,
468
+ UserSubscriptionPlanTypeEnum: () => UserSubscriptionPlanTypeEnum,
469
+ UserSubscriptionStatusEnum: () => UserSubscriptionStatusEnum,
463
470
  UserTCPAdapter: () => UserTCPAdapter,
464
471
  ValidateEmailDto: () => ValidateEmailDto,
465
472
  ValidateEmailForLoginDto: () => ValidateEmailForLoginDto,
@@ -1402,7 +1409,7 @@ __decorateClass([
1402
1409
  var import_class_validator37 = require("class-validator");
1403
1410
 
1404
1411
  // src/entities/user.entity.ts
1405
- var import_typeorm75 = require("typeorm");
1412
+ var import_typeorm79 = require("typeorm");
1406
1413
 
1407
1414
  // src/entities/base.entity.ts
1408
1415
  var import_typeorm = require("typeorm");
@@ -6433,6 +6440,258 @@ InAppNotification = __decorateClass([
6433
6440
  (0, import_typeorm74.Entity)("in_app_notifications")
6434
6441
  ], InAppNotification);
6435
6442
 
6443
+ // src/entities/user-subscription.entity.ts
6444
+ var import_typeorm78 = require("typeorm");
6445
+
6446
+ // src/entities/user-subscription-plan.entity.ts
6447
+ var import_typeorm77 = require("typeorm");
6448
+
6449
+ // src/entities/user-subscription-plan-feature.entity.ts
6450
+ var import_typeorm75 = require("typeorm");
6451
+ var UserSubscriptionPlanFeature = class extends BaseEntity {
6452
+ };
6453
+ __decorateClass([
6454
+ (0, import_typeorm75.Column)({ name: "user_subscription_plan_id", type: "integer", nullable: false }),
6455
+ (0, import_typeorm75.Index)()
6456
+ ], UserSubscriptionPlanFeature.prototype, "userSubscriptionPlanId", 2);
6457
+ __decorateClass([
6458
+ (0, import_typeorm75.ManyToOne)(() => UserSubscriptionPlan, (plan) => plan.userSubscriptionPlanFeatures, { onDelete: "CASCADE", nullable: false }),
6459
+ (0, import_typeorm75.JoinColumn)({ name: "user_subscription_plan_id" })
6460
+ ], UserSubscriptionPlanFeature.prototype, "userSubscriptionPlan", 2);
6461
+ __decorateClass([
6462
+ (0, import_typeorm75.Column)({ name: "plan_feature_id", type: "integer", nullable: false })
6463
+ ], UserSubscriptionPlanFeature.prototype, "planFeatureId", 2);
6464
+ __decorateClass([
6465
+ (0, import_typeorm75.Column)({ name: "name", type: "varchar", length: 200 })
6466
+ ], UserSubscriptionPlanFeature.prototype, "name", 2);
6467
+ __decorateClass([
6468
+ (0, import_typeorm75.Column)({ name: "slug", type: "varchar", length: 100 }),
6469
+ (0, import_typeorm75.Index)()
6470
+ ], UserSubscriptionPlanFeature.prototype, "slug", 2);
6471
+ __decorateClass([
6472
+ (0, import_typeorm75.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
6473
+ ], UserSubscriptionPlanFeature.prototype, "tooltip", 2);
6474
+ __decorateClass([
6475
+ (0, import_typeorm75.Column)({ name: "sort_order", type: "smallint", default: 0 })
6476
+ ], UserSubscriptionPlanFeature.prototype, "sortOrder", 2);
6477
+ __decorateClass([
6478
+ (0, import_typeorm75.Column)({ name: "is_active", type: "boolean", default: true })
6479
+ ], UserSubscriptionPlanFeature.prototype, "isActive", 2);
6480
+ UserSubscriptionPlanFeature = __decorateClass([
6481
+ (0, import_typeorm75.Entity)("user_subscription_plan_features")
6482
+ ], UserSubscriptionPlanFeature);
6483
+
6484
+ // src/entities/user-subscription-plan-pricing.entity.ts
6485
+ var import_typeorm76 = require("typeorm");
6486
+ var UserSubscriptionPlanPricingBillingCycleEnum = /* @__PURE__ */ ((UserSubscriptionPlanPricingBillingCycleEnum2) => {
6487
+ UserSubscriptionPlanPricingBillingCycleEnum2["MONTHLY"] = "MONTHLY";
6488
+ UserSubscriptionPlanPricingBillingCycleEnum2["YEARLY"] = "YEARLY";
6489
+ return UserSubscriptionPlanPricingBillingCycleEnum2;
6490
+ })(UserSubscriptionPlanPricingBillingCycleEnum || {});
6491
+ var UserSubscriptionPlanPricing = class extends BaseEntity {
6492
+ };
6493
+ __decorateClass([
6494
+ (0, import_typeorm76.Column)({ name: "user_subscription_plan_id", type: "integer", nullable: false }),
6495
+ (0, import_typeorm76.Index)()
6496
+ ], UserSubscriptionPlanPricing.prototype, "userSubscriptionPlanId", 2);
6497
+ __decorateClass([
6498
+ (0, import_typeorm76.ManyToOne)(() => UserSubscriptionPlan, (plan) => plan.userSubscriptionPlanPricing, { onDelete: "CASCADE", nullable: false }),
6499
+ (0, import_typeorm76.JoinColumn)({ name: "user_subscription_plan_id" })
6500
+ ], UserSubscriptionPlanPricing.prototype, "userSubscriptionPlan", 2);
6501
+ __decorateClass([
6502
+ (0, import_typeorm76.Column)({ name: "plan_pricing_id", type: "integer", nullable: false })
6503
+ ], UserSubscriptionPlanPricing.prototype, "planPricingId", 2);
6504
+ __decorateClass([
6505
+ (0, import_typeorm76.Column)({ name: "billing_cycle", type: "enum", enum: UserSubscriptionPlanPricingBillingCycleEnum })
6506
+ ], UserSubscriptionPlanPricing.prototype, "billingCycle", 2);
6507
+ __decorateClass([
6508
+ (0, import_typeorm76.Column)({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
6509
+ ], UserSubscriptionPlanPricing.prototype, "price", 2);
6510
+ __decorateClass([
6511
+ (0, import_typeorm76.Column)({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
6512
+ ], UserSubscriptionPlanPricing.prototype, "originalPrice", 2);
6513
+ __decorateClass([
6514
+ (0, import_typeorm76.Column)({ name: "discount_pct", type: "decimal", precision: 5, scale: 2, nullable: true })
6515
+ ], UserSubscriptionPlanPricing.prototype, "discountPct", 2);
6516
+ __decorateClass([
6517
+ (0, import_typeorm76.Column)({ name: "currency", type: "varchar", length: 3, default: "USD" })
6518
+ ], UserSubscriptionPlanPricing.prototype, "currency", 2);
6519
+ __decorateClass([
6520
+ (0, import_typeorm76.Column)({ name: "is_free", type: "boolean", default: false })
6521
+ ], UserSubscriptionPlanPricing.prototype, "isFree", 2);
6522
+ __decorateClass([
6523
+ (0, import_typeorm76.Column)({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true })
6524
+ ], UserSubscriptionPlanPricing.prototype, "stripePriceId", 2);
6525
+ __decorateClass([
6526
+ (0, import_typeorm76.Column)({ name: "is_active", type: "boolean", default: true })
6527
+ ], UserSubscriptionPlanPricing.prototype, "isActive", 2);
6528
+ UserSubscriptionPlanPricing = __decorateClass([
6529
+ (0, import_typeorm76.Entity)("user_subscription_plan_pricings")
6530
+ ], UserSubscriptionPlanPricing);
6531
+
6532
+ // src/entities/user-subscription-plan.entity.ts
6533
+ var UserSubscriptionPlanTypeEnum = /* @__PURE__ */ ((UserSubscriptionPlanTypeEnum2) => {
6534
+ UserSubscriptionPlanTypeEnum2["FREELANCER"] = "FREELANCER";
6535
+ UserSubscriptionPlanTypeEnum2["BUSINESS"] = "BUSINESS";
6536
+ return UserSubscriptionPlanTypeEnum2;
6537
+ })(UserSubscriptionPlanTypeEnum || {});
6538
+ var UserSubscriptionPlan = class extends BaseEntity {
6539
+ };
6540
+ __decorateClass([
6541
+ (0, import_typeorm77.Column)({ name: "user_subscription_id", type: "integer", nullable: false })
6542
+ ], UserSubscriptionPlan.prototype, "userSubscriptionId", 2);
6543
+ __decorateClass([
6544
+ (0, import_typeorm77.ManyToOne)(() => UserSubscription, (userSubscription) => userSubscription.userSubscriptionPlans, { onDelete: "CASCADE", nullable: false }),
6545
+ (0, import_typeorm77.JoinColumn)({ name: "user_subscription_id" })
6546
+ ], UserSubscriptionPlan.prototype, "userSubscription", 2);
6547
+ __decorateClass([
6548
+ (0, import_typeorm77.Column)({ name: "plan_id", type: "integer", nullable: false })
6549
+ ], UserSubscriptionPlan.prototype, "planId", 2);
6550
+ __decorateClass([
6551
+ (0, import_typeorm77.Column)({ name: "name", type: "varchar", length: 100 })
6552
+ ], UserSubscriptionPlan.prototype, "name", 2);
6553
+ __decorateClass([
6554
+ (0, import_typeorm77.Column)({ name: "slug", type: "varchar", length: 100 })
6555
+ ], UserSubscriptionPlan.prototype, "slug", 2);
6556
+ __decorateClass([
6557
+ (0, import_typeorm77.Column)({ name: "badge_label", type: "varchar", length: 60, nullable: true })
6558
+ ], UserSubscriptionPlan.prototype, "badgeLabel", 2);
6559
+ __decorateClass([
6560
+ (0, import_typeorm77.Column)({ name: "sort_order", type: "smallint", default: 0 })
6561
+ ], UserSubscriptionPlan.prototype, "sortOrder", 2);
6562
+ __decorateClass([
6563
+ (0, import_typeorm77.Column)({ name: "is_active", type: "boolean", default: true })
6564
+ ], UserSubscriptionPlan.prototype, "isActive", 2);
6565
+ __decorateClass([
6566
+ (0, import_typeorm77.Column)({ name: "plan_type", type: "enum", enum: UserSubscriptionPlanTypeEnum, default: "BUSINESS" /* BUSINESS */ })
6567
+ ], UserSubscriptionPlan.prototype, "planType", 2);
6568
+ __decorateClass([
6569
+ (0, import_typeorm77.Column)({ name: "metadata", type: "jsonb", default: {} })
6570
+ ], UserSubscriptionPlan.prototype, "metadata", 2);
6571
+ __decorateClass([
6572
+ (0, import_typeorm77.OneToMany)(() => UserSubscriptionPlanFeature, (f) => f.userSubscriptionPlan)
6573
+ ], UserSubscriptionPlan.prototype, "userSubscriptionPlanFeatures", 2);
6574
+ __decorateClass([
6575
+ (0, import_typeorm77.OneToMany)(() => UserSubscriptionPlanPricing, (p) => p.userSubscriptionPlan)
6576
+ ], UserSubscriptionPlan.prototype, "userSubscriptionPlanPricing", 2);
6577
+ UserSubscriptionPlan = __decorateClass([
6578
+ (0, import_typeorm77.Entity)("user_subscription_plans")
6579
+ ], UserSubscriptionPlan);
6580
+
6581
+ // src/entities/user-subscription.entity.ts
6582
+ var UserSubscriptionStatusEnum = /* @__PURE__ */ ((UserSubscriptionStatusEnum2) => {
6583
+ UserSubscriptionStatusEnum2["INCOMPLETE"] = "INCOMPLETE";
6584
+ UserSubscriptionStatusEnum2["INCOMPLETE_EXPIRED"] = "INCOMPLETE_EXPIRED";
6585
+ UserSubscriptionStatusEnum2["TRIALING"] = "TRIALING";
6586
+ UserSubscriptionStatusEnum2["ACTIVE"] = "ACTIVE";
6587
+ UserSubscriptionStatusEnum2["PAST_DUE"] = "PAST_DUE";
6588
+ UserSubscriptionStatusEnum2["CANCELED"] = "CANCELED";
6589
+ UserSubscriptionStatusEnum2["UNPAID"] = "UNPAID";
6590
+ UserSubscriptionStatusEnum2["EXPIRED"] = "EXPIRED";
6591
+ return UserSubscriptionStatusEnum2;
6592
+ })(UserSubscriptionStatusEnum || {});
6593
+ var UserSubscription = class extends BaseEntity {
6594
+ };
6595
+ __decorateClass([
6596
+ (0, import_typeorm78.Column)({ name: "user_id", type: "integer", nullable: false })
6597
+ ], UserSubscription.prototype, "userId", 2);
6598
+ __decorateClass([
6599
+ (0, import_typeorm78.ManyToOne)(() => User, (user) => user.userSubscriptions, { onDelete: "CASCADE", nullable: false }),
6600
+ (0, import_typeorm78.JoinColumn)({ name: "user_id" })
6601
+ ], UserSubscription.prototype, "user", 2);
6602
+ __decorateClass([
6603
+ (0, import_typeorm78.OneToMany)(() => UserSubscriptionPlan, (plan) => plan.userSubscription)
6604
+ ], UserSubscription.prototype, "userSubscriptionPlans", 2);
6605
+ __decorateClass([
6606
+ (0, import_typeorm78.Column)({ name: "subscription_amount", type: "integer", nullable: false })
6607
+ ], UserSubscription.prototype, "subscriptionAmount", 2);
6608
+ __decorateClass([
6609
+ (0, import_typeorm78.Column)({ name: "total_tax_amount", type: "integer", nullable: false })
6610
+ ], UserSubscription.prototype, "totalTaxAmount", 2);
6611
+ __decorateClass([
6612
+ (0, import_typeorm78.Column)({ name: "total_amount", type: "integer", nullable: false })
6613
+ ], UserSubscription.prototype, "totalAmount", 2);
6614
+ __decorateClass([
6615
+ (0, import_typeorm78.Column)({
6616
+ name: "status",
6617
+ type: "enum",
6618
+ enum: UserSubscriptionStatusEnum,
6619
+ default: "INCOMPLETE" /* INCOMPLETE */
6620
+ })
6621
+ ], UserSubscription.prototype, "status", 2);
6622
+ __decorateClass([
6623
+ (0, import_typeorm78.Column)({
6624
+ name: "subscription_start_date",
6625
+ type: "timestamptz",
6626
+ nullable: true
6627
+ })
6628
+ ], UserSubscription.prototype, "subscriptionStartDate", 2);
6629
+ __decorateClass([
6630
+ (0, import_typeorm78.Column)({
6631
+ name: "subscription_start_date_timestamp",
6632
+ type: "integer",
6633
+ nullable: true
6634
+ })
6635
+ ], UserSubscription.prototype, "subscriptionStartDateTimestamp", 2);
6636
+ __decorateClass([
6637
+ (0, import_typeorm78.Column)({
6638
+ name: "subscription_end_date",
6639
+ type: "timestamptz",
6640
+ nullable: true
6641
+ })
6642
+ ], UserSubscription.prototype, "subscriptionEndDate", 2);
6643
+ __decorateClass([
6644
+ (0, import_typeorm78.Column)({
6645
+ name: "subscription_end_date_timestamp",
6646
+ type: "integer",
6647
+ nullable: true
6648
+ })
6649
+ ], UserSubscription.prototype, "subscriptionEndDateTimestamp", 2);
6650
+ __decorateClass([
6651
+ (0, import_typeorm78.Column)({
6652
+ name: "stripe_price_id",
6653
+ type: "varchar",
6654
+ length: 100,
6655
+ nullable: true
6656
+ })
6657
+ ], UserSubscription.prototype, "stripePriceId", 2);
6658
+ __decorateClass([
6659
+ (0, import_typeorm78.Column)({
6660
+ name: "stripe_product_id",
6661
+ type: "varchar",
6662
+ length: 100,
6663
+ nullable: true
6664
+ })
6665
+ ], UserSubscription.prototype, "stripeProductId", 2);
6666
+ __decorateClass([
6667
+ (0, import_typeorm78.Column)({
6668
+ name: "stripe_customer_id",
6669
+ type: "varchar",
6670
+ length: 64,
6671
+ nullable: true
6672
+ })
6673
+ ], UserSubscription.prototype, "stripeCustomerId", 2);
6674
+ __decorateClass([
6675
+ (0, import_typeorm78.Column)({
6676
+ name: "stripe_subscription_id",
6677
+ type: "varchar",
6678
+ length: 64,
6679
+ nullable: true,
6680
+ unique: true
6681
+ })
6682
+ ], UserSubscription.prototype, "stripeSubscriptionId", 2);
6683
+ __decorateClass([
6684
+ (0, import_typeorm78.Column)({
6685
+ name: "stripe_checkout_session_id",
6686
+ type: "varchar",
6687
+ length: 255,
6688
+ nullable: true
6689
+ })
6690
+ ], UserSubscription.prototype, "stripeCheckoutSessionId", 2);
6691
+ UserSubscription = __decorateClass([
6692
+ (0, import_typeorm78.Entity)("user_subscriptions")
6693
+ ], UserSubscription);
6694
+
6436
6695
  // src/entities/user.entity.ts
6437
6696
  var AccountType2 = /* @__PURE__ */ ((AccountType4) => {
6438
6697
  AccountType4["SUPER_ADMIN"] = "SUPER_ADMIN";
@@ -6459,51 +6718,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
6459
6718
  var User = class extends BaseEntity {
6460
6719
  };
6461
6720
  __decorateClass([
6462
- (0, import_typeorm75.Column)({ name: "unique_id", type: "varchar", unique: true })
6721
+ (0, import_typeorm79.Column)({ name: "unique_id", type: "varchar", unique: true })
6463
6722
  ], User.prototype, "uniqueId", 2);
6464
6723
  __decorateClass([
6465
- (0, import_typeorm75.Column)({ name: "parent_id", type: "integer", nullable: true }),
6466
- (0, import_typeorm75.Index)()
6724
+ (0, import_typeorm79.Column)({ name: "parent_id", type: "integer", nullable: true }),
6725
+ (0, import_typeorm79.Index)()
6467
6726
  ], User.prototype, "parentId", 2);
6468
6727
  __decorateClass([
6469
- (0, import_typeorm75.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
6470
- (0, import_typeorm75.JoinColumn)({ name: "parent_id" })
6728
+ (0, import_typeorm79.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
6729
+ (0, import_typeorm79.JoinColumn)({ name: "parent_id" })
6471
6730
  ], User.prototype, "parent", 2);
6472
6731
  __decorateClass([
6473
- (0, import_typeorm75.OneToMany)(() => User, (user) => user.parent)
6732
+ (0, import_typeorm79.OneToMany)(() => User, (user) => user.parent)
6474
6733
  ], User.prototype, "children", 2);
6475
6734
  __decorateClass([
6476
- (0, import_typeorm75.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
6735
+ (0, import_typeorm79.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
6477
6736
  ], User.prototype, "username", 2);
6478
6737
  __decorateClass([
6479
- (0, import_typeorm75.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
6738
+ (0, import_typeorm79.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
6480
6739
  ], User.prototype, "firstName", 2);
6481
6740
  __decorateClass([
6482
- (0, import_typeorm75.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
6741
+ (0, import_typeorm79.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
6483
6742
  ], User.prototype, "lastName", 2);
6484
6743
  __decorateClass([
6485
- (0, import_typeorm75.Column)({ name: "date_of_birth", type: "date", nullable: true })
6744
+ (0, import_typeorm79.Column)({ name: "date_of_birth", type: "date", nullable: true })
6486
6745
  ], User.prototype, "dateOfBirth", 2);
6487
6746
  __decorateClass([
6488
- (0, import_typeorm75.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
6747
+ (0, import_typeorm79.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
6489
6748
  ], User.prototype, "gender", 2);
6490
6749
  __decorateClass([
6491
- (0, import_typeorm75.Column)({ name: "profile_picture_url", type: "text", nullable: true })
6750
+ (0, import_typeorm79.Column)({ name: "profile_picture_url", type: "text", nullable: true })
6492
6751
  ], User.prototype, "profilePictureUrl", 2);
6493
6752
  __decorateClass([
6494
- (0, import_typeorm75.Column)({ name: "email", type: "varchar", unique: true })
6753
+ (0, import_typeorm79.Column)({ name: "email", type: "varchar", unique: true })
6495
6754
  ], User.prototype, "email", 2);
6496
6755
  __decorateClass([
6497
- (0, import_typeorm75.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6756
+ (0, import_typeorm79.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6498
6757
  ], User.prototype, "mobileCode", 2);
6499
6758
  __decorateClass([
6500
- (0, import_typeorm75.Column)({ name: "mobile", type: "varchar", nullable: true })
6759
+ (0, import_typeorm79.Column)({ name: "mobile", type: "varchar", nullable: true })
6501
6760
  ], User.prototype, "mobile", 2);
6502
6761
  __decorateClass([
6503
- (0, import_typeorm75.Column)({ name: "password", type: "varchar", nullable: true })
6762
+ (0, import_typeorm79.Column)({ name: "password", type: "varchar", nullable: true })
6504
6763
  ], User.prototype, "password", 2);
6505
6764
  __decorateClass([
6506
- (0, import_typeorm75.Column)({
6765
+ (0, import_typeorm79.Column)({
6507
6766
  name: "account_type",
6508
6767
  type: "enum",
6509
6768
  enum: AccountType2,
@@ -6511,7 +6770,7 @@ __decorateClass([
6511
6770
  })
6512
6771
  ], User.prototype, "accountType", 2);
6513
6772
  __decorateClass([
6514
- (0, import_typeorm75.Column)({
6773
+ (0, import_typeorm79.Column)({
6515
6774
  name: "account_status",
6516
6775
  type: "enum",
6517
6776
  enum: AccountStatus,
@@ -6519,45 +6778,45 @@ __decorateClass([
6519
6778
  })
6520
6779
  ], User.prototype, "accountStatus", 2);
6521
6780
  __decorateClass([
6522
- (0, import_typeorm75.Column)({ name: "is_email_verified", type: "boolean", default: false })
6781
+ (0, import_typeorm79.Column)({ name: "is_email_verified", type: "boolean", default: false })
6523
6782
  ], User.prototype, "isEmailVerified", 2);
6524
6783
  __decorateClass([
6525
- (0, import_typeorm75.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6784
+ (0, import_typeorm79.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6526
6785
  ], User.prototype, "isMobileVerified", 2);
6527
6786
  __decorateClass([
6528
- (0, import_typeorm75.Column)({ name: "is_social", type: "boolean", default: false })
6787
+ (0, import_typeorm79.Column)({ name: "is_social", type: "boolean", default: false })
6529
6788
  ], User.prototype, "isSocial", 2);
6530
6789
  __decorateClass([
6531
- (0, import_typeorm75.Column)({ name: "is_referral_user", type: "boolean", default: false })
6790
+ (0, import_typeorm79.Column)({ name: "is_referral_user", type: "boolean", default: false })
6532
6791
  ], User.prototype, "isReferralUser", 2);
6533
6792
  __decorateClass([
6534
- (0, import_typeorm75.Column)({
6793
+ (0, import_typeorm79.Column)({
6535
6794
  name: "last_login_at",
6536
6795
  type: "timestamp with time zone",
6537
6796
  nullable: true
6538
6797
  })
6539
6798
  ], User.prototype, "lastLoginAt", 2);
6540
6799
  __decorateClass([
6541
- (0, import_typeorm75.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6800
+ (0, import_typeorm79.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6542
6801
  ], User.prototype, "lastLoginIp", 2);
6543
6802
  __decorateClass([
6544
- (0, import_typeorm75.Column)({ name: "reset_token", type: "varchar", nullable: true })
6803
+ (0, import_typeorm79.Column)({ name: "reset_token", type: "varchar", nullable: true })
6545
6804
  ], User.prototype, "resetToken", 2);
6546
6805
  __decorateClass([
6547
- (0, import_typeorm75.Column)({
6806
+ (0, import_typeorm79.Column)({
6548
6807
  name: "reset_token_expire_at",
6549
6808
  type: "timestamp with time zone",
6550
6809
  nullable: true
6551
6810
  })
6552
6811
  ], User.prototype, "resetTokenExpireAt", 2);
6553
6812
  __decorateClass([
6554
- (0, import_typeorm75.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6813
+ (0, import_typeorm79.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6555
6814
  ], User.prototype, "setPasswordToken", 2);
6556
6815
  __decorateClass([
6557
- (0, import_typeorm75.OneToMany)(() => RefreshToken, (token) => token.user)
6816
+ (0, import_typeorm79.OneToMany)(() => RefreshToken, (token) => token.user)
6558
6817
  ], User.prototype, "refreshTokens", 2);
6559
6818
  __decorateClass([
6560
- (0, import_typeorm75.Column)({
6819
+ (0, import_typeorm79.Column)({
6561
6820
  name: "provider",
6562
6821
  type: "enum",
6563
6822
  enum: Provider,
@@ -6566,266 +6825,269 @@ __decorateClass([
6566
6825
  })
6567
6826
  ], User.prototype, "provider", 2);
6568
6827
  __decorateClass([
6569
- (0, import_typeorm75.Column)({ name: "provider_token", type: "varchar", nullable: true })
6828
+ (0, import_typeorm79.Column)({ name: "provider_token", type: "varchar", nullable: true })
6570
6829
  ], User.prototype, "providerToken", 2);
6571
6830
  __decorateClass([
6572
- (0, import_typeorm75.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6831
+ (0, import_typeorm79.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6573
6832
  ], User.prototype, "linkedInId", 2);
6574
6833
  __decorateClass([
6575
- (0, import_typeorm75.Column)({ name: "google_id", type: "varchar", nullable: true })
6834
+ (0, import_typeorm79.Column)({ name: "google_id", type: "varchar", nullable: true })
6576
6835
  ], User.prototype, "googleId", 2);
6577
6836
  __decorateClass([
6578
- (0, import_typeorm75.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6837
+ (0, import_typeorm79.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6579
6838
  ], User.prototype, "gitLabsId", 2);
6580
6839
  __decorateClass([
6581
- (0, import_typeorm75.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6840
+ (0, import_typeorm79.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6582
6841
  ], User.prototype, "onBoardedBy", 2);
6583
6842
  __decorateClass([
6584
- (0, import_typeorm75.OneToMany)(() => Otp, (otp) => otp.user)
6843
+ (0, import_typeorm79.OneToMany)(() => Otp, (otp) => otp.user)
6585
6844
  ], User.prototype, "otps", 2);
6586
6845
  __decorateClass([
6587
- (0, import_typeorm75.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6846
+ (0, import_typeorm79.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6588
6847
  ], User.prototype, "senseloafLogs", 2);
6589
6848
  __decorateClass([
6590
- (0, import_typeorm75.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6849
+ (0, import_typeorm79.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6591
6850
  ], User.prototype, "companyProfile", 2);
6592
6851
  __decorateClass([
6593
- (0, import_typeorm75.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6852
+ (0, import_typeorm79.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6594
6853
  ], User.prototype, "companySkills", 2);
6595
6854
  __decorateClass([
6596
- (0, import_typeorm75.OneToMany)(
6855
+ (0, import_typeorm79.OneToMany)(
6597
6856
  () => CompanyMemberRole,
6598
6857
  (companyMemberRole) => companyMemberRole.user
6599
6858
  )
6600
6859
  ], User.prototype, "companyMemberRoles", 2);
6601
6860
  __decorateClass([
6602
- (0, import_typeorm75.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6861
+ (0, import_typeorm79.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6603
6862
  ], User.prototype, "companyAiInterview", 2);
6604
6863
  __decorateClass([
6605
- (0, import_typeorm75.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6864
+ (0, import_typeorm79.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6606
6865
  ], User.prototype, "clientF2FInterviews", 2);
6607
6866
  __decorateClass([
6608
- (0, import_typeorm75.OneToOne)(
6867
+ (0, import_typeorm79.OneToOne)(
6609
6868
  () => FreelancerProfile,
6610
6869
  (freelancerProfile) => freelancerProfile.user
6611
6870
  )
6612
6871
  ], User.prototype, "freelancerProfile", 2);
6613
6872
  __decorateClass([
6614
- (0, import_typeorm75.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6873
+ (0, import_typeorm79.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6615
6874
  ], User.prototype, "freelancerResume", 2);
6616
6875
  __decorateClass([
6617
- (0, import_typeorm75.OneToMany)(
6876
+ (0, import_typeorm79.OneToMany)(
6618
6877
  () => FreelancerAssessmentRequest,
6619
6878
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6620
6879
  )
6621
6880
  ], User.prototype, "freelancerAssessmentRequests", 2);
6622
6881
  __decorateClass([
6623
- (0, import_typeorm75.OneToMany)(
6882
+ (0, import_typeorm79.OneToMany)(
6624
6883
  () => FreelancerAssessmentRequest,
6625
6884
  (freelancerAssessment) => freelancerAssessment.approvedBy
6626
6885
  )
6627
6886
  ], User.prototype, "assessmentRequests", 2);
6628
6887
  __decorateClass([
6629
- (0, import_typeorm75.OneToMany)(
6888
+ (0, import_typeorm79.OneToMany)(
6630
6889
  () => FreelancerAssessment,
6631
6890
  (freelancerAssessment) => freelancerAssessment.user
6632
6891
  )
6633
6892
  ], User.prototype, "assessments", 2);
6634
6893
  __decorateClass([
6635
- (0, import_typeorm75.OneToMany)(
6894
+ (0, import_typeorm79.OneToMany)(
6636
6895
  () => AssessmentAnswer,
6637
6896
  (assessmentAnswer) => assessmentAnswer.user
6638
6897
  )
6639
6898
  ], User.prototype, "assessmentAnswers", 2);
6640
6899
  __decorateClass([
6641
- (0, import_typeorm75.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6900
+ (0, import_typeorm79.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6642
6901
  ], User.prototype, "freelancerSkills", 2);
6643
6902
  __decorateClass([
6644
- (0, import_typeorm75.OneToMany)(
6903
+ (0, import_typeorm79.OneToMany)(
6645
6904
  () => FreelancerExperience,
6646
6905
  (freelancerExperience) => freelancerExperience.user
6647
6906
  )
6648
6907
  ], User.prototype, "freelancerExperience", 2);
6649
6908
  __decorateClass([
6650
- (0, import_typeorm75.OneToMany)(
6909
+ (0, import_typeorm79.OneToMany)(
6651
6910
  () => FreelancerEducation,
6652
6911
  (freelancerEducation) => freelancerEducation.user
6653
6912
  )
6654
6913
  ], User.prototype, "freelancerEducation", 2);
6655
6914
  __decorateClass([
6656
- (0, import_typeorm75.OneToMany)(
6915
+ (0, import_typeorm79.OneToMany)(
6657
6916
  () => FreelancerProject,
6658
6917
  (freelancerProject) => freelancerProject.user
6659
6918
  )
6660
6919
  ], User.prototype, "freelancerProject", 2);
6661
6920
  __decorateClass([
6662
- (0, import_typeorm75.OneToMany)(
6921
+ (0, import_typeorm79.OneToMany)(
6663
6922
  () => FreelancerCaseStudy,
6664
6923
  (freelancerCaseStudy) => freelancerCaseStudy.user
6665
6924
  )
6666
6925
  ], User.prototype, "freelancerCaseStudy", 2);
6667
6926
  __decorateClass([
6668
- (0, import_typeorm75.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6927
+ (0, import_typeorm79.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6669
6928
  ], User.prototype, "freelancerTool", 2);
6670
6929
  __decorateClass([
6671
- (0, import_typeorm75.OneToMany)(
6930
+ (0, import_typeorm79.OneToMany)(
6672
6931
  () => FreelancerFramework,
6673
6932
  (freelancerFramework) => freelancerFramework.user
6674
6933
  )
6675
6934
  ], User.prototype, "freelancerFramework", 2);
6676
6935
  __decorateClass([
6677
- (0, import_typeorm75.OneToOne)(
6936
+ (0, import_typeorm79.OneToOne)(
6678
6937
  () => FreelancerDeclaration,
6679
6938
  (freelancerDeclaration) => freelancerDeclaration.user
6680
6939
  )
6681
6940
  ], User.prototype, "freelancerDeclaration", 2);
6682
6941
  __decorateClass([
6683
- (0, import_typeorm75.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6942
+ (0, import_typeorm79.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6684
6943
  ], User.prototype, "freelancerMcq", 2);
6685
6944
  __decorateClass([
6686
- (0, import_typeorm75.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6945
+ (0, import_typeorm79.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6687
6946
  ], User.prototype, "freelancerAiInterview", 2);
6688
6947
  __decorateClass([
6689
- (0, import_typeorm75.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6948
+ (0, import_typeorm79.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6690
6949
  ], User.prototype, "freelancerF2FInterviews", 2);
6691
6950
  __decorateClass([
6692
- (0, import_typeorm75.OneToMany)(
6951
+ (0, import_typeorm79.OneToMany)(
6693
6952
  () => F2fInterviewRescheduleRequest,
6694
6953
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
6695
6954
  )
6696
6955
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
6697
6956
  __decorateClass([
6698
- (0, import_typeorm75.OneToMany)(
6957
+ (0, import_typeorm79.OneToMany)(
6699
6958
  () => AiInterviewRescheduleRequest,
6700
6959
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
6701
6960
  )
6702
6961
  ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
6703
6962
  __decorateClass([
6704
- (0, import_typeorm75.OneToMany)(
6963
+ (0, import_typeorm79.OneToMany)(
6705
6964
  () => AiInterviewRescheduleRequest,
6706
6965
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.client
6707
6966
  )
6708
6967
  ], User.prototype, "clientAiInterviewRescheduleRequests", 2);
6709
6968
  __decorateClass([
6710
- (0, import_typeorm75.OneToMany)(() => Job, (job) => job.user)
6969
+ (0, import_typeorm79.OneToMany)(() => Job, (job) => job.user)
6711
6970
  ], User.prototype, "jobs", 2);
6712
6971
  __decorateClass([
6713
- (0, import_typeorm75.OneToMany)(() => Task, (task) => task.client)
6972
+ (0, import_typeorm79.OneToMany)(() => Task, (task) => task.client)
6714
6973
  ], User.prototype, "clientTasks", 2);
6715
6974
  __decorateClass([
6716
- (0, import_typeorm75.OneToMany)(() => Task, (task) => task.freelancer)
6975
+ (0, import_typeorm79.OneToMany)(() => Task, (task) => task.freelancer)
6717
6976
  ], User.prototype, "freelancerTasks", 2);
6718
6977
  __decorateClass([
6719
- (0, import_typeorm75.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.raisedByUser)
6978
+ (0, import_typeorm79.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.raisedByUser)
6720
6979
  ], User.prototype, "raisedTaskQueries", 2);
6721
6980
  __decorateClass([
6722
- (0, import_typeorm75.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.assignedToUser)
6981
+ (0, import_typeorm79.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.assignedToUser)
6723
6982
  ], User.prototype, "assignedTaskQueries", 2);
6724
6983
  __decorateClass([
6725
- (0, import_typeorm75.OneToMany)(() => TaskQueryMessage, (message) => message.senderUser)
6984
+ (0, import_typeorm79.OneToMany)(() => TaskQueryMessage, (message) => message.senderUser)
6726
6985
  ], User.prototype, "taskQueryMessages", 2);
6727
6986
  __decorateClass([
6728
- (0, import_typeorm75.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6987
+ (0, import_typeorm79.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6729
6988
  ], User.prototype, "jobApplications", 2);
6730
6989
  __decorateClass([
6731
- (0, import_typeorm75.OneToMany)(() => Interview, (interview) => interview.user)
6990
+ (0, import_typeorm79.OneToMany)(() => Interview, (interview) => interview.user)
6732
6991
  ], User.prototype, "interviews", 2);
6733
6992
  __decorateClass([
6734
- (0, import_typeorm75.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6993
+ (0, import_typeorm79.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6735
6994
  ], User.prototype, "bankDetail", 2);
6736
6995
  __decorateClass([
6737
- (0, import_typeorm75.OneToMany)(
6996
+ (0, import_typeorm79.OneToMany)(
6738
6997
  () => SystemPreference,
6739
6998
  (systemPreference) => systemPreference.user
6740
6999
  )
6741
7000
  ], User.prototype, "systemPreference", 2);
6742
7001
  __decorateClass([
6743
- (0, import_typeorm75.OneToMany)(() => Rating, (rating) => rating.reviewer)
7002
+ (0, import_typeorm79.OneToMany)(() => Rating, (rating) => rating.reviewer)
6744
7003
  ], User.prototype, "givenRatings", 2);
6745
7004
  __decorateClass([
6746
- (0, import_typeorm75.OneToMany)(() => Rating, (rating) => rating.reviewee)
7005
+ (0, import_typeorm79.OneToMany)(() => Rating, (rating) => rating.reviewee)
6747
7006
  ], User.prototype, "receivedRatings", 2);
6748
7007
  __decorateClass([
6749
- (0, import_typeorm75.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
7008
+ (0, import_typeorm79.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6750
7009
  ], User.prototype, "adminUserRoles", 2);
6751
7010
  __decorateClass([
6752
- (0, import_typeorm75.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
7011
+ (0, import_typeorm79.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6753
7012
  cascade: true
6754
7013
  })
6755
7014
  ], User.prototype, "clientContractSummaries", 2);
6756
7015
  __decorateClass([
6757
- (0, import_typeorm75.OneToMany)(() => Contract, (contract) => contract.client)
7016
+ (0, import_typeorm79.OneToMany)(() => Contract, (contract) => contract.client)
6758
7017
  ], User.prototype, "clientContracts", 2);
6759
7018
  __decorateClass([
6760
- (0, import_typeorm75.OneToMany)(() => Hiring, (hiring) => hiring.client)
7019
+ (0, import_typeorm79.OneToMany)(() => Hiring, (hiring) => hiring.client)
6761
7020
  ], User.prototype, "clientHirings", 2);
6762
7021
  __decorateClass([
6763
- (0, import_typeorm75.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
7022
+ (0, import_typeorm79.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6764
7023
  ], User.prototype, "clientEscrowWallets", 2);
6765
7024
  __decorateClass([
6766
- (0, import_typeorm75.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
7025
+ (0, import_typeorm79.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6767
7026
  cascade: true
6768
7027
  })
6769
7028
  ], User.prototype, "freelancerContractSummaries", 2);
6770
7029
  __decorateClass([
6771
- (0, import_typeorm75.OneToMany)(() => Contract, (contract) => contract.freelancer)
7030
+ (0, import_typeorm79.OneToMany)(() => Contract, (contract) => contract.freelancer)
6772
7031
  ], User.prototype, "freelancerContracts", 2);
6773
7032
  __decorateClass([
6774
- (0, import_typeorm75.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
7033
+ (0, import_typeorm79.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6775
7034
  ], User.prototype, "freelancerHirings", 2);
6776
7035
  __decorateClass([
6777
- (0, import_typeorm75.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
7036
+ (0, import_typeorm79.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6778
7037
  ], User.prototype, "freelancerEscrowWallets", 2);
6779
7038
  __decorateClass([
6780
- (0, import_typeorm75.OneToOne)(() => Signature, (signature) => signature.user)
7039
+ (0, import_typeorm79.OneToOne)(() => Signature, (signature) => signature.user)
6781
7040
  ], User.prototype, "signatures", 2);
6782
7041
  __decorateClass([
6783
- (0, import_typeorm75.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
7042
+ (0, import_typeorm79.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6784
7043
  ], User.prototype, "clientTimesheets", 2);
6785
7044
  __decorateClass([
6786
- (0, import_typeorm75.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
7045
+ (0, import_typeorm79.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6787
7046
  ], User.prototype, "freelancerTimesheets", 2);
6788
7047
  __decorateClass([
6789
- (0, import_typeorm75.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
7048
+ (0, import_typeorm79.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6790
7049
  ], User.prototype, "clientTimesheetLine", 2);
6791
7050
  __decorateClass([
6792
- (0, import_typeorm75.OneToMany)(() => Invoice, (invoice) => invoice.client)
7051
+ (0, import_typeorm79.OneToMany)(() => Invoice, (invoice) => invoice.client)
6793
7052
  ], User.prototype, "clientInvoice", 2);
6794
7053
  __decorateClass([
6795
- (0, import_typeorm75.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
7054
+ (0, import_typeorm79.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6796
7055
  ], User.prototype, "freelancerTimesheetLine", 2);
6797
7056
  __decorateClass([
6798
- (0, import_typeorm75.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
7057
+ (0, import_typeorm79.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6799
7058
  ], User.prototype, "freelancerInvoice", 2);
6800
7059
  __decorateClass([
6801
- (0, import_typeorm75.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
7060
+ (0, import_typeorm79.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6802
7061
  ], User.prototype, "clientPreferencesGiven", 2);
6803
7062
  __decorateClass([
6804
- (0, import_typeorm75.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
7063
+ (0, import_typeorm79.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6805
7064
  ], User.prototype, "clientPreferencesReceived", 2);
6806
7065
  __decorateClass([
6807
- (0, import_typeorm75.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
7066
+ (0, import_typeorm79.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6808
7067
  ], User.prototype, "initiatedDisputes", 2);
6809
7068
  __decorateClass([
6810
- (0, import_typeorm75.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
7069
+ (0, import_typeorm79.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6811
7070
  ], User.prototype, "respondentDisputes", 2);
6812
7071
  __decorateClass([
6813
- (0, import_typeorm75.OneToOne)(() => Wallet, (wallet) => wallet.user)
7072
+ (0, import_typeorm79.OneToOne)(() => Wallet, (wallet) => wallet.user)
6814
7073
  ], User.prototype, "wallet", 2);
6815
7074
  __decorateClass([
6816
- (0, import_typeorm75.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
7075
+ (0, import_typeorm79.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6817
7076
  ], User.prototype, "stripeTransactions", 2);
6818
7077
  __decorateClass([
6819
- (0, import_typeorm75.OneToMany)(() => Dispute, (dispute) => dispute.client)
7078
+ (0, import_typeorm79.OneToMany)(() => Dispute, (dispute) => dispute.client)
6820
7079
  ], User.prototype, "clientDisputes", 2);
6821
7080
  __decorateClass([
6822
- (0, import_typeorm75.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
7081
+ (0, import_typeorm79.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6823
7082
  ], User.prototype, "freelancerDisputes", 2);
6824
7083
  __decorateClass([
6825
- (0, import_typeorm75.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
7084
+ (0, import_typeorm79.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6826
7085
  ], User.prototype, "inAppNotifications", 2);
7086
+ __decorateClass([
7087
+ (0, import_typeorm79.OneToMany)(() => UserSubscription, (userSubscription) => userSubscription.user)
7088
+ ], User.prototype, "userSubscriptions", 2);
6827
7089
  User = __decorateClass([
6828
- (0, import_typeorm75.Entity)("users")
7090
+ (0, import_typeorm79.Entity)("users")
6829
7091
  ], User);
6830
7092
 
6831
7093
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -13721,11 +13983,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
13721
13983
  };
13722
13984
 
13723
13985
  // src/entities/sequence-generator.entity.ts
13724
- var import_typeorm76 = require("typeorm");
13986
+ var import_typeorm80 = require("typeorm");
13725
13987
  var SequenceGenerator = class extends BaseEntity {
13726
13988
  };
13727
13989
  __decorateClass([
13728
- (0, import_typeorm76.Column)({
13990
+ (0, import_typeorm80.Column)({
13729
13991
  name: "module",
13730
13992
  type: "varchar",
13731
13993
  length: 50,
@@ -13734,7 +13996,7 @@ __decorateClass([
13734
13996
  })
13735
13997
  ], SequenceGenerator.prototype, "module", 2);
13736
13998
  __decorateClass([
13737
- (0, import_typeorm76.Column)({
13999
+ (0, import_typeorm80.Column)({
13738
14000
  name: "prefix",
13739
14001
  type: "varchar",
13740
14002
  length: 10,
@@ -13743,7 +14005,7 @@ __decorateClass([
13743
14005
  })
13744
14006
  ], SequenceGenerator.prototype, "prefix", 2);
13745
14007
  __decorateClass([
13746
- (0, import_typeorm76.Column)({
14008
+ (0, import_typeorm80.Column)({
13747
14009
  name: "last_sequence",
13748
14010
  type: "int",
13749
14011
  nullable: false,
@@ -13751,7 +14013,7 @@ __decorateClass([
13751
14013
  })
13752
14014
  ], SequenceGenerator.prototype, "lastSequence", 2);
13753
14015
  __decorateClass([
13754
- (0, import_typeorm76.Column)({
14016
+ (0, import_typeorm80.Column)({
13755
14017
  name: "year",
13756
14018
  type: "int",
13757
14019
  nullable: true,
@@ -13759,11 +14021,11 @@ __decorateClass([
13759
14021
  })
13760
14022
  ], SequenceGenerator.prototype, "year", 2);
13761
14023
  SequenceGenerator = __decorateClass([
13762
- (0, import_typeorm76.Entity)("sequence_generators")
14024
+ (0, import_typeorm80.Entity)("sequence_generators")
13763
14025
  ], SequenceGenerator);
13764
14026
 
13765
14027
  // src/entities/question.entity.ts
13766
- var import_typeorm77 = require("typeorm");
14028
+ var import_typeorm81 = require("typeorm");
13767
14029
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
13768
14030
  QuestionFor2["CLIENT"] = "CLIENT";
13769
14031
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -13772,16 +14034,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
13772
14034
  var Question = class extends BaseEntity {
13773
14035
  };
13774
14036
  __decorateClass([
13775
- (0, import_typeorm77.Column)({ name: "question", type: "varchar" })
14037
+ (0, import_typeorm81.Column)({ name: "question", type: "varchar" })
13776
14038
  ], Question.prototype, "question", 2);
13777
14039
  __decorateClass([
13778
- (0, import_typeorm77.Column)({ name: "hint", type: "varchar", nullable: true })
14040
+ (0, import_typeorm81.Column)({ name: "hint", type: "varchar", nullable: true })
13779
14041
  ], Question.prototype, "hint", 2);
13780
14042
  __decorateClass([
13781
- (0, import_typeorm77.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14043
+ (0, import_typeorm81.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13782
14044
  ], Question.prototype, "slug", 2);
13783
14045
  __decorateClass([
13784
- (0, import_typeorm77.Column)({
14046
+ (0, import_typeorm81.Column)({
13785
14047
  name: "question_for",
13786
14048
  type: "enum",
13787
14049
  enum: QuestionFor,
@@ -13789,45 +14051,45 @@ __decorateClass([
13789
14051
  })
13790
14052
  ], Question.prototype, "questionFor", 2);
13791
14053
  __decorateClass([
13792
- (0, import_typeorm77.Column)({ name: "type", type: "varchar", nullable: true })
14054
+ (0, import_typeorm81.Column)({ name: "type", type: "varchar", nullable: true })
13793
14055
  ], Question.prototype, "type", 2);
13794
14056
  __decorateClass([
13795
- (0, import_typeorm77.Column)({ name: "options", type: "jsonb", nullable: true })
14057
+ (0, import_typeorm81.Column)({ name: "options", type: "jsonb", nullable: true })
13796
14058
  ], Question.prototype, "options", 2);
13797
14059
  __decorateClass([
13798
- (0, import_typeorm77.Column)({ name: "is_active", type: "boolean", default: false })
14060
+ (0, import_typeorm81.Column)({ name: "is_active", type: "boolean", default: false })
13799
14061
  ], Question.prototype, "isActive", 2);
13800
14062
  Question = __decorateClass([
13801
- (0, import_typeorm77.Entity)("questions")
14063
+ (0, import_typeorm81.Entity)("questions")
13802
14064
  ], Question);
13803
14065
 
13804
14066
  // src/entities/skill.entity.ts
13805
- var import_typeorm78 = require("typeorm");
14067
+ var import_typeorm82 = require("typeorm");
13806
14068
  var Skill = class extends BaseEntity {
13807
14069
  };
13808
14070
  __decorateClass([
13809
- (0, import_typeorm78.Column)({ name: "name", type: "varchar", nullable: true })
14071
+ (0, import_typeorm82.Column)({ name: "name", type: "varchar", nullable: true })
13810
14072
  ], Skill.prototype, "name", 2);
13811
14073
  __decorateClass([
13812
- (0, import_typeorm78.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14074
+ (0, import_typeorm82.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13813
14075
  ], Skill.prototype, "slug", 2);
13814
14076
  __decorateClass([
13815
- (0, import_typeorm78.Column)({ name: "is_active", type: "boolean", default: false })
14077
+ (0, import_typeorm82.Column)({ name: "is_active", type: "boolean", default: false })
13816
14078
  ], Skill.prototype, "isActive", 2);
13817
14079
  Skill = __decorateClass([
13818
- (0, import_typeorm78.Entity)("skills")
14080
+ (0, import_typeorm82.Entity)("skills")
13819
14081
  ], Skill);
13820
14082
 
13821
14083
  // src/entities/skill-catalog.entity.ts
13822
- var import_typeorm79 = require("typeorm");
14084
+ var import_typeorm83 = require("typeorm");
13823
14085
  var SkillCatalog = class extends BaseEntity {
13824
14086
  };
13825
14087
  __decorateClass([
13826
- (0, import_typeorm79.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
13827
- (0, import_typeorm79.Index)()
14088
+ (0, import_typeorm83.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
14089
+ (0, import_typeorm83.Index)()
13828
14090
  ], SkillCatalog.prototype, "canonicalName", 2);
13829
14091
  __decorateClass([
13830
- (0, import_typeorm79.Column)({
14092
+ (0, import_typeorm83.Column)({
13831
14093
  name: "aliases",
13832
14094
  type: "text",
13833
14095
  array: true,
@@ -13835,20 +14097,20 @@ __decorateClass([
13835
14097
  })
13836
14098
  ], SkillCatalog.prototype, "aliases", 2);
13837
14099
  __decorateClass([
13838
- (0, import_typeorm79.Column)({
14100
+ (0, import_typeorm83.Column)({
13839
14101
  name: "variations",
13840
14102
  type: "jsonb",
13841
14103
  default: "{}"
13842
14104
  })
13843
14105
  ], SkillCatalog.prototype, "variations", 2);
13844
14106
  __decorateClass([
13845
- (0, import_typeorm79.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
14107
+ (0, import_typeorm83.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
13846
14108
  ], SkillCatalog.prototype, "category", 2);
13847
14109
  __decorateClass([
13848
- (0, import_typeorm79.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
14110
+ (0, import_typeorm83.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
13849
14111
  ], SkillCatalog.prototype, "parentSkill", 2);
13850
14112
  __decorateClass([
13851
- (0, import_typeorm79.Column)({
14113
+ (0, import_typeorm83.Column)({
13852
14114
  name: "related_skills",
13853
14115
  type: "text",
13854
14116
  array: true,
@@ -13856,68 +14118,68 @@ __decorateClass([
13856
14118
  })
13857
14119
  ], SkillCatalog.prototype, "relatedSkills", 2);
13858
14120
  __decorateClass([
13859
- (0, import_typeorm79.Column)({ name: "usage_count", type: "integer", default: 0 }),
13860
- (0, import_typeorm79.Index)()
14121
+ (0, import_typeorm83.Column)({ name: "usage_count", type: "integer", default: 0 }),
14122
+ (0, import_typeorm83.Index)()
13861
14123
  ], SkillCatalog.prototype, "usageCount", 2);
13862
14124
  __decorateClass([
13863
- (0, import_typeorm79.Column)({ name: "is_verified", type: "boolean", default: false })
14125
+ (0, import_typeorm83.Column)({ name: "is_verified", type: "boolean", default: false })
13864
14126
  ], SkillCatalog.prototype, "isVerified", 2);
13865
14127
  __decorateClass([
13866
- (0, import_typeorm79.Column)({ name: "first_seen_date", type: "date" })
14128
+ (0, import_typeorm83.Column)({ name: "first_seen_date", type: "date" })
13867
14129
  ], SkillCatalog.prototype, "firstSeenDate", 2);
13868
14130
  __decorateClass([
13869
- (0, import_typeorm79.Column)({ name: "last_updated_date", type: "date" })
14131
+ (0, import_typeorm83.Column)({ name: "last_updated_date", type: "date" })
13870
14132
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
13871
14133
  __decorateClass([
13872
- (0, import_typeorm79.Column)({
14134
+ (0, import_typeorm83.Column)({
13873
14135
  name: "search_vector",
13874
14136
  type: "tsvector",
13875
14137
  nullable: true
13876
14138
  })
13877
14139
  ], SkillCatalog.prototype, "searchVector", 2);
13878
14140
  SkillCatalog = __decorateClass([
13879
- (0, import_typeorm79.Entity)("skill_catalogs")
14141
+ (0, import_typeorm83.Entity)("skill_catalogs")
13880
14142
  ], SkillCatalog);
13881
14143
 
13882
14144
  // src/entities/job-role.entity.ts
13883
- var import_typeorm80 = require("typeorm");
14145
+ var import_typeorm84 = require("typeorm");
13884
14146
  var JobRoles = class extends BaseEntity {
13885
14147
  };
13886
14148
  __decorateClass([
13887
- (0, import_typeorm80.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14149
+ (0, import_typeorm84.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13888
14150
  ], JobRoles.prototype, "slug", 2);
13889
14151
  __decorateClass([
13890
- (0, import_typeorm80.Column)({ name: "name", type: "varchar", nullable: true })
14152
+ (0, import_typeorm84.Column)({ name: "name", type: "varchar", nullable: true })
13891
14153
  ], JobRoles.prototype, "name", 2);
13892
14154
  __decorateClass([
13893
- (0, import_typeorm80.Column)({ name: "is_active", type: "boolean", default: true })
14155
+ (0, import_typeorm84.Column)({ name: "is_active", type: "boolean", default: true })
13894
14156
  ], JobRoles.prototype, "isActive", 2);
13895
14157
  JobRoles = __decorateClass([
13896
- (0, import_typeorm80.Entity)("job_roles")
14158
+ (0, import_typeorm84.Entity)("job_roles")
13897
14159
  ], JobRoles);
13898
14160
 
13899
14161
  // src/entities/cms.entity.ts
13900
- var import_typeorm81 = require("typeorm");
14162
+ var import_typeorm85 = require("typeorm");
13901
14163
  var Cms = class extends BaseEntity {
13902
14164
  };
13903
14165
  __decorateClass([
13904
- (0, import_typeorm81.Column)({ name: "title", type: "varchar", nullable: true })
14166
+ (0, import_typeorm85.Column)({ name: "title", type: "varchar", nullable: true })
13905
14167
  ], Cms.prototype, "title", 2);
13906
14168
  __decorateClass([
13907
- (0, import_typeorm81.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14169
+ (0, import_typeorm85.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13908
14170
  ], Cms.prototype, "slug", 2);
13909
14171
  __decorateClass([
13910
- (0, import_typeorm81.Column)({ name: "content", type: "varchar", nullable: true })
14172
+ (0, import_typeorm85.Column)({ name: "content", type: "varchar", nullable: true })
13911
14173
  ], Cms.prototype, "content", 2);
13912
14174
  __decorateClass([
13913
- (0, import_typeorm81.Column)({ name: "is_active", type: "boolean", default: true })
14175
+ (0, import_typeorm85.Column)({ name: "is_active", type: "boolean", default: true })
13914
14176
  ], Cms.prototype, "isActive", 2);
13915
14177
  Cms = __decorateClass([
13916
- (0, import_typeorm81.Entity)("cms")
14178
+ (0, import_typeorm85.Entity)("cms")
13917
14179
  ], Cms);
13918
14180
 
13919
14181
  // src/entities/lead.entity.ts
13920
- var import_typeorm82 = require("typeorm");
14182
+ var import_typeorm86 = require("typeorm");
13921
14183
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13922
14184
  CategoryEmum2["BUSINESS"] = "BUSINESS";
13923
14185
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -13926,22 +14188,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13926
14188
  var Lead = class extends BaseEntity {
13927
14189
  };
13928
14190
  __decorateClass([
13929
- (0, import_typeorm82.Column)({ name: "name", type: "varchar", nullable: true })
14191
+ (0, import_typeorm86.Column)({ name: "name", type: "varchar", nullable: true })
13930
14192
  ], Lead.prototype, "name", 2);
13931
14193
  __decorateClass([
13932
- (0, import_typeorm82.Column)({ name: "mobile_code", type: "varchar", nullable: true })
14194
+ (0, import_typeorm86.Column)({ name: "mobile_code", type: "varchar", nullable: true })
13933
14195
  ], Lead.prototype, "mobileCode", 2);
13934
14196
  __decorateClass([
13935
- (0, import_typeorm82.Column)({ name: "mobile", type: "varchar", nullable: true })
14197
+ (0, import_typeorm86.Column)({ name: "mobile", type: "varchar", nullable: true })
13936
14198
  ], Lead.prototype, "mobile", 2);
13937
14199
  __decorateClass([
13938
- (0, import_typeorm82.Column)({ name: "email", type: "varchar", nullable: true })
14200
+ (0, import_typeorm86.Column)({ name: "email", type: "varchar", nullable: true })
13939
14201
  ], Lead.prototype, "email", 2);
13940
14202
  __decorateClass([
13941
- (0, import_typeorm82.Column)({ name: "description", type: "varchar", nullable: true })
14203
+ (0, import_typeorm86.Column)({ name: "description", type: "varchar", nullable: true })
13942
14204
  ], Lead.prototype, "description", 2);
13943
14205
  __decorateClass([
13944
- (0, import_typeorm82.Column)({
14206
+ (0, import_typeorm86.Column)({
13945
14207
  name: "category",
13946
14208
  type: "enum",
13947
14209
  enum: CategoryEmum,
@@ -13949,129 +14211,129 @@ __decorateClass([
13949
14211
  })
13950
14212
  ], Lead.prototype, "category", 2);
13951
14213
  Lead = __decorateClass([
13952
- (0, import_typeorm82.Entity)("leads")
14214
+ (0, import_typeorm86.Entity)("leads")
13953
14215
  ], Lead);
13954
14216
 
13955
14217
  // src/entities/job-freelancer-recommendation.entity.ts
13956
- var import_typeorm83 = require("typeorm");
14218
+ var import_typeorm87 = require("typeorm");
13957
14219
  var JobFreelancerRecommendation = class {
13958
14220
  };
13959
14221
  __decorateClass([
13960
- (0, import_typeorm83.ViewColumn)({ name: "job_id" })
14222
+ (0, import_typeorm87.ViewColumn)({ name: "job_id" })
13961
14223
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
13962
14224
  __decorateClass([
13963
- (0, import_typeorm83.ViewColumn)({ name: "job_uuid" })
14225
+ (0, import_typeorm87.ViewColumn)({ name: "job_uuid" })
13964
14226
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
13965
14227
  __decorateClass([
13966
- (0, import_typeorm83.ViewColumn)({ name: "job_unique_id" })
14228
+ (0, import_typeorm87.ViewColumn)({ name: "job_unique_id" })
13967
14229
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
13968
14230
  __decorateClass([
13969
- (0, import_typeorm83.ViewColumn)({ name: "job_role" })
14231
+ (0, import_typeorm87.ViewColumn)({ name: "job_role" })
13970
14232
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
13971
14233
  __decorateClass([
13972
- (0, import_typeorm83.ViewColumn)({ name: "job_openings" })
14234
+ (0, import_typeorm87.ViewColumn)({ name: "job_openings" })
13973
14235
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
13974
14236
  __decorateClass([
13975
- (0, import_typeorm83.ViewColumn)({ name: "job_location" })
14237
+ (0, import_typeorm87.ViewColumn)({ name: "job_location" })
13976
14238
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
13977
14239
  __decorateClass([
13978
- (0, import_typeorm83.ViewColumn)({ name: "job_currency" })
14240
+ (0, import_typeorm87.ViewColumn)({ name: "job_currency" })
13979
14241
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
13980
14242
  __decorateClass([
13981
- (0, import_typeorm83.ViewColumn)({ name: "job_salary_from" })
14243
+ (0, import_typeorm87.ViewColumn)({ name: "job_salary_from" })
13982
14244
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
13983
14245
  __decorateClass([
13984
- (0, import_typeorm83.ViewColumn)({ name: "job_salary_to" })
14246
+ (0, import_typeorm87.ViewColumn)({ name: "job_salary_to" })
13985
14247
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
13986
14248
  __decorateClass([
13987
- (0, import_typeorm83.ViewColumn)({ name: "job_employment_type" })
14249
+ (0, import_typeorm87.ViewColumn)({ name: "job_employment_type" })
13988
14250
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
13989
14251
  __decorateClass([
13990
- (0, import_typeorm83.ViewColumn)({ name: "application_received" })
14252
+ (0, import_typeorm87.ViewColumn)({ name: "application_received" })
13991
14253
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
13992
14254
  __decorateClass([
13993
- (0, import_typeorm83.ViewColumn)({ name: "job_posted_at" })
14255
+ (0, import_typeorm87.ViewColumn)({ name: "job_posted_at" })
13994
14256
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
13995
14257
  __decorateClass([
13996
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_id" })
14258
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_id" })
13997
14259
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
13998
14260
  __decorateClass([
13999
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_uuid" })
14261
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_uuid" })
14000
14262
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
14001
14263
  __decorateClass([
14002
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_unique_id" })
14264
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_unique_id" })
14003
14265
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
14004
14266
  __decorateClass([
14005
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_first_name" })
14267
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_first_name" })
14006
14268
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
14007
14269
  __decorateClass([
14008
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_last_name" })
14270
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_last_name" })
14009
14271
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
14010
14272
  __decorateClass([
14011
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_email" })
14273
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_email" })
14012
14274
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
14013
14275
  __decorateClass([
14014
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_profile_picture" })
14276
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_profile_picture" })
14015
14277
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
14016
14278
  __decorateClass([
14017
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_is_social" })
14279
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_is_social" })
14018
14280
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
14019
14281
  __decorateClass([
14020
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_created_at" })
14282
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_created_at" })
14021
14283
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
14022
14284
  __decorateClass([
14023
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_designation" })
14285
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_designation" })
14024
14286
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
14025
14287
  __decorateClass([
14026
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_experience" })
14288
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_experience" })
14027
14289
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
14028
14290
  __decorateClass([
14029
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_expertshub_verified" })
14291
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_expertshub_verified" })
14030
14292
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
14031
14293
  __decorateClass([
14032
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_hourly_compensation" })
14294
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_hourly_compensation" })
14033
14295
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
14034
14296
  __decorateClass([
14035
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_country_name" })
14297
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_country_name" })
14036
14298
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
14037
14299
  __decorateClass([
14038
- (0, import_typeorm83.ViewColumn)({ name: "freelancer_country_iso_code" })
14300
+ (0, import_typeorm87.ViewColumn)({ name: "freelancer_country_iso_code" })
14039
14301
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
14040
14302
  __decorateClass([
14041
- (0, import_typeorm83.ViewColumn)({ name: "client_id" })
14303
+ (0, import_typeorm87.ViewColumn)({ name: "client_id" })
14042
14304
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
14043
14305
  __decorateClass([
14044
- (0, import_typeorm83.ViewColumn)({ name: "client_uuid" })
14306
+ (0, import_typeorm87.ViewColumn)({ name: "client_uuid" })
14045
14307
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
14046
14308
  __decorateClass([
14047
- (0, import_typeorm83.ViewColumn)({ name: "client_first_name" })
14309
+ (0, import_typeorm87.ViewColumn)({ name: "client_first_name" })
14048
14310
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
14049
14311
  __decorateClass([
14050
- (0, import_typeorm83.ViewColumn)({ name: "client_last_name" })
14312
+ (0, import_typeorm87.ViewColumn)({ name: "client_last_name" })
14051
14313
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
14052
14314
  __decorateClass([
14053
- (0, import_typeorm83.ViewColumn)({ name: "client_email" })
14315
+ (0, import_typeorm87.ViewColumn)({ name: "client_email" })
14054
14316
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
14055
14317
  __decorateClass([
14056
- (0, import_typeorm83.ViewColumn)({ name: "client_company_logo" })
14318
+ (0, import_typeorm87.ViewColumn)({ name: "client_company_logo" })
14057
14319
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
14058
14320
  __decorateClass([
14059
- (0, import_typeorm83.ViewColumn)({ name: "client_company_name" })
14321
+ (0, import_typeorm87.ViewColumn)({ name: "client_company_name" })
14060
14322
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
14061
14323
  __decorateClass([
14062
- (0, import_typeorm83.ViewColumn)({ name: "matching_skills" })
14324
+ (0, import_typeorm87.ViewColumn)({ name: "matching_skills" })
14063
14325
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
14064
14326
  __decorateClass([
14065
- (0, import_typeorm83.ViewColumn)({ name: "matching_skills_count" })
14327
+ (0, import_typeorm87.ViewColumn)({ name: "matching_skills_count" })
14066
14328
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
14067
14329
  __decorateClass([
14068
- (0, import_typeorm83.ViewColumn)({ name: "required_skills" })
14330
+ (0, import_typeorm87.ViewColumn)({ name: "required_skills" })
14069
14331
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
14070
14332
  __decorateClass([
14071
- (0, import_typeorm83.ViewColumn)({ name: "required_skills_count" })
14333
+ (0, import_typeorm87.ViewColumn)({ name: "required_skills_count" })
14072
14334
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
14073
14335
  JobFreelancerRecommendation = __decorateClass([
14074
- (0, import_typeorm83.ViewEntity)({
14336
+ (0, import_typeorm87.ViewEntity)({
14075
14337
  name: "job_freelancer_recommendations",
14076
14338
  materialized: true,
14077
14339
  synchronize: false
@@ -14080,32 +14342,32 @@ JobFreelancerRecommendation = __decorateClass([
14080
14342
  ], JobFreelancerRecommendation);
14081
14343
 
14082
14344
  // src/entities/job-freelancer-recommendation-v2.entity.ts
14083
- var import_typeorm84 = require("typeorm");
14345
+ var import_typeorm88 = require("typeorm");
14084
14346
  var JobFreelancerRecommendationV2 = class {
14085
14347
  };
14086
14348
  __decorateClass([
14087
- (0, import_typeorm84.ViewColumn)({ name: "job_id" })
14349
+ (0, import_typeorm88.ViewColumn)({ name: "job_id" })
14088
14350
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
14089
14351
  __decorateClass([
14090
- (0, import_typeorm84.ViewColumn)({ name: "job_owner_id" })
14352
+ (0, import_typeorm88.ViewColumn)({ name: "job_owner_id" })
14091
14353
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
14092
14354
  __decorateClass([
14093
- (0, import_typeorm84.ViewColumn)({ name: "freelancer_id" })
14355
+ (0, import_typeorm88.ViewColumn)({ name: "freelancer_id" })
14094
14356
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
14095
14357
  __decorateClass([
14096
- (0, import_typeorm84.ViewColumn)({ name: "matching_skills" })
14358
+ (0, import_typeorm88.ViewColumn)({ name: "matching_skills" })
14097
14359
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
14098
14360
  __decorateClass([
14099
- (0, import_typeorm84.ViewColumn)({ name: "matching_skills_count" })
14361
+ (0, import_typeorm88.ViewColumn)({ name: "matching_skills_count" })
14100
14362
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
14101
14363
  __decorateClass([
14102
- (0, import_typeorm84.ViewColumn)({ name: "required_skills" })
14364
+ (0, import_typeorm88.ViewColumn)({ name: "required_skills" })
14103
14365
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
14104
14366
  __decorateClass([
14105
- (0, import_typeorm84.ViewColumn)({ name: "required_skills_count" })
14367
+ (0, import_typeorm88.ViewColumn)({ name: "required_skills_count" })
14106
14368
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
14107
14369
  JobFreelancerRecommendationV2 = __decorateClass([
14108
- (0, import_typeorm84.ViewEntity)({
14370
+ (0, import_typeorm88.ViewEntity)({
14109
14371
  name: "job_freelancer_recommendations_v2",
14110
14372
  materialized: true,
14111
14373
  synchronize: false
@@ -14114,74 +14376,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
14114
14376
  ], JobFreelancerRecommendationV2);
14115
14377
 
14116
14378
  // src/entities/client-freelancer-recommendation.entity.ts
14117
- var import_typeorm85 = require("typeorm");
14379
+ var import_typeorm89 = require("typeorm");
14118
14380
  var ClientFreelancerRecommendation = class {
14119
14381
  };
14120
14382
  __decorateClass([
14121
- (0, import_typeorm85.ViewColumn)({ name: "client_id" })
14383
+ (0, import_typeorm89.ViewColumn)({ name: "client_id" })
14122
14384
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
14123
14385
  __decorateClass([
14124
- (0, import_typeorm85.ViewColumn)({ name: "client_uuid" })
14386
+ (0, import_typeorm89.ViewColumn)({ name: "client_uuid" })
14125
14387
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
14126
14388
  __decorateClass([
14127
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_id" })
14389
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_id" })
14128
14390
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
14129
14391
  __decorateClass([
14130
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_uuid" })
14392
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_uuid" })
14131
14393
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
14132
14394
  __decorateClass([
14133
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_unique_id" })
14395
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_unique_id" })
14134
14396
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
14135
14397
  __decorateClass([
14136
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_first_name" })
14398
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_first_name" })
14137
14399
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
14138
14400
  __decorateClass([
14139
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_last_name" })
14401
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_last_name" })
14140
14402
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
14141
14403
  __decorateClass([
14142
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_email" })
14404
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_email" })
14143
14405
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
14144
14406
  __decorateClass([
14145
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_profile_picture" })
14407
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_profile_picture" })
14146
14408
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
14147
14409
  __decorateClass([
14148
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_is_social" })
14410
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_is_social" })
14149
14411
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
14150
14412
  __decorateClass([
14151
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_created_at" })
14413
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_created_at" })
14152
14414
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
14153
14415
  __decorateClass([
14154
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_designation" })
14416
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_designation" })
14155
14417
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
14156
14418
  __decorateClass([
14157
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_experience" })
14419
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_experience" })
14158
14420
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
14159
14421
  __decorateClass([
14160
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_expertshub_verified" })
14422
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_expertshub_verified" })
14161
14423
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
14162
14424
  __decorateClass([
14163
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_hourly_compensation" })
14425
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_hourly_compensation" })
14164
14426
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
14165
14427
  __decorateClass([
14166
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_country_name" })
14428
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_country_name" })
14167
14429
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
14168
14430
  __decorateClass([
14169
- (0, import_typeorm85.ViewColumn)({ name: "freelancer_country_iso_code" })
14431
+ (0, import_typeorm89.ViewColumn)({ name: "freelancer_country_iso_code" })
14170
14432
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
14171
14433
  __decorateClass([
14172
- (0, import_typeorm85.ViewColumn)({ name: "matching_skills" })
14434
+ (0, import_typeorm89.ViewColumn)({ name: "matching_skills" })
14173
14435
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
14174
14436
  __decorateClass([
14175
- (0, import_typeorm85.ViewColumn)({ name: "matching_skills_count" })
14437
+ (0, import_typeorm89.ViewColumn)({ name: "matching_skills_count" })
14176
14438
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
14177
14439
  __decorateClass([
14178
- (0, import_typeorm85.ViewColumn)({ name: "required_skills" })
14440
+ (0, import_typeorm89.ViewColumn)({ name: "required_skills" })
14179
14441
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
14180
14442
  __decorateClass([
14181
- (0, import_typeorm85.ViewColumn)({ name: "required_skills_count" })
14443
+ (0, import_typeorm89.ViewColumn)({ name: "required_skills_count" })
14182
14444
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
14183
14445
  ClientFreelancerRecommendation = __decorateClass([
14184
- (0, import_typeorm85.ViewEntity)({
14446
+ (0, import_typeorm89.ViewEntity)({
14185
14447
  name: "client_freelancer_recommendations",
14186
14448
  materialized: true,
14187
14449
  synchronize: false
@@ -14190,7 +14452,7 @@ ClientFreelancerRecommendation = __decorateClass([
14190
14452
  ], ClientFreelancerRecommendation);
14191
14453
 
14192
14454
  // src/entities/commission.entity.ts
14193
- var import_typeorm86 = require("typeorm");
14455
+ var import_typeorm90 = require("typeorm");
14194
14456
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
14195
14457
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
14196
14458
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -14199,7 +14461,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
14199
14461
  var Commission = class extends BaseEntity {
14200
14462
  };
14201
14463
  __decorateClass([
14202
- (0, import_typeorm86.Column)({
14464
+ (0, import_typeorm90.Column)({
14203
14465
  name: "freelancer_commission_type",
14204
14466
  type: "enum",
14205
14467
  enum: CommissionTypeEnum,
@@ -14207,10 +14469,10 @@ __decorateClass([
14207
14469
  })
14208
14470
  ], Commission.prototype, "freelancerCommissionType", 2);
14209
14471
  __decorateClass([
14210
- (0, import_typeorm86.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
14472
+ (0, import_typeorm90.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
14211
14473
  ], Commission.prototype, "freelancerCommission", 2);
14212
14474
  __decorateClass([
14213
- (0, import_typeorm86.Column)({
14475
+ (0, import_typeorm90.Column)({
14214
14476
  name: "client_commission_type",
14215
14477
  type: "enum",
14216
14478
  enum: CommissionTypeEnum,
@@ -14218,50 +14480,50 @@ __decorateClass([
14218
14480
  })
14219
14481
  ], Commission.prototype, "clientCommissionType", 2);
14220
14482
  __decorateClass([
14221
- (0, import_typeorm86.Column)({ name: "client_commission", type: "integer", default: 0 })
14483
+ (0, import_typeorm90.Column)({ name: "client_commission", type: "integer", default: 0 })
14222
14484
  ], Commission.prototype, "clientCommission", 2);
14223
14485
  Commission = __decorateClass([
14224
- (0, import_typeorm86.Entity)("commissions")
14486
+ (0, import_typeorm90.Entity)("commissions")
14225
14487
  ], Commission);
14226
14488
 
14227
14489
  // src/entities/calendly-meeting-log.entity.ts
14228
- var import_typeorm87 = require("typeorm");
14490
+ var import_typeorm91 = require("typeorm");
14229
14491
  var CalendlyMeetingLog = class extends BaseEntity {
14230
14492
  };
14231
14493
  __decorateClass([
14232
- (0, import_typeorm87.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
14233
- (0, import_typeorm87.Index)()
14494
+ (0, import_typeorm91.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
14495
+ (0, import_typeorm91.Index)()
14234
14496
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
14235
14497
  __decorateClass([
14236
- (0, import_typeorm87.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
14498
+ (0, import_typeorm91.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
14237
14499
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
14238
14500
  __decorateClass([
14239
- (0, import_typeorm87.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14501
+ (0, import_typeorm91.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14240
14502
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
14241
14503
  CalendlyMeetingLog = __decorateClass([
14242
- (0, import_typeorm87.Entity)("calendly_meeting_logs")
14504
+ (0, import_typeorm91.Entity)("calendly_meeting_logs")
14243
14505
  ], CalendlyMeetingLog);
14244
14506
 
14245
14507
  // src/entities/zoom-meeting-log.entity.ts
14246
- var import_typeorm88 = require("typeorm");
14508
+ var import_typeorm92 = require("typeorm");
14247
14509
  var ZoomMeetingLog = class extends BaseEntity {
14248
14510
  };
14249
14511
  __decorateClass([
14250
- (0, import_typeorm88.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
14251
- (0, import_typeorm88.Index)()
14512
+ (0, import_typeorm92.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
14513
+ (0, import_typeorm92.Index)()
14252
14514
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
14253
14515
  __decorateClass([
14254
- (0, import_typeorm88.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
14516
+ (0, import_typeorm92.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
14255
14517
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
14256
14518
  __decorateClass([
14257
- (0, import_typeorm88.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14519
+ (0, import_typeorm92.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14258
14520
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
14259
14521
  ZoomMeetingLog = __decorateClass([
14260
- (0, import_typeorm88.Entity)("zoom_meeting_logs")
14522
+ (0, import_typeorm92.Entity)("zoom_meeting_logs")
14261
14523
  ], ZoomMeetingLog);
14262
14524
 
14263
14525
  // src/entities/docuseal.entity.ts
14264
- var import_typeorm89 = require("typeorm");
14526
+ var import_typeorm93 = require("typeorm");
14265
14527
  var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
14266
14528
  DocuSealTypeEnum2["FREELANCER_SERVICE_AGGREMENT"] = "FREELANCER_SERVICE_AGGREMENT";
14267
14529
  DocuSealTypeEnum2["CLIENT_SERVICE_AGGREMENT"] = "CLIENT_SERVICE_AGGREMENT";
@@ -14271,132 +14533,132 @@ var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
14271
14533
  var DocuSeal = class extends BaseEntity {
14272
14534
  };
14273
14535
  __decorateClass([
14274
- (0, import_typeorm89.Column)({ name: "reference_id", type: "integer", nullable: false }),
14275
- (0, import_typeorm89.Index)()
14536
+ (0, import_typeorm93.Column)({ name: "reference_id", type: "integer", nullable: false }),
14537
+ (0, import_typeorm93.Index)()
14276
14538
  ], DocuSeal.prototype, "referenceId", 2);
14277
14539
  __decorateClass([
14278
- (0, import_typeorm89.Column)({ name: "submitter_id", type: "integer", nullable: true }),
14279
- (0, import_typeorm89.Index)()
14540
+ (0, import_typeorm93.Column)({ name: "submitter_id", type: "integer", nullable: true }),
14541
+ (0, import_typeorm93.Index)()
14280
14542
  ], DocuSeal.prototype, "submitterId", 2);
14281
14543
  __decorateClass([
14282
- (0, import_typeorm89.Column)({ name: "submitter_response", type: "jsonb", nullable: true })
14544
+ (0, import_typeorm93.Column)({ name: "submitter_response", type: "jsonb", nullable: true })
14283
14545
  ], DocuSeal.prototype, "submitterResponse", 2);
14284
14546
  __decorateClass([
14285
- (0, import_typeorm89.Column)({ name: "webhook_response", type: "jsonb", nullable: true })
14547
+ (0, import_typeorm93.Column)({ name: "webhook_response", type: "jsonb", nullable: true })
14286
14548
  ], DocuSeal.prototype, "webhookResponse", 2);
14287
14549
  __decorateClass([
14288
- (0, import_typeorm89.Column)({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
14550
+ (0, import_typeorm93.Column)({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
14289
14551
  ], DocuSeal.prototype, "type", 2);
14290
14552
  DocuSeal = __decorateClass([
14291
- (0, import_typeorm89.Entity)("docuseal")
14553
+ (0, import_typeorm93.Entity)("docuseal")
14292
14554
  ], DocuSeal);
14293
14555
 
14294
14556
  // src/entities/stripe-logs.entity.ts
14295
- var import_typeorm90 = require("typeorm");
14557
+ var import_typeorm94 = require("typeorm");
14296
14558
  var StripeLog = class extends BaseEntity {
14297
14559
  };
14298
14560
  __decorateClass([
14299
- (0, import_typeorm90.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
14561
+ (0, import_typeorm94.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
14300
14562
  ], StripeLog.prototype, "stripeEventId", 2);
14301
14563
  __decorateClass([
14302
- (0, import_typeorm90.Column)({ name: "event_type", type: "varchar", nullable: true })
14564
+ (0, import_typeorm94.Column)({ name: "event_type", type: "varchar", nullable: true })
14303
14565
  ], StripeLog.prototype, "eventType", 2);
14304
14566
  __decorateClass([
14305
- (0, import_typeorm90.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
14567
+ (0, import_typeorm94.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
14306
14568
  ], StripeLog.prototype, "stripeAccountId", 2);
14307
14569
  __decorateClass([
14308
- (0, import_typeorm90.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14570
+ (0, import_typeorm94.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14309
14571
  ], StripeLog.prototype, "rawWebhookData", 2);
14310
14572
  StripeLog = __decorateClass([
14311
- (0, import_typeorm90.Entity)("stripe_logs")
14573
+ (0, import_typeorm94.Entity)("stripe_logs")
14312
14574
  ], StripeLog);
14313
14575
 
14314
14576
  // src/entities/recommendation-weightage-config.entity.ts
14315
- var import_typeorm91 = require("typeorm");
14577
+ var import_typeorm95 = require("typeorm");
14316
14578
  var RecommendationWeightageConfig = class extends BaseEntity {
14317
14579
  };
14318
14580
  __decorateClass([
14319
- (0, import_typeorm91.Column)({
14581
+ (0, import_typeorm95.Column)({
14320
14582
  type: "varchar",
14321
14583
  length: 100,
14322
14584
  unique: true,
14323
14585
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
14324
14586
  }),
14325
- (0, import_typeorm91.Index)()
14587
+ (0, import_typeorm95.Index)()
14326
14588
  ], RecommendationWeightageConfig.prototype, "key", 2);
14327
14589
  __decorateClass([
14328
- (0, import_typeorm91.Column)({
14590
+ (0, import_typeorm95.Column)({
14329
14591
  type: "jsonb",
14330
14592
  comment: "JSON object containing weight values",
14331
14593
  nullable: true
14332
14594
  })
14333
14595
  ], RecommendationWeightageConfig.prototype, "value", 2);
14334
14596
  __decorateClass([
14335
- (0, import_typeorm91.Column)({ name: "is_active", type: "boolean", default: true })
14597
+ (0, import_typeorm95.Column)({ name: "is_active", type: "boolean", default: true })
14336
14598
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
14337
14599
  RecommendationWeightageConfig = __decorateClass([
14338
- (0, import_typeorm91.Entity)("recommendation_weightage_configs")
14600
+ (0, import_typeorm95.Entity)("recommendation_weightage_configs")
14339
14601
  ], RecommendationWeightageConfig);
14340
14602
 
14341
14603
  // src/entities/global-setting.entity.ts
14342
- var import_typeorm92 = require("typeorm");
14604
+ var import_typeorm96 = require("typeorm");
14343
14605
  var GlobalSetting = class extends BaseEntity {
14344
14606
  };
14345
14607
  __decorateClass([
14346
- (0, import_typeorm92.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
14608
+ (0, import_typeorm96.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
14347
14609
  ], GlobalSetting.prototype, "key", 2);
14348
14610
  __decorateClass([
14349
- (0, import_typeorm92.Column)({ name: "value", type: "text", nullable: false })
14611
+ (0, import_typeorm96.Column)({ name: "value", type: "text", nullable: false })
14350
14612
  ], GlobalSetting.prototype, "value", 2);
14351
14613
  GlobalSetting = __decorateClass([
14352
- (0, import_typeorm92.Entity)("global_settings"),
14353
- (0, import_typeorm92.Index)(["key"], { unique: true })
14614
+ (0, import_typeorm96.Entity)("global_settings"),
14615
+ (0, import_typeorm96.Index)(["key"], { unique: true })
14354
14616
  ], GlobalSetting);
14355
14617
 
14356
14618
  // src/entities/plan.entity.ts
14357
- var import_typeorm95 = require("typeorm");
14619
+ var import_typeorm99 = require("typeorm");
14358
14620
 
14359
14621
  // src/entities/plan-feature.entity.ts
14360
- var import_typeorm93 = require("typeorm");
14622
+ var import_typeorm97 = require("typeorm");
14361
14623
  var PlanFeature = class extends BaseEntity {
14362
14624
  };
14363
14625
  // individual index to find features by plan
14364
14626
  __decorateClass([
14365
- (0, import_typeorm93.Column)({ name: "plan_id", type: "integer", nullable: false }),
14366
- (0, import_typeorm93.Index)()
14627
+ (0, import_typeorm97.Column)({ name: "plan_id", type: "integer", nullable: false }),
14628
+ (0, import_typeorm97.Index)()
14367
14629
  ], PlanFeature.prototype, "planId", 2);
14368
14630
  __decorateClass([
14369
- (0, import_typeorm93.ManyToOne)(() => Plan, (plan) => plan.features, {
14631
+ (0, import_typeorm97.ManyToOne)(() => Plan, (plan) => plan.features, {
14370
14632
  onDelete: "CASCADE",
14371
14633
  nullable: false
14372
14634
  }),
14373
- (0, import_typeorm93.JoinColumn)({ name: "plan_id" })
14635
+ (0, import_typeorm97.JoinColumn)({ name: "plan_id" })
14374
14636
  ], PlanFeature.prototype, "plan", 2);
14375
14637
  __decorateClass([
14376
- (0, import_typeorm93.Column)({ name: "name", type: "varchar", length: 200 })
14638
+ (0, import_typeorm97.Column)({ name: "name", type: "varchar", length: 200 })
14377
14639
  ], PlanFeature.prototype, "name", 2);
14378
14640
  __decorateClass([
14379
- (0, import_typeorm93.Column)({ name: "slug", type: "varchar", length: 100 }),
14380
- (0, import_typeorm93.Index)()
14641
+ (0, import_typeorm97.Column)({ name: "slug", type: "varchar", length: 100 }),
14642
+ (0, import_typeorm97.Index)()
14381
14643
  ], PlanFeature.prototype, "slug", 2);
14382
14644
  __decorateClass([
14383
- (0, import_typeorm93.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14645
+ (0, import_typeorm97.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14384
14646
  ], PlanFeature.prototype, "tooltip", 2);
14385
14647
  __decorateClass([
14386
- (0, import_typeorm93.Column)({ name: "sort_order", type: "smallint", default: 0 })
14648
+ (0, import_typeorm97.Column)({ name: "sort_order", type: "smallint", default: 0 })
14387
14649
  ], PlanFeature.prototype, "sortOrder", 2);
14388
14650
  __decorateClass([
14389
- (0, import_typeorm93.Column)({ name: "is_active", type: "boolean", default: true })
14651
+ (0, import_typeorm97.Column)({ name: "is_active", type: "boolean", default: true })
14390
14652
  ], PlanFeature.prototype, "isActive", 2);
14391
14653
  PlanFeature = __decorateClass([
14392
- (0, import_typeorm93.Entity)("plan_features"),
14393
- (0, import_typeorm93.Index)("idx_plan_features_plan_id", ["planId"]),
14394
- (0, import_typeorm93.Index)("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
14395
- (0, import_typeorm93.Check)("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
14654
+ (0, import_typeorm97.Entity)("plan_features"),
14655
+ (0, import_typeorm97.Index)("idx_plan_features_plan_id", ["planId"]),
14656
+ (0, import_typeorm97.Index)("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
14657
+ (0, import_typeorm97.Check)("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
14396
14658
  ], PlanFeature);
14397
14659
 
14398
14660
  // src/entities/plan-pricing.entity.ts
14399
- var import_typeorm94 = require("typeorm");
14661
+ var import_typeorm98 = require("typeorm");
14400
14662
  var PlanPricingBillingCycleEnum = /* @__PURE__ */ ((PlanPricingBillingCycleEnum2) => {
14401
14663
  PlanPricingBillingCycleEnum2["MONTHLY"] = "monthly";
14402
14664
  PlanPricingBillingCycleEnum2["YEARLY"] = "yearly";
@@ -14451,61 +14713,61 @@ var PlanPricing = class extends BaseEntity {
14451
14713
  };
14452
14714
  // individual index to find pricing by plan
14453
14715
  __decorateClass([
14454
- (0, import_typeorm94.Column)({ name: "plan_id", type: "integer", nullable: false }),
14455
- (0, import_typeorm94.Index)()
14716
+ (0, import_typeorm98.Column)({ name: "plan_id", type: "integer", nullable: false }),
14717
+ (0, import_typeorm98.Index)()
14456
14718
  ], PlanPricing.prototype, "planId", 2);
14457
14719
  __decorateClass([
14458
- (0, import_typeorm94.ManyToOne)(() => Plan, (plan) => plan.pricing, {
14720
+ (0, import_typeorm98.ManyToOne)(() => Plan, (plan) => plan.pricing, {
14459
14721
  onDelete: "CASCADE",
14460
14722
  nullable: false
14461
14723
  }),
14462
- (0, import_typeorm94.JoinColumn)({ name: "plan_id" })
14724
+ (0, import_typeorm98.JoinColumn)({ name: "plan_id" })
14463
14725
  ], PlanPricing.prototype, "plan", 2);
14464
14726
  __decorateClass([
14465
- (0, import_typeorm94.Column)({
14727
+ (0, import_typeorm98.Column)({
14466
14728
  name: "billing_cycle",
14467
14729
  type: "enum",
14468
14730
  enum: PlanPricingBillingCycleEnum
14469
14731
  })
14470
14732
  ], PlanPricing.prototype, "billingCycle", 2);
14471
14733
  __decorateClass([
14472
- (0, import_typeorm94.Column)({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
14734
+ (0, import_typeorm98.Column)({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
14473
14735
  ], PlanPricing.prototype, "price", 2);
14474
14736
  __decorateClass([
14475
- (0, import_typeorm94.Column)({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
14737
+ (0, import_typeorm98.Column)({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
14476
14738
  ], PlanPricing.prototype, "originalPrice", 2);
14477
14739
  __decorateClass([
14478
- (0, import_typeorm94.Column)({ name: "discount_pct", type: "decimal", precision: 5, scale: 2, nullable: true })
14740
+ (0, import_typeorm98.Column)({ name: "discount_pct", type: "decimal", precision: 5, scale: 2, nullable: true })
14479
14741
  ], PlanPricing.prototype, "discountPct", 2);
14480
14742
  __decorateClass([
14481
- (0, import_typeorm94.Column)({ name: "currency", type: "varchar", length: 3, default: "USD" })
14743
+ (0, import_typeorm98.Column)({ name: "currency", type: "varchar", length: 3, default: "USD" })
14482
14744
  ], PlanPricing.prototype, "currency", 2);
14483
14745
  __decorateClass([
14484
- (0, import_typeorm94.Column)({ name: "is_free", type: "boolean", default: false })
14746
+ (0, import_typeorm98.Column)({ name: "is_free", type: "boolean", default: false })
14485
14747
  ], PlanPricing.prototype, "isFree", 2);
14486
14748
  __decorateClass([
14487
- (0, import_typeorm94.Column)({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
14749
+ (0, import_typeorm98.Column)({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
14488
14750
  ], PlanPricing.prototype, "stripePriceId", 2);
14489
14751
  __decorateClass([
14490
- (0, import_typeorm94.Column)({ name: "trial_days", type: "smallint", default: 0 })
14752
+ (0, import_typeorm98.Column)({ name: "trial_days", type: "smallint", default: 0 })
14491
14753
  ], PlanPricing.prototype, "trialDays", 2);
14492
14754
  __decorateClass([
14493
- (0, import_typeorm94.Column)({ name: "is_active", type: "boolean", default: true })
14755
+ (0, import_typeorm98.Column)({ name: "is_active", type: "boolean", default: true })
14494
14756
  ], PlanPricing.prototype, "isActive", 2);
14495
14757
  __decorateClass([
14496
- (0, import_typeorm94.BeforeInsert)(),
14497
- (0, import_typeorm94.BeforeUpdate)()
14758
+ (0, import_typeorm98.BeforeInsert)(),
14759
+ (0, import_typeorm98.BeforeUpdate)()
14498
14760
  ], PlanPricing.prototype, "sanitize", 1);
14499
14761
  PlanPricing = __decorateClass([
14500
- (0, import_typeorm94.Entity)("plan_pricings"),
14501
- (0, import_typeorm94.Unique)("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
14502
- (0, import_typeorm94.Index)("idx_plan_pricings_plan_id", ["planId"]),
14503
- (0, import_typeorm94.Index)("idx_plan_pricings_active", ["isActive", "billingCycle"]),
14504
- (0, import_typeorm94.Check)("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
14505
- (0, import_typeorm94.Check)("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
14506
- (0, import_typeorm94.Check)("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
14507
- (0, import_typeorm94.Check)("chk_plan_pricings_original_gte_price", '"original_price" IS NULL OR "original_price" >= "price"'),
14508
- (0, import_typeorm94.Check)("chk_plan_pricings_original_price_non_negative", '"original_price" IS NULL OR "original_price" >= 0')
14762
+ (0, import_typeorm98.Entity)("plan_pricings"),
14763
+ (0, import_typeorm98.Unique)("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
14764
+ (0, import_typeorm98.Index)("idx_plan_pricings_plan_id", ["planId"]),
14765
+ (0, import_typeorm98.Index)("idx_plan_pricings_active", ["isActive", "billingCycle"]),
14766
+ (0, import_typeorm98.Check)("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
14767
+ (0, import_typeorm98.Check)("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
14768
+ (0, import_typeorm98.Check)("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
14769
+ (0, import_typeorm98.Check)("chk_plan_pricings_original_gte_price", '"original_price" IS NULL OR "original_price" >= "price"'),
14770
+ (0, import_typeorm98.Check)("chk_plan_pricings_original_price_non_negative", '"original_price" IS NULL OR "original_price" >= 0')
14509
14771
  ], PlanPricing);
14510
14772
 
14511
14773
  // src/entities/plan.entity.ts
@@ -14522,22 +14784,22 @@ var Plan = class extends BaseEntity {
14522
14784
  }
14523
14785
  };
14524
14786
  __decorateClass([
14525
- (0, import_typeorm95.Column)({ name: "name", type: "varchar", length: 100 })
14787
+ (0, import_typeorm99.Column)({ name: "name", type: "varchar", length: 100 })
14526
14788
  ], Plan.prototype, "name", 2);
14527
14789
  __decorateClass([
14528
- (0, import_typeorm95.Column)({ name: "slug", type: "varchar", length: 100 })
14790
+ (0, import_typeorm99.Column)({ name: "slug", type: "varchar", length: 100 })
14529
14791
  ], Plan.prototype, "slug", 2);
14530
14792
  __decorateClass([
14531
- (0, import_typeorm95.Column)({ name: "badge_label", type: "varchar", length: 60, nullable: true })
14793
+ (0, import_typeorm99.Column)({ name: "badge_label", type: "varchar", length: 60, nullable: true })
14532
14794
  ], Plan.prototype, "badgeLabel", 2);
14533
14795
  __decorateClass([
14534
- (0, import_typeorm95.Column)({ name: "sort_order", type: "smallint", default: 0 })
14796
+ (0, import_typeorm99.Column)({ name: "sort_order", type: "smallint", default: 0 })
14535
14797
  ], Plan.prototype, "sortOrder", 2);
14536
14798
  __decorateClass([
14537
- (0, import_typeorm95.Column)({ name: "is_active", type: "boolean", default: true })
14799
+ (0, import_typeorm99.Column)({ name: "is_active", type: "boolean", default: true })
14538
14800
  ], Plan.prototype, "isActive", 2);
14539
14801
  __decorateClass([
14540
- (0, import_typeorm95.Column)({
14802
+ (0, import_typeorm99.Column)({
14541
14803
  name: "plan_type",
14542
14804
  type: "enum",
14543
14805
  enum: PlanTypeEnum,
@@ -14545,31 +14807,31 @@ __decorateClass([
14545
14807
  })
14546
14808
  ], Plan.prototype, "planType", 2);
14547
14809
  __decorateClass([
14548
- (0, import_typeorm95.Column)({ name: "metadata", type: "jsonb", default: {} })
14810
+ (0, import_typeorm99.Column)({ name: "metadata", type: "jsonb", default: {} })
14549
14811
  ], Plan.prototype, "metadata", 2);
14550
14812
  __decorateClass([
14551
- (0, import_typeorm95.BeforeInsert)(),
14552
- (0, import_typeorm95.BeforeUpdate)()
14813
+ (0, import_typeorm99.BeforeInsert)(),
14814
+ (0, import_typeorm99.BeforeUpdate)()
14553
14815
  ], Plan.prototype, "createSlug", 1);
14554
14816
  __decorateClass([
14555
- (0, import_typeorm95.OneToMany)(() => PlanFeature, (feature) => feature.plan, {
14817
+ (0, import_typeorm99.OneToMany)(() => PlanFeature, (feature) => feature.plan, {
14556
14818
  cascade: ["insert", "update"]
14557
14819
  })
14558
14820
  ], Plan.prototype, "features", 2);
14559
14821
  __decorateClass([
14560
- (0, import_typeorm95.OneToMany)(() => PlanPricing, (pricing) => pricing.plan, {
14822
+ (0, import_typeorm99.OneToMany)(() => PlanPricing, (pricing) => pricing.plan, {
14561
14823
  cascade: ["insert", "update"]
14562
14824
  })
14563
14825
  ], Plan.prototype, "pricing", 2);
14564
14826
  Plan = __decorateClass([
14565
- (0, import_typeorm95.Entity)("plans"),
14566
- (0, import_typeorm95.Index)("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14567
- (0, import_typeorm95.Index)("idx_plans_active_sort", ["isActive", "sortOrder"]),
14568
- (0, import_typeorm95.Check)("chk_plans_sort_order_positive", '"sort_order" >= 0')
14827
+ (0, import_typeorm99.Entity)("plans"),
14828
+ (0, import_typeorm99.Index)("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14829
+ (0, import_typeorm99.Index)("idx_plans_active_sort", ["isActive", "sortOrder"]),
14830
+ (0, import_typeorm99.Check)("chk_plans_sort_order_positive", '"sort_order" >= 0')
14569
14831
  ], Plan);
14570
14832
 
14571
14833
  // src/entities/subscription-feature.entity.ts
14572
- var import_typeorm96 = require("typeorm");
14834
+ var import_typeorm100 = require("typeorm");
14573
14835
  var SubscriptionFeature = class extends BaseEntity {
14574
14836
  toSlug(value) {
14575
14837
  return value.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "").replace(/-+/g, "-").replace(/^-|-$/g, "");
@@ -14584,29 +14846,29 @@ var SubscriptionFeature = class extends BaseEntity {
14584
14846
  }
14585
14847
  };
14586
14848
  __decorateClass([
14587
- (0, import_typeorm96.Column)({ name: "name", type: "varchar", length: 200 })
14849
+ (0, import_typeorm100.Column)({ name: "name", type: "varchar", length: 200 })
14588
14850
  ], SubscriptionFeature.prototype, "name", 2);
14589
14851
  __decorateClass([
14590
- (0, import_typeorm96.Column)({ name: "slug", type: "varchar", length: 100 })
14852
+ (0, import_typeorm100.Column)({ name: "slug", type: "varchar", length: 100 })
14591
14853
  ], SubscriptionFeature.prototype, "slug", 2);
14592
14854
  __decorateClass([
14593
- (0, import_typeorm96.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14855
+ (0, import_typeorm100.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14594
14856
  ], SubscriptionFeature.prototype, "tooltip", 2);
14595
14857
  __decorateClass([
14596
- (0, import_typeorm96.Column)({ name: "sort_order", type: "smallint", default: 0 })
14858
+ (0, import_typeorm100.Column)({ name: "sort_order", type: "smallint", default: 0 })
14597
14859
  ], SubscriptionFeature.prototype, "sortOrder", 2);
14598
14860
  __decorateClass([
14599
- (0, import_typeorm96.Column)({ name: "is_active", type: "boolean", default: true })
14861
+ (0, import_typeorm100.Column)({ name: "is_active", type: "boolean", default: true })
14600
14862
  ], SubscriptionFeature.prototype, "isActive", 2);
14601
14863
  __decorateClass([
14602
- (0, import_typeorm96.BeforeInsert)(),
14603
- (0, import_typeorm96.BeforeUpdate)()
14864
+ (0, import_typeorm100.BeforeInsert)(),
14865
+ (0, import_typeorm100.BeforeUpdate)()
14604
14866
  ], SubscriptionFeature.prototype, "createSlug", 1);
14605
14867
  SubscriptionFeature = __decorateClass([
14606
- (0, import_typeorm96.Entity)("subscription_features"),
14607
- (0, import_typeorm96.Index)("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14608
- (0, import_typeorm96.Index)("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
14609
- (0, import_typeorm96.Check)("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
14868
+ (0, import_typeorm100.Entity)("subscription_features"),
14869
+ (0, import_typeorm100.Index)("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14870
+ (0, import_typeorm100.Index)("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
14871
+ (0, import_typeorm100.Check)("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
14610
14872
  ], SubscriptionFeature);
14611
14873
  // Annotate the CommonJS export names for ESM import in node:
14612
14874
  0 && (module.exports = {
@@ -15033,6 +15295,13 @@ SubscriptionFeature = __decorateClass([
15033
15295
  UpdateTaskDto,
15034
15296
  User,
15035
15297
  UserRMQAdapter,
15298
+ UserSubscription,
15299
+ UserSubscriptionPlan,
15300
+ UserSubscriptionPlanFeature,
15301
+ UserSubscriptionPlanPricing,
15302
+ UserSubscriptionPlanPricingBillingCycleEnum,
15303
+ UserSubscriptionPlanTypeEnum,
15304
+ UserSubscriptionStatusEnum,
15036
15305
  UserTCPAdapter,
15037
15306
  ValidateEmailDto,
15038
15307
  ValidateEmailForLoginDto,