@orangefox-recovery/foxclient 5.2.6 → 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 (189) hide show
  1. package/.openapi-generator/FILES +28 -30
  2. package/README.md +3 -65
  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 -2101
  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 -1483
  150. package/dist/api.js +0 -1172
  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 -1483
  158. package/dist/esm/api.js +0 -1153
  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/PasteApi.md +0 -117
  175. package/docs/PasteInput.md +0 -26
  176. package/docs/PasteOutput.md +0 -26
  177. package/docs/RecoveryImgResponse.md +0 -22
  178. package/docs/ReleaseApi.md +0 -289
  179. package/docs/ReleaseGroupsResponse.md +0 -20
  180. package/docs/ReleaseResponse.md +0 -56
  181. package/docs/ReleaseType.md +0 -12
  182. package/docs/ReleasesSort.md +0 -10
  183. package/docs/ResponseGetReleases.md +0 -22
  184. package/docs/ShortDeviceResponse.md +0 -38
  185. package/docs/ShortReleaseResponse.md +0 -44
  186. package/docs/StatsApi.md +0 -53
  187. package/docs/ValidationError.md +0 -24
  188. package/docs/ValidationErrorLocInner.md +0 -18
  189. package/git_push.sh +0 -57
package/dist/esm/api.d.ts DELETED
@@ -1,1483 +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.6
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 PasteInput
262
- */
263
- export interface PasteInput {
264
- /**
265
- *
266
- * @type {string}
267
- * @memberof PasteInput
268
- */
269
- '_id'?: string | null;
270
- /**
271
- *
272
- * @type {string}
273
- * @memberof PasteInput
274
- */
275
- 'content': string;
276
- /**
277
- *
278
- * @type {string}
279
- * @memberof PasteInput
280
- */
281
- 'ip_address': string;
282
- /**
283
- *
284
- * @type {string}
285
- * @memberof PasteInput
286
- */
287
- 'created_at'?: string;
288
- }
289
- /**
290
- *
291
- * @export
292
- * @interface PasteOutput
293
- */
294
- export interface PasteOutput {
295
- /**
296
- *
297
- * @type {string}
298
- * @memberof PasteOutput
299
- */
300
- '_id'?: string | null;
301
- /**
302
- *
303
- * @type {string}
304
- * @memberof PasteOutput
305
- */
306
- 'content': string;
307
- /**
308
- *
309
- * @type {string}
310
- * @memberof PasteOutput
311
- */
312
- 'ip_address': string;
313
- /**
314
- *
315
- * @type {string}
316
- * @memberof PasteOutput
317
- */
318
- 'created_at'?: string;
319
- }
320
- /**
321
- *
322
- * @export
323
- * @interface RecoveryImgResponse
324
- */
325
- export interface RecoveryImgResponse {
326
- /**
327
- *
328
- * @type {number}
329
- * @memberof RecoveryImgResponse
330
- */
331
- 'size': number;
332
- /**
333
- *
334
- * @type {string}
335
- * @memberof RecoveryImgResponse
336
- */
337
- 'md5': string;
338
- }
339
- /**
340
- *
341
- * @export
342
- * @interface ReleaseGroupsResponse
343
- */
344
- export interface ReleaseGroupsResponse {
345
- /**
346
- *
347
- * @type {{ [key: string]: Array<ReleaseResponse>; }}
348
- * @memberof ReleaseGroupsResponse
349
- */
350
- 'data': {
351
- [key: string]: Array<ReleaseResponse>;
352
- };
353
- }
354
- /**
355
- *
356
- * @export
357
- * @interface ReleaseResponse
358
- */
359
- export interface ReleaseResponse {
360
- /**
361
- *
362
- * @type {string}
363
- * @memberof ReleaseResponse
364
- * @deprecated
365
- */
366
- '_id': string;
367
- /**
368
- *
369
- * @type {number}
370
- * @memberof ReleaseResponse
371
- * @deprecated
372
- */
373
- 'size': number;
374
- /**
375
- * Release ID, that\'s how we indentify the release in the infrastructure
376
- * @type {string}
377
- * @memberof ReleaseResponse
378
- */
379
- 'id': string;
380
- /**
381
- *
382
- * @type {string}
383
- * @memberof ReleaseResponse
384
- */
385
- 'build_id'?: string | null;
386
- /**
387
- *
388
- * @type {string}
389
- * @memberof ReleaseResponse
390
- */
391
- 'filename': string;
392
- /**
393
- *
394
- * @type {string}
395
- * @memberof ReleaseResponse
396
- */
397
- 'variant': string;
398
- /**
399
- *
400
- * @type {string}
401
- * @memberof ReleaseResponse
402
- */
403
- 'device_id': string;
404
- /**
405
- *
406
- * @type {number}
407
- * @memberof ReleaseResponse
408
- */
409
- 'date': number;
410
- /**
411
- *
412
- * @type {string}
413
- * @memberof ReleaseResponse
414
- */
415
- 'md5': string;
416
- /**
417
- *
418
- * @type {string}
419
- * @memberof ReleaseResponse
420
- */
421
- 'version': string;
422
- /**
423
- *
424
- * @type {ReleaseType}
425
- * @memberof ReleaseResponse
426
- */
427
- 'type': ReleaseType;
428
- /**
429
- *
430
- * @type {string}
431
- * @memberof ReleaseResponse
432
- */
433
- 'maintainer_id'?: string | null;
434
- /**
435
- *
436
- * @type {boolean}
437
- * @memberof ReleaseResponse
438
- */
439
- 'archived': boolean;
440
- /**
441
- *
442
- * @type {RecoveryImgResponse}
443
- * @memberof ReleaseResponse
444
- */
445
- 'recovery_img': RecoveryImgResponse;
446
- /**
447
- *
448
- * @type {Array<string>}
449
- * @memberof ReleaseResponse
450
- */
451
- 'changelog': Array<string>;
452
- /**
453
- *
454
- * @type {Array<string>}
455
- * @memberof ReleaseResponse
456
- */
457
- 'bugs': Array<string> | null;
458
- /**
459
- *
460
- * @type {string}
461
- * @memberof ReleaseResponse
462
- */
463
- 'notes': string | null;
464
- /**
465
- * URL of the release on the official website
466
- * @type {string}
467
- * @memberof ReleaseResponse
468
- */
469
- 'url': string;
470
- /**
471
- * Mirrors list (deprecated)
472
- * @type {{ [key: string]: string; }}
473
- * @memberof ReleaseResponse
474
- */
475
- 'mirrors': {
476
- [key: string]: string;
477
- };
478
- }
479
- /**
480
- *
481
- * @export
482
- * @enum {string}
483
- */
484
- export declare const ReleaseType: {
485
- readonly Stable: "stable";
486
- readonly Beta: "beta";
487
- readonly Alpha: "alpha";
488
- };
489
- export type ReleaseType = typeof ReleaseType[keyof typeof ReleaseType];
490
- /**
491
- *
492
- * @export
493
- * @enum {string}
494
- */
495
- export declare const ReleasesSort: {
496
- readonly DateAsc: "date_asc";
497
- readonly DateDesc: "date_desc";
498
- };
499
- export type ReleasesSort = typeof ReleasesSort[keyof typeof ReleasesSort];
500
- /**
501
- *
502
- * @export
503
- * @interface ResponseGetReleases
504
- */
505
- export interface ResponseGetReleases {
506
- /**
507
- *
508
- * @type {{ [key: string]: Array<ReleaseResponse>; }}
509
- * @memberof ResponseGetReleases
510
- */
511
- 'data': {
512
- [key: string]: Array<ReleaseResponse>;
513
- };
514
- /**
515
- *
516
- * @type {number}
517
- * @memberof ResponseGetReleases
518
- */
519
- 'count': number;
520
- }
521
- /**
522
- *
523
- * @export
524
- * @interface ShortDeviceResponse
525
- */
526
- export interface ShortDeviceResponse {
527
- /**
528
- *
529
- * @type {string}
530
- * @memberof ShortDeviceResponse
531
- * @deprecated
532
- */
533
- '_id': string;
534
- /**
535
- * Device codename, legacy
536
- * @type {string}
537
- * @memberof ShortDeviceResponse
538
- * @deprecated
539
- */
540
- 'codename': string;
541
- /**
542
- * Model name of device, does not include the OEM part, legacy
543
- * @type {string}
544
- * @memberof ShortDeviceResponse
545
- * @deprecated
546
- */
547
- 'model_name': string;
548
- /**
549
- *
550
- * @type {string}
551
- * @memberof ShortDeviceResponse
552
- */
553
- 'oem_name': string;
554
- /**
555
- *
556
- * @type {string}
557
- * @memberof ShortDeviceResponse
558
- */
559
- 'id': string;
560
- /**
561
- *
562
- * @type {Array<string>}
563
- * @memberof ShortDeviceResponse
564
- */
565
- 'codenames': Array<string>;
566
- /**
567
- *
568
- * @type {Array<string>}
569
- * @memberof ShortDeviceResponse
570
- */
571
- 'model_names': Array<string>;
572
- /**
573
- *
574
- * @type {boolean}
575
- * @memberof ShortDeviceResponse
576
- */
577
- 'supported': boolean;
578
- /**
579
- * Full name of device / devices, legacy
580
- * @type {string}
581
- * @memberof ShortDeviceResponse
582
- */
583
- 'full_name': string;
584
- /**
585
- * URL of the device on the official website
586
- * @type {string}
587
- * @memberof ShortDeviceResponse
588
- */
589
- 'url': string;
590
- }
591
- /**
592
- *
593
- * @export
594
- * @interface ShortReleaseResponse
595
- */
596
- export interface ShortReleaseResponse {
597
- /**
598
- *
599
- * @type {string}
600
- * @memberof ShortReleaseResponse
601
- * @deprecated
602
- */
603
- '_id': string;
604
- /**
605
- *
606
- * @type {number}
607
- * @memberof ShortReleaseResponse
608
- * @deprecated
609
- */
610
- 'size': number;
611
- /**
612
- * Release ID, that\'s how we indentify the release in the infrastructure
613
- * @type {string}
614
- * @memberof ShortReleaseResponse
615
- */
616
- 'id': string;
617
- /**
618
- *
619
- * @type {string}
620
- * @memberof ShortReleaseResponse
621
- */
622
- 'build_id'?: string | null;
623
- /**
624
- *
625
- * @type {string}
626
- * @memberof ShortReleaseResponse
627
- */
628
- 'filename': string;
629
- /**
630
- *
631
- * @type {string}
632
- * @memberof ShortReleaseResponse
633
- */
634
- 'variant': string;
635
- /**
636
- *
637
- * @type {string}
638
- * @memberof ShortReleaseResponse
639
- */
640
- 'device_id': string;
641
- /**
642
- *
643
- * @type {number}
644
- * @memberof ShortReleaseResponse
645
- */
646
- 'date': number;
647
- /**
648
- *
649
- * @type {string}
650
- * @memberof ShortReleaseResponse
651
- */
652
- 'md5': string;
653
- /**
654
- *
655
- * @type {string}
656
- * @memberof ShortReleaseResponse
657
- */
658
- 'version': string;
659
- /**
660
- *
661
- * @type {ReleaseType}
662
- * @memberof ShortReleaseResponse
663
- */
664
- 'type': ReleaseType;
665
- /**
666
- *
667
- * @type {string}
668
- * @memberof ShortReleaseResponse
669
- */
670
- 'maintainer_id'?: string | null;
671
- /**
672
- *
673
- * @type {boolean}
674
- * @memberof ShortReleaseResponse
675
- */
676
- 'archived': boolean;
677
- }
678
- /**
679
- *
680
- * @export
681
- * @interface ValidationError
682
- */
683
- export interface ValidationError {
684
- /**
685
- *
686
- * @type {Array<ValidationErrorLocInner>}
687
- * @memberof ValidationError
688
- */
689
- 'loc': Array<ValidationErrorLocInner>;
690
- /**
691
- *
692
- * @type {string}
693
- * @memberof ValidationError
694
- */
695
- 'msg': string;
696
- /**
697
- *
698
- * @type {string}
699
- * @memberof ValidationError
700
- */
701
- 'type': string;
702
- }
703
- /**
704
- *
705
- * @export
706
- * @interface ValidationErrorLocInner
707
- */
708
- export interface ValidationErrorLocInner {
709
- }
710
- /**
711
- * DeviceApi - axios parameter creator
712
- * @export
713
- */
714
- export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
715
- /**
716
- * 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.
717
- * @summary Get Device
718
- * @param {string | null} [deviceId]
719
- * @param {string | null} [id] Filter by Device ID (deprecated)
720
- * @param {string | null} [codename] Not recommended to use when you can
721
- * @param {*} [options] Override http request option.
722
- * @throws {RequiredError}
723
- */
724
- getDevice: (deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
725
- /**
726
- * Gets device info using device ID.
727
- * @summary Get Device Short
728
- * @param {string} deviceId
729
- * @param {*} [options] Override http request option.
730
- * @deprecated
731
- * @throws {RequiredError}
732
- */
733
- getDeviceDeprecated: (deviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
734
- /**
735
- * 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.
736
- * @summary Get Devices
737
- * @param {Array<string>} [id] Filter by Device IDs
738
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
739
- * @param {Array<string>} [oemName] Filter by OEM names
740
- * @param {Array<string>} [codename] Filter by device codenames
741
- * @param {Array<string>} [modelName] Filter by model names
742
- * @param {boolean | null} [supported] Supported status
743
- * @param {Array<string>} [maintainer] Filter by maintainer ID
744
- * @param {boolean | null} [freezed] Filter by Freezed status
745
- * @param {boolean | null} [hasReleases] Filter by has releases status
746
- * @param {number | null} [skip] Skip query results
747
- * @param {number | null} [limit] Limit query results (0 means unlimited)
748
- * @param {*} [options] Override http request option.
749
- * @throws {RequiredError}
750
- */
751
- 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>;
752
- /**
753
- * Lists all OEM names
754
- * @summary Get Oems
755
- * @param {*} [options] Override http request option.
756
- * @throws {RequiredError}
757
- */
758
- getOems: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
759
- };
760
- /**
761
- * DeviceApi - functional programming interface
762
- * @export
763
- */
764
- export declare const DeviceApiFp: (configuration?: Configuration) => {
765
- /**
766
- * 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.
767
- * @summary Get Device
768
- * @param {string | null} [deviceId]
769
- * @param {string | null} [id] Filter by Device ID (deprecated)
770
- * @param {string | null} [codename] Not recommended to use when you can
771
- * @param {*} [options] Override http request option.
772
- * @throws {RequiredError}
773
- */
774
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
775
- /**
776
- * Gets device info using device ID.
777
- * @summary Get Device Short
778
- * @param {string} deviceId
779
- * @param {*} [options] Override http request option.
780
- * @deprecated
781
- * @throws {RequiredError}
782
- */
783
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
784
- /**
785
- * 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.
786
- * @summary Get Devices
787
- * @param {Array<string>} [id] Filter by Device IDs
788
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
789
- * @param {Array<string>} [oemName] Filter by OEM names
790
- * @param {Array<string>} [codename] Filter by device codenames
791
- * @param {Array<string>} [modelName] Filter by model names
792
- * @param {boolean | null} [supported] Supported status
793
- * @param {Array<string>} [maintainer] Filter by maintainer ID
794
- * @param {boolean | null} [freezed] Filter by Freezed status
795
- * @param {boolean | null} [hasReleases] Filter by has releases status
796
- * @param {number | null} [skip] Skip query results
797
- * @param {number | null} [limit] Limit query results (0 means unlimited)
798
- * @param {*} [options] Override http request option.
799
- * @throws {RequiredError}
800
- */
801
- 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>>;
802
- /**
803
- * Lists all OEM names
804
- * @summary Get Oems
805
- * @param {*} [options] Override http request option.
806
- * @throws {RequiredError}
807
- */
808
- getOems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseStr>>;
809
- };
810
- /**
811
- * DeviceApi - factory interface
812
- * @export
813
- */
814
- export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
815
- /**
816
- * 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.
817
- * @summary Get Device
818
- * @param {string | null} [deviceId]
819
- * @param {string | null} [id] Filter by Device ID (deprecated)
820
- * @param {string | null} [codename] Not recommended to use when you can
821
- * @param {*} [options] Override http request option.
822
- * @throws {RequiredError}
823
- */
824
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
825
- /**
826
- * Gets device info using device ID.
827
- * @summary Get Device Short
828
- * @param {string} deviceId
829
- * @param {*} [options] Override http request option.
830
- * @deprecated
831
- * @throws {RequiredError}
832
- */
833
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
834
- /**
835
- * 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.
836
- * @summary Get Devices
837
- * @param {Array<string>} [id] Filter by Device IDs
838
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
839
- * @param {Array<string>} [oemName] Filter by OEM names
840
- * @param {Array<string>} [codename] Filter by device codenames
841
- * @param {Array<string>} [modelName] Filter by model names
842
- * @param {boolean | null} [supported] Supported status
843
- * @param {Array<string>} [maintainer] Filter by maintainer ID
844
- * @param {boolean | null} [freezed] Filter by Freezed status
845
- * @param {boolean | null} [hasReleases] Filter by has releases status
846
- * @param {number | null} [skip] Skip query results
847
- * @param {number | null} [limit] Limit query results (0 means unlimited)
848
- * @param {*} [options] Override http request option.
849
- * @throws {RequiredError}
850
- */
851
- 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>;
852
- /**
853
- * Lists all OEM names
854
- * @summary Get Oems
855
- * @param {*} [options] Override http request option.
856
- * @throws {RequiredError}
857
- */
858
- getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
859
- };
860
- /**
861
- * DeviceApi - interface
862
- * @export
863
- * @interface DeviceApi
864
- */
865
- export interface DeviceApiInterface {
866
- /**
867
- * 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.
868
- * @summary Get Device
869
- * @param {string | null} [deviceId]
870
- * @param {string | null} [id] Filter by Device ID (deprecated)
871
- * @param {string | null} [codename] Not recommended to use when you can
872
- * @param {*} [options] Override http request option.
873
- * @throws {RequiredError}
874
- * @memberof DeviceApiInterface
875
- */
876
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
877
- /**
878
- * Gets device info using device ID.
879
- * @summary Get Device Short
880
- * @param {string} deviceId
881
- * @param {*} [options] Override http request option.
882
- * @deprecated
883
- * @throws {RequiredError}
884
- * @memberof DeviceApiInterface
885
- */
886
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
887
- /**
888
- * 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.
889
- * @summary Get Devices
890
- * @param {Array<string>} [id] Filter by Device IDs
891
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
892
- * @param {Array<string>} [oemName] Filter by OEM names
893
- * @param {Array<string>} [codename] Filter by device codenames
894
- * @param {Array<string>} [modelName] Filter by model names
895
- * @param {boolean | null} [supported] Supported status
896
- * @param {Array<string>} [maintainer] Filter by maintainer ID
897
- * @param {boolean | null} [freezed] Filter by Freezed status
898
- * @param {boolean | null} [hasReleases] Filter by has releases status
899
- * @param {number | null} [skip] Skip query results
900
- * @param {number | null} [limit] Limit query results (0 means unlimited)
901
- * @param {*} [options] Override http request option.
902
- * @throws {RequiredError}
903
- * @memberof DeviceApiInterface
904
- */
905
- 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>;
906
- /**
907
- * Lists all OEM names
908
- * @summary Get Oems
909
- * @param {*} [options] Override http request option.
910
- * @throws {RequiredError}
911
- * @memberof DeviceApiInterface
912
- */
913
- getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
914
- }
915
- /**
916
- * DeviceApi - object-oriented interface
917
- * @export
918
- * @class DeviceApi
919
- * @extends {BaseAPI}
920
- */
921
- export declare class DeviceApi extends BaseAPI implements DeviceApiInterface {
922
- /**
923
- * 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.
924
- * @summary Get Device
925
- * @param {string | null} [deviceId]
926
- * @param {string | null} [id] Filter by Device ID (deprecated)
927
- * @param {string | null} [codename] Not recommended to use when you can
928
- * @param {*} [options] Override http request option.
929
- * @throws {RequiredError}
930
- * @memberof DeviceApi
931
- */
932
- getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
933
- /**
934
- * Gets device info using device ID.
935
- * @summary Get Device Short
936
- * @param {string} deviceId
937
- * @param {*} [options] Override http request option.
938
- * @deprecated
939
- * @throws {RequiredError}
940
- * @memberof DeviceApi
941
- */
942
- getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
943
- /**
944
- * 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.
945
- * @summary Get Devices
946
- * @param {Array<string>} [id] Filter by Device IDs
947
- * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
948
- * @param {Array<string>} [oemName] Filter by OEM names
949
- * @param {Array<string>} [codename] Filter by device codenames
950
- * @param {Array<string>} [modelName] Filter by model names
951
- * @param {boolean | null} [supported] Supported status
952
- * @param {Array<string>} [maintainer] Filter by maintainer ID
953
- * @param {boolean | null} [freezed] Filter by Freezed status
954
- * @param {boolean | null} [hasReleases] Filter by has releases status
955
- * @param {number | null} [skip] Skip query results
956
- * @param {number | null} [limit] Limit query results (0 means unlimited)
957
- * @param {*} [options] Override http request option.
958
- * @throws {RequiredError}
959
- * @memberof DeviceApi
960
- */
961
- 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>>;
962
- /**
963
- * Lists all OEM names
964
- * @summary Get Oems
965
- * @param {*} [options] Override http request option.
966
- * @throws {RequiredError}
967
- * @memberof DeviceApi
968
- */
969
- getOems(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseStr, any>>;
970
- }
971
- /**
972
- * PasteApi - axios parameter creator
973
- * @export
974
- */
975
- export declare const PasteApiAxiosParamCreator: (configuration?: Configuration) => {
976
- /**
977
- * Create a new paste.
978
- * @summary Create Paste
979
- * @param {PasteInput} pasteInput
980
- * @param {*} [options] Override http request option.
981
- * @throws {RequiredError}
982
- */
983
- createPastePastePost: (pasteInput: PasteInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
984
- /**
985
- * Get a paste by ID.
986
- * @summary Get Paste
987
- * @param {string} pasteId
988
- * @param {*} [options] Override http request option.
989
- * @throws {RequiredError}
990
- */
991
- getPastePastePasteIdGet: (pasteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
992
- };
993
- /**
994
- * PasteApi - functional programming interface
995
- * @export
996
- */
997
- export declare const PasteApiFp: (configuration?: Configuration) => {
998
- /**
999
- * Create a new paste.
1000
- * @summary Create Paste
1001
- * @param {PasteInput} pasteInput
1002
- * @param {*} [options] Override http request option.
1003
- * @throws {RequiredError}
1004
- */
1005
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
1006
- /**
1007
- * Get a paste by ID.
1008
- * @summary Get Paste
1009
- * @param {string} pasteId
1010
- * @param {*} [options] Override http request option.
1011
- * @throws {RequiredError}
1012
- */
1013
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasteOutput>>;
1014
- };
1015
- /**
1016
- * PasteApi - factory interface
1017
- * @export
1018
- */
1019
- export declare const PasteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1020
- /**
1021
- * Create a new paste.
1022
- * @summary Create Paste
1023
- * @param {PasteInput} pasteInput
1024
- * @param {*} [options] Override http request option.
1025
- * @throws {RequiredError}
1026
- */
1027
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
1028
- /**
1029
- * Get a paste by ID.
1030
- * @summary Get Paste
1031
- * @param {string} pasteId
1032
- * @param {*} [options] Override http request option.
1033
- * @throws {RequiredError}
1034
- */
1035
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
1036
- };
1037
- /**
1038
- * PasteApi - interface
1039
- * @export
1040
- * @interface PasteApi
1041
- */
1042
- export interface PasteApiInterface {
1043
- /**
1044
- * Create a new paste.
1045
- * @summary Create Paste
1046
- * @param {PasteInput} pasteInput
1047
- * @param {*} [options] Override http request option.
1048
- * @throws {RequiredError}
1049
- * @memberof PasteApiInterface
1050
- */
1051
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
1052
- /**
1053
- * Get a paste by ID.
1054
- * @summary Get Paste
1055
- * @param {string} pasteId
1056
- * @param {*} [options] Override http request option.
1057
- * @throws {RequiredError}
1058
- * @memberof PasteApiInterface
1059
- */
1060
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): AxiosPromise<PasteOutput>;
1061
- }
1062
- /**
1063
- * PasteApi - object-oriented interface
1064
- * @export
1065
- * @class PasteApi
1066
- * @extends {BaseAPI}
1067
- */
1068
- export declare class PasteApi extends BaseAPI implements PasteApiInterface {
1069
- /**
1070
- * Create a new paste.
1071
- * @summary Create Paste
1072
- * @param {PasteInput} pasteInput
1073
- * @param {*} [options] Override http request option.
1074
- * @throws {RequiredError}
1075
- * @memberof PasteApi
1076
- */
1077
- createPastePastePost(pasteInput: PasteInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
1078
- /**
1079
- * Get a paste by ID.
1080
- * @summary Get Paste
1081
- * @param {string} pasteId
1082
- * @param {*} [options] Override http request option.
1083
- * @throws {RequiredError}
1084
- * @memberof PasteApi
1085
- */
1086
- getPastePastePasteIdGet(pasteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasteOutput, any>>;
1087
- }
1088
- /**
1089
- * ReleaseApi - axios parameter creator
1090
- * @export
1091
- */
1092
- export declare const ReleaseApiAxiosParamCreator: (configuration?: Configuration) => {
1093
- /**
1094
- * 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!
1095
- * @summary Get Release
1096
- * @param {string | null} [releaseId] Release ID
1097
- * @param {string | null} [id] Release ID (deprecated)
1098
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1099
- * @param {string | null} [filename]
1100
- * @param {*} [options] Override http request option.
1101
- * @throws {RequiredError}
1102
- */
1103
- getRelease: (releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1104
- /**
1105
- * Gets release information using the release ID, nothing to discuss really.
1106
- * @summary Get Release Short
1107
- * @param {string} releaseId
1108
- * @param {*} [options] Override http request option.
1109
- * @deprecated
1110
- * @throws {RequiredError}
1111
- */
1112
- getReleaseDeprecated: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1113
- /**
1114
- * 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.
1115
- * @summary Get Releases
1116
- * @param {Array<string>} [id] Filter by Release IDs
1117
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1118
- * @param {Array<string>} [buildId] Filter by Build IDs
1119
- * @param {Array<string>} [deviceId] Filter by Device IDs
1120
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1121
- * @param {Array<string>} [codename] Filter by device codenames
1122
- * @param {Array<string>} [version] Filter by release version
1123
- * @param {Array<ReleaseType>} [type] Filter by release type
1124
- * @param {boolean | null} [archived] Filter by the archived status
1125
- * @param {boolean | null} [freezed] Filter by the freezed status
1126
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1127
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1128
- * @param {ReleasesSort} [sort] Sort mode
1129
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1130
- * @param {number | null} [skip] Skip query results
1131
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1132
- * @param {*} [options] Override http request option.
1133
- * @throws {RequiredError}
1134
- */
1135
- 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>;
1136
- /**
1137
- * 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!
1138
- * @summary Get Updates
1139
- * @param {string} lastKnownId
1140
- * @param {Array<string>} [deviceId] Filter by device ID
1141
- * @param {Array<ReleaseType>} [type] Filter by release type
1142
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
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
- * @deprecated
1147
- * @throws {RequiredError}
1148
- */
1149
- getUpdatesDeprecated: (lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1150
- };
1151
- /**
1152
- * ReleaseApi - functional programming interface
1153
- * @export
1154
- */
1155
- export declare const ReleaseApiFp: (configuration?: Configuration) => {
1156
- /**
1157
- * 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!
1158
- * @summary Get Release
1159
- * @param {string | null} [releaseId] Release ID
1160
- * @param {string | null} [id] Release ID (deprecated)
1161
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1162
- * @param {string | null} [filename]
1163
- * @param {*} [options] Override http request option.
1164
- * @throws {RequiredError}
1165
- */
1166
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
1167
- /**
1168
- * Gets release information using the release ID, nothing to discuss really.
1169
- * @summary Get Release Short
1170
- * @param {string} releaseId
1171
- * @param {*} [options] Override http request option.
1172
- * @deprecated
1173
- * @throws {RequiredError}
1174
- */
1175
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
1176
- /**
1177
- * 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.
1178
- * @summary Get Releases
1179
- * @param {Array<string>} [id] Filter by Release IDs
1180
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1181
- * @param {Array<string>} [buildId] Filter by Build IDs
1182
- * @param {Array<string>} [deviceId] Filter by Device IDs
1183
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1184
- * @param {Array<string>} [codename] Filter by device codenames
1185
- * @param {Array<string>} [version] Filter by release version
1186
- * @param {Array<ReleaseType>} [type] Filter by release type
1187
- * @param {boolean | null} [archived] Filter by the archived status
1188
- * @param {boolean | null} [freezed] Filter by the freezed status
1189
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1190
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1191
- * @param {ReleasesSort} [sort] Sort mode
1192
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1193
- * @param {number | null} [skip] Skip query results
1194
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1195
- * @param {*} [options] Override http request option.
1196
- * @throws {RequiredError}
1197
- */
1198
- 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>>;
1199
- /**
1200
- * 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!
1201
- * @summary Get Updates
1202
- * @param {string} lastKnownId
1203
- * @param {Array<string>} [deviceId] Filter by device ID
1204
- * @param {Array<ReleaseType>} [type] Filter by release type
1205
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1206
- * @param {number | null} [skip] Skip query results
1207
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1208
- * @param {*} [options] Override http request option.
1209
- * @deprecated
1210
- * @throws {RequiredError}
1211
- */
1212
- 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>>;
1213
- };
1214
- /**
1215
- * ReleaseApi - factory interface
1216
- * @export
1217
- */
1218
- export declare const ReleaseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1219
- /**
1220
- * 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!
1221
- * @summary Get Release
1222
- * @param {string | null} [releaseId] Release ID
1223
- * @param {string | null} [id] Release ID (deprecated)
1224
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1225
- * @param {string | null} [filename]
1226
- * @param {*} [options] Override http request option.
1227
- * @throws {RequiredError}
1228
- */
1229
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1230
- /**
1231
- * Gets release information using the release ID, nothing to discuss really.
1232
- * @summary Get Release Short
1233
- * @param {string} releaseId
1234
- * @param {*} [options] Override http request option.
1235
- * @deprecated
1236
- * @throws {RequiredError}
1237
- */
1238
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1239
- /**
1240
- * 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.
1241
- * @summary Get Releases
1242
- * @param {Array<string>} [id] Filter by Release IDs
1243
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1244
- * @param {Array<string>} [buildId] Filter by Build IDs
1245
- * @param {Array<string>} [deviceId] Filter by Device IDs
1246
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1247
- * @param {Array<string>} [codename] Filter by device codenames
1248
- * @param {Array<string>} [version] Filter by release version
1249
- * @param {Array<ReleaseType>} [type] Filter by release type
1250
- * @param {boolean | null} [archived] Filter by the archived status
1251
- * @param {boolean | null} [freezed] Filter by the freezed status
1252
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1253
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1254
- * @param {ReleasesSort} [sort] Sort mode
1255
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1256
- * @param {number | null} [skip] Skip query results
1257
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1258
- * @param {*} [options] Override http request option.
1259
- * @throws {RequiredError}
1260
- */
1261
- 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>;
1262
- /**
1263
- * 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!
1264
- * @summary Get Updates
1265
- * @param {string} lastKnownId
1266
- * @param {Array<string>} [deviceId] Filter by device ID
1267
- * @param {Array<ReleaseType>} [type] Filter by release type
1268
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1269
- * @param {number | null} [skip] Skip query results
1270
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1271
- * @param {*} [options] Override http request option.
1272
- * @deprecated
1273
- * @throws {RequiredError}
1274
- */
1275
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1276
- };
1277
- /**
1278
- * ReleaseApi - interface
1279
- * @export
1280
- * @interface ReleaseApi
1281
- */
1282
- export interface ReleaseApiInterface {
1283
- /**
1284
- * 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!
1285
- * @summary Get Release
1286
- * @param {string | null} [releaseId] Release ID
1287
- * @param {string | null} [id] Release ID (deprecated)
1288
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1289
- * @param {string | null} [filename]
1290
- * @param {*} [options] Override http request option.
1291
- * @throws {RequiredError}
1292
- * @memberof ReleaseApiInterface
1293
- */
1294
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1295
- /**
1296
- * Gets release information using the release ID, nothing to discuss really.
1297
- * @summary Get Release Short
1298
- * @param {string} releaseId
1299
- * @param {*} [options] Override http request option.
1300
- * @deprecated
1301
- * @throws {RequiredError}
1302
- * @memberof ReleaseApiInterface
1303
- */
1304
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1305
- /**
1306
- * 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.
1307
- * @summary Get Releases
1308
- * @param {Array<string>} [id] Filter by Release IDs
1309
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1310
- * @param {Array<string>} [buildId] Filter by Build IDs
1311
- * @param {Array<string>} [deviceId] Filter by Device IDs
1312
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1313
- * @param {Array<string>} [codename] Filter by device codenames
1314
- * @param {Array<string>} [version] Filter by release version
1315
- * @param {Array<ReleaseType>} [type] Filter by release type
1316
- * @param {boolean | null} [archived] Filter by the archived status
1317
- * @param {boolean | null} [freezed] Filter by the freezed status
1318
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1319
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1320
- * @param {ReleasesSort} [sort] Sort mode
1321
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1322
- * @param {number | null} [skip] Skip query results
1323
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1324
- * @param {*} [options] Override http request option.
1325
- * @throws {RequiredError}
1326
- * @memberof ReleaseApiInterface
1327
- */
1328
- 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>;
1329
- /**
1330
- * 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!
1331
- * @summary Get Updates
1332
- * @param {string} lastKnownId
1333
- * @param {Array<string>} [deviceId] Filter by device ID
1334
- * @param {Array<ReleaseType>} [type] Filter by release type
1335
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1336
- * @param {number | null} [skip] Skip query results
1337
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1338
- * @param {*} [options] Override http request option.
1339
- * @deprecated
1340
- * @throws {RequiredError}
1341
- * @memberof ReleaseApiInterface
1342
- */
1343
- getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1344
- }
1345
- /**
1346
- * ReleaseApi - object-oriented interface
1347
- * @export
1348
- * @class ReleaseApi
1349
- * @extends {BaseAPI}
1350
- */
1351
- export declare class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1352
- /**
1353
- * 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!
1354
- * @summary Get Release
1355
- * @param {string | null} [releaseId] Release ID
1356
- * @param {string | null} [id] Release ID (deprecated)
1357
- * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1358
- * @param {string | null} [filename]
1359
- * @param {*} [options] Override http request option.
1360
- * @throws {RequiredError}
1361
- * @memberof ReleaseApi
1362
- */
1363
- getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1364
- /**
1365
- * Gets release information using the release ID, nothing to discuss really.
1366
- * @summary Get Release Short
1367
- * @param {string} releaseId
1368
- * @param {*} [options] Override http request option.
1369
- * @deprecated
1370
- * @throws {RequiredError}
1371
- * @memberof ReleaseApi
1372
- */
1373
- getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1374
- /**
1375
- * 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.
1376
- * @summary Get Releases
1377
- * @param {Array<string>} [id] Filter by Release IDs
1378
- * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1379
- * @param {Array<string>} [buildId] Filter by Build IDs
1380
- * @param {Array<string>} [deviceId] Filter by Device IDs
1381
- * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1382
- * @param {Array<string>} [codename] Filter by device codenames
1383
- * @param {Array<string>} [version] Filter by release version
1384
- * @param {Array<ReleaseType>} [type] Filter by release type
1385
- * @param {boolean | null} [archived] Filter by the archived status
1386
- * @param {boolean | null} [freezed] Filter by the freezed status
1387
- * @param {string | null} [afterReleaseId] Show releases after the provided one
1388
- * @param {number | null} [afterDate] Show releases after the provided timestamp
1389
- * @param {ReleasesSort} [sort] Sort mode
1390
- * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
1391
- * @param {number | null} [skip] Skip query results
1392
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1393
- * @param {*} [options] Override http request option.
1394
- * @throws {RequiredError}
1395
- * @memberof ReleaseApi
1396
- */
1397
- 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>>;
1398
- /**
1399
- * 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!
1400
- * @summary Get Updates
1401
- * @param {string} lastKnownId
1402
- * @param {Array<string>} [deviceId] Filter by device ID
1403
- * @param {Array<ReleaseType>} [type] Filter by release type
1404
- * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1405
- * @param {number | null} [skip] Skip query results
1406
- * @param {number | null} [limit] Limit query results (0 means unlimited)
1407
- * @param {*} [options] Override http request option.
1408
- * @deprecated
1409
- * @throws {RequiredError}
1410
- * @memberof ReleaseApi
1411
- */
1412
- 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>>;
1413
- }
1414
- /**
1415
- * StatsApi - axios parameter creator
1416
- * @export
1417
- */
1418
- export declare const StatsApiAxiosParamCreator: (configuration?: Configuration) => {
1419
- /**
1420
- * 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.
1421
- * @summary Public Stats
1422
- * @param {*} [options] Override http request option.
1423
- * @throws {RequiredError}
1424
- */
1425
- getPublicStats: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1426
- };
1427
- /**
1428
- * StatsApi - functional programming interface
1429
- * @export
1430
- */
1431
- export declare const StatsApiFp: (configuration?: Configuration) => {
1432
- /**
1433
- * 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.
1434
- * @summary Public Stats
1435
- * @param {*} [options] Override http request option.
1436
- * @throws {RequiredError}
1437
- */
1438
- getPublicStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GlobalStatsAggregationModel>>;
1439
- };
1440
- /**
1441
- * StatsApi - factory interface
1442
- * @export
1443
- */
1444
- export declare const StatsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1445
- /**
1446
- * 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.
1447
- * @summary Public Stats
1448
- * @param {*} [options] Override http request option.
1449
- * @throws {RequiredError}
1450
- */
1451
- getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
1452
- };
1453
- /**
1454
- * StatsApi - interface
1455
- * @export
1456
- * @interface StatsApi
1457
- */
1458
- export interface StatsApiInterface {
1459
- /**
1460
- * 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.
1461
- * @summary Public Stats
1462
- * @param {*} [options] Override http request option.
1463
- * @throws {RequiredError}
1464
- * @memberof StatsApiInterface
1465
- */
1466
- getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
1467
- }
1468
- /**
1469
- * StatsApi - object-oriented interface
1470
- * @export
1471
- * @class StatsApi
1472
- * @extends {BaseAPI}
1473
- */
1474
- export declare class StatsApi extends BaseAPI implements StatsApiInterface {
1475
- /**
1476
- * 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.
1477
- * @summary Public Stats
1478
- * @param {*} [options] Override http request option.
1479
- * @throws {RequiredError}
1480
- * @memberof StatsApi
1481
- */
1482
- getPublicStats(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GlobalStatsAggregationModel, any>>;
1483
- }