-import type { ValidateFunction } from 'ajv'
-import type _Ajv from 'ajv'
+import type { default as _Ajv, ValidateFunction } from 'ajv'
import { EventEmitter } from 'node:events'
-import type { ValidateFunction } from 'ajv'
-import type _Ajv from 'ajv'
+import type { default as _Ajv, ValidateFunction } from 'ajv'
import type { ChargingStation } from '../../charging-station/index.js'
import type { OCPPResponseService } from './OCPPResponseService.js'
-import type { ValidateFunction } from 'ajv'
-import type _Ajv from 'ajv'
+import type { default as _Ajv, ValidateFunction } from 'ajv'
import type { ChargingStation } from '../../charging-station/index.js'
import type {
AuthConfiguration,
AuthorizationResult,
+ AuthorizationStatus,
AuthRequest,
Identifier,
+ IdentifierType,
} from '../types/AuthTypes.js'
-import type { AuthorizationStatus, IdentifierType } from '../types/AuthTypes.js'
/**
* Authorization cache interface
-import type { JsonObject, OCPPVersion } from '../../../../types/index.js'
-import type { OCPP20MessageFormatEnumType } from '../../../../types/index.js'
+import type {
+ JsonObject,
+ OCPP20MessageFormatEnumType,
+ OCPPVersion,
+} from '../../../../types/index.js'
import {
OCPP16AuthorizationStatus,
*/
import assert from 'node:assert/strict'
-import { mock } from 'node:test'
-import { afterEach, beforeEach, describe, it } from 'node:test'
+import { afterEach, beforeEach, describe, it, mock } from 'node:test'
import type { ChargingStation } from '../../../../src/charging-station/index.js'
import type { TestableOCPP16IncomingRequestService } from '../../../../src/charging-station/ocpp/1.6/__testable__/index.js'
import type {
OCPP20TransactionEventRequest,
OCPP20TransactionEventResponse,
+ UUIDv4,
} from '../../../../src/types/index.js'
-import type { UUIDv4 } from '../../../../src/types/index.js'
import { OCPP20ResponseService } from '../../../../src/charging-station/ocpp/2.0/OCPP20ResponseService.js'
import { OCPP20ServiceUtils } from '../../../../src/charging-station/ocpp/2.0/OCPP20ServiceUtils.js'
GetCertificateIdUseEnumType,
JsonType,
OCPP20IdTokenType,
+ OCPP20RequestCommand,
OCSPRequestDataType,
} from '../../../../src/types/index.js'
-import type { OCPP20RequestCommand } from '../../../../src/types/index.js'
import { buildConfigKey } from '../../../../src/charging-station/index.js'
import { OCPP20RequestService } from '../../../../src/charging-station/ocpp/2.0/OCPP20RequestService.js'
import {
OCPP20AuthorizationStatusEnumType,
OCPP20IdTokenEnumType,
+ OCPPVersion,
RequestStartStopStatusEnumType,
} from '../../../../../src/types/index.js'
-import { OCPPVersion } from '../../../../../src/types/index.js'
import { standardCleanup } from '../../../../helpers/TestLifecycleHelpers.js'
import { createMockAuthorizationResult, createMockIdentifier } from '../helpers/MockFactories.js'
type Identifier,
IdentifierType,
} from '../../../../../src/charging-station/ocpp/auth/types/AuthTypes.js'
-import { OCPPVersion } from '../../../../../src/types/index.js'
-import { OCPP20IdTokenEnumType, type OCPP20IdTokenType } from '../../../../../src/types/index.js'
+import {
+ OCPP20IdTokenEnumType,
+ type OCPP20IdTokenType,
+ OCPPVersion,
+} from '../../../../../src/types/index.js'
/**
* Factory functions for creating test mocks and fixtures