@natrave/shared-entities 1.6.7 → 1.6.8

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.
@@ -12,6 +12,8 @@ export declare class OrganizationUser implements IOrganizationUser {
12
12
  phone: string;
13
13
  status: OrganizationUserStatus;
14
14
  externalId: string | null;
15
+ isEmailVerified: boolean;
16
+ emailVerifiedAt: Date | null;
15
17
  createdAt: Date;
16
18
  updatedAt: Date;
17
19
  organization: Organization;
@@ -1 +1 @@
1
- {"version":3,"file":"organization-user.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organization-users/organization-user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAexF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBAWa,gBAAiB,YAAW,iBAAiB;IAExD,EAAE,EAAE,MAAM,CAAC;IAOX,cAAc,EAAE,MAAM,CAAC;IAQvB,SAAS,EAAE,MAAM,CAAC;IAQlB,QAAQ,EAAE,MAAM,CAAC;IAQjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAOxB,KAAK,EAAE,MAAM,CAAC;IAOd,KAAK,EAAE,MAAM,CAAC;IAQd,MAAM,EAAE,sBAAsB,CAAC;IAU/B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAO1B,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,YAAY,EAAE,YAAY,CAAC;IAM3B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IAMxC,WAAW,EAAE,2BAA2B,CAAC;CAC1C"}
1
+ {"version":3,"file":"organization-user.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organization-users/organization-user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAexF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBAWa,gBAAiB,YAAW,iBAAiB;IAExD,EAAE,EAAE,MAAM,CAAC;IAOX,cAAc,EAAE,MAAM,CAAC;IAQvB,SAAS,EAAE,MAAM,CAAC;IAQlB,QAAQ,EAAE,MAAM,CAAC;IAQjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAOxB,KAAK,EAAE,MAAM,CAAC;IAOd,KAAK,EAAE,MAAM,CAAC;IAQd,MAAM,EAAE,sBAAsB,CAAC;IAU/B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ1B,eAAe,EAAE,OAAO,CAAC;IAQzB,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAO7B,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,YAAY,EAAE,YAAY,CAAC;IAM3B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IAMxC,WAAW,EAAE,2BAA2B,CAAC;CAC1C"}
@@ -91,6 +91,22 @@ __decorateClass([
91
91
  comment: "Identificador externo do usu\xE1rio, usado para integra\xE7\xE3o com provedores de autentica\xE7\xE3o como Clerk."
92
92
  })
93
93
  ], OrganizationUser.prototype, "externalId", 2);
94
+ __decorateClass([
95
+ Column({
96
+ name: "is_email_verified",
97
+ type: "boolean",
98
+ default: false,
99
+ comment: "Indica se o e-mail do usu\xE1rio j\xE1 foi verificado."
100
+ })
101
+ ], OrganizationUser.prototype, "isEmailVerified", 2);
102
+ __decorateClass([
103
+ Column({
104
+ name: "email_verified_at",
105
+ type: "timestamptz",
106
+ nullable: true,
107
+ comment: "Data e hora em que o e-mail do usu\xE1rio foi verificado."
108
+ })
109
+ ], OrganizationUser.prototype, "emailVerifiedAt", 2);
94
110
  __decorateClass([
95
111
  CreateDateColumn({
96
112
  name: "created_at",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",