@experts_hub/shared 1.0.737 → 1.0.739

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.
@@ -93,8 +93,8 @@ export declare class User extends BaseEntity {
93
93
  isMobileVerified: boolean;
94
94
  isSocial: boolean;
95
95
  isReferralUser: boolean;
96
- isVerified: boolean;
97
- verifiedAt: Date | null;
96
+ isEkycVerified: boolean;
97
+ ekycVerifiedAt: Date | null;
98
98
  lastLoginAt: Date;
99
99
  lastLoginIp: string;
100
100
  resetToken: string | null;
package/dist/index.d.mts CHANGED
@@ -2145,8 +2145,8 @@ declare class User extends BaseEntity {
2145
2145
  isMobileVerified: boolean;
2146
2146
  isSocial: boolean;
2147
2147
  isReferralUser: boolean;
2148
- isVerified: boolean;
2149
- verifiedAt: Date | null;
2148
+ isEkycVerified: boolean;
2149
+ ekycVerifiedAt: Date | null;
2150
2150
  lastLoginAt: Date;
2151
2151
  lastLoginIp: string;
2152
2152
  resetToken: string | null;
package/dist/index.d.ts CHANGED
@@ -2145,8 +2145,8 @@ declare class User extends BaseEntity {
2145
2145
  isMobileVerified: boolean;
2146
2146
  isSocial: boolean;
2147
2147
  isReferralUser: boolean;
2148
- isVerified: boolean;
2149
- verifiedAt: Date | null;
2148
+ isEkycVerified: boolean;
2149
+ ekycVerifiedAt: Date | null;
2150
2150
  lastLoginAt: Date;
2151
2151
  lastLoginIp: string;
2152
2152
  resetToken: string | null;
package/dist/index.js CHANGED
@@ -7166,15 +7166,15 @@ __decorateClass([
7166
7166
  (0, import_typeorm82.Column)({ name: "is_referral_user", type: "boolean", default: false })
7167
7167
  ], User.prototype, "isReferralUser", 2);
7168
7168
  __decorateClass([
7169
- (0, import_typeorm82.Column)({ name: "is_verified", type: "boolean", default: false })
7170
- ], User.prototype, "isVerified", 2);
7169
+ (0, import_typeorm82.Column)({ name: "is_ekyc_verified", type: "boolean", default: false })
7170
+ ], User.prototype, "isEkycVerified", 2);
7171
7171
  __decorateClass([
7172
7172
  (0, import_typeorm82.Column)({
7173
- name: "verified_at",
7173
+ name: "ekyc_verified_at",
7174
7174
  type: "timestamp with time zone",
7175
7175
  nullable: true
7176
7176
  })
7177
- ], User.prototype, "verifiedAt", 2);
7177
+ ], User.prototype, "ekycVerifiedAt", 2);
7178
7178
  __decorateClass([
7179
7179
  (0, import_typeorm82.Column)({
7180
7180
  name: "last_login_at",
@@ -14376,8 +14376,7 @@ __decorateClass([
14376
14376
  var CreateEkycSessionDto = class {
14377
14377
  };
14378
14378
  __decorateClass([
14379
- (0, import_class_validator180.IsNotEmpty)({ message: "workflowId is required." }),
14380
- (0, import_class_validator180.IsUUID)("4", { message: "workflowId must be a valid UUID" })
14379
+ (0, import_class_validator180.IsNotEmpty)({ message: "workflowId is required." })
14381
14380
  ], CreateEkycSessionDto.prototype, "workflowId", 2);
14382
14381
  __decorateClass([
14383
14382
  (0, import_class_validator180.IsNotEmpty)({ message: "Callback URL is required." }),
package/dist/index.mjs CHANGED
@@ -6971,15 +6971,15 @@ __decorateClass([
6971
6971
  Column82({ name: "is_referral_user", type: "boolean", default: false })
6972
6972
  ], User.prototype, "isReferralUser", 2);
6973
6973
  __decorateClass([
6974
- Column82({ name: "is_verified", type: "boolean", default: false })
6975
- ], User.prototype, "isVerified", 2);
6974
+ Column82({ name: "is_ekyc_verified", type: "boolean", default: false })
6975
+ ], User.prototype, "isEkycVerified", 2);
6976
6976
  __decorateClass([
6977
6977
  Column82({
6978
- name: "verified_at",
6978
+ name: "ekyc_verified_at",
6979
6979
  type: "timestamp with time zone",
6980
6980
  nullable: true
6981
6981
  })
6982
- ], User.prototype, "verifiedAt", 2);
6982
+ ], User.prototype, "ekycVerifiedAt", 2);
6983
6983
  __decorateClass([
6984
6984
  Column82({
6985
6985
  name: "last_login_at",
@@ -14474,7 +14474,6 @@ var DIDIT_PATTERN = {
14474
14474
  import {
14475
14475
  IsNotEmpty as IsNotEmpty143,
14476
14476
  IsOptional as IsOptional97,
14477
- IsUUID as IsUUID33,
14478
14477
  IsUrl as IsUrl8,
14479
14478
  IsString as IsString106,
14480
14479
  IsBoolean as IsBoolean26,
@@ -14534,8 +14533,7 @@ __decorateClass([
14534
14533
  var CreateEkycSessionDto = class {
14535
14534
  };
14536
14535
  __decorateClass([
14537
- IsNotEmpty143({ message: "workflowId is required." }),
14538
- IsUUID33("4", { message: "workflowId must be a valid UUID" })
14536
+ IsNotEmpty143({ message: "workflowId is required." })
14539
14537
  ], CreateEkycSessionDto.prototype, "workflowId", 2);
14540
14538
  __decorateClass([
14541
14539
  IsNotEmpty143({ message: "Callback URL is required." }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.737",
3
+ "version": "1.0.739",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",