@zetra/citrineos-evdriver 1.8.3-fork.2 → 1.8.3-fork.20
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/module/1.6/MessageApi.d.ts +2 -2
- package/dist/module/1.6/MessageApi.js +1 -1
- package/dist/module/2.0.1/MessageApi.d.ts +2 -2
- package/dist/module/2.0.1/MessageApi.js +3 -3
- package/dist/module/DataApi.d.ts +3 -3
- package/dist/module/DataApi.js +2 -2
- package/dist/module/LocalAuthListService.d.ts +3 -3
- package/dist/module/LocalAuthListService.js +2 -2
- package/dist/module/module.d.ts +4 -4
- package/dist/module/module.js +3 -3
- package/package.json +4 -4
|
@@ -3,8 +3,8 @@ import type { ILogObj } from 'tslog';
|
|
|
3
3
|
import { Logger } from 'tslog';
|
|
4
4
|
import type { IEVDriverModuleApi } from '../interface.js';
|
|
5
5
|
import { EVDriverModule } from '../module.js';
|
|
6
|
-
import type { CallAction, IMessageConfirmation } from '@citrineos
|
|
7
|
-
import { AbstractModuleApi, OCPP1_6 } from '@citrineos
|
|
6
|
+
import type { CallAction, IMessageConfirmation } from '@zetra/citrineos-base';
|
|
7
|
+
import { AbstractModuleApi, OCPP1_6 } from '@zetra/citrineos-base';
|
|
8
8
|
export declare class EVDriverOcpp16Api extends AbstractModuleApi<EVDriverModule> implements IEVDriverModuleApi {
|
|
9
9
|
/**
|
|
10
10
|
* Constructs a new instance of the class.
|
|
@@ -12,7 +12,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
12
12
|
};
|
|
13
13
|
import { Logger } from 'tslog';
|
|
14
14
|
import { EVDriverModule } from '../module.js';
|
|
15
|
-
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP1_6, OCPP1_6_CallAction, OCPPVersion, } from '@citrineos
|
|
15
|
+
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP1_6, OCPP1_6_CallAction, OCPPVersion, } from '@zetra/citrineos-base';
|
|
16
16
|
export class EVDriverOcpp16Api extends AbstractModuleApi {
|
|
17
17
|
/**
|
|
18
18
|
* Constructs a new instance of the class.
|
|
@@ -3,8 +3,8 @@ import type { ILogObj } from 'tslog';
|
|
|
3
3
|
import { Logger } from 'tslog';
|
|
4
4
|
import type { IEVDriverModuleApi } from '../interface.js';
|
|
5
5
|
import { EVDriverModule } from '../module.js';
|
|
6
|
-
import type { CallAction, IMessageConfirmation } from '@citrineos
|
|
7
|
-
import { AbstractModuleApi, OCPP2_0_1 } from '@citrineos
|
|
6
|
+
import type { CallAction, IMessageConfirmation } from '@zetra/citrineos-base';
|
|
7
|
+
import { AbstractModuleApi, OCPP2_0_1 } from '@zetra/citrineos-base';
|
|
8
8
|
export declare class EVDriverOcpp201Api extends AbstractModuleApi<EVDriverModule> implements IEVDriverModuleApi {
|
|
9
9
|
/**
|
|
10
10
|
* Constructs a new instance of the class.
|
|
@@ -12,9 +12,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
12
12
|
};
|
|
13
13
|
import { Logger } from 'tslog';
|
|
14
14
|
import { EVDriverModule } from '../module.js';
|
|
15
|
-
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP2_0_1, OCPP2_0_1_CallAction, OCPPVersion, } from '@citrineos
|
|
16
|
-
import { validateChargingProfileType } from '@citrineos
|
|
17
|
-
import { OCPP2_0_1_Mapper } from '@citrineos
|
|
15
|
+
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP2_0_1, OCPP2_0_1_CallAction, OCPPVersion, } from '@zetra/citrineos-base';
|
|
16
|
+
import { validateChargingProfileType } from '@zetra/citrineos-util';
|
|
17
|
+
import { OCPP2_0_1_Mapper } from '@zetra/citrineos-data';
|
|
18
18
|
import { v4 as uuidv4 } from 'uuid';
|
|
19
19
|
export class EVDriverOcpp201Api extends AbstractModuleApi {
|
|
20
20
|
/**
|
package/dist/module/DataApi.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import type { ILogObj } from 'tslog';
|
|
|
3
3
|
import { Logger } from 'tslog';
|
|
4
4
|
import type { IEVDriverModuleApi } from './interface.js';
|
|
5
5
|
import { EVDriverModule } from './module.js';
|
|
6
|
-
import { AbstractModuleApi, Namespace, OCPP1_6_Namespace, OCPP2_0_1_Namespace } from '@citrineos
|
|
7
|
-
import type { ChargingStationKeyQuerystring } from '@citrineos
|
|
8
|
-
import { LocalListVersion } from '@citrineos
|
|
6
|
+
import { AbstractModuleApi, Namespace, OCPP1_6_Namespace, OCPP2_0_1_Namespace } from '@zetra/citrineos-base';
|
|
7
|
+
import type { ChargingStationKeyQuerystring } from '@zetra/citrineos-data';
|
|
8
|
+
import { LocalListVersion } from '@zetra/citrineos-data';
|
|
9
9
|
export declare class EVDriverDataApi extends AbstractModuleApi<EVDriverModule> implements IEVDriverModuleApi {
|
|
10
10
|
/**
|
|
11
11
|
* Constructs a new instance of the class.
|
package/dist/module/DataApi.js
CHANGED
|
@@ -12,8 +12,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
12
12
|
};
|
|
13
13
|
import { Logger } from 'tslog';
|
|
14
14
|
import { EVDriverModule } from './module.js';
|
|
15
|
-
import { AbstractModuleApi, AsDataEndpoint, HttpMethod, Namespace, OCPP1_6_Namespace, OCPP2_0_1_Namespace, } from '@citrineos
|
|
16
|
-
import { ChargingStationKeyQuerySchema, LocalListVersion } from '@citrineos
|
|
15
|
+
import { AbstractModuleApi, AsDataEndpoint, HttpMethod, Namespace, OCPP1_6_Namespace, OCPP2_0_1_Namespace, } from '@zetra/citrineos-base';
|
|
16
|
+
import { ChargingStationKeyQuerySchema, LocalListVersion } from '@zetra/citrineos-data';
|
|
17
17
|
export class EVDriverDataApi extends AbstractModuleApi {
|
|
18
18
|
/**
|
|
19
19
|
* Constructs a new instance of the class.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OCPP2_0_1 } from '@citrineos
|
|
2
|
-
import type { IDeviceModelRepository, ILocalAuthListRepository } from '@citrineos
|
|
3
|
-
import { SendLocalList } from '@citrineos
|
|
1
|
+
import { OCPP2_0_1 } from '@zetra/citrineos-base';
|
|
2
|
+
import type { IDeviceModelRepository, ILocalAuthListRepository } from '@zetra/citrineos-data';
|
|
3
|
+
import { SendLocalList } from '@zetra/citrineos-data';
|
|
4
4
|
export declare class LocalAuthListService {
|
|
5
5
|
protected _localAuthListRepository: ILocalAuthListRepository;
|
|
6
6
|
protected _deviceModelRepository: IDeviceModelRepository;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
|
2
2
|
//
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
import { OCPP2_0_1 } from '@citrineos
|
|
5
|
-
import { LocalListAuthorization, LocalListVersion, SendLocalList, VariableAttribute, VariableCharacteristics, } from '@citrineos
|
|
4
|
+
import { OCPP2_0_1 } from '@zetra/citrineos-base';
|
|
5
|
+
import { LocalListAuthorization, LocalListVersion, SendLocalList, VariableAttribute, VariableCharacteristics, } from '@zetra/citrineos-data';
|
|
6
6
|
export class LocalAuthListService {
|
|
7
7
|
_localAuthListRepository;
|
|
8
8
|
_deviceModelRepository;
|
package/dist/module/module.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BootstrapConfig, CallAction, HandlerProperties, IAuthorizer, ICache, IMessage, IMessageHandler, IMessageSender, SystemConfig } from '@citrineos
|
|
2
|
-
import { AbstractModule, OCPP1_6, OCPP2_0_1, OCPPValidator } from '@citrineos
|
|
3
|
-
import type { IAuthorizationRepository, IChargingProfileRepository, IDeviceModelRepository, ILocalAuthListRepository, ILocationRepository, IOCPPMessageRepository, IReservationRepository, ITariffRepository, ITransactionEventRepository } from '@citrineos
|
|
4
|
-
import { CertificateAuthorityService, IdGenerator } from '@citrineos
|
|
1
|
+
import type { BootstrapConfig, CallAction, HandlerProperties, IAuthorizer, ICache, IMessage, IMessageHandler, IMessageSender, SystemConfig } from '@zetra/citrineos-base';
|
|
2
|
+
import { AbstractModule, OCPP1_6, OCPP2_0_1, OCPPValidator } from '@zetra/citrineos-base';
|
|
3
|
+
import type { IAuthorizationRepository, IChargingProfileRepository, IDeviceModelRepository, ILocalAuthListRepository, ILocationRepository, IOCPPMessageRepository, IReservationRepository, ITariffRepository, ITransactionEventRepository } from '@zetra/citrineos-data';
|
|
4
|
+
import { CertificateAuthorityService, IdGenerator } from '@zetra/citrineos-util';
|
|
5
5
|
import type { ILogObj } from 'tslog';
|
|
6
6
|
import { Logger } from 'tslog';
|
|
7
7
|
import { LocalAuthListService } from './LocalAuthListService.js';
|
package/dist/module/module.js
CHANGED
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { AbstractModule, AsHandler, AuthorizationStatusEnum, ChargingLimitSourceEnum, ChargingStationSequenceTypeEnum, ErrorCode, EventGroup, MessageOrigin, OCPP1_6, OCPP1_6_CallAction, OCPP2_0_1, OCPP2_0_1_CallAction, OcppError, OCPPValidator, OCPPVersion, } from '@citrineos
|
|
11
|
-
import { Authorization, OCPP1_6_Mapper, OCPP2_0_1_Mapper, sequelize, SequelizeChargingStationSequenceRepository, Tariff, VariableAttribute, } from '@citrineos
|
|
12
|
-
import { CertificateAuthorityService, IdGenerator, RabbitMqReceiver, RabbitMqSender, RealTimeAuthorizer, validateIdToken, } from '@citrineos
|
|
10
|
+
import { AbstractModule, AsHandler, AuthorizationStatusEnum, ChargingLimitSourceEnum, ChargingStationSequenceTypeEnum, ErrorCode, EventGroup, MessageOrigin, OCPP1_6, OCPP1_6_CallAction, OCPP2_0_1, OCPP2_0_1_CallAction, OcppError, OCPPValidator, OCPPVersion, } from '@zetra/citrineos-base';
|
|
11
|
+
import { Authorization, OCPP1_6_Mapper, OCPP2_0_1_Mapper, sequelize, SequelizeChargingStationSequenceRepository, Tariff, VariableAttribute, } from '@zetra/citrineos-data';
|
|
12
|
+
import { CertificateAuthorityService, IdGenerator, RabbitMqReceiver, RabbitMqSender, RealTimeAuthorizer, validateIdToken, } from '@zetra/citrineos-util';
|
|
13
13
|
import { Logger } from 'tslog';
|
|
14
14
|
import { LocalAuthListService } from './LocalAuthListService.js';
|
|
15
15
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zetra/citrineos-evdriver",
|
|
3
|
-
"version": "1.8.3-fork.
|
|
3
|
+
"version": "1.8.3-fork.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The EVDriver module for OCPP v2.0.1. This module is not intended to be used directly, but rather as a dependency for other modules.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@zetra/citrineos-base": "1.8.3-fork.
|
|
22
|
-
"@zetra/citrineos-data": "1.8.3-fork.
|
|
23
|
-
"@zetra/citrineos-util": "1.8.3-fork.
|
|
21
|
+
"@zetra/citrineos-base": "1.8.3-fork.20",
|
|
22
|
+
"@zetra/citrineos-data": "1.8.3-fork.20",
|
|
23
|
+
"@zetra/citrineos-util": "1.8.3-fork.20"
|
|
24
24
|
}
|
|
25
25
|
}
|