spotcharge-types 1.0.435 → 1.0.437
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/models/api/ocpi/index.d.ts +1 -0
- package/dist/models/api/ocpi/index.d.ts.map +1 -1
- package/dist/models/api/ocpi/roaming-admin.api.model.d.ts +46 -0
- package/dist/models/api/ocpi/roaming-admin.api.model.d.ts.map +1 -0
- package/dist/models/api/ocpi/roaming-admin.api.model.js +6 -0
- package/dist/models/api/ocpi/roaming-admin.api.model.js.map +1 -0
- package/dist/models/api/stations/station.api.model.d.ts +2 -0
- package/dist/models/api/stations/station.api.model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/models/api/ocpi/index.ts +7 -0
- package/src/models/api/ocpi/roaming-admin.api.model.ts +51 -0
- package/src/models/api/stations/station.api.model.ts +2 -0
|
@@ -3,5 +3,6 @@ export { OcpiRoamingLocationDetailApiModel, OcpiRoamingLocationDetailResponseApi
|
|
|
3
3
|
export { OcpiRoamingCapTypeApiModel, OcpiRoamingEstimateApiModel, OcpiRoamingEstimateBreakdownApiModel, OcpiRoamingEstimateRequestApiModel, OcpiRoamingCreateSessionRequestApiModel, OcpiRoamingSessionApiModel, OcpiRoamingPayMethodApiModel, OcpiRoamingPaySessionRequestApiModel, OcpiRoamingPaySessionApiModel, OcpiRoamingDataResponseApiModel, OcpiRoamingSessionListApiModel, } from './roaming-charge.api.model';
|
|
4
4
|
export { OcpiCpoInboundSessionListOrderByApiModel, OcpiCpoInboundSessionListSortDirectionApiModel, OcpiCpoInboundSessionListQueryApiModel, OcpiCpoInboundSessionListItemApiModel, OcpiCpoInboundSessionListResponseApiModel, OcpiCpoInboundSessionDetailApiModel, OcpiCpoInboundCommandApiModel, OcpiCpoInboundTransactionApiModel, OcpiCpoInboundMessageLogEntryApiModel, OcpiCpoInboundSessionDetailBundleApiModel, OcpiCpoInboundSessionDetailResponseApiModel, OcpiCpoInboundSessionStopDataApiModel, OcpiCpoInboundSessionStopResponseApiModel, OcpiCpoInboundReplayDataApiModel, OcpiCpoInboundReplayResponseApiModel, OcpiCpoInboundAdminActionApiModel, } from './cpo-inbound-admin.api.model';
|
|
5
5
|
export { OcpiMessageLogListOrderByApiModel, OcpiMessageLogListSortDirectionApiModel, OcpiMessageLogStatusFilterApiModel, OcpiMessageLogDirectionFilterApiModel, OcpiMessageLogModuleFilterApiModel, OcpiMessageLogContextTypeFilterApiModel, OcpiMessageLogPresetFilterApiModel, OcpiMessageLogListQueryApiModel, OcpiMessageLogListItemApiModel, OcpiMessageLogListResponseApiModel, OcpiMessageLogDetailResponseApiModel, } from './message-log-admin.api.model';
|
|
6
|
+
export { OcpiRoamingAdminSessionDetailApiModel, OcpiRoamingAdminCommandApiModel, OcpiRoamingAdminMessageLogEntryApiModel, OcpiRoamingAdminSessionDetailBundleApiModel, OcpiRoamingAdminSessionDetailResponseApiModel, } from './roaming-admin.api.model';
|
|
6
7
|
export { OcpiPartyHealthSummaryApiModel, OcpiPartyHealthApiModel, OcpiPartyHealthResponseApiModel, OcpiPartyInboundChargingPatchRequestApiModel, OcpiPartyInboundChargingPatchResponseApiModel, } from './party-health-admin.api.model';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/api/ocpi/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EACL,iCAAiC,EACjC,yCAAyC,EACzC,2BAA2B,EAC3B,gCAAgC,EAChC,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,uCAAuC,EACvC,0BAA0B,EAC1B,4BAA4B,EAC5B,oCAAoC,EACpC,6BAA6B,EAC7B,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,wCAAwC,EACxC,8CAA8C,EAC9C,sCAAsC,EACtC,qCAAqC,EACrC,yCAAyC,EACzC,mCAAmC,EACnC,6BAA6B,EAC7B,iCAAiC,EACjC,qCAAqC,EACrC,yCAAyC,EACzC,2CAA2C,EAC3C,qCAAqC,EACrC,yCAAyC,EACzC,gCAAgC,EAChC,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,iCAAiC,EACjC,uCAAuC,EACvC,kCAAkC,EAClC,qCAAqC,EACrC,kCAAkC,EAClC,uCAAuC,EACvC,kCAAkC,EAClC,+BAA+B,EAC/B,8BAA8B,EAC9B,kCAAkC,EAClC,oCAAoC,GACrC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,+BAA+B,EAC/B,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/api/ocpi/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EACL,iCAAiC,EACjC,yCAAyC,EACzC,2BAA2B,EAC3B,gCAAgC,EAChC,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,uCAAuC,EACvC,0BAA0B,EAC1B,4BAA4B,EAC5B,oCAAoC,EACpC,6BAA6B,EAC7B,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,wCAAwC,EACxC,8CAA8C,EAC9C,sCAAsC,EACtC,qCAAqC,EACrC,yCAAyC,EACzC,mCAAmC,EACnC,6BAA6B,EAC7B,iCAAiC,EACjC,qCAAqC,EACrC,yCAAyC,EACzC,2CAA2C,EAC3C,qCAAqC,EACrC,yCAAyC,EACzC,gCAAgC,EAChC,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,iCAAiC,EACjC,uCAAuC,EACvC,kCAAkC,EAClC,qCAAqC,EACrC,kCAAkC,EAClC,uCAAuC,EACvC,kCAAkC,EAClC,+BAA+B,EAC/B,8BAA8B,EAC9B,kCAAkC,EAClC,oCAAoC,GACrC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,qCAAqC,EACrC,+BAA+B,EAC/B,uCAAuC,EACvC,2CAA2C,EAC3C,6CAA6C,GAC9C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,+BAA+B,EAC/B,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GET /api/ocpi/admin/roaming-sessions/:id/detail
|
|
3
|
+
*/
|
|
4
|
+
import type { AppClientMetaApiModel } from '../consumer/charging-booking.api.model';
|
|
5
|
+
import type { OcpiRoamingSessionApiModel } from './roaming-charge.api.model';
|
|
6
|
+
export interface OcpiRoamingAdminSessionDetailApiModel extends OcpiRoamingSessionApiModel {
|
|
7
|
+
accountId: string;
|
|
8
|
+
client: AppClientMetaApiModel;
|
|
9
|
+
/** Ops: waiting on partner after START accepted. */
|
|
10
|
+
isStuckStarting?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface OcpiRoamingAdminCommandApiModel {
|
|
13
|
+
id: string;
|
|
14
|
+
commandType: string;
|
|
15
|
+
status: string;
|
|
16
|
+
correlationId: string | null;
|
|
17
|
+
partnerCommandId: string | null;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
completedAt: string | null;
|
|
20
|
+
requestJson: unknown;
|
|
21
|
+
responseJson: unknown;
|
|
22
|
+
resultJson: unknown;
|
|
23
|
+
}
|
|
24
|
+
export interface OcpiRoamingAdminMessageLogEntryApiModel {
|
|
25
|
+
id: string;
|
|
26
|
+
direction: string;
|
|
27
|
+
module: string;
|
|
28
|
+
method: string;
|
|
29
|
+
url: string;
|
|
30
|
+
httpStatus: number | null;
|
|
31
|
+
status: string;
|
|
32
|
+
lastError: string | null;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
requestBody: unknown;
|
|
35
|
+
responseBody: unknown;
|
|
36
|
+
}
|
|
37
|
+
export interface OcpiRoamingAdminSessionDetailBundleApiModel {
|
|
38
|
+
session: OcpiRoamingAdminSessionDetailApiModel;
|
|
39
|
+
commands: OcpiRoamingAdminCommandApiModel[];
|
|
40
|
+
messageLog: OcpiRoamingAdminMessageLogEntryApiModel[];
|
|
41
|
+
}
|
|
42
|
+
export interface OcpiRoamingAdminSessionDetailResponseApiModel {
|
|
43
|
+
success: boolean;
|
|
44
|
+
data: OcpiRoamingAdminSessionDetailBundleApiModel;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=roaming-admin.api.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roaming-admin.api.model.d.ts","sourceRoot":"","sources":["../../../../src/models/api/ocpi/roaming-admin.api.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAE7E,MAAM,WAAW,qCAAsC,SAAQ,0BAA0B;IACvF,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,oDAAoD;IACpD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,uCAAuC;IACtD,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,2CAA2C;IAC1D,OAAO,EAAE,qCAAqC,CAAC;IAC/C,QAAQ,EAAE,+BAA+B,EAAE,CAAC;IAC5C,UAAU,EAAE,uCAAuC,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,6CAA6C;IAC5D,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,2CAA2C,CAAC;CACnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roaming-admin.api.model.js","sourceRoot":"","sources":["../../../../src/models/api/ocpi/roaming-admin.api.model.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
|
@@ -39,6 +39,8 @@ export interface StationListItemApiModel {
|
|
|
39
39
|
status: StationStatus;
|
|
40
40
|
accessType: StationAccessType[];
|
|
41
41
|
createdAt: IsoDateTime;
|
|
42
|
+
/** Set on admin list when the station has at least one non-deleted partnership contract. */
|
|
43
|
+
hasPartnership?: boolean;
|
|
42
44
|
}
|
|
43
45
|
export interface StationListApiModel {
|
|
44
46
|
rows: StationListItemApiModel[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"station.api.model.d.ts","sourceRoot":"","sources":["../../../../src/models/api/stations/station.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,iEAAiE;AACjE,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,uHAAuH;AACvH,MAAM,WAAW,2BAA2B;IAC1C,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,GAAG,EAAE,yBAAyB,GAAG,IAAI,CAAC;IACtC,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,aAAa,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEjF,0CAA0C;AAC1C,MAAM,WAAW,uBAAuB;IACtC,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,SAAS,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"station.api.model.d.ts","sourceRoot":"","sources":["../../../../src/models/api/stations/station.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,iEAAiE;AACjE,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,uHAAuH;AACvH,MAAM,WAAW,2BAA2B;IAC1C,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,GAAG,EAAE,yBAAyB,GAAG,IAAI,CAAC;IACtC,GAAG,EAAE;QACH,GAA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AAE,MAAM,EAAE,CAAC;CAC7B;AAED,8CAA8C;AAC9C,MAAM,WAAW,qBAAqB;IACpC,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
package/package.json
CHANGED
|
@@ -52,6 +52,13 @@ export {
|
|
|
52
52
|
OcpiMessageLogListResponseApiModel,
|
|
53
53
|
OcpiMessageLogDetailResponseApiModel,
|
|
54
54
|
} from './message-log-admin.api.model';
|
|
55
|
+
export {
|
|
56
|
+
OcpiRoamingAdminSessionDetailApiModel,
|
|
57
|
+
OcpiRoamingAdminCommandApiModel,
|
|
58
|
+
OcpiRoamingAdminMessageLogEntryApiModel,
|
|
59
|
+
OcpiRoamingAdminSessionDetailBundleApiModel,
|
|
60
|
+
OcpiRoamingAdminSessionDetailResponseApiModel,
|
|
61
|
+
} from './roaming-admin.api.model';
|
|
55
62
|
export {
|
|
56
63
|
OcpiPartyHealthSummaryApiModel,
|
|
57
64
|
OcpiPartyHealthApiModel,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GET /api/ocpi/admin/roaming-sessions/:id/detail
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import type { AppClientMetaApiModel } from '../consumer/charging-booking.api.model';
|
|
6
|
+
import type { OcpiRoamingSessionApiModel } from './roaming-charge.api.model';
|
|
7
|
+
|
|
8
|
+
export interface OcpiRoamingAdminSessionDetailApiModel extends OcpiRoamingSessionApiModel {
|
|
9
|
+
accountId: string;
|
|
10
|
+
client: AppClientMetaApiModel;
|
|
11
|
+
/** Ops: waiting on partner after START accepted. */
|
|
12
|
+
isStuckStarting?: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface OcpiRoamingAdminCommandApiModel {
|
|
16
|
+
id: string;
|
|
17
|
+
commandType: string;
|
|
18
|
+
status: string;
|
|
19
|
+
correlationId: string | null;
|
|
20
|
+
partnerCommandId: string | null;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
completedAt: string | null;
|
|
23
|
+
requestJson: unknown;
|
|
24
|
+
responseJson: unknown;
|
|
25
|
+
resultJson: unknown;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface OcpiRoamingAdminMessageLogEntryApiModel {
|
|
29
|
+
id: string;
|
|
30
|
+
direction: string;
|
|
31
|
+
module: string;
|
|
32
|
+
method: string;
|
|
33
|
+
url: string;
|
|
34
|
+
httpStatus: number | null;
|
|
35
|
+
status: string;
|
|
36
|
+
lastError: string | null;
|
|
37
|
+
createdAt: string;
|
|
38
|
+
requestBody: unknown;
|
|
39
|
+
responseBody: unknown;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface OcpiRoamingAdminSessionDetailBundleApiModel {
|
|
43
|
+
session: OcpiRoamingAdminSessionDetailApiModel;
|
|
44
|
+
commands: OcpiRoamingAdminCommandApiModel[];
|
|
45
|
+
messageLog: OcpiRoamingAdminMessageLogEntryApiModel[];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface OcpiRoamingAdminSessionDetailResponseApiModel {
|
|
49
|
+
success: boolean;
|
|
50
|
+
data: OcpiRoamingAdminSessionDetailBundleApiModel;
|
|
51
|
+
}
|
|
@@ -43,6 +43,8 @@ export interface StationListItemApiModel {
|
|
|
43
43
|
status: StationStatus;
|
|
44
44
|
accessType: StationAccessType[];
|
|
45
45
|
createdAt: IsoDateTime;
|
|
46
|
+
/** Set on admin list when the station has at least one non-deleted partnership contract. */
|
|
47
|
+
hasPartnership?: boolean;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
export interface StationListApiModel {
|