@ampeco/public-api-mcp 3.103.10 → 3.103.12
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 +972 -223
- package/dist/generated/response-schemas.json +8604 -2173
- package/dist/generated/schemas.d.ts +468 -185
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +143 -62
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +145 -62
- package/package.json +1 -1
|
@@ -247,6 +247,18 @@ export const electricityMeterReportConsumptionBody = z.object({
|
|
|
247
247
|
currentL3: z.number().int().optional()
|
|
248
248
|
});
|
|
249
249
|
|
|
250
|
+
// POST /public-api/actions/evse/v1.0/bulk-assign-tariff-group
|
|
251
|
+
export const evseBulkAssignTariffGroupsBody = z.object({
|
|
252
|
+
filters: z.object({
|
|
253
|
+
locationIds: z.array(z.number().int()).optional(),
|
|
254
|
+
partnerIds: z.array(z.number().int()).optional(),
|
|
255
|
+
evseIds: z.array(z.number().int()).optional(),
|
|
256
|
+
chargePointIds: z.array(z.number().int()).optional(),
|
|
257
|
+
tariffGroupIds: z.array(z.number().int()).optional()
|
|
258
|
+
}).optional(),
|
|
259
|
+
tariffGroupId: z.number().int()
|
|
260
|
+
});
|
|
261
|
+
|
|
250
262
|
// POST /public-api/actions/evse/v1.0/{evse}/start
|
|
251
263
|
export const evseStartChargingWithEvseIdBody = z.object({
|
|
252
264
|
userId: z.number().int().optional(),
|
|
@@ -577,15 +589,27 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
577
589
|
lastUpdatedAt: z.string().datetime().optional(),
|
|
578
590
|
userId: z.number().int(),
|
|
579
591
|
locationId: z.number().int(),
|
|
592
|
+
externalId: z.string().max(255).optional(),
|
|
593
|
+
startAt: z.string().datetime(),
|
|
594
|
+
endAt: z.string().datetime(),
|
|
580
595
|
evseId: z.number().int().optional(),
|
|
581
596
|
evseCriteria: z.object({
|
|
582
|
-
currentType: z.enum(["ac", "dc"]).optional(),
|
|
597
|
+
currentType: z.union([z.enum(["ac", "dc"]), z.null()]).optional(),
|
|
583
598
|
minPower: z.number().optional(),
|
|
584
599
|
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()
|
|
600
|
+
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
601
|
}).optional(),
|
|
587
|
-
|
|
588
|
-
|
|
602
|
+
parkingSpaceCriteria: z.object({
|
|
603
|
+
vehicleWeightKg: z.number().int().min(1).optional(),
|
|
604
|
+
vehicleHeightCm: z.number().int().min(1).optional(),
|
|
605
|
+
vehicleLengthCm: z.number().int().min(1).optional(),
|
|
606
|
+
vehicleWidthCm: z.number().int().min(1).optional(),
|
|
607
|
+
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(),
|
|
608
|
+
driveThroughRequired: z.boolean().optional(),
|
|
609
|
+
refrigerationOutletRequired: z.boolean().optional(),
|
|
610
|
+
dangerousGoodsAllowed: z.boolean().optional()
|
|
611
|
+
}).optional(),
|
|
612
|
+
authorizedTokenIds: z.array(z.number().int()).optional()
|
|
589
613
|
}), z.object({
|
|
590
614
|
id: z.number().int().optional(),
|
|
591
615
|
type: z.enum(["update"]),
|
|
@@ -595,8 +619,10 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
595
619
|
lastUpdatedAt: z.string().datetime().optional(),
|
|
596
620
|
bookingId: z.number().int(),
|
|
597
621
|
userId: z.number().int().optional(),
|
|
622
|
+
externalId: z.string().max(255).optional(),
|
|
598
623
|
startAt: z.string().datetime().optional(),
|
|
599
|
-
endAt: z.string().datetime().optional()
|
|
624
|
+
endAt: z.string().datetime().optional(),
|
|
625
|
+
authorizedTokenIds: z.array(z.number().int()).optional()
|
|
600
626
|
}), z.object({
|
|
601
627
|
id: z.number().int().optional(),
|
|
602
628
|
type: z.enum(["cancel"]),
|
|
@@ -604,7 +630,8 @@ export const bookingRequestCreateBody = z.union([z.object({
|
|
|
604
630
|
rejectionReason: z.string().optional(),
|
|
605
631
|
createdAt: z.string().datetime().optional(),
|
|
606
632
|
lastUpdatedAt: z.string().datetime().optional(),
|
|
607
|
-
bookingId: z.number().int()
|
|
633
|
+
bookingId: z.number().int(),
|
|
634
|
+
externalId: z.string().max(255).optional()
|
|
608
635
|
})]);
|
|
609
636
|
|
|
610
637
|
// GET /public-api/resources/booking-requests/v1.0/{bookingRequest}
|
|
@@ -1373,6 +1400,8 @@ export const configurationTemplateVariableUpdateBody = z.union([z.object({
|
|
|
1373
1400
|
lastUpdatedAt: z.string().datetime().optional()
|
|
1374
1401
|
})]);
|
|
1375
1402
|
|
|
1403
|
+
// GET /public-api/resources/consents/v1.0
|
|
1404
|
+
|
|
1376
1405
|
// GET /public-api/resources/contact-details/v2.0
|
|
1377
1406
|
|
|
1378
1407
|
// PUT /public-api/resources/contact-details/v2.0
|
|
@@ -2064,31 +2093,22 @@ export const locationUpdateDeprecatedBody = z.object({
|
|
|
2064
2093
|
// POST /public-api/resources/locations/v2.0
|
|
2065
2094
|
export const locationCreateBody = z.object({
|
|
2066
2095
|
id: z.number().int().optional(),
|
|
2096
|
+
externalId: z.string().optional(),
|
|
2067
2097
|
name: z.array(z.object({
|
|
2068
2098
|
locale: z.string().optional(),
|
|
2069
2099
|
translation: z.string().optional()
|
|
2070
2100
|
})),
|
|
2071
|
-
|
|
2101
|
+
description: z.array(z.object({
|
|
2072
2102
|
locale: z.string().optional(),
|
|
2073
2103
|
translation: z.string().optional()
|
|
2074
2104
|
})).optional(),
|
|
2075
|
-
|
|
2105
|
+
shortDescription: z.array(z.object({
|
|
2076
2106
|
locale: z.string().optional(),
|
|
2077
2107
|
translation: z.string().optional()
|
|
2078
2108
|
})).optional(),
|
|
2079
2109
|
additionalDescription: z.array(z.object({
|
|
2080
2110
|
locale: z.string().optional(),
|
|
2081
2111
|
translation: z.string().optional()
|
|
2082
|
-
})).optional(),
|
|
2083
|
-
locationImage: z.object({
|
|
2084
|
-
original: z.string(),
|
|
2085
|
-
thumbnail: z.string().optional(),
|
|
2086
|
-
mimeType: z.string()
|
|
2087
|
-
}).optional(),
|
|
2088
|
-
images: z.array(z.object({
|
|
2089
|
-
original: z.string(),
|
|
2090
|
-
thumbnail: z.string().optional(),
|
|
2091
|
-
mimeType: z.string()
|
|
2092
2112
|
})).optional(),
|
|
2093
2113
|
geoposition: z.object({
|
|
2094
2114
|
latitude: z.number().min(-90).max(90),
|
|
@@ -2107,6 +2127,20 @@ export const locationCreateBody = z.object({
|
|
|
2107
2127
|
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(),
|
|
2108
2128
|
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"]),
|
|
2109
2129
|
postCode: z.string().optional(),
|
|
2130
|
+
timezone: z.string().optional(),
|
|
2131
|
+
parkingType: z.enum(["ALONG_MOTORWAY", "PARKING_GARAGE", "PARKING_LOT", "ON_DRIVEWAY", "ON_STREET", "UNDERGROUND_GARAGE"]).optional(),
|
|
2132
|
+
accessMethods: z.array(z.enum(["OPEN", "TOKEN", "LICENSE_PLATE", "ACCESS_CODE", "INTERCOM", "PARKING_TICKET"])).optional(),
|
|
2133
|
+
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(),
|
|
2134
|
+
locationImage: z.object({
|
|
2135
|
+
original: z.string(),
|
|
2136
|
+
thumbnail: z.string().optional(),
|
|
2137
|
+
mimeType: z.string()
|
|
2138
|
+
}).optional(),
|
|
2139
|
+
images: z.array(z.object({
|
|
2140
|
+
original: z.string(),
|
|
2141
|
+
thumbnail: z.string().optional(),
|
|
2142
|
+
mimeType: z.string()
|
|
2143
|
+
})).optional(),
|
|
2110
2144
|
workingHours: z.object({
|
|
2111
2145
|
isAlwaysOpen: z.boolean().optional(),
|
|
2112
2146
|
stopSessionOutsideWorkingHours: z.boolean().optional(),
|
|
@@ -2142,10 +2176,6 @@ export const locationCreateBody = z.object({
|
|
|
2142
2176
|
})).optional()
|
|
2143
2177
|
}).optional()
|
|
2144
2178
|
}).optional(),
|
|
2145
|
-
timezone: z.string().optional(),
|
|
2146
|
-
externalId: z.string().optional(),
|
|
2147
|
-
roamingOperatorId: z.number().int().optional(),
|
|
2148
|
-
lastUpdatedAt: z.string().datetime().optional(),
|
|
2149
2179
|
chargingZones: z.array(z.object({
|
|
2150
2180
|
id: z.number().int().optional(),
|
|
2151
2181
|
name: z.string().optional(),
|
|
@@ -2163,7 +2193,7 @@ export const locationCreateBody = z.object({
|
|
|
2163
2193
|
})).optional()
|
|
2164
2194
|
}).optional()
|
|
2165
2195
|
})).optional(),
|
|
2166
|
-
|
|
2196
|
+
roamingOperatorId: z.number().int().optional(),
|
|
2167
2197
|
roaming: z.object({
|
|
2168
2198
|
owner: z.object({
|
|
2169
2199
|
name: z.string().optional()
|
|
@@ -2175,7 +2205,9 @@ export const locationCreateBody = z.object({
|
|
|
2175
2205
|
name: z.string().optional()
|
|
2176
2206
|
}).optional()
|
|
2177
2207
|
}).optional(),
|
|
2178
|
-
tags: z.array(z.string()).optional()
|
|
2208
|
+
tags: z.array(z.string()).optional(),
|
|
2209
|
+
externalAppData: z.record(z.unknown()).optional(),
|
|
2210
|
+
lastUpdatedAt: z.string().datetime().optional()
|
|
2179
2211
|
});
|
|
2180
2212
|
|
|
2181
2213
|
// GET /public-api/resources/locations/v2.0/{location}
|
|
@@ -2185,31 +2217,22 @@ export const locationCreateBody = z.object({
|
|
|
2185
2217
|
// PATCH /public-api/resources/locations/v2.0/{location}
|
|
2186
2218
|
export const locationUpdateBody = z.object({
|
|
2187
2219
|
id: z.number().int().optional(),
|
|
2220
|
+
externalId: z.string().optional(),
|
|
2188
2221
|
name: z.array(z.object({
|
|
2189
2222
|
locale: z.string().optional(),
|
|
2190
2223
|
translation: z.string().optional()
|
|
2191
2224
|
})).optional(),
|
|
2192
|
-
|
|
2225
|
+
description: z.array(z.object({
|
|
2193
2226
|
locale: z.string().optional(),
|
|
2194
2227
|
translation: z.string().optional()
|
|
2195
2228
|
})).optional(),
|
|
2196
|
-
|
|
2229
|
+
shortDescription: z.array(z.object({
|
|
2197
2230
|
locale: z.string().optional(),
|
|
2198
2231
|
translation: z.string().optional()
|
|
2199
2232
|
})).optional(),
|
|
2200
2233
|
additionalDescription: z.array(z.object({
|
|
2201
2234
|
locale: z.string().optional(),
|
|
2202
2235
|
translation: z.string().optional()
|
|
2203
|
-
})).optional(),
|
|
2204
|
-
locationImage: z.object({
|
|
2205
|
-
original: z.string(),
|
|
2206
|
-
thumbnail: z.string().optional(),
|
|
2207
|
-
mimeType: z.string()
|
|
2208
|
-
}).optional(),
|
|
2209
|
-
images: z.array(z.object({
|
|
2210
|
-
original: z.string(),
|
|
2211
|
-
thumbnail: z.string().optional(),
|
|
2212
|
-
mimeType: z.string()
|
|
2213
2236
|
})).optional(),
|
|
2214
2237
|
geoposition: z.object({
|
|
2215
2238
|
latitude: z.number().min(-90).max(90),
|
|
@@ -2228,6 +2251,20 @@ export const locationUpdateBody = z.object({
|
|
|
2228
2251
|
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(),
|
|
2229
2252
|
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(),
|
|
2230
2253
|
postCode: z.string().optional(),
|
|
2254
|
+
timezone: z.string().optional(),
|
|
2255
|
+
parkingType: z.enum(["ALONG_MOTORWAY", "PARKING_GARAGE", "PARKING_LOT", "ON_DRIVEWAY", "ON_STREET", "UNDERGROUND_GARAGE"]).optional(),
|
|
2256
|
+
accessMethods: z.array(z.enum(["OPEN", "TOKEN", "LICENSE_PLATE", "ACCESS_CODE", "INTERCOM", "PARKING_TICKET"])).optional(),
|
|
2257
|
+
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(),
|
|
2258
|
+
locationImage: z.object({
|
|
2259
|
+
original: z.string(),
|
|
2260
|
+
thumbnail: z.string().optional(),
|
|
2261
|
+
mimeType: z.string()
|
|
2262
|
+
}).optional(),
|
|
2263
|
+
images: z.array(z.object({
|
|
2264
|
+
original: z.string(),
|
|
2265
|
+
thumbnail: z.string().optional(),
|
|
2266
|
+
mimeType: z.string()
|
|
2267
|
+
})).optional(),
|
|
2231
2268
|
workingHours: z.object({
|
|
2232
2269
|
isAlwaysOpen: z.boolean().optional(),
|
|
2233
2270
|
stopSessionOutsideWorkingHours: z.boolean().optional(),
|
|
@@ -2263,10 +2300,6 @@ export const locationUpdateBody = z.object({
|
|
|
2263
2300
|
})).optional()
|
|
2264
2301
|
}).optional()
|
|
2265
2302
|
}).optional(),
|
|
2266
|
-
timezone: z.string().optional(),
|
|
2267
|
-
externalId: z.string().optional(),
|
|
2268
|
-
roamingOperatorId: z.number().int().optional(),
|
|
2269
|
-
lastUpdatedAt: z.string().datetime().optional(),
|
|
2270
2303
|
chargingZones: z.array(z.object({
|
|
2271
2304
|
id: z.number().int().optional(),
|
|
2272
2305
|
name: z.string().optional(),
|
|
@@ -2284,7 +2317,7 @@ export const locationUpdateBody = z.object({
|
|
|
2284
2317
|
})).optional()
|
|
2285
2318
|
}).optional()
|
|
2286
2319
|
})).optional(),
|
|
2287
|
-
|
|
2320
|
+
roamingOperatorId: z.number().int().optional(),
|
|
2288
2321
|
roaming: z.object({
|
|
2289
2322
|
owner: z.object({
|
|
2290
2323
|
name: z.string().optional()
|
|
@@ -2296,7 +2329,9 @@ export const locationUpdateBody = z.object({
|
|
|
2296
2329
|
name: z.string().optional()
|
|
2297
2330
|
}).optional()
|
|
2298
2331
|
}).optional(),
|
|
2299
|
-
tags: z.array(z.string()).optional()
|
|
2332
|
+
tags: z.array(z.string()).optional(),
|
|
2333
|
+
externalAppData: z.record(z.unknown()).optional(),
|
|
2334
|
+
lastUpdatedAt: z.string().datetime().optional()
|
|
2300
2335
|
});
|
|
2301
2336
|
|
|
2302
2337
|
// GET /public-api/resources/locations/v2.0/{location}/charging-zones
|
|
@@ -2724,7 +2759,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2724
2759
|
id: z.number().int().optional(),
|
|
2725
2760
|
name: z.string(),
|
|
2726
2761
|
integrationId: z.number().int(),
|
|
2727
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2762
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2728
2763
|
operatorId: z.number().int(),
|
|
2729
2764
|
chargingZoneId: z.number().int().optional(),
|
|
2730
2765
|
chargePointId: z.number().int().optional(),
|
|
@@ -2751,7 +2786,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2751
2786
|
id: z.number().int().optional(),
|
|
2752
2787
|
name: z.string(),
|
|
2753
2788
|
integrationId: z.number().int(),
|
|
2754
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2789
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2755
2790
|
operatorId: z.number().int(),
|
|
2756
2791
|
chargingZoneId: z.number().int().optional(),
|
|
2757
2792
|
chargePointId: z.number().int().optional(),
|
|
@@ -2761,7 +2796,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2761
2796
|
id: z.number().int().optional(),
|
|
2762
2797
|
name: z.string(),
|
|
2763
2798
|
integrationId: z.number().int(),
|
|
2764
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2799
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2765
2800
|
operatorId: z.number().int(),
|
|
2766
2801
|
chargingZoneId: z.number().int().optional(),
|
|
2767
2802
|
chargePointId: z.number().int().optional(),
|
|
@@ -2773,7 +2808,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2773
2808
|
id: z.number().int().optional(),
|
|
2774
2809
|
name: z.string(),
|
|
2775
2810
|
integrationId: z.number().int(),
|
|
2776
|
-
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"]),
|
|
2777
2812
|
operatorId: z.number().int(),
|
|
2778
2813
|
chargingZoneId: z.number().int().optional(),
|
|
2779
2814
|
chargePointId: z.number().int().optional(),
|
|
@@ -2784,7 +2819,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2784
2819
|
id: z.number().int().optional(),
|
|
2785
2820
|
name: z.string(),
|
|
2786
2821
|
integrationId: z.number().int(),
|
|
2787
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2822
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2788
2823
|
operatorId: z.number().int(),
|
|
2789
2824
|
chargingZoneId: z.number().int().optional(),
|
|
2790
2825
|
chargePointId: z.number().int().optional(),
|
|
@@ -2794,7 +2829,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2794
2829
|
id: z.number().int().optional(),
|
|
2795
2830
|
name: z.string(),
|
|
2796
2831
|
integrationId: z.number().int(),
|
|
2797
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2832
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2798
2833
|
operatorId: z.number().int(),
|
|
2799
2834
|
chargingZoneId: z.number().int().optional(),
|
|
2800
2835
|
chargePointId: z.number().int().optional(),
|
|
@@ -2811,7 +2846,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2811
2846
|
id: z.number().int().optional(),
|
|
2812
2847
|
name: z.string(),
|
|
2813
2848
|
integrationId: z.number().int(),
|
|
2814
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2849
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2815
2850
|
operatorId: z.number().int(),
|
|
2816
2851
|
chargingZoneId: z.number().int().optional(),
|
|
2817
2852
|
chargePointId: z.number().int().optional(),
|
|
@@ -2821,7 +2856,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2821
2856
|
id: z.number().int().optional(),
|
|
2822
2857
|
name: z.string(),
|
|
2823
2858
|
integrationId: z.number().int(),
|
|
2824
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2859
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2825
2860
|
operatorId: z.number().int(),
|
|
2826
2861
|
invoiceFields: z.array(z.object({
|
|
2827
2862
|
field: z.string(),
|
|
@@ -2832,7 +2867,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2832
2867
|
id: z.number().int().optional(),
|
|
2833
2868
|
name: z.string(),
|
|
2834
2869
|
integrationId: z.number().int(),
|
|
2835
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2870
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2836
2871
|
operatorId: z.number().int(),
|
|
2837
2872
|
chargingZoneId: z.number().int().optional(),
|
|
2838
2873
|
chargePointId: z.number().int().optional(),
|
|
@@ -2856,7 +2891,7 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2856
2891
|
id: z.number().int().optional(),
|
|
2857
2892
|
name: z.string(),
|
|
2858
2893
|
integrationId: z.number().int(),
|
|
2859
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]),
|
|
2894
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2860
2895
|
operatorId: z.number().int(),
|
|
2861
2896
|
chargingZoneId: z.number().int().optional(),
|
|
2862
2897
|
chargePointId: z.number().int().optional(),
|
|
@@ -2879,6 +2914,33 @@ export const createPaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2879
2914
|
downloadUrl: z.string().optional()
|
|
2880
2915
|
}),
|
|
2881
2916
|
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
2917
|
+
}), z.object({
|
|
2918
|
+
id: z.number().int().optional(),
|
|
2919
|
+
name: z.string(),
|
|
2920
|
+
integrationId: z.number().int(),
|
|
2921
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]),
|
|
2922
|
+
operatorId: z.number().int(),
|
|
2923
|
+
chargingZoneId: z.number().int().optional(),
|
|
2924
|
+
chargePointId: z.number().int().optional(),
|
|
2925
|
+
adminToken: z.string().optional(),
|
|
2926
|
+
isOnline: z.boolean().optional(),
|
|
2927
|
+
networkStatus: z.enum(["online", "offline", "unknown"]).optional(),
|
|
2928
|
+
phone: z.string(),
|
|
2929
|
+
defaultLanguage: z.string(),
|
|
2930
|
+
presentCardOnStopSession: z.boolean().optional(),
|
|
2931
|
+
info: z.array(z.object({
|
|
2932
|
+
locale: z.string().optional(),
|
|
2933
|
+
translation: z.string().optional()
|
|
2934
|
+
})),
|
|
2935
|
+
currencyCode: z.string().optional(),
|
|
2936
|
+
serialNumber: z.string().optional(),
|
|
2937
|
+
externalId: z.string().optional(),
|
|
2938
|
+
supportedLanguages: z.array(z.string()).optional(),
|
|
2939
|
+
bundle: z.object({
|
|
2940
|
+
version: z.string().optional(),
|
|
2941
|
+
downloadUrl: z.string().optional()
|
|
2942
|
+
}),
|
|
2943
|
+
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
2882
2944
|
})]);
|
|
2883
2945
|
|
|
2884
2946
|
// GET /public-api/resources/payment-terminals/v1.0/{paymentTerminal}
|
|
@@ -2896,7 +2958,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2896
2958
|
id: z.number().int().optional(),
|
|
2897
2959
|
name: z.string().optional(),
|
|
2898
2960
|
integrationId: z.number().int().optional(),
|
|
2899
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2961
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2900
2962
|
operatorId: z.number().int().optional(),
|
|
2901
2963
|
chargingZoneId: z.number().int().optional(),
|
|
2902
2964
|
chargePointId: z.number().int().optional(),
|
|
@@ -2917,7 +2979,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2917
2979
|
id: z.number().int().optional(),
|
|
2918
2980
|
name: z.string().optional(),
|
|
2919
2981
|
integrationId: z.number().int().optional(),
|
|
2920
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2982
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2921
2983
|
operatorId: z.number().int().optional(),
|
|
2922
2984
|
chargingZoneId: z.number().int().optional(),
|
|
2923
2985
|
chargePointId: z.number().int().optional(),
|
|
@@ -2927,7 +2989,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2927
2989
|
id: z.number().int().optional(),
|
|
2928
2990
|
name: z.string().optional(),
|
|
2929
2991
|
integrationId: z.number().int().optional(),
|
|
2930
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
2992
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2931
2993
|
operatorId: z.number().int().optional(),
|
|
2932
2994
|
chargingZoneId: z.number().int().optional(),
|
|
2933
2995
|
chargePointId: z.number().int().optional(),
|
|
@@ -2939,7 +3001,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2939
3001
|
id: z.number().int().optional(),
|
|
2940
3002
|
name: z.string().optional(),
|
|
2941
3003
|
integrationId: z.number().int().optional(),
|
|
2942
|
-
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(),
|
|
2943
3005
|
operatorId: z.number().int().optional(),
|
|
2944
3006
|
chargingZoneId: z.number().int().optional(),
|
|
2945
3007
|
chargePointId: z.number().int().optional(),
|
|
@@ -2950,7 +3012,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2950
3012
|
id: z.number().int().optional(),
|
|
2951
3013
|
name: z.string().optional(),
|
|
2952
3014
|
integrationId: z.number().int().optional(),
|
|
2953
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3015
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2954
3016
|
operatorId: z.number().int().optional(),
|
|
2955
3017
|
chargingZoneId: z.number().int().optional(),
|
|
2956
3018
|
chargePointId: z.number().int().optional(),
|
|
@@ -2960,7 +3022,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2960
3022
|
id: z.number().int().optional(),
|
|
2961
3023
|
name: z.string().optional(),
|
|
2962
3024
|
integrationId: z.number().int().optional(),
|
|
2963
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3025
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2964
3026
|
operatorId: z.number().int().optional(),
|
|
2965
3027
|
chargingZoneId: z.number().int().optional(),
|
|
2966
3028
|
chargePointId: z.number().int().optional(),
|
|
@@ -2977,7 +3039,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2977
3039
|
id: z.number().int().optional(),
|
|
2978
3040
|
name: z.string().optional(),
|
|
2979
3041
|
integrationId: z.number().int().optional(),
|
|
2980
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3042
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2981
3043
|
operatorId: z.number().int().optional(),
|
|
2982
3044
|
chargingZoneId: z.number().int().optional(),
|
|
2983
3045
|
chargePointId: z.number().int().optional(),
|
|
@@ -2987,13 +3049,13 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
2987
3049
|
id: z.number().int().optional(),
|
|
2988
3050
|
name: z.string().optional(),
|
|
2989
3051
|
integrationId: z.number().int().optional(),
|
|
2990
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3052
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2991
3053
|
operatorId: z.number().int().optional()
|
|
2992
3054
|
}), z.object({
|
|
2993
3055
|
id: z.number().int().optional(),
|
|
2994
3056
|
name: z.string().optional(),
|
|
2995
3057
|
integrationId: z.number().int().optional(),
|
|
2996
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3058
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
2997
3059
|
operatorId: z.number().int().optional(),
|
|
2998
3060
|
chargingZoneId: z.number().int().optional(),
|
|
2999
3061
|
chargePointId: z.number().int().optional(),
|
|
@@ -3016,7 +3078,7 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
3016
3078
|
id: z.number().int().optional(),
|
|
3017
3079
|
name: z.string().optional(),
|
|
3018
3080
|
integrationId: z.number().int().optional(),
|
|
3019
|
-
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles"]).optional(),
|
|
3081
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
3020
3082
|
operatorId: z.number().int().optional(),
|
|
3021
3083
|
chargingZoneId: z.number().int().optional(),
|
|
3022
3084
|
chargePointId: z.number().int().optional(),
|
|
@@ -3033,6 +3095,27 @@ export const updatePaymentTerminalBody = z.union([z.union([z.object({
|
|
|
3033
3095
|
externalId: z.string().optional(),
|
|
3034
3096
|
supportedLanguages: z.array(z.string()).optional(),
|
|
3035
3097
|
networkStatusMonitoringEnabled: z.boolean().optional()
|
|
3098
|
+
}), z.object({
|
|
3099
|
+
id: z.number().int().optional(),
|
|
3100
|
+
name: z.string().optional(),
|
|
3101
|
+
integrationId: z.number().int().optional(),
|
|
3102
|
+
terminalType: z.enum(["Payter", "Valina", "Crane", "Ampeco", "Nayax", "Embedded", "Pax", "Windcave", "Web portal", "AdyenCastles", "Printec Castles", "Cardlink Castles"]).optional(),
|
|
3103
|
+
operatorId: z.number().int().optional(),
|
|
3104
|
+
chargingZoneId: z.number().int().optional(),
|
|
3105
|
+
chargePointId: z.number().int().optional(),
|
|
3106
|
+
adminToken: z.string().optional(),
|
|
3107
|
+
isOnline: z.boolean().optional(),
|
|
3108
|
+
networkStatus: z.enum(["online", "offline", "unknown"]).optional(),
|
|
3109
|
+
phone: z.string().optional(),
|
|
3110
|
+
defaultLanguage: z.string().optional(),
|
|
3111
|
+
presentCardOnStopSession: z.boolean().optional(),
|
|
3112
|
+
info: z.array(z.object({
|
|
3113
|
+
locale: z.string().optional(),
|
|
3114
|
+
translation: z.string().optional()
|
|
3115
|
+
})).optional(),
|
|
3116
|
+
serialNumber: z.string().optional(),
|
|
3117
|
+
externalId: z.string().optional(),
|
|
3118
|
+
supportedLanguages: z.array(z.string()).optional()
|
|
3036
3119
|
})]);
|
|
3037
3120
|
|
|
3038
3121
|
// GET /public-api/resources/provisioning-certificates/v2.0
|
package/package.json
CHANGED