@zetra/citrineos-ocpprouter 1.8.3-fork.3 → 1.8.4
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/DataApi.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BootstrapConfig, IMessageRouter, INetworkConnection, SystemConfig, WebsocketServerConfig } from '@citrineos
|
|
2
|
-
import { AbstractModuleApi, Namespace, OCPP1_6_Namespace, OCPP2_0_1_Namespace } from '@citrineos
|
|
3
|
-
import type { ChargingStationKeyQuerystring, ConnectionDeleteQuerystring, IServerNetworkProfileRepository, ISubscriptionRepository, ModelKeyQuerystring, TenantQueryString, WebsocketDeleteQuerystring, WebsocketGetQuerystring, WebsocketMappingQuerystring } from '@citrineos
|
|
4
|
-
import { Subscription } from '@citrineos
|
|
1
|
+
import type { BootstrapConfig, IMessageRouter, INetworkConnection, SystemConfig, WebsocketServerConfig } from '@zetra/citrineos-base';
|
|
2
|
+
import { AbstractModuleApi, Namespace, OCPP1_6_Namespace, OCPP2_0_1_Namespace } from '@zetra/citrineos-base';
|
|
3
|
+
import type { ChargingStationKeyQuerystring, ConnectionDeleteQuerystring, IServerNetworkProfileRepository, ISubscriptionRepository, ModelKeyQuerystring, TenantQueryString, WebsocketDeleteQuerystring, WebsocketGetQuerystring, WebsocketMappingQuerystring } from '@zetra/citrineos-data';
|
|
4
|
+
import { Subscription } from '@zetra/citrineos-data';
|
|
5
5
|
import type { FastifyInstance, FastifyRequest } from 'fastify';
|
|
6
6
|
import type { ILogObj } from 'tslog';
|
|
7
7
|
import { Logger } from 'tslog';
|
package/dist/module/DataApi.js
CHANGED
|
@@ -7,8 +7,8 @@ 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 { AbstractModuleApi, AsDataEndpoint, BadRequestError, ConfigStoreFactory, DEFAULT_TENANT_ID, HttpMethod, Namespace, NotFoundError, OCPP1_6_Namespace, OCPP2_0_1_Namespace, UnauthorizedError, } from '@citrineos
|
|
11
|
-
import { ChargingStationKeyQuerySchema, ConnectionDeleteQuerySchema, CreateSubscriptionSchema, ModelKeyQuerystringSchema, sequelize, Subscription, TenantQuerySchema, WebsocketDeleteQuerySchema, WebsocketGetQuerySchema, WebsocketRequestSchema, WebsocketMappingQuerySchema, WebsocketMappingRequestSchema, } from '@citrineos
|
|
10
|
+
import { AbstractModuleApi, AsDataEndpoint, BadRequestError, ConfigStoreFactory, DEFAULT_TENANT_ID, HttpMethod, Namespace, NotFoundError, OCPP1_6_Namespace, OCPP2_0_1_Namespace, UnauthorizedError, } from '@zetra/citrineos-base';
|
|
11
|
+
import { ChargingStationKeyQuerySchema, ConnectionDeleteQuerySchema, CreateSubscriptionSchema, ModelKeyQuerystringSchema, sequelize, Subscription, TenantQuerySchema, WebsocketDeleteQuerySchema, WebsocketGetQuerySchema, WebsocketRequestSchema, WebsocketMappingQuerySchema, WebsocketMappingRequestSchema, } from '@zetra/citrineos-data';
|
|
12
12
|
import { Logger } from 'tslog';
|
|
13
13
|
/**
|
|
14
14
|
* Admin API for the OcppRouter.
|
package/dist/module/router.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BootstrapConfig, Call, CallAction, CallError, CallResult, CircuitBreakerOptions, CircuitBreakerState, ICache, IMessageConfirmation, IMessageHandler, IMessageRouter, IMessageSender, OcppRequest, OcppResponse, OCPPVersionType, SystemConfig } from '@citrineos
|
|
2
|
-
import { AbstractMessageRouter, CircuitBreaker, MessageOrigin, OcppError, OCPPValidator, OCPPVersion } from '@citrineos
|
|
3
|
-
import type { ILocationRepository } from '@citrineos
|
|
1
|
+
import type { BootstrapConfig, Call, CallAction, CallError, CallResult, CircuitBreakerOptions, CircuitBreakerState, ICache, IMessageConfirmation, IMessageHandler, IMessageRouter, IMessageSender, OcppRequest, OcppResponse, OCPPVersionType, SystemConfig } from '@zetra/citrineos-base';
|
|
2
|
+
import { AbstractMessageRouter, CircuitBreaker, MessageOrigin, OcppError, OCPPValidator, OCPPVersion } from '@zetra/citrineos-base';
|
|
3
|
+
import type { ILocationRepository } from '@zetra/citrineos-data';
|
|
4
4
|
import type { ILogObj } from 'tslog';
|
|
5
5
|
import { Logger } from 'tslog';
|
|
6
6
|
import { WebhookDispatcher } from './webhook.dispatcher.js';
|
package/dist/module/router.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractMessageRouter, AbstractModule, BOOT_STATUS, CacheNamespace, CircuitBreaker, createIdentifier, ErrorCode, EventGroup, getStationIdFromIdentifier, getTenantIdFromIdentifier, mapToCallAction, MessageOrigin, MessageState, MessageTypeId, NO_ACTION, OCPP2_0_1, OCPP2_0_1_CallAction, OcppError, OCPPValidator, OCPPVersion, RequestBuilder, RetryMessageError, } from '@citrineos
|
|
2
|
-
import { sequelize } from '@citrineos
|
|
3
|
-
import { OidcTokenProvider } from '@citrineos
|
|
1
|
+
import { AbstractMessageRouter, AbstractModule, BOOT_STATUS, CacheNamespace, CircuitBreaker, createIdentifier, ErrorCode, EventGroup, getStationIdFromIdentifier, getTenantIdFromIdentifier, mapToCallAction, MessageOrigin, MessageState, MessageTypeId, NO_ACTION, OCPP2_0_1, OCPP2_0_1_CallAction, OcppError, OCPPValidator, OCPPVersion, RequestBuilder, RetryMessageError, } from '@zetra/citrineos-base';
|
|
2
|
+
import { sequelize } from '@zetra/citrineos-data';
|
|
3
|
+
import { OidcTokenProvider } from '@zetra/citrineos-util';
|
|
4
4
|
import { Logger } from 'tslog';
|
|
5
5
|
import { v4 as uuidv4 } from 'uuid';
|
|
6
6
|
import { WebhookDispatcher } from './webhook.dispatcher.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { OCPPVersionType } from '@citrineos
|
|
2
|
-
import { MessageOrigin, MessageState } from '@citrineos
|
|
3
|
-
import type { IOCPPMessageRepository, ISubscriptionRepository } from '@citrineos
|
|
4
|
-
import { Subscription } from '@citrineos
|
|
1
|
+
import type { OCPPVersionType } from '@zetra/citrineos-base';
|
|
2
|
+
import { MessageOrigin, MessageState } from '@zetra/citrineos-base';
|
|
3
|
+
import type { IOCPPMessageRepository, ISubscriptionRepository } from '@zetra/citrineos-data';
|
|
4
|
+
import { Subscription } from '@zetra/citrineos-data';
|
|
5
5
|
import type { ILogObj } from 'tslog';
|
|
6
6
|
import { Logger } from 'tslog';
|
|
7
7
|
export declare class WebhookDispatcher {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createIdentifier, getStationIdFromIdentifier, getTenantIdFromIdentifier, MessageOrigin, MessageState, } from '@citrineos
|
|
2
|
-
import { Subscription } from '@citrineos
|
|
1
|
+
import { createIdentifier, getStationIdFromIdentifier, getTenantIdFromIdentifier, MessageOrigin, MessageState, } from '@zetra/citrineos-base';
|
|
2
|
+
import { Subscription } from '@zetra/citrineos-data';
|
|
3
3
|
import { Logger } from 'tslog';
|
|
4
4
|
import { v4 as uuidv4 } from 'uuid';
|
|
5
5
|
export class WebhookDispatcher {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zetra/citrineos-ocpprouter",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The ocpprouter 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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"devDependencies": {},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@zetra/citrineos-base": "1.8.
|
|
23
|
-
"@zetra/citrineos-data": "1.8.
|
|
24
|
-
"@zetra/citrineos-util": "1.8.
|
|
22
|
+
"@zetra/citrineos-base": "1.8.4",
|
|
23
|
+
"@zetra/citrineos-data": "1.8.4",
|
|
24
|
+
"@zetra/citrineos-util": "1.8.4",
|
|
25
25
|
"node-forge": "1.3.2"
|
|
26
26
|
}
|
|
27
27
|
}
|