@orangefox-recovery/foxinternalclient 5.2.1

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 (83) hide show
  1. package/.openapi-generator/FILES +63 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +155 -0
  5. package/api.ts +5275 -0
  6. package/base.ts +86 -0
  7. package/common.ts +150 -0
  8. package/configuration.ts +115 -0
  9. package/dist/api.d.ts +3508 -0
  10. package/dist/api.js +3078 -0
  11. package/dist/base.d.ts +66 -0
  12. package/dist/base.js +65 -0
  13. package/dist/common.d.ts +65 -0
  14. package/dist/common.js +161 -0
  15. package/dist/configuration.d.ts +91 -0
  16. package/dist/configuration.js +44 -0
  17. package/dist/esm/api.d.ts +3508 -0
  18. package/dist/esm/api.js +3051 -0
  19. package/dist/esm/base.d.ts +66 -0
  20. package/dist/esm/base.js +60 -0
  21. package/dist/esm/common.d.ts +65 -0
  22. package/dist/esm/common.js +149 -0
  23. package/dist/esm/configuration.d.ts +91 -0
  24. package/dist/esm/configuration.js +40 -0
  25. package/dist/esm/index.d.ts +13 -0
  26. package/dist/esm/index.js +15 -0
  27. package/dist/index.d.ts +13 -0
  28. package/dist/index.js +31 -0
  29. package/docs/BodyChangePasswordProfileChangePasswordPost.md +22 -0
  30. package/docs/BuildStatusEnum.md +18 -0
  31. package/docs/BuildTaskResponse.md +36 -0
  32. package/docs/BuildTaskShortResponse.md +32 -0
  33. package/docs/DeviceApi.md +253 -0
  34. package/docs/DeviceInternalResponse.md +48 -0
  35. package/docs/DeviceResponse.md +44 -0
  36. package/docs/DeviceStatsResponse.md +24 -0
  37. package/docs/DeviceUpdateBody.md +30 -0
  38. package/docs/FFStatusEnum.md +12 -0
  39. package/docs/FFStatusResponse.md +20 -0
  40. package/docs/FoxFactoryApi.md +375 -0
  41. package/docs/GitlabApi.md +62 -0
  42. package/docs/GlobalStatsAggregationModel.md +26 -0
  43. package/docs/HTTPValidationError.md +20 -0
  44. package/docs/InternalApi.md +961 -0
  45. package/docs/ListResponseReleaseResponse.md +22 -0
  46. package/docs/ListResponseShortDeviceResponse.md +22 -0
  47. package/docs/ListResponseShortReleaseResponse.md +22 -0
  48. package/docs/ListResponseStr.md +22 -0
  49. package/docs/ListResponseUserShortResponse.md +22 -0
  50. package/docs/LogListResponse.md +26 -0
  51. package/docs/LogResponse.md +36 -0
  52. package/docs/MaintainerShortModel.md +26 -0
  53. package/docs/NewBuildTaskBody.md +28 -0
  54. package/docs/NewDeviceBody.md +26 -0
  55. package/docs/RecoveryImgResponse.md +22 -0
  56. package/docs/ReleaseApi.md +292 -0
  57. package/docs/ReleaseGroupsResponse.md +20 -0
  58. package/docs/ReleaseInternalResponse.md +62 -0
  59. package/docs/ReleaseInternalResponsePropValue.md +18 -0
  60. package/docs/ReleaseResponse.md +56 -0
  61. package/docs/ReleaseStatsResponse.md +24 -0
  62. package/docs/ReleaseType.md +12 -0
  63. package/docs/ReleaseUpdateBody.md +26 -0
  64. package/docs/ReleasesSort.md +10 -0
  65. package/docs/ResponseGetReleases.md +22 -0
  66. package/docs/ShortDeviceResponse.md +38 -0
  67. package/docs/ShortReleaseResponse.md +44 -0
  68. package/docs/StatsApi.md +53 -0
  69. package/docs/TaskUpdateBody.md +22 -0
  70. package/docs/TokenResponse.md +22 -0
  71. package/docs/UserGitlab.md +20 -0
  72. package/docs/UserInternalResponse.md +38 -0
  73. package/docs/UserMail.md +20 -0
  74. package/docs/UserShortResponse.md +26 -0
  75. package/docs/UserTelegram.md +20 -0
  76. package/docs/UserUpdateBody.md +28 -0
  77. package/docs/ValidationError.md +24 -0
  78. package/docs/ValidationErrorLocInner.md +18 -0
  79. package/git_push.sh +57 -0
  80. package/index.ts +18 -0
  81. package/package.json +41 -0
  82. package/tsconfig.esm.json +7 -0
  83. package/tsconfig.json +18 -0
@@ -0,0 +1,3508 @@
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.1
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 BodyChangePasswordProfileChangePasswordPost
20
+ */
21
+ export interface BodyChangePasswordProfileChangePasswordPost {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof BodyChangePasswordProfileChangePasswordPost
26
+ */
27
+ 'old_password': string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof BodyChangePasswordProfileChangePasswordPost
32
+ */
33
+ 'new_password': string;
34
+ }
35
+ /**
36
+ *
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export declare const BuildStatusEnum: {
41
+ readonly Pending: "pending";
42
+ readonly Running: "running";
43
+ readonly Cancelling: "cancelling";
44
+ readonly Success: "success";
45
+ readonly Cancelled: "cancelled";
46
+ readonly Failed: "failed";
47
+ };
48
+ export type BuildStatusEnum = typeof BuildStatusEnum[keyof typeof BuildStatusEnum];
49
+ /**
50
+ *
51
+ * @export
52
+ * @interface BuildTaskResponse
53
+ */
54
+ export interface BuildTaskResponse {
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof BuildTaskResponse
59
+ */
60
+ 'id': string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof BuildTaskResponse
65
+ */
66
+ 'started_by_id': string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof BuildTaskResponse
71
+ */
72
+ 'device_id': string;
73
+ /**
74
+ *
75
+ * @type {BuildStatusEnum}
76
+ * @memberof BuildTaskResponse
77
+ */
78
+ 'status': BuildStatusEnum;
79
+ /**
80
+ *
81
+ * @type {{ [key: string]: any; }}
82
+ * @memberof BuildTaskResponse
83
+ */
84
+ 'info': {
85
+ [key: string]: any;
86
+ };
87
+ /**
88
+ *
89
+ * @type {string}
90
+ * @memberof BuildTaskResponse
91
+ */
92
+ 'started_at': string;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof BuildTaskResponse
97
+ */
98
+ 'finished_at'?: string | null;
99
+ /**
100
+ *
101
+ * @type {{ [key: string]: any; }}
102
+ * @memberof BuildTaskResponse
103
+ */
104
+ 'environment'?: {
105
+ [key: string]: any;
106
+ } | null;
107
+ /**
108
+ *
109
+ * @type {Array<string>}
110
+ * @memberof BuildTaskResponse
111
+ */
112
+ 'logs'?: Array<string>;
113
+ }
114
+ /**
115
+ *
116
+ * @export
117
+ * @interface BuildTaskShortResponse
118
+ */
119
+ export interface BuildTaskShortResponse {
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof BuildTaskShortResponse
124
+ */
125
+ 'id': string;
126
+ /**
127
+ *
128
+ * @type {string}
129
+ * @memberof BuildTaskShortResponse
130
+ */
131
+ 'started_by_id': string;
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof BuildTaskShortResponse
136
+ */
137
+ 'device_id': string;
138
+ /**
139
+ *
140
+ * @type {BuildStatusEnum}
141
+ * @memberof BuildTaskShortResponse
142
+ */
143
+ 'status': BuildStatusEnum;
144
+ /**
145
+ *
146
+ * @type {{ [key: string]: any; }}
147
+ * @memberof BuildTaskShortResponse
148
+ */
149
+ 'info': {
150
+ [key: string]: any;
151
+ };
152
+ /**
153
+ *
154
+ * @type {string}
155
+ * @memberof BuildTaskShortResponse
156
+ */
157
+ 'started_at': string;
158
+ /**
159
+ *
160
+ * @type {string}
161
+ * @memberof BuildTaskShortResponse
162
+ */
163
+ 'finished_at'?: string | null;
164
+ }
165
+ /**
166
+ *
167
+ * @export
168
+ * @interface DeviceInternalResponse
169
+ */
170
+ export interface DeviceInternalResponse {
171
+ /**
172
+ *
173
+ * @type {string}
174
+ * @memberof DeviceInternalResponse
175
+ * @deprecated
176
+ */
177
+ '_id': string;
178
+ /**
179
+ * Device codename, legacy
180
+ * @type {string}
181
+ * @memberof DeviceInternalResponse
182
+ * @deprecated
183
+ */
184
+ 'codename': string;
185
+ /**
186
+ * Model name of device, does not include the OEM part, legacy
187
+ * @type {string}
188
+ * @memberof DeviceInternalResponse
189
+ * @deprecated
190
+ */
191
+ 'model_name': string;
192
+ /**
193
+ *
194
+ * @type {string}
195
+ * @memberof DeviceInternalResponse
196
+ */
197
+ 'oem_name': string;
198
+ /**
199
+ *
200
+ * @type {string}
201
+ * @memberof DeviceInternalResponse
202
+ */
203
+ 'id': string;
204
+ /**
205
+ *
206
+ * @type {Array<string>}
207
+ * @memberof DeviceInternalResponse
208
+ */
209
+ 'codenames': Array<string>;
210
+ /**
211
+ *
212
+ * @type {Array<string>}
213
+ * @memberof DeviceInternalResponse
214
+ */
215
+ 'model_names': Array<string>;
216
+ /**
217
+ *
218
+ * @type {boolean}
219
+ * @memberof DeviceInternalResponse
220
+ */
221
+ 'supported': boolean;
222
+ /**
223
+ *
224
+ * @type {MaintainerShortModel}
225
+ * @memberof DeviceInternalResponse
226
+ */
227
+ 'maintainer': MaintainerShortModel;
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof DeviceInternalResponse
232
+ */
233
+ 'notes'?: string | null;
234
+ /**
235
+ *
236
+ * @type {string}
237
+ * @memberof DeviceInternalResponse
238
+ */
239
+ 'device_tree'?: string | null;
240
+ /**
241
+ *
242
+ * @type {DeviceStatsResponse}
243
+ * @memberof DeviceInternalResponse
244
+ */
245
+ 'stats': DeviceStatsResponse | null;
246
+ /**
247
+ *
248
+ * @type {boolean}
249
+ * @memberof DeviceInternalResponse
250
+ */
251
+ 'freezed': boolean;
252
+ /**
253
+ * Full name of device / devices, legacy
254
+ * @type {string}
255
+ * @memberof DeviceInternalResponse
256
+ */
257
+ 'full_name': string;
258
+ /**
259
+ * URL of the device on the official website
260
+ * @type {string}
261
+ * @memberof DeviceInternalResponse
262
+ */
263
+ 'url': string;
264
+ }
265
+ /**
266
+ *
267
+ * @export
268
+ * @interface DeviceResponse
269
+ */
270
+ export interface DeviceResponse {
271
+ /**
272
+ *
273
+ * @type {string}
274
+ * @memberof DeviceResponse
275
+ * @deprecated
276
+ */
277
+ '_id': string;
278
+ /**
279
+ * Device codename, legacy
280
+ * @type {string}
281
+ * @memberof DeviceResponse
282
+ * @deprecated
283
+ */
284
+ 'codename': string;
285
+ /**
286
+ * Model name of device, does not include the OEM part, legacy
287
+ * @type {string}
288
+ * @memberof DeviceResponse
289
+ * @deprecated
290
+ */
291
+ 'model_name': string;
292
+ /**
293
+ *
294
+ * @type {string}
295
+ * @memberof DeviceResponse
296
+ */
297
+ 'oem_name': string;
298
+ /**
299
+ *
300
+ * @type {string}
301
+ * @memberof DeviceResponse
302
+ */
303
+ 'id': string;
304
+ /**
305
+ *
306
+ * @type {Array<string>}
307
+ * @memberof DeviceResponse
308
+ */
309
+ 'codenames': Array<string>;
310
+ /**
311
+ *
312
+ * @type {Array<string>}
313
+ * @memberof DeviceResponse
314
+ */
315
+ 'model_names': Array<string>;
316
+ /**
317
+ *
318
+ * @type {boolean}
319
+ * @memberof DeviceResponse
320
+ */
321
+ 'supported': boolean;
322
+ /**
323
+ *
324
+ * @type {MaintainerShortModel}
325
+ * @memberof DeviceResponse
326
+ */
327
+ 'maintainer': MaintainerShortModel;
328
+ /**
329
+ *
330
+ * @type {string}
331
+ * @memberof DeviceResponse
332
+ */
333
+ 'notes'?: string | null;
334
+ /**
335
+ *
336
+ * @type {string}
337
+ * @memberof DeviceResponse
338
+ */
339
+ 'device_tree'?: string | null;
340
+ /**
341
+ * Full name of device / devices, legacy
342
+ * @type {string}
343
+ * @memberof DeviceResponse
344
+ */
345
+ 'full_name': string;
346
+ /**
347
+ * URL of the device on the official website
348
+ * @type {string}
349
+ * @memberof DeviceResponse
350
+ */
351
+ 'url': string;
352
+ }
353
+ /**
354
+ *
355
+ * @export
356
+ * @interface DeviceStatsResponse
357
+ */
358
+ export interface DeviceStatsResponse {
359
+ /**
360
+ *
361
+ * @type {number}
362
+ * @memberof DeviceStatsResponse
363
+ */
364
+ 'count': number;
365
+ /**
366
+ *
367
+ * @type {{ [key: string]: number; }}
368
+ * @memberof DeviceStatsResponse
369
+ */
370
+ 'days': {
371
+ [key: string]: number;
372
+ };
373
+ /**
374
+ *
375
+ * @type {{ [key: string]: number; }}
376
+ * @memberof DeviceStatsResponse
377
+ */
378
+ 'mirrors': {
379
+ [key: string]: number;
380
+ };
381
+ }
382
+ /**
383
+ *
384
+ * @export
385
+ * @interface DeviceUpdateBody
386
+ */
387
+ export interface DeviceUpdateBody {
388
+ /**
389
+ *
390
+ * @type {string}
391
+ * @memberof DeviceUpdateBody
392
+ */
393
+ 'oem_name'?: string | null;
394
+ /**
395
+ *
396
+ * @type {Array<string>}
397
+ * @memberof DeviceUpdateBody
398
+ */
399
+ 'codenames'?: Array<string> | null;
400
+ /**
401
+ *
402
+ * @type {Array<string>}
403
+ * @memberof DeviceUpdateBody
404
+ */
405
+ 'model_names'?: Array<string> | null;
406
+ /**
407
+ *
408
+ * @type {boolean}
409
+ * @memberof DeviceUpdateBody
410
+ */
411
+ 'supported'?: boolean | null;
412
+ /**
413
+ *
414
+ * @type {boolean}
415
+ * @memberof DeviceUpdateBody
416
+ */
417
+ 'freezed'?: boolean | null;
418
+ /**
419
+ *
420
+ * @type {string}
421
+ * @memberof DeviceUpdateBody
422
+ */
423
+ 'notes'?: string | null;
424
+ }
425
+ /**
426
+ *
427
+ * @export
428
+ * @enum {string}
429
+ */
430
+ export declare const FFStatusEnum: {
431
+ readonly Free: "free";
432
+ readonly Busy: "busy";
433
+ readonly Offline: "offline";
434
+ };
435
+ export type FFStatusEnum = typeof FFStatusEnum[keyof typeof FFStatusEnum];
436
+ /**
437
+ *
438
+ * @export
439
+ * @interface FFStatusResponse
440
+ */
441
+ export interface FFStatusResponse {
442
+ /**
443
+ *
444
+ * @type {FFStatusEnum}
445
+ * @memberof FFStatusResponse
446
+ */
447
+ 'status': FFStatusEnum;
448
+ }
449
+ /**
450
+ *
451
+ * @export
452
+ * @interface GlobalStatsAggregationModel
453
+ */
454
+ export interface GlobalStatsAggregationModel {
455
+ /**
456
+ *
457
+ * @type {number}
458
+ * @memberof GlobalStatsAggregationModel
459
+ */
460
+ 'count': number;
461
+ /**
462
+ *
463
+ * @type {number}
464
+ * @memberof GlobalStatsAggregationModel
465
+ */
466
+ 'deviceCount': number;
467
+ /**
468
+ *
469
+ * @type {number}
470
+ * @memberof GlobalStatsAggregationModel
471
+ */
472
+ 'releaseCount': number;
473
+ /**
474
+ *
475
+ * @type {{ [key: string]: number; }}
476
+ * @memberof GlobalStatsAggregationModel
477
+ */
478
+ 'days': {
479
+ [key: string]: number;
480
+ };
481
+ }
482
+ /**
483
+ *
484
+ * @export
485
+ * @interface HTTPValidationError
486
+ */
487
+ export interface HTTPValidationError {
488
+ /**
489
+ *
490
+ * @type {Array<ValidationError>}
491
+ * @memberof HTTPValidationError
492
+ */
493
+ 'detail'?: Array<ValidationError>;
494
+ }
495
+ /**
496
+ *
497
+ * @export
498
+ * @interface ListResponseReleaseResponse
499
+ */
500
+ export interface ListResponseReleaseResponse {
501
+ /**
502
+ *
503
+ * @type {Array<ReleaseResponse>}
504
+ * @memberof ListResponseReleaseResponse
505
+ */
506
+ 'data': Array<ReleaseResponse>;
507
+ /**
508
+ *
509
+ * @type {number}
510
+ * @memberof ListResponseReleaseResponse
511
+ */
512
+ 'count': number;
513
+ }
514
+ /**
515
+ *
516
+ * @export
517
+ * @interface ListResponseShortDeviceResponse
518
+ */
519
+ export interface ListResponseShortDeviceResponse {
520
+ /**
521
+ *
522
+ * @type {Array<ShortDeviceResponse>}
523
+ * @memberof ListResponseShortDeviceResponse
524
+ */
525
+ 'data': Array<ShortDeviceResponse>;
526
+ /**
527
+ *
528
+ * @type {number}
529
+ * @memberof ListResponseShortDeviceResponse
530
+ */
531
+ 'count': number;
532
+ }
533
+ /**
534
+ *
535
+ * @export
536
+ * @interface ListResponseShortReleaseResponse
537
+ */
538
+ export interface ListResponseShortReleaseResponse {
539
+ /**
540
+ *
541
+ * @type {Array<ShortReleaseResponse>}
542
+ * @memberof ListResponseShortReleaseResponse
543
+ */
544
+ 'data': Array<ShortReleaseResponse>;
545
+ /**
546
+ *
547
+ * @type {number}
548
+ * @memberof ListResponseShortReleaseResponse
549
+ */
550
+ 'count': number;
551
+ }
552
+ /**
553
+ *
554
+ * @export
555
+ * @interface ListResponseStr
556
+ */
557
+ export interface ListResponseStr {
558
+ /**
559
+ *
560
+ * @type {Array<string>}
561
+ * @memberof ListResponseStr
562
+ */
563
+ 'data': Array<string>;
564
+ /**
565
+ *
566
+ * @type {number}
567
+ * @memberof ListResponseStr
568
+ */
569
+ 'count': number;
570
+ }
571
+ /**
572
+ *
573
+ * @export
574
+ * @interface ListResponseUserShortResponse
575
+ */
576
+ export interface ListResponseUserShortResponse {
577
+ /**
578
+ *
579
+ * @type {Array<UserShortResponse>}
580
+ * @memberof ListResponseUserShortResponse
581
+ */
582
+ 'data': Array<UserShortResponse>;
583
+ /**
584
+ *
585
+ * @type {number}
586
+ * @memberof ListResponseUserShortResponse
587
+ */
588
+ 'count': number;
589
+ }
590
+ /**
591
+ *
592
+ * @export
593
+ * @interface LogListResponse
594
+ */
595
+ export interface LogListResponse {
596
+ /**
597
+ *
598
+ * @type {Array<LogResponse>}
599
+ * @memberof LogListResponse
600
+ */
601
+ 'logs': Array<LogResponse>;
602
+ /**
603
+ *
604
+ * @type {number}
605
+ * @memberof LogListResponse
606
+ */
607
+ 'total': number;
608
+ /**
609
+ *
610
+ * @type {number}
611
+ * @memberof LogListResponse
612
+ */
613
+ 'page': number;
614
+ /**
615
+ *
616
+ * @type {number}
617
+ * @memberof LogListResponse
618
+ */
619
+ 'per_page': number;
620
+ }
621
+ /**
622
+ *
623
+ * @export
624
+ * @interface LogResponse
625
+ */
626
+ export interface LogResponse {
627
+ /**
628
+ *
629
+ * @type {string}
630
+ * @memberof LogResponse
631
+ */
632
+ 'id': string;
633
+ /**
634
+ *
635
+ * @type {MaintainerShortModel}
636
+ * @memberof LogResponse
637
+ */
638
+ 'user': MaintainerShortModel;
639
+ /**
640
+ *
641
+ * @type {string}
642
+ * @memberof LogResponse
643
+ */
644
+ 'timestamp': string;
645
+ /**
646
+ *
647
+ * @type {string}
648
+ * @memberof LogResponse
649
+ */
650
+ 'action': string;
651
+ /**
652
+ *
653
+ * @type {string}
654
+ * @memberof LogResponse
655
+ */
656
+ 'ip'?: string | null;
657
+ /**
658
+ *
659
+ * @type {string}
660
+ * @memberof LogResponse
661
+ */
662
+ 'device_id'?: string | null;
663
+ /**
664
+ *
665
+ * @type {string}
666
+ * @memberof LogResponse
667
+ */
668
+ 'release_id'?: string | null;
669
+ /**
670
+ *
671
+ * @type {string}
672
+ * @memberof LogResponse
673
+ */
674
+ 'user_id'?: string | null;
675
+ /**
676
+ *
677
+ * @type {{ [key: string]: any; }}
678
+ * @memberof LogResponse
679
+ */
680
+ 'data'?: {
681
+ [key: string]: any;
682
+ } | null;
683
+ }
684
+ /**
685
+ *
686
+ * @export
687
+ * @interface MaintainerShortModel
688
+ */
689
+ export interface MaintainerShortModel {
690
+ /**
691
+ *
692
+ * @type {string}
693
+ * @memberof MaintainerShortModel
694
+ * @deprecated
695
+ */
696
+ '_id': string;
697
+ /**
698
+ *
699
+ * @type {string}
700
+ * @memberof MaintainerShortModel
701
+ */
702
+ 'id': string;
703
+ /**
704
+ *
705
+ * @type {string}
706
+ * @memberof MaintainerShortModel
707
+ */
708
+ 'name': string;
709
+ /**
710
+ *
711
+ * @type {string}
712
+ * @memberof MaintainerShortModel
713
+ */
714
+ 'username': string;
715
+ }
716
+ /**
717
+ *
718
+ * @export
719
+ * @interface NewBuildTaskBody
720
+ */
721
+ export interface NewBuildTaskBody {
722
+ /**
723
+ *
724
+ * @type {any}
725
+ * @memberof NewBuildTaskBody
726
+ */
727
+ 'device_id': any;
728
+ /**
729
+ *
730
+ * @type {string}
731
+ * @memberof NewBuildTaskBody
732
+ */
733
+ 'tree_branch'?: string | null;
734
+ /**
735
+ *
736
+ * @type {ReleaseType}
737
+ * @memberof NewBuildTaskBody
738
+ */
739
+ 'type'?: ReleaseType;
740
+ /**
741
+ *
742
+ * @type {string}
743
+ * @memberof NewBuildTaskBody
744
+ */
745
+ 'variant'?: string;
746
+ /**
747
+ *
748
+ * @type {Array<string>}
749
+ * @memberof NewBuildTaskBody
750
+ */
751
+ 'additional_env'?: Array<string> | null;
752
+ }
753
+ /**
754
+ *
755
+ * @export
756
+ * @interface NewDeviceBody
757
+ */
758
+ export interface NewDeviceBody {
759
+ /**
760
+ *
761
+ * @type {string}
762
+ * @memberof NewDeviceBody
763
+ */
764
+ 'oem_name': string;
765
+ /**
766
+ *
767
+ * @type {Array<string>}
768
+ * @memberof NewDeviceBody
769
+ */
770
+ 'codenames': Array<string>;
771
+ /**
772
+ *
773
+ * @type {Array<string>}
774
+ * @memberof NewDeviceBody
775
+ */
776
+ 'model_names': Array<string>;
777
+ /**
778
+ *
779
+ * @type {any}
780
+ * @memberof NewDeviceBody
781
+ */
782
+ 'maintainer': any;
783
+ }
784
+ /**
785
+ *
786
+ * @export
787
+ * @interface RecoveryImgResponse
788
+ */
789
+ export interface RecoveryImgResponse {
790
+ /**
791
+ *
792
+ * @type {number}
793
+ * @memberof RecoveryImgResponse
794
+ */
795
+ 'size': number;
796
+ /**
797
+ *
798
+ * @type {string}
799
+ * @memberof RecoveryImgResponse
800
+ */
801
+ 'md5': string;
802
+ }
803
+ /**
804
+ *
805
+ * @export
806
+ * @interface ReleaseGroupsResponse
807
+ */
808
+ export interface ReleaseGroupsResponse {
809
+ /**
810
+ *
811
+ * @type {{ [key: string]: Array<ReleaseResponse>; }}
812
+ * @memberof ReleaseGroupsResponse
813
+ */
814
+ 'data': {
815
+ [key: string]: Array<ReleaseResponse>;
816
+ };
817
+ }
818
+ /**
819
+ *
820
+ * @export
821
+ * @interface ReleaseInternalResponse
822
+ */
823
+ export interface ReleaseInternalResponse {
824
+ /**
825
+ *
826
+ * @type {string}
827
+ * @memberof ReleaseInternalResponse
828
+ * @deprecated
829
+ */
830
+ '_id': string;
831
+ /**
832
+ *
833
+ * @type {number}
834
+ * @memberof ReleaseInternalResponse
835
+ * @deprecated
836
+ */
837
+ 'size': number;
838
+ /**
839
+ * Release ID, that\'s how we indentify the release in the infrastructure
840
+ * @type {string}
841
+ * @memberof ReleaseInternalResponse
842
+ */
843
+ 'id': string;
844
+ /**
845
+ *
846
+ * @type {string}
847
+ * @memberof ReleaseInternalResponse
848
+ */
849
+ 'build_id'?: string | null;
850
+ /**
851
+ *
852
+ * @type {string}
853
+ * @memberof ReleaseInternalResponse
854
+ */
855
+ 'filename': string;
856
+ /**
857
+ *
858
+ * @type {string}
859
+ * @memberof ReleaseInternalResponse
860
+ */
861
+ 'variant': string;
862
+ /**
863
+ *
864
+ * @type {string}
865
+ * @memberof ReleaseInternalResponse
866
+ */
867
+ 'device_id': string;
868
+ /**
869
+ *
870
+ * @type {string}
871
+ * @memberof ReleaseInternalResponse
872
+ */
873
+ 'date': string;
874
+ /**
875
+ *
876
+ * @type {string}
877
+ * @memberof ReleaseInternalResponse
878
+ */
879
+ 'md5': string;
880
+ /**
881
+ *
882
+ * @type {string}
883
+ * @memberof ReleaseInternalResponse
884
+ */
885
+ 'version': string;
886
+ /**
887
+ *
888
+ * @type {ReleaseType}
889
+ * @memberof ReleaseInternalResponse
890
+ */
891
+ 'type': ReleaseType;
892
+ /**
893
+ *
894
+ * @type {string}
895
+ * @memberof ReleaseInternalResponse
896
+ */
897
+ 'maintainer_id'?: string | null;
898
+ /**
899
+ *
900
+ * @type {boolean}
901
+ * @memberof ReleaseInternalResponse
902
+ */
903
+ 'archived': boolean;
904
+ /**
905
+ *
906
+ * @type {RecoveryImgResponse}
907
+ * @memberof ReleaseInternalResponse
908
+ */
909
+ 'recovery_img': RecoveryImgResponse;
910
+ /**
911
+ *
912
+ * @type {Array<string>}
913
+ * @memberof ReleaseInternalResponse
914
+ */
915
+ 'changelog': Array<string>;
916
+ /**
917
+ *
918
+ * @type {Array<string>}
919
+ * @memberof ReleaseInternalResponse
920
+ */
921
+ 'bugs': Array<string> | null;
922
+ /**
923
+ *
924
+ * @type {string}
925
+ * @memberof ReleaseInternalResponse
926
+ */
927
+ 'notes': string | null;
928
+ /**
929
+ *
930
+ * @type {{ [key: string]: ReleaseInternalResponsePropValue; }}
931
+ * @memberof ReleaseInternalResponse
932
+ */
933
+ 'prop'?: {
934
+ [key: string]: ReleaseInternalResponsePropValue;
935
+ } | null;
936
+ /**
937
+ *
938
+ * @type {ReleaseStatsResponse}
939
+ * @memberof ReleaseInternalResponse
940
+ */
941
+ 'stats'?: ReleaseStatsResponse | null;
942
+ /**
943
+ *
944
+ * @type {MaintainerShortModel}
945
+ * @memberof ReleaseInternalResponse
946
+ */
947
+ 'maintainer': MaintainerShortModel;
948
+ /**
949
+ * URL of the release on the official website
950
+ * @type {string}
951
+ * @memberof ReleaseInternalResponse
952
+ */
953
+ 'url': string;
954
+ /**
955
+ * Mirrors list (deprecated)
956
+ * @type {{ [key: string]: string; }}
957
+ * @memberof ReleaseInternalResponse
958
+ */
959
+ 'mirrors': {
960
+ [key: string]: string;
961
+ };
962
+ }
963
+ /**
964
+ *
965
+ * @export
966
+ * @interface ReleaseInternalResponsePropValue
967
+ */
968
+ export interface ReleaseInternalResponsePropValue {
969
+ }
970
+ /**
971
+ *
972
+ * @export
973
+ * @interface ReleaseResponse
974
+ */
975
+ export interface ReleaseResponse {
976
+ /**
977
+ *
978
+ * @type {string}
979
+ * @memberof ReleaseResponse
980
+ * @deprecated
981
+ */
982
+ '_id': string;
983
+ /**
984
+ *
985
+ * @type {number}
986
+ * @memberof ReleaseResponse
987
+ * @deprecated
988
+ */
989
+ 'size': number;
990
+ /**
991
+ * Release ID, that\'s how we indentify the release in the infrastructure
992
+ * @type {string}
993
+ * @memberof ReleaseResponse
994
+ */
995
+ 'id': string;
996
+ /**
997
+ *
998
+ * @type {string}
999
+ * @memberof ReleaseResponse
1000
+ */
1001
+ 'build_id'?: string | null;
1002
+ /**
1003
+ *
1004
+ * @type {string}
1005
+ * @memberof ReleaseResponse
1006
+ */
1007
+ 'filename': string;
1008
+ /**
1009
+ *
1010
+ * @type {string}
1011
+ * @memberof ReleaseResponse
1012
+ */
1013
+ 'variant': string;
1014
+ /**
1015
+ *
1016
+ * @type {string}
1017
+ * @memberof ReleaseResponse
1018
+ */
1019
+ 'device_id': string;
1020
+ /**
1021
+ *
1022
+ * @type {string}
1023
+ * @memberof ReleaseResponse
1024
+ */
1025
+ 'date': string;
1026
+ /**
1027
+ *
1028
+ * @type {string}
1029
+ * @memberof ReleaseResponse
1030
+ */
1031
+ 'md5': string;
1032
+ /**
1033
+ *
1034
+ * @type {string}
1035
+ * @memberof ReleaseResponse
1036
+ */
1037
+ 'version': string;
1038
+ /**
1039
+ *
1040
+ * @type {ReleaseType}
1041
+ * @memberof ReleaseResponse
1042
+ */
1043
+ 'type': ReleaseType;
1044
+ /**
1045
+ *
1046
+ * @type {string}
1047
+ * @memberof ReleaseResponse
1048
+ */
1049
+ 'maintainer_id'?: string | null;
1050
+ /**
1051
+ *
1052
+ * @type {boolean}
1053
+ * @memberof ReleaseResponse
1054
+ */
1055
+ 'archived': boolean;
1056
+ /**
1057
+ *
1058
+ * @type {RecoveryImgResponse}
1059
+ * @memberof ReleaseResponse
1060
+ */
1061
+ 'recovery_img': RecoveryImgResponse;
1062
+ /**
1063
+ *
1064
+ * @type {Array<string>}
1065
+ * @memberof ReleaseResponse
1066
+ */
1067
+ 'changelog': Array<string>;
1068
+ /**
1069
+ *
1070
+ * @type {Array<string>}
1071
+ * @memberof ReleaseResponse
1072
+ */
1073
+ 'bugs': Array<string> | null;
1074
+ /**
1075
+ *
1076
+ * @type {string}
1077
+ * @memberof ReleaseResponse
1078
+ */
1079
+ 'notes': string | null;
1080
+ /**
1081
+ * URL of the release on the official website
1082
+ * @type {string}
1083
+ * @memberof ReleaseResponse
1084
+ */
1085
+ 'url': string;
1086
+ /**
1087
+ * Mirrors list (deprecated)
1088
+ * @type {{ [key: string]: string; }}
1089
+ * @memberof ReleaseResponse
1090
+ */
1091
+ 'mirrors': {
1092
+ [key: string]: string;
1093
+ };
1094
+ }
1095
+ /**
1096
+ *
1097
+ * @export
1098
+ * @interface ReleaseStatsResponse
1099
+ */
1100
+ export interface ReleaseStatsResponse {
1101
+ /**
1102
+ *
1103
+ * @type {number}
1104
+ * @memberof ReleaseStatsResponse
1105
+ */
1106
+ 'count': number;
1107
+ /**
1108
+ *
1109
+ * @type {{ [key: string]: number; }}
1110
+ * @memberof ReleaseStatsResponse
1111
+ */
1112
+ 'days': {
1113
+ [key: string]: number;
1114
+ };
1115
+ /**
1116
+ *
1117
+ * @type {{ [key: string]: number; }}
1118
+ * @memberof ReleaseStatsResponse
1119
+ */
1120
+ 'mirrors': {
1121
+ [key: string]: number;
1122
+ };
1123
+ }
1124
+ /**
1125
+ *
1126
+ * @export
1127
+ * @enum {string}
1128
+ */
1129
+ export declare const ReleaseType: {
1130
+ readonly Stable: "stable";
1131
+ readonly Beta: "beta";
1132
+ readonly Alpha: "alpha";
1133
+ };
1134
+ export type ReleaseType = typeof ReleaseType[keyof typeof ReleaseType];
1135
+ /**
1136
+ *
1137
+ * @export
1138
+ * @interface ReleaseUpdateBody
1139
+ */
1140
+ export interface ReleaseUpdateBody {
1141
+ /**
1142
+ *
1143
+ * @type {Array<string>}
1144
+ * @memberof ReleaseUpdateBody
1145
+ */
1146
+ 'changelog'?: Array<string> | null;
1147
+ /**
1148
+ *
1149
+ * @type {Array<string>}
1150
+ * @memberof ReleaseUpdateBody
1151
+ */
1152
+ 'bugs'?: Array<string> | null;
1153
+ /**
1154
+ *
1155
+ * @type {string}
1156
+ * @memberof ReleaseUpdateBody
1157
+ */
1158
+ 'notes'?: string | null;
1159
+ /**
1160
+ *
1161
+ * @type {boolean}
1162
+ * @memberof ReleaseUpdateBody
1163
+ */
1164
+ 'freezed'?: boolean | null;
1165
+ }
1166
+ /**
1167
+ *
1168
+ * @export
1169
+ * @enum {string}
1170
+ */
1171
+ export declare const ReleasesSort: {
1172
+ readonly DateAsc: "date_asc";
1173
+ readonly DateDesc: "date_desc";
1174
+ };
1175
+ export type ReleasesSort = typeof ReleasesSort[keyof typeof ReleasesSort];
1176
+ /**
1177
+ *
1178
+ * @export
1179
+ * @interface ResponseGetReleases
1180
+ */
1181
+ export interface ResponseGetReleases {
1182
+ /**
1183
+ *
1184
+ * @type {{ [key: string]: Array<ReleaseResponse>; }}
1185
+ * @memberof ResponseGetReleases
1186
+ */
1187
+ 'data': {
1188
+ [key: string]: Array<ReleaseResponse>;
1189
+ };
1190
+ /**
1191
+ *
1192
+ * @type {number}
1193
+ * @memberof ResponseGetReleases
1194
+ */
1195
+ 'count': number;
1196
+ }
1197
+ /**
1198
+ *
1199
+ * @export
1200
+ * @interface ShortDeviceResponse
1201
+ */
1202
+ export interface ShortDeviceResponse {
1203
+ /**
1204
+ *
1205
+ * @type {string}
1206
+ * @memberof ShortDeviceResponse
1207
+ * @deprecated
1208
+ */
1209
+ '_id': string;
1210
+ /**
1211
+ * Device codename, legacy
1212
+ * @type {string}
1213
+ * @memberof ShortDeviceResponse
1214
+ * @deprecated
1215
+ */
1216
+ 'codename': string;
1217
+ /**
1218
+ * Model name of device, does not include the OEM part, legacy
1219
+ * @type {string}
1220
+ * @memberof ShortDeviceResponse
1221
+ * @deprecated
1222
+ */
1223
+ 'model_name': string;
1224
+ /**
1225
+ *
1226
+ * @type {string}
1227
+ * @memberof ShortDeviceResponse
1228
+ */
1229
+ 'oem_name': string;
1230
+ /**
1231
+ *
1232
+ * @type {string}
1233
+ * @memberof ShortDeviceResponse
1234
+ */
1235
+ 'id': string;
1236
+ /**
1237
+ *
1238
+ * @type {Array<string>}
1239
+ * @memberof ShortDeviceResponse
1240
+ */
1241
+ 'codenames': Array<string>;
1242
+ /**
1243
+ *
1244
+ * @type {Array<string>}
1245
+ * @memberof ShortDeviceResponse
1246
+ */
1247
+ 'model_names': Array<string>;
1248
+ /**
1249
+ *
1250
+ * @type {boolean}
1251
+ * @memberof ShortDeviceResponse
1252
+ */
1253
+ 'supported': boolean;
1254
+ /**
1255
+ * Full name of device / devices, legacy
1256
+ * @type {string}
1257
+ * @memberof ShortDeviceResponse
1258
+ */
1259
+ 'full_name': string;
1260
+ /**
1261
+ * URL of the device on the official website
1262
+ * @type {string}
1263
+ * @memberof ShortDeviceResponse
1264
+ */
1265
+ 'url': string;
1266
+ }
1267
+ /**
1268
+ *
1269
+ * @export
1270
+ * @interface ShortReleaseResponse
1271
+ */
1272
+ export interface ShortReleaseResponse {
1273
+ /**
1274
+ *
1275
+ * @type {string}
1276
+ * @memberof ShortReleaseResponse
1277
+ * @deprecated
1278
+ */
1279
+ '_id': string;
1280
+ /**
1281
+ *
1282
+ * @type {number}
1283
+ * @memberof ShortReleaseResponse
1284
+ * @deprecated
1285
+ */
1286
+ 'size': number;
1287
+ /**
1288
+ * Release ID, that\'s how we indentify the release in the infrastructure
1289
+ * @type {string}
1290
+ * @memberof ShortReleaseResponse
1291
+ */
1292
+ 'id': string;
1293
+ /**
1294
+ *
1295
+ * @type {string}
1296
+ * @memberof ShortReleaseResponse
1297
+ */
1298
+ 'build_id'?: string | null;
1299
+ /**
1300
+ *
1301
+ * @type {string}
1302
+ * @memberof ShortReleaseResponse
1303
+ */
1304
+ 'filename': string;
1305
+ /**
1306
+ *
1307
+ * @type {string}
1308
+ * @memberof ShortReleaseResponse
1309
+ */
1310
+ 'variant': string;
1311
+ /**
1312
+ *
1313
+ * @type {string}
1314
+ * @memberof ShortReleaseResponse
1315
+ */
1316
+ 'device_id': string;
1317
+ /**
1318
+ *
1319
+ * @type {string}
1320
+ * @memberof ShortReleaseResponse
1321
+ */
1322
+ 'date': string;
1323
+ /**
1324
+ *
1325
+ * @type {string}
1326
+ * @memberof ShortReleaseResponse
1327
+ */
1328
+ 'md5': string;
1329
+ /**
1330
+ *
1331
+ * @type {string}
1332
+ * @memberof ShortReleaseResponse
1333
+ */
1334
+ 'version': string;
1335
+ /**
1336
+ *
1337
+ * @type {ReleaseType}
1338
+ * @memberof ShortReleaseResponse
1339
+ */
1340
+ 'type': ReleaseType;
1341
+ /**
1342
+ *
1343
+ * @type {string}
1344
+ * @memberof ShortReleaseResponse
1345
+ */
1346
+ 'maintainer_id'?: string | null;
1347
+ /**
1348
+ *
1349
+ * @type {boolean}
1350
+ * @memberof ShortReleaseResponse
1351
+ */
1352
+ 'archived': boolean;
1353
+ }
1354
+ /**
1355
+ *
1356
+ * @export
1357
+ * @interface TaskUpdateBody
1358
+ */
1359
+ export interface TaskUpdateBody {
1360
+ /**
1361
+ *
1362
+ * @type {BuildStatusEnum}
1363
+ * @memberof TaskUpdateBody
1364
+ */
1365
+ 'status'?: BuildStatusEnum | null;
1366
+ /**
1367
+ *
1368
+ * @type {Array<string>}
1369
+ * @memberof TaskUpdateBody
1370
+ */
1371
+ 'logs'?: Array<string> | null;
1372
+ }
1373
+ /**
1374
+ *
1375
+ * @export
1376
+ * @interface TokenResponse
1377
+ */
1378
+ export interface TokenResponse {
1379
+ /**
1380
+ *
1381
+ * @type {string}
1382
+ * @memberof TokenResponse
1383
+ */
1384
+ 'access_token': string;
1385
+ /**
1386
+ *
1387
+ * @type {string}
1388
+ * @memberof TokenResponse
1389
+ */
1390
+ 'token_type'?: string;
1391
+ }
1392
+ /**
1393
+ *
1394
+ * @export
1395
+ * @interface UserGitlab
1396
+ */
1397
+ export interface UserGitlab {
1398
+ /**
1399
+ *
1400
+ * @type {number}
1401
+ * @memberof UserGitlab
1402
+ */
1403
+ 'id': number;
1404
+ }
1405
+ /**
1406
+ *
1407
+ * @export
1408
+ * @interface UserInternalResponse
1409
+ */
1410
+ export interface UserInternalResponse {
1411
+ /**
1412
+ *
1413
+ * @type {string}
1414
+ * @memberof UserInternalResponse
1415
+ */
1416
+ 'id': string;
1417
+ /**
1418
+ *
1419
+ * @type {string}
1420
+ * @memberof UserInternalResponse
1421
+ */
1422
+ 'username': string;
1423
+ /**
1424
+ *
1425
+ * @type {string}
1426
+ * @memberof UserInternalResponse
1427
+ */
1428
+ 'name': string;
1429
+ /**
1430
+ *
1431
+ * @type {boolean}
1432
+ * @memberof UserInternalResponse
1433
+ */
1434
+ 'freezed': boolean;
1435
+ /**
1436
+ *
1437
+ * @type {Array<string>}
1438
+ * @memberof UserInternalResponse
1439
+ */
1440
+ 'roles': Array<string>;
1441
+ /**
1442
+ *
1443
+ * @type {UserTelegram}
1444
+ * @memberof UserInternalResponse
1445
+ */
1446
+ 'telegram'?: UserTelegram | null;
1447
+ /**
1448
+ *
1449
+ * @type {UserGitlab}
1450
+ * @memberof UserInternalResponse
1451
+ */
1452
+ 'gitlab'?: UserGitlab | null;
1453
+ /**
1454
+ *
1455
+ * @type {UserMail}
1456
+ * @memberof UserInternalResponse
1457
+ */
1458
+ 'mail'?: UserMail | null;
1459
+ /**
1460
+ *
1461
+ * @type {string}
1462
+ * @memberof UserInternalResponse
1463
+ */
1464
+ 'admin_notes'?: string | null;
1465
+ /**
1466
+ *
1467
+ * @type {Array<ShortDeviceResponse>}
1468
+ * @memberof UserInternalResponse
1469
+ */
1470
+ 'maintained_devices': Array<ShortDeviceResponse>;
1471
+ }
1472
+ /**
1473
+ *
1474
+ * @export
1475
+ * @interface UserMail
1476
+ */
1477
+ export interface UserMail {
1478
+ /**
1479
+ *
1480
+ * @type {string}
1481
+ * @memberof UserMail
1482
+ */
1483
+ 'username': string;
1484
+ }
1485
+ /**
1486
+ *
1487
+ * @export
1488
+ * @interface UserShortResponse
1489
+ */
1490
+ export interface UserShortResponse {
1491
+ /**
1492
+ *
1493
+ * @type {string}
1494
+ * @memberof UserShortResponse
1495
+ */
1496
+ 'id': string;
1497
+ /**
1498
+ *
1499
+ * @type {string}
1500
+ * @memberof UserShortResponse
1501
+ */
1502
+ 'username': string;
1503
+ /**
1504
+ *
1505
+ * @type {string}
1506
+ * @memberof UserShortResponse
1507
+ */
1508
+ 'name': string;
1509
+ /**
1510
+ *
1511
+ * @type {boolean}
1512
+ * @memberof UserShortResponse
1513
+ */
1514
+ 'freezed': boolean;
1515
+ }
1516
+ /**
1517
+ *
1518
+ * @export
1519
+ * @interface UserTelegram
1520
+ */
1521
+ export interface UserTelegram {
1522
+ /**
1523
+ *
1524
+ * @type {number}
1525
+ * @memberof UserTelegram
1526
+ */
1527
+ 'id': number;
1528
+ }
1529
+ /**
1530
+ *
1531
+ * @export
1532
+ * @interface UserUpdateBody
1533
+ */
1534
+ export interface UserUpdateBody {
1535
+ /**
1536
+ *
1537
+ * @type {string}
1538
+ * @memberof UserUpdateBody
1539
+ */
1540
+ 'username'?: string | null;
1541
+ /**
1542
+ *
1543
+ * @type {string}
1544
+ * @memberof UserUpdateBody
1545
+ */
1546
+ 'name'?: string | null;
1547
+ /**
1548
+ *
1549
+ * @type {boolean}
1550
+ * @memberof UserUpdateBody
1551
+ */
1552
+ 'freezed'?: boolean | null;
1553
+ /**
1554
+ *
1555
+ * @type {Array<string>}
1556
+ * @memberof UserUpdateBody
1557
+ */
1558
+ 'roles'?: Array<string> | null;
1559
+ /**
1560
+ *
1561
+ * @type {string}
1562
+ * @memberof UserUpdateBody
1563
+ */
1564
+ 'admin_notes'?: string | null;
1565
+ }
1566
+ /**
1567
+ *
1568
+ * @export
1569
+ * @interface ValidationError
1570
+ */
1571
+ export interface ValidationError {
1572
+ /**
1573
+ *
1574
+ * @type {Array<ValidationErrorLocInner>}
1575
+ * @memberof ValidationError
1576
+ */
1577
+ 'loc': Array<ValidationErrorLocInner>;
1578
+ /**
1579
+ *
1580
+ * @type {string}
1581
+ * @memberof ValidationError
1582
+ */
1583
+ 'msg': string;
1584
+ /**
1585
+ *
1586
+ * @type {string}
1587
+ * @memberof ValidationError
1588
+ */
1589
+ 'type': string;
1590
+ }
1591
+ /**
1592
+ *
1593
+ * @export
1594
+ * @interface ValidationErrorLocInner
1595
+ */
1596
+ export interface ValidationErrorLocInner {
1597
+ }
1598
+ /**
1599
+ * DeviceApi - axios parameter creator
1600
+ * @export
1601
+ */
1602
+ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
1603
+ /**
1604
+ * 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.
1605
+ * @summary Get Device
1606
+ * @param { | null} [deviceId]
1607
+ * @param { | null} [id] Filter by Device ID (deprecated)
1608
+ * @param {string | null} [codename] Not recommended to use when you can
1609
+ * @param {*} [options] Override http request option.
1610
+ * @throws {RequiredError}
1611
+ */
1612
+ getDevice: (deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1613
+ /**
1614
+ * Gets device info using device ID.
1615
+ * @summary Get Device Short
1616
+ * @param {string} deviceId
1617
+ * @param {*} [options] Override http request option.
1618
+ * @deprecated
1619
+ * @throws {RequiredError}
1620
+ */
1621
+ getDeviceDeprecated: (deviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1622
+ /**
1623
+ * 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.
1624
+ * @summary Get Devices
1625
+ * @param {Array<any>} [id] Filter by Device IDs
1626
+ * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1627
+ * @param {Array<string>} [oemName] Filter by OEM names
1628
+ * @param {Array<string>} [codename] Filter by device codenames
1629
+ * @param {Array<string>} [modelName] Filter by model names
1630
+ * @param {boolean | null} [supported] Supported status
1631
+ * @param {Array<string>} [maintainer] Filter by maintainer ID
1632
+ * @param {boolean | null} [freezed] Filter by Freezed status
1633
+ * @param {boolean | null} [hasReleases] Filter by has releases status
1634
+ * @param {number | null} [skip] Skip query results
1635
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
1636
+ * @param {*} [options] Override http request option.
1637
+ * @throws {RequiredError}
1638
+ */
1639
+ getDevices: (id?: Array<any>, id2?: Array<any>, 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>;
1640
+ /**
1641
+ * Lists all OEM names
1642
+ * @summary Get Oems
1643
+ * @param {*} [options] Override http request option.
1644
+ * @throws {RequiredError}
1645
+ */
1646
+ getOems: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1647
+ };
1648
+ /**
1649
+ * DeviceApi - functional programming interface
1650
+ * @export
1651
+ */
1652
+ export declare const DeviceApiFp: (configuration?: Configuration) => {
1653
+ /**
1654
+ * 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.
1655
+ * @summary Get Device
1656
+ * @param { | null} [deviceId]
1657
+ * @param { | null} [id] Filter by Device ID (deprecated)
1658
+ * @param {string | null} [codename] Not recommended to use when you can
1659
+ * @param {*} [options] Override http request option.
1660
+ * @throws {RequiredError}
1661
+ */
1662
+ getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
1663
+ /**
1664
+ * Gets device info using device ID.
1665
+ * @summary Get Device Short
1666
+ * @param {string} deviceId
1667
+ * @param {*} [options] Override http request option.
1668
+ * @deprecated
1669
+ * @throws {RequiredError}
1670
+ */
1671
+ getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
1672
+ /**
1673
+ * 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.
1674
+ * @summary Get Devices
1675
+ * @param {Array<any>} [id] Filter by Device IDs
1676
+ * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1677
+ * @param {Array<string>} [oemName] Filter by OEM names
1678
+ * @param {Array<string>} [codename] Filter by device codenames
1679
+ * @param {Array<string>} [modelName] Filter by model names
1680
+ * @param {boolean | null} [supported] Supported status
1681
+ * @param {Array<string>} [maintainer] Filter by maintainer ID
1682
+ * @param {boolean | null} [freezed] Filter by Freezed status
1683
+ * @param {boolean | null} [hasReleases] Filter by has releases status
1684
+ * @param {number | null} [skip] Skip query results
1685
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
1686
+ * @param {*} [options] Override http request option.
1687
+ * @throws {RequiredError}
1688
+ */
1689
+ getDevices(id?: Array<any>, id2?: Array<any>, 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>>;
1690
+ /**
1691
+ * Lists all OEM names
1692
+ * @summary Get Oems
1693
+ * @param {*} [options] Override http request option.
1694
+ * @throws {RequiredError}
1695
+ */
1696
+ getOems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseStr>>;
1697
+ };
1698
+ /**
1699
+ * DeviceApi - factory interface
1700
+ * @export
1701
+ */
1702
+ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1703
+ /**
1704
+ * 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.
1705
+ * @summary Get Device
1706
+ * @param { | null} [deviceId]
1707
+ * @param { | null} [id] Filter by Device ID (deprecated)
1708
+ * @param {string | null} [codename] Not recommended to use when you can
1709
+ * @param {*} [options] Override http request option.
1710
+ * @throws {RequiredError}
1711
+ */
1712
+ getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1713
+ /**
1714
+ * Gets device info using device ID.
1715
+ * @summary Get Device Short
1716
+ * @param {string} deviceId
1717
+ * @param {*} [options] Override http request option.
1718
+ * @deprecated
1719
+ * @throws {RequiredError}
1720
+ */
1721
+ getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1722
+ /**
1723
+ * 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.
1724
+ * @summary Get Devices
1725
+ * @param {Array<any>} [id] Filter by Device IDs
1726
+ * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1727
+ * @param {Array<string>} [oemName] Filter by OEM names
1728
+ * @param {Array<string>} [codename] Filter by device codenames
1729
+ * @param {Array<string>} [modelName] Filter by model names
1730
+ * @param {boolean | null} [supported] Supported status
1731
+ * @param {Array<string>} [maintainer] Filter by maintainer ID
1732
+ * @param {boolean | null} [freezed] Filter by Freezed status
1733
+ * @param {boolean | null} [hasReleases] Filter by has releases status
1734
+ * @param {number | null} [skip] Skip query results
1735
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
1736
+ * @param {*} [options] Override http request option.
1737
+ * @throws {RequiredError}
1738
+ */
1739
+ getDevices(id?: Array<any>, id2?: Array<any>, 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>;
1740
+ /**
1741
+ * Lists all OEM names
1742
+ * @summary Get Oems
1743
+ * @param {*} [options] Override http request option.
1744
+ * @throws {RequiredError}
1745
+ */
1746
+ getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
1747
+ };
1748
+ /**
1749
+ * DeviceApi - interface
1750
+ * @export
1751
+ * @interface DeviceApi
1752
+ */
1753
+ export interface DeviceApiInterface {
1754
+ /**
1755
+ * 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.
1756
+ * @summary Get Device
1757
+ * @param { | null} [deviceId]
1758
+ * @param { | null} [id] Filter by Device ID (deprecated)
1759
+ * @param {string | null} [codename] Not recommended to use when you can
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ * @memberof DeviceApiInterface
1763
+ */
1764
+ getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1765
+ /**
1766
+ * Gets device info using device ID.
1767
+ * @summary Get Device Short
1768
+ * @param {string} deviceId
1769
+ * @param {*} [options] Override http request option.
1770
+ * @deprecated
1771
+ * @throws {RequiredError}
1772
+ * @memberof DeviceApiInterface
1773
+ */
1774
+ getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1775
+ /**
1776
+ * 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.
1777
+ * @summary Get Devices
1778
+ * @param {Array<any>} [id] Filter by Device IDs
1779
+ * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1780
+ * @param {Array<string>} [oemName] Filter by OEM names
1781
+ * @param {Array<string>} [codename] Filter by device codenames
1782
+ * @param {Array<string>} [modelName] Filter by model names
1783
+ * @param {boolean | null} [supported] Supported status
1784
+ * @param {Array<string>} [maintainer] Filter by maintainer ID
1785
+ * @param {boolean | null} [freezed] Filter by Freezed status
1786
+ * @param {boolean | null} [hasReleases] Filter by has releases status
1787
+ * @param {number | null} [skip] Skip query results
1788
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
1789
+ * @param {*} [options] Override http request option.
1790
+ * @throws {RequiredError}
1791
+ * @memberof DeviceApiInterface
1792
+ */
1793
+ getDevices(id?: Array<any>, id2?: Array<any>, 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>;
1794
+ /**
1795
+ * Lists all OEM names
1796
+ * @summary Get Oems
1797
+ * @param {*} [options] Override http request option.
1798
+ * @throws {RequiredError}
1799
+ * @memberof DeviceApiInterface
1800
+ */
1801
+ getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
1802
+ }
1803
+ /**
1804
+ * DeviceApi - object-oriented interface
1805
+ * @export
1806
+ * @class DeviceApi
1807
+ * @extends {BaseAPI}
1808
+ */
1809
+ export declare class DeviceApi extends BaseAPI implements DeviceApiInterface {
1810
+ /**
1811
+ * 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.
1812
+ * @summary Get Device
1813
+ * @param { | null} [deviceId]
1814
+ * @param { | null} [id] Filter by Device ID (deprecated)
1815
+ * @param {string | null} [codename] Not recommended to use when you can
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ * @memberof DeviceApi
1819
+ */
1820
+ getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
1821
+ /**
1822
+ * Gets device info using device ID.
1823
+ * @summary Get Device Short
1824
+ * @param {string} deviceId
1825
+ * @param {*} [options] Override http request option.
1826
+ * @deprecated
1827
+ * @throws {RequiredError}
1828
+ * @memberof DeviceApi
1829
+ */
1830
+ getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
1831
+ /**
1832
+ * 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.
1833
+ * @summary Get Devices
1834
+ * @param {Array<any>} [id] Filter by Device IDs
1835
+ * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1836
+ * @param {Array<string>} [oemName] Filter by OEM names
1837
+ * @param {Array<string>} [codename] Filter by device codenames
1838
+ * @param {Array<string>} [modelName] Filter by model names
1839
+ * @param {boolean | null} [supported] Supported status
1840
+ * @param {Array<string>} [maintainer] Filter by maintainer ID
1841
+ * @param {boolean | null} [freezed] Filter by Freezed status
1842
+ * @param {boolean | null} [hasReleases] Filter by has releases status
1843
+ * @param {number | null} [skip] Skip query results
1844
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
1845
+ * @param {*} [options] Override http request option.
1846
+ * @throws {RequiredError}
1847
+ * @memberof DeviceApi
1848
+ */
1849
+ getDevices(id?: Array<any>, id2?: Array<any>, 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>>;
1850
+ /**
1851
+ * Lists all OEM names
1852
+ * @summary Get Oems
1853
+ * @param {*} [options] Override http request option.
1854
+ * @throws {RequiredError}
1855
+ * @memberof DeviceApi
1856
+ */
1857
+ getOems(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseStr, any>>;
1858
+ }
1859
+ /**
1860
+ * FoxFactoryApi - axios parameter creator
1861
+ * @export
1862
+ */
1863
+ export declare const FoxFactoryApiAxiosParamCreator: (configuration?: Configuration) => {
1864
+ /**
1865
+ * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
1866
+ * @summary Cancel Task
1867
+ * @param {any} taskId
1868
+ * @param {*} [options] Override http request option.
1869
+ * @throws {RequiredError}
1870
+ */
1871
+ cancelTaskFactoryTaskIdCancelPost: (taskId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1872
+ /**
1873
+ * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
1874
+ * @summary Delete Task
1875
+ * @param {any} taskId
1876
+ * @param {*} [options] Override http request option.
1877
+ * @throws {RequiredError}
1878
+ */
1879
+ deleteTaskFactoryTaskIdDelete: (taskId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1880
+ /**
1881
+ *
1882
+ * @summary Factory Status
1883
+ * @param {*} [options] Override http request option.
1884
+ * @throws {RequiredError}
1885
+ */
1886
+ factoryStatusFactoryStatusGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1887
+ /**
1888
+ * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
1889
+ * @summary Get Task
1890
+ * @param {any} taskId
1891
+ * @param {*} [options] Override http request option.
1892
+ * @throws {RequiredError}
1893
+ */
1894
+ getTaskFactoryTaskIdGet: (taskId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1895
+ /**
1896
+ * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
1897
+ * @summary List Tasks
1898
+ * @param { | null} [deviceId]
1899
+ * @param {*} [options] Override http request option.
1900
+ * @throws {RequiredError}
1901
+ */
1902
+ listTasksFactoryGet: (deviceId?: null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1903
+ /**
1904
+ * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
1905
+ * @summary New Task
1906
+ * @param {NewBuildTaskBody} newBuildTaskBody
1907
+ * @param {*} [options] Override http request option.
1908
+ * @throws {RequiredError}
1909
+ */
1910
+ newTaskFactoryPost: (newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1911
+ /**
1912
+ * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
1913
+ * @summary Update Task
1914
+ * @param {any} taskId
1915
+ * @param {TaskUpdateBody} taskUpdateBody
1916
+ * @param {*} [options] Override http request option.
1917
+ * @throws {RequiredError}
1918
+ */
1919
+ updateTaskFactoryTaskIdPatch: (taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1920
+ };
1921
+ /**
1922
+ * FoxFactoryApi - functional programming interface
1923
+ * @export
1924
+ */
1925
+ export declare const FoxFactoryApiFp: (configuration?: Configuration) => {
1926
+ /**
1927
+ * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
1928
+ * @summary Cancel Task
1929
+ * @param {any} taskId
1930
+ * @param {*} [options] Override http request option.
1931
+ * @throws {RequiredError}
1932
+ */
1933
+ cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>>;
1934
+ /**
1935
+ * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
1936
+ * @summary Delete Task
1937
+ * @param {any} taskId
1938
+ * @param {*} [options] Override http request option.
1939
+ * @throws {RequiredError}
1940
+ */
1941
+ deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
1942
+ /**
1943
+ *
1944
+ * @summary Factory Status
1945
+ * @param {*} [options] Override http request option.
1946
+ * @throws {RequiredError}
1947
+ */
1948
+ factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FFStatusResponse>>;
1949
+ /**
1950
+ * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
1951
+ * @summary Get Task
1952
+ * @param {any} taskId
1953
+ * @param {*} [options] Override http request option.
1954
+ * @throws {RequiredError}
1955
+ */
1956
+ getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>>;
1957
+ /**
1958
+ * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
1959
+ * @summary List Tasks
1960
+ * @param { | null} [deviceId]
1961
+ * @param {*} [options] Override http request option.
1962
+ * @throws {RequiredError}
1963
+ */
1964
+ listTasksFactoryGet(deviceId?: null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BuildTaskShortResponse>>>;
1965
+ /**
1966
+ * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
1967
+ * @summary New Task
1968
+ * @param {NewBuildTaskBody} newBuildTaskBody
1969
+ * @param {*} [options] Override http request option.
1970
+ * @throws {RequiredError}
1971
+ */
1972
+ newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
1973
+ /**
1974
+ * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
1975
+ * @summary Update Task
1976
+ * @param {any} taskId
1977
+ * @param {TaskUpdateBody} taskUpdateBody
1978
+ * @param {*} [options] Override http request option.
1979
+ * @throws {RequiredError}
1980
+ */
1981
+ updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
1982
+ };
1983
+ /**
1984
+ * FoxFactoryApi - factory interface
1985
+ * @export
1986
+ */
1987
+ export declare const FoxFactoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1988
+ /**
1989
+ * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
1990
+ * @summary Cancel Task
1991
+ * @param {any} taskId
1992
+ * @param {*} [options] Override http request option.
1993
+ * @throws {RequiredError}
1994
+ */
1995
+ cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
1996
+ /**
1997
+ * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
1998
+ * @summary Delete Task
1999
+ * @param {any} taskId
2000
+ * @param {*} [options] Override http request option.
2001
+ * @throws {RequiredError}
2002
+ */
2003
+ deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2004
+ /**
2005
+ *
2006
+ * @summary Factory Status
2007
+ * @param {*} [options] Override http request option.
2008
+ * @throws {RequiredError}
2009
+ */
2010
+ factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<FFStatusResponse>;
2011
+ /**
2012
+ * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
2013
+ * @summary Get Task
2014
+ * @param {any} taskId
2015
+ * @param {*} [options] Override http request option.
2016
+ * @throws {RequiredError}
2017
+ */
2018
+ getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2019
+ /**
2020
+ * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
2021
+ * @summary List Tasks
2022
+ * @param { | null} [deviceId]
2023
+ * @param {*} [options] Override http request option.
2024
+ * @throws {RequiredError}
2025
+ */
2026
+ listTasksFactoryGet(deviceId?: null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>>;
2027
+ /**
2028
+ * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
2029
+ * @summary New Task
2030
+ * @param {NewBuildTaskBody} newBuildTaskBody
2031
+ * @param {*} [options] Override http request option.
2032
+ * @throws {RequiredError}
2033
+ */
2034
+ newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2035
+ /**
2036
+ * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
2037
+ * @summary Update Task
2038
+ * @param {any} taskId
2039
+ * @param {TaskUpdateBody} taskUpdateBody
2040
+ * @param {*} [options] Override http request option.
2041
+ * @throws {RequiredError}
2042
+ */
2043
+ updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2044
+ };
2045
+ /**
2046
+ * FoxFactoryApi - interface
2047
+ * @export
2048
+ * @interface FoxFactoryApi
2049
+ */
2050
+ export interface FoxFactoryApiInterface {
2051
+ /**
2052
+ * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2053
+ * @summary Cancel Task
2054
+ * @param {any} taskId
2055
+ * @param {*} [options] Override http request option.
2056
+ * @throws {RequiredError}
2057
+ * @memberof FoxFactoryApiInterface
2058
+ */
2059
+ cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2060
+ /**
2061
+ * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2062
+ * @summary Delete Task
2063
+ * @param {any} taskId
2064
+ * @param {*} [options] Override http request option.
2065
+ * @throws {RequiredError}
2066
+ * @memberof FoxFactoryApiInterface
2067
+ */
2068
+ deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2069
+ /**
2070
+ *
2071
+ * @summary Factory Status
2072
+ * @param {*} [options] Override http request option.
2073
+ * @throws {RequiredError}
2074
+ * @memberof FoxFactoryApiInterface
2075
+ */
2076
+ factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<FFStatusResponse>;
2077
+ /**
2078
+ * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
2079
+ * @summary Get Task
2080
+ * @param {any} taskId
2081
+ * @param {*} [options] Override http request option.
2082
+ * @throws {RequiredError}
2083
+ * @memberof FoxFactoryApiInterface
2084
+ */
2085
+ getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2086
+ /**
2087
+ * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
2088
+ * @summary List Tasks
2089
+ * @param { | null} [deviceId]
2090
+ * @param {*} [options] Override http request option.
2091
+ * @throws {RequiredError}
2092
+ * @memberof FoxFactoryApiInterface
2093
+ */
2094
+ listTasksFactoryGet(deviceId?: null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>>;
2095
+ /**
2096
+ * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
2097
+ * @summary New Task
2098
+ * @param {NewBuildTaskBody} newBuildTaskBody
2099
+ * @param {*} [options] Override http request option.
2100
+ * @throws {RequiredError}
2101
+ * @memberof FoxFactoryApiInterface
2102
+ */
2103
+ newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2104
+ /**
2105
+ * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
2106
+ * @summary Update Task
2107
+ * @param {any} taskId
2108
+ * @param {TaskUpdateBody} taskUpdateBody
2109
+ * @param {*} [options] Override http request option.
2110
+ * @throws {RequiredError}
2111
+ * @memberof FoxFactoryApiInterface
2112
+ */
2113
+ updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2114
+ }
2115
+ /**
2116
+ * FoxFactoryApi - object-oriented interface
2117
+ * @export
2118
+ * @class FoxFactoryApi
2119
+ * @extends {BaseAPI}
2120
+ */
2121
+ export declare class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInterface {
2122
+ /**
2123
+ * Cancels a build task given its identifier. The task\'s status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2124
+ * @summary Cancel Task
2125
+ * @param {any} taskId
2126
+ * @param {*} [options] Override http request option.
2127
+ * @throws {RequiredError}
2128
+ * @memberof FoxFactoryApi
2129
+ */
2130
+ cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskResponse, any>>;
2131
+ /**
2132
+ * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2133
+ * @summary Delete Task
2134
+ * @param {any} taskId
2135
+ * @param {*} [options] Override http request option.
2136
+ * @throws {RequiredError}
2137
+ * @memberof FoxFactoryApi
2138
+ */
2139
+ deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2140
+ /**
2141
+ *
2142
+ * @summary Factory Status
2143
+ * @param {*} [options] Override http request option.
2144
+ * @throws {RequiredError}
2145
+ * @memberof FoxFactoryApi
2146
+ */
2147
+ factoryStatusFactoryStatusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FFStatusResponse, any>>;
2148
+ /**
2149
+ * Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the \'maintainer\' or \'foxworker\' roles. Depending on the user\'s roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
2150
+ * @summary Get Task
2151
+ * @param {any} taskId
2152
+ * @param {*} [options] Override http request option.
2153
+ * @throws {RequiredError}
2154
+ * @memberof FoxFactoryApi
2155
+ */
2156
+ getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskResponse, any>>;
2157
+ /**
2158
+ * Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
2159
+ * @summary List Tasks
2160
+ * @param { | null} [deviceId]
2161
+ * @param {*} [options] Override http request option.
2162
+ * @throws {RequiredError}
2163
+ * @memberof FoxFactoryApi
2164
+ */
2165
+ listTasksFactoryGet(deviceId?: null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildTaskShortResponse[], any>>;
2166
+ /**
2167
+ * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
2168
+ * @summary New Task
2169
+ * @param {NewBuildTaskBody} newBuildTaskBody
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ * @memberof FoxFactoryApi
2173
+ */
2174
+ newTaskFactoryPost(newBuildTaskBody: NewBuildTaskBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2175
+ /**
2176
+ * Updates an existing build task by its unique identifier. The function allows updates to the task\'s status and logs. If the task\'s status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
2177
+ * @summary Update Task
2178
+ * @param {any} taskId
2179
+ * @param {TaskUpdateBody} taskUpdateBody
2180
+ * @param {*} [options] Override http request option.
2181
+ * @throws {RequiredError}
2182
+ * @memberof FoxFactoryApi
2183
+ */
2184
+ updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2185
+ }
2186
+ /**
2187
+ * GitlabApi - axios parameter creator
2188
+ * @export
2189
+ */
2190
+ export declare const GitlabApiAxiosParamCreator: (configuration?: Configuration) => {
2191
+ /**
2192
+ *
2193
+ * @summary Device Add Gitlab Repo
2194
+ * @param {string} deviceId
2195
+ * @param {string} glProjectUrl
2196
+ * @param {*} [options] Override http request option.
2197
+ * @throws {RequiredError}
2198
+ */
2199
+ deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost: (deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2200
+ };
2201
+ /**
2202
+ * GitlabApi - functional programming interface
2203
+ * @export
2204
+ */
2205
+ export declare const GitlabApiFp: (configuration?: Configuration) => {
2206
+ /**
2207
+ *
2208
+ * @summary Device Add Gitlab Repo
2209
+ * @param {string} deviceId
2210
+ * @param {string} glProjectUrl
2211
+ * @param {*} [options] Override http request option.
2212
+ * @throws {RequiredError}
2213
+ */
2214
+ deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2215
+ };
2216
+ /**
2217
+ * GitlabApi - factory interface
2218
+ * @export
2219
+ */
2220
+ export declare const GitlabApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2221
+ /**
2222
+ *
2223
+ * @summary Device Add Gitlab Repo
2224
+ * @param {string} deviceId
2225
+ * @param {string} glProjectUrl
2226
+ * @param {*} [options] Override http request option.
2227
+ * @throws {RequiredError}
2228
+ */
2229
+ deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2230
+ };
2231
+ /**
2232
+ * GitlabApi - interface
2233
+ * @export
2234
+ * @interface GitlabApi
2235
+ */
2236
+ export interface GitlabApiInterface {
2237
+ /**
2238
+ *
2239
+ * @summary Device Add Gitlab Repo
2240
+ * @param {string} deviceId
2241
+ * @param {string} glProjectUrl
2242
+ * @param {*} [options] Override http request option.
2243
+ * @throws {RequiredError}
2244
+ * @memberof GitlabApiInterface
2245
+ */
2246
+ deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2247
+ }
2248
+ /**
2249
+ * GitlabApi - object-oriented interface
2250
+ * @export
2251
+ * @class GitlabApi
2252
+ * @extends {BaseAPI}
2253
+ */
2254
+ export declare class GitlabApi extends BaseAPI implements GitlabApiInterface {
2255
+ /**
2256
+ *
2257
+ * @summary Device Add Gitlab Repo
2258
+ * @param {string} deviceId
2259
+ * @param {string} glProjectUrl
2260
+ * @param {*} [options] Override http request option.
2261
+ * @throws {RequiredError}
2262
+ * @memberof GitlabApi
2263
+ */
2264
+ deviceAddGitlabRepoGitlabDeviceDeviceIdGitlabPost(deviceId: string, glProjectUrl: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2265
+ }
2266
+ /**
2267
+ * InternalApi - axios parameter creator
2268
+ * @export
2269
+ */
2270
+ export declare const InternalApiAxiosParamCreator: (configuration?: Configuration) => {
2271
+ /**
2272
+ * Change the password for a user.
2273
+ * @summary Change Password
2274
+ * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2275
+ * @param {*} [options] Override http request option.
2276
+ * @throws {RequiredError}
2277
+ */
2278
+ changePasswordProfileChangePasswordPost: (bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2279
+ /**
2280
+ * Delete release
2281
+ * @summary Del Release
2282
+ * @param {any} releaseId
2283
+ * @param {*} [options] Override http request option.
2284
+ * @throws {RequiredError}
2285
+ */
2286
+ delReleaseInternalReleasesReleaseIdDelete: (releaseId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2287
+ /**
2288
+ *
2289
+ * @summary Delete User
2290
+ * @param {any} userId
2291
+ * @param {*} [options] Override http request option.
2292
+ * @throws {RequiredError}
2293
+ */
2294
+ deleteUserInternalUsersUserIdDelete: (userId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2295
+ /**
2296
+ * Edit Release information
2297
+ * @summary Edit Release
2298
+ * @param {any} releaseId
2299
+ * @param {ReleaseUpdateBody} releaseUpdateBody
2300
+ * @param {*} [options] Override http request option.
2301
+ * @throws {RequiredError}
2302
+ */
2303
+ editReleaseInternalReleasesReleaseIdPut: (releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2304
+ /**
2305
+ *
2306
+ * @summary Get Device Info
2307
+ * @param {any} deviceId
2308
+ * @param {*} [options] Override http request option.
2309
+ * @throws {RequiredError}
2310
+ */
2311
+ getDeviceInfoInternalDevicesDeviceIdGet: (deviceId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2312
+ /**
2313
+ * Get a paginated list of logs with optional filtering.
2314
+ * @summary Get Logs
2315
+ * @param {number} [page]
2316
+ * @param {number} [perPage]
2317
+ * @param { | null} [deviceId]
2318
+ * @param { | null} [releaseId]
2319
+ * @param { | null} [userId]
2320
+ * @param {boolean | null} [hideVerbose]
2321
+ * @param {*} [options] Override http request option.
2322
+ * @throws {RequiredError}
2323
+ */
2324
+ getLogsInternalLogsGet: (page?: number, perPage?: number, deviceId?: null, releaseId?: null, userId?: null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2325
+ /**
2326
+ * Get release information
2327
+ * @summary Get Release Info
2328
+ * @param {any} releaseId
2329
+ * @param {*} [options] Override http request option.
2330
+ * @throws {RequiredError}
2331
+ */
2332
+ getReleaseInfoInternalReleasesReleaseIdGet: (releaseId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2333
+ /**
2334
+ * Download release ZIP directly
2335
+ * @summary Get Release Zip
2336
+ * @param {any} releaseId
2337
+ * @param {*} [options] Override http request option.
2338
+ * @throws {RequiredError}
2339
+ */
2340
+ getReleaseZipInternalReleasesReleaseIdDlGet: (releaseId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2341
+ /**
2342
+ *
2343
+ * @summary Get User By Id
2344
+ * @param {string} userId
2345
+ * @param {*} [options] Override http request option.
2346
+ * @throws {RequiredError}
2347
+ */
2348
+ getUserByIdInternalUsersUserIdGet: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2349
+ /**
2350
+ *
2351
+ * @summary List Users
2352
+ * @param {*} [options] Override http request option.
2353
+ * @throws {RequiredError}
2354
+ */
2355
+ listUsersInternalUsersGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2356
+ /**
2357
+ * OAuth2 compatible token login, get an access token for future requests
2358
+ * @summary Login Oauth
2359
+ * @param {string} username
2360
+ * @param {string} password
2361
+ * @param {number} [minTime]
2362
+ * @param {number} [maxTime]
2363
+ * @param {string | null} [grantType]
2364
+ * @param {string} [scope]
2365
+ * @param {string | null} [clientId]
2366
+ * @param {string | null} [clientSecret]
2367
+ * @param {*} [options] Override http request option.
2368
+ * @throws {RequiredError}
2369
+ */
2370
+ loginOauthAuthLoginPost: (username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2371
+ /**
2372
+ *
2373
+ * @summary Logout
2374
+ * @param {string} body
2375
+ * @param {*} [options] Override http request option.
2376
+ * @throws {RequiredError}
2377
+ */
2378
+ logoutAuthLogoutPost: (body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2379
+ /**
2380
+ *
2381
+ * @summary New Device
2382
+ * @param {NewDeviceBody} newDeviceBody
2383
+ * @param {*} [options] Override http request option.
2384
+ * @throws {RequiredError}
2385
+ */
2386
+ newDeviceInternalDevicesPost: (newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2387
+ /**
2388
+ *
2389
+ * @summary New Release
2390
+ * @param {any} deviceId
2391
+ * @param {File} releaseZip
2392
+ * @param {string} md5
2393
+ * @param {Array<string>} changelog
2394
+ * @param {Array<string>} [bugs]
2395
+ * @param {string | null} [notes]
2396
+ * @param {boolean} [force]
2397
+ * @param {*} [options] Override http request option.
2398
+ * @throws {RequiredError}
2399
+ */
2400
+ newReleaseInternalReleasesPost: (deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2401
+ /**
2402
+ *
2403
+ * @summary Renew
2404
+ * @param {string} body
2405
+ * @param {*} [options] Override http request option.
2406
+ * @throws {RequiredError}
2407
+ */
2408
+ renewAuthRenewPost: (body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2409
+ /**
2410
+ *
2411
+ * @summary Update Device
2412
+ * @param {any} deviceId
2413
+ * @param {DeviceUpdateBody} deviceUpdateBody
2414
+ * @param {*} [options] Override http request option.
2415
+ * @throws {RequiredError}
2416
+ */
2417
+ updateDeviceInternalDevicesDeviceIdPut: (deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2418
+ /**
2419
+ *
2420
+ * @summary Update User
2421
+ * @param {any} userId
2422
+ * @param {UserUpdateBody} userUpdateBody
2423
+ * @param {*} [options] Override http request option.
2424
+ * @throws {RequiredError}
2425
+ */
2426
+ updateUserInternalUsersUserIdPut: (userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2427
+ };
2428
+ /**
2429
+ * InternalApi - functional programming interface
2430
+ * @export
2431
+ */
2432
+ export declare const InternalApiFp: (configuration?: Configuration) => {
2433
+ /**
2434
+ * Change the password for a user.
2435
+ * @summary Change Password
2436
+ * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2437
+ * @param {*} [options] Override http request option.
2438
+ * @throws {RequiredError}
2439
+ */
2440
+ changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2441
+ /**
2442
+ * Delete release
2443
+ * @summary Del Release
2444
+ * @param {any} releaseId
2445
+ * @param {*} [options] Override http request option.
2446
+ * @throws {RequiredError}
2447
+ */
2448
+ delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2449
+ /**
2450
+ *
2451
+ * @summary Delete User
2452
+ * @param {any} userId
2453
+ * @param {*} [options] Override http request option.
2454
+ * @throws {RequiredError}
2455
+ */
2456
+ deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2457
+ /**
2458
+ * Edit Release information
2459
+ * @summary Edit Release
2460
+ * @param {any} releaseId
2461
+ * @param {ReleaseUpdateBody} releaseUpdateBody
2462
+ * @param {*} [options] Override http request option.
2463
+ * @throws {RequiredError}
2464
+ */
2465
+ editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2466
+ /**
2467
+ *
2468
+ * @summary Get Device Info
2469
+ * @param {any} deviceId
2470
+ * @param {*} [options] Override http request option.
2471
+ * @throws {RequiredError}
2472
+ */
2473
+ getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInternalResponse>>;
2474
+ /**
2475
+ * Get a paginated list of logs with optional filtering.
2476
+ * @summary Get Logs
2477
+ * @param {number} [page]
2478
+ * @param {number} [perPage]
2479
+ * @param { | null} [deviceId]
2480
+ * @param { | null} [releaseId]
2481
+ * @param { | null} [userId]
2482
+ * @param {boolean | null} [hideVerbose]
2483
+ * @param {*} [options] Override http request option.
2484
+ * @throws {RequiredError}
2485
+ */
2486
+ getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: null, releaseId?: null, userId?: null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogListResponse>>;
2487
+ /**
2488
+ * Get release information
2489
+ * @summary Get Release Info
2490
+ * @param {any} releaseId
2491
+ * @param {*} [options] Override http request option.
2492
+ * @throws {RequiredError}
2493
+ */
2494
+ getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseInternalResponse>>;
2495
+ /**
2496
+ * Download release ZIP directly
2497
+ * @summary Get Release Zip
2498
+ * @param {any} releaseId
2499
+ * @param {*} [options] Override http request option.
2500
+ * @throws {RequiredError}
2501
+ */
2502
+ getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2503
+ /**
2504
+ *
2505
+ * @summary Get User By Id
2506
+ * @param {string} userId
2507
+ * @param {*} [options] Override http request option.
2508
+ * @throws {RequiredError}
2509
+ */
2510
+ getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInternalResponse>>;
2511
+ /**
2512
+ *
2513
+ * @summary List Users
2514
+ * @param {*} [options] Override http request option.
2515
+ * @throws {RequiredError}
2516
+ */
2517
+ listUsersInternalUsersGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseUserShortResponse>>;
2518
+ /**
2519
+ * OAuth2 compatible token login, get an access token for future requests
2520
+ * @summary Login Oauth
2521
+ * @param {string} username
2522
+ * @param {string} password
2523
+ * @param {number} [minTime]
2524
+ * @param {number} [maxTime]
2525
+ * @param {string | null} [grantType]
2526
+ * @param {string} [scope]
2527
+ * @param {string | null} [clientId]
2528
+ * @param {string | null} [clientSecret]
2529
+ * @param {*} [options] Override http request option.
2530
+ * @throws {RequiredError}
2531
+ */
2532
+ loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenResponse>>;
2533
+ /**
2534
+ *
2535
+ * @summary Logout
2536
+ * @param {string} body
2537
+ * @param {*} [options] Override http request option.
2538
+ * @throws {RequiredError}
2539
+ */
2540
+ logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2541
+ /**
2542
+ *
2543
+ * @summary New Device
2544
+ * @param {NewDeviceBody} newDeviceBody
2545
+ * @param {*} [options] Override http request option.
2546
+ * @throws {RequiredError}
2547
+ */
2548
+ newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
2549
+ /**
2550
+ *
2551
+ * @summary New Release
2552
+ * @param {any} deviceId
2553
+ * @param {File} releaseZip
2554
+ * @param {string} md5
2555
+ * @param {Array<string>} changelog
2556
+ * @param {Array<string>} [bugs]
2557
+ * @param {string | null} [notes]
2558
+ * @param {boolean} [force]
2559
+ * @param {*} [options] Override http request option.
2560
+ * @throws {RequiredError}
2561
+ */
2562
+ newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
2563
+ /**
2564
+ *
2565
+ * @summary Renew
2566
+ * @param {string} body
2567
+ * @param {*} [options] Override http request option.
2568
+ * @throws {RequiredError}
2569
+ */
2570
+ renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
2571
+ /**
2572
+ *
2573
+ * @summary Update Device
2574
+ * @param {any} deviceId
2575
+ * @param {DeviceUpdateBody} deviceUpdateBody
2576
+ * @param {*} [options] Override http request option.
2577
+ * @throws {RequiredError}
2578
+ */
2579
+ updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2580
+ /**
2581
+ *
2582
+ * @summary Update User
2583
+ * @param {any} userId
2584
+ * @param {UserUpdateBody} userUpdateBody
2585
+ * @param {*} [options] Override http request option.
2586
+ * @throws {RequiredError}
2587
+ */
2588
+ updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
2589
+ };
2590
+ /**
2591
+ * InternalApi - factory interface
2592
+ * @export
2593
+ */
2594
+ export declare const InternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2595
+ /**
2596
+ * Change the password for a user.
2597
+ * @summary Change Password
2598
+ * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2599
+ * @param {*} [options] Override http request option.
2600
+ * @throws {RequiredError}
2601
+ */
2602
+ changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2603
+ /**
2604
+ * Delete release
2605
+ * @summary Del Release
2606
+ * @param {any} releaseId
2607
+ * @param {*} [options] Override http request option.
2608
+ * @throws {RequiredError}
2609
+ */
2610
+ delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2611
+ /**
2612
+ *
2613
+ * @summary Delete User
2614
+ * @param {any} userId
2615
+ * @param {*} [options] Override http request option.
2616
+ * @throws {RequiredError}
2617
+ */
2618
+ deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2619
+ /**
2620
+ * Edit Release information
2621
+ * @summary Edit Release
2622
+ * @param {any} releaseId
2623
+ * @param {ReleaseUpdateBody} releaseUpdateBody
2624
+ * @param {*} [options] Override http request option.
2625
+ * @throws {RequiredError}
2626
+ */
2627
+ editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2628
+ /**
2629
+ *
2630
+ * @summary Get Device Info
2631
+ * @param {any} deviceId
2632
+ * @param {*} [options] Override http request option.
2633
+ * @throws {RequiredError}
2634
+ */
2635
+ getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse>;
2636
+ /**
2637
+ * Get a paginated list of logs with optional filtering.
2638
+ * @summary Get Logs
2639
+ * @param {number} [page]
2640
+ * @param {number} [perPage]
2641
+ * @param { | null} [deviceId]
2642
+ * @param { | null} [releaseId]
2643
+ * @param { | null} [userId]
2644
+ * @param {boolean | null} [hideVerbose]
2645
+ * @param {*} [options] Override http request option.
2646
+ * @throws {RequiredError}
2647
+ */
2648
+ getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: null, releaseId?: null, userId?: null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse>;
2649
+ /**
2650
+ * Get release information
2651
+ * @summary Get Release Info
2652
+ * @param {any} releaseId
2653
+ * @param {*} [options] Override http request option.
2654
+ * @throws {RequiredError}
2655
+ */
2656
+ getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse>;
2657
+ /**
2658
+ * Download release ZIP directly
2659
+ * @summary Get Release Zip
2660
+ * @param {any} releaseId
2661
+ * @param {*} [options] Override http request option.
2662
+ * @throws {RequiredError}
2663
+ */
2664
+ getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2665
+ /**
2666
+ *
2667
+ * @summary Get User By Id
2668
+ * @param {string} userId
2669
+ * @param {*} [options] Override http request option.
2670
+ * @throws {RequiredError}
2671
+ */
2672
+ getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<UserInternalResponse>;
2673
+ /**
2674
+ *
2675
+ * @summary List Users
2676
+ * @param {*} [options] Override http request option.
2677
+ * @throws {RequiredError}
2678
+ */
2679
+ listUsersInternalUsersGet(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseUserShortResponse>;
2680
+ /**
2681
+ * OAuth2 compatible token login, get an access token for future requests
2682
+ * @summary Login Oauth
2683
+ * @param {string} username
2684
+ * @param {string} password
2685
+ * @param {number} [minTime]
2686
+ * @param {number} [maxTime]
2687
+ * @param {string | null} [grantType]
2688
+ * @param {string} [scope]
2689
+ * @param {string | null} [clientId]
2690
+ * @param {string | null} [clientSecret]
2691
+ * @param {*} [options] Override http request option.
2692
+ * @throws {RequiredError}
2693
+ */
2694
+ loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponse>;
2695
+ /**
2696
+ *
2697
+ * @summary Logout
2698
+ * @param {string} body
2699
+ * @param {*} [options] Override http request option.
2700
+ * @throws {RequiredError}
2701
+ */
2702
+ logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2703
+ /**
2704
+ *
2705
+ * @summary New Device
2706
+ * @param {NewDeviceBody} newDeviceBody
2707
+ * @param {*} [options] Override http request option.
2708
+ * @throws {RequiredError}
2709
+ */
2710
+ newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): AxiosPromise<string>;
2711
+ /**
2712
+ *
2713
+ * @summary New Release
2714
+ * @param {any} deviceId
2715
+ * @param {File} releaseZip
2716
+ * @param {string} md5
2717
+ * @param {Array<string>} changelog
2718
+ * @param {Array<string>} [bugs]
2719
+ * @param {string | null} [notes]
2720
+ * @param {boolean} [force]
2721
+ * @param {*} [options] Override http request option.
2722
+ * @throws {RequiredError}
2723
+ */
2724
+ newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
2725
+ /**
2726
+ *
2727
+ * @summary Renew
2728
+ * @param {string} body
2729
+ * @param {*} [options] Override http request option.
2730
+ * @throws {RequiredError}
2731
+ */
2732
+ renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
2733
+ /**
2734
+ *
2735
+ * @summary Update Device
2736
+ * @param {any} deviceId
2737
+ * @param {DeviceUpdateBody} deviceUpdateBody
2738
+ * @param {*} [options] Override http request option.
2739
+ * @throws {RequiredError}
2740
+ */
2741
+ updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2742
+ /**
2743
+ *
2744
+ * @summary Update User
2745
+ * @param {any} userId
2746
+ * @param {UserUpdateBody} userUpdateBody
2747
+ * @param {*} [options] Override http request option.
2748
+ * @throws {RequiredError}
2749
+ */
2750
+ updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2751
+ };
2752
+ /**
2753
+ * InternalApi - interface
2754
+ * @export
2755
+ * @interface InternalApi
2756
+ */
2757
+ export interface InternalApiInterface {
2758
+ /**
2759
+ * Change the password for a user.
2760
+ * @summary Change Password
2761
+ * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2762
+ * @param {*} [options] Override http request option.
2763
+ * @throws {RequiredError}
2764
+ * @memberof InternalApiInterface
2765
+ */
2766
+ changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2767
+ /**
2768
+ * Delete release
2769
+ * @summary Del Release
2770
+ * @param {any} releaseId
2771
+ * @param {*} [options] Override http request option.
2772
+ * @throws {RequiredError}
2773
+ * @memberof InternalApiInterface
2774
+ */
2775
+ delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2776
+ /**
2777
+ *
2778
+ * @summary Delete User
2779
+ * @param {any} userId
2780
+ * @param {*} [options] Override http request option.
2781
+ * @throws {RequiredError}
2782
+ * @memberof InternalApiInterface
2783
+ */
2784
+ deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2785
+ /**
2786
+ * Edit Release information
2787
+ * @summary Edit Release
2788
+ * @param {any} releaseId
2789
+ * @param {ReleaseUpdateBody} releaseUpdateBody
2790
+ * @param {*} [options] Override http request option.
2791
+ * @throws {RequiredError}
2792
+ * @memberof InternalApiInterface
2793
+ */
2794
+ editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2795
+ /**
2796
+ *
2797
+ * @summary Get Device Info
2798
+ * @param {any} deviceId
2799
+ * @param {*} [options] Override http request option.
2800
+ * @throws {RequiredError}
2801
+ * @memberof InternalApiInterface
2802
+ */
2803
+ getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse>;
2804
+ /**
2805
+ * Get a paginated list of logs with optional filtering.
2806
+ * @summary Get Logs
2807
+ * @param {number} [page]
2808
+ * @param {number} [perPage]
2809
+ * @param { | null} [deviceId]
2810
+ * @param { | null} [releaseId]
2811
+ * @param { | null} [userId]
2812
+ * @param {boolean | null} [hideVerbose]
2813
+ * @param {*} [options] Override http request option.
2814
+ * @throws {RequiredError}
2815
+ * @memberof InternalApiInterface
2816
+ */
2817
+ getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: null, releaseId?: null, userId?: null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse>;
2818
+ /**
2819
+ * Get release information
2820
+ * @summary Get Release Info
2821
+ * @param {any} releaseId
2822
+ * @param {*} [options] Override http request option.
2823
+ * @throws {RequiredError}
2824
+ * @memberof InternalApiInterface
2825
+ */
2826
+ getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse>;
2827
+ /**
2828
+ * Download release ZIP directly
2829
+ * @summary Get Release Zip
2830
+ * @param {any} releaseId
2831
+ * @param {*} [options] Override http request option.
2832
+ * @throws {RequiredError}
2833
+ * @memberof InternalApiInterface
2834
+ */
2835
+ getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2836
+ /**
2837
+ *
2838
+ * @summary Get User By Id
2839
+ * @param {string} userId
2840
+ * @param {*} [options] Override http request option.
2841
+ * @throws {RequiredError}
2842
+ * @memberof InternalApiInterface
2843
+ */
2844
+ getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<UserInternalResponse>;
2845
+ /**
2846
+ *
2847
+ * @summary List Users
2848
+ * @param {*} [options] Override http request option.
2849
+ * @throws {RequiredError}
2850
+ * @memberof InternalApiInterface
2851
+ */
2852
+ listUsersInternalUsersGet(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseUserShortResponse>;
2853
+ /**
2854
+ * OAuth2 compatible token login, get an access token for future requests
2855
+ * @summary Login Oauth
2856
+ * @param {string} username
2857
+ * @param {string} password
2858
+ * @param {number} [minTime]
2859
+ * @param {number} [maxTime]
2860
+ * @param {string | null} [grantType]
2861
+ * @param {string} [scope]
2862
+ * @param {string | null} [clientId]
2863
+ * @param {string | null} [clientSecret]
2864
+ * @param {*} [options] Override http request option.
2865
+ * @throws {RequiredError}
2866
+ * @memberof InternalApiInterface
2867
+ */
2868
+ loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<TokenResponse>;
2869
+ /**
2870
+ *
2871
+ * @summary Logout
2872
+ * @param {string} body
2873
+ * @param {*} [options] Override http request option.
2874
+ * @throws {RequiredError}
2875
+ * @memberof InternalApiInterface
2876
+ */
2877
+ logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2878
+ /**
2879
+ *
2880
+ * @summary New Device
2881
+ * @param {NewDeviceBody} newDeviceBody
2882
+ * @param {*} [options] Override http request option.
2883
+ * @throws {RequiredError}
2884
+ * @memberof InternalApiInterface
2885
+ */
2886
+ newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): AxiosPromise<string>;
2887
+ /**
2888
+ *
2889
+ * @summary New Release
2890
+ * @param {any} deviceId
2891
+ * @param {File} releaseZip
2892
+ * @param {string} md5
2893
+ * @param {Array<string>} changelog
2894
+ * @param {Array<string>} [bugs]
2895
+ * @param {string | null} [notes]
2896
+ * @param {boolean} [force]
2897
+ * @param {*} [options] Override http request option.
2898
+ * @throws {RequiredError}
2899
+ * @memberof InternalApiInterface
2900
+ */
2901
+ newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
2902
+ /**
2903
+ *
2904
+ * @summary Renew
2905
+ * @param {string} body
2906
+ * @param {*} [options] Override http request option.
2907
+ * @throws {RequiredError}
2908
+ * @memberof InternalApiInterface
2909
+ */
2910
+ renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
2911
+ /**
2912
+ *
2913
+ * @summary Update Device
2914
+ * @param {any} deviceId
2915
+ * @param {DeviceUpdateBody} deviceUpdateBody
2916
+ * @param {*} [options] Override http request option.
2917
+ * @throws {RequiredError}
2918
+ * @memberof InternalApiInterface
2919
+ */
2920
+ updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2921
+ /**
2922
+ *
2923
+ * @summary Update User
2924
+ * @param {any} userId
2925
+ * @param {UserUpdateBody} userUpdateBody
2926
+ * @param {*} [options] Override http request option.
2927
+ * @throws {RequiredError}
2928
+ * @memberof InternalApiInterface
2929
+ */
2930
+ updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2931
+ }
2932
+ /**
2933
+ * InternalApi - object-oriented interface
2934
+ * @export
2935
+ * @class InternalApi
2936
+ * @extends {BaseAPI}
2937
+ */
2938
+ export declare class InternalApi extends BaseAPI implements InternalApiInterface {
2939
+ /**
2940
+ * Change the password for a user.
2941
+ * @summary Change Password
2942
+ * @param {BodyChangePasswordProfileChangePasswordPost} bodyChangePasswordProfileChangePasswordPost
2943
+ * @param {*} [options] Override http request option.
2944
+ * @throws {RequiredError}
2945
+ * @memberof InternalApi
2946
+ */
2947
+ changePasswordProfileChangePasswordPost(bodyChangePasswordProfileChangePasswordPost: BodyChangePasswordProfileChangePasswordPost, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2948
+ /**
2949
+ * Delete release
2950
+ * @summary Del Release
2951
+ * @param {any} releaseId
2952
+ * @param {*} [options] Override http request option.
2953
+ * @throws {RequiredError}
2954
+ * @memberof InternalApi
2955
+ */
2956
+ delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2957
+ /**
2958
+ *
2959
+ * @summary Delete User
2960
+ * @param {any} userId
2961
+ * @param {*} [options] Override http request option.
2962
+ * @throws {RequiredError}
2963
+ * @memberof InternalApi
2964
+ */
2965
+ deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2966
+ /**
2967
+ * Edit Release information
2968
+ * @summary Edit Release
2969
+ * @param {any} releaseId
2970
+ * @param {ReleaseUpdateBody} releaseUpdateBody
2971
+ * @param {*} [options] Override http request option.
2972
+ * @throws {RequiredError}
2973
+ * @memberof InternalApi
2974
+ */
2975
+ editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
2976
+ /**
2977
+ *
2978
+ * @summary Get Device Info
2979
+ * @param {any} deviceId
2980
+ * @param {*} [options] Override http request option.
2981
+ * @throws {RequiredError}
2982
+ * @memberof InternalApi
2983
+ */
2984
+ getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceInternalResponse, any>>;
2985
+ /**
2986
+ * Get a paginated list of logs with optional filtering.
2987
+ * @summary Get Logs
2988
+ * @param {number} [page]
2989
+ * @param {number} [perPage]
2990
+ * @param { | null} [deviceId]
2991
+ * @param { | null} [releaseId]
2992
+ * @param { | null} [userId]
2993
+ * @param {boolean | null} [hideVerbose]
2994
+ * @param {*} [options] Override http request option.
2995
+ * @throws {RequiredError}
2996
+ * @memberof InternalApi
2997
+ */
2998
+ getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: null, releaseId?: null, userId?: null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LogListResponse, any>>;
2999
+ /**
3000
+ * Get release information
3001
+ * @summary Get Release Info
3002
+ * @param {any} releaseId
3003
+ * @param {*} [options] Override http request option.
3004
+ * @throws {RequiredError}
3005
+ * @memberof InternalApi
3006
+ */
3007
+ getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseInternalResponse, any>>;
3008
+ /**
3009
+ * Download release ZIP directly
3010
+ * @summary Get Release Zip
3011
+ * @param {any} releaseId
3012
+ * @param {*} [options] Override http request option.
3013
+ * @throws {RequiredError}
3014
+ * @memberof InternalApi
3015
+ */
3016
+ getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3017
+ /**
3018
+ *
3019
+ * @summary Get User By Id
3020
+ * @param {string} userId
3021
+ * @param {*} [options] Override http request option.
3022
+ * @throws {RequiredError}
3023
+ * @memberof InternalApi
3024
+ */
3025
+ getUserByIdInternalUsersUserIdGet(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserInternalResponse, any>>;
3026
+ /**
3027
+ *
3028
+ * @summary List Users
3029
+ * @param {*} [options] Override http request option.
3030
+ * @throws {RequiredError}
3031
+ * @memberof InternalApi
3032
+ */
3033
+ listUsersInternalUsersGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseUserShortResponse, any>>;
3034
+ /**
3035
+ * OAuth2 compatible token login, get an access token for future requests
3036
+ * @summary Login Oauth
3037
+ * @param {string} username
3038
+ * @param {string} password
3039
+ * @param {number} [minTime]
3040
+ * @param {number} [maxTime]
3041
+ * @param {string | null} [grantType]
3042
+ * @param {string} [scope]
3043
+ * @param {string | null} [clientId]
3044
+ * @param {string | null} [clientSecret]
3045
+ * @param {*} [options] Override http request option.
3046
+ * @throws {RequiredError}
3047
+ * @memberof InternalApi
3048
+ */
3049
+ loginOauthAuthLoginPost(username: string, password: string, minTime?: number, maxTime?: number, grantType?: string | null, scope?: string, clientId?: string | null, clientSecret?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TokenResponse, any>>;
3050
+ /**
3051
+ *
3052
+ * @summary Logout
3053
+ * @param {string} body
3054
+ * @param {*} [options] Override http request option.
3055
+ * @throws {RequiredError}
3056
+ * @memberof InternalApi
3057
+ */
3058
+ logoutAuthLogoutPost(body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3059
+ /**
3060
+ *
3061
+ * @summary New Device
3062
+ * @param {NewDeviceBody} newDeviceBody
3063
+ * @param {*} [options] Override http request option.
3064
+ * @throws {RequiredError}
3065
+ * @memberof InternalApi
3066
+ */
3067
+ newDeviceInternalDevicesPost(newDeviceBody: NewDeviceBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
3068
+ /**
3069
+ *
3070
+ * @summary New Release
3071
+ * @param {any} deviceId
3072
+ * @param {File} releaseZip
3073
+ * @param {string} md5
3074
+ * @param {Array<string>} changelog
3075
+ * @param {Array<string>} [bugs]
3076
+ * @param {string | null} [notes]
3077
+ * @param {boolean} [force]
3078
+ * @param {*} [options] Override http request option.
3079
+ * @throws {RequiredError}
3080
+ * @memberof InternalApi
3081
+ */
3082
+ newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
3083
+ /**
3084
+ *
3085
+ * @summary Renew
3086
+ * @param {string} body
3087
+ * @param {*} [options] Override http request option.
3088
+ * @throws {RequiredError}
3089
+ * @memberof InternalApi
3090
+ */
3091
+ renewAuthRenewPost(body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
3092
+ /**
3093
+ *
3094
+ * @summary Update Device
3095
+ * @param {any} deviceId
3096
+ * @param {DeviceUpdateBody} deviceUpdateBody
3097
+ * @param {*} [options] Override http request option.
3098
+ * @throws {RequiredError}
3099
+ * @memberof InternalApi
3100
+ */
3101
+ updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3102
+ /**
3103
+ *
3104
+ * @summary Update User
3105
+ * @param {any} userId
3106
+ * @param {UserUpdateBody} userUpdateBody
3107
+ * @param {*} [options] Override http request option.
3108
+ * @throws {RequiredError}
3109
+ * @memberof InternalApi
3110
+ */
3111
+ updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
3112
+ }
3113
+ /**
3114
+ * ReleaseApi - axios parameter creator
3115
+ * @export
3116
+ */
3117
+ export declare const ReleaseApiAxiosParamCreator: (configuration?: Configuration) => {
3118
+ /**
3119
+ * 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!
3120
+ * @summary Get Release
3121
+ * @param { | null} [releaseId] Release ID
3122
+ * @param { | null} [id] Release ID (deprecated)
3123
+ * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3124
+ * @param {string | null} [filename]
3125
+ * @param {*} [options] Override http request option.
3126
+ * @throws {RequiredError}
3127
+ */
3128
+ getRelease: (releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3129
+ /**
3130
+ * Gets release information using the release ID, nothing to discuss really.
3131
+ * @summary Get Release Short
3132
+ * @param {any} releaseId
3133
+ * @param {*} [options] Override http request option.
3134
+ * @deprecated
3135
+ * @throws {RequiredError}
3136
+ */
3137
+ getReleaseDeprecated: (releaseId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3138
+ /**
3139
+ * 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.
3140
+ * @summary Get Releases
3141
+ * @param {Array<any>} [id] Filter by Release IDs
3142
+ * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
3143
+ * @param {Array<string>} [buildId] Filter by Build IDs
3144
+ * @param {Array<any>} [deviceId] Filter by Device IDs
3145
+ * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
3146
+ * @param {Array<string>} [codename] Filter by device codenames
3147
+ * @param {Array<string>} [version] Filter by release version
3148
+ * @param {Array<ReleaseType>} [type] Filter by release type
3149
+ * @param {boolean | null} [archived] Filter by the archived status
3150
+ * @param {boolean | null} [freezed] Filter by the freezed status
3151
+ * @param { | null} [afterReleaseId] Show releases after the provided one
3152
+ * @param {number | null} [afterDate] Show releases after the provided timestamp
3153
+ * @param {ReleasesSort} [sort] Sort mode
3154
+ * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3155
+ * @param {number | null} [skip] Skip query results
3156
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3157
+ * @param {*} [options] Override http request option.
3158
+ * @throws {RequiredError}
3159
+ */
3160
+ getReleases: (id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3161
+ /**
3162
+ * 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!
3163
+ * @summary Get Updates
3164
+ * @param {any} lastKnownId
3165
+ * @param {Array<any>} [deviceId] Filter by device ID
3166
+ * @param {Array<ReleaseType>} [type] Filter by release type
3167
+ * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3168
+ * @param {number | null} [skip] Skip query results
3169
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3170
+ * @param {*} [options] Override http request option.
3171
+ * @deprecated
3172
+ * @throws {RequiredError}
3173
+ */
3174
+ getUpdatesDeprecated: (lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3175
+ };
3176
+ /**
3177
+ * ReleaseApi - functional programming interface
3178
+ * @export
3179
+ */
3180
+ export declare const ReleaseApiFp: (configuration?: Configuration) => {
3181
+ /**
3182
+ * 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!
3183
+ * @summary Get Release
3184
+ * @param { | null} [releaseId] Release ID
3185
+ * @param { | null} [id] Release ID (deprecated)
3186
+ * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3187
+ * @param {string | null} [filename]
3188
+ * @param {*} [options] Override http request option.
3189
+ * @throws {RequiredError}
3190
+ */
3191
+ getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
3192
+ /**
3193
+ * Gets release information using the release ID, nothing to discuss really.
3194
+ * @summary Get Release Short
3195
+ * @param {any} releaseId
3196
+ * @param {*} [options] Override http request option.
3197
+ * @deprecated
3198
+ * @throws {RequiredError}
3199
+ */
3200
+ getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
3201
+ /**
3202
+ * 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.
3203
+ * @summary Get Releases
3204
+ * @param {Array<any>} [id] Filter by Release IDs
3205
+ * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
3206
+ * @param {Array<string>} [buildId] Filter by Build IDs
3207
+ * @param {Array<any>} [deviceId] Filter by Device IDs
3208
+ * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
3209
+ * @param {Array<string>} [codename] Filter by device codenames
3210
+ * @param {Array<string>} [version] Filter by release version
3211
+ * @param {Array<ReleaseType>} [type] Filter by release type
3212
+ * @param {boolean | null} [archived] Filter by the archived status
3213
+ * @param {boolean | null} [freezed] Filter by the freezed status
3214
+ * @param { | null} [afterReleaseId] Show releases after the provided one
3215
+ * @param {number | null} [afterDate] Show releases after the provided timestamp
3216
+ * @param {ReleasesSort} [sort] Sort mode
3217
+ * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3218
+ * @param {number | null} [skip] Skip query results
3219
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3220
+ * @param {*} [options] Override http request option.
3221
+ * @throws {RequiredError}
3222
+ */
3223
+ getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetReleases>>;
3224
+ /**
3225
+ * 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!
3226
+ * @summary Get Updates
3227
+ * @param {any} lastKnownId
3228
+ * @param {Array<any>} [deviceId] Filter by device ID
3229
+ * @param {Array<ReleaseType>} [type] Filter by release type
3230
+ * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3231
+ * @param {number | null} [skip] Skip query results
3232
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3233
+ * @param {*} [options] Override http request option.
3234
+ * @deprecated
3235
+ * @throws {RequiredError}
3236
+ */
3237
+ getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortReleaseResponse>>;
3238
+ };
3239
+ /**
3240
+ * ReleaseApi - factory interface
3241
+ * @export
3242
+ */
3243
+ export declare const ReleaseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3244
+ /**
3245
+ * 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!
3246
+ * @summary Get Release
3247
+ * @param { | null} [releaseId] Release ID
3248
+ * @param { | null} [id] Release ID (deprecated)
3249
+ * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3250
+ * @param {string | null} [filename]
3251
+ * @param {*} [options] Override http request option.
3252
+ * @throws {RequiredError}
3253
+ */
3254
+ getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3255
+ /**
3256
+ * Gets release information using the release ID, nothing to discuss really.
3257
+ * @summary Get Release Short
3258
+ * @param {any} releaseId
3259
+ * @param {*} [options] Override http request option.
3260
+ * @deprecated
3261
+ * @throws {RequiredError}
3262
+ */
3263
+ getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3264
+ /**
3265
+ * 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.
3266
+ * @summary Get Releases
3267
+ * @param {Array<any>} [id] Filter by Release IDs
3268
+ * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
3269
+ * @param {Array<string>} [buildId] Filter by Build IDs
3270
+ * @param {Array<any>} [deviceId] Filter by Device IDs
3271
+ * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
3272
+ * @param {Array<string>} [codename] Filter by device codenames
3273
+ * @param {Array<string>} [version] Filter by release version
3274
+ * @param {Array<ReleaseType>} [type] Filter by release type
3275
+ * @param {boolean | null} [archived] Filter by the archived status
3276
+ * @param {boolean | null} [freezed] Filter by the freezed status
3277
+ * @param { | null} [afterReleaseId] Show releases after the provided one
3278
+ * @param {number | null} [afterDate] Show releases after the provided timestamp
3279
+ * @param {ReleasesSort} [sort] Sort mode
3280
+ * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3281
+ * @param {number | null} [skip] Skip query results
3282
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3283
+ * @param {*} [options] Override http request option.
3284
+ * @throws {RequiredError}
3285
+ */
3286
+ getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
3287
+ /**
3288
+ * 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!
3289
+ * @summary Get Updates
3290
+ * @param {any} lastKnownId
3291
+ * @param {Array<any>} [deviceId] Filter by device ID
3292
+ * @param {Array<ReleaseType>} [type] Filter by release type
3293
+ * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3294
+ * @param {number | null} [skip] Skip query results
3295
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3296
+ * @param {*} [options] Override http request option.
3297
+ * @deprecated
3298
+ * @throws {RequiredError}
3299
+ */
3300
+ getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
3301
+ };
3302
+ /**
3303
+ * ReleaseApi - interface
3304
+ * @export
3305
+ * @interface ReleaseApi
3306
+ */
3307
+ export interface ReleaseApiInterface {
3308
+ /**
3309
+ * 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!
3310
+ * @summary Get Release
3311
+ * @param { | null} [releaseId] Release ID
3312
+ * @param { | null} [id] Release ID (deprecated)
3313
+ * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3314
+ * @param {string | null} [filename]
3315
+ * @param {*} [options] Override http request option.
3316
+ * @throws {RequiredError}
3317
+ * @memberof ReleaseApiInterface
3318
+ */
3319
+ getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3320
+ /**
3321
+ * Gets release information using the release ID, nothing to discuss really.
3322
+ * @summary Get Release Short
3323
+ * @param {any} releaseId
3324
+ * @param {*} [options] Override http request option.
3325
+ * @deprecated
3326
+ * @throws {RequiredError}
3327
+ * @memberof ReleaseApiInterface
3328
+ */
3329
+ getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
3330
+ /**
3331
+ * 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.
3332
+ * @summary Get Releases
3333
+ * @param {Array<any>} [id] Filter by Release IDs
3334
+ * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
3335
+ * @param {Array<string>} [buildId] Filter by Build IDs
3336
+ * @param {Array<any>} [deviceId] Filter by Device IDs
3337
+ * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
3338
+ * @param {Array<string>} [codename] Filter by device codenames
3339
+ * @param {Array<string>} [version] Filter by release version
3340
+ * @param {Array<ReleaseType>} [type] Filter by release type
3341
+ * @param {boolean | null} [archived] Filter by the archived status
3342
+ * @param {boolean | null} [freezed] Filter by the freezed status
3343
+ * @param { | null} [afterReleaseId] Show releases after the provided one
3344
+ * @param {number | null} [afterDate] Show releases after the provided timestamp
3345
+ * @param {ReleasesSort} [sort] Sort mode
3346
+ * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3347
+ * @param {number | null} [skip] Skip query results
3348
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3349
+ * @param {*} [options] Override http request option.
3350
+ * @throws {RequiredError}
3351
+ * @memberof ReleaseApiInterface
3352
+ */
3353
+ getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
3354
+ /**
3355
+ * 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!
3356
+ * @summary Get Updates
3357
+ * @param {any} lastKnownId
3358
+ * @param {Array<any>} [deviceId] Filter by device ID
3359
+ * @param {Array<ReleaseType>} [type] Filter by release type
3360
+ * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3361
+ * @param {number | null} [skip] Skip query results
3362
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3363
+ * @param {*} [options] Override http request option.
3364
+ * @deprecated
3365
+ * @throws {RequiredError}
3366
+ * @memberof ReleaseApiInterface
3367
+ */
3368
+ getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
3369
+ }
3370
+ /**
3371
+ * ReleaseApi - object-oriented interface
3372
+ * @export
3373
+ * @class ReleaseApi
3374
+ * @extends {BaseAPI}
3375
+ */
3376
+ export declare class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
3377
+ /**
3378
+ * 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!
3379
+ * @summary Get Release
3380
+ * @param { | null} [releaseId] Release ID
3381
+ * @param { | null} [id] Release ID (deprecated)
3382
+ * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
3383
+ * @param {string | null} [filename]
3384
+ * @param {*} [options] Override http request option.
3385
+ * @throws {RequiredError}
3386
+ * @memberof ReleaseApi
3387
+ */
3388
+ getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
3389
+ /**
3390
+ * Gets release information using the release ID, nothing to discuss really.
3391
+ * @summary Get Release Short
3392
+ * @param {any} releaseId
3393
+ * @param {*} [options] Override http request option.
3394
+ * @deprecated
3395
+ * @throws {RequiredError}
3396
+ * @memberof ReleaseApi
3397
+ */
3398
+ getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
3399
+ /**
3400
+ * 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.
3401
+ * @summary Get Releases
3402
+ * @param {Array<any>} [id] Filter by Release IDs
3403
+ * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
3404
+ * @param {Array<string>} [buildId] Filter by Build IDs
3405
+ * @param {Array<any>} [deviceId] Filter by Device IDs
3406
+ * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
3407
+ * @param {Array<string>} [codename] Filter by device codenames
3408
+ * @param {Array<string>} [version] Filter by release version
3409
+ * @param {Array<ReleaseType>} [type] Filter by release type
3410
+ * @param {boolean | null} [archived] Filter by the archived status
3411
+ * @param {boolean | null} [freezed] Filter by the freezed status
3412
+ * @param { | null} [afterReleaseId] Show releases after the provided one
3413
+ * @param {number | null} [afterDate] Show releases after the provided timestamp
3414
+ * @param {ReleasesSort} [sort] Sort mode
3415
+ * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
3416
+ * @param {number | null} [skip] Skip query results
3417
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3418
+ * @param {*} [options] Override http request option.
3419
+ * @throws {RequiredError}
3420
+ * @memberof ReleaseApi
3421
+ */
3422
+ getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetReleases, any>>;
3423
+ /**
3424
+ * 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!
3425
+ * @summary Get Updates
3426
+ * @param {any} lastKnownId
3427
+ * @param {Array<any>} [deviceId] Filter by device ID
3428
+ * @param {Array<ReleaseType>} [type] Filter by release type
3429
+ * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
3430
+ * @param {number | null} [skip] Skip query results
3431
+ * @param {number | null} [limit] Limit query results (0 means unlimited)
3432
+ * @param {*} [options] Override http request option.
3433
+ * @deprecated
3434
+ * @throws {RequiredError}
3435
+ * @memberof ReleaseApi
3436
+ */
3437
+ getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseShortReleaseResponse, any>>;
3438
+ }
3439
+ /**
3440
+ * StatsApi - axios parameter creator
3441
+ * @export
3442
+ */
3443
+ export declare const StatsApiAxiosParamCreator: (configuration?: Configuration) => {
3444
+ /**
3445
+ * 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.
3446
+ * @summary Public Stats
3447
+ * @param {*} [options] Override http request option.
3448
+ * @throws {RequiredError}
3449
+ */
3450
+ getPublicStats: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3451
+ };
3452
+ /**
3453
+ * StatsApi - functional programming interface
3454
+ * @export
3455
+ */
3456
+ export declare const StatsApiFp: (configuration?: Configuration) => {
3457
+ /**
3458
+ * 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.
3459
+ * @summary Public Stats
3460
+ * @param {*} [options] Override http request option.
3461
+ * @throws {RequiredError}
3462
+ */
3463
+ getPublicStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GlobalStatsAggregationModel>>;
3464
+ };
3465
+ /**
3466
+ * StatsApi - factory interface
3467
+ * @export
3468
+ */
3469
+ export declare const StatsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3470
+ /**
3471
+ * 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.
3472
+ * @summary Public Stats
3473
+ * @param {*} [options] Override http request option.
3474
+ * @throws {RequiredError}
3475
+ */
3476
+ getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
3477
+ };
3478
+ /**
3479
+ * StatsApi - interface
3480
+ * @export
3481
+ * @interface StatsApi
3482
+ */
3483
+ export interface StatsApiInterface {
3484
+ /**
3485
+ * 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.
3486
+ * @summary Public Stats
3487
+ * @param {*} [options] Override http request option.
3488
+ * @throws {RequiredError}
3489
+ * @memberof StatsApiInterface
3490
+ */
3491
+ getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
3492
+ }
3493
+ /**
3494
+ * StatsApi - object-oriented interface
3495
+ * @export
3496
+ * @class StatsApi
3497
+ * @extends {BaseAPI}
3498
+ */
3499
+ export declare class StatsApi extends BaseAPI implements StatsApiInterface {
3500
+ /**
3501
+ * 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.
3502
+ * @summary Public Stats
3503
+ * @param {*} [options] Override http request option.
3504
+ * @throws {RequiredError}
3505
+ * @memberof StatsApi
3506
+ */
3507
+ getPublicStats(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GlobalStatsAggregationModel, any>>;
3508
+ }