@seamapi/types 1.976.0 → 1.978.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 +270 -59
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +504 -46
- package/dist/index.cjs +270 -59
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +74 -14
- package/lib/seam/connect/models/customer/customer-portal.js +18 -4
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +48 -0
- package/lib/seam/connect/models/devices/device-metadata.js +40 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +71 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +51 -3
- package/lib/seam/connect/openapi.js +239 -40
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +381 -40
- package/package.json +2 -2
- package/src/lib/seam/connect/models/customer/customer-portal.ts +18 -4
- package/src/lib/seam/connect/models/devices/device-metadata.ts +41 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +244 -40
- package/src/lib/seam/connect/route-types.ts +438 -12
|
@@ -11496,6 +11496,7 @@ const openapi = {
|
|
|
11496
11496
|
'keyincode_lock',
|
|
11497
11497
|
'omnitec_lock',
|
|
11498
11498
|
'kisi_lock',
|
|
11499
|
+
'aqara_lock',
|
|
11499
11500
|
],
|
|
11500
11501
|
type: 'string',
|
|
11501
11502
|
},
|
|
@@ -12286,6 +12287,48 @@ const openapi = {
|
|
|
12286
12287
|
},
|
|
12287
12288
|
type: 'object',
|
|
12288
12289
|
},
|
|
12290
|
+
aqara_metadata: {
|
|
12291
|
+
description: 'Metadata for an Aqara device.',
|
|
12292
|
+
properties: {
|
|
12293
|
+
device_name: {
|
|
12294
|
+
description: 'Device name for an Aqara device.',
|
|
12295
|
+
type: 'string',
|
|
12296
|
+
},
|
|
12297
|
+
did: {
|
|
12298
|
+
description: 'Device ID (did) for an Aqara device.',
|
|
12299
|
+
type: 'string',
|
|
12300
|
+
},
|
|
12301
|
+
firmware_version: {
|
|
12302
|
+
description: 'Firmware version for an Aqara device.',
|
|
12303
|
+
nullable: true,
|
|
12304
|
+
type: 'string',
|
|
12305
|
+
},
|
|
12306
|
+
model: {
|
|
12307
|
+
description: 'Model identifier for an Aqara device.',
|
|
12308
|
+
type: 'string',
|
|
12309
|
+
},
|
|
12310
|
+
model_type: {
|
|
12311
|
+
description: 'Model type for an Aqara device.',
|
|
12312
|
+
format: 'float',
|
|
12313
|
+
type: 'number',
|
|
12314
|
+
},
|
|
12315
|
+
parent_did: {
|
|
12316
|
+
description: 'Parent gateway device ID for an Aqara device.',
|
|
12317
|
+
type: 'string',
|
|
12318
|
+
},
|
|
12319
|
+
position_id: {
|
|
12320
|
+
description: 'Position (room) ID for an Aqara device.',
|
|
12321
|
+
nullable: true,
|
|
12322
|
+
type: 'string',
|
|
12323
|
+
},
|
|
12324
|
+
time_zone: {
|
|
12325
|
+
description: 'Time zone reported for an Aqara device (e.g. GMT-07:00).',
|
|
12326
|
+
nullable: true,
|
|
12327
|
+
type: 'string',
|
|
12328
|
+
},
|
|
12329
|
+
},
|
|
12330
|
+
type: 'object',
|
|
12331
|
+
},
|
|
12289
12332
|
assa_abloy_vostio_metadata: {
|
|
12290
12333
|
description: 'Metadata for an ASSA ABLOY Vostio system.',
|
|
12291
12334
|
properties: {
|
|
@@ -15290,6 +15333,7 @@ const openapi = {
|
|
|
15290
15333
|
'acuity_scheduling',
|
|
15291
15334
|
'omnitec',
|
|
15292
15335
|
'kisi',
|
|
15336
|
+
'aqara',
|
|
15293
15337
|
],
|
|
15294
15338
|
type: 'string',
|
|
15295
15339
|
},
|
|
@@ -29327,6 +29371,7 @@ const openapi = {
|
|
|
29327
29371
|
'keyincode_lock',
|
|
29328
29372
|
'omnitec_lock',
|
|
29329
29373
|
'kisi_lock',
|
|
29374
|
+
'aqara_lock',
|
|
29330
29375
|
],
|
|
29331
29376
|
type: 'string',
|
|
29332
29377
|
},
|
|
@@ -48170,6 +48215,7 @@ const openapi = {
|
|
|
48170
48215
|
'acuity_scheduling',
|
|
48171
48216
|
'omnitec',
|
|
48172
48217
|
'kisi',
|
|
48218
|
+
'aqara',
|
|
48173
48219
|
'yale_access',
|
|
48174
48220
|
'hid_cm',
|
|
48175
48221
|
'google_nest',
|
|
@@ -49467,15 +49513,42 @@ const openapi = {
|
|
|
49467
49513
|
},
|
|
49468
49514
|
deep_link: {
|
|
49469
49515
|
description: 'Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.',
|
|
49470
|
-
|
|
49471
|
-
|
|
49472
|
-
|
|
49473
|
-
|
|
49474
|
-
|
|
49516
|
+
discriminator: { propertyName: 'resource_type' },
|
|
49517
|
+
oneOf: [
|
|
49518
|
+
{
|
|
49519
|
+
properties: {
|
|
49520
|
+
resource_key: { type: 'string' },
|
|
49521
|
+
resource_type: {
|
|
49522
|
+
enum: ['reservation'],
|
|
49523
|
+
type: 'string',
|
|
49524
|
+
},
|
|
49525
|
+
},
|
|
49526
|
+
required: ['resource_type', 'resource_key'],
|
|
49527
|
+
type: 'object',
|
|
49475
49528
|
},
|
|
49476
|
-
|
|
49477
|
-
|
|
49478
|
-
|
|
49529
|
+
{
|
|
49530
|
+
properties: {
|
|
49531
|
+
resource_key: { type: 'string' },
|
|
49532
|
+
resource_type: {
|
|
49533
|
+
enum: ['space'],
|
|
49534
|
+
type: 'string',
|
|
49535
|
+
},
|
|
49536
|
+
},
|
|
49537
|
+
required: ['resource_type', 'resource_key'],
|
|
49538
|
+
type: 'object',
|
|
49539
|
+
},
|
|
49540
|
+
{
|
|
49541
|
+
properties: {
|
|
49542
|
+
resource_id: { type: 'string' },
|
|
49543
|
+
resource_type: {
|
|
49544
|
+
enum: ['device'],
|
|
49545
|
+
type: 'string',
|
|
49546
|
+
},
|
|
49547
|
+
},
|
|
49548
|
+
required: ['resource_type', 'resource_id'],
|
|
49549
|
+
type: 'object',
|
|
49550
|
+
},
|
|
49551
|
+
],
|
|
49479
49552
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
49480
49553
|
},
|
|
49481
49554
|
exclude_locale_picker: {
|
|
@@ -52145,6 +52218,7 @@ const openapi = {
|
|
|
52145
52218
|
'keyincode_lock',
|
|
52146
52219
|
'omnitec_lock',
|
|
52147
52220
|
'kisi_lock',
|
|
52221
|
+
'aqara_lock',
|
|
52148
52222
|
],
|
|
52149
52223
|
type: 'string',
|
|
52150
52224
|
},
|
|
@@ -52222,6 +52296,7 @@ const openapi = {
|
|
|
52222
52296
|
'keyincode_lock',
|
|
52223
52297
|
'omnitec_lock',
|
|
52224
52298
|
'kisi_lock',
|
|
52299
|
+
'aqara_lock',
|
|
52225
52300
|
],
|
|
52226
52301
|
type: 'string',
|
|
52227
52302
|
},
|
|
@@ -52298,6 +52373,7 @@ const openapi = {
|
|
|
52298
52373
|
'tedee',
|
|
52299
52374
|
'keyincode',
|
|
52300
52375
|
'akiles',
|
|
52376
|
+
'aqara',
|
|
52301
52377
|
'ecobee',
|
|
52302
52378
|
'honeywell_resideo',
|
|
52303
52379
|
'keynest',
|
|
@@ -52593,6 +52669,7 @@ const openapi = {
|
|
|
52593
52669
|
'keyincode_lock',
|
|
52594
52670
|
'omnitec_lock',
|
|
52595
52671
|
'kisi_lock',
|
|
52672
|
+
'aqara_lock',
|
|
52596
52673
|
],
|
|
52597
52674
|
type: 'string',
|
|
52598
52675
|
},
|
|
@@ -52666,6 +52743,7 @@ const openapi = {
|
|
|
52666
52743
|
'keyincode_lock',
|
|
52667
52744
|
'omnitec_lock',
|
|
52668
52745
|
'kisi_lock',
|
|
52746
|
+
'aqara_lock',
|
|
52669
52747
|
],
|
|
52670
52748
|
type: 'string',
|
|
52671
52749
|
},
|
|
@@ -52802,6 +52880,7 @@ const openapi = {
|
|
|
52802
52880
|
'tedee',
|
|
52803
52881
|
'keyincode',
|
|
52804
52882
|
'akiles',
|
|
52883
|
+
'aqara',
|
|
52805
52884
|
'ecobee',
|
|
52806
52885
|
'honeywell_resideo',
|
|
52807
52886
|
'keynest',
|
|
@@ -54908,6 +54987,7 @@ const openapi = {
|
|
|
54908
54987
|
'keyincode_lock',
|
|
54909
54988
|
'omnitec_lock',
|
|
54910
54989
|
'kisi_lock',
|
|
54990
|
+
'aqara_lock',
|
|
54911
54991
|
],
|
|
54912
54992
|
type: 'string',
|
|
54913
54993
|
},
|
|
@@ -54985,6 +55065,7 @@ const openapi = {
|
|
|
54985
55065
|
'keyincode_lock',
|
|
54986
55066
|
'omnitec_lock',
|
|
54987
55067
|
'kisi_lock',
|
|
55068
|
+
'aqara_lock',
|
|
54988
55069
|
],
|
|
54989
55070
|
type: 'string',
|
|
54990
55071
|
},
|
|
@@ -55061,6 +55142,7 @@ const openapi = {
|
|
|
55061
55142
|
'tedee',
|
|
55062
55143
|
'keyincode',
|
|
55063
55144
|
'akiles',
|
|
55145
|
+
'aqara',
|
|
55064
55146
|
'ecobee',
|
|
55065
55147
|
'honeywell_resideo',
|
|
55066
55148
|
'keynest',
|
|
@@ -55355,6 +55437,7 @@ const openapi = {
|
|
|
55355
55437
|
'keyincode_lock',
|
|
55356
55438
|
'omnitec_lock',
|
|
55357
55439
|
'kisi_lock',
|
|
55440
|
+
'aqara_lock',
|
|
55358
55441
|
],
|
|
55359
55442
|
type: 'string',
|
|
55360
55443
|
},
|
|
@@ -55428,6 +55511,7 @@ const openapi = {
|
|
|
55428
55511
|
'keyincode_lock',
|
|
55429
55512
|
'omnitec_lock',
|
|
55430
55513
|
'kisi_lock',
|
|
55514
|
+
'aqara_lock',
|
|
55431
55515
|
],
|
|
55432
55516
|
type: 'string',
|
|
55433
55517
|
},
|
|
@@ -55564,6 +55648,7 @@ const openapi = {
|
|
|
55564
55648
|
'tedee',
|
|
55565
55649
|
'keyincode',
|
|
55566
55650
|
'akiles',
|
|
55651
|
+
'aqara',
|
|
55567
55652
|
'ecobee',
|
|
55568
55653
|
'honeywell_resideo',
|
|
55569
55654
|
'keynest',
|
|
@@ -57629,6 +57714,7 @@ const openapi = {
|
|
|
57629
57714
|
'keyincode_lock',
|
|
57630
57715
|
'omnitec_lock',
|
|
57631
57716
|
'kisi_lock',
|
|
57717
|
+
'aqara_lock',
|
|
57632
57718
|
],
|
|
57633
57719
|
type: 'string',
|
|
57634
57720
|
},
|
|
@@ -57670,6 +57756,7 @@ const openapi = {
|
|
|
57670
57756
|
'keyincode_lock',
|
|
57671
57757
|
'omnitec_lock',
|
|
57672
57758
|
'kisi_lock',
|
|
57759
|
+
'aqara_lock',
|
|
57673
57760
|
],
|
|
57674
57761
|
type: 'string',
|
|
57675
57762
|
},
|
|
@@ -57708,6 +57795,7 @@ const openapi = {
|
|
|
57708
57795
|
'tedee',
|
|
57709
57796
|
'keyincode',
|
|
57710
57797
|
'akiles',
|
|
57798
|
+
'aqara',
|
|
57711
57799
|
'korelock',
|
|
57712
57800
|
'smartthings',
|
|
57713
57801
|
'ultraloq',
|
|
@@ -57986,6 +58074,7 @@ const openapi = {
|
|
|
57986
58074
|
'keyincode_lock',
|
|
57987
58075
|
'omnitec_lock',
|
|
57988
58076
|
'kisi_lock',
|
|
58077
|
+
'aqara_lock',
|
|
57989
58078
|
],
|
|
57990
58079
|
type: 'string',
|
|
57991
58080
|
},
|
|
@@ -58023,6 +58112,7 @@ const openapi = {
|
|
|
58023
58112
|
'keyincode_lock',
|
|
58024
58113
|
'omnitec_lock',
|
|
58025
58114
|
'kisi_lock',
|
|
58115
|
+
'aqara_lock',
|
|
58026
58116
|
],
|
|
58027
58117
|
type: 'string',
|
|
58028
58118
|
},
|
|
@@ -58121,6 +58211,7 @@ const openapi = {
|
|
|
58121
58211
|
'tedee',
|
|
58122
58212
|
'keyincode',
|
|
58123
58213
|
'akiles',
|
|
58214
|
+
'aqara',
|
|
58124
58215
|
'korelock',
|
|
58125
58216
|
'smartthings',
|
|
58126
58217
|
'ultraloq',
|
|
@@ -70028,15 +70119,42 @@ const openapi = {
|
|
|
70028
70119
|
},
|
|
70029
70120
|
deep_link: {
|
|
70030
70121
|
description: 'Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.',
|
|
70031
|
-
|
|
70032
|
-
|
|
70033
|
-
|
|
70034
|
-
|
|
70035
|
-
|
|
70122
|
+
discriminator: { propertyName: 'resource_type' },
|
|
70123
|
+
oneOf: [
|
|
70124
|
+
{
|
|
70125
|
+
properties: {
|
|
70126
|
+
resource_key: { type: 'string' },
|
|
70127
|
+
resource_type: {
|
|
70128
|
+
enum: ['reservation'],
|
|
70129
|
+
type: 'string',
|
|
70130
|
+
},
|
|
70131
|
+
},
|
|
70132
|
+
required: ['resource_type', 'resource_key'],
|
|
70133
|
+
type: 'object',
|
|
70036
70134
|
},
|
|
70037
|
-
|
|
70038
|
-
|
|
70039
|
-
|
|
70135
|
+
{
|
|
70136
|
+
properties: {
|
|
70137
|
+
resource_key: { type: 'string' },
|
|
70138
|
+
resource_type: {
|
|
70139
|
+
enum: ['space'],
|
|
70140
|
+
type: 'string',
|
|
70141
|
+
},
|
|
70142
|
+
},
|
|
70143
|
+
required: ['resource_type', 'resource_key'],
|
|
70144
|
+
type: 'object',
|
|
70145
|
+
},
|
|
70146
|
+
{
|
|
70147
|
+
properties: {
|
|
70148
|
+
resource_id: { type: 'string' },
|
|
70149
|
+
resource_type: {
|
|
70150
|
+
enum: ['device'],
|
|
70151
|
+
type: 'string',
|
|
70152
|
+
},
|
|
70153
|
+
},
|
|
70154
|
+
required: ['resource_type', 'resource_id'],
|
|
70155
|
+
type: 'object',
|
|
70156
|
+
},
|
|
70157
|
+
],
|
|
70040
70158
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
70041
70159
|
},
|
|
70042
70160
|
exclude_locale_picker: {
|
|
@@ -70455,15 +70573,42 @@ const openapi = {
|
|
|
70455
70573
|
},
|
|
70456
70574
|
deep_link: {
|
|
70457
70575
|
description: 'Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.',
|
|
70458
|
-
|
|
70459
|
-
|
|
70460
|
-
|
|
70461
|
-
|
|
70462
|
-
|
|
70576
|
+
discriminator: { propertyName: 'resource_type' },
|
|
70577
|
+
oneOf: [
|
|
70578
|
+
{
|
|
70579
|
+
properties: {
|
|
70580
|
+
resource_key: { type: 'string' },
|
|
70581
|
+
resource_type: {
|
|
70582
|
+
enum: ['reservation'],
|
|
70583
|
+
type: 'string',
|
|
70584
|
+
},
|
|
70585
|
+
},
|
|
70586
|
+
required: ['resource_type', 'resource_key'],
|
|
70587
|
+
type: 'object',
|
|
70463
70588
|
},
|
|
70464
|
-
|
|
70465
|
-
|
|
70466
|
-
|
|
70589
|
+
{
|
|
70590
|
+
properties: {
|
|
70591
|
+
resource_key: { type: 'string' },
|
|
70592
|
+
resource_type: {
|
|
70593
|
+
enum: ['space'],
|
|
70594
|
+
type: 'string',
|
|
70595
|
+
},
|
|
70596
|
+
},
|
|
70597
|
+
required: ['resource_type', 'resource_key'],
|
|
70598
|
+
type: 'object',
|
|
70599
|
+
},
|
|
70600
|
+
{
|
|
70601
|
+
properties: {
|
|
70602
|
+
resource_id: { type: 'string' },
|
|
70603
|
+
resource_type: {
|
|
70604
|
+
enum: ['device'],
|
|
70605
|
+
type: 'string',
|
|
70606
|
+
},
|
|
70607
|
+
},
|
|
70608
|
+
required: ['resource_type', 'resource_id'],
|
|
70609
|
+
type: 'object',
|
|
70610
|
+
},
|
|
70611
|
+
],
|
|
70467
70612
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
70468
70613
|
},
|
|
70469
70614
|
exclude_locale_picker: {
|
|
@@ -70857,15 +71002,42 @@ const openapi = {
|
|
|
70857
71002
|
},
|
|
70858
71003
|
deep_link: {
|
|
70859
71004
|
description: 'Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.',
|
|
70860
|
-
|
|
70861
|
-
|
|
70862
|
-
|
|
70863
|
-
|
|
70864
|
-
|
|
71005
|
+
discriminator: { propertyName: 'resource_type' },
|
|
71006
|
+
oneOf: [
|
|
71007
|
+
{
|
|
71008
|
+
properties: {
|
|
71009
|
+
resource_key: { type: 'string' },
|
|
71010
|
+
resource_type: {
|
|
71011
|
+
enum: ['reservation'],
|
|
71012
|
+
type: 'string',
|
|
71013
|
+
},
|
|
71014
|
+
},
|
|
71015
|
+
required: ['resource_type', 'resource_key'],
|
|
71016
|
+
type: 'object',
|
|
70865
71017
|
},
|
|
70866
|
-
|
|
70867
|
-
|
|
70868
|
-
|
|
71018
|
+
{
|
|
71019
|
+
properties: {
|
|
71020
|
+
resource_key: { type: 'string' },
|
|
71021
|
+
resource_type: {
|
|
71022
|
+
enum: ['space'],
|
|
71023
|
+
type: 'string',
|
|
71024
|
+
},
|
|
71025
|
+
},
|
|
71026
|
+
required: ['resource_type', 'resource_key'],
|
|
71027
|
+
type: 'object',
|
|
71028
|
+
},
|
|
71029
|
+
{
|
|
71030
|
+
properties: {
|
|
71031
|
+
resource_id: { type: 'string' },
|
|
71032
|
+
resource_type: {
|
|
71033
|
+
enum: ['device'],
|
|
71034
|
+
type: 'string',
|
|
71035
|
+
},
|
|
71036
|
+
},
|
|
71037
|
+
required: ['resource_type', 'resource_id'],
|
|
71038
|
+
type: 'object',
|
|
71039
|
+
},
|
|
71040
|
+
],
|
|
70869
71041
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
70870
71042
|
},
|
|
70871
71043
|
exclude_locale_picker: {
|
|
@@ -71240,15 +71412,42 @@ const openapi = {
|
|
|
71240
71412
|
},
|
|
71241
71413
|
deep_link: {
|
|
71242
71414
|
description: 'Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.',
|
|
71243
|
-
|
|
71244
|
-
|
|
71245
|
-
|
|
71246
|
-
|
|
71247
|
-
|
|
71415
|
+
discriminator: { propertyName: 'resource_type' },
|
|
71416
|
+
oneOf: [
|
|
71417
|
+
{
|
|
71418
|
+
properties: {
|
|
71419
|
+
resource_key: { type: 'string' },
|
|
71420
|
+
resource_type: {
|
|
71421
|
+
enum: ['reservation'],
|
|
71422
|
+
type: 'string',
|
|
71423
|
+
},
|
|
71424
|
+
},
|
|
71425
|
+
required: ['resource_type', 'resource_key'],
|
|
71426
|
+
type: 'object',
|
|
71248
71427
|
},
|
|
71249
|
-
|
|
71250
|
-
|
|
71251
|
-
|
|
71428
|
+
{
|
|
71429
|
+
properties: {
|
|
71430
|
+
resource_key: { type: 'string' },
|
|
71431
|
+
resource_type: {
|
|
71432
|
+
enum: ['space'],
|
|
71433
|
+
type: 'string',
|
|
71434
|
+
},
|
|
71435
|
+
},
|
|
71436
|
+
required: ['resource_type', 'resource_key'],
|
|
71437
|
+
type: 'object',
|
|
71438
|
+
},
|
|
71439
|
+
{
|
|
71440
|
+
properties: {
|
|
71441
|
+
resource_id: { type: 'string' },
|
|
71442
|
+
resource_type: {
|
|
71443
|
+
enum: ['device'],
|
|
71444
|
+
type: 'string',
|
|
71445
|
+
},
|
|
71446
|
+
},
|
|
71447
|
+
required: ['resource_type', 'resource_id'],
|
|
71448
|
+
type: 'object',
|
|
71449
|
+
},
|
|
71450
|
+
],
|
|
71252
71451
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
71253
71452
|
},
|
|
71254
71453
|
exclude_locale_picker: {
|