@seamapi/types 1.744.0 → 1.746.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 +306 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +645 -0
- package/dist/index.cjs +306 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -0
- package/lib/seam/connect/models/events/devices.d.ts +24 -0
- package/lib/seam/connect/models/events/devices.js +20 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +12 -0
- package/lib/seam/connect/openapi.d.ts +539 -0
- package/lib/seam/connect/openapi.js +290 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +74 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +24 -0
- package/src/lib/seam/connect/openapi.ts +294 -0
- package/src/lib/seam/connect/route-types.ts +74 -0
|
@@ -20824,6 +20824,11 @@ export default {
|
|
|
20824
20824
|
type: 'string',
|
|
20825
20825
|
},
|
|
20826
20826
|
event_type: { enum: ['camera.activated'], type: 'string' },
|
|
20827
|
+
image_url: {
|
|
20828
|
+
description: 'URL to a thumbnail image captured at the time of activation.',
|
|
20829
|
+
format: 'uri',
|
|
20830
|
+
type: 'string',
|
|
20831
|
+
},
|
|
20827
20832
|
motion_sub_type: {
|
|
20828
20833
|
description: 'Sub-type of motion detected, if available.',
|
|
20829
20834
|
enum: ['human', 'vehicle', 'package', 'other'],
|
|
@@ -20834,6 +20839,11 @@ export default {
|
|
|
20834
20839
|
format: 'date-time',
|
|
20835
20840
|
type: 'string',
|
|
20836
20841
|
},
|
|
20842
|
+
video_url: {
|
|
20843
|
+
description: 'URL to a short video clip captured at the time of activation.',
|
|
20844
|
+
format: 'uri',
|
|
20845
|
+
type: 'string',
|
|
20846
|
+
},
|
|
20837
20847
|
workspace_id: {
|
|
20838
20848
|
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
20839
20849
|
format: 'uuid',
|
|
@@ -20895,11 +20905,21 @@ export default {
|
|
|
20895
20905
|
type: 'string',
|
|
20896
20906
|
},
|
|
20897
20907
|
event_type: { enum: ['device.doorbell_rang'], type: 'string' },
|
|
20908
|
+
image_url: {
|
|
20909
|
+
description: 'URL to a thumbnail image captured at the time the doorbell was pressed.',
|
|
20910
|
+
format: 'uri',
|
|
20911
|
+
type: 'string',
|
|
20912
|
+
},
|
|
20898
20913
|
occurred_at: {
|
|
20899
20914
|
description: 'Date and time at which the event occurred.',
|
|
20900
20915
|
format: 'date-time',
|
|
20901
20916
|
type: 'string',
|
|
20902
20917
|
},
|
|
20918
|
+
video_url: {
|
|
20919
|
+
description: 'URL to a short video clip captured at the time the doorbell was pressed.',
|
|
20920
|
+
format: 'uri',
|
|
20921
|
+
type: 'string',
|
|
20922
|
+
},
|
|
20903
20923
|
workspace_id: {
|
|
20904
20924
|
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
20905
20925
|
format: 'uuid',
|
|
@@ -61067,6 +61087,48 @@ export default {
|
|
|
61067
61087
|
},
|
|
61068
61088
|
guest_name: { nullable: true, type: 'string' },
|
|
61069
61089
|
is_resource_syncing: { type: 'boolean' },
|
|
61090
|
+
last_automation_result: {
|
|
61091
|
+
nullable: true,
|
|
61092
|
+
properties: {
|
|
61093
|
+
actions: {
|
|
61094
|
+
items: {
|
|
61095
|
+
properties: {
|
|
61096
|
+
access_grant_id: {
|
|
61097
|
+
format: 'uuid',
|
|
61098
|
+
type: 'string',
|
|
61099
|
+
},
|
|
61100
|
+
action_type: {
|
|
61101
|
+
enum: [
|
|
61102
|
+
'create',
|
|
61103
|
+
'update',
|
|
61104
|
+
'delete',
|
|
61105
|
+
'skip',
|
|
61106
|
+
],
|
|
61107
|
+
type: 'string',
|
|
61108
|
+
},
|
|
61109
|
+
message: { type: 'string' },
|
|
61110
|
+
resource_type: { type: 'string' },
|
|
61111
|
+
skip_reason: { type: 'string' },
|
|
61112
|
+
},
|
|
61113
|
+
required: ['action_type', 'resource_type'],
|
|
61114
|
+
type: 'object',
|
|
61115
|
+
},
|
|
61116
|
+
type: 'array',
|
|
61117
|
+
},
|
|
61118
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61119
|
+
error: { type: 'string' },
|
|
61120
|
+
message: { type: 'string' },
|
|
61121
|
+
rule: { type: 'string' },
|
|
61122
|
+
success: { type: 'boolean' },
|
|
61123
|
+
},
|
|
61124
|
+
required: [
|
|
61125
|
+
'success',
|
|
61126
|
+
'rule',
|
|
61127
|
+
'actions',
|
|
61128
|
+
'created_at',
|
|
61129
|
+
],
|
|
61130
|
+
type: 'object',
|
|
61131
|
+
},
|
|
61070
61132
|
name: { nullable: true, type: 'string' },
|
|
61071
61133
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
61072
61134
|
reservation_key: { type: 'string' },
|
|
@@ -61105,6 +61167,7 @@ export default {
|
|
|
61105
61167
|
'spaces',
|
|
61106
61168
|
'access_grant_id',
|
|
61107
61169
|
'access_methods',
|
|
61170
|
+
'last_automation_result',
|
|
61108
61171
|
],
|
|
61109
61172
|
type: 'object',
|
|
61110
61173
|
},
|
|
@@ -61235,6 +61298,48 @@ export default {
|
|
|
61235
61298
|
},
|
|
61236
61299
|
guest_name: { nullable: true, type: 'string' },
|
|
61237
61300
|
is_resource_syncing: { type: 'boolean' },
|
|
61301
|
+
last_automation_result: {
|
|
61302
|
+
nullable: true,
|
|
61303
|
+
properties: {
|
|
61304
|
+
actions: {
|
|
61305
|
+
items: {
|
|
61306
|
+
properties: {
|
|
61307
|
+
access_grant_id: {
|
|
61308
|
+
format: 'uuid',
|
|
61309
|
+
type: 'string',
|
|
61310
|
+
},
|
|
61311
|
+
action_type: {
|
|
61312
|
+
enum: [
|
|
61313
|
+
'create',
|
|
61314
|
+
'update',
|
|
61315
|
+
'delete',
|
|
61316
|
+
'skip',
|
|
61317
|
+
],
|
|
61318
|
+
type: 'string',
|
|
61319
|
+
},
|
|
61320
|
+
message: { type: 'string' },
|
|
61321
|
+
resource_type: { type: 'string' },
|
|
61322
|
+
skip_reason: { type: 'string' },
|
|
61323
|
+
},
|
|
61324
|
+
required: ['action_type', 'resource_type'],
|
|
61325
|
+
type: 'object',
|
|
61326
|
+
},
|
|
61327
|
+
type: 'array',
|
|
61328
|
+
},
|
|
61329
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61330
|
+
error: { type: 'string' },
|
|
61331
|
+
message: { type: 'string' },
|
|
61332
|
+
rule: { type: 'string' },
|
|
61333
|
+
success: { type: 'boolean' },
|
|
61334
|
+
},
|
|
61335
|
+
required: [
|
|
61336
|
+
'success',
|
|
61337
|
+
'rule',
|
|
61338
|
+
'actions',
|
|
61339
|
+
'created_at',
|
|
61340
|
+
],
|
|
61341
|
+
type: 'object',
|
|
61342
|
+
},
|
|
61238
61343
|
name: { nullable: true, type: 'string' },
|
|
61239
61344
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
61240
61345
|
reservation_key: { type: 'string' },
|
|
@@ -61273,6 +61378,7 @@ export default {
|
|
|
61273
61378
|
'spaces',
|
|
61274
61379
|
'access_grant_id',
|
|
61275
61380
|
'access_methods',
|
|
61381
|
+
'last_automation_result',
|
|
61276
61382
|
],
|
|
61277
61383
|
type: 'object',
|
|
61278
61384
|
},
|
|
@@ -61448,6 +61554,51 @@ export default {
|
|
|
61448
61554
|
},
|
|
61449
61555
|
guest_name: { nullable: true, type: 'string' },
|
|
61450
61556
|
is_resource_syncing: { type: 'boolean' },
|
|
61557
|
+
last_automation_result: {
|
|
61558
|
+
nullable: true,
|
|
61559
|
+
properties: {
|
|
61560
|
+
actions: {
|
|
61561
|
+
items: {
|
|
61562
|
+
properties: {
|
|
61563
|
+
access_grant_id: {
|
|
61564
|
+
format: 'uuid',
|
|
61565
|
+
type: 'string',
|
|
61566
|
+
},
|
|
61567
|
+
action_type: {
|
|
61568
|
+
enum: [
|
|
61569
|
+
'create',
|
|
61570
|
+
'update',
|
|
61571
|
+
'delete',
|
|
61572
|
+
'skip',
|
|
61573
|
+
],
|
|
61574
|
+
type: 'string',
|
|
61575
|
+
},
|
|
61576
|
+
message: { type: 'string' },
|
|
61577
|
+
resource_type: { type: 'string' },
|
|
61578
|
+
skip_reason: { type: 'string' },
|
|
61579
|
+
},
|
|
61580
|
+
required: ['action_type', 'resource_type'],
|
|
61581
|
+
type: 'object',
|
|
61582
|
+
},
|
|
61583
|
+
type: 'array',
|
|
61584
|
+
},
|
|
61585
|
+
created_at: {
|
|
61586
|
+
format: 'date-time',
|
|
61587
|
+
type: 'string',
|
|
61588
|
+
},
|
|
61589
|
+
error: { type: 'string' },
|
|
61590
|
+
message: { type: 'string' },
|
|
61591
|
+
rule: { type: 'string' },
|
|
61592
|
+
success: { type: 'boolean' },
|
|
61593
|
+
},
|
|
61594
|
+
required: [
|
|
61595
|
+
'success',
|
|
61596
|
+
'rule',
|
|
61597
|
+
'actions',
|
|
61598
|
+
'created_at',
|
|
61599
|
+
],
|
|
61600
|
+
type: 'object',
|
|
61601
|
+
},
|
|
61451
61602
|
name: { nullable: true, type: 'string' },
|
|
61452
61603
|
pending_mutations: {
|
|
61453
61604
|
items: {
|
|
@@ -61520,6 +61671,7 @@ export default {
|
|
|
61520
61671
|
'pending_mutations',
|
|
61521
61672
|
'access_methods',
|
|
61522
61673
|
'spaces',
|
|
61674
|
+
'last_automation_result',
|
|
61523
61675
|
],
|
|
61524
61676
|
type: 'object',
|
|
61525
61677
|
},
|
|
@@ -61676,6 +61828,51 @@ export default {
|
|
|
61676
61828
|
},
|
|
61677
61829
|
guest_name: { nullable: true, type: 'string' },
|
|
61678
61830
|
is_resource_syncing: { type: 'boolean' },
|
|
61831
|
+
last_automation_result: {
|
|
61832
|
+
nullable: true,
|
|
61833
|
+
properties: {
|
|
61834
|
+
actions: {
|
|
61835
|
+
items: {
|
|
61836
|
+
properties: {
|
|
61837
|
+
access_grant_id: {
|
|
61838
|
+
format: 'uuid',
|
|
61839
|
+
type: 'string',
|
|
61840
|
+
},
|
|
61841
|
+
action_type: {
|
|
61842
|
+
enum: [
|
|
61843
|
+
'create',
|
|
61844
|
+
'update',
|
|
61845
|
+
'delete',
|
|
61846
|
+
'skip',
|
|
61847
|
+
],
|
|
61848
|
+
type: 'string',
|
|
61849
|
+
},
|
|
61850
|
+
message: { type: 'string' },
|
|
61851
|
+
resource_type: { type: 'string' },
|
|
61852
|
+
skip_reason: { type: 'string' },
|
|
61853
|
+
},
|
|
61854
|
+
required: ['action_type', 'resource_type'],
|
|
61855
|
+
type: 'object',
|
|
61856
|
+
},
|
|
61857
|
+
type: 'array',
|
|
61858
|
+
},
|
|
61859
|
+
created_at: {
|
|
61860
|
+
format: 'date-time',
|
|
61861
|
+
type: 'string',
|
|
61862
|
+
},
|
|
61863
|
+
error: { type: 'string' },
|
|
61864
|
+
message: { type: 'string' },
|
|
61865
|
+
rule: { type: 'string' },
|
|
61866
|
+
success: { type: 'boolean' },
|
|
61867
|
+
},
|
|
61868
|
+
required: [
|
|
61869
|
+
'success',
|
|
61870
|
+
'rule',
|
|
61871
|
+
'actions',
|
|
61872
|
+
'created_at',
|
|
61873
|
+
],
|
|
61874
|
+
type: 'object',
|
|
61875
|
+
},
|
|
61679
61876
|
name: { nullable: true, type: 'string' },
|
|
61680
61877
|
pending_mutations: {
|
|
61681
61878
|
items: {
|
|
@@ -61748,6 +61945,7 @@ export default {
|
|
|
61748
61945
|
'pending_mutations',
|
|
61749
61946
|
'access_methods',
|
|
61750
61947
|
'spaces',
|
|
61948
|
+
'last_automation_result',
|
|
61751
61949
|
],
|
|
61752
61950
|
type: 'object',
|
|
61753
61951
|
},
|
|
@@ -62688,6 +62886,51 @@ export default {
|
|
|
62688
62886
|
},
|
|
62689
62887
|
guest_name: { nullable: true, type: 'string' },
|
|
62690
62888
|
has_issued_access: { type: 'boolean' },
|
|
62889
|
+
last_automation_result: {
|
|
62890
|
+
nullable: true,
|
|
62891
|
+
properties: {
|
|
62892
|
+
actions: {
|
|
62893
|
+
items: {
|
|
62894
|
+
properties: {
|
|
62895
|
+
access_grant_id: {
|
|
62896
|
+
format: 'uuid',
|
|
62897
|
+
type: 'string',
|
|
62898
|
+
},
|
|
62899
|
+
action_type: {
|
|
62900
|
+
enum: [
|
|
62901
|
+
'create',
|
|
62902
|
+
'update',
|
|
62903
|
+
'delete',
|
|
62904
|
+
'skip',
|
|
62905
|
+
],
|
|
62906
|
+
type: 'string',
|
|
62907
|
+
},
|
|
62908
|
+
message: { type: 'string' },
|
|
62909
|
+
resource_type: { type: 'string' },
|
|
62910
|
+
skip_reason: { type: 'string' },
|
|
62911
|
+
},
|
|
62912
|
+
required: ['action_type', 'resource_type'],
|
|
62913
|
+
type: 'object',
|
|
62914
|
+
},
|
|
62915
|
+
type: 'array',
|
|
62916
|
+
},
|
|
62917
|
+
created_at: {
|
|
62918
|
+
format: 'date-time',
|
|
62919
|
+
type: 'string',
|
|
62920
|
+
},
|
|
62921
|
+
error: { type: 'string' },
|
|
62922
|
+
message: { type: 'string' },
|
|
62923
|
+
rule: { type: 'string' },
|
|
62924
|
+
success: { type: 'boolean' },
|
|
62925
|
+
},
|
|
62926
|
+
required: [
|
|
62927
|
+
'success',
|
|
62928
|
+
'rule',
|
|
62929
|
+
'actions',
|
|
62930
|
+
'created_at',
|
|
62931
|
+
],
|
|
62932
|
+
type: 'object',
|
|
62933
|
+
},
|
|
62691
62934
|
name: { nullable: true, type: 'string' },
|
|
62692
62935
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
62693
62936
|
reservation_key: { type: 'string' },
|
|
@@ -62707,6 +62950,7 @@ export default {
|
|
|
62707
62950
|
'guest_name',
|
|
62708
62951
|
'has_issued_access',
|
|
62709
62952
|
'access_methods',
|
|
62953
|
+
'last_automation_result',
|
|
62710
62954
|
],
|
|
62711
62955
|
type: 'object',
|
|
62712
62956
|
},
|
|
@@ -62782,6 +63026,51 @@ export default {
|
|
|
62782
63026
|
},
|
|
62783
63027
|
guest_name: { nullable: true, type: 'string' },
|
|
62784
63028
|
has_issued_access: { type: 'boolean' },
|
|
63029
|
+
last_automation_result: {
|
|
63030
|
+
nullable: true,
|
|
63031
|
+
properties: {
|
|
63032
|
+
actions: {
|
|
63033
|
+
items: {
|
|
63034
|
+
properties: {
|
|
63035
|
+
access_grant_id: {
|
|
63036
|
+
format: 'uuid',
|
|
63037
|
+
type: 'string',
|
|
63038
|
+
},
|
|
63039
|
+
action_type: {
|
|
63040
|
+
enum: [
|
|
63041
|
+
'create',
|
|
63042
|
+
'update',
|
|
63043
|
+
'delete',
|
|
63044
|
+
'skip',
|
|
63045
|
+
],
|
|
63046
|
+
type: 'string',
|
|
63047
|
+
},
|
|
63048
|
+
message: { type: 'string' },
|
|
63049
|
+
resource_type: { type: 'string' },
|
|
63050
|
+
skip_reason: { type: 'string' },
|
|
63051
|
+
},
|
|
63052
|
+
required: ['action_type', 'resource_type'],
|
|
63053
|
+
type: 'object',
|
|
63054
|
+
},
|
|
63055
|
+
type: 'array',
|
|
63056
|
+
},
|
|
63057
|
+
created_at: {
|
|
63058
|
+
format: 'date-time',
|
|
63059
|
+
type: 'string',
|
|
63060
|
+
},
|
|
63061
|
+
error: { type: 'string' },
|
|
63062
|
+
message: { type: 'string' },
|
|
63063
|
+
rule: { type: 'string' },
|
|
63064
|
+
success: { type: 'boolean' },
|
|
63065
|
+
},
|
|
63066
|
+
required: [
|
|
63067
|
+
'success',
|
|
63068
|
+
'rule',
|
|
63069
|
+
'actions',
|
|
63070
|
+
'created_at',
|
|
63071
|
+
],
|
|
63072
|
+
type: 'object',
|
|
63073
|
+
},
|
|
62785
63074
|
name: { nullable: true, type: 'string' },
|
|
62786
63075
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
62787
63076
|
reservation_key: { type: 'string' },
|
|
@@ -62801,6 +63090,7 @@ export default {
|
|
|
62801
63090
|
'guest_name',
|
|
62802
63091
|
'has_issued_access',
|
|
62803
63092
|
'access_methods',
|
|
63093
|
+
'last_automation_result',
|
|
62804
63094
|
],
|
|
62805
63095
|
type: 'object',
|
|
62806
63096
|
},
|