@ampeco/public-api-mcp 3.103.11 → 3.103.13
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/generated/build-stats.json +9 -9
- package/dist/generated/endpoints.json +1337 -623
- package/dist/generated/response-schemas.json +2673 -948
- package/dist/generated/schemas.d.ts +477 -189
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +147 -62
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +150 -62
- package/package.json +1 -1
|
@@ -22,6 +22,11 @@ export const chargePointClearChargingProfileBody = z.object({
|
|
|
22
22
|
stackLevel: z.number().optional()
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
+
// POST /public-api/actions/charge-point/v1.0/{chargePoint}/disconnect
|
|
26
|
+
export const chargePointDisconnectBody = z.object({
|
|
27
|
+
reason: z.string().max(255)
|
|
28
|
+
});
|
|
29
|
+
|
|
25
30
|
// POST /public-api/actions/charge-point/v1.0/{chargePoint}/get-diagnostics
|
|
26
31
|
export const chargePointGetDiagnosticsBody = z.object({
|
|
27
32
|
location: z.string(),
|
|
@@ -247,6 +252,18 @@ export const electricityMeterReportConsumptionBody = z.object({
|
|
|
247
252
|
currentL3: z.number().int().optional()
|
|
248
253
|
});
|
|
249
254
|
|
|
255
|
+
// POST /public-api/actions/evse/v1.0/bulk-assign-tariff-group
|
|
256
|
+
export const evseBulkAssignTariffGroupsBody = z.object({
|
|
257
|
+
filters: z.object({
|
|
258
|
+
locationIds: z.array(z.number().int()).optional(),
|
|
259
|
+
partnerIds: z.array(z.number().int()).optional(),
|
|
260
|
+
evseIds: z.array(z.number().int()).optional(),
|
|
261
|
+
chargePointIds: z.array(z.number().int()).optional(),
|
|
262
|
+
tariffGroupIds: z.array(z.number().int()).optional()
|
|
263
|
+
}).optional(),
|
|
264
|
+
tariffGroupId: z.number().int()
|
|
265
|
+
});
|
|
266
|
+
|
|
250
267
|
// POST /public-api/actions/evse/v1.0/{evse}/start
|
|
251
268
|
export const evseStartChargingWithEvseIdBody = z.object({
|
|
252
269
|
userId: z.number().int().optional(),
|
|
@@ -577,16 +594,27 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
577
594
|
lastUpdatedAt: z.string().datetime().optional(),
|
|
578
595
|
userId: z.number().int(),
|
|
579
596
|
locationId: z.number().int(),
|
|
597
|
+
externalId: z.string().max(255).optional(),
|
|
598
|
+
startAt: z.string().datetime(),
|
|
599
|
+
endAt: z.string().datetime(),
|
|
580
600
|
evseId: z.number().int().optional(),
|
|
581
601
|
evseCriteria: z.object({
|
|
582
|
-
currentType: z.enum(["ac", "dc"]).optional(),
|
|
602
|
+
currentType: z.union([z.enum(["ac", "dc"]), z.null()]).optional(),
|
|
583
603
|
minPower: z.number().optional(),
|
|
584
604
|
maxPower: z.number().optional(),
|
|
585
|
-
connectorType: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50"]).optional()
|
|
605
|
+
connectorType: z.union([z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50"]), z.null()]).optional()
|
|
586
606
|
}).optional(),
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
607
|
+
parkingSpaceCriteria: z.object({
|
|
608
|
+
vehicleWeightKg: z.number().int().min(1).optional(),
|
|
609
|
+
vehicleHeightCm: z.number().int().min(1).optional(),
|
|
610
|
+
vehicleLengthCm: z.number().int().min(1).optional(),
|
|
611
|
+
vehicleWidthCm: z.number().int().min(1).optional(),
|
|
612
|
+
vehicleType: z.union([z.enum(["two_and_three_wheel_vehicles_and_quadricycles", "passenger_vehicles", "passenger_vehicles_with_trailer", "light_duty_vans", "heavy_duty_tractor_units_without_trailer", "heavy_duty_trucks_without_articulation_point", "heavy_duty_trucks_with_trailer_attached", "buses_or_motor_coaches"]), z.null()]).optional(),
|
|
613
|
+
driveThroughRequired: z.boolean().optional(),
|
|
614
|
+
refrigerationOutletRequired: z.boolean().optional(),
|
|
615
|
+
dangerousGoodsAllowed: z.boolean().optional()
|
|
616
|
+
}).optional(),
|
|
617
|
+
authorizedTokenIds: z.array(z.number().int()).optional()
|
|
590
618
|
}), z.object({
|
|
591
619
|
id: z.number().int().optional(),
|
|
592
620
|
type: z.enum(["update"]),
|
|
@@ -596,9 +624,10 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
596
624
|
lastUpdatedAt: z.string().datetime().optional(),
|
|
597
625
|
bookingId: z.number().int(),
|
|
598
626
|
userId: z.number().int().optional(),
|
|
627
|
+
externalId: z.string().max(255).optional(),
|
|
599
628
|
startAt: z.string().datetime().optional(),
|
|
600
629
|
endAt: z.string().datetime().optional(),
|
|
601
|
-
|
|
630
|
+
authorizedTokenIds: z.array(z.number().int()).optional()
|
|
602
631
|
}), z.object({
|
|
603
632
|
id: z.number().int().optional(),
|
|
604
633
|
type: z.enum(["cancel"]),
|
|
@@ -1378,6 +1407,13 @@ export const configurationTemplateVariableUpdateBody = z.union([z.object({
|
|
|
1378
1407
|
|
|
1379
1408
|
// GET /public-api/resources/consents/v1.0
|
|
1380
1409
|
|
|
1410
|
+
// POST /public-api/resources/consents/v1.0
|
|
1411
|
+
export const consentsCreateBody = z.object({
|
|
1412
|
+
userId: z.number().int(),
|
|
1413
|
+
termVersionId: z.number().int(),
|
|
1414
|
+
status: z.enum(["agreed", "rejected"])
|
|
1415
|
+
});
|
|
1416
|
+
|
|
1381
1417
|
// GET /public-api/resources/contact-details/v2.0
|
|
1382
1418
|
|
|
1383
1419
|
// PUT /public-api/resources/contact-details/v2.0
|
|
@@ -2069,31 +2105,22 @@ export const locationUpdateDeprecatedBody = z.object({
|
|
|
2069
2105
|
// POST /public-api/resources/locations/v2.0
|
|
2070
2106
|
export const locationCreateBody = z.object({
|
|
2071
2107
|
id: z.number().int().optional(),
|
|
2108
|
+
externalId: z.string().optional(),
|
|
2072
2109
|
name: z.array(z.object({
|
|
2073
2110
|
locale: z.string().optional(),
|
|
2074
2111
|
translation: z.string().optional()
|
|
2075
2112
|
})),
|
|
2076
|
-
|
|
2113
|
+
description: z.array(z.object({
|
|
2077
2114
|
locale: z.string().optional(),
|
|
2078
2115
|
translation: z.string().optional()
|
|
2079
2116
|
})).optional(),
|
|
2080
|
-
|
|
2117
|
+
shortDescription: z.array(z.object({
|
|
2081
2118
|
locale: z.string().optional(),
|
|
2082
2119
|
translation: z.string().optional()
|
|
2083
2120
|
})).optional(),
|
|
2084
2121
|
additionalDescription: z.array(z.object({
|
|
2085
2122
|
locale: z.string().optional(),
|
|
2086
2123
|
translation: z.string().optional()
|
|
2087
|
-
})).optional(),
|
|
2088
|
-
locationImage: z.object({
|
|
2089
|
-
original: z.string(),
|
|
2090
|
-
thumbnail: z.string().optional(),
|
|
2091
|
-
mimeType: z.string()
|
|
2092
|
-
}).optional(),
|
|
2093
|
-
images: z.array(z.object({
|
|
2094
|
-
original: z.string(),
|
|
2095
|
-
thumbnail: z.string().optional(),
|
|
2096
|
-
mimeType: z.string()
|
|
2097
2124
|
})).optional(),
|
|
2098
2125
|
geoposition: z.object({
|
|
2099
2126
|
latitude: z.number().min(-90).max(90),
|
|
@@ -2112,6 +2139,20 @@ export const locationCreateBody = z.object({
|
|
|
2112
2139
|
state: z.union([z.enum(["AL", "AK", "AS", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FM", "FL", "GA", "GU", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MH", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "MP", "OH", "OK", "OR", "PW", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VI", "VA", "WA", "WV", "WI", "WY"]), z.enum(["NSW", "VIC", "QLD", "WA", "SA", "TAS", "ACT", "NT", "JBT", "CX", "NF", "CC", "AQ", "CSI", "ACI", "HM"]), z.enum(["AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"]), z.enum(["81", "84", "85", "67", "89", "71", "76", "95", "79"]), z.enum(["AB", "AR", "AG", "BC", "BH", "BN", "BT", "BV", "BR", "B", "BZ", "CL", "CS", "CT", "CV", "DB", "DJ", "GL", "GR", "GJ", "HR", "HD", "IL", "IS", "IF", "MM", "MH", "MS", "NT", "OT", "PH", "SM", "SJ", "SB", "SV", "TR", "TM", "TL", "VS", "VL", "VN"])]).optional(),
|
|
2113
2140
|
country: z.enum(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]),
|
|
2114
2141
|
postCode: z.string().optional(),
|
|
2142
|
+
timezone: z.string().optional(),
|
|
2143
|
+
parkingType: z.enum(["ALONG_MOTORWAY", "PARKING_GARAGE", "PARKING_LOT", "ON_DRIVEWAY", "ON_STREET", "UNDERGROUND_GARAGE"]).optional(),
|
|
2144
|
+
accessMethods: z.array(z.enum(["OPEN", "TOKEN", "LICENSE_PLATE", "ACCESS_CODE", "INTERCOM", "PARKING_TICKET"])).optional(),
|
|
2145
|
+
facilities: z.array(z.enum(["AIRPORT", "BIKE_SHARING", "BUS_STOP", "CAFE", "CARPOOL_PARKING", "FUEL_STATION", "HOTEL", "MALL", "METRO_STATION", "MUSEUM", "NATURE", "PARKING_LOT", "RECREATION_AREA", "RESTAURANT", "SPORT", "SUPERMARKET", "TAXI_STAND", "TRAIN_STATION", "TRAM_STOP", "WIFI"])).optional(),
|
|
2146
|
+
locationImage: z.object({
|
|
2147
|
+
original: z.string(),
|
|
2148
|
+
thumbnail: z.string().optional(),
|
|
2149
|
+
mimeType: z.string()
|
|
2150
|
+
}).optional(),
|
|
2151
|
+
images: z.array(z.object({
|
|
2152
|
+
original: z.string(),
|
|
2153
|
+
thumbnail: z.string().optional(),
|
|
2154
|
+
mimeType: z.string()
|
|
2155
|
+
})).optional(),
|
|
2115
2156
|
workingHours: z.object({
|
|
2116
2157
|
isAlwaysOpen: z.boolean().optional(),
|
|
2117
2158
|
stopSessionOutsideWorkingHours: z.boolean().optional(),
|
|
@@ -2147,10 +2188,6 @@ export const locationCreateBody = z.object({
|
|
|
2147
2188
|
})).optional()
|
|
2148
2189
|
}).optional()
|
|
2149
2190
|
}).optional(),
|
|
2150
|
-
timezone: z.string().optional(),
|
|
2151
|
-
externalId: z.string().optional(),
|
|
2152
|
-
roamingOperatorId: z.number().int().optional(),
|
|
2153
|
-
lastUpdatedAt: z.string().datetime().optional(),
|
|
2154
2191
|
chargingZones: z.array(z.object({
|
|
2155
2192
|
id: z.number().int().optional(),
|
|
2156
2193
|
name: z.string().optional(),
|
|
@@ -2168,7 +2205,7 @@ export const locationCreateBody = z.object({
|
|
|
2168
2205
|
})).optional()
|
|
2169
2206
|
}).optional()
|
|
2170
2207
|
})).optional(),
|
|
2171
|
-
|
|
2208
|
+
roamingOperatorId: z.number().int().optional(),
|
|
2172
2209
|
roaming: z.object({
|
|
2173
2210
|
owner: z.object({
|
|
2174
2211
|
name: z.string().optional()
|
|
@@ -2181,7 +2218,8 @@ export const locationCreateBody = z.object({
|
|
|
2181
2218
|
}).optional()
|
|
2182
2219
|
}).optional(),
|
|
2183
2220
|
tags: z.array(z.string()).optional(),
|
|
2184
|
-
|
|
2221
|
+
externalAppData: z.record(z.unknown()).optional(),
|
|
2222
|
+
lastUpdatedAt: z.string().datetime().optional()
|
|
2185
2223
|
});
|
|
2186
2224
|
|
|
2187
2225
|
// GET /public-api/resources/locations/v2.0/{location}
|
|
@@ -2191,31 +2229,22 @@ export const locationCreateBody = z.object({
|
|
|
2191
2229
|
// PATCH /public-api/resources/locations/v2.0/{location}
|
|
2192
2230
|
export const locationUpdateBody = z.object({
|
|
2193
2231
|
id: z.number().int().optional(),
|
|
2232
|
+
externalId: z.string().optional(),
|
|
2194
2233
|
name: z.array(z.object({
|
|
2195
2234
|
locale: z.string().optional(),
|
|
2196
2235
|
translation: z.string().optional()
|
|
2197
2236
|
})).optional(),
|
|
2198
|
-
|
|
2237
|
+
description: z.array(z.object({
|
|
2199
2238
|
locale: z.string().optional(),
|
|
2200
2239
|
translation: z.string().optional()
|
|
2201
2240
|
})).optional(),
|
|
2202
|
-
|
|
2241
|
+
shortDescription: z.array(z.object({
|
|
2203
2242
|
locale: z.string().optional(),
|
|
2204
2243
|
translation: z.string().optional()
|
|
2205
2244
|
})).optional(),
|
|
2206
2245
|
additionalDescription: z.array(z.object({
|
|
2207
2246
|
locale: z.string().optional(),
|
|
2208
2247
|
translation: z.string().optional()
|
|
2209
|
-
})).optional(),
|
|
2210
|
-
locationImage: z.object({
|
|
2211
|
-
original: z.string(),
|
|
2212
|
-
thumbnail: z.string().optional(),
|
|
2213
|
-
mimeType: z.string()
|
|
2214
|
-
}).optional(),
|
|
2215
|
-
images: z.array(z.object({
|
|
2216
|
-
original: z.string(),
|
|
2217
|
-
thumbnail: z.string().optional(),
|
|
2218
|
-
mimeType: z.string()
|
|
2219
2248
|
})).optional(),
|
|
2220
2249
|
geoposition: z.object({
|
|
2221
2250
|
latitude: z.number().min(-90).max(90),
|
|
@@ -2234,6 +2263,20 @@ export const locationUpdateBody = z.object({
|
|
|
2234
2263
|
state: z.union([z.enum(["AL", "AK", "AS", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FM", "FL", "GA", "GU", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MH", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "MP", "OH", "OK", "OR", "PW", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VI", "VA", "WA", "WV", "WI", "WY"]), z.enum(["NSW", "VIC", "QLD", "WA", "SA", "TAS", "ACT", "NT", "JBT", "CX", "NF", "CC", "AQ", "CSI", "ACI", "HM"]), z.enum(["AB", "BC", "MB", "NB", "NL", "NT", "NS", "NU", "ON", "PE", "QC", "SK", "YT"]), z.enum(["81", "84", "85", "67", "89", "71", "76", "95", "79"]), z.enum(["AB", "AR", "AG", "BC", "BH", "BN", "BT", "BV", "BR", "B", "BZ", "CL", "CS", "CT", "CV", "DB", "DJ", "GL", "GR", "GJ", "HR", "HD", "IL", "IS", "IF", "MM", "MH", "MS", "NT", "OT", "PH", "SM", "SJ", "SB", "SV", "TR", "TM", "TL", "VS", "VL", "VN"])]).optional(),
|
|
2235
2264
|
country: z.enum(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]).optional(),
|
|
2236
2265
|
postCode: z.string().optional(),
|
|
2266
|
+
timezone: z.string().optional(),
|
|
2267
|
+
parkingType: z.enum(["ALONG_MOTORWAY", "PARKING_GARAGE", "PARKING_LOT", "ON_DRIVEWAY", "ON_STREET", "UNDERGROUND_GARAGE"]).optional(),
|
|
2268
|
+
accessMethods: z.array(z.enum(["OPEN", "TOKEN", "LICENSE_PLATE", "ACCESS_CODE", "INTERCOM", "PARKING_TICKET"])).optional(),
|
|
2269
|
+
facilities: z.array(z.enum(["AIRPORT", "BIKE_SHARING", "BUS_STOP", "CAFE", "CARPOOL_PARKING", "FUEL_STATION", "HOTEL", "MALL", "METRO_STATION", "MUSEUM", "NATURE", "PARKING_LOT", "RECREATION_AREA", "RESTAURANT", "SPORT", "SUPERMARKET", "TAXI_STAND", "TRAIN_STATION", "TRAM_STOP", "WIFI"])).optional(),
|
|
2270
|
+
locationImage: z.object({
|
|
2271
|
+
original: z.string(),
|
|
2272
|
+
thumbnail: z.string().optional(),
|
|
2273
|
+
mimeType: z.string()
|
|
2274
|
+
}).optional(),
|
|
2275
|
+
images: z.array(z.object({
|
|
2276
|
+
original: z.string(),
|
|
2277
|
+
thumbnail: z.string().optional(),
|
|
2278
|
+
mimeType: z.string()
|
|
2279
|
+
})).optional(),
|
|
2237
2280
|
workingHours: z.object({
|
|
2238
2281
|
isAlwaysOpen: z.boolean().optional(),
|
|
2239
2282
|
stopSessionOutsideWorkingHours: z.boolean().optional(),
|
|
@@ -2269,10 +2312,6 @@ export const locationUpdateBody = z.object({
|
|
|
2269
2312
|
})).optional()
|
|
2270
2313
|
}).optional()
|
|
2271
2314
|
}).optional(),
|
|
2272
|
-
timezone: z.string().optional(),
|
|
2273
|
-
externalId: z.string().optional(),
|
|
2274
|
-
roamingOperatorId: z.number().int().optional(),
|
|
2275
|
-
lastUpdatedAt: z.string().datetime().optional(),
|
|
2276
2315
|
chargingZones: z.array(z.object({
|
|
2277
2316
|
id: z.number().int().optional(),
|
|
2278
2317
|
name: z.string().optional(),
|
|
@@ -2290,7 +2329,7 @@ export const locationUpdateBody = z.object({
|
|
|
2290
2329
|
})).optional()
|
|
2291
2330
|
}).optional()
|
|
2292
2331
|
})).optional(),
|
|
2293
|
-
|
|
2332
|
+
roamingOperatorId: z.number().int().optional(),
|
|
2294
2333
|
roaming: z.object({
|
|
2295
2334
|
owner: z.object({
|
|
2296
2335
|
name: z.string().optional()
|
|
@@ -2303,7 +2342,8 @@ export const locationUpdateBody = z.object({
|
|
|
2303
2342
|
}).optional()
|
|
2304
2343
|
}).optional(),
|
|
2305
2344
|
tags: z.array(z.string()).optional(),
|
|
2306
|
-
|
|
2345
|
+
externalAppData: z.record(z.unknown()).optional(),
|
|
2346
|
+
lastUpdatedAt: z.string().datetime().optional()
|
|
2307
2347
|
});
|
|
2308
2348
|
|
|
2309
2349
|
// GET /public-api/resources/locations/v2.0/{location}/charging-zones
|
|
@@ -2731,7 +2771,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2731
2771
|
id: z.number().int().optional(),
|
|
2732
2772
|
name: z.string(),
|
|
2733
2773
|
integrationId: z.number().int(),
|
|
2734
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2774
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2735
2775
|
operatorId: z.number().int(),
|
|
2736
2776
|
chargingZoneId: z.number().int().optional(),
|
|
2737
2777
|
chargePointId: z.number().int().optional(),
|
|
@@ -2758,7 +2798,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2758
2798
|
id: z.number().int().optional(),
|
|
2759
2799
|
name: z.string(),
|
|
2760
2800
|
integrationId: z.number().int(),
|
|
2761
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2801
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2762
2802
|
operatorId: z.number().int(),
|
|
2763
2803
|
chargingZoneId: z.number().int().optional(),
|
|
2764
2804
|
chargePointId: z.number().int().optional(),
|
|
@@ -2768,7 +2808,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2768
2808
|
id: z.number().int().optional(),
|
|
2769
2809
|
name: z.string(),
|
|
2770
2810
|
integrationId: z.number().int(),
|
|
2771
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2811
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2772
2812
|
operatorId: z.number().int(),
|
|
2773
2813
|
chargingZoneId: z.number().int().optional(),
|
|
2774
2814
|
chargePointId: z.number().int().optional(),
|
|
@@ -2780,7 +2820,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2780
2820
|
id: z.number().int().optional(),
|
|
2781
2821
|
name: z.string(),
|
|
2782
2822
|
integrationId: z.number().int(),
|
|
2783
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2823
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2784
2824
|
operatorId: z.number().int(),
|
|
2785
2825
|
chargingZoneId: z.number().int().optional(),
|
|
2786
2826
|
chargePointId: z.number().int().optional(),
|
|
@@ -2791,7 +2831,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2791
2831
|
id: z.number().int().optional(),
|
|
2792
2832
|
name: z.string(),
|
|
2793
2833
|
integrationId: z.number().int(),
|
|
2794
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2834
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2795
2835
|
operatorId: z.number().int(),
|
|
2796
2836
|
chargingZoneId: z.number().int().optional(),
|
|
2797
2837
|
chargePointId: z.number().int().optional(),
|
|
@@ -2801,7 +2841,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2801
2841
|
id: z.number().int().optional(),
|
|
2802
2842
|
name: z.string(),
|
|
2803
2843
|
integrationId: z.number().int(),
|
|
2804
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2844
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2805
2845
|
operatorId: z.number().int(),
|
|
2806
2846
|
chargingZoneId: z.number().int().optional(),
|
|
2807
2847
|
chargePointId: z.number().int().optional(),
|
|
@@ -2818,7 +2858,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2818
2858
|
id: z.number().int().optional(),
|
|
2819
2859
|
name: z.string(),
|
|
2820
2860
|
integrationId: z.number().int(),
|
|
2821
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2861
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2822
2862
|
operatorId: z.number().int(),
|
|
2823
2863
|
chargingZoneId: z.number().int().optional(),
|
|
2824
2864
|
chargePointId: z.number().int().optional(),
|
|
@@ -2828,7 +2868,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2828
2868
|
id: z.number().int().optional(),
|
|
2829
2869
|
name: z.string(),
|
|
2830
2870
|
integrationId: z.number().int(),
|
|
2831
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2871
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2832
2872
|
operatorId: z.number().int(),
|
|
2833
2873
|
invoiceFields: z.array(z.object({
|
|
2834
2874
|
field: z.string(),
|
|
@@ -2839,7 +2879,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2839
2879
|
id: z.number().int().optional(),
|
|
2840
2880
|
name: z.string(),
|
|
2841
2881
|
integrationId: z.number().int(),
|
|
2842
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2882
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2843
2883
|
operatorId: z.number().int(),
|
|
2844
2884
|
chargingZoneId: z.number().int().optional(),
|
|
2845
2885
|
chargePointId: z.number().int().optional(),
|
|
@@ -2863,7 +2903,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2863
2903
|
id: z.number().int().optional(),
|
|
2864
2904
|
name: z.string(),
|
|
2865
2905
|
integrationId: z.number().int(),
|
|
2866
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2906
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2867
2907
|
operatorId: z.number().int(),
|
|
2868
2908
|
chargingZoneId: z.number().int().optional(),
|
|
2869
2909
|
chargePointId: z.number().int().optional(),
|
|
@@ -2886,6 +2926,33 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2886
2926
|
downloadUrl: z.string().optional()
|
|
2887
2927
|
}),
|
|
2888
2928
|
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
2929
|
+
}), z.object({
|
|
2930
|
+
id: z.number().int().optional(),
|
|
2931
|
+
name: z.string(),
|
|
2932
|
+
integrationId: z.number().int(),
|
|
2933
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2934
|
+
operatorId: z.number().int(),
|
|
2935
|
+
chargingZoneId: z.number().int().optional(),
|
|
2936
|
+
chargePointId: z.number().int().optional(),
|
|
2937
|
+
adminToken: z.string().optional(),
|
|
2938
|
+
isOnline: z.boolean().optional(),
|
|
2939
|
+
networkStatus: z.enum(["online", "offline", "unknown"]).optional(),
|
|
2940
|
+
phone: z.string(),
|
|
2941
|
+
defaultLanguage: z.string(),
|
|
2942
|
+
presentCardOnStopSession: z.boolean().optional(),
|
|
2943
|
+
info: z.array(z.object({
|
|
2944
|
+
locale: z.string().optional(),
|
|
2945
|
+
translation: z.string().optional()
|
|
2946
|
+
})),
|
|
2947
|
+
currencyCode: z.string().optional(),
|
|
2948
|
+
serialNumber: z.string().optional(),
|
|
2949
|
+
externalId: z.string().optional(),
|
|
2950
|
+
supportedLanguages: z.array(z.string()).optional(),
|
|
2951
|
+
bundle: z.object({
|
|
2952
|
+
version: z.string().optional(),
|
|
2953
|
+
downloadUrl: z.string().optional()
|
|
2954
|
+
}),
|
|
2955
|
+
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
2889
2956
|
})]);
|
|
2890
2957
|
|
|
2891
2958
|
// GET /public-api/resources/payment-terminals/v1.0/{paymentTerminal}
|
|
@@ -2903,7 +2970,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2903
2970
|
id: z.number().int().optional(),
|
|
2904
2971
|
name: z.string().optional(),
|
|
2905
2972
|
integrationId: z.number().int().optional(),
|
|
2906
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2973
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2907
2974
|
operatorId: z.number().int().optional(),
|
|
2908
2975
|
chargingZoneId: z.number().int().optional(),
|
|
2909
2976
|
chargePointId: z.number().int().optional(),
|
|
@@ -2924,7 +2991,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2924
2991
|
id: z.number().int().optional(),
|
|
2925
2992
|
name: z.string().optional(),
|
|
2926
2993
|
integrationId: z.number().int().optional(),
|
|
2927
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2994
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2928
2995
|
operatorId: z.number().int().optional(),
|
|
2929
2996
|
chargingZoneId: z.number().int().optional(),
|
|
2930
2997
|
chargePointId: z.number().int().optional(),
|
|
@@ -2934,7 +3001,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2934
3001
|
id: z.number().int().optional(),
|
|
2935
3002
|
name: z.string().optional(),
|
|
2936
3003
|
integrationId: z.number().int().optional(),
|
|
2937
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3004
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2938
3005
|
operatorId: z.number().int().optional(),
|
|
2939
3006
|
chargingZoneId: z.number().int().optional(),
|
|
2940
3007
|
chargePointId: z.number().int().optional(),
|
|
@@ -2946,7 +3013,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2946
3013
|
id: z.number().int().optional(),
|
|
2947
3014
|
name: z.string().optional(),
|
|
2948
3015
|
integrationId: z.number().int().optional(),
|
|
2949
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3016
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2950
3017
|
operatorId: z.number().int().optional(),
|
|
2951
3018
|
chargingZoneId: z.number().int().optional(),
|
|
2952
3019
|
chargePointId: z.number().int().optional(),
|
|
@@ -2957,7 +3024,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2957
3024
|
id: z.number().int().optional(),
|
|
2958
3025
|
name: z.string().optional(),
|
|
2959
3026
|
integrationId: z.number().int().optional(),
|
|
2960
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3027
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2961
3028
|
operatorId: z.number().int().optional(),
|
|
2962
3029
|
chargingZoneId: z.number().int().optional(),
|
|
2963
3030
|
chargePointId: z.number().int().optional(),
|
|
@@ -2967,7 +3034,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2967
3034
|
id: z.number().int().optional(),
|
|
2968
3035
|
name: z.string().optional(),
|
|
2969
3036
|
integrationId: z.number().int().optional(),
|
|
2970
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3037
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2971
3038
|
operatorId: z.number().int().optional(),
|
|
2972
3039
|
chargingZoneId: z.number().int().optional(),
|
|
2973
3040
|
chargePointId: z.number().int().optional(),
|
|
@@ -2984,7 +3051,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2984
3051
|
id: z.number().int().optional(),
|
|
2985
3052
|
name: z.string().optional(),
|
|
2986
3053
|
integrationId: z.number().int().optional(),
|
|
2987
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3054
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2988
3055
|
operatorId: z.number().int().optional(),
|
|
2989
3056
|
chargingZoneId: z.number().int().optional(),
|
|
2990
3057
|
chargePointId: z.number().int().optional(),
|
|
@@ -2994,13 +3061,13 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2994
3061
|
id: z.number().int().optional(),
|
|
2995
3062
|
name: z.string().optional(),
|
|
2996
3063
|
integrationId: z.number().int().optional(),
|
|
2997
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3064
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2998
3065
|
operatorId: z.number().int().optional()
|
|
2999
3066
|
}), z.object({
|
|
3000
3067
|
id: z.number().int().optional(),
|
|
3001
3068
|
name: z.string().optional(),
|
|
3002
3069
|
integrationId: z.number().int().optional(),
|
|
3003
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3070
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
3004
3071
|
operatorId: z.number().int().optional(),
|
|
3005
3072
|
chargingZoneId: z.number().int().optional(),
|
|
3006
3073
|
chargePointId: z.number().int().optional(),
|
|
@@ -3023,7 +3090,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
3023
3090
|
id: z.number().int().optional(),
|
|
3024
3091
|
name: z.string().optional(),
|
|
3025
3092
|
integrationId: z.number().int().optional(),
|
|
3026
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3093
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
3027
3094
|
operatorId: z.number().int().optional(),
|
|
3028
3095
|
chargingZoneId: z.number().int().optional(),
|
|
3029
3096
|
chargePointId: z.number().int().optional(),
|
|
@@ -3040,6 +3107,27 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
3040
3107
|
externalId: z.string().optional(),
|
|
3041
3108
|
supportedLanguages: z.array(z.string()).optional(),
|
|
3042
3109
|
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
3110
|
+
}), z.object({
|
|
3111
|
+
id: z.number().int().optional(),
|
|
3112
|
+
name: z.string().optional(),
|
|
3113
|
+
integrationId: z.number().int().optional(),
|
|
3114
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
3115
|
+
operatorId: z.number().int().optional(),
|
|
3116
|
+
chargingZoneId: z.number().int().optional(),
|
|
3117
|
+
chargePointId: z.number().int().optional(),
|
|
3118
|
+
adminToken: z.string().optional(),
|
|
3119
|
+
isOnline: z.boolean().optional(),
|
|
3120
|
+
networkStatus: z.enum(["online", "offline", "unknown"]).optional(),
|
|
3121
|
+
phone: z.string().optional(),
|
|
3122
|
+
defaultLanguage: z.string().optional(),
|
|
3123
|
+
presentCardOnStopSession: z.boolean().optional(),
|
|
3124
|
+
info: z.array(z.object({
|
|
3125
|
+
locale: z.string().optional(),
|
|
3126
|
+
translation: z.string().optional()
|
|
3127
|
+
})).optional(),
|
|
3128
|
+
serialNumber: z.string().optional(),
|
|
3129
|
+
externalId: z.string().optional(),
|
|
3130
|
+
supportedLanguages: z.array(z.string()).optional()
|
|
3043
3131
|
})]);
|
|
3044
3132
|
|
|
3045
3133
|
// GET /public-api/resources/provisioning-certificates/v2.0
|
package/package.json
CHANGED