@zetra/citrineos-base 1.8.3-fork.24 → 1.8.3-fork.26

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.
Files changed (58) hide show
  1. package/dist/interfaces/dto/async.job.dto.d.ts +8 -8
  2. package/dist/interfaces/dto/authorization.dto.d.ts +38 -28
  3. package/dist/interfaces/dto/authorization.dto.js +1 -0
  4. package/dist/interfaces/dto/authorization.dto.js.map +1 -1
  5. package/dist/interfaces/dto/boot.dto.d.ts +56 -48
  6. package/dist/interfaces/dto/cdr.dto.d.ts +1 -0
  7. package/dist/interfaces/dto/cdr.dto.js +1 -0
  8. package/dist/interfaces/dto/cdr.dto.js.map +1 -1
  9. package/dist/interfaces/dto/certificate.dto.d.ts +4 -4
  10. package/dist/interfaces/dto/change.configuration.dto.d.ts +4 -4
  11. package/dist/interfaces/dto/charging.needs.dto.d.ts +4 -4
  12. package/dist/interfaces/dto/charging.profile.dto.d.ts +52 -52
  13. package/dist/interfaces/dto/charging.schedule.dto.d.ts +8 -8
  14. package/dist/interfaces/dto/charging.station.dto.d.ts +56 -40
  15. package/dist/interfaces/dto/charging.station.network.profile.dto.d.ts +72 -56
  16. package/dist/interfaces/dto/charging.station.security.info.dto.d.ts +4 -4
  17. package/dist/interfaces/dto/charging.station.sequence.dto.d.ts +32 -24
  18. package/dist/interfaces/dto/component.dto.d.ts +12 -12
  19. package/dist/interfaces/dto/composite.schedule.dto.d.ts +4 -4
  20. package/dist/interfaces/dto/connector.dto.d.ts +14 -8
  21. package/dist/interfaces/dto/event.data.dto.d.ts +20 -20
  22. package/dist/interfaces/dto/evse.dto.d.ts +16 -12
  23. package/dist/interfaces/dto/evse.type.dto.d.ts +4 -4
  24. package/dist/interfaces/dto/installed.certificate.dto.d.ts +4 -4
  25. package/dist/interfaces/dto/latest.status.notification.dto.d.ts +64 -48
  26. package/dist/interfaces/dto/location.dto.d.ts +37 -24
  27. package/dist/interfaces/dto/location.dto.js +1 -0
  28. package/dist/interfaces/dto/location.dto.js.map +1 -1
  29. package/dist/interfaces/dto/message.info.dto.d.ts +16 -16
  30. package/dist/interfaces/dto/meter.value.dto.d.ts +4 -4
  31. package/dist/interfaces/dto/ocpp.message.dto.d.ts +22 -22
  32. package/dist/interfaces/dto/reservation.dto.d.ts +8 -8
  33. package/dist/interfaces/dto/sales.tariff.dto.d.ts +4 -4
  34. package/dist/interfaces/dto/security.event.dto.d.ts +4 -4
  35. package/dist/interfaces/dto/server.network.profile.dto.d.ts +32 -24
  36. package/dist/interfaces/dto/set.network.profile.dto.d.ts +36 -28
  37. package/dist/interfaces/dto/start.transaction.dto.d.ts +12 -8
  38. package/dist/interfaces/dto/status.notification.dto.d.ts +32 -24
  39. package/dist/interfaces/dto/stop.transaction.dto.d.ts +8 -8
  40. package/dist/interfaces/dto/subscription.dto.d.ts +4 -4
  41. package/dist/interfaces/dto/tariff.dto.d.ts +14 -4
  42. package/dist/interfaces/dto/tariff.dto.js +2 -0
  43. package/dist/interfaces/dto/tariff.dto.js.map +1 -1
  44. package/dist/interfaces/dto/tenant.dto.d.ts +12 -12
  45. package/dist/interfaces/dto/tenant.partner.dto.d.ts +4 -4
  46. package/dist/interfaces/dto/transaction.dto.d.ts +158 -120
  47. package/dist/interfaces/dto/transaction.event.dto.d.ts +16 -16
  48. package/dist/interfaces/dto/types/base.dto.d.ts +2 -2
  49. package/dist/interfaces/dto/types/ocpi.registration.d.ts +2 -2
  50. package/dist/interfaces/dto/types/ocpi.registration.js +1 -1
  51. package/dist/interfaces/dto/types/ocpi.registration.js.map +1 -1
  52. package/dist/interfaces/dto/variable.attribute.dto.d.ts +52 -44
  53. package/dist/interfaces/dto/variable.characteristics.dto.d.ts +8 -8
  54. package/dist/interfaces/dto/variable.dto.d.ts +4 -4
  55. package/dist/interfaces/dto/variable.monitoring.dto.d.ts +20 -20
  56. package/dist/interfaces/dto/variable.monitoring.status.dto.d.ts +24 -24
  57. package/dist/interfaces/dto/variable.status.dto.d.ts +56 -48
  58. package/package.json +1 -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
- credentialsRole: z.ZodObject<{
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
- credentialsRole: z.ZodObject<{
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";
@@ -221,7 +221,7 @@ export declare const asyncJobSchemas: {
221
221
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
222
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
223
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
224
- credentialsRole: z.ZodObject<{
224
+ credentialsRoles: z.ZodArray<z.ZodObject<{
225
225
  role: z.ZodEnum<{
226
226
  CPO: "CPO";
227
227
  EMSP: "EMSP";
@@ -241,7 +241,7 @@ export declare const asyncJobSchemas: {
241
241
  height: z.ZodOptional<z.ZodNumber>;
242
242
  }, z.core.$strip>>;
243
243
  }, z.core.$strip>;
244
- }, z.core.$strip>;
244
+ }, z.core.$strip>>;
245
245
  versionDetails: z.ZodArray<z.ZodObject<{
246
246
  version: z.ZodEnum<{
247
247
  "2.2.1": "2.2.1";
@@ -273,7 +273,7 @@ export declare const asyncJobSchemas: {
273
273
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
274
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
275
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
276
- credentialsRole: z.ZodObject<{
276
+ credentialsRoles: z.ZodArray<z.ZodObject<{
277
277
  role: z.ZodEnum<{
278
278
  CPO: "CPO";
279
279
  EMSP: "EMSP";
@@ -293,7 +293,7 @@ export declare const asyncJobSchemas: {
293
293
  height: z.ZodOptional<z.ZodNumber>;
294
294
  }, z.core.$strip>>;
295
295
  }, z.core.$strip>;
296
- }, z.core.$strip>;
296
+ }, z.core.$strip>>;
297
297
  versionDetails: z.ZodArray<z.ZodObject<{
298
298
  version: z.ZodEnum<{
299
299
  "2.2.1": "2.2.1";
@@ -79,7 +79,7 @@ export declare const GroupAuthorizationSchema: z.ZodObject<{
79
79
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
80
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
81
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
82
- credentialsRole: z.ZodObject<{
82
+ credentialsRoles: z.ZodArray<z.ZodObject<{
83
83
  role: z.ZodEnum<{
84
84
  CPO: "CPO";
85
85
  EMSP: "EMSP";
@@ -99,7 +99,7 @@ export declare const GroupAuthorizationSchema: z.ZodObject<{
99
99
  height: z.ZodOptional<z.ZodNumber>;
100
100
  }, z.core.$strip>>;
101
101
  }, z.core.$strip>;
102
- }, z.core.$strip>;
102
+ }, z.core.$strip>>;
103
103
  versionDetails: z.ZodArray<z.ZodObject<{
104
104
  version: z.ZodEnum<{
105
105
  "2.2.1": "2.2.1";
@@ -175,7 +175,7 @@ export declare const GroupAuthorizationSchema: z.ZodObject<{
175
175
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
176
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
177
177
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
178
- credentialsRole: z.ZodObject<{
178
+ credentialsRoles: z.ZodArray<z.ZodObject<{
179
179
  role: z.ZodEnum<{
180
180
  CPO: "CPO";
181
181
  EMSP: "EMSP";
@@ -195,7 +195,7 @@ export declare const GroupAuthorizationSchema: z.ZodObject<{
195
195
  height: z.ZodOptional<z.ZodNumber>;
196
196
  }, z.core.$strip>>;
197
197
  }, z.core.$strip>;
198
- }, z.core.$strip>;
198
+ }, z.core.$strip>>;
199
199
  versionDetails: z.ZodArray<z.ZodObject<{
200
200
  version: z.ZodEnum<{
201
201
  "2.2.1": "2.2.1";
@@ -212,6 +212,7 @@ export declare const GroupAuthorizationSchema: z.ZodObject<{
212
212
  createdAt: z.ZodOptional<z.ZodDate>;
213
213
  }, z.core.$strip>>>;
214
214
  }, z.core.$strip>>>>;
215
+ roamingPartnerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
215
216
  }, z.core.$strip>;
216
217
  export type GroupAuthorizationDto = z.infer<typeof GroupAuthorizationSchema>;
217
218
  export declare const AuthorizationSchema: z.ZodObject<{
@@ -298,7 +299,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
298
299
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
299
300
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
301
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
301
- credentialsRole: z.ZodObject<{
302
+ credentialsRoles: z.ZodArray<z.ZodObject<{
302
303
  role: z.ZodEnum<{
303
304
  CPO: "CPO";
304
305
  EMSP: "EMSP";
@@ -318,7 +319,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
318
319
  height: z.ZodOptional<z.ZodNumber>;
319
320
  }, z.core.$strip>>;
320
321
  }, z.core.$strip>;
321
- }, z.core.$strip>;
322
+ }, z.core.$strip>>;
322
323
  versionDetails: z.ZodArray<z.ZodObject<{
323
324
  version: z.ZodEnum<{
324
325
  "2.2.1": "2.2.1";
@@ -394,7 +395,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
394
395
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
395
396
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
396
397
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
397
- credentialsRole: z.ZodObject<{
398
+ credentialsRoles: z.ZodArray<z.ZodObject<{
398
399
  role: z.ZodEnum<{
399
400
  CPO: "CPO";
400
401
  EMSP: "EMSP";
@@ -414,7 +415,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
414
415
  height: z.ZodOptional<z.ZodNumber>;
415
416
  }, z.core.$strip>>;
416
417
  }, z.core.$strip>;
417
- }, z.core.$strip>;
418
+ }, z.core.$strip>>;
418
419
  versionDetails: z.ZodArray<z.ZodObject<{
419
420
  version: z.ZodEnum<{
420
421
  "2.2.1": "2.2.1";
@@ -431,6 +432,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
431
432
  createdAt: z.ZodOptional<z.ZodDate>;
432
433
  }, z.core.$strip>>>;
433
434
  }, z.core.$strip>>>>;
435
+ roamingPartnerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
436
  }, z.core.$strip>>>;
435
437
  id: z.ZodOptional<z.ZodNumber>;
436
438
  allowedConnectorTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -509,7 +511,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
509
511
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
510
512
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
511
513
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
512
- credentialsRole: z.ZodObject<{
514
+ credentialsRoles: z.ZodArray<z.ZodObject<{
513
515
  role: z.ZodEnum<{
514
516
  CPO: "CPO";
515
517
  EMSP: "EMSP";
@@ -529,7 +531,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
529
531
  height: z.ZodOptional<z.ZodNumber>;
530
532
  }, z.core.$strip>>;
531
533
  }, z.core.$strip>;
532
- }, z.core.$strip>;
534
+ }, z.core.$strip>>;
533
535
  versionDetails: z.ZodArray<z.ZodObject<{
534
536
  version: z.ZodEnum<{
535
537
  "2.2.1": "2.2.1";
@@ -604,7 +606,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
604
606
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
605
607
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
606
608
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
607
- credentialsRole: z.ZodObject<{
609
+ credentialsRoles: z.ZodArray<z.ZodObject<{
608
610
  role: z.ZodEnum<{
609
611
  CPO: "CPO";
610
612
  EMSP: "EMSP";
@@ -624,7 +626,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
624
626
  height: z.ZodOptional<z.ZodNumber>;
625
627
  }, z.core.$strip>>;
626
628
  }, z.core.$strip>;
627
- }, z.core.$strip>;
629
+ }, z.core.$strip>>;
628
630
  versionDetails: z.ZodArray<z.ZodObject<{
629
631
  version: z.ZodEnum<{
630
632
  "2.2.1": "2.2.1";
@@ -641,6 +643,7 @@ export declare const AuthorizationSchema: z.ZodObject<{
641
643
  createdAt: z.ZodOptional<z.ZodDate>;
642
644
  }, z.core.$strip>>>;
643
645
  }, z.core.$strip>>>>;
646
+ roamingPartnerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
644
647
  }, z.core.$strip>;
645
648
  export declare const AuthorizationProps: {
646
649
  status: "status";
@@ -666,6 +669,7 @@ export declare const AuthorizationProps: {
666
669
  tenantPartnerId: "tenantPartnerId";
667
670
  tenantPartner: "tenantPartner";
668
671
  tenants: "tenants";
672
+ roamingPartnerId: "roamingPartnerId";
669
673
  groupAuthorization: "groupAuthorization";
670
674
  };
671
675
  export type AuthorizationDto = z.infer<typeof AuthorizationSchema>;
@@ -747,7 +751,7 @@ export declare const AuthorizationCreateSchema: z.ZodObject<{
747
751
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
748
752
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
749
753
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
750
- credentialsRole: z.ZodObject<{
754
+ credentialsRoles: z.ZodArray<z.ZodObject<{
751
755
  role: z.ZodEnum<{
752
756
  CPO: "CPO";
753
757
  EMSP: "EMSP";
@@ -767,7 +771,7 @@ export declare const AuthorizationCreateSchema: z.ZodObject<{
767
771
  height: z.ZodOptional<z.ZodNumber>;
768
772
  }, z.core.$strip>>;
769
773
  }, z.core.$strip>;
770
- }, z.core.$strip>;
774
+ }, z.core.$strip>>;
771
775
  versionDetails: z.ZodArray<z.ZodObject<{
772
776
  version: z.ZodEnum<{
773
777
  "2.2.1": "2.2.1";
@@ -784,6 +788,7 @@ export declare const AuthorizationCreateSchema: z.ZodObject<{
784
788
  createdAt: z.ZodOptional<z.ZodDate>;
785
789
  }, z.core.$strip>>>;
786
790
  }, z.core.$strip>>>>;
791
+ roamingPartnerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
787
792
  }, z.core.$strip>;
788
793
  export type AuthorizationCreate = z.infer<typeof AuthorizationCreateSchema>;
789
794
  export declare const AuthorizationUpdateSchema: z.ZodObject<{
@@ -865,7 +870,7 @@ export declare const AuthorizationUpdateSchema: z.ZodObject<{
865
870
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
871
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
872
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
868
- credentialsRole: z.ZodObject<{
873
+ credentialsRoles: z.ZodArray<z.ZodObject<{
869
874
  role: z.ZodEnum<{
870
875
  CPO: "CPO";
871
876
  EMSP: "EMSP";
@@ -885,7 +890,7 @@ export declare const AuthorizationUpdateSchema: z.ZodObject<{
885
890
  height: z.ZodOptional<z.ZodNumber>;
886
891
  }, z.core.$strip>>;
887
892
  }, z.core.$strip>;
888
- }, z.core.$strip>;
893
+ }, z.core.$strip>>;
889
894
  versionDetails: z.ZodArray<z.ZodObject<{
890
895
  version: z.ZodEnum<{
891
896
  "2.2.1": "2.2.1";
@@ -902,6 +907,7 @@ export declare const AuthorizationUpdateSchema: z.ZodObject<{
902
907
  createdAt: z.ZodOptional<z.ZodDate>;
903
908
  }, z.core.$strip>>>;
904
909
  }, z.core.$strip>>>>>;
910
+ roamingPartnerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
905
911
  }, z.core.$strip>;
906
912
  export type AuthorizationUpdate = z.infer<typeof AuthorizationUpdateSchema>;
907
913
  export declare const authorizationSchemas: {
@@ -989,7 +995,7 @@ export declare const authorizationSchemas: {
989
995
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
990
996
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
991
997
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
992
- credentialsRole: z.ZodObject<{
998
+ credentialsRoles: z.ZodArray<z.ZodObject<{
993
999
  role: z.ZodEnum<{
994
1000
  CPO: "CPO";
995
1001
  EMSP: "EMSP";
@@ -1009,7 +1015,7 @@ export declare const authorizationSchemas: {
1009
1015
  height: z.ZodOptional<z.ZodNumber>;
1010
1016
  }, z.core.$strip>>;
1011
1017
  }, z.core.$strip>;
1012
- }, z.core.$strip>;
1018
+ }, z.core.$strip>>;
1013
1019
  versionDetails: z.ZodArray<z.ZodObject<{
1014
1020
  version: z.ZodEnum<{
1015
1021
  "2.2.1": "2.2.1";
@@ -1085,7 +1091,7 @@ export declare const authorizationSchemas: {
1085
1091
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
1092
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
1093
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1088
- credentialsRole: z.ZodObject<{
1094
+ credentialsRoles: z.ZodArray<z.ZodObject<{
1089
1095
  role: z.ZodEnum<{
1090
1096
  CPO: "CPO";
1091
1097
  EMSP: "EMSP";
@@ -1105,7 +1111,7 @@ export declare const authorizationSchemas: {
1105
1111
  height: z.ZodOptional<z.ZodNumber>;
1106
1112
  }, z.core.$strip>>;
1107
1113
  }, z.core.$strip>;
1108
- }, z.core.$strip>;
1114
+ }, z.core.$strip>>;
1109
1115
  versionDetails: z.ZodArray<z.ZodObject<{
1110
1116
  version: z.ZodEnum<{
1111
1117
  "2.2.1": "2.2.1";
@@ -1122,6 +1128,7 @@ export declare const authorizationSchemas: {
1122
1128
  createdAt: z.ZodOptional<z.ZodDate>;
1123
1129
  }, z.core.$strip>>>;
1124
1130
  }, z.core.$strip>>>>;
1131
+ roamingPartnerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1125
1132
  }, z.core.$strip>>>;
1126
1133
  id: z.ZodOptional<z.ZodNumber>;
1127
1134
  allowedConnectorTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1200,7 +1207,7 @@ export declare const authorizationSchemas: {
1200
1207
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1201
1208
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1202
1209
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1203
- credentialsRole: z.ZodObject<{
1210
+ credentialsRoles: z.ZodArray<z.ZodObject<{
1204
1211
  role: z.ZodEnum<{
1205
1212
  CPO: "CPO";
1206
1213
  EMSP: "EMSP";
@@ -1220,7 +1227,7 @@ export declare const authorizationSchemas: {
1220
1227
  height: z.ZodOptional<z.ZodNumber>;
1221
1228
  }, z.core.$strip>>;
1222
1229
  }, z.core.$strip>;
1223
- }, z.core.$strip>;
1230
+ }, z.core.$strip>>;
1224
1231
  versionDetails: z.ZodArray<z.ZodObject<{
1225
1232
  version: z.ZodEnum<{
1226
1233
  "2.2.1": "2.2.1";
@@ -1295,7 +1302,7 @@ export declare const authorizationSchemas: {
1295
1302
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1296
1303
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1297
1304
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1298
- credentialsRole: z.ZodObject<{
1305
+ credentialsRoles: z.ZodArray<z.ZodObject<{
1299
1306
  role: z.ZodEnum<{
1300
1307
  CPO: "CPO";
1301
1308
  EMSP: "EMSP";
@@ -1315,7 +1322,7 @@ export declare const authorizationSchemas: {
1315
1322
  height: z.ZodOptional<z.ZodNumber>;
1316
1323
  }, z.core.$strip>>;
1317
1324
  }, z.core.$strip>;
1318
- }, z.core.$strip>;
1325
+ }, z.core.$strip>>;
1319
1326
  versionDetails: z.ZodArray<z.ZodObject<{
1320
1327
  version: z.ZodEnum<{
1321
1328
  "2.2.1": "2.2.1";
@@ -1332,6 +1339,7 @@ export declare const authorizationSchemas: {
1332
1339
  createdAt: z.ZodOptional<z.ZodDate>;
1333
1340
  }, z.core.$strip>>>;
1334
1341
  }, z.core.$strip>>>>;
1342
+ roamingPartnerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1335
1343
  }, z.core.$strip>;
1336
1344
  AuthorizationCreate: z.ZodObject<{
1337
1345
  status: z.ZodEnum<{
@@ -1411,7 +1419,7 @@ export declare const authorizationSchemas: {
1411
1419
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1412
1420
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1413
1421
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1414
- credentialsRole: z.ZodObject<{
1422
+ credentialsRoles: z.ZodArray<z.ZodObject<{
1415
1423
  role: z.ZodEnum<{
1416
1424
  CPO: "CPO";
1417
1425
  EMSP: "EMSP";
@@ -1431,7 +1439,7 @@ export declare const authorizationSchemas: {
1431
1439
  height: z.ZodOptional<z.ZodNumber>;
1432
1440
  }, z.core.$strip>>;
1433
1441
  }, z.core.$strip>;
1434
- }, z.core.$strip>;
1442
+ }, z.core.$strip>>;
1435
1443
  versionDetails: z.ZodArray<z.ZodObject<{
1436
1444
  version: z.ZodEnum<{
1437
1445
  "2.2.1": "2.2.1";
@@ -1448,6 +1456,7 @@ export declare const authorizationSchemas: {
1448
1456
  createdAt: z.ZodOptional<z.ZodDate>;
1449
1457
  }, z.core.$strip>>>;
1450
1458
  }, z.core.$strip>>>>;
1459
+ roamingPartnerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1451
1460
  }, z.core.$strip>;
1452
1461
  AuthorizationUpdate: z.ZodObject<{
1453
1462
  status: z.ZodOptional<z.ZodEnum<{
@@ -1528,7 +1537,7 @@ export declare const authorizationSchemas: {
1528
1537
  countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1529
1538
  partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1530
1539
  serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1531
- credentialsRole: z.ZodObject<{
1540
+ credentialsRoles: z.ZodArray<z.ZodObject<{
1532
1541
  role: z.ZodEnum<{
1533
1542
  CPO: "CPO";
1534
1543
  EMSP: "EMSP";
@@ -1548,7 +1557,7 @@ export declare const authorizationSchemas: {
1548
1557
  height: z.ZodOptional<z.ZodNumber>;
1549
1558
  }, z.core.$strip>>;
1550
1559
  }, z.core.$strip>;
1551
- }, z.core.$strip>;
1560
+ }, z.core.$strip>>;
1552
1561
  versionDetails: z.ZodArray<z.ZodObject<{
1553
1562
  version: z.ZodEnum<{
1554
1563
  "2.2.1": "2.2.1";
@@ -1565,5 +1574,6 @@ export declare const authorizationSchemas: {
1565
1574
  createdAt: z.ZodOptional<z.ZodDate>;
1566
1575
  }, z.core.$strip>>>;
1567
1576
  }, z.core.$strip>>>>>;
1577
+ roamingPartnerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1568
1578
  }, z.core.$strip>;
1569
1579
  };
@@ -32,6 +32,7 @@ const authorizationFields = {
32
32
  .array(z.object({ tenantId: z.number().int(), tenant: TenantSchema.nullable().optional() }))
33
33
  .nullable()
34
34
  .optional(),
35
+ roamingPartnerId: z.number().int().nullable().optional(),
35
36
  };
36
37
  export const GroupAuthorizationSchema = BaseSchema.omit({ tenant: true, tenantId: true }).extend(authorizationFields);
37
38
  export const AuthorizationSchema = BaseSchema.omit({ tenant: true, tenantId: true }).extend({
@@ -1 +1 @@
1
- {"version":3,"file":"authorization.dto.js","sourceRoot":"","sources":["../../../src/interfaces/dto/authorization.dto.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,EAAE;AACF,sCAAsC;AAEtC,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,6BAA6B,EAC7B,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,mBAAmB,GAAG;IAC1B,EAAE,EAAE,CAAC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