@busy-app/busy-lib 0.10.0 → 0.11.0
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.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +912 -417
- package/dist/index.js +548 -559
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Client } from 'openapi-fetch';
|
|
2
2
|
|
|
3
|
-
export declare type AccountInfo = components[
|
|
3
|
+
export declare type AccountInfo = components['schemas']['AccountInfo'];
|
|
4
4
|
|
|
5
|
-
export declare type AccountLink = components[
|
|
5
|
+
export declare type AccountLink = components['schemas']['AccountLink'];
|
|
6
6
|
|
|
7
7
|
declare class AccountMethods {
|
|
8
8
|
/**
|
|
@@ -56,20 +56,20 @@ declare class AccountMethods {
|
|
|
56
56
|
AccountLink(this: BusyBar, params?: TimeoutOptions): Promise<AccountLink>;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export declare type AccountProfile = components[
|
|
59
|
+
export declare type AccountProfile = components['schemas']['AccountProfile'];
|
|
60
60
|
|
|
61
61
|
export declare interface AccountProfileSetParams extends TimeoutOptions {
|
|
62
|
-
profile: operations[
|
|
62
|
+
profile: operations['setAccountProfile']['parameters']['query']['profile'];
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
export declare type AccountState = components[
|
|
65
|
+
export declare type AccountState = components['schemas']['AccountState'];
|
|
66
66
|
|
|
67
67
|
declare type ApiKey = string;
|
|
68
68
|
|
|
69
|
-
declare type ApiSemver = components[
|
|
69
|
+
declare type ApiSemver = components['schemas']['VersionInfo']['api_semver'];
|
|
70
70
|
|
|
71
71
|
export declare interface AssetsDeleteParams extends TimeoutOptions {
|
|
72
|
-
appId: paths[
|
|
72
|
+
appId: paths['/assets/upload']['delete']['parameters']['query']['app_id'];
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
declare class AssetsMethods {
|
|
@@ -96,8 +96,8 @@ declare class AssetsMethods {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export declare interface AssetsUploadParams extends TimeoutOptions {
|
|
99
|
-
appId: paths[
|
|
100
|
-
fileName: paths[
|
|
99
|
+
appId: paths['/assets/upload']['post']['parameters']['query']['app_id'];
|
|
100
|
+
fileName: paths['/assets/upload']['post']['parameters']['query']['file'];
|
|
101
101
|
file: BusyFile;
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -140,16 +140,18 @@ declare class AudioMethods {
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
export declare interface AudioPlayParams extends TimeoutOptions {
|
|
143
|
-
appId: paths[
|
|
144
|
-
path: paths[
|
|
143
|
+
appId: paths['/audio/play']['post']['parameters']['query']['app_id'];
|
|
144
|
+
path: paths['/audio/play']['post']['parameters']['query']['path'];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export declare type AudioVolumeInfo = components[
|
|
147
|
+
export declare type AudioVolumeInfo = components['schemas']['AudioVolumeInfo'];
|
|
148
148
|
|
|
149
149
|
export declare interface AudioVolumeParams extends TimeoutOptions {
|
|
150
|
-
volume: operations[
|
|
150
|
+
volume: operations['setAudioVolume']['parameters']['query']['volume'];
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
export declare type AutoUpdateSettings = components['schemas']['AutoupdateSettings'];
|
|
154
|
+
|
|
153
155
|
declare class BleMethods {
|
|
154
156
|
/**
|
|
155
157
|
* Enable BLE. Starts advertising.
|
|
@@ -185,9 +187,9 @@ declare class BleMethods {
|
|
|
185
187
|
BleStatusGet(this: BusyBar, params?: TimeoutOptions): Promise<BleStatusResponse>;
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
export declare type BleStatusResponse = components[
|
|
190
|
+
export declare type BleStatusResponse = components['schemas']['BleStatusResponse'];
|
|
189
191
|
|
|
190
|
-
declare type Brightness = number |
|
|
192
|
+
declare type Brightness = number | 'auto';
|
|
191
193
|
|
|
192
194
|
export declare interface BusyBar extends SystemMethods, UpdateMethods, TimeMethods, AccountMethods, DisplayMethods, AudioMethods, WifiMethods, StorageMethods, SettingsMethods, BleMethods, InputMethods, AssetsMethods, MatterMethods {
|
|
193
195
|
}
|
|
@@ -221,7 +223,7 @@ export declare class BusyBar {
|
|
|
221
223
|
* - "usb": Device allows access without token (returned 200).
|
|
222
224
|
* - "unknown": Detection failed or not yet completed.
|
|
223
225
|
*/
|
|
224
|
-
connectionType:
|
|
226
|
+
connectionType: 'usb' | 'wifi' | 'unknown';
|
|
225
227
|
/**
|
|
226
228
|
* Creates an instance of BUSY Bar.
|
|
227
229
|
* Initializes the API client with the provided host address.
|
|
@@ -271,7 +273,7 @@ export declare type BusyBarConfig = {
|
|
|
271
273
|
|
|
272
274
|
declare type BusyFile = Buffer | Blob | File | ArrayBuffer;
|
|
273
275
|
|
|
274
|
-
declare type CamelizedRequest = DeepCamelize<components[
|
|
276
|
+
declare type CamelizedRequest = DeepCamelize<components['schemas']['ConnectRequestConfig']>;
|
|
275
277
|
|
|
276
278
|
declare interface components {
|
|
277
279
|
schemas: {
|
|
@@ -282,23 +284,19 @@ declare interface components {
|
|
|
282
284
|
*/
|
|
283
285
|
result: string;
|
|
284
286
|
};
|
|
285
|
-
/**
|
|
286
|
-
* @example {
|
|
287
|
+
/** @example {
|
|
287
288
|
* "error": "Invalid parameter",
|
|
288
289
|
* "code": 400
|
|
289
|
-
* }
|
|
290
|
-
*/
|
|
290
|
+
* } */
|
|
291
291
|
Error: {
|
|
292
292
|
/** @description Error message */
|
|
293
293
|
error: string;
|
|
294
294
|
/** @description Error code */
|
|
295
295
|
code?: number;
|
|
296
296
|
};
|
|
297
|
-
/**
|
|
298
|
-
* @example {
|
|
297
|
+
/** @example {
|
|
299
298
|
* "api_semver": "0.0.0"
|
|
300
|
-
* }
|
|
301
|
-
*/
|
|
299
|
+
* } */
|
|
302
300
|
VersionInfo: {
|
|
303
301
|
/**
|
|
304
302
|
* @description API SemVer
|
|
@@ -306,8 +304,7 @@ declare interface components {
|
|
|
306
304
|
*/
|
|
307
305
|
api_semver: string;
|
|
308
306
|
};
|
|
309
|
-
/**
|
|
310
|
-
* @example {
|
|
307
|
+
/** @example {
|
|
311
308
|
* "install": {
|
|
312
309
|
* "is_allowed": true,
|
|
313
310
|
* "event": "none",
|
|
@@ -323,10 +320,9 @@ declare interface components {
|
|
|
323
320
|
* "check": {
|
|
324
321
|
* "available_version": "1.2.3",
|
|
325
322
|
* "event": "stop",
|
|
326
|
-
* "
|
|
323
|
+
* "status": "available"
|
|
327
324
|
* }
|
|
328
|
-
* }
|
|
329
|
-
*/
|
|
325
|
+
* } */
|
|
330
326
|
UpdateStatus: {
|
|
331
327
|
install?: {
|
|
332
328
|
/** @description Whether update installation is allowed (battery check) */
|
|
@@ -335,17 +331,17 @@ declare interface components {
|
|
|
335
331
|
* @description Current update event
|
|
336
332
|
* @enum {string}
|
|
337
333
|
*/
|
|
338
|
-
event?:
|
|
334
|
+
event?: 'session_start' | 'session_stop' | 'action_begin' | 'action_done' | 'detail_change' | 'action_progress' | 'none';
|
|
339
335
|
/**
|
|
340
336
|
* @description Current update action
|
|
341
337
|
* @enum {string}
|
|
342
338
|
*/
|
|
343
|
-
action?:
|
|
339
|
+
action?: 'download' | 'sha_verification' | 'unpack' | 'prepare' | 'apply' | 'none';
|
|
344
340
|
/**
|
|
345
341
|
* @description Current or last operation status
|
|
346
342
|
* @enum {string}
|
|
347
343
|
*/
|
|
348
|
-
status?:
|
|
344
|
+
status?: 'ok' | 'battery_low' | 'busy' | 'download_failure' | 'download_abort' | 'sha_mismatch' | 'unpack_staging_dir_failure' | 'unpack_archive_open_failure' | 'unpack_archive_unpack_failure' | 'install_manifest_not_found' | 'install_manifest_invalid' | 'install_session_config_failure' | 'install_pointer_setup_failure' | 'unknown_failure';
|
|
349
345
|
/** @description Optional status detail string */
|
|
350
346
|
detail?: string;
|
|
351
347
|
download?: {
|
|
@@ -364,19 +360,35 @@ declare interface components {
|
|
|
364
360
|
* @description Current check event
|
|
365
361
|
* @enum {string}
|
|
366
362
|
*/
|
|
367
|
-
event?:
|
|
363
|
+
event?: 'start' | 'stop' | 'none';
|
|
368
364
|
/**
|
|
369
365
|
* @description Check result status
|
|
370
366
|
* @enum {string}
|
|
371
367
|
*/
|
|
372
|
-
status?:
|
|
368
|
+
status?: 'available' | 'not_available' | 'failure' | 'none';
|
|
373
369
|
};
|
|
374
370
|
};
|
|
375
|
-
/**
|
|
376
|
-
|
|
371
|
+
/** @description Autoupdate configuration settings. All fields are optional for POST requests. */
|
|
372
|
+
AutoupdateSettings: {
|
|
373
|
+
/**
|
|
374
|
+
* @description Whether automatic updates are enabled
|
|
375
|
+
* @example true
|
|
376
|
+
*/
|
|
377
|
+
is_enabled?: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* @description Start of autoupdate window in HH:MM format (e.g., "08:00")
|
|
380
|
+
* @example 00:00
|
|
381
|
+
*/
|
|
382
|
+
interval_start?: string;
|
|
383
|
+
/**
|
|
384
|
+
* @description End of autoupdate window in HH:MM format (e.g., "23:59")
|
|
385
|
+
* @example 08:00
|
|
386
|
+
*/
|
|
387
|
+
interval_end?: string;
|
|
388
|
+
};
|
|
389
|
+
/** @example {
|
|
377
390
|
* "name": "BUSY bar"
|
|
378
|
-
* }
|
|
379
|
-
*/
|
|
391
|
+
* } */
|
|
380
392
|
NameInfo: {
|
|
381
393
|
/**
|
|
382
394
|
* @description Device name
|
|
@@ -390,15 +402,14 @@ declare interface components {
|
|
|
390
402
|
* @example key
|
|
391
403
|
* @enum {string}
|
|
392
404
|
*/
|
|
393
|
-
mode?:
|
|
405
|
+
mode?: 'disabled' | 'enabled' | 'key';
|
|
394
406
|
/**
|
|
395
407
|
* @description Access key was set and is valid
|
|
396
408
|
* @example true
|
|
397
409
|
*/
|
|
398
410
|
key_valid?: boolean;
|
|
399
411
|
};
|
|
400
|
-
/**
|
|
401
|
-
* @example {
|
|
412
|
+
/** @example {
|
|
402
413
|
* "list": [
|
|
403
414
|
* {
|
|
404
415
|
* "type": "file",
|
|
@@ -410,11 +421,10 @@ declare interface components {
|
|
|
410
421
|
* "name": "assets"
|
|
411
422
|
* }
|
|
412
423
|
* ]
|
|
413
|
-
* }
|
|
414
|
-
*/
|
|
424
|
+
* } */
|
|
415
425
|
StorageList: {
|
|
416
426
|
/** @description Array of elements to display */
|
|
417
|
-
list: components[
|
|
427
|
+
list: components['schemas']['StorageListElement'][];
|
|
418
428
|
};
|
|
419
429
|
StorageStatus: {
|
|
420
430
|
/** @example 123456 */
|
|
@@ -432,11 +442,11 @@ declare interface components {
|
|
|
432
442
|
* @description Element type
|
|
433
443
|
* @enum {string}
|
|
434
444
|
*/
|
|
435
|
-
type:
|
|
445
|
+
type: 'file' | 'dir';
|
|
436
446
|
/** @description File or directory name */
|
|
437
447
|
name: string;
|
|
438
448
|
};
|
|
439
|
-
StorageFileElement: Omit<components[
|
|
449
|
+
StorageFileElement: Omit<components['schemas']['StorageListElement'], 'type'> & {
|
|
440
450
|
/** @description File size in bytes */
|
|
441
451
|
size: number;
|
|
442
452
|
} & {
|
|
@@ -444,14 +454,14 @@ declare interface components {
|
|
|
444
454
|
* @description discriminator enum property added by openapi-typescript
|
|
445
455
|
* @enum {string}
|
|
446
456
|
*/
|
|
447
|
-
type:
|
|
457
|
+
type: 'file';
|
|
448
458
|
};
|
|
449
|
-
StorageDirElement: Omit<components[
|
|
459
|
+
StorageDirElement: Omit<components['schemas']['StorageListElement'], 'type'> & Record<string, never> & {
|
|
450
460
|
/**
|
|
451
461
|
* @description discriminator enum property added by openapi-typescript
|
|
452
462
|
* @enum {string}
|
|
453
463
|
*/
|
|
454
|
-
type:
|
|
464
|
+
type: 'dir';
|
|
455
465
|
};
|
|
456
466
|
/**
|
|
457
467
|
* Format: binary
|
|
@@ -465,8 +475,7 @@ declare interface components {
|
|
|
465
475
|
*/
|
|
466
476
|
file: string;
|
|
467
477
|
};
|
|
468
|
-
/**
|
|
469
|
-
* @example {
|
|
478
|
+
/** @example {
|
|
470
479
|
* "app_id": "my_app",
|
|
471
480
|
* "elements": [
|
|
472
481
|
* {
|
|
@@ -505,8 +514,7 @@ declare interface components {
|
|
|
505
514
|
* "display": "back"
|
|
506
515
|
* }
|
|
507
516
|
* ]
|
|
508
|
-
* }
|
|
509
|
-
*/
|
|
517
|
+
* } */
|
|
510
518
|
DisplayElements: {
|
|
511
519
|
/**
|
|
512
520
|
* @description Application ID for organizing assets
|
|
@@ -519,7 +527,7 @@ declare interface components {
|
|
|
519
527
|
*/
|
|
520
528
|
priority: number;
|
|
521
529
|
/** @description Array of elements to display */
|
|
522
|
-
elements: components[
|
|
530
|
+
elements: (components['schemas']['TextElement'] | components['schemas']['ImageElement'] | components['schemas']['AnimElement'] | components['schemas']['CountdownElement'])[];
|
|
523
531
|
};
|
|
524
532
|
DisplayElement: {
|
|
525
533
|
/** @description Unique identifier for the element */
|
|
@@ -532,7 +540,7 @@ declare interface components {
|
|
|
532
540
|
* @description Type of display element
|
|
533
541
|
* @enum {string}
|
|
534
542
|
*/
|
|
535
|
-
type:
|
|
543
|
+
type: 'text' | 'image' | 'anim' | 'countdown';
|
|
536
544
|
/** @description X coordinate of selected anchor point relative to top-left of display */
|
|
537
545
|
x?: number;
|
|
538
546
|
/** @description Y coordinate of selected anchor point relative to top-left of display */
|
|
@@ -542,14 +550,14 @@ declare interface components {
|
|
|
542
550
|
* @default front
|
|
543
551
|
* @enum {string}
|
|
544
552
|
*/
|
|
545
|
-
display:
|
|
553
|
+
display: 'front' | 'back';
|
|
546
554
|
/**
|
|
547
555
|
* @description Anchor point of element. Also use `x` and `y` to position element.
|
|
548
556
|
* @enum {string}
|
|
549
557
|
*/
|
|
550
|
-
align?:
|
|
558
|
+
align?: 'top_left' | 'top_mid' | 'top_right' | 'mid_left' | 'center' | 'mid_right' | 'bottom_left' | 'bottom_mid' | 'bottom_right';
|
|
551
559
|
};
|
|
552
|
-
TextElement: Omit<components[
|
|
560
|
+
TextElement: Omit<components['schemas']['DisplayElement'], 'type'> & {
|
|
553
561
|
/** @description Text content to display */
|
|
554
562
|
text: string;
|
|
555
563
|
/**
|
|
@@ -557,7 +565,7 @@ declare interface components {
|
|
|
557
565
|
* @default tiny5_8
|
|
558
566
|
* @enum {string}
|
|
559
567
|
*/
|
|
560
|
-
font:
|
|
568
|
+
font: 'small' | 'medium' | 'medium_condensed' | 'big';
|
|
561
569
|
/**
|
|
562
570
|
* @description Color to display the text in, in #RRGGBBAA format
|
|
563
571
|
* @default #FFFFFFFF
|
|
@@ -572,9 +580,9 @@ declare interface components {
|
|
|
572
580
|
* @description discriminator enum property added by openapi-typescript
|
|
573
581
|
* @enum {string}
|
|
574
582
|
*/
|
|
575
|
-
type:
|
|
583
|
+
type: 'text';
|
|
576
584
|
};
|
|
577
|
-
ImageElement: Omit<components[
|
|
585
|
+
ImageElement: Omit<components['schemas']['DisplayElement'], 'type'> & ({
|
|
578
586
|
/** @description Path to the image file in the app's assets */
|
|
579
587
|
path?: string;
|
|
580
588
|
} | {
|
|
@@ -585,9 +593,9 @@ declare interface components {
|
|
|
585
593
|
* @description discriminator enum property added by openapi-typescript
|
|
586
594
|
* @enum {string}
|
|
587
595
|
*/
|
|
588
|
-
type:
|
|
596
|
+
type: 'image';
|
|
589
597
|
};
|
|
590
|
-
AnimElement: Omit<components[
|
|
598
|
+
AnimElement: Omit<components['schemas']['DisplayElement'], 'type'> & (({
|
|
591
599
|
/** @description Path to the animation file in the app's assets */
|
|
592
600
|
path?: string;
|
|
593
601
|
} | {
|
|
@@ -611,9 +619,9 @@ declare interface components {
|
|
|
611
619
|
* @description discriminator enum property added by openapi-typescript
|
|
612
620
|
* @enum {string}
|
|
613
621
|
*/
|
|
614
|
-
type:
|
|
622
|
+
type: 'anim';
|
|
615
623
|
};
|
|
616
|
-
CountdownElement: Omit<components[
|
|
624
|
+
CountdownElement: Omit<components['schemas']['DisplayElement'], 'type'> & {
|
|
617
625
|
/** @description Seconds-based Unix UTC timestamp to count down or up to. Note: it's a number in a string. */
|
|
618
626
|
timestamp: string;
|
|
619
627
|
/**
|
|
@@ -625,18 +633,18 @@ declare interface components {
|
|
|
625
633
|
* @description Whether to count up or down
|
|
626
634
|
* @enum {string}
|
|
627
635
|
*/
|
|
628
|
-
direction:
|
|
636
|
+
direction: 'time_left' | 'time_since';
|
|
629
637
|
/**
|
|
630
638
|
* @description When to show the hours position
|
|
631
639
|
* @enum {string}
|
|
632
640
|
*/
|
|
633
|
-
show_hours:
|
|
641
|
+
show_hours: 'when_non_zero' | 'always';
|
|
634
642
|
} & {
|
|
635
643
|
/**
|
|
636
644
|
* @description discriminator enum property added by openapi-typescript
|
|
637
645
|
* @enum {string}
|
|
638
646
|
*/
|
|
639
|
-
type:
|
|
647
|
+
type: 'countdown';
|
|
640
648
|
};
|
|
641
649
|
DisplayBrightnessInfo: {
|
|
642
650
|
/**
|
|
@@ -667,50 +675,96 @@ declare interface components {
|
|
|
667
675
|
timezone: string;
|
|
668
676
|
};
|
|
669
677
|
Status: {
|
|
670
|
-
|
|
671
|
-
|
|
678
|
+
device?: components['schemas']['StatusDevice'];
|
|
679
|
+
firmware?: components['schemas']['StatusFirmware'];
|
|
680
|
+
system?: components['schemas']['StatusSystem'];
|
|
681
|
+
power?: components['schemas']['StatusPower'];
|
|
672
682
|
};
|
|
673
|
-
|
|
683
|
+
StatusDevice: {
|
|
674
684
|
/**
|
|
675
685
|
* @description Device serial number
|
|
676
686
|
* @example 203638485431500400123456
|
|
677
687
|
*/
|
|
678
|
-
serial_number
|
|
688
|
+
serial_number: string;
|
|
679
689
|
/**
|
|
680
|
-
* @description
|
|
681
|
-
* @example
|
|
690
|
+
* @description MAC of USB ethernet device
|
|
691
|
+
* @example 0c:fa:22:21:2a:31
|
|
682
692
|
*/
|
|
683
|
-
|
|
693
|
+
usb_mac: string;
|
|
694
|
+
/**
|
|
695
|
+
* @description WIFI MAC
|
|
696
|
+
* @example 0c:fa:22:21:2a:31
|
|
697
|
+
*/
|
|
698
|
+
wifi_mac?: string;
|
|
699
|
+
/**
|
|
700
|
+
* @description BLE MAC
|
|
701
|
+
* @example 0c:fa:22:21:2a:31
|
|
702
|
+
*/
|
|
703
|
+
ble_mac?: string;
|
|
704
|
+
/**
|
|
705
|
+
* @description Is OTP data valid
|
|
706
|
+
* @example true
|
|
707
|
+
*/
|
|
708
|
+
otp_valid: boolean;
|
|
709
|
+
/**
|
|
710
|
+
* @description Device model code
|
|
711
|
+
* @example BB.1
|
|
712
|
+
*/
|
|
713
|
+
otp_model?: string;
|
|
714
|
+
/**
|
|
715
|
+
* @description Production timestamp
|
|
716
|
+
* @example 1767225600
|
|
717
|
+
*/
|
|
718
|
+
otp_timestamp?: number;
|
|
719
|
+
};
|
|
720
|
+
StatusFirmware: {
|
|
684
721
|
/**
|
|
685
722
|
* @description Firmware version
|
|
686
723
|
* @example 1.0.0
|
|
687
724
|
*/
|
|
688
|
-
version
|
|
725
|
+
version: string;
|
|
726
|
+
/**
|
|
727
|
+
* @description Firmware target code
|
|
728
|
+
* @example 22
|
|
729
|
+
*/
|
|
730
|
+
target: number;
|
|
689
731
|
/**
|
|
690
732
|
* @description Git branch name
|
|
691
733
|
* @example main
|
|
692
734
|
*/
|
|
693
|
-
branch
|
|
735
|
+
branch: string;
|
|
694
736
|
/**
|
|
695
737
|
* @description Build date
|
|
696
738
|
* @example 2024-01-01
|
|
697
739
|
*/
|
|
698
|
-
build_date
|
|
740
|
+
build_date: string;
|
|
699
741
|
/**
|
|
700
742
|
* @description Git commit hash (may include -dirty suffix)
|
|
701
743
|
* @example abc123def456-dirty
|
|
702
744
|
*/
|
|
703
|
-
commit_hash
|
|
745
|
+
commit_hash: string;
|
|
746
|
+
/**
|
|
747
|
+
* @description Radio firmware version
|
|
748
|
+
* @example 1711.2.14.5.2.0.7
|
|
749
|
+
*/
|
|
750
|
+
nwp_version?: string;
|
|
751
|
+
};
|
|
752
|
+
StatusSystem: {
|
|
753
|
+
/**
|
|
754
|
+
* @description API SemVer
|
|
755
|
+
* @example 0.0.0
|
|
756
|
+
*/
|
|
757
|
+
api_semver: string;
|
|
704
758
|
/**
|
|
705
759
|
* @description System uptime
|
|
706
760
|
* @example 00d 00h 04m 13s
|
|
707
761
|
*/
|
|
708
|
-
uptime
|
|
762
|
+
uptime: string;
|
|
709
763
|
/**
|
|
710
764
|
* @description System boot timestamp
|
|
711
765
|
* @example 1767225600
|
|
712
766
|
*/
|
|
713
|
-
boot_time
|
|
767
|
+
boot_time: number;
|
|
714
768
|
};
|
|
715
769
|
StatusPower: {
|
|
716
770
|
/**
|
|
@@ -718,47 +772,47 @@ declare interface components {
|
|
|
718
772
|
* @example discharging
|
|
719
773
|
* @enum {string}
|
|
720
774
|
*/
|
|
721
|
-
state
|
|
775
|
+
state: 'discharging' | 'charging' | 'charged';
|
|
722
776
|
/**
|
|
723
777
|
* @description Battery charge percent
|
|
724
778
|
* @example 99
|
|
725
779
|
*/
|
|
726
|
-
battery_charge
|
|
780
|
+
battery_charge: number;
|
|
727
781
|
/**
|
|
728
782
|
* @description Battery voltage in mV
|
|
729
783
|
* @example 4183
|
|
730
784
|
*/
|
|
731
|
-
battery_voltage
|
|
785
|
+
battery_voltage: number;
|
|
732
786
|
/**
|
|
733
787
|
* @description Battery current in mA
|
|
734
788
|
* @example -180
|
|
735
789
|
*/
|
|
736
|
-
battery_current
|
|
790
|
+
battery_current: number;
|
|
737
791
|
/**
|
|
738
792
|
* @description USB voltage in mV
|
|
739
793
|
* @example 4843
|
|
740
794
|
*/
|
|
741
|
-
usb_voltage
|
|
795
|
+
usb_voltage: number;
|
|
742
796
|
};
|
|
743
797
|
/**
|
|
744
798
|
* @example WPA3
|
|
745
799
|
* @enum {string}
|
|
746
800
|
*/
|
|
747
|
-
WifiSecurityMethod:
|
|
801
|
+
WifiSecurityMethod: 'Open' | 'WPA' | 'WPA2' | 'WEP' | 'WPA/WPA2' | 'WPA3' | 'WPA2/WPA3';
|
|
748
802
|
/**
|
|
749
803
|
* @example dhcp
|
|
750
804
|
* @enum {string}
|
|
751
805
|
*/
|
|
752
|
-
WifiIpMethod:
|
|
806
|
+
WifiIpMethod: 'dhcp' | 'static';
|
|
753
807
|
/**
|
|
754
808
|
* @example ipv4
|
|
755
809
|
* @enum {string}
|
|
756
810
|
*/
|
|
757
|
-
WifiIpType:
|
|
811
|
+
WifiIpType: 'ipv4' | 'ipv6';
|
|
758
812
|
Network: {
|
|
759
813
|
/** @example 42 */
|
|
760
814
|
ssid?: string;
|
|
761
|
-
security?: components[
|
|
815
|
+
security?: components['schemas']['WifiSecurityMethod'];
|
|
762
816
|
/** @example 58 */
|
|
763
817
|
rssi?: number;
|
|
764
818
|
};
|
|
@@ -767,7 +821,7 @@ declare interface components {
|
|
|
767
821
|
* @example disconnected
|
|
768
822
|
* @enum {string}
|
|
769
823
|
*/
|
|
770
|
-
state?:
|
|
824
|
+
state?: 'unknown' | 'disconnected' | 'connected' | 'connecting' | 'disconnecting' | 'reconnecting';
|
|
771
825
|
/** @example Your_WIFI_SSID */
|
|
772
826
|
ssid?: string;
|
|
773
827
|
/** @example EC:5A:00:0B:55:1D */
|
|
@@ -776,10 +830,10 @@ declare interface components {
|
|
|
776
830
|
channel?: number;
|
|
777
831
|
/** @example -43 */
|
|
778
832
|
rssi?: number;
|
|
779
|
-
security?: components[
|
|
833
|
+
security?: components['schemas']['WifiSecurityMethod'];
|
|
780
834
|
ip_config?: {
|
|
781
|
-
ip_method?: components[
|
|
782
|
-
ip_type?: components[
|
|
835
|
+
ip_method?: components['schemas']['WifiIpMethod'];
|
|
836
|
+
ip_type?: components['schemas']['WifiIpType'];
|
|
783
837
|
/** @example 192.168.50.5 */
|
|
784
838
|
address?: string;
|
|
785
839
|
};
|
|
@@ -789,14 +843,14 @@ declare interface components {
|
|
|
789
843
|
ssid?: string;
|
|
790
844
|
/** @example Your_WIFI_Pass */
|
|
791
845
|
password?: string;
|
|
792
|
-
security?: components[
|
|
846
|
+
security?: components['schemas']['WifiSecurityMethod'];
|
|
793
847
|
ip_config?: {
|
|
794
|
-
ip_method?: components[
|
|
848
|
+
ip_method?: components['schemas']['WifiIpMethod'];
|
|
795
849
|
/**
|
|
796
850
|
* @example ipv4
|
|
797
851
|
* @enum {string}
|
|
798
852
|
*/
|
|
799
|
-
ip_type?:
|
|
853
|
+
ip_type?: 'ipv4' | 'ipv6';
|
|
800
854
|
/** @example 192.168.50.5 */
|
|
801
855
|
address?: string;
|
|
802
856
|
/** @example 255.255.255.0 */
|
|
@@ -808,7 +862,7 @@ declare interface components {
|
|
|
808
862
|
NetworkResponse: {
|
|
809
863
|
/** @example 1 */
|
|
810
864
|
count?: number;
|
|
811
|
-
networks?: components[
|
|
865
|
+
networks?: components['schemas']['Network'][];
|
|
812
866
|
};
|
|
813
867
|
/**
|
|
814
868
|
* Format: base64
|
|
@@ -830,14 +884,14 @@ declare interface components {
|
|
|
830
884
|
* @example connected
|
|
831
885
|
* @enum {string}
|
|
832
886
|
*/
|
|
833
|
-
state?:
|
|
887
|
+
state?: 'error' | 'disconnected' | 'connected';
|
|
834
888
|
};
|
|
835
889
|
AccountProfile: {
|
|
836
890
|
/**
|
|
837
891
|
* @example dev
|
|
838
892
|
* @enum {string}
|
|
839
893
|
*/
|
|
840
|
-
state?:
|
|
894
|
+
state?: 'dev' | 'prod' | 'local' | 'custom';
|
|
841
895
|
/** @example mqtts://mqtt.example.com:8883 */
|
|
842
896
|
custom_url?: string;
|
|
843
897
|
};
|
|
@@ -852,45 +906,43 @@ declare interface components {
|
|
|
852
906
|
* @example connected
|
|
853
907
|
* @enum {string}
|
|
854
908
|
*/
|
|
855
|
-
state?:
|
|
909
|
+
state?: 'reset' | 'initialization' | 'disabled' | 'enabled' | 'connected' | 'internal error';
|
|
856
910
|
/** @example 50:DA:D6:FE:DD:A9 */
|
|
857
911
|
address?: string;
|
|
858
912
|
/**
|
|
859
913
|
* @example paired
|
|
860
914
|
* @enum {string}
|
|
861
915
|
*/
|
|
862
|
-
pairing?:
|
|
916
|
+
pairing?: 'unknown' | 'not paired' | 'paired';
|
|
863
917
|
};
|
|
864
918
|
BusySnapshot: {
|
|
865
|
-
snapshot: components[
|
|
919
|
+
snapshot: components['schemas']['BusySnapshotNotStarted'] | components['schemas']['BusySnapshotInfinite'] | components['schemas']['BusySnapshotSimple'] | components['schemas']['BusySnapshotInterval'];
|
|
920
|
+
busy_bar_settings: components['schemas']['BusyBarSettings'];
|
|
866
921
|
/** @example 1761582532251 */
|
|
867
922
|
snapshot_timestamp_ms: number;
|
|
868
923
|
};
|
|
869
924
|
BusySnapshotNotStarted: {
|
|
870
|
-
/**
|
|
871
|
-
|
|
872
|
-
* @enum {string}
|
|
873
|
-
*/
|
|
874
|
-
type: "NOT_STARTED";
|
|
925
|
+
/** @constant */
|
|
926
|
+
type: 'NOT_STARTED';
|
|
875
927
|
};
|
|
876
928
|
BusySnapshotInfinite: {
|
|
929
|
+
/** @constant */
|
|
930
|
+
type: 'INFINITE';
|
|
877
931
|
/**
|
|
878
|
-
*
|
|
879
|
-
* @
|
|
932
|
+
* Format: uuid
|
|
933
|
+
* @example 00000000-0000-0000-0000-000000000000
|
|
880
934
|
*/
|
|
881
|
-
type: "INFINITE";
|
|
882
|
-
/** @example 00000000-0000-0000-0000-000000000000 */
|
|
883
935
|
card_id: string;
|
|
884
936
|
/** @example false */
|
|
885
937
|
is_paused: boolean;
|
|
886
938
|
};
|
|
887
939
|
BusySnapshotSimple: {
|
|
940
|
+
/** @constant */
|
|
941
|
+
type: 'SIMPLE';
|
|
888
942
|
/**
|
|
889
|
-
*
|
|
890
|
-
* @
|
|
943
|
+
* Format: uuid
|
|
944
|
+
* @example 00000000-0000-0000-0000-000000000000
|
|
891
945
|
*/
|
|
892
|
-
type: "SIMPLE";
|
|
893
|
-
/** @example 00000000-0000-0000-0000-000000000000 */
|
|
894
946
|
card_id: string;
|
|
895
947
|
/** @example 9000 */
|
|
896
948
|
time_left_ms: number;
|
|
@@ -898,12 +950,12 @@ declare interface components {
|
|
|
898
950
|
is_paused: boolean;
|
|
899
951
|
};
|
|
900
952
|
BusySnapshotInterval: {
|
|
953
|
+
/** @constant */
|
|
954
|
+
type: 'INTERVAL';
|
|
901
955
|
/**
|
|
902
|
-
*
|
|
903
|
-
* @
|
|
956
|
+
* Format: uuid
|
|
957
|
+
* @example 00000000-0000-0000-0000-000000000000
|
|
904
958
|
*/
|
|
905
|
-
type: "INTERVAL";
|
|
906
|
-
/** @example 00000000-0000-0000-0000-000000000000 */
|
|
907
959
|
card_id: string;
|
|
908
960
|
/** @example 1 */
|
|
909
961
|
current_interval: number;
|
|
@@ -913,40 +965,77 @@ declare interface components {
|
|
|
913
965
|
current_interval_time_left_ms: number;
|
|
914
966
|
/** @example false */
|
|
915
967
|
is_paused: boolean;
|
|
916
|
-
interval_settings: components[
|
|
968
|
+
interval_settings: components['schemas']['BusyTimerIntervalSettings'];
|
|
917
969
|
};
|
|
918
|
-
|
|
970
|
+
BusyProfile: {
|
|
971
|
+
/** @example -1 */
|
|
972
|
+
sort_order: number;
|
|
973
|
+
/** @example study */
|
|
974
|
+
title: string;
|
|
919
975
|
/**
|
|
920
|
-
*
|
|
921
|
-
* @
|
|
976
|
+
* Format: uuid
|
|
977
|
+
* @example 00000000-0000-0000-0000-000000000000
|
|
922
978
|
*/
|
|
923
|
-
|
|
979
|
+
id: string;
|
|
980
|
+
timer_settings: components['schemas']['BusyTimerInfiniteSettings'] | components['schemas']['BusyTimerSimpleSettings'] | components['schemas']['BusyTimerIntervalSettings'];
|
|
981
|
+
busy_bar_settings: components['schemas']['BusyBarSettings'];
|
|
982
|
+
/** @example 1761582532251 */
|
|
983
|
+
profile_timestamp_ms: number;
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* @example busy
|
|
987
|
+
* @enum {string}
|
|
988
|
+
*/
|
|
989
|
+
BusyProfileSlot: 'busy' | 'custom';
|
|
990
|
+
BusyTimerInfiniteSettings: {
|
|
991
|
+
/** @constant */
|
|
992
|
+
type: 'INFINITE';
|
|
993
|
+
};
|
|
994
|
+
BusyTimerSimpleSettings: {
|
|
995
|
+
/** @constant */
|
|
996
|
+
type: 'SIMPLE';
|
|
997
|
+
/** @example 300000 */
|
|
998
|
+
total_time_ms: number;
|
|
999
|
+
};
|
|
1000
|
+
BusyTimerIntervalSettings: {
|
|
1001
|
+
/** @constant */
|
|
1002
|
+
type: 'INTERVAL';
|
|
924
1003
|
/** @example 120000 */
|
|
925
|
-
interval_work_ms
|
|
1004
|
+
interval_work_ms: number;
|
|
926
1005
|
/** @example 60000 */
|
|
927
|
-
interval_rest_ms
|
|
1006
|
+
interval_rest_ms: number;
|
|
928
1007
|
/** @example 3 */
|
|
929
|
-
interval_work_cycles_count
|
|
1008
|
+
interval_work_cycles_count: number;
|
|
1009
|
+
/** @example false */
|
|
1010
|
+
is_autostart_enabled: boolean;
|
|
1011
|
+
};
|
|
1012
|
+
BusyBarSettings: {
|
|
1013
|
+
/** @example on_air */
|
|
1014
|
+
theme: string;
|
|
930
1015
|
/** @example false */
|
|
931
|
-
|
|
1016
|
+
show_work_phase_only: boolean;
|
|
1017
|
+
/** @example true */
|
|
1018
|
+
trigger_smart_home: boolean;
|
|
932
1019
|
};
|
|
933
1020
|
TimezoneListResponse: {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
1021
|
+
list?: {
|
|
1022
|
+
/**
|
|
1023
|
+
* @description Time zone name
|
|
1024
|
+
* @example Bangalore
|
|
1025
|
+
*/
|
|
1026
|
+
name?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* @description Time zone offset from UTC
|
|
1029
|
+
* @example +05:30
|
|
1030
|
+
*/
|
|
1031
|
+
offset?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* @description Time zone abbreviation
|
|
1034
|
+
* @example IST
|
|
1035
|
+
*/
|
|
1036
|
+
abbr?: string;
|
|
1037
|
+
}[];
|
|
1038
|
+
};
|
|
950
1039
|
MatterCommissionedFabrics: {
|
|
951
1040
|
/**
|
|
952
1041
|
* @description Number of Matter smart homes ("fabrics") that this device is linked with ("commissioned into")
|
|
@@ -959,7 +1048,7 @@ declare interface components {
|
|
|
959
1048
|
* @example completed_successfully
|
|
960
1049
|
* @enum {string}
|
|
961
1050
|
*/
|
|
962
|
-
value?:
|
|
1051
|
+
value?: 'never_started' | 'started' | 'completed_successfully' | 'failed';
|
|
963
1052
|
/**
|
|
964
1053
|
* @description UTC Unix millisecond timestamp of latest state update. Note: it's a number in a string.
|
|
965
1054
|
* @example 1769436711000
|
|
@@ -990,7 +1079,7 @@ declare interface components {
|
|
|
990
1079
|
* @example switch
|
|
991
1080
|
* @enum {string}
|
|
992
1081
|
*/
|
|
993
|
-
type?:
|
|
1082
|
+
type?: 'switch';
|
|
994
1083
|
/**
|
|
995
1084
|
* @description State of device emulated by a Matter endpoint. Boolean for "switch" device type.
|
|
996
1085
|
* @example false
|
|
@@ -1000,7 +1089,7 @@ declare interface components {
|
|
|
1000
1089
|
* @description For the "switch" device type, specifies the value on startup. Never sent by the server, but can be specified by the client.
|
|
1001
1090
|
* @enum {string}
|
|
1002
1091
|
*/
|
|
1003
|
-
startup?:
|
|
1092
|
+
startup?: 'off' | 'on' | 'toggle' | 'last';
|
|
1004
1093
|
};
|
|
1005
1094
|
};
|
|
1006
1095
|
responses: never;
|
|
@@ -1021,17 +1110,17 @@ export declare enum DeviceScreen {
|
|
|
1021
1110
|
BACK = 1
|
|
1022
1111
|
}
|
|
1023
1112
|
|
|
1024
|
-
export declare type DisplayBrightnessInfo = components[
|
|
1113
|
+
export declare type DisplayBrightnessInfo = components['schemas']['DisplayBrightnessInfo'];
|
|
1025
1114
|
|
|
1026
1115
|
export declare interface DisplayBrightnessParams extends TimeoutOptions {
|
|
1027
1116
|
value?: Brightness;
|
|
1028
1117
|
}
|
|
1029
1118
|
|
|
1030
1119
|
export declare interface DisplayDrawParams extends TimeoutOptions {
|
|
1031
|
-
appId: components[
|
|
1032
|
-
elements: components[
|
|
1120
|
+
appId: components['schemas']['DisplayElements']['app_id'];
|
|
1121
|
+
elements: components['schemas']['DisplayElements']['elements'];
|
|
1033
1122
|
/** @default 6 */
|
|
1034
|
-
priority?: components[
|
|
1123
|
+
priority?: components['schemas']['DisplayElements']['priority'];
|
|
1035
1124
|
}
|
|
1036
1125
|
|
|
1037
1126
|
declare class DisplayMethods {
|
|
@@ -1082,7 +1171,7 @@ declare class DisplayMethods {
|
|
|
1082
1171
|
DisplayBrightnessSet(this: BusyBar, params: DisplayBrightnessParams): Promise<SuccessResponse>;
|
|
1083
1172
|
}
|
|
1084
1173
|
|
|
1085
|
-
declare type Error_2 = components[
|
|
1174
|
+
declare type Error_2 = components['schemas']['Error'];
|
|
1086
1175
|
export { Error_2 as Error }
|
|
1087
1176
|
|
|
1088
1177
|
declare type ErrorListener = (payload: ErrorPayload) => void;
|
|
@@ -1093,11 +1182,11 @@ declare interface ErrorPayload {
|
|
|
1093
1182
|
raw: Error_2 | CloseEvent | Event;
|
|
1094
1183
|
}
|
|
1095
1184
|
|
|
1096
|
-
export declare type HttpAccessInfo = components[
|
|
1185
|
+
export declare type HttpAccessInfo = components['schemas']['HttpAccessInfo'];
|
|
1097
1186
|
|
|
1098
1187
|
export declare interface HttpAccessParams extends TimeoutOptions {
|
|
1099
|
-
mode: operations[
|
|
1100
|
-
key: operations[
|
|
1188
|
+
mode: operations['setHttpAccess']['parameters']['query']['mode'];
|
|
1189
|
+
key: operations['setHttpAccess']['parameters']['query']['key'];
|
|
1101
1190
|
}
|
|
1102
1191
|
|
|
1103
1192
|
export declare class Input {
|
|
@@ -1147,7 +1236,7 @@ declare class InputMethods {
|
|
|
1147
1236
|
InputSend(this: BusyBar, params: InputKeyParams): Promise<SuccessResponse>;
|
|
1148
1237
|
}
|
|
1149
1238
|
|
|
1150
|
-
export declare type KeyName = operations[
|
|
1239
|
+
export declare type KeyName = operations['setInputKey']['parameters']['query']['key'];
|
|
1151
1240
|
|
|
1152
1241
|
export declare type KeyValue = 1 | 0;
|
|
1153
1242
|
|
|
@@ -1178,14 +1267,14 @@ declare class MatterMethods {
|
|
|
1178
1267
|
MatterErase(this: BusyBar, params?: TimeoutOptions): Promise<SuccessResponse>;
|
|
1179
1268
|
}
|
|
1180
1269
|
|
|
1181
|
-
export declare type MatterPairingInfo = components[
|
|
1270
|
+
export declare type MatterPairingInfo = components['schemas']['MatterCommissioningPayload'];
|
|
1182
1271
|
|
|
1183
|
-
export declare type MatterStatus = components[
|
|
1272
|
+
export declare type MatterStatus = components['schemas']['MatterCommissionedFabrics'];
|
|
1184
1273
|
|
|
1185
|
-
export declare type NameInfo = components[
|
|
1274
|
+
export declare type NameInfo = components['schemas']['NameInfo'];
|
|
1186
1275
|
|
|
1187
1276
|
export declare interface NameParams extends TimeoutOptions {
|
|
1188
|
-
name: NameInfo[
|
|
1277
|
+
name: NameInfo['name'];
|
|
1189
1278
|
}
|
|
1190
1279
|
|
|
1191
1280
|
declare interface operations {
|
|
@@ -1204,7 +1293,7 @@ declare interface operations {
|
|
|
1204
1293
|
[name: string]: unknown;
|
|
1205
1294
|
};
|
|
1206
1295
|
content: {
|
|
1207
|
-
|
|
1296
|
+
'application/json': components['schemas']['VersionInfo'];
|
|
1208
1297
|
};
|
|
1209
1298
|
};
|
|
1210
1299
|
/** @description Internal server error */
|
|
@@ -1213,7 +1302,7 @@ declare interface operations {
|
|
|
1213
1302
|
[name: string]: unknown;
|
|
1214
1303
|
};
|
|
1215
1304
|
content: {
|
|
1216
|
-
|
|
1305
|
+
'application/json': components['schemas']['Error'];
|
|
1217
1306
|
};
|
|
1218
1307
|
};
|
|
1219
1308
|
};
|
|
@@ -1233,7 +1322,7 @@ declare interface operations {
|
|
|
1233
1322
|
[name: string]: unknown;
|
|
1234
1323
|
};
|
|
1235
1324
|
content: {
|
|
1236
|
-
|
|
1325
|
+
'application/json': components['schemas']['HttpAccessInfo'];
|
|
1237
1326
|
};
|
|
1238
1327
|
};
|
|
1239
1328
|
};
|
|
@@ -1245,7 +1334,7 @@ declare interface operations {
|
|
|
1245
1334
|
* @description Access mode
|
|
1246
1335
|
* @example key
|
|
1247
1336
|
*/
|
|
1248
|
-
mode:
|
|
1337
|
+
mode: 'disabled' | 'enabled' | 'key';
|
|
1249
1338
|
/**
|
|
1250
1339
|
* @description Access key (4-10 digits length)
|
|
1251
1340
|
* @example 12345678
|
|
@@ -1264,7 +1353,7 @@ declare interface operations {
|
|
|
1264
1353
|
[name: string]: unknown;
|
|
1265
1354
|
};
|
|
1266
1355
|
content: {
|
|
1267
|
-
|
|
1356
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1268
1357
|
};
|
|
1269
1358
|
};
|
|
1270
1359
|
/** @description Invalid request data */
|
|
@@ -1273,7 +1362,7 @@ declare interface operations {
|
|
|
1273
1362
|
[name: string]: unknown;
|
|
1274
1363
|
};
|
|
1275
1364
|
content: {
|
|
1276
|
-
|
|
1365
|
+
'application/json': components['schemas']['Error'];
|
|
1277
1366
|
};
|
|
1278
1367
|
};
|
|
1279
1368
|
};
|
|
@@ -1287,7 +1376,7 @@ declare interface operations {
|
|
|
1287
1376
|
};
|
|
1288
1377
|
requestBody: {
|
|
1289
1378
|
content: {
|
|
1290
|
-
|
|
1379
|
+
'application/octet-stream': string;
|
|
1291
1380
|
};
|
|
1292
1381
|
};
|
|
1293
1382
|
responses: {
|
|
@@ -1297,7 +1386,7 @@ declare interface operations {
|
|
|
1297
1386
|
[name: string]: unknown;
|
|
1298
1387
|
};
|
|
1299
1388
|
content: {
|
|
1300
|
-
|
|
1389
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1301
1390
|
};
|
|
1302
1391
|
};
|
|
1303
1392
|
/** @description Invalid parameters, invalid TAR file, or update preparation failed. */
|
|
@@ -1306,7 +1395,7 @@ declare interface operations {
|
|
|
1306
1395
|
[name: string]: unknown;
|
|
1307
1396
|
};
|
|
1308
1397
|
content: {
|
|
1309
|
-
|
|
1398
|
+
'application/json': components['schemas']['Error'];
|
|
1310
1399
|
};
|
|
1311
1400
|
};
|
|
1312
1401
|
/** @description Update package too large. */
|
|
@@ -1315,7 +1404,7 @@ declare interface operations {
|
|
|
1315
1404
|
[name: string]: unknown;
|
|
1316
1405
|
};
|
|
1317
1406
|
content: {
|
|
1318
|
-
|
|
1407
|
+
'application/json': components['schemas']['Error'];
|
|
1319
1408
|
};
|
|
1320
1409
|
};
|
|
1321
1410
|
/** @description Internal server error during update process. */
|
|
@@ -1324,7 +1413,7 @@ declare interface operations {
|
|
|
1324
1413
|
[name: string]: unknown;
|
|
1325
1414
|
};
|
|
1326
1415
|
content: {
|
|
1327
|
-
|
|
1416
|
+
'application/json': components['schemas']['Error'];
|
|
1328
1417
|
};
|
|
1329
1418
|
};
|
|
1330
1419
|
};
|
|
@@ -1344,7 +1433,7 @@ declare interface operations {
|
|
|
1344
1433
|
[name: string]: unknown;
|
|
1345
1434
|
};
|
|
1346
1435
|
content: {
|
|
1347
|
-
|
|
1436
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1348
1437
|
};
|
|
1349
1438
|
};
|
|
1350
1439
|
/** @description Update check already in progress */
|
|
@@ -1353,7 +1442,7 @@ declare interface operations {
|
|
|
1353
1442
|
[name: string]: unknown;
|
|
1354
1443
|
};
|
|
1355
1444
|
content: {
|
|
1356
|
-
|
|
1445
|
+
'application/json': components['schemas']['Error'];
|
|
1357
1446
|
};
|
|
1358
1447
|
};
|
|
1359
1448
|
/** @description Failed to start update check */
|
|
@@ -1362,7 +1451,7 @@ declare interface operations {
|
|
|
1362
1451
|
[name: string]: unknown;
|
|
1363
1452
|
};
|
|
1364
1453
|
content: {
|
|
1365
|
-
|
|
1454
|
+
'application/json': components['schemas']['Error'];
|
|
1366
1455
|
};
|
|
1367
1456
|
};
|
|
1368
1457
|
};
|
|
@@ -1382,7 +1471,7 @@ declare interface operations {
|
|
|
1382
1471
|
[name: string]: unknown;
|
|
1383
1472
|
};
|
|
1384
1473
|
content: {
|
|
1385
|
-
|
|
1474
|
+
'application/json': components['schemas']['UpdateStatus'];
|
|
1386
1475
|
};
|
|
1387
1476
|
};
|
|
1388
1477
|
};
|
|
@@ -1408,7 +1497,7 @@ declare interface operations {
|
|
|
1408
1497
|
[name: string]: unknown;
|
|
1409
1498
|
};
|
|
1410
1499
|
content: {
|
|
1411
|
-
|
|
1500
|
+
'application/json': {
|
|
1412
1501
|
/** @description Changelog text */
|
|
1413
1502
|
changelog?: string;
|
|
1414
1503
|
};
|
|
@@ -1420,7 +1509,7 @@ declare interface operations {
|
|
|
1420
1509
|
[name: string]: unknown;
|
|
1421
1510
|
};
|
|
1422
1511
|
content: {
|
|
1423
|
-
|
|
1512
|
+
'application/json': components['schemas']['Error'];
|
|
1424
1513
|
};
|
|
1425
1514
|
};
|
|
1426
1515
|
};
|
|
@@ -1446,7 +1535,7 @@ declare interface operations {
|
|
|
1446
1535
|
[name: string]: unknown;
|
|
1447
1536
|
};
|
|
1448
1537
|
content: {
|
|
1449
|
-
|
|
1538
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1450
1539
|
};
|
|
1451
1540
|
};
|
|
1452
1541
|
/** @description Version parameter missing, update not available, or version mismatch */
|
|
@@ -1455,7 +1544,7 @@ declare interface operations {
|
|
|
1455
1544
|
[name: string]: unknown;
|
|
1456
1545
|
};
|
|
1457
1546
|
content: {
|
|
1458
|
-
|
|
1547
|
+
'application/json': components['schemas']['Error'];
|
|
1459
1548
|
};
|
|
1460
1549
|
};
|
|
1461
1550
|
/** @description Update already in progress */
|
|
@@ -1464,7 +1553,7 @@ declare interface operations {
|
|
|
1464
1553
|
[name: string]: unknown;
|
|
1465
1554
|
};
|
|
1466
1555
|
content: {
|
|
1467
|
-
|
|
1556
|
+
'application/json': components['schemas']['Error'];
|
|
1468
1557
|
};
|
|
1469
1558
|
};
|
|
1470
1559
|
/** @description Failed to start background installation */
|
|
@@ -1473,7 +1562,7 @@ declare interface operations {
|
|
|
1473
1562
|
[name: string]: unknown;
|
|
1474
1563
|
};
|
|
1475
1564
|
content: {
|
|
1476
|
-
|
|
1565
|
+
'application/json': components['schemas']['Error'];
|
|
1477
1566
|
};
|
|
1478
1567
|
};
|
|
1479
1568
|
/** @description Battery too low for update */
|
|
@@ -1482,7 +1571,7 @@ declare interface operations {
|
|
|
1482
1571
|
[name: string]: unknown;
|
|
1483
1572
|
};
|
|
1484
1573
|
content: {
|
|
1485
|
-
|
|
1574
|
+
'application/json': components['schemas']['Error'];
|
|
1486
1575
|
};
|
|
1487
1576
|
};
|
|
1488
1577
|
};
|
|
@@ -1502,7 +1591,78 @@ declare interface operations {
|
|
|
1502
1591
|
[name: string]: unknown;
|
|
1503
1592
|
};
|
|
1504
1593
|
content: {
|
|
1505
|
-
|
|
1594
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
};
|
|
1599
|
+
getAutoupdateSettings: {
|
|
1600
|
+
parameters: {
|
|
1601
|
+
query?: never;
|
|
1602
|
+
header?: never;
|
|
1603
|
+
path?: never;
|
|
1604
|
+
cookie?: never;
|
|
1605
|
+
};
|
|
1606
|
+
requestBody?: never;
|
|
1607
|
+
responses: {
|
|
1608
|
+
/** @description Settings retrieved successfully */
|
|
1609
|
+
200: {
|
|
1610
|
+
headers: {
|
|
1611
|
+
[name: string]: unknown;
|
|
1612
|
+
};
|
|
1613
|
+
content: {
|
|
1614
|
+
'application/json': components['schemas']['AutoupdateSettings'];
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
/** @description Internal server error */
|
|
1618
|
+
500: {
|
|
1619
|
+
headers: {
|
|
1620
|
+
[name: string]: unknown;
|
|
1621
|
+
};
|
|
1622
|
+
content: {
|
|
1623
|
+
'application/json': components['schemas']['Error'];
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
};
|
|
1628
|
+
setAutoupdateSettings: {
|
|
1629
|
+
parameters: {
|
|
1630
|
+
query?: never;
|
|
1631
|
+
header?: never;
|
|
1632
|
+
path?: never;
|
|
1633
|
+
cookie?: never;
|
|
1634
|
+
};
|
|
1635
|
+
requestBody: {
|
|
1636
|
+
content: {
|
|
1637
|
+
'application/json': components['schemas']['AutoupdateSettings'];
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
responses: {
|
|
1641
|
+
/** @description Settings updated successfully */
|
|
1642
|
+
200: {
|
|
1643
|
+
headers: {
|
|
1644
|
+
[name: string]: unknown;
|
|
1645
|
+
};
|
|
1646
|
+
content: {
|
|
1647
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
/** @description Invalid time format (expected HH:MM) */
|
|
1651
|
+
400: {
|
|
1652
|
+
headers: {
|
|
1653
|
+
[name: string]: unknown;
|
|
1654
|
+
};
|
|
1655
|
+
content: {
|
|
1656
|
+
'application/json': components['schemas']['Error'];
|
|
1657
|
+
};
|
|
1658
|
+
};
|
|
1659
|
+
/** @description Failed to apply settings */
|
|
1660
|
+
500: {
|
|
1661
|
+
headers: {
|
|
1662
|
+
[name: string]: unknown;
|
|
1663
|
+
};
|
|
1664
|
+
content: {
|
|
1665
|
+
'application/json': components['schemas']['Error'];
|
|
1506
1666
|
};
|
|
1507
1667
|
};
|
|
1508
1668
|
};
|
|
@@ -1527,7 +1687,7 @@ declare interface operations {
|
|
|
1527
1687
|
};
|
|
1528
1688
|
requestBody: {
|
|
1529
1689
|
content: {
|
|
1530
|
-
|
|
1690
|
+
'application/octet-stream': string;
|
|
1531
1691
|
};
|
|
1532
1692
|
};
|
|
1533
1693
|
responses: {
|
|
@@ -1537,7 +1697,7 @@ declare interface operations {
|
|
|
1537
1697
|
[name: string]: unknown;
|
|
1538
1698
|
};
|
|
1539
1699
|
content: {
|
|
1540
|
-
|
|
1700
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1541
1701
|
};
|
|
1542
1702
|
};
|
|
1543
1703
|
/** @description Invalid parameters or upload failed */
|
|
@@ -1546,7 +1706,7 @@ declare interface operations {
|
|
|
1546
1706
|
[name: string]: unknown;
|
|
1547
1707
|
};
|
|
1548
1708
|
content: {
|
|
1549
|
-
|
|
1709
|
+
'application/json': components['schemas']['Error'];
|
|
1550
1710
|
};
|
|
1551
1711
|
};
|
|
1552
1712
|
/** @description File too large */
|
|
@@ -1555,7 +1715,7 @@ declare interface operations {
|
|
|
1555
1715
|
[name: string]: unknown;
|
|
1556
1716
|
};
|
|
1557
1717
|
content: {
|
|
1558
|
-
|
|
1718
|
+
'application/json': components['schemas']['Error'];
|
|
1559
1719
|
};
|
|
1560
1720
|
};
|
|
1561
1721
|
};
|
|
@@ -1581,7 +1741,7 @@ declare interface operations {
|
|
|
1581
1741
|
[name: string]: unknown;
|
|
1582
1742
|
};
|
|
1583
1743
|
content: {
|
|
1584
|
-
|
|
1744
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1585
1745
|
};
|
|
1586
1746
|
};
|
|
1587
1747
|
/** @description Invalid request parameters */
|
|
@@ -1590,7 +1750,7 @@ declare interface operations {
|
|
|
1590
1750
|
[name: string]: unknown;
|
|
1591
1751
|
};
|
|
1592
1752
|
content: {
|
|
1593
|
-
|
|
1753
|
+
'application/json': components['schemas']['Error'];
|
|
1594
1754
|
};
|
|
1595
1755
|
};
|
|
1596
1756
|
/** @description Delete failed */
|
|
@@ -1599,7 +1759,7 @@ declare interface operations {
|
|
|
1599
1759
|
[name: string]: unknown;
|
|
1600
1760
|
};
|
|
1601
1761
|
content: {
|
|
1602
|
-
|
|
1762
|
+
'application/json': components['schemas']['Error'];
|
|
1603
1763
|
};
|
|
1604
1764
|
};
|
|
1605
1765
|
};
|
|
@@ -1619,7 +1779,7 @@ declare interface operations {
|
|
|
1619
1779
|
};
|
|
1620
1780
|
requestBody: {
|
|
1621
1781
|
content: {
|
|
1622
|
-
|
|
1782
|
+
'application/octet-stream': string;
|
|
1623
1783
|
};
|
|
1624
1784
|
};
|
|
1625
1785
|
responses: {
|
|
@@ -1629,7 +1789,7 @@ declare interface operations {
|
|
|
1629
1789
|
[name: string]: unknown;
|
|
1630
1790
|
};
|
|
1631
1791
|
content: {
|
|
1632
|
-
|
|
1792
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1633
1793
|
};
|
|
1634
1794
|
};
|
|
1635
1795
|
/** @description Invalid parameters or upload failed */
|
|
@@ -1638,7 +1798,7 @@ declare interface operations {
|
|
|
1638
1798
|
[name: string]: unknown;
|
|
1639
1799
|
};
|
|
1640
1800
|
content: {
|
|
1641
|
-
|
|
1801
|
+
'application/json': components['schemas']['Error'];
|
|
1642
1802
|
};
|
|
1643
1803
|
};
|
|
1644
1804
|
/** @description File too large */
|
|
@@ -1647,7 +1807,7 @@ declare interface operations {
|
|
|
1647
1807
|
[name: string]: unknown;
|
|
1648
1808
|
};
|
|
1649
1809
|
content: {
|
|
1650
|
-
|
|
1810
|
+
'application/json': components['schemas']['Error'];
|
|
1651
1811
|
};
|
|
1652
1812
|
};
|
|
1653
1813
|
};
|
|
@@ -1673,7 +1833,7 @@ declare interface operations {
|
|
|
1673
1833
|
[name: string]: unknown;
|
|
1674
1834
|
};
|
|
1675
1835
|
content: {
|
|
1676
|
-
|
|
1836
|
+
'application/octet-stream': string;
|
|
1677
1837
|
};
|
|
1678
1838
|
};
|
|
1679
1839
|
/** @description Invalid parameters or file not exists */
|
|
@@ -1682,7 +1842,7 @@ declare interface operations {
|
|
|
1682
1842
|
[name: string]: unknown;
|
|
1683
1843
|
};
|
|
1684
1844
|
content: {
|
|
1685
|
-
|
|
1845
|
+
'application/json': components['schemas']['Error'];
|
|
1686
1846
|
};
|
|
1687
1847
|
};
|
|
1688
1848
|
};
|
|
@@ -1708,7 +1868,7 @@ declare interface operations {
|
|
|
1708
1868
|
[name: string]: unknown;
|
|
1709
1869
|
};
|
|
1710
1870
|
content: {
|
|
1711
|
-
|
|
1871
|
+
'application/json': components['schemas']['StorageList'];
|
|
1712
1872
|
};
|
|
1713
1873
|
};
|
|
1714
1874
|
/** @description Invalid parameters or directory does not exist */
|
|
@@ -1717,7 +1877,7 @@ declare interface operations {
|
|
|
1717
1877
|
[name: string]: unknown;
|
|
1718
1878
|
};
|
|
1719
1879
|
content: {
|
|
1720
|
-
|
|
1880
|
+
'application/json': components['schemas']['Error'];
|
|
1721
1881
|
};
|
|
1722
1882
|
};
|
|
1723
1883
|
};
|
|
@@ -1743,7 +1903,7 @@ declare interface operations {
|
|
|
1743
1903
|
[name: string]: unknown;
|
|
1744
1904
|
};
|
|
1745
1905
|
content: {
|
|
1746
|
-
|
|
1906
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1747
1907
|
};
|
|
1748
1908
|
};
|
|
1749
1909
|
/** @description Invalid path or deletion failed */
|
|
@@ -1752,7 +1912,7 @@ declare interface operations {
|
|
|
1752
1912
|
[name: string]: unknown;
|
|
1753
1913
|
};
|
|
1754
1914
|
content: {
|
|
1755
|
-
|
|
1915
|
+
'application/json': components['schemas']['Error'];
|
|
1756
1916
|
};
|
|
1757
1917
|
};
|
|
1758
1918
|
};
|
|
@@ -1778,7 +1938,7 @@ declare interface operations {
|
|
|
1778
1938
|
[name: string]: unknown;
|
|
1779
1939
|
};
|
|
1780
1940
|
content: {
|
|
1781
|
-
|
|
1941
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1782
1942
|
};
|
|
1783
1943
|
};
|
|
1784
1944
|
/** @description Invalid path or creation failed */
|
|
@@ -1787,7 +1947,47 @@ declare interface operations {
|
|
|
1787
1947
|
[name: string]: unknown;
|
|
1788
1948
|
};
|
|
1789
1949
|
content: {
|
|
1790
|
-
|
|
1950
|
+
'application/json': components['schemas']['Error'];
|
|
1951
|
+
};
|
|
1952
|
+
};
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
RenameStorageFile: {
|
|
1956
|
+
parameters: {
|
|
1957
|
+
query: {
|
|
1958
|
+
/**
|
|
1959
|
+
* @description Old location path
|
|
1960
|
+
* @example /ext/old_name.txt
|
|
1961
|
+
*/
|
|
1962
|
+
path: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* @description New location path
|
|
1965
|
+
* @example /ext/new_name.txt
|
|
1966
|
+
*/
|
|
1967
|
+
new_path: string;
|
|
1968
|
+
};
|
|
1969
|
+
header?: never;
|
|
1970
|
+
path?: never;
|
|
1971
|
+
cookie?: never;
|
|
1972
|
+
};
|
|
1973
|
+
requestBody?: never;
|
|
1974
|
+
responses: {
|
|
1975
|
+
/** @description Renamed successfully */
|
|
1976
|
+
200: {
|
|
1977
|
+
headers: {
|
|
1978
|
+
[name: string]: unknown;
|
|
1979
|
+
};
|
|
1980
|
+
content: {
|
|
1981
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1982
|
+
};
|
|
1983
|
+
};
|
|
1984
|
+
/** @description Invalid path or operation failed */
|
|
1985
|
+
400: {
|
|
1986
|
+
headers: {
|
|
1987
|
+
[name: string]: unknown;
|
|
1988
|
+
};
|
|
1989
|
+
content: {
|
|
1990
|
+
'application/json': components['schemas']['Error'];
|
|
1791
1991
|
};
|
|
1792
1992
|
};
|
|
1793
1993
|
};
|
|
@@ -1807,7 +2007,7 @@ declare interface operations {
|
|
|
1807
2007
|
[name: string]: unknown;
|
|
1808
2008
|
};
|
|
1809
2009
|
content: {
|
|
1810
|
-
|
|
2010
|
+
'application/json': components['schemas']['StorageStatus'];
|
|
1811
2011
|
};
|
|
1812
2012
|
};
|
|
1813
2013
|
/** @description Invalid parameters or storage doesn't exist */
|
|
@@ -1816,7 +2016,7 @@ declare interface operations {
|
|
|
1816
2016
|
[name: string]: unknown;
|
|
1817
2017
|
};
|
|
1818
2018
|
content: {
|
|
1819
|
-
|
|
2019
|
+
'application/json': components['schemas']['Error'];
|
|
1820
2020
|
};
|
|
1821
2021
|
};
|
|
1822
2022
|
};
|
|
@@ -1830,7 +2030,7 @@ declare interface operations {
|
|
|
1830
2030
|
};
|
|
1831
2031
|
requestBody: {
|
|
1832
2032
|
content: {
|
|
1833
|
-
|
|
2033
|
+
'application/json': components['schemas']['DisplayElements'];
|
|
1834
2034
|
};
|
|
1835
2035
|
};
|
|
1836
2036
|
responses: {
|
|
@@ -1840,7 +2040,7 @@ declare interface operations {
|
|
|
1840
2040
|
[name: string]: unknown;
|
|
1841
2041
|
};
|
|
1842
2042
|
content: {
|
|
1843
|
-
|
|
2043
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1844
2044
|
};
|
|
1845
2045
|
};
|
|
1846
2046
|
/** @description Invalid drawing data */
|
|
@@ -1849,7 +2049,7 @@ declare interface operations {
|
|
|
1849
2049
|
[name: string]: unknown;
|
|
1850
2050
|
};
|
|
1851
2051
|
content: {
|
|
1852
|
-
|
|
2052
|
+
'application/json': components['schemas']['Error'];
|
|
1853
2053
|
};
|
|
1854
2054
|
};
|
|
1855
2055
|
/** @description Requested priority level is below that of currently active app */
|
|
@@ -1858,7 +2058,7 @@ declare interface operations {
|
|
|
1858
2058
|
[name: string]: unknown;
|
|
1859
2059
|
};
|
|
1860
2060
|
content: {
|
|
1861
|
-
|
|
2061
|
+
'application/json': components['schemas']['Error'];
|
|
1862
2062
|
};
|
|
1863
2063
|
};
|
|
1864
2064
|
/** @description Display error */
|
|
@@ -1867,7 +2067,7 @@ declare interface operations {
|
|
|
1867
2067
|
[name: string]: unknown;
|
|
1868
2068
|
};
|
|
1869
2069
|
content: {
|
|
1870
|
-
|
|
2070
|
+
'application/json': components['schemas']['Error'];
|
|
1871
2071
|
};
|
|
1872
2072
|
};
|
|
1873
2073
|
};
|
|
@@ -1893,7 +2093,7 @@ declare interface operations {
|
|
|
1893
2093
|
[name: string]: unknown;
|
|
1894
2094
|
};
|
|
1895
2095
|
content: {
|
|
1896
|
-
|
|
2096
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1897
2097
|
};
|
|
1898
2098
|
};
|
|
1899
2099
|
/** @description Display error */
|
|
@@ -1902,7 +2102,7 @@ declare interface operations {
|
|
|
1902
2102
|
[name: string]: unknown;
|
|
1903
2103
|
};
|
|
1904
2104
|
content: {
|
|
1905
|
-
|
|
2105
|
+
'application/json': components['schemas']['Error'];
|
|
1906
2106
|
};
|
|
1907
2107
|
};
|
|
1908
2108
|
};
|
|
@@ -1922,7 +2122,7 @@ declare interface operations {
|
|
|
1922
2122
|
[name: string]: unknown;
|
|
1923
2123
|
};
|
|
1924
2124
|
content: {
|
|
1925
|
-
|
|
2125
|
+
'application/json': components['schemas']['DisplayBrightnessInfo'];
|
|
1926
2126
|
};
|
|
1927
2127
|
};
|
|
1928
2128
|
};
|
|
@@ -1948,7 +2148,7 @@ declare interface operations {
|
|
|
1948
2148
|
[name: string]: unknown;
|
|
1949
2149
|
};
|
|
1950
2150
|
content: {
|
|
1951
|
-
|
|
2151
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1952
2152
|
};
|
|
1953
2153
|
};
|
|
1954
2154
|
/** @description Invalid request data */
|
|
@@ -1957,7 +2157,7 @@ declare interface operations {
|
|
|
1957
2157
|
[name: string]: unknown;
|
|
1958
2158
|
};
|
|
1959
2159
|
content: {
|
|
1960
|
-
|
|
2160
|
+
'application/json': components['schemas']['Error'];
|
|
1961
2161
|
};
|
|
1962
2162
|
};
|
|
1963
2163
|
};
|
|
@@ -1988,7 +2188,7 @@ declare interface operations {
|
|
|
1988
2188
|
[name: string]: unknown;
|
|
1989
2189
|
};
|
|
1990
2190
|
content: {
|
|
1991
|
-
|
|
2191
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
1992
2192
|
};
|
|
1993
2193
|
};
|
|
1994
2194
|
/** @description Invalid file path or file not found */
|
|
@@ -1997,7 +2197,7 @@ declare interface operations {
|
|
|
1997
2197
|
[name: string]: unknown;
|
|
1998
2198
|
};
|
|
1999
2199
|
content: {
|
|
2000
|
-
|
|
2200
|
+
'application/json': components['schemas']['Error'];
|
|
2001
2201
|
};
|
|
2002
2202
|
};
|
|
2003
2203
|
/** @description Audio system error */
|
|
@@ -2006,7 +2206,7 @@ declare interface operations {
|
|
|
2006
2206
|
[name: string]: unknown;
|
|
2007
2207
|
};
|
|
2008
2208
|
content: {
|
|
2009
|
-
|
|
2209
|
+
'application/json': components['schemas']['Error'];
|
|
2010
2210
|
};
|
|
2011
2211
|
};
|
|
2012
2212
|
};
|
|
@@ -2026,7 +2226,7 @@ declare interface operations {
|
|
|
2026
2226
|
[name: string]: unknown;
|
|
2027
2227
|
};
|
|
2028
2228
|
content: {
|
|
2029
|
-
|
|
2229
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2030
2230
|
};
|
|
2031
2231
|
};
|
|
2032
2232
|
/** @description Audio system error */
|
|
@@ -2035,7 +2235,7 @@ declare interface operations {
|
|
|
2035
2235
|
[name: string]: unknown;
|
|
2036
2236
|
};
|
|
2037
2237
|
content: {
|
|
2038
|
-
|
|
2238
|
+
'application/json': components['schemas']['Error'];
|
|
2039
2239
|
};
|
|
2040
2240
|
};
|
|
2041
2241
|
};
|
|
@@ -2055,7 +2255,7 @@ declare interface operations {
|
|
|
2055
2255
|
[name: string]: unknown;
|
|
2056
2256
|
};
|
|
2057
2257
|
content: {
|
|
2058
|
-
|
|
2258
|
+
'application/json': components['schemas']['AudioVolumeInfo'];
|
|
2059
2259
|
};
|
|
2060
2260
|
};
|
|
2061
2261
|
};
|
|
@@ -2081,7 +2281,7 @@ declare interface operations {
|
|
|
2081
2281
|
[name: string]: unknown;
|
|
2082
2282
|
};
|
|
2083
2283
|
content: {
|
|
2084
|
-
|
|
2284
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2085
2285
|
};
|
|
2086
2286
|
};
|
|
2087
2287
|
/** @description Invalid request data */
|
|
@@ -2090,7 +2290,7 @@ declare interface operations {
|
|
|
2090
2290
|
[name: string]: unknown;
|
|
2091
2291
|
};
|
|
2092
2292
|
content: {
|
|
2093
|
-
|
|
2293
|
+
'application/json': components['schemas']['Error'];
|
|
2094
2294
|
};
|
|
2095
2295
|
};
|
|
2096
2296
|
};
|
|
@@ -2117,7 +2317,7 @@ declare interface operations {
|
|
|
2117
2317
|
[name: string]: unknown;
|
|
2118
2318
|
};
|
|
2119
2319
|
content: {
|
|
2120
|
-
|
|
2320
|
+
'application/json': components['schemas']['Error'];
|
|
2121
2321
|
};
|
|
2122
2322
|
};
|
|
2123
2323
|
/** @description Upgrade required */
|
|
@@ -2126,7 +2326,7 @@ declare interface operations {
|
|
|
2126
2326
|
[name: string]: unknown;
|
|
2127
2327
|
};
|
|
2128
2328
|
content: {
|
|
2129
|
-
|
|
2329
|
+
'application/json': components['schemas']['Error'];
|
|
2130
2330
|
};
|
|
2131
2331
|
};
|
|
2132
2332
|
};
|
|
@@ -2138,7 +2338,7 @@ declare interface operations {
|
|
|
2138
2338
|
* @description Key name
|
|
2139
2339
|
* @example ok
|
|
2140
2340
|
*/
|
|
2141
|
-
key:
|
|
2341
|
+
key: 'up' | 'down' | 'ok' | 'back' | 'start' | 'busy' | 'custom' | 'off' | 'apps' | 'settings';
|
|
2142
2342
|
};
|
|
2143
2343
|
header?: never;
|
|
2144
2344
|
path?: never;
|
|
@@ -2152,7 +2352,7 @@ declare interface operations {
|
|
|
2152
2352
|
[name: string]: unknown;
|
|
2153
2353
|
};
|
|
2154
2354
|
content: {
|
|
2155
|
-
|
|
2355
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2156
2356
|
};
|
|
2157
2357
|
};
|
|
2158
2358
|
/** @description Invalid request data */
|
|
@@ -2161,7 +2361,7 @@ declare interface operations {
|
|
|
2161
2361
|
[name: string]: unknown;
|
|
2162
2362
|
};
|
|
2163
2363
|
content: {
|
|
2164
|
-
|
|
2364
|
+
'application/json': components['schemas']['Error'];
|
|
2165
2365
|
};
|
|
2166
2366
|
};
|
|
2167
2367
|
};
|
|
@@ -2181,7 +2381,36 @@ declare interface operations {
|
|
|
2181
2381
|
[name: string]: unknown;
|
|
2182
2382
|
};
|
|
2183
2383
|
content: {
|
|
2184
|
-
|
|
2384
|
+
'application/json': components['schemas']['Status'];
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
/** @description Internal server error */
|
|
2388
|
+
500: {
|
|
2389
|
+
headers: {
|
|
2390
|
+
[name: string]: unknown;
|
|
2391
|
+
};
|
|
2392
|
+
content: {
|
|
2393
|
+
'application/json': components['schemas']['Error'];
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
};
|
|
2397
|
+
};
|
|
2398
|
+
getStatusDevice: {
|
|
2399
|
+
parameters: {
|
|
2400
|
+
query?: never;
|
|
2401
|
+
header?: never;
|
|
2402
|
+
path?: never;
|
|
2403
|
+
cookie?: never;
|
|
2404
|
+
};
|
|
2405
|
+
requestBody?: never;
|
|
2406
|
+
responses: {
|
|
2407
|
+
/** @description Information retrieved successfully */
|
|
2408
|
+
200: {
|
|
2409
|
+
headers: {
|
|
2410
|
+
[name: string]: unknown;
|
|
2411
|
+
};
|
|
2412
|
+
content: {
|
|
2413
|
+
'application/json': components['schemas']['StatusDevice'];
|
|
2185
2414
|
};
|
|
2186
2415
|
};
|
|
2187
2416
|
/** @description Internal server error */
|
|
@@ -2190,7 +2419,36 @@ declare interface operations {
|
|
|
2190
2419
|
[name: string]: unknown;
|
|
2191
2420
|
};
|
|
2192
2421
|
content: {
|
|
2193
|
-
|
|
2422
|
+
'application/json': components['schemas']['Error'];
|
|
2423
|
+
};
|
|
2424
|
+
};
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
getStatusFirmware: {
|
|
2428
|
+
parameters: {
|
|
2429
|
+
query?: never;
|
|
2430
|
+
header?: never;
|
|
2431
|
+
path?: never;
|
|
2432
|
+
cookie?: never;
|
|
2433
|
+
};
|
|
2434
|
+
requestBody?: never;
|
|
2435
|
+
responses: {
|
|
2436
|
+
/** @description Information retrieved successfully */
|
|
2437
|
+
200: {
|
|
2438
|
+
headers: {
|
|
2439
|
+
[name: string]: unknown;
|
|
2440
|
+
};
|
|
2441
|
+
content: {
|
|
2442
|
+
'application/json': components['schemas']['StatusFirmware'];
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
/** @description Internal server error */
|
|
2446
|
+
500: {
|
|
2447
|
+
headers: {
|
|
2448
|
+
[name: string]: unknown;
|
|
2449
|
+
};
|
|
2450
|
+
content: {
|
|
2451
|
+
'application/json': components['schemas']['Error'];
|
|
2194
2452
|
};
|
|
2195
2453
|
};
|
|
2196
2454
|
};
|
|
@@ -2210,7 +2468,7 @@ declare interface operations {
|
|
|
2210
2468
|
[name: string]: unknown;
|
|
2211
2469
|
};
|
|
2212
2470
|
content: {
|
|
2213
|
-
|
|
2471
|
+
'application/json': components['schemas']['StatusSystem'];
|
|
2214
2472
|
};
|
|
2215
2473
|
};
|
|
2216
2474
|
/** @description Internal server error */
|
|
@@ -2219,7 +2477,7 @@ declare interface operations {
|
|
|
2219
2477
|
[name: string]: unknown;
|
|
2220
2478
|
};
|
|
2221
2479
|
content: {
|
|
2222
|
-
|
|
2480
|
+
'application/json': components['schemas']['Error'];
|
|
2223
2481
|
};
|
|
2224
2482
|
};
|
|
2225
2483
|
};
|
|
@@ -2239,7 +2497,7 @@ declare interface operations {
|
|
|
2239
2497
|
[name: string]: unknown;
|
|
2240
2498
|
};
|
|
2241
2499
|
content: {
|
|
2242
|
-
|
|
2500
|
+
'application/json': components['schemas']['StatusPower'];
|
|
2243
2501
|
};
|
|
2244
2502
|
};
|
|
2245
2503
|
/** @description Internal server error */
|
|
@@ -2248,7 +2506,7 @@ declare interface operations {
|
|
|
2248
2506
|
[name: string]: unknown;
|
|
2249
2507
|
};
|
|
2250
2508
|
content: {
|
|
2251
|
-
|
|
2509
|
+
'application/json': components['schemas']['Error'];
|
|
2252
2510
|
};
|
|
2253
2511
|
};
|
|
2254
2512
|
};
|
|
@@ -2275,7 +2533,7 @@ declare interface operations {
|
|
|
2275
2533
|
[name: string]: unknown;
|
|
2276
2534
|
};
|
|
2277
2535
|
content: {
|
|
2278
|
-
|
|
2536
|
+
'application/json': components['schemas']['Error'];
|
|
2279
2537
|
};
|
|
2280
2538
|
};
|
|
2281
2539
|
};
|
|
@@ -2295,7 +2553,7 @@ declare interface operations {
|
|
|
2295
2553
|
[name: string]: unknown;
|
|
2296
2554
|
};
|
|
2297
2555
|
content: {
|
|
2298
|
-
|
|
2556
|
+
'application/json': components['schemas']['TimestampInfo'];
|
|
2299
2557
|
};
|
|
2300
2558
|
};
|
|
2301
2559
|
/** @description Bad request */
|
|
@@ -2304,7 +2562,7 @@ declare interface operations {
|
|
|
2304
2562
|
[name: string]: unknown;
|
|
2305
2563
|
};
|
|
2306
2564
|
content: {
|
|
2307
|
-
|
|
2565
|
+
'application/json': components['schemas']['Error'];
|
|
2308
2566
|
};
|
|
2309
2567
|
};
|
|
2310
2568
|
};
|
|
@@ -2324,7 +2582,7 @@ declare interface operations {
|
|
|
2324
2582
|
[name: string]: unknown;
|
|
2325
2583
|
};
|
|
2326
2584
|
content: {
|
|
2327
|
-
|
|
2585
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2328
2586
|
};
|
|
2329
2587
|
};
|
|
2330
2588
|
};
|
|
@@ -2344,7 +2602,7 @@ declare interface operations {
|
|
|
2344
2602
|
[name: string]: unknown;
|
|
2345
2603
|
};
|
|
2346
2604
|
content: {
|
|
2347
|
-
|
|
2605
|
+
'application/json': components['schemas']['AccountLink'];
|
|
2348
2606
|
};
|
|
2349
2607
|
};
|
|
2350
2608
|
/** @description Bad request */
|
|
@@ -2353,7 +2611,7 @@ declare interface operations {
|
|
|
2353
2611
|
[name: string]: unknown;
|
|
2354
2612
|
};
|
|
2355
2613
|
content: {
|
|
2356
|
-
|
|
2614
|
+
'application/json': components['schemas']['Error'];
|
|
2357
2615
|
};
|
|
2358
2616
|
};
|
|
2359
2617
|
};
|
|
@@ -2373,7 +2631,7 @@ declare interface operations {
|
|
|
2373
2631
|
[name: string]: unknown;
|
|
2374
2632
|
};
|
|
2375
2633
|
content: {
|
|
2376
|
-
|
|
2634
|
+
'application/json': components['schemas']['AccountInfo'];
|
|
2377
2635
|
};
|
|
2378
2636
|
};
|
|
2379
2637
|
};
|
|
@@ -2393,7 +2651,7 @@ declare interface operations {
|
|
|
2393
2651
|
[name: string]: unknown;
|
|
2394
2652
|
};
|
|
2395
2653
|
content: {
|
|
2396
|
-
|
|
2654
|
+
'application/json': components['schemas']['AccountState'];
|
|
2397
2655
|
};
|
|
2398
2656
|
};
|
|
2399
2657
|
};
|
|
@@ -2413,7 +2671,7 @@ declare interface operations {
|
|
|
2413
2671
|
[name: string]: unknown;
|
|
2414
2672
|
};
|
|
2415
2673
|
content: {
|
|
2416
|
-
|
|
2674
|
+
'application/json': components['schemas']['AccountProfile'];
|
|
2417
2675
|
};
|
|
2418
2676
|
};
|
|
2419
2677
|
};
|
|
@@ -2422,7 +2680,7 @@ declare interface operations {
|
|
|
2422
2680
|
parameters: {
|
|
2423
2681
|
query: {
|
|
2424
2682
|
/** @example dev */
|
|
2425
|
-
profile:
|
|
2683
|
+
profile: 'dev' | 'prod' | 'local' | 'custom';
|
|
2426
2684
|
custom_url?: string;
|
|
2427
2685
|
};
|
|
2428
2686
|
header?: never;
|
|
@@ -2437,7 +2695,7 @@ declare interface operations {
|
|
|
2437
2695
|
[name: string]: unknown;
|
|
2438
2696
|
};
|
|
2439
2697
|
content: {
|
|
2440
|
-
|
|
2698
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2441
2699
|
};
|
|
2442
2700
|
};
|
|
2443
2701
|
/** @description Bad request */
|
|
@@ -2446,7 +2704,7 @@ declare interface operations {
|
|
|
2446
2704
|
[name: string]: unknown;
|
|
2447
2705
|
};
|
|
2448
2706
|
content: {
|
|
2449
|
-
|
|
2707
|
+
'application/json': components['schemas']['Error'];
|
|
2450
2708
|
};
|
|
2451
2709
|
};
|
|
2452
2710
|
};
|
|
@@ -2472,7 +2730,7 @@ declare interface operations {
|
|
|
2472
2730
|
[name: string]: unknown;
|
|
2473
2731
|
};
|
|
2474
2732
|
content: {
|
|
2475
|
-
|
|
2733
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2476
2734
|
};
|
|
2477
2735
|
};
|
|
2478
2736
|
/** @description Invalid timestamp format or value */
|
|
@@ -2481,7 +2739,7 @@ declare interface operations {
|
|
|
2481
2739
|
[name: string]: unknown;
|
|
2482
2740
|
};
|
|
2483
2741
|
content: {
|
|
2484
|
-
|
|
2742
|
+
'application/json': components['schemas']['Error'];
|
|
2485
2743
|
};
|
|
2486
2744
|
};
|
|
2487
2745
|
};
|
|
@@ -2501,7 +2759,7 @@ declare interface operations {
|
|
|
2501
2759
|
[name: string]: unknown;
|
|
2502
2760
|
};
|
|
2503
2761
|
content: {
|
|
2504
|
-
|
|
2762
|
+
'application/json': components['schemas']['TimezoneInfo'];
|
|
2505
2763
|
};
|
|
2506
2764
|
};
|
|
2507
2765
|
/** @description Invalid timezone offset */
|
|
@@ -2510,7 +2768,7 @@ declare interface operations {
|
|
|
2510
2768
|
[name: string]: unknown;
|
|
2511
2769
|
};
|
|
2512
2770
|
content: {
|
|
2513
|
-
|
|
2771
|
+
'application/json': components['schemas']['Error'];
|
|
2514
2772
|
};
|
|
2515
2773
|
};
|
|
2516
2774
|
};
|
|
@@ -2536,7 +2794,7 @@ declare interface operations {
|
|
|
2536
2794
|
[name: string]: unknown;
|
|
2537
2795
|
};
|
|
2538
2796
|
content: {
|
|
2539
|
-
|
|
2797
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2540
2798
|
};
|
|
2541
2799
|
};
|
|
2542
2800
|
/** @description Invalid timezone offset */
|
|
@@ -2545,7 +2803,7 @@ declare interface operations {
|
|
|
2545
2803
|
[name: string]: unknown;
|
|
2546
2804
|
};
|
|
2547
2805
|
content: {
|
|
2548
|
-
|
|
2806
|
+
'application/json': components['schemas']['Error'];
|
|
2549
2807
|
};
|
|
2550
2808
|
};
|
|
2551
2809
|
};
|
|
@@ -2565,7 +2823,7 @@ declare interface operations {
|
|
|
2565
2823
|
[name: string]: unknown;
|
|
2566
2824
|
};
|
|
2567
2825
|
content: {
|
|
2568
|
-
|
|
2826
|
+
'application/json': components['schemas']['TimezoneListResponse'];
|
|
2569
2827
|
};
|
|
2570
2828
|
};
|
|
2571
2829
|
/** @description Error getting time zone list */
|
|
@@ -2574,7 +2832,7 @@ declare interface operations {
|
|
|
2574
2832
|
[name: string]: unknown;
|
|
2575
2833
|
};
|
|
2576
2834
|
content: {
|
|
2577
|
-
|
|
2835
|
+
'application/json': components['schemas']['Error'];
|
|
2578
2836
|
};
|
|
2579
2837
|
};
|
|
2580
2838
|
};
|
|
@@ -2594,7 +2852,7 @@ declare interface operations {
|
|
|
2594
2852
|
[name: string]: unknown;
|
|
2595
2853
|
};
|
|
2596
2854
|
content: {
|
|
2597
|
-
|
|
2855
|
+
'application/json': components['schemas']['BusySnapshot'];
|
|
2598
2856
|
};
|
|
2599
2857
|
};
|
|
2600
2858
|
/** @description Error getting snapshot */
|
|
@@ -2603,7 +2861,7 @@ declare interface operations {
|
|
|
2603
2861
|
[name: string]: unknown;
|
|
2604
2862
|
};
|
|
2605
2863
|
content: {
|
|
2606
|
-
|
|
2864
|
+
'application/json': components['schemas']['Error'];
|
|
2607
2865
|
};
|
|
2608
2866
|
};
|
|
2609
2867
|
};
|
|
@@ -2617,7 +2875,7 @@ declare interface operations {
|
|
|
2617
2875
|
};
|
|
2618
2876
|
requestBody: {
|
|
2619
2877
|
content: {
|
|
2620
|
-
|
|
2878
|
+
'application/json': components['schemas']['BusySnapshot'];
|
|
2621
2879
|
};
|
|
2622
2880
|
};
|
|
2623
2881
|
responses: {
|
|
@@ -2627,7 +2885,7 @@ declare interface operations {
|
|
|
2627
2885
|
[name: string]: unknown;
|
|
2628
2886
|
};
|
|
2629
2887
|
content: {
|
|
2630
|
-
|
|
2888
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2631
2889
|
};
|
|
2632
2890
|
};
|
|
2633
2891
|
/** @description Error setting snapshot */
|
|
@@ -2636,7 +2894,73 @@ declare interface operations {
|
|
|
2636
2894
|
[name: string]: unknown;
|
|
2637
2895
|
};
|
|
2638
2896
|
content: {
|
|
2639
|
-
|
|
2897
|
+
'application/json': components['schemas']['Error'];
|
|
2898
|
+
};
|
|
2899
|
+
};
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
getBusyProfile: {
|
|
2903
|
+
parameters: {
|
|
2904
|
+
query?: never;
|
|
2905
|
+
header?: never;
|
|
2906
|
+
path: {
|
|
2907
|
+
slot: components['schemas']['BusyProfileSlot'];
|
|
2908
|
+
};
|
|
2909
|
+
cookie?: never;
|
|
2910
|
+
};
|
|
2911
|
+
requestBody?: never;
|
|
2912
|
+
responses: {
|
|
2913
|
+
/** @description Got profile successfully */
|
|
2914
|
+
200: {
|
|
2915
|
+
headers: {
|
|
2916
|
+
[name: string]: unknown;
|
|
2917
|
+
};
|
|
2918
|
+
content: {
|
|
2919
|
+
'application/json': components['schemas']['BusyProfile'];
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
/** @description Error getting profile */
|
|
2923
|
+
400: {
|
|
2924
|
+
headers: {
|
|
2925
|
+
[name: string]: unknown;
|
|
2926
|
+
};
|
|
2927
|
+
content: {
|
|
2928
|
+
'application/json': components['schemas']['Error'];
|
|
2929
|
+
};
|
|
2930
|
+
};
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
setBusyProfile: {
|
|
2934
|
+
parameters: {
|
|
2935
|
+
query?: never;
|
|
2936
|
+
header?: never;
|
|
2937
|
+
path: {
|
|
2938
|
+
slot: components['schemas']['BusyProfileSlot'];
|
|
2939
|
+
};
|
|
2940
|
+
cookie?: never;
|
|
2941
|
+
};
|
|
2942
|
+
requestBody: {
|
|
2943
|
+
content: {
|
|
2944
|
+
'application/json': components['schemas']['BusyProfile'];
|
|
2945
|
+
};
|
|
2946
|
+
};
|
|
2947
|
+
responses: {
|
|
2948
|
+
/** @description Profile successfully set */
|
|
2949
|
+
200: {
|
|
2950
|
+
headers: {
|
|
2951
|
+
[name: string]: unknown;
|
|
2952
|
+
};
|
|
2953
|
+
content: {
|
|
2954
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
/** @description Error setting profile */
|
|
2958
|
+
400: {
|
|
2959
|
+
headers: {
|
|
2960
|
+
[name: string]: unknown;
|
|
2961
|
+
};
|
|
2962
|
+
content: {
|
|
2963
|
+
'application/json': components['schemas']['Error'];
|
|
2640
2964
|
};
|
|
2641
2965
|
};
|
|
2642
2966
|
};
|
|
@@ -2656,7 +2980,7 @@ declare interface operations {
|
|
|
2656
2980
|
[name: string]: unknown;
|
|
2657
2981
|
};
|
|
2658
2982
|
content: {
|
|
2659
|
-
|
|
2983
|
+
'application/json': components['schemas']['MatterCommissionedFabrics'];
|
|
2660
2984
|
};
|
|
2661
2985
|
};
|
|
2662
2986
|
};
|
|
@@ -2676,7 +3000,7 @@ declare interface operations {
|
|
|
2676
3000
|
[name: string]: unknown;
|
|
2677
3001
|
};
|
|
2678
3002
|
content: {
|
|
2679
|
-
|
|
3003
|
+
'application/json': components['schemas']['MatterCommissioningPayload'];
|
|
2680
3004
|
};
|
|
2681
3005
|
};
|
|
2682
3006
|
/** @description Internal Matter service is broken */
|
|
@@ -2685,7 +3009,7 @@ declare interface operations {
|
|
|
2685
3009
|
[name: string]: unknown;
|
|
2686
3010
|
};
|
|
2687
3011
|
content: {
|
|
2688
|
-
|
|
3012
|
+
'application/json': components['schemas']['Error'];
|
|
2689
3013
|
};
|
|
2690
3014
|
};
|
|
2691
3015
|
};
|
|
@@ -2697,7 +3021,7 @@ declare interface operations {
|
|
|
2697
3021
|
* Do not make direct changes to the file.
|
|
2698
3022
|
*/
|
|
2699
3023
|
declare interface paths {
|
|
2700
|
-
|
|
3024
|
+
'/version': {
|
|
2701
3025
|
parameters: {
|
|
2702
3026
|
query?: never;
|
|
2703
3027
|
header?: never;
|
|
@@ -2708,7 +3032,7 @@ declare interface paths {
|
|
|
2708
3032
|
* Get API version information
|
|
2709
3033
|
* @description Retrieves API version
|
|
2710
3034
|
*/
|
|
2711
|
-
get: operations[
|
|
3035
|
+
get: operations['getVersion'];
|
|
2712
3036
|
put?: never;
|
|
2713
3037
|
post?: never;
|
|
2714
3038
|
delete?: never;
|
|
@@ -2717,7 +3041,7 @@ declare interface paths {
|
|
|
2717
3041
|
patch?: never;
|
|
2718
3042
|
trace?: never;
|
|
2719
3043
|
};
|
|
2720
|
-
|
|
3044
|
+
'/access': {
|
|
2721
3045
|
parameters: {
|
|
2722
3046
|
query?: never;
|
|
2723
3047
|
header?: never;
|
|
@@ -2728,20 +3052,20 @@ declare interface paths {
|
|
|
2728
3052
|
* Get HTTP API access over Wi-Fi configuration
|
|
2729
3053
|
* @description Get HTTP API access over Wi-Fi configuration
|
|
2730
3054
|
*/
|
|
2731
|
-
get: operations[
|
|
3055
|
+
get: operations['getHttpAccess'];
|
|
2732
3056
|
put?: never;
|
|
2733
3057
|
/**
|
|
2734
3058
|
* Set HTTP API access over Wi-Fi configuration
|
|
2735
3059
|
* @description Set HTTP API access over Wi-Fi configuration
|
|
2736
3060
|
*/
|
|
2737
|
-
post: operations[
|
|
3061
|
+
post: operations['setHttpAccess'];
|
|
2738
3062
|
delete?: never;
|
|
2739
3063
|
options?: never;
|
|
2740
3064
|
head?: never;
|
|
2741
3065
|
patch?: never;
|
|
2742
3066
|
trace?: never;
|
|
2743
3067
|
};
|
|
2744
|
-
|
|
3068
|
+
'/name': {
|
|
2745
3069
|
parameters: {
|
|
2746
3070
|
query?: never;
|
|
2747
3071
|
header?: never;
|
|
@@ -2767,7 +3091,7 @@ declare interface paths {
|
|
|
2767
3091
|
[name: string]: unknown;
|
|
2768
3092
|
};
|
|
2769
3093
|
content: {
|
|
2770
|
-
|
|
3094
|
+
'application/json': components['schemas']['NameInfo'];
|
|
2771
3095
|
};
|
|
2772
3096
|
};
|
|
2773
3097
|
};
|
|
@@ -2786,7 +3110,7 @@ declare interface paths {
|
|
|
2786
3110
|
};
|
|
2787
3111
|
requestBody: {
|
|
2788
3112
|
content: {
|
|
2789
|
-
|
|
3113
|
+
'application/json': components['schemas']['NameInfo'];
|
|
2790
3114
|
};
|
|
2791
3115
|
};
|
|
2792
3116
|
responses: {
|
|
@@ -2796,7 +3120,7 @@ declare interface paths {
|
|
|
2796
3120
|
[name: string]: unknown;
|
|
2797
3121
|
};
|
|
2798
3122
|
content: {
|
|
2799
|
-
|
|
3123
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
2800
3124
|
};
|
|
2801
3125
|
};
|
|
2802
3126
|
/** @description Invalid name parameter, or failed to store new name */
|
|
@@ -2805,7 +3129,7 @@ declare interface paths {
|
|
|
2805
3129
|
[name: string]: unknown;
|
|
2806
3130
|
};
|
|
2807
3131
|
content: {
|
|
2808
|
-
|
|
3132
|
+
'application/json': components['schemas']['Error'];
|
|
2809
3133
|
};
|
|
2810
3134
|
};
|
|
2811
3135
|
};
|
|
@@ -2816,7 +3140,7 @@ declare interface paths {
|
|
|
2816
3140
|
patch?: never;
|
|
2817
3141
|
trace?: never;
|
|
2818
3142
|
};
|
|
2819
|
-
|
|
3143
|
+
'/update': {
|
|
2820
3144
|
parameters: {
|
|
2821
3145
|
query?: never;
|
|
2822
3146
|
header?: never;
|
|
@@ -2829,14 +3153,14 @@ declare interface paths {
|
|
|
2829
3153
|
* Update firmware
|
|
2830
3154
|
* @description Uploads a firmware update package (TAR file) and initiates the update process.
|
|
2831
3155
|
*/
|
|
2832
|
-
post: operations[
|
|
3156
|
+
post: operations['updateFirmware'];
|
|
2833
3157
|
delete?: never;
|
|
2834
3158
|
options?: never;
|
|
2835
3159
|
head?: never;
|
|
2836
3160
|
patch?: never;
|
|
2837
3161
|
trace?: never;
|
|
2838
3162
|
};
|
|
2839
|
-
|
|
3163
|
+
'/update/check': {
|
|
2840
3164
|
parameters: {
|
|
2841
3165
|
query?: never;
|
|
2842
3166
|
header?: never;
|
|
@@ -2849,14 +3173,14 @@ declare interface paths {
|
|
|
2849
3173
|
* Start firmware update check
|
|
2850
3174
|
* @description Initiates an asynchronous check for available firmware updates.
|
|
2851
3175
|
*/
|
|
2852
|
-
post: operations[
|
|
3176
|
+
post: operations['checkFirmwareUpdate'];
|
|
2853
3177
|
delete?: never;
|
|
2854
3178
|
options?: never;
|
|
2855
3179
|
head?: never;
|
|
2856
3180
|
patch?: never;
|
|
2857
3181
|
trace?: never;
|
|
2858
3182
|
};
|
|
2859
|
-
|
|
3183
|
+
'/update/status': {
|
|
2860
3184
|
parameters: {
|
|
2861
3185
|
query?: never;
|
|
2862
3186
|
header?: never;
|
|
@@ -2867,7 +3191,7 @@ declare interface paths {
|
|
|
2867
3191
|
* Get firmware update status
|
|
2868
3192
|
* @description Returns current update and check status including progress information.
|
|
2869
3193
|
*/
|
|
2870
|
-
get: operations[
|
|
3194
|
+
get: operations['getFirmwareUpdateStatus'];
|
|
2871
3195
|
put?: never;
|
|
2872
3196
|
post?: never;
|
|
2873
3197
|
delete?: never;
|
|
@@ -2876,7 +3200,7 @@ declare interface paths {
|
|
|
2876
3200
|
patch?: never;
|
|
2877
3201
|
trace?: never;
|
|
2878
3202
|
};
|
|
2879
|
-
|
|
3203
|
+
'/update/changelog': {
|
|
2880
3204
|
parameters: {
|
|
2881
3205
|
query?: never;
|
|
2882
3206
|
header?: never;
|
|
@@ -2887,7 +3211,7 @@ declare interface paths {
|
|
|
2887
3211
|
* Get update changelog
|
|
2888
3212
|
* @description Returns the changelog for a specific firmware version.
|
|
2889
3213
|
*/
|
|
2890
|
-
get: operations[
|
|
3214
|
+
get: operations['getUpdateChangelog'];
|
|
2891
3215
|
put?: never;
|
|
2892
3216
|
post?: never;
|
|
2893
3217
|
delete?: never;
|
|
@@ -2896,7 +3220,7 @@ declare interface paths {
|
|
|
2896
3220
|
patch?: never;
|
|
2897
3221
|
trace?: never;
|
|
2898
3222
|
};
|
|
2899
|
-
|
|
3223
|
+
'/update/install': {
|
|
2900
3224
|
parameters: {
|
|
2901
3225
|
query?: never;
|
|
2902
3226
|
header?: never;
|
|
@@ -2910,15 +3234,16 @@ declare interface paths {
|
|
|
2910
3234
|
* @description Starts asynchronous firmware installation from a remote URL.
|
|
2911
3235
|
* The update process (download, SHA verification, unpack, prepare, reboot) runs in the background.
|
|
2912
3236
|
* Use /update/status to monitor progress.
|
|
3237
|
+
*
|
|
2913
3238
|
*/
|
|
2914
|
-
post: operations[
|
|
3239
|
+
post: operations['installFirmwareUpdate'];
|
|
2915
3240
|
delete?: never;
|
|
2916
3241
|
options?: never;
|
|
2917
3242
|
head?: never;
|
|
2918
3243
|
patch?: never;
|
|
2919
3244
|
trace?: never;
|
|
2920
3245
|
};
|
|
2921
|
-
|
|
3246
|
+
'/update/abort_download': {
|
|
2922
3247
|
parameters: {
|
|
2923
3248
|
query?: never;
|
|
2924
3249
|
header?: never;
|
|
@@ -2931,14 +3256,38 @@ declare interface paths {
|
|
|
2931
3256
|
* Abort ongoing firmware download
|
|
2932
3257
|
* @description Signals the updater to abort an ongoing download operation.
|
|
2933
3258
|
*/
|
|
2934
|
-
post: operations[
|
|
3259
|
+
post: operations['abortFirmwareDownload'];
|
|
3260
|
+
delete?: never;
|
|
3261
|
+
options?: never;
|
|
3262
|
+
head?: never;
|
|
3263
|
+
patch?: never;
|
|
3264
|
+
trace?: never;
|
|
3265
|
+
};
|
|
3266
|
+
'/update/autoupdate': {
|
|
3267
|
+
parameters: {
|
|
3268
|
+
query?: never;
|
|
3269
|
+
header?: never;
|
|
3270
|
+
path?: never;
|
|
3271
|
+
cookie?: never;
|
|
3272
|
+
};
|
|
3273
|
+
/**
|
|
3274
|
+
* Get autoupdate settings
|
|
3275
|
+
* @description Returns current autoupdate configuration
|
|
3276
|
+
*/
|
|
3277
|
+
get: operations['getAutoupdateSettings'];
|
|
3278
|
+
put?: never;
|
|
3279
|
+
/**
|
|
3280
|
+
* Set autoupdate settings
|
|
3281
|
+
* @description Updates autoupdate configuration. All fields are optional - only provided fields are updated.
|
|
3282
|
+
*/
|
|
3283
|
+
post: operations['setAutoupdateSettings'];
|
|
2935
3284
|
delete?: never;
|
|
2936
3285
|
options?: never;
|
|
2937
3286
|
head?: never;
|
|
2938
3287
|
patch?: never;
|
|
2939
3288
|
trace?: never;
|
|
2940
3289
|
};
|
|
2941
|
-
|
|
3290
|
+
'/assets/upload': {
|
|
2942
3291
|
parameters: {
|
|
2943
3292
|
query?: never;
|
|
2944
3293
|
header?: never;
|
|
@@ -2951,18 +3300,18 @@ declare interface paths {
|
|
|
2951
3300
|
* Upload asset file with app ID
|
|
2952
3301
|
* @description Uploads a file to a specific app's assets directory
|
|
2953
3302
|
*/
|
|
2954
|
-
post: operations[
|
|
3303
|
+
post: operations['uploadAssetWithAppId'];
|
|
2955
3304
|
/**
|
|
2956
3305
|
* Delete app assets
|
|
2957
3306
|
* @description Deletes all assets for a specific app ID
|
|
2958
3307
|
*/
|
|
2959
|
-
delete: operations[
|
|
3308
|
+
delete: operations['deleteAppAssets'];
|
|
2960
3309
|
options?: never;
|
|
2961
3310
|
head?: never;
|
|
2962
3311
|
patch?: never;
|
|
2963
3312
|
trace?: never;
|
|
2964
3313
|
};
|
|
2965
|
-
|
|
3314
|
+
'/storage/write': {
|
|
2966
3315
|
parameters: {
|
|
2967
3316
|
query?: never;
|
|
2968
3317
|
header?: never;
|
|
@@ -2975,14 +3324,14 @@ declare interface paths {
|
|
|
2975
3324
|
* Upload file to internal storage
|
|
2976
3325
|
* @description Uploads a file to a specified path
|
|
2977
3326
|
*/
|
|
2978
|
-
post: operations[
|
|
3327
|
+
post: operations['writeStorageFile'];
|
|
2979
3328
|
delete?: never;
|
|
2980
3329
|
options?: never;
|
|
2981
3330
|
head?: never;
|
|
2982
3331
|
patch?: never;
|
|
2983
3332
|
trace?: never;
|
|
2984
3333
|
};
|
|
2985
|
-
|
|
3334
|
+
'/storage/read': {
|
|
2986
3335
|
parameters: {
|
|
2987
3336
|
query?: never;
|
|
2988
3337
|
header?: never;
|
|
@@ -2993,7 +3342,7 @@ declare interface paths {
|
|
|
2993
3342
|
* Download file from internal storage
|
|
2994
3343
|
* @description Downloads a file from a specified path
|
|
2995
3344
|
*/
|
|
2996
|
-
get: operations[
|
|
3345
|
+
get: operations['readStorageFile'];
|
|
2997
3346
|
put?: never;
|
|
2998
3347
|
post?: never;
|
|
2999
3348
|
delete?: never;
|
|
@@ -3002,7 +3351,7 @@ declare interface paths {
|
|
|
3002
3351
|
patch?: never;
|
|
3003
3352
|
trace?: never;
|
|
3004
3353
|
};
|
|
3005
|
-
|
|
3354
|
+
'/storage/list': {
|
|
3006
3355
|
parameters: {
|
|
3007
3356
|
query?: never;
|
|
3008
3357
|
header?: never;
|
|
@@ -3010,7 +3359,7 @@ declare interface paths {
|
|
|
3010
3359
|
cookie?: never;
|
|
3011
3360
|
};
|
|
3012
3361
|
/** List files on internal storage */
|
|
3013
|
-
get: operations[
|
|
3362
|
+
get: operations['listStorageFiles'];
|
|
3014
3363
|
put?: never;
|
|
3015
3364
|
post?: never;
|
|
3016
3365
|
delete?: never;
|
|
@@ -3019,7 +3368,7 @@ declare interface paths {
|
|
|
3019
3368
|
patch?: never;
|
|
3020
3369
|
trace?: never;
|
|
3021
3370
|
};
|
|
3022
|
-
|
|
3371
|
+
'/storage/remove': {
|
|
3023
3372
|
parameters: {
|
|
3024
3373
|
query?: never;
|
|
3025
3374
|
header?: never;
|
|
@@ -3033,13 +3382,13 @@ declare interface paths {
|
|
|
3033
3382
|
* Remove a file on internal storage
|
|
3034
3383
|
* @description Removes a file with a specified path
|
|
3035
3384
|
*/
|
|
3036
|
-
delete: operations[
|
|
3385
|
+
delete: operations['removeStorageFile'];
|
|
3037
3386
|
options?: never;
|
|
3038
3387
|
head?: never;
|
|
3039
3388
|
patch?: never;
|
|
3040
3389
|
trace?: never;
|
|
3041
3390
|
};
|
|
3042
|
-
|
|
3391
|
+
'/storage/mkdir': {
|
|
3043
3392
|
parameters: {
|
|
3044
3393
|
query?: never;
|
|
3045
3394
|
header?: never;
|
|
@@ -3052,14 +3401,34 @@ declare interface paths {
|
|
|
3052
3401
|
* Create a directory on internal storage
|
|
3053
3402
|
* @description Creates a new directory with a specified path
|
|
3054
3403
|
*/
|
|
3055
|
-
post: operations[
|
|
3404
|
+
post: operations['createStorageDir'];
|
|
3056
3405
|
delete?: never;
|
|
3057
3406
|
options?: never;
|
|
3058
3407
|
head?: never;
|
|
3059
3408
|
patch?: never;
|
|
3060
3409
|
trace?: never;
|
|
3061
3410
|
};
|
|
3062
|
-
|
|
3411
|
+
'/storage/rename': {
|
|
3412
|
+
parameters: {
|
|
3413
|
+
query?: never;
|
|
3414
|
+
header?: never;
|
|
3415
|
+
path?: never;
|
|
3416
|
+
cookie?: never;
|
|
3417
|
+
};
|
|
3418
|
+
get?: never;
|
|
3419
|
+
put?: never;
|
|
3420
|
+
/**
|
|
3421
|
+
* Rename/move a file
|
|
3422
|
+
* @description Moves a file to a new location
|
|
3423
|
+
*/
|
|
3424
|
+
post: operations['RenameStorageFile'];
|
|
3425
|
+
delete?: never;
|
|
3426
|
+
options?: never;
|
|
3427
|
+
head?: never;
|
|
3428
|
+
patch?: never;
|
|
3429
|
+
trace?: never;
|
|
3430
|
+
};
|
|
3431
|
+
'/storage/status': {
|
|
3063
3432
|
parameters: {
|
|
3064
3433
|
query?: never;
|
|
3065
3434
|
header?: never;
|
|
@@ -3067,7 +3436,7 @@ declare interface paths {
|
|
|
3067
3436
|
cookie?: never;
|
|
3068
3437
|
};
|
|
3069
3438
|
/** Show storage usage */
|
|
3070
|
-
get: operations[
|
|
3439
|
+
get: operations['getStorageStatus'];
|
|
3071
3440
|
put?: never;
|
|
3072
3441
|
post?: never;
|
|
3073
3442
|
delete?: never;
|
|
@@ -3076,7 +3445,7 @@ declare interface paths {
|
|
|
3076
3445
|
patch?: never;
|
|
3077
3446
|
trace?: never;
|
|
3078
3447
|
};
|
|
3079
|
-
|
|
3448
|
+
'/display/draw': {
|
|
3080
3449
|
parameters: {
|
|
3081
3450
|
query?: never;
|
|
3082
3451
|
header?: never;
|
|
@@ -3089,19 +3458,20 @@ declare interface paths {
|
|
|
3089
3458
|
* Draw on display
|
|
3090
3459
|
* @description Sends drawing data to the display.
|
|
3091
3460
|
* Supports JSON-defined display elements.
|
|
3461
|
+
*
|
|
3092
3462
|
*/
|
|
3093
|
-
post: operations[
|
|
3463
|
+
post: operations['drawOnDisplay'];
|
|
3094
3464
|
/**
|
|
3095
3465
|
* Clear display
|
|
3096
3466
|
* @description Clears the display and stops the Canvas application if running
|
|
3097
3467
|
*/
|
|
3098
|
-
delete: operations[
|
|
3468
|
+
delete: operations['clearDisplay'];
|
|
3099
3469
|
options?: never;
|
|
3100
3470
|
head?: never;
|
|
3101
3471
|
patch?: never;
|
|
3102
3472
|
trace?: never;
|
|
3103
3473
|
};
|
|
3104
|
-
|
|
3474
|
+
'/display/brightness': {
|
|
3105
3475
|
parameters: {
|
|
3106
3476
|
query?: never;
|
|
3107
3477
|
header?: never;
|
|
@@ -3112,20 +3482,21 @@ declare interface paths {
|
|
|
3112
3482
|
* Get display brightness
|
|
3113
3483
|
* @description Get brightness value for displays
|
|
3114
3484
|
*/
|
|
3115
|
-
get: operations[
|
|
3485
|
+
get: operations['getDisplayBrightness'];
|
|
3116
3486
|
put?: never;
|
|
3117
3487
|
/**
|
|
3118
3488
|
* Set display brightness
|
|
3119
3489
|
* @description Set brightness for one or both displays
|
|
3490
|
+
*
|
|
3120
3491
|
*/
|
|
3121
|
-
post: operations[
|
|
3492
|
+
post: operations['setDisplayBrightness'];
|
|
3122
3493
|
delete?: never;
|
|
3123
3494
|
options?: never;
|
|
3124
3495
|
head?: never;
|
|
3125
3496
|
patch?: never;
|
|
3126
3497
|
trace?: never;
|
|
3127
3498
|
};
|
|
3128
|
-
|
|
3499
|
+
'/audio/play': {
|
|
3129
3500
|
parameters: {
|
|
3130
3501
|
query?: never;
|
|
3131
3502
|
header?: never;
|
|
@@ -3138,19 +3509,20 @@ declare interface paths {
|
|
|
3138
3509
|
* Play audio file
|
|
3139
3510
|
* @description Plays an audio file from the assets directory.
|
|
3140
3511
|
* Supported formats include .snd files.
|
|
3512
|
+
*
|
|
3141
3513
|
*/
|
|
3142
|
-
post: operations[
|
|
3514
|
+
post: operations['playAudio'];
|
|
3143
3515
|
/**
|
|
3144
3516
|
* Stop audio playback
|
|
3145
3517
|
* @description Stops any currently playing audio
|
|
3146
3518
|
*/
|
|
3147
|
-
delete: operations[
|
|
3519
|
+
delete: operations['stopAudio'];
|
|
3148
3520
|
options?: never;
|
|
3149
3521
|
head?: never;
|
|
3150
3522
|
patch?: never;
|
|
3151
3523
|
trace?: never;
|
|
3152
3524
|
};
|
|
3153
|
-
|
|
3525
|
+
'/audio/volume': {
|
|
3154
3526
|
parameters: {
|
|
3155
3527
|
query?: never;
|
|
3156
3528
|
header?: never;
|
|
@@ -3161,20 +3533,20 @@ declare interface paths {
|
|
|
3161
3533
|
* Get audio volume
|
|
3162
3534
|
* @description Get audio volume value
|
|
3163
3535
|
*/
|
|
3164
|
-
get: operations[
|
|
3536
|
+
get: operations['getAudioVolume'];
|
|
3165
3537
|
put?: never;
|
|
3166
3538
|
/**
|
|
3167
3539
|
* Set audio volume
|
|
3168
3540
|
* @description Set audio volume value
|
|
3169
3541
|
*/
|
|
3170
|
-
post: operations[
|
|
3542
|
+
post: operations['setAudioVolume'];
|
|
3171
3543
|
delete?: never;
|
|
3172
3544
|
options?: never;
|
|
3173
3545
|
head?: never;
|
|
3174
3546
|
patch?: never;
|
|
3175
3547
|
trace?: never;
|
|
3176
3548
|
};
|
|
3177
|
-
|
|
3549
|
+
'/input': {
|
|
3178
3550
|
parameters: {
|
|
3179
3551
|
query?: never;
|
|
3180
3552
|
header?: never;
|
|
@@ -3185,20 +3557,20 @@ declare interface paths {
|
|
|
3185
3557
|
* Input events streaming
|
|
3186
3558
|
* @description Start WebSocket session for input events streaming
|
|
3187
3559
|
*/
|
|
3188
|
-
get: operations[
|
|
3560
|
+
get: operations['connectInputWebSocket'];
|
|
3189
3561
|
put?: never;
|
|
3190
3562
|
/**
|
|
3191
3563
|
* Send input event
|
|
3192
3564
|
* @description Send single key press event
|
|
3193
3565
|
*/
|
|
3194
|
-
post: operations[
|
|
3566
|
+
post: operations['setInputKey'];
|
|
3195
3567
|
delete?: never;
|
|
3196
3568
|
options?: never;
|
|
3197
3569
|
head?: never;
|
|
3198
3570
|
patch?: never;
|
|
3199
3571
|
trace?: never;
|
|
3200
3572
|
};
|
|
3201
|
-
|
|
3573
|
+
'/status': {
|
|
3202
3574
|
parameters: {
|
|
3203
3575
|
query?: never;
|
|
3204
3576
|
header?: never;
|
|
@@ -3209,7 +3581,47 @@ declare interface paths {
|
|
|
3209
3581
|
* Get device status
|
|
3210
3582
|
* @description Get device status
|
|
3211
3583
|
*/
|
|
3212
|
-
get: operations[
|
|
3584
|
+
get: operations['getStatus'];
|
|
3585
|
+
put?: never;
|
|
3586
|
+
post?: never;
|
|
3587
|
+
delete?: never;
|
|
3588
|
+
options?: never;
|
|
3589
|
+
head?: never;
|
|
3590
|
+
patch?: never;
|
|
3591
|
+
trace?: never;
|
|
3592
|
+
};
|
|
3593
|
+
'/status/device': {
|
|
3594
|
+
parameters: {
|
|
3595
|
+
query?: never;
|
|
3596
|
+
header?: never;
|
|
3597
|
+
path?: never;
|
|
3598
|
+
cookie?: never;
|
|
3599
|
+
};
|
|
3600
|
+
/**
|
|
3601
|
+
* Get device info
|
|
3602
|
+
* @description Get device info
|
|
3603
|
+
*/
|
|
3604
|
+
get: operations['getStatusDevice'];
|
|
3605
|
+
put?: never;
|
|
3606
|
+
post?: never;
|
|
3607
|
+
delete?: never;
|
|
3608
|
+
options?: never;
|
|
3609
|
+
head?: never;
|
|
3610
|
+
patch?: never;
|
|
3611
|
+
trace?: never;
|
|
3612
|
+
};
|
|
3613
|
+
'/status/firmware': {
|
|
3614
|
+
parameters: {
|
|
3615
|
+
query?: never;
|
|
3616
|
+
header?: never;
|
|
3617
|
+
path?: never;
|
|
3618
|
+
cookie?: never;
|
|
3619
|
+
};
|
|
3620
|
+
/**
|
|
3621
|
+
* Get firmware info
|
|
3622
|
+
* @description Get firmware info
|
|
3623
|
+
*/
|
|
3624
|
+
get: operations['getStatusFirmware'];
|
|
3213
3625
|
put?: never;
|
|
3214
3626
|
post?: never;
|
|
3215
3627
|
delete?: never;
|
|
@@ -3218,7 +3630,7 @@ declare interface paths {
|
|
|
3218
3630
|
patch?: never;
|
|
3219
3631
|
trace?: never;
|
|
3220
3632
|
};
|
|
3221
|
-
|
|
3633
|
+
'/status/system': {
|
|
3222
3634
|
parameters: {
|
|
3223
3635
|
query?: never;
|
|
3224
3636
|
header?: never;
|
|
@@ -3229,7 +3641,7 @@ declare interface paths {
|
|
|
3229
3641
|
* Get system status
|
|
3230
3642
|
* @description Get system status
|
|
3231
3643
|
*/
|
|
3232
|
-
get: operations[
|
|
3644
|
+
get: operations['getStatusSystem'];
|
|
3233
3645
|
put?: never;
|
|
3234
3646
|
post?: never;
|
|
3235
3647
|
delete?: never;
|
|
@@ -3238,7 +3650,7 @@ declare interface paths {
|
|
|
3238
3650
|
patch?: never;
|
|
3239
3651
|
trace?: never;
|
|
3240
3652
|
};
|
|
3241
|
-
|
|
3653
|
+
'/status/power': {
|
|
3242
3654
|
parameters: {
|
|
3243
3655
|
query?: never;
|
|
3244
3656
|
header?: never;
|
|
@@ -3249,7 +3661,7 @@ declare interface paths {
|
|
|
3249
3661
|
* Get power status
|
|
3250
3662
|
* @description Get power status
|
|
3251
3663
|
*/
|
|
3252
|
-
get: operations[
|
|
3664
|
+
get: operations['getStatusPower'];
|
|
3253
3665
|
put?: never;
|
|
3254
3666
|
post?: never;
|
|
3255
3667
|
delete?: never;
|
|
@@ -3258,7 +3670,7 @@ declare interface paths {
|
|
|
3258
3670
|
patch?: never;
|
|
3259
3671
|
trace?: never;
|
|
3260
3672
|
};
|
|
3261
|
-
|
|
3673
|
+
'/wifi/status': {
|
|
3262
3674
|
parameters: {
|
|
3263
3675
|
query?: never;
|
|
3264
3676
|
header?: never;
|
|
@@ -3281,7 +3693,7 @@ declare interface paths {
|
|
|
3281
3693
|
[name: string]: unknown;
|
|
3282
3694
|
};
|
|
3283
3695
|
content: {
|
|
3284
|
-
|
|
3696
|
+
'application/json': components['schemas']['StatusResponse'];
|
|
3285
3697
|
};
|
|
3286
3698
|
};
|
|
3287
3699
|
};
|
|
@@ -3294,7 +3706,7 @@ declare interface paths {
|
|
|
3294
3706
|
patch?: never;
|
|
3295
3707
|
trace?: never;
|
|
3296
3708
|
};
|
|
3297
|
-
|
|
3709
|
+
'/wifi/connect': {
|
|
3298
3710
|
parameters: {
|
|
3299
3711
|
query?: never;
|
|
3300
3712
|
header?: never;
|
|
@@ -3313,7 +3725,7 @@ declare interface paths {
|
|
|
3313
3725
|
};
|
|
3314
3726
|
requestBody: {
|
|
3315
3727
|
content: {
|
|
3316
|
-
|
|
3728
|
+
'application/json': components['schemas']['ConnectRequestConfig'];
|
|
3317
3729
|
};
|
|
3318
3730
|
};
|
|
3319
3731
|
responses: {
|
|
@@ -3323,7 +3735,7 @@ declare interface paths {
|
|
|
3323
3735
|
[name: string]: unknown;
|
|
3324
3736
|
};
|
|
3325
3737
|
content: {
|
|
3326
|
-
|
|
3738
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
3327
3739
|
};
|
|
3328
3740
|
};
|
|
3329
3741
|
/** @description Already connected */
|
|
@@ -3332,7 +3744,7 @@ declare interface paths {
|
|
|
3332
3744
|
[name: string]: unknown;
|
|
3333
3745
|
};
|
|
3334
3746
|
content: {
|
|
3335
|
-
|
|
3747
|
+
'application/json': components['schemas']['Error'];
|
|
3336
3748
|
};
|
|
3337
3749
|
};
|
|
3338
3750
|
};
|
|
@@ -3343,7 +3755,7 @@ declare interface paths {
|
|
|
3343
3755
|
patch?: never;
|
|
3344
3756
|
trace?: never;
|
|
3345
3757
|
};
|
|
3346
|
-
|
|
3758
|
+
'/wifi/disconnect': {
|
|
3347
3759
|
parameters: {
|
|
3348
3760
|
query?: never;
|
|
3349
3761
|
header?: never;
|
|
@@ -3368,7 +3780,7 @@ declare interface paths {
|
|
|
3368
3780
|
[name: string]: unknown;
|
|
3369
3781
|
};
|
|
3370
3782
|
content: {
|
|
3371
|
-
|
|
3783
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
3372
3784
|
};
|
|
3373
3785
|
};
|
|
3374
3786
|
/** @description Already disconnected */
|
|
@@ -3377,7 +3789,7 @@ declare interface paths {
|
|
|
3377
3789
|
[name: string]: unknown;
|
|
3378
3790
|
};
|
|
3379
3791
|
content: {
|
|
3380
|
-
|
|
3792
|
+
'application/json': components['schemas']['Error'];
|
|
3381
3793
|
};
|
|
3382
3794
|
};
|
|
3383
3795
|
};
|
|
@@ -3388,7 +3800,7 @@ declare interface paths {
|
|
|
3388
3800
|
patch?: never;
|
|
3389
3801
|
trace?: never;
|
|
3390
3802
|
};
|
|
3391
|
-
|
|
3803
|
+
'/wifi/networks': {
|
|
3392
3804
|
parameters: {
|
|
3393
3805
|
query?: never;
|
|
3394
3806
|
header?: never;
|
|
@@ -3411,7 +3823,7 @@ declare interface paths {
|
|
|
3411
3823
|
[name: string]: unknown;
|
|
3412
3824
|
};
|
|
3413
3825
|
content: {
|
|
3414
|
-
|
|
3826
|
+
'application/json': components['schemas']['NetworkResponse'];
|
|
3415
3827
|
};
|
|
3416
3828
|
};
|
|
3417
3829
|
/** @description Scan not possible when connected */
|
|
@@ -3420,7 +3832,7 @@ declare interface paths {
|
|
|
3420
3832
|
[name: string]: unknown;
|
|
3421
3833
|
};
|
|
3422
3834
|
content: {
|
|
3423
|
-
|
|
3835
|
+
'application/json': components['schemas']['Error'];
|
|
3424
3836
|
};
|
|
3425
3837
|
};
|
|
3426
3838
|
};
|
|
@@ -3433,7 +3845,7 @@ declare interface paths {
|
|
|
3433
3845
|
patch?: never;
|
|
3434
3846
|
trace?: never;
|
|
3435
3847
|
};
|
|
3436
|
-
|
|
3848
|
+
'/screen': {
|
|
3437
3849
|
parameters: {
|
|
3438
3850
|
query?: never;
|
|
3439
3851
|
header?: never;
|
|
@@ -3462,7 +3874,7 @@ declare interface paths {
|
|
|
3462
3874
|
[name: string]: unknown;
|
|
3463
3875
|
};
|
|
3464
3876
|
content: {
|
|
3465
|
-
|
|
3877
|
+
'image/bmp': components['schemas']['ScreenResponse'];
|
|
3466
3878
|
};
|
|
3467
3879
|
};
|
|
3468
3880
|
/** @description Wrong display */
|
|
@@ -3471,7 +3883,7 @@ declare interface paths {
|
|
|
3471
3883
|
[name: string]: unknown;
|
|
3472
3884
|
};
|
|
3473
3885
|
content: {
|
|
3474
|
-
|
|
3886
|
+
'application/json': components['schemas']['Error'];
|
|
3475
3887
|
};
|
|
3476
3888
|
};
|
|
3477
3889
|
};
|
|
@@ -3484,7 +3896,7 @@ declare interface paths {
|
|
|
3484
3896
|
patch?: never;
|
|
3485
3897
|
trace?: never;
|
|
3486
3898
|
};
|
|
3487
|
-
|
|
3899
|
+
'/screen/ws': {
|
|
3488
3900
|
parameters: {
|
|
3489
3901
|
query?: never;
|
|
3490
3902
|
header?: never;
|
|
@@ -3497,8 +3909,9 @@ declare interface paths {
|
|
|
3497
3909
|
* Upgrade from HTTP to WebSocket protocol is required.
|
|
3498
3910
|
* After connection, client must send desired display ID
|
|
3499
3911
|
* as JSON {"display": 0}
|
|
3912
|
+
*
|
|
3500
3913
|
*/
|
|
3501
|
-
get: operations[
|
|
3914
|
+
get: operations['connectWebSocket'];
|
|
3502
3915
|
put?: never;
|
|
3503
3916
|
post?: never;
|
|
3504
3917
|
delete?: never;
|
|
@@ -3507,7 +3920,7 @@ declare interface paths {
|
|
|
3507
3920
|
patch?: never;
|
|
3508
3921
|
trace?: never;
|
|
3509
3922
|
};
|
|
3510
|
-
|
|
3923
|
+
'/ble/enable': {
|
|
3511
3924
|
parameters: {
|
|
3512
3925
|
query?: never;
|
|
3513
3926
|
header?: never;
|
|
@@ -3535,7 +3948,7 @@ declare interface paths {
|
|
|
3535
3948
|
[name: string]: unknown;
|
|
3536
3949
|
};
|
|
3537
3950
|
content: {
|
|
3538
|
-
|
|
3951
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
3539
3952
|
};
|
|
3540
3953
|
};
|
|
3541
3954
|
};
|
|
@@ -3546,7 +3959,7 @@ declare interface paths {
|
|
|
3546
3959
|
patch?: never;
|
|
3547
3960
|
trace?: never;
|
|
3548
3961
|
};
|
|
3549
|
-
|
|
3962
|
+
'/ble/disable': {
|
|
3550
3963
|
parameters: {
|
|
3551
3964
|
query?: never;
|
|
3552
3965
|
header?: never;
|
|
@@ -3574,7 +3987,7 @@ declare interface paths {
|
|
|
3574
3987
|
[name: string]: unknown;
|
|
3575
3988
|
};
|
|
3576
3989
|
content: {
|
|
3577
|
-
|
|
3990
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
3578
3991
|
};
|
|
3579
3992
|
};
|
|
3580
3993
|
};
|
|
@@ -3585,7 +3998,7 @@ declare interface paths {
|
|
|
3585
3998
|
patch?: never;
|
|
3586
3999
|
trace?: never;
|
|
3587
4000
|
};
|
|
3588
|
-
|
|
4001
|
+
'/ble/pairing': {
|
|
3589
4002
|
parameters: {
|
|
3590
4003
|
query?: never;
|
|
3591
4004
|
header?: never;
|
|
@@ -3614,7 +4027,7 @@ declare interface paths {
|
|
|
3614
4027
|
[name: string]: unknown;
|
|
3615
4028
|
};
|
|
3616
4029
|
content: {
|
|
3617
|
-
|
|
4030
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
3618
4031
|
};
|
|
3619
4032
|
};
|
|
3620
4033
|
/** @description Failed to remove because BLE is not initialized or pairing was already removed */
|
|
@@ -3623,7 +4036,7 @@ declare interface paths {
|
|
|
3623
4036
|
[name: string]: unknown;
|
|
3624
4037
|
};
|
|
3625
4038
|
content: {
|
|
3626
|
-
|
|
4039
|
+
'application/json': components['schemas']['Error'];
|
|
3627
4040
|
};
|
|
3628
4041
|
};
|
|
3629
4042
|
};
|
|
@@ -3633,7 +4046,7 @@ declare interface paths {
|
|
|
3633
4046
|
patch?: never;
|
|
3634
4047
|
trace?: never;
|
|
3635
4048
|
};
|
|
3636
|
-
|
|
4049
|
+
'/ble/status': {
|
|
3637
4050
|
parameters: {
|
|
3638
4051
|
query?: never;
|
|
3639
4052
|
header?: never;
|
|
@@ -3656,7 +4069,7 @@ declare interface paths {
|
|
|
3656
4069
|
[name: string]: unknown;
|
|
3657
4070
|
};
|
|
3658
4071
|
content: {
|
|
3659
|
-
|
|
4072
|
+
'application/json': components['schemas']['BleStatusResponse'];
|
|
3660
4073
|
};
|
|
3661
4074
|
};
|
|
3662
4075
|
};
|
|
@@ -3669,7 +4082,7 @@ declare interface paths {
|
|
|
3669
4082
|
patch?: never;
|
|
3670
4083
|
trace?: never;
|
|
3671
4084
|
};
|
|
3672
|
-
|
|
4085
|
+
'/time': {
|
|
3673
4086
|
parameters: {
|
|
3674
4087
|
query?: never;
|
|
3675
4088
|
header?: never;
|
|
@@ -3680,7 +4093,7 @@ declare interface paths {
|
|
|
3680
4093
|
* Get current timestamp with timezone
|
|
3681
4094
|
* @description Retrieves the current timestamp from RTC with timezone in ISO 8601 format
|
|
3682
4095
|
*/
|
|
3683
|
-
get: operations[
|
|
4096
|
+
get: operations['getTime'];
|
|
3684
4097
|
put?: never;
|
|
3685
4098
|
post?: never;
|
|
3686
4099
|
delete?: never;
|
|
@@ -3689,7 +4102,7 @@ declare interface paths {
|
|
|
3689
4102
|
patch?: never;
|
|
3690
4103
|
trace?: never;
|
|
3691
4104
|
};
|
|
3692
|
-
|
|
4105
|
+
'/account': {
|
|
3693
4106
|
parameters: {
|
|
3694
4107
|
query?: never;
|
|
3695
4108
|
header?: never;
|
|
@@ -3703,13 +4116,13 @@ declare interface paths {
|
|
|
3703
4116
|
* Unlink device from account
|
|
3704
4117
|
* @description Removes account linking data
|
|
3705
4118
|
*/
|
|
3706
|
-
delete: operations[
|
|
4119
|
+
delete: operations['unlinkAccount'];
|
|
3707
4120
|
options?: never;
|
|
3708
4121
|
head?: never;
|
|
3709
4122
|
patch?: never;
|
|
3710
4123
|
trace?: never;
|
|
3711
4124
|
};
|
|
3712
|
-
|
|
4125
|
+
'/account/link': {
|
|
3713
4126
|
parameters: {
|
|
3714
4127
|
query?: never;
|
|
3715
4128
|
header?: never;
|
|
@@ -3722,14 +4135,14 @@ declare interface paths {
|
|
|
3722
4135
|
* Link device to account
|
|
3723
4136
|
* @description Requests account link PIN. Works only if device is connected to MQTT and is not linked to account
|
|
3724
4137
|
*/
|
|
3725
|
-
post: operations[
|
|
4138
|
+
post: operations['linkAccount'];
|
|
3726
4139
|
delete?: never;
|
|
3727
4140
|
options?: never;
|
|
3728
4141
|
head?: never;
|
|
3729
4142
|
patch?: never;
|
|
3730
4143
|
trace?: never;
|
|
3731
4144
|
};
|
|
3732
|
-
|
|
4145
|
+
'/account/info': {
|
|
3733
4146
|
parameters: {
|
|
3734
4147
|
query?: never;
|
|
3735
4148
|
header?: never;
|
|
@@ -3740,7 +4153,7 @@ declare interface paths {
|
|
|
3740
4153
|
* Get linked account info
|
|
3741
4154
|
* @description Retrieves linked account data
|
|
3742
4155
|
*/
|
|
3743
|
-
get: operations[
|
|
4156
|
+
get: operations['getAccountInfo'];
|
|
3744
4157
|
put?: never;
|
|
3745
4158
|
post?: never;
|
|
3746
4159
|
delete?: never;
|
|
@@ -3749,7 +4162,7 @@ declare interface paths {
|
|
|
3749
4162
|
patch?: never;
|
|
3750
4163
|
trace?: never;
|
|
3751
4164
|
};
|
|
3752
|
-
|
|
4165
|
+
'/account/status': {
|
|
3753
4166
|
parameters: {
|
|
3754
4167
|
query?: never;
|
|
3755
4168
|
header?: never;
|
|
@@ -3760,7 +4173,7 @@ declare interface paths {
|
|
|
3760
4173
|
* Get MQTT status info
|
|
3761
4174
|
* @description Retrieves MQTT status
|
|
3762
4175
|
*/
|
|
3763
|
-
get: operations[
|
|
4176
|
+
get: operations['getAccountState'];
|
|
3764
4177
|
put?: never;
|
|
3765
4178
|
post?: never;
|
|
3766
4179
|
delete?: never;
|
|
@@ -3769,7 +4182,7 @@ declare interface paths {
|
|
|
3769
4182
|
patch?: never;
|
|
3770
4183
|
trace?: never;
|
|
3771
4184
|
};
|
|
3772
|
-
|
|
4185
|
+
'/account/profile': {
|
|
3773
4186
|
parameters: {
|
|
3774
4187
|
query?: never;
|
|
3775
4188
|
header?: never;
|
|
@@ -3780,20 +4193,20 @@ declare interface paths {
|
|
|
3780
4193
|
* Get MQTT profile
|
|
3781
4194
|
* @description Retrieves MQTT backend type (dev/prod/local)
|
|
3782
4195
|
*/
|
|
3783
|
-
get: operations[
|
|
4196
|
+
get: operations['getAccountProfile'];
|
|
3784
4197
|
put?: never;
|
|
3785
4198
|
/**
|
|
3786
4199
|
* Set MQTT profile
|
|
3787
4200
|
* @description Sets MQTT backend type (dev/prod/local)
|
|
3788
4201
|
*/
|
|
3789
|
-
post: operations[
|
|
4202
|
+
post: operations['setAccountProfile'];
|
|
3790
4203
|
delete?: never;
|
|
3791
4204
|
options?: never;
|
|
3792
4205
|
head?: never;
|
|
3793
4206
|
patch?: never;
|
|
3794
4207
|
trace?: never;
|
|
3795
4208
|
};
|
|
3796
|
-
|
|
4209
|
+
'/time/timestamp': {
|
|
3797
4210
|
parameters: {
|
|
3798
4211
|
query?: never;
|
|
3799
4212
|
header?: never;
|
|
@@ -3805,15 +4218,16 @@ declare interface paths {
|
|
|
3805
4218
|
/**
|
|
3806
4219
|
* Set current timestamp
|
|
3807
4220
|
* @description Sets the RTC timestamp in ISO 8601 format. Time zone qualifier (e.g. Z of UTC or +hh:mm for local time) is required.
|
|
4221
|
+
*
|
|
3808
4222
|
*/
|
|
3809
|
-
post: operations[
|
|
4223
|
+
post: operations['setTimeTimestamp'];
|
|
3810
4224
|
delete?: never;
|
|
3811
4225
|
options?: never;
|
|
3812
4226
|
head?: never;
|
|
3813
4227
|
patch?: never;
|
|
3814
4228
|
trace?: never;
|
|
3815
4229
|
};
|
|
3816
|
-
|
|
4230
|
+
'/time/timezone': {
|
|
3817
4231
|
parameters: {
|
|
3818
4232
|
query?: never;
|
|
3819
4233
|
header?: never;
|
|
@@ -3824,20 +4238,20 @@ declare interface paths {
|
|
|
3824
4238
|
* Get timezone
|
|
3825
4239
|
* @description Get current timezone name
|
|
3826
4240
|
*/
|
|
3827
|
-
get: operations[
|
|
4241
|
+
get: operations['getTimeTimezone'];
|
|
3828
4242
|
put?: never;
|
|
3829
4243
|
/**
|
|
3830
4244
|
* Set timezone
|
|
3831
4245
|
* @description Sets the timezone name. Use /time/tzlist to get available names list.
|
|
3832
4246
|
*/
|
|
3833
|
-
post: operations[
|
|
4247
|
+
post: operations['setTimeTimezone'];
|
|
3834
4248
|
delete?: never;
|
|
3835
4249
|
options?: never;
|
|
3836
4250
|
head?: never;
|
|
3837
4251
|
patch?: never;
|
|
3838
4252
|
trace?: never;
|
|
3839
4253
|
};
|
|
3840
|
-
|
|
4254
|
+
'/time/tzlist': {
|
|
3841
4255
|
parameters: {
|
|
3842
4256
|
query?: never;
|
|
3843
4257
|
header?: never;
|
|
@@ -3848,7 +4262,7 @@ declare interface paths {
|
|
|
3848
4262
|
* Get list of supported time zones
|
|
3849
4263
|
* @description Retrieves the list of time zones accepted by /time/timezone
|
|
3850
4264
|
*/
|
|
3851
|
-
get: operations[
|
|
4265
|
+
get: operations['getTimeTzlist'];
|
|
3852
4266
|
put?: never;
|
|
3853
4267
|
post?: never;
|
|
3854
4268
|
delete?: never;
|
|
@@ -3857,7 +4271,7 @@ declare interface paths {
|
|
|
3857
4271
|
patch?: never;
|
|
3858
4272
|
trace?: never;
|
|
3859
4273
|
};
|
|
3860
|
-
|
|
4274
|
+
'/busy/snapshot': {
|
|
3861
4275
|
parameters: {
|
|
3862
4276
|
query?: never;
|
|
3863
4277
|
header?: never;
|
|
@@ -3868,12 +4282,12 @@ declare interface paths {
|
|
|
3868
4282
|
* Get BUSY timer snapshot
|
|
3869
4283
|
* @description Gets the current state of the BUSY timer in snapshot form
|
|
3870
4284
|
*/
|
|
3871
|
-
get: operations[
|
|
4285
|
+
get: operations['getBusySnapshot'];
|
|
3872
4286
|
/**
|
|
3873
|
-
* Set BUSY
|
|
4287
|
+
* Set BUSY timer snapshot
|
|
3874
4288
|
* @description Run the timer starting from the given snapshot
|
|
3875
4289
|
*/
|
|
3876
|
-
put: operations[
|
|
4290
|
+
put: operations['setBusySnapshot'];
|
|
3877
4291
|
post?: never;
|
|
3878
4292
|
delete?: never;
|
|
3879
4293
|
options?: never;
|
|
@@ -3881,7 +4295,31 @@ declare interface paths {
|
|
|
3881
4295
|
patch?: never;
|
|
3882
4296
|
trace?: never;
|
|
3883
4297
|
};
|
|
3884
|
-
|
|
4298
|
+
'/busy/profiles/{slot}': {
|
|
4299
|
+
parameters: {
|
|
4300
|
+
query?: never;
|
|
4301
|
+
header?: never;
|
|
4302
|
+
path?: never;
|
|
4303
|
+
cookie?: never;
|
|
4304
|
+
};
|
|
4305
|
+
/**
|
|
4306
|
+
* Get BUSY timer profile
|
|
4307
|
+
* @description Gets the BUSY timer profile under specified slot
|
|
4308
|
+
*/
|
|
4309
|
+
get: operations['getBusyProfile'];
|
|
4310
|
+
/**
|
|
4311
|
+
* Set BUSY time profile
|
|
4312
|
+
* @description Sets the BUSY timer profile under specified slot
|
|
4313
|
+
*/
|
|
4314
|
+
put: operations['setBusyProfile'];
|
|
4315
|
+
post?: never;
|
|
4316
|
+
delete?: never;
|
|
4317
|
+
options?: never;
|
|
4318
|
+
head?: never;
|
|
4319
|
+
patch?: never;
|
|
4320
|
+
trace?: never;
|
|
4321
|
+
};
|
|
4322
|
+
'/matter/commissioning': {
|
|
3885
4323
|
parameters: {
|
|
3886
4324
|
query?: never;
|
|
3887
4325
|
header?: never;
|
|
@@ -3889,10 +4327,10 @@ declare interface paths {
|
|
|
3889
4327
|
cookie?: never;
|
|
3890
4328
|
};
|
|
3891
4329
|
/** Smart home commissioning status */
|
|
3892
|
-
get: operations[
|
|
4330
|
+
get: operations['getMatterCommissioningStatus'];
|
|
3893
4331
|
put?: never;
|
|
3894
4332
|
/** Link device to a smart home */
|
|
3895
|
-
post: operations[
|
|
4333
|
+
post: operations['startMatterCommissioning'];
|
|
3896
4334
|
/** Erase all smart home links */
|
|
3897
4335
|
delete: {
|
|
3898
4336
|
parameters: {
|
|
@@ -3909,7 +4347,7 @@ declare interface paths {
|
|
|
3909
4347
|
[name: string]: unknown;
|
|
3910
4348
|
};
|
|
3911
4349
|
content: {
|
|
3912
|
-
|
|
4350
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
3913
4351
|
};
|
|
3914
4352
|
};
|
|
3915
4353
|
/** @description Internal Matter service is broken */
|
|
@@ -3918,7 +4356,7 @@ declare interface paths {
|
|
|
3918
4356
|
[name: string]: unknown;
|
|
3919
4357
|
};
|
|
3920
4358
|
content: {
|
|
3921
|
-
|
|
4359
|
+
'application/json': components['schemas']['Error'];
|
|
3922
4360
|
};
|
|
3923
4361
|
};
|
|
3924
4362
|
};
|
|
@@ -3928,7 +4366,7 @@ declare interface paths {
|
|
|
3928
4366
|
patch?: never;
|
|
3929
4367
|
trace?: never;
|
|
3930
4368
|
};
|
|
3931
|
-
|
|
4369
|
+
'/matter/endpoint/1': {
|
|
3932
4370
|
parameters: {
|
|
3933
4371
|
query?: never;
|
|
3934
4372
|
header?: never;
|
|
@@ -3951,7 +4389,7 @@ declare interface paths {
|
|
|
3951
4389
|
[name: string]: unknown;
|
|
3952
4390
|
};
|
|
3953
4391
|
content: {
|
|
3954
|
-
|
|
4392
|
+
'application/json': components['schemas']['MatterEndpointState'];
|
|
3955
4393
|
};
|
|
3956
4394
|
};
|
|
3957
4395
|
/** @description Internal Matter service is broken */
|
|
@@ -3960,7 +4398,7 @@ declare interface paths {
|
|
|
3960
4398
|
[name: string]: unknown;
|
|
3961
4399
|
};
|
|
3962
4400
|
content: {
|
|
3963
|
-
|
|
4401
|
+
'application/json': components['schemas']['Error'];
|
|
3964
4402
|
};
|
|
3965
4403
|
};
|
|
3966
4404
|
};
|
|
@@ -3976,7 +4414,7 @@ declare interface paths {
|
|
|
3976
4414
|
};
|
|
3977
4415
|
requestBody: {
|
|
3978
4416
|
content: {
|
|
3979
|
-
|
|
4417
|
+
'application/json': components['schemas']['MatterEndpointState'];
|
|
3980
4418
|
};
|
|
3981
4419
|
};
|
|
3982
4420
|
responses: {
|
|
@@ -3986,7 +4424,7 @@ declare interface paths {
|
|
|
3986
4424
|
[name: string]: unknown;
|
|
3987
4425
|
};
|
|
3988
4426
|
content: {
|
|
3989
|
-
|
|
4427
|
+
'application/json': components['schemas']['SuccessResponse'];
|
|
3990
4428
|
};
|
|
3991
4429
|
};
|
|
3992
4430
|
/** @description Internal Matter service is broken */
|
|
@@ -3995,7 +4433,7 @@ declare interface paths {
|
|
|
3995
4433
|
[name: string]: unknown;
|
|
3996
4434
|
};
|
|
3997
4435
|
content: {
|
|
3998
|
-
|
|
4436
|
+
'application/json': components['schemas']['Error'];
|
|
3999
4437
|
};
|
|
4000
4438
|
};
|
|
4001
4439
|
};
|
|
@@ -4008,12 +4446,14 @@ declare interface paths {
|
|
|
4008
4446
|
};
|
|
4009
4447
|
}
|
|
4010
4448
|
|
|
4011
|
-
declare type
|
|
4449
|
+
declare type RenameQuery = operations['RenameStorageFile']['parameters']['query'];
|
|
4450
|
+
|
|
4451
|
+
declare type RequiredIpConfig = RequireKeys<NonNullable<CamelizedRequest['ipConfig']>, 'ipMethod'>;
|
|
4012
4452
|
|
|
4013
4453
|
declare type RequireKeys<T, K extends keyof T> = Required<Pick<T, K>> & Omit<T, K>;
|
|
4014
4454
|
|
|
4015
4455
|
export declare interface ScreenFrameGetParams extends TimeoutOptions {
|
|
4016
|
-
display: paths[
|
|
4456
|
+
display: paths['/screen']['get']['parameters']['query']['display'];
|
|
4017
4457
|
}
|
|
4018
4458
|
|
|
4019
4459
|
export declare class ScreenStream {
|
|
@@ -4084,30 +4524,34 @@ declare class SettingsMethods {
|
|
|
4084
4524
|
|
|
4085
4525
|
declare type SnakeToCamel<S extends string> = S extends `${infer Head}_${infer Tail}` ? `${Head}${Capitalize<SnakeToCamel<Tail>>}` : S;
|
|
4086
4526
|
|
|
4087
|
-
export declare type Status = components[
|
|
4527
|
+
export declare type Status = components['schemas']['Status'];
|
|
4528
|
+
|
|
4529
|
+
export declare type StatusDevice = components['schemas']['StatusDevice'];
|
|
4530
|
+
|
|
4531
|
+
export declare type StatusFirmware = components['schemas']['StatusFirmware'];
|
|
4088
4532
|
|
|
4089
|
-
export declare type StatusPower = components[
|
|
4533
|
+
export declare type StatusPower = components['schemas']['StatusPower'];
|
|
4090
4534
|
|
|
4091
|
-
export declare type StatusSystem = components[
|
|
4535
|
+
export declare type StatusSystem = components['schemas']['StatusSystem'];
|
|
4092
4536
|
|
|
4093
4537
|
declare type StopListener = () => void;
|
|
4094
4538
|
|
|
4095
4539
|
export declare interface StorageCreateDirectoryParams extends TimeoutOptions {
|
|
4096
|
-
path: operations[
|
|
4540
|
+
path: operations['createStorageDir']['parameters']['query']['path'];
|
|
4097
4541
|
}
|
|
4098
4542
|
|
|
4099
|
-
export declare type StorageDirElement = components[
|
|
4543
|
+
export declare type StorageDirElement = components['schemas']['StorageDirElement'];
|
|
4100
4544
|
|
|
4101
4545
|
export declare interface StorageDownloadFileParams extends TimeoutOptions {
|
|
4102
|
-
path: operations[
|
|
4546
|
+
path: operations['readStorageFile']['parameters']['query']['path'];
|
|
4103
4547
|
asArrayBuffer?: boolean;
|
|
4104
4548
|
}
|
|
4105
4549
|
|
|
4106
|
-
export declare type StorageFileElement = components[
|
|
4550
|
+
export declare type StorageFileElement = components['schemas']['StorageFileElement'];
|
|
4107
4551
|
|
|
4108
|
-
export declare type StorageList = components[
|
|
4552
|
+
export declare type StorageList = components['schemas']['StorageList'];
|
|
4109
4553
|
|
|
4110
|
-
export declare type StorageListElement = components[
|
|
4554
|
+
export declare type StorageListElement = components['schemas']['StorageListElement'];
|
|
4111
4555
|
|
|
4112
4556
|
declare class StorageMethods {
|
|
4113
4557
|
/**
|
|
@@ -4165,26 +4609,39 @@ declare class StorageMethods {
|
|
|
4165
4609
|
* @returns {Promise<StorageStatus>} A promise that resolves to the storage status.
|
|
4166
4610
|
*/
|
|
4167
4611
|
StorageStatusGet(this: BusyBar, params?: TimeoutOptions): Promise<StorageStatus>;
|
|
4612
|
+
/**
|
|
4613
|
+
* Rename/move a file. Moves a file to a new location.
|
|
4614
|
+
*
|
|
4615
|
+
* @param {RenameParams} params - Rename parameters:
|
|
4616
|
+
* @param {RenameParams['path']} params.path - Current path of the file or directory.
|
|
4617
|
+
* @param {RenameParams['new_path']} params.new_path - New path for the file or directory.
|
|
4618
|
+
* @param {TimeoutOptions['timeout']} [params.timeout] - Request timeout in milliseconds.
|
|
4619
|
+
* @returns {Promise<SuccessResponse>} A promise that resolves on successful rename.
|
|
4620
|
+
*/
|
|
4621
|
+
StorageRename(this: BusyBar, params: StorageRenameParams): Promise<SuccessResponse>;
|
|
4168
4622
|
}
|
|
4169
4623
|
|
|
4170
4624
|
export declare interface StorageReadDirectoryParams extends TimeoutOptions {
|
|
4171
|
-
path: operations[
|
|
4625
|
+
path: operations['listStorageFiles']['parameters']['query']['path'];
|
|
4172
4626
|
}
|
|
4173
4627
|
|
|
4174
4628
|
export declare type StorageReadResponse = ArrayBuffer | Blob;
|
|
4175
4629
|
|
|
4176
4630
|
export declare interface StorageRemoveParams extends TimeoutOptions {
|
|
4177
|
-
path: operations[
|
|
4631
|
+
path: operations['removeStorageFile']['parameters']['query']['path'];
|
|
4632
|
+
}
|
|
4633
|
+
|
|
4634
|
+
export declare interface StorageRenameParams extends TimeoutOptions, RenameQuery {
|
|
4178
4635
|
}
|
|
4179
4636
|
|
|
4180
|
-
export declare type StorageStatus = components[
|
|
4637
|
+
export declare type StorageStatus = components['schemas']['StorageStatus'];
|
|
4181
4638
|
|
|
4182
4639
|
export declare interface StorageUploadFileParams extends TimeoutOptions {
|
|
4183
|
-
path: operations[
|
|
4640
|
+
path: operations['writeStorageFile']['parameters']['query']['path'];
|
|
4184
4641
|
file: BusyFile;
|
|
4185
4642
|
}
|
|
4186
4643
|
|
|
4187
|
-
export declare type SuccessResponse = components[
|
|
4644
|
+
export declare type SuccessResponse = components['schemas']['SuccessResponse'];
|
|
4188
4645
|
|
|
4189
4646
|
declare class SystemMethods {
|
|
4190
4647
|
/**
|
|
@@ -4196,7 +4653,7 @@ declare class SystemMethods {
|
|
|
4196
4653
|
*/
|
|
4197
4654
|
SystemVersionGet(this: BusyBar, params?: TimeoutOptions): Promise<VersionInfo>;
|
|
4198
4655
|
/**
|
|
4199
|
-
* Get
|
|
4656
|
+
* Get full status.
|
|
4200
4657
|
*
|
|
4201
4658
|
* @param {TimeoutOptions} [params] - Optional parameters.
|
|
4202
4659
|
* @param {TimeoutOptions['timeout']} [params.timeout] - Request timeout in milliseconds.
|
|
@@ -4219,6 +4676,22 @@ declare class SystemMethods {
|
|
|
4219
4676
|
* @returns {Promise<StatusPower>} Current power status.
|
|
4220
4677
|
*/
|
|
4221
4678
|
SystemStatusPowerGet(this: BusyBar, params?: TimeoutOptions): Promise<StatusPower>;
|
|
4679
|
+
/**
|
|
4680
|
+
* Get device status.
|
|
4681
|
+
*
|
|
4682
|
+
* @param {TimeoutOptions} [params] - Optional parameters.
|
|
4683
|
+
* @param {TimeoutOptions['timeout']} [params.timeout] - Request timeout in milliseconds.
|
|
4684
|
+
* @returns {Promise<StatusDevice>} Current device status.
|
|
4685
|
+
*/
|
|
4686
|
+
SystemStatusDeviceGet(this: BusyBar, params?: TimeoutOptions): Promise<StatusDevice>;
|
|
4687
|
+
/**
|
|
4688
|
+
* Get firmware status.
|
|
4689
|
+
*
|
|
4690
|
+
* @param {TimeoutOptions} [params] - Optional parameters.
|
|
4691
|
+
* @param {TimeoutOptions['timeout']} [params.timeout] - Request timeout in milliseconds.
|
|
4692
|
+
* @returns {Promise<StatusFirmware>} Current firmware status.
|
|
4693
|
+
*/
|
|
4694
|
+
SystemStatusFirmwareGet(this: BusyBar, params?: TimeoutOptions): Promise<StatusFirmware>;
|
|
4222
4695
|
}
|
|
4223
4696
|
|
|
4224
4697
|
declare class TimeMethods {
|
|
@@ -4270,23 +4743,26 @@ export declare interface TimeoutOptions {
|
|
|
4270
4743
|
timeout?: number;
|
|
4271
4744
|
}
|
|
4272
4745
|
|
|
4273
|
-
export declare type TimestampInfo = components[
|
|
4746
|
+
export declare type TimestampInfo = components['schemas']['TimestampInfo'];
|
|
4274
4747
|
|
|
4275
4748
|
export declare interface TimeTimestampParams extends TimeoutOptions {
|
|
4276
|
-
timestamp: operations[
|
|
4749
|
+
timestamp: operations['setTimeTimestamp']['parameters']['query']['timestamp'];
|
|
4277
4750
|
}
|
|
4278
4751
|
|
|
4279
4752
|
export declare interface TimeTimezoneParams extends TimeoutOptions {
|
|
4280
|
-
timezone: operations[
|
|
4753
|
+
timezone: operations['setTimeTimezone']['parameters']['query']['timezone'];
|
|
4281
4754
|
}
|
|
4282
4755
|
|
|
4283
|
-
export declare type TimezoneInfo = components[
|
|
4756
|
+
export declare type TimezoneInfo = components['schemas']['TimezoneInfo'];
|
|
4284
4757
|
|
|
4285
|
-
export declare type TimezoneItem =
|
|
4758
|
+
export declare type TimezoneItem = NonNullable<TimezoneList['list']>[number];
|
|
4286
4759
|
|
|
4287
|
-
export declare type TimezoneList = components[
|
|
4760
|
+
export declare type TimezoneList = components['schemas']['TimezoneListResponse'];
|
|
4288
4761
|
|
|
4289
|
-
export declare
|
|
4762
|
+
export declare interface UpdateAutoUpdateParams extends TimeoutOptions, AutoUpdateSettings {
|
|
4763
|
+
}
|
|
4764
|
+
|
|
4765
|
+
export declare type UpdateChangelog = operations['getUpdateChangelog']['responses']['200']['content']['application/json'];
|
|
4290
4766
|
|
|
4291
4767
|
export declare interface UpdateChangelogParams extends TimeoutOptions {
|
|
4292
4768
|
version: string;
|
|
@@ -4352,21 +4828,40 @@ declare class UpdateMethods {
|
|
|
4352
4828
|
* @returns {Promise<SuccessResponse>} A promise that resolves on successful abort.
|
|
4353
4829
|
*/
|
|
4354
4830
|
UpdateAbort(this: BusyBar, params?: TimeoutOptions): Promise<SuccessResponse>;
|
|
4831
|
+
/**
|
|
4832
|
+
* Get current auto-update settings.
|
|
4833
|
+
*
|
|
4834
|
+
* @param {TimeoutOptions} [params] - Optional parameters.
|
|
4835
|
+
* @param {TimeoutOptions['timeout']} [params.timeout] - Request timeout in milliseconds.
|
|
4836
|
+
* @returns {Promise<AutoUpdateSettings>} A promise that resolves to the current auto-update settings.
|
|
4837
|
+
*/
|
|
4838
|
+
UpdateAutoUpdateGet(this: BusyBar, params?: TimeoutOptions): Promise<AutoUpdateSettings>;
|
|
4839
|
+
/**
|
|
4840
|
+
* Set auto-update settings.
|
|
4841
|
+
*
|
|
4842
|
+
* @param {AutoUpdateParams} params - Parameters for auto-update settings.
|
|
4843
|
+
* @param {AutoUpdateParams['is_enabled']} params.is_enabled - Whether auto-update is enabled.
|
|
4844
|
+
* @param {AutoUpdateParams['interval_start']} params.interval_start - Auto-update interval start time (HH:mm).
|
|
4845
|
+
* @param {AutoUpdateParams['interval_end']} params.interval_end - Auto-update interval end time (HH:mm).
|
|
4846
|
+
* @param {TimeoutOptions['timeout']} [params.timeout] - Request timeout in milliseconds.
|
|
4847
|
+
* @returns {Promise<SuccessResponse>} A promise that resolves on successful update of settings.
|
|
4848
|
+
*/
|
|
4849
|
+
UpdateAutoUpdateSet(this: BusyBar, params: UpdateAutoUpdateParams): Promise<SuccessResponse>;
|
|
4355
4850
|
}
|
|
4356
4851
|
|
|
4357
|
-
export declare type UpdateStatus = components[
|
|
4852
|
+
export declare type UpdateStatus = components['schemas']['UpdateStatus'];
|
|
4358
4853
|
|
|
4359
|
-
export declare type VersionInfo = components[
|
|
4854
|
+
export declare type VersionInfo = components['schemas']['VersionInfo'];
|
|
4360
4855
|
|
|
4361
|
-
export declare type WifiConnectParams = RequireKeys<Omit<CamelizedRequest,
|
|
4856
|
+
export declare type WifiConnectParams = RequireKeys<Omit<CamelizedRequest, 'ipConfig'> & {
|
|
4362
4857
|
ipConfig: RequiredIpConfig;
|
|
4363
|
-
},
|
|
4858
|
+
}, 'ssid' | 'security' | 'ipConfig'> & TimeoutOptions;
|
|
4364
4859
|
|
|
4365
|
-
export declare type WifiConnectRequestConfig = components[
|
|
4860
|
+
export declare type WifiConnectRequestConfig = components['schemas']['ConnectRequestConfig'];
|
|
4366
4861
|
|
|
4367
|
-
export declare type WifiIpMethod = components[
|
|
4862
|
+
export declare type WifiIpMethod = components['schemas']['WifiIpMethod'];
|
|
4368
4863
|
|
|
4369
|
-
export declare type WifiIpType = components[
|
|
4864
|
+
export declare type WifiIpType = components['schemas']['WifiIpType'];
|
|
4370
4865
|
|
|
4371
4866
|
declare class WifiMethods {
|
|
4372
4867
|
/**
|
|
@@ -4407,12 +4902,12 @@ declare class WifiMethods {
|
|
|
4407
4902
|
WifiNetworksGet(this: BusyBar, params?: TimeoutOptions): Promise<WifiNetworkResponse>;
|
|
4408
4903
|
}
|
|
4409
4904
|
|
|
4410
|
-
export declare type WifiNetwork = components[
|
|
4905
|
+
export declare type WifiNetwork = components['schemas']['Network'];
|
|
4411
4906
|
|
|
4412
|
-
export declare type WifiNetworkResponse = components[
|
|
4907
|
+
export declare type WifiNetworkResponse = components['schemas']['NetworkResponse'];
|
|
4413
4908
|
|
|
4414
|
-
export declare type WifiSecurityMethod = components[
|
|
4909
|
+
export declare type WifiSecurityMethod = components['schemas']['WifiSecurityMethod'];
|
|
4415
4910
|
|
|
4416
|
-
export declare type WifiStatusResponse = components[
|
|
4911
|
+
export declare type WifiStatusResponse = components['schemas']['StatusResponse'];
|
|
4417
4912
|
|
|
4418
4913
|
export { }
|