@natrave/shared-entities 1.2.34 → 1.2.35

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.
@@ -10,7 +10,6 @@ export declare class OrganizationUser implements IOrganizationUser {
10
10
  phone: string;
11
11
  status: OrganizationUserStatus;
12
12
  externalId: string | null;
13
- isEmailVerified: boolean;
14
13
  createdAt: Date;
15
14
  updatedAt: Date;
16
15
  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;AAaxF,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;IAOzB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAShB,YAAY,EAAE,YAAY,CAAC;CAC5B"}
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;AAaxF,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;CAC5B"}
@@ -87,14 +87,6 @@ __decorateClass([
87
87
  comment: "Identificador externo do usu\xE1rio, usado para integra\xE7\xE3o com provedores de autentica\xE7\xE3o como Clerk."
88
88
  })
89
89
  ], OrganizationUser.prototype, "externalId", 2);
90
- __decorateClass([
91
- Column({
92
- name: "is_email_verified",
93
- type: "boolean",
94
- default: false,
95
- comment: "Indica se o e-mail do usu\xE1rio j\xE1 foi verificado."
96
- })
97
- ], OrganizationUser.prototype, "isEmailVerified", 2);
98
90
  __decorateClass([
99
91
  CreateDateColumn({
100
92
  name: "created_at",
@@ -10,7 +10,6 @@ export declare class Organization implements IOrganization {
10
10
  type: OrganizationType;
11
11
  status: OrganizationStatus;
12
12
  externalId: string | null;
13
- isEmailVerified: boolean;
14
13
  createdAt: Date;
15
14
  updatedAt: Date;
16
15
  users: OrganizationUser[];
@@ -1 +1 @@
1
- {"version":3,"file":"organization.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organizations/organization.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAYlG,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAUlF,qBAWa,YAAa,YAAW,aAAa;IAEhD,EAAE,EAAE,MAAM,CAAC;IAOX,IAAI,EAAE,MAAM,CAAC;IAQb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAOd,IAAI,EAAE,gBAAgB,CAAC;IAOvB,MAAM,EAAE,kBAAkB,CAAC;IAU3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ1B,eAAe,EAAE,OAAO,CAAC;IAOzB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAM1B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B"}
1
+ {"version":3,"file":"organization.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organizations/organization.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAYlG,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAUlF,qBAUa,YAAa,YAAW,aAAa;IAEhD,EAAE,EAAE,MAAM,CAAC;IAOX,IAAI,EAAE,MAAM,CAAC;IAQb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAOd,IAAI,EAAE,gBAAgB,CAAC;IAOvB,MAAM,EAAE,kBAAkB,CAAC;IAU3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAO1B,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAM1B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B"}
@@ -70,14 +70,6 @@ __decorateClass([
70
70
  comment: "Identificador externo da organiza\xE7\xE3o, usado para integra\xE7\xE3o com provedores como Clerk."
71
71
  })
72
72
  ], Organization.prototype, "externalId", 2);
73
- __decorateClass([
74
- Column({
75
- name: "is_email_verified",
76
- type: "boolean",
77
- default: false,
78
- comment: "Indica se o e-mail da organiza\xE7\xE3o j\xE1 foi verificado."
79
- })
80
- ], Organization.prototype, "isEmailVerified", 2);
81
73
  __decorateClass([
82
74
  CreateDateColumn({
83
75
  name: "created_at",
@@ -103,7 +95,6 @@ Organization = __decorateClass([
103
95
  Unique("UQ_organization_email", ["email"]),
104
96
  Unique("UQ_organization_phone", ["phone"]),
105
97
  Unique("UQ_organization_externalId", ["externalId"]),
106
- Unique("UQ_organization_name", ["name"]),
107
98
  Index("idx_organization_document", ["document"]),
108
99
  Index("idx_organization_email", ["email"]),
109
100
  Index("idx_organization_phone", ["phone"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natrave/shared-entities",
3
- "version": "1.2.34",
3
+ "version": "1.2.35",
4
4
  "description": "Entidades compartilhadass da NaTrave",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "ts-node": "^10.9.2"
44
44
  },
45
45
  "dependencies": {
46
- "@natrave/auth-service-types": "^1.1.60",
46
+ "@natrave/auth-service-types": "^1.1.61",
47
47
  "@natrave/tournaments-service-types": "^1.1.53",
48
48
  "reflect-metadata": "^0.2.2",
49
49
  "typeorm": "^0.3.22"