@seamapi/types 1.798.0 → 1.800.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 +163 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +441 -10
- package/dist/index.cjs +163 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +99 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +16 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +43 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +5 -3
- package/lib/seam/connect/models/devices/device-provider.js +3 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +255 -0
- package/lib/seam/connect/openapi.js +141 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +106 -7
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +21 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +161 -0
- package/src/lib/seam/connect/route-types.ts +128 -0
|
@@ -12417,6 +12417,17 @@ export type Routes = {
|
|
|
12417
12417
|
message: string
|
|
12418
12418
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12419
12419
|
warning_code: 'overprovisioned_access'
|
|
12420
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
12421
|
+
failed_devices?:
|
|
12422
|
+
| {
|
|
12423
|
+
/** Device whose access code could not be revoked. */
|
|
12424
|
+
device_id: string
|
|
12425
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
12426
|
+
error_code: string
|
|
12427
|
+
/** Human-readable description of why revocation failed. */
|
|
12428
|
+
message: string
|
|
12429
|
+
}[]
|
|
12430
|
+
| undefined
|
|
12420
12431
|
}
|
|
12421
12432
|
| {
|
|
12422
12433
|
/** Date and time at which Seam created the warning. */
|
|
@@ -12617,6 +12628,17 @@ export type Routes = {
|
|
|
12617
12628
|
message: string
|
|
12618
12629
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12619
12630
|
warning_code: 'overprovisioned_access'
|
|
12631
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
12632
|
+
failed_devices?:
|
|
12633
|
+
| {
|
|
12634
|
+
/** Device whose access code could not be revoked. */
|
|
12635
|
+
device_id: string
|
|
12636
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
12637
|
+
error_code: string
|
|
12638
|
+
/** Human-readable description of why revocation failed. */
|
|
12639
|
+
message: string
|
|
12640
|
+
}[]
|
|
12641
|
+
| undefined
|
|
12620
12642
|
}
|
|
12621
12643
|
| {
|
|
12622
12644
|
/** Date and time at which Seam created the warning. */
|
|
@@ -15427,6 +15449,17 @@ export type Routes = {
|
|
|
15427
15449
|
message: string
|
|
15428
15450
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15429
15451
|
warning_code: 'overprovisioned_access'
|
|
15452
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
15453
|
+
failed_devices?:
|
|
15454
|
+
| {
|
|
15455
|
+
/** Device whose access code could not be revoked. */
|
|
15456
|
+
device_id: string
|
|
15457
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
15458
|
+
error_code: string
|
|
15459
|
+
/** Human-readable description of why revocation failed. */
|
|
15460
|
+
message: string
|
|
15461
|
+
}[]
|
|
15462
|
+
| undefined
|
|
15430
15463
|
}
|
|
15431
15464
|
| {
|
|
15432
15465
|
/** Date and time at which Seam created the warning. */
|
|
@@ -15627,6 +15660,17 @@ export type Routes = {
|
|
|
15627
15660
|
message: string
|
|
15628
15661
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15629
15662
|
warning_code: 'overprovisioned_access'
|
|
15663
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
15664
|
+
failed_devices?:
|
|
15665
|
+
| {
|
|
15666
|
+
/** Device whose access code could not be revoked. */
|
|
15667
|
+
device_id: string
|
|
15668
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
15669
|
+
error_code: string
|
|
15670
|
+
/** Human-readable description of why revocation failed. */
|
|
15671
|
+
message: string
|
|
15672
|
+
}[]
|
|
15673
|
+
| undefined
|
|
15630
15674
|
}
|
|
15631
15675
|
| {
|
|
15632
15676
|
/** Date and time at which Seam created the warning. */
|
|
@@ -15801,6 +15845,17 @@ export type Routes = {
|
|
|
15801
15845
|
message: string
|
|
15802
15846
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15803
15847
|
warning_code: 'overprovisioned_access'
|
|
15848
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
15849
|
+
failed_devices?:
|
|
15850
|
+
| {
|
|
15851
|
+
/** Device whose access code could not be revoked. */
|
|
15852
|
+
device_id: string
|
|
15853
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
15854
|
+
error_code: string
|
|
15855
|
+
/** Human-readable description of why revocation failed. */
|
|
15856
|
+
message: string
|
|
15857
|
+
}[]
|
|
15858
|
+
| undefined
|
|
15804
15859
|
}
|
|
15805
15860
|
| {
|
|
15806
15861
|
/** Date and time at which Seam created the warning. */
|
|
@@ -15984,6 +16039,17 @@ export type Routes = {
|
|
|
15984
16039
|
message: string
|
|
15985
16040
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15986
16041
|
warning_code: 'overprovisioned_access'
|
|
16042
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
16043
|
+
failed_devices?:
|
|
16044
|
+
| {
|
|
16045
|
+
/** Device whose access code could not be revoked. */
|
|
16046
|
+
device_id: string
|
|
16047
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
16048
|
+
error_code: string
|
|
16049
|
+
/** Human-readable description of why revocation failed. */
|
|
16050
|
+
message: string
|
|
16051
|
+
}[]
|
|
16052
|
+
| undefined
|
|
15987
16053
|
}
|
|
15988
16054
|
| {
|
|
15989
16055
|
/** Date and time at which Seam created the warning. */
|
|
@@ -19814,6 +19880,17 @@ export type Routes = {
|
|
|
19814
19880
|
message: string
|
|
19815
19881
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19816
19882
|
warning_code: 'overprovisioned_access'
|
|
19883
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
19884
|
+
failed_devices?:
|
|
19885
|
+
| {
|
|
19886
|
+
/** Device whose access code could not be revoked. */
|
|
19887
|
+
device_id: string
|
|
19888
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
19889
|
+
error_code: string
|
|
19890
|
+
/** Human-readable description of why revocation failed. */
|
|
19891
|
+
message: string
|
|
19892
|
+
}[]
|
|
19893
|
+
| undefined
|
|
19817
19894
|
}
|
|
19818
19895
|
| {
|
|
19819
19896
|
/** Date and time at which Seam created the warning. */
|
|
@@ -35359,6 +35436,7 @@ export type Routes = {
|
|
|
35359
35436
|
| 'dormakaba_ambiance'
|
|
35360
35437
|
| 'ultraloq'
|
|
35361
35438
|
| 'ring'
|
|
35439
|
+
| 'ical'
|
|
35362
35440
|
| 'yale_access'
|
|
35363
35441
|
| 'hid_cm'
|
|
35364
35442
|
| 'google_nest'
|
|
@@ -35374,6 +35452,7 @@ export type Routes = {
|
|
|
35374
35452
|
| 'noise_sensors'
|
|
35375
35453
|
| 'access_control_systems'
|
|
35376
35454
|
| 'cameras'
|
|
35455
|
+
| 'connectors'
|
|
35377
35456
|
| 'internal_beta'
|
|
35378
35457
|
)
|
|
35379
35458
|
| undefined
|
|
@@ -39003,6 +39082,7 @@ export type Routes = {
|
|
|
39003
39082
|
| 'tado'
|
|
39004
39083
|
| 'ultraloq'
|
|
39005
39084
|
| 'ring'
|
|
39085
|
+
| 'ical'
|
|
39006
39086
|
)
|
|
39007
39087
|
| undefined
|
|
39008
39088
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -40758,6 +40838,7 @@ export type Routes = {
|
|
|
40758
40838
|
| 'noise_sensors'
|
|
40759
40839
|
| 'access_control_systems'
|
|
40760
40840
|
| 'cameras'
|
|
40841
|
+
| 'connectors'
|
|
40761
40842
|
)
|
|
40762
40843
|
| undefined
|
|
40763
40844
|
}
|
|
@@ -40814,6 +40895,7 @@ export type Routes = {
|
|
|
40814
40895
|
| 'dormakaba_ambiance'
|
|
40815
40896
|
| 'ultraloq'
|
|
40816
40897
|
| 'ring'
|
|
40898
|
+
| 'ical'
|
|
40817
40899
|
display_name: string
|
|
40818
40900
|
image_url: string
|
|
40819
40901
|
provider_categories: (
|
|
@@ -40824,6 +40906,7 @@ export type Routes = {
|
|
|
40824
40906
|
| 'noise_sensors'
|
|
40825
40907
|
| 'access_control_systems'
|
|
40826
40908
|
| 'cameras'
|
|
40909
|
+
| 'connectors'
|
|
40827
40910
|
)[]
|
|
40828
40911
|
can_remotely_unlock?: boolean | undefined
|
|
40829
40912
|
can_remotely_lock?: boolean | undefined
|
|
@@ -42516,6 +42599,7 @@ export type Routes = {
|
|
|
42516
42599
|
| 'tado'
|
|
42517
42600
|
| 'ultraloq'
|
|
42518
42601
|
| 'ring'
|
|
42602
|
+
| 'ical'
|
|
42519
42603
|
)
|
|
42520
42604
|
| undefined
|
|
42521
42605
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -73496,6 +73580,17 @@ export type Routes = {
|
|
|
73496
73580
|
message: string
|
|
73497
73581
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
73498
73582
|
warning_code: 'overprovisioned_access'
|
|
73583
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
73584
|
+
failed_devices?:
|
|
73585
|
+
| {
|
|
73586
|
+
/** Device whose access code could not be revoked. */
|
|
73587
|
+
device_id: string
|
|
73588
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
73589
|
+
error_code: string
|
|
73590
|
+
/** Human-readable description of why revocation failed. */
|
|
73591
|
+
message: string
|
|
73592
|
+
}[]
|
|
73593
|
+
| undefined
|
|
73499
73594
|
}
|
|
73500
73595
|
| {
|
|
73501
73596
|
/** Date and time at which Seam created the warning. */
|
|
@@ -80168,6 +80263,17 @@ export type Routes = {
|
|
|
80168
80263
|
message: string
|
|
80169
80264
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
80170
80265
|
warning_code: 'overprovisioned_access'
|
|
80266
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
80267
|
+
failed_devices?:
|
|
80268
|
+
| {
|
|
80269
|
+
/** Device whose access code could not be revoked. */
|
|
80270
|
+
device_id: string
|
|
80271
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
80272
|
+
error_code: string
|
|
80273
|
+
/** Human-readable description of why revocation failed. */
|
|
80274
|
+
message: string
|
|
80275
|
+
}[]
|
|
80276
|
+
| undefined
|
|
80171
80277
|
}
|
|
80172
80278
|
| {
|
|
80173
80279
|
/** Date and time at which Seam created the warning. */
|
|
@@ -80633,6 +80739,17 @@ export type Routes = {
|
|
|
80633
80739
|
message: string
|
|
80634
80740
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
80635
80741
|
warning_code: 'overprovisioned_access'
|
|
80742
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
80743
|
+
failed_devices?:
|
|
80744
|
+
| {
|
|
80745
|
+
/** Device whose access code could not be revoked. */
|
|
80746
|
+
device_id: string
|
|
80747
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
80748
|
+
error_code: string
|
|
80749
|
+
/** Human-readable description of why revocation failed. */
|
|
80750
|
+
message: string
|
|
80751
|
+
}[]
|
|
80752
|
+
| undefined
|
|
80636
80753
|
}
|
|
80637
80754
|
| {
|
|
80638
80755
|
/** Date and time at which Seam created the warning. */
|
|
@@ -114313,6 +114430,17 @@ export type Routes = {
|
|
|
114313
114430
|
message: string
|
|
114314
114431
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
114315
114432
|
warning_code: 'overprovisioned_access'
|
|
114433
|
+
/** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
|
|
114434
|
+
failed_devices?:
|
|
114435
|
+
| {
|
|
114436
|
+
/** Device whose access code could not be revoked. */
|
|
114437
|
+
device_id: string
|
|
114438
|
+
/** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
|
|
114439
|
+
error_code: string
|
|
114440
|
+
/** Human-readable description of why revocation failed. */
|
|
114441
|
+
message: string
|
|
114442
|
+
}[]
|
|
114443
|
+
| undefined
|
|
114316
114444
|
}
|
|
114317
114445
|
| {
|
|
114318
114446
|
/** Date and time at which Seam created the warning. */
|