@experts_hub/shared 1.0.370 → 1.0.372
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/index.d.ts +2 -0
- package/dist/entities/invoices.entity.d.ts +0 -0
- package/dist/entities/stripe-wallet-transaction.entity.d.ts +24 -0
- package/dist/entities/stripe-wallet.entity.d.ts +18 -0
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/index.d.mts +40 -1
- package/dist/index.d.ts +40 -1
- package/dist/index.js +322 -222
- package/dist/index.mjs +254 -158
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -238,6 +238,10 @@ __export(index_exports, {
|
|
|
238
238
|
Skill: () => Skill,
|
|
239
239
|
State: () => State,
|
|
240
240
|
Step: () => Step,
|
|
241
|
+
StripeWallet: () => StripeWallet,
|
|
242
|
+
StripeWalletTransaction: () => StripeWalletTransaction,
|
|
243
|
+
StripeWalletTransactionStatusEnum: () => StripeWalletTransactionStatusEnum,
|
|
244
|
+
StripeWalletTransactionTypeEnum: () => StripeWalletTransactionTypeEnum,
|
|
241
245
|
SystemPreference: () => SystemPreference,
|
|
242
246
|
SystemPreferenceDto: () => SystemPreferenceDto,
|
|
243
247
|
SystemPreferenceKey: () => SystemPreferenceKey,
|
|
@@ -1562,10 +1566,10 @@ var RATING_PATTERN = {
|
|
|
1562
1566
|
var import_class_validator42 = require("class-validator");
|
|
1563
1567
|
|
|
1564
1568
|
// src/entities/rating.entity.ts
|
|
1565
|
-
var
|
|
1569
|
+
var import_typeorm50 = require("typeorm");
|
|
1566
1570
|
|
|
1567
1571
|
// src/entities/user.entity.ts
|
|
1568
|
-
var
|
|
1572
|
+
var import_typeorm49 = require("typeorm");
|
|
1569
1573
|
|
|
1570
1574
|
// src/entities/base.entity.ts
|
|
1571
1575
|
var import_typeorm = require("typeorm");
|
|
@@ -4068,6 +4072,95 @@ FreelancerResume = __decorateClass([
|
|
|
4068
4072
|
(0, import_typeorm46.Entity)("freelancer_resumes")
|
|
4069
4073
|
], FreelancerResume);
|
|
4070
4074
|
|
|
4075
|
+
// src/entities/stripe-wallet.entity.ts
|
|
4076
|
+
var import_typeorm48 = require("typeorm");
|
|
4077
|
+
|
|
4078
|
+
// src/entities/stripe-wallet-transaction.entity.ts
|
|
4079
|
+
var import_typeorm47 = require("typeorm");
|
|
4080
|
+
var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
|
|
4081
|
+
StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
|
|
4082
|
+
StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
|
|
4083
|
+
StripeWalletTransactionTypeEnum2["WITHDRAW"] = "WITHDRAW";
|
|
4084
|
+
StripeWalletTransactionTypeEnum2["INVOICE_PAYMENT"] = "INVOICE_PAYMENT";
|
|
4085
|
+
StripeWalletTransactionTypeEnum2["REFUND"] = "REFUND";
|
|
4086
|
+
return StripeWalletTransactionTypeEnum2;
|
|
4087
|
+
})(StripeWalletTransactionTypeEnum || {});
|
|
4088
|
+
var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
|
|
4089
|
+
StripeWalletTransactionStatusEnum2["PENDING"] = "PENDING";
|
|
4090
|
+
StripeWalletTransactionStatusEnum2["SUCCESS"] = "SUCCESS";
|
|
4091
|
+
StripeWalletTransactionStatusEnum2["FAILED"] = "FAILED";
|
|
4092
|
+
return StripeWalletTransactionStatusEnum2;
|
|
4093
|
+
})(StripeWalletTransactionStatusEnum || {});
|
|
4094
|
+
var StripeWalletTransaction = class extends BaseEntity {
|
|
4095
|
+
};
|
|
4096
|
+
__decorateClass([
|
|
4097
|
+
(0, import_typeorm47.Column)({ name: "wallet_id", type: "integer", nullable: true }),
|
|
4098
|
+
(0, import_typeorm47.Index)()
|
|
4099
|
+
], StripeWalletTransaction.prototype, "walletId", 2);
|
|
4100
|
+
__decorateClass([
|
|
4101
|
+
(0, import_typeorm47.ManyToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
|
|
4102
|
+
(0, import_typeorm47.JoinColumn)({ name: "wallet_id" })
|
|
4103
|
+
], StripeWalletTransaction.prototype, "stripeWallet", 2);
|
|
4104
|
+
__decorateClass([
|
|
4105
|
+
(0, import_typeorm47.Column)({ name: "amount", type: "bigint", nullable: true })
|
|
4106
|
+
], StripeWalletTransaction.prototype, "amount", 2);
|
|
4107
|
+
__decorateClass([
|
|
4108
|
+
(0, import_typeorm47.Column)({ name: "currency", type: "varchar", nullable: true })
|
|
4109
|
+
], StripeWalletTransaction.prototype, "currency", 2);
|
|
4110
|
+
__decorateClass([
|
|
4111
|
+
(0, import_typeorm47.Column)({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
|
|
4112
|
+
], StripeWalletTransaction.prototype, "type", 2);
|
|
4113
|
+
__decorateClass([
|
|
4114
|
+
(0, import_typeorm47.Column)({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
|
|
4115
|
+
], StripeWalletTransaction.prototype, "status", 2);
|
|
4116
|
+
__decorateClass([
|
|
4117
|
+
(0, import_typeorm47.Column)({ name: "stripe_reference_id", type: "varchar", nullable: true })
|
|
4118
|
+
], StripeWalletTransaction.prototype, "stripeReferenceId", 2);
|
|
4119
|
+
__decorateClass([
|
|
4120
|
+
(0, import_typeorm47.Column)({ name: "description", type: "text", nullable: true })
|
|
4121
|
+
], StripeWalletTransaction.prototype, "description", 2);
|
|
4122
|
+
StripeWalletTransaction = __decorateClass([
|
|
4123
|
+
(0, import_typeorm47.Entity)("stripe_wallet_transactions")
|
|
4124
|
+
], StripeWalletTransaction);
|
|
4125
|
+
|
|
4126
|
+
// src/entities/stripe-wallet.entity.ts
|
|
4127
|
+
var StripeWalletAccountTypeEnum = /* @__PURE__ */ ((StripeWalletAccountTypeEnum2) => {
|
|
4128
|
+
StripeWalletAccountTypeEnum2["BUSINESS"] = "BUSINESS";
|
|
4129
|
+
StripeWalletAccountTypeEnum2["FREELANCER"] = "FREELANCER";
|
|
4130
|
+
return StripeWalletAccountTypeEnum2;
|
|
4131
|
+
})(StripeWalletAccountTypeEnum || {});
|
|
4132
|
+
var StripeWallet = class extends BaseEntity {
|
|
4133
|
+
};
|
|
4134
|
+
__decorateClass([
|
|
4135
|
+
(0, import_typeorm48.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
4136
|
+
(0, import_typeorm48.Index)()
|
|
4137
|
+
], StripeWallet.prototype, "userId", 2);
|
|
4138
|
+
__decorateClass([
|
|
4139
|
+
(0, import_typeorm48.OneToOne)(() => User, (user) => user.stripeWallet),
|
|
4140
|
+
(0, import_typeorm48.JoinColumn)({ name: "user_id" })
|
|
4141
|
+
], StripeWallet.prototype, "user", 2);
|
|
4142
|
+
__decorateClass([
|
|
4143
|
+
(0, import_typeorm48.Column)({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
|
|
4144
|
+
], StripeWallet.prototype, "accountType", 2);
|
|
4145
|
+
__decorateClass([
|
|
4146
|
+
(0, import_typeorm48.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
|
|
4147
|
+
], StripeWallet.prototype, "stripeAccountId", 2);
|
|
4148
|
+
__decorateClass([
|
|
4149
|
+
(0, import_typeorm48.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
|
|
4150
|
+
], StripeWallet.prototype, "stripeCustomerId", 2);
|
|
4151
|
+
__decorateClass([
|
|
4152
|
+
(0, import_typeorm48.Column)({ name: "wallet_balance", type: "bigint", default: 0 })
|
|
4153
|
+
], StripeWallet.prototype, "walletBalance", 2);
|
|
4154
|
+
__decorateClass([
|
|
4155
|
+
(0, import_typeorm48.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
|
|
4156
|
+
], StripeWallet.prototype, "stripeMetadata", 2);
|
|
4157
|
+
__decorateClass([
|
|
4158
|
+
(0, import_typeorm48.OneToMany)(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
|
|
4159
|
+
], StripeWallet.prototype, "transactions", 2);
|
|
4160
|
+
StripeWallet = __decorateClass([
|
|
4161
|
+
(0, import_typeorm48.Entity)("stripe_wallets")
|
|
4162
|
+
], StripeWallet);
|
|
4163
|
+
|
|
4071
4164
|
// src/entities/user.entity.ts
|
|
4072
4165
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
4073
4166
|
AccountType2["ADMIN"] = "ADMIN";
|
|
@@ -4093,51 +4186,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
4093
4186
|
var User = class extends BaseEntity {
|
|
4094
4187
|
};
|
|
4095
4188
|
__decorateClass([
|
|
4096
|
-
(0,
|
|
4189
|
+
(0, import_typeorm49.Column)({ name: "unique_id", type: "varchar", unique: true })
|
|
4097
4190
|
], User.prototype, "uniqueId", 2);
|
|
4098
4191
|
__decorateClass([
|
|
4099
|
-
(0,
|
|
4100
|
-
(0,
|
|
4192
|
+
(0, import_typeorm49.Column)({ name: "parent_id", type: "integer", nullable: true }),
|
|
4193
|
+
(0, import_typeorm49.Index)()
|
|
4101
4194
|
], User.prototype, "parentId", 2);
|
|
4102
4195
|
__decorateClass([
|
|
4103
|
-
(0,
|
|
4104
|
-
(0,
|
|
4196
|
+
(0, import_typeorm49.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
|
|
4197
|
+
(0, import_typeorm49.JoinColumn)({ name: "parent_id" })
|
|
4105
4198
|
], User.prototype, "parent", 2);
|
|
4106
4199
|
__decorateClass([
|
|
4107
|
-
(0,
|
|
4200
|
+
(0, import_typeorm49.OneToMany)(() => User, (user) => user.parent)
|
|
4108
4201
|
], User.prototype, "children", 2);
|
|
4109
4202
|
__decorateClass([
|
|
4110
|
-
(0,
|
|
4203
|
+
(0, import_typeorm49.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
4111
4204
|
], User.prototype, "username", 2);
|
|
4112
4205
|
__decorateClass([
|
|
4113
|
-
(0,
|
|
4206
|
+
(0, import_typeorm49.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
4114
4207
|
], User.prototype, "firstName", 2);
|
|
4115
4208
|
__decorateClass([
|
|
4116
|
-
(0,
|
|
4209
|
+
(0, import_typeorm49.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
4117
4210
|
], User.prototype, "lastName", 2);
|
|
4118
4211
|
__decorateClass([
|
|
4119
|
-
(0,
|
|
4212
|
+
(0, import_typeorm49.Column)({ name: "date_of_birth", type: "date", nullable: true })
|
|
4120
4213
|
], User.prototype, "dateOfBirth", 2);
|
|
4121
4214
|
__decorateClass([
|
|
4122
|
-
(0,
|
|
4215
|
+
(0, import_typeorm49.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
4123
4216
|
], User.prototype, "gender", 2);
|
|
4124
4217
|
__decorateClass([
|
|
4125
|
-
(0,
|
|
4218
|
+
(0, import_typeorm49.Column)({ name: "profile_picture_url", type: "text", nullable: true })
|
|
4126
4219
|
], User.prototype, "profilePictureUrl", 2);
|
|
4127
4220
|
__decorateClass([
|
|
4128
|
-
(0,
|
|
4221
|
+
(0, import_typeorm49.Column)({ name: "email", type: "varchar", unique: true })
|
|
4129
4222
|
], User.prototype, "email", 2);
|
|
4130
4223
|
__decorateClass([
|
|
4131
|
-
(0,
|
|
4224
|
+
(0, import_typeorm49.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4132
4225
|
], User.prototype, "mobileCode", 2);
|
|
4133
4226
|
__decorateClass([
|
|
4134
|
-
(0,
|
|
4227
|
+
(0, import_typeorm49.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
4135
4228
|
], User.prototype, "mobile", 2);
|
|
4136
4229
|
__decorateClass([
|
|
4137
|
-
(0,
|
|
4230
|
+
(0, import_typeorm49.Column)({ name: "password", type: "varchar", nullable: true })
|
|
4138
4231
|
], User.prototype, "password", 2);
|
|
4139
4232
|
__decorateClass([
|
|
4140
|
-
(0,
|
|
4233
|
+
(0, import_typeorm49.Column)({
|
|
4141
4234
|
name: "account_type",
|
|
4142
4235
|
type: "enum",
|
|
4143
4236
|
enum: AccountType,
|
|
@@ -4145,7 +4238,7 @@ __decorateClass([
|
|
|
4145
4238
|
})
|
|
4146
4239
|
], User.prototype, "accountType", 2);
|
|
4147
4240
|
__decorateClass([
|
|
4148
|
-
(0,
|
|
4241
|
+
(0, import_typeorm49.Column)({
|
|
4149
4242
|
name: "account_status",
|
|
4150
4243
|
type: "enum",
|
|
4151
4244
|
enum: AccountStatus,
|
|
@@ -4153,42 +4246,42 @@ __decorateClass([
|
|
|
4153
4246
|
})
|
|
4154
4247
|
], User.prototype, "accountStatus", 2);
|
|
4155
4248
|
__decorateClass([
|
|
4156
|
-
(0,
|
|
4249
|
+
(0, import_typeorm49.Column)({ name: "is_email_verified", type: "boolean", default: false })
|
|
4157
4250
|
], User.prototype, "isEmailVerified", 2);
|
|
4158
4251
|
__decorateClass([
|
|
4159
|
-
(0,
|
|
4252
|
+
(0, import_typeorm49.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
4160
4253
|
], User.prototype, "isMobileVerified", 2);
|
|
4161
4254
|
__decorateClass([
|
|
4162
|
-
(0,
|
|
4255
|
+
(0, import_typeorm49.Column)({ name: "is_social", type: "boolean", default: false })
|
|
4163
4256
|
], User.prototype, "isSocial", 2);
|
|
4164
4257
|
__decorateClass([
|
|
4165
|
-
(0,
|
|
4258
|
+
(0, import_typeorm49.Column)({
|
|
4166
4259
|
name: "last_login_at",
|
|
4167
4260
|
type: "timestamp with time zone",
|
|
4168
4261
|
nullable: true
|
|
4169
4262
|
})
|
|
4170
4263
|
], User.prototype, "lastLoginAt", 2);
|
|
4171
4264
|
__decorateClass([
|
|
4172
|
-
(0,
|
|
4265
|
+
(0, import_typeorm49.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
4173
4266
|
], User.prototype, "lastLoginIp", 2);
|
|
4174
4267
|
__decorateClass([
|
|
4175
|
-
(0,
|
|
4268
|
+
(0, import_typeorm49.Column)({ name: "reset_token", type: "varchar", nullable: true })
|
|
4176
4269
|
], User.prototype, "resetToken", 2);
|
|
4177
4270
|
__decorateClass([
|
|
4178
|
-
(0,
|
|
4271
|
+
(0, import_typeorm49.Column)({
|
|
4179
4272
|
name: "reset_token_expire_at",
|
|
4180
4273
|
type: "timestamp with time zone",
|
|
4181
4274
|
nullable: true
|
|
4182
4275
|
})
|
|
4183
4276
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
4184
4277
|
__decorateClass([
|
|
4185
|
-
(0,
|
|
4278
|
+
(0, import_typeorm49.Column)({ name: "set_password_token", type: "varchar", nullable: true })
|
|
4186
4279
|
], User.prototype, "setPasswordToken", 2);
|
|
4187
4280
|
__decorateClass([
|
|
4188
|
-
(0,
|
|
4281
|
+
(0, import_typeorm49.OneToMany)(() => RefreshToken, (token) => token.user)
|
|
4189
4282
|
], User.prototype, "refreshTokens", 2);
|
|
4190
4283
|
__decorateClass([
|
|
4191
|
-
(0,
|
|
4284
|
+
(0, import_typeorm49.Column)({
|
|
4192
4285
|
name: "provider",
|
|
4193
4286
|
type: "enum",
|
|
4194
4287
|
enum: Provider,
|
|
@@ -4197,154 +4290,157 @@ __decorateClass([
|
|
|
4197
4290
|
})
|
|
4198
4291
|
], User.prototype, "provider", 2);
|
|
4199
4292
|
__decorateClass([
|
|
4200
|
-
(0,
|
|
4293
|
+
(0, import_typeorm49.Column)({ name: "provider_token", type: "varchar", nullable: true })
|
|
4201
4294
|
], User.prototype, "providerToken", 2);
|
|
4202
4295
|
__decorateClass([
|
|
4203
|
-
(0,
|
|
4296
|
+
(0, import_typeorm49.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
4204
4297
|
], User.prototype, "linkedInId", 2);
|
|
4205
4298
|
__decorateClass([
|
|
4206
|
-
(0,
|
|
4299
|
+
(0, import_typeorm49.Column)({ name: "google_id", type: "varchar", nullable: true })
|
|
4207
4300
|
], User.prototype, "googleId", 2);
|
|
4208
4301
|
__decorateClass([
|
|
4209
|
-
(0,
|
|
4302
|
+
(0, import_typeorm49.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
4210
4303
|
], User.prototype, "gitLabsId", 2);
|
|
4211
4304
|
__decorateClass([
|
|
4212
|
-
(0,
|
|
4305
|
+
(0, import_typeorm49.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
4213
4306
|
], User.prototype, "onBoardedBy", 2);
|
|
4214
4307
|
__decorateClass([
|
|
4215
|
-
(0,
|
|
4308
|
+
(0, import_typeorm49.OneToMany)(() => Otp, (otp) => otp.user)
|
|
4216
4309
|
], User.prototype, "otps", 2);
|
|
4217
4310
|
__decorateClass([
|
|
4218
|
-
(0,
|
|
4311
|
+
(0, import_typeorm49.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
4219
4312
|
], User.prototype, "senseloafLogs", 2);
|
|
4220
4313
|
__decorateClass([
|
|
4221
|
-
(0,
|
|
4314
|
+
(0, import_typeorm49.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
4222
4315
|
], User.prototype, "companyProfile", 2);
|
|
4223
4316
|
__decorateClass([
|
|
4224
|
-
(0,
|
|
4317
|
+
(0, import_typeorm49.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
|
|
4225
4318
|
], User.prototype, "companySkills", 2);
|
|
4226
4319
|
__decorateClass([
|
|
4227
|
-
(0,
|
|
4320
|
+
(0, import_typeorm49.OneToMany)(
|
|
4228
4321
|
() => CompanyMemberRole,
|
|
4229
4322
|
(companyMemberRole) => companyMemberRole.user
|
|
4230
4323
|
)
|
|
4231
4324
|
], User.prototype, "companyMemberRoles", 2);
|
|
4232
4325
|
__decorateClass([
|
|
4233
|
-
(0,
|
|
4326
|
+
(0, import_typeorm49.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
|
|
4234
4327
|
], User.prototype, "companyAiInterview", 2);
|
|
4235
4328
|
__decorateClass([
|
|
4236
|
-
(0,
|
|
4329
|
+
(0, import_typeorm49.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
4237
4330
|
], User.prototype, "clientF2FInterviews", 2);
|
|
4238
4331
|
__decorateClass([
|
|
4239
|
-
(0,
|
|
4332
|
+
(0, import_typeorm49.OneToOne)(
|
|
4240
4333
|
() => FreelancerProfile,
|
|
4241
4334
|
(freelancerProfile) => freelancerProfile.user
|
|
4242
4335
|
)
|
|
4243
4336
|
], User.prototype, "freelancerProfile", 2);
|
|
4244
4337
|
__decorateClass([
|
|
4245
|
-
(0,
|
|
4338
|
+
(0, import_typeorm49.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
4246
4339
|
], User.prototype, "freelancerResume", 2);
|
|
4247
4340
|
__decorateClass([
|
|
4248
|
-
(0,
|
|
4341
|
+
(0, import_typeorm49.OneToMany)(
|
|
4249
4342
|
() => FreelancerAssessment,
|
|
4250
4343
|
(freelancerAssessment) => freelancerAssessment.user
|
|
4251
4344
|
)
|
|
4252
4345
|
], User.prototype, "assessments", 2);
|
|
4253
4346
|
__decorateClass([
|
|
4254
|
-
(0,
|
|
4347
|
+
(0, import_typeorm49.OneToMany)(
|
|
4255
4348
|
() => AssessmentAnswer,
|
|
4256
4349
|
(assessmentAnswer) => assessmentAnswer.user
|
|
4257
4350
|
)
|
|
4258
4351
|
], User.prototype, "assessmentAnswers", 2);
|
|
4259
4352
|
__decorateClass([
|
|
4260
|
-
(0,
|
|
4353
|
+
(0, import_typeorm49.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
4261
4354
|
], User.prototype, "freelancerSkills", 2);
|
|
4262
4355
|
__decorateClass([
|
|
4263
|
-
(0,
|
|
4356
|
+
(0, import_typeorm49.OneToMany)(
|
|
4264
4357
|
() => FreelancerExperience,
|
|
4265
4358
|
(freelancerExperience) => freelancerExperience.user
|
|
4266
4359
|
)
|
|
4267
4360
|
], User.prototype, "freelancerExperience", 2);
|
|
4268
4361
|
__decorateClass([
|
|
4269
|
-
(0,
|
|
4362
|
+
(0, import_typeorm49.OneToMany)(
|
|
4270
4363
|
() => FreelancerEducation,
|
|
4271
4364
|
(freelancerEducation) => freelancerEducation.user
|
|
4272
4365
|
)
|
|
4273
4366
|
], User.prototype, "freelancerEducation", 2);
|
|
4274
4367
|
__decorateClass([
|
|
4275
|
-
(0,
|
|
4368
|
+
(0, import_typeorm49.OneToMany)(
|
|
4276
4369
|
() => FreelancerProject,
|
|
4277
4370
|
(freelancerProject) => freelancerProject.user
|
|
4278
4371
|
)
|
|
4279
4372
|
], User.prototype, "freelancerProject", 2);
|
|
4280
4373
|
__decorateClass([
|
|
4281
|
-
(0,
|
|
4374
|
+
(0, import_typeorm49.OneToMany)(
|
|
4282
4375
|
() => FreelancerCaseStudy,
|
|
4283
4376
|
(freelancerCaseStudy) => freelancerCaseStudy.user
|
|
4284
4377
|
)
|
|
4285
4378
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
4286
4379
|
__decorateClass([
|
|
4287
|
-
(0,
|
|
4380
|
+
(0, import_typeorm49.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
4288
4381
|
], User.prototype, "freelancerTool", 2);
|
|
4289
4382
|
__decorateClass([
|
|
4290
|
-
(0,
|
|
4383
|
+
(0, import_typeorm49.OneToMany)(
|
|
4291
4384
|
() => FreelancerFramework,
|
|
4292
4385
|
(freelancerFramework) => freelancerFramework.user
|
|
4293
4386
|
)
|
|
4294
4387
|
], User.prototype, "freelancerFramework", 2);
|
|
4295
4388
|
__decorateClass([
|
|
4296
|
-
(0,
|
|
4389
|
+
(0, import_typeorm49.OneToOne)(
|
|
4297
4390
|
() => FreelancerDeclaration,
|
|
4298
4391
|
(freelancerDeclaration) => freelancerDeclaration.user
|
|
4299
4392
|
)
|
|
4300
4393
|
], User.prototype, "freelancerDeclaration", 2);
|
|
4301
4394
|
__decorateClass([
|
|
4302
|
-
(0,
|
|
4395
|
+
(0, import_typeorm49.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
|
|
4303
4396
|
], User.prototype, "freelancerAiInterview", 2);
|
|
4304
4397
|
__decorateClass([
|
|
4305
|
-
(0,
|
|
4398
|
+
(0, import_typeorm49.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
|
|
4306
4399
|
], User.prototype, "freelancerF2FInterviews", 2);
|
|
4307
4400
|
__decorateClass([
|
|
4308
|
-
(0,
|
|
4401
|
+
(0, import_typeorm49.OneToMany)(
|
|
4309
4402
|
() => F2fInterviewRescheduleRequest,
|
|
4310
4403
|
(f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
|
|
4311
4404
|
)
|
|
4312
4405
|
], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
|
|
4313
4406
|
__decorateClass([
|
|
4314
|
-
(0,
|
|
4407
|
+
(0, import_typeorm49.OneToMany)(() => Job, (job) => job.user)
|
|
4315
4408
|
], User.prototype, "jobs", 2);
|
|
4316
4409
|
__decorateClass([
|
|
4317
|
-
(0,
|
|
4410
|
+
(0, import_typeorm49.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
4318
4411
|
], User.prototype, "jobApplications", 2);
|
|
4319
4412
|
__decorateClass([
|
|
4320
|
-
(0,
|
|
4413
|
+
(0, import_typeorm49.OneToMany)(() => Interview, (interview) => interview.user)
|
|
4321
4414
|
], User.prototype, "interviews", 2);
|
|
4322
4415
|
__decorateClass([
|
|
4323
|
-
(0,
|
|
4416
|
+
(0, import_typeorm49.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
4324
4417
|
], User.prototype, "bankDetail", 2);
|
|
4325
4418
|
__decorateClass([
|
|
4326
|
-
(0,
|
|
4419
|
+
(0, import_typeorm49.OneToMany)(
|
|
4327
4420
|
() => SystemPreference,
|
|
4328
4421
|
(systemPreference) => systemPreference.user
|
|
4329
4422
|
)
|
|
4330
4423
|
], User.prototype, "systemPreference", 2);
|
|
4331
4424
|
__decorateClass([
|
|
4332
|
-
(0,
|
|
4425
|
+
(0, import_typeorm49.OneToMany)(() => Rating, (rating) => rating.reviewer)
|
|
4333
4426
|
], User.prototype, "givenRatings", 2);
|
|
4334
4427
|
__decorateClass([
|
|
4335
|
-
(0,
|
|
4428
|
+
(0, import_typeorm49.OneToMany)(() => Rating, (rating) => rating.reviewee)
|
|
4336
4429
|
], User.prototype, "receivedRatings", 2);
|
|
4337
4430
|
__decorateClass([
|
|
4338
|
-
(0,
|
|
4431
|
+
(0, import_typeorm49.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
4339
4432
|
], User.prototype, "adminUserRoles", 2);
|
|
4340
4433
|
__decorateClass([
|
|
4341
|
-
(0,
|
|
4434
|
+
(0, import_typeorm49.OneToMany)(() => Contract, (contract) => contract.client)
|
|
4342
4435
|
], User.prototype, "clientContracts", 2);
|
|
4343
4436
|
__decorateClass([
|
|
4344
|
-
(0,
|
|
4437
|
+
(0, import_typeorm49.OneToMany)(() => Contract, (contract) => contract.freelancer)
|
|
4345
4438
|
], User.prototype, "freelancerContracts", 2);
|
|
4439
|
+
__decorateClass([
|
|
4440
|
+
(0, import_typeorm49.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
|
|
4441
|
+
], User.prototype, "stripeWallet", 2);
|
|
4346
4442
|
User = __decorateClass([
|
|
4347
|
-
(0,
|
|
4443
|
+
(0, import_typeorm49.Entity)("users")
|
|
4348
4444
|
], User);
|
|
4349
4445
|
|
|
4350
4446
|
// src/entities/rating.entity.ts
|
|
@@ -4356,36 +4452,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
4356
4452
|
var Rating = class extends BaseEntity {
|
|
4357
4453
|
};
|
|
4358
4454
|
__decorateClass([
|
|
4359
|
-
(0,
|
|
4360
|
-
(0,
|
|
4455
|
+
(0, import_typeorm50.Column)({ name: "reviewer_id", type: "integer" }),
|
|
4456
|
+
(0, import_typeorm50.Index)()
|
|
4361
4457
|
], Rating.prototype, "reviewer_id", 2);
|
|
4362
4458
|
__decorateClass([
|
|
4363
|
-
(0,
|
|
4364
|
-
(0,
|
|
4459
|
+
(0, import_typeorm50.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
4460
|
+
(0, import_typeorm50.JoinColumn)({ name: "reviewer_id" })
|
|
4365
4461
|
], Rating.prototype, "reviewer", 2);
|
|
4366
4462
|
__decorateClass([
|
|
4367
|
-
(0,
|
|
4368
|
-
(0,
|
|
4463
|
+
(0, import_typeorm50.Column)({ name: "reviewee_id", type: "integer" }),
|
|
4464
|
+
(0, import_typeorm50.Index)()
|
|
4369
4465
|
], Rating.prototype, "reviewee_id", 2);
|
|
4370
4466
|
__decorateClass([
|
|
4371
|
-
(0,
|
|
4372
|
-
(0,
|
|
4467
|
+
(0, import_typeorm50.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
4468
|
+
(0, import_typeorm50.JoinColumn)({ name: "reviewee_id" })
|
|
4373
4469
|
], Rating.prototype, "reviewee", 2);
|
|
4374
4470
|
__decorateClass([
|
|
4375
|
-
(0,
|
|
4471
|
+
(0, import_typeorm50.Column)({
|
|
4376
4472
|
type: "enum",
|
|
4377
4473
|
enum: RatingTypeEnum,
|
|
4378
4474
|
nullable: true
|
|
4379
4475
|
})
|
|
4380
4476
|
], Rating.prototype, "ratingType", 2);
|
|
4381
4477
|
__decorateClass([
|
|
4382
|
-
(0,
|
|
4478
|
+
(0, import_typeorm50.Column)({ type: "integer", nullable: true })
|
|
4383
4479
|
], Rating.prototype, "rating", 2);
|
|
4384
4480
|
__decorateClass([
|
|
4385
|
-
(0,
|
|
4481
|
+
(0, import_typeorm50.Column)({ type: "text", nullable: true })
|
|
4386
4482
|
], Rating.prototype, "review", 2);
|
|
4387
4483
|
Rating = __decorateClass([
|
|
4388
|
-
(0,
|
|
4484
|
+
(0, import_typeorm50.Entity)("ratings")
|
|
4389
4485
|
], Rating);
|
|
4390
4486
|
|
|
4391
4487
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -5817,11 +5913,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
5817
5913
|
};
|
|
5818
5914
|
|
|
5819
5915
|
// src/entities/sequence-generator.entity.ts
|
|
5820
|
-
var
|
|
5916
|
+
var import_typeorm51 = require("typeorm");
|
|
5821
5917
|
var SequenceGenerator = class extends BaseEntity {
|
|
5822
5918
|
};
|
|
5823
5919
|
__decorateClass([
|
|
5824
|
-
(0,
|
|
5920
|
+
(0, import_typeorm51.Column)({
|
|
5825
5921
|
name: "module",
|
|
5826
5922
|
type: "varchar",
|
|
5827
5923
|
length: 50,
|
|
@@ -5830,7 +5926,7 @@ __decorateClass([
|
|
|
5830
5926
|
})
|
|
5831
5927
|
], SequenceGenerator.prototype, "module", 2);
|
|
5832
5928
|
__decorateClass([
|
|
5833
|
-
(0,
|
|
5929
|
+
(0, import_typeorm51.Column)({
|
|
5834
5930
|
name: "prefix",
|
|
5835
5931
|
type: "varchar",
|
|
5836
5932
|
length: 10,
|
|
@@ -5839,7 +5935,7 @@ __decorateClass([
|
|
|
5839
5935
|
})
|
|
5840
5936
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
5841
5937
|
__decorateClass([
|
|
5842
|
-
(0,
|
|
5938
|
+
(0, import_typeorm51.Column)({
|
|
5843
5939
|
name: "last_sequence",
|
|
5844
5940
|
type: "int",
|
|
5845
5941
|
nullable: false,
|
|
@@ -5847,7 +5943,7 @@ __decorateClass([
|
|
|
5847
5943
|
})
|
|
5848
5944
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
5849
5945
|
__decorateClass([
|
|
5850
|
-
(0,
|
|
5946
|
+
(0, import_typeorm51.Column)({
|
|
5851
5947
|
name: "year",
|
|
5852
5948
|
type: "int",
|
|
5853
5949
|
nullable: true,
|
|
@@ -5855,11 +5951,11 @@ __decorateClass([
|
|
|
5855
5951
|
})
|
|
5856
5952
|
], SequenceGenerator.prototype, "year", 2);
|
|
5857
5953
|
SequenceGenerator = __decorateClass([
|
|
5858
|
-
(0,
|
|
5954
|
+
(0, import_typeorm51.Entity)("sequence_generators")
|
|
5859
5955
|
], SequenceGenerator);
|
|
5860
5956
|
|
|
5861
5957
|
// src/entities/question.entity.ts
|
|
5862
|
-
var
|
|
5958
|
+
var import_typeorm52 = require("typeorm");
|
|
5863
5959
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
5864
5960
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
5865
5961
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -5868,16 +5964,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
5868
5964
|
var Question = class extends BaseEntity {
|
|
5869
5965
|
};
|
|
5870
5966
|
__decorateClass([
|
|
5871
|
-
(0,
|
|
5967
|
+
(0, import_typeorm52.Column)({ name: "question", type: "varchar" })
|
|
5872
5968
|
], Question.prototype, "question", 2);
|
|
5873
5969
|
__decorateClass([
|
|
5874
|
-
(0,
|
|
5970
|
+
(0, import_typeorm52.Column)({ name: "hint", type: "varchar", nullable: true })
|
|
5875
5971
|
], Question.prototype, "hint", 2);
|
|
5876
5972
|
__decorateClass([
|
|
5877
|
-
(0,
|
|
5973
|
+
(0, import_typeorm52.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5878
5974
|
], Question.prototype, "slug", 2);
|
|
5879
5975
|
__decorateClass([
|
|
5880
|
-
(0,
|
|
5976
|
+
(0, import_typeorm52.Column)({
|
|
5881
5977
|
name: "question_for",
|
|
5882
5978
|
type: "enum",
|
|
5883
5979
|
enum: QuestionFor,
|
|
@@ -5885,117 +5981,117 @@ __decorateClass([
|
|
|
5885
5981
|
})
|
|
5886
5982
|
], Question.prototype, "questionFor", 2);
|
|
5887
5983
|
__decorateClass([
|
|
5888
|
-
(0,
|
|
5984
|
+
(0, import_typeorm52.Column)({ name: "type", type: "varchar", nullable: true })
|
|
5889
5985
|
], Question.prototype, "type", 2);
|
|
5890
5986
|
__decorateClass([
|
|
5891
|
-
(0,
|
|
5987
|
+
(0, import_typeorm52.Column)({ name: "options", type: "jsonb", nullable: true })
|
|
5892
5988
|
], Question.prototype, "options", 2);
|
|
5893
5989
|
__decorateClass([
|
|
5894
|
-
(0,
|
|
5990
|
+
(0, import_typeorm52.Column)({ name: "is_active", type: "boolean", default: false })
|
|
5895
5991
|
], Question.prototype, "isActive", 2);
|
|
5896
5992
|
Question = __decorateClass([
|
|
5897
|
-
(0,
|
|
5993
|
+
(0, import_typeorm52.Entity)("questions")
|
|
5898
5994
|
], Question);
|
|
5899
5995
|
|
|
5900
5996
|
// src/entities/skill.entity.ts
|
|
5901
|
-
var
|
|
5997
|
+
var import_typeorm53 = require("typeorm");
|
|
5902
5998
|
var Skill = class extends BaseEntity {
|
|
5903
5999
|
};
|
|
5904
6000
|
__decorateClass([
|
|
5905
|
-
(0,
|
|
6001
|
+
(0, import_typeorm53.Column)({ name: "name", type: "varchar", nullable: true })
|
|
5906
6002
|
], Skill.prototype, "name", 2);
|
|
5907
6003
|
__decorateClass([
|
|
5908
|
-
(0,
|
|
6004
|
+
(0, import_typeorm53.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5909
6005
|
], Skill.prototype, "slug", 2);
|
|
5910
6006
|
__decorateClass([
|
|
5911
|
-
(0,
|
|
6007
|
+
(0, import_typeorm53.Column)({ name: "is_active", type: "boolean", default: false })
|
|
5912
6008
|
], Skill.prototype, "isActive", 2);
|
|
5913
6009
|
Skill = __decorateClass([
|
|
5914
|
-
(0,
|
|
6010
|
+
(0, import_typeorm53.Entity)("skills")
|
|
5915
6011
|
], Skill);
|
|
5916
6012
|
|
|
5917
6013
|
// src/entities/job-role.entity.ts
|
|
5918
|
-
var
|
|
6014
|
+
var import_typeorm54 = require("typeorm");
|
|
5919
6015
|
var JobRoles = class extends BaseEntity {
|
|
5920
6016
|
};
|
|
5921
6017
|
__decorateClass([
|
|
5922
|
-
(0,
|
|
6018
|
+
(0, import_typeorm54.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5923
6019
|
], JobRoles.prototype, "slug", 2);
|
|
5924
6020
|
__decorateClass([
|
|
5925
|
-
(0,
|
|
6021
|
+
(0, import_typeorm54.Column)({ name: "name", type: "varchar", nullable: true })
|
|
5926
6022
|
], JobRoles.prototype, "name", 2);
|
|
5927
6023
|
__decorateClass([
|
|
5928
|
-
(0,
|
|
6024
|
+
(0, import_typeorm54.Column)({ name: "is_active", type: "boolean", default: true })
|
|
5929
6025
|
], JobRoles.prototype, "isActive", 2);
|
|
5930
6026
|
JobRoles = __decorateClass([
|
|
5931
|
-
(0,
|
|
6027
|
+
(0, import_typeorm54.Entity)("job_roles")
|
|
5932
6028
|
], JobRoles);
|
|
5933
6029
|
|
|
5934
6030
|
// src/entities/plan.entity.ts
|
|
5935
|
-
var
|
|
6031
|
+
var import_typeorm56 = require("typeorm");
|
|
5936
6032
|
|
|
5937
6033
|
// src/entities/feature.entity.ts
|
|
5938
|
-
var
|
|
6034
|
+
var import_typeorm55 = require("typeorm");
|
|
5939
6035
|
var Feature = class extends BaseEntity {
|
|
5940
6036
|
};
|
|
5941
6037
|
__decorateClass([
|
|
5942
|
-
(0,
|
|
6038
|
+
(0, import_typeorm55.Column)({ name: "name", type: "varchar", unique: true })
|
|
5943
6039
|
], Feature.prototype, "name", 2);
|
|
5944
6040
|
__decorateClass([
|
|
5945
|
-
(0,
|
|
6041
|
+
(0, import_typeorm55.ManyToMany)(() => Plan, (plan) => plan.features)
|
|
5946
6042
|
], Feature.prototype, "plans", 2);
|
|
5947
6043
|
Feature = __decorateClass([
|
|
5948
|
-
(0,
|
|
6044
|
+
(0, import_typeorm55.Entity)("features")
|
|
5949
6045
|
], Feature);
|
|
5950
6046
|
|
|
5951
6047
|
// src/entities/plan.entity.ts
|
|
5952
6048
|
var Plan = class extends BaseEntity {
|
|
5953
6049
|
};
|
|
5954
6050
|
__decorateClass([
|
|
5955
|
-
(0,
|
|
6051
|
+
(0, import_typeorm56.Column)({ name: "name", type: "varchar", unique: true })
|
|
5956
6052
|
], Plan.prototype, "name", 2);
|
|
5957
6053
|
__decorateClass([
|
|
5958
|
-
(0,
|
|
6054
|
+
(0, import_typeorm56.Column)({ name: "description", type: "varchar", nullable: true })
|
|
5959
6055
|
], Plan.prototype, "description", 2);
|
|
5960
6056
|
__decorateClass([
|
|
5961
|
-
(0,
|
|
6057
|
+
(0, import_typeorm56.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
5962
6058
|
], Plan.prototype, "price", 2);
|
|
5963
6059
|
__decorateClass([
|
|
5964
|
-
(0,
|
|
6060
|
+
(0, import_typeorm56.Column)({ name: "billing_period", type: "varchar" })
|
|
5965
6061
|
], Plan.prototype, "billingPeriod", 2);
|
|
5966
6062
|
__decorateClass([
|
|
5967
|
-
(0,
|
|
6063
|
+
(0, import_typeorm56.Column)({ name: "is_current", type: "boolean", default: false })
|
|
5968
6064
|
], Plan.prototype, "isCurrent", 2);
|
|
5969
6065
|
__decorateClass([
|
|
5970
|
-
(0,
|
|
5971
|
-
(0,
|
|
6066
|
+
(0, import_typeorm56.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
6067
|
+
(0, import_typeorm56.JoinTable)()
|
|
5972
6068
|
], Plan.prototype, "features", 2);
|
|
5973
6069
|
Plan = __decorateClass([
|
|
5974
|
-
(0,
|
|
6070
|
+
(0, import_typeorm56.Entity)("plans")
|
|
5975
6071
|
], Plan);
|
|
5976
6072
|
|
|
5977
6073
|
// src/entities/cms.entity.ts
|
|
5978
|
-
var
|
|
6074
|
+
var import_typeorm57 = require("typeorm");
|
|
5979
6075
|
var Cms = class extends BaseEntity {
|
|
5980
6076
|
};
|
|
5981
6077
|
__decorateClass([
|
|
5982
|
-
(0,
|
|
6078
|
+
(0, import_typeorm57.Column)({ name: "title", type: "varchar", nullable: true })
|
|
5983
6079
|
], Cms.prototype, "title", 2);
|
|
5984
6080
|
__decorateClass([
|
|
5985
|
-
(0,
|
|
6081
|
+
(0, import_typeorm57.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5986
6082
|
], Cms.prototype, "slug", 2);
|
|
5987
6083
|
__decorateClass([
|
|
5988
|
-
(0,
|
|
6084
|
+
(0, import_typeorm57.Column)({ name: "content", type: "varchar", nullable: true })
|
|
5989
6085
|
], Cms.prototype, "content", 2);
|
|
5990
6086
|
__decorateClass([
|
|
5991
|
-
(0,
|
|
6087
|
+
(0, import_typeorm57.Column)({ name: "is_active", type: "boolean", default: true })
|
|
5992
6088
|
], Cms.prototype, "isActive", 2);
|
|
5993
6089
|
Cms = __decorateClass([
|
|
5994
|
-
(0,
|
|
6090
|
+
(0, import_typeorm57.Entity)("cms")
|
|
5995
6091
|
], Cms);
|
|
5996
6092
|
|
|
5997
6093
|
// src/entities/lead.entity.ts
|
|
5998
|
-
var
|
|
6094
|
+
var import_typeorm58 = require("typeorm");
|
|
5999
6095
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
6000
6096
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
6001
6097
|
CategoryEmum2["FREELANCER"] = "FREELANCER";
|
|
@@ -6004,22 +6100,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
6004
6100
|
var Lead = class extends BaseEntity {
|
|
6005
6101
|
};
|
|
6006
6102
|
__decorateClass([
|
|
6007
|
-
(0,
|
|
6103
|
+
(0, import_typeorm58.Column)({ name: "name", type: "varchar", nullable: true })
|
|
6008
6104
|
], Lead.prototype, "name", 2);
|
|
6009
6105
|
__decorateClass([
|
|
6010
|
-
(0,
|
|
6106
|
+
(0, import_typeorm58.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
6011
6107
|
], Lead.prototype, "mobileCode", 2);
|
|
6012
6108
|
__decorateClass([
|
|
6013
|
-
(0,
|
|
6109
|
+
(0, import_typeorm58.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
6014
6110
|
], Lead.prototype, "mobile", 2);
|
|
6015
6111
|
__decorateClass([
|
|
6016
|
-
(0,
|
|
6112
|
+
(0, import_typeorm58.Column)({ name: "email", type: "varchar", nullable: true })
|
|
6017
6113
|
], Lead.prototype, "email", 2);
|
|
6018
6114
|
__decorateClass([
|
|
6019
|
-
(0,
|
|
6115
|
+
(0, import_typeorm58.Column)({ name: "description", type: "varchar", nullable: true })
|
|
6020
6116
|
], Lead.prototype, "description", 2);
|
|
6021
6117
|
__decorateClass([
|
|
6022
|
-
(0,
|
|
6118
|
+
(0, import_typeorm58.Column)({
|
|
6023
6119
|
name: "category",
|
|
6024
6120
|
type: "enum",
|
|
6025
6121
|
enum: CategoryEmum,
|
|
@@ -6027,129 +6123,129 @@ __decorateClass([
|
|
|
6027
6123
|
})
|
|
6028
6124
|
], Lead.prototype, "category", 2);
|
|
6029
6125
|
Lead = __decorateClass([
|
|
6030
|
-
(0,
|
|
6126
|
+
(0, import_typeorm58.Entity)("leads")
|
|
6031
6127
|
], Lead);
|
|
6032
6128
|
|
|
6033
6129
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
6034
|
-
var
|
|
6130
|
+
var import_typeorm59 = require("typeorm");
|
|
6035
6131
|
var JobFreelancerRecommendation = class {
|
|
6036
6132
|
};
|
|
6037
6133
|
__decorateClass([
|
|
6038
|
-
(0,
|
|
6134
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_id" })
|
|
6039
6135
|
], JobFreelancerRecommendation.prototype, "jobId", 2);
|
|
6040
6136
|
__decorateClass([
|
|
6041
|
-
(0,
|
|
6137
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_uuid" })
|
|
6042
6138
|
], JobFreelancerRecommendation.prototype, "jobUuid", 2);
|
|
6043
6139
|
__decorateClass([
|
|
6044
|
-
(0,
|
|
6140
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_unique_id" })
|
|
6045
6141
|
], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
|
|
6046
6142
|
__decorateClass([
|
|
6047
|
-
(0,
|
|
6143
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_role" })
|
|
6048
6144
|
], JobFreelancerRecommendation.prototype, "jobRole", 2);
|
|
6049
6145
|
__decorateClass([
|
|
6050
|
-
(0,
|
|
6146
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_openings" })
|
|
6051
6147
|
], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
|
|
6052
6148
|
__decorateClass([
|
|
6053
|
-
(0,
|
|
6149
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_location" })
|
|
6054
6150
|
], JobFreelancerRecommendation.prototype, "jobLocation", 2);
|
|
6055
6151
|
__decorateClass([
|
|
6056
|
-
(0,
|
|
6152
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_currency" })
|
|
6057
6153
|
], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
|
|
6058
6154
|
__decorateClass([
|
|
6059
|
-
(0,
|
|
6155
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_salary_from" })
|
|
6060
6156
|
], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
|
|
6061
6157
|
__decorateClass([
|
|
6062
|
-
(0,
|
|
6158
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_salary_to" })
|
|
6063
6159
|
], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
|
|
6064
6160
|
__decorateClass([
|
|
6065
|
-
(0,
|
|
6161
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_employment_type" })
|
|
6066
6162
|
], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
|
|
6067
6163
|
__decorateClass([
|
|
6068
|
-
(0,
|
|
6164
|
+
(0, import_typeorm59.ViewColumn)({ name: "application_received" })
|
|
6069
6165
|
], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
|
|
6070
6166
|
__decorateClass([
|
|
6071
|
-
(0,
|
|
6167
|
+
(0, import_typeorm59.ViewColumn)({ name: "job_posted_at" })
|
|
6072
6168
|
], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
|
|
6073
6169
|
__decorateClass([
|
|
6074
|
-
(0,
|
|
6170
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_id" })
|
|
6075
6171
|
], JobFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
6076
6172
|
__decorateClass([
|
|
6077
|
-
(0,
|
|
6173
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_uuid" })
|
|
6078
6174
|
], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
6079
6175
|
__decorateClass([
|
|
6080
|
-
(0,
|
|
6176
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_unique_id" })
|
|
6081
6177
|
], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
6082
6178
|
__decorateClass([
|
|
6083
|
-
(0,
|
|
6179
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_first_name" })
|
|
6084
6180
|
], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
6085
6181
|
__decorateClass([
|
|
6086
|
-
(0,
|
|
6182
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_last_name" })
|
|
6087
6183
|
], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
6088
6184
|
__decorateClass([
|
|
6089
|
-
(0,
|
|
6185
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_email" })
|
|
6090
6186
|
], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
6091
6187
|
__decorateClass([
|
|
6092
|
-
(0,
|
|
6188
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
6093
6189
|
], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
6094
6190
|
__decorateClass([
|
|
6095
|
-
(0,
|
|
6191
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_is_social" })
|
|
6096
6192
|
], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
6097
6193
|
__decorateClass([
|
|
6098
|
-
(0,
|
|
6194
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_created_at" })
|
|
6099
6195
|
], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
6100
6196
|
__decorateClass([
|
|
6101
|
-
(0,
|
|
6197
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_designation" })
|
|
6102
6198
|
], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
6103
6199
|
__decorateClass([
|
|
6104
|
-
(0,
|
|
6200
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_experience" })
|
|
6105
6201
|
], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
6106
6202
|
__decorateClass([
|
|
6107
|
-
(0,
|
|
6203
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
6108
6204
|
], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
6109
6205
|
__decorateClass([
|
|
6110
|
-
(0,
|
|
6206
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
6111
6207
|
], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
6112
6208
|
__decorateClass([
|
|
6113
|
-
(0,
|
|
6209
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_country_name" })
|
|
6114
6210
|
], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
6115
6211
|
__decorateClass([
|
|
6116
|
-
(0,
|
|
6212
|
+
(0, import_typeorm59.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
6117
6213
|
], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
6118
6214
|
__decorateClass([
|
|
6119
|
-
(0,
|
|
6215
|
+
(0, import_typeorm59.ViewColumn)({ name: "client_id" })
|
|
6120
6216
|
], JobFreelancerRecommendation.prototype, "clientId", 2);
|
|
6121
6217
|
__decorateClass([
|
|
6122
|
-
(0,
|
|
6218
|
+
(0, import_typeorm59.ViewColumn)({ name: "client_uuid" })
|
|
6123
6219
|
], JobFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
6124
6220
|
__decorateClass([
|
|
6125
|
-
(0,
|
|
6221
|
+
(0, import_typeorm59.ViewColumn)({ name: "client_first_name" })
|
|
6126
6222
|
], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
|
|
6127
6223
|
__decorateClass([
|
|
6128
|
-
(0,
|
|
6224
|
+
(0, import_typeorm59.ViewColumn)({ name: "client_last_name" })
|
|
6129
6225
|
], JobFreelancerRecommendation.prototype, "clientLastName", 2);
|
|
6130
6226
|
__decorateClass([
|
|
6131
|
-
(0,
|
|
6227
|
+
(0, import_typeorm59.ViewColumn)({ name: "client_email" })
|
|
6132
6228
|
], JobFreelancerRecommendation.prototype, "clientEmail", 2);
|
|
6133
6229
|
__decorateClass([
|
|
6134
|
-
(0,
|
|
6230
|
+
(0, import_typeorm59.ViewColumn)({ name: "client_company_logo" })
|
|
6135
6231
|
], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
|
|
6136
6232
|
__decorateClass([
|
|
6137
|
-
(0,
|
|
6233
|
+
(0, import_typeorm59.ViewColumn)({ name: "client_company_name" })
|
|
6138
6234
|
], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
|
|
6139
6235
|
__decorateClass([
|
|
6140
|
-
(0,
|
|
6236
|
+
(0, import_typeorm59.ViewColumn)({ name: "matching_skills" })
|
|
6141
6237
|
], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
6142
6238
|
__decorateClass([
|
|
6143
|
-
(0,
|
|
6239
|
+
(0, import_typeorm59.ViewColumn)({ name: "matching_skills_count" })
|
|
6144
6240
|
], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
6145
6241
|
__decorateClass([
|
|
6146
|
-
(0,
|
|
6242
|
+
(0, import_typeorm59.ViewColumn)({ name: "required_skills" })
|
|
6147
6243
|
], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
6148
6244
|
__decorateClass([
|
|
6149
|
-
(0,
|
|
6245
|
+
(0, import_typeorm59.ViewColumn)({ name: "required_skills_count" })
|
|
6150
6246
|
], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
6151
6247
|
JobFreelancerRecommendation = __decorateClass([
|
|
6152
|
-
(0,
|
|
6248
|
+
(0, import_typeorm59.ViewEntity)({
|
|
6153
6249
|
name: "job_freelancer_recommendations",
|
|
6154
6250
|
materialized: true,
|
|
6155
6251
|
synchronize: false
|
|
@@ -6158,32 +6254,32 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
6158
6254
|
], JobFreelancerRecommendation);
|
|
6159
6255
|
|
|
6160
6256
|
// src/entities/job-freelancer-recommendation-v2.entity.ts
|
|
6161
|
-
var
|
|
6257
|
+
var import_typeorm60 = require("typeorm");
|
|
6162
6258
|
var JobFreelancerRecommendationV2 = class {
|
|
6163
6259
|
};
|
|
6164
6260
|
__decorateClass([
|
|
6165
|
-
(0,
|
|
6261
|
+
(0, import_typeorm60.ViewColumn)({ name: "job_id" })
|
|
6166
6262
|
], JobFreelancerRecommendationV2.prototype, "jobId", 2);
|
|
6167
6263
|
__decorateClass([
|
|
6168
|
-
(0,
|
|
6264
|
+
(0, import_typeorm60.ViewColumn)({ name: "job_owner_id" })
|
|
6169
6265
|
], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
|
|
6170
6266
|
__decorateClass([
|
|
6171
|
-
(0,
|
|
6267
|
+
(0, import_typeorm60.ViewColumn)({ name: "freelancer_id" })
|
|
6172
6268
|
], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
|
|
6173
6269
|
__decorateClass([
|
|
6174
|
-
(0,
|
|
6270
|
+
(0, import_typeorm60.ViewColumn)({ name: "matching_skills" })
|
|
6175
6271
|
], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
|
|
6176
6272
|
__decorateClass([
|
|
6177
|
-
(0,
|
|
6273
|
+
(0, import_typeorm60.ViewColumn)({ name: "matching_skills_count" })
|
|
6178
6274
|
], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
|
|
6179
6275
|
__decorateClass([
|
|
6180
|
-
(0,
|
|
6276
|
+
(0, import_typeorm60.ViewColumn)({ name: "required_skills" })
|
|
6181
6277
|
], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
|
|
6182
6278
|
__decorateClass([
|
|
6183
|
-
(0,
|
|
6279
|
+
(0, import_typeorm60.ViewColumn)({ name: "required_skills_count" })
|
|
6184
6280
|
], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
|
|
6185
6281
|
JobFreelancerRecommendationV2 = __decorateClass([
|
|
6186
|
-
(0,
|
|
6282
|
+
(0, import_typeorm60.ViewEntity)({
|
|
6187
6283
|
name: "job_freelancer_recommendations_v2",
|
|
6188
6284
|
materialized: true,
|
|
6189
6285
|
synchronize: false
|
|
@@ -6192,74 +6288,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
|
|
|
6192
6288
|
], JobFreelancerRecommendationV2);
|
|
6193
6289
|
|
|
6194
6290
|
// src/entities/client-freelancer-recommendation.entity.ts
|
|
6195
|
-
var
|
|
6291
|
+
var import_typeorm61 = require("typeorm");
|
|
6196
6292
|
var ClientFreelancerRecommendation = class {
|
|
6197
6293
|
};
|
|
6198
6294
|
__decorateClass([
|
|
6199
|
-
(0,
|
|
6295
|
+
(0, import_typeorm61.ViewColumn)({ name: "client_id" })
|
|
6200
6296
|
], ClientFreelancerRecommendation.prototype, "clientId", 2);
|
|
6201
6297
|
__decorateClass([
|
|
6202
|
-
(0,
|
|
6298
|
+
(0, import_typeorm61.ViewColumn)({ name: "client_uuid" })
|
|
6203
6299
|
], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
6204
6300
|
__decorateClass([
|
|
6205
|
-
(0,
|
|
6301
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_id" })
|
|
6206
6302
|
], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
6207
6303
|
__decorateClass([
|
|
6208
|
-
(0,
|
|
6304
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_uuid" })
|
|
6209
6305
|
], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
6210
6306
|
__decorateClass([
|
|
6211
|
-
(0,
|
|
6307
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_unique_id" })
|
|
6212
6308
|
], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
6213
6309
|
__decorateClass([
|
|
6214
|
-
(0,
|
|
6310
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_first_name" })
|
|
6215
6311
|
], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
6216
6312
|
__decorateClass([
|
|
6217
|
-
(0,
|
|
6313
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_last_name" })
|
|
6218
6314
|
], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
6219
6315
|
__decorateClass([
|
|
6220
|
-
(0,
|
|
6316
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_email" })
|
|
6221
6317
|
], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
6222
6318
|
__decorateClass([
|
|
6223
|
-
(0,
|
|
6319
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
6224
6320
|
], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
6225
6321
|
__decorateClass([
|
|
6226
|
-
(0,
|
|
6322
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_is_social" })
|
|
6227
6323
|
], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
6228
6324
|
__decorateClass([
|
|
6229
|
-
(0,
|
|
6325
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_created_at" })
|
|
6230
6326
|
], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
6231
6327
|
__decorateClass([
|
|
6232
|
-
(0,
|
|
6328
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_designation" })
|
|
6233
6329
|
], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
6234
6330
|
__decorateClass([
|
|
6235
|
-
(0,
|
|
6331
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_experience" })
|
|
6236
6332
|
], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
6237
6333
|
__decorateClass([
|
|
6238
|
-
(0,
|
|
6334
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
6239
6335
|
], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
6240
6336
|
__decorateClass([
|
|
6241
|
-
(0,
|
|
6337
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
6242
6338
|
], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
6243
6339
|
__decorateClass([
|
|
6244
|
-
(0,
|
|
6340
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_country_name" })
|
|
6245
6341
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
6246
6342
|
__decorateClass([
|
|
6247
|
-
(0,
|
|
6343
|
+
(0, import_typeorm61.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
6248
6344
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
6249
6345
|
__decorateClass([
|
|
6250
|
-
(0,
|
|
6346
|
+
(0, import_typeorm61.ViewColumn)({ name: "matching_skills" })
|
|
6251
6347
|
], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
6252
6348
|
__decorateClass([
|
|
6253
|
-
(0,
|
|
6349
|
+
(0, import_typeorm61.ViewColumn)({ name: "matching_skills_count" })
|
|
6254
6350
|
], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
6255
6351
|
__decorateClass([
|
|
6256
|
-
(0,
|
|
6352
|
+
(0, import_typeorm61.ViewColumn)({ name: "required_skills" })
|
|
6257
6353
|
], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
6258
6354
|
__decorateClass([
|
|
6259
|
-
(0,
|
|
6355
|
+
(0, import_typeorm61.ViewColumn)({ name: "required_skills_count" })
|
|
6260
6356
|
], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
6261
6357
|
ClientFreelancerRecommendation = __decorateClass([
|
|
6262
|
-
(0,
|
|
6358
|
+
(0, import_typeorm61.ViewEntity)({
|
|
6263
6359
|
name: "client_freelancer_recommendations",
|
|
6264
6360
|
materialized: true,
|
|
6265
6361
|
synchronize: false
|
|
@@ -6268,7 +6364,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
6268
6364
|
], ClientFreelancerRecommendation);
|
|
6269
6365
|
|
|
6270
6366
|
// src/entities/commission.entity.ts
|
|
6271
|
-
var
|
|
6367
|
+
var import_typeorm62 = require("typeorm");
|
|
6272
6368
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
6273
6369
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
6274
6370
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -6277,7 +6373,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
6277
6373
|
var Commission = class extends BaseEntity {
|
|
6278
6374
|
};
|
|
6279
6375
|
__decorateClass([
|
|
6280
|
-
(0,
|
|
6376
|
+
(0, import_typeorm62.Column)({
|
|
6281
6377
|
name: "freelancer_commission_type",
|
|
6282
6378
|
type: "enum",
|
|
6283
6379
|
enum: CommissionTypeEnum,
|
|
@@ -6285,10 +6381,10 @@ __decorateClass([
|
|
|
6285
6381
|
})
|
|
6286
6382
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
6287
6383
|
__decorateClass([
|
|
6288
|
-
(0,
|
|
6384
|
+
(0, import_typeorm62.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
6289
6385
|
], Commission.prototype, "freelancerCommission", 2);
|
|
6290
6386
|
__decorateClass([
|
|
6291
|
-
(0,
|
|
6387
|
+
(0, import_typeorm62.Column)({
|
|
6292
6388
|
name: "client_commission_type",
|
|
6293
6389
|
type: "enum",
|
|
6294
6390
|
enum: CommissionTypeEnum,
|
|
@@ -6296,46 +6392,46 @@ __decorateClass([
|
|
|
6296
6392
|
})
|
|
6297
6393
|
], Commission.prototype, "clientCommissionType", 2);
|
|
6298
6394
|
__decorateClass([
|
|
6299
|
-
(0,
|
|
6395
|
+
(0, import_typeorm62.Column)({ name: "client_commission", type: "integer", default: 0 })
|
|
6300
6396
|
], Commission.prototype, "clientCommission", 2);
|
|
6301
6397
|
Commission = __decorateClass([
|
|
6302
|
-
(0,
|
|
6398
|
+
(0, import_typeorm62.Entity)("commissions")
|
|
6303
6399
|
], Commission);
|
|
6304
6400
|
|
|
6305
6401
|
// src/entities/calendly-meeting-log.entity.ts
|
|
6306
|
-
var
|
|
6402
|
+
var import_typeorm63 = require("typeorm");
|
|
6307
6403
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
6308
6404
|
};
|
|
6309
6405
|
__decorateClass([
|
|
6310
|
-
(0,
|
|
6311
|
-
(0,
|
|
6406
|
+
(0, import_typeorm63.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
6407
|
+
(0, import_typeorm63.Index)()
|
|
6312
6408
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
6313
6409
|
__decorateClass([
|
|
6314
|
-
(0,
|
|
6410
|
+
(0, import_typeorm63.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
|
|
6315
6411
|
], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
|
|
6316
6412
|
__decorateClass([
|
|
6317
|
-
(0,
|
|
6413
|
+
(0, import_typeorm63.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6318
6414
|
], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
|
|
6319
6415
|
CalendlyMeetingLog = __decorateClass([
|
|
6320
|
-
(0,
|
|
6416
|
+
(0, import_typeorm63.Entity)("calendly_meeting_logs")
|
|
6321
6417
|
], CalendlyMeetingLog);
|
|
6322
6418
|
|
|
6323
6419
|
// src/entities/zoom-meeting-log.entity.ts
|
|
6324
|
-
var
|
|
6420
|
+
var import_typeorm64 = require("typeorm");
|
|
6325
6421
|
var ZoomMeetingLog = class extends BaseEntity {
|
|
6326
6422
|
};
|
|
6327
6423
|
__decorateClass([
|
|
6328
|
-
(0,
|
|
6329
|
-
(0,
|
|
6424
|
+
(0, import_typeorm64.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
|
|
6425
|
+
(0, import_typeorm64.Index)()
|
|
6330
6426
|
], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
|
|
6331
6427
|
__decorateClass([
|
|
6332
|
-
(0,
|
|
6428
|
+
(0, import_typeorm64.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
|
|
6333
6429
|
], ZoomMeetingLog.prototype, "zoomEventType", 2);
|
|
6334
6430
|
__decorateClass([
|
|
6335
|
-
(0,
|
|
6431
|
+
(0, import_typeorm64.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6336
6432
|
], ZoomMeetingLog.prototype, "rawWebhookData", 2);
|
|
6337
6433
|
ZoomMeetingLog = __decorateClass([
|
|
6338
|
-
(0,
|
|
6434
|
+
(0, import_typeorm64.Entity)("zoom_meeting_logs")
|
|
6339
6435
|
], ZoomMeetingLog);
|
|
6340
6436
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6341
6437
|
0 && (module.exports = {
|
|
@@ -6550,6 +6646,10 @@ ZoomMeetingLog = __decorateClass([
|
|
|
6550
6646
|
Skill,
|
|
6551
6647
|
State,
|
|
6552
6648
|
Step,
|
|
6649
|
+
StripeWallet,
|
|
6650
|
+
StripeWalletTransaction,
|
|
6651
|
+
StripeWalletTransactionStatusEnum,
|
|
6652
|
+
StripeWalletTransactionTypeEnum,
|
|
6553
6653
|
SystemPreference,
|
|
6554
6654
|
SystemPreferenceDto,
|
|
6555
6655
|
SystemPreferenceKey,
|