@likewatt/models 1.109.0 → 1.110.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/CollectiveSite.d.ts +1 -0
- package/dist/core/CollectiveSite.js +11 -0
- package/dist/core/License.d.ts +1 -0
- package/dist/core/License.js +10 -0
- package/dist/core/Site.d.ts +1 -0
- package/dist/core/Site.js +11 -0
- package/dist/core/User.d.ts +1 -0
- package/dist/core/User.js +10 -0
- package/dist/core/enums/FileType.d.ts +2 -1
- package/dist/core/enums/FileType.js +1 -0
- package/dist/core/internal/aurora-result.d.ts +44 -0
- package/dist/core/internal/aurora-result.js +98 -0
- package/dist/core/internal/pv-params.d.ts +9 -0
- package/dist/core/internal/pv-params.js +13 -0
- package/dist/core/internal/pv2-paramsSchema.d.ts +5 -0
- package/dist/core/internal/pv2-paramsSchema.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
|
@@ -33,6 +33,7 @@ export declare class CollectiveSite {
|
|
|
33
33
|
hasAnalysis: boolean;
|
|
34
34
|
buildingData?: BuildingData | null;
|
|
35
35
|
buildingDataStatus?: BuildingDataStatus | null;
|
|
36
|
+
auroraProjectId?: string | null;
|
|
36
37
|
demoTemplateSourceId?: string;
|
|
37
38
|
createdAt?: Date | string;
|
|
38
39
|
updatedAt?: Date | string;
|
|
@@ -219,6 +219,17 @@ __decorate([
|
|
|
219
219
|
(0, class_validator_1.IsEnum)(BuildingDataStatus_1.BuildingDataStatus),
|
|
220
220
|
__metadata("design:type", Object)
|
|
221
221
|
], CollectiveSite.prototype, "buildingDataStatus", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
224
|
+
description: 'Identifiant du project Aurora Solar associé au site collectif (1:1, clé = adresse).',
|
|
225
|
+
type: String,
|
|
226
|
+
nullable: true,
|
|
227
|
+
}),
|
|
228
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
229
|
+
(0, class_validator_1.IsOptional)(),
|
|
230
|
+
(0, class_validator_1.IsString)(),
|
|
231
|
+
__metadata("design:type", Object)
|
|
232
|
+
], CollectiveSite.prototype, "auroraProjectId", void 0);
|
|
222
233
|
__decorate([
|
|
223
234
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
224
235
|
(0, class_validator_1.IsOptional)(),
|
package/dist/core/License.d.ts
CHANGED
package/dist/core/License.js
CHANGED
|
@@ -102,6 +102,16 @@ __decorate([
|
|
|
102
102
|
(0, class_validator_1.IsBoolean)(),
|
|
103
103
|
__metadata("design:type", Boolean)
|
|
104
104
|
], License.prototype, "trackerOkd", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, swagger_1.ApiProperty)({
|
|
107
|
+
description: 'Accès au calepinage photovoltaïque Aurora Solar (entitlement)',
|
|
108
|
+
example: false,
|
|
109
|
+
}),
|
|
110
|
+
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_validator_1.IsBoolean)(),
|
|
113
|
+
__metadata("design:type", Boolean)
|
|
114
|
+
], License.prototype, "auroraEnabled", void 0);
|
|
105
115
|
__decorate([
|
|
106
116
|
(0, swagger_1.ApiProperty)({
|
|
107
117
|
description: 'Type de l’utilisateur',
|
package/dist/core/Site.d.ts
CHANGED
|
@@ -135,6 +135,7 @@ export declare class Site {
|
|
|
135
135
|
hasContractData: boolean;
|
|
136
136
|
scenarioOption?: string;
|
|
137
137
|
invoiceData?: InvoiceOcrResult;
|
|
138
|
+
auroraProjectId?: string | null;
|
|
138
139
|
demoTemplateSourceId?: string;
|
|
139
140
|
createdAt?: Date | string;
|
|
140
141
|
updatedAt?: Date | string;
|
package/dist/core/Site.js
CHANGED
|
@@ -713,6 +713,17 @@ __decorate([
|
|
|
713
713
|
(0, class_transformer_1.Type)(() => invoiceOcrResult_1.InvoiceOcrResult),
|
|
714
714
|
__metadata("design:type", invoiceOcrResult_1.InvoiceOcrResult)
|
|
715
715
|
], Site.prototype, "invoiceData", void 0);
|
|
716
|
+
__decorate([
|
|
717
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
718
|
+
description: 'Identifiant du project Aurora Solar associé au site (1:1, clé = adresse). Créé paresseusement à la première ouverture Aurora, puis réutilisé.',
|
|
719
|
+
type: String,
|
|
720
|
+
nullable: true,
|
|
721
|
+
}),
|
|
722
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
723
|
+
(0, class_validator_1.IsOptional)(),
|
|
724
|
+
(0, class_validator_1.IsString)(),
|
|
725
|
+
__metadata("design:type", Object)
|
|
726
|
+
], Site.prototype, "auroraProjectId", void 0);
|
|
716
727
|
__decorate([
|
|
717
728
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
718
729
|
(0, class_validator_1.IsOptional)(),
|
package/dist/core/User.d.ts
CHANGED
package/dist/core/User.js
CHANGED
|
@@ -566,6 +566,16 @@ __decorate([
|
|
|
566
566
|
(0, class_validator_1.IsBoolean)(),
|
|
567
567
|
__metadata("design:type", Boolean)
|
|
568
568
|
], User.prototype, "trackerOkd", void 0);
|
|
569
|
+
__decorate([
|
|
570
|
+
(0, swagger_1.ApiProperty)({
|
|
571
|
+
description: 'Accès au calepinage photovoltaïque Aurora Solar (miroir de License.auroraEnabled)',
|
|
572
|
+
example: false,
|
|
573
|
+
}),
|
|
574
|
+
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
575
|
+
(0, class_validator_1.IsOptional)(),
|
|
576
|
+
(0, class_validator_1.IsBoolean)(),
|
|
577
|
+
__metadata("design:type", Boolean)
|
|
578
|
+
], User.prototype, "auroraEnabled", void 0);
|
|
569
579
|
__decorate([
|
|
570
580
|
(0, swagger_1.ApiProperty)({
|
|
571
581
|
description: 'E-mail de création envoyé',
|
|
@@ -56,7 +56,8 @@ export declare enum FileType {
|
|
|
56
56
|
METADATA = "metadata.json",
|
|
57
57
|
OVERLAY = "overlay.png",
|
|
58
58
|
METADATA_BUILDING = "metadataBuilding.json",
|
|
59
|
-
OVERLAY_BUILDING = "overlayBuilding.png"
|
|
59
|
+
OVERLAY_BUILDING = "overlayBuilding.png",
|
|
60
|
+
AURORA_LAYOUT = "auroraLayout.png"
|
|
60
61
|
}
|
|
61
62
|
export declare enum FileName_Extra {
|
|
62
63
|
LOG = "optiwize.log`"
|
|
@@ -61,6 +61,7 @@ var FileType;
|
|
|
61
61
|
FileType["OVERLAY"] = "overlay.png";
|
|
62
62
|
FileType["METADATA_BUILDING"] = "metadataBuilding.json";
|
|
63
63
|
FileType["OVERLAY_BUILDING"] = "overlayBuilding.png";
|
|
64
|
+
FileType["AURORA_LAYOUT"] = "auroraLayout.png";
|
|
64
65
|
})(FileType || (exports.FileType = FileType = {}));
|
|
65
66
|
var FileName_Extra;
|
|
66
67
|
(function (FileName_Extra) {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Snapshot figé du résultat d'un calepinage Aurora, embarqué dans PVParams
|
|
3
|
+
* (scénario-scoped). Il sert à ré-afficher le calepinage appliqué sans
|
|
4
|
+
* ré-interroger Aurora (D11 : snapshot embarqué dans PVParams, image stockée
|
|
5
|
+
* côté micro Files, CSV horaire stocké côté front comme fichier PV_POWERS).
|
|
6
|
+
*
|
|
7
|
+
* Les tableaux (azimuth/tilt/rowSpacing/share) sont alignés par index : une
|
|
8
|
+
* entrée par array Aurora = un pvRow Optiwize (D8).
|
|
9
|
+
*/
|
|
10
|
+
export declare class AuroraResult {
|
|
11
|
+
/** Puissance PV crête totale (kWc) — mappée sur peakPower. */
|
|
12
|
+
pvPowerKwc: number;
|
|
13
|
+
/** Nombre total de panneaux (affichage récap uniquement). */
|
|
14
|
+
panelCount: number;
|
|
15
|
+
/** Modèle de panneau (affichage récap uniquement). */
|
|
16
|
+
panelModel?: string | null;
|
|
17
|
+
/** Orientation / azimut (°) — une valeur par array/pvRow. */
|
|
18
|
+
azimuth: number[];
|
|
19
|
+
/** Inclinaison / tilt (°) — une valeur par array/pvRow. */
|
|
20
|
+
tilt: number[];
|
|
21
|
+
/** Interdistance / espacement entre rangées (m), si disponible. */
|
|
22
|
+
rowSpacing?: number | null;
|
|
23
|
+
/** Productible annuel total (kWh). */
|
|
24
|
+
annualProductionKwh: number;
|
|
25
|
+
/** Taux de dégradation annuel (best-effort). */
|
|
26
|
+
degradationRate?: number | null;
|
|
27
|
+
/** Rendement onduleur (best-effort). */
|
|
28
|
+
inverterEfficiency?: number | null;
|
|
29
|
+
/** URL Likewatt stable de l'image de calepinage (Files micro). */
|
|
30
|
+
layoutImageUrl?: string | null;
|
|
31
|
+
/** Origine de la donnée — toujours 'aurora'. */
|
|
32
|
+
source: string;
|
|
33
|
+
/** Date de simulation (ISO), posée côté serveur. */
|
|
34
|
+
simulatedAt: string;
|
|
35
|
+
}
|
|
36
|
+
export declare const AuroraResultSchema: import("mongoose").Schema<AuroraResult, import("mongoose").Model<AuroraResult, any, any, any, import("mongoose").Document<unknown, any, AuroraResult, any, {}> & AuroraResult & {
|
|
37
|
+
_id: import("mongoose").Types.ObjectId;
|
|
38
|
+
} & {
|
|
39
|
+
__v: number;
|
|
40
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, AuroraResult, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<AuroraResult>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<AuroraResult> & {
|
|
41
|
+
_id: import("mongoose").Types.ObjectId;
|
|
42
|
+
} & {
|
|
43
|
+
__v: number;
|
|
44
|
+
}>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AuroraResultSchema = exports.AuroraResult = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
/**
|
|
16
|
+
* Snapshot figé du résultat d'un calepinage Aurora, embarqué dans PVParams
|
|
17
|
+
* (scénario-scoped). Il sert à ré-afficher le calepinage appliqué sans
|
|
18
|
+
* ré-interroger Aurora (D11 : snapshot embarqué dans PVParams, image stockée
|
|
19
|
+
* côté micro Files, CSV horaire stocké côté front comme fichier PV_POWERS).
|
|
20
|
+
*
|
|
21
|
+
* Les tableaux (azimuth/tilt/rowSpacing/share) sont alignés par index : une
|
|
22
|
+
* entrée par array Aurora = un pvRow Optiwize (D8).
|
|
23
|
+
*/
|
|
24
|
+
let AuroraResult = class AuroraResult {
|
|
25
|
+
};
|
|
26
|
+
exports.AuroraResult = AuroraResult;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, mongoose_1.Prop)({ type: Number, required: true }),
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], AuroraResult.prototype, "pvPowerKwc", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, mongoose_1.Prop)({ type: Number, required: true }),
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], AuroraResult.prototype, "panelCount", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], AuroraResult.prototype, "panelModel", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, mongoose_1.Prop)({ type: [Number], default: [] }),
|
|
45
|
+
(0, class_validator_1.IsArray)(),
|
|
46
|
+
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
47
|
+
__metadata("design:type", Array)
|
|
48
|
+
], AuroraResult.prototype, "azimuth", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)({ type: [Number], default: [] }),
|
|
51
|
+
(0, class_validator_1.IsArray)(),
|
|
52
|
+
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
53
|
+
__metadata("design:type", Array)
|
|
54
|
+
], AuroraResult.prototype, "tilt", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, mongoose_1.Prop)({ type: Number, default: null }),
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_validator_1.IsNumber)(),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], AuroraResult.prototype, "rowSpacing", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, mongoose_1.Prop)({ type: Number, required: true }),
|
|
63
|
+
(0, class_validator_1.IsNumber)(),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], AuroraResult.prototype, "annualProductionKwh", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, mongoose_1.Prop)({ type: Number, default: null }),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsNumber)(),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], AuroraResult.prototype, "degradationRate", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, mongoose_1.Prop)({ type: Number, default: null }),
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
(0, class_validator_1.IsNumber)(),
|
|
76
|
+
__metadata("design:type", Object)
|
|
77
|
+
], AuroraResult.prototype, "inverterEfficiency", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
80
|
+
(0, class_validator_1.IsOptional)(),
|
|
81
|
+
(0, class_validator_1.IsString)(),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], AuroraResult.prototype, "layoutImageUrl", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, mongoose_1.Prop)({ type: String, default: 'aurora' }),
|
|
86
|
+
(0, class_validator_1.IsOptional)(),
|
|
87
|
+
(0, class_validator_1.IsString)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], AuroraResult.prototype, "source", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, mongoose_1.Prop)({ type: String, required: true }),
|
|
92
|
+
(0, class_validator_1.IsString)(),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], AuroraResult.prototype, "simulatedAt", void 0);
|
|
95
|
+
exports.AuroraResult = AuroraResult = __decorate([
|
|
96
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
97
|
+
], AuroraResult);
|
|
98
|
+
exports.AuroraResultSchema = mongoose_1.SchemaFactory.createForClass(AuroraResult);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Tracker } from './tracker';
|
|
2
2
|
import { UseCase } from './enums';
|
|
3
|
+
import { AuroraResult } from './aurora-result';
|
|
3
4
|
export declare class PVParams {
|
|
4
5
|
tracker: Tracker;
|
|
5
6
|
pvCapexTableA: number[];
|
|
@@ -37,4 +38,12 @@ export declare class PVParams {
|
|
|
37
38
|
pvAoBonus: number;
|
|
38
39
|
pvInvertorPowerRate: number;
|
|
39
40
|
pvDepreciationDuration: number;
|
|
41
|
+
/**
|
|
42
|
+
* Identifiant du design Aurora associé à cette instance PV (1:1, D2).
|
|
43
|
+
* Créé paresseusement, persisté, réutilisé. Effacé à la duplication de
|
|
44
|
+
* scénario (D4) afin qu'une réouverture d'Aurora crée un nouveau design.
|
|
45
|
+
*/
|
|
46
|
+
auroraDesignId?: string | null;
|
|
47
|
+
/** Snapshot figé du calepinage Aurora appliqué (D11). */
|
|
48
|
+
auroraResult?: AuroraResult | null;
|
|
40
49
|
}
|
|
@@ -14,6 +14,7 @@ const mongoose_1 = require("@nestjs/mongoose");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const tracker_1 = require("./tracker");
|
|
16
16
|
const enums_1 = require("./enums");
|
|
17
|
+
const aurora_result_1 = require("./aurora-result");
|
|
17
18
|
let PVParams = class PVParams {
|
|
18
19
|
};
|
|
19
20
|
exports.PVParams = PVParams;
|
|
@@ -198,6 +199,18 @@ __decorate([
|
|
|
198
199
|
(0, class_validator_1.IsNumber)(),
|
|
199
200
|
__metadata("design:type", Number)
|
|
200
201
|
], PVParams.prototype, "pvDepreciationDuration", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
204
|
+
(0, class_validator_1.IsOptional)(),
|
|
205
|
+
(0, class_validator_1.IsString)(),
|
|
206
|
+
__metadata("design:type", Object)
|
|
207
|
+
], PVParams.prototype, "auroraDesignId", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, mongoose_1.Prop)({ type: aurora_result_1.AuroraResultSchema, default: null }),
|
|
210
|
+
(0, class_validator_1.IsOptional)(),
|
|
211
|
+
(0, class_validator_1.ValidateNested)(),
|
|
212
|
+
__metadata("design:type", Object)
|
|
213
|
+
], PVParams.prototype, "auroraResult", void 0);
|
|
201
214
|
exports.PVParams = PVParams = __decorate([
|
|
202
215
|
(0, mongoose_1.Schema)({ _id: false })
|
|
203
216
|
], PVParams);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Tracker } from './tracker';
|
|
2
2
|
import { UseCase } from './enums';
|
|
3
|
+
import { AuroraResult } from './aurora-result';
|
|
3
4
|
export declare class PV2Params {
|
|
4
5
|
tracker: Tracker;
|
|
5
6
|
pv2CapexTableA: number[];
|
|
@@ -37,6 +38,10 @@ export declare class PV2Params {
|
|
|
37
38
|
pv2PurchasePrice: number[];
|
|
38
39
|
pv2LeasingLifespan: number;
|
|
39
40
|
pv2DepreciationDuration: number;
|
|
41
|
+
/** Identifiant du design Aurora associé à l'instance PV2 (1:1, D2). */
|
|
42
|
+
auroraDesignId?: string | null;
|
|
43
|
+
/** Snapshot figé du calepinage Aurora appliqué (D11). */
|
|
44
|
+
auroraResult?: AuroraResult | null;
|
|
40
45
|
}
|
|
41
46
|
export declare const PV2ParamsSchema: import("mongoose").Schema<PV2Params, import("mongoose").Model<PV2Params, any, any, any, import("mongoose").Document<unknown, any, PV2Params, any, {}> & PV2Params & {
|
|
42
47
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -14,6 +14,7 @@ const mongoose_1 = require("@nestjs/mongoose");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const tracker_1 = require("./tracker");
|
|
16
16
|
const enums_1 = require("./enums");
|
|
17
|
+
const aurora_result_1 = require("./aurora-result");
|
|
17
18
|
let PV2Params = class PV2Params {
|
|
18
19
|
};
|
|
19
20
|
exports.PV2Params = PV2Params;
|
|
@@ -198,6 +199,18 @@ __decorate([
|
|
|
198
199
|
(0, class_validator_1.IsNumber)(),
|
|
199
200
|
__metadata("design:type", Number)
|
|
200
201
|
], PV2Params.prototype, "pv2DepreciationDuration", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, mongoose_1.Prop)({ type: String, default: null }),
|
|
204
|
+
(0, class_validator_1.IsOptional)(),
|
|
205
|
+
(0, class_validator_1.IsString)(),
|
|
206
|
+
__metadata("design:type", Object)
|
|
207
|
+
], PV2Params.prototype, "auroraDesignId", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, mongoose_1.Prop)({ type: aurora_result_1.AuroraResultSchema, default: null }),
|
|
210
|
+
(0, class_validator_1.IsOptional)(),
|
|
211
|
+
(0, class_validator_1.ValidateNested)(),
|
|
212
|
+
__metadata("design:type", Object)
|
|
213
|
+
], PV2Params.prototype, "auroraResult", void 0);
|
|
201
214
|
exports.PV2Params = PV2Params = __decorate([
|
|
202
215
|
(0, mongoose_1.Schema)({ _id: false })
|
|
203
216
|
], PV2Params);
|
package/dist/index.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export * from './core/internal/rates';
|
|
|
88
88
|
export * from './core/internal/folder.model';
|
|
89
89
|
export * from './core/internal/leads-form';
|
|
90
90
|
export * from './core/internal/aurora-solar';
|
|
91
|
+
export * from './core/internal/aurora-result';
|
|
91
92
|
export * from './core/internal/koncile';
|
|
92
93
|
export * from './core/webhookTypes/webhook-leads-output.dto';
|
|
93
94
|
export * from './core/webhookTypes/webhook-optimend-output.dto';
|
package/dist/index.js
CHANGED
|
@@ -116,6 +116,7 @@ __exportStar(require("./core/internal/rates"), exports);
|
|
|
116
116
|
__exportStar(require("./core/internal/folder.model"), exports);
|
|
117
117
|
__exportStar(require("./core/internal/leads-form"), exports);
|
|
118
118
|
__exportStar(require("./core/internal/aurora-solar"), exports);
|
|
119
|
+
__exportStar(require("./core/internal/aurora-result"), exports);
|
|
119
120
|
// Koncile OCR
|
|
120
121
|
__exportStar(require("./core/internal/koncile"), exports);
|
|
121
122
|
// Webhook types
|