@seamapi/types 1.913.0 → 1.914.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 +381 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +630 -4
- package/dist/index.cjs +381 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +410 -0
- package/lib/seam/connect/models/events/access-codes.js +56 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +203 -1
- package/lib/seam/connect/openapi.js +331 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +428 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +71 -0
- package/src/lib/seam/connect/openapi.ts +352 -0
- package/src/lib/seam/connect/route-types.ts +496 -0
|
@@ -54168,6 +54168,127 @@ export type Routes = {
|
|
|
54168
54168
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
54169
54169
|
change_reason?: string | undefined
|
|
54170
54170
|
}
|
|
54171
|
+
| {
|
|
54172
|
+
/** ID of the event. */
|
|
54173
|
+
event_id: string
|
|
54174
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
54175
|
+
workspace_id: string
|
|
54176
|
+
/** Date and time at which the event was created. */
|
|
54177
|
+
created_at: string
|
|
54178
|
+
/** Date and time at which the event occurred. */
|
|
54179
|
+
occurred_at: string
|
|
54180
|
+
/** ID of the affected access code. */
|
|
54181
|
+
access_code_id: string
|
|
54182
|
+
/** ID of the device associated with the affected access code. */
|
|
54183
|
+
device_id: string
|
|
54184
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
54185
|
+
connected_account_id: string
|
|
54186
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
54187
|
+
device_custom_metadata?:
|
|
54188
|
+
| {
|
|
54189
|
+
[x: string]: string | boolean
|
|
54190
|
+
}
|
|
54191
|
+
| undefined
|
|
54192
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
54193
|
+
connected_account_custom_metadata?:
|
|
54194
|
+
| {
|
|
54195
|
+
[x: string]: string | boolean
|
|
54196
|
+
}
|
|
54197
|
+
| undefined
|
|
54198
|
+
event_type: 'access_code.name_changed'
|
|
54199
|
+
from: {
|
|
54200
|
+
/** Previous name of the access code. */
|
|
54201
|
+
name: string | null
|
|
54202
|
+
}
|
|
54203
|
+
to: {
|
|
54204
|
+
/** New name of the access code. */
|
|
54205
|
+
name: string | null
|
|
54206
|
+
}
|
|
54207
|
+
/** Human-readable description of the change and its source. */
|
|
54208
|
+
description: string
|
|
54209
|
+
}
|
|
54210
|
+
| {
|
|
54211
|
+
/** ID of the event. */
|
|
54212
|
+
event_id: string
|
|
54213
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
54214
|
+
workspace_id: string
|
|
54215
|
+
/** Date and time at which the event was created. */
|
|
54216
|
+
created_at: string
|
|
54217
|
+
/** Date and time at which the event occurred. */
|
|
54218
|
+
occurred_at: string
|
|
54219
|
+
/** ID of the affected access code. */
|
|
54220
|
+
access_code_id: string
|
|
54221
|
+
/** ID of the device associated with the affected access code. */
|
|
54222
|
+
device_id: string
|
|
54223
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
54224
|
+
connected_account_id: string
|
|
54225
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
54226
|
+
device_custom_metadata?:
|
|
54227
|
+
| {
|
|
54228
|
+
[x: string]: string | boolean
|
|
54229
|
+
}
|
|
54230
|
+
| undefined
|
|
54231
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
54232
|
+
connected_account_custom_metadata?:
|
|
54233
|
+
| {
|
|
54234
|
+
[x: string]: string | boolean
|
|
54235
|
+
}
|
|
54236
|
+
| undefined
|
|
54237
|
+
event_type: 'access_code.code_changed'
|
|
54238
|
+
from: {
|
|
54239
|
+
/** Previous pin code. */
|
|
54240
|
+
code: string | null
|
|
54241
|
+
}
|
|
54242
|
+
to: {
|
|
54243
|
+
/** New pin code. */
|
|
54244
|
+
code: string | null
|
|
54245
|
+
}
|
|
54246
|
+
/** Human-readable description of the change and its source. */
|
|
54247
|
+
description: string
|
|
54248
|
+
}
|
|
54249
|
+
| {
|
|
54250
|
+
/** ID of the event. */
|
|
54251
|
+
event_id: string
|
|
54252
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
54253
|
+
workspace_id: string
|
|
54254
|
+
/** Date and time at which the event was created. */
|
|
54255
|
+
created_at: string
|
|
54256
|
+
/** Date and time at which the event occurred. */
|
|
54257
|
+
occurred_at: string
|
|
54258
|
+
/** ID of the affected access code. */
|
|
54259
|
+
access_code_id: string
|
|
54260
|
+
/** ID of the device associated with the affected access code. */
|
|
54261
|
+
device_id: string
|
|
54262
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
54263
|
+
connected_account_id: string
|
|
54264
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
54265
|
+
device_custom_metadata?:
|
|
54266
|
+
| {
|
|
54267
|
+
[x: string]: string | boolean
|
|
54268
|
+
}
|
|
54269
|
+
| undefined
|
|
54270
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
54271
|
+
connected_account_custom_metadata?:
|
|
54272
|
+
| {
|
|
54273
|
+
[x: string]: string | boolean
|
|
54274
|
+
}
|
|
54275
|
+
| undefined
|
|
54276
|
+
event_type: 'access_code.time_frame_changed'
|
|
54277
|
+
from: {
|
|
54278
|
+
/** Previous start time. */
|
|
54279
|
+
starts_at: string | null
|
|
54280
|
+
/** Previous end time. */
|
|
54281
|
+
ends_at: string | null
|
|
54282
|
+
}
|
|
54283
|
+
to: {
|
|
54284
|
+
/** New start time. */
|
|
54285
|
+
starts_at: string | null
|
|
54286
|
+
/** New end time. */
|
|
54287
|
+
ends_at: string | null
|
|
54288
|
+
}
|
|
54289
|
+
/** Human-readable description of the change and its source. */
|
|
54290
|
+
description: string
|
|
54291
|
+
}
|
|
54171
54292
|
| {
|
|
54172
54293
|
/** ID of the event. */
|
|
54173
54294
|
event_id: string
|
|
@@ -57285,6 +57406,9 @@ export type Routes = {
|
|
|
57285
57406
|
| (
|
|
57286
57407
|
| 'access_code.created'
|
|
57287
57408
|
| 'access_code.changed'
|
|
57409
|
+
| 'access_code.name_changed'
|
|
57410
|
+
| 'access_code.code_changed'
|
|
57411
|
+
| 'access_code.time_frame_changed'
|
|
57288
57412
|
| 'access_code.scheduled_on_device'
|
|
57289
57413
|
| 'access_code.set_on_device'
|
|
57290
57414
|
| 'access_code.removed_from_device'
|
|
@@ -57393,6 +57517,9 @@ export type Routes = {
|
|
|
57393
57517
|
| (
|
|
57394
57518
|
| 'access_code.created'
|
|
57395
57519
|
| 'access_code.changed'
|
|
57520
|
+
| 'access_code.name_changed'
|
|
57521
|
+
| 'access_code.code_changed'
|
|
57522
|
+
| 'access_code.time_frame_changed'
|
|
57396
57523
|
| 'access_code.scheduled_on_device'
|
|
57397
57524
|
| 'access_code.set_on_device'
|
|
57398
57525
|
| 'access_code.removed_from_device'
|
|
@@ -57603,6 +57730,127 @@ export type Routes = {
|
|
|
57603
57730
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
57604
57731
|
change_reason?: string | undefined
|
|
57605
57732
|
}
|
|
57733
|
+
| {
|
|
57734
|
+
/** ID of the event. */
|
|
57735
|
+
event_id: string
|
|
57736
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
57737
|
+
workspace_id: string
|
|
57738
|
+
/** Date and time at which the event was created. */
|
|
57739
|
+
created_at: string
|
|
57740
|
+
/** Date and time at which the event occurred. */
|
|
57741
|
+
occurred_at: string
|
|
57742
|
+
/** ID of the affected access code. */
|
|
57743
|
+
access_code_id: string
|
|
57744
|
+
/** ID of the device associated with the affected access code. */
|
|
57745
|
+
device_id: string
|
|
57746
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
57747
|
+
connected_account_id: string
|
|
57748
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57749
|
+
device_custom_metadata?:
|
|
57750
|
+
| {
|
|
57751
|
+
[x: string]: string | boolean
|
|
57752
|
+
}
|
|
57753
|
+
| undefined
|
|
57754
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57755
|
+
connected_account_custom_metadata?:
|
|
57756
|
+
| {
|
|
57757
|
+
[x: string]: string | boolean
|
|
57758
|
+
}
|
|
57759
|
+
| undefined
|
|
57760
|
+
event_type: 'access_code.name_changed'
|
|
57761
|
+
from: {
|
|
57762
|
+
/** Previous name of the access code. */
|
|
57763
|
+
name: string | null
|
|
57764
|
+
}
|
|
57765
|
+
to: {
|
|
57766
|
+
/** New name of the access code. */
|
|
57767
|
+
name: string | null
|
|
57768
|
+
}
|
|
57769
|
+
/** Human-readable description of the change and its source. */
|
|
57770
|
+
description: string
|
|
57771
|
+
}
|
|
57772
|
+
| {
|
|
57773
|
+
/** ID of the event. */
|
|
57774
|
+
event_id: string
|
|
57775
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
57776
|
+
workspace_id: string
|
|
57777
|
+
/** Date and time at which the event was created. */
|
|
57778
|
+
created_at: string
|
|
57779
|
+
/** Date and time at which the event occurred. */
|
|
57780
|
+
occurred_at: string
|
|
57781
|
+
/** ID of the affected access code. */
|
|
57782
|
+
access_code_id: string
|
|
57783
|
+
/** ID of the device associated with the affected access code. */
|
|
57784
|
+
device_id: string
|
|
57785
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
57786
|
+
connected_account_id: string
|
|
57787
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57788
|
+
device_custom_metadata?:
|
|
57789
|
+
| {
|
|
57790
|
+
[x: string]: string | boolean
|
|
57791
|
+
}
|
|
57792
|
+
| undefined
|
|
57793
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57794
|
+
connected_account_custom_metadata?:
|
|
57795
|
+
| {
|
|
57796
|
+
[x: string]: string | boolean
|
|
57797
|
+
}
|
|
57798
|
+
| undefined
|
|
57799
|
+
event_type: 'access_code.code_changed'
|
|
57800
|
+
from: {
|
|
57801
|
+
/** Previous pin code. */
|
|
57802
|
+
code: string | null
|
|
57803
|
+
}
|
|
57804
|
+
to: {
|
|
57805
|
+
/** New pin code. */
|
|
57806
|
+
code: string | null
|
|
57807
|
+
}
|
|
57808
|
+
/** Human-readable description of the change and its source. */
|
|
57809
|
+
description: string
|
|
57810
|
+
}
|
|
57811
|
+
| {
|
|
57812
|
+
/** ID of the event. */
|
|
57813
|
+
event_id: string
|
|
57814
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
57815
|
+
workspace_id: string
|
|
57816
|
+
/** Date and time at which the event was created. */
|
|
57817
|
+
created_at: string
|
|
57818
|
+
/** Date and time at which the event occurred. */
|
|
57819
|
+
occurred_at: string
|
|
57820
|
+
/** ID of the affected access code. */
|
|
57821
|
+
access_code_id: string
|
|
57822
|
+
/** ID of the device associated with the affected access code. */
|
|
57823
|
+
device_id: string
|
|
57824
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
57825
|
+
connected_account_id: string
|
|
57826
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57827
|
+
device_custom_metadata?:
|
|
57828
|
+
| {
|
|
57829
|
+
[x: string]: string | boolean
|
|
57830
|
+
}
|
|
57831
|
+
| undefined
|
|
57832
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57833
|
+
connected_account_custom_metadata?:
|
|
57834
|
+
| {
|
|
57835
|
+
[x: string]: string | boolean
|
|
57836
|
+
}
|
|
57837
|
+
| undefined
|
|
57838
|
+
event_type: 'access_code.time_frame_changed'
|
|
57839
|
+
from: {
|
|
57840
|
+
/** Previous start time. */
|
|
57841
|
+
starts_at: string | null
|
|
57842
|
+
/** Previous end time. */
|
|
57843
|
+
ends_at: string | null
|
|
57844
|
+
}
|
|
57845
|
+
to: {
|
|
57846
|
+
/** New start time. */
|
|
57847
|
+
starts_at: string | null
|
|
57848
|
+
/** New end time. */
|
|
57849
|
+
ends_at: string | null
|
|
57850
|
+
}
|
|
57851
|
+
/** Human-readable description of the change and its source. */
|
|
57852
|
+
description: string
|
|
57853
|
+
}
|
|
57606
57854
|
| {
|
|
57607
57855
|
/** ID of the event. */
|
|
57608
57856
|
event_id: string
|
|
@@ -91206,6 +91454,9 @@ export type Routes = {
|
|
|
91206
91454
|
| (
|
|
91207
91455
|
| 'access_code.created'
|
|
91208
91456
|
| 'access_code.changed'
|
|
91457
|
+
| 'access_code.name_changed'
|
|
91458
|
+
| 'access_code.code_changed'
|
|
91459
|
+
| 'access_code.time_frame_changed'
|
|
91209
91460
|
| 'access_code.scheduled_on_device'
|
|
91210
91461
|
| 'access_code.set_on_device'
|
|
91211
91462
|
| 'access_code.removed_from_device'
|
|
@@ -91314,6 +91565,9 @@ export type Routes = {
|
|
|
91314
91565
|
| (
|
|
91315
91566
|
| 'access_code.created'
|
|
91316
91567
|
| 'access_code.changed'
|
|
91568
|
+
| 'access_code.name_changed'
|
|
91569
|
+
| 'access_code.code_changed'
|
|
91570
|
+
| 'access_code.time_frame_changed'
|
|
91317
91571
|
| 'access_code.scheduled_on_device'
|
|
91318
91572
|
| 'access_code.set_on_device'
|
|
91319
91573
|
| 'access_code.removed_from_device'
|
|
@@ -91494,6 +91748,127 @@ export type Routes = {
|
|
|
91494
91748
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
91495
91749
|
change_reason?: string | undefined
|
|
91496
91750
|
}
|
|
91751
|
+
| {
|
|
91752
|
+
/** ID of the event. */
|
|
91753
|
+
event_id: string
|
|
91754
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
91755
|
+
workspace_id: string
|
|
91756
|
+
/** Date and time at which the event was created. */
|
|
91757
|
+
created_at: string
|
|
91758
|
+
/** Date and time at which the event occurred. */
|
|
91759
|
+
occurred_at: string
|
|
91760
|
+
/** ID of the affected access code. */
|
|
91761
|
+
access_code_id: string
|
|
91762
|
+
/** ID of the device associated with the affected access code. */
|
|
91763
|
+
device_id: string
|
|
91764
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
91765
|
+
connected_account_id: string
|
|
91766
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91767
|
+
device_custom_metadata?:
|
|
91768
|
+
| {
|
|
91769
|
+
[x: string]: string | boolean
|
|
91770
|
+
}
|
|
91771
|
+
| undefined
|
|
91772
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91773
|
+
connected_account_custom_metadata?:
|
|
91774
|
+
| {
|
|
91775
|
+
[x: string]: string | boolean
|
|
91776
|
+
}
|
|
91777
|
+
| undefined
|
|
91778
|
+
event_type: 'access_code.name_changed'
|
|
91779
|
+
from: {
|
|
91780
|
+
/** Previous name of the access code. */
|
|
91781
|
+
name: string | null
|
|
91782
|
+
}
|
|
91783
|
+
to: {
|
|
91784
|
+
/** New name of the access code. */
|
|
91785
|
+
name: string | null
|
|
91786
|
+
}
|
|
91787
|
+
/** Human-readable description of the change and its source. */
|
|
91788
|
+
description: string
|
|
91789
|
+
}
|
|
91790
|
+
| {
|
|
91791
|
+
/** ID of the event. */
|
|
91792
|
+
event_id: string
|
|
91793
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
91794
|
+
workspace_id: string
|
|
91795
|
+
/** Date and time at which the event was created. */
|
|
91796
|
+
created_at: string
|
|
91797
|
+
/** Date and time at which the event occurred. */
|
|
91798
|
+
occurred_at: string
|
|
91799
|
+
/** ID of the affected access code. */
|
|
91800
|
+
access_code_id: string
|
|
91801
|
+
/** ID of the device associated with the affected access code. */
|
|
91802
|
+
device_id: string
|
|
91803
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
91804
|
+
connected_account_id: string
|
|
91805
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91806
|
+
device_custom_metadata?:
|
|
91807
|
+
| {
|
|
91808
|
+
[x: string]: string | boolean
|
|
91809
|
+
}
|
|
91810
|
+
| undefined
|
|
91811
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91812
|
+
connected_account_custom_metadata?:
|
|
91813
|
+
| {
|
|
91814
|
+
[x: string]: string | boolean
|
|
91815
|
+
}
|
|
91816
|
+
| undefined
|
|
91817
|
+
event_type: 'access_code.code_changed'
|
|
91818
|
+
from: {
|
|
91819
|
+
/** Previous pin code. */
|
|
91820
|
+
code: string | null
|
|
91821
|
+
}
|
|
91822
|
+
to: {
|
|
91823
|
+
/** New pin code. */
|
|
91824
|
+
code: string | null
|
|
91825
|
+
}
|
|
91826
|
+
/** Human-readable description of the change and its source. */
|
|
91827
|
+
description: string
|
|
91828
|
+
}
|
|
91829
|
+
| {
|
|
91830
|
+
/** ID of the event. */
|
|
91831
|
+
event_id: string
|
|
91832
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
91833
|
+
workspace_id: string
|
|
91834
|
+
/** Date and time at which the event was created. */
|
|
91835
|
+
created_at: string
|
|
91836
|
+
/** Date and time at which the event occurred. */
|
|
91837
|
+
occurred_at: string
|
|
91838
|
+
/** ID of the affected access code. */
|
|
91839
|
+
access_code_id: string
|
|
91840
|
+
/** ID of the device associated with the affected access code. */
|
|
91841
|
+
device_id: string
|
|
91842
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
91843
|
+
connected_account_id: string
|
|
91844
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91845
|
+
device_custom_metadata?:
|
|
91846
|
+
| {
|
|
91847
|
+
[x: string]: string | boolean
|
|
91848
|
+
}
|
|
91849
|
+
| undefined
|
|
91850
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91851
|
+
connected_account_custom_metadata?:
|
|
91852
|
+
| {
|
|
91853
|
+
[x: string]: string | boolean
|
|
91854
|
+
}
|
|
91855
|
+
| undefined
|
|
91856
|
+
event_type: 'access_code.time_frame_changed'
|
|
91857
|
+
from: {
|
|
91858
|
+
/** Previous start time. */
|
|
91859
|
+
starts_at: string | null
|
|
91860
|
+
/** Previous end time. */
|
|
91861
|
+
ends_at: string | null
|
|
91862
|
+
}
|
|
91863
|
+
to: {
|
|
91864
|
+
/** New start time. */
|
|
91865
|
+
starts_at: string | null
|
|
91866
|
+
/** New end time. */
|
|
91867
|
+
ends_at: string | null
|
|
91868
|
+
}
|
|
91869
|
+
/** Human-readable description of the change and its source. */
|
|
91870
|
+
description: string
|
|
91871
|
+
}
|
|
91497
91872
|
| {
|
|
91498
91873
|
/** ID of the event. */
|
|
91499
91874
|
event_id: string
|
|
@@ -134822,6 +135197,127 @@ export type Routes = {
|
|
|
134822
135197
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
134823
135198
|
change_reason?: string | undefined
|
|
134824
135199
|
}
|
|
135200
|
+
| {
|
|
135201
|
+
/** ID of the event. */
|
|
135202
|
+
event_id: string
|
|
135203
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
135204
|
+
workspace_id: string
|
|
135205
|
+
/** Date and time at which the event was created. */
|
|
135206
|
+
created_at: string
|
|
135207
|
+
/** Date and time at which the event occurred. */
|
|
135208
|
+
occurred_at: string
|
|
135209
|
+
/** ID of the affected access code. */
|
|
135210
|
+
access_code_id: string
|
|
135211
|
+
/** ID of the device associated with the affected access code. */
|
|
135212
|
+
device_id: string
|
|
135213
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
135214
|
+
connected_account_id: string
|
|
135215
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
135216
|
+
device_custom_metadata?:
|
|
135217
|
+
| {
|
|
135218
|
+
[x: string]: string | boolean
|
|
135219
|
+
}
|
|
135220
|
+
| undefined
|
|
135221
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
135222
|
+
connected_account_custom_metadata?:
|
|
135223
|
+
| {
|
|
135224
|
+
[x: string]: string | boolean
|
|
135225
|
+
}
|
|
135226
|
+
| undefined
|
|
135227
|
+
event_type: 'access_code.name_changed'
|
|
135228
|
+
from: {
|
|
135229
|
+
/** Previous name of the access code. */
|
|
135230
|
+
name: string | null
|
|
135231
|
+
}
|
|
135232
|
+
to: {
|
|
135233
|
+
/** New name of the access code. */
|
|
135234
|
+
name: string | null
|
|
135235
|
+
}
|
|
135236
|
+
/** Human-readable description of the change and its source. */
|
|
135237
|
+
description: string
|
|
135238
|
+
}
|
|
135239
|
+
| {
|
|
135240
|
+
/** ID of the event. */
|
|
135241
|
+
event_id: string
|
|
135242
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
135243
|
+
workspace_id: string
|
|
135244
|
+
/** Date and time at which the event was created. */
|
|
135245
|
+
created_at: string
|
|
135246
|
+
/** Date and time at which the event occurred. */
|
|
135247
|
+
occurred_at: string
|
|
135248
|
+
/** ID of the affected access code. */
|
|
135249
|
+
access_code_id: string
|
|
135250
|
+
/** ID of the device associated with the affected access code. */
|
|
135251
|
+
device_id: string
|
|
135252
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
135253
|
+
connected_account_id: string
|
|
135254
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
135255
|
+
device_custom_metadata?:
|
|
135256
|
+
| {
|
|
135257
|
+
[x: string]: string | boolean
|
|
135258
|
+
}
|
|
135259
|
+
| undefined
|
|
135260
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
135261
|
+
connected_account_custom_metadata?:
|
|
135262
|
+
| {
|
|
135263
|
+
[x: string]: string | boolean
|
|
135264
|
+
}
|
|
135265
|
+
| undefined
|
|
135266
|
+
event_type: 'access_code.code_changed'
|
|
135267
|
+
from: {
|
|
135268
|
+
/** Previous pin code. */
|
|
135269
|
+
code: string | null
|
|
135270
|
+
}
|
|
135271
|
+
to: {
|
|
135272
|
+
/** New pin code. */
|
|
135273
|
+
code: string | null
|
|
135274
|
+
}
|
|
135275
|
+
/** Human-readable description of the change and its source. */
|
|
135276
|
+
description: string
|
|
135277
|
+
}
|
|
135278
|
+
| {
|
|
135279
|
+
/** ID of the event. */
|
|
135280
|
+
event_id: string
|
|
135281
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
135282
|
+
workspace_id: string
|
|
135283
|
+
/** Date and time at which the event was created. */
|
|
135284
|
+
created_at: string
|
|
135285
|
+
/** Date and time at which the event occurred. */
|
|
135286
|
+
occurred_at: string
|
|
135287
|
+
/** ID of the affected access code. */
|
|
135288
|
+
access_code_id: string
|
|
135289
|
+
/** ID of the device associated with the affected access code. */
|
|
135290
|
+
device_id: string
|
|
135291
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
135292
|
+
connected_account_id: string
|
|
135293
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
135294
|
+
device_custom_metadata?:
|
|
135295
|
+
| {
|
|
135296
|
+
[x: string]: string | boolean
|
|
135297
|
+
}
|
|
135298
|
+
| undefined
|
|
135299
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
135300
|
+
connected_account_custom_metadata?:
|
|
135301
|
+
| {
|
|
135302
|
+
[x: string]: string | boolean
|
|
135303
|
+
}
|
|
135304
|
+
| undefined
|
|
135305
|
+
event_type: 'access_code.time_frame_changed'
|
|
135306
|
+
from: {
|
|
135307
|
+
/** Previous start time. */
|
|
135308
|
+
starts_at: string | null
|
|
135309
|
+
/** Previous end time. */
|
|
135310
|
+
ends_at: string | null
|
|
135311
|
+
}
|
|
135312
|
+
to: {
|
|
135313
|
+
/** New start time. */
|
|
135314
|
+
starts_at: string | null
|
|
135315
|
+
/** New end time. */
|
|
135316
|
+
ends_at: string | null
|
|
135317
|
+
}
|
|
135318
|
+
/** Human-readable description of the change and its source. */
|
|
135319
|
+
description: string
|
|
135320
|
+
}
|
|
134825
135321
|
| {
|
|
134826
135322
|
/** ID of the event. */
|
|
134827
135323
|
event_id: string
|