@experts_hub/shared 1.0.734 → 1.0.736

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