@orangefox-recovery/foxclient 5.2.5 → 5.2.7

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 (186) hide show
  1. package/.openapi-generator/FILES +28 -27
  2. package/README.md +3 -61
  3. package/dist/apis/DeviceApi.d.ts +158 -0
  4. package/dist/apis/DeviceApi.js +188 -0
  5. package/dist/apis/PasteApi.d.ts +80 -0
  6. package/dist/apis/PasteApi.js +95 -0
  7. package/dist/apis/ReleaseApi.d.ts +188 -0
  8. package/dist/apis/ReleaseApi.js +226 -0
  9. package/dist/apis/StatsApi.d.ts +49 -0
  10. package/dist/apis/StatsApi.js +60 -0
  11. package/dist/apis/index.d.ts +4 -0
  12. package/dist/apis/index.js +22 -0
  13. package/dist/esm/apis/DeviceApi.d.ts +158 -0
  14. package/dist/esm/apis/DeviceApi.js +184 -0
  15. package/dist/esm/apis/PasteApi.d.ts +80 -0
  16. package/dist/esm/apis/PasteApi.js +91 -0
  17. package/dist/esm/apis/ReleaseApi.d.ts +188 -0
  18. package/dist/esm/apis/ReleaseApi.js +222 -0
  19. package/dist/esm/apis/StatsApi.d.ts +49 -0
  20. package/dist/esm/apis/StatsApi.js +56 -0
  21. package/dist/esm/apis/index.d.ts +4 -0
  22. package/dist/esm/apis/index.js +6 -0
  23. package/dist/esm/index.d.ts +3 -13
  24. package/dist/esm/index.js +3 -13
  25. package/dist/esm/models/DeviceResponse.d.ts +101 -0
  26. package/dist/esm/models/DeviceResponse.js +82 -0
  27. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +52 -0
  28. package/dist/esm/models/GlobalStatsAggregationModel.js +55 -0
  29. package/dist/esm/models/HTTPValidationError.d.ts +33 -0
  30. package/dist/esm/models/HTTPValidationError.js +42 -0
  31. package/dist/esm/models/ListResponseReleaseResponse.d.ts +39 -0
  32. package/dist/esm/models/ListResponseReleaseResponse.js +47 -0
  33. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +39 -0
  34. package/dist/esm/models/ListResponseShortDeviceResponse.js +47 -0
  35. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +39 -0
  36. package/dist/esm/models/ListResponseShortReleaseResponse.js +47 -0
  37. package/dist/esm/models/ListResponseStr.d.ts +38 -0
  38. package/dist/esm/models/ListResponseStr.js +46 -0
  39. package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
  40. package/dist/esm/models/MaintainerShortModel.js +51 -0
  41. package/dist/esm/models/PasteInput.d.ts +50 -0
  42. package/dist/esm/models/PasteInput.js +51 -0
  43. package/dist/esm/models/PasteOutput.d.ts +50 -0
  44. package/dist/esm/models/PasteOutput.js +51 -0
  45. package/dist/esm/models/RecoveryImgResponse.d.ts +38 -0
  46. package/dist/esm/models/RecoveryImgResponse.js +47 -0
  47. package/dist/esm/models/ReleaseGroupsResponse.d.ts +35 -0
  48. package/dist/esm/models/ReleaseGroupsResponse.js +43 -0
  49. package/dist/esm/models/ReleaseResponse.d.ts +139 -0
  50. package/dist/esm/models/ReleaseResponse.js +107 -0
  51. package/dist/esm/models/ReleaseType.d.ts +26 -0
  52. package/dist/esm/models/ReleaseType.js +44 -0
  53. package/dist/esm/models/ReleasesSort.d.ts +25 -0
  54. package/dist/esm/models/ReleasesSort.js +43 -0
  55. package/dist/esm/models/ResponseGetReleases.d.ts +41 -0
  56. package/dist/esm/models/ResponseGetReleases.js +46 -0
  57. package/dist/esm/models/ShortDeviceResponse.d.ts +82 -0
  58. package/dist/esm/models/ShortDeviceResponse.js +73 -0
  59. package/dist/esm/models/ShortReleaseResponse.d.ts +100 -0
  60. package/dist/esm/models/ShortReleaseResponse.js +84 -0
  61. package/dist/esm/models/ValidationError.d.ts +45 -0
  62. package/dist/esm/models/ValidationError.js +52 -0
  63. package/dist/esm/models/ValidationErrorLocInner.d.ts +26 -0
  64. package/{index.ts → dist/esm/models/ValidationErrorLocInner.js} +20 -7
  65. package/dist/esm/models/index.d.ts +20 -0
  66. package/dist/esm/models/index.js +22 -0
  67. package/dist/esm/runtime.d.ts +184 -0
  68. package/dist/esm/runtime.js +334 -0
  69. package/dist/index.d.ts +3 -13
  70. package/dist/index.js +5 -15
  71. package/dist/models/DeviceResponse.d.ts +101 -0
  72. package/dist/models/DeviceResponse.js +89 -0
  73. package/dist/models/GlobalStatsAggregationModel.d.ts +52 -0
  74. package/dist/models/GlobalStatsAggregationModel.js +62 -0
  75. package/dist/models/HTTPValidationError.d.ts +33 -0
  76. package/dist/models/HTTPValidationError.js +49 -0
  77. package/dist/models/ListResponseReleaseResponse.d.ts +39 -0
  78. package/dist/models/ListResponseReleaseResponse.js +54 -0
  79. package/dist/models/ListResponseShortDeviceResponse.d.ts +39 -0
  80. package/dist/models/ListResponseShortDeviceResponse.js +54 -0
  81. package/dist/models/ListResponseShortReleaseResponse.d.ts +39 -0
  82. package/dist/models/ListResponseShortReleaseResponse.js +54 -0
  83. package/dist/models/ListResponseStr.d.ts +38 -0
  84. package/dist/models/ListResponseStr.js +53 -0
  85. package/dist/models/MaintainerShortModel.d.ts +44 -0
  86. package/dist/models/MaintainerShortModel.js +58 -0
  87. package/dist/models/PasteInput.d.ts +50 -0
  88. package/dist/models/PasteInput.js +58 -0
  89. package/dist/models/PasteOutput.d.ts +50 -0
  90. package/dist/models/PasteOutput.js +58 -0
  91. package/dist/models/RecoveryImgResponse.d.ts +38 -0
  92. package/dist/models/RecoveryImgResponse.js +54 -0
  93. package/dist/models/ReleaseGroupsResponse.d.ts +35 -0
  94. package/dist/models/ReleaseGroupsResponse.js +50 -0
  95. package/dist/models/ReleaseResponse.d.ts +139 -0
  96. package/dist/models/ReleaseResponse.js +114 -0
  97. package/dist/models/ReleaseType.d.ts +26 -0
  98. package/dist/models/ReleaseType.js +52 -0
  99. package/dist/models/ReleasesSort.d.ts +25 -0
  100. package/dist/models/ReleasesSort.js +51 -0
  101. package/dist/models/ResponseGetReleases.d.ts +41 -0
  102. package/dist/models/ResponseGetReleases.js +53 -0
  103. package/dist/models/ShortDeviceResponse.d.ts +82 -0
  104. package/dist/models/ShortDeviceResponse.js +80 -0
  105. package/dist/models/ShortReleaseResponse.d.ts +100 -0
  106. package/dist/models/ShortReleaseResponse.js +91 -0
  107. package/dist/models/ValidationError.d.ts +45 -0
  108. package/dist/models/ValidationError.js +59 -0
  109. package/dist/models/ValidationErrorLocInner.d.ts +26 -0
  110. package/dist/models/ValidationErrorLocInner.js +38 -0
  111. package/dist/models/index.d.ts +20 -0
  112. package/dist/models/index.js +38 -0
  113. package/dist/runtime.d.ts +184 -0
  114. package/dist/runtime.js +350 -0
  115. package/package.json +4 -17
  116. package/src/apis/DeviceApi.ts +326 -0
  117. package/src/apis/PasteApi.ts +158 -0
  118. package/src/apis/ReleaseApi.ts +414 -0
  119. package/src/apis/StatsApi.ts +82 -0
  120. package/src/apis/index.ts +6 -0
  121. package/src/index.ts +5 -0
  122. package/src/models/DeviceResponse.ts +171 -0
  123. package/src/models/GlobalStatsAggregationModel.ts +93 -0
  124. package/src/models/HTTPValidationError.ts +73 -0
  125. package/src/models/ListResponseReleaseResponse.ts +82 -0
  126. package/src/models/ListResponseShortDeviceResponse.ts +82 -0
  127. package/src/models/ListResponseShortReleaseResponse.ts +82 -0
  128. package/src/models/ListResponseStr.ts +74 -0
  129. package/src/models/MaintainerShortModel.ts +84 -0
  130. package/src/models/PasteInput.ts +91 -0
  131. package/src/models/PasteOutput.ts +91 -0
  132. package/src/models/RecoveryImgResponse.ts +75 -0
  133. package/src/models/ReleaseGroupsResponse.ts +74 -0
  134. package/src/models/ReleaseResponse.ts +233 -0
  135. package/src/models/ReleaseType.ts +54 -0
  136. package/src/models/ReleasesSort.ts +53 -0
  137. package/src/models/ResponseGetReleases.ts +96 -0
  138. package/src/models/ShortDeviceResponse.ts +138 -0
  139. package/src/models/ShortReleaseResponse.ts +174 -0
  140. package/src/models/ValidationError.ts +92 -0
  141. package/src/models/ValidationErrorLocInner.ts +46 -0
  142. package/src/models/index.ts +22 -0
  143. package/src/runtime.ts +432 -0
  144. package/tsconfig.json +2 -4
  145. package/api.ts +0 -1832
  146. package/base.ts +0 -86
  147. package/common.ts +0 -150
  148. package/configuration.ts +0 -115
  149. package/dist/api.d.ts +0 -1304
  150. package/dist/api.js +0 -1001
  151. package/dist/base.d.ts +0 -66
  152. package/dist/base.js +0 -65
  153. package/dist/common.d.ts +0 -65
  154. package/dist/common.js +0 -161
  155. package/dist/configuration.d.ts +0 -91
  156. package/dist/configuration.js +0 -44
  157. package/dist/esm/api.d.ts +0 -1304
  158. package/dist/esm/api.js +0 -986
  159. package/dist/esm/base.d.ts +0 -66
  160. package/dist/esm/base.js +0 -60
  161. package/dist/esm/common.d.ts +0 -65
  162. package/dist/esm/common.js +0 -149
  163. package/dist/esm/configuration.d.ts +0 -91
  164. package/dist/esm/configuration.js +0 -40
  165. package/docs/DeviceApi.md +0 -251
  166. package/docs/DeviceResponse.md +0 -44
  167. package/docs/GlobalStatsAggregationModel.md +0 -26
  168. package/docs/HTTPValidationError.md +0 -20
  169. package/docs/ListResponseReleaseResponse.md +0 -22
  170. package/docs/ListResponseShortDeviceResponse.md +0 -22
  171. package/docs/ListResponseShortReleaseResponse.md +0 -22
  172. package/docs/ListResponseStr.md +0 -22
  173. package/docs/MaintainerShortModel.md +0 -26
  174. package/docs/RecoveryImgResponse.md +0 -22
  175. package/docs/ReleaseApi.md +0 -289
  176. package/docs/ReleaseGroupsResponse.md +0 -20
  177. package/docs/ReleaseResponse.md +0 -56
  178. package/docs/ReleaseType.md +0 -12
  179. package/docs/ReleasesSort.md +0 -10
  180. package/docs/ResponseGetReleases.md +0 -22
  181. package/docs/ShortDeviceResponse.md +0 -38
  182. package/docs/ShortReleaseResponse.md +0 -44
  183. package/docs/StatsApi.md +0 -53
  184. package/docs/ValidationError.md +0 -24
  185. package/docs/ValidationErrorLocInner.md +0 -18
  186. package/git_push.sh +0 -57
package/dist/esm/api.d.ts DELETED
@@ -1,1304 +0,0 @@
1
- /**
2
- * Fox API
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
- *
5
- * The version of the OpenAPI document: 5.2.5
6
- * Contact: admin@orangefox.tech
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import type { RequestArgs } from './base';
15
- import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface DeviceResponse
20
- */
21
- export interface DeviceResponse {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof DeviceResponse
26
- * @deprecated
27
- */
28
- '_id': string;
29
- /**
30
- * Device codename, legacy
31
- * @type {string}
32
- * @memberof DeviceResponse
33
- * @deprecated
34
- */
35
- 'codename': string;
36
- /**
37
- * Model name of device, does not include the OEM part, legacy
38
- * @type {string}
39
- * @memberof DeviceResponse
40
- * @deprecated
41
- */
42
- 'model_name': string;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof DeviceResponse
47
- */
48
- 'oem_name': string;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof DeviceResponse
53
- */
54
- 'id': string;
55
- /**
56
- *
57
- * @type {Array<string>}
58
- * @memberof DeviceResponse
59
- */
60
- 'codenames': Array<string>;
61
- /**
62
- *
63
- * @type {Array<string>}
64
- * @memberof DeviceResponse
65
- */
66
- 'model_names': Array<string>;
67
- /**
68
- *
69
- * @type {boolean}
70
- * @memberof DeviceResponse
71
- */
72
- 'supported': boolean;
73
- /**
74
- *
75
- * @type {MaintainerShortModel}
76
- * @memberof DeviceResponse
77
- */
78
- 'maintainer': MaintainerShortModel;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof DeviceResponse
83
- */
84
- 'notes'?: string | null;
85
- /**
86
- *
87
- * @type {string}
88
- * @memberof DeviceResponse
89
- */
90
- 'device_tree'?: string | null;
91
- /**
92
- * Full name of device / devices, legacy
93
- * @type {string}
94
- * @memberof DeviceResponse
95
- */
96
- 'full_name': string;
97
- /**
98
- * URL of the device on the official website
99
- * @type {string}
100
- * @memberof DeviceResponse
101
- */
102
- 'url': string;
103
- }
104
- /**
105
- *
106
- * @export
107
- * @interface GlobalStatsAggregationModel
108
- */
109
- export interface GlobalStatsAggregationModel {
110
- /**
111
- *
112
- * @type {number}
113
- * @memberof GlobalStatsAggregationModel
114
- */
115
- 'count': number;
116
- /**
117
- *
118
- * @type {number}
119
- * @memberof GlobalStatsAggregationModel
120
- */
121
- 'deviceCount': number;
122
- /**
123
- *
124
- * @type {number}
125
- * @memberof GlobalStatsAggregationModel
126
- */
127
- 'releaseCount': number;
128
- /**
129
- *
130
- * @type {{ [key: string]: number; }}
131
- * @memberof GlobalStatsAggregationModel
132
- */
133
- 'days': {
134
- [key: string]: number;
135
- };
136
- }
137
- /**
138
- *
139
- * @export
140
- * @interface HTTPValidationError
141
- */
142
- export interface HTTPValidationError {
143
- /**
144
- *
145
- * @type {Array<ValidationError>}
146
- * @memberof HTTPValidationError
147
- */
148
- 'detail'?: Array<ValidationError>;
149
- }
150
- /**
151
- *
152
- * @export
153
- * @interface ListResponseReleaseResponse
154
- */
155
- export interface ListResponseReleaseResponse {
156
- /**
157
- *
158
- * @type {Array<ReleaseResponse>}
159
- * @memberof ListResponseReleaseResponse
160
- */
161
- 'data': Array<ReleaseResponse>;
162
- /**
163
- *
164
- * @type {number}
165
- * @memberof ListResponseReleaseResponse
166
- */
167
- 'count': number;
168
- }
169
- /**
170
- *
171
- * @export
172
- * @interface ListResponseShortDeviceResponse
173
- */
174
- export interface ListResponseShortDeviceResponse {
175
- /**
176
- *
177
- * @type {Array<ShortDeviceResponse>}
178
- * @memberof ListResponseShortDeviceResponse
179
- */
180
- 'data': Array<ShortDeviceResponse>;
181
- /**
182
- *
183
- * @type {number}
184
- * @memberof ListResponseShortDeviceResponse
185
- */
186
- 'count': number;
187
- }
188
- /**
189
- *
190
- * @export
191
- * @interface ListResponseShortReleaseResponse
192
- */
193
- export interface ListResponseShortReleaseResponse {
194
- /**
195
- *
196
- * @type {Array<ShortReleaseResponse>}
197
- * @memberof ListResponseShortReleaseResponse
198
- */
199
- 'data': Array<ShortReleaseResponse>;
200
- /**
201
- *
202
- * @type {number}
203
- * @memberof ListResponseShortReleaseResponse
204
- */
205
- 'count': number;
206
- }
207
- /**
208
- *
209
- * @export
210
- * @interface ListResponseStr
211
- */
212
- export interface ListResponseStr {
213
- /**
214
- *
215
- * @type {Array<string>}
216
- * @memberof ListResponseStr
217
- */
218
- 'data': Array<string>;
219
- /**
220
- *
221
- * @type {number}
222
- * @memberof ListResponseStr
223
- */
224
- 'count': number;
225
- }
226
- /**
227
- *
228
- * @export
229
- * @interface MaintainerShortModel
230
- */
231
- export interface MaintainerShortModel {
232
- /**
233
- *
234
- * @type {string}
235
- * @memberof MaintainerShortModel
236
- * @deprecated
237
- */
238
- '_id': string;
239
- /**
240
- *
241
- * @type {string}
242
- * @memberof MaintainerShortModel
243
- */
244
- 'id': string;
245
- /**
246
- *
247
- * @type {string}
248
- * @memberof MaintainerShortModel
249
- */
250
- 'name': string;
251
- /**
252
- *
253
- * @type {string}
254
- * @memberof MaintainerShortModel
255
- */
256
- 'username': string;
257
- }
258
- /**
259
- *
260
- * @export
261
- * @interface RecoveryImgResponse
262
- */
263
- export interface RecoveryImgResponse {
264
- /**
265
- *
266
- * @type {number}
267
- * @memberof RecoveryImgResponse
268
- */
269
- 'size': number;
270
- /**
271
- *
272
- * @type {string}
273
- * @memberof RecoveryImgResponse
274
- */
275
- 'md5': string;
276
- }
277
- /**
278
- *
279
- * @export
280
- * @interface ReleaseGroupsResponse
281
- */
282
- export interface ReleaseGroupsResponse {
283
- /**
284
- *
285
- * @type {{ [key: string]: Array<ReleaseResponse>; }}
286
- * @memberof ReleaseGroupsResponse
287
- */
288
- 'data': {
289
- [key: string]: Array<ReleaseResponse>;
290
- };
291
- }
292
- /**
293
- *
294
- * @export
295
- * @interface ReleaseResponse
296
- */
297
- export interface ReleaseResponse {
298
- /**
299
- *
300
- * @type {string}
301
- * @memberof ReleaseResponse
302
- * @deprecated
303
- */
304
- '_id': string;
305
- /**
306
- *
307
- * @type {number}
308
- * @memberof ReleaseResponse
309
- * @deprecated
310
- */
311
- 'size': number;
312
- /**
313
- * Release ID, that\'s how we indentify the release in the infrastructure
314
- * @type {string}
315
- * @memberof ReleaseResponse
316
- */
317
- 'id': string;
318
- /**
319
- *
320
- * @type {string}
321
- * @memberof ReleaseResponse
322
- */
323
- 'build_id'?: string | null;
324
- /**
325
- *
326
- * @type {string}
327
- * @memberof ReleaseResponse
328
- */
329
- 'filename': string;
330
- /**
331
- *
332
- * @type {string}
333
- * @memberof ReleaseResponse
334
- */
335
- 'variant': string;
336
- /**
337
- *
338
- * @type {string}
339
- * @memberof ReleaseResponse
340
- */
341
- 'device_id': string;
342
- /**
343
- *
344
- * @type {number}
345
- * @memberof ReleaseResponse
346
- */
347
- 'date': number;
348
- /**
349
- *
350
- * @type {string}
351
- * @memberof ReleaseResponse
352
- */
353
- 'md5': string;
354
- /**
355
- *
356
- * @type {string}
357
- * @memberof ReleaseResponse
358
- */
359
- 'version': string;
360
- /**
361
- *
362
- * @type {ReleaseType}
363
- * @memberof ReleaseResponse
364
- */
365
- 'type': ReleaseType;
366
- /**
367
- *
368
- * @type {string}
369
- * @memberof ReleaseResponse
370
- */
371
- 'maintainer_id'?: string | null;
372
- /**
373
- *
374
- * @type {boolean}
375
- * @memberof ReleaseResponse
376
- */
377
- 'archived': boolean;
378
- /**
379
- *
380
- * @type {RecoveryImgResponse}
381
- * @memberof ReleaseResponse
382
- */
383
- 'recovery_img': RecoveryImgResponse;
384
- /**
385
- *
386
- * @type {Array<string>}
387
- * @memberof ReleaseResponse
388
- */
389
- 'changelog': Array<string>;
390
- /**
391
- *
392
- * @type {Array<string>}
393
- * @memberof ReleaseResponse
394
- */
395
- 'bugs': Array<string> | null;
396
- /**
397
- *
398
- * @type {string}
399
- * @memberof ReleaseResponse
400
- */
401
- 'notes': string | null;
402
- /**
403
- * URL of the release on the official website
404
- * @type {string}
405
- * @memberof ReleaseResponse
406
- */
407
- 'url': string;
408
- /**
409
- * Mirrors list (deprecated)
410
- * @type {{ [key: string]: string; }}
411
- * @memberof ReleaseResponse
412
- */
413
- 'mirrors': {
414
- [key: string]: string;
415
- };
416
- }
417
- /**
418
- *
419
- * @export
420
- * @enum {string}
421
- */
422
- export declare const ReleaseType: {
423
- readonly Stable: "stable";
424
- readonly Beta: "beta";
425
- readonly Alpha: "alpha";
426
- };
427
- export type ReleaseType = typeof ReleaseType[keyof typeof ReleaseType];
428
- /**
429
- *
430
- * @export
431
- * @enum {string}
432
- */
433
- export declare const ReleasesSort: {
434
- readonly DateAsc: "date_asc";
435
- readonly DateDesc: "date_desc";
436
- };
437
- export type ReleasesSort = typeof ReleasesSort[keyof typeof ReleasesSort];
438
- /**
439
- *
440
- * @export
441
- * @interface ResponseGetReleases
442
- */
443
- export interface ResponseGetReleases {
444
- /**
445
- *
446
- * @type {{ [key: string]: Array<ReleaseResponse>; }}
447
- * @memberof ResponseGetReleases
448
- */
449
- 'data': {
450
- [key: string]: Array<ReleaseResponse>;
451
- };
452
- /**
453
- *
454
- * @type {number}
455
- * @memberof ResponseGetReleases
456
- */
457
- 'count': number;
458
- }
459
- /**
460
- *
461
- * @export
462
- * @interface ShortDeviceResponse
463
- */
464
- export interface ShortDeviceResponse {
465
- /**
466
- *
467
- * @type {string}
468
- * @memberof ShortDeviceResponse
469
- * @deprecated
470
- */
471
- '_id': string;
472
- /**
473
- * Device codename, legacy
474
- * @type {string}
475
- * @memberof ShortDeviceResponse
476
- * @deprecated
477
- */
478
- 'codename': string;
479
- /**
480
- * Model name of device, does not include the OEM part, legacy
481
- * @type {string}
482
- * @memberof ShortDeviceResponse
483
- * @deprecated
484
- */
485
- 'model_name': string;
486
- /**
487
- *
488
- * @type {string}
489
- * @memberof ShortDeviceResponse
490
- */
491
- 'oem_name': string;
492
- /**
493
- *
494
- * @type {string}
495
- * @memberof ShortDeviceResponse
496
- */
497
- 'id': string;
498
- /**
499
- *
500
- * @type {Array<string>}
501
- * @memberof ShortDeviceResponse
502
- */
503
- 'codenames': Array<string>;
504
- /**
505
- *
506
- * @type {Array<string>}
507
- * @memberof ShortDeviceResponse
508
- */
509
- 'model_names': Array<string>;
510
- /**
511
- *
512
- * @type {boolean}
513
- * @memberof ShortDeviceResponse
514
- */
515
- 'supported': boolean;
516
- /**
517
- * Full name of device / devices, legacy
518
- * @type {string}
519
- * @memberof ShortDeviceResponse
520
- */
521
- 'full_name': string;
522
- /**
523
- * URL of the device on the official website
524
- * @type {string}
525
- * @memberof ShortDeviceResponse
526
- */
527
- 'url': string;
528
- }
529
- /**
530
- *
531
- * @export
532
- * @interface ShortReleaseResponse
533
- */
534
- export interface ShortReleaseResponse {
535
- /**
536
- *
537
- * @type {string}
538
- * @memberof ShortReleaseResponse
539
- * @deprecated
540
- */
541
- '_id': string;
542
- /**
543
- *
544
- * @type {number}
545
- * @memberof ShortReleaseResponse
546
- * @deprecated
547
- */
548
- 'size': number;
549
- /**
550
- * Release ID, that\'s how we indentify the release in the infrastructure
551
- * @type {string}
552
- * @memberof ShortReleaseResponse
553
- */
554
- 'id': string;
555
- /**
556
- *
557
- * @type {string}
558
- * @memberof ShortReleaseResponse
559
- */
560
- 'build_id'?: string | null;
561
- /**
562
- *
563
- * @type {string}
564
- * @memberof ShortReleaseResponse
565
- */
566
- 'filename': string;
567
- /**
568
- *
569
- * @type {string}
570
- * @memberof ShortReleaseResponse
571
- */
572
- 'variant': string;
573
- /**
574
- *
575
- * @type {string}
576
- * @memberof ShortReleaseResponse
577
- */
578
- 'device_id': string;
579
- /**
580
- *
581
- * @type {number}
582
- * @memberof ShortReleaseResponse
583
- */
584
- 'date': number;
585
- /**
586
- *
587
- * @type {string}
588
- * @memberof ShortReleaseResponse
589
- */
590
- 'md5': string;
591
- /**
592
- *
593
- * @type {string}
594
- * @memberof ShortReleaseResponse
595
- */
596
- 'version': string;
597
- /**
598
- *
599
- * @type {ReleaseType}
600
- * @memberof ShortReleaseResponse
601
- */
602
- 'type': ReleaseType;
603
- /**
604
- *
605
- * @type {string}
606
- * @memberof ShortReleaseResponse
607
- */
608
- 'maintainer_id'?: string | null;
609
- /**
610
- *
611
- * @type {boolean}
612
- * @memberof ShortReleaseResponse
613
- */
614
- 'archived': boolean;
615
- }
616
- /**
617
- *
618
- * @export
619
- * @interface ValidationError
620
- */
621
- export interface ValidationError {
622
- /**
623
- *
624
- * @type {Array<ValidationErrorLocInner>}
625
- * @memberof ValidationError
626
- */
627
- 'loc': Array<ValidationErrorLocInner>;
628
- /**
629
- *
630
- * @type {string}
631
- * @memberof ValidationError
632
- */
633
- 'msg': string;
634
- /**
635
- *
636
- * @type {string}
637
- * @memberof ValidationError
638
- */
639
- 'type': string;
640
- }
641
- /**
642
- *
643
- * @export
644
- * @interface ValidationErrorLocInner
645
- */
646
- export interface ValidationErrorLocInner {
647
- }
648
- /**
649
- * DeviceApi - axios parameter creator
650
- * @export
651
- */
652
- export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
653
- /**
654
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
655
- * @summary Get Device
656
- * @param {string | null} [deviceId]
657
- * @param {string | null} [id] Filter by Device ID (deprecated)
658
- * @param {string | null} [codename] Not recommended to use when you can
659
- * @param {*} [options] Override http request option.
660
- * @throws {RequiredError}
661
- */
662
- getDevice: (deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
663
- /**
664
- * Gets device info using device ID.
665
- * @summary Get Device Short
666
- * @param {string} deviceId
667
- * @param {*} [options] Override http request option.
668
- * @deprecated
669
- * @throws {RequiredError}
670
- */
671
- getDeviceDeprecated: (deviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
672
- /**
673
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
674
- * @summary Get Devices
675
- * @param {Array<string>} [id] Filter by Device IDs
676
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
677
- * @param {Array<string>} [oemName] Filter by OEM names
678
- * @param {Array<string>} [codename] Filter by device codenames
679
- * @param {Array<string>} [modelName] Filter by model names
680
- * @param {boolean | null} [supported] Supported status
681
- * @param {Array<string>} [maintainer] Filter by maintainer ID
682
- * @param {boolean | null} [freezed] Filter by Freezed status
683
- * @param {boolean | null} [hasReleases] Filter by has releases status
684
- * @param {number | null} [skip] Skip query results
685
- * @param {number | null} [limit] Limit query results (0 means unlimited)
686
- * @param {*} [options] Override http request option.
687
- * @throws {RequiredError}
688
- */
689
- getDevices: (id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
690
- /**
691
- * Lists all OEM names
692
- * @summary Get Oems
693
- * @param {*} [options] Override http request option.
694
- * @throws {RequiredError}
695
- */
696
- getOems: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
697
- };
698
- /**
699
- * DeviceApi - functional programming interface
700
- * @export
701
- */
702
- export declare const DeviceApiFp: (configuration?: Configuration) => {
703
- /**
704
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
705
- * @summary Get Device
706
- * @param {string | null} [deviceId]
707
- * @param {string | null} [id] Filter by Device ID (deprecated)
708
- * @param {string | null} [codename] Not recommended to use when you can
709
- * @param {*} [options] Override http request option.
710
- * @throws {RequiredError}
711
- */
712
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
713
- /**
714
- * Gets device info using device ID.
715
- * @summary Get Device Short
716
- * @param {string} deviceId
717
- * @param {*} [options] Override http request option.
718
- * @deprecated
719
- * @throws {RequiredError}
720
- */
721
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
722
- /**
723
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
724
- * @summary Get Devices
725
- * @param {Array<string>} [id] Filter by Device IDs
726
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
727
- * @param {Array<string>} [oemName] Filter by OEM names
728
- * @param {Array<string>} [codename] Filter by device codenames
729
- * @param {Array<string>} [modelName] Filter by model names
730
- * @param {boolean | null} [supported] Supported status
731
- * @param {Array<string>} [maintainer] Filter by maintainer ID
732
- * @param {boolean | null} [freezed] Filter by Freezed status
733
- * @param {boolean | null} [hasReleases] Filter by has releases status
734
- * @param {number | null} [skip] Skip query results
735
- * @param {number | null} [limit] Limit query results (0 means unlimited)
736
- * @param {*} [options] Override http request option.
737
- * @throws {RequiredError}
738
- */
739
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortDeviceResponse>>;
740
- /**
741
- * Lists all OEM names
742
- * @summary Get Oems
743
- * @param {*} [options] Override http request option.
744
- * @throws {RequiredError}
745
- */
746
- getOems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseStr>>;
747
- };
748
- /**
749
- * DeviceApi - factory interface
750
- * @export
751
- */
752
- export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
753
- /**
754
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
755
- * @summary Get Device
756
- * @param {string | null} [deviceId]
757
- * @param {string | null} [id] Filter by Device ID (deprecated)
758
- * @param {string | null} [codename] Not recommended to use when you can
759
- * @param {*} [options] Override http request option.
760
- * @throws {RequiredError}
761
- */
762
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
763
- /**
764
- * Gets device info using device ID.
765
- * @summary Get Device Short
766
- * @param {string} deviceId
767
- * @param {*} [options] Override http request option.
768
- * @deprecated
769
- * @throws {RequiredError}
770
- */
771
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
772
- /**
773
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
774
- * @summary Get Devices
775
- * @param {Array<string>} [id] Filter by Device IDs
776
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
777
- * @param {Array<string>} [oemName] Filter by OEM names
778
- * @param {Array<string>} [codename] Filter by device codenames
779
- * @param {Array<string>} [modelName] Filter by model names
780
- * @param {boolean | null} [supported] Supported status
781
- * @param {Array<string>} [maintainer] Filter by maintainer ID
782
- * @param {boolean | null} [freezed] Filter by Freezed status
783
- * @param {boolean | null} [hasReleases] Filter by has releases status
784
- * @param {number | null} [skip] Skip query results
785
- * @param {number | null} [limit] Limit query results (0 means unlimited)
786
- * @param {*} [options] Override http request option.
787
- * @throws {RequiredError}
788
- */
789
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse>;
790
- /**
791
- * Lists all OEM names
792
- * @summary Get Oems
793
- * @param {*} [options] Override http request option.
794
- * @throws {RequiredError}
795
- */
796
- getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
797
- };
798
- /**
799
- * DeviceApi - interface
800
- * @export
801
- * @interface DeviceApi
802
- */
803
- export interface DeviceApiInterface {
804
- /**
805
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
806
- * @summary Get Device
807
- * @param {string | null} [deviceId]
808
- * @param {string | null} [id] Filter by Device ID (deprecated)
809
- * @param {string | null} [codename] Not recommended to use when you can
810
- * @param {*} [options] Override http request option.
811
- * @throws {RequiredError}
812
- * @memberof DeviceApiInterface
813
- */
814
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
815
- /**
816
- * Gets device info using device ID.
817
- * @summary Get Device Short
818
- * @param {string} deviceId
819
- * @param {*} [options] Override http request option.
820
- * @deprecated
821
- * @throws {RequiredError}
822
- * @memberof DeviceApiInterface
823
- */
824
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
825
- /**
826
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
827
- * @summary Get Devices
828
- * @param {Array<string>} [id] Filter by Device IDs
829
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
830
- * @param {Array<string>} [oemName] Filter by OEM names
831
- * @param {Array<string>} [codename] Filter by device codenames
832
- * @param {Array<string>} [modelName] Filter by model names
833
- * @param {boolean | null} [supported] Supported status
834
- * @param {Array<string>} [maintainer] Filter by maintainer ID
835
- * @param {boolean | null} [freezed] Filter by Freezed status
836
- * @param {boolean | null} [hasReleases] Filter by has releases status
837
- * @param {number | null} [skip] Skip query results
838
- * @param {number | null} [limit] Limit query results (0 means unlimited)
839
- * @param {*} [options] Override http request option.
840
- * @throws {RequiredError}
841
- * @memberof DeviceApiInterface
842
- */
843
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse>;
844
- /**
845
- * Lists all OEM names
846
- * @summary Get Oems
847
- * @param {*} [options] Override http request option.
848
- * @throws {RequiredError}
849
- * @memberof DeviceApiInterface
850
- */
851
- getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
852
- }
853
- /**
854
- * DeviceApi - object-oriented interface
855
- * @export
856
- * @class DeviceApi
857
- * @extends {BaseAPI}
858
- */
859
- export declare class DeviceApi extends BaseAPI implements DeviceApiInterface {
860
- /**
861
- * Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
862
- * @summary Get Device
863
- * @param {string | null} [deviceId]
864
- * @param {string | null} [id] Filter by Device ID (deprecated)
865
- * @param {string | null} [codename] Not recommended to use when you can
866
- * @param {*} [options] Override http request option.
867
- * @throws {RequiredError}
868
- * @memberof DeviceApi
869
- */
870
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
871
- /**
872
- * Gets device info using device ID.
873
- * @summary Get Device Short
874
- * @param {string} deviceId
875
- * @param {*} [options] Override http request option.
876
- * @deprecated
877
- * @throws {RequiredError}
878
- * @memberof DeviceApi
879
- */
880
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
881
- /**
882
- * Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it\'s possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it\'s very inconsistent around some OEMs that play with the names around. As of the current moment, the API won\'t support unified model names at all! In short, do not use model_name as device\'s identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn\'t support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
883
- * @summary Get Devices
884
- * @param {Array<string>} [id] Filter by Device IDs
885
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
886
- * @param {Array<string>} [oemName] Filter by OEM names
887
- * @param {Array<string>} [codename] Filter by device codenames
888
- * @param {Array<string>} [modelName] Filter by model names
889
- * @param {boolean | null} [supported] Supported status
890
- * @param {Array<string>} [maintainer] Filter by maintainer ID
891
- * @param {boolean | null} [freezed] Filter by Freezed status
892
- * @param {boolean | null} [hasReleases] Filter by has releases status
893
- * @param {number | null} [skip] Skip query results
894
- * @param {number | null} [limit] Limit query results (0 means unlimited)
895
- * @param {*} [options] Override http request option.
896
- * @throws {RequiredError}
897
- * @memberof DeviceApi
898
- */
899
- getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseShortDeviceResponse, any>>;
900
- /**
901
- * Lists all OEM names
902
- * @summary Get Oems
903
- * @param {*} [options] Override http request option.
904
- * @throws {RequiredError}
905
- * @memberof DeviceApi
906
- */
907
- getOems(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseStr, any>>;
908
- }
909
- /**
910
- * ReleaseApi - axios parameter creator
911
- * @export
912
- */
913
- export declare const ReleaseApiAxiosParamCreator: (configuration?: Configuration) => {
914
- /**
915
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
916
- * @summary Get Release
917
- * @param {string | null} [releaseId] Release ID
918
- * @param {string | null} [id] Release ID (deprecated)
919
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
920
- * @param {string | null} [filename]
921
- * @param {*} [options] Override http request option.
922
- * @throws {RequiredError}
923
- */
924
- getRelease: (releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
925
- /**
926
- * Gets release information using the release ID, nothing to discuss really.
927
- * @summary Get Release Short
928
- * @param {string} releaseId
929
- * @param {*} [options] Override http request option.
930
- * @deprecated
931
- * @throws {RequiredError}
932
- */
933
- getReleaseDeprecated: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
934
- /**
935
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
936
- * @summary Get Releases
937
- * @param {Array<string>} [id] Filter by Release IDs
938
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
939
- * @param {Array<string>} [buildId] Filter by Build IDs
940
- * @param {Array<string>} [deviceId] Filter by Device IDs
941
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
942
- * @param {Array<string>} [codename] Filter by device codenames
943
- * @param {Array<string>} [version] Filter by release version
944
- * @param {Array<ReleaseType>} [type] Filter by release type
945
- * @param {boolean | null} [archived] Filter by the archived status
946
- * @param {boolean | null} [freezed] Filter by the freezed status
947
- * @param {string | null} [afterReleaseId] Show releases after the provided one
948
- * @param {number | null} [afterDate] Show releases after the provided timestamp
949
- * @param {ReleasesSort} [sort] Sort mode
950
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
951
- * @param {number | null} [skip] Skip query results
952
- * @param {number | null} [limit] Limit query results (0 means unlimited)
953
- * @param {*} [options] Override http request option.
954
- * @throws {RequiredError}
955
- */
956
- getReleases: (id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
957
- /**
958
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
959
- * @summary Get Updates
960
- * @param {string} lastKnownId
961
- * @param {Array<string>} [deviceId] Filter by device ID
962
- * @param {Array<ReleaseType>} [type] Filter by release type
963
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
964
- * @param {number | null} [skip] Skip query results
965
- * @param {number | null} [limit] Limit query results (0 means unlimited)
966
- * @param {*} [options] Override http request option.
967
- * @deprecated
968
- * @throws {RequiredError}
969
- */
970
- getUpdatesDeprecated: (lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
971
- };
972
- /**
973
- * ReleaseApi - functional programming interface
974
- * @export
975
- */
976
- export declare const ReleaseApiFp: (configuration?: Configuration) => {
977
- /**
978
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
979
- * @summary Get Release
980
- * @param {string | null} [releaseId] Release ID
981
- * @param {string | null} [id] Release ID (deprecated)
982
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
983
- * @param {string | null} [filename]
984
- * @param {*} [options] Override http request option.
985
- * @throws {RequiredError}
986
- */
987
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
988
- /**
989
- * Gets release information using the release ID, nothing to discuss really.
990
- * @summary Get Release Short
991
- * @param {string} releaseId
992
- * @param {*} [options] Override http request option.
993
- * @deprecated
994
- * @throws {RequiredError}
995
- */
996
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
997
- /**
998
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
999
- * @summary Get Releases
1000
- * @param {Array<string>} [id] Filter by Release IDs
1001
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1002
- * @param {Array<string>} [buildId] Filter by Build IDs
1003
- * @param {Array<string>} [deviceId] Filter by Device IDs
1004
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1005
- * @param {Array<string>} [codename] Filter by device codenames
1006
- * @param {Array<string>} [version] Filter by release version
1007
- * @param {Array<ReleaseType>} [type] Filter by release type
1008
- * @param {boolean | null} [archived] Filter by the archived status
1009
- * @param {boolean | null} [freezed] Filter by the freezed status
1010
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1011
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1012
- * @param {ReleasesSort} [sort] Sort mode
1013
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1014
- * @param {number | null} [skip] Skip query results
1015
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1016
- * @param {*} [options] Override http request option.
1017
- * @throws {RequiredError}
1018
- */
1019
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetReleases>>;
1020
- /**
1021
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
1022
- * @summary Get Updates
1023
- * @param {string} lastKnownId
1024
- * @param {Array<string>} [deviceId] Filter by device ID
1025
- * @param {Array<ReleaseType>} [type] Filter by release type
1026
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1027
- * @param {number | null} [skip] Skip query results
1028
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1029
- * @param {*} [options] Override http request option.
1030
- * @deprecated
1031
- * @throws {RequiredError}
1032
- */
1033
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortReleaseResponse>>;
1034
- };
1035
- /**
1036
- * ReleaseApi - factory interface
1037
- * @export
1038
- */
1039
- export declare const ReleaseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1040
- /**
1041
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
1042
- * @summary Get Release
1043
- * @param {string | null} [releaseId] Release ID
1044
- * @param {string | null} [id] Release ID (deprecated)
1045
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1046
- * @param {string | null} [filename]
1047
- * @param {*} [options] Override http request option.
1048
- * @throws {RequiredError}
1049
- */
1050
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1051
- /**
1052
- * Gets release information using the release ID, nothing to discuss really.
1053
- * @summary Get Release Short
1054
- * @param {string} releaseId
1055
- * @param {*} [options] Override http request option.
1056
- * @deprecated
1057
- * @throws {RequiredError}
1058
- */
1059
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1060
- /**
1061
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
1062
- * @summary Get Releases
1063
- * @param {Array<string>} [id] Filter by Release IDs
1064
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1065
- * @param {Array<string>} [buildId] Filter by Build IDs
1066
- * @param {Array<string>} [deviceId] Filter by Device IDs
1067
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1068
- * @param {Array<string>} [codename] Filter by device codenames
1069
- * @param {Array<string>} [version] Filter by release version
1070
- * @param {Array<ReleaseType>} [type] Filter by release type
1071
- * @param {boolean | null} [archived] Filter by the archived status
1072
- * @param {boolean | null} [freezed] Filter by the freezed status
1073
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1074
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1075
- * @param {ReleasesSort} [sort] Sort mode
1076
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1077
- * @param {number | null} [skip] Skip query results
1078
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1079
- * @param {*} [options] Override http request option.
1080
- * @throws {RequiredError}
1081
- */
1082
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
1083
- /**
1084
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
1085
- * @summary Get Updates
1086
- * @param {string} lastKnownId
1087
- * @param {Array<string>} [deviceId] Filter by device ID
1088
- * @param {Array<ReleaseType>} [type] Filter by release type
1089
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1090
- * @param {number | null} [skip] Skip query results
1091
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1092
- * @param {*} [options] Override http request option.
1093
- * @deprecated
1094
- * @throws {RequiredError}
1095
- */
1096
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1097
- };
1098
- /**
1099
- * ReleaseApi - interface
1100
- * @export
1101
- * @interface ReleaseApi
1102
- */
1103
- export interface ReleaseApiInterface {
1104
- /**
1105
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
1106
- * @summary Get Release
1107
- * @param {string | null} [releaseId] Release ID
1108
- * @param {string | null} [id] Release ID (deprecated)
1109
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1110
- * @param {string | null} [filename]
1111
- * @param {*} [options] Override http request option.
1112
- * @throws {RequiredError}
1113
- * @memberof ReleaseApiInterface
1114
- */
1115
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1116
- /**
1117
- * Gets release information using the release ID, nothing to discuss really.
1118
- * @summary Get Release Short
1119
- * @param {string} releaseId
1120
- * @param {*} [options] Override http request option.
1121
- * @deprecated
1122
- * @throws {RequiredError}
1123
- * @memberof ReleaseApiInterface
1124
- */
1125
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1126
- /**
1127
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
1128
- * @summary Get Releases
1129
- * @param {Array<string>} [id] Filter by Release IDs
1130
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1131
- * @param {Array<string>} [buildId] Filter by Build IDs
1132
- * @param {Array<string>} [deviceId] Filter by Device IDs
1133
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1134
- * @param {Array<string>} [codename] Filter by device codenames
1135
- * @param {Array<string>} [version] Filter by release version
1136
- * @param {Array<ReleaseType>} [type] Filter by release type
1137
- * @param {boolean | null} [archived] Filter by the archived status
1138
- * @param {boolean | null} [freezed] Filter by the freezed status
1139
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1140
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1141
- * @param {ReleasesSort} [sort] Sort mode
1142
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1143
- * @param {number | null} [skip] Skip query results
1144
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1145
- * @param {*} [options] Override http request option.
1146
- * @throws {RequiredError}
1147
- * @memberof ReleaseApiInterface
1148
- */
1149
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
1150
- /**
1151
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
1152
- * @summary Get Updates
1153
- * @param {string} lastKnownId
1154
- * @param {Array<string>} [deviceId] Filter by device ID
1155
- * @param {Array<ReleaseType>} [type] Filter by release type
1156
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1157
- * @param {number | null} [skip] Skip query results
1158
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1159
- * @param {*} [options] Override http request option.
1160
- * @deprecated
1161
- * @throws {RequiredError}
1162
- * @memberof ReleaseApiInterface
1163
- */
1164
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1165
- }
1166
- /**
1167
- * ReleaseApi - object-oriented interface
1168
- * @export
1169
- * @class ReleaseApi
1170
- * @extends {BaseAPI}
1171
- */
1172
- export declare class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1173
- /**
1174
- * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
1175
- * @summary Get Release
1176
- * @param {string | null} [releaseId] Release ID
1177
- * @param {string | null} [id] Release ID (deprecated)
1178
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1179
- * @param {string | null} [filename]
1180
- * @param {*} [options] Override http request option.
1181
- * @throws {RequiredError}
1182
- * @memberof ReleaseApi
1183
- */
1184
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1185
- /**
1186
- * Gets release information using the release ID, nothing to discuss really.
1187
- * @summary Get Release Short
1188
- * @param {string} releaseId
1189
- * @param {*} [options] Override http request option.
1190
- * @deprecated
1191
- * @throws {RequiredError}
1192
- * @memberof ReleaseApi
1193
- */
1194
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1195
- /**
1196
- * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
1197
- * @summary Get Releases
1198
- * @param {Array<string>} [id] Filter by Release IDs
1199
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1200
- * @param {Array<string>} [buildId] Filter by Build IDs
1201
- * @param {Array<string>} [deviceId] Filter by Device IDs
1202
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1203
- * @param {Array<string>} [codename] Filter by device codenames
1204
- * @param {Array<string>} [version] Filter by release version
1205
- * @param {Array<ReleaseType>} [type] Filter by release type
1206
- * @param {boolean | null} [archived] Filter by the archived status
1207
- * @param {boolean | null} [freezed] Filter by the freezed status
1208
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1209
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1210
- * @param {ReleasesSort} [sort] Sort mode
1211
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1212
- * @param {number | null} [skip] Skip query results
1213
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1214
- * @param {*} [options] Override http request option.
1215
- * @throws {RequiredError}
1216
- * @memberof ReleaseApi
1217
- */
1218
- getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetReleases, any>>;
1219
- /**
1220
- * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
1221
- * @summary Get Updates
1222
- * @param {string} lastKnownId
1223
- * @param {Array<string>} [deviceId] Filter by device ID
1224
- * @param {Array<ReleaseType>} [type] Filter by release type
1225
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1226
- * @param {number | null} [skip] Skip query results
1227
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1228
- * @param {*} [options] Override http request option.
1229
- * @deprecated
1230
- * @throws {RequiredError}
1231
- * @memberof ReleaseApi
1232
- */
1233
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseShortReleaseResponse, any>>;
1234
- }
1235
- /**
1236
- * StatsApi - axios parameter creator
1237
- * @export
1238
- */
1239
- export declare const StatsApiAxiosParamCreator: (configuration?: Configuration) => {
1240
- /**
1241
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
1242
- * @summary Public Stats
1243
- * @param {*} [options] Override http request option.
1244
- * @throws {RequiredError}
1245
- */
1246
- getPublicStats: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1247
- };
1248
- /**
1249
- * StatsApi - functional programming interface
1250
- * @export
1251
- */
1252
- export declare const StatsApiFp: (configuration?: Configuration) => {
1253
- /**
1254
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
1255
- * @summary Public Stats
1256
- * @param {*} [options] Override http request option.
1257
- * @throws {RequiredError}
1258
- */
1259
- getPublicStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GlobalStatsAggregationModel>>;
1260
- };
1261
- /**
1262
- * StatsApi - factory interface
1263
- * @export
1264
- */
1265
- export declare const StatsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1266
- /**
1267
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
1268
- * @summary Public Stats
1269
- * @param {*} [options] Override http request option.
1270
- * @throws {RequiredError}
1271
- */
1272
- getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
1273
- };
1274
- /**
1275
- * StatsApi - interface
1276
- * @export
1277
- * @interface StatsApi
1278
- */
1279
- export interface StatsApiInterface {
1280
- /**
1281
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
1282
- * @summary Public Stats
1283
- * @param {*} [options] Override http request option.
1284
- * @throws {RequiredError}
1285
- * @memberof StatsApiInterface
1286
- */
1287
- getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
1288
- }
1289
- /**
1290
- * StatsApi - object-oriented interface
1291
- * @export
1292
- * @class StatsApi
1293
- * @extends {BaseAPI}
1294
- */
1295
- export declare class StatsApi extends BaseAPI implements StatsApiInterface {
1296
- /**
1297
- * Returns the global OrangeFox downloads statistics. This request causes an increased load to the database, as it needs to aggregate all the release stats data, therefore, it is limited to a small number of requests per minute for public usage.
1298
- * @summary Public Stats
1299
- * @param {*} [options] Override http request option.
1300
- * @throws {RequiredError}
1301
- * @memberof StatsApi
1302
- */
1303
- getPublicStats(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GlobalStatsAggregationModel, any>>;
1304
- }