@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.mjs
CHANGED
|
@@ -1417,17 +1417,17 @@ import {
|
|
|
1417
1417
|
} from "class-validator";
|
|
1418
1418
|
|
|
1419
1419
|
// src/entities/rating.entity.ts
|
|
1420
|
-
import { Entity as
|
|
1420
|
+
import { Entity as Entity49, Column as Column50, ManyToOne as ManyToOne43, JoinColumn as JoinColumn44, Index as Index42 } from "typeorm";
|
|
1421
1421
|
|
|
1422
1422
|
// src/entities/user.entity.ts
|
|
1423
1423
|
import {
|
|
1424
|
-
Entity as
|
|
1425
|
-
Column as
|
|
1426
|
-
OneToMany as
|
|
1427
|
-
OneToOne as
|
|
1428
|
-
Index as
|
|
1429
|
-
ManyToOne as
|
|
1430
|
-
JoinColumn as
|
|
1424
|
+
Entity as Entity48,
|
|
1425
|
+
Column as Column49,
|
|
1426
|
+
OneToMany as OneToMany17,
|
|
1427
|
+
OneToOne as OneToOne3,
|
|
1428
|
+
Index as Index41,
|
|
1429
|
+
ManyToOne as ManyToOne42,
|
|
1430
|
+
JoinColumn as JoinColumn43
|
|
1431
1431
|
} from "typeorm";
|
|
1432
1432
|
|
|
1433
1433
|
// src/entities/base.entity.ts
|
|
@@ -4119,6 +4119,95 @@ FreelancerResume = __decorateClass([
|
|
|
4119
4119
|
Entity45("freelancer_resumes")
|
|
4120
4120
|
], FreelancerResume);
|
|
4121
4121
|
|
|
4122
|
+
// src/entities/stripe-wallet.entity.ts
|
|
4123
|
+
import { Entity as Entity47, Column as Column48, Index as Index40, JoinColumn as JoinColumn42, OneToOne as OneToOne2, OneToMany as OneToMany16 } from "typeorm";
|
|
4124
|
+
|
|
4125
|
+
// src/entities/stripe-wallet-transaction.entity.ts
|
|
4126
|
+
import { Entity as Entity46, Column as Column47, Index as Index39, ManyToOne as ManyToOne41, JoinColumn as JoinColumn41 } from "typeorm";
|
|
4127
|
+
var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
|
|
4128
|
+
StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
|
|
4129
|
+
StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
|
|
4130
|
+
StripeWalletTransactionTypeEnum2["WITHDRAW"] = "WITHDRAW";
|
|
4131
|
+
StripeWalletTransactionTypeEnum2["INVOICE_PAYMENT"] = "INVOICE_PAYMENT";
|
|
4132
|
+
StripeWalletTransactionTypeEnum2["REFUND"] = "REFUND";
|
|
4133
|
+
return StripeWalletTransactionTypeEnum2;
|
|
4134
|
+
})(StripeWalletTransactionTypeEnum || {});
|
|
4135
|
+
var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactionStatusEnum2) => {
|
|
4136
|
+
StripeWalletTransactionStatusEnum2["PENDING"] = "PENDING";
|
|
4137
|
+
StripeWalletTransactionStatusEnum2["SUCCESS"] = "SUCCESS";
|
|
4138
|
+
StripeWalletTransactionStatusEnum2["FAILED"] = "FAILED";
|
|
4139
|
+
return StripeWalletTransactionStatusEnum2;
|
|
4140
|
+
})(StripeWalletTransactionStatusEnum || {});
|
|
4141
|
+
var StripeWalletTransaction = class extends BaseEntity {
|
|
4142
|
+
};
|
|
4143
|
+
__decorateClass([
|
|
4144
|
+
Column47({ name: "wallet_id", type: "integer", nullable: true }),
|
|
4145
|
+
Index39()
|
|
4146
|
+
], StripeWalletTransaction.prototype, "walletId", 2);
|
|
4147
|
+
__decorateClass([
|
|
4148
|
+
ManyToOne41(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
|
|
4149
|
+
JoinColumn41({ name: "wallet_id" })
|
|
4150
|
+
], StripeWalletTransaction.prototype, "stripeWallet", 2);
|
|
4151
|
+
__decorateClass([
|
|
4152
|
+
Column47({ name: "amount", type: "bigint", nullable: true })
|
|
4153
|
+
], StripeWalletTransaction.prototype, "amount", 2);
|
|
4154
|
+
__decorateClass([
|
|
4155
|
+
Column47({ name: "currency", type: "varchar", nullable: true })
|
|
4156
|
+
], StripeWalletTransaction.prototype, "currency", 2);
|
|
4157
|
+
__decorateClass([
|
|
4158
|
+
Column47({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
|
|
4159
|
+
], StripeWalletTransaction.prototype, "type", 2);
|
|
4160
|
+
__decorateClass([
|
|
4161
|
+
Column47({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
|
|
4162
|
+
], StripeWalletTransaction.prototype, "status", 2);
|
|
4163
|
+
__decorateClass([
|
|
4164
|
+
Column47({ name: "stripe_reference_id", type: "varchar", nullable: true })
|
|
4165
|
+
], StripeWalletTransaction.prototype, "stripeReferenceId", 2);
|
|
4166
|
+
__decorateClass([
|
|
4167
|
+
Column47({ name: "description", type: "text", nullable: true })
|
|
4168
|
+
], StripeWalletTransaction.prototype, "description", 2);
|
|
4169
|
+
StripeWalletTransaction = __decorateClass([
|
|
4170
|
+
Entity46("stripe_wallet_transactions")
|
|
4171
|
+
], StripeWalletTransaction);
|
|
4172
|
+
|
|
4173
|
+
// src/entities/stripe-wallet.entity.ts
|
|
4174
|
+
var StripeWalletAccountTypeEnum = /* @__PURE__ */ ((StripeWalletAccountTypeEnum2) => {
|
|
4175
|
+
StripeWalletAccountTypeEnum2["BUSINESS"] = "BUSINESS";
|
|
4176
|
+
StripeWalletAccountTypeEnum2["FREELANCER"] = "FREELANCER";
|
|
4177
|
+
return StripeWalletAccountTypeEnum2;
|
|
4178
|
+
})(StripeWalletAccountTypeEnum || {});
|
|
4179
|
+
var StripeWallet = class extends BaseEntity {
|
|
4180
|
+
};
|
|
4181
|
+
__decorateClass([
|
|
4182
|
+
Column48({ name: "user_id", type: "integer", nullable: true }),
|
|
4183
|
+
Index40()
|
|
4184
|
+
], StripeWallet.prototype, "userId", 2);
|
|
4185
|
+
__decorateClass([
|
|
4186
|
+
OneToOne2(() => User, (user) => user.stripeWallet),
|
|
4187
|
+
JoinColumn42({ name: "user_id" })
|
|
4188
|
+
], StripeWallet.prototype, "user", 2);
|
|
4189
|
+
__decorateClass([
|
|
4190
|
+
Column48({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
|
|
4191
|
+
], StripeWallet.prototype, "accountType", 2);
|
|
4192
|
+
__decorateClass([
|
|
4193
|
+
Column48({ name: "stripe_account_id", type: "varchar", nullable: true })
|
|
4194
|
+
], StripeWallet.prototype, "stripeAccountId", 2);
|
|
4195
|
+
__decorateClass([
|
|
4196
|
+
Column48({ name: "stripe_customer_id", type: "varchar", nullable: true })
|
|
4197
|
+
], StripeWallet.prototype, "stripeCustomerId", 2);
|
|
4198
|
+
__decorateClass([
|
|
4199
|
+
Column48({ name: "wallet_balance", type: "bigint", default: 0 })
|
|
4200
|
+
], StripeWallet.prototype, "walletBalance", 2);
|
|
4201
|
+
__decorateClass([
|
|
4202
|
+
Column48({ name: "stripe_metadata", type: "jsonb", nullable: true })
|
|
4203
|
+
], StripeWallet.prototype, "stripeMetadata", 2);
|
|
4204
|
+
__decorateClass([
|
|
4205
|
+
OneToMany16(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
|
|
4206
|
+
], StripeWallet.prototype, "transactions", 2);
|
|
4207
|
+
StripeWallet = __decorateClass([
|
|
4208
|
+
Entity47("stripe_wallets")
|
|
4209
|
+
], StripeWallet);
|
|
4210
|
+
|
|
4122
4211
|
// src/entities/user.entity.ts
|
|
4123
4212
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
4124
4213
|
AccountType2["ADMIN"] = "ADMIN";
|
|
@@ -4144,51 +4233,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
4144
4233
|
var User = class extends BaseEntity {
|
|
4145
4234
|
};
|
|
4146
4235
|
__decorateClass([
|
|
4147
|
-
|
|
4236
|
+
Column49({ name: "unique_id", type: "varchar", unique: true })
|
|
4148
4237
|
], User.prototype, "uniqueId", 2);
|
|
4149
4238
|
__decorateClass([
|
|
4150
|
-
|
|
4151
|
-
|
|
4239
|
+
Column49({ name: "parent_id", type: "integer", nullable: true }),
|
|
4240
|
+
Index41()
|
|
4152
4241
|
], User.prototype, "parentId", 2);
|
|
4153
4242
|
__decorateClass([
|
|
4154
|
-
|
|
4155
|
-
|
|
4243
|
+
ManyToOne42(() => User, (user) => user.children, { nullable: true }),
|
|
4244
|
+
JoinColumn43({ name: "parent_id" })
|
|
4156
4245
|
], User.prototype, "parent", 2);
|
|
4157
4246
|
__decorateClass([
|
|
4158
|
-
|
|
4247
|
+
OneToMany17(() => User, (user) => user.parent)
|
|
4159
4248
|
], User.prototype, "children", 2);
|
|
4160
4249
|
__decorateClass([
|
|
4161
|
-
|
|
4250
|
+
Column49({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
4162
4251
|
], User.prototype, "username", 2);
|
|
4163
4252
|
__decorateClass([
|
|
4164
|
-
|
|
4253
|
+
Column49({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
4165
4254
|
], User.prototype, "firstName", 2);
|
|
4166
4255
|
__decorateClass([
|
|
4167
|
-
|
|
4256
|
+
Column49({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
4168
4257
|
], User.prototype, "lastName", 2);
|
|
4169
4258
|
__decorateClass([
|
|
4170
|
-
|
|
4259
|
+
Column49({ name: "date_of_birth", type: "date", nullable: true })
|
|
4171
4260
|
], User.prototype, "dateOfBirth", 2);
|
|
4172
4261
|
__decorateClass([
|
|
4173
|
-
|
|
4262
|
+
Column49({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
4174
4263
|
], User.prototype, "gender", 2);
|
|
4175
4264
|
__decorateClass([
|
|
4176
|
-
|
|
4265
|
+
Column49({ name: "profile_picture_url", type: "text", nullable: true })
|
|
4177
4266
|
], User.prototype, "profilePictureUrl", 2);
|
|
4178
4267
|
__decorateClass([
|
|
4179
|
-
|
|
4268
|
+
Column49({ name: "email", type: "varchar", unique: true })
|
|
4180
4269
|
], User.prototype, "email", 2);
|
|
4181
4270
|
__decorateClass([
|
|
4182
|
-
|
|
4271
|
+
Column49({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4183
4272
|
], User.prototype, "mobileCode", 2);
|
|
4184
4273
|
__decorateClass([
|
|
4185
|
-
|
|
4274
|
+
Column49({ name: "mobile", type: "varchar", nullable: true })
|
|
4186
4275
|
], User.prototype, "mobile", 2);
|
|
4187
4276
|
__decorateClass([
|
|
4188
|
-
|
|
4277
|
+
Column49({ name: "password", type: "varchar", nullable: true })
|
|
4189
4278
|
], User.prototype, "password", 2);
|
|
4190
4279
|
__decorateClass([
|
|
4191
|
-
|
|
4280
|
+
Column49({
|
|
4192
4281
|
name: "account_type",
|
|
4193
4282
|
type: "enum",
|
|
4194
4283
|
enum: AccountType,
|
|
@@ -4196,7 +4285,7 @@ __decorateClass([
|
|
|
4196
4285
|
})
|
|
4197
4286
|
], User.prototype, "accountType", 2);
|
|
4198
4287
|
__decorateClass([
|
|
4199
|
-
|
|
4288
|
+
Column49({
|
|
4200
4289
|
name: "account_status",
|
|
4201
4290
|
type: "enum",
|
|
4202
4291
|
enum: AccountStatus,
|
|
@@ -4204,42 +4293,42 @@ __decorateClass([
|
|
|
4204
4293
|
})
|
|
4205
4294
|
], User.prototype, "accountStatus", 2);
|
|
4206
4295
|
__decorateClass([
|
|
4207
|
-
|
|
4296
|
+
Column49({ name: "is_email_verified", type: "boolean", default: false })
|
|
4208
4297
|
], User.prototype, "isEmailVerified", 2);
|
|
4209
4298
|
__decorateClass([
|
|
4210
|
-
|
|
4299
|
+
Column49({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
4211
4300
|
], User.prototype, "isMobileVerified", 2);
|
|
4212
4301
|
__decorateClass([
|
|
4213
|
-
|
|
4302
|
+
Column49({ name: "is_social", type: "boolean", default: false })
|
|
4214
4303
|
], User.prototype, "isSocial", 2);
|
|
4215
4304
|
__decorateClass([
|
|
4216
|
-
|
|
4305
|
+
Column49({
|
|
4217
4306
|
name: "last_login_at",
|
|
4218
4307
|
type: "timestamp with time zone",
|
|
4219
4308
|
nullable: true
|
|
4220
4309
|
})
|
|
4221
4310
|
], User.prototype, "lastLoginAt", 2);
|
|
4222
4311
|
__decorateClass([
|
|
4223
|
-
|
|
4312
|
+
Column49({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
4224
4313
|
], User.prototype, "lastLoginIp", 2);
|
|
4225
4314
|
__decorateClass([
|
|
4226
|
-
|
|
4315
|
+
Column49({ name: "reset_token", type: "varchar", nullable: true })
|
|
4227
4316
|
], User.prototype, "resetToken", 2);
|
|
4228
4317
|
__decorateClass([
|
|
4229
|
-
|
|
4318
|
+
Column49({
|
|
4230
4319
|
name: "reset_token_expire_at",
|
|
4231
4320
|
type: "timestamp with time zone",
|
|
4232
4321
|
nullable: true
|
|
4233
4322
|
})
|
|
4234
4323
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
4235
4324
|
__decorateClass([
|
|
4236
|
-
|
|
4325
|
+
Column49({ name: "set_password_token", type: "varchar", nullable: true })
|
|
4237
4326
|
], User.prototype, "setPasswordToken", 2);
|
|
4238
4327
|
__decorateClass([
|
|
4239
|
-
|
|
4328
|
+
OneToMany17(() => RefreshToken, (token) => token.user)
|
|
4240
4329
|
], User.prototype, "refreshTokens", 2);
|
|
4241
4330
|
__decorateClass([
|
|
4242
|
-
|
|
4331
|
+
Column49({
|
|
4243
4332
|
name: "provider",
|
|
4244
4333
|
type: "enum",
|
|
4245
4334
|
enum: Provider,
|
|
@@ -4248,154 +4337,157 @@ __decorateClass([
|
|
|
4248
4337
|
})
|
|
4249
4338
|
], User.prototype, "provider", 2);
|
|
4250
4339
|
__decorateClass([
|
|
4251
|
-
|
|
4340
|
+
Column49({ name: "provider_token", type: "varchar", nullable: true })
|
|
4252
4341
|
], User.prototype, "providerToken", 2);
|
|
4253
4342
|
__decorateClass([
|
|
4254
|
-
|
|
4343
|
+
Column49({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
4255
4344
|
], User.prototype, "linkedInId", 2);
|
|
4256
4345
|
__decorateClass([
|
|
4257
|
-
|
|
4346
|
+
Column49({ name: "google_id", type: "varchar", nullable: true })
|
|
4258
4347
|
], User.prototype, "googleId", 2);
|
|
4259
4348
|
__decorateClass([
|
|
4260
|
-
|
|
4349
|
+
Column49({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
4261
4350
|
], User.prototype, "gitLabsId", 2);
|
|
4262
4351
|
__decorateClass([
|
|
4263
|
-
|
|
4352
|
+
Column49({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
4264
4353
|
], User.prototype, "onBoardedBy", 2);
|
|
4265
4354
|
__decorateClass([
|
|
4266
|
-
|
|
4355
|
+
OneToMany17(() => Otp, (otp) => otp.user)
|
|
4267
4356
|
], User.prototype, "otps", 2);
|
|
4268
4357
|
__decorateClass([
|
|
4269
|
-
|
|
4358
|
+
OneToMany17(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
4270
4359
|
], User.prototype, "senseloafLogs", 2);
|
|
4271
4360
|
__decorateClass([
|
|
4272
|
-
|
|
4361
|
+
OneToOne3(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
4273
4362
|
], User.prototype, "companyProfile", 2);
|
|
4274
4363
|
__decorateClass([
|
|
4275
|
-
|
|
4364
|
+
OneToMany17(() => CompanySkill, (companySkill) => companySkill.user)
|
|
4276
4365
|
], User.prototype, "companySkills", 2);
|
|
4277
4366
|
__decorateClass([
|
|
4278
|
-
|
|
4367
|
+
OneToMany17(
|
|
4279
4368
|
() => CompanyMemberRole,
|
|
4280
4369
|
(companyMemberRole) => companyMemberRole.user
|
|
4281
4370
|
)
|
|
4282
4371
|
], User.prototype, "companyMemberRoles", 2);
|
|
4283
4372
|
__decorateClass([
|
|
4284
|
-
|
|
4373
|
+
OneToMany17(() => AiInterview, (aiInterview) => aiInterview.interviwer)
|
|
4285
4374
|
], User.prototype, "companyAiInterview", 2);
|
|
4286
4375
|
__decorateClass([
|
|
4287
|
-
|
|
4376
|
+
OneToMany17(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
4288
4377
|
], User.prototype, "clientF2FInterviews", 2);
|
|
4289
4378
|
__decorateClass([
|
|
4290
|
-
|
|
4379
|
+
OneToOne3(
|
|
4291
4380
|
() => FreelancerProfile,
|
|
4292
4381
|
(freelancerProfile) => freelancerProfile.user
|
|
4293
4382
|
)
|
|
4294
4383
|
], User.prototype, "freelancerProfile", 2);
|
|
4295
4384
|
__decorateClass([
|
|
4296
|
-
|
|
4385
|
+
OneToOne3(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
4297
4386
|
], User.prototype, "freelancerResume", 2);
|
|
4298
4387
|
__decorateClass([
|
|
4299
|
-
|
|
4388
|
+
OneToMany17(
|
|
4300
4389
|
() => FreelancerAssessment,
|
|
4301
4390
|
(freelancerAssessment) => freelancerAssessment.user
|
|
4302
4391
|
)
|
|
4303
4392
|
], User.prototype, "assessments", 2);
|
|
4304
4393
|
__decorateClass([
|
|
4305
|
-
|
|
4394
|
+
OneToMany17(
|
|
4306
4395
|
() => AssessmentAnswer,
|
|
4307
4396
|
(assessmentAnswer) => assessmentAnswer.user
|
|
4308
4397
|
)
|
|
4309
4398
|
], User.prototype, "assessmentAnswers", 2);
|
|
4310
4399
|
__decorateClass([
|
|
4311
|
-
|
|
4400
|
+
OneToMany17(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
4312
4401
|
], User.prototype, "freelancerSkills", 2);
|
|
4313
4402
|
__decorateClass([
|
|
4314
|
-
|
|
4403
|
+
OneToMany17(
|
|
4315
4404
|
() => FreelancerExperience,
|
|
4316
4405
|
(freelancerExperience) => freelancerExperience.user
|
|
4317
4406
|
)
|
|
4318
4407
|
], User.prototype, "freelancerExperience", 2);
|
|
4319
4408
|
__decorateClass([
|
|
4320
|
-
|
|
4409
|
+
OneToMany17(
|
|
4321
4410
|
() => FreelancerEducation,
|
|
4322
4411
|
(freelancerEducation) => freelancerEducation.user
|
|
4323
4412
|
)
|
|
4324
4413
|
], User.prototype, "freelancerEducation", 2);
|
|
4325
4414
|
__decorateClass([
|
|
4326
|
-
|
|
4415
|
+
OneToMany17(
|
|
4327
4416
|
() => FreelancerProject,
|
|
4328
4417
|
(freelancerProject) => freelancerProject.user
|
|
4329
4418
|
)
|
|
4330
4419
|
], User.prototype, "freelancerProject", 2);
|
|
4331
4420
|
__decorateClass([
|
|
4332
|
-
|
|
4421
|
+
OneToMany17(
|
|
4333
4422
|
() => FreelancerCaseStudy,
|
|
4334
4423
|
(freelancerCaseStudy) => freelancerCaseStudy.user
|
|
4335
4424
|
)
|
|
4336
4425
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
4337
4426
|
__decorateClass([
|
|
4338
|
-
|
|
4427
|
+
OneToMany17(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
4339
4428
|
], User.prototype, "freelancerTool", 2);
|
|
4340
4429
|
__decorateClass([
|
|
4341
|
-
|
|
4430
|
+
OneToMany17(
|
|
4342
4431
|
() => FreelancerFramework,
|
|
4343
4432
|
(freelancerFramework) => freelancerFramework.user
|
|
4344
4433
|
)
|
|
4345
4434
|
], User.prototype, "freelancerFramework", 2);
|
|
4346
4435
|
__decorateClass([
|
|
4347
|
-
|
|
4436
|
+
OneToOne3(
|
|
4348
4437
|
() => FreelancerDeclaration,
|
|
4349
4438
|
(freelancerDeclaration) => freelancerDeclaration.user
|
|
4350
4439
|
)
|
|
4351
4440
|
], User.prototype, "freelancerDeclaration", 2);
|
|
4352
4441
|
__decorateClass([
|
|
4353
|
-
|
|
4442
|
+
OneToMany17(() => AiInterview, (aiInterview) => aiInterview.candidate)
|
|
4354
4443
|
], User.prototype, "freelancerAiInterview", 2);
|
|
4355
4444
|
__decorateClass([
|
|
4356
|
-
|
|
4445
|
+
OneToMany17(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
|
|
4357
4446
|
], User.prototype, "freelancerF2FInterviews", 2);
|
|
4358
4447
|
__decorateClass([
|
|
4359
|
-
|
|
4448
|
+
OneToMany17(
|
|
4360
4449
|
() => F2fInterviewRescheduleRequest,
|
|
4361
4450
|
(f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
|
|
4362
4451
|
)
|
|
4363
4452
|
], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
|
|
4364
4453
|
__decorateClass([
|
|
4365
|
-
|
|
4454
|
+
OneToMany17(() => Job, (job) => job.user)
|
|
4366
4455
|
], User.prototype, "jobs", 2);
|
|
4367
4456
|
__decorateClass([
|
|
4368
|
-
|
|
4457
|
+
OneToMany17(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
4369
4458
|
], User.prototype, "jobApplications", 2);
|
|
4370
4459
|
__decorateClass([
|
|
4371
|
-
|
|
4460
|
+
OneToMany17(() => Interview, (interview) => interview.user)
|
|
4372
4461
|
], User.prototype, "interviews", 2);
|
|
4373
4462
|
__decorateClass([
|
|
4374
|
-
|
|
4463
|
+
OneToMany17(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
4375
4464
|
], User.prototype, "bankDetail", 2);
|
|
4376
4465
|
__decorateClass([
|
|
4377
|
-
|
|
4466
|
+
OneToMany17(
|
|
4378
4467
|
() => SystemPreference,
|
|
4379
4468
|
(systemPreference) => systemPreference.user
|
|
4380
4469
|
)
|
|
4381
4470
|
], User.prototype, "systemPreference", 2);
|
|
4382
4471
|
__decorateClass([
|
|
4383
|
-
|
|
4472
|
+
OneToMany17(() => Rating, (rating) => rating.reviewer)
|
|
4384
4473
|
], User.prototype, "givenRatings", 2);
|
|
4385
4474
|
__decorateClass([
|
|
4386
|
-
|
|
4475
|
+
OneToMany17(() => Rating, (rating) => rating.reviewee)
|
|
4387
4476
|
], User.prototype, "receivedRatings", 2);
|
|
4388
4477
|
__decorateClass([
|
|
4389
|
-
|
|
4478
|
+
OneToMany17(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
4390
4479
|
], User.prototype, "adminUserRoles", 2);
|
|
4391
4480
|
__decorateClass([
|
|
4392
|
-
|
|
4481
|
+
OneToMany17(() => Contract, (contract) => contract.client)
|
|
4393
4482
|
], User.prototype, "clientContracts", 2);
|
|
4394
4483
|
__decorateClass([
|
|
4395
|
-
|
|
4484
|
+
OneToMany17(() => Contract, (contract) => contract.freelancer)
|
|
4396
4485
|
], User.prototype, "freelancerContracts", 2);
|
|
4486
|
+
__decorateClass([
|
|
4487
|
+
OneToOne3(() => StripeWallet, (stripeWallet) => stripeWallet.user)
|
|
4488
|
+
], User.prototype, "stripeWallet", 2);
|
|
4397
4489
|
User = __decorateClass([
|
|
4398
|
-
|
|
4490
|
+
Entity48("users")
|
|
4399
4491
|
], User);
|
|
4400
4492
|
|
|
4401
4493
|
// src/entities/rating.entity.ts
|
|
@@ -4407,36 +4499,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
4407
4499
|
var Rating = class extends BaseEntity {
|
|
4408
4500
|
};
|
|
4409
4501
|
__decorateClass([
|
|
4410
|
-
|
|
4411
|
-
|
|
4502
|
+
Column50({ name: "reviewer_id", type: "integer" }),
|
|
4503
|
+
Index42()
|
|
4412
4504
|
], Rating.prototype, "reviewer_id", 2);
|
|
4413
4505
|
__decorateClass([
|
|
4414
|
-
|
|
4415
|
-
|
|
4506
|
+
ManyToOne43(() => User, { onDelete: "CASCADE" }),
|
|
4507
|
+
JoinColumn44({ name: "reviewer_id" })
|
|
4416
4508
|
], Rating.prototype, "reviewer", 2);
|
|
4417
4509
|
__decorateClass([
|
|
4418
|
-
|
|
4419
|
-
|
|
4510
|
+
Column50({ name: "reviewee_id", type: "integer" }),
|
|
4511
|
+
Index42()
|
|
4420
4512
|
], Rating.prototype, "reviewee_id", 2);
|
|
4421
4513
|
__decorateClass([
|
|
4422
|
-
|
|
4423
|
-
|
|
4514
|
+
ManyToOne43(() => User, { onDelete: "CASCADE" }),
|
|
4515
|
+
JoinColumn44({ name: "reviewee_id" })
|
|
4424
4516
|
], Rating.prototype, "reviewee", 2);
|
|
4425
4517
|
__decorateClass([
|
|
4426
|
-
|
|
4518
|
+
Column50({
|
|
4427
4519
|
type: "enum",
|
|
4428
4520
|
enum: RatingTypeEnum,
|
|
4429
4521
|
nullable: true
|
|
4430
4522
|
})
|
|
4431
4523
|
], Rating.prototype, "ratingType", 2);
|
|
4432
4524
|
__decorateClass([
|
|
4433
|
-
|
|
4525
|
+
Column50({ type: "integer", nullable: true })
|
|
4434
4526
|
], Rating.prototype, "rating", 2);
|
|
4435
4527
|
__decorateClass([
|
|
4436
|
-
|
|
4528
|
+
Column50({ type: "text", nullable: true })
|
|
4437
4529
|
], Rating.prototype, "review", 2);
|
|
4438
4530
|
Rating = __decorateClass([
|
|
4439
|
-
|
|
4531
|
+
Entity49("ratings")
|
|
4440
4532
|
], Rating);
|
|
4441
4533
|
|
|
4442
4534
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -5963,11 +6055,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
5963
6055
|
};
|
|
5964
6056
|
|
|
5965
6057
|
// src/entities/sequence-generator.entity.ts
|
|
5966
|
-
import { Entity as
|
|
6058
|
+
import { Entity as Entity50, Column as Column51 } from "typeorm";
|
|
5967
6059
|
var SequenceGenerator = class extends BaseEntity {
|
|
5968
6060
|
};
|
|
5969
6061
|
__decorateClass([
|
|
5970
|
-
|
|
6062
|
+
Column51({
|
|
5971
6063
|
name: "module",
|
|
5972
6064
|
type: "varchar",
|
|
5973
6065
|
length: 50,
|
|
@@ -5976,7 +6068,7 @@ __decorateClass([
|
|
|
5976
6068
|
})
|
|
5977
6069
|
], SequenceGenerator.prototype, "module", 2);
|
|
5978
6070
|
__decorateClass([
|
|
5979
|
-
|
|
6071
|
+
Column51({
|
|
5980
6072
|
name: "prefix",
|
|
5981
6073
|
type: "varchar",
|
|
5982
6074
|
length: 10,
|
|
@@ -5985,7 +6077,7 @@ __decorateClass([
|
|
|
5985
6077
|
})
|
|
5986
6078
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
5987
6079
|
__decorateClass([
|
|
5988
|
-
|
|
6080
|
+
Column51({
|
|
5989
6081
|
name: "last_sequence",
|
|
5990
6082
|
type: "int",
|
|
5991
6083
|
nullable: false,
|
|
@@ -5993,7 +6085,7 @@ __decorateClass([
|
|
|
5993
6085
|
})
|
|
5994
6086
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
5995
6087
|
__decorateClass([
|
|
5996
|
-
|
|
6088
|
+
Column51({
|
|
5997
6089
|
name: "year",
|
|
5998
6090
|
type: "int",
|
|
5999
6091
|
nullable: true,
|
|
@@ -6001,11 +6093,11 @@ __decorateClass([
|
|
|
6001
6093
|
})
|
|
6002
6094
|
], SequenceGenerator.prototype, "year", 2);
|
|
6003
6095
|
SequenceGenerator = __decorateClass([
|
|
6004
|
-
|
|
6096
|
+
Entity50("sequence_generators")
|
|
6005
6097
|
], SequenceGenerator);
|
|
6006
6098
|
|
|
6007
6099
|
// src/entities/question.entity.ts
|
|
6008
|
-
import { Entity as
|
|
6100
|
+
import { Entity as Entity51, Column as Column52 } from "typeorm";
|
|
6009
6101
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
6010
6102
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
6011
6103
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -6014,16 +6106,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
6014
6106
|
var Question = class extends BaseEntity {
|
|
6015
6107
|
};
|
|
6016
6108
|
__decorateClass([
|
|
6017
|
-
|
|
6109
|
+
Column52({ name: "question", type: "varchar" })
|
|
6018
6110
|
], Question.prototype, "question", 2);
|
|
6019
6111
|
__decorateClass([
|
|
6020
|
-
|
|
6112
|
+
Column52({ name: "hint", type: "varchar", nullable: true })
|
|
6021
6113
|
], Question.prototype, "hint", 2);
|
|
6022
6114
|
__decorateClass([
|
|
6023
|
-
|
|
6115
|
+
Column52({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6024
6116
|
], Question.prototype, "slug", 2);
|
|
6025
6117
|
__decorateClass([
|
|
6026
|
-
|
|
6118
|
+
Column52({
|
|
6027
6119
|
name: "question_for",
|
|
6028
6120
|
type: "enum",
|
|
6029
6121
|
enum: QuestionFor,
|
|
@@ -6031,119 +6123,119 @@ __decorateClass([
|
|
|
6031
6123
|
})
|
|
6032
6124
|
], Question.prototype, "questionFor", 2);
|
|
6033
6125
|
__decorateClass([
|
|
6034
|
-
|
|
6126
|
+
Column52({ name: "type", type: "varchar", nullable: true })
|
|
6035
6127
|
], Question.prototype, "type", 2);
|
|
6036
6128
|
__decorateClass([
|
|
6037
|
-
|
|
6129
|
+
Column52({ name: "options", type: "jsonb", nullable: true })
|
|
6038
6130
|
], Question.prototype, "options", 2);
|
|
6039
6131
|
__decorateClass([
|
|
6040
|
-
|
|
6132
|
+
Column52({ name: "is_active", type: "boolean", default: false })
|
|
6041
6133
|
], Question.prototype, "isActive", 2);
|
|
6042
6134
|
Question = __decorateClass([
|
|
6043
|
-
|
|
6135
|
+
Entity51("questions")
|
|
6044
6136
|
], Question);
|
|
6045
6137
|
|
|
6046
6138
|
// src/entities/skill.entity.ts
|
|
6047
|
-
import { Entity as
|
|
6139
|
+
import { Entity as Entity52, Column as Column53 } from "typeorm";
|
|
6048
6140
|
var Skill = class extends BaseEntity {
|
|
6049
6141
|
};
|
|
6050
6142
|
__decorateClass([
|
|
6051
|
-
|
|
6143
|
+
Column53({ name: "name", type: "varchar", nullable: true })
|
|
6052
6144
|
], Skill.prototype, "name", 2);
|
|
6053
6145
|
__decorateClass([
|
|
6054
|
-
|
|
6146
|
+
Column53({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6055
6147
|
], Skill.prototype, "slug", 2);
|
|
6056
6148
|
__decorateClass([
|
|
6057
|
-
|
|
6149
|
+
Column53({ name: "is_active", type: "boolean", default: false })
|
|
6058
6150
|
], Skill.prototype, "isActive", 2);
|
|
6059
6151
|
Skill = __decorateClass([
|
|
6060
|
-
|
|
6152
|
+
Entity52("skills")
|
|
6061
6153
|
], Skill);
|
|
6062
6154
|
|
|
6063
6155
|
// src/entities/job-role.entity.ts
|
|
6064
|
-
import { Entity as
|
|
6156
|
+
import { Entity as Entity53, Column as Column54 } from "typeorm";
|
|
6065
6157
|
var JobRoles = class extends BaseEntity {
|
|
6066
6158
|
};
|
|
6067
6159
|
__decorateClass([
|
|
6068
|
-
|
|
6160
|
+
Column54({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6069
6161
|
], JobRoles.prototype, "slug", 2);
|
|
6070
6162
|
__decorateClass([
|
|
6071
|
-
|
|
6163
|
+
Column54({ name: "name", type: "varchar", nullable: true })
|
|
6072
6164
|
], JobRoles.prototype, "name", 2);
|
|
6073
6165
|
__decorateClass([
|
|
6074
|
-
|
|
6166
|
+
Column54({ name: "is_active", type: "boolean", default: true })
|
|
6075
6167
|
], JobRoles.prototype, "isActive", 2);
|
|
6076
6168
|
JobRoles = __decorateClass([
|
|
6077
|
-
|
|
6169
|
+
Entity53("job_roles")
|
|
6078
6170
|
], JobRoles);
|
|
6079
6171
|
|
|
6080
6172
|
// src/entities/plan.entity.ts
|
|
6081
|
-
import { Entity as
|
|
6173
|
+
import { Entity as Entity55, Column as Column56, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
|
|
6082
6174
|
|
|
6083
6175
|
// src/entities/feature.entity.ts
|
|
6084
|
-
import { Entity as
|
|
6176
|
+
import { Entity as Entity54, Column as Column55, ManyToMany as ManyToMany2 } from "typeorm";
|
|
6085
6177
|
var Feature = class extends BaseEntity {
|
|
6086
6178
|
};
|
|
6087
6179
|
__decorateClass([
|
|
6088
|
-
|
|
6180
|
+
Column55({ name: "name", type: "varchar", unique: true })
|
|
6089
6181
|
], Feature.prototype, "name", 2);
|
|
6090
6182
|
__decorateClass([
|
|
6091
6183
|
ManyToMany2(() => Plan, (plan) => plan.features)
|
|
6092
6184
|
], Feature.prototype, "plans", 2);
|
|
6093
6185
|
Feature = __decorateClass([
|
|
6094
|
-
|
|
6186
|
+
Entity54("features")
|
|
6095
6187
|
], Feature);
|
|
6096
6188
|
|
|
6097
6189
|
// src/entities/plan.entity.ts
|
|
6098
6190
|
var Plan = class extends BaseEntity {
|
|
6099
6191
|
};
|
|
6100
6192
|
__decorateClass([
|
|
6101
|
-
|
|
6193
|
+
Column56({ name: "name", type: "varchar", unique: true })
|
|
6102
6194
|
], Plan.prototype, "name", 2);
|
|
6103
6195
|
__decorateClass([
|
|
6104
|
-
|
|
6196
|
+
Column56({ name: "description", type: "varchar", nullable: true })
|
|
6105
6197
|
], Plan.prototype, "description", 2);
|
|
6106
6198
|
__decorateClass([
|
|
6107
|
-
|
|
6199
|
+
Column56({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
6108
6200
|
], Plan.prototype, "price", 2);
|
|
6109
6201
|
__decorateClass([
|
|
6110
|
-
|
|
6202
|
+
Column56({ name: "billing_period", type: "varchar" })
|
|
6111
6203
|
], Plan.prototype, "billingPeriod", 2);
|
|
6112
6204
|
__decorateClass([
|
|
6113
|
-
|
|
6205
|
+
Column56({ name: "is_current", type: "boolean", default: false })
|
|
6114
6206
|
], Plan.prototype, "isCurrent", 2);
|
|
6115
6207
|
__decorateClass([
|
|
6116
6208
|
ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
6117
6209
|
JoinTable()
|
|
6118
6210
|
], Plan.prototype, "features", 2);
|
|
6119
6211
|
Plan = __decorateClass([
|
|
6120
|
-
|
|
6212
|
+
Entity55("plans")
|
|
6121
6213
|
], Plan);
|
|
6122
6214
|
|
|
6123
6215
|
// src/entities/cms.entity.ts
|
|
6124
|
-
import { Entity as
|
|
6216
|
+
import { Entity as Entity56, Column as Column57 } from "typeorm";
|
|
6125
6217
|
var Cms = class extends BaseEntity {
|
|
6126
6218
|
};
|
|
6127
6219
|
__decorateClass([
|
|
6128
|
-
|
|
6220
|
+
Column57({ name: "title", type: "varchar", nullable: true })
|
|
6129
6221
|
], Cms.prototype, "title", 2);
|
|
6130
6222
|
__decorateClass([
|
|
6131
|
-
|
|
6223
|
+
Column57({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
6132
6224
|
], Cms.prototype, "slug", 2);
|
|
6133
6225
|
__decorateClass([
|
|
6134
|
-
|
|
6226
|
+
Column57({ name: "content", type: "varchar", nullable: true })
|
|
6135
6227
|
], Cms.prototype, "content", 2);
|
|
6136
6228
|
__decorateClass([
|
|
6137
|
-
|
|
6229
|
+
Column57({ name: "is_active", type: "boolean", default: true })
|
|
6138
6230
|
], Cms.prototype, "isActive", 2);
|
|
6139
6231
|
Cms = __decorateClass([
|
|
6140
|
-
|
|
6232
|
+
Entity56("cms")
|
|
6141
6233
|
], Cms);
|
|
6142
6234
|
|
|
6143
6235
|
// src/entities/lead.entity.ts
|
|
6144
6236
|
import {
|
|
6145
|
-
Entity as
|
|
6146
|
-
Column as
|
|
6237
|
+
Entity as Entity57,
|
|
6238
|
+
Column as Column58
|
|
6147
6239
|
} from "typeorm";
|
|
6148
6240
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
6149
6241
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
@@ -6153,22 +6245,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
6153
6245
|
var Lead = class extends BaseEntity {
|
|
6154
6246
|
};
|
|
6155
6247
|
__decorateClass([
|
|
6156
|
-
|
|
6248
|
+
Column58({ name: "name", type: "varchar", nullable: true })
|
|
6157
6249
|
], Lead.prototype, "name", 2);
|
|
6158
6250
|
__decorateClass([
|
|
6159
|
-
|
|
6251
|
+
Column58({ name: "mobile_code", type: "varchar", nullable: true })
|
|
6160
6252
|
], Lead.prototype, "mobileCode", 2);
|
|
6161
6253
|
__decorateClass([
|
|
6162
|
-
|
|
6254
|
+
Column58({ name: "mobile", type: "varchar", nullable: true })
|
|
6163
6255
|
], Lead.prototype, "mobile", 2);
|
|
6164
6256
|
__decorateClass([
|
|
6165
|
-
|
|
6257
|
+
Column58({ name: "email", type: "varchar", nullable: true })
|
|
6166
6258
|
], Lead.prototype, "email", 2);
|
|
6167
6259
|
__decorateClass([
|
|
6168
|
-
|
|
6260
|
+
Column58({ name: "description", type: "varchar", nullable: true })
|
|
6169
6261
|
], Lead.prototype, "description", 2);
|
|
6170
6262
|
__decorateClass([
|
|
6171
|
-
|
|
6263
|
+
Column58({
|
|
6172
6264
|
name: "category",
|
|
6173
6265
|
type: "enum",
|
|
6174
6266
|
enum: CategoryEmum,
|
|
@@ -6176,7 +6268,7 @@ __decorateClass([
|
|
|
6176
6268
|
})
|
|
6177
6269
|
], Lead.prototype, "category", 2);
|
|
6178
6270
|
Lead = __decorateClass([
|
|
6179
|
-
|
|
6271
|
+
Entity57("leads")
|
|
6180
6272
|
], Lead);
|
|
6181
6273
|
|
|
6182
6274
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
@@ -6417,7 +6509,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
6417
6509
|
], ClientFreelancerRecommendation);
|
|
6418
6510
|
|
|
6419
6511
|
// src/entities/commission.entity.ts
|
|
6420
|
-
import { Entity as
|
|
6512
|
+
import { Entity as Entity58, Column as Column59 } from "typeorm";
|
|
6421
6513
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
6422
6514
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
6423
6515
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -6426,7 +6518,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
6426
6518
|
var Commission = class extends BaseEntity {
|
|
6427
6519
|
};
|
|
6428
6520
|
__decorateClass([
|
|
6429
|
-
|
|
6521
|
+
Column59({
|
|
6430
6522
|
name: "freelancer_commission_type",
|
|
6431
6523
|
type: "enum",
|
|
6432
6524
|
enum: CommissionTypeEnum,
|
|
@@ -6434,10 +6526,10 @@ __decorateClass([
|
|
|
6434
6526
|
})
|
|
6435
6527
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
6436
6528
|
__decorateClass([
|
|
6437
|
-
|
|
6529
|
+
Column59({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
6438
6530
|
], Commission.prototype, "freelancerCommission", 2);
|
|
6439
6531
|
__decorateClass([
|
|
6440
|
-
|
|
6532
|
+
Column59({
|
|
6441
6533
|
name: "client_commission_type",
|
|
6442
6534
|
type: "enum",
|
|
6443
6535
|
enum: CommissionTypeEnum,
|
|
@@ -6445,54 +6537,54 @@ __decorateClass([
|
|
|
6445
6537
|
})
|
|
6446
6538
|
], Commission.prototype, "clientCommissionType", 2);
|
|
6447
6539
|
__decorateClass([
|
|
6448
|
-
|
|
6540
|
+
Column59({ name: "client_commission", type: "integer", default: 0 })
|
|
6449
6541
|
], Commission.prototype, "clientCommission", 2);
|
|
6450
6542
|
Commission = __decorateClass([
|
|
6451
|
-
|
|
6543
|
+
Entity58("commissions")
|
|
6452
6544
|
], Commission);
|
|
6453
6545
|
|
|
6454
6546
|
// src/entities/calendly-meeting-log.entity.ts
|
|
6455
6547
|
import {
|
|
6456
|
-
Entity as
|
|
6457
|
-
Column as
|
|
6458
|
-
Index as
|
|
6548
|
+
Entity as Entity59,
|
|
6549
|
+
Column as Column60,
|
|
6550
|
+
Index as Index43
|
|
6459
6551
|
} from "typeorm";
|
|
6460
6552
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
6461
6553
|
};
|
|
6462
6554
|
__decorateClass([
|
|
6463
|
-
|
|
6464
|
-
|
|
6555
|
+
Column60({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
6556
|
+
Index43()
|
|
6465
6557
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
6466
6558
|
__decorateClass([
|
|
6467
|
-
|
|
6559
|
+
Column60({ name: "calendly_event_type", type: "varchar", nullable: true })
|
|
6468
6560
|
], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
|
|
6469
6561
|
__decorateClass([
|
|
6470
|
-
|
|
6562
|
+
Column60({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6471
6563
|
], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
|
|
6472
6564
|
CalendlyMeetingLog = __decorateClass([
|
|
6473
|
-
|
|
6565
|
+
Entity59("calendly_meeting_logs")
|
|
6474
6566
|
], CalendlyMeetingLog);
|
|
6475
6567
|
|
|
6476
6568
|
// src/entities/zoom-meeting-log.entity.ts
|
|
6477
6569
|
import {
|
|
6478
|
-
Entity as
|
|
6479
|
-
Column as
|
|
6480
|
-
Index as
|
|
6570
|
+
Entity as Entity60,
|
|
6571
|
+
Column as Column61,
|
|
6572
|
+
Index as Index44
|
|
6481
6573
|
} from "typeorm";
|
|
6482
6574
|
var ZoomMeetingLog = class extends BaseEntity {
|
|
6483
6575
|
};
|
|
6484
6576
|
__decorateClass([
|
|
6485
|
-
|
|
6486
|
-
|
|
6577
|
+
Column61({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
|
|
6578
|
+
Index44()
|
|
6487
6579
|
], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
|
|
6488
6580
|
__decorateClass([
|
|
6489
|
-
|
|
6581
|
+
Column61({ name: "zoom_event_type", type: "varchar", nullable: true })
|
|
6490
6582
|
], ZoomMeetingLog.prototype, "zoomEventType", 2);
|
|
6491
6583
|
__decorateClass([
|
|
6492
|
-
|
|
6584
|
+
Column61({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6493
6585
|
], ZoomMeetingLog.prototype, "rawWebhookData", 2);
|
|
6494
6586
|
ZoomMeetingLog = __decorateClass([
|
|
6495
|
-
|
|
6587
|
+
Entity60("zoom_meeting_logs")
|
|
6496
6588
|
], ZoomMeetingLog);
|
|
6497
6589
|
export {
|
|
6498
6590
|
ADMIN_FREELANCER_PATTERN,
|
|
@@ -6706,6 +6798,10 @@ export {
|
|
|
6706
6798
|
Skill,
|
|
6707
6799
|
State,
|
|
6708
6800
|
Step,
|
|
6801
|
+
StripeWallet,
|
|
6802
|
+
StripeWalletTransaction,
|
|
6803
|
+
StripeWalletTransactionStatusEnum,
|
|
6804
|
+
StripeWalletTransactionTypeEnum,
|
|
6709
6805
|
SystemPreference,
|
|
6710
6806
|
SystemPreferenceDto,
|
|
6711
6807
|
SystemPreferenceKey,
|