-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish-firmware.ts
50 lines (49 loc) · 1.37 KB
/
publish-firmware.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PublishFirmwareRequestV201 {
customData?: CustomDataType;
/**
* This contains a string containing a URI pointing to a
* location from which to retrieve the firmware.
*
*/
location: string;
/**
* This specifies how many times Charging Station must try
* to download the firmware before giving up. If this field is not
* present, it is left to Charging Station to decide how many times it wants to retry.
*
*/
retries?: number;
/**
* The MD5 checksum over the entire firmware file as a hexadecimal string of length 32.
*
*/
checksum: string;
/**
* The Id of the request.
*
*/
requestId: number;
/**
* The interval in seconds
* after which a retry may be
* attempted. If this field is not
* present, it is left to Charging
* Station to decide how long to wait
* between attempts.
*
*/
retryInterval?: number;
}
/**
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
*/
export interface CustomDataType {
vendorId: string;
[k: string]: unknown;
}