@seamapi/types 1.932.0 → 1.934.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 +127 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +731 -475
- package/dist/index.cjs +127 -60
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +38 -38
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +11 -13
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +28 -28
- package/lib/seam/connect/models/devices/device-metadata.d.ts +44 -16
- package/lib/seam/connect/models/devices/device-metadata.js +14 -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 +95 -55
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +71 -43
- package/lib/seam/connect/models/events/access-codes.d.ts +12 -12
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -6
- package/lib/seam/connect/openapi.js +87 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +558 -371
- package/lib/seam/devicedb/models/device-model.d.ts +4 -4
- package/lib/seam/devicedb/route-specs.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +11 -13
- package/src/lib/seam/connect/models/devices/device-metadata.ts +15 -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 +87 -28
- package/src/lib/seam/connect/route-types.ts +595 -340
|
@@ -13014,6 +13014,7 @@ const openapi: OpenAPISpec = {
|
|
|
13014
13014
|
'ultraloq_lock',
|
|
13015
13015
|
'keyincode_lock',
|
|
13016
13016
|
'omnitec_lock',
|
|
13017
|
+
'kisi_lock',
|
|
13017
13018
|
],
|
|
13018
13019
|
type: 'string',
|
|
13019
13020
|
},
|
|
@@ -14549,6 +14550,37 @@ const openapi: OpenAPISpec = {
|
|
|
14549
14550
|
},
|
|
14550
14551
|
type: 'object',
|
|
14551
14552
|
},
|
|
14553
|
+
kisi_metadata: {
|
|
14554
|
+
description: 'Metadata for a Kisi device.',
|
|
14555
|
+
properties: {
|
|
14556
|
+
description: {
|
|
14557
|
+
description: 'Description for a Kisi device.',
|
|
14558
|
+
nullable: true,
|
|
14559
|
+
type: 'string',
|
|
14560
|
+
},
|
|
14561
|
+
lock_id: {
|
|
14562
|
+
description: 'Lock ID for a Kisi device.',
|
|
14563
|
+
format: 'float',
|
|
14564
|
+
type: 'number',
|
|
14565
|
+
},
|
|
14566
|
+
lock_name: {
|
|
14567
|
+
description: 'Lock name for a Kisi device.',
|
|
14568
|
+
type: 'string',
|
|
14569
|
+
},
|
|
14570
|
+
place_name: {
|
|
14571
|
+
description: 'Place name for a Kisi device.',
|
|
14572
|
+
nullable: true,
|
|
14573
|
+
type: 'string',
|
|
14574
|
+
},
|
|
14575
|
+
},
|
|
14576
|
+
required: [
|
|
14577
|
+
'lock_id',
|
|
14578
|
+
'lock_name',
|
|
14579
|
+
'place_name',
|
|
14580
|
+
'description',
|
|
14581
|
+
],
|
|
14582
|
+
type: 'object',
|
|
14583
|
+
},
|
|
14552
14584
|
korelock_metadata: {
|
|
14553
14585
|
description: 'Metadata for a Korelock device.',
|
|
14554
14586
|
properties: {
|
|
@@ -15516,17 +15548,17 @@ const openapi: OpenAPISpec = {
|
|
|
15516
15548
|
properties: {
|
|
15517
15549
|
display_name: {
|
|
15518
15550
|
description:
|
|
15519
|
-
'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed
|
|
15551
|
+
'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).',
|
|
15520
15552
|
type: 'string',
|
|
15521
15553
|
},
|
|
15522
15554
|
end_date_recurrence_rule: {
|
|
15523
15555
|
description:
|
|
15524
|
-
'iCalendar recurrence rule (RRULE) that the
|
|
15556
|
+
'iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
|
|
15525
15557
|
type: 'string',
|
|
15526
15558
|
},
|
|
15527
15559
|
matching_start_end_time: {
|
|
15528
15560
|
description:
|
|
15529
|
-
'When `true`, the
|
|
15561
|
+
'When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
|
|
15530
15562
|
enum: [true],
|
|
15531
15563
|
type: 'boolean',
|
|
15532
15564
|
},
|
|
@@ -15542,36 +15574,36 @@ const openapi: OpenAPISpec = {
|
|
|
15542
15574
|
},
|
|
15543
15575
|
start_date_recurrence_rule: {
|
|
15544
15576
|
description:
|
|
15545
|
-
'iCalendar recurrence rule (RRULE) that the
|
|
15577
|
+
'iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.',
|
|
15546
15578
|
type: 'string',
|
|
15547
15579
|
},
|
|
15548
15580
|
time_pairs: {
|
|
15549
15581
|
description:
|
|
15550
|
-
'Fixed
|
|
15582
|
+
'Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
|
|
15551
15583
|
items: {
|
|
15552
15584
|
description:
|
|
15553
|
-
'Fixed
|
|
15585
|
+
'Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
|
|
15554
15586
|
properties: {
|
|
15555
|
-
|
|
15587
|
+
display_name: {
|
|
15556
15588
|
description:
|
|
15557
|
-
|
|
15589
|
+
'Label for the start/end time pairing.',
|
|
15558
15590
|
type: 'string',
|
|
15559
15591
|
},
|
|
15560
|
-
|
|
15592
|
+
end_time: {
|
|
15561
15593
|
description:
|
|
15562
|
-
"
|
|
15594
|
+
"End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.",
|
|
15563
15595
|
type: 'string',
|
|
15564
15596
|
},
|
|
15565
|
-
|
|
15597
|
+
start_time: {
|
|
15566
15598
|
description:
|
|
15567
|
-
|
|
15599
|
+
"Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
|
|
15568
15600
|
type: 'string',
|
|
15569
15601
|
},
|
|
15570
15602
|
},
|
|
15571
15603
|
required: [
|
|
15572
15604
|
'display_name',
|
|
15573
|
-
'
|
|
15574
|
-
'
|
|
15605
|
+
'start_time',
|
|
15606
|
+
'end_time',
|
|
15575
15607
|
],
|
|
15576
15608
|
type: 'object',
|
|
15577
15609
|
},
|
|
@@ -15598,17 +15630,17 @@ const openapi: OpenAPISpec = {
|
|
|
15598
15630
|
properties: {
|
|
15599
15631
|
display_name: {
|
|
15600
15632
|
description:
|
|
15601
|
-
'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed
|
|
15633
|
+
'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).',
|
|
15602
15634
|
type: 'string',
|
|
15603
15635
|
},
|
|
15604
15636
|
end_date_recurrence_rule: {
|
|
15605
15637
|
description:
|
|
15606
|
-
'iCalendar recurrence rule (RRULE) that the
|
|
15638
|
+
'iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
|
|
15607
15639
|
type: 'string',
|
|
15608
15640
|
},
|
|
15609
15641
|
matching_start_end_time: {
|
|
15610
15642
|
description:
|
|
15611
|
-
'When `true`, the
|
|
15643
|
+
'When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
|
|
15612
15644
|
enum: [true],
|
|
15613
15645
|
type: 'boolean',
|
|
15614
15646
|
},
|
|
@@ -15624,36 +15656,36 @@ const openapi: OpenAPISpec = {
|
|
|
15624
15656
|
},
|
|
15625
15657
|
start_date_recurrence_rule: {
|
|
15626
15658
|
description:
|
|
15627
|
-
'iCalendar recurrence rule (RRULE) that the
|
|
15659
|
+
'iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.',
|
|
15628
15660
|
type: 'string',
|
|
15629
15661
|
},
|
|
15630
15662
|
time_pairs: {
|
|
15631
15663
|
description:
|
|
15632
|
-
'Fixed
|
|
15664
|
+
'Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
|
|
15633
15665
|
items: {
|
|
15634
15666
|
description:
|
|
15635
|
-
'Fixed
|
|
15667
|
+
'Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
|
|
15636
15668
|
properties: {
|
|
15637
|
-
|
|
15669
|
+
display_name: {
|
|
15638
15670
|
description:
|
|
15639
|
-
|
|
15671
|
+
'Label for the start/end time pairing.',
|
|
15640
15672
|
type: 'string',
|
|
15641
15673
|
},
|
|
15642
|
-
|
|
15674
|
+
end_time: {
|
|
15643
15675
|
description:
|
|
15644
|
-
"
|
|
15676
|
+
"End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.",
|
|
15645
15677
|
type: 'string',
|
|
15646
15678
|
},
|
|
15647
|
-
|
|
15679
|
+
start_time: {
|
|
15648
15680
|
description:
|
|
15649
|
-
|
|
15681
|
+
"Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
|
|
15650
15682
|
type: 'string',
|
|
15651
15683
|
},
|
|
15652
15684
|
},
|
|
15653
15685
|
required: [
|
|
15654
15686
|
'display_name',
|
|
15655
|
-
'
|
|
15656
|
-
'
|
|
15687
|
+
'start_time',
|
|
15688
|
+
'end_time',
|
|
15657
15689
|
],
|
|
15658
15690
|
type: 'object',
|
|
15659
15691
|
},
|
|
@@ -17499,6 +17531,7 @@ const openapi: OpenAPISpec = {
|
|
|
17499
17531
|
'guesty',
|
|
17500
17532
|
'acuity_scheduling',
|
|
17501
17533
|
'omnitec',
|
|
17534
|
+
'kisi',
|
|
17502
17535
|
],
|
|
17503
17536
|
type: 'string',
|
|
17504
17537
|
},
|
|
@@ -32370,6 +32403,7 @@ const openapi: OpenAPISpec = {
|
|
|
32370
32403
|
'ultraloq_lock',
|
|
32371
32404
|
'keyincode_lock',
|
|
32372
32405
|
'omnitec_lock',
|
|
32406
|
+
'kisi_lock',
|
|
32373
32407
|
],
|
|
32374
32408
|
type: 'string',
|
|
32375
32409
|
},
|
|
@@ -52419,6 +52453,7 @@ const openapi: OpenAPISpec = {
|
|
|
52419
52453
|
'guesty',
|
|
52420
52454
|
'acuity_scheduling',
|
|
52421
52455
|
'omnitec',
|
|
52456
|
+
'kisi',
|
|
52422
52457
|
'yale_access',
|
|
52423
52458
|
'hid_cm',
|
|
52424
52459
|
'google_nest',
|
|
@@ -56740,6 +56775,7 @@ const openapi: OpenAPISpec = {
|
|
|
56740
56775
|
'ultraloq_lock',
|
|
56741
56776
|
'keyincode_lock',
|
|
56742
56777
|
'omnitec_lock',
|
|
56778
|
+
'kisi_lock',
|
|
56743
56779
|
],
|
|
56744
56780
|
type: 'string',
|
|
56745
56781
|
},
|
|
@@ -56817,6 +56853,7 @@ const openapi: OpenAPISpec = {
|
|
|
56817
56853
|
'ultraloq_lock',
|
|
56818
56854
|
'keyincode_lock',
|
|
56819
56855
|
'omnitec_lock',
|
|
56856
|
+
'kisi_lock',
|
|
56820
56857
|
],
|
|
56821
56858
|
type: 'string',
|
|
56822
56859
|
},
|
|
@@ -56892,6 +56929,7 @@ const openapi: OpenAPISpec = {
|
|
|
56892
56929
|
'dormakaba_oracode',
|
|
56893
56930
|
'tedee',
|
|
56894
56931
|
'keyincode',
|
|
56932
|
+
'kisi',
|
|
56895
56933
|
'akiles',
|
|
56896
56934
|
'ecobee',
|
|
56897
56935
|
'honeywell_resideo',
|
|
@@ -56911,6 +56949,7 @@ const openapi: OpenAPISpec = {
|
|
|
56911
56949
|
'guesty',
|
|
56912
56950
|
'acuity_scheduling',
|
|
56913
56951
|
'omnitec',
|
|
56952
|
+
'kisi',
|
|
56914
56953
|
'slack',
|
|
56915
56954
|
],
|
|
56916
56955
|
type: 'string',
|
|
@@ -57201,6 +57240,7 @@ const openapi: OpenAPISpec = {
|
|
|
57201
57240
|
'ultraloq_lock',
|
|
57202
57241
|
'keyincode_lock',
|
|
57203
57242
|
'omnitec_lock',
|
|
57243
|
+
'kisi_lock',
|
|
57204
57244
|
],
|
|
57205
57245
|
type: 'string',
|
|
57206
57246
|
},
|
|
@@ -57276,6 +57316,7 @@ const openapi: OpenAPISpec = {
|
|
|
57276
57316
|
'ultraloq_lock',
|
|
57277
57317
|
'keyincode_lock',
|
|
57278
57318
|
'omnitec_lock',
|
|
57319
|
+
'kisi_lock',
|
|
57279
57320
|
],
|
|
57280
57321
|
type: 'string',
|
|
57281
57322
|
},
|
|
@@ -57415,6 +57456,7 @@ const openapi: OpenAPISpec = {
|
|
|
57415
57456
|
'dormakaba_oracode',
|
|
57416
57457
|
'tedee',
|
|
57417
57458
|
'keyincode',
|
|
57459
|
+
'kisi',
|
|
57418
57460
|
'akiles',
|
|
57419
57461
|
'ecobee',
|
|
57420
57462
|
'honeywell_resideo',
|
|
@@ -57434,6 +57476,7 @@ const openapi: OpenAPISpec = {
|
|
|
57434
57476
|
'guesty',
|
|
57435
57477
|
'acuity_scheduling',
|
|
57436
57478
|
'omnitec',
|
|
57479
|
+
'kisi',
|
|
57437
57480
|
'slack',
|
|
57438
57481
|
],
|
|
57439
57482
|
type: 'string',
|
|
@@ -59544,6 +59587,7 @@ const openapi: OpenAPISpec = {
|
|
|
59544
59587
|
'ultraloq_lock',
|
|
59545
59588
|
'keyincode_lock',
|
|
59546
59589
|
'omnitec_lock',
|
|
59590
|
+
'kisi_lock',
|
|
59547
59591
|
],
|
|
59548
59592
|
type: 'string',
|
|
59549
59593
|
},
|
|
@@ -59621,6 +59665,7 @@ const openapi: OpenAPISpec = {
|
|
|
59621
59665
|
'ultraloq_lock',
|
|
59622
59666
|
'keyincode_lock',
|
|
59623
59667
|
'omnitec_lock',
|
|
59668
|
+
'kisi_lock',
|
|
59624
59669
|
],
|
|
59625
59670
|
type: 'string',
|
|
59626
59671
|
},
|
|
@@ -59696,6 +59741,7 @@ const openapi: OpenAPISpec = {
|
|
|
59696
59741
|
'dormakaba_oracode',
|
|
59697
59742
|
'tedee',
|
|
59698
59743
|
'keyincode',
|
|
59744
|
+
'kisi',
|
|
59699
59745
|
'akiles',
|
|
59700
59746
|
'ecobee',
|
|
59701
59747
|
'honeywell_resideo',
|
|
@@ -59715,6 +59761,7 @@ const openapi: OpenAPISpec = {
|
|
|
59715
59761
|
'guesty',
|
|
59716
59762
|
'acuity_scheduling',
|
|
59717
59763
|
'omnitec',
|
|
59764
|
+
'kisi',
|
|
59718
59765
|
'slack',
|
|
59719
59766
|
],
|
|
59720
59767
|
type: 'string',
|
|
@@ -60004,6 +60051,7 @@ const openapi: OpenAPISpec = {
|
|
|
60004
60051
|
'ultraloq_lock',
|
|
60005
60052
|
'keyincode_lock',
|
|
60006
60053
|
'omnitec_lock',
|
|
60054
|
+
'kisi_lock',
|
|
60007
60055
|
],
|
|
60008
60056
|
type: 'string',
|
|
60009
60057
|
},
|
|
@@ -60079,6 +60127,7 @@ const openapi: OpenAPISpec = {
|
|
|
60079
60127
|
'ultraloq_lock',
|
|
60080
60128
|
'keyincode_lock',
|
|
60081
60129
|
'omnitec_lock',
|
|
60130
|
+
'kisi_lock',
|
|
60082
60131
|
],
|
|
60083
60132
|
type: 'string',
|
|
60084
60133
|
},
|
|
@@ -60218,6 +60267,7 @@ const openapi: OpenAPISpec = {
|
|
|
60218
60267
|
'dormakaba_oracode',
|
|
60219
60268
|
'tedee',
|
|
60220
60269
|
'keyincode',
|
|
60270
|
+
'kisi',
|
|
60221
60271
|
'akiles',
|
|
60222
60272
|
'ecobee',
|
|
60223
60273
|
'honeywell_resideo',
|
|
@@ -60237,6 +60287,7 @@ const openapi: OpenAPISpec = {
|
|
|
60237
60287
|
'guesty',
|
|
60238
60288
|
'acuity_scheduling',
|
|
60239
60289
|
'omnitec',
|
|
60290
|
+
'kisi',
|
|
60240
60291
|
'slack',
|
|
60241
60292
|
],
|
|
60242
60293
|
type: 'string',
|
|
@@ -62339,6 +62390,7 @@ const openapi: OpenAPISpec = {
|
|
|
62339
62390
|
'ultraloq_lock',
|
|
62340
62391
|
'keyincode_lock',
|
|
62341
62392
|
'omnitec_lock',
|
|
62393
|
+
'kisi_lock',
|
|
62342
62394
|
],
|
|
62343
62395
|
type: 'string',
|
|
62344
62396
|
},
|
|
@@ -62379,6 +62431,7 @@ const openapi: OpenAPISpec = {
|
|
|
62379
62431
|
'ultraloq_lock',
|
|
62380
62432
|
'keyincode_lock',
|
|
62381
62433
|
'omnitec_lock',
|
|
62434
|
+
'kisi_lock',
|
|
62382
62435
|
],
|
|
62383
62436
|
type: 'string',
|
|
62384
62437
|
},
|
|
@@ -62416,11 +62469,13 @@ const openapi: OpenAPISpec = {
|
|
|
62416
62469
|
'dormakaba_oracode',
|
|
62417
62470
|
'tedee',
|
|
62418
62471
|
'keyincode',
|
|
62472
|
+
'kisi',
|
|
62419
62473
|
'akiles',
|
|
62420
62474
|
'korelock',
|
|
62421
62475
|
'smartthings',
|
|
62422
62476
|
'ultraloq',
|
|
62423
62477
|
'omnitec',
|
|
62478
|
+
'kisi',
|
|
62424
62479
|
],
|
|
62425
62480
|
type: 'string',
|
|
62426
62481
|
},
|
|
@@ -62709,6 +62764,7 @@ const openapi: OpenAPISpec = {
|
|
|
62709
62764
|
'ultraloq_lock',
|
|
62710
62765
|
'keyincode_lock',
|
|
62711
62766
|
'omnitec_lock',
|
|
62767
|
+
'kisi_lock',
|
|
62712
62768
|
],
|
|
62713
62769
|
type: 'string',
|
|
62714
62770
|
},
|
|
@@ -62746,6 +62802,7 @@ const openapi: OpenAPISpec = {
|
|
|
62746
62802
|
'ultraloq_lock',
|
|
62747
62803
|
'keyincode_lock',
|
|
62748
62804
|
'omnitec_lock',
|
|
62805
|
+
'kisi_lock',
|
|
62749
62806
|
],
|
|
62750
62807
|
type: 'string',
|
|
62751
62808
|
},
|
|
@@ -62845,11 +62902,13 @@ const openapi: OpenAPISpec = {
|
|
|
62845
62902
|
'dormakaba_oracode',
|
|
62846
62903
|
'tedee',
|
|
62847
62904
|
'keyincode',
|
|
62905
|
+
'kisi',
|
|
62848
62906
|
'akiles',
|
|
62849
62907
|
'korelock',
|
|
62850
62908
|
'smartthings',
|
|
62851
62909
|
'ultraloq',
|
|
62852
62910
|
'omnitec',
|
|
62911
|
+
'kisi',
|
|
62853
62912
|
],
|
|
62854
62913
|
type: 'string',
|
|
62855
62914
|
},
|