@seamapi/types 1.147.0 → 1.148.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/connect.cjs +32 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +96 -188
- package/lib/seam/connect/internal/model-types.d.ts +2 -1
- package/lib/seam/connect/internal/model-types.js +1 -1
- package/lib/seam/connect/internal/model-types.js.map +1 -1
- package/lib/seam/connect/internal/schemas.d.ts +2 -1
- package/lib/seam/connect/internal/schemas.js +2 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/custom-metadata.d.ts +4 -2
- package/lib/seam/connect/models/custom-metadata.js +2 -1
- package/lib/seam/connect/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/managed-device.d.ts +53 -3
- package/lib/seam/connect/models/devices/managed-device.js +7 -1
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +3 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +25 -0
- package/lib/seam/connect/openapi.d.ts +32 -160
- package/lib/seam/connect/openapi.js +25 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +59 -23
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/model-types.ts +2 -32
- package/src/lib/seam/connect/internal/schemas.ts +2 -2
- package/src/lib/seam/connect/models/custom-metadata.ts +9 -2
- package/src/lib/seam/connect/models/devices/managed-device.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +26 -60
- package/src/lib/seam/connect/route-types.ts +77 -23
|
@@ -415,12 +415,7 @@ export default {
|
|
|
415
415
|
created_at: { format: 'date-time', type: 'string' },
|
|
416
416
|
custom_metadata: {
|
|
417
417
|
additionalProperties: {
|
|
418
|
-
|
|
419
|
-
oneOf: [
|
|
420
|
-
{ maxLength: 500, type: 'string' },
|
|
421
|
-
{ type: 'boolean' },
|
|
422
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
423
|
-
],
|
|
418
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
424
419
|
},
|
|
425
420
|
type: 'object',
|
|
426
421
|
},
|
|
@@ -476,12 +471,7 @@ export default {
|
|
|
476
471
|
created_at: { format: 'date-time', type: 'string' },
|
|
477
472
|
custom_metadata: {
|
|
478
473
|
additionalProperties: {
|
|
479
|
-
|
|
480
|
-
oneOf: [
|
|
481
|
-
{ maxLength: 500, type: 'string' },
|
|
482
|
-
{ type: 'boolean' },
|
|
483
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
484
|
-
],
|
|
474
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
485
475
|
},
|
|
486
476
|
type: 'object',
|
|
487
477
|
},
|
|
@@ -500,6 +490,7 @@ export default {
|
|
|
500
490
|
},
|
|
501
491
|
required: [
|
|
502
492
|
'account_type_display_name',
|
|
493
|
+
'custom_metadata',
|
|
503
494
|
'automatically_manage_new_devices',
|
|
504
495
|
],
|
|
505
496
|
type: 'object',
|
|
@@ -537,12 +528,7 @@ export default {
|
|
|
537
528
|
},
|
|
538
529
|
custom_metadata: {
|
|
539
530
|
additionalProperties: {
|
|
540
|
-
|
|
541
|
-
oneOf: [
|
|
542
|
-
{ maxLength: 500, type: 'string' },
|
|
543
|
-
{ type: 'boolean' },
|
|
544
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
545
|
-
],
|
|
531
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
546
532
|
},
|
|
547
533
|
type: 'object',
|
|
548
534
|
},
|
|
@@ -651,6 +637,18 @@ export default {
|
|
|
651
637
|
accessory_keypad: {
|
|
652
638
|
description: 'Represents the accessory keypad state.',
|
|
653
639
|
properties: {
|
|
640
|
+
battery: {
|
|
641
|
+
description: 'Indicates if the keypad battery properties.',
|
|
642
|
+
properties: {
|
|
643
|
+
level: {
|
|
644
|
+
maximum: 1,
|
|
645
|
+
minimum: 0,
|
|
646
|
+
type: 'number',
|
|
647
|
+
},
|
|
648
|
+
},
|
|
649
|
+
required: ['level'],
|
|
650
|
+
type: 'object',
|
|
651
|
+
},
|
|
654
652
|
is_connected: {
|
|
655
653
|
description: 'Indicates if the accessory_keypad is connected to the device.',
|
|
656
654
|
type: 'boolean',
|
|
@@ -1725,6 +1723,7 @@ export default {
|
|
|
1725
1723
|
'warnings',
|
|
1726
1724
|
'created_at',
|
|
1727
1725
|
'is_managed',
|
|
1726
|
+
'custom_metadata',
|
|
1728
1727
|
],
|
|
1729
1728
|
type: 'object',
|
|
1730
1729
|
},
|
|
@@ -1879,12 +1878,7 @@ export default {
|
|
|
1879
1878
|
},
|
|
1880
1879
|
custom_metadata: {
|
|
1881
1880
|
additionalProperties: {
|
|
1882
|
-
|
|
1883
|
-
oneOf: [
|
|
1884
|
-
{ maxLength: 500, type: 'string' },
|
|
1885
|
-
{ type: 'boolean' },
|
|
1886
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
1887
|
-
],
|
|
1881
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
1888
1882
|
},
|
|
1889
1883
|
type: 'object',
|
|
1890
1884
|
},
|
|
@@ -1987,6 +1981,7 @@ export default {
|
|
|
1987
1981
|
'warnings',
|
|
1988
1982
|
'created_at',
|
|
1989
1983
|
'is_managed',
|
|
1984
|
+
'custom_metadata',
|
|
1990
1985
|
],
|
|
1991
1986
|
type: 'object',
|
|
1992
1987
|
},
|
|
@@ -7310,12 +7305,7 @@ export default {
|
|
|
7310
7305
|
properties: {
|
|
7311
7306
|
custom_metadata_has: {
|
|
7312
7307
|
additionalProperties: {
|
|
7313
|
-
|
|
7314
|
-
oneOf: [
|
|
7315
|
-
{ maxLength: 500, type: 'string' },
|
|
7316
|
-
{ type: 'boolean' },
|
|
7317
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
7318
|
-
],
|
|
7308
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
7319
7309
|
},
|
|
7320
7310
|
description: "Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
|
|
7321
7311
|
type: 'object',
|
|
@@ -7501,12 +7491,7 @@ export default {
|
|
|
7501
7491
|
properties: {
|
|
7502
7492
|
custom_metadata_has: {
|
|
7503
7493
|
additionalProperties: {
|
|
7504
|
-
|
|
7505
|
-
oneOf: [
|
|
7506
|
-
{ maxLength: 500, type: 'string' },
|
|
7507
|
-
{ type: 'boolean' },
|
|
7508
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
7509
|
-
],
|
|
7494
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
7510
7495
|
},
|
|
7511
7496
|
description: "Returns devices where the account's custom_metadata contains all of the provided key/value pairs.",
|
|
7512
7497
|
type: 'object',
|
|
@@ -7726,12 +7711,7 @@ export default {
|
|
|
7726
7711
|
},
|
|
7727
7712
|
custom_metadata_has: {
|
|
7728
7713
|
additionalProperties: {
|
|
7729
|
-
|
|
7730
|
-
oneOf: [
|
|
7731
|
-
{ maxLength: 500, type: 'string' },
|
|
7732
|
-
{ type: 'boolean' },
|
|
7733
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
7734
|
-
],
|
|
7714
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
7735
7715
|
},
|
|
7736
7716
|
type: 'object',
|
|
7737
7717
|
},
|
|
@@ -8119,12 +8099,7 @@ export default {
|
|
|
8119
8099
|
},
|
|
8120
8100
|
custom_metadata_has: {
|
|
8121
8101
|
additionalProperties: {
|
|
8122
|
-
|
|
8123
|
-
oneOf: [
|
|
8124
|
-
{ maxLength: 500, type: 'string' },
|
|
8125
|
-
{ type: 'boolean' },
|
|
8126
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
8127
|
-
],
|
|
8102
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
8128
8103
|
},
|
|
8129
8104
|
type: 'object',
|
|
8130
8105
|
},
|
|
@@ -9080,12 +9055,7 @@ export default {
|
|
|
9080
9055
|
},
|
|
9081
9056
|
custom_metadata_has: {
|
|
9082
9057
|
additionalProperties: {
|
|
9083
|
-
|
|
9084
|
-
oneOf: [
|
|
9085
|
-
{ maxLength: 500, type: 'string' },
|
|
9086
|
-
{ type: 'boolean' },
|
|
9087
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
9088
|
-
],
|
|
9058
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
9089
9059
|
},
|
|
9090
9060
|
type: 'object',
|
|
9091
9061
|
},
|
|
@@ -10814,12 +10784,7 @@ export default {
|
|
|
10814
10784
|
},
|
|
10815
10785
|
custom_metadata_has: {
|
|
10816
10786
|
additionalProperties: {
|
|
10817
|
-
|
|
10818
|
-
oneOf: [
|
|
10819
|
-
{ maxLength: 500, type: 'string' },
|
|
10820
|
-
{ type: 'boolean' },
|
|
10821
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
10822
|
-
],
|
|
10787
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
10823
10788
|
},
|
|
10824
10789
|
type: 'object',
|
|
10825
10790
|
},
|