@orangefox-recovery/foxclient 5.2.8 → 5.3.2

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 (153) hide show
  1. package/.openapi-generator/FILES +24 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +140 -28
  4. package/dist/apis/DeviceApi.d.ts +1 -1
  5. package/dist/apis/DeviceApi.js +10 -5
  6. package/dist/apis/PasteApi.d.ts +1 -1
  7. package/dist/apis/PasteApi.js +6 -3
  8. package/dist/apis/ReleaseApi.d.ts +1 -1
  9. package/dist/apis/ReleaseApi.js +11 -5
  10. package/dist/apis/StatsApi.d.ts +1 -1
  11. package/dist/apis/StatsApi.js +3 -2
  12. package/dist/esm/apis/DeviceApi.d.ts +1 -1
  13. package/dist/esm/apis/DeviceApi.js +10 -5
  14. package/dist/esm/apis/PasteApi.d.ts +1 -1
  15. package/dist/esm/apis/PasteApi.js +6 -3
  16. package/dist/esm/apis/ReleaseApi.d.ts +1 -1
  17. package/dist/esm/apis/ReleaseApi.js +11 -5
  18. package/dist/esm/apis/StatsApi.d.ts +1 -1
  19. package/dist/esm/apis/StatsApi.js +3 -2
  20. package/dist/esm/models/DeviceResponse.d.ts +13 -1
  21. package/dist/esm/models/DeviceResponse.js +5 -1
  22. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +1 -1
  23. package/dist/esm/models/GlobalStatsAggregationModel.js +1 -1
  24. package/dist/esm/models/HTTPValidationError.d.ts +1 -1
  25. package/dist/esm/models/HTTPValidationError.js +1 -1
  26. package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
  27. package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
  28. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
  29. package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
  30. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +1 -1
  31. package/dist/esm/models/ListResponseShortReleaseResponse.js +1 -1
  32. package/dist/esm/models/ListResponseStr.d.ts +1 -1
  33. package/dist/esm/models/ListResponseStr.js +1 -1
  34. package/dist/esm/models/MaintainerShortModel.d.ts +1 -1
  35. package/dist/esm/models/MaintainerShortModel.js +1 -1
  36. package/dist/esm/models/PasteInput.d.ts +2 -20
  37. package/dist/esm/models/PasteInput.js +1 -9
  38. package/dist/esm/models/PasteOutput.d.ts +9 -9
  39. package/dist/esm/models/PasteOutput.js +10 -8
  40. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  41. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  42. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  43. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  44. package/dist/esm/models/ReleaseResponse.d.ts +14 -2
  45. package/dist/esm/models/ReleaseResponse.js +7 -1
  46. package/dist/esm/models/ReleaseType.d.ts +1 -1
  47. package/dist/esm/models/ReleaseType.js +1 -1
  48. package/dist/esm/models/ReleasesSort.d.ts +1 -1
  49. package/dist/esm/models/ReleasesSort.js +1 -1
  50. package/dist/esm/models/ResponseGetReleases.d.ts +1 -1
  51. package/dist/esm/models/ResponseGetReleases.js +1 -1
  52. package/dist/esm/models/ShortDeviceResponse.d.ts +13 -1
  53. package/dist/esm/models/ShortDeviceResponse.js +5 -1
  54. package/dist/esm/models/ShortReleaseResponse.d.ts +14 -2
  55. package/dist/esm/models/ShortReleaseResponse.js +7 -1
  56. package/dist/esm/models/ValidationError.d.ts +1 -1
  57. package/dist/esm/models/ValidationError.js +1 -1
  58. package/dist/esm/models/ValidationErrorLocInner.d.ts +1 -1
  59. package/dist/esm/models/ValidationErrorLocInner.js +1 -1
  60. package/dist/esm/runtime.d.ts +1 -1
  61. package/dist/esm/runtime.js +1 -1
  62. package/dist/models/DeviceResponse.d.ts +13 -1
  63. package/dist/models/DeviceResponse.js +5 -1
  64. package/dist/models/GlobalStatsAggregationModel.d.ts +1 -1
  65. package/dist/models/GlobalStatsAggregationModel.js +1 -1
  66. package/dist/models/HTTPValidationError.d.ts +1 -1
  67. package/dist/models/HTTPValidationError.js +1 -1
  68. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  69. package/dist/models/ListResponseReleaseResponse.js +1 -1
  70. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  71. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  72. package/dist/models/ListResponseShortReleaseResponse.d.ts +1 -1
  73. package/dist/models/ListResponseShortReleaseResponse.js +1 -1
  74. package/dist/models/ListResponseStr.d.ts +1 -1
  75. package/dist/models/ListResponseStr.js +1 -1
  76. package/dist/models/MaintainerShortModel.d.ts +1 -1
  77. package/dist/models/MaintainerShortModel.js +1 -1
  78. package/dist/models/PasteInput.d.ts +2 -20
  79. package/dist/models/PasteInput.js +1 -9
  80. package/dist/models/PasteOutput.d.ts +9 -9
  81. package/dist/models/PasteOutput.js +10 -8
  82. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  83. package/dist/models/RecoveryImgResponse.js +1 -1
  84. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  85. package/dist/models/ReleaseGroupsResponse.js +1 -1
  86. package/dist/models/ReleaseResponse.d.ts +14 -2
  87. package/dist/models/ReleaseResponse.js +7 -1
  88. package/dist/models/ReleaseType.d.ts +1 -1
  89. package/dist/models/ReleaseType.js +1 -1
  90. package/dist/models/ReleasesSort.d.ts +1 -1
  91. package/dist/models/ReleasesSort.js +1 -1
  92. package/dist/models/ResponseGetReleases.d.ts +1 -1
  93. package/dist/models/ResponseGetReleases.js +1 -1
  94. package/dist/models/ShortDeviceResponse.d.ts +13 -1
  95. package/dist/models/ShortDeviceResponse.js +5 -1
  96. package/dist/models/ShortReleaseResponse.d.ts +14 -2
  97. package/dist/models/ShortReleaseResponse.js +7 -1
  98. package/dist/models/ValidationError.d.ts +1 -1
  99. package/dist/models/ValidationError.js +1 -1
  100. package/dist/models/ValidationErrorLocInner.d.ts +1 -1
  101. package/dist/models/ValidationErrorLocInner.js +1 -1
  102. package/dist/runtime.d.ts +1 -1
  103. package/dist/runtime.js +1 -1
  104. package/docs/DeviceApi.md +315 -0
  105. package/docs/DeviceResponse.md +60 -0
  106. package/docs/GlobalStatsAggregationModel.md +40 -0
  107. package/docs/HTTPValidationError.md +34 -0
  108. package/docs/ListResponseReleaseResponse.md +36 -0
  109. package/docs/ListResponseShortDeviceResponse.md +36 -0
  110. package/docs/ListResponseShortReleaseResponse.md +36 -0
  111. package/docs/ListResponseStr.md +36 -0
  112. package/docs/MaintainerShortModel.md +38 -0
  113. package/docs/PasteApi.md +149 -0
  114. package/docs/PasteInput.md +34 -0
  115. package/docs/PasteOutput.md +40 -0
  116. package/docs/RecoveryImgResponse.md +36 -0
  117. package/docs/ReleaseApi.md +354 -0
  118. package/docs/ReleaseGroupsResponse.md +34 -0
  119. package/docs/ReleaseResponse.md +72 -0
  120. package/docs/ReleaseType.md +32 -0
  121. package/docs/ReleasesSort.md +32 -0
  122. package/docs/ResponseGetReleases.md +36 -0
  123. package/docs/ShortDeviceResponse.md +54 -0
  124. package/docs/ShortReleaseResponse.md +60 -0
  125. package/docs/StatsApi.md +69 -0
  126. package/docs/ValidationError.md +38 -0
  127. package/docs/ValidationErrorLocInner.md +32 -0
  128. package/package.json +5 -2
  129. package/src/apis/DeviceApi.ts +18 -5
  130. package/src/apis/PasteApi.ts +10 -3
  131. package/src/apis/ReleaseApi.ts +19 -5
  132. package/src/apis/StatsApi.ts +5 -2
  133. package/src/models/DeviceResponse.ts +17 -1
  134. package/src/models/GlobalStatsAggregationModel.ts +1 -1
  135. package/src/models/HTTPValidationError.ts +1 -1
  136. package/src/models/ListResponseReleaseResponse.ts +1 -1
  137. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  138. package/src/models/ListResponseShortReleaseResponse.ts +1 -1
  139. package/src/models/ListResponseStr.ts +1 -1
  140. package/src/models/MaintainerShortModel.ts +1 -1
  141. package/src/models/PasteInput.ts +2 -27
  142. package/src/models/PasteOutput.ts +17 -16
  143. package/src/models/RecoveryImgResponse.ts +1 -1
  144. package/src/models/ReleaseGroupsResponse.ts +1 -1
  145. package/src/models/ReleaseResponse.ts +19 -2
  146. package/src/models/ReleaseType.ts +1 -1
  147. package/src/models/ReleasesSort.ts +1 -1
  148. package/src/models/ResponseGetReleases.ts +1 -1
  149. package/src/models/ShortDeviceResponse.ts +17 -1
  150. package/src/models/ShortReleaseResponse.ts +19 -2
  151. package/src/models/ValidationError.ts +1 -1
  152. package/src/models/ValidationErrorLocInner.ts +1 -1
  153. package/src/runtime.ts +1 -1
@@ -2,6 +2,30 @@
2
2
  .npmignore
3
3
  .openapi-generator-ignore
4
4
  README.md
5
+ docs/DeviceApi.md
6
+ docs/DeviceResponse.md
7
+ docs/GlobalStatsAggregationModel.md
8
+ docs/HTTPValidationError.md
9
+ docs/ListResponseReleaseResponse.md
10
+ docs/ListResponseShortDeviceResponse.md
11
+ docs/ListResponseShortReleaseResponse.md
12
+ docs/ListResponseStr.md
13
+ docs/MaintainerShortModel.md
14
+ docs/PasteApi.md
15
+ docs/PasteInput.md
16
+ docs/PasteOutput.md
17
+ docs/RecoveryImgResponse.md
18
+ docs/ReleaseApi.md
19
+ docs/ReleaseGroupsResponse.md
20
+ docs/ReleaseResponse.md
21
+ docs/ReleaseType.md
22
+ docs/ReleasesSort.md
23
+ docs/ResponseGetReleases.md
24
+ docs/ShortDeviceResponse.md
25
+ docs/ShortReleaseResponse.md
26
+ docs/StatsApi.md
27
+ docs/ValidationError.md
28
+ docs/ValidationErrorLocInner.md
5
29
  package.json
6
30
  src/apis/DeviceApi.ts
7
31
  src/apis/PasteApi.ts
@@ -1 +1 @@
1
- 7.13.0
1
+ 7.17.0
package/README.md CHANGED
@@ -1,46 +1,158 @@
1
- ## @orangefox-recovery/foxclient@5.2.8
1
+ # @orangefox-recovery/foxclient@5.3.2
2
2
 
3
- This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
3
+ A TypeScript SDK client for the api.orangefox.download API.
4
4
 
5
- Environment
6
- * Node.js
7
- * Webpack
8
- * Browserify
5
+ ## Usage
9
6
 
10
- Language level
11
- * ES5 - you must have a Promises/A+ library installed
12
- * ES6
7
+ First, install the SDK from npm.
13
8
 
14
- Module system
15
- * CommonJS
16
- * ES6 module system
9
+ ```bash
10
+ npm install @orangefox-recovery/foxclient --save
11
+ ```
17
12
 
18
- It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
13
+ Next, try it out.
19
14
 
20
- ### Building
21
15
 
22
- To build and compile the typescript sources to javascript use:
23
- ```
24
- npm install
25
- npm run build
16
+ ```ts
17
+ import {
18
+ Configuration,
19
+ DeviceApi,
20
+ } from '@orangefox-recovery/foxclient';
21
+ import type { GetDeviceRequest } from '@orangefox-recovery/foxclient';
22
+
23
+ async function example() {
24
+ console.log("🚀 Testing @orangefox-recovery/foxclient SDK...");
25
+ const api = new DeviceApi();
26
+
27
+ const body = {
28
+ // string (optional)
29
+ deviceId: deviceId_example,
30
+ // string | Filter by Device ID (deprecated) (optional)
31
+ id: id_example,
32
+ // string | Not recommended to use when you can (optional)
33
+ codename: codename_example,
34
+ } satisfies GetDeviceRequest;
35
+
36
+ try {
37
+ const data = await api.getDevice(body);
38
+ console.log(data);
39
+ } catch (error) {
40
+ console.error(error);
41
+ }
42
+ }
43
+
44
+ // Run the test
45
+ example().catch(console.error);
26
46
  ```
27
47
 
28
- ### Publishing
29
48
 
30
- First build the package then run `npm publish`
49
+ ## Documentation
31
50
 
32
- ### Consuming
51
+ ### API Endpoints
33
52
 
34
- navigate to the folder of your consuming project and run one of the following commands.
53
+ All URIs are relative to *https://api.orangefox.download*
35
54
 
36
- _published:_
55
+ | Class | Method | HTTP request | Description
56
+ | ----- | ------ | ------------ | -------------
57
+ *DeviceApi* | [**getDevice**](docs/DeviceApi.md#getdevice) | **GET** /devices/get | Get Device
58
+ *DeviceApi* | [**getDeviceDeprecated**](docs/DeviceApi.md#getdevicedeprecated) | **GET** /devices/{device_id} | Get Device Short
59
+ *DeviceApi* | [**getDevices**](docs/DeviceApi.md#getdevices) | **GET** /devices/ | Get Devices
60
+ *DeviceApi* | [**getOems**](docs/DeviceApi.md#getoems) | **GET** /oems/ | Get Oems
61
+ *PasteApi* | [**createPastePastePost**](docs/PasteApi.md#createpastepastepost) | **POST** /paste/ | Create Paste
62
+ *PasteApi* | [**getPastePastePasteIdGet**](docs/PasteApi.md#getpastepastepasteidget) | **GET** /paste/{paste_id} | Get Paste
63
+ *ReleaseApi* | [**getRelease**](docs/ReleaseApi.md#getrelease) | **GET** /releases/get | Get Release
64
+ *ReleaseApi* | [**getReleaseDeprecated**](docs/ReleaseApi.md#getreleasedeprecated) | **GET** /releases/{release_id} | Get Release Short
65
+ *ReleaseApi* | [**getReleases**](docs/ReleaseApi.md#getreleases) | **GET** /releases/ | Get Releases
66
+ *ReleaseApi* | [**getUpdatesDeprecated**](docs/ReleaseApi.md#getupdatesdeprecated) | **GET** /updates/{last_known_id} | Get Updates
67
+ *StatsApi* | [**getPublicStats**](docs/StatsApi.md#getpublicstats) | **GET** /stats/ | Public Stats
37
68
 
38
- ```
39
- npm install @orangefox-recovery/foxclient@5.2.8 --save
40
- ```
41
69
 
42
- _unPublished (not recommended):_
70
+ ### Models
71
+
72
+ - [DeviceResponse](docs/DeviceResponse.md)
73
+ - [GlobalStatsAggregationModel](docs/GlobalStatsAggregationModel.md)
74
+ - [HTTPValidationError](docs/HTTPValidationError.md)
75
+ - [ListResponseReleaseResponse](docs/ListResponseReleaseResponse.md)
76
+ - [ListResponseShortDeviceResponse](docs/ListResponseShortDeviceResponse.md)
77
+ - [ListResponseShortReleaseResponse](docs/ListResponseShortReleaseResponse.md)
78
+ - [ListResponseStr](docs/ListResponseStr.md)
79
+ - [MaintainerShortModel](docs/MaintainerShortModel.md)
80
+ - [PasteInput](docs/PasteInput.md)
81
+ - [PasteOutput](docs/PasteOutput.md)
82
+ - [RecoveryImgResponse](docs/RecoveryImgResponse.md)
83
+ - [ReleaseGroupsResponse](docs/ReleaseGroupsResponse.md)
84
+ - [ReleaseResponse](docs/ReleaseResponse.md)
85
+ - [ReleaseType](docs/ReleaseType.md)
86
+ - [ReleasesSort](docs/ReleasesSort.md)
87
+ - [ResponseGetReleases](docs/ResponseGetReleases.md)
88
+ - [ShortDeviceResponse](docs/ShortDeviceResponse.md)
89
+ - [ShortReleaseResponse](docs/ShortReleaseResponse.md)
90
+ - [ValidationError](docs/ValidationError.md)
91
+ - [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
92
+
93
+ ### Authorization
94
+
95
+
96
+ Authentication schemes defined for the API:
97
+ <a id="bearer_auth"></a>
98
+ #### bearer_auth
99
+
100
+
101
+ - **Type**: HTTP Bearer Token authentication (JWT)
102
+ <a id="oauth2_password-password"></a>
103
+ #### oauth2_password password
104
+
43
105
 
106
+ - **Type**: OAuth
107
+ - **Flow**: password
108
+ - **Authorization URL**:
109
+ - **Scopes**: N/A
110
+
111
+ ## About
112
+
113
+ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
114
+ and is automatically generated by the
115
+ [OpenAPI Generator](https://openapi-generator.tech) project:
116
+
117
+ - API version: `5.3.2`
118
+ - Package version: `5.3.2`
119
+ - Generator version: `7.17.0`
120
+ - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
121
+
122
+ The generated npm module supports the following:
123
+
124
+ - Environments
125
+ * Node.js
126
+ * Webpack
127
+ * Browserify
128
+ - Language levels
129
+ * ES5 - you must have a Promises/A+ library installed
130
+ * ES6
131
+ - Module systems
132
+ * CommonJS
133
+ * ES6 module system
134
+
135
+
136
+ ## Development
137
+
138
+ ### Building
139
+
140
+ To build the TypeScript source code, you need to have Node.js and npm installed.
141
+ After cloning the repository, navigate to the project directory and run:
142
+
143
+ ```bash
144
+ npm install
145
+ npm run build
44
146
  ```
45
- npm install PATH_TO_GENERATED_PACKAGE --save
147
+
148
+ ### Publishing
149
+
150
+ Once you've built the package, you can publish it to npm:
151
+
152
+ ```bash
153
+ npm publish
46
154
  ```
155
+
156
+ ## License
157
+
158
+ []()
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,8 +46,9 @@ class DeviceApi extends runtime.BaseAPI {
46
46
  queryParameters['codename'] = requestParameters['codename'];
47
47
  }
48
48
  const headerParameters = {};
49
+ let urlPath = `/devices/get`;
49
50
  const response = yield this.request({
50
- path: `/devices/get`,
51
+ path: urlPath,
51
52
  method: 'GET',
52
53
  headers: headerParameters,
53
54
  query: queryParameters,
@@ -77,8 +78,10 @@ class DeviceApi extends runtime.BaseAPI {
77
78
  }
78
79
  const queryParameters = {};
79
80
  const headerParameters = {};
81
+ let urlPath = `/devices/{device_id}`;
82
+ urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
80
83
  const response = yield this.request({
81
- path: `/devices/{device_id}`.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId']))),
84
+ path: urlPath,
82
85
  method: 'GET',
83
86
  headers: headerParameters,
84
87
  query: queryParameters,
@@ -138,8 +141,9 @@ class DeviceApi extends runtime.BaseAPI {
138
141
  queryParameters['limit'] = requestParameters['limit'];
139
142
  }
140
143
  const headerParameters = {};
144
+ let urlPath = `/devices/`;
141
145
  const response = yield this.request({
142
- path: `/devices/`,
146
+ path: urlPath,
143
147
  method: 'GET',
144
148
  headers: headerParameters,
145
149
  query: queryParameters,
@@ -165,8 +169,9 @@ class DeviceApi extends runtime.BaseAPI {
165
169
  return __awaiter(this, void 0, void 0, function* () {
166
170
  const queryParameters = {};
167
171
  const headerParameters = {};
172
+ let urlPath = `/oems/`;
168
173
  const response = yield this.request({
169
- path: `/oems/`,
174
+ path: urlPath,
170
175
  method: 'GET',
171
176
  headers: headerParameters,
172
177
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -41,8 +41,9 @@ class PasteApi extends runtime.BaseAPI {
41
41
  const queryParameters = {};
42
42
  const headerParameters = {};
43
43
  headerParameters['Content-Type'] = 'application/json';
44
+ let urlPath = `/paste/`;
44
45
  const response = yield this.request({
45
- path: `/paste/`,
46
+ path: urlPath,
46
47
  method: 'POST',
47
48
  headers: headerParameters,
48
49
  query: queryParameters,
@@ -72,8 +73,10 @@ class PasteApi extends runtime.BaseAPI {
72
73
  }
73
74
  const queryParameters = {};
74
75
  const headerParameters = {};
76
+ let urlPath = `/paste/{paste_id}`;
77
+ urlPath = urlPath.replace(`{${"paste_id"}}`, encodeURIComponent(String(requestParameters['pasteId'])));
75
78
  const response = yield this.request({
76
- path: `/paste/{paste_id}`.replace(`{${"paste_id"}}`, encodeURIComponent(String(requestParameters['pasteId']))),
79
+ path: urlPath,
77
80
  method: 'GET',
78
81
  headers: headerParameters,
79
82
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,8 +49,9 @@ class ReleaseApi extends runtime.BaseAPI {
49
49
  queryParameters['filename'] = requestParameters['filename'];
50
50
  }
51
51
  const headerParameters = {};
52
+ let urlPath = `/releases/get`;
52
53
  const response = yield this.request({
53
- path: `/releases/get`,
54
+ path: urlPath,
54
55
  method: 'GET',
55
56
  headers: headerParameters,
56
57
  query: queryParameters,
@@ -80,8 +81,10 @@ class ReleaseApi extends runtime.BaseAPI {
80
81
  }
81
82
  const queryParameters = {};
82
83
  const headerParameters = {};
84
+ let urlPath = `/releases/{release_id}`;
85
+ urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
83
86
  const response = yield this.request({
84
- path: `/releases/{release_id}`.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId']))),
87
+ path: urlPath,
85
88
  method: 'GET',
86
89
  headers: headerParameters,
87
90
  query: queryParameters,
@@ -156,8 +159,9 @@ class ReleaseApi extends runtime.BaseAPI {
156
159
  queryParameters['limit'] = requestParameters['limit'];
157
160
  }
158
161
  const headerParameters = {};
162
+ let urlPath = `/releases/`;
159
163
  const response = yield this.request({
160
- path: `/releases/`,
164
+ path: urlPath,
161
165
  method: 'GET',
162
166
  headers: headerParameters,
163
167
  query: queryParameters,
@@ -202,8 +206,10 @@ class ReleaseApi extends runtime.BaseAPI {
202
206
  queryParameters['limit'] = requestParameters['limit'];
203
207
  }
204
208
  const headerParameters = {};
209
+ let urlPath = `/updates/{last_known_id}`;
210
+ urlPath = urlPath.replace(`{${"last_known_id"}}`, encodeURIComponent(String(requestParameters['lastKnownId'])));
205
211
  const response = yield this.request({
206
- path: `/updates/{last_known_id}`.replace(`{${"last_known_id"}}`, encodeURIComponent(String(requestParameters['lastKnownId']))),
212
+ path: urlPath,
207
213
  method: 'GET',
208
214
  headers: headerParameters,
209
215
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,9 @@ class StatsApi extends runtime.BaseAPI {
37
37
  return __awaiter(this, void 0, void 0, function* () {
38
38
  const queryParameters = {};
39
39
  const headerParameters = {};
40
+ let urlPath = `/stats/`;
40
41
  const response = yield this.request({
41
- path: `/stats/`,
42
+ path: urlPath,
42
43
  method: 'GET',
43
44
  headers: headerParameters,
44
45
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -43,8 +43,9 @@ export class DeviceApi extends runtime.BaseAPI {
43
43
  queryParameters['codename'] = requestParameters['codename'];
44
44
  }
45
45
  const headerParameters = {};
46
+ let urlPath = `/devices/get`;
46
47
  const response = yield this.request({
47
- path: `/devices/get`,
48
+ path: urlPath,
48
49
  method: 'GET',
49
50
  headers: headerParameters,
50
51
  query: queryParameters,
@@ -74,8 +75,10 @@ export class DeviceApi extends runtime.BaseAPI {
74
75
  }
75
76
  const queryParameters = {};
76
77
  const headerParameters = {};
78
+ let urlPath = `/devices/{device_id}`;
79
+ urlPath = urlPath.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId'])));
77
80
  const response = yield this.request({
78
- path: `/devices/{device_id}`.replace(`{${"device_id"}}`, encodeURIComponent(String(requestParameters['deviceId']))),
81
+ path: urlPath,
79
82
  method: 'GET',
80
83
  headers: headerParameters,
81
84
  query: queryParameters,
@@ -135,8 +138,9 @@ export class DeviceApi extends runtime.BaseAPI {
135
138
  queryParameters['limit'] = requestParameters['limit'];
136
139
  }
137
140
  const headerParameters = {};
141
+ let urlPath = `/devices/`;
138
142
  const response = yield this.request({
139
- path: `/devices/`,
143
+ path: urlPath,
140
144
  method: 'GET',
141
145
  headers: headerParameters,
142
146
  query: queryParameters,
@@ -162,8 +166,9 @@ export class DeviceApi extends runtime.BaseAPI {
162
166
  return __awaiter(this, void 0, void 0, function* () {
163
167
  const queryParameters = {};
164
168
  const headerParameters = {};
169
+ let urlPath = `/oems/`;
165
170
  const response = yield this.request({
166
- path: `/oems/`,
171
+ path: urlPath,
167
172
  method: 'GET',
168
173
  headers: headerParameters,
169
174
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,8 +38,9 @@ export class PasteApi extends runtime.BaseAPI {
38
38
  const queryParameters = {};
39
39
  const headerParameters = {};
40
40
  headerParameters['Content-Type'] = 'application/json';
41
+ let urlPath = `/paste/`;
41
42
  const response = yield this.request({
42
- path: `/paste/`,
43
+ path: urlPath,
43
44
  method: 'POST',
44
45
  headers: headerParameters,
45
46
  query: queryParameters,
@@ -69,8 +70,10 @@ export class PasteApi extends runtime.BaseAPI {
69
70
  }
70
71
  const queryParameters = {};
71
72
  const headerParameters = {};
73
+ let urlPath = `/paste/{paste_id}`;
74
+ urlPath = urlPath.replace(`{${"paste_id"}}`, encodeURIComponent(String(requestParameters['pasteId'])));
72
75
  const response = yield this.request({
73
- path: `/paste/{paste_id}`.replace(`{${"paste_id"}}`, encodeURIComponent(String(requestParameters['pasteId']))),
76
+ path: urlPath,
74
77
  method: 'GET',
75
78
  headers: headerParameters,
76
79
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,8 +46,9 @@ export class ReleaseApi extends runtime.BaseAPI {
46
46
  queryParameters['filename'] = requestParameters['filename'];
47
47
  }
48
48
  const headerParameters = {};
49
+ let urlPath = `/releases/get`;
49
50
  const response = yield this.request({
50
- path: `/releases/get`,
51
+ path: urlPath,
51
52
  method: 'GET',
52
53
  headers: headerParameters,
53
54
  query: queryParameters,
@@ -77,8 +78,10 @@ export class ReleaseApi extends runtime.BaseAPI {
77
78
  }
78
79
  const queryParameters = {};
79
80
  const headerParameters = {};
81
+ let urlPath = `/releases/{release_id}`;
82
+ urlPath = urlPath.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId'])));
80
83
  const response = yield this.request({
81
- path: `/releases/{release_id}`.replace(`{${"release_id"}}`, encodeURIComponent(String(requestParameters['releaseId']))),
84
+ path: urlPath,
82
85
  method: 'GET',
83
86
  headers: headerParameters,
84
87
  query: queryParameters,
@@ -153,8 +156,9 @@ export class ReleaseApi extends runtime.BaseAPI {
153
156
  queryParameters['limit'] = requestParameters['limit'];
154
157
  }
155
158
  const headerParameters = {};
159
+ let urlPath = `/releases/`;
156
160
  const response = yield this.request({
157
- path: `/releases/`,
161
+ path: urlPath,
158
162
  method: 'GET',
159
163
  headers: headerParameters,
160
164
  query: queryParameters,
@@ -199,8 +203,10 @@ export class ReleaseApi extends runtime.BaseAPI {
199
203
  queryParameters['limit'] = requestParameters['limit'];
200
204
  }
201
205
  const headerParameters = {};
206
+ let urlPath = `/updates/{last_known_id}`;
207
+ urlPath = urlPath.replace(`{${"last_known_id"}}`, encodeURIComponent(String(requestParameters['lastKnownId'])));
202
208
  const response = yield this.request({
203
- path: `/updates/{last_known_id}`.replace(`{${"last_known_id"}}`, encodeURIComponent(String(requestParameters['lastKnownId']))),
209
+ path: urlPath,
204
210
  method: 'GET',
205
211
  headers: headerParameters,
206
212
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,8 +34,9 @@ export class StatsApi extends runtime.BaseAPI {
34
34
  return __awaiter(this, void 0, void 0, function* () {
35
35
  const queryParameters = {};
36
36
  const headerParameters = {};
37
+ let urlPath = `/stats/`;
37
38
  const response = yield this.request({
38
- path: `/stats/`,
39
+ path: urlPath,
39
40
  method: 'GET',
40
41
  headers: headerParameters,
41
42
  query: queryParameters,
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -60,6 +60,18 @@ export interface DeviceResponse {
60
60
  * @memberof DeviceResponse
61
61
  */
62
62
  supported: boolean;
63
+ /**
64
+ *
65
+ * @type {boolean}
66
+ * @memberof DeviceResponse
67
+ */
68
+ isFeatured?: boolean;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof DeviceResponse
73
+ */
74
+ featuredText?: string | null;
63
75
  /**
64
76
  *
65
77
  * @type {MaintainerShortModel}