@experts_hub/shared 1.0.362 → 1.0.364
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/contract.entity.d.ts +28 -0
- package/dist/entities/index.d.ts +1 -0
- package/dist/entities/job.entity.d.ts +2 -0
- package/dist/entities/user.entity.d.ts +3 -0
- package/dist/index.d.mts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.js +641 -499
- package/dist/index.mjs +610 -471
- 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 Entity47, Column as Column48, ManyToOne as ManyToOne42, JoinColumn as JoinColumn42, Index as Index40 } from "typeorm";
|
|
1421
1421
|
|
|
1422
1422
|
// src/entities/user.entity.ts
|
|
1423
1423
|
import {
|
|
1424
|
-
Entity as
|
|
1425
|
-
Column as
|
|
1424
|
+
Entity as Entity46,
|
|
1425
|
+
Column as Column47,
|
|
1426
1426
|
OneToMany as OneToMany16,
|
|
1427
1427
|
OneToOne as OneToOne2,
|
|
1428
|
-
Index as
|
|
1429
|
-
ManyToOne as
|
|
1430
|
-
JoinColumn as
|
|
1428
|
+
Index as Index39,
|
|
1429
|
+
ManyToOne as ManyToOne41,
|
|
1430
|
+
JoinColumn as JoinColumn41
|
|
1431
1431
|
} from "typeorm";
|
|
1432
1432
|
|
|
1433
1433
|
// src/entities/base.entity.ts
|
|
@@ -2145,11 +2145,11 @@ CompanyProfile = __decorateClass([
|
|
|
2145
2145
|
|
|
2146
2146
|
// src/entities/job.entity.ts
|
|
2147
2147
|
import {
|
|
2148
|
-
Entity as
|
|
2149
|
-
Column as
|
|
2150
|
-
Index as
|
|
2151
|
-
ManyToOne as
|
|
2152
|
-
JoinColumn as
|
|
2148
|
+
Entity as Entity21,
|
|
2149
|
+
Column as Column22,
|
|
2150
|
+
Index as Index15,
|
|
2151
|
+
ManyToOne as ManyToOne20,
|
|
2152
|
+
JoinColumn as JoinColumn20,
|
|
2153
2153
|
OneToMany as OneToMany8
|
|
2154
2154
|
} from "typeorm";
|
|
2155
2155
|
|
|
@@ -2894,6 +2894,87 @@ JobRecommendation = __decorateClass([
|
|
|
2894
2894
|
Entity19("job_recommendations")
|
|
2895
2895
|
], JobRecommendation);
|
|
2896
2896
|
|
|
2897
|
+
// src/entities/contract.entity.ts
|
|
2898
|
+
import { Entity as Entity20, Column as Column21, Index as Index14, ManyToOne as ManyToOne19, JoinColumn as JoinColumn19 } from "typeorm";
|
|
2899
|
+
var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
|
|
2900
|
+
ContractStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
2901
|
+
ContractStatusEnum2["SENT"] = "SENT";
|
|
2902
|
+
ContractStatusEnum2["SIGNED"] = "SIGNED";
|
|
2903
|
+
ContractStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
2904
|
+
ContractStatusEnum2["DISPUTED"] = "DISPUTED";
|
|
2905
|
+
return ContractStatusEnum2;
|
|
2906
|
+
})(ContractStatusEnum || {});
|
|
2907
|
+
var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
|
|
2908
|
+
ContractTypeEnum2["NDA"] = "NDA";
|
|
2909
|
+
ContractTypeEnum2["WORK"] = "WORK";
|
|
2910
|
+
return ContractTypeEnum2;
|
|
2911
|
+
})(ContractTypeEnum || {});
|
|
2912
|
+
var Contract = class extends BaseEntity {
|
|
2913
|
+
};
|
|
2914
|
+
__decorateClass([
|
|
2915
|
+
Column21({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
|
|
2916
|
+
], Contract.prototype, "contractUniqueId", 2);
|
|
2917
|
+
__decorateClass([
|
|
2918
|
+
Column21({ name: "job_id", type: "integer", nullable: true }),
|
|
2919
|
+
Index14()
|
|
2920
|
+
], Contract.prototype, "jobId", 2);
|
|
2921
|
+
__decorateClass([
|
|
2922
|
+
ManyToOne19(() => Job, (job) => job.contracts),
|
|
2923
|
+
JoinColumn19({ name: "job_id" })
|
|
2924
|
+
], Contract.prototype, "job", 2);
|
|
2925
|
+
__decorateClass([
|
|
2926
|
+
Column21({ name: "client_id", type: "integer", nullable: true }),
|
|
2927
|
+
Index14()
|
|
2928
|
+
], Contract.prototype, "clientId", 2);
|
|
2929
|
+
__decorateClass([
|
|
2930
|
+
ManyToOne19(() => User, (user) => user.clientContracts),
|
|
2931
|
+
JoinColumn19({ name: "client_id" })
|
|
2932
|
+
], Contract.prototype, "client", 2);
|
|
2933
|
+
__decorateClass([
|
|
2934
|
+
Column21({ name: "freelancer_id", type: "integer", nullable: true }),
|
|
2935
|
+
Index14()
|
|
2936
|
+
], Contract.prototype, "freelancerId", 2);
|
|
2937
|
+
__decorateClass([
|
|
2938
|
+
ManyToOne19(() => User, (user) => user.freelancerContracts),
|
|
2939
|
+
JoinColumn19({ name: "freelancer_id" })
|
|
2940
|
+
], Contract.prototype, "freelancer", 2);
|
|
2941
|
+
__decorateClass([
|
|
2942
|
+
Column21({ name: "duration", type: "integer", nullable: true })
|
|
2943
|
+
], Contract.prototype, "duration", 2);
|
|
2944
|
+
__decorateClass([
|
|
2945
|
+
Column21({
|
|
2946
|
+
name: "status",
|
|
2947
|
+
type: "enum",
|
|
2948
|
+
enum: ContractStatusEnum,
|
|
2949
|
+
nullable: true
|
|
2950
|
+
})
|
|
2951
|
+
], Contract.prototype, "status", 2);
|
|
2952
|
+
__decorateClass([
|
|
2953
|
+
Column21({
|
|
2954
|
+
name: "type",
|
|
2955
|
+
type: "enum",
|
|
2956
|
+
enum: ContractTypeEnum,
|
|
2957
|
+
nullable: true
|
|
2958
|
+
})
|
|
2959
|
+
], Contract.prototype, "type", 2);
|
|
2960
|
+
__decorateClass([
|
|
2961
|
+
Column21({
|
|
2962
|
+
name: "start_date",
|
|
2963
|
+
type: "timestamp with time zone",
|
|
2964
|
+
nullable: true
|
|
2965
|
+
})
|
|
2966
|
+
], Contract.prototype, "startDate", 2);
|
|
2967
|
+
__decorateClass([
|
|
2968
|
+
Column21({
|
|
2969
|
+
name: "end_date",
|
|
2970
|
+
type: "timestamp with time zone",
|
|
2971
|
+
nullable: true
|
|
2972
|
+
})
|
|
2973
|
+
], Contract.prototype, "endDate", 2);
|
|
2974
|
+
Contract = __decorateClass([
|
|
2975
|
+
Entity20("contracts")
|
|
2976
|
+
], Contract);
|
|
2977
|
+
|
|
2897
2978
|
// src/entities/job.entity.ts
|
|
2898
2979
|
var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
|
|
2899
2980
|
JobLocationEnum2["ONSITE"] = "ONSITE";
|
|
@@ -2931,49 +3012,49 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
|
|
|
2931
3012
|
var Job = class extends BaseEntity {
|
|
2932
3013
|
};
|
|
2933
3014
|
__decorateClass([
|
|
2934
|
-
|
|
3015
|
+
Column22({ name: "job_id", type: "varchar", unique: true, nullable: true })
|
|
2935
3016
|
], Job.prototype, "jobId", 2);
|
|
2936
3017
|
// individual index to find jobs by user
|
|
2937
3018
|
__decorateClass([
|
|
2938
|
-
|
|
2939
|
-
|
|
3019
|
+
Column22({ name: "user_id", type: "integer", nullable: true }),
|
|
3020
|
+
Index15()
|
|
2940
3021
|
], Job.prototype, "userId", 2);
|
|
2941
3022
|
__decorateClass([
|
|
2942
|
-
|
|
2943
|
-
|
|
3023
|
+
ManyToOne20(() => User, (user) => user.jobs),
|
|
3024
|
+
JoinColumn20({ name: "user_id" })
|
|
2944
3025
|
], Job.prototype, "user", 2);
|
|
2945
3026
|
__decorateClass([
|
|
2946
|
-
|
|
3027
|
+
Column22({ name: "country_id", type: "int", nullable: true })
|
|
2947
3028
|
], Job.prototype, "countryId", 2);
|
|
2948
3029
|
__decorateClass([
|
|
2949
|
-
|
|
2950
|
-
|
|
3030
|
+
ManyToOne20(() => Country),
|
|
3031
|
+
JoinColumn20({ name: "country_id" })
|
|
2951
3032
|
], Job.prototype, "country", 2);
|
|
2952
3033
|
__decorateClass([
|
|
2953
|
-
|
|
3034
|
+
Column22({ name: "state_id", type: "int", nullable: true })
|
|
2954
3035
|
], Job.prototype, "stateId", 2);
|
|
2955
3036
|
__decorateClass([
|
|
2956
|
-
|
|
2957
|
-
|
|
3037
|
+
ManyToOne20(() => State),
|
|
3038
|
+
JoinColumn20({ name: "state_id" })
|
|
2958
3039
|
], Job.prototype, "state", 2);
|
|
2959
3040
|
__decorateClass([
|
|
2960
|
-
|
|
3041
|
+
Column22({ name: "city_id", type: "int", nullable: true })
|
|
2961
3042
|
], Job.prototype, "cityId", 2);
|
|
2962
3043
|
__decorateClass([
|
|
2963
|
-
|
|
2964
|
-
|
|
3044
|
+
ManyToOne20(() => City),
|
|
3045
|
+
JoinColumn20({ name: "city_id" })
|
|
2965
3046
|
], Job.prototype, "city", 2);
|
|
2966
3047
|
__decorateClass([
|
|
2967
|
-
|
|
3048
|
+
Column22({ name: "job_role", type: "varchar", nullable: true })
|
|
2968
3049
|
], Job.prototype, "jobRole", 2);
|
|
2969
3050
|
__decorateClass([
|
|
2970
|
-
|
|
3051
|
+
Column22({ name: "note", type: "varchar", nullable: true })
|
|
2971
3052
|
], Job.prototype, "note", 2);
|
|
2972
3053
|
__decorateClass([
|
|
2973
|
-
|
|
3054
|
+
Column22({ name: "openings", type: "integer", default: 0 })
|
|
2974
3055
|
], Job.prototype, "openings", 2);
|
|
2975
3056
|
__decorateClass([
|
|
2976
|
-
|
|
3057
|
+
Column22({
|
|
2977
3058
|
name: "location",
|
|
2978
3059
|
type: "enum",
|
|
2979
3060
|
enum: JobLocationEnum,
|
|
@@ -2981,7 +3062,7 @@ __decorateClass([
|
|
|
2981
3062
|
})
|
|
2982
3063
|
], Job.prototype, "location", 2);
|
|
2983
3064
|
__decorateClass([
|
|
2984
|
-
|
|
3065
|
+
Column22({
|
|
2985
3066
|
name: "type_of_employment",
|
|
2986
3067
|
type: "enum",
|
|
2987
3068
|
enum: TypeOfEmploymentEnum,
|
|
@@ -2989,19 +3070,19 @@ __decorateClass([
|
|
|
2989
3070
|
})
|
|
2990
3071
|
], Job.prototype, "typeOfEmployment", 2);
|
|
2991
3072
|
__decorateClass([
|
|
2992
|
-
|
|
3073
|
+
Column22({ name: "academic_qualifictaion", type: "varchar", nullable: true })
|
|
2993
3074
|
], Job.prototype, "academicQualification", 2);
|
|
2994
3075
|
__decorateClass([
|
|
2995
|
-
|
|
3076
|
+
Column22({ name: "years_of_experience", type: "varchar", nullable: true })
|
|
2996
3077
|
], Job.prototype, "yearsOfExperience", 2);
|
|
2997
3078
|
__decorateClass([
|
|
2998
|
-
|
|
3079
|
+
Column22({ name: "business_industry", type: "varchar", nullable: true })
|
|
2999
3080
|
], Job.prototype, "businessIndustry", 2);
|
|
3000
3081
|
__decorateClass([
|
|
3001
|
-
|
|
3082
|
+
Column22({ name: "currency", type: "varchar", default: "USD" })
|
|
3002
3083
|
], Job.prototype, "currency", 2);
|
|
3003
3084
|
__decorateClass([
|
|
3004
|
-
|
|
3085
|
+
Column22({
|
|
3005
3086
|
name: "expected_salary_from",
|
|
3006
3087
|
type: "decimal",
|
|
3007
3088
|
precision: 10,
|
|
@@ -3010,7 +3091,7 @@ __decorateClass([
|
|
|
3010
3091
|
})
|
|
3011
3092
|
], Job.prototype, "expectedSalaryFrom", 2);
|
|
3012
3093
|
__decorateClass([
|
|
3013
|
-
|
|
3094
|
+
Column22({
|
|
3014
3095
|
name: "expected_salary_to",
|
|
3015
3096
|
type: "decimal",
|
|
3016
3097
|
precision: 10,
|
|
@@ -3019,16 +3100,16 @@ __decorateClass([
|
|
|
3019
3100
|
})
|
|
3020
3101
|
], Job.prototype, "expectedSalaryTo", 2);
|
|
3021
3102
|
__decorateClass([
|
|
3022
|
-
|
|
3103
|
+
Column22({ name: "tentative_start_date", type: "date", nullable: true })
|
|
3023
3104
|
], Job.prototype, "tentativeStartDate", 2);
|
|
3024
3105
|
__decorateClass([
|
|
3025
|
-
|
|
3106
|
+
Column22({ name: "tentative_end_date", type: "date", nullable: true })
|
|
3026
3107
|
], Job.prototype, "tentativeEndDate", 2);
|
|
3027
3108
|
__decorateClass([
|
|
3028
|
-
|
|
3109
|
+
Column22({ name: "duration", type: "varchar", nullable: true })
|
|
3029
3110
|
], Job.prototype, "duration", 2);
|
|
3030
3111
|
__decorateClass([
|
|
3031
|
-
|
|
3112
|
+
Column22({
|
|
3032
3113
|
name: "duration_type",
|
|
3033
3114
|
type: "enum",
|
|
3034
3115
|
enum: DurationTypeEnum,
|
|
@@ -3036,13 +3117,13 @@ __decorateClass([
|
|
|
3036
3117
|
})
|
|
3037
3118
|
], Job.prototype, "durationType", 2);
|
|
3038
3119
|
__decorateClass([
|
|
3039
|
-
|
|
3120
|
+
Column22({ name: "description", type: "varchar", nullable: true })
|
|
3040
3121
|
], Job.prototype, "description", 2);
|
|
3041
3122
|
__decorateClass([
|
|
3042
|
-
|
|
3123
|
+
Column22({ name: "additional_comment", type: "varchar", nullable: true })
|
|
3043
3124
|
], Job.prototype, "additionalComment", 2);
|
|
3044
3125
|
__decorateClass([
|
|
3045
|
-
|
|
3126
|
+
Column22({
|
|
3046
3127
|
name: "onboarding_tat",
|
|
3047
3128
|
type: "varchar",
|
|
3048
3129
|
length: 50,
|
|
@@ -3050,14 +3131,14 @@ __decorateClass([
|
|
|
3050
3131
|
})
|
|
3051
3132
|
], Job.prototype, "onboardingTat", 2);
|
|
3052
3133
|
__decorateClass([
|
|
3053
|
-
|
|
3134
|
+
Column22({
|
|
3054
3135
|
name: "candidate_communication_skills",
|
|
3055
3136
|
type: "varchar",
|
|
3056
3137
|
nullable: true
|
|
3057
3138
|
})
|
|
3058
3139
|
], Job.prototype, "candidateCommunicationSkills", 2);
|
|
3059
3140
|
__decorateClass([
|
|
3060
|
-
|
|
3141
|
+
Column22({
|
|
3061
3142
|
name: "step_completed",
|
|
3062
3143
|
type: "enum",
|
|
3063
3144
|
enum: Step,
|
|
@@ -3065,7 +3146,7 @@ __decorateClass([
|
|
|
3065
3146
|
})
|
|
3066
3147
|
], Job.prototype, "stepCompleted", 2);
|
|
3067
3148
|
__decorateClass([
|
|
3068
|
-
|
|
3149
|
+
Column22({
|
|
3069
3150
|
name: "status",
|
|
3070
3151
|
type: "enum",
|
|
3071
3152
|
enum: JobStatusEnum,
|
|
@@ -3073,10 +3154,10 @@ __decorateClass([
|
|
|
3073
3154
|
})
|
|
3074
3155
|
], Job.prototype, "status", 2);
|
|
3075
3156
|
__decorateClass([
|
|
3076
|
-
|
|
3157
|
+
Column22({ name: "viewed_count", type: "integer", default: 0 })
|
|
3077
3158
|
], Job.prototype, "viewedCount", 2);
|
|
3078
3159
|
__decorateClass([
|
|
3079
|
-
|
|
3160
|
+
Column22({ name: "application_count", type: "integer", default: 0 })
|
|
3080
3161
|
], Job.prototype, "applicationCount", 2);
|
|
3081
3162
|
__decorateClass([
|
|
3082
3163
|
OneToMany8(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
@@ -3092,21 +3173,34 @@ __decorateClass([
|
|
|
3092
3173
|
})
|
|
3093
3174
|
], Job.prototype, "interviews", 2);
|
|
3094
3175
|
__decorateClass([
|
|
3095
|
-
OneToMany8(
|
|
3096
|
-
|
|
3097
|
-
|
|
3176
|
+
OneToMany8(
|
|
3177
|
+
() => JobRecommendation,
|
|
3178
|
+
(jobRecommendation) => jobRecommendation.job,
|
|
3179
|
+
{
|
|
3180
|
+
cascade: true
|
|
3181
|
+
}
|
|
3182
|
+
)
|
|
3098
3183
|
], Job.prototype, "recommendations", 2);
|
|
3184
|
+
__decorateClass([
|
|
3185
|
+
OneToMany8(
|
|
3186
|
+
() => Contract,
|
|
3187
|
+
(contract) => contract.job,
|
|
3188
|
+
{
|
|
3189
|
+
cascade: true
|
|
3190
|
+
}
|
|
3191
|
+
)
|
|
3192
|
+
], Job.prototype, "contracts", 2);
|
|
3099
3193
|
Job = __decorateClass([
|
|
3100
|
-
|
|
3194
|
+
Entity21("jobs")
|
|
3101
3195
|
], Job);
|
|
3102
3196
|
|
|
3103
3197
|
// src/entities/bank-details.entity.ts
|
|
3104
3198
|
import {
|
|
3105
|
-
Entity as
|
|
3106
|
-
Column as
|
|
3107
|
-
Index as
|
|
3108
|
-
ManyToOne as
|
|
3109
|
-
JoinColumn as
|
|
3199
|
+
Entity as Entity22,
|
|
3200
|
+
Column as Column23,
|
|
3201
|
+
Index as Index16,
|
|
3202
|
+
ManyToOne as ManyToOne21,
|
|
3203
|
+
JoinColumn as JoinColumn21
|
|
3110
3204
|
} from "typeorm";
|
|
3111
3205
|
var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
|
|
3112
3206
|
BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
|
|
@@ -3122,48 +3216,48 @@ var BankDetail = class extends BaseEntity {
|
|
|
3122
3216
|
};
|
|
3123
3217
|
// individual index to find bank details by user
|
|
3124
3218
|
__decorateClass([
|
|
3125
|
-
|
|
3126
|
-
|
|
3219
|
+
Column23({ name: "user_id", type: "integer", nullable: true }),
|
|
3220
|
+
Index16()
|
|
3127
3221
|
], BankDetail.prototype, "userId", 2);
|
|
3128
3222
|
__decorateClass([
|
|
3129
|
-
|
|
3130
|
-
|
|
3223
|
+
ManyToOne21(() => User, (user) => user.bankDetail),
|
|
3224
|
+
JoinColumn21({ name: "user_id" })
|
|
3131
3225
|
], BankDetail.prototype, "user", 2);
|
|
3132
3226
|
__decorateClass([
|
|
3133
|
-
|
|
3227
|
+
Column23({ name: "name", type: "varchar", nullable: true })
|
|
3134
3228
|
], BankDetail.prototype, "name", 2);
|
|
3135
3229
|
__decorateClass([
|
|
3136
|
-
|
|
3230
|
+
Column23({ name: "mobile", type: "varchar", unique: true, nullable: true })
|
|
3137
3231
|
], BankDetail.prototype, "mobile", 2);
|
|
3138
3232
|
__decorateClass([
|
|
3139
|
-
|
|
3233
|
+
Column23({ name: "email", type: "varchar", unique: true })
|
|
3140
3234
|
], BankDetail.prototype, "email", 2);
|
|
3141
3235
|
__decorateClass([
|
|
3142
|
-
|
|
3236
|
+
Column23({ name: "address", type: "varchar", nullable: true })
|
|
3143
3237
|
], BankDetail.prototype, "address", 2);
|
|
3144
3238
|
__decorateClass([
|
|
3145
|
-
|
|
3239
|
+
Column23({ name: "account_number", type: "varchar", unique: true, nullable: true })
|
|
3146
3240
|
], BankDetail.prototype, "accountNumber", 2);
|
|
3147
3241
|
__decorateClass([
|
|
3148
|
-
|
|
3242
|
+
Column23({ name: "bank_name", type: "varchar", nullable: true })
|
|
3149
3243
|
], BankDetail.prototype, "bankName", 2);
|
|
3150
3244
|
__decorateClass([
|
|
3151
|
-
|
|
3245
|
+
Column23({ name: "ifsc_code", type: "varchar", nullable: true })
|
|
3152
3246
|
], BankDetail.prototype, "ifscCode", 2);
|
|
3153
3247
|
__decorateClass([
|
|
3154
|
-
|
|
3248
|
+
Column23({ name: "branch_name", type: "varchar", nullable: true })
|
|
3155
3249
|
], BankDetail.prototype, "branchName", 2);
|
|
3156
3250
|
__decorateClass([
|
|
3157
|
-
|
|
3251
|
+
Column23({ name: "routing_no", type: "varchar", nullable: true })
|
|
3158
3252
|
], BankDetail.prototype, "routingNo", 2);
|
|
3159
3253
|
__decorateClass([
|
|
3160
|
-
|
|
3254
|
+
Column23({ name: "aba_no", type: "varchar", nullable: true })
|
|
3161
3255
|
], BankDetail.prototype, "abaNumber", 2);
|
|
3162
3256
|
__decorateClass([
|
|
3163
|
-
|
|
3257
|
+
Column23({ name: "iban", type: "varchar", nullable: true })
|
|
3164
3258
|
], BankDetail.prototype, "iban", 2);
|
|
3165
3259
|
__decorateClass([
|
|
3166
|
-
|
|
3260
|
+
Column23({
|
|
3167
3261
|
name: "account_type",
|
|
3168
3262
|
type: "enum",
|
|
3169
3263
|
enum: BankAccountTypeEnum,
|
|
@@ -3171,7 +3265,7 @@ __decorateClass([
|
|
|
3171
3265
|
})
|
|
3172
3266
|
], BankDetail.prototype, "accountType", 2);
|
|
3173
3267
|
__decorateClass([
|
|
3174
|
-
|
|
3268
|
+
Column23({
|
|
3175
3269
|
name: "account_scope",
|
|
3176
3270
|
type: "enum",
|
|
3177
3271
|
enum: BankAccountScopeEnum,
|
|
@@ -3179,263 +3273,263 @@ __decorateClass([
|
|
|
3179
3273
|
})
|
|
3180
3274
|
], BankDetail.prototype, "accountScope", 2);
|
|
3181
3275
|
BankDetail = __decorateClass([
|
|
3182
|
-
|
|
3276
|
+
Entity22("bank_details")
|
|
3183
3277
|
], BankDetail);
|
|
3184
3278
|
|
|
3185
3279
|
// src/entities/system-preference.entity.ts
|
|
3186
3280
|
import {
|
|
3187
|
-
Entity as
|
|
3188
|
-
Column as
|
|
3189
|
-
Index as
|
|
3190
|
-
ManyToOne as
|
|
3191
|
-
JoinColumn as
|
|
3281
|
+
Entity as Entity23,
|
|
3282
|
+
Column as Column24,
|
|
3283
|
+
Index as Index17,
|
|
3284
|
+
ManyToOne as ManyToOne22,
|
|
3285
|
+
JoinColumn as JoinColumn22
|
|
3192
3286
|
} from "typeorm";
|
|
3193
3287
|
var SystemPreference = class extends BaseEntity {
|
|
3194
3288
|
};
|
|
3195
3289
|
// individual index to find system preference by user
|
|
3196
3290
|
__decorateClass([
|
|
3197
|
-
|
|
3198
|
-
|
|
3291
|
+
Column24({ name: "user_id", type: "integer", nullable: true }),
|
|
3292
|
+
Index17()
|
|
3199
3293
|
], SystemPreference.prototype, "userId", 2);
|
|
3200
3294
|
__decorateClass([
|
|
3201
|
-
|
|
3202
|
-
|
|
3295
|
+
ManyToOne22(() => User, (user) => user.systemPreference),
|
|
3296
|
+
JoinColumn22({ name: "user_id" })
|
|
3203
3297
|
], SystemPreference.prototype, "user", 2);
|
|
3204
3298
|
__decorateClass([
|
|
3205
|
-
|
|
3299
|
+
Column24({ name: "key", type: "varchar", nullable: false })
|
|
3206
3300
|
], SystemPreference.prototype, "key", 2);
|
|
3207
3301
|
__decorateClass([
|
|
3208
|
-
|
|
3302
|
+
Column24({ name: "value", type: "boolean", default: false })
|
|
3209
3303
|
], SystemPreference.prototype, "value", 2);
|
|
3210
3304
|
SystemPreference = __decorateClass([
|
|
3211
|
-
|
|
3305
|
+
Entity23("system_preferences")
|
|
3212
3306
|
], SystemPreference);
|
|
3213
3307
|
|
|
3214
3308
|
// src/entities/freelancer-experience.entity.ts
|
|
3215
3309
|
import {
|
|
3216
|
-
Entity as
|
|
3217
|
-
Column as
|
|
3218
|
-
Index as
|
|
3219
|
-
ManyToOne as
|
|
3220
|
-
JoinColumn as
|
|
3310
|
+
Entity as Entity24,
|
|
3311
|
+
Column as Column25,
|
|
3312
|
+
Index as Index18,
|
|
3313
|
+
ManyToOne as ManyToOne23,
|
|
3314
|
+
JoinColumn as JoinColumn23
|
|
3221
3315
|
} from "typeorm";
|
|
3222
3316
|
var FreelancerExperience = class extends BaseEntity {
|
|
3223
3317
|
};
|
|
3224
3318
|
// individual index to find experence by user
|
|
3225
3319
|
__decorateClass([
|
|
3226
|
-
|
|
3227
|
-
|
|
3320
|
+
Column25({ name: "user_id", type: "integer", nullable: true }),
|
|
3321
|
+
Index18()
|
|
3228
3322
|
], FreelancerExperience.prototype, "userId", 2);
|
|
3229
3323
|
__decorateClass([
|
|
3230
|
-
|
|
3231
|
-
|
|
3324
|
+
ManyToOne23(() => User, (user) => user.freelancerExperience),
|
|
3325
|
+
JoinColumn23({ name: "user_id" })
|
|
3232
3326
|
], FreelancerExperience.prototype, "user", 2);
|
|
3233
3327
|
__decorateClass([
|
|
3234
|
-
|
|
3328
|
+
Column25({ name: "company_name", type: "varchar", nullable: true })
|
|
3235
3329
|
], FreelancerExperience.prototype, "companyName", 2);
|
|
3236
3330
|
__decorateClass([
|
|
3237
|
-
|
|
3331
|
+
Column25({ name: "designation", type: "varchar", nullable: true })
|
|
3238
3332
|
], FreelancerExperience.prototype, "designation", 2);
|
|
3239
3333
|
__decorateClass([
|
|
3240
|
-
|
|
3334
|
+
Column25({ name: "job_duration", type: "varchar", nullable: true })
|
|
3241
3335
|
], FreelancerExperience.prototype, "jobDuration", 2);
|
|
3242
3336
|
__decorateClass([
|
|
3243
|
-
|
|
3337
|
+
Column25({ name: "description", type: "varchar", nullable: true })
|
|
3244
3338
|
], FreelancerExperience.prototype, "description", 2);
|
|
3245
3339
|
FreelancerExperience = __decorateClass([
|
|
3246
|
-
|
|
3340
|
+
Entity24("freelancer_experiences")
|
|
3247
3341
|
], FreelancerExperience);
|
|
3248
3342
|
|
|
3249
3343
|
// src/entities/freelancer-education.entity.ts
|
|
3250
3344
|
import {
|
|
3251
|
-
Entity as
|
|
3252
|
-
Column as
|
|
3253
|
-
Index as
|
|
3254
|
-
ManyToOne as
|
|
3255
|
-
JoinColumn as
|
|
3345
|
+
Entity as Entity25,
|
|
3346
|
+
Column as Column26,
|
|
3347
|
+
Index as Index19,
|
|
3348
|
+
ManyToOne as ManyToOne24,
|
|
3349
|
+
JoinColumn as JoinColumn24
|
|
3256
3350
|
} from "typeorm";
|
|
3257
3351
|
var FreelancerEducation = class extends BaseEntity {
|
|
3258
3352
|
};
|
|
3259
3353
|
// individual index to find education by user
|
|
3260
3354
|
__decorateClass([
|
|
3261
|
-
|
|
3262
|
-
|
|
3355
|
+
Column26({ name: "user_id", type: "integer", nullable: true }),
|
|
3356
|
+
Index19()
|
|
3263
3357
|
], FreelancerEducation.prototype, "userId", 2);
|
|
3264
3358
|
__decorateClass([
|
|
3265
|
-
|
|
3266
|
-
|
|
3359
|
+
ManyToOne24(() => User, (user) => user.freelancerEducation),
|
|
3360
|
+
JoinColumn24({ name: "user_id" })
|
|
3267
3361
|
], FreelancerEducation.prototype, "user", 2);
|
|
3268
3362
|
__decorateClass([
|
|
3269
|
-
|
|
3363
|
+
Column26({ name: "degree", type: "varchar", nullable: true })
|
|
3270
3364
|
], FreelancerEducation.prototype, "degree", 2);
|
|
3271
3365
|
__decorateClass([
|
|
3272
|
-
|
|
3366
|
+
Column26({ name: "university", type: "varchar", nullable: true })
|
|
3273
3367
|
], FreelancerEducation.prototype, "university", 2);
|
|
3274
3368
|
__decorateClass([
|
|
3275
|
-
|
|
3369
|
+
Column26({ name: "year_of_graduation", type: "varchar", nullable: true })
|
|
3276
3370
|
], FreelancerEducation.prototype, "yearOfGraduation", 2);
|
|
3277
3371
|
FreelancerEducation = __decorateClass([
|
|
3278
|
-
|
|
3372
|
+
Entity25("freelancer_educations")
|
|
3279
3373
|
], FreelancerEducation);
|
|
3280
3374
|
|
|
3281
3375
|
// src/entities/freelancer-project.entity.ts
|
|
3282
3376
|
import {
|
|
3283
|
-
Entity as
|
|
3284
|
-
Column as
|
|
3285
|
-
Index as
|
|
3286
|
-
ManyToOne as
|
|
3287
|
-
JoinColumn as
|
|
3377
|
+
Entity as Entity26,
|
|
3378
|
+
Column as Column27,
|
|
3379
|
+
Index as Index20,
|
|
3380
|
+
ManyToOne as ManyToOne25,
|
|
3381
|
+
JoinColumn as JoinColumn25
|
|
3288
3382
|
} from "typeorm";
|
|
3289
3383
|
var FreelancerProject = class extends BaseEntity {
|
|
3290
3384
|
};
|
|
3291
3385
|
// individual index to find project by user
|
|
3292
3386
|
__decorateClass([
|
|
3293
|
-
|
|
3294
|
-
|
|
3387
|
+
Column27({ name: "user_id", type: "integer", nullable: true }),
|
|
3388
|
+
Index20()
|
|
3295
3389
|
], FreelancerProject.prototype, "userId", 2);
|
|
3296
3390
|
__decorateClass([
|
|
3297
|
-
|
|
3298
|
-
|
|
3391
|
+
ManyToOne25(() => User, (user) => user.freelancerProject),
|
|
3392
|
+
JoinColumn25({ name: "user_id" })
|
|
3299
3393
|
], FreelancerProject.prototype, "user", 2);
|
|
3300
3394
|
__decorateClass([
|
|
3301
|
-
|
|
3395
|
+
Column27({ name: "project_name", type: "varchar", nullable: true })
|
|
3302
3396
|
], FreelancerProject.prototype, "projectName", 2);
|
|
3303
3397
|
__decorateClass([
|
|
3304
|
-
|
|
3398
|
+
Column27({ name: "start_date", type: "date", nullable: true })
|
|
3305
3399
|
], FreelancerProject.prototype, "startDate", 2);
|
|
3306
3400
|
__decorateClass([
|
|
3307
|
-
|
|
3401
|
+
Column27({ name: "end_date", type: "date", nullable: true })
|
|
3308
3402
|
], FreelancerProject.prototype, "endDate", 2);
|
|
3309
3403
|
__decorateClass([
|
|
3310
|
-
|
|
3404
|
+
Column27({ name: "client_name", type: "varchar", nullable: true })
|
|
3311
3405
|
], FreelancerProject.prototype, "clientName", 2);
|
|
3312
3406
|
__decorateClass([
|
|
3313
|
-
|
|
3407
|
+
Column27({ name: "git_link", type: "varchar", nullable: true })
|
|
3314
3408
|
], FreelancerProject.prototype, "gitLink", 2);
|
|
3315
3409
|
__decorateClass([
|
|
3316
|
-
|
|
3410
|
+
Column27({ name: "description", type: "varchar", nullable: true })
|
|
3317
3411
|
], FreelancerProject.prototype, "description", 2);
|
|
3318
3412
|
FreelancerProject = __decorateClass([
|
|
3319
|
-
|
|
3413
|
+
Entity26("freelancer_projects")
|
|
3320
3414
|
], FreelancerProject);
|
|
3321
3415
|
|
|
3322
3416
|
// src/entities/freelancer-casestudy.entity.ts
|
|
3323
3417
|
import {
|
|
3324
|
-
Entity as
|
|
3325
|
-
Column as
|
|
3326
|
-
Index as
|
|
3327
|
-
ManyToOne as
|
|
3328
|
-
JoinColumn as
|
|
3418
|
+
Entity as Entity27,
|
|
3419
|
+
Column as Column28,
|
|
3420
|
+
Index as Index21,
|
|
3421
|
+
ManyToOne as ManyToOne26,
|
|
3422
|
+
JoinColumn as JoinColumn26
|
|
3329
3423
|
} from "typeorm";
|
|
3330
3424
|
var FreelancerCaseStudy = class extends BaseEntity {
|
|
3331
3425
|
};
|
|
3332
3426
|
// individual index to find case study by user
|
|
3333
3427
|
__decorateClass([
|
|
3334
|
-
|
|
3335
|
-
|
|
3428
|
+
Column28({ name: "user_id", type: "integer", nullable: true }),
|
|
3429
|
+
Index21()
|
|
3336
3430
|
], FreelancerCaseStudy.prototype, "userId", 2);
|
|
3337
3431
|
__decorateClass([
|
|
3338
|
-
|
|
3339
|
-
|
|
3432
|
+
ManyToOne26(() => User, (user) => user.freelancerCaseStudy),
|
|
3433
|
+
JoinColumn26({ name: "user_id" })
|
|
3340
3434
|
], FreelancerCaseStudy.prototype, "user", 2);
|
|
3341
3435
|
__decorateClass([
|
|
3342
|
-
|
|
3436
|
+
Column28({ name: "project_name", type: "varchar", nullable: true })
|
|
3343
3437
|
], FreelancerCaseStudy.prototype, "projectName", 2);
|
|
3344
3438
|
__decorateClass([
|
|
3345
|
-
|
|
3439
|
+
Column28({ name: "case_study_link", type: "varchar", nullable: true })
|
|
3346
3440
|
], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
|
|
3347
3441
|
__decorateClass([
|
|
3348
|
-
|
|
3442
|
+
Column28({ name: "description", type: "varchar", nullable: true })
|
|
3349
3443
|
], FreelancerCaseStudy.prototype, "description", 2);
|
|
3350
3444
|
FreelancerCaseStudy = __decorateClass([
|
|
3351
|
-
|
|
3445
|
+
Entity27("freelancer_case_studies")
|
|
3352
3446
|
], FreelancerCaseStudy);
|
|
3353
3447
|
|
|
3354
3448
|
// src/entities/freelancer-skill.entity.ts
|
|
3355
3449
|
import {
|
|
3356
|
-
Entity as
|
|
3357
|
-
Column as
|
|
3358
|
-
Index as
|
|
3359
|
-
ManyToOne as
|
|
3360
|
-
JoinColumn as
|
|
3450
|
+
Entity as Entity28,
|
|
3451
|
+
Column as Column29,
|
|
3452
|
+
Index as Index22,
|
|
3453
|
+
ManyToOne as ManyToOne27,
|
|
3454
|
+
JoinColumn as JoinColumn27
|
|
3361
3455
|
} from "typeorm";
|
|
3362
3456
|
var FreelancerSkill = class extends BaseEntity {
|
|
3363
3457
|
};
|
|
3364
3458
|
// individual index to find core skills by user
|
|
3365
3459
|
__decorateClass([
|
|
3366
|
-
|
|
3367
|
-
|
|
3460
|
+
Column29({ name: "user_id", type: "integer", nullable: true }),
|
|
3461
|
+
Index22()
|
|
3368
3462
|
], FreelancerSkill.prototype, "userId", 2);
|
|
3369
3463
|
__decorateClass([
|
|
3370
|
-
|
|
3371
|
-
|
|
3464
|
+
ManyToOne27(() => User, (user) => user.freelancerSkills),
|
|
3465
|
+
JoinColumn27({ name: "user_id" })
|
|
3372
3466
|
], FreelancerSkill.prototype, "user", 2);
|
|
3373
3467
|
__decorateClass([
|
|
3374
|
-
|
|
3468
|
+
Column29({ name: "skill_name", type: "varchar", nullable: true })
|
|
3375
3469
|
], FreelancerSkill.prototype, "skillName", 2);
|
|
3376
3470
|
FreelancerSkill = __decorateClass([
|
|
3377
|
-
|
|
3471
|
+
Entity28("freelancer_skills")
|
|
3378
3472
|
], FreelancerSkill);
|
|
3379
3473
|
|
|
3380
3474
|
// src/entities/freelancer-tool.entity.ts
|
|
3381
3475
|
import {
|
|
3382
|
-
Entity as
|
|
3383
|
-
Column as
|
|
3384
|
-
Index as
|
|
3385
|
-
ManyToOne as
|
|
3386
|
-
JoinColumn as
|
|
3476
|
+
Entity as Entity29,
|
|
3477
|
+
Column as Column30,
|
|
3478
|
+
Index as Index23,
|
|
3479
|
+
ManyToOne as ManyToOne28,
|
|
3480
|
+
JoinColumn as JoinColumn28
|
|
3387
3481
|
} from "typeorm";
|
|
3388
3482
|
var FreelancerTool = class extends BaseEntity {
|
|
3389
3483
|
};
|
|
3390
3484
|
// individual index to find tool by user
|
|
3391
3485
|
__decorateClass([
|
|
3392
|
-
|
|
3393
|
-
|
|
3486
|
+
Column30({ name: "user_id", type: "integer", nullable: true }),
|
|
3487
|
+
Index23()
|
|
3394
3488
|
], FreelancerTool.prototype, "userId", 2);
|
|
3395
3489
|
__decorateClass([
|
|
3396
|
-
|
|
3397
|
-
|
|
3490
|
+
ManyToOne28(() => User, (user) => user.freelancerTool),
|
|
3491
|
+
JoinColumn28({ name: "user_id" })
|
|
3398
3492
|
], FreelancerTool.prototype, "user", 2);
|
|
3399
3493
|
__decorateClass([
|
|
3400
|
-
|
|
3494
|
+
Column30({ name: "tool_name", type: "varchar", nullable: true })
|
|
3401
3495
|
], FreelancerTool.prototype, "toolName", 2);
|
|
3402
3496
|
FreelancerTool = __decorateClass([
|
|
3403
|
-
|
|
3497
|
+
Entity29("freelancer_tools")
|
|
3404
3498
|
], FreelancerTool);
|
|
3405
3499
|
|
|
3406
3500
|
// src/entities/freelancer-framework.entity.ts
|
|
3407
3501
|
import {
|
|
3408
|
-
Entity as
|
|
3409
|
-
Column as
|
|
3410
|
-
Index as
|
|
3411
|
-
ManyToOne as
|
|
3412
|
-
JoinColumn as
|
|
3502
|
+
Entity as Entity30,
|
|
3503
|
+
Column as Column31,
|
|
3504
|
+
Index as Index24,
|
|
3505
|
+
ManyToOne as ManyToOne29,
|
|
3506
|
+
JoinColumn as JoinColumn29
|
|
3413
3507
|
} from "typeorm";
|
|
3414
3508
|
var FreelancerFramework = class extends BaseEntity {
|
|
3415
3509
|
};
|
|
3416
3510
|
// individual index to find framework by user
|
|
3417
3511
|
__decorateClass([
|
|
3418
|
-
|
|
3419
|
-
|
|
3512
|
+
Column31({ name: "user_id", type: "integer", nullable: true }),
|
|
3513
|
+
Index24()
|
|
3420
3514
|
], FreelancerFramework.prototype, "userId", 2);
|
|
3421
3515
|
__decorateClass([
|
|
3422
|
-
|
|
3423
|
-
|
|
3516
|
+
ManyToOne29(() => User, (user) => user.freelancerFramework),
|
|
3517
|
+
JoinColumn29({ name: "user_id" })
|
|
3424
3518
|
], FreelancerFramework.prototype, "user", 2);
|
|
3425
3519
|
__decorateClass([
|
|
3426
|
-
|
|
3520
|
+
Column31({ name: "framework_name", type: "varchar", nullable: true })
|
|
3427
3521
|
], FreelancerFramework.prototype, "frameworkName", 2);
|
|
3428
3522
|
FreelancerFramework = __decorateClass([
|
|
3429
|
-
|
|
3523
|
+
Entity30("freelancer_frameworks")
|
|
3430
3524
|
], FreelancerFramework);
|
|
3431
3525
|
|
|
3432
3526
|
// src/entities/freelancer-assessment.entity.ts
|
|
3433
3527
|
import {
|
|
3434
|
-
Entity as
|
|
3435
|
-
Column as
|
|
3436
|
-
Index as
|
|
3437
|
-
ManyToOne as
|
|
3438
|
-
JoinColumn as
|
|
3528
|
+
Entity as Entity31,
|
|
3529
|
+
Column as Column32,
|
|
3530
|
+
Index as Index25,
|
|
3531
|
+
ManyToOne as ManyToOne30,
|
|
3532
|
+
JoinColumn as JoinColumn30
|
|
3439
3533
|
} from "typeorm";
|
|
3440
3534
|
var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
|
|
3441
3535
|
AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
|
|
@@ -3452,30 +3546,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
|
|
|
3452
3546
|
var FreelancerAssessment = class extends BaseEntity {
|
|
3453
3547
|
};
|
|
3454
3548
|
__decorateClass([
|
|
3455
|
-
|
|
3456
|
-
|
|
3549
|
+
Column32({ name: "user_id", type: "integer", nullable: true }),
|
|
3550
|
+
Index25()
|
|
3457
3551
|
], FreelancerAssessment.prototype, "userId", 2);
|
|
3458
3552
|
__decorateClass([
|
|
3459
|
-
|
|
3460
|
-
|
|
3553
|
+
ManyToOne30(() => User, (user) => user.assessments),
|
|
3554
|
+
JoinColumn30({ name: "user_id" })
|
|
3461
3555
|
], FreelancerAssessment.prototype, "user", 2);
|
|
3462
3556
|
__decorateClass([
|
|
3463
|
-
|
|
3557
|
+
Column32({ name: "interview_id", type: "varchar", nullable: true })
|
|
3464
3558
|
], FreelancerAssessment.prototype, "interviewId", 2);
|
|
3465
3559
|
__decorateClass([
|
|
3466
|
-
|
|
3560
|
+
Column32({ name: "interview_link", type: "text", nullable: true })
|
|
3467
3561
|
], FreelancerAssessment.prototype, "interviewLink", 2);
|
|
3468
3562
|
__decorateClass([
|
|
3469
|
-
|
|
3563
|
+
Column32({ name: "recording_link", type: "text", nullable: true })
|
|
3470
3564
|
], FreelancerAssessment.prototype, "recordingLink", 2);
|
|
3471
3565
|
__decorateClass([
|
|
3472
|
-
|
|
3566
|
+
Column32({ name: "iframe_response", type: "jsonb", nullable: true })
|
|
3473
3567
|
], FreelancerAssessment.prototype, "iframeResponse", 2);
|
|
3474
3568
|
__decorateClass([
|
|
3475
|
-
|
|
3569
|
+
Column32({ name: "interview_summary", type: "jsonb", nullable: true })
|
|
3476
3570
|
], FreelancerAssessment.prototype, "interviewSummary", 2);
|
|
3477
3571
|
__decorateClass([
|
|
3478
|
-
|
|
3572
|
+
Column32({
|
|
3479
3573
|
name: "status",
|
|
3480
3574
|
type: "enum",
|
|
3481
3575
|
enum: AssessmentStatusEnum,
|
|
@@ -3483,11 +3577,11 @@ __decorateClass([
|
|
|
3483
3577
|
})
|
|
3484
3578
|
], FreelancerAssessment.prototype, "status", 2);
|
|
3485
3579
|
FreelancerAssessment = __decorateClass([
|
|
3486
|
-
|
|
3580
|
+
Entity31("freelancer_assessments")
|
|
3487
3581
|
], FreelancerAssessment);
|
|
3488
3582
|
|
|
3489
3583
|
// src/entities/freelancer-declaration.entity.ts
|
|
3490
|
-
import { Entity as
|
|
3584
|
+
import { Entity as Entity32, Column as Column33, Index as Index26, ManyToOne as ManyToOne31, JoinColumn as JoinColumn31 } from "typeorm";
|
|
3491
3585
|
var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
|
|
3492
3586
|
DocumentType2["AADHAAR"] = "AADHAAR_CARD";
|
|
3493
3587
|
DocumentType2["PASSPORT"] = "PASSPORT";
|
|
@@ -3499,15 +3593,15 @@ var FreelancerDeclaration = class extends BaseEntity {
|
|
|
3499
3593
|
};
|
|
3500
3594
|
// individual index to find declaration by user
|
|
3501
3595
|
__decorateClass([
|
|
3502
|
-
|
|
3503
|
-
|
|
3596
|
+
Column33({ name: "user_id", type: "integer", nullable: true }),
|
|
3597
|
+
Index26()
|
|
3504
3598
|
], FreelancerDeclaration.prototype, "userId", 2);
|
|
3505
3599
|
__decorateClass([
|
|
3506
|
-
|
|
3507
|
-
|
|
3600
|
+
ManyToOne31(() => User, (user) => user.freelancerDeclaration),
|
|
3601
|
+
JoinColumn31({ name: "user_id" })
|
|
3508
3602
|
], FreelancerDeclaration.prototype, "user", 2);
|
|
3509
3603
|
__decorateClass([
|
|
3510
|
-
|
|
3604
|
+
Column33({
|
|
3511
3605
|
name: "document_type",
|
|
3512
3606
|
type: "enum",
|
|
3513
3607
|
enum: DocumentType,
|
|
@@ -3515,175 +3609,175 @@ __decorateClass([
|
|
|
3515
3609
|
})
|
|
3516
3610
|
], FreelancerDeclaration.prototype, "documentType", 2);
|
|
3517
3611
|
__decorateClass([
|
|
3518
|
-
|
|
3612
|
+
Column33({ name: "front_document_url", type: "varchar", nullable: true })
|
|
3519
3613
|
], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
|
|
3520
3614
|
__decorateClass([
|
|
3521
|
-
|
|
3615
|
+
Column33({ name: "back_document_url", type: "varchar", nullable: true })
|
|
3522
3616
|
], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
|
|
3523
3617
|
__decorateClass([
|
|
3524
|
-
|
|
3618
|
+
Column33({ name: "declaration_accepted", type: "boolean", default: false })
|
|
3525
3619
|
], FreelancerDeclaration.prototype, "declarationAccepted", 2);
|
|
3526
3620
|
__decorateClass([
|
|
3527
|
-
|
|
3621
|
+
Column33({ name: "digital_signature_url", type: "varchar", nullable: true })
|
|
3528
3622
|
], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
|
|
3529
3623
|
FreelancerDeclaration = __decorateClass([
|
|
3530
|
-
|
|
3624
|
+
Entity32("freelancer_declaration")
|
|
3531
3625
|
], FreelancerDeclaration);
|
|
3532
3626
|
|
|
3533
3627
|
// src/entities/company-members-roles.entity.ts
|
|
3534
3628
|
import {
|
|
3535
|
-
Column as
|
|
3536
|
-
Entity as
|
|
3537
|
-
ManyToOne as
|
|
3538
|
-
JoinColumn as
|
|
3539
|
-
Index as
|
|
3629
|
+
Column as Column37,
|
|
3630
|
+
Entity as Entity36,
|
|
3631
|
+
ManyToOne as ManyToOne34,
|
|
3632
|
+
JoinColumn as JoinColumn34,
|
|
3633
|
+
Index as Index30
|
|
3540
3634
|
} from "typeorm";
|
|
3541
3635
|
|
|
3542
3636
|
// src/entities/company-role.entity.ts
|
|
3543
3637
|
import {
|
|
3544
|
-
Column as
|
|
3545
|
-
Entity as
|
|
3546
|
-
Index as
|
|
3547
|
-
JoinColumn as
|
|
3548
|
-
ManyToOne as
|
|
3638
|
+
Column as Column36,
|
|
3639
|
+
Entity as Entity35,
|
|
3640
|
+
Index as Index29,
|
|
3641
|
+
JoinColumn as JoinColumn33,
|
|
3642
|
+
ManyToOne as ManyToOne33,
|
|
3549
3643
|
OneToMany as OneToMany10
|
|
3550
3644
|
} from "typeorm";
|
|
3551
3645
|
|
|
3552
3646
|
// src/entities/company-role-permission.entity.ts
|
|
3553
3647
|
import {
|
|
3554
|
-
Column as
|
|
3555
|
-
Entity as
|
|
3556
|
-
ManyToOne as
|
|
3557
|
-
JoinColumn as
|
|
3558
|
-
Index as
|
|
3648
|
+
Column as Column35,
|
|
3649
|
+
Entity as Entity34,
|
|
3650
|
+
ManyToOne as ManyToOne32,
|
|
3651
|
+
JoinColumn as JoinColumn32,
|
|
3652
|
+
Index as Index28
|
|
3559
3653
|
} from "typeorm";
|
|
3560
3654
|
|
|
3561
3655
|
// src/entities/permission.entity.ts
|
|
3562
|
-
import { Column as
|
|
3656
|
+
import { Column as Column34, Entity as Entity33, Index as Index27 } from "typeorm";
|
|
3563
3657
|
var Permission = class extends BaseEntity {
|
|
3564
3658
|
};
|
|
3565
3659
|
__decorateClass([
|
|
3566
|
-
|
|
3660
|
+
Column34({ name: "name", type: "varchar", nullable: true })
|
|
3567
3661
|
], Permission.prototype, "name", 2);
|
|
3568
3662
|
__decorateClass([
|
|
3569
|
-
|
|
3570
|
-
|
|
3663
|
+
Column34({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
3664
|
+
Index27()
|
|
3571
3665
|
], Permission.prototype, "slug", 2);
|
|
3572
3666
|
__decorateClass([
|
|
3573
|
-
|
|
3667
|
+
Column34({ name: "description", type: "text", nullable: true })
|
|
3574
3668
|
], Permission.prototype, "description", 2);
|
|
3575
3669
|
__decorateClass([
|
|
3576
|
-
|
|
3670
|
+
Column34({ name: "is_active", type: "boolean", default: true })
|
|
3577
3671
|
], Permission.prototype, "isActive", 2);
|
|
3578
3672
|
Permission = __decorateClass([
|
|
3579
|
-
|
|
3673
|
+
Entity33("permissions")
|
|
3580
3674
|
], Permission);
|
|
3581
3675
|
|
|
3582
3676
|
// src/entities/company-role-permission.entity.ts
|
|
3583
3677
|
var CompanyRolePermission = class extends BaseEntity {
|
|
3584
3678
|
};
|
|
3585
3679
|
__decorateClass([
|
|
3586
|
-
|
|
3587
|
-
|
|
3680
|
+
Column35({ name: "company_role_id", type: "integer", nullable: true }),
|
|
3681
|
+
Index28()
|
|
3588
3682
|
], CompanyRolePermission.prototype, "companyRoleId", 2);
|
|
3589
3683
|
__decorateClass([
|
|
3590
|
-
|
|
3684
|
+
ManyToOne32(() => CompanyRole, (role) => role.rolePermissions, {
|
|
3591
3685
|
onDelete: "CASCADE"
|
|
3592
3686
|
}),
|
|
3593
|
-
|
|
3687
|
+
JoinColumn32({ name: "company_role_id" })
|
|
3594
3688
|
], CompanyRolePermission.prototype, "companyRole", 2);
|
|
3595
3689
|
__decorateClass([
|
|
3596
|
-
|
|
3597
|
-
|
|
3690
|
+
Column35({ name: "permission_id", type: "integer" }),
|
|
3691
|
+
Index28()
|
|
3598
3692
|
], CompanyRolePermission.prototype, "permissionId", 2);
|
|
3599
3693
|
__decorateClass([
|
|
3600
|
-
|
|
3601
|
-
|
|
3694
|
+
ManyToOne32(() => Permission, { onDelete: "CASCADE" }),
|
|
3695
|
+
JoinColumn32({ name: "permission_id" })
|
|
3602
3696
|
], CompanyRolePermission.prototype, "permission", 2);
|
|
3603
3697
|
__decorateClass([
|
|
3604
|
-
|
|
3698
|
+
Column35({ name: "assigned_by", type: "integer", nullable: true })
|
|
3605
3699
|
], CompanyRolePermission.prototype, "assignedBy", 2);
|
|
3606
3700
|
CompanyRolePermission = __decorateClass([
|
|
3607
|
-
|
|
3701
|
+
Entity34("company_role_permissions")
|
|
3608
3702
|
], CompanyRolePermission);
|
|
3609
3703
|
|
|
3610
3704
|
// src/entities/company-role.entity.ts
|
|
3611
3705
|
var CompanyRole = class extends BaseEntity {
|
|
3612
3706
|
};
|
|
3613
3707
|
__decorateClass([
|
|
3614
|
-
|
|
3615
|
-
|
|
3708
|
+
Column36({ name: "user_id", type: "integer", nullable: true }),
|
|
3709
|
+
Index29()
|
|
3616
3710
|
], CompanyRole.prototype, "userId", 2);
|
|
3617
3711
|
__decorateClass([
|
|
3618
|
-
|
|
3619
|
-
|
|
3712
|
+
ManyToOne33(() => User, (user) => user.otps),
|
|
3713
|
+
JoinColumn33({ name: "user_id" })
|
|
3620
3714
|
], CompanyRole.prototype, "user", 2);
|
|
3621
3715
|
__decorateClass([
|
|
3622
|
-
|
|
3716
|
+
Column36({ name: "name", type: "varchar" })
|
|
3623
3717
|
], CompanyRole.prototype, "name", 2);
|
|
3624
3718
|
__decorateClass([
|
|
3625
|
-
|
|
3626
|
-
|
|
3719
|
+
Column36({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
3720
|
+
Index29()
|
|
3627
3721
|
], CompanyRole.prototype, "slug", 2);
|
|
3628
3722
|
__decorateClass([
|
|
3629
|
-
|
|
3723
|
+
Column36({ name: "description", type: "text", nullable: true })
|
|
3630
3724
|
], CompanyRole.prototype, "description", 2);
|
|
3631
3725
|
__decorateClass([
|
|
3632
|
-
|
|
3726
|
+
Column36({ name: "is_active", type: "boolean", default: true })
|
|
3633
3727
|
], CompanyRole.prototype, "isActive", 2);
|
|
3634
3728
|
__decorateClass([
|
|
3635
3729
|
OneToMany10(() => CompanyRolePermission, (rp) => rp.companyRole)
|
|
3636
3730
|
], CompanyRole.prototype, "rolePermissions", 2);
|
|
3637
3731
|
CompanyRole = __decorateClass([
|
|
3638
|
-
|
|
3732
|
+
Entity35("company_roles")
|
|
3639
3733
|
], CompanyRole);
|
|
3640
3734
|
|
|
3641
3735
|
// src/entities/company-members-roles.entity.ts
|
|
3642
3736
|
var CompanyMemberRole = class extends BaseEntity {
|
|
3643
3737
|
};
|
|
3644
3738
|
__decorateClass([
|
|
3645
|
-
|
|
3646
|
-
|
|
3739
|
+
Column37({ name: "user_id", type: "integer", nullable: true }),
|
|
3740
|
+
Index30()
|
|
3647
3741
|
], CompanyMemberRole.prototype, "userId", 2);
|
|
3648
3742
|
__decorateClass([
|
|
3649
|
-
|
|
3650
|
-
|
|
3743
|
+
ManyToOne34(() => User),
|
|
3744
|
+
JoinColumn34({ name: "user_id" })
|
|
3651
3745
|
], CompanyMemberRole.prototype, "user", 2);
|
|
3652
3746
|
__decorateClass([
|
|
3653
|
-
|
|
3654
|
-
|
|
3747
|
+
ManyToOne34(() => CompanyRole),
|
|
3748
|
+
JoinColumn34({ name: "company_role_id" })
|
|
3655
3749
|
], CompanyMemberRole.prototype, "role", 2);
|
|
3656
3750
|
__decorateClass([
|
|
3657
|
-
|
|
3658
|
-
|
|
3751
|
+
Column37({ name: "company_role_id", type: "integer", nullable: true }),
|
|
3752
|
+
Index30()
|
|
3659
3753
|
], CompanyMemberRole.prototype, "companyRoleId", 2);
|
|
3660
3754
|
__decorateClass([
|
|
3661
|
-
|
|
3755
|
+
Column37({ name: "assigned_by", type: "integer", nullable: true })
|
|
3662
3756
|
], CompanyMemberRole.prototype, "assignedBy", 2);
|
|
3663
3757
|
CompanyMemberRole = __decorateClass([
|
|
3664
|
-
|
|
3758
|
+
Entity36("company_member_roles")
|
|
3665
3759
|
], CompanyMemberRole);
|
|
3666
3760
|
|
|
3667
3761
|
// src/entities/assessment-answer.entity.ts
|
|
3668
3762
|
import {
|
|
3669
|
-
Entity as
|
|
3670
|
-
Column as
|
|
3671
|
-
ManyToOne as
|
|
3672
|
-
Index as
|
|
3673
|
-
JoinColumn as
|
|
3763
|
+
Entity as Entity39,
|
|
3764
|
+
Column as Column40,
|
|
3765
|
+
ManyToOne as ManyToOne36,
|
|
3766
|
+
Index as Index32,
|
|
3767
|
+
JoinColumn as JoinColumn36
|
|
3674
3768
|
} from "typeorm";
|
|
3675
3769
|
|
|
3676
3770
|
// src/entities/assessment-question.entity.ts
|
|
3677
|
-
import { Entity as
|
|
3771
|
+
import { Entity as Entity38, Column as Column39, OneToMany as OneToMany12 } from "typeorm";
|
|
3678
3772
|
|
|
3679
3773
|
// src/entities/assessment-question-option.entity.ts
|
|
3680
3774
|
import {
|
|
3681
|
-
Entity as
|
|
3682
|
-
Column as
|
|
3775
|
+
Entity as Entity37,
|
|
3776
|
+
Column as Column38,
|
|
3683
3777
|
OneToMany as OneToMany11,
|
|
3684
|
-
ManyToOne as
|
|
3685
|
-
Index as
|
|
3686
|
-
JoinColumn as
|
|
3778
|
+
ManyToOne as ManyToOne35,
|
|
3779
|
+
Index as Index31,
|
|
3780
|
+
JoinColumn as JoinColumn35
|
|
3687
3781
|
} from "typeorm";
|
|
3688
3782
|
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
3689
3783
|
AnswerTypeEnum2["CORRECT"] = "CORRECT";
|
|
@@ -3694,21 +3788,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
|
3694
3788
|
var AssessmetQuestionOption = class extends BaseEntity {
|
|
3695
3789
|
};
|
|
3696
3790
|
__decorateClass([
|
|
3697
|
-
|
|
3698
|
-
|
|
3791
|
+
Column38({ name: "question_id", type: "integer", nullable: true }),
|
|
3792
|
+
Index31()
|
|
3699
3793
|
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
3700
3794
|
__decorateClass([
|
|
3701
|
-
|
|
3795
|
+
ManyToOne35(
|
|
3702
3796
|
() => AssessmetQuestion,
|
|
3703
3797
|
(assessmentQuestion) => assessmentQuestion.options
|
|
3704
3798
|
),
|
|
3705
|
-
|
|
3799
|
+
JoinColumn35({ name: "question_id" })
|
|
3706
3800
|
], AssessmetQuestionOption.prototype, "question", 2);
|
|
3707
3801
|
__decorateClass([
|
|
3708
|
-
|
|
3802
|
+
Column38({ name: "text", type: "varchar", nullable: true })
|
|
3709
3803
|
], AssessmetQuestionOption.prototype, "text", 2);
|
|
3710
3804
|
__decorateClass([
|
|
3711
|
-
|
|
3805
|
+
Column38({
|
|
3712
3806
|
name: "answer_type",
|
|
3713
3807
|
type: "enum",
|
|
3714
3808
|
enum: AnswerTypeEnum,
|
|
@@ -3716,13 +3810,13 @@ __decorateClass([
|
|
|
3716
3810
|
})
|
|
3717
3811
|
], AssessmetQuestionOption.prototype, "answerType", 2);
|
|
3718
3812
|
__decorateClass([
|
|
3719
|
-
|
|
3813
|
+
Column38({ name: "is_active", type: "boolean", default: true })
|
|
3720
3814
|
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
3721
3815
|
__decorateClass([
|
|
3722
3816
|
OneToMany11(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
|
|
3723
3817
|
], AssessmetQuestionOption.prototype, "selectedOptions", 2);
|
|
3724
3818
|
AssessmetQuestionOption = __decorateClass([
|
|
3725
|
-
|
|
3819
|
+
Entity37("assessment_question_options")
|
|
3726
3820
|
], AssessmetQuestionOption);
|
|
3727
3821
|
|
|
3728
3822
|
// src/entities/assessment-question.entity.ts
|
|
@@ -3734,10 +3828,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
|
|
|
3734
3828
|
var AssessmetQuestion = class extends BaseEntity {
|
|
3735
3829
|
};
|
|
3736
3830
|
__decorateClass([
|
|
3737
|
-
|
|
3831
|
+
Column39({ name: "text", type: "varchar", nullable: true })
|
|
3738
3832
|
], AssessmetQuestion.prototype, "text", 2);
|
|
3739
3833
|
__decorateClass([
|
|
3740
|
-
|
|
3834
|
+
Column39({
|
|
3741
3835
|
name: "question_for",
|
|
3742
3836
|
type: "enum",
|
|
3743
3837
|
enum: QuestionForEnum,
|
|
@@ -3745,7 +3839,7 @@ __decorateClass([
|
|
|
3745
3839
|
})
|
|
3746
3840
|
], AssessmetQuestion.prototype, "questionFor", 2);
|
|
3747
3841
|
__decorateClass([
|
|
3748
|
-
|
|
3842
|
+
Column39({ name: "is_active", type: "boolean", default: true })
|
|
3749
3843
|
], AssessmetQuestion.prototype, "isActive", 2);
|
|
3750
3844
|
__decorateClass([
|
|
3751
3845
|
OneToMany12(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
@@ -3754,7 +3848,7 @@ __decorateClass([
|
|
|
3754
3848
|
OneToMany12(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
|
|
3755
3849
|
], AssessmetQuestion.prototype, "answers", 2);
|
|
3756
3850
|
AssessmetQuestion = __decorateClass([
|
|
3757
|
-
|
|
3851
|
+
Entity38("assessment_questions")
|
|
3758
3852
|
], AssessmetQuestion);
|
|
3759
3853
|
|
|
3760
3854
|
// src/entities/assessment-answer.entity.ts
|
|
@@ -3767,102 +3861,102 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
|
|
|
3767
3861
|
var AssessmentAnswer = class extends BaseEntity {
|
|
3768
3862
|
};
|
|
3769
3863
|
__decorateClass([
|
|
3770
|
-
|
|
3771
|
-
|
|
3864
|
+
Column40({ name: "user_id", type: "integer" }),
|
|
3865
|
+
Index32()
|
|
3772
3866
|
], AssessmentAnswer.prototype, "userId", 2);
|
|
3773
3867
|
__decorateClass([
|
|
3774
|
-
|
|
3775
|
-
|
|
3868
|
+
ManyToOne36(() => User, (user) => user.assessmentAnswers),
|
|
3869
|
+
JoinColumn36({ name: "user_id" })
|
|
3776
3870
|
], AssessmentAnswer.prototype, "user", 2);
|
|
3777
3871
|
__decorateClass([
|
|
3778
|
-
|
|
3779
|
-
|
|
3872
|
+
Column40({ name: "question_id", type: "integer" }),
|
|
3873
|
+
Index32()
|
|
3780
3874
|
], AssessmentAnswer.prototype, "questionId", 2);
|
|
3781
3875
|
__decorateClass([
|
|
3782
|
-
|
|
3876
|
+
ManyToOne36(
|
|
3783
3877
|
() => AssessmetQuestion,
|
|
3784
3878
|
(assessmentQuestion) => assessmentQuestion.answers
|
|
3785
3879
|
),
|
|
3786
|
-
|
|
3880
|
+
JoinColumn36({ name: "question_id" })
|
|
3787
3881
|
], AssessmentAnswer.prototype, "question", 2);
|
|
3788
3882
|
__decorateClass([
|
|
3789
|
-
|
|
3790
|
-
|
|
3883
|
+
Column40({ name: "selected_option_id", type: "integer" }),
|
|
3884
|
+
Index32()
|
|
3791
3885
|
], AssessmentAnswer.prototype, "selectedOptionId", 2);
|
|
3792
3886
|
__decorateClass([
|
|
3793
|
-
|
|
3887
|
+
ManyToOne36(
|
|
3794
3888
|
() => AssessmetQuestionOption,
|
|
3795
3889
|
(assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
|
|
3796
3890
|
),
|
|
3797
|
-
|
|
3891
|
+
JoinColumn36({ name: "selected_option_id" })
|
|
3798
3892
|
], AssessmentAnswer.prototype, "option", 2);
|
|
3799
3893
|
__decorateClass([
|
|
3800
|
-
|
|
3894
|
+
Column40({
|
|
3801
3895
|
name: "selected_answer_type",
|
|
3802
3896
|
type: "enum",
|
|
3803
3897
|
enum: SelectedAnswerTypeEnum
|
|
3804
3898
|
})
|
|
3805
3899
|
], AssessmentAnswer.prototype, "selectedAnswerType", 2);
|
|
3806
3900
|
__decorateClass([
|
|
3807
|
-
|
|
3901
|
+
Column40({ name: "score", type: "float" })
|
|
3808
3902
|
], AssessmentAnswer.prototype, "score", 2);
|
|
3809
3903
|
AssessmentAnswer = __decorateClass([
|
|
3810
|
-
|
|
3904
|
+
Entity39("assessment_answers")
|
|
3811
3905
|
], AssessmentAnswer);
|
|
3812
3906
|
|
|
3813
3907
|
// src/entities/company-skill.entity.ts
|
|
3814
|
-
import { Entity as
|
|
3908
|
+
import { Entity as Entity40, Column as Column41, Index as Index33, ManyToOne as ManyToOne37, JoinColumn as JoinColumn37 } from "typeorm";
|
|
3815
3909
|
var CompanySkill = class extends BaseEntity {
|
|
3816
3910
|
};
|
|
3817
3911
|
// individual index to find core skills by user
|
|
3818
3912
|
__decorateClass([
|
|
3819
|
-
|
|
3820
|
-
|
|
3913
|
+
Column41({ name: "user_id", type: "integer", nullable: true }),
|
|
3914
|
+
Index33()
|
|
3821
3915
|
], CompanySkill.prototype, "userId", 2);
|
|
3822
3916
|
__decorateClass([
|
|
3823
|
-
|
|
3824
|
-
|
|
3917
|
+
ManyToOne37(() => User, (user) => user.freelancerSkills),
|
|
3918
|
+
JoinColumn37({ name: "user_id" })
|
|
3825
3919
|
], CompanySkill.prototype, "user", 2);
|
|
3826
3920
|
__decorateClass([
|
|
3827
|
-
|
|
3921
|
+
Column41({ name: "skill_name", type: "varchar", nullable: true })
|
|
3828
3922
|
], CompanySkill.prototype, "skillName", 2);
|
|
3829
3923
|
CompanySkill = __decorateClass([
|
|
3830
|
-
|
|
3924
|
+
Entity40("company_skills")
|
|
3831
3925
|
], CompanySkill);
|
|
3832
3926
|
|
|
3833
3927
|
// src/entities/admin-user-role.entity.ts
|
|
3834
|
-
import { Entity as
|
|
3928
|
+
import { Entity as Entity44, Column as Column45, ManyToOne as ManyToOne39, JoinColumn as JoinColumn39 } from "typeorm";
|
|
3835
3929
|
|
|
3836
3930
|
// src/entities/admin-role.entity.ts
|
|
3837
|
-
import { Entity as
|
|
3931
|
+
import { Entity as Entity43, Column as Column44, Index as Index36, OneToMany as OneToMany15 } from "typeorm";
|
|
3838
3932
|
|
|
3839
3933
|
// src/entities/admin-role-permission.entity.ts
|
|
3840
|
-
import { Entity as
|
|
3934
|
+
import { Entity as Entity42, Column as Column43, ManyToOne as ManyToOne38, JoinColumn as JoinColumn38 } from "typeorm";
|
|
3841
3935
|
|
|
3842
3936
|
// src/entities/admin-permission.entity.ts
|
|
3843
|
-
import { Entity as
|
|
3937
|
+
import { Entity as Entity41, Column as Column42, Index as Index34, OneToMany as OneToMany14 } from "typeorm";
|
|
3844
3938
|
var AdminPermission = class extends BaseEntity {
|
|
3845
3939
|
};
|
|
3846
3940
|
__decorateClass([
|
|
3847
|
-
|
|
3941
|
+
Column42({ name: "permission_name", type: "varchar", nullable: true })
|
|
3848
3942
|
], AdminPermission.prototype, "permissionName", 2);
|
|
3849
3943
|
__decorateClass([
|
|
3850
|
-
|
|
3944
|
+
Column42({
|
|
3851
3945
|
name: "permission_slug",
|
|
3852
3946
|
type: "varchar",
|
|
3853
3947
|
unique: true,
|
|
3854
3948
|
nullable: true
|
|
3855
3949
|
}),
|
|
3856
|
-
|
|
3950
|
+
Index34()
|
|
3857
3951
|
], AdminPermission.prototype, "permissionSlug", 2);
|
|
3858
3952
|
__decorateClass([
|
|
3859
|
-
|
|
3953
|
+
Column42({ name: "permission_description", type: "varchar", nullable: true })
|
|
3860
3954
|
], AdminPermission.prototype, "permissionDescription", 2);
|
|
3861
3955
|
__decorateClass([
|
|
3862
|
-
|
|
3956
|
+
Column42({ name: "module", type: "varchar", nullable: true })
|
|
3863
3957
|
], AdminPermission.prototype, "module", 2);
|
|
3864
3958
|
__decorateClass([
|
|
3865
|
-
|
|
3959
|
+
Column42({ name: "is_active", type: "boolean", default: true })
|
|
3866
3960
|
], AdminPermission.prototype, "isActive", 2);
|
|
3867
3961
|
__decorateClass([
|
|
3868
3962
|
OneToMany14(
|
|
@@ -3871,14 +3965,14 @@ __decorateClass([
|
|
|
3871
3965
|
)
|
|
3872
3966
|
], AdminPermission.prototype, "adminRole", 2);
|
|
3873
3967
|
AdminPermission = __decorateClass([
|
|
3874
|
-
|
|
3968
|
+
Entity41("admin_permissions")
|
|
3875
3969
|
], AdminPermission);
|
|
3876
3970
|
|
|
3877
3971
|
// src/entities/admin-role-permission.entity.ts
|
|
3878
3972
|
var AdminRolePermission = class extends BaseEntity {
|
|
3879
3973
|
};
|
|
3880
3974
|
__decorateClass([
|
|
3881
|
-
|
|
3975
|
+
Column43({
|
|
3882
3976
|
name: "role_id",
|
|
3883
3977
|
type: "int",
|
|
3884
3978
|
nullable: true,
|
|
@@ -3886,11 +3980,11 @@ __decorateClass([
|
|
|
3886
3980
|
})
|
|
3887
3981
|
], AdminRolePermission.prototype, "roleId", 2);
|
|
3888
3982
|
__decorateClass([
|
|
3889
|
-
|
|
3890
|
-
|
|
3983
|
+
ManyToOne38(() => AdminRole),
|
|
3984
|
+
JoinColumn38({ name: "role_id" })
|
|
3891
3985
|
], AdminRolePermission.prototype, "adminRole", 2);
|
|
3892
3986
|
__decorateClass([
|
|
3893
|
-
|
|
3987
|
+
Column43({
|
|
3894
3988
|
name: "permission_id",
|
|
3895
3989
|
type: "int",
|
|
3896
3990
|
nullable: true,
|
|
@@ -3898,28 +3992,28 @@ __decorateClass([
|
|
|
3898
3992
|
})
|
|
3899
3993
|
], AdminRolePermission.prototype, "permissionId", 2);
|
|
3900
3994
|
__decorateClass([
|
|
3901
|
-
|
|
3902
|
-
|
|
3995
|
+
ManyToOne38(() => AdminPermission),
|
|
3996
|
+
JoinColumn38({ name: "permission_id" })
|
|
3903
3997
|
], AdminRolePermission.prototype, "adminPermissions", 2);
|
|
3904
3998
|
AdminRolePermission = __decorateClass([
|
|
3905
|
-
|
|
3999
|
+
Entity42("admin_role_permissions")
|
|
3906
4000
|
], AdminRolePermission);
|
|
3907
4001
|
|
|
3908
4002
|
// src/entities/admin-role.entity.ts
|
|
3909
4003
|
var AdminRole = class extends BaseEntity {
|
|
3910
4004
|
};
|
|
3911
4005
|
__decorateClass([
|
|
3912
|
-
|
|
4006
|
+
Column44({ name: "role_name", type: "varchar", nullable: true })
|
|
3913
4007
|
], AdminRole.prototype, "roleName", 2);
|
|
3914
4008
|
__decorateClass([
|
|
3915
|
-
|
|
3916
|
-
|
|
4009
|
+
Column44({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
|
|
4010
|
+
Index36()
|
|
3917
4011
|
], AdminRole.prototype, "roleSlug", 2);
|
|
3918
4012
|
__decorateClass([
|
|
3919
|
-
|
|
4013
|
+
Column44({ name: "role_description", type: "varchar", nullable: true })
|
|
3920
4014
|
], AdminRole.prototype, "roleDescription", 2);
|
|
3921
4015
|
__decorateClass([
|
|
3922
|
-
|
|
4016
|
+
Column44({ name: "is_active", type: "boolean", default: true })
|
|
3923
4017
|
], AdminRole.prototype, "isActive", 2);
|
|
3924
4018
|
__decorateClass([
|
|
3925
4019
|
OneToMany15(
|
|
@@ -3931,14 +4025,14 @@ __decorateClass([
|
|
|
3931
4025
|
OneToMany15(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
|
|
3932
4026
|
], AdminRole.prototype, "userRoles", 2);
|
|
3933
4027
|
AdminRole = __decorateClass([
|
|
3934
|
-
|
|
4028
|
+
Entity43("admin_roles")
|
|
3935
4029
|
], AdminRole);
|
|
3936
4030
|
|
|
3937
4031
|
// src/entities/admin-user-role.entity.ts
|
|
3938
4032
|
var AdminUserRole = class extends BaseEntity {
|
|
3939
4033
|
};
|
|
3940
4034
|
__decorateClass([
|
|
3941
|
-
|
|
4035
|
+
Column45({
|
|
3942
4036
|
name: "user_id",
|
|
3943
4037
|
type: "int",
|
|
3944
4038
|
nullable: true,
|
|
@@ -3946,11 +4040,11 @@ __decorateClass([
|
|
|
3946
4040
|
})
|
|
3947
4041
|
], AdminUserRole.prototype, "userId", 2);
|
|
3948
4042
|
__decorateClass([
|
|
3949
|
-
|
|
3950
|
-
|
|
4043
|
+
ManyToOne39(() => User),
|
|
4044
|
+
JoinColumn39({ name: "user_id" })
|
|
3951
4045
|
], AdminUserRole.prototype, "user", 2);
|
|
3952
4046
|
__decorateClass([
|
|
3953
|
-
|
|
4047
|
+
Column45({
|
|
3954
4048
|
name: "role_id",
|
|
3955
4049
|
type: "int",
|
|
3956
4050
|
nullable: true,
|
|
@@ -3958,40 +4052,40 @@ __decorateClass([
|
|
|
3958
4052
|
})
|
|
3959
4053
|
], AdminUserRole.prototype, "roleId", 2);
|
|
3960
4054
|
__decorateClass([
|
|
3961
|
-
|
|
3962
|
-
|
|
4055
|
+
ManyToOne39(() => AdminRole),
|
|
4056
|
+
JoinColumn39({ name: "role_id" })
|
|
3963
4057
|
], AdminUserRole.prototype, "adminRole", 2);
|
|
3964
4058
|
AdminUserRole = __decorateClass([
|
|
3965
|
-
|
|
4059
|
+
Entity44("admin_user_roles")
|
|
3966
4060
|
], AdminUserRole);
|
|
3967
4061
|
|
|
3968
4062
|
// src/entities/freelancer-resume.entity.ts
|
|
3969
4063
|
import {
|
|
3970
|
-
Entity as
|
|
3971
|
-
Column as
|
|
3972
|
-
Index as
|
|
3973
|
-
ManyToOne as
|
|
3974
|
-
JoinColumn as
|
|
4064
|
+
Entity as Entity45,
|
|
4065
|
+
Column as Column46,
|
|
4066
|
+
Index as Index38,
|
|
4067
|
+
ManyToOne as ManyToOne40,
|
|
4068
|
+
JoinColumn as JoinColumn40
|
|
3975
4069
|
} from "typeorm";
|
|
3976
4070
|
var FreelancerResume = class extends BaseEntity {
|
|
3977
4071
|
};
|
|
3978
4072
|
// individual index to find profile by user
|
|
3979
4073
|
__decorateClass([
|
|
3980
|
-
|
|
3981
|
-
|
|
4074
|
+
Column46({ name: "user_id", type: "integer", nullable: true }),
|
|
4075
|
+
Index38()
|
|
3982
4076
|
], FreelancerResume.prototype, "userId", 2);
|
|
3983
4077
|
__decorateClass([
|
|
3984
|
-
|
|
3985
|
-
|
|
4078
|
+
ManyToOne40(() => User, (user) => user.freelancerProfile),
|
|
4079
|
+
JoinColumn40({ name: "user_id" })
|
|
3986
4080
|
], FreelancerResume.prototype, "user", 2);
|
|
3987
4081
|
__decorateClass([
|
|
3988
|
-
|
|
4082
|
+
Column46({ name: "resume_data", type: "jsonb", nullable: true })
|
|
3989
4083
|
], FreelancerResume.prototype, "resumeData", 2);
|
|
3990
4084
|
__decorateClass([
|
|
3991
|
-
|
|
4085
|
+
Column46({ name: "processed_resume_data", type: "jsonb", nullable: true })
|
|
3992
4086
|
], FreelancerResume.prototype, "processedResumeData", 2);
|
|
3993
4087
|
FreelancerResume = __decorateClass([
|
|
3994
|
-
|
|
4088
|
+
Entity45("freelancer_resumes")
|
|
3995
4089
|
], FreelancerResume);
|
|
3996
4090
|
|
|
3997
4091
|
// src/entities/user.entity.ts
|
|
@@ -4019,51 +4113,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
4019
4113
|
var User = class extends BaseEntity {
|
|
4020
4114
|
};
|
|
4021
4115
|
__decorateClass([
|
|
4022
|
-
|
|
4116
|
+
Column47({ name: "unique_id", type: "varchar", unique: true })
|
|
4023
4117
|
], User.prototype, "uniqueId", 2);
|
|
4024
4118
|
__decorateClass([
|
|
4025
|
-
|
|
4026
|
-
|
|
4119
|
+
Column47({ name: "parent_id", type: "integer", nullable: true }),
|
|
4120
|
+
Index39()
|
|
4027
4121
|
], User.prototype, "parentId", 2);
|
|
4028
4122
|
__decorateClass([
|
|
4029
|
-
|
|
4030
|
-
|
|
4123
|
+
ManyToOne41(() => User, (user) => user.children, { nullable: true }),
|
|
4124
|
+
JoinColumn41({ name: "parent_id" })
|
|
4031
4125
|
], User.prototype, "parent", 2);
|
|
4032
4126
|
__decorateClass([
|
|
4033
4127
|
OneToMany16(() => User, (user) => user.parent)
|
|
4034
4128
|
], User.prototype, "children", 2);
|
|
4035
4129
|
__decorateClass([
|
|
4036
|
-
|
|
4130
|
+
Column47({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
4037
4131
|
], User.prototype, "username", 2);
|
|
4038
4132
|
__decorateClass([
|
|
4039
|
-
|
|
4133
|
+
Column47({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
4040
4134
|
], User.prototype, "firstName", 2);
|
|
4041
4135
|
__decorateClass([
|
|
4042
|
-
|
|
4136
|
+
Column47({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
4043
4137
|
], User.prototype, "lastName", 2);
|
|
4044
4138
|
__decorateClass([
|
|
4045
|
-
|
|
4139
|
+
Column47({ name: "date_of_birth", type: "date", nullable: true })
|
|
4046
4140
|
], User.prototype, "dateOfBirth", 2);
|
|
4047
4141
|
__decorateClass([
|
|
4048
|
-
|
|
4142
|
+
Column47({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
4049
4143
|
], User.prototype, "gender", 2);
|
|
4050
4144
|
__decorateClass([
|
|
4051
|
-
|
|
4145
|
+
Column47({ name: "profile_picture_url", type: "text", nullable: true })
|
|
4052
4146
|
], User.prototype, "profilePictureUrl", 2);
|
|
4053
4147
|
__decorateClass([
|
|
4054
|
-
|
|
4148
|
+
Column47({ name: "email", type: "varchar", unique: true })
|
|
4055
4149
|
], User.prototype, "email", 2);
|
|
4056
4150
|
__decorateClass([
|
|
4057
|
-
|
|
4151
|
+
Column47({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4058
4152
|
], User.prototype, "mobileCode", 2);
|
|
4059
4153
|
__decorateClass([
|
|
4060
|
-
|
|
4154
|
+
Column47({ name: "mobile", type: "varchar", nullable: true })
|
|
4061
4155
|
], User.prototype, "mobile", 2);
|
|
4062
4156
|
__decorateClass([
|
|
4063
|
-
|
|
4157
|
+
Column47({ name: "password", type: "varchar", nullable: true })
|
|
4064
4158
|
], User.prototype, "password", 2);
|
|
4065
4159
|
__decorateClass([
|
|
4066
|
-
|
|
4160
|
+
Column47({
|
|
4067
4161
|
name: "account_type",
|
|
4068
4162
|
type: "enum",
|
|
4069
4163
|
enum: AccountType,
|
|
@@ -4071,7 +4165,7 @@ __decorateClass([
|
|
|
4071
4165
|
})
|
|
4072
4166
|
], User.prototype, "accountType", 2);
|
|
4073
4167
|
__decorateClass([
|
|
4074
|
-
|
|
4168
|
+
Column47({
|
|
4075
4169
|
name: "account_status",
|
|
4076
4170
|
type: "enum",
|
|
4077
4171
|
enum: AccountStatus,
|
|
@@ -4079,42 +4173,42 @@ __decorateClass([
|
|
|
4079
4173
|
})
|
|
4080
4174
|
], User.prototype, "accountStatus", 2);
|
|
4081
4175
|
__decorateClass([
|
|
4082
|
-
|
|
4176
|
+
Column47({ name: "is_email_verified", type: "boolean", default: false })
|
|
4083
4177
|
], User.prototype, "isEmailVerified", 2);
|
|
4084
4178
|
__decorateClass([
|
|
4085
|
-
|
|
4179
|
+
Column47({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
4086
4180
|
], User.prototype, "isMobileVerified", 2);
|
|
4087
4181
|
__decorateClass([
|
|
4088
|
-
|
|
4182
|
+
Column47({ name: "is_social", type: "boolean", default: false })
|
|
4089
4183
|
], User.prototype, "isSocial", 2);
|
|
4090
4184
|
__decorateClass([
|
|
4091
|
-
|
|
4185
|
+
Column47({
|
|
4092
4186
|
name: "last_login_at",
|
|
4093
4187
|
type: "timestamp with time zone",
|
|
4094
4188
|
nullable: true
|
|
4095
4189
|
})
|
|
4096
4190
|
], User.prototype, "lastLoginAt", 2);
|
|
4097
4191
|
__decorateClass([
|
|
4098
|
-
|
|
4192
|
+
Column47({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
4099
4193
|
], User.prototype, "lastLoginIp", 2);
|
|
4100
4194
|
__decorateClass([
|
|
4101
|
-
|
|
4195
|
+
Column47({ name: "reset_token", type: "varchar", nullable: true })
|
|
4102
4196
|
], User.prototype, "resetToken", 2);
|
|
4103
4197
|
__decorateClass([
|
|
4104
|
-
|
|
4198
|
+
Column47({
|
|
4105
4199
|
name: "reset_token_expire_at",
|
|
4106
4200
|
type: "timestamp with time zone",
|
|
4107
4201
|
nullable: true
|
|
4108
4202
|
})
|
|
4109
4203
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
4110
4204
|
__decorateClass([
|
|
4111
|
-
|
|
4205
|
+
Column47({ name: "set_password_token", type: "varchar", nullable: true })
|
|
4112
4206
|
], User.prototype, "setPasswordToken", 2);
|
|
4113
4207
|
__decorateClass([
|
|
4114
4208
|
OneToMany16(() => RefreshToken, (token) => token.user)
|
|
4115
4209
|
], User.prototype, "refreshTokens", 2);
|
|
4116
4210
|
__decorateClass([
|
|
4117
|
-
|
|
4211
|
+
Column47({
|
|
4118
4212
|
name: "provider",
|
|
4119
4213
|
type: "enum",
|
|
4120
4214
|
enum: Provider,
|
|
@@ -4123,19 +4217,19 @@ __decorateClass([
|
|
|
4123
4217
|
})
|
|
4124
4218
|
], User.prototype, "provider", 2);
|
|
4125
4219
|
__decorateClass([
|
|
4126
|
-
|
|
4220
|
+
Column47({ name: "provider_token", type: "varchar", nullable: true })
|
|
4127
4221
|
], User.prototype, "providerToken", 2);
|
|
4128
4222
|
__decorateClass([
|
|
4129
|
-
|
|
4223
|
+
Column47({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
4130
4224
|
], User.prototype, "linkedInId", 2);
|
|
4131
4225
|
__decorateClass([
|
|
4132
|
-
|
|
4226
|
+
Column47({ name: "google_id", type: "varchar", nullable: true })
|
|
4133
4227
|
], User.prototype, "googleId", 2);
|
|
4134
4228
|
__decorateClass([
|
|
4135
|
-
|
|
4229
|
+
Column47({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
4136
4230
|
], User.prototype, "gitLabsId", 2);
|
|
4137
4231
|
__decorateClass([
|
|
4138
|
-
|
|
4232
|
+
Column47({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
4139
4233
|
], User.prototype, "onBoardedBy", 2);
|
|
4140
4234
|
__decorateClass([
|
|
4141
4235
|
OneToMany16(() => Otp, (otp) => otp.user)
|
|
@@ -4150,7 +4244,10 @@ __decorateClass([
|
|
|
4150
4244
|
OneToMany16(() => CompanySkill, (companySkill) => companySkill.user)
|
|
4151
4245
|
], User.prototype, "companySkills", 2);
|
|
4152
4246
|
__decorateClass([
|
|
4153
|
-
OneToMany16(
|
|
4247
|
+
OneToMany16(
|
|
4248
|
+
() => CompanyMemberRole,
|
|
4249
|
+
(companyMemberRole) => companyMemberRole.user
|
|
4250
|
+
)
|
|
4154
4251
|
], User.prototype, "companyMemberRoles", 2);
|
|
4155
4252
|
__decorateClass([
|
|
4156
4253
|
OneToMany16(() => AiInterview, (aiInterview) => aiInterview.interviwer)
|
|
@@ -4159,40 +4256,67 @@ __decorateClass([
|
|
|
4159
4256
|
OneToMany16(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
4160
4257
|
], User.prototype, "clientF2FInterviews", 2);
|
|
4161
4258
|
__decorateClass([
|
|
4162
|
-
OneToOne2(
|
|
4259
|
+
OneToOne2(
|
|
4260
|
+
() => FreelancerProfile,
|
|
4261
|
+
(freelancerProfile) => freelancerProfile.user
|
|
4262
|
+
)
|
|
4163
4263
|
], User.prototype, "freelancerProfile", 2);
|
|
4164
4264
|
__decorateClass([
|
|
4165
4265
|
OneToOne2(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
4166
4266
|
], User.prototype, "freelancerResume", 2);
|
|
4167
4267
|
__decorateClass([
|
|
4168
|
-
OneToMany16(
|
|
4268
|
+
OneToMany16(
|
|
4269
|
+
() => FreelancerAssessment,
|
|
4270
|
+
(freelancerAssessment) => freelancerAssessment.user
|
|
4271
|
+
)
|
|
4169
4272
|
], User.prototype, "assessments", 2);
|
|
4170
4273
|
__decorateClass([
|
|
4171
|
-
OneToMany16(
|
|
4274
|
+
OneToMany16(
|
|
4275
|
+
() => AssessmentAnswer,
|
|
4276
|
+
(assessmentAnswer) => assessmentAnswer.user
|
|
4277
|
+
)
|
|
4172
4278
|
], User.prototype, "assessmentAnswers", 2);
|
|
4173
4279
|
__decorateClass([
|
|
4174
4280
|
OneToMany16(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
4175
4281
|
], User.prototype, "freelancerSkills", 2);
|
|
4176
4282
|
__decorateClass([
|
|
4177
|
-
OneToMany16(
|
|
4283
|
+
OneToMany16(
|
|
4284
|
+
() => FreelancerExperience,
|
|
4285
|
+
(freelancerExperience) => freelancerExperience.user
|
|
4286
|
+
)
|
|
4178
4287
|
], User.prototype, "freelancerExperience", 2);
|
|
4179
4288
|
__decorateClass([
|
|
4180
|
-
OneToMany16(
|
|
4289
|
+
OneToMany16(
|
|
4290
|
+
() => FreelancerEducation,
|
|
4291
|
+
(freelancerEducation) => freelancerEducation.user
|
|
4292
|
+
)
|
|
4181
4293
|
], User.prototype, "freelancerEducation", 2);
|
|
4182
4294
|
__decorateClass([
|
|
4183
|
-
OneToMany16(
|
|
4295
|
+
OneToMany16(
|
|
4296
|
+
() => FreelancerProject,
|
|
4297
|
+
(freelancerProject) => freelancerProject.user
|
|
4298
|
+
)
|
|
4184
4299
|
], User.prototype, "freelancerProject", 2);
|
|
4185
4300
|
__decorateClass([
|
|
4186
|
-
OneToMany16(
|
|
4301
|
+
OneToMany16(
|
|
4302
|
+
() => FreelancerCaseStudy,
|
|
4303
|
+
(freelancerCaseStudy) => freelancerCaseStudy.user
|
|
4304
|
+
)
|
|
4187
4305
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
4188
4306
|
__decorateClass([
|
|
4189
4307
|
OneToMany16(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
4190
4308
|
], User.prototype, "freelancerTool", 2);
|
|
4191
4309
|
__decorateClass([
|
|
4192
|
-
OneToMany16(
|
|
4310
|
+
OneToMany16(
|
|
4311
|
+
() => FreelancerFramework,
|
|
4312
|
+
(freelancerFramework) => freelancerFramework.user
|
|
4313
|
+
)
|
|
4193
4314
|
], User.prototype, "freelancerFramework", 2);
|
|
4194
4315
|
__decorateClass([
|
|
4195
|
-
OneToOne2(
|
|
4316
|
+
OneToOne2(
|
|
4317
|
+
() => FreelancerDeclaration,
|
|
4318
|
+
(freelancerDeclaration) => freelancerDeclaration.user
|
|
4319
|
+
)
|
|
4196
4320
|
], User.prototype, "freelancerDeclaration", 2);
|
|
4197
4321
|
__decorateClass([
|
|
4198
4322
|
OneToMany16(() => AiInterview, (aiInterview) => aiInterview.candidate)
|
|
@@ -4201,7 +4325,10 @@ __decorateClass([
|
|
|
4201
4325
|
OneToMany16(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
|
|
4202
4326
|
], User.prototype, "freelancerF2FInterviews", 2);
|
|
4203
4327
|
__decorateClass([
|
|
4204
|
-
OneToMany16(
|
|
4328
|
+
OneToMany16(
|
|
4329
|
+
() => F2fInterviewRescheduleRequest,
|
|
4330
|
+
(f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
|
|
4331
|
+
)
|
|
4205
4332
|
], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
|
|
4206
4333
|
__decorateClass([
|
|
4207
4334
|
OneToMany16(() => Job, (job) => job.user)
|
|
@@ -4216,7 +4343,10 @@ __decorateClass([
|
|
|
4216
4343
|
OneToMany16(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
4217
4344
|
], User.prototype, "bankDetail", 2);
|
|
4218
4345
|
__decorateClass([
|
|
4219
|
-
OneToMany16(
|
|
4346
|
+
OneToMany16(
|
|
4347
|
+
() => SystemPreference,
|
|
4348
|
+
(systemPreference) => systemPreference.user
|
|
4349
|
+
)
|
|
4220
4350
|
], User.prototype, "systemPreference", 2);
|
|
4221
4351
|
__decorateClass([
|
|
4222
4352
|
OneToMany16(() => Rating, (rating) => rating.reviewer)
|
|
@@ -4227,8 +4357,14 @@ __decorateClass([
|
|
|
4227
4357
|
__decorateClass([
|
|
4228
4358
|
OneToMany16(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
4229
4359
|
], User.prototype, "adminUserRoles", 2);
|
|
4360
|
+
__decorateClass([
|
|
4361
|
+
OneToMany16(() => Contract, (contract) => contract.client)
|
|
4362
|
+
], User.prototype, "clientContracts", 2);
|
|
4363
|
+
__decorateClass([
|
|
4364
|
+
OneToMany16(() => Contract, (contract) => contract.freelancer)
|
|
4365
|
+
], User.prototype, "freelancerContracts", 2);
|
|
4230
4366
|
User = __decorateClass([
|
|
4231
|
-
|
|
4367
|
+
Entity46("users")
|
|
4232
4368
|
], User);
|
|
4233
4369
|
|
|
4234
4370
|
// src/entities/rating.entity.ts
|
|
@@ -4240,36 +4376,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
4240
4376
|
var Rating = class extends BaseEntity {
|
|
4241
4377
|
};
|
|
4242
4378
|
__decorateClass([
|
|
4243
|
-
|
|
4244
|
-
|
|
4379
|
+
Column48({ name: "reviewer_id", type: "integer" }),
|
|
4380
|
+
Index40()
|
|
4245
4381
|
], Rating.prototype, "reviewer_id", 2);
|
|
4246
4382
|
__decorateClass([
|
|
4247
|
-
|
|
4248
|
-
|
|
4383
|
+
ManyToOne42(() => User, { onDelete: "CASCADE" }),
|
|
4384
|
+
JoinColumn42({ name: "reviewer_id" })
|
|
4249
4385
|
], Rating.prototype, "reviewer", 2);
|
|
4250
4386
|
__decorateClass([
|
|
4251
|
-
|
|
4252
|
-
|
|
4387
|
+
Column48({ name: "reviewee_id", type: "integer" }),
|
|
4388
|
+
Index40()
|
|
4253
4389
|
], Rating.prototype, "reviewee_id", 2);
|
|
4254
4390
|
__decorateClass([
|
|
4255
|
-
|
|
4256
|
-
|
|
4391
|
+
ManyToOne42(() => User, { onDelete: "CASCADE" }),
|
|
4392
|
+
JoinColumn42({ name: "reviewee_id" })
|
|
4257
4393
|
], Rating.prototype, "reviewee", 2);
|
|
4258
4394
|
__decorateClass([
|
|
4259
|
-
|
|
4395
|
+
Column48({
|
|
4260
4396
|
type: "enum",
|
|
4261
4397
|
enum: RatingTypeEnum,
|
|
4262
4398
|
nullable: true
|
|
4263
4399
|
})
|
|
4264
4400
|
], Rating.prototype, "ratingType", 2);
|
|
4265
4401
|
__decorateClass([
|
|
4266
|
-
|
|
4402
|
+
Column48({ type: "integer", nullable: true })
|
|
4267
4403
|
], Rating.prototype, "rating", 2);
|
|
4268
4404
|
__decorateClass([
|
|
4269
|
-
|
|
4405
|
+
Column48({ type: "text", nullable: true })
|
|
4270
4406
|
], Rating.prototype, "review", 2);
|
|
4271
4407
|
Rating = __decorateClass([
|
|
4272
|
-
|
|
4408
|
+
Entity47("ratings")
|
|
4273
4409
|
], Rating);
|
|
4274
4410
|
|
|
4275
4411
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -5777,11 +5913,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
5777
5913
|
};
|
|
5778
5914
|
|
|
5779
5915
|
// src/entities/sequence-generator.entity.ts
|
|
5780
|
-
import { Entity as
|
|
5916
|
+
import { Entity as Entity48, Column as Column49 } from "typeorm";
|
|
5781
5917
|
var SequenceGenerator = class extends BaseEntity {
|
|
5782
5918
|
};
|
|
5783
5919
|
__decorateClass([
|
|
5784
|
-
|
|
5920
|
+
Column49({
|
|
5785
5921
|
name: "module",
|
|
5786
5922
|
type: "varchar",
|
|
5787
5923
|
length: 50,
|
|
@@ -5790,7 +5926,7 @@ __decorateClass([
|
|
|
5790
5926
|
})
|
|
5791
5927
|
], SequenceGenerator.prototype, "module", 2);
|
|
5792
5928
|
__decorateClass([
|
|
5793
|
-
|
|
5929
|
+
Column49({
|
|
5794
5930
|
name: "prefix",
|
|
5795
5931
|
type: "varchar",
|
|
5796
5932
|
length: 10,
|
|
@@ -5799,7 +5935,7 @@ __decorateClass([
|
|
|
5799
5935
|
})
|
|
5800
5936
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
5801
5937
|
__decorateClass([
|
|
5802
|
-
|
|
5938
|
+
Column49({
|
|
5803
5939
|
name: "last_sequence",
|
|
5804
5940
|
type: "int",
|
|
5805
5941
|
nullable: false,
|
|
@@ -5807,7 +5943,7 @@ __decorateClass([
|
|
|
5807
5943
|
})
|
|
5808
5944
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
5809
5945
|
__decorateClass([
|
|
5810
|
-
|
|
5946
|
+
Column49({
|
|
5811
5947
|
name: "year",
|
|
5812
5948
|
type: "int",
|
|
5813
5949
|
nullable: true,
|
|
@@ -5815,11 +5951,11 @@ __decorateClass([
|
|
|
5815
5951
|
})
|
|
5816
5952
|
], SequenceGenerator.prototype, "year", 2);
|
|
5817
5953
|
SequenceGenerator = __decorateClass([
|
|
5818
|
-
|
|
5954
|
+
Entity48("sequence_generators")
|
|
5819
5955
|
], SequenceGenerator);
|
|
5820
5956
|
|
|
5821
5957
|
// src/entities/question.entity.ts
|
|
5822
|
-
import { Entity as
|
|
5958
|
+
import { Entity as Entity49, Column as Column50 } from "typeorm";
|
|
5823
5959
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
5824
5960
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
5825
5961
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -5828,16 +5964,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
5828
5964
|
var Question = class extends BaseEntity {
|
|
5829
5965
|
};
|
|
5830
5966
|
__decorateClass([
|
|
5831
|
-
|
|
5967
|
+
Column50({ name: "question", type: "varchar" })
|
|
5832
5968
|
], Question.prototype, "question", 2);
|
|
5833
5969
|
__decorateClass([
|
|
5834
|
-
|
|
5970
|
+
Column50({ name: "hint", type: "varchar", nullable: true })
|
|
5835
5971
|
], Question.prototype, "hint", 2);
|
|
5836
5972
|
__decorateClass([
|
|
5837
|
-
|
|
5973
|
+
Column50({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5838
5974
|
], Question.prototype, "slug", 2);
|
|
5839
5975
|
__decorateClass([
|
|
5840
|
-
|
|
5976
|
+
Column50({
|
|
5841
5977
|
name: "question_for",
|
|
5842
5978
|
type: "enum",
|
|
5843
5979
|
enum: QuestionFor,
|
|
@@ -5845,119 +5981,119 @@ __decorateClass([
|
|
|
5845
5981
|
})
|
|
5846
5982
|
], Question.prototype, "questionFor", 2);
|
|
5847
5983
|
__decorateClass([
|
|
5848
|
-
|
|
5984
|
+
Column50({ name: "type", type: "varchar", nullable: true })
|
|
5849
5985
|
], Question.prototype, "type", 2);
|
|
5850
5986
|
__decorateClass([
|
|
5851
|
-
|
|
5987
|
+
Column50({ name: "options", type: "jsonb", nullable: true })
|
|
5852
5988
|
], Question.prototype, "options", 2);
|
|
5853
5989
|
__decorateClass([
|
|
5854
|
-
|
|
5990
|
+
Column50({ name: "is_active", type: "boolean", default: false })
|
|
5855
5991
|
], Question.prototype, "isActive", 2);
|
|
5856
5992
|
Question = __decorateClass([
|
|
5857
|
-
|
|
5993
|
+
Entity49("questions")
|
|
5858
5994
|
], Question);
|
|
5859
5995
|
|
|
5860
5996
|
// src/entities/skill.entity.ts
|
|
5861
|
-
import { Entity as
|
|
5997
|
+
import { Entity as Entity50, Column as Column51 } from "typeorm";
|
|
5862
5998
|
var Skill = class extends BaseEntity {
|
|
5863
5999
|
};
|
|
5864
6000
|
__decorateClass([
|
|
5865
|
-
|
|
6001
|
+
Column51({ name: "name", type: "varchar", nullable: true })
|
|
5866
6002
|
], Skill.prototype, "name", 2);
|
|
5867
6003
|
__decorateClass([
|
|
5868
|
-
|
|
6004
|
+
Column51({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5869
6005
|
], Skill.prototype, "slug", 2);
|
|
5870
6006
|
__decorateClass([
|
|
5871
|
-
|
|
6007
|
+
Column51({ name: "is_active", type: "boolean", default: false })
|
|
5872
6008
|
], Skill.prototype, "isActive", 2);
|
|
5873
6009
|
Skill = __decorateClass([
|
|
5874
|
-
|
|
6010
|
+
Entity50("skills")
|
|
5875
6011
|
], Skill);
|
|
5876
6012
|
|
|
5877
6013
|
// src/entities/job-role.entity.ts
|
|
5878
|
-
import { Entity as
|
|
6014
|
+
import { Entity as Entity51, Column as Column52 } from "typeorm";
|
|
5879
6015
|
var JobRoles = class extends BaseEntity {
|
|
5880
6016
|
};
|
|
5881
6017
|
__decorateClass([
|
|
5882
|
-
|
|
6018
|
+
Column52({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5883
6019
|
], JobRoles.prototype, "slug", 2);
|
|
5884
6020
|
__decorateClass([
|
|
5885
|
-
|
|
6021
|
+
Column52({ name: "name", type: "varchar", nullable: true })
|
|
5886
6022
|
], JobRoles.prototype, "name", 2);
|
|
5887
6023
|
__decorateClass([
|
|
5888
|
-
|
|
6024
|
+
Column52({ name: "is_active", type: "boolean", default: true })
|
|
5889
6025
|
], JobRoles.prototype, "isActive", 2);
|
|
5890
6026
|
JobRoles = __decorateClass([
|
|
5891
|
-
|
|
6027
|
+
Entity51("job_roles")
|
|
5892
6028
|
], JobRoles);
|
|
5893
6029
|
|
|
5894
6030
|
// src/entities/plan.entity.ts
|
|
5895
|
-
import { Entity as
|
|
6031
|
+
import { Entity as Entity53, Column as Column54, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
|
|
5896
6032
|
|
|
5897
6033
|
// src/entities/feature.entity.ts
|
|
5898
|
-
import { Entity as
|
|
6034
|
+
import { Entity as Entity52, Column as Column53, ManyToMany as ManyToMany2 } from "typeorm";
|
|
5899
6035
|
var Feature = class extends BaseEntity {
|
|
5900
6036
|
};
|
|
5901
6037
|
__decorateClass([
|
|
5902
|
-
|
|
6038
|
+
Column53({ name: "name", type: "varchar", unique: true })
|
|
5903
6039
|
], Feature.prototype, "name", 2);
|
|
5904
6040
|
__decorateClass([
|
|
5905
6041
|
ManyToMany2(() => Plan, (plan) => plan.features)
|
|
5906
6042
|
], Feature.prototype, "plans", 2);
|
|
5907
6043
|
Feature = __decorateClass([
|
|
5908
|
-
|
|
6044
|
+
Entity52("features")
|
|
5909
6045
|
], Feature);
|
|
5910
6046
|
|
|
5911
6047
|
// src/entities/plan.entity.ts
|
|
5912
6048
|
var Plan = class extends BaseEntity {
|
|
5913
6049
|
};
|
|
5914
6050
|
__decorateClass([
|
|
5915
|
-
|
|
6051
|
+
Column54({ name: "name", type: "varchar", unique: true })
|
|
5916
6052
|
], Plan.prototype, "name", 2);
|
|
5917
6053
|
__decorateClass([
|
|
5918
|
-
|
|
6054
|
+
Column54({ name: "description", type: "varchar", nullable: true })
|
|
5919
6055
|
], Plan.prototype, "description", 2);
|
|
5920
6056
|
__decorateClass([
|
|
5921
|
-
|
|
6057
|
+
Column54({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
5922
6058
|
], Plan.prototype, "price", 2);
|
|
5923
6059
|
__decorateClass([
|
|
5924
|
-
|
|
6060
|
+
Column54({ name: "billing_period", type: "varchar" })
|
|
5925
6061
|
], Plan.prototype, "billingPeriod", 2);
|
|
5926
6062
|
__decorateClass([
|
|
5927
|
-
|
|
6063
|
+
Column54({ name: "is_current", type: "boolean", default: false })
|
|
5928
6064
|
], Plan.prototype, "isCurrent", 2);
|
|
5929
6065
|
__decorateClass([
|
|
5930
6066
|
ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
5931
6067
|
JoinTable()
|
|
5932
6068
|
], Plan.prototype, "features", 2);
|
|
5933
6069
|
Plan = __decorateClass([
|
|
5934
|
-
|
|
6070
|
+
Entity53("plans")
|
|
5935
6071
|
], Plan);
|
|
5936
6072
|
|
|
5937
6073
|
// src/entities/cms.entity.ts
|
|
5938
|
-
import { Entity as
|
|
6074
|
+
import { Entity as Entity54, Column as Column55 } from "typeorm";
|
|
5939
6075
|
var Cms = class extends BaseEntity {
|
|
5940
6076
|
};
|
|
5941
6077
|
__decorateClass([
|
|
5942
|
-
|
|
6078
|
+
Column55({ name: "title", type: "varchar", nullable: true })
|
|
5943
6079
|
], Cms.prototype, "title", 2);
|
|
5944
6080
|
__decorateClass([
|
|
5945
|
-
|
|
6081
|
+
Column55({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5946
6082
|
], Cms.prototype, "slug", 2);
|
|
5947
6083
|
__decorateClass([
|
|
5948
|
-
|
|
6084
|
+
Column55({ name: "content", type: "varchar", nullable: true })
|
|
5949
6085
|
], Cms.prototype, "content", 2);
|
|
5950
6086
|
__decorateClass([
|
|
5951
|
-
|
|
6087
|
+
Column55({ name: "is_active", type: "boolean", default: true })
|
|
5952
6088
|
], Cms.prototype, "isActive", 2);
|
|
5953
6089
|
Cms = __decorateClass([
|
|
5954
|
-
|
|
6090
|
+
Entity54("cms")
|
|
5955
6091
|
], Cms);
|
|
5956
6092
|
|
|
5957
6093
|
// src/entities/lead.entity.ts
|
|
5958
6094
|
import {
|
|
5959
|
-
Entity as
|
|
5960
|
-
Column as
|
|
6095
|
+
Entity as Entity55,
|
|
6096
|
+
Column as Column56
|
|
5961
6097
|
} from "typeorm";
|
|
5962
6098
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
5963
6099
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
@@ -5967,22 +6103,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
5967
6103
|
var Lead = class extends BaseEntity {
|
|
5968
6104
|
};
|
|
5969
6105
|
__decorateClass([
|
|
5970
|
-
|
|
6106
|
+
Column56({ name: "name", type: "varchar", nullable: true })
|
|
5971
6107
|
], Lead.prototype, "name", 2);
|
|
5972
6108
|
__decorateClass([
|
|
5973
|
-
|
|
6109
|
+
Column56({ name: "mobile_code", type: "varchar", nullable: true })
|
|
5974
6110
|
], Lead.prototype, "mobileCode", 2);
|
|
5975
6111
|
__decorateClass([
|
|
5976
|
-
|
|
6112
|
+
Column56({ name: "mobile", type: "varchar", nullable: true })
|
|
5977
6113
|
], Lead.prototype, "mobile", 2);
|
|
5978
6114
|
__decorateClass([
|
|
5979
|
-
|
|
6115
|
+
Column56({ name: "email", type: "varchar", nullable: true })
|
|
5980
6116
|
], Lead.prototype, "email", 2);
|
|
5981
6117
|
__decorateClass([
|
|
5982
|
-
|
|
6118
|
+
Column56({ name: "description", type: "varchar", nullable: true })
|
|
5983
6119
|
], Lead.prototype, "description", 2);
|
|
5984
6120
|
__decorateClass([
|
|
5985
|
-
|
|
6121
|
+
Column56({
|
|
5986
6122
|
name: "category",
|
|
5987
6123
|
type: "enum",
|
|
5988
6124
|
enum: CategoryEmum,
|
|
@@ -5990,7 +6126,7 @@ __decorateClass([
|
|
|
5990
6126
|
})
|
|
5991
6127
|
], Lead.prototype, "category", 2);
|
|
5992
6128
|
Lead = __decorateClass([
|
|
5993
|
-
|
|
6129
|
+
Entity55("leads")
|
|
5994
6130
|
], Lead);
|
|
5995
6131
|
|
|
5996
6132
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
@@ -6231,7 +6367,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
6231
6367
|
], ClientFreelancerRecommendation);
|
|
6232
6368
|
|
|
6233
6369
|
// src/entities/commission.entity.ts
|
|
6234
|
-
import { Entity as
|
|
6370
|
+
import { Entity as Entity56, Column as Column57 } from "typeorm";
|
|
6235
6371
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
6236
6372
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
6237
6373
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -6240,7 +6376,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
6240
6376
|
var Commission = class extends BaseEntity {
|
|
6241
6377
|
};
|
|
6242
6378
|
__decorateClass([
|
|
6243
|
-
|
|
6379
|
+
Column57({
|
|
6244
6380
|
name: "freelancer_commission_type",
|
|
6245
6381
|
type: "enum",
|
|
6246
6382
|
enum: CommissionTypeEnum,
|
|
@@ -6248,10 +6384,10 @@ __decorateClass([
|
|
|
6248
6384
|
})
|
|
6249
6385
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
6250
6386
|
__decorateClass([
|
|
6251
|
-
|
|
6387
|
+
Column57({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
6252
6388
|
], Commission.prototype, "freelancerCommission", 2);
|
|
6253
6389
|
__decorateClass([
|
|
6254
|
-
|
|
6390
|
+
Column57({
|
|
6255
6391
|
name: "client_commission_type",
|
|
6256
6392
|
type: "enum",
|
|
6257
6393
|
enum: CommissionTypeEnum,
|
|
@@ -6259,54 +6395,54 @@ __decorateClass([
|
|
|
6259
6395
|
})
|
|
6260
6396
|
], Commission.prototype, "clientCommissionType", 2);
|
|
6261
6397
|
__decorateClass([
|
|
6262
|
-
|
|
6398
|
+
Column57({ name: "client_commission", type: "integer", default: 0 })
|
|
6263
6399
|
], Commission.prototype, "clientCommission", 2);
|
|
6264
6400
|
Commission = __decorateClass([
|
|
6265
|
-
|
|
6401
|
+
Entity56("commissions")
|
|
6266
6402
|
], Commission);
|
|
6267
6403
|
|
|
6268
6404
|
// src/entities/calendly-meeting-log.entity.ts
|
|
6269
6405
|
import {
|
|
6270
|
-
Entity as
|
|
6271
|
-
Column as
|
|
6272
|
-
Index as
|
|
6406
|
+
Entity as Entity57,
|
|
6407
|
+
Column as Column58,
|
|
6408
|
+
Index as Index41
|
|
6273
6409
|
} from "typeorm";
|
|
6274
6410
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
6275
6411
|
};
|
|
6276
6412
|
__decorateClass([
|
|
6277
|
-
|
|
6278
|
-
|
|
6413
|
+
Column58({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
6414
|
+
Index41()
|
|
6279
6415
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
6280
6416
|
__decorateClass([
|
|
6281
|
-
|
|
6417
|
+
Column58({ name: "calendly_event_type", type: "varchar", nullable: true })
|
|
6282
6418
|
], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
|
|
6283
6419
|
__decorateClass([
|
|
6284
|
-
|
|
6420
|
+
Column58({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6285
6421
|
], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
|
|
6286
6422
|
CalendlyMeetingLog = __decorateClass([
|
|
6287
|
-
|
|
6423
|
+
Entity57("calendly_meeting_logs")
|
|
6288
6424
|
], CalendlyMeetingLog);
|
|
6289
6425
|
|
|
6290
6426
|
// src/entities/zoom-meeting-log.entity.ts
|
|
6291
6427
|
import {
|
|
6292
|
-
Entity as
|
|
6293
|
-
Column as
|
|
6294
|
-
Index as
|
|
6428
|
+
Entity as Entity58,
|
|
6429
|
+
Column as Column59,
|
|
6430
|
+
Index as Index42
|
|
6295
6431
|
} from "typeorm";
|
|
6296
6432
|
var ZoomMeetingLog = class extends BaseEntity {
|
|
6297
6433
|
};
|
|
6298
6434
|
__decorateClass([
|
|
6299
|
-
|
|
6300
|
-
|
|
6435
|
+
Column59({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
|
|
6436
|
+
Index42()
|
|
6301
6437
|
], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
|
|
6302
6438
|
__decorateClass([
|
|
6303
|
-
|
|
6439
|
+
Column59({ name: "zoom_event_type", type: "varchar", nullable: true })
|
|
6304
6440
|
], ZoomMeetingLog.prototype, "zoomEventType", 2);
|
|
6305
6441
|
__decorateClass([
|
|
6306
|
-
|
|
6442
|
+
Column59({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6307
6443
|
], ZoomMeetingLog.prototype, "rawWebhookData", 2);
|
|
6308
6444
|
ZoomMeetingLog = __decorateClass([
|
|
6309
|
-
|
|
6445
|
+
Entity58("zoom_meeting_logs")
|
|
6310
6446
|
], ZoomMeetingLog);
|
|
6311
6447
|
export {
|
|
6312
6448
|
ADMIN_FREELANCER_PATTERN,
|
|
@@ -6366,6 +6502,9 @@ export {
|
|
|
6366
6502
|
CompanyRole,
|
|
6367
6503
|
CompanyRolePermission,
|
|
6368
6504
|
CompanySkill,
|
|
6505
|
+
Contract,
|
|
6506
|
+
ContractStatusEnum,
|
|
6507
|
+
ContractTypeEnum,
|
|
6369
6508
|
Country,
|
|
6370
6509
|
CreateAdminRoleDto,
|
|
6371
6510
|
CreateClientDto,
|