@experts_hub/shared 1.0.731 → 1.0.733
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/ekyc-verification-log.entity.d.ts +25 -0
- package/dist/entities/ekyc-verification-session.entity.d.ts +23 -0
- package/dist/entities/index.d.ts +2 -0
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/index.d.mts +51 -1
- package/dist/index.d.ts +51 -1
- package/dist/index.js +500 -376
- package/dist/index.mjs +376 -246
- package/dist/modules/didit/dto/create-ekyc-session.dto.d.ts +4 -0
- package/dist/modules/didit/dto/index.d.ts +1 -0
- package/dist/modules/didit/index.d.ts +2 -0
- package/dist/modules/didit/pattern/pattern.d.ts +4 -0
- package/dist/modules/notification/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1065,13 +1065,13 @@ import { IsEnum as IsEnum14 } from "class-validator";
|
|
|
1065
1065
|
|
|
1066
1066
|
// src/entities/user.entity.ts
|
|
1067
1067
|
import {
|
|
1068
|
-
Entity as
|
|
1069
|
-
Column as
|
|
1068
|
+
Entity as Entity80,
|
|
1069
|
+
Column as Column81,
|
|
1070
1070
|
OneToMany as OneToMany27,
|
|
1071
1071
|
OneToOne as OneToOne12,
|
|
1072
|
-
Index as
|
|
1073
|
-
ManyToOne as
|
|
1074
|
-
JoinColumn as
|
|
1072
|
+
Index as Index71,
|
|
1073
|
+
ManyToOne as ManyToOne75,
|
|
1074
|
+
JoinColumn as JoinColumn76
|
|
1075
1075
|
} from "typeorm";
|
|
1076
1076
|
|
|
1077
1077
|
// src/entities/base.entity.ts
|
|
@@ -6691,6 +6691,68 @@ UserSubscription = __decorateClass([
|
|
|
6691
6691
|
Entity78("user_subscriptions")
|
|
6692
6692
|
], UserSubscription);
|
|
6693
6693
|
|
|
6694
|
+
// src/entities/ekyc-verification-session.entity.ts
|
|
6695
|
+
import {
|
|
6696
|
+
Entity as Entity79,
|
|
6697
|
+
Column as Column80,
|
|
6698
|
+
ManyToOne as ManyToOne74,
|
|
6699
|
+
JoinColumn as JoinColumn75,
|
|
6700
|
+
Index as Index70
|
|
6701
|
+
} from "typeorm";
|
|
6702
|
+
var EkycVerificationSessionStatusEnum = /* @__PURE__ */ ((EkycVerificationSessionStatusEnum2) => {
|
|
6703
|
+
EkycVerificationSessionStatusEnum2["NOT_STARTED"] = "NOT_STARTED";
|
|
6704
|
+
EkycVerificationSessionStatusEnum2["NOT_FINISHED"] = "NOT_FINISHED";
|
|
6705
|
+
EkycVerificationSessionStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
6706
|
+
EkycVerificationSessionStatusEnum2["APPROVED"] = "APPROVED";
|
|
6707
|
+
EkycVerificationSessionStatusEnum2["DECLINED"] = "DECLINED";
|
|
6708
|
+
EkycVerificationSessionStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
|
|
6709
|
+
EkycVerificationSessionStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
6710
|
+
EkycVerificationSessionStatusEnum2["KYC_EXPIRED"] = "KYC_EXPIRED";
|
|
6711
|
+
EkycVerificationSessionStatusEnum2["ABANDONED"] = "ABANDONED";
|
|
6712
|
+
EkycVerificationSessionStatusEnum2["RESUBMITTED"] = "RESUBMITTED";
|
|
6713
|
+
EkycVerificationSessionStatusEnum2["AWAITING_USER"] = "AWAITING_USER";
|
|
6714
|
+
return EkycVerificationSessionStatusEnum2;
|
|
6715
|
+
})(EkycVerificationSessionStatusEnum || {});
|
|
6716
|
+
var EkycVerificationSession = class extends BaseEntity {
|
|
6717
|
+
};
|
|
6718
|
+
__decorateClass([
|
|
6719
|
+
Column80({ name: "user_id", type: "integer" }),
|
|
6720
|
+
Index70()
|
|
6721
|
+
], EkycVerificationSession.prototype, "userId", 2);
|
|
6722
|
+
__decorateClass([
|
|
6723
|
+
ManyToOne74(() => User, (user) => user.ekycVerificationSessions),
|
|
6724
|
+
JoinColumn75({ name: "user_id" })
|
|
6725
|
+
], EkycVerificationSession.prototype, "user", 2);
|
|
6726
|
+
__decorateClass([
|
|
6727
|
+
Column80({ name: "session_id", type: "varchar", unique: true })
|
|
6728
|
+
], EkycVerificationSession.prototype, "sessionId", 2);
|
|
6729
|
+
__decorateClass([
|
|
6730
|
+
Column80({
|
|
6731
|
+
name: "status",
|
|
6732
|
+
type: "enum",
|
|
6733
|
+
enum: EkycVerificationSessionStatusEnum,
|
|
6734
|
+
default: "NOT_STARTED" /* NOT_STARTED */
|
|
6735
|
+
})
|
|
6736
|
+
], EkycVerificationSession.prototype, "status", 2);
|
|
6737
|
+
__decorateClass([
|
|
6738
|
+
Column80({
|
|
6739
|
+
name: "token",
|
|
6740
|
+
type: "varchar",
|
|
6741
|
+
unique: true,
|
|
6742
|
+
nullable: true
|
|
6743
|
+
})
|
|
6744
|
+
], EkycVerificationSession.prototype, "token", 2);
|
|
6745
|
+
__decorateClass([
|
|
6746
|
+
Column80({
|
|
6747
|
+
name: "expired_at",
|
|
6748
|
+
type: "timestamp with time zone",
|
|
6749
|
+
nullable: true
|
|
6750
|
+
})
|
|
6751
|
+
], EkycVerificationSession.prototype, "expiresAt", 2);
|
|
6752
|
+
EkycVerificationSession = __decorateClass([
|
|
6753
|
+
Entity79("ekyc_verification_sessions")
|
|
6754
|
+
], EkycVerificationSession);
|
|
6755
|
+
|
|
6694
6756
|
// src/entities/user.entity.ts
|
|
6695
6757
|
var AccountType2 = /* @__PURE__ */ ((AccountType4) => {
|
|
6696
6758
|
AccountType4["SUPER_ADMIN"] = "SUPER_ADMIN";
|
|
@@ -6717,57 +6779,57 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
6717
6779
|
var User = class extends BaseEntity {
|
|
6718
6780
|
};
|
|
6719
6781
|
__decorateClass([
|
|
6720
|
-
|
|
6782
|
+
Column81({ name: "unique_id", type: "varchar", unique: true })
|
|
6721
6783
|
], User.prototype, "uniqueId", 2);
|
|
6722
6784
|
__decorateClass([
|
|
6723
|
-
|
|
6724
|
-
|
|
6785
|
+
Column81({ name: "parent_id", type: "integer", nullable: true }),
|
|
6786
|
+
Index71()
|
|
6725
6787
|
], User.prototype, "parentId", 2);
|
|
6726
6788
|
__decorateClass([
|
|
6727
|
-
|
|
6728
|
-
|
|
6789
|
+
ManyToOne75(() => User, (user) => user.children, { nullable: true }),
|
|
6790
|
+
JoinColumn76({ name: "parent_id" })
|
|
6729
6791
|
], User.prototype, "parent", 2);
|
|
6730
6792
|
__decorateClass([
|
|
6731
6793
|
OneToMany27(() => User, (user) => user.parent)
|
|
6732
6794
|
], User.prototype, "children", 2);
|
|
6733
6795
|
__decorateClass([
|
|
6734
|
-
|
|
6796
|
+
Column81({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
6735
6797
|
], User.prototype, "username", 2);
|
|
6736
6798
|
__decorateClass([
|
|
6737
|
-
|
|
6799
|
+
Column81({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
6738
6800
|
], User.prototype, "firstName", 2);
|
|
6739
6801
|
__decorateClass([
|
|
6740
|
-
|
|
6802
|
+
Column81({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
6741
6803
|
], User.prototype, "lastName", 2);
|
|
6742
6804
|
__decorateClass([
|
|
6743
|
-
|
|
6805
|
+
Column81({ name: "date_of_birth", type: "date", nullable: true })
|
|
6744
6806
|
], User.prototype, "dateOfBirth", 2);
|
|
6745
6807
|
__decorateClass([
|
|
6746
|
-
|
|
6808
|
+
Column81({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
6747
6809
|
], User.prototype, "gender", 2);
|
|
6748
6810
|
__decorateClass([
|
|
6749
|
-
|
|
6811
|
+
Column81({ name: "profile_picture_url", type: "text", nullable: true })
|
|
6750
6812
|
], User.prototype, "profilePictureUrl", 2);
|
|
6751
6813
|
__decorateClass([
|
|
6752
|
-
|
|
6814
|
+
Column81({ name: "presigned_profile_picture_url", type: "text", nullable: true })
|
|
6753
6815
|
], User.prototype, "presignedProfilePictureUrl", 2);
|
|
6754
6816
|
__decorateClass([
|
|
6755
|
-
|
|
6817
|
+
Column81({ name: "presigned_profile_picture_url_expires_at", type: "timestamp with time zone", nullable: true })
|
|
6756
6818
|
], User.prototype, "presignedProfilePictureUrlExpiresAt", 2);
|
|
6757
6819
|
__decorateClass([
|
|
6758
|
-
|
|
6820
|
+
Column81({ name: "email", type: "varchar", unique: true })
|
|
6759
6821
|
], User.prototype, "email", 2);
|
|
6760
6822
|
__decorateClass([
|
|
6761
|
-
|
|
6823
|
+
Column81({ name: "mobile_code", type: "varchar", nullable: true })
|
|
6762
6824
|
], User.prototype, "mobileCode", 2);
|
|
6763
6825
|
__decorateClass([
|
|
6764
|
-
|
|
6826
|
+
Column81({ name: "mobile", type: "varchar", nullable: true })
|
|
6765
6827
|
], User.prototype, "mobile", 2);
|
|
6766
6828
|
__decorateClass([
|
|
6767
|
-
|
|
6829
|
+
Column81({ name: "password", type: "varchar", nullable: true })
|
|
6768
6830
|
], User.prototype, "password", 2);
|
|
6769
6831
|
__decorateClass([
|
|
6770
|
-
|
|
6832
|
+
Column81({
|
|
6771
6833
|
name: "account_type",
|
|
6772
6834
|
type: "enum",
|
|
6773
6835
|
enum: AccountType2,
|
|
@@ -6775,7 +6837,7 @@ __decorateClass([
|
|
|
6775
6837
|
})
|
|
6776
6838
|
], User.prototype, "accountType", 2);
|
|
6777
6839
|
__decorateClass([
|
|
6778
|
-
|
|
6840
|
+
Column81({
|
|
6779
6841
|
name: "account_status",
|
|
6780
6842
|
type: "enum",
|
|
6781
6843
|
enum: AccountStatus,
|
|
@@ -6783,45 +6845,45 @@ __decorateClass([
|
|
|
6783
6845
|
})
|
|
6784
6846
|
], User.prototype, "accountStatus", 2);
|
|
6785
6847
|
__decorateClass([
|
|
6786
|
-
|
|
6848
|
+
Column81({ name: "is_email_verified", type: "boolean", default: false })
|
|
6787
6849
|
], User.prototype, "isEmailVerified", 2);
|
|
6788
6850
|
__decorateClass([
|
|
6789
|
-
|
|
6851
|
+
Column81({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
6790
6852
|
], User.prototype, "isMobileVerified", 2);
|
|
6791
6853
|
__decorateClass([
|
|
6792
|
-
|
|
6854
|
+
Column81({ name: "is_social", type: "boolean", default: false })
|
|
6793
6855
|
], User.prototype, "isSocial", 2);
|
|
6794
6856
|
__decorateClass([
|
|
6795
|
-
|
|
6857
|
+
Column81({ name: "is_referral_user", type: "boolean", default: false })
|
|
6796
6858
|
], User.prototype, "isReferralUser", 2);
|
|
6797
6859
|
__decorateClass([
|
|
6798
|
-
|
|
6860
|
+
Column81({
|
|
6799
6861
|
name: "last_login_at",
|
|
6800
6862
|
type: "timestamp with time zone",
|
|
6801
6863
|
nullable: true
|
|
6802
6864
|
})
|
|
6803
6865
|
], User.prototype, "lastLoginAt", 2);
|
|
6804
6866
|
__decorateClass([
|
|
6805
|
-
|
|
6867
|
+
Column81({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
6806
6868
|
], User.prototype, "lastLoginIp", 2);
|
|
6807
6869
|
__decorateClass([
|
|
6808
|
-
|
|
6870
|
+
Column81({ name: "reset_token", type: "varchar", nullable: true })
|
|
6809
6871
|
], User.prototype, "resetToken", 2);
|
|
6810
6872
|
__decorateClass([
|
|
6811
|
-
|
|
6873
|
+
Column81({
|
|
6812
6874
|
name: "reset_token_expire_at",
|
|
6813
6875
|
type: "timestamp with time zone",
|
|
6814
6876
|
nullable: true
|
|
6815
6877
|
})
|
|
6816
6878
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
6817
6879
|
__decorateClass([
|
|
6818
|
-
|
|
6880
|
+
Column81({ name: "set_password_token", type: "varchar", nullable: true })
|
|
6819
6881
|
], User.prototype, "setPasswordToken", 2);
|
|
6820
6882
|
__decorateClass([
|
|
6821
6883
|
OneToMany27(() => RefreshToken, (token) => token.user)
|
|
6822
6884
|
], User.prototype, "refreshTokens", 2);
|
|
6823
6885
|
__decorateClass([
|
|
6824
|
-
|
|
6886
|
+
Column81({
|
|
6825
6887
|
name: "provider",
|
|
6826
6888
|
type: "enum",
|
|
6827
6889
|
enum: Provider,
|
|
@@ -6830,22 +6892,22 @@ __decorateClass([
|
|
|
6830
6892
|
})
|
|
6831
6893
|
], User.prototype, "provider", 2);
|
|
6832
6894
|
__decorateClass([
|
|
6833
|
-
|
|
6895
|
+
Column81({ name: "provider_token", type: "varchar", nullable: true })
|
|
6834
6896
|
], User.prototype, "providerToken", 2);
|
|
6835
6897
|
__decorateClass([
|
|
6836
|
-
|
|
6898
|
+
Column81({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
6837
6899
|
], User.prototype, "linkedInId", 2);
|
|
6838
6900
|
__decorateClass([
|
|
6839
|
-
|
|
6901
|
+
Column81({ name: "google_id", type: "varchar", nullable: true })
|
|
6840
6902
|
], User.prototype, "googleId", 2);
|
|
6841
6903
|
__decorateClass([
|
|
6842
|
-
|
|
6904
|
+
Column81({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
6843
6905
|
], User.prototype, "gitLabsId", 2);
|
|
6844
6906
|
__decorateClass([
|
|
6845
|
-
|
|
6907
|
+
Column81({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
6846
6908
|
], User.prototype, "onBoardedBy", 2);
|
|
6847
6909
|
__decorateClass([
|
|
6848
|
-
|
|
6910
|
+
Column81({ name: "ip", type: "varchar", nullable: true })
|
|
6849
6911
|
], User.prototype, "ip", 2);
|
|
6850
6912
|
__decorateClass([
|
|
6851
6913
|
OneToMany27(() => Otp, (otp) => otp.user)
|
|
@@ -7097,8 +7159,11 @@ __decorateClass([
|
|
|
7097
7159
|
__decorateClass([
|
|
7098
7160
|
OneToMany27(() => UserSubscription, (userSubscription) => userSubscription.user)
|
|
7099
7161
|
], User.prototype, "userSubscriptions", 2);
|
|
7162
|
+
__decorateClass([
|
|
7163
|
+
OneToMany27(() => EkycVerificationSession, (ekycVerificationSession) => ekycVerificationSession.user)
|
|
7164
|
+
], User.prototype, "ekycVerificationSessions", 2);
|
|
7100
7165
|
User = __decorateClass([
|
|
7101
|
-
|
|
7166
|
+
Entity80("users")
|
|
7102
7167
|
], User);
|
|
7103
7168
|
|
|
7104
7169
|
// src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
|
|
@@ -8930,6 +8995,7 @@ var NOTIFICATION_PATTERN = {
|
|
|
8930
8995
|
handleSetPasswordLinkNotification: "handle.set.password.link.notification",
|
|
8931
8996
|
handleLeadNotificationToAdmin: "handle.lead.notification.to.admin",
|
|
8932
8997
|
handleDailyFreelancerReportToStakeHolders: "handle.daily.freelancer.report.to.stake.holders",
|
|
8998
|
+
handleDailyFreelancerProfileReminderNotification: "handle.daily.freelancer.profile.reminder.notification",
|
|
8933
8999
|
handleAiAssessmentLinkNotification: "handle.ai.assessment.link.notification",
|
|
8934
9000
|
handleRecordingProcessingErrorNotification: "handle.recording.processing.error.notification",
|
|
8935
9001
|
handleResumeParserErrorNotification: "handle.resume.parser.error.notification",
|
|
@@ -14629,11 +14695,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
|
|
|
14629
14695
|
};
|
|
14630
14696
|
|
|
14631
14697
|
// src/entities/sequence-generator.entity.ts
|
|
14632
|
-
import { Entity as
|
|
14698
|
+
import { Entity as Entity81, Column as Column82 } from "typeorm";
|
|
14633
14699
|
var SequenceGenerator = class extends BaseEntity {
|
|
14634
14700
|
};
|
|
14635
14701
|
__decorateClass([
|
|
14636
|
-
|
|
14702
|
+
Column82({
|
|
14637
14703
|
name: "module",
|
|
14638
14704
|
type: "varchar",
|
|
14639
14705
|
length: 50,
|
|
@@ -14642,7 +14708,7 @@ __decorateClass([
|
|
|
14642
14708
|
})
|
|
14643
14709
|
], SequenceGenerator.prototype, "module", 2);
|
|
14644
14710
|
__decorateClass([
|
|
14645
|
-
|
|
14711
|
+
Column82({
|
|
14646
14712
|
name: "prefix",
|
|
14647
14713
|
type: "varchar",
|
|
14648
14714
|
length: 10,
|
|
@@ -14651,7 +14717,7 @@ __decorateClass([
|
|
|
14651
14717
|
})
|
|
14652
14718
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
14653
14719
|
__decorateClass([
|
|
14654
|
-
|
|
14720
|
+
Column82({
|
|
14655
14721
|
name: "last_sequence",
|
|
14656
14722
|
type: "int",
|
|
14657
14723
|
nullable: false,
|
|
@@ -14659,7 +14725,7 @@ __decorateClass([
|
|
|
14659
14725
|
})
|
|
14660
14726
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
14661
14727
|
__decorateClass([
|
|
14662
|
-
|
|
14728
|
+
Column82({
|
|
14663
14729
|
name: "year",
|
|
14664
14730
|
type: "int",
|
|
14665
14731
|
nullable: true,
|
|
@@ -14667,11 +14733,11 @@ __decorateClass([
|
|
|
14667
14733
|
})
|
|
14668
14734
|
], SequenceGenerator.prototype, "year", 2);
|
|
14669
14735
|
SequenceGenerator = __decorateClass([
|
|
14670
|
-
|
|
14736
|
+
Entity81("sequence_generators")
|
|
14671
14737
|
], SequenceGenerator);
|
|
14672
14738
|
|
|
14673
14739
|
// src/entities/question.entity.ts
|
|
14674
|
-
import { Entity as
|
|
14740
|
+
import { Entity as Entity82, Column as Column83 } from "typeorm";
|
|
14675
14741
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
14676
14742
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
14677
14743
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -14680,16 +14746,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
14680
14746
|
var Question = class extends BaseEntity {
|
|
14681
14747
|
};
|
|
14682
14748
|
__decorateClass([
|
|
14683
|
-
|
|
14749
|
+
Column83({ name: "question", type: "varchar" })
|
|
14684
14750
|
], Question.prototype, "question", 2);
|
|
14685
14751
|
__decorateClass([
|
|
14686
|
-
|
|
14752
|
+
Column83({ name: "hint", type: "varchar", nullable: true })
|
|
14687
14753
|
], Question.prototype, "hint", 2);
|
|
14688
14754
|
__decorateClass([
|
|
14689
|
-
|
|
14755
|
+
Column83({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
14690
14756
|
], Question.prototype, "slug", 2);
|
|
14691
14757
|
__decorateClass([
|
|
14692
|
-
|
|
14758
|
+
Column83({
|
|
14693
14759
|
name: "question_for",
|
|
14694
14760
|
type: "enum",
|
|
14695
14761
|
enum: QuestionFor,
|
|
@@ -14697,49 +14763,49 @@ __decorateClass([
|
|
|
14697
14763
|
})
|
|
14698
14764
|
], Question.prototype, "questionFor", 2);
|
|
14699
14765
|
__decorateClass([
|
|
14700
|
-
|
|
14766
|
+
Column83({ name: "type", type: "varchar", nullable: true })
|
|
14701
14767
|
], Question.prototype, "type", 2);
|
|
14702
14768
|
__decorateClass([
|
|
14703
|
-
|
|
14769
|
+
Column83({ name: "options", type: "jsonb", nullable: true })
|
|
14704
14770
|
], Question.prototype, "options", 2);
|
|
14705
14771
|
__decorateClass([
|
|
14706
|
-
|
|
14772
|
+
Column83({ name: "is_active", type: "boolean", default: false })
|
|
14707
14773
|
], Question.prototype, "isActive", 2);
|
|
14708
14774
|
Question = __decorateClass([
|
|
14709
|
-
|
|
14775
|
+
Entity82("questions")
|
|
14710
14776
|
], Question);
|
|
14711
14777
|
|
|
14712
14778
|
// src/entities/skill.entity.ts
|
|
14713
|
-
import { Entity as
|
|
14779
|
+
import { Entity as Entity83, Column as Column84 } from "typeorm";
|
|
14714
14780
|
var Skill = class extends BaseEntity {
|
|
14715
14781
|
};
|
|
14716
14782
|
__decorateClass([
|
|
14717
|
-
|
|
14783
|
+
Column84({ name: "name", type: "varchar", nullable: true })
|
|
14718
14784
|
], Skill.prototype, "name", 2);
|
|
14719
14785
|
__decorateClass([
|
|
14720
|
-
|
|
14786
|
+
Column84({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
14721
14787
|
], Skill.prototype, "slug", 2);
|
|
14722
14788
|
__decorateClass([
|
|
14723
|
-
|
|
14789
|
+
Column84({ name: "is_active", type: "boolean", default: false })
|
|
14724
14790
|
], Skill.prototype, "isActive", 2);
|
|
14725
14791
|
Skill = __decorateClass([
|
|
14726
|
-
|
|
14792
|
+
Entity83("skills")
|
|
14727
14793
|
], Skill);
|
|
14728
14794
|
|
|
14729
14795
|
// src/entities/skill-catalog.entity.ts
|
|
14730
14796
|
import {
|
|
14731
|
-
Entity as
|
|
14732
|
-
Column as
|
|
14733
|
-
Index as
|
|
14797
|
+
Entity as Entity84,
|
|
14798
|
+
Column as Column85,
|
|
14799
|
+
Index as Index72
|
|
14734
14800
|
} from "typeorm";
|
|
14735
14801
|
var SkillCatalog = class extends BaseEntity {
|
|
14736
14802
|
};
|
|
14737
14803
|
__decorateClass([
|
|
14738
|
-
|
|
14739
|
-
|
|
14804
|
+
Column85({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
|
|
14805
|
+
Index72()
|
|
14740
14806
|
], SkillCatalog.prototype, "canonicalName", 2);
|
|
14741
14807
|
__decorateClass([
|
|
14742
|
-
|
|
14808
|
+
Column85({
|
|
14743
14809
|
name: "aliases",
|
|
14744
14810
|
type: "text",
|
|
14745
14811
|
array: true,
|
|
@@ -14747,20 +14813,20 @@ __decorateClass([
|
|
|
14747
14813
|
})
|
|
14748
14814
|
], SkillCatalog.prototype, "aliases", 2);
|
|
14749
14815
|
__decorateClass([
|
|
14750
|
-
|
|
14816
|
+
Column85({
|
|
14751
14817
|
name: "variations",
|
|
14752
14818
|
type: "jsonb",
|
|
14753
14819
|
default: "{}"
|
|
14754
14820
|
})
|
|
14755
14821
|
], SkillCatalog.prototype, "variations", 2);
|
|
14756
14822
|
__decorateClass([
|
|
14757
|
-
|
|
14823
|
+
Column85({ name: "category", type: "varchar", length: 50, nullable: true })
|
|
14758
14824
|
], SkillCatalog.prototype, "category", 2);
|
|
14759
14825
|
__decorateClass([
|
|
14760
|
-
|
|
14826
|
+
Column85({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
|
|
14761
14827
|
], SkillCatalog.prototype, "parentSkill", 2);
|
|
14762
14828
|
__decorateClass([
|
|
14763
|
-
|
|
14829
|
+
Column85({
|
|
14764
14830
|
name: "related_skills",
|
|
14765
14831
|
type: "text",
|
|
14766
14832
|
array: true,
|
|
@@ -14768,70 +14834,70 @@ __decorateClass([
|
|
|
14768
14834
|
})
|
|
14769
14835
|
], SkillCatalog.prototype, "relatedSkills", 2);
|
|
14770
14836
|
__decorateClass([
|
|
14771
|
-
|
|
14772
|
-
|
|
14837
|
+
Column85({ name: "usage_count", type: "integer", default: 0 }),
|
|
14838
|
+
Index72()
|
|
14773
14839
|
], SkillCatalog.prototype, "usageCount", 2);
|
|
14774
14840
|
__decorateClass([
|
|
14775
|
-
|
|
14841
|
+
Column85({ name: "is_verified", type: "boolean", default: false })
|
|
14776
14842
|
], SkillCatalog.prototype, "isVerified", 2);
|
|
14777
14843
|
__decorateClass([
|
|
14778
|
-
|
|
14844
|
+
Column85({ name: "first_seen_date", type: "date" })
|
|
14779
14845
|
], SkillCatalog.prototype, "firstSeenDate", 2);
|
|
14780
14846
|
__decorateClass([
|
|
14781
|
-
|
|
14847
|
+
Column85({ name: "last_updated_date", type: "date" })
|
|
14782
14848
|
], SkillCatalog.prototype, "lastUpdatedDate", 2);
|
|
14783
14849
|
__decorateClass([
|
|
14784
|
-
|
|
14850
|
+
Column85({
|
|
14785
14851
|
name: "search_vector",
|
|
14786
14852
|
type: "tsvector",
|
|
14787
14853
|
nullable: true
|
|
14788
14854
|
})
|
|
14789
14855
|
], SkillCatalog.prototype, "searchVector", 2);
|
|
14790
14856
|
SkillCatalog = __decorateClass([
|
|
14791
|
-
|
|
14857
|
+
Entity84("skill_catalogs")
|
|
14792
14858
|
], SkillCatalog);
|
|
14793
14859
|
|
|
14794
14860
|
// src/entities/job-role.entity.ts
|
|
14795
|
-
import { Entity as
|
|
14861
|
+
import { Entity as Entity85, Column as Column86 } from "typeorm";
|
|
14796
14862
|
var JobRoles = class extends BaseEntity {
|
|
14797
14863
|
};
|
|
14798
14864
|
__decorateClass([
|
|
14799
|
-
|
|
14865
|
+
Column86({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
14800
14866
|
], JobRoles.prototype, "slug", 2);
|
|
14801
14867
|
__decorateClass([
|
|
14802
|
-
|
|
14868
|
+
Column86({ name: "name", type: "varchar", nullable: true })
|
|
14803
14869
|
], JobRoles.prototype, "name", 2);
|
|
14804
14870
|
__decorateClass([
|
|
14805
|
-
|
|
14871
|
+
Column86({ name: "is_active", type: "boolean", default: true })
|
|
14806
14872
|
], JobRoles.prototype, "isActive", 2);
|
|
14807
14873
|
JobRoles = __decorateClass([
|
|
14808
|
-
|
|
14874
|
+
Entity85("job_roles")
|
|
14809
14875
|
], JobRoles);
|
|
14810
14876
|
|
|
14811
14877
|
// src/entities/cms.entity.ts
|
|
14812
|
-
import { Entity as
|
|
14878
|
+
import { Entity as Entity86, Column as Column87 } from "typeorm";
|
|
14813
14879
|
var Cms = class extends BaseEntity {
|
|
14814
14880
|
};
|
|
14815
14881
|
__decorateClass([
|
|
14816
|
-
|
|
14882
|
+
Column87({ name: "title", type: "varchar", nullable: true })
|
|
14817
14883
|
], Cms.prototype, "title", 2);
|
|
14818
14884
|
__decorateClass([
|
|
14819
|
-
|
|
14885
|
+
Column87({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
14820
14886
|
], Cms.prototype, "slug", 2);
|
|
14821
14887
|
__decorateClass([
|
|
14822
|
-
|
|
14888
|
+
Column87({ name: "content", type: "varchar", nullable: true })
|
|
14823
14889
|
], Cms.prototype, "content", 2);
|
|
14824
14890
|
__decorateClass([
|
|
14825
|
-
|
|
14891
|
+
Column87({ name: "is_active", type: "boolean", default: true })
|
|
14826
14892
|
], Cms.prototype, "isActive", 2);
|
|
14827
14893
|
Cms = __decorateClass([
|
|
14828
|
-
|
|
14894
|
+
Entity86("cms")
|
|
14829
14895
|
], Cms);
|
|
14830
14896
|
|
|
14831
14897
|
// src/entities/lead.entity.ts
|
|
14832
14898
|
import {
|
|
14833
|
-
Entity as
|
|
14834
|
-
Column as
|
|
14899
|
+
Entity as Entity87,
|
|
14900
|
+
Column as Column88
|
|
14835
14901
|
} from "typeorm";
|
|
14836
14902
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
14837
14903
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
@@ -14841,22 +14907,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
14841
14907
|
var Lead = class extends BaseEntity {
|
|
14842
14908
|
};
|
|
14843
14909
|
__decorateClass([
|
|
14844
|
-
|
|
14910
|
+
Column88({ name: "name", type: "varchar", nullable: true })
|
|
14845
14911
|
], Lead.prototype, "name", 2);
|
|
14846
14912
|
__decorateClass([
|
|
14847
|
-
|
|
14913
|
+
Column88({ name: "mobile_code", type: "varchar", nullable: true })
|
|
14848
14914
|
], Lead.prototype, "mobileCode", 2);
|
|
14849
14915
|
__decorateClass([
|
|
14850
|
-
|
|
14916
|
+
Column88({ name: "mobile", type: "varchar", nullable: true })
|
|
14851
14917
|
], Lead.prototype, "mobile", 2);
|
|
14852
14918
|
__decorateClass([
|
|
14853
|
-
|
|
14919
|
+
Column88({ name: "email", type: "varchar", nullable: true })
|
|
14854
14920
|
], Lead.prototype, "email", 2);
|
|
14855
14921
|
__decorateClass([
|
|
14856
|
-
|
|
14922
|
+
Column88({ name: "description", type: "varchar", nullable: true })
|
|
14857
14923
|
], Lead.prototype, "description", 2);
|
|
14858
14924
|
__decorateClass([
|
|
14859
|
-
|
|
14925
|
+
Column88({
|
|
14860
14926
|
name: "category",
|
|
14861
14927
|
type: "enum",
|
|
14862
14928
|
enum: CategoryEmum,
|
|
@@ -14864,7 +14930,7 @@ __decorateClass([
|
|
|
14864
14930
|
})
|
|
14865
14931
|
], Lead.prototype, "category", 2);
|
|
14866
14932
|
Lead = __decorateClass([
|
|
14867
|
-
|
|
14933
|
+
Entity87("leads")
|
|
14868
14934
|
], Lead);
|
|
14869
14935
|
|
|
14870
14936
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
@@ -15105,7 +15171,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
15105
15171
|
], ClientFreelancerRecommendation);
|
|
15106
15172
|
|
|
15107
15173
|
// src/entities/commission.entity.ts
|
|
15108
|
-
import { Entity as
|
|
15174
|
+
import { Entity as Entity88, Column as Column89 } from "typeorm";
|
|
15109
15175
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
15110
15176
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
15111
15177
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -15114,7 +15180,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
15114
15180
|
var Commission = class extends BaseEntity {
|
|
15115
15181
|
};
|
|
15116
15182
|
__decorateClass([
|
|
15117
|
-
|
|
15183
|
+
Column89({
|
|
15118
15184
|
name: "freelancer_commission_type",
|
|
15119
15185
|
type: "enum",
|
|
15120
15186
|
enum: CommissionTypeEnum,
|
|
@@ -15122,10 +15188,10 @@ __decorateClass([
|
|
|
15122
15188
|
})
|
|
15123
15189
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
15124
15190
|
__decorateClass([
|
|
15125
|
-
|
|
15191
|
+
Column89({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
15126
15192
|
], Commission.prototype, "freelancerCommission", 2);
|
|
15127
15193
|
__decorateClass([
|
|
15128
|
-
|
|
15194
|
+
Column89({
|
|
15129
15195
|
name: "client_commission_type",
|
|
15130
15196
|
type: "enum",
|
|
15131
15197
|
enum: CommissionTypeEnum,
|
|
@@ -15133,58 +15199,58 @@ __decorateClass([
|
|
|
15133
15199
|
})
|
|
15134
15200
|
], Commission.prototype, "clientCommissionType", 2);
|
|
15135
15201
|
__decorateClass([
|
|
15136
|
-
|
|
15202
|
+
Column89({ name: "client_commission", type: "integer", default: 0 })
|
|
15137
15203
|
], Commission.prototype, "clientCommission", 2);
|
|
15138
15204
|
Commission = __decorateClass([
|
|
15139
|
-
|
|
15205
|
+
Entity88("commissions")
|
|
15140
15206
|
], Commission);
|
|
15141
15207
|
|
|
15142
15208
|
// src/entities/calendly-meeting-log.entity.ts
|
|
15143
15209
|
import {
|
|
15144
|
-
Entity as
|
|
15145
|
-
Column as
|
|
15146
|
-
Index as
|
|
15210
|
+
Entity as Entity89,
|
|
15211
|
+
Column as Column90,
|
|
15212
|
+
Index as Index73
|
|
15147
15213
|
} from "typeorm";
|
|
15148
15214
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
15149
15215
|
};
|
|
15150
15216
|
__decorateClass([
|
|
15151
|
-
|
|
15152
|
-
|
|
15217
|
+
Column90({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
15218
|
+
Index73()
|
|
15153
15219
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
15154
15220
|
__decorateClass([
|
|
15155
|
-
|
|
15221
|
+
Column90({ name: "calendly_event_type", type: "varchar", nullable: true })
|
|
15156
15222
|
], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
|
|
15157
15223
|
__decorateClass([
|
|
15158
|
-
|
|
15224
|
+
Column90({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
15159
15225
|
], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
|
|
15160
15226
|
CalendlyMeetingLog = __decorateClass([
|
|
15161
|
-
|
|
15227
|
+
Entity89("calendly_meeting_logs")
|
|
15162
15228
|
], CalendlyMeetingLog);
|
|
15163
15229
|
|
|
15164
15230
|
// src/entities/zoom-meeting-log.entity.ts
|
|
15165
15231
|
import {
|
|
15166
|
-
Entity as
|
|
15167
|
-
Column as
|
|
15168
|
-
Index as
|
|
15232
|
+
Entity as Entity90,
|
|
15233
|
+
Column as Column91,
|
|
15234
|
+
Index as Index74
|
|
15169
15235
|
} from "typeorm";
|
|
15170
15236
|
var ZoomMeetingLog = class extends BaseEntity {
|
|
15171
15237
|
};
|
|
15172
15238
|
__decorateClass([
|
|
15173
|
-
|
|
15174
|
-
|
|
15239
|
+
Column91({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
|
|
15240
|
+
Index74()
|
|
15175
15241
|
], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
|
|
15176
15242
|
__decorateClass([
|
|
15177
|
-
|
|
15243
|
+
Column91({ name: "zoom_event_type", type: "varchar", nullable: true })
|
|
15178
15244
|
], ZoomMeetingLog.prototype, "zoomEventType", 2);
|
|
15179
15245
|
__decorateClass([
|
|
15180
|
-
|
|
15246
|
+
Column91({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
15181
15247
|
], ZoomMeetingLog.prototype, "rawWebhookData", 2);
|
|
15182
15248
|
ZoomMeetingLog = __decorateClass([
|
|
15183
|
-
|
|
15249
|
+
Entity90("zoom_meeting_logs")
|
|
15184
15250
|
], ZoomMeetingLog);
|
|
15185
15251
|
|
|
15186
15252
|
// src/entities/docuseal.entity.ts
|
|
15187
|
-
import { Entity as
|
|
15253
|
+
import { Entity as Entity91, Column as Column92, Index as Index75 } from "typeorm";
|
|
15188
15254
|
var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
|
|
15189
15255
|
DocuSealTypeEnum2["FREELANCER_SERVICE_AGGREMENT"] = "FREELANCER_SERVICE_AGGREMENT";
|
|
15190
15256
|
DocuSealTypeEnum2["CLIENT_SERVICE_AGGREMENT"] = "CLIENT_SERVICE_AGGREMENT";
|
|
@@ -15194,101 +15260,101 @@ var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
|
|
|
15194
15260
|
var DocuSeal = class extends BaseEntity {
|
|
15195
15261
|
};
|
|
15196
15262
|
__decorateClass([
|
|
15197
|
-
|
|
15198
|
-
|
|
15263
|
+
Column92({ name: "reference_id", type: "integer", nullable: false }),
|
|
15264
|
+
Index75()
|
|
15199
15265
|
], DocuSeal.prototype, "referenceId", 2);
|
|
15200
15266
|
__decorateClass([
|
|
15201
|
-
|
|
15202
|
-
|
|
15267
|
+
Column92({ name: "submitter_id", type: "integer", nullable: true }),
|
|
15268
|
+
Index75()
|
|
15203
15269
|
], DocuSeal.prototype, "submitterId", 2);
|
|
15204
15270
|
__decorateClass([
|
|
15205
|
-
|
|
15271
|
+
Column92({ name: "submitter_response", type: "jsonb", nullable: true })
|
|
15206
15272
|
], DocuSeal.prototype, "submitterResponse", 2);
|
|
15207
15273
|
__decorateClass([
|
|
15208
|
-
|
|
15274
|
+
Column92({ name: "webhook_response", type: "jsonb", nullable: true })
|
|
15209
15275
|
], DocuSeal.prototype, "webhookResponse", 2);
|
|
15210
15276
|
__decorateClass([
|
|
15211
|
-
|
|
15277
|
+
Column92({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
|
|
15212
15278
|
], DocuSeal.prototype, "type", 2);
|
|
15213
15279
|
DocuSeal = __decorateClass([
|
|
15214
|
-
|
|
15280
|
+
Entity91("docuseal")
|
|
15215
15281
|
], DocuSeal);
|
|
15216
15282
|
|
|
15217
15283
|
// src/entities/stripe-logs.entity.ts
|
|
15218
|
-
import { Entity as
|
|
15284
|
+
import { Entity as Entity92, Column as Column93 } from "typeorm";
|
|
15219
15285
|
var StripeLog = class extends BaseEntity {
|
|
15220
15286
|
};
|
|
15221
15287
|
__decorateClass([
|
|
15222
|
-
|
|
15288
|
+
Column93({ name: "stripe_event_id", type: "varchar", nullable: true })
|
|
15223
15289
|
], StripeLog.prototype, "stripeEventId", 2);
|
|
15224
15290
|
__decorateClass([
|
|
15225
|
-
|
|
15291
|
+
Column93({ name: "event_type", type: "varchar", nullable: true })
|
|
15226
15292
|
], StripeLog.prototype, "eventType", 2);
|
|
15227
15293
|
__decorateClass([
|
|
15228
|
-
|
|
15294
|
+
Column93({ name: "stripe_account_id", type: "varchar", nullable: true })
|
|
15229
15295
|
], StripeLog.prototype, "stripeAccountId", 2);
|
|
15230
15296
|
__decorateClass([
|
|
15231
|
-
|
|
15297
|
+
Column93({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
15232
15298
|
], StripeLog.prototype, "rawWebhookData", 2);
|
|
15233
15299
|
StripeLog = __decorateClass([
|
|
15234
|
-
|
|
15300
|
+
Entity92("stripe_logs")
|
|
15235
15301
|
], StripeLog);
|
|
15236
15302
|
|
|
15237
15303
|
// src/entities/recommendation-weightage-config.entity.ts
|
|
15238
15304
|
import {
|
|
15239
|
-
Entity as
|
|
15240
|
-
Column as
|
|
15241
|
-
Index as
|
|
15305
|
+
Entity as Entity93,
|
|
15306
|
+
Column as Column94,
|
|
15307
|
+
Index as Index76
|
|
15242
15308
|
} from "typeorm";
|
|
15243
15309
|
var RecommendationWeightageConfig = class extends BaseEntity {
|
|
15244
15310
|
};
|
|
15245
15311
|
__decorateClass([
|
|
15246
|
-
|
|
15312
|
+
Column94({
|
|
15247
15313
|
type: "varchar",
|
|
15248
15314
|
length: 100,
|
|
15249
15315
|
unique: true,
|
|
15250
15316
|
comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
|
|
15251
15317
|
}),
|
|
15252
|
-
|
|
15318
|
+
Index76()
|
|
15253
15319
|
], RecommendationWeightageConfig.prototype, "key", 2);
|
|
15254
15320
|
__decorateClass([
|
|
15255
|
-
|
|
15321
|
+
Column94({
|
|
15256
15322
|
type: "jsonb",
|
|
15257
15323
|
comment: "JSON object containing weight values",
|
|
15258
15324
|
nullable: true
|
|
15259
15325
|
})
|
|
15260
15326
|
], RecommendationWeightageConfig.prototype, "value", 2);
|
|
15261
15327
|
__decorateClass([
|
|
15262
|
-
|
|
15328
|
+
Column94({ name: "is_active", type: "boolean", default: true })
|
|
15263
15329
|
], RecommendationWeightageConfig.prototype, "isActive", 2);
|
|
15264
15330
|
RecommendationWeightageConfig = __decorateClass([
|
|
15265
|
-
|
|
15331
|
+
Entity93("recommendation_weightage_configs")
|
|
15266
15332
|
], RecommendationWeightageConfig);
|
|
15267
15333
|
|
|
15268
15334
|
// src/entities/global-setting.entity.ts
|
|
15269
15335
|
import {
|
|
15270
|
-
Entity as
|
|
15271
|
-
Column as
|
|
15272
|
-
Index as
|
|
15336
|
+
Entity as Entity94,
|
|
15337
|
+
Column as Column95,
|
|
15338
|
+
Index as Index77
|
|
15273
15339
|
} from "typeorm";
|
|
15274
15340
|
var GlobalSetting = class extends BaseEntity {
|
|
15275
15341
|
};
|
|
15276
15342
|
__decorateClass([
|
|
15277
|
-
|
|
15343
|
+
Column95({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
|
|
15278
15344
|
], GlobalSetting.prototype, "key", 2);
|
|
15279
15345
|
__decorateClass([
|
|
15280
|
-
|
|
15346
|
+
Column95({ name: "value", type: "text", nullable: false })
|
|
15281
15347
|
], GlobalSetting.prototype, "value", 2);
|
|
15282
15348
|
GlobalSetting = __decorateClass([
|
|
15283
|
-
|
|
15284
|
-
|
|
15349
|
+
Entity94("global_settings"),
|
|
15350
|
+
Index77(["key"], { unique: true })
|
|
15285
15351
|
], GlobalSetting);
|
|
15286
15352
|
|
|
15287
15353
|
// src/entities/plan.entity.ts
|
|
15288
15354
|
import {
|
|
15289
|
-
Entity as
|
|
15290
|
-
Column as
|
|
15291
|
-
Index as
|
|
15355
|
+
Entity as Entity97,
|
|
15356
|
+
Column as Column98,
|
|
15357
|
+
Index as Index80,
|
|
15292
15358
|
Check as Check4,
|
|
15293
15359
|
BeforeInsert as BeforeInsert2,
|
|
15294
15360
|
BeforeUpdate as BeforeUpdate2,
|
|
@@ -15297,57 +15363,57 @@ import {
|
|
|
15297
15363
|
|
|
15298
15364
|
// src/entities/plan-feature.entity.ts
|
|
15299
15365
|
import {
|
|
15300
|
-
Entity as
|
|
15301
|
-
Column as
|
|
15302
|
-
ManyToOne as
|
|
15303
|
-
JoinColumn as
|
|
15304
|
-
Index as
|
|
15366
|
+
Entity as Entity95,
|
|
15367
|
+
Column as Column96,
|
|
15368
|
+
ManyToOne as ManyToOne77,
|
|
15369
|
+
JoinColumn as JoinColumn78,
|
|
15370
|
+
Index as Index78,
|
|
15305
15371
|
Check as Check2
|
|
15306
15372
|
} from "typeorm";
|
|
15307
15373
|
var PlanFeature = class extends BaseEntity {
|
|
15308
15374
|
};
|
|
15309
15375
|
// individual index to find features by plan
|
|
15310
15376
|
__decorateClass([
|
|
15311
|
-
|
|
15312
|
-
|
|
15377
|
+
Column96({ name: "plan_id", type: "integer", nullable: false }),
|
|
15378
|
+
Index78()
|
|
15313
15379
|
], PlanFeature.prototype, "planId", 2);
|
|
15314
15380
|
__decorateClass([
|
|
15315
|
-
|
|
15381
|
+
ManyToOne77(() => Plan, (plan) => plan.features, {
|
|
15316
15382
|
onDelete: "CASCADE",
|
|
15317
15383
|
nullable: false
|
|
15318
15384
|
}),
|
|
15319
|
-
|
|
15385
|
+
JoinColumn78({ name: "plan_id" })
|
|
15320
15386
|
], PlanFeature.prototype, "plan", 2);
|
|
15321
15387
|
__decorateClass([
|
|
15322
|
-
|
|
15388
|
+
Column96({ name: "name", type: "varchar", length: 200 })
|
|
15323
15389
|
], PlanFeature.prototype, "name", 2);
|
|
15324
15390
|
__decorateClass([
|
|
15325
|
-
|
|
15326
|
-
|
|
15391
|
+
Column96({ name: "slug", type: "varchar", length: 100 }),
|
|
15392
|
+
Index78()
|
|
15327
15393
|
], PlanFeature.prototype, "slug", 2);
|
|
15328
15394
|
__decorateClass([
|
|
15329
|
-
|
|
15395
|
+
Column96({ name: "tooltip", type: "varchar", length: 300, nullable: true })
|
|
15330
15396
|
], PlanFeature.prototype, "tooltip", 2);
|
|
15331
15397
|
__decorateClass([
|
|
15332
|
-
|
|
15398
|
+
Column96({ name: "sort_order", type: "smallint", default: 0 })
|
|
15333
15399
|
], PlanFeature.prototype, "sortOrder", 2);
|
|
15334
15400
|
__decorateClass([
|
|
15335
|
-
|
|
15401
|
+
Column96({ name: "is_active", type: "boolean", default: true })
|
|
15336
15402
|
], PlanFeature.prototype, "isActive", 2);
|
|
15337
15403
|
PlanFeature = __decorateClass([
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15404
|
+
Entity95("plan_features"),
|
|
15405
|
+
Index78("idx_plan_features_plan_id", ["planId"]),
|
|
15406
|
+
Index78("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
|
|
15341
15407
|
Check2("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
|
|
15342
15408
|
], PlanFeature);
|
|
15343
15409
|
|
|
15344
15410
|
// src/entities/plan-pricing.entity.ts
|
|
15345
15411
|
import {
|
|
15346
|
-
Entity as
|
|
15347
|
-
Column as
|
|
15348
|
-
ManyToOne as
|
|
15349
|
-
JoinColumn as
|
|
15350
|
-
Index as
|
|
15412
|
+
Entity as Entity96,
|
|
15413
|
+
Column as Column97,
|
|
15414
|
+
ManyToOne as ManyToOne78,
|
|
15415
|
+
JoinColumn as JoinColumn79,
|
|
15416
|
+
Index as Index79,
|
|
15351
15417
|
Unique,
|
|
15352
15418
|
Check as Check3,
|
|
15353
15419
|
BeforeInsert,
|
|
@@ -15407,56 +15473,56 @@ var PlanPricing = class extends BaseEntity {
|
|
|
15407
15473
|
};
|
|
15408
15474
|
// individual index to find pricing by plan
|
|
15409
15475
|
__decorateClass([
|
|
15410
|
-
|
|
15411
|
-
|
|
15476
|
+
Column97({ name: "plan_id", type: "integer", nullable: false }),
|
|
15477
|
+
Index79()
|
|
15412
15478
|
], PlanPricing.prototype, "planId", 2);
|
|
15413
15479
|
__decorateClass([
|
|
15414
|
-
|
|
15480
|
+
ManyToOne78(() => Plan, (plan) => plan.pricing, {
|
|
15415
15481
|
onDelete: "CASCADE",
|
|
15416
15482
|
nullable: false
|
|
15417
15483
|
}),
|
|
15418
|
-
|
|
15484
|
+
JoinColumn79({ name: "plan_id" })
|
|
15419
15485
|
], PlanPricing.prototype, "plan", 2);
|
|
15420
15486
|
__decorateClass([
|
|
15421
|
-
|
|
15487
|
+
Column97({
|
|
15422
15488
|
name: "billing_cycle",
|
|
15423
15489
|
type: "enum",
|
|
15424
15490
|
enum: PlanPricingBillingCycleEnum
|
|
15425
15491
|
})
|
|
15426
15492
|
], PlanPricing.prototype, "billingCycle", 2);
|
|
15427
15493
|
__decorateClass([
|
|
15428
|
-
|
|
15494
|
+
Column97({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
|
|
15429
15495
|
], PlanPricing.prototype, "price", 2);
|
|
15430
15496
|
__decorateClass([
|
|
15431
|
-
|
|
15497
|
+
Column97({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
|
|
15432
15498
|
], PlanPricing.prototype, "originalPrice", 2);
|
|
15433
15499
|
__decorateClass([
|
|
15434
|
-
|
|
15500
|
+
Column97({ name: "discount_pct", type: "decimal", precision: 5, scale: 2, nullable: true })
|
|
15435
15501
|
], PlanPricing.prototype, "discountPct", 2);
|
|
15436
15502
|
__decorateClass([
|
|
15437
|
-
|
|
15503
|
+
Column97({ name: "currency", type: "varchar", length: 3, default: "USD" })
|
|
15438
15504
|
], PlanPricing.prototype, "currency", 2);
|
|
15439
15505
|
__decorateClass([
|
|
15440
|
-
|
|
15506
|
+
Column97({ name: "is_free", type: "boolean", default: false })
|
|
15441
15507
|
], PlanPricing.prototype, "isFree", 2);
|
|
15442
15508
|
__decorateClass([
|
|
15443
|
-
|
|
15509
|
+
Column97({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
|
|
15444
15510
|
], PlanPricing.prototype, "stripePriceId", 2);
|
|
15445
15511
|
__decorateClass([
|
|
15446
|
-
|
|
15512
|
+
Column97({ name: "trial_days", type: "smallint", default: 0 })
|
|
15447
15513
|
], PlanPricing.prototype, "trialDays", 2);
|
|
15448
15514
|
__decorateClass([
|
|
15449
|
-
|
|
15515
|
+
Column97({ name: "is_active", type: "boolean", default: true })
|
|
15450
15516
|
], PlanPricing.prototype, "isActive", 2);
|
|
15451
15517
|
__decorateClass([
|
|
15452
15518
|
BeforeInsert(),
|
|
15453
15519
|
BeforeUpdate()
|
|
15454
15520
|
], PlanPricing.prototype, "sanitize", 1);
|
|
15455
15521
|
PlanPricing = __decorateClass([
|
|
15456
|
-
|
|
15522
|
+
Entity96("plan_pricings"),
|
|
15457
15523
|
Unique("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
|
|
15458
|
-
|
|
15459
|
-
|
|
15524
|
+
Index79("idx_plan_pricings_plan_id", ["planId"]),
|
|
15525
|
+
Index79("idx_plan_pricings_active", ["isActive", "billingCycle"]),
|
|
15460
15526
|
Check3("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
|
|
15461
15527
|
Check3("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
|
|
15462
15528
|
Check3("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
|
|
@@ -15478,22 +15544,22 @@ var Plan = class extends BaseEntity {
|
|
|
15478
15544
|
}
|
|
15479
15545
|
};
|
|
15480
15546
|
__decorateClass([
|
|
15481
|
-
|
|
15547
|
+
Column98({ name: "name", type: "varchar", length: 100 })
|
|
15482
15548
|
], Plan.prototype, "name", 2);
|
|
15483
15549
|
__decorateClass([
|
|
15484
|
-
|
|
15550
|
+
Column98({ name: "slug", type: "varchar", length: 100 })
|
|
15485
15551
|
], Plan.prototype, "slug", 2);
|
|
15486
15552
|
__decorateClass([
|
|
15487
|
-
|
|
15553
|
+
Column98({ name: "badge_label", type: "varchar", length: 60, nullable: true })
|
|
15488
15554
|
], Plan.prototype, "badgeLabel", 2);
|
|
15489
15555
|
__decorateClass([
|
|
15490
|
-
|
|
15556
|
+
Column98({ name: "sort_order", type: "smallint", default: 0 })
|
|
15491
15557
|
], Plan.prototype, "sortOrder", 2);
|
|
15492
15558
|
__decorateClass([
|
|
15493
|
-
|
|
15559
|
+
Column98({ name: "is_active", type: "boolean", default: true })
|
|
15494
15560
|
], Plan.prototype, "isActive", 2);
|
|
15495
15561
|
__decorateClass([
|
|
15496
|
-
|
|
15562
|
+
Column98({
|
|
15497
15563
|
name: "plan_type",
|
|
15498
15564
|
type: "enum",
|
|
15499
15565
|
enum: PlanTypeEnum,
|
|
@@ -15501,10 +15567,10 @@ __decorateClass([
|
|
|
15501
15567
|
})
|
|
15502
15568
|
], Plan.prototype, "planType", 2);
|
|
15503
15569
|
__decorateClass([
|
|
15504
|
-
|
|
15570
|
+
Column98({ name: "metadata", type: "jsonb", default: {} })
|
|
15505
15571
|
], Plan.prototype, "metadata", 2);
|
|
15506
15572
|
__decorateClass([
|
|
15507
|
-
|
|
15573
|
+
Column98({ name: "stripe_product_id", type: "varchar", length: 100, nullable: true })
|
|
15508
15574
|
], Plan.prototype, "stripeProductId", 2);
|
|
15509
15575
|
__decorateClass([
|
|
15510
15576
|
BeforeInsert2(),
|
|
@@ -15521,21 +15587,21 @@ __decorateClass([
|
|
|
15521
15587
|
})
|
|
15522
15588
|
], Plan.prototype, "pricing", 2);
|
|
15523
15589
|
Plan = __decorateClass([
|
|
15524
|
-
|
|
15525
|
-
|
|
15590
|
+
Entity97("plans"),
|
|
15591
|
+
Index80("idx_plans_slug_plan_type", ["slug", "planType"], {
|
|
15526
15592
|
unique: true,
|
|
15527
15593
|
where: '"is_deleted" IS FALSE'
|
|
15528
15594
|
}),
|
|
15529
|
-
|
|
15595
|
+
Index80("idx_plans_active_sort", ["isActive", "sortOrder"]),
|
|
15530
15596
|
Check4("chk_plans_sort_order_positive", '"sort_order" >= 0')
|
|
15531
15597
|
], Plan);
|
|
15532
15598
|
|
|
15533
15599
|
// src/entities/subscription-feature.entity.ts
|
|
15534
15600
|
import {
|
|
15535
|
-
Entity as
|
|
15536
|
-
Column as
|
|
15601
|
+
Entity as Entity98,
|
|
15602
|
+
Column as Column99,
|
|
15537
15603
|
Check as Check5,
|
|
15538
|
-
Index as
|
|
15604
|
+
Index as Index81,
|
|
15539
15605
|
BeforeInsert as BeforeInsert3,
|
|
15540
15606
|
BeforeUpdate as BeforeUpdate3
|
|
15541
15607
|
} from "typeorm";
|
|
@@ -15553,33 +15619,33 @@ var SubscriptionFeature = class extends BaseEntity {
|
|
|
15553
15619
|
}
|
|
15554
15620
|
};
|
|
15555
15621
|
__decorateClass([
|
|
15556
|
-
|
|
15622
|
+
Column99({ name: "name", type: "varchar", length: 200 })
|
|
15557
15623
|
], SubscriptionFeature.prototype, "name", 2);
|
|
15558
15624
|
__decorateClass([
|
|
15559
|
-
|
|
15625
|
+
Column99({ name: "slug", type: "varchar", length: 100 })
|
|
15560
15626
|
], SubscriptionFeature.prototype, "slug", 2);
|
|
15561
15627
|
__decorateClass([
|
|
15562
|
-
|
|
15628
|
+
Column99({ name: "tooltip", type: "varchar", length: 300, nullable: true })
|
|
15563
15629
|
], SubscriptionFeature.prototype, "tooltip", 2);
|
|
15564
15630
|
__decorateClass([
|
|
15565
|
-
|
|
15631
|
+
Column99({ name: "sort_order", type: "smallint", default: 0 })
|
|
15566
15632
|
], SubscriptionFeature.prototype, "sortOrder", 2);
|
|
15567
15633
|
__decorateClass([
|
|
15568
|
-
|
|
15634
|
+
Column99({ name: "is_active", type: "boolean", default: true })
|
|
15569
15635
|
], SubscriptionFeature.prototype, "isActive", 2);
|
|
15570
15636
|
__decorateClass([
|
|
15571
15637
|
BeforeInsert3(),
|
|
15572
15638
|
BeforeUpdate3()
|
|
15573
15639
|
], SubscriptionFeature.prototype, "createSlug", 1);
|
|
15574
15640
|
SubscriptionFeature = __decorateClass([
|
|
15575
|
-
|
|
15576
|
-
|
|
15577
|
-
|
|
15641
|
+
Entity98("subscription_features"),
|
|
15642
|
+
Index81("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
|
|
15643
|
+
Index81("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
|
|
15578
15644
|
Check5("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
|
|
15579
15645
|
], SubscriptionFeature);
|
|
15580
15646
|
|
|
15581
15647
|
// src/entities/user-subscription-transaction.entity.ts
|
|
15582
|
-
import { Entity as
|
|
15648
|
+
import { Entity as Entity99, Column as Column100, Index as Index82, ManyToOne as ManyToOne79, JoinColumn as JoinColumn80 } from "typeorm";
|
|
15583
15649
|
var UserSubscriptionTransactionTypeEnum = /* @__PURE__ */ ((UserSubscriptionTransactionTypeEnum2) => {
|
|
15584
15650
|
UserSubscriptionTransactionTypeEnum2["SUBSCRIPTION_INITIATED"] = "SUBSCRIPTION_INITIATED";
|
|
15585
15651
|
UserSubscriptionTransactionTypeEnum2["CHECKOUT_SESSION_CREATED"] = "CHECKOUT_SESSION_CREATED";
|
|
@@ -15597,25 +15663,25 @@ var UserSubscriptionTransactionStatusEnum = /* @__PURE__ */ ((UserSubscriptionTr
|
|
|
15597
15663
|
var UserSubscriptionTransaction = class extends BaseEntity {
|
|
15598
15664
|
};
|
|
15599
15665
|
__decorateClass([
|
|
15600
|
-
|
|
15601
|
-
|
|
15666
|
+
Column100({ name: "user_subscription_id", type: "integer", nullable: false }),
|
|
15667
|
+
Index82()
|
|
15602
15668
|
], UserSubscriptionTransaction.prototype, "userSubscriptionId", 2);
|
|
15603
15669
|
__decorateClass([
|
|
15604
|
-
|
|
15605
|
-
|
|
15670
|
+
ManyToOne79(() => UserSubscription, { onDelete: "CASCADE", nullable: false }),
|
|
15671
|
+
JoinColumn80({ name: "user_subscription_id" })
|
|
15606
15672
|
], UserSubscriptionTransaction.prototype, "userSubscription", 2);
|
|
15607
15673
|
__decorateClass([
|
|
15608
|
-
|
|
15674
|
+
Column100({ name: "user_id", type: "integer", nullable: false })
|
|
15609
15675
|
], UserSubscriptionTransaction.prototype, "userId", 2);
|
|
15610
15676
|
__decorateClass([
|
|
15611
|
-
|
|
15677
|
+
Column100({
|
|
15612
15678
|
name: "type",
|
|
15613
15679
|
type: "enum",
|
|
15614
15680
|
enum: UserSubscriptionTransactionTypeEnum
|
|
15615
15681
|
})
|
|
15616
15682
|
], UserSubscriptionTransaction.prototype, "type", 2);
|
|
15617
15683
|
__decorateClass([
|
|
15618
|
-
|
|
15684
|
+
Column100({
|
|
15619
15685
|
name: "status",
|
|
15620
15686
|
type: "enum",
|
|
15621
15687
|
enum: UserSubscriptionTransactionStatusEnum,
|
|
@@ -15623,73 +15689,133 @@ __decorateClass([
|
|
|
15623
15689
|
})
|
|
15624
15690
|
], UserSubscriptionTransaction.prototype, "status", 2);
|
|
15625
15691
|
__decorateClass([
|
|
15626
|
-
|
|
15692
|
+
Column100({ name: "plan_name", type: "text", nullable: true })
|
|
15627
15693
|
], UserSubscriptionTransaction.prototype, "planName", 2);
|
|
15628
15694
|
__decorateClass([
|
|
15629
|
-
|
|
15695
|
+
Column100({ name: "amount_minor", type: "integer", nullable: true })
|
|
15630
15696
|
], UserSubscriptionTransaction.prototype, "amountMinor", 2);
|
|
15631
15697
|
__decorateClass([
|
|
15632
|
-
|
|
15698
|
+
Column100({ name: "currency", type: "varchar", length: 3, nullable: true })
|
|
15633
15699
|
], UserSubscriptionTransaction.prototype, "currency", 2);
|
|
15634
15700
|
__decorateClass([
|
|
15635
|
-
|
|
15701
|
+
Column100({ name: "stripe_event_id", type: "varchar", length: 255, nullable: true })
|
|
15636
15702
|
], UserSubscriptionTransaction.prototype, "stripeEventId", 2);
|
|
15637
15703
|
__decorateClass([
|
|
15638
|
-
|
|
15704
|
+
Column100({ name: "stripe_event_type", type: "varchar", length: 120, nullable: true })
|
|
15639
15705
|
], UserSubscriptionTransaction.prototype, "stripeEventType", 2);
|
|
15640
15706
|
__decorateClass([
|
|
15641
|
-
|
|
15707
|
+
Column100({ name: "stripe_subscription_id", type: "varchar", length: 64, nullable: true })
|
|
15642
15708
|
], UserSubscriptionTransaction.prototype, "stripeSubscriptionId", 2);
|
|
15643
15709
|
__decorateClass([
|
|
15644
|
-
|
|
15710
|
+
Column100({ name: "stripe_invoice_id", type: "varchar", length: 255, nullable: true })
|
|
15645
15711
|
], UserSubscriptionTransaction.prototype, "stripeInvoiceId", 2);
|
|
15646
15712
|
__decorateClass([
|
|
15647
|
-
|
|
15713
|
+
Column100({ name: "description", type: "text", nullable: true })
|
|
15648
15714
|
], UserSubscriptionTransaction.prototype, "description", 2);
|
|
15649
15715
|
__decorateClass([
|
|
15650
|
-
|
|
15716
|
+
Column100({ name: "invoice_url", type: "text", nullable: true })
|
|
15651
15717
|
], UserSubscriptionTransaction.prototype, "invoiceUrl", 2);
|
|
15652
15718
|
__decorateClass([
|
|
15653
|
-
|
|
15719
|
+
Column100({ name: "checkout_request_payload", type: "jsonb", nullable: true })
|
|
15654
15720
|
], UserSubscriptionTransaction.prototype, "checkoutRequestPayload", 2);
|
|
15655
15721
|
__decorateClass([
|
|
15656
|
-
|
|
15722
|
+
Column100({ name: "checkout_response_payload", type: "jsonb", nullable: true })
|
|
15657
15723
|
], UserSubscriptionTransaction.prototype, "checkoutResponsePayload", 2);
|
|
15658
15724
|
__decorateClass([
|
|
15659
|
-
|
|
15725
|
+
Column100({ name: "webhook_payload", type: "jsonb", nullable: true })
|
|
15660
15726
|
], UserSubscriptionTransaction.prototype, "webhookPayload", 2);
|
|
15661
15727
|
__decorateClass([
|
|
15662
|
-
|
|
15728
|
+
Column100({ name: "metadata", type: "jsonb", nullable: true, default: {} })
|
|
15663
15729
|
], UserSubscriptionTransaction.prototype, "metadata", 2);
|
|
15664
15730
|
UserSubscriptionTransaction = __decorateClass([
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15731
|
+
Entity99("user_subscription_transactions"),
|
|
15732
|
+
Index82("idx_user_sub_tx_user_subscription_id", ["userSubscriptionId"]),
|
|
15733
|
+
Index82("idx_user_sub_tx_user_id", ["userId"]),
|
|
15734
|
+
Index82("idx_user_sub_tx_stripe_event_id", ["stripeEventId"])
|
|
15669
15735
|
], UserSubscriptionTransaction);
|
|
15670
15736
|
|
|
15671
15737
|
// src/entities/vendor-api-configuration.entity.ts
|
|
15672
|
-
import { Column as
|
|
15738
|
+
import { Column as Column101, Entity as Entity100 } from "typeorm";
|
|
15673
15739
|
var VendorApiConfiguration = class extends BaseEntity {
|
|
15674
15740
|
};
|
|
15675
15741
|
__decorateClass([
|
|
15676
|
-
|
|
15742
|
+
Column101({ name: "vendor_name", type: "varchar", length: 255 })
|
|
15677
15743
|
], VendorApiConfiguration.prototype, "vendorName", 2);
|
|
15678
15744
|
__decorateClass([
|
|
15679
|
-
|
|
15745
|
+
Column101({ name: "vendor_api_key", type: "varchar", length: 255 })
|
|
15680
15746
|
], VendorApiConfiguration.prototype, "vendorApiKey", 2);
|
|
15681
15747
|
__decorateClass([
|
|
15682
|
-
|
|
15748
|
+
Column101({ name: "vendor_api_secret_key", type: "text" })
|
|
15683
15749
|
], VendorApiConfiguration.prototype, "vendorApiSecretKey", 2);
|
|
15684
15750
|
__decorateClass([
|
|
15685
|
-
|
|
15751
|
+
Column101({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
15686
15752
|
], VendorApiConfiguration.prototype, "slug", 2);
|
|
15687
15753
|
__decorateClass([
|
|
15688
|
-
|
|
15754
|
+
Column101({ name: "is_active", type: "boolean", default: true })
|
|
15689
15755
|
], VendorApiConfiguration.prototype, "isActive", 2);
|
|
15690
15756
|
VendorApiConfiguration = __decorateClass([
|
|
15691
|
-
|
|
15757
|
+
Entity100("vendor_api_configurations")
|
|
15692
15758
|
], VendorApiConfiguration);
|
|
15759
|
+
|
|
15760
|
+
// src/entities/ekyc-verification-log.entity.ts
|
|
15761
|
+
import {
|
|
15762
|
+
Entity as Entity101,
|
|
15763
|
+
Column as Column102,
|
|
15764
|
+
PrimaryGeneratedColumn as PrimaryGeneratedColumn7
|
|
15765
|
+
} from "typeorm";
|
|
15766
|
+
var EkycVerificationLogStatusEnum = /* @__PURE__ */ ((EkycVerificationLogStatusEnum2) => {
|
|
15767
|
+
EkycVerificationLogStatusEnum2["NOT_STARTED"] = "NOT_STARTED";
|
|
15768
|
+
EkycVerificationLogStatusEnum2["NOT_FINISHED"] = "NOT_FINISHED";
|
|
15769
|
+
EkycVerificationLogStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
15770
|
+
EkycVerificationLogStatusEnum2["APPROVED"] = "APPROVED";
|
|
15771
|
+
EkycVerificationLogStatusEnum2["DECLINED"] = "DECLINED";
|
|
15772
|
+
EkycVerificationLogStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
|
|
15773
|
+
EkycVerificationLogStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
15774
|
+
EkycVerificationLogStatusEnum2["KYC_EXPIRED"] = "KYC_EXPIRED";
|
|
15775
|
+
EkycVerificationLogStatusEnum2["ABANDONED"] = "ABANDONED";
|
|
15776
|
+
EkycVerificationLogStatusEnum2["RESUBMITTED"] = "RESUBMITTED";
|
|
15777
|
+
EkycVerificationLogStatusEnum2["AWAITING_USER"] = "AWAITING_USER";
|
|
15778
|
+
return EkycVerificationLogStatusEnum2;
|
|
15779
|
+
})(EkycVerificationLogStatusEnum || {});
|
|
15780
|
+
var EkycVerifcationLog = class {
|
|
15781
|
+
};
|
|
15782
|
+
__decorateClass([
|
|
15783
|
+
PrimaryGeneratedColumn7("increment", { type: "integer" })
|
|
15784
|
+
], EkycVerifcationLog.prototype, "id", 2);
|
|
15785
|
+
__decorateClass([
|
|
15786
|
+
Column102({ name: "session_id", type: "varchar", unique: true })
|
|
15787
|
+
], EkycVerifcationLog.prototype, "sessionId", 2);
|
|
15788
|
+
__decorateClass([
|
|
15789
|
+
Column102({ name: "workflow_id", type: "varchar", unique: true })
|
|
15790
|
+
], EkycVerifcationLog.prototype, "workflowId", 2);
|
|
15791
|
+
__decorateClass([
|
|
15792
|
+
Column102({ name: "callback_url", type: "varchar", unique: true })
|
|
15793
|
+
], EkycVerifcationLog.prototype, "callBackUrl", 2);
|
|
15794
|
+
__decorateClass([
|
|
15795
|
+
Column102({
|
|
15796
|
+
type: "enum",
|
|
15797
|
+
enum: EkycVerificationLogStatusEnum,
|
|
15798
|
+
nullable: true
|
|
15799
|
+
})
|
|
15800
|
+
], EkycVerifcationLog.prototype, "status", 2);
|
|
15801
|
+
__decorateClass([
|
|
15802
|
+
Column102({ name: "signature_method", type: "varchar", nullable: true })
|
|
15803
|
+
], EkycVerifcationLog.prototype, "signatureMethod", 2);
|
|
15804
|
+
__decorateClass([
|
|
15805
|
+
Column102({ name: "is_signature_valid", type: "boolean", default: false })
|
|
15806
|
+
], EkycVerifcationLog.prototype, "isSignatureValid", 2);
|
|
15807
|
+
__decorateClass([
|
|
15808
|
+
Column102({ name: "raw_payload", type: "text", nullable: true })
|
|
15809
|
+
], EkycVerifcationLog.prototype, "rawPayload", 2);
|
|
15810
|
+
__decorateClass([
|
|
15811
|
+
Column102({ name: "headers", type: "jsonb", nullable: true })
|
|
15812
|
+
], EkycVerifcationLog.prototype, "headers", 2);
|
|
15813
|
+
__decorateClass([
|
|
15814
|
+
Column102({ name: "error_message", type: "text", nullable: true })
|
|
15815
|
+
], EkycVerifcationLog.prototype, "errorMessage", 2);
|
|
15816
|
+
EkycVerifcationLog = __decorateClass([
|
|
15817
|
+
Entity101("ekyc_verification_logs")
|
|
15818
|
+
], EkycVerifcationLog);
|
|
15693
15819
|
export {
|
|
15694
15820
|
ADMIN_FREELANCER_PATTERN,
|
|
15695
15821
|
ADMIN_JOB_PATTERN,
|
|
@@ -15842,6 +15968,10 @@ export {
|
|
|
15842
15968
|
DurationTypeEnum,
|
|
15843
15969
|
EMAIL_PATTERN,
|
|
15844
15970
|
EducationDto,
|
|
15971
|
+
EkycVerifcationLog,
|
|
15972
|
+
EkycVerificationLogStatusEnum,
|
|
15973
|
+
EkycVerificationSession,
|
|
15974
|
+
EkycVerificationSessionStatusEnum,
|
|
15845
15975
|
EscrowFundContractDto,
|
|
15846
15976
|
EscrowWallet,
|
|
15847
15977
|
EscrowWalletTransaction,
|