@golemio/energetics 1.8.3-dev.2501001499 → 1.8.3

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.
Files changed (119) hide show
  1. package/dist/integration-engine/commodity-providers/transformations/AveMeasurementTransformation.d.ts +2 -3
  2. package/dist/integration-engine/commodity-providers/transformations/AveMeasurementTransformation.js +1 -2
  3. package/dist/integration-engine/commodity-providers/transformations/AveMeasurementTransformation.js.map +1 -1
  4. package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.d.ts +0 -2
  5. package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.js +0 -1
  6. package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.js.map +1 -1
  7. package/dist/integration-engine/commodity-providers/transformations/PreElectroTransformation.js +0 -1
  8. package/dist/integration-engine/commodity-providers/transformations/PreElectroTransformation.js.map +1 -1
  9. package/dist/integration-engine/commodity-providers/transformations/PreMeasurementTransformation.js +0 -1
  10. package/dist/integration-engine/commodity-providers/transformations/PreMeasurementTransformation.js.map +1 -1
  11. package/dist/integration-engine/commodity-providers/transformations/PtasWebMeasurementTransformation.js +0 -1
  12. package/dist/integration-engine/commodity-providers/transformations/PtasWebMeasurementTransformation.js.map +1 -1
  13. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasEEMeasurementsTask.js +1 -2
  14. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasEEMeasurementsTask.js.map +1 -1
  15. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasMeasurementsTask.js +1 -2
  16. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasMeasurementsTask.js.map +1 -1
  17. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPreMeasurementDataTask.js +1 -1
  18. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPreMeasurementDataTask.js.map +1 -1
  19. package/dist/integration-engine/commodity-providers/workers/tasks/FetchVeoliaMeasurementsTask.js +1 -3
  20. package/dist/integration-engine/commodity-providers/workers/tasks/FetchVeoliaMeasurementsTask.js.map +1 -1
  21. package/dist/integration-engine/enapo/helpers/IntervalGenerator.d.ts +0 -1
  22. package/dist/integration-engine/enapo/helpers/IntervalGenerator.js +0 -6
  23. package/dist/integration-engine/enapo/helpers/IntervalGenerator.js.map +1 -1
  24. package/dist/integration-engine/enapo/ioc/Di.js +8 -24
  25. package/dist/integration-engine/enapo/ioc/Di.js.map +1 -1
  26. package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.d.ts +0 -8
  27. package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js +0 -8
  28. package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js.map +1 -1
  29. package/dist/integration-engine/enapo/workers/EnapoWorker.js +0 -1
  30. package/dist/integration-engine/enapo/workers/EnapoWorker.js.map +1 -1
  31. package/dist/output-gateway/controllers/v2/AbstractController.js +1 -4
  32. package/dist/output-gateway/controllers/v2/AbstractController.js.map +1 -1
  33. package/dist/output-gateway/controllers/v2/BuildingsController.js +1 -2
  34. package/dist/output-gateway/controllers/v2/BuildingsController.js.map +1 -1
  35. package/dist/output-gateway/controllers/v2/V2DevicesController.js +1 -1
  36. package/dist/output-gateway/controllers/v2/V2DevicesController.js.map +1 -1
  37. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js +1 -1
  38. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js.map +1 -1
  39. package/dist/schema-definitions/datasources/StaticMeterSettingsJsonSchema.js +3 -4
  40. package/dist/schema-definitions/datasources/StaticMeterSettingsJsonSchema.js.map +1 -1
  41. package/dist/schema-definitions/datasources/interfaces/IStaticMeterSettings.d.ts +2 -3
  42. package/dist/schema-definitions/models/MeasurementsModel.d.ts +0 -1
  43. package/dist/schema-definitions/models/MeasurementsModel.js +1 -15
  44. package/dist/schema-definitions/models/MeasurementsModel.js.map +1 -1
  45. package/dist/schema-definitions/models/interfaces/IMeasurementDto.d.ts +0 -1
  46. package/docs/implementation_documentation.md +0 -39
  47. package/package.json +6 -10
  48. package/db/migrations/postgresql/20250213141826-add-device-serial-id.js +0 -53
  49. package/db/migrations/postgresql/20260427093000-enapo-porsenna.js +0 -53
  50. package/db/migrations/postgresql/sqls/20250213141826-add-device-serial-id-down.sql +0 -1
  51. package/db/migrations/postgresql/sqls/20250213141826-add-device-serial-id-up.sql +0 -1
  52. package/db/migrations/postgresql/sqls/20260427093000-enapo-porsenna-down.sql +0 -3
  53. package/db/migrations/postgresql/sqls/20260427093000-enapo-porsenna-up.sql +0 -85
  54. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSource.d.ts +0 -15
  55. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSource.js +0 -67
  56. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSource.js.map +0 -1
  57. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSourceProvider.d.ts +0 -10
  58. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSourceProvider.js +0 -52
  59. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSourceProvider.js.map +0 -1
  60. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IConsumptionApiEntry.d.ts +0 -7
  61. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IConsumptionApiEntry.js +0 -3
  62. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IConsumptionApiEntry.js.map +0 -1
  63. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IGaugeApiDto.d.ts +0 -5
  64. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IGaugeApiDto.js +0 -3
  65. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IGaugeApiDto.js.map +0 -1
  66. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaBuildingsRepository.d.ts +0 -5
  67. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaBuildingsRepository.js +0 -32
  68. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaBuildingsRepository.js.map +0 -1
  69. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaConsumptionRepository.d.ts +0 -5
  70. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaConsumptionRepository.js +0 -32
  71. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaConsumptionRepository.js.map +0 -1
  72. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaDevicesRepository.d.ts +0 -5
  73. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaDevicesRepository.js +0 -32
  74. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaDevicesRepository.js.map +0 -1
  75. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaConsumptionTransformation.d.ts +0 -8
  76. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaConsumptionTransformation.js +0 -47
  77. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaConsumptionTransformation.js.map +0 -1
  78. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaGaugeTransformation.d.ts +0 -15
  79. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaGaugeTransformation.js +0 -62
  80. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaGaugeTransformation.js.map +0 -1
  81. package/dist/integration-engine/enapo/workers/interfaces/IEnapoPorsennaDistributionParams.d.ts +0 -5
  82. package/dist/integration-engine/enapo/workers/interfaces/IEnapoPorsennaDistributionParams.js +0 -3
  83. package/dist/integration-engine/enapo/workers/interfaces/IEnapoPorsennaDistributionParams.js.map +0 -1
  84. package/dist/integration-engine/enapo/workers/schema/EnapoPorsennaDistributionParamsSchema.d.ts +0 -6
  85. package/dist/integration-engine/enapo/workers/schema/EnapoPorsennaDistributionParamsSchema.js +0 -34
  86. package/dist/integration-engine/enapo/workers/schema/EnapoPorsennaDistributionParamsSchema.js.map +0 -1
  87. package/dist/integration-engine/enapo/workers/task/PorsennaDistributionTask.d.ts +0 -27
  88. package/dist/integration-engine/enapo/workers/task/PorsennaDistributionTask.js +0 -125
  89. package/dist/integration-engine/enapo/workers/task/PorsennaDistributionTask.js.map +0 -1
  90. package/dist/schema-definitions/datasources/enapo/porsenna/PorsennaJsonSchema.d.ts +0 -5
  91. package/dist/schema-definitions/datasources/enapo/porsenna/PorsennaJsonSchema.js +0 -92
  92. package/dist/schema-definitions/datasources/enapo/porsenna/PorsennaJsonSchema.js.map +0 -1
  93. package/dist/schema-definitions/datasources/enapo/porsenna/interfaces/IConsumptionApiEntry.d.ts +0 -15
  94. package/dist/schema-definitions/datasources/enapo/porsenna/interfaces/IConsumptionApiEntry.js +0 -3
  95. package/dist/schema-definitions/datasources/enapo/porsenna/interfaces/IConsumptionApiEntry.js.map +0 -1
  96. package/dist/schema-definitions/datasources/enapo/porsenna/interfaces/IGaugeApiDto.d.ts +0 -41
  97. package/dist/schema-definitions/datasources/enapo/porsenna/interfaces/IGaugeApiDto.js +0 -3
  98. package/dist/schema-definitions/datasources/enapo/porsenna/interfaces/IGaugeApiDto.js.map +0 -1
  99. package/dist/schema-definitions/models/porsenna/PorsennaBuildingsModel.d.ts +0 -21
  100. package/dist/schema-definitions/models/porsenna/PorsennaBuildingsModel.js +0 -77
  101. package/dist/schema-definitions/models/porsenna/PorsennaBuildingsModel.js.map +0 -1
  102. package/dist/schema-definitions/models/porsenna/PorsennaConsumptionModel.d.ts +0 -20
  103. package/dist/schema-definitions/models/porsenna/PorsennaConsumptionModel.js +0 -72
  104. package/dist/schema-definitions/models/porsenna/PorsennaConsumptionModel.js.map +0 -1
  105. package/dist/schema-definitions/models/porsenna/PorsennaDevicesModel.d.ts +0 -27
  106. package/dist/schema-definitions/models/porsenna/PorsennaDevicesModel.js +0 -107
  107. package/dist/schema-definitions/models/porsenna/PorsennaDevicesModel.js.map +0 -1
  108. package/dist/schema-definitions/models/porsenna/index.d.ts +0 -3
  109. package/dist/schema-definitions/models/porsenna/index.js +0 -20
  110. package/dist/schema-definitions/models/porsenna/index.js.map +0 -1
  111. package/dist/schema-definitions/models/porsenna/interfaces/IBuildings.d.ts +0 -11
  112. package/dist/schema-definitions/models/porsenna/interfaces/IBuildings.js +0 -3
  113. package/dist/schema-definitions/models/porsenna/interfaces/IBuildings.js.map +0 -1
  114. package/dist/schema-definitions/models/porsenna/interfaces/IConsumption.d.ts +0 -10
  115. package/dist/schema-definitions/models/porsenna/interfaces/IConsumption.js +0 -3
  116. package/dist/schema-definitions/models/porsenna/interfaces/IConsumption.js.map +0 -1
  117. package/dist/schema-definitions/models/porsenna/interfaces/IDevices.d.ts +0 -17
  118. package/dist/schema-definitions/models/porsenna/interfaces/IDevices.js +0 -3
  119. package/dist/schema-definitions/models/porsenna/interfaces/IDevices.js.map +0 -1
@@ -1,15 +0,0 @@
1
- import { IHydraPartialView } from "./IGaugeApiDto";
2
- export interface IConsumptionValueApiDto {
3
- value: number;
4
- unit: string;
5
- count?: number;
6
- }
7
- export interface IConsumptionApiEntry {
8
- period: string;
9
- consumption: IConsumptionValueApiDto;
10
- }
11
- export interface IConsumptionApiCollection {
12
- totalItems?: number;
13
- member: IConsumptionApiEntry[];
14
- view?: IHydraPartialView;
15
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IConsumptionApiEntry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IConsumptionApiEntry.js","sourceRoot":"","sources":["../../../../../../src/schema-definitions/datasources/enapo/porsenna/interfaces/IConsumptionApiEntry.ts"],"names":[],"mappings":""}
@@ -1,41 +0,0 @@
1
- export interface IGaugeApiBuildingDto {
2
- id: number;
3
- name?: string;
4
- street?: string;
5
- houseNumber?: string;
6
- streetNumber?: string;
7
- city?: string;
8
- postcode?: string;
9
- gid?: string;
10
- }
11
- export interface IGaugeApiIdentificationDto {
12
- id?: number;
13
- identifier?: string;
14
- supplyPointNumber?: string;
15
- meterNumber?: string;
16
- gid?: string;
17
- }
18
- export interface IGaugeApiDto {
19
- id: string;
20
- building: IGaugeApiBuildingDto;
21
- identification: IGaugeApiIdentificationDto;
22
- parent?: string;
23
- level?: string;
24
- type?: string;
25
- name?: string;
26
- measurementTarget?: string;
27
- disabledAt?: string;
28
- disableReason?: string;
29
- showInOutput?: boolean;
30
- }
31
- export interface IHydraPartialView {
32
- first?: string;
33
- next?: string;
34
- previous?: string;
35
- last?: string;
36
- }
37
- export interface IGaugeApiCollection {
38
- totalItems?: number;
39
- member: IGaugeApiDto[];
40
- view?: IHydraPartialView;
41
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IGaugeApiDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IGaugeApiDto.js","sourceRoot":"","sources":["../../../../../../src/schema-definitions/datasources/enapo/porsenna/interfaces/IGaugeApiDto.ts"],"names":[],"mappings":""}
@@ -1,21 +0,0 @@
1
- import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
2
- import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
3
- import { IBuildings } from "./interfaces/IBuildings";
4
- export declare class PorsennaBuildingsModel extends Model<PorsennaBuildingsModel> implements IBuildings {
5
- static TABLE_NAME: string;
6
- static REPOSITORY_NAME: string;
7
- static JSON_SCHEMA_VALIDATOR_NAME: string;
8
- source: string;
9
- id: number;
10
- name: string | null;
11
- street: string | null;
12
- house_number: string | null;
13
- street_number: string | null;
14
- city: string | null;
15
- postcode: string | null;
16
- gid: string | null;
17
- created_at: Date;
18
- updated_at: Date | null;
19
- static attributeModel: ModelAttributes<PorsennaBuildingsModel>;
20
- static jsonSchema: JSONSchemaType<IBuildings[]>;
21
- }
@@ -1,77 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PorsennaBuildingsModel = void 0;
4
- const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
- class PorsennaBuildingsModel extends sequelize_1.Model {
6
- }
7
- exports.PorsennaBuildingsModel = PorsennaBuildingsModel;
8
- PorsennaBuildingsModel.TABLE_NAME = "enapo_porsenna_buildings";
9
- PorsennaBuildingsModel.REPOSITORY_NAME = "PorsennaBuildingsRepository";
10
- PorsennaBuildingsModel.JSON_SCHEMA_VALIDATOR_NAME = "PorsennaBuildingsModelRepositoryValidator";
11
- PorsennaBuildingsModel.attributeModel = {
12
- source: {
13
- type: sequelize_1.DataTypes.STRING(50),
14
- primaryKey: true,
15
- },
16
- id: {
17
- type: sequelize_1.DataTypes.INTEGER,
18
- primaryKey: true,
19
- },
20
- name: {
21
- type: sequelize_1.DataTypes.STRING,
22
- allowNull: true,
23
- },
24
- street: {
25
- type: sequelize_1.DataTypes.STRING,
26
- allowNull: true,
27
- },
28
- house_number: {
29
- type: sequelize_1.DataTypes.STRING,
30
- allowNull: true,
31
- },
32
- street_number: {
33
- type: sequelize_1.DataTypes.STRING,
34
- allowNull: true,
35
- },
36
- city: {
37
- type: sequelize_1.DataTypes.STRING,
38
- allowNull: true,
39
- },
40
- postcode: {
41
- type: sequelize_1.DataTypes.STRING,
42
- allowNull: true,
43
- },
44
- gid: {
45
- type: sequelize_1.DataTypes.STRING,
46
- allowNull: true,
47
- },
48
- created_at: {
49
- type: sequelize_1.DataTypes.DATE,
50
- defaultValue: sequelize_1.DataTypes.NOW,
51
- allowNull: true,
52
- },
53
- updated_at: {
54
- type: sequelize_1.DataTypes.DATE,
55
- allowNull: true,
56
- },
57
- };
58
- PorsennaBuildingsModel.jsonSchema = {
59
- type: "array",
60
- items: {
61
- type: "object",
62
- properties: {
63
- source: { type: "string" },
64
- id: { type: "integer" },
65
- name: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
66
- street: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
67
- house_number: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
68
- street_number: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
69
- city: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
70
- postcode: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
71
- gid: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
72
- },
73
- additionalProperties: false,
74
- required: ["source", "id"],
75
- },
76
- };
77
- //# sourceMappingURL=PorsennaBuildingsModel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PorsennaBuildingsModel.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/porsenna/PorsennaBuildingsModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAIxF,MAAa,sBAAuB,SAAQ,iBAA6B;;AAAzE,wDAoFC;AAnFiB,iCAAU,GAAG,0BAA0B,CAAC;AACxC,sCAAe,GAAG,6BAA6B,CAAC;AAChD,iDAA0B,GAAG,2CAA2C,CAAC;AAczE,qCAAc,GAA4C;IACpE,MAAM,EAAE;QACJ,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,UAAU,EAAE,IAAI;KACnB;IACD,EAAE,EAAE;QACA,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;KACnB;IACD,IAAI,EAAE;QACF,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,YAAY,EAAE;QACV,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,aAAa,EAAE;QACX,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,IAAI,EAAE;QACF,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,QAAQ,EAAE;QACN,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,GAAG,EAAE;QACD,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,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E,IAAI,EAAE,CAAC,EAAE;YAC3E,GAAG,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;SACzE;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC;KAC7B;CACJ,CAAC"}
@@ -1,20 +0,0 @@
1
- import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
2
- import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
3
- import { IConsumption } from "./interfaces/IConsumption";
4
- export declare class PorsennaConsumptionModel extends Model<PorsennaConsumptionModel> implements IConsumption {
5
- static TABLE_NAME: string;
6
- static REPOSITORY_NAME: string;
7
- static JSON_SCHEMA_VALIDATOR_NAME: string;
8
- source: string;
9
- device_id: string;
10
- var: string;
11
- period: string;
12
- value: number;
13
- unit: string;
14
- commodity: string | null;
15
- count: number | null;
16
- created_at: Date;
17
- updated_at: Date | null;
18
- static attributeModel: ModelAttributes<PorsennaConsumptionModel>;
19
- static jsonSchema: JSONSchemaType<IConsumption[]>;
20
- }
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PorsennaConsumptionModel = void 0;
4
- const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
- class PorsennaConsumptionModel extends sequelize_1.Model {
6
- }
7
- exports.PorsennaConsumptionModel = PorsennaConsumptionModel;
8
- PorsennaConsumptionModel.TABLE_NAME = "enapo_porsenna_consumption";
9
- PorsennaConsumptionModel.REPOSITORY_NAME = "PorsennaConsumptionRepository";
10
- PorsennaConsumptionModel.JSON_SCHEMA_VALIDATOR_NAME = "PorsennaConsumptionModelRepositoryValidator";
11
- PorsennaConsumptionModel.attributeModel = {
12
- source: {
13
- type: sequelize_1.DataTypes.STRING(50),
14
- primaryKey: true,
15
- },
16
- device_id: {
17
- type: sequelize_1.DataTypes.UUID,
18
- primaryKey: true,
19
- },
20
- var: {
21
- type: sequelize_1.DataTypes.STRING(20),
22
- primaryKey: true,
23
- },
24
- period: {
25
- type: sequelize_1.DataTypes.STRING(20),
26
- primaryKey: true,
27
- },
28
- value: {
29
- type: sequelize_1.DataTypes.DECIMAL(30, 15),
30
- allowNull: false,
31
- },
32
- unit: {
33
- type: sequelize_1.DataTypes.STRING(20),
34
- allowNull: false,
35
- },
36
- commodity: {
37
- type: sequelize_1.DataTypes.STRING(20),
38
- allowNull: true,
39
- },
40
- count: {
41
- type: sequelize_1.DataTypes.INTEGER,
42
- allowNull: true,
43
- },
44
- created_at: {
45
- type: sequelize_1.DataTypes.DATE,
46
- defaultValue: sequelize_1.DataTypes.NOW,
47
- allowNull: true,
48
- },
49
- updated_at: {
50
- type: sequelize_1.DataTypes.DATE,
51
- allowNull: true,
52
- },
53
- };
54
- PorsennaConsumptionModel.jsonSchema = {
55
- type: "array",
56
- items: {
57
- type: "object",
58
- properties: {
59
- source: { type: "string" },
60
- device_id: { type: "string" },
61
- var: { type: "string" },
62
- period: { type: "string" },
63
- value: { type: "number" },
64
- unit: { type: "string" },
65
- commodity: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
66
- count: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
67
- },
68
- additionalProperties: false,
69
- required: ["source", "device_id", "var", "period", "value", "unit"],
70
- },
71
- };
72
- //# sourceMappingURL=PorsennaConsumptionModel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PorsennaConsumptionModel.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/porsenna/PorsennaConsumptionModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAIxF,MAAa,wBAAyB,SAAQ,iBAA+B;;AAA7E,4DA8EC;AA7EiB,mCAAU,GAAG,4BAA4B,CAAC;AAC1C,wCAAe,GAAG,+BAA+B,CAAC;AAClD,mDAA0B,GAAG,6CAA6C,CAAC;AA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YAC7B,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACvB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC1B,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,SAAS,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;YAC5E,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;SAC5E;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;KACtE;CACJ,CAAC"}
@@ -1,27 +0,0 @@
1
- import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
2
- import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
3
- import { IDevices } from "./interfaces/IDevices";
4
- export declare class PorsennaDevicesModel extends Model<PorsennaDevicesModel> implements IDevices {
5
- static TABLE_NAME: string;
6
- static REPOSITORY_NAME: string;
7
- static JSON_SCHEMA_VALIDATOR_NAME: string;
8
- source: string;
9
- id: string;
10
- building_id: number | null;
11
- parent_device_id: string | null;
12
- level: string | null;
13
- type: string | null;
14
- name: string | null;
15
- measurement_target: string | null;
16
- disabled_at: string | null;
17
- disable_reason_id: number | null;
18
- show_in_output: boolean | null;
19
- identifier: string | null;
20
- supply_point_number: string | null;
21
- meter_number: string | null;
22
- identification_gid: string | null;
23
- created_at: Date;
24
- updated_at: Date | null;
25
- static attributeModel: ModelAttributes<PorsennaDevicesModel>;
26
- static jsonSchema: JSONSchemaType<IDevices[]>;
27
- }
@@ -1,107 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PorsennaDevicesModel = void 0;
4
- const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
- class PorsennaDevicesModel extends sequelize_1.Model {
6
- }
7
- exports.PorsennaDevicesModel = PorsennaDevicesModel;
8
- PorsennaDevicesModel.TABLE_NAME = "enapo_porsenna_devices";
9
- PorsennaDevicesModel.REPOSITORY_NAME = "PorsennaDevicesRepository";
10
- PorsennaDevicesModel.JSON_SCHEMA_VALIDATOR_NAME = "PorsennaDevicesModelRepositoryValidator";
11
- PorsennaDevicesModel.attributeModel = {
12
- source: {
13
- type: sequelize_1.DataTypes.STRING(50),
14
- primaryKey: true,
15
- },
16
- id: {
17
- type: sequelize_1.DataTypes.UUID,
18
- primaryKey: true,
19
- },
20
- building_id: {
21
- type: sequelize_1.DataTypes.INTEGER,
22
- allowNull: true,
23
- },
24
- parent_device_id: {
25
- type: sequelize_1.DataTypes.UUID,
26
- allowNull: true,
27
- },
28
- level: {
29
- type: sequelize_1.DataTypes.STRING,
30
- allowNull: true,
31
- },
32
- type: {
33
- type: sequelize_1.DataTypes.STRING,
34
- allowNull: true,
35
- },
36
- name: {
37
- type: sequelize_1.DataTypes.STRING,
38
- allowNull: true,
39
- },
40
- measurement_target: {
41
- type: sequelize_1.DataTypes.STRING,
42
- allowNull: true,
43
- },
44
- disabled_at: {
45
- type: sequelize_1.DataTypes.DATE,
46
- allowNull: true,
47
- },
48
- disable_reason_id: {
49
- type: sequelize_1.DataTypes.INTEGER,
50
- allowNull: true,
51
- },
52
- show_in_output: {
53
- type: sequelize_1.DataTypes.BOOLEAN,
54
- allowNull: true,
55
- },
56
- identifier: {
57
- type: sequelize_1.DataTypes.STRING,
58
- allowNull: true,
59
- },
60
- supply_point_number: {
61
- type: sequelize_1.DataTypes.STRING,
62
- allowNull: true,
63
- },
64
- meter_number: {
65
- type: sequelize_1.DataTypes.STRING,
66
- allowNull: true,
67
- },
68
- identification_gid: {
69
- type: sequelize_1.DataTypes.STRING,
70
- allowNull: true,
71
- },
72
- created_at: {
73
- type: sequelize_1.DataTypes.DATE,
74
- defaultValue: sequelize_1.DataTypes.NOW,
75
- allowNull: true,
76
- },
77
- updated_at: {
78
- type: sequelize_1.DataTypes.DATE,
79
- allowNull: true,
80
- },
81
- };
82
- PorsennaDevicesModel.jsonSchema = {
83
- type: "array",
84
- items: {
85
- type: "object",
86
- properties: {
87
- source: { type: "string" },
88
- id: { type: "string" },
89
- building_id: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
90
- parent_device_id: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
91
- level: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
92
- type: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
93
- name: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
94
- measurement_target: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
95
- disabled_at: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
96
- disable_reason_id: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
97
- show_in_output: { oneOf: [{ type: "boolean" }, { type: "null", nullable: true }] },
98
- identifier: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
99
- supply_point_number: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
100
- meter_number: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
101
- identification_gid: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
102
- },
103
- additionalProperties: false,
104
- required: ["source", "id"],
105
- },
106
- };
107
- //# sourceMappingURL=PorsennaDevicesModel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PorsennaDevicesModel.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/porsenna/PorsennaDevicesModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAIxF,MAAa,oBAAqB,SAAQ,iBAA2B;;AAArE,oDAwHC;AAvHiB,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AM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;SACxF;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC;KAC7B;CACJ,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from "./PorsennaBuildingsModel";
2
- export * from "./PorsennaDevicesModel";
3
- export * from "./PorsennaConsumptionModel";
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./PorsennaBuildingsModel"), exports);
18
- __exportStar(require("./PorsennaDevicesModel"), exports);
19
- __exportStar(require("./PorsennaConsumptionModel"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/porsenna/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,yDAAuC;AACvC,6DAA2C"}
@@ -1,11 +0,0 @@
1
- export interface IBuildings {
2
- source: string;
3
- id: number;
4
- name: string | null;
5
- street: string | null;
6
- house_number: string | null;
7
- street_number: string | null;
8
- city: string | null;
9
- postcode: string | null;
10
- gid: string | null;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IBuildings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IBuildings.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/models/porsenna/interfaces/IBuildings.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- export interface IConsumption {
2
- source: string;
3
- device_id: string;
4
- var: string;
5
- period: string;
6
- value: number;
7
- unit: string;
8
- commodity: string | null;
9
- count: number | null;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IConsumption.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IConsumption.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/models/porsenna/interfaces/IConsumption.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- export interface IDevices {
2
- source: string;
3
- id: string;
4
- building_id: number | null;
5
- parent_device_id: string | null;
6
- level: string | null;
7
- type: string | null;
8
- name: string | null;
9
- measurement_target: string | null;
10
- disabled_at: string | null;
11
- disable_reason_id: number | null;
12
- show_in_output: boolean | null;
13
- identifier: string | null;
14
- supply_point_number: string | null;
15
- meter_number: string | null;
16
- identification_gid: string | null;
17
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IDevices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDevices.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/models/porsenna/interfaces/IDevices.ts"],"names":[],"mappings":""}