@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
|
@@ -11519,6 +11519,7 @@ const openapi = {
|
|
|
11519
11519
|
'ultraloq_lock',
|
|
11520
11520
|
'keyincode_lock',
|
|
11521
11521
|
'omnitec_lock',
|
|
11522
|
+
'kisi_lock',
|
|
11522
11523
|
],
|
|
11523
11524
|
type: 'string',
|
|
11524
11525
|
},
|
|
@@ -12889,6 +12890,37 @@ const openapi = {
|
|
|
12889
12890
|
},
|
|
12890
12891
|
type: 'object',
|
|
12891
12892
|
},
|
|
12893
|
+
kisi_metadata: {
|
|
12894
|
+
description: 'Metadata for a Kisi device.',
|
|
12895
|
+
properties: {
|
|
12896
|
+
description: {
|
|
12897
|
+
description: 'Description for a Kisi device.',
|
|
12898
|
+
nullable: true,
|
|
12899
|
+
type: 'string',
|
|
12900
|
+
},
|
|
12901
|
+
lock_id: {
|
|
12902
|
+
description: 'Lock ID for a Kisi device.',
|
|
12903
|
+
format: 'float',
|
|
12904
|
+
type: 'number',
|
|
12905
|
+
},
|
|
12906
|
+
lock_name: {
|
|
12907
|
+
description: 'Lock name for a Kisi device.',
|
|
12908
|
+
type: 'string',
|
|
12909
|
+
},
|
|
12910
|
+
place_name: {
|
|
12911
|
+
description: 'Place name for a Kisi device.',
|
|
12912
|
+
nullable: true,
|
|
12913
|
+
type: 'string',
|
|
12914
|
+
},
|
|
12915
|
+
},
|
|
12916
|
+
required: [
|
|
12917
|
+
'lock_id',
|
|
12918
|
+
'lock_name',
|
|
12919
|
+
'place_name',
|
|
12920
|
+
'description',
|
|
12921
|
+
],
|
|
12922
|
+
type: 'object',
|
|
12923
|
+
},
|
|
12892
12924
|
korelock_metadata: {
|
|
12893
12925
|
description: 'Metadata for a Korelock device.',
|
|
12894
12926
|
properties: {
|
|
@@ -13785,15 +13817,15 @@ const openapi = {
|
|
|
13785
13817
|
description: 'One way to make a code: a duration band plus the time-of-day and date rules that apply within it. Absence of a rule means unrestricted on that axis.',
|
|
13786
13818
|
properties: {
|
|
13787
13819
|
display_name: {
|
|
13788
|
-
description: '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
|
|
13820
|
+
description: '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`).',
|
|
13789
13821
|
type: 'string',
|
|
13790
13822
|
},
|
|
13791
13823
|
end_date_recurrence_rule: {
|
|
13792
|
-
description: 'iCalendar recurrence rule (RRULE) that the
|
|
13824
|
+
description: 'iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
|
|
13793
13825
|
type: 'string',
|
|
13794
13826
|
},
|
|
13795
13827
|
matching_start_end_time: {
|
|
13796
|
-
description: 'When `true`, the
|
|
13828
|
+
description: 'When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
|
|
13797
13829
|
enum: [true],
|
|
13798
13830
|
type: 'boolean',
|
|
13799
13831
|
},
|
|
@@ -13806,31 +13838,31 @@ const openapi = {
|
|
|
13806
13838
|
type: 'string',
|
|
13807
13839
|
},
|
|
13808
13840
|
start_date_recurrence_rule: {
|
|
13809
|
-
description: 'iCalendar recurrence rule (RRULE) that the
|
|
13841
|
+
description: '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.',
|
|
13810
13842
|
type: 'string',
|
|
13811
13843
|
},
|
|
13812
13844
|
time_pairs: {
|
|
13813
|
-
description: 'Fixed
|
|
13845
|
+
description: 'Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
|
|
13814
13846
|
items: {
|
|
13815
|
-
description: 'Fixed
|
|
13847
|
+
description: 'Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
|
|
13816
13848
|
properties: {
|
|
13817
|
-
|
|
13818
|
-
description:
|
|
13849
|
+
display_name: {
|
|
13850
|
+
description: 'Label for the start/end time pairing.',
|
|
13819
13851
|
type: 'string',
|
|
13820
13852
|
},
|
|
13821
|
-
|
|
13822
|
-
description: "
|
|
13853
|
+
end_time: {
|
|
13854
|
+
description: "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.",
|
|
13823
13855
|
type: 'string',
|
|
13824
13856
|
},
|
|
13825
|
-
|
|
13826
|
-
description:
|
|
13857
|
+
start_time: {
|
|
13858
|
+
description: "Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
|
|
13827
13859
|
type: 'string',
|
|
13828
13860
|
},
|
|
13829
13861
|
},
|
|
13830
13862
|
required: [
|
|
13831
13863
|
'display_name',
|
|
13832
|
-
'
|
|
13833
|
-
'
|
|
13864
|
+
'start_time',
|
|
13865
|
+
'end_time',
|
|
13834
13866
|
],
|
|
13835
13867
|
type: 'object',
|
|
13836
13868
|
},
|
|
@@ -13853,15 +13885,15 @@ const openapi = {
|
|
|
13853
13885
|
description: 'One way to make a code: a duration band plus the time-of-day and date rules that apply within it. Absence of a rule means unrestricted on that axis.',
|
|
13854
13886
|
properties: {
|
|
13855
13887
|
display_name: {
|
|
13856
|
-
description: '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
|
|
13888
|
+
description: '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`).',
|
|
13857
13889
|
type: 'string',
|
|
13858
13890
|
},
|
|
13859
13891
|
end_date_recurrence_rule: {
|
|
13860
|
-
description: 'iCalendar recurrence rule (RRULE) that the
|
|
13892
|
+
description: 'iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
|
|
13861
13893
|
type: 'string',
|
|
13862
13894
|
},
|
|
13863
13895
|
matching_start_end_time: {
|
|
13864
|
-
description: 'When `true`, the
|
|
13896
|
+
description: 'When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
|
|
13865
13897
|
enum: [true],
|
|
13866
13898
|
type: 'boolean',
|
|
13867
13899
|
},
|
|
@@ -13874,31 +13906,31 @@ const openapi = {
|
|
|
13874
13906
|
type: 'string',
|
|
13875
13907
|
},
|
|
13876
13908
|
start_date_recurrence_rule: {
|
|
13877
|
-
description: 'iCalendar recurrence rule (RRULE) that the
|
|
13909
|
+
description: '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.',
|
|
13878
13910
|
type: 'string',
|
|
13879
13911
|
},
|
|
13880
13912
|
time_pairs: {
|
|
13881
|
-
description: 'Fixed
|
|
13913
|
+
description: 'Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
|
|
13882
13914
|
items: {
|
|
13883
|
-
description: 'Fixed
|
|
13915
|
+
description: 'Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
|
|
13884
13916
|
properties: {
|
|
13885
|
-
|
|
13886
|
-
description:
|
|
13917
|
+
display_name: {
|
|
13918
|
+
description: 'Label for the start/end time pairing.',
|
|
13887
13919
|
type: 'string',
|
|
13888
13920
|
},
|
|
13889
|
-
|
|
13890
|
-
description: "
|
|
13921
|
+
end_time: {
|
|
13922
|
+
description: "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.",
|
|
13891
13923
|
type: 'string',
|
|
13892
13924
|
},
|
|
13893
|
-
|
|
13894
|
-
description:
|
|
13925
|
+
start_time: {
|
|
13926
|
+
description: "Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
|
|
13895
13927
|
type: 'string',
|
|
13896
13928
|
},
|
|
13897
13929
|
},
|
|
13898
13930
|
required: [
|
|
13899
13931
|
'display_name',
|
|
13900
|
-
'
|
|
13901
|
-
'
|
|
13932
|
+
'start_time',
|
|
13933
|
+
'end_time',
|
|
13902
13934
|
],
|
|
13903
13935
|
type: 'object',
|
|
13904
13936
|
},
|
|
@@ -15489,6 +15521,7 @@ const openapi = {
|
|
|
15489
15521
|
'guesty',
|
|
15490
15522
|
'acuity_scheduling',
|
|
15491
15523
|
'omnitec',
|
|
15524
|
+
'kisi',
|
|
15492
15525
|
],
|
|
15493
15526
|
type: 'string',
|
|
15494
15527
|
},
|
|
@@ -29034,6 +29067,7 @@ const openapi = {
|
|
|
29034
29067
|
'ultraloq_lock',
|
|
29035
29068
|
'keyincode_lock',
|
|
29036
29069
|
'omnitec_lock',
|
|
29070
|
+
'kisi_lock',
|
|
29037
29071
|
],
|
|
29038
29072
|
type: 'string',
|
|
29039
29073
|
},
|
|
@@ -47533,6 +47567,7 @@ const openapi = {
|
|
|
47533
47567
|
'guesty',
|
|
47534
47568
|
'acuity_scheduling',
|
|
47535
47569
|
'omnitec',
|
|
47570
|
+
'kisi',
|
|
47536
47571
|
'yale_access',
|
|
47537
47572
|
'hid_cm',
|
|
47538
47573
|
'google_nest',
|
|
@@ -51481,6 +51516,7 @@ const openapi = {
|
|
|
51481
51516
|
'ultraloq_lock',
|
|
51482
51517
|
'keyincode_lock',
|
|
51483
51518
|
'omnitec_lock',
|
|
51519
|
+
'kisi_lock',
|
|
51484
51520
|
],
|
|
51485
51521
|
type: 'string',
|
|
51486
51522
|
},
|
|
@@ -51557,6 +51593,7 @@ const openapi = {
|
|
|
51557
51593
|
'ultraloq_lock',
|
|
51558
51594
|
'keyincode_lock',
|
|
51559
51595
|
'omnitec_lock',
|
|
51596
|
+
'kisi_lock',
|
|
51560
51597
|
],
|
|
51561
51598
|
type: 'string',
|
|
51562
51599
|
},
|
|
@@ -51632,6 +51669,7 @@ const openapi = {
|
|
|
51632
51669
|
'dormakaba_oracode',
|
|
51633
51670
|
'tedee',
|
|
51634
51671
|
'keyincode',
|
|
51672
|
+
'kisi',
|
|
51635
51673
|
'akiles',
|
|
51636
51674
|
'ecobee',
|
|
51637
51675
|
'honeywell_resideo',
|
|
@@ -51651,6 +51689,7 @@ const openapi = {
|
|
|
51651
51689
|
'guesty',
|
|
51652
51690
|
'acuity_scheduling',
|
|
51653
51691
|
'omnitec',
|
|
51692
|
+
'kisi',
|
|
51654
51693
|
'slack',
|
|
51655
51694
|
],
|
|
51656
51695
|
type: 'string',
|
|
@@ -51924,6 +51963,7 @@ const openapi = {
|
|
|
51924
51963
|
'ultraloq_lock',
|
|
51925
51964
|
'keyincode_lock',
|
|
51926
51965
|
'omnitec_lock',
|
|
51966
|
+
'kisi_lock',
|
|
51927
51967
|
],
|
|
51928
51968
|
type: 'string',
|
|
51929
51969
|
},
|
|
@@ -51996,6 +52036,7 @@ const openapi = {
|
|
|
51996
52036
|
'ultraloq_lock',
|
|
51997
52037
|
'keyincode_lock',
|
|
51998
52038
|
'omnitec_lock',
|
|
52039
|
+
'kisi_lock',
|
|
51999
52040
|
],
|
|
52000
52041
|
type: 'string',
|
|
52001
52042
|
},
|
|
@@ -52131,6 +52172,7 @@ const openapi = {
|
|
|
52131
52172
|
'dormakaba_oracode',
|
|
52132
52173
|
'tedee',
|
|
52133
52174
|
'keyincode',
|
|
52175
|
+
'kisi',
|
|
52134
52176
|
'akiles',
|
|
52135
52177
|
'ecobee',
|
|
52136
52178
|
'honeywell_resideo',
|
|
@@ -52150,6 +52192,7 @@ const openapi = {
|
|
|
52150
52192
|
'guesty',
|
|
52151
52193
|
'acuity_scheduling',
|
|
52152
52194
|
'omnitec',
|
|
52195
|
+
'kisi',
|
|
52153
52196
|
'slack',
|
|
52154
52197
|
],
|
|
52155
52198
|
type: 'string',
|
|
@@ -54230,6 +54273,7 @@ const openapi = {
|
|
|
54230
54273
|
'ultraloq_lock',
|
|
54231
54274
|
'keyincode_lock',
|
|
54232
54275
|
'omnitec_lock',
|
|
54276
|
+
'kisi_lock',
|
|
54233
54277
|
],
|
|
54234
54278
|
type: 'string',
|
|
54235
54279
|
},
|
|
@@ -54306,6 +54350,7 @@ const openapi = {
|
|
|
54306
54350
|
'ultraloq_lock',
|
|
54307
54351
|
'keyincode_lock',
|
|
54308
54352
|
'omnitec_lock',
|
|
54353
|
+
'kisi_lock',
|
|
54309
54354
|
],
|
|
54310
54355
|
type: 'string',
|
|
54311
54356
|
},
|
|
@@ -54381,6 +54426,7 @@ const openapi = {
|
|
|
54381
54426
|
'dormakaba_oracode',
|
|
54382
54427
|
'tedee',
|
|
54383
54428
|
'keyincode',
|
|
54429
|
+
'kisi',
|
|
54384
54430
|
'akiles',
|
|
54385
54431
|
'ecobee',
|
|
54386
54432
|
'honeywell_resideo',
|
|
@@ -54400,6 +54446,7 @@ const openapi = {
|
|
|
54400
54446
|
'guesty',
|
|
54401
54447
|
'acuity_scheduling',
|
|
54402
54448
|
'omnitec',
|
|
54449
|
+
'kisi',
|
|
54403
54450
|
'slack',
|
|
54404
54451
|
],
|
|
54405
54452
|
type: 'string',
|
|
@@ -54672,6 +54719,7 @@ const openapi = {
|
|
|
54672
54719
|
'ultraloq_lock',
|
|
54673
54720
|
'keyincode_lock',
|
|
54674
54721
|
'omnitec_lock',
|
|
54722
|
+
'kisi_lock',
|
|
54675
54723
|
],
|
|
54676
54724
|
type: 'string',
|
|
54677
54725
|
},
|
|
@@ -54744,6 +54792,7 @@ const openapi = {
|
|
|
54744
54792
|
'ultraloq_lock',
|
|
54745
54793
|
'keyincode_lock',
|
|
54746
54794
|
'omnitec_lock',
|
|
54795
|
+
'kisi_lock',
|
|
54747
54796
|
],
|
|
54748
54797
|
type: 'string',
|
|
54749
54798
|
},
|
|
@@ -54879,6 +54928,7 @@ const openapi = {
|
|
|
54879
54928
|
'dormakaba_oracode',
|
|
54880
54929
|
'tedee',
|
|
54881
54930
|
'keyincode',
|
|
54931
|
+
'kisi',
|
|
54882
54932
|
'akiles',
|
|
54883
54933
|
'ecobee',
|
|
54884
54934
|
'honeywell_resideo',
|
|
@@ -54898,6 +54948,7 @@ const openapi = {
|
|
|
54898
54948
|
'guesty',
|
|
54899
54949
|
'acuity_scheduling',
|
|
54900
54950
|
'omnitec',
|
|
54951
|
+
'kisi',
|
|
54901
54952
|
'slack',
|
|
54902
54953
|
],
|
|
54903
54954
|
type: 'string',
|
|
@@ -56911,6 +56962,7 @@ const openapi = {
|
|
|
56911
56962
|
'ultraloq_lock',
|
|
56912
56963
|
'keyincode_lock',
|
|
56913
56964
|
'omnitec_lock',
|
|
56965
|
+
'kisi_lock',
|
|
56914
56966
|
],
|
|
56915
56967
|
type: 'string',
|
|
56916
56968
|
},
|
|
@@ -56951,6 +57003,7 @@ const openapi = {
|
|
|
56951
57003
|
'ultraloq_lock',
|
|
56952
57004
|
'keyincode_lock',
|
|
56953
57005
|
'omnitec_lock',
|
|
57006
|
+
'kisi_lock',
|
|
56954
57007
|
],
|
|
56955
57008
|
type: 'string',
|
|
56956
57009
|
},
|
|
@@ -56988,11 +57041,13 @@ const openapi = {
|
|
|
56988
57041
|
'dormakaba_oracode',
|
|
56989
57042
|
'tedee',
|
|
56990
57043
|
'keyincode',
|
|
57044
|
+
'kisi',
|
|
56991
57045
|
'akiles',
|
|
56992
57046
|
'korelock',
|
|
56993
57047
|
'smartthings',
|
|
56994
57048
|
'ultraloq',
|
|
56995
57049
|
'omnitec',
|
|
57050
|
+
'kisi',
|
|
56996
57051
|
],
|
|
56997
57052
|
type: 'string',
|
|
56998
57053
|
},
|
|
@@ -57264,6 +57319,7 @@ const openapi = {
|
|
|
57264
57319
|
'ultraloq_lock',
|
|
57265
57320
|
'keyincode_lock',
|
|
57266
57321
|
'omnitec_lock',
|
|
57322
|
+
'kisi_lock',
|
|
57267
57323
|
],
|
|
57268
57324
|
type: 'string',
|
|
57269
57325
|
},
|
|
@@ -57300,6 +57356,7 @@ const openapi = {
|
|
|
57300
57356
|
'ultraloq_lock',
|
|
57301
57357
|
'keyincode_lock',
|
|
57302
57358
|
'omnitec_lock',
|
|
57359
|
+
'kisi_lock',
|
|
57303
57360
|
],
|
|
57304
57361
|
type: 'string',
|
|
57305
57362
|
},
|
|
@@ -57397,11 +57454,13 @@ const openapi = {
|
|
|
57397
57454
|
'dormakaba_oracode',
|
|
57398
57455
|
'tedee',
|
|
57399
57456
|
'keyincode',
|
|
57457
|
+
'kisi',
|
|
57400
57458
|
'akiles',
|
|
57401
57459
|
'korelock',
|
|
57402
57460
|
'smartthings',
|
|
57403
57461
|
'ultraloq',
|
|
57404
57462
|
'omnitec',
|
|
57463
|
+
'kisi',
|
|
57405
57464
|
],
|
|
57406
57465
|
type: 'string',
|
|
57407
57466
|
},
|