@likewatt/models 1.128.0 → 1.129.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.
- package/dist/core/User.d.ts +2 -0
- package/dist/core/User.js +22 -0
- package/package.json +1 -1
package/dist/core/User.d.ts
CHANGED
|
@@ -128,6 +128,8 @@ export declare class User {
|
|
|
128
128
|
maxUsers?: number;
|
|
129
129
|
trackerOkd: boolean;
|
|
130
130
|
auroraEnabled: boolean;
|
|
131
|
+
auroraPartnerId?: string | null;
|
|
132
|
+
auroraUserId?: string | null;
|
|
131
133
|
isSignUpEmailSent: boolean;
|
|
132
134
|
isAdminEmailSent: boolean;
|
|
133
135
|
automaticRenew: boolean;
|
package/dist/core/User.js
CHANGED
|
@@ -596,6 +596,28 @@ __decorate([
|
|
|
596
596
|
(0, class_validator_1.IsBoolean)(),
|
|
597
597
|
__metadata("design:type", Boolean)
|
|
598
598
|
], User.prototype, "auroraEnabled", void 0);
|
|
599
|
+
__decorate([
|
|
600
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
601
|
+
description: 'Identifiant du Partner Aurora Solar de l’organisation (1 Partner par compte principal, clé = principalId). Posé sur le compte principal, provisionné paresseusement au premier usage Aurora, puis réutilisé. Garant de l’isolation multi-comptes (les projets sont scopés à ce partner_id).',
|
|
602
|
+
type: String,
|
|
603
|
+
nullable: true,
|
|
604
|
+
}),
|
|
605
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
606
|
+
(0, class_validator_1.IsOptional)(),
|
|
607
|
+
(0, class_validator_1.IsString)(),
|
|
608
|
+
__metadata("design:type", Object)
|
|
609
|
+
], User.prototype, "auroraPartnerId", void 0);
|
|
610
|
+
__decorate([
|
|
611
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
612
|
+
description: 'Identifiant de l’utilisateur Aurora Solar correspondant (external_provider_id = _id Likewatt). Provisionné paresseusement, rattaché au Partner de l’organisation avec un rôle non-Admin. Alimente le SSO/iframe scopé à l’organisation.',
|
|
613
|
+
type: String,
|
|
614
|
+
nullable: true,
|
|
615
|
+
}),
|
|
616
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
617
|
+
(0, class_validator_1.IsOptional)(),
|
|
618
|
+
(0, class_validator_1.IsString)(),
|
|
619
|
+
__metadata("design:type", Object)
|
|
620
|
+
], User.prototype, "auroraUserId", void 0);
|
|
599
621
|
__decorate([
|
|
600
622
|
(0, swagger_1.ApiProperty)({
|
|
601
623
|
description: 'E-mail de création envoyé',
|