@zetra/citrineos-base 1.8.3-fork.13 → 1.8.3-fork.131
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/config/defineConfig.js +2 -1
- package/dist/config/defineConfig.js.map +1 -1
- package/dist/config/redactConfig.d.ts +2 -0
- package/dist/config/redactConfig.js +45 -0
- package/dist/config/redactConfig.js.map +1 -0
- package/dist/config/types.d.ts +8 -0
- package/dist/config/types.js +12 -0
- package/dist/config/types.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces/api/AbstractModuleApi.js +5 -2
- package/dist/interfaces/api/AbstractModuleApi.js.map +1 -1
- package/dist/interfaces/dto/async.job.dto.d.ts +132 -8
- package/dist/interfaces/dto/authorization.dto.d.ts +770 -186
- package/dist/interfaces/dto/authorization.dto.js +13 -6
- package/dist/interfaces/dto/authorization.dto.js.map +1 -1
- package/dist/interfaces/dto/boot.dto.d.ts +224 -68
- package/dist/interfaces/dto/cdr.dto.d.ts +1 -0
- package/dist/interfaces/dto/cdr.dto.js +1 -0
- package/dist/interfaces/dto/cdr.dto.js.map +1 -1
- package/dist/interfaces/dto/certificate.dto.d.ts +9 -4
- package/dist/interfaces/dto/certificate.dto.js +1 -0
- package/dist/interfaces/dto/certificate.dto.js.map +1 -1
- package/dist/interfaces/dto/change.configuration.dto.d.ts +4 -4
- package/dist/interfaces/dto/charging.needs.dto.d.ts +4 -4
- package/dist/interfaces/dto/charging.profile.dto.d.ts +52 -52
- package/dist/interfaces/dto/charging.schedule.dto.d.ts +8 -8
- package/dist/interfaces/dto/charging.station.dto.d.ts +392 -80
- package/dist/interfaces/dto/charging.station.network.profile.dto.d.ts +408 -96
- package/dist/interfaces/dto/charging.station.security.info.dto.d.ts +4 -4
- package/dist/interfaces/dto/charging.station.sequence.dto.d.ts +200 -44
- package/dist/interfaces/dto/component.dto.d.ts +12 -12
- package/dist/interfaces/dto/composite.schedule.dto.d.ts +4 -4
- package/dist/interfaces/dto/connector.dto.d.ts +224 -23
- package/dist/interfaces/dto/event.data.dto.d.ts +20 -20
- package/dist/interfaces/dto/evse.dto.d.ts +100 -22
- package/dist/interfaces/dto/evse.type.dto.d.ts +4 -4
- package/dist/interfaces/dto/installed.certificate.dto.d.ts +4 -4
- package/dist/interfaces/dto/latest.status.notification.dto.d.ts +400 -88
- package/dist/interfaces/dto/location.dto.d.ts +210 -44
- package/dist/interfaces/dto/location.dto.js +2 -0
- package/dist/interfaces/dto/location.dto.js.map +1 -1
- package/dist/interfaces/dto/message.info.dto.d.ts +16 -16
- package/dist/interfaces/dto/meter.value.dto.d.ts +4 -4
- package/dist/interfaces/dto/ocpp.message.dto.d.ts +22 -22
- package/dist/interfaces/dto/reservation.dto.d.ts +8 -8
- package/dist/interfaces/dto/sales.tariff.dto.d.ts +4 -4
- package/dist/interfaces/dto/security.event.dto.d.ts +4 -4
- package/dist/interfaces/dto/server.network.profile.dto.d.ts +200 -44
- package/dist/interfaces/dto/set.network.profile.dto.d.ts +207 -51
- package/dist/interfaces/dto/start.transaction.dto.d.ts +97 -19
- package/dist/interfaces/dto/status.notification.dto.d.ts +200 -44
- package/dist/interfaces/dto/stop.transaction.dto.d.ts +8 -8
- package/dist/interfaces/dto/subscription.dto.d.ts +4 -4
- package/dist/interfaces/dto/tariff.dto.d.ts +14 -29
- package/dist/interfaces/dto/tariff.dto.js +2 -6
- package/dist/interfaces/dto/tariff.dto.js.map +1 -1
- package/dist/interfaces/dto/tenant.dto.d.ts +12 -12
- package/dist/interfaces/dto/tenant.partner.dto.d.ts +316 -4
- package/dist/interfaces/dto/tenant.partner.dto.js +14 -0
- package/dist/interfaces/dto/tenant.partner.dto.js.map +1 -1
- package/dist/interfaces/dto/transaction.dto.d.ts +1235 -399
- package/dist/interfaces/dto/transaction.event.dto.d.ts +16 -16
- package/dist/interfaces/dto/types/base.dto.d.ts +2 -2
- package/dist/interfaces/dto/types/enums.d.ts +86 -0
- package/dist/interfaces/dto/types/enums.js +48 -2
- package/dist/interfaces/dto/types/enums.js.map +1 -1
- package/dist/interfaces/dto/types/ocpi.registration.d.ts +2 -2
- package/dist/interfaces/dto/types/ocpi.registration.js +1 -1
- package/dist/interfaces/dto/types/ocpi.registration.js.map +1 -1
- package/dist/interfaces/dto/variable.attribute.dto.d.ts +225 -69
- package/dist/interfaces/dto/variable.characteristics.dto.d.ts +8 -8
- package/dist/interfaces/dto/variable.dto.d.ts +4 -4
- package/dist/interfaces/dto/variable.monitoring.dto.d.ts +20 -20
- package/dist/interfaces/dto/variable.monitoring.status.dto.d.ts +24 -24
- package/dist/interfaces/dto/variable.status.dto.d.ts +224 -68
- package/dist/interfaces/modules/AbstractModule.d.ts +7 -0
- package/dist/interfaces/modules/AbstractModule.js +39 -5
- package/dist/interfaces/modules/AbstractModule.js.map +1 -1
- package/dist/interfaces/router/AbstractRouter.js +2 -1
- package/dist/interfaces/router/AbstractRouter.js.map +1 -1
- package/dist/ocpp/model/2.0.1/schemas/MeterValuesRequest.json +1 -1
- package/dist/ocpp/model/2.0.1/schemas/TransactionEventRequest.json +1 -1
- package/dist/util/OidcTokenProvider.d.ts +15 -0
- package/dist/util/OidcTokenProvider.js +47 -0
- package/dist/util/OidcTokenProvider.js.map +1 -0
- package/dist/util/SecretMasking.d.ts +21 -0
- package/dist/util/SecretMasking.js +152 -0
- package/dist/util/SecretMasking.js.map +1 -0
- package/package.json +5 -1
|
@@ -15,7 +15,7 @@ export declare const AsyncJobSchema: z.ZodObject<{
|
|
|
15
15
|
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
-
|
|
18
|
+
credentialsRoles: z.ZodArray<z.ZodObject<{
|
|
19
19
|
role: z.ZodEnum<{
|
|
20
20
|
CPO: "CPO";
|
|
21
21
|
EMSP: "EMSP";
|
|
@@ -35,7 +35,7 @@ export declare const AsyncJobSchema: z.ZodObject<{
|
|
|
35
35
|
height: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
|
-
}, z.core.$strip
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
39
|
versionDetails: z.ZodArray<z.ZodObject<{
|
|
40
40
|
version: z.ZodEnum<{
|
|
41
41
|
"2.2.1": "2.2.1";
|
|
@@ -67,7 +67,7 @@ export declare const AsyncJobSchema: z.ZodObject<{
|
|
|
67
67
|
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
68
|
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
69
|
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
70
|
-
|
|
70
|
+
credentialsRoles: z.ZodArray<z.ZodObject<{
|
|
71
71
|
role: z.ZodEnum<{
|
|
72
72
|
CPO: "CPO";
|
|
73
73
|
EMSP: "EMSP";
|
|
@@ -87,7 +87,7 @@ export declare const AsyncJobSchema: z.ZodObject<{
|
|
|
87
87
|
height: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
}, z.core.$strip>>;
|
|
89
89
|
}, z.core.$strip>;
|
|
90
|
-
}, z.core.$strip
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
91
|
versionDetails: z.ZodArray<z.ZodObject<{
|
|
92
92
|
version: z.ZodEnum<{
|
|
93
93
|
"2.2.1": "2.2.1";
|
|
@@ -151,6 +151,68 @@ export declare const AsyncJobSchema: z.ZodObject<{
|
|
|
151
151
|
url: z.ZodString;
|
|
152
152
|
}, z.core.$strip>>>;
|
|
153
153
|
}, z.core.$strip>;
|
|
154
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
isHdv: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
+
awsSecretCertificateArn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
157
|
+
roamingPartners: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
158
|
+
tenantId: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
tenant: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
name: z.ZodString;
|
|
162
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
|
+
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
166
|
+
credentialsRoles: z.ZodArray<z.ZodObject<{
|
|
167
|
+
role: z.ZodEnum<{
|
|
168
|
+
CPO: "CPO";
|
|
169
|
+
EMSP: "EMSP";
|
|
170
|
+
HUB: "HUB";
|
|
171
|
+
NAP: "NAP";
|
|
172
|
+
NSP: "NSP";
|
|
173
|
+
SCSP: "SCSP";
|
|
174
|
+
}>;
|
|
175
|
+
businessDetails: z.ZodObject<{
|
|
176
|
+
name: z.ZodString;
|
|
177
|
+
website: z.ZodOptional<z.ZodString>;
|
|
178
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
url: z.ZodString;
|
|
180
|
+
type: z.ZodString;
|
|
181
|
+
category: z.ZodString;
|
|
182
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
versionDetails: z.ZodArray<z.ZodObject<{
|
|
188
|
+
version: z.ZodEnum<{
|
|
189
|
+
"2.2.1": "2.2.1";
|
|
190
|
+
}>;
|
|
191
|
+
versionDetailsUrl: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
193
|
+
versionEndpoints: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
194
|
+
identifier: z.ZodString;
|
|
195
|
+
url: z.ZodString;
|
|
196
|
+
}, z.core.$strip>>>;
|
|
197
|
+
}, z.core.$strip>>>;
|
|
198
|
+
isUserTenant: z.ZodDefault<z.ZodBoolean>;
|
|
199
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
200
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
203
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
204
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
|
+
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
|
+
signatureDate: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
209
|
+
contractStartDate: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
210
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
211
|
+
CPO: "CPO";
|
|
212
|
+
EMSP: "EMSP";
|
|
213
|
+
}>>>;
|
|
214
|
+
isHdv: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
+
}, z.core.$strip>>>>;
|
|
154
216
|
}, z.core.$strip>>;
|
|
155
217
|
finishedAt: z.ZodOptional<z.ZodDate>;
|
|
156
218
|
stoppedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -220,7 +282,7 @@ export declare const asyncJobSchemas: {
|
|
|
220
282
|
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
283
|
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
284
|
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
223
|
-
|
|
285
|
+
credentialsRoles: z.ZodArray<z.ZodObject<{
|
|
224
286
|
role: z.ZodEnum<{
|
|
225
287
|
CPO: "CPO";
|
|
226
288
|
EMSP: "EMSP";
|
|
@@ -240,7 +302,7 @@ export declare const asyncJobSchemas: {
|
|
|
240
302
|
height: z.ZodOptional<z.ZodNumber>;
|
|
241
303
|
}, z.core.$strip>>;
|
|
242
304
|
}, z.core.$strip>;
|
|
243
|
-
}, z.core.$strip
|
|
305
|
+
}, z.core.$strip>>;
|
|
244
306
|
versionDetails: z.ZodArray<z.ZodObject<{
|
|
245
307
|
version: z.ZodEnum<{
|
|
246
308
|
"2.2.1": "2.2.1";
|
|
@@ -272,7 +334,7 @@ export declare const asyncJobSchemas: {
|
|
|
272
334
|
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
273
335
|
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
274
336
|
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
275
|
-
|
|
337
|
+
credentialsRoles: z.ZodArray<z.ZodObject<{
|
|
276
338
|
role: z.ZodEnum<{
|
|
277
339
|
CPO: "CPO";
|
|
278
340
|
EMSP: "EMSP";
|
|
@@ -292,7 +354,7 @@ export declare const asyncJobSchemas: {
|
|
|
292
354
|
height: z.ZodOptional<z.ZodNumber>;
|
|
293
355
|
}, z.core.$strip>>;
|
|
294
356
|
}, z.core.$strip>;
|
|
295
|
-
}, z.core.$strip
|
|
357
|
+
}, z.core.$strip>>;
|
|
296
358
|
versionDetails: z.ZodArray<z.ZodObject<{
|
|
297
359
|
version: z.ZodEnum<{
|
|
298
360
|
"2.2.1": "2.2.1";
|
|
@@ -356,6 +418,68 @@ export declare const asyncJobSchemas: {
|
|
|
356
418
|
url: z.ZodString;
|
|
357
419
|
}, z.core.$strip>>>;
|
|
358
420
|
}, z.core.$strip>;
|
|
421
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
422
|
+
isHdv: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
awsSecretCertificateArn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
424
|
+
roamingPartners: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
425
|
+
tenantId: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
tenant: z.ZodOptional<z.ZodObject<{
|
|
427
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
428
|
+
name: z.ZodString;
|
|
429
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
430
|
+
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
431
|
+
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
432
|
+
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
433
|
+
credentialsRoles: z.ZodArray<z.ZodObject<{
|
|
434
|
+
role: z.ZodEnum<{
|
|
435
|
+
CPO: "CPO";
|
|
436
|
+
EMSP: "EMSP";
|
|
437
|
+
HUB: "HUB";
|
|
438
|
+
NAP: "NAP";
|
|
439
|
+
NSP: "NSP";
|
|
440
|
+
SCSP: "SCSP";
|
|
441
|
+
}>;
|
|
442
|
+
businessDetails: z.ZodObject<{
|
|
443
|
+
name: z.ZodString;
|
|
444
|
+
website: z.ZodOptional<z.ZodString>;
|
|
445
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
446
|
+
url: z.ZodString;
|
|
447
|
+
type: z.ZodString;
|
|
448
|
+
category: z.ZodString;
|
|
449
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
}, z.core.$strip>>;
|
|
452
|
+
}, z.core.$strip>;
|
|
453
|
+
}, z.core.$strip>>;
|
|
454
|
+
versionDetails: z.ZodArray<z.ZodObject<{
|
|
455
|
+
version: z.ZodEnum<{
|
|
456
|
+
"2.2.1": "2.2.1";
|
|
457
|
+
}>;
|
|
458
|
+
versionDetailsUrl: z.ZodOptional<z.ZodString>;
|
|
459
|
+
}, z.core.$strip>>;
|
|
460
|
+
versionEndpoints: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
461
|
+
identifier: z.ZodString;
|
|
462
|
+
url: z.ZodString;
|
|
463
|
+
}, z.core.$strip>>>;
|
|
464
|
+
}, z.core.$strip>>>;
|
|
465
|
+
isUserTenant: z.ZodDefault<z.ZodBoolean>;
|
|
466
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
467
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
468
|
+
}, z.core.$strip>>;
|
|
469
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
470
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
471
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
473
|
+
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
474
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
475
|
+
signatureDate: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
476
|
+
contractStartDate: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
477
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
478
|
+
CPO: "CPO";
|
|
479
|
+
EMSP: "EMSP";
|
|
480
|
+
}>>>;
|
|
481
|
+
isHdv: z.ZodOptional<z.ZodBoolean>;
|
|
482
|
+
}, z.core.$strip>>>>;
|
|
359
483
|
}, z.core.$strip>>;
|
|
360
484
|
finishedAt: z.ZodOptional<z.ZodDate>;
|
|
361
485
|
stoppedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|