@experts_hub/shared 1.0.734 → 1.0.737

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
@@ -133,6 +133,7 @@ __export(index_exports, {
133
133
  CompanyRole: () => CompanyRole,
134
134
  CompanyRolePermission: () => CompanyRolePermission,
135
135
  CompanySkill: () => CompanySkill,
136
+ ContactDetailsDto: () => ContactDetailsDto,
136
137
  Contract: () => Contract,
137
138
  ContractRMQAdapter: () => ContractRMQAdapter,
138
139
  ContractStatusEnum: () => ContractStatusEnum,
@@ -151,6 +152,7 @@ __export(index_exports, {
151
152
  CreateCompanyRoleDto: () => CreateCompanyRoleDto,
152
153
  CreateDefaultTimesheetLineDto: () => CreateDefaultTimesheetLineDto,
153
154
  CreateDisputeDto: () => CreateDisputeDto,
155
+ CreateEkycSessionDto: () => CreateEkycSessionDto,
154
156
  CreateF2FInterviewDirectDto: () => CreateF2FInterviewDirectDto,
155
157
  CreateF2FInterviewDto: () => CreateF2FInterviewDto,
156
158
  CreateF2FInterviewRescheduleRequestDto: () => CreateF2FInterviewRescheduleRequestDto,
@@ -173,6 +175,7 @@ __export(index_exports, {
173
175
  CreateTaskQueryDto: () => CreateTaskQueryDto,
174
176
  CreateUserSigningDto: () => CreateUserSigningDto,
175
177
  CustomQuestionItemDto: () => CustomQuestionItemDto,
178
+ DIDIT_PATTERN: () => DIDIT_PATTERN,
176
179
  DISPUTE_PATTERN: () => DISPUTE_PATTERN,
177
180
  DOCUSEAL_PATTERN: () => DOCUSEAL_PATTERN,
178
181
  DebitCommissionFteHiringDto: () => DebitCommissionFteHiringDto,
@@ -188,7 +191,7 @@ __export(index_exports, {
188
191
  DurationTypeEnum: () => DurationTypeEnum,
189
192
  EMAIL_PATTERN: () => EMAIL_PATTERN,
190
193
  EducationDto: () => EducationDto,
191
- EkycVerifcationLog: () => EkycVerifcationLog,
194
+ EkycVerificationLog: () => EkycVerificationLog,
192
195
  EkycVerificationLogStatusEnum: () => EkycVerificationLogStatusEnum,
193
196
  EkycVerificationSession: () => EkycVerificationSession,
194
197
  EkycVerificationSessionStatusEnum: () => EkycVerificationSessionStatusEnum,
@@ -200,6 +203,7 @@ __export(index_exports, {
200
203
  EsignContractClientDto: () => EsignContractClientDto,
201
204
  EsignContractFreelancerDto: () => EsignContractFreelancerDto,
202
205
  ExistingCandidateDto: () => ExistingCandidateDto2,
206
+ ExpectedDetailsDto: () => ExpectedDetailsDto,
203
207
  ExperienceDto: () => ExperienceDto,
204
208
  F2FInterview: () => F2FInterview,
205
209
  F2FInterviewSchedule: () => F2FInterviewSchedule,
@@ -318,6 +322,7 @@ __export(index_exports, {
318
322
  MarkTaskAsCompletedDto: () => MarkTaskAsCompletedDto,
319
323
  MarkTaskQueryMessagesReadDto: () => MarkTaskQueryMessagesReadDto,
320
324
  McqStatusEnum: () => McqStatusEnum,
325
+ MetadataDto: () => MetadataDto,
321
326
  ModeOfHire: () => ModeOfHire,
322
327
  ModeOfWork: () => ModeOfWork,
323
328
  NOTIFICATION_PATTERN: () => NOTIFICATION_PATTERN,
@@ -1500,7 +1505,7 @@ __decorateClass([
1500
1505
  var import_class_validator37 = require("class-validator");
1501
1506
 
1502
1507
  // src/entities/user.entity.ts
1503
- var import_typeorm81 = require("typeorm");
1508
+ var import_typeorm82 = require("typeorm");
1504
1509
 
1505
1510
  // src/entities/base.entity.ts
1506
1511
  var import_typeorm = require("typeorm");
@@ -2312,6 +2317,9 @@ __decorateClass([
2312
2317
  __decorateClass([
2313
2318
  (0, import_typeorm9.Column)({ name: "experience", type: "varchar", nullable: true })
2314
2319
  ], FreelancerProfile.prototype, "experience", 2);
2320
+ __decorateClass([
2321
+ (0, import_typeorm9.Column)({ name: "migrated_experience", type: "varchar", nullable: true })
2322
+ ], FreelancerProfile.prototype, "migratedExperience", 2);
2315
2323
  __decorateClass([
2316
2324
  (0, import_typeorm9.Column)({ name: "address", type: "varchar", nullable: true })
2317
2325
  ], FreelancerProfile.prototype, "address", 2);
@@ -6942,6 +6950,24 @@ __decorateClass([
6942
6950
  __decorateClass([
6943
6951
  (0, import_typeorm80.Column)({ name: "session_id", type: "varchar", unique: true })
6944
6952
  ], EkycVerificationSession.prototype, "sessionId", 2);
6953
+ __decorateClass([
6954
+ (0, import_typeorm80.Column)({ name: "session_number", type: "integer" })
6955
+ ], EkycVerificationSession.prototype, "sessionNumber", 2);
6956
+ __decorateClass([
6957
+ (0, import_typeorm80.Column)({ name: "token", type: "varchar", nullable: true })
6958
+ ], EkycVerificationSession.prototype, "token", 2);
6959
+ __decorateClass([
6960
+ (0, import_typeorm80.Column)({ name: "url", type: "varchar", nullable: true })
6961
+ ], EkycVerificationSession.prototype, "url", 2);
6962
+ __decorateClass([
6963
+ (0, import_typeorm80.Column)({ name: "vendor_data", type: "varchar", nullable: true })
6964
+ ], EkycVerificationSession.prototype, "vendorData", 2);
6965
+ __decorateClass([
6966
+ (0, import_typeorm80.Column)({ name: "meta_data", type: "jsonb", nullable: true })
6967
+ ], EkycVerificationSession.prototype, "metaData", 2);
6968
+ __decorateClass([
6969
+ (0, import_typeorm80.Column)({ name: "decision_data", type: "jsonb", nullable: true })
6970
+ ], EkycVerificationSession.prototype, "decisionData", 2);
6945
6971
  __decorateClass([
6946
6972
  (0, import_typeorm80.Column)({
6947
6973
  name: "status",
@@ -6951,13 +6977,14 @@ __decorateClass([
6951
6977
  })
6952
6978
  ], EkycVerificationSession.prototype, "status", 2);
6953
6979
  __decorateClass([
6954
- (0, import_typeorm80.Column)({
6955
- name: "token",
6956
- type: "varchar",
6957
- unique: true,
6958
- nullable: true
6959
- })
6960
- ], EkycVerificationSession.prototype, "token", 2);
6980
+ (0, import_typeorm80.Column)({ name: "callback_url", type: "varchar", nullable: true })
6981
+ ], EkycVerificationSession.prototype, "callBackUrl", 2);
6982
+ __decorateClass([
6983
+ (0, import_typeorm80.Column)({ name: "workflow_id", type: "varchar", nullable: true })
6984
+ ], EkycVerificationSession.prototype, "workflowId", 2);
6985
+ __decorateClass([
6986
+ (0, import_typeorm80.Column)({ name: "workflow_version", type: "varchar", nullable: true })
6987
+ ], EkycVerificationSession.prototype, "workflowVersion", 2);
6961
6988
  __decorateClass([
6962
6989
  (0, import_typeorm80.Column)({
6963
6990
  name: "expired_at",
@@ -6969,6 +6996,72 @@ EkycVerificationSession = __decorateClass([
6969
6996
  (0, import_typeorm80.Entity)("ekyc_verification_sessions")
6970
6997
  ], EkycVerificationSession);
6971
6998
 
6999
+ // src/entities/ekyc-verification-log.entity.ts
7000
+ var import_typeorm81 = require("typeorm");
7001
+ var EkycVerificationLogStatusEnum = /* @__PURE__ */ ((EkycVerificationLogStatusEnum2) => {
7002
+ EkycVerificationLogStatusEnum2["NOT_STARTED"] = "NOT_STARTED";
7003
+ EkycVerificationLogStatusEnum2["NOT_FINISHED"] = "NOT_FINISHED";
7004
+ EkycVerificationLogStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
7005
+ EkycVerificationLogStatusEnum2["APPROVED"] = "APPROVED";
7006
+ EkycVerificationLogStatusEnum2["DECLINED"] = "DECLINED";
7007
+ EkycVerificationLogStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
7008
+ EkycVerificationLogStatusEnum2["EXPIRED"] = "EXPIRED";
7009
+ EkycVerificationLogStatusEnum2["KYC_EXPIRED"] = "KYC_EXPIRED";
7010
+ EkycVerificationLogStatusEnum2["ABANDONED"] = "ABANDONED";
7011
+ EkycVerificationLogStatusEnum2["RESUBMITTED"] = "RESUBMITTED";
7012
+ EkycVerificationLogStatusEnum2["AWAITING_USER"] = "AWAITING_USER";
7013
+ return EkycVerificationLogStatusEnum2;
7014
+ })(EkycVerificationLogStatusEnum || {});
7015
+ var EkycVerificationLog = class {
7016
+ };
7017
+ __decorateClass([
7018
+ (0, import_typeorm81.PrimaryGeneratedColumn)("increment", { type: "integer" })
7019
+ ], EkycVerificationLog.prototype, "id", 2);
7020
+ __decorateClass([
7021
+ (0, import_typeorm81.Column)({ name: "user_id", type: "integer", nullable: true })
7022
+ ], EkycVerificationLog.prototype, "userId", 2);
7023
+ __decorateClass([
7024
+ (0, import_typeorm81.ManyToOne)(() => User, (user) => user.ekycVerificationLogs),
7025
+ (0, import_typeorm81.JoinColumn)({ name: "user_id" })
7026
+ ], EkycVerificationLog.prototype, "user", 2);
7027
+ __decorateClass([
7028
+ (0, import_typeorm81.Column)({ name: "session_id", type: "varchar", nullable: true })
7029
+ ], EkycVerificationLog.prototype, "sessionId", 2);
7030
+ __decorateClass([
7031
+ (0, import_typeorm81.Column)({ name: "workflow_id", type: "varchar", nullable: true })
7032
+ ], EkycVerificationLog.prototype, "workflowId", 2);
7033
+ __decorateClass([
7034
+ (0, import_typeorm81.Column)({ name: "callback_url", type: "varchar", nullable: true })
7035
+ ], EkycVerificationLog.prototype, "callBackUrl", 2);
7036
+ __decorateClass([
7037
+ (0, import_typeorm81.Column)({
7038
+ type: "enum",
7039
+ enum: EkycVerificationLogStatusEnum,
7040
+ nullable: true
7041
+ })
7042
+ ], EkycVerificationLog.prototype, "status", 2);
7043
+ __decorateClass([
7044
+ (0, import_typeorm81.Column)({ name: "signature_method", type: "varchar", nullable: true })
7045
+ ], EkycVerificationLog.prototype, "signatureMethod", 2);
7046
+ __decorateClass([
7047
+ (0, import_typeorm81.Column)({ name: "is_signature_valid", type: "boolean", default: false })
7048
+ ], EkycVerificationLog.prototype, "isSignatureValid", 2);
7049
+ __decorateClass([
7050
+ (0, import_typeorm81.Column)({ name: "raw_payload", type: "jsonb", nullable: true })
7051
+ ], EkycVerificationLog.prototype, "rawPayload", 2);
7052
+ __decorateClass([
7053
+ (0, import_typeorm81.Column)({ name: "headers", type: "jsonb", nullable: true })
7054
+ ], EkycVerificationLog.prototype, "headers", 2);
7055
+ __decorateClass([
7056
+ (0, import_typeorm81.Column)({ name: "error_message", type: "text", nullable: true })
7057
+ ], EkycVerificationLog.prototype, "errorMessage", 2);
7058
+ __decorateClass([
7059
+ (0, import_typeorm81.CreateDateColumn)({ name: "created_at", type: "timestamp with time zone" })
7060
+ ], EkycVerificationLog.prototype, "createdAt", 2);
7061
+ EkycVerificationLog = __decorateClass([
7062
+ (0, import_typeorm81.Entity)("ekyc_verification_logs")
7063
+ ], EkycVerificationLog);
7064
+
6972
7065
  // src/entities/user.entity.ts
6973
7066
  var AccountType2 = /* @__PURE__ */ ((AccountType4) => {
6974
7067
  AccountType4["SUPER_ADMIN"] = "SUPER_ADMIN";
@@ -6995,57 +7088,57 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
6995
7088
  var User = class extends BaseEntity {
6996
7089
  };
6997
7090
  __decorateClass([
6998
- (0, import_typeorm81.Column)({ name: "unique_id", type: "varchar", unique: true })
7091
+ (0, import_typeorm82.Column)({ name: "unique_id", type: "varchar", unique: true })
6999
7092
  ], User.prototype, "uniqueId", 2);
7000
7093
  __decorateClass([
7001
- (0, import_typeorm81.Column)({ name: "parent_id", type: "integer", nullable: true }),
7002
- (0, import_typeorm81.Index)()
7094
+ (0, import_typeorm82.Column)({ name: "parent_id", type: "integer", nullable: true }),
7095
+ (0, import_typeorm82.Index)()
7003
7096
  ], User.prototype, "parentId", 2);
7004
7097
  __decorateClass([
7005
- (0, import_typeorm81.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
7006
- (0, import_typeorm81.JoinColumn)({ name: "parent_id" })
7098
+ (0, import_typeorm82.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
7099
+ (0, import_typeorm82.JoinColumn)({ name: "parent_id" })
7007
7100
  ], User.prototype, "parent", 2);
7008
7101
  __decorateClass([
7009
- (0, import_typeorm81.OneToMany)(() => User, (user) => user.parent)
7102
+ (0, import_typeorm82.OneToMany)(() => User, (user) => user.parent)
7010
7103
  ], User.prototype, "children", 2);
7011
7104
  __decorateClass([
7012
- (0, import_typeorm81.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
7105
+ (0, import_typeorm82.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
7013
7106
  ], User.prototype, "username", 2);
7014
7107
  __decorateClass([
7015
- (0, import_typeorm81.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
7108
+ (0, import_typeorm82.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
7016
7109
  ], User.prototype, "firstName", 2);
7017
7110
  __decorateClass([
7018
- (0, import_typeorm81.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
7111
+ (0, import_typeorm82.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
7019
7112
  ], User.prototype, "lastName", 2);
7020
7113
  __decorateClass([
7021
- (0, import_typeorm81.Column)({ name: "date_of_birth", type: "date", nullable: true })
7114
+ (0, import_typeorm82.Column)({ name: "date_of_birth", type: "date", nullable: true })
7022
7115
  ], User.prototype, "dateOfBirth", 2);
7023
7116
  __decorateClass([
7024
- (0, import_typeorm81.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
7117
+ (0, import_typeorm82.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
7025
7118
  ], User.prototype, "gender", 2);
7026
7119
  __decorateClass([
7027
- (0, import_typeorm81.Column)({ name: "profile_picture_url", type: "text", nullable: true })
7120
+ (0, import_typeorm82.Column)({ name: "profile_picture_url", type: "text", nullable: true })
7028
7121
  ], User.prototype, "profilePictureUrl", 2);
7029
7122
  __decorateClass([
7030
- (0, import_typeorm81.Column)({ name: "presigned_profile_picture_url", type: "text", nullable: true })
7123
+ (0, import_typeorm82.Column)({ name: "presigned_profile_picture_url", type: "text", nullable: true })
7031
7124
  ], User.prototype, "presignedProfilePictureUrl", 2);
7032
7125
  __decorateClass([
7033
- (0, import_typeorm81.Column)({ name: "presigned_profile_picture_url_expires_at", type: "timestamp with time zone", nullable: true })
7126
+ (0, import_typeorm82.Column)({ name: "presigned_profile_picture_url_expires_at", type: "timestamp with time zone", nullable: true })
7034
7127
  ], User.prototype, "presignedProfilePictureUrlExpiresAt", 2);
7035
7128
  __decorateClass([
7036
- (0, import_typeorm81.Column)({ name: "email", type: "varchar", unique: true })
7129
+ (0, import_typeorm82.Column)({ name: "email", type: "varchar", unique: true })
7037
7130
  ], User.prototype, "email", 2);
7038
7131
  __decorateClass([
7039
- (0, import_typeorm81.Column)({ name: "mobile_code", type: "varchar", nullable: true })
7132
+ (0, import_typeorm82.Column)({ name: "mobile_code", type: "varchar", nullable: true })
7040
7133
  ], User.prototype, "mobileCode", 2);
7041
7134
  __decorateClass([
7042
- (0, import_typeorm81.Column)({ name: "mobile", type: "varchar", nullable: true })
7135
+ (0, import_typeorm82.Column)({ name: "mobile", type: "varchar", nullable: true })
7043
7136
  ], User.prototype, "mobile", 2);
7044
7137
  __decorateClass([
7045
- (0, import_typeorm81.Column)({ name: "password", type: "varchar", nullable: true })
7138
+ (0, import_typeorm82.Column)({ name: "password", type: "varchar", nullable: true })
7046
7139
  ], User.prototype, "password", 2);
7047
7140
  __decorateClass([
7048
- (0, import_typeorm81.Column)({
7141
+ (0, import_typeorm82.Column)({
7049
7142
  name: "account_type",
7050
7143
  type: "enum",
7051
7144
  enum: AccountType2,
@@ -7053,7 +7146,7 @@ __decorateClass([
7053
7146
  })
7054
7147
  ], User.prototype, "accountType", 2);
7055
7148
  __decorateClass([
7056
- (0, import_typeorm81.Column)({
7149
+ (0, import_typeorm82.Column)({
7057
7150
  name: "account_status",
7058
7151
  type: "enum",
7059
7152
  enum: AccountStatus,
@@ -7061,45 +7154,55 @@ __decorateClass([
7061
7154
  })
7062
7155
  ], User.prototype, "accountStatus", 2);
7063
7156
  __decorateClass([
7064
- (0, import_typeorm81.Column)({ name: "is_email_verified", type: "boolean", default: false })
7157
+ (0, import_typeorm82.Column)({ name: "is_email_verified", type: "boolean", default: false })
7065
7158
  ], User.prototype, "isEmailVerified", 2);
7066
7159
  __decorateClass([
7067
- (0, import_typeorm81.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
7160
+ (0, import_typeorm82.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
7068
7161
  ], User.prototype, "isMobileVerified", 2);
7069
7162
  __decorateClass([
7070
- (0, import_typeorm81.Column)({ name: "is_social", type: "boolean", default: false })
7163
+ (0, import_typeorm82.Column)({ name: "is_social", type: "boolean", default: false })
7071
7164
  ], User.prototype, "isSocial", 2);
7072
7165
  __decorateClass([
7073
- (0, import_typeorm81.Column)({ name: "is_referral_user", type: "boolean", default: false })
7166
+ (0, import_typeorm82.Column)({ name: "is_referral_user", type: "boolean", default: false })
7074
7167
  ], User.prototype, "isReferralUser", 2);
7075
7168
  __decorateClass([
7076
- (0, import_typeorm81.Column)({
7169
+ (0, import_typeorm82.Column)({ name: "is_verified", type: "boolean", default: false })
7170
+ ], User.prototype, "isVerified", 2);
7171
+ __decorateClass([
7172
+ (0, import_typeorm82.Column)({
7173
+ name: "verified_at",
7174
+ type: "timestamp with time zone",
7175
+ nullable: true
7176
+ })
7177
+ ], User.prototype, "verifiedAt", 2);
7178
+ __decorateClass([
7179
+ (0, import_typeorm82.Column)({
7077
7180
  name: "last_login_at",
7078
7181
  type: "timestamp with time zone",
7079
7182
  nullable: true
7080
7183
  })
7081
7184
  ], User.prototype, "lastLoginAt", 2);
7082
7185
  __decorateClass([
7083
- (0, import_typeorm81.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
7186
+ (0, import_typeorm82.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
7084
7187
  ], User.prototype, "lastLoginIp", 2);
7085
7188
  __decorateClass([
7086
- (0, import_typeorm81.Column)({ name: "reset_token", type: "varchar", nullable: true })
7189
+ (0, import_typeorm82.Column)({ name: "reset_token", type: "varchar", nullable: true })
7087
7190
  ], User.prototype, "resetToken", 2);
7088
7191
  __decorateClass([
7089
- (0, import_typeorm81.Column)({
7192
+ (0, import_typeorm82.Column)({
7090
7193
  name: "reset_token_expire_at",
7091
7194
  type: "timestamp with time zone",
7092
7195
  nullable: true
7093
7196
  })
7094
7197
  ], User.prototype, "resetTokenExpireAt", 2);
7095
7198
  __decorateClass([
7096
- (0, import_typeorm81.Column)({ name: "set_password_token", type: "varchar", nullable: true })
7199
+ (0, import_typeorm82.Column)({ name: "set_password_token", type: "varchar", nullable: true })
7097
7200
  ], User.prototype, "setPasswordToken", 2);
7098
7201
  __decorateClass([
7099
- (0, import_typeorm81.OneToMany)(() => RefreshToken, (token) => token.user)
7202
+ (0, import_typeorm82.OneToMany)(() => RefreshToken, (token) => token.user)
7100
7203
  ], User.prototype, "refreshTokens", 2);
7101
7204
  __decorateClass([
7102
- (0, import_typeorm81.Column)({
7205
+ (0, import_typeorm82.Column)({
7103
7206
  name: "provider",
7104
7207
  type: "enum",
7105
7208
  enum: Provider,
@@ -7108,281 +7211,284 @@ __decorateClass([
7108
7211
  })
7109
7212
  ], User.prototype, "provider", 2);
7110
7213
  __decorateClass([
7111
- (0, import_typeorm81.Column)({ name: "provider_token", type: "varchar", nullable: true })
7214
+ (0, import_typeorm82.Column)({ name: "provider_token", type: "varchar", nullable: true })
7112
7215
  ], User.prototype, "providerToken", 2);
7113
7216
  __decorateClass([
7114
- (0, import_typeorm81.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
7217
+ (0, import_typeorm82.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
7115
7218
  ], User.prototype, "linkedInId", 2);
7116
7219
  __decorateClass([
7117
- (0, import_typeorm81.Column)({ name: "google_id", type: "varchar", nullable: true })
7220
+ (0, import_typeorm82.Column)({ name: "google_id", type: "varchar", nullable: true })
7118
7221
  ], User.prototype, "googleId", 2);
7119
7222
  __decorateClass([
7120
- (0, import_typeorm81.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
7223
+ (0, import_typeorm82.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
7121
7224
  ], User.prototype, "gitLabsId", 2);
7122
7225
  __decorateClass([
7123
- (0, import_typeorm81.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
7226
+ (0, import_typeorm82.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
7124
7227
  ], User.prototype, "onBoardedBy", 2);
7125
7228
  __decorateClass([
7126
- (0, import_typeorm81.Column)({ name: "ip", type: "varchar", nullable: true })
7229
+ (0, import_typeorm82.Column)({ name: "ip", type: "varchar", nullable: true })
7127
7230
  ], User.prototype, "ip", 2);
7128
7231
  __decorateClass([
7129
- (0, import_typeorm81.OneToMany)(() => Otp, (otp) => otp.user)
7232
+ (0, import_typeorm82.OneToMany)(() => Otp, (otp) => otp.user)
7130
7233
  ], User.prototype, "otps", 2);
7131
7234
  __decorateClass([
7132
- (0, import_typeorm81.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
7235
+ (0, import_typeorm82.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
7133
7236
  ], User.prototype, "senseloafLogs", 2);
7134
7237
  __decorateClass([
7135
- (0, import_typeorm81.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
7238
+ (0, import_typeorm82.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
7136
7239
  ], User.prototype, "companyProfile", 2);
7137
7240
  __decorateClass([
7138
- (0, import_typeorm81.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
7241
+ (0, import_typeorm82.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
7139
7242
  ], User.prototype, "companySkills", 2);
7140
7243
  __decorateClass([
7141
- (0, import_typeorm81.OneToMany)(
7244
+ (0, import_typeorm82.OneToMany)(
7142
7245
  () => CompanyMemberRole,
7143
7246
  (companyMemberRole) => companyMemberRole.user
7144
7247
  )
7145
7248
  ], User.prototype, "companyMemberRoles", 2);
7146
7249
  __decorateClass([
7147
- (0, import_typeorm81.OneToOne)(() => CompanyMember, (companyMember) => companyMember.user)
7250
+ (0, import_typeorm82.OneToOne)(() => CompanyMember, (companyMember) => companyMember.user)
7148
7251
  ], User.prototype, "companyMember", 2);
7149
7252
  __decorateClass([
7150
- (0, import_typeorm81.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
7253
+ (0, import_typeorm82.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
7151
7254
  ], User.prototype, "companyAiInterview", 2);
7152
7255
  __decorateClass([
7153
- (0, import_typeorm81.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
7256
+ (0, import_typeorm82.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
7154
7257
  ], User.prototype, "clientF2FInterviews", 2);
7155
7258
  __decorateClass([
7156
- (0, import_typeorm81.OneToOne)(
7259
+ (0, import_typeorm82.OneToOne)(
7157
7260
  () => FreelancerProfile,
7158
7261
  (freelancerProfile) => freelancerProfile.user
7159
7262
  )
7160
7263
  ], User.prototype, "freelancerProfile", 2);
7161
7264
  __decorateClass([
7162
- (0, import_typeorm81.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
7265
+ (0, import_typeorm82.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
7163
7266
  ], User.prototype, "freelancerResume", 2);
7164
7267
  __decorateClass([
7165
- (0, import_typeorm81.OneToMany)(
7268
+ (0, import_typeorm82.OneToMany)(
7166
7269
  () => FreelancerAssessmentRequest,
7167
7270
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
7168
7271
  )
7169
7272
  ], User.prototype, "freelancerAssessmentRequests", 2);
7170
7273
  __decorateClass([
7171
- (0, import_typeorm81.OneToMany)(
7274
+ (0, import_typeorm82.OneToMany)(
7172
7275
  () => FreelancerAssessmentRequest,
7173
7276
  (freelancerAssessment) => freelancerAssessment.approvedBy
7174
7277
  )
7175
7278
  ], User.prototype, "assessmentRequests", 2);
7176
7279
  __decorateClass([
7177
- (0, import_typeorm81.OneToMany)(
7280
+ (0, import_typeorm82.OneToMany)(
7178
7281
  () => FreelancerAssessment,
7179
7282
  (freelancerAssessment) => freelancerAssessment.user
7180
7283
  )
7181
7284
  ], User.prototype, "assessments", 2);
7182
7285
  __decorateClass([
7183
- (0, import_typeorm81.OneToMany)(
7286
+ (0, import_typeorm82.OneToMany)(
7184
7287
  () => AssessmentAnswer,
7185
7288
  (assessmentAnswer) => assessmentAnswer.user
7186
7289
  )
7187
7290
  ], User.prototype, "assessmentAnswers", 2);
7188
7291
  __decorateClass([
7189
- (0, import_typeorm81.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
7292
+ (0, import_typeorm82.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
7190
7293
  ], User.prototype, "freelancerSkills", 2);
7191
7294
  __decorateClass([
7192
- (0, import_typeorm81.OneToMany)(
7295
+ (0, import_typeorm82.OneToMany)(
7193
7296
  () => FreelancerExperience,
7194
7297
  (freelancerExperience) => freelancerExperience.user
7195
7298
  )
7196
7299
  ], User.prototype, "freelancerExperience", 2);
7197
7300
  __decorateClass([
7198
- (0, import_typeorm81.OneToMany)(
7301
+ (0, import_typeorm82.OneToMany)(
7199
7302
  () => FreelancerEducation,
7200
7303
  (freelancerEducation) => freelancerEducation.user
7201
7304
  )
7202
7305
  ], User.prototype, "freelancerEducation", 2);
7203
7306
  __decorateClass([
7204
- (0, import_typeorm81.OneToMany)(
7307
+ (0, import_typeorm82.OneToMany)(
7205
7308
  () => FreelancerProject,
7206
7309
  (freelancerProject) => freelancerProject.user
7207
7310
  )
7208
7311
  ], User.prototype, "freelancerProject", 2);
7209
7312
  __decorateClass([
7210
- (0, import_typeorm81.OneToMany)(
7313
+ (0, import_typeorm82.OneToMany)(
7211
7314
  () => FreelancerCaseStudy,
7212
7315
  (freelancerCaseStudy) => freelancerCaseStudy.user
7213
7316
  )
7214
7317
  ], User.prototype, "freelancerCaseStudy", 2);
7215
7318
  __decorateClass([
7216
- (0, import_typeorm81.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
7319
+ (0, import_typeorm82.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
7217
7320
  ], User.prototype, "freelancerTool", 2);
7218
7321
  __decorateClass([
7219
- (0, import_typeorm81.OneToMany)(
7322
+ (0, import_typeorm82.OneToMany)(
7220
7323
  () => FreelancerFramework,
7221
7324
  (freelancerFramework) => freelancerFramework.user
7222
7325
  )
7223
7326
  ], User.prototype, "freelancerFramework", 2);
7224
7327
  __decorateClass([
7225
- (0, import_typeorm81.OneToOne)(
7328
+ (0, import_typeorm82.OneToOne)(
7226
7329
  () => FreelancerDeclaration,
7227
7330
  (freelancerDeclaration) => freelancerDeclaration.user
7228
7331
  )
7229
7332
  ], User.prototype, "freelancerDeclaration", 2);
7230
7333
  __decorateClass([
7231
- (0, import_typeorm81.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
7334
+ (0, import_typeorm82.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
7232
7335
  ], User.prototype, "freelancerMcq", 2);
7233
7336
  __decorateClass([
7234
- (0, import_typeorm81.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
7337
+ (0, import_typeorm82.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
7235
7338
  ], User.prototype, "freelancerAiInterview", 2);
7236
7339
  __decorateClass([
7237
- (0, import_typeorm81.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
7340
+ (0, import_typeorm82.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
7238
7341
  ], User.prototype, "freelancerF2FInterviews", 2);
7239
7342
  __decorateClass([
7240
- (0, import_typeorm81.OneToMany)(
7343
+ (0, import_typeorm82.OneToMany)(
7241
7344
  () => F2fInterviewRescheduleRequest,
7242
7345
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
7243
7346
  )
7244
7347
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
7245
7348
  __decorateClass([
7246
- (0, import_typeorm81.OneToMany)(
7349
+ (0, import_typeorm82.OneToMany)(
7247
7350
  () => AiInterviewRescheduleRequest,
7248
7351
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
7249
7352
  )
7250
7353
  ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
7251
7354
  __decorateClass([
7252
- (0, import_typeorm81.OneToMany)(
7355
+ (0, import_typeorm82.OneToMany)(
7253
7356
  () => AiInterviewRescheduleRequest,
7254
7357
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.client
7255
7358
  )
7256
7359
  ], User.prototype, "clientAiInterviewRescheduleRequests", 2);
7257
7360
  __decorateClass([
7258
- (0, import_typeorm81.OneToMany)(() => Job, (job) => job.user)
7361
+ (0, import_typeorm82.OneToMany)(() => Job, (job) => job.user)
7259
7362
  ], User.prototype, "jobs", 2);
7260
7363
  __decorateClass([
7261
- (0, import_typeorm81.OneToMany)(() => Task, (task) => task.client)
7364
+ (0, import_typeorm82.OneToMany)(() => Task, (task) => task.client)
7262
7365
  ], User.prototype, "clientTasks", 2);
7263
7366
  __decorateClass([
7264
- (0, import_typeorm81.OneToMany)(() => Task, (task) => task.freelancer)
7367
+ (0, import_typeorm82.OneToMany)(() => Task, (task) => task.freelancer)
7265
7368
  ], User.prototype, "freelancerTasks", 2);
7266
7369
  __decorateClass([
7267
- (0, import_typeorm81.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.raisedByUser)
7370
+ (0, import_typeorm82.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.raisedByUser)
7268
7371
  ], User.prototype, "raisedTaskQueries", 2);
7269
7372
  __decorateClass([
7270
- (0, import_typeorm81.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.assignedToUser)
7373
+ (0, import_typeorm82.OneToMany)(() => TaskQuery, (taskQuery) => taskQuery.assignedToUser)
7271
7374
  ], User.prototype, "assignedTaskQueries", 2);
7272
7375
  __decorateClass([
7273
- (0, import_typeorm81.OneToMany)(() => TaskQueryMessage, (message) => message.senderUser)
7376
+ (0, import_typeorm82.OneToMany)(() => TaskQueryMessage, (message) => message.senderUser)
7274
7377
  ], User.prototype, "taskQueryMessages", 2);
7275
7378
  __decorateClass([
7276
- (0, import_typeorm81.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
7379
+ (0, import_typeorm82.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
7277
7380
  ], User.prototype, "jobApplications", 2);
7278
7381
  __decorateClass([
7279
- (0, import_typeorm81.OneToMany)(() => Interview, (interview) => interview.user)
7382
+ (0, import_typeorm82.OneToMany)(() => Interview, (interview) => interview.user)
7280
7383
  ], User.prototype, "interviews", 2);
7281
7384
  __decorateClass([
7282
- (0, import_typeorm81.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
7385
+ (0, import_typeorm82.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
7283
7386
  ], User.prototype, "bankDetail", 2);
7284
7387
  __decorateClass([
7285
- (0, import_typeorm81.OneToMany)(
7388
+ (0, import_typeorm82.OneToMany)(
7286
7389
  () => SystemPreference,
7287
7390
  (systemPreference) => systemPreference.user
7288
7391
  )
7289
7392
  ], User.prototype, "systemPreference", 2);
7290
7393
  __decorateClass([
7291
- (0, import_typeorm81.OneToMany)(() => Rating, (rating) => rating.reviewer)
7394
+ (0, import_typeorm82.OneToMany)(() => Rating, (rating) => rating.reviewer)
7292
7395
  ], User.prototype, "givenRatings", 2);
7293
7396
  __decorateClass([
7294
- (0, import_typeorm81.OneToMany)(() => Rating, (rating) => rating.reviewee)
7397
+ (0, import_typeorm82.OneToMany)(() => Rating, (rating) => rating.reviewee)
7295
7398
  ], User.prototype, "receivedRatings", 2);
7296
7399
  __decorateClass([
7297
- (0, import_typeorm81.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
7400
+ (0, import_typeorm82.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
7298
7401
  ], User.prototype, "adminUserRoles", 2);
7299
7402
  __decorateClass([
7300
- (0, import_typeorm81.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
7403
+ (0, import_typeorm82.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
7301
7404
  cascade: true
7302
7405
  })
7303
7406
  ], User.prototype, "clientContractSummaries", 2);
7304
7407
  __decorateClass([
7305
- (0, import_typeorm81.OneToMany)(() => Contract, (contract) => contract.client)
7408
+ (0, import_typeorm82.OneToMany)(() => Contract, (contract) => contract.client)
7306
7409
  ], User.prototype, "clientContracts", 2);
7307
7410
  __decorateClass([
7308
- (0, import_typeorm81.OneToMany)(() => Hiring, (hiring) => hiring.client)
7411
+ (0, import_typeorm82.OneToMany)(() => Hiring, (hiring) => hiring.client)
7309
7412
  ], User.prototype, "clientHirings", 2);
7310
7413
  __decorateClass([
7311
- (0, import_typeorm81.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
7414
+ (0, import_typeorm82.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
7312
7415
  ], User.prototype, "clientEscrowWallets", 2);
7313
7416
  __decorateClass([
7314
- (0, import_typeorm81.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
7417
+ (0, import_typeorm82.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
7315
7418
  cascade: true
7316
7419
  })
7317
7420
  ], User.prototype, "freelancerContractSummaries", 2);
7318
7421
  __decorateClass([
7319
- (0, import_typeorm81.OneToMany)(() => Contract, (contract) => contract.freelancer)
7422
+ (0, import_typeorm82.OneToMany)(() => Contract, (contract) => contract.freelancer)
7320
7423
  ], User.prototype, "freelancerContracts", 2);
7321
7424
  __decorateClass([
7322
- (0, import_typeorm81.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
7425
+ (0, import_typeorm82.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
7323
7426
  ], User.prototype, "freelancerHirings", 2);
7324
7427
  __decorateClass([
7325
- (0, import_typeorm81.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
7428
+ (0, import_typeorm82.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
7326
7429
  ], User.prototype, "freelancerEscrowWallets", 2);
7327
7430
  __decorateClass([
7328
- (0, import_typeorm81.OneToOne)(() => Signature, (signature) => signature.user)
7431
+ (0, import_typeorm82.OneToOne)(() => Signature, (signature) => signature.user)
7329
7432
  ], User.prototype, "signatures", 2);
7330
7433
  __decorateClass([
7331
- (0, import_typeorm81.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
7434
+ (0, import_typeorm82.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
7332
7435
  ], User.prototype, "clientTimesheets", 2);
7333
7436
  __decorateClass([
7334
- (0, import_typeorm81.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
7437
+ (0, import_typeorm82.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
7335
7438
  ], User.prototype, "freelancerTimesheets", 2);
7336
7439
  __decorateClass([
7337
- (0, import_typeorm81.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
7440
+ (0, import_typeorm82.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
7338
7441
  ], User.prototype, "clientTimesheetLine", 2);
7339
7442
  __decorateClass([
7340
- (0, import_typeorm81.OneToMany)(() => Invoice, (invoice) => invoice.client)
7443
+ (0, import_typeorm82.OneToMany)(() => Invoice, (invoice) => invoice.client)
7341
7444
  ], User.prototype, "clientInvoice", 2);
7342
7445
  __decorateClass([
7343
- (0, import_typeorm81.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
7446
+ (0, import_typeorm82.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
7344
7447
  ], User.prototype, "freelancerTimesheetLine", 2);
7345
7448
  __decorateClass([
7346
- (0, import_typeorm81.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
7449
+ (0, import_typeorm82.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
7347
7450
  ], User.prototype, "freelancerInvoice", 2);
7348
7451
  __decorateClass([
7349
- (0, import_typeorm81.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
7452
+ (0, import_typeorm82.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
7350
7453
  ], User.prototype, "clientPreferencesGiven", 2);
7351
7454
  __decorateClass([
7352
- (0, import_typeorm81.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
7455
+ (0, import_typeorm82.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
7353
7456
  ], User.prototype, "clientPreferencesReceived", 2);
7354
7457
  __decorateClass([
7355
- (0, import_typeorm81.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
7458
+ (0, import_typeorm82.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
7356
7459
  ], User.prototype, "initiatedDisputes", 2);
7357
7460
  __decorateClass([
7358
- (0, import_typeorm81.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
7461
+ (0, import_typeorm82.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
7359
7462
  ], User.prototype, "respondentDisputes", 2);
7360
7463
  __decorateClass([
7361
- (0, import_typeorm81.OneToOne)(() => Wallet, (wallet) => wallet.user)
7464
+ (0, import_typeorm82.OneToOne)(() => Wallet, (wallet) => wallet.user)
7362
7465
  ], User.prototype, "wallet", 2);
7363
7466
  __decorateClass([
7364
- (0, import_typeorm81.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
7467
+ (0, import_typeorm82.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
7365
7468
  ], User.prototype, "stripeTransactions", 2);
7366
7469
  __decorateClass([
7367
- (0, import_typeorm81.OneToMany)(() => Dispute, (dispute) => dispute.client)
7470
+ (0, import_typeorm82.OneToMany)(() => Dispute, (dispute) => dispute.client)
7368
7471
  ], User.prototype, "clientDisputes", 2);
7369
7472
  __decorateClass([
7370
- (0, import_typeorm81.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
7473
+ (0, import_typeorm82.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
7371
7474
  ], User.prototype, "freelancerDisputes", 2);
7372
7475
  __decorateClass([
7373
- (0, import_typeorm81.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
7476
+ (0, import_typeorm82.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
7374
7477
  ], User.prototype, "inAppNotifications", 2);
7375
7478
  __decorateClass([
7376
- (0, import_typeorm81.OneToMany)(() => UserSubscription, (userSubscription) => userSubscription.user)
7479
+ (0, import_typeorm82.OneToMany)(() => UserSubscription, (userSubscription) => userSubscription.user)
7377
7480
  ], User.prototype, "userSubscriptions", 2);
7378
7481
  __decorateClass([
7379
- (0, import_typeorm81.OneToMany)(() => EkycVerificationSession, (ekycVerificationSession) => ekycVerificationSession.user)
7482
+ (0, import_typeorm82.OneToMany)(() => EkycVerificationSession, (ekycVerificationSession) => ekycVerificationSession.user)
7380
7483
  ], User.prototype, "ekycVerificationSessions", 2);
7381
7484
  __decorateClass([
7382
- (0, import_typeorm81.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.fromUser)
7485
+ (0, import_typeorm82.OneToMany)(() => EkycVerificationLog, (ekycVerificationLog) => ekycVerificationLog.user)
7486
+ ], User.prototype, "ekycVerificationLogs", 2);
7487
+ __decorateClass([
7488
+ (0, import_typeorm82.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.fromUser)
7383
7489
  ], User.prototype, "sentTransactions", 2);
7384
7490
  User = __decorateClass([
7385
- (0, import_typeorm81.Entity)("users")
7491
+ (0, import_typeorm82.Entity)("users")
7386
7492
  ], User);
7387
7493
 
7388
7494
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -14210,6 +14316,93 @@ __decorateClass([
14210
14316
  (0, import_class_transformer41.Type)(() => VendorDetailDto)
14211
14317
  ], AddVendorApiConfigurationDto.prototype, "vendorDetails", 2);
14212
14318
 
14319
+ // src/modules/didit/pattern/pattern.ts
14320
+ var DIDIT_PATTERN = {
14321
+ handleEkycCreateSession: "handle.ekyc.create.session",
14322
+ handleEkycWebhook: "handle.ekyc.webhook"
14323
+ };
14324
+
14325
+ // src/modules/didit/dto/create-ekyc-session.dto.ts
14326
+ var import_class_validator180 = require("class-validator");
14327
+ var import_class_transformer42 = require("class-transformer");
14328
+ var ContactDetailsDto = class {
14329
+ };
14330
+ __decorateClass([
14331
+ (0, import_class_validator180.IsOptional)(),
14332
+ (0, import_class_validator180.IsEmail)({}, { message: "email must be valid" })
14333
+ ], ContactDetailsDto.prototype, "email", 2);
14334
+ __decorateClass([
14335
+ (0, import_class_validator180.IsOptional)(),
14336
+ (0, import_class_validator180.IsString)()
14337
+ ], ContactDetailsDto.prototype, "email_lang", 2);
14338
+ __decorateClass([
14339
+ (0, import_class_validator180.IsOptional)(),
14340
+ (0, import_class_validator180.IsBoolean)()
14341
+ ], ContactDetailsDto.prototype, "send_notification_emails", 2);
14342
+ __decorateClass([
14343
+ (0, import_class_validator180.IsOptional)(),
14344
+ (0, import_class_validator180.IsString)()
14345
+ ], ContactDetailsDto.prototype, "phone", 2);
14346
+ var ExpectedDetailsDto = class {
14347
+ };
14348
+ __decorateClass([
14349
+ (0, import_class_validator180.IsOptional)(),
14350
+ (0, import_class_validator180.IsString)()
14351
+ ], ExpectedDetailsDto.prototype, "first_name", 2);
14352
+ __decorateClass([
14353
+ (0, import_class_validator180.IsOptional)(),
14354
+ (0, import_class_validator180.IsString)()
14355
+ ], ExpectedDetailsDto.prototype, "last_name", 2);
14356
+ // you can switch to IsDateString if strict
14357
+ __decorateClass([
14358
+ (0, import_class_validator180.IsOptional)(),
14359
+ (0, import_class_validator180.IsString)()
14360
+ ], ExpectedDetailsDto.prototype, "date_of_birth", 2);
14361
+ __decorateClass([
14362
+ (0, import_class_validator180.IsOptional)(),
14363
+ (0, import_class_validator180.IsArray)(),
14364
+ (0, import_class_validator180.IsString)({ each: true })
14365
+ ], ExpectedDetailsDto.prototype, "expected_document_types", 2);
14366
+ var MetadataDto = class {
14367
+ };
14368
+ __decorateClass([
14369
+ (0, import_class_validator180.IsOptional)(),
14370
+ (0, import_class_validator180.IsString)()
14371
+ ], MetadataDto.prototype, "plan", 2);
14372
+ __decorateClass([
14373
+ (0, import_class_validator180.IsOptional)(),
14374
+ (0, import_class_validator180.IsString)()
14375
+ ], MetadataDto.prototype, "signup_source", 2);
14376
+ var CreateEkycSessionDto = class {
14377
+ };
14378
+ __decorateClass([
14379
+ (0, import_class_validator180.IsNotEmpty)({ message: "workflowId is required." }),
14380
+ (0, import_class_validator180.IsUUID)("4", { message: "workflowId must be a valid UUID" })
14381
+ ], CreateEkycSessionDto.prototype, "workflowId", 2);
14382
+ __decorateClass([
14383
+ (0, import_class_validator180.IsNotEmpty)({ message: "Callback URL is required." }),
14384
+ (0, import_class_validator180.IsUrl)({}, { message: "callback must be a valid URL" })
14385
+ ], CreateEkycSessionDto.prototype, "callback", 2);
14386
+ __decorateClass([
14387
+ (0, import_class_validator180.IsOptional)(),
14388
+ (0, import_class_validator180.IsString)()
14389
+ ], CreateEkycSessionDto.prototype, "vendor_data", 2);
14390
+ __decorateClass([
14391
+ (0, import_class_validator180.IsOptional)(),
14392
+ (0, import_class_validator180.ValidateNested)(),
14393
+ (0, import_class_transformer42.Type)(() => MetadataDto)
14394
+ ], CreateEkycSessionDto.prototype, "metadata", 2);
14395
+ __decorateClass([
14396
+ (0, import_class_validator180.IsOptional)(),
14397
+ (0, import_class_validator180.ValidateNested)(),
14398
+ (0, import_class_transformer42.Type)(() => ContactDetailsDto)
14399
+ ], CreateEkycSessionDto.prototype, "contact_details", 2);
14400
+ __decorateClass([
14401
+ (0, import_class_validator180.IsOptional)(),
14402
+ (0, import_class_validator180.ValidateNested)(),
14403
+ (0, import_class_transformer42.Type)(() => ExpectedDetailsDto)
14404
+ ], CreateEkycSessionDto.prototype, "expected_details", 2);
14405
+
14213
14406
  // src/adapters/tcp/user.tcp.adapter.ts
14214
14407
  var import_dotenv = require("dotenv");
14215
14408
  var import_microservices = require("@nestjs/microservices");
@@ -14571,11 +14764,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
14571
14764
  };
14572
14765
 
14573
14766
  // src/entities/sequence-generator.entity.ts
14574
- var import_typeorm82 = require("typeorm");
14767
+ var import_typeorm83 = require("typeorm");
14575
14768
  var SequenceGenerator = class extends BaseEntity {
14576
14769
  };
14577
14770
  __decorateClass([
14578
- (0, import_typeorm82.Column)({
14771
+ (0, import_typeorm83.Column)({
14579
14772
  name: "module",
14580
14773
  type: "varchar",
14581
14774
  length: 50,
@@ -14584,7 +14777,7 @@ __decorateClass([
14584
14777
  })
14585
14778
  ], SequenceGenerator.prototype, "module", 2);
14586
14779
  __decorateClass([
14587
- (0, import_typeorm82.Column)({
14780
+ (0, import_typeorm83.Column)({
14588
14781
  name: "prefix",
14589
14782
  type: "varchar",
14590
14783
  length: 10,
@@ -14593,7 +14786,7 @@ __decorateClass([
14593
14786
  })
14594
14787
  ], SequenceGenerator.prototype, "prefix", 2);
14595
14788
  __decorateClass([
14596
- (0, import_typeorm82.Column)({
14789
+ (0, import_typeorm83.Column)({
14597
14790
  name: "last_sequence",
14598
14791
  type: "int",
14599
14792
  nullable: false,
@@ -14601,7 +14794,7 @@ __decorateClass([
14601
14794
  })
14602
14795
  ], SequenceGenerator.prototype, "lastSequence", 2);
14603
14796
  __decorateClass([
14604
- (0, import_typeorm82.Column)({
14797
+ (0, import_typeorm83.Column)({
14605
14798
  name: "year",
14606
14799
  type: "int",
14607
14800
  nullable: true,
@@ -14609,11 +14802,11 @@ __decorateClass([
14609
14802
  })
14610
14803
  ], SequenceGenerator.prototype, "year", 2);
14611
14804
  SequenceGenerator = __decorateClass([
14612
- (0, import_typeorm82.Entity)("sequence_generators")
14805
+ (0, import_typeorm83.Entity)("sequence_generators")
14613
14806
  ], SequenceGenerator);
14614
14807
 
14615
14808
  // src/entities/question.entity.ts
14616
- var import_typeorm83 = require("typeorm");
14809
+ var import_typeorm84 = require("typeorm");
14617
14810
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
14618
14811
  QuestionFor2["CLIENT"] = "CLIENT";
14619
14812
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -14622,16 +14815,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
14622
14815
  var Question = class extends BaseEntity {
14623
14816
  };
14624
14817
  __decorateClass([
14625
- (0, import_typeorm83.Column)({ name: "question", type: "varchar" })
14818
+ (0, import_typeorm84.Column)({ name: "question", type: "varchar" })
14626
14819
  ], Question.prototype, "question", 2);
14627
14820
  __decorateClass([
14628
- (0, import_typeorm83.Column)({ name: "hint", type: "varchar", nullable: true })
14821
+ (0, import_typeorm84.Column)({ name: "hint", type: "varchar", nullable: true })
14629
14822
  ], Question.prototype, "hint", 2);
14630
14823
  __decorateClass([
14631
- (0, import_typeorm83.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14824
+ (0, import_typeorm84.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14632
14825
  ], Question.prototype, "slug", 2);
14633
14826
  __decorateClass([
14634
- (0, import_typeorm83.Column)({
14827
+ (0, import_typeorm84.Column)({
14635
14828
  name: "question_for",
14636
14829
  type: "enum",
14637
14830
  enum: QuestionFor,
@@ -14639,45 +14832,45 @@ __decorateClass([
14639
14832
  })
14640
14833
  ], Question.prototype, "questionFor", 2);
14641
14834
  __decorateClass([
14642
- (0, import_typeorm83.Column)({ name: "type", type: "varchar", nullable: true })
14835
+ (0, import_typeorm84.Column)({ name: "type", type: "varchar", nullable: true })
14643
14836
  ], Question.prototype, "type", 2);
14644
14837
  __decorateClass([
14645
- (0, import_typeorm83.Column)({ name: "options", type: "jsonb", nullable: true })
14838
+ (0, import_typeorm84.Column)({ name: "options", type: "jsonb", nullable: true })
14646
14839
  ], Question.prototype, "options", 2);
14647
14840
  __decorateClass([
14648
- (0, import_typeorm83.Column)({ name: "is_active", type: "boolean", default: false })
14841
+ (0, import_typeorm84.Column)({ name: "is_active", type: "boolean", default: false })
14649
14842
  ], Question.prototype, "isActive", 2);
14650
14843
  Question = __decorateClass([
14651
- (0, import_typeorm83.Entity)("questions")
14844
+ (0, import_typeorm84.Entity)("questions")
14652
14845
  ], Question);
14653
14846
 
14654
14847
  // src/entities/skill.entity.ts
14655
- var import_typeorm84 = require("typeorm");
14848
+ var import_typeorm85 = require("typeorm");
14656
14849
  var Skill = class extends BaseEntity {
14657
14850
  };
14658
14851
  __decorateClass([
14659
- (0, import_typeorm84.Column)({ name: "name", type: "varchar", nullable: true })
14852
+ (0, import_typeorm85.Column)({ name: "name", type: "varchar", nullable: true })
14660
14853
  ], Skill.prototype, "name", 2);
14661
14854
  __decorateClass([
14662
- (0, import_typeorm84.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14855
+ (0, import_typeorm85.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14663
14856
  ], Skill.prototype, "slug", 2);
14664
14857
  __decorateClass([
14665
- (0, import_typeorm84.Column)({ name: "is_active", type: "boolean", default: false })
14858
+ (0, import_typeorm85.Column)({ name: "is_active", type: "boolean", default: false })
14666
14859
  ], Skill.prototype, "isActive", 2);
14667
14860
  Skill = __decorateClass([
14668
- (0, import_typeorm84.Entity)("skills")
14861
+ (0, import_typeorm85.Entity)("skills")
14669
14862
  ], Skill);
14670
14863
 
14671
14864
  // src/entities/skill-catalog.entity.ts
14672
- var import_typeorm85 = require("typeorm");
14865
+ var import_typeorm86 = require("typeorm");
14673
14866
  var SkillCatalog = class extends BaseEntity {
14674
14867
  };
14675
14868
  __decorateClass([
14676
- (0, import_typeorm85.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
14677
- (0, import_typeorm85.Index)()
14869
+ (0, import_typeorm86.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
14870
+ (0, import_typeorm86.Index)()
14678
14871
  ], SkillCatalog.prototype, "canonicalName", 2);
14679
14872
  __decorateClass([
14680
- (0, import_typeorm85.Column)({
14873
+ (0, import_typeorm86.Column)({
14681
14874
  name: "aliases",
14682
14875
  type: "text",
14683
14876
  array: true,
@@ -14685,20 +14878,20 @@ __decorateClass([
14685
14878
  })
14686
14879
  ], SkillCatalog.prototype, "aliases", 2);
14687
14880
  __decorateClass([
14688
- (0, import_typeorm85.Column)({
14881
+ (0, import_typeorm86.Column)({
14689
14882
  name: "variations",
14690
14883
  type: "jsonb",
14691
14884
  default: "{}"
14692
14885
  })
14693
14886
  ], SkillCatalog.prototype, "variations", 2);
14694
14887
  __decorateClass([
14695
- (0, import_typeorm85.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
14888
+ (0, import_typeorm86.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
14696
14889
  ], SkillCatalog.prototype, "category", 2);
14697
14890
  __decorateClass([
14698
- (0, import_typeorm85.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
14891
+ (0, import_typeorm86.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
14699
14892
  ], SkillCatalog.prototype, "parentSkill", 2);
14700
14893
  __decorateClass([
14701
- (0, import_typeorm85.Column)({
14894
+ (0, import_typeorm86.Column)({
14702
14895
  name: "related_skills",
14703
14896
  type: "text",
14704
14897
  array: true,
@@ -14706,68 +14899,68 @@ __decorateClass([
14706
14899
  })
14707
14900
  ], SkillCatalog.prototype, "relatedSkills", 2);
14708
14901
  __decorateClass([
14709
- (0, import_typeorm85.Column)({ name: "usage_count", type: "integer", default: 0 }),
14710
- (0, import_typeorm85.Index)()
14902
+ (0, import_typeorm86.Column)({ name: "usage_count", type: "integer", default: 0 }),
14903
+ (0, import_typeorm86.Index)()
14711
14904
  ], SkillCatalog.prototype, "usageCount", 2);
14712
14905
  __decorateClass([
14713
- (0, import_typeorm85.Column)({ name: "is_verified", type: "boolean", default: false })
14906
+ (0, import_typeorm86.Column)({ name: "is_verified", type: "boolean", default: false })
14714
14907
  ], SkillCatalog.prototype, "isVerified", 2);
14715
14908
  __decorateClass([
14716
- (0, import_typeorm85.Column)({ name: "first_seen_date", type: "date" })
14909
+ (0, import_typeorm86.Column)({ name: "first_seen_date", type: "date" })
14717
14910
  ], SkillCatalog.prototype, "firstSeenDate", 2);
14718
14911
  __decorateClass([
14719
- (0, import_typeorm85.Column)({ name: "last_updated_date", type: "date" })
14912
+ (0, import_typeorm86.Column)({ name: "last_updated_date", type: "date" })
14720
14913
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
14721
14914
  __decorateClass([
14722
- (0, import_typeorm85.Column)({
14915
+ (0, import_typeorm86.Column)({
14723
14916
  name: "search_vector",
14724
14917
  type: "tsvector",
14725
14918
  nullable: true
14726
14919
  })
14727
14920
  ], SkillCatalog.prototype, "searchVector", 2);
14728
14921
  SkillCatalog = __decorateClass([
14729
- (0, import_typeorm85.Entity)("skill_catalogs")
14922
+ (0, import_typeorm86.Entity)("skill_catalogs")
14730
14923
  ], SkillCatalog);
14731
14924
 
14732
14925
  // src/entities/job-role.entity.ts
14733
- var import_typeorm86 = require("typeorm");
14926
+ var import_typeorm87 = require("typeorm");
14734
14927
  var JobRoles = class extends BaseEntity {
14735
14928
  };
14736
14929
  __decorateClass([
14737
- (0, import_typeorm86.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14930
+ (0, import_typeorm87.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14738
14931
  ], JobRoles.prototype, "slug", 2);
14739
14932
  __decorateClass([
14740
- (0, import_typeorm86.Column)({ name: "name", type: "varchar", nullable: true })
14933
+ (0, import_typeorm87.Column)({ name: "name", type: "varchar", nullable: true })
14741
14934
  ], JobRoles.prototype, "name", 2);
14742
14935
  __decorateClass([
14743
- (0, import_typeorm86.Column)({ name: "is_active", type: "boolean", default: true })
14936
+ (0, import_typeorm87.Column)({ name: "is_active", type: "boolean", default: true })
14744
14937
  ], JobRoles.prototype, "isActive", 2);
14745
14938
  JobRoles = __decorateClass([
14746
- (0, import_typeorm86.Entity)("job_roles")
14939
+ (0, import_typeorm87.Entity)("job_roles")
14747
14940
  ], JobRoles);
14748
14941
 
14749
14942
  // src/entities/cms.entity.ts
14750
- var import_typeorm87 = require("typeorm");
14943
+ var import_typeorm88 = require("typeorm");
14751
14944
  var Cms = class extends BaseEntity {
14752
14945
  };
14753
14946
  __decorateClass([
14754
- (0, import_typeorm87.Column)({ name: "title", type: "varchar", nullable: true })
14947
+ (0, import_typeorm88.Column)({ name: "title", type: "varchar", nullable: true })
14755
14948
  ], Cms.prototype, "title", 2);
14756
14949
  __decorateClass([
14757
- (0, import_typeorm87.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14950
+ (0, import_typeorm88.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
14758
14951
  ], Cms.prototype, "slug", 2);
14759
14952
  __decorateClass([
14760
- (0, import_typeorm87.Column)({ name: "content", type: "varchar", nullable: true })
14953
+ (0, import_typeorm88.Column)({ name: "content", type: "varchar", nullable: true })
14761
14954
  ], Cms.prototype, "content", 2);
14762
14955
  __decorateClass([
14763
- (0, import_typeorm87.Column)({ name: "is_active", type: "boolean", default: true })
14956
+ (0, import_typeorm88.Column)({ name: "is_active", type: "boolean", default: true })
14764
14957
  ], Cms.prototype, "isActive", 2);
14765
14958
  Cms = __decorateClass([
14766
- (0, import_typeorm87.Entity)("cms")
14959
+ (0, import_typeorm88.Entity)("cms")
14767
14960
  ], Cms);
14768
14961
 
14769
14962
  // src/entities/lead.entity.ts
14770
- var import_typeorm88 = require("typeorm");
14963
+ var import_typeorm89 = require("typeorm");
14771
14964
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
14772
14965
  CategoryEmum2["BUSINESS"] = "BUSINESS";
14773
14966
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -14776,22 +14969,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
14776
14969
  var Lead = class extends BaseEntity {
14777
14970
  };
14778
14971
  __decorateClass([
14779
- (0, import_typeorm88.Column)({ name: "name", type: "varchar", nullable: true })
14972
+ (0, import_typeorm89.Column)({ name: "name", type: "varchar", nullable: true })
14780
14973
  ], Lead.prototype, "name", 2);
14781
14974
  __decorateClass([
14782
- (0, import_typeorm88.Column)({ name: "mobile_code", type: "varchar", nullable: true })
14975
+ (0, import_typeorm89.Column)({ name: "mobile_code", type: "varchar", nullable: true })
14783
14976
  ], Lead.prototype, "mobileCode", 2);
14784
14977
  __decorateClass([
14785
- (0, import_typeorm88.Column)({ name: "mobile", type: "varchar", nullable: true })
14978
+ (0, import_typeorm89.Column)({ name: "mobile", type: "varchar", nullable: true })
14786
14979
  ], Lead.prototype, "mobile", 2);
14787
14980
  __decorateClass([
14788
- (0, import_typeorm88.Column)({ name: "email", type: "varchar", nullable: true })
14981
+ (0, import_typeorm89.Column)({ name: "email", type: "varchar", nullable: true })
14789
14982
  ], Lead.prototype, "email", 2);
14790
14983
  __decorateClass([
14791
- (0, import_typeorm88.Column)({ name: "description", type: "varchar", nullable: true })
14984
+ (0, import_typeorm89.Column)({ name: "description", type: "varchar", nullable: true })
14792
14985
  ], Lead.prototype, "description", 2);
14793
14986
  __decorateClass([
14794
- (0, import_typeorm88.Column)({
14987
+ (0, import_typeorm89.Column)({
14795
14988
  name: "category",
14796
14989
  type: "enum",
14797
14990
  enum: CategoryEmum,
@@ -14799,129 +14992,129 @@ __decorateClass([
14799
14992
  })
14800
14993
  ], Lead.prototype, "category", 2);
14801
14994
  Lead = __decorateClass([
14802
- (0, import_typeorm88.Entity)("leads")
14995
+ (0, import_typeorm89.Entity)("leads")
14803
14996
  ], Lead);
14804
14997
 
14805
14998
  // src/entities/job-freelancer-recommendation.entity.ts
14806
- var import_typeorm89 = require("typeorm");
14999
+ var import_typeorm90 = require("typeorm");
14807
15000
  var JobFreelancerRecommendation = class {
14808
15001
  };
14809
15002
  __decorateClass([
14810
- (0, import_typeorm89.ViewColumn)({ name: "job_id" })
15003
+ (0, import_typeorm90.ViewColumn)({ name: "job_id" })
14811
15004
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
14812
15005
  __decorateClass([
14813
- (0, import_typeorm89.ViewColumn)({ name: "job_uuid" })
15006
+ (0, import_typeorm90.ViewColumn)({ name: "job_uuid" })
14814
15007
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
14815
15008
  __decorateClass([
14816
- (0, import_typeorm89.ViewColumn)({ name: "job_unique_id" })
15009
+ (0, import_typeorm90.ViewColumn)({ name: "job_unique_id" })
14817
15010
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
14818
15011
  __decorateClass([
14819
- (0, import_typeorm89.ViewColumn)({ name: "job_role" })
15012
+ (0, import_typeorm90.ViewColumn)({ name: "job_role" })
14820
15013
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
14821
15014
  __decorateClass([
14822
- (0, import_typeorm89.ViewColumn)({ name: "job_openings" })
15015
+ (0, import_typeorm90.ViewColumn)({ name: "job_openings" })
14823
15016
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
14824
15017
  __decorateClass([
14825
- (0, import_typeorm89.ViewColumn)({ name: "job_location" })
15018
+ (0, import_typeorm90.ViewColumn)({ name: "job_location" })
14826
15019
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
14827
15020
  __decorateClass([
14828
- (0, import_typeorm89.ViewColumn)({ name: "job_currency" })
15021
+ (0, import_typeorm90.ViewColumn)({ name: "job_currency" })
14829
15022
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
14830
15023
  __decorateClass([
14831
- (0, import_typeorm89.ViewColumn)({ name: "job_salary_from" })
15024
+ (0, import_typeorm90.ViewColumn)({ name: "job_salary_from" })
14832
15025
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
14833
15026
  __decorateClass([
14834
- (0, import_typeorm89.ViewColumn)({ name: "job_salary_to" })
15027
+ (0, import_typeorm90.ViewColumn)({ name: "job_salary_to" })
14835
15028
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
14836
15029
  __decorateClass([
14837
- (0, import_typeorm89.ViewColumn)({ name: "job_employment_type" })
15030
+ (0, import_typeorm90.ViewColumn)({ name: "job_employment_type" })
14838
15031
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
14839
15032
  __decorateClass([
14840
- (0, import_typeorm89.ViewColumn)({ name: "application_received" })
15033
+ (0, import_typeorm90.ViewColumn)({ name: "application_received" })
14841
15034
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
14842
15035
  __decorateClass([
14843
- (0, import_typeorm89.ViewColumn)({ name: "job_posted_at" })
15036
+ (0, import_typeorm90.ViewColumn)({ name: "job_posted_at" })
14844
15037
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
14845
15038
  __decorateClass([
14846
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_id" })
15039
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_id" })
14847
15040
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
14848
15041
  __decorateClass([
14849
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_uuid" })
15042
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_uuid" })
14850
15043
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
14851
15044
  __decorateClass([
14852
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_unique_id" })
15045
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_unique_id" })
14853
15046
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
14854
15047
  __decorateClass([
14855
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_first_name" })
15048
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_first_name" })
14856
15049
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
14857
15050
  __decorateClass([
14858
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_last_name" })
15051
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_last_name" })
14859
15052
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
14860
15053
  __decorateClass([
14861
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_email" })
15054
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_email" })
14862
15055
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
14863
15056
  __decorateClass([
14864
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_profile_picture" })
15057
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_profile_picture" })
14865
15058
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
14866
15059
  __decorateClass([
14867
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_is_social" })
15060
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_is_social" })
14868
15061
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
14869
15062
  __decorateClass([
14870
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_created_at" })
15063
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_created_at" })
14871
15064
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
14872
15065
  __decorateClass([
14873
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_designation" })
15066
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_designation" })
14874
15067
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
14875
15068
  __decorateClass([
14876
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_experience" })
15069
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_experience" })
14877
15070
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
14878
15071
  __decorateClass([
14879
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_expertshub_verified" })
15072
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_expertshub_verified" })
14880
15073
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
14881
15074
  __decorateClass([
14882
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_hourly_compensation" })
15075
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_hourly_compensation" })
14883
15076
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
14884
15077
  __decorateClass([
14885
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_country_name" })
15078
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_country_name" })
14886
15079
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
14887
15080
  __decorateClass([
14888
- (0, import_typeorm89.ViewColumn)({ name: "freelancer_country_iso_code" })
15081
+ (0, import_typeorm90.ViewColumn)({ name: "freelancer_country_iso_code" })
14889
15082
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
14890
15083
  __decorateClass([
14891
- (0, import_typeorm89.ViewColumn)({ name: "client_id" })
15084
+ (0, import_typeorm90.ViewColumn)({ name: "client_id" })
14892
15085
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
14893
15086
  __decorateClass([
14894
- (0, import_typeorm89.ViewColumn)({ name: "client_uuid" })
15087
+ (0, import_typeorm90.ViewColumn)({ name: "client_uuid" })
14895
15088
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
14896
15089
  __decorateClass([
14897
- (0, import_typeorm89.ViewColumn)({ name: "client_first_name" })
15090
+ (0, import_typeorm90.ViewColumn)({ name: "client_first_name" })
14898
15091
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
14899
15092
  __decorateClass([
14900
- (0, import_typeorm89.ViewColumn)({ name: "client_last_name" })
15093
+ (0, import_typeorm90.ViewColumn)({ name: "client_last_name" })
14901
15094
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
14902
15095
  __decorateClass([
14903
- (0, import_typeorm89.ViewColumn)({ name: "client_email" })
15096
+ (0, import_typeorm90.ViewColumn)({ name: "client_email" })
14904
15097
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
14905
15098
  __decorateClass([
14906
- (0, import_typeorm89.ViewColumn)({ name: "client_company_logo" })
15099
+ (0, import_typeorm90.ViewColumn)({ name: "client_company_logo" })
14907
15100
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
14908
15101
  __decorateClass([
14909
- (0, import_typeorm89.ViewColumn)({ name: "client_company_name" })
15102
+ (0, import_typeorm90.ViewColumn)({ name: "client_company_name" })
14910
15103
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
14911
15104
  __decorateClass([
14912
- (0, import_typeorm89.ViewColumn)({ name: "matching_skills" })
15105
+ (0, import_typeorm90.ViewColumn)({ name: "matching_skills" })
14913
15106
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
14914
15107
  __decorateClass([
14915
- (0, import_typeorm89.ViewColumn)({ name: "matching_skills_count" })
15108
+ (0, import_typeorm90.ViewColumn)({ name: "matching_skills_count" })
14916
15109
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
14917
15110
  __decorateClass([
14918
- (0, import_typeorm89.ViewColumn)({ name: "required_skills" })
15111
+ (0, import_typeorm90.ViewColumn)({ name: "required_skills" })
14919
15112
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
14920
15113
  __decorateClass([
14921
- (0, import_typeorm89.ViewColumn)({ name: "required_skills_count" })
15114
+ (0, import_typeorm90.ViewColumn)({ name: "required_skills_count" })
14922
15115
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
14923
15116
  JobFreelancerRecommendation = __decorateClass([
14924
- (0, import_typeorm89.ViewEntity)({
15117
+ (0, import_typeorm90.ViewEntity)({
14925
15118
  name: "job_freelancer_recommendations",
14926
15119
  materialized: true,
14927
15120
  synchronize: false
@@ -14930,32 +15123,32 @@ JobFreelancerRecommendation = __decorateClass([
14930
15123
  ], JobFreelancerRecommendation);
14931
15124
 
14932
15125
  // src/entities/job-freelancer-recommendation-v2.entity.ts
14933
- var import_typeorm90 = require("typeorm");
15126
+ var import_typeorm91 = require("typeorm");
14934
15127
  var JobFreelancerRecommendationV2 = class {
14935
15128
  };
14936
15129
  __decorateClass([
14937
- (0, import_typeorm90.ViewColumn)({ name: "job_id" })
15130
+ (0, import_typeorm91.ViewColumn)({ name: "job_id" })
14938
15131
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
14939
15132
  __decorateClass([
14940
- (0, import_typeorm90.ViewColumn)({ name: "job_owner_id" })
15133
+ (0, import_typeorm91.ViewColumn)({ name: "job_owner_id" })
14941
15134
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
14942
15135
  __decorateClass([
14943
- (0, import_typeorm90.ViewColumn)({ name: "freelancer_id" })
15136
+ (0, import_typeorm91.ViewColumn)({ name: "freelancer_id" })
14944
15137
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
14945
15138
  __decorateClass([
14946
- (0, import_typeorm90.ViewColumn)({ name: "matching_skills" })
15139
+ (0, import_typeorm91.ViewColumn)({ name: "matching_skills" })
14947
15140
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
14948
15141
  __decorateClass([
14949
- (0, import_typeorm90.ViewColumn)({ name: "matching_skills_count" })
15142
+ (0, import_typeorm91.ViewColumn)({ name: "matching_skills_count" })
14950
15143
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
14951
15144
  __decorateClass([
14952
- (0, import_typeorm90.ViewColumn)({ name: "required_skills" })
15145
+ (0, import_typeorm91.ViewColumn)({ name: "required_skills" })
14953
15146
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
14954
15147
  __decorateClass([
14955
- (0, import_typeorm90.ViewColumn)({ name: "required_skills_count" })
15148
+ (0, import_typeorm91.ViewColumn)({ name: "required_skills_count" })
14956
15149
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
14957
15150
  JobFreelancerRecommendationV2 = __decorateClass([
14958
- (0, import_typeorm90.ViewEntity)({
15151
+ (0, import_typeorm91.ViewEntity)({
14959
15152
  name: "job_freelancer_recommendations_v2",
14960
15153
  materialized: true,
14961
15154
  synchronize: false
@@ -14964,74 +15157,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
14964
15157
  ], JobFreelancerRecommendationV2);
14965
15158
 
14966
15159
  // src/entities/client-freelancer-recommendation.entity.ts
14967
- var import_typeorm91 = require("typeorm");
15160
+ var import_typeorm92 = require("typeorm");
14968
15161
  var ClientFreelancerRecommendation = class {
14969
15162
  };
14970
15163
  __decorateClass([
14971
- (0, import_typeorm91.ViewColumn)({ name: "client_id" })
15164
+ (0, import_typeorm92.ViewColumn)({ name: "client_id" })
14972
15165
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
14973
15166
  __decorateClass([
14974
- (0, import_typeorm91.ViewColumn)({ name: "client_uuid" })
15167
+ (0, import_typeorm92.ViewColumn)({ name: "client_uuid" })
14975
15168
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
14976
15169
  __decorateClass([
14977
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_id" })
15170
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_id" })
14978
15171
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
14979
15172
  __decorateClass([
14980
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_uuid" })
15173
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_uuid" })
14981
15174
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
14982
15175
  __decorateClass([
14983
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_unique_id" })
15176
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_unique_id" })
14984
15177
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
14985
15178
  __decorateClass([
14986
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_first_name" })
15179
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_first_name" })
14987
15180
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
14988
15181
  __decorateClass([
14989
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_last_name" })
15182
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_last_name" })
14990
15183
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
14991
15184
  __decorateClass([
14992
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_email" })
15185
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_email" })
14993
15186
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
14994
15187
  __decorateClass([
14995
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_profile_picture" })
15188
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_profile_picture" })
14996
15189
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
14997
15190
  __decorateClass([
14998
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_is_social" })
15191
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_is_social" })
14999
15192
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
15000
15193
  __decorateClass([
15001
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_created_at" })
15194
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_created_at" })
15002
15195
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
15003
15196
  __decorateClass([
15004
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_designation" })
15197
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_designation" })
15005
15198
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
15006
15199
  __decorateClass([
15007
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_experience" })
15200
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_experience" })
15008
15201
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
15009
15202
  __decorateClass([
15010
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_expertshub_verified" })
15203
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_expertshub_verified" })
15011
15204
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
15012
15205
  __decorateClass([
15013
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_hourly_compensation" })
15206
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_hourly_compensation" })
15014
15207
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
15015
15208
  __decorateClass([
15016
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_country_name" })
15209
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_country_name" })
15017
15210
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
15018
15211
  __decorateClass([
15019
- (0, import_typeorm91.ViewColumn)({ name: "freelancer_country_iso_code" })
15212
+ (0, import_typeorm92.ViewColumn)({ name: "freelancer_country_iso_code" })
15020
15213
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
15021
15214
  __decorateClass([
15022
- (0, import_typeorm91.ViewColumn)({ name: "matching_skills" })
15215
+ (0, import_typeorm92.ViewColumn)({ name: "matching_skills" })
15023
15216
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
15024
15217
  __decorateClass([
15025
- (0, import_typeorm91.ViewColumn)({ name: "matching_skills_count" })
15218
+ (0, import_typeorm92.ViewColumn)({ name: "matching_skills_count" })
15026
15219
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
15027
15220
  __decorateClass([
15028
- (0, import_typeorm91.ViewColumn)({ name: "required_skills" })
15221
+ (0, import_typeorm92.ViewColumn)({ name: "required_skills" })
15029
15222
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
15030
15223
  __decorateClass([
15031
- (0, import_typeorm91.ViewColumn)({ name: "required_skills_count" })
15224
+ (0, import_typeorm92.ViewColumn)({ name: "required_skills_count" })
15032
15225
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
15033
15226
  ClientFreelancerRecommendation = __decorateClass([
15034
- (0, import_typeorm91.ViewEntity)({
15227
+ (0, import_typeorm92.ViewEntity)({
15035
15228
  name: "client_freelancer_recommendations",
15036
15229
  materialized: true,
15037
15230
  synchronize: false
@@ -15040,7 +15233,7 @@ ClientFreelancerRecommendation = __decorateClass([
15040
15233
  ], ClientFreelancerRecommendation);
15041
15234
 
15042
15235
  // src/entities/commission.entity.ts
15043
- var import_typeorm92 = require("typeorm");
15236
+ var import_typeorm93 = require("typeorm");
15044
15237
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
15045
15238
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
15046
15239
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -15049,7 +15242,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
15049
15242
  var Commission = class extends BaseEntity {
15050
15243
  };
15051
15244
  __decorateClass([
15052
- (0, import_typeorm92.Column)({
15245
+ (0, import_typeorm93.Column)({
15053
15246
  name: "freelancer_commission_type",
15054
15247
  type: "enum",
15055
15248
  enum: CommissionTypeEnum,
@@ -15057,10 +15250,10 @@ __decorateClass([
15057
15250
  })
15058
15251
  ], Commission.prototype, "freelancerCommissionType", 2);
15059
15252
  __decorateClass([
15060
- (0, import_typeorm92.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
15253
+ (0, import_typeorm93.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
15061
15254
  ], Commission.prototype, "freelancerCommission", 2);
15062
15255
  __decorateClass([
15063
- (0, import_typeorm92.Column)({
15256
+ (0, import_typeorm93.Column)({
15064
15257
  name: "client_commission_type",
15065
15258
  type: "enum",
15066
15259
  enum: CommissionTypeEnum,
@@ -15068,50 +15261,50 @@ __decorateClass([
15068
15261
  })
15069
15262
  ], Commission.prototype, "clientCommissionType", 2);
15070
15263
  __decorateClass([
15071
- (0, import_typeorm92.Column)({ name: "client_commission", type: "integer", default: 0 })
15264
+ (0, import_typeorm93.Column)({ name: "client_commission", type: "integer", default: 0 })
15072
15265
  ], Commission.prototype, "clientCommission", 2);
15073
15266
  Commission = __decorateClass([
15074
- (0, import_typeorm92.Entity)("commissions")
15267
+ (0, import_typeorm93.Entity)("commissions")
15075
15268
  ], Commission);
15076
15269
 
15077
15270
  // src/entities/calendly-meeting-log.entity.ts
15078
- var import_typeorm93 = require("typeorm");
15271
+ var import_typeorm94 = require("typeorm");
15079
15272
  var CalendlyMeetingLog = class extends BaseEntity {
15080
15273
  };
15081
15274
  __decorateClass([
15082
- (0, import_typeorm93.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
15083
- (0, import_typeorm93.Index)()
15275
+ (0, import_typeorm94.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
15276
+ (0, import_typeorm94.Index)()
15084
15277
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
15085
15278
  __decorateClass([
15086
- (0, import_typeorm93.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
15279
+ (0, import_typeorm94.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
15087
15280
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
15088
15281
  __decorateClass([
15089
- (0, import_typeorm93.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
15282
+ (0, import_typeorm94.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
15090
15283
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
15091
15284
  CalendlyMeetingLog = __decorateClass([
15092
- (0, import_typeorm93.Entity)("calendly_meeting_logs")
15285
+ (0, import_typeorm94.Entity)("calendly_meeting_logs")
15093
15286
  ], CalendlyMeetingLog);
15094
15287
 
15095
15288
  // src/entities/zoom-meeting-log.entity.ts
15096
- var import_typeorm94 = require("typeorm");
15289
+ var import_typeorm95 = require("typeorm");
15097
15290
  var ZoomMeetingLog = class extends BaseEntity {
15098
15291
  };
15099
15292
  __decorateClass([
15100
- (0, import_typeorm94.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
15101
- (0, import_typeorm94.Index)()
15293
+ (0, import_typeorm95.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
15294
+ (0, import_typeorm95.Index)()
15102
15295
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
15103
15296
  __decorateClass([
15104
- (0, import_typeorm94.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
15297
+ (0, import_typeorm95.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
15105
15298
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
15106
15299
  __decorateClass([
15107
- (0, import_typeorm94.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
15300
+ (0, import_typeorm95.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
15108
15301
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
15109
15302
  ZoomMeetingLog = __decorateClass([
15110
- (0, import_typeorm94.Entity)("zoom_meeting_logs")
15303
+ (0, import_typeorm95.Entity)("zoom_meeting_logs")
15111
15304
  ], ZoomMeetingLog);
15112
15305
 
15113
15306
  // src/entities/docuseal.entity.ts
15114
- var import_typeorm95 = require("typeorm");
15307
+ var import_typeorm96 = require("typeorm");
15115
15308
  var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
15116
15309
  DocuSealTypeEnum2["FREELANCER_SERVICE_AGGREMENT"] = "FREELANCER_SERVICE_AGGREMENT";
15117
15310
  DocuSealTypeEnum2["CLIENT_SERVICE_AGGREMENT"] = "CLIENT_SERVICE_AGGREMENT";
@@ -15121,132 +15314,132 @@ var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
15121
15314
  var DocuSeal = class extends BaseEntity {
15122
15315
  };
15123
15316
  __decorateClass([
15124
- (0, import_typeorm95.Column)({ name: "reference_id", type: "integer", nullable: false }),
15125
- (0, import_typeorm95.Index)()
15317
+ (0, import_typeorm96.Column)({ name: "reference_id", type: "integer", nullable: false }),
15318
+ (0, import_typeorm96.Index)()
15126
15319
  ], DocuSeal.prototype, "referenceId", 2);
15127
15320
  __decorateClass([
15128
- (0, import_typeorm95.Column)({ name: "submitter_id", type: "integer", nullable: true }),
15129
- (0, import_typeorm95.Index)()
15321
+ (0, import_typeorm96.Column)({ name: "submitter_id", type: "integer", nullable: true }),
15322
+ (0, import_typeorm96.Index)()
15130
15323
  ], DocuSeal.prototype, "submitterId", 2);
15131
15324
  __decorateClass([
15132
- (0, import_typeorm95.Column)({ name: "submitter_response", type: "jsonb", nullable: true })
15325
+ (0, import_typeorm96.Column)({ name: "submitter_response", type: "jsonb", nullable: true })
15133
15326
  ], DocuSeal.prototype, "submitterResponse", 2);
15134
15327
  __decorateClass([
15135
- (0, import_typeorm95.Column)({ name: "webhook_response", type: "jsonb", nullable: true })
15328
+ (0, import_typeorm96.Column)({ name: "webhook_response", type: "jsonb", nullable: true })
15136
15329
  ], DocuSeal.prototype, "webhookResponse", 2);
15137
15330
  __decorateClass([
15138
- (0, import_typeorm95.Column)({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
15331
+ (0, import_typeorm96.Column)({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
15139
15332
  ], DocuSeal.prototype, "type", 2);
15140
15333
  DocuSeal = __decorateClass([
15141
- (0, import_typeorm95.Entity)("docuseal")
15334
+ (0, import_typeorm96.Entity)("docuseal")
15142
15335
  ], DocuSeal);
15143
15336
 
15144
15337
  // src/entities/stripe-logs.entity.ts
15145
- var import_typeorm96 = require("typeorm");
15338
+ var import_typeorm97 = require("typeorm");
15146
15339
  var StripeLog = class extends BaseEntity {
15147
15340
  };
15148
15341
  __decorateClass([
15149
- (0, import_typeorm96.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
15342
+ (0, import_typeorm97.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
15150
15343
  ], StripeLog.prototype, "stripeEventId", 2);
15151
15344
  __decorateClass([
15152
- (0, import_typeorm96.Column)({ name: "event_type", type: "varchar", nullable: true })
15345
+ (0, import_typeorm97.Column)({ name: "event_type", type: "varchar", nullable: true })
15153
15346
  ], StripeLog.prototype, "eventType", 2);
15154
15347
  __decorateClass([
15155
- (0, import_typeorm96.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
15348
+ (0, import_typeorm97.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
15156
15349
  ], StripeLog.prototype, "stripeAccountId", 2);
15157
15350
  __decorateClass([
15158
- (0, import_typeorm96.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
15351
+ (0, import_typeorm97.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
15159
15352
  ], StripeLog.prototype, "rawWebhookData", 2);
15160
15353
  StripeLog = __decorateClass([
15161
- (0, import_typeorm96.Entity)("stripe_logs")
15354
+ (0, import_typeorm97.Entity)("stripe_logs")
15162
15355
  ], StripeLog);
15163
15356
 
15164
15357
  // src/entities/recommendation-weightage-config.entity.ts
15165
- var import_typeorm97 = require("typeorm");
15358
+ var import_typeorm98 = require("typeorm");
15166
15359
  var RecommendationWeightageConfig = class extends BaseEntity {
15167
15360
  };
15168
15361
  __decorateClass([
15169
- (0, import_typeorm97.Column)({
15362
+ (0, import_typeorm98.Column)({
15170
15363
  type: "varchar",
15171
15364
  length: 100,
15172
15365
  unique: true,
15173
15366
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
15174
15367
  }),
15175
- (0, import_typeorm97.Index)()
15368
+ (0, import_typeorm98.Index)()
15176
15369
  ], RecommendationWeightageConfig.prototype, "key", 2);
15177
15370
  __decorateClass([
15178
- (0, import_typeorm97.Column)({
15371
+ (0, import_typeorm98.Column)({
15179
15372
  type: "jsonb",
15180
15373
  comment: "JSON object containing weight values",
15181
15374
  nullable: true
15182
15375
  })
15183
15376
  ], RecommendationWeightageConfig.prototype, "value", 2);
15184
15377
  __decorateClass([
15185
- (0, import_typeorm97.Column)({ name: "is_active", type: "boolean", default: true })
15378
+ (0, import_typeorm98.Column)({ name: "is_active", type: "boolean", default: true })
15186
15379
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
15187
15380
  RecommendationWeightageConfig = __decorateClass([
15188
- (0, import_typeorm97.Entity)("recommendation_weightage_configs")
15381
+ (0, import_typeorm98.Entity)("recommendation_weightage_configs")
15189
15382
  ], RecommendationWeightageConfig);
15190
15383
 
15191
15384
  // src/entities/global-setting.entity.ts
15192
- var import_typeorm98 = require("typeorm");
15385
+ var import_typeorm99 = require("typeorm");
15193
15386
  var GlobalSetting = class extends BaseEntity {
15194
15387
  };
15195
15388
  __decorateClass([
15196
- (0, import_typeorm98.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
15389
+ (0, import_typeorm99.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
15197
15390
  ], GlobalSetting.prototype, "key", 2);
15198
15391
  __decorateClass([
15199
- (0, import_typeorm98.Column)({ name: "value", type: "text", nullable: false })
15392
+ (0, import_typeorm99.Column)({ name: "value", type: "text", nullable: false })
15200
15393
  ], GlobalSetting.prototype, "value", 2);
15201
15394
  GlobalSetting = __decorateClass([
15202
- (0, import_typeorm98.Entity)("global_settings"),
15203
- (0, import_typeorm98.Index)(["key"], { unique: true })
15395
+ (0, import_typeorm99.Entity)("global_settings"),
15396
+ (0, import_typeorm99.Index)(["key"], { unique: true })
15204
15397
  ], GlobalSetting);
15205
15398
 
15206
15399
  // src/entities/plan.entity.ts
15207
- var import_typeorm101 = require("typeorm");
15400
+ var import_typeorm102 = require("typeorm");
15208
15401
 
15209
15402
  // src/entities/plan-feature.entity.ts
15210
- var import_typeorm99 = require("typeorm");
15403
+ var import_typeorm100 = require("typeorm");
15211
15404
  var PlanFeature = class extends BaseEntity {
15212
15405
  };
15213
15406
  // individual index to find features by plan
15214
15407
  __decorateClass([
15215
- (0, import_typeorm99.Column)({ name: "plan_id", type: "integer", nullable: false }),
15216
- (0, import_typeorm99.Index)()
15408
+ (0, import_typeorm100.Column)({ name: "plan_id", type: "integer", nullable: false }),
15409
+ (0, import_typeorm100.Index)()
15217
15410
  ], PlanFeature.prototype, "planId", 2);
15218
15411
  __decorateClass([
15219
- (0, import_typeorm99.ManyToOne)(() => Plan, (plan) => plan.features, {
15412
+ (0, import_typeorm100.ManyToOne)(() => Plan, (plan) => plan.features, {
15220
15413
  onDelete: "CASCADE",
15221
15414
  nullable: false
15222
15415
  }),
15223
- (0, import_typeorm99.JoinColumn)({ name: "plan_id" })
15416
+ (0, import_typeorm100.JoinColumn)({ name: "plan_id" })
15224
15417
  ], PlanFeature.prototype, "plan", 2);
15225
15418
  __decorateClass([
15226
- (0, import_typeorm99.Column)({ name: "name", type: "varchar", length: 200 })
15419
+ (0, import_typeorm100.Column)({ name: "name", type: "varchar", length: 200 })
15227
15420
  ], PlanFeature.prototype, "name", 2);
15228
15421
  __decorateClass([
15229
- (0, import_typeorm99.Column)({ name: "slug", type: "varchar", length: 100 }),
15230
- (0, import_typeorm99.Index)()
15422
+ (0, import_typeorm100.Column)({ name: "slug", type: "varchar", length: 100 }),
15423
+ (0, import_typeorm100.Index)()
15231
15424
  ], PlanFeature.prototype, "slug", 2);
15232
15425
  __decorateClass([
15233
- (0, import_typeorm99.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
15426
+ (0, import_typeorm100.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
15234
15427
  ], PlanFeature.prototype, "tooltip", 2);
15235
15428
  __decorateClass([
15236
- (0, import_typeorm99.Column)({ name: "sort_order", type: "smallint", default: 0 })
15429
+ (0, import_typeorm100.Column)({ name: "sort_order", type: "smallint", default: 0 })
15237
15430
  ], PlanFeature.prototype, "sortOrder", 2);
15238
15431
  __decorateClass([
15239
- (0, import_typeorm99.Column)({ name: "is_active", type: "boolean", default: true })
15432
+ (0, import_typeorm100.Column)({ name: "is_active", type: "boolean", default: true })
15240
15433
  ], PlanFeature.prototype, "isActive", 2);
15241
15434
  PlanFeature = __decorateClass([
15242
- (0, import_typeorm99.Entity)("plan_features"),
15243
- (0, import_typeorm99.Index)("idx_plan_features_plan_id", ["planId"]),
15244
- (0, import_typeorm99.Index)("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
15245
- (0, import_typeorm99.Check)("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
15435
+ (0, import_typeorm100.Entity)("plan_features"),
15436
+ (0, import_typeorm100.Index)("idx_plan_features_plan_id", ["planId"]),
15437
+ (0, import_typeorm100.Index)("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
15438
+ (0, import_typeorm100.Check)("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
15246
15439
  ], PlanFeature);
15247
15440
 
15248
15441
  // src/entities/plan-pricing.entity.ts
15249
- var import_typeorm100 = require("typeorm");
15442
+ var import_typeorm101 = require("typeorm");
15250
15443
  var PlanPricingBillingCycleEnum = /* @__PURE__ */ ((PlanPricingBillingCycleEnum2) => {
15251
15444
  PlanPricingBillingCycleEnum2["MONTHLY"] = "monthly";
15252
15445
  PlanPricingBillingCycleEnum2["YEARLY"] = "yearly";
@@ -15301,61 +15494,61 @@ var PlanPricing = class extends BaseEntity {
15301
15494
  };
15302
15495
  // individual index to find pricing by plan
15303
15496
  __decorateClass([
15304
- (0, import_typeorm100.Column)({ name: "plan_id", type: "integer", nullable: false }),
15305
- (0, import_typeorm100.Index)()
15497
+ (0, import_typeorm101.Column)({ name: "plan_id", type: "integer", nullable: false }),
15498
+ (0, import_typeorm101.Index)()
15306
15499
  ], PlanPricing.prototype, "planId", 2);
15307
15500
  __decorateClass([
15308
- (0, import_typeorm100.ManyToOne)(() => Plan, (plan) => plan.pricing, {
15501
+ (0, import_typeorm101.ManyToOne)(() => Plan, (plan) => plan.pricing, {
15309
15502
  onDelete: "CASCADE",
15310
15503
  nullable: false
15311
15504
  }),
15312
- (0, import_typeorm100.JoinColumn)({ name: "plan_id" })
15505
+ (0, import_typeorm101.JoinColumn)({ name: "plan_id" })
15313
15506
  ], PlanPricing.prototype, "plan", 2);
15314
15507
  __decorateClass([
15315
- (0, import_typeorm100.Column)({
15508
+ (0, import_typeorm101.Column)({
15316
15509
  name: "billing_cycle",
15317
15510
  type: "enum",
15318
15511
  enum: PlanPricingBillingCycleEnum
15319
15512
  })
15320
15513
  ], PlanPricing.prototype, "billingCycle", 2);
15321
15514
  __decorateClass([
15322
- (0, import_typeorm100.Column)({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
15515
+ (0, import_typeorm101.Column)({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
15323
15516
  ], PlanPricing.prototype, "price", 2);
15324
15517
  __decorateClass([
15325
- (0, import_typeorm100.Column)({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
15518
+ (0, import_typeorm101.Column)({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
15326
15519
  ], PlanPricing.prototype, "originalPrice", 2);
15327
15520
  __decorateClass([
15328
- (0, import_typeorm100.Column)({ name: "discount_pct", type: "decimal", precision: 5, scale: 2, nullable: true })
15521
+ (0, import_typeorm101.Column)({ name: "discount_pct", type: "decimal", precision: 5, scale: 2, nullable: true })
15329
15522
  ], PlanPricing.prototype, "discountPct", 2);
15330
15523
  __decorateClass([
15331
- (0, import_typeorm100.Column)({ name: "currency", type: "varchar", length: 3, default: "USD" })
15524
+ (0, import_typeorm101.Column)({ name: "currency", type: "varchar", length: 3, default: "USD" })
15332
15525
  ], PlanPricing.prototype, "currency", 2);
15333
15526
  __decorateClass([
15334
- (0, import_typeorm100.Column)({ name: "is_free", type: "boolean", default: false })
15527
+ (0, import_typeorm101.Column)({ name: "is_free", type: "boolean", default: false })
15335
15528
  ], PlanPricing.prototype, "isFree", 2);
15336
15529
  __decorateClass([
15337
- (0, import_typeorm100.Column)({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
15530
+ (0, import_typeorm101.Column)({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
15338
15531
  ], PlanPricing.prototype, "stripePriceId", 2);
15339
15532
  __decorateClass([
15340
- (0, import_typeorm100.Column)({ name: "trial_days", type: "smallint", default: 0 })
15533
+ (0, import_typeorm101.Column)({ name: "trial_days", type: "smallint", default: 0 })
15341
15534
  ], PlanPricing.prototype, "trialDays", 2);
15342
15535
  __decorateClass([
15343
- (0, import_typeorm100.Column)({ name: "is_active", type: "boolean", default: true })
15536
+ (0, import_typeorm101.Column)({ name: "is_active", type: "boolean", default: true })
15344
15537
  ], PlanPricing.prototype, "isActive", 2);
15345
15538
  __decorateClass([
15346
- (0, import_typeorm100.BeforeInsert)(),
15347
- (0, import_typeorm100.BeforeUpdate)()
15539
+ (0, import_typeorm101.BeforeInsert)(),
15540
+ (0, import_typeorm101.BeforeUpdate)()
15348
15541
  ], PlanPricing.prototype, "sanitize", 1);
15349
15542
  PlanPricing = __decorateClass([
15350
- (0, import_typeorm100.Entity)("plan_pricings"),
15351
- (0, import_typeorm100.Unique)("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
15352
- (0, import_typeorm100.Index)("idx_plan_pricings_plan_id", ["planId"]),
15353
- (0, import_typeorm100.Index)("idx_plan_pricings_active", ["isActive", "billingCycle"]),
15354
- (0, import_typeorm100.Check)("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
15355
- (0, import_typeorm100.Check)("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
15356
- (0, import_typeorm100.Check)("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
15357
- (0, import_typeorm100.Check)("chk_plan_pricings_original_gte_price", '"original_price" IS NULL OR "original_price" >= "price"'),
15358
- (0, import_typeorm100.Check)("chk_plan_pricings_original_price_non_negative", '"original_price" IS NULL OR "original_price" >= 0')
15543
+ (0, import_typeorm101.Entity)("plan_pricings"),
15544
+ (0, import_typeorm101.Unique)("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
15545
+ (0, import_typeorm101.Index)("idx_plan_pricings_plan_id", ["planId"]),
15546
+ (0, import_typeorm101.Index)("idx_plan_pricings_active", ["isActive", "billingCycle"]),
15547
+ (0, import_typeorm101.Check)("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
15548
+ (0, import_typeorm101.Check)("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
15549
+ (0, import_typeorm101.Check)("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
15550
+ (0, import_typeorm101.Check)("chk_plan_pricings_original_gte_price", '"original_price" IS NULL OR "original_price" >= "price"'),
15551
+ (0, import_typeorm101.Check)("chk_plan_pricings_original_price_non_negative", '"original_price" IS NULL OR "original_price" >= 0')
15359
15552
  ], PlanPricing);
15360
15553
 
15361
15554
  // src/entities/plan.entity.ts
@@ -15372,22 +15565,22 @@ var Plan = class extends BaseEntity {
15372
15565
  }
15373
15566
  };
15374
15567
  __decorateClass([
15375
- (0, import_typeorm101.Column)({ name: "name", type: "varchar", length: 100 })
15568
+ (0, import_typeorm102.Column)({ name: "name", type: "varchar", length: 100 })
15376
15569
  ], Plan.prototype, "name", 2);
15377
15570
  __decorateClass([
15378
- (0, import_typeorm101.Column)({ name: "slug", type: "varchar", length: 100 })
15571
+ (0, import_typeorm102.Column)({ name: "slug", type: "varchar", length: 100 })
15379
15572
  ], Plan.prototype, "slug", 2);
15380
15573
  __decorateClass([
15381
- (0, import_typeorm101.Column)({ name: "badge_label", type: "varchar", length: 60, nullable: true })
15574
+ (0, import_typeorm102.Column)({ name: "badge_label", type: "varchar", length: 60, nullable: true })
15382
15575
  ], Plan.prototype, "badgeLabel", 2);
15383
15576
  __decorateClass([
15384
- (0, import_typeorm101.Column)({ name: "sort_order", type: "smallint", default: 0 })
15577
+ (0, import_typeorm102.Column)({ name: "sort_order", type: "smallint", default: 0 })
15385
15578
  ], Plan.prototype, "sortOrder", 2);
15386
15579
  __decorateClass([
15387
- (0, import_typeorm101.Column)({ name: "is_active", type: "boolean", default: true })
15580
+ (0, import_typeorm102.Column)({ name: "is_active", type: "boolean", default: true })
15388
15581
  ], Plan.prototype, "isActive", 2);
15389
15582
  __decorateClass([
15390
- (0, import_typeorm101.Column)({
15583
+ (0, import_typeorm102.Column)({
15391
15584
  name: "plan_type",
15392
15585
  type: "enum",
15393
15586
  enum: PlanTypeEnum,
@@ -15395,37 +15588,37 @@ __decorateClass([
15395
15588
  })
15396
15589
  ], Plan.prototype, "planType", 2);
15397
15590
  __decorateClass([
15398
- (0, import_typeorm101.Column)({ name: "metadata", type: "jsonb", default: {} })
15591
+ (0, import_typeorm102.Column)({ name: "metadata", type: "jsonb", default: {} })
15399
15592
  ], Plan.prototype, "metadata", 2);
15400
15593
  __decorateClass([
15401
- (0, import_typeorm101.Column)({ name: "stripe_product_id", type: "varchar", length: 100, nullable: true })
15594
+ (0, import_typeorm102.Column)({ name: "stripe_product_id", type: "varchar", length: 100, nullable: true })
15402
15595
  ], Plan.prototype, "stripeProductId", 2);
15403
15596
  __decorateClass([
15404
- (0, import_typeorm101.BeforeInsert)(),
15405
- (0, import_typeorm101.BeforeUpdate)()
15597
+ (0, import_typeorm102.BeforeInsert)(),
15598
+ (0, import_typeorm102.BeforeUpdate)()
15406
15599
  ], Plan.prototype, "createSlug", 1);
15407
15600
  __decorateClass([
15408
- (0, import_typeorm101.OneToMany)(() => PlanFeature, (feature) => feature.plan, {
15601
+ (0, import_typeorm102.OneToMany)(() => PlanFeature, (feature) => feature.plan, {
15409
15602
  cascade: ["insert", "update"]
15410
15603
  })
15411
15604
  ], Plan.prototype, "features", 2);
15412
15605
  __decorateClass([
15413
- (0, import_typeorm101.OneToMany)(() => PlanPricing, (pricing) => pricing.plan, {
15606
+ (0, import_typeorm102.OneToMany)(() => PlanPricing, (pricing) => pricing.plan, {
15414
15607
  cascade: ["insert", "update"]
15415
15608
  })
15416
15609
  ], Plan.prototype, "pricing", 2);
15417
15610
  Plan = __decorateClass([
15418
- (0, import_typeorm101.Entity)("plans"),
15419
- (0, import_typeorm101.Index)("idx_plans_slug_plan_type", ["slug", "planType"], {
15611
+ (0, import_typeorm102.Entity)("plans"),
15612
+ (0, import_typeorm102.Index)("idx_plans_slug_plan_type", ["slug", "planType"], {
15420
15613
  unique: true,
15421
15614
  where: '"is_deleted" IS FALSE'
15422
15615
  }),
15423
- (0, import_typeorm101.Index)("idx_plans_active_sort", ["isActive", "sortOrder"]),
15424
- (0, import_typeorm101.Check)("chk_plans_sort_order_positive", '"sort_order" >= 0')
15616
+ (0, import_typeorm102.Index)("idx_plans_active_sort", ["isActive", "sortOrder"]),
15617
+ (0, import_typeorm102.Check)("chk_plans_sort_order_positive", '"sort_order" >= 0')
15425
15618
  ], Plan);
15426
15619
 
15427
15620
  // src/entities/subscription-feature.entity.ts
15428
- var import_typeorm102 = require("typeorm");
15621
+ var import_typeorm103 = require("typeorm");
15429
15622
  var SubscriptionFeature = class extends BaseEntity {
15430
15623
  toSlug(value) {
15431
15624
  return value.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "").replace(/-+/g, "-").replace(/^-|-$/g, "");
@@ -15440,33 +15633,33 @@ var SubscriptionFeature = class extends BaseEntity {
15440
15633
  }
15441
15634
  };
15442
15635
  __decorateClass([
15443
- (0, import_typeorm102.Column)({ name: "name", type: "varchar", length: 200 })
15636
+ (0, import_typeorm103.Column)({ name: "name", type: "varchar", length: 200 })
15444
15637
  ], SubscriptionFeature.prototype, "name", 2);
15445
15638
  __decorateClass([
15446
- (0, import_typeorm102.Column)({ name: "slug", type: "varchar", length: 100 })
15639
+ (0, import_typeorm103.Column)({ name: "slug", type: "varchar", length: 100 })
15447
15640
  ], SubscriptionFeature.prototype, "slug", 2);
15448
15641
  __decorateClass([
15449
- (0, import_typeorm102.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
15642
+ (0, import_typeorm103.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
15450
15643
  ], SubscriptionFeature.prototype, "tooltip", 2);
15451
15644
  __decorateClass([
15452
- (0, import_typeorm102.Column)({ name: "sort_order", type: "smallint", default: 0 })
15645
+ (0, import_typeorm103.Column)({ name: "sort_order", type: "smallint", default: 0 })
15453
15646
  ], SubscriptionFeature.prototype, "sortOrder", 2);
15454
15647
  __decorateClass([
15455
- (0, import_typeorm102.Column)({ name: "is_active", type: "boolean", default: true })
15648
+ (0, import_typeorm103.Column)({ name: "is_active", type: "boolean", default: true })
15456
15649
  ], SubscriptionFeature.prototype, "isActive", 2);
15457
15650
  __decorateClass([
15458
- (0, import_typeorm102.BeforeInsert)(),
15459
- (0, import_typeorm102.BeforeUpdate)()
15651
+ (0, import_typeorm103.BeforeInsert)(),
15652
+ (0, import_typeorm103.BeforeUpdate)()
15460
15653
  ], SubscriptionFeature.prototype, "createSlug", 1);
15461
15654
  SubscriptionFeature = __decorateClass([
15462
- (0, import_typeorm102.Entity)("subscription_features"),
15463
- (0, import_typeorm102.Index)("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
15464
- (0, import_typeorm102.Index)("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
15465
- (0, import_typeorm102.Check)("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
15655
+ (0, import_typeorm103.Entity)("subscription_features"),
15656
+ (0, import_typeorm103.Index)("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
15657
+ (0, import_typeorm103.Index)("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
15658
+ (0, import_typeorm103.Check)("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
15466
15659
  ], SubscriptionFeature);
15467
15660
 
15468
15661
  // src/entities/user-subscription-transaction.entity.ts
15469
- var import_typeorm103 = require("typeorm");
15662
+ var import_typeorm104 = require("typeorm");
15470
15663
  var UserSubscriptionTransactionTypeEnum = /* @__PURE__ */ ((UserSubscriptionTransactionTypeEnum2) => {
15471
15664
  UserSubscriptionTransactionTypeEnum2["SUBSCRIPTION_INITIATED"] = "SUBSCRIPTION_INITIATED";
15472
15665
  UserSubscriptionTransactionTypeEnum2["CHECKOUT_SESSION_CREATED"] = "CHECKOUT_SESSION_CREATED";
@@ -15484,25 +15677,25 @@ var UserSubscriptionTransactionStatusEnum = /* @__PURE__ */ ((UserSubscriptionTr
15484
15677
  var UserSubscriptionTransaction = class extends BaseEntity {
15485
15678
  };
15486
15679
  __decorateClass([
15487
- (0, import_typeorm103.Column)({ name: "user_subscription_id", type: "integer", nullable: false }),
15488
- (0, import_typeorm103.Index)()
15680
+ (0, import_typeorm104.Column)({ name: "user_subscription_id", type: "integer", nullable: false }),
15681
+ (0, import_typeorm104.Index)()
15489
15682
  ], UserSubscriptionTransaction.prototype, "userSubscriptionId", 2);
15490
15683
  __decorateClass([
15491
- (0, import_typeorm103.ManyToOne)(() => UserSubscription, { onDelete: "CASCADE", nullable: false }),
15492
- (0, import_typeorm103.JoinColumn)({ name: "user_subscription_id" })
15684
+ (0, import_typeorm104.ManyToOne)(() => UserSubscription, { onDelete: "CASCADE", nullable: false }),
15685
+ (0, import_typeorm104.JoinColumn)({ name: "user_subscription_id" })
15493
15686
  ], UserSubscriptionTransaction.prototype, "userSubscription", 2);
15494
15687
  __decorateClass([
15495
- (0, import_typeorm103.Column)({ name: "user_id", type: "integer", nullable: false })
15688
+ (0, import_typeorm104.Column)({ name: "user_id", type: "integer", nullable: false })
15496
15689
  ], UserSubscriptionTransaction.prototype, "userId", 2);
15497
15690
  __decorateClass([
15498
- (0, import_typeorm103.Column)({
15691
+ (0, import_typeorm104.Column)({
15499
15692
  name: "type",
15500
15693
  type: "enum",
15501
15694
  enum: UserSubscriptionTransactionTypeEnum
15502
15695
  })
15503
15696
  ], UserSubscriptionTransaction.prototype, "type", 2);
15504
15697
  __decorateClass([
15505
- (0, import_typeorm103.Column)({
15698
+ (0, import_typeorm104.Column)({
15506
15699
  name: "status",
15507
15700
  type: "enum",
15508
15701
  enum: UserSubscriptionTransactionStatusEnum,
@@ -15510,129 +15703,73 @@ __decorateClass([
15510
15703
  })
15511
15704
  ], UserSubscriptionTransaction.prototype, "status", 2);
15512
15705
  __decorateClass([
15513
- (0, import_typeorm103.Column)({ name: "plan_name", type: "text", nullable: true })
15706
+ (0, import_typeorm104.Column)({ name: "plan_name", type: "text", nullable: true })
15514
15707
  ], UserSubscriptionTransaction.prototype, "planName", 2);
15515
15708
  __decorateClass([
15516
- (0, import_typeorm103.Column)({ name: "amount_minor", type: "integer", nullable: true })
15709
+ (0, import_typeorm104.Column)({ name: "amount_minor", type: "integer", nullable: true })
15517
15710
  ], UserSubscriptionTransaction.prototype, "amountMinor", 2);
15518
15711
  __decorateClass([
15519
- (0, import_typeorm103.Column)({ name: "currency", type: "varchar", length: 3, nullable: true })
15712
+ (0, import_typeorm104.Column)({ name: "currency", type: "varchar", length: 3, nullable: true })
15520
15713
  ], UserSubscriptionTransaction.prototype, "currency", 2);
15521
15714
  __decorateClass([
15522
- (0, import_typeorm103.Column)({ name: "stripe_event_id", type: "varchar", length: 255, nullable: true })
15715
+ (0, import_typeorm104.Column)({ name: "stripe_event_id", type: "varchar", length: 255, nullable: true })
15523
15716
  ], UserSubscriptionTransaction.prototype, "stripeEventId", 2);
15524
15717
  __decorateClass([
15525
- (0, import_typeorm103.Column)({ name: "stripe_event_type", type: "varchar", length: 120, nullable: true })
15718
+ (0, import_typeorm104.Column)({ name: "stripe_event_type", type: "varchar", length: 120, nullable: true })
15526
15719
  ], UserSubscriptionTransaction.prototype, "stripeEventType", 2);
15527
15720
  __decorateClass([
15528
- (0, import_typeorm103.Column)({ name: "stripe_subscription_id", type: "varchar", length: 64, nullable: true })
15721
+ (0, import_typeorm104.Column)({ name: "stripe_subscription_id", type: "varchar", length: 64, nullable: true })
15529
15722
  ], UserSubscriptionTransaction.prototype, "stripeSubscriptionId", 2);
15530
15723
  __decorateClass([
15531
- (0, import_typeorm103.Column)({ name: "stripe_invoice_id", type: "varchar", length: 255, nullable: true })
15724
+ (0, import_typeorm104.Column)({ name: "stripe_invoice_id", type: "varchar", length: 255, nullable: true })
15532
15725
  ], UserSubscriptionTransaction.prototype, "stripeInvoiceId", 2);
15533
15726
  __decorateClass([
15534
- (0, import_typeorm103.Column)({ name: "description", type: "text", nullable: true })
15727
+ (0, import_typeorm104.Column)({ name: "description", type: "text", nullable: true })
15535
15728
  ], UserSubscriptionTransaction.prototype, "description", 2);
15536
15729
  __decorateClass([
15537
- (0, import_typeorm103.Column)({ name: "invoice_url", type: "text", nullable: true })
15730
+ (0, import_typeorm104.Column)({ name: "invoice_url", type: "text", nullable: true })
15538
15731
  ], UserSubscriptionTransaction.prototype, "invoiceUrl", 2);
15539
15732
  __decorateClass([
15540
- (0, import_typeorm103.Column)({ name: "checkout_request_payload", type: "jsonb", nullable: true })
15733
+ (0, import_typeorm104.Column)({ name: "checkout_request_payload", type: "jsonb", nullable: true })
15541
15734
  ], UserSubscriptionTransaction.prototype, "checkoutRequestPayload", 2);
15542
15735
  __decorateClass([
15543
- (0, import_typeorm103.Column)({ name: "checkout_response_payload", type: "jsonb", nullable: true })
15736
+ (0, import_typeorm104.Column)({ name: "checkout_response_payload", type: "jsonb", nullable: true })
15544
15737
  ], UserSubscriptionTransaction.prototype, "checkoutResponsePayload", 2);
15545
15738
  __decorateClass([
15546
- (0, import_typeorm103.Column)({ name: "webhook_payload", type: "jsonb", nullable: true })
15739
+ (0, import_typeorm104.Column)({ name: "webhook_payload", type: "jsonb", nullable: true })
15547
15740
  ], UserSubscriptionTransaction.prototype, "webhookPayload", 2);
15548
15741
  __decorateClass([
15549
- (0, import_typeorm103.Column)({ name: "metadata", type: "jsonb", nullable: true, default: {} })
15742
+ (0, import_typeorm104.Column)({ name: "metadata", type: "jsonb", nullable: true, default: {} })
15550
15743
  ], UserSubscriptionTransaction.prototype, "metadata", 2);
15551
15744
  UserSubscriptionTransaction = __decorateClass([
15552
- (0, import_typeorm103.Entity)("user_subscription_transactions"),
15553
- (0, import_typeorm103.Index)("idx_user_sub_tx_user_subscription_id", ["userSubscriptionId"]),
15554
- (0, import_typeorm103.Index)("idx_user_sub_tx_user_id", ["userId"]),
15555
- (0, import_typeorm103.Index)("idx_user_sub_tx_stripe_event_id", ["stripeEventId"])
15745
+ (0, import_typeorm104.Entity)("user_subscription_transactions"),
15746
+ (0, import_typeorm104.Index)("idx_user_sub_tx_user_subscription_id", ["userSubscriptionId"]),
15747
+ (0, import_typeorm104.Index)("idx_user_sub_tx_user_id", ["userId"]),
15748
+ (0, import_typeorm104.Index)("idx_user_sub_tx_stripe_event_id", ["stripeEventId"])
15556
15749
  ], UserSubscriptionTransaction);
15557
15750
 
15558
15751
  // src/entities/vendor-api-configuration.entity.ts
15559
- var import_typeorm104 = require("typeorm");
15752
+ var import_typeorm105 = require("typeorm");
15560
15753
  var VendorApiConfiguration = class extends BaseEntity {
15561
15754
  };
15562
15755
  __decorateClass([
15563
- (0, import_typeorm104.Column)({ name: "vendor_name", type: "varchar", length: 255 })
15756
+ (0, import_typeorm105.Column)({ name: "vendor_name", type: "varchar", length: 255 })
15564
15757
  ], VendorApiConfiguration.prototype, "vendorName", 2);
15565
15758
  __decorateClass([
15566
- (0, import_typeorm104.Column)({ name: "vendor_api_key", type: "varchar", length: 255 })
15759
+ (0, import_typeorm105.Column)({ name: "vendor_api_key", type: "varchar", length: 255 })
15567
15760
  ], VendorApiConfiguration.prototype, "vendorApiKey", 2);
15568
15761
  __decorateClass([
15569
- (0, import_typeorm104.Column)({ name: "vendor_api_secret_key", type: "text" })
15762
+ (0, import_typeorm105.Column)({ name: "vendor_api_secret_key", type: "text" })
15570
15763
  ], VendorApiConfiguration.prototype, "vendorApiSecretKey", 2);
15571
15764
  __decorateClass([
15572
- (0, import_typeorm104.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
15765
+ (0, import_typeorm105.Column)({ name: "slug", type: "varchar", length: 100 })
15573
15766
  ], VendorApiConfiguration.prototype, "slug", 2);
15574
15767
  __decorateClass([
15575
- (0, import_typeorm104.Column)({ name: "is_active", type: "boolean", default: true })
15768
+ (0, import_typeorm105.Column)({ name: "is_active", type: "boolean", default: true })
15576
15769
  ], VendorApiConfiguration.prototype, "isActive", 2);
15577
15770
  VendorApiConfiguration = __decorateClass([
15578
- (0, import_typeorm104.Entity)("vendor_api_configurations")
15771
+ (0, import_typeorm105.Entity)("vendor_api_configurations")
15579
15772
  ], VendorApiConfiguration);
15580
-
15581
- // src/entities/ekyc-verification-log.entity.ts
15582
- var import_typeorm105 = require("typeorm");
15583
- var EkycVerificationLogStatusEnum = /* @__PURE__ */ ((EkycVerificationLogStatusEnum2) => {
15584
- EkycVerificationLogStatusEnum2["NOT_STARTED"] = "NOT_STARTED";
15585
- EkycVerificationLogStatusEnum2["NOT_FINISHED"] = "NOT_FINISHED";
15586
- EkycVerificationLogStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
15587
- EkycVerificationLogStatusEnum2["APPROVED"] = "APPROVED";
15588
- EkycVerificationLogStatusEnum2["DECLINED"] = "DECLINED";
15589
- EkycVerificationLogStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
15590
- EkycVerificationLogStatusEnum2["EXPIRED"] = "EXPIRED";
15591
- EkycVerificationLogStatusEnum2["KYC_EXPIRED"] = "KYC_EXPIRED";
15592
- EkycVerificationLogStatusEnum2["ABANDONED"] = "ABANDONED";
15593
- EkycVerificationLogStatusEnum2["RESUBMITTED"] = "RESUBMITTED";
15594
- EkycVerificationLogStatusEnum2["AWAITING_USER"] = "AWAITING_USER";
15595
- return EkycVerificationLogStatusEnum2;
15596
- })(EkycVerificationLogStatusEnum || {});
15597
- var EkycVerifcationLog = class {
15598
- };
15599
- __decorateClass([
15600
- (0, import_typeorm105.PrimaryGeneratedColumn)("increment", { type: "integer" })
15601
- ], EkycVerifcationLog.prototype, "id", 2);
15602
- __decorateClass([
15603
- (0, import_typeorm105.Column)({ name: "session_id", type: "varchar", unique: true })
15604
- ], EkycVerifcationLog.prototype, "sessionId", 2);
15605
- __decorateClass([
15606
- (0, import_typeorm105.Column)({ name: "workflow_id", type: "varchar", unique: true })
15607
- ], EkycVerifcationLog.prototype, "workflowId", 2);
15608
- __decorateClass([
15609
- (0, import_typeorm105.Column)({ name: "callback_url", type: "varchar", unique: true })
15610
- ], EkycVerifcationLog.prototype, "callBackUrl", 2);
15611
- __decorateClass([
15612
- (0, import_typeorm105.Column)({
15613
- type: "enum",
15614
- enum: EkycVerificationLogStatusEnum,
15615
- nullable: true
15616
- })
15617
- ], EkycVerifcationLog.prototype, "status", 2);
15618
- __decorateClass([
15619
- (0, import_typeorm105.Column)({ name: "signature_method", type: "varchar", nullable: true })
15620
- ], EkycVerifcationLog.prototype, "signatureMethod", 2);
15621
- __decorateClass([
15622
- (0, import_typeorm105.Column)({ name: "is_signature_valid", type: "boolean", default: false })
15623
- ], EkycVerifcationLog.prototype, "isSignatureValid", 2);
15624
- __decorateClass([
15625
- (0, import_typeorm105.Column)({ name: "raw_payload", type: "text", nullable: true })
15626
- ], EkycVerifcationLog.prototype, "rawPayload", 2);
15627
- __decorateClass([
15628
- (0, import_typeorm105.Column)({ name: "headers", type: "jsonb", nullable: true })
15629
- ], EkycVerifcationLog.prototype, "headers", 2);
15630
- __decorateClass([
15631
- (0, import_typeorm105.Column)({ name: "error_message", type: "text", nullable: true })
15632
- ], EkycVerifcationLog.prototype, "errorMessage", 2);
15633
- EkycVerifcationLog = __decorateClass([
15634
- (0, import_typeorm105.Entity)("ekyc_verification_logs")
15635
- ], EkycVerifcationLog);
15636
15773
  // Annotate the CommonJS export names for ESM import in node:
15637
15774
  0 && (module.exports = {
15638
15775
  ADMIN_FREELANCER_PATTERN,
@@ -15731,6 +15868,7 @@ EkycVerifcationLog = __decorateClass([
15731
15868
  CompanyRole,
15732
15869
  CompanyRolePermission,
15733
15870
  CompanySkill,
15871
+ ContactDetailsDto,
15734
15872
  Contract,
15735
15873
  ContractRMQAdapter,
15736
15874
  ContractStatusEnum,
@@ -15749,6 +15887,7 @@ EkycVerifcationLog = __decorateClass([
15749
15887
  CreateCompanyRoleDto,
15750
15888
  CreateDefaultTimesheetLineDto,
15751
15889
  CreateDisputeDto,
15890
+ CreateEkycSessionDto,
15752
15891
  CreateF2FInterviewDirectDto,
15753
15892
  CreateF2FInterviewDto,
15754
15893
  CreateF2FInterviewRescheduleRequestDto,
@@ -15771,6 +15910,7 @@ EkycVerifcationLog = __decorateClass([
15771
15910
  CreateTaskQueryDto,
15772
15911
  CreateUserSigningDto,
15773
15912
  CustomQuestionItemDto,
15913
+ DIDIT_PATTERN,
15774
15914
  DISPUTE_PATTERN,
15775
15915
  DOCUSEAL_PATTERN,
15776
15916
  DebitCommissionFteHiringDto,
@@ -15786,7 +15926,7 @@ EkycVerifcationLog = __decorateClass([
15786
15926
  DurationTypeEnum,
15787
15927
  EMAIL_PATTERN,
15788
15928
  EducationDto,
15789
- EkycVerifcationLog,
15929
+ EkycVerificationLog,
15790
15930
  EkycVerificationLogStatusEnum,
15791
15931
  EkycVerificationSession,
15792
15932
  EkycVerificationSessionStatusEnum,
@@ -15798,6 +15938,7 @@ EkycVerifcationLog = __decorateClass([
15798
15938
  EsignContractClientDto,
15799
15939
  EsignContractFreelancerDto,
15800
15940
  ExistingCandidateDto,
15941
+ ExpectedDetailsDto,
15801
15942
  ExperienceDto,
15802
15943
  F2FInterview,
15803
15944
  F2FInterviewSchedule,
@@ -15916,6 +16057,7 @@ EkycVerifcationLog = __decorateClass([
15916
16057
  MarkTaskAsCompletedDto,
15917
16058
  MarkTaskQueryMessagesReadDto,
15918
16059
  McqStatusEnum,
16060
+ MetadataDto,
15919
16061
  ModeOfHire,
15920
16062
  ModeOfWork,
15921
16063
  NOTIFICATION_PATTERN,