@natrave/shared-entities 9.9.0 → 9.10.0
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.
|
@@ -16,6 +16,7 @@ export declare class Organization implements IOrganization {
|
|
|
16
16
|
isActualOrganization: boolean;
|
|
17
17
|
accessVersion: number;
|
|
18
18
|
createdByOrganizationUserId: number | null;
|
|
19
|
+
nameConfirmedAt: Date | null;
|
|
19
20
|
createdAt: Date;
|
|
20
21
|
updatedAt: Date;
|
|
21
22
|
deletedAt: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organizations/organization.entity.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"organization.entity.d.ts","sourceRoot":"","sources":["../../../src/central-auth/organizations/organization.entity.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAiB9D,qBAYa,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;IASd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAOrB,IAAI,EAAE,gBAAgB,CAAC;IAOvB,MAAM,EAAE,kBAAkB,CAAC;IAU3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ1B,oBAAoB,EAAE,OAAO,CAAC;IAU9B,aAAa,EAAE,MAAM,CAAC;IAStB,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAU3C,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAO7B,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAYvB,SAAS,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAMnC,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAM1B,WAAW,EAAE,UAAU,EAAE,CAAC;IAM1B,wBAAwB,EAAE,uBAAuB,EAAE,CAAC;IAMpD,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B"}
|
|
@@ -103,6 +103,14 @@ __decorateClass([
|
|
|
103
103
|
comment: "FK organization_users.id (SET NULL): quem criou a organiza\xE7\xE3o. Na carga, a pessoa da organiza\xE7\xE3o."
|
|
104
104
|
})
|
|
105
105
|
], Organization.prototype, "createdByOrganizationUserId", 2);
|
|
106
|
+
__decorateClass([
|
|
107
|
+
Column({
|
|
108
|
+
name: "name_confirmed_at",
|
|
109
|
+
type: "timestamptz",
|
|
110
|
+
nullable: true,
|
|
111
|
+
comment: "Quando um Admin confirmou ou trocou o nome. Nulo: o nome ainda \xE9 o da pessoa."
|
|
112
|
+
})
|
|
113
|
+
], Organization.prototype, "nameConfirmedAt", 2);
|
|
106
114
|
__decorateClass([
|
|
107
115
|
CreateDateColumn({
|
|
108
116
|
name: "created_at",
|
|
@@ -146,7 +154,6 @@ __decorateClass([
|
|
|
146
154
|
], Organization.prototype, "phoneNumbers", 2);
|
|
147
155
|
Organization = __decorateClass([
|
|
148
156
|
Index("UQ_organization_document", ["document"], { unique: true, where: '"deleted_at" IS NULL' }),
|
|
149
|
-
Index("UQ_organization_email", ["email"], { unique: true, where: '"deleted_at" IS NULL' }),
|
|
150
157
|
Index("UQ_organization_phone", ["phone"], { unique: true, where: '"deleted_at" IS NULL' }),
|
|
151
158
|
Index("UQ_organization_externalId", ["externalId"], {
|
|
152
159
|
unique: true,
|