@seamapi/types 1.913.0 → 1.915.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 +387 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +654 -4
- package/dist/index.cjs +387 -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 +68 -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 +337 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +452 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +83 -0
- package/src/lib/seam/connect/openapi.ts +358 -0
- package/src/lib/seam/connect/route-types.ts +520 -0
|
@@ -54168,6 +54168,133 @@ 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
|
+
/** Previous access code name configuration. */
|
|
54200
|
+
from: {
|
|
54201
|
+
/** Previous name of the access code. */
|
|
54202
|
+
name: string | null
|
|
54203
|
+
}
|
|
54204
|
+
/** New access code name configuration. */
|
|
54205
|
+
to: {
|
|
54206
|
+
/** New name of the access code. */
|
|
54207
|
+
name: string | null
|
|
54208
|
+
}
|
|
54209
|
+
/** Human-readable description of the change and its source. */
|
|
54210
|
+
description: string
|
|
54211
|
+
}
|
|
54212
|
+
| {
|
|
54213
|
+
/** ID of the event. */
|
|
54214
|
+
event_id: string
|
|
54215
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
54216
|
+
workspace_id: string
|
|
54217
|
+
/** Date and time at which the event was created. */
|
|
54218
|
+
created_at: string
|
|
54219
|
+
/** Date and time at which the event occurred. */
|
|
54220
|
+
occurred_at: string
|
|
54221
|
+
/** ID of the affected access code. */
|
|
54222
|
+
access_code_id: string
|
|
54223
|
+
/** ID of the device associated with the affected access code. */
|
|
54224
|
+
device_id: string
|
|
54225
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
54226
|
+
connected_account_id: string
|
|
54227
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
54228
|
+
device_custom_metadata?:
|
|
54229
|
+
| {
|
|
54230
|
+
[x: string]: string | boolean
|
|
54231
|
+
}
|
|
54232
|
+
| undefined
|
|
54233
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
54234
|
+
connected_account_custom_metadata?:
|
|
54235
|
+
| {
|
|
54236
|
+
[x: string]: string | boolean
|
|
54237
|
+
}
|
|
54238
|
+
| undefined
|
|
54239
|
+
event_type: 'access_code.code_changed'
|
|
54240
|
+
/** Previous pin code configuration. */
|
|
54241
|
+
from: {
|
|
54242
|
+
/** Previous pin code. */
|
|
54243
|
+
code: string | null
|
|
54244
|
+
}
|
|
54245
|
+
/** New pin code configuration. */
|
|
54246
|
+
to: {
|
|
54247
|
+
/** New pin code. */
|
|
54248
|
+
code: string | null
|
|
54249
|
+
}
|
|
54250
|
+
/** Human-readable description of the change and its source. */
|
|
54251
|
+
description: string
|
|
54252
|
+
}
|
|
54253
|
+
| {
|
|
54254
|
+
/** ID of the event. */
|
|
54255
|
+
event_id: string
|
|
54256
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
54257
|
+
workspace_id: string
|
|
54258
|
+
/** Date and time at which the event was created. */
|
|
54259
|
+
created_at: string
|
|
54260
|
+
/** Date and time at which the event occurred. */
|
|
54261
|
+
occurred_at: string
|
|
54262
|
+
/** ID of the affected access code. */
|
|
54263
|
+
access_code_id: string
|
|
54264
|
+
/** ID of the device associated with the affected access code. */
|
|
54265
|
+
device_id: string
|
|
54266
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
54267
|
+
connected_account_id: string
|
|
54268
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
54269
|
+
device_custom_metadata?:
|
|
54270
|
+
| {
|
|
54271
|
+
[x: string]: string | boolean
|
|
54272
|
+
}
|
|
54273
|
+
| undefined
|
|
54274
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
54275
|
+
connected_account_custom_metadata?:
|
|
54276
|
+
| {
|
|
54277
|
+
[x: string]: string | boolean
|
|
54278
|
+
}
|
|
54279
|
+
| undefined
|
|
54280
|
+
event_type: 'access_code.time_frame_changed'
|
|
54281
|
+
/** Previous time frame configuration. */
|
|
54282
|
+
from: {
|
|
54283
|
+
/** Previous start time. */
|
|
54284
|
+
starts_at: string | null
|
|
54285
|
+
/** Previous end time. */
|
|
54286
|
+
ends_at: string | null
|
|
54287
|
+
}
|
|
54288
|
+
/** New time frame configuration. */
|
|
54289
|
+
to: {
|
|
54290
|
+
/** New start time. */
|
|
54291
|
+
starts_at: string | null
|
|
54292
|
+
/** New end time. */
|
|
54293
|
+
ends_at: string | null
|
|
54294
|
+
}
|
|
54295
|
+
/** Human-readable description of the change and its source. */
|
|
54296
|
+
description: string
|
|
54297
|
+
}
|
|
54171
54298
|
| {
|
|
54172
54299
|
/** ID of the event. */
|
|
54173
54300
|
event_id: string
|
|
@@ -57285,6 +57412,9 @@ export type Routes = {
|
|
|
57285
57412
|
| (
|
|
57286
57413
|
| 'access_code.created'
|
|
57287
57414
|
| 'access_code.changed'
|
|
57415
|
+
| 'access_code.name_changed'
|
|
57416
|
+
| 'access_code.code_changed'
|
|
57417
|
+
| 'access_code.time_frame_changed'
|
|
57288
57418
|
| 'access_code.scheduled_on_device'
|
|
57289
57419
|
| 'access_code.set_on_device'
|
|
57290
57420
|
| 'access_code.removed_from_device'
|
|
@@ -57393,6 +57523,9 @@ export type Routes = {
|
|
|
57393
57523
|
| (
|
|
57394
57524
|
| 'access_code.created'
|
|
57395
57525
|
| 'access_code.changed'
|
|
57526
|
+
| 'access_code.name_changed'
|
|
57527
|
+
| 'access_code.code_changed'
|
|
57528
|
+
| 'access_code.time_frame_changed'
|
|
57396
57529
|
| 'access_code.scheduled_on_device'
|
|
57397
57530
|
| 'access_code.set_on_device'
|
|
57398
57531
|
| 'access_code.removed_from_device'
|
|
@@ -57603,6 +57736,133 @@ export type Routes = {
|
|
|
57603
57736
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
57604
57737
|
change_reason?: string | undefined
|
|
57605
57738
|
}
|
|
57739
|
+
| {
|
|
57740
|
+
/** ID of the event. */
|
|
57741
|
+
event_id: string
|
|
57742
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
57743
|
+
workspace_id: string
|
|
57744
|
+
/** Date and time at which the event was created. */
|
|
57745
|
+
created_at: string
|
|
57746
|
+
/** Date and time at which the event occurred. */
|
|
57747
|
+
occurred_at: string
|
|
57748
|
+
/** ID of the affected access code. */
|
|
57749
|
+
access_code_id: string
|
|
57750
|
+
/** ID of the device associated with the affected access code. */
|
|
57751
|
+
device_id: string
|
|
57752
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
57753
|
+
connected_account_id: string
|
|
57754
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57755
|
+
device_custom_metadata?:
|
|
57756
|
+
| {
|
|
57757
|
+
[x: string]: string | boolean
|
|
57758
|
+
}
|
|
57759
|
+
| undefined
|
|
57760
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57761
|
+
connected_account_custom_metadata?:
|
|
57762
|
+
| {
|
|
57763
|
+
[x: string]: string | boolean
|
|
57764
|
+
}
|
|
57765
|
+
| undefined
|
|
57766
|
+
event_type: 'access_code.name_changed'
|
|
57767
|
+
/** Previous access code name configuration. */
|
|
57768
|
+
from: {
|
|
57769
|
+
/** Previous name of the access code. */
|
|
57770
|
+
name: string | null
|
|
57771
|
+
}
|
|
57772
|
+
/** New access code name configuration. */
|
|
57773
|
+
to: {
|
|
57774
|
+
/** New name of the access code. */
|
|
57775
|
+
name: string | null
|
|
57776
|
+
}
|
|
57777
|
+
/** Human-readable description of the change and its source. */
|
|
57778
|
+
description: string
|
|
57779
|
+
}
|
|
57780
|
+
| {
|
|
57781
|
+
/** ID of the event. */
|
|
57782
|
+
event_id: string
|
|
57783
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
57784
|
+
workspace_id: string
|
|
57785
|
+
/** Date and time at which the event was created. */
|
|
57786
|
+
created_at: string
|
|
57787
|
+
/** Date and time at which the event occurred. */
|
|
57788
|
+
occurred_at: string
|
|
57789
|
+
/** ID of the affected access code. */
|
|
57790
|
+
access_code_id: string
|
|
57791
|
+
/** ID of the device associated with the affected access code. */
|
|
57792
|
+
device_id: string
|
|
57793
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
57794
|
+
connected_account_id: string
|
|
57795
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57796
|
+
device_custom_metadata?:
|
|
57797
|
+
| {
|
|
57798
|
+
[x: string]: string | boolean
|
|
57799
|
+
}
|
|
57800
|
+
| undefined
|
|
57801
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57802
|
+
connected_account_custom_metadata?:
|
|
57803
|
+
| {
|
|
57804
|
+
[x: string]: string | boolean
|
|
57805
|
+
}
|
|
57806
|
+
| undefined
|
|
57807
|
+
event_type: 'access_code.code_changed'
|
|
57808
|
+
/** Previous pin code configuration. */
|
|
57809
|
+
from: {
|
|
57810
|
+
/** Previous pin code. */
|
|
57811
|
+
code: string | null
|
|
57812
|
+
}
|
|
57813
|
+
/** New pin code configuration. */
|
|
57814
|
+
to: {
|
|
57815
|
+
/** New pin code. */
|
|
57816
|
+
code: string | null
|
|
57817
|
+
}
|
|
57818
|
+
/** Human-readable description of the change and its source. */
|
|
57819
|
+
description: string
|
|
57820
|
+
}
|
|
57821
|
+
| {
|
|
57822
|
+
/** ID of the event. */
|
|
57823
|
+
event_id: string
|
|
57824
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
57825
|
+
workspace_id: string
|
|
57826
|
+
/** Date and time at which the event was created. */
|
|
57827
|
+
created_at: string
|
|
57828
|
+
/** Date and time at which the event occurred. */
|
|
57829
|
+
occurred_at: string
|
|
57830
|
+
/** ID of the affected access code. */
|
|
57831
|
+
access_code_id: string
|
|
57832
|
+
/** ID of the device associated with the affected access code. */
|
|
57833
|
+
device_id: string
|
|
57834
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
57835
|
+
connected_account_id: string
|
|
57836
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57837
|
+
device_custom_metadata?:
|
|
57838
|
+
| {
|
|
57839
|
+
[x: string]: string | boolean
|
|
57840
|
+
}
|
|
57841
|
+
| undefined
|
|
57842
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57843
|
+
connected_account_custom_metadata?:
|
|
57844
|
+
| {
|
|
57845
|
+
[x: string]: string | boolean
|
|
57846
|
+
}
|
|
57847
|
+
| undefined
|
|
57848
|
+
event_type: 'access_code.time_frame_changed'
|
|
57849
|
+
/** Previous time frame configuration. */
|
|
57850
|
+
from: {
|
|
57851
|
+
/** Previous start time. */
|
|
57852
|
+
starts_at: string | null
|
|
57853
|
+
/** Previous end time. */
|
|
57854
|
+
ends_at: string | null
|
|
57855
|
+
}
|
|
57856
|
+
/** New time frame configuration. */
|
|
57857
|
+
to: {
|
|
57858
|
+
/** New start time. */
|
|
57859
|
+
starts_at: string | null
|
|
57860
|
+
/** New end time. */
|
|
57861
|
+
ends_at: string | null
|
|
57862
|
+
}
|
|
57863
|
+
/** Human-readable description of the change and its source. */
|
|
57864
|
+
description: string
|
|
57865
|
+
}
|
|
57606
57866
|
| {
|
|
57607
57867
|
/** ID of the event. */
|
|
57608
57868
|
event_id: string
|
|
@@ -91206,6 +91466,9 @@ export type Routes = {
|
|
|
91206
91466
|
| (
|
|
91207
91467
|
| 'access_code.created'
|
|
91208
91468
|
| 'access_code.changed'
|
|
91469
|
+
| 'access_code.name_changed'
|
|
91470
|
+
| 'access_code.code_changed'
|
|
91471
|
+
| 'access_code.time_frame_changed'
|
|
91209
91472
|
| 'access_code.scheduled_on_device'
|
|
91210
91473
|
| 'access_code.set_on_device'
|
|
91211
91474
|
| 'access_code.removed_from_device'
|
|
@@ -91314,6 +91577,9 @@ export type Routes = {
|
|
|
91314
91577
|
| (
|
|
91315
91578
|
| 'access_code.created'
|
|
91316
91579
|
| 'access_code.changed'
|
|
91580
|
+
| 'access_code.name_changed'
|
|
91581
|
+
| 'access_code.code_changed'
|
|
91582
|
+
| 'access_code.time_frame_changed'
|
|
91317
91583
|
| 'access_code.scheduled_on_device'
|
|
91318
91584
|
| 'access_code.set_on_device'
|
|
91319
91585
|
| 'access_code.removed_from_device'
|
|
@@ -91494,6 +91760,133 @@ export type Routes = {
|
|
|
91494
91760
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
91495
91761
|
change_reason?: string | undefined
|
|
91496
91762
|
}
|
|
91763
|
+
| {
|
|
91764
|
+
/** ID of the event. */
|
|
91765
|
+
event_id: string
|
|
91766
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
91767
|
+
workspace_id: string
|
|
91768
|
+
/** Date and time at which the event was created. */
|
|
91769
|
+
created_at: string
|
|
91770
|
+
/** Date and time at which the event occurred. */
|
|
91771
|
+
occurred_at: string
|
|
91772
|
+
/** ID of the affected access code. */
|
|
91773
|
+
access_code_id: string
|
|
91774
|
+
/** ID of the device associated with the affected access code. */
|
|
91775
|
+
device_id: string
|
|
91776
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
91777
|
+
connected_account_id: string
|
|
91778
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91779
|
+
device_custom_metadata?:
|
|
91780
|
+
| {
|
|
91781
|
+
[x: string]: string | boolean
|
|
91782
|
+
}
|
|
91783
|
+
| undefined
|
|
91784
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91785
|
+
connected_account_custom_metadata?:
|
|
91786
|
+
| {
|
|
91787
|
+
[x: string]: string | boolean
|
|
91788
|
+
}
|
|
91789
|
+
| undefined
|
|
91790
|
+
event_type: 'access_code.name_changed'
|
|
91791
|
+
/** Previous access code name configuration. */
|
|
91792
|
+
from: {
|
|
91793
|
+
/** Previous name of the access code. */
|
|
91794
|
+
name: string | null
|
|
91795
|
+
}
|
|
91796
|
+
/** New access code name configuration. */
|
|
91797
|
+
to: {
|
|
91798
|
+
/** New name of the access code. */
|
|
91799
|
+
name: string | null
|
|
91800
|
+
}
|
|
91801
|
+
/** Human-readable description of the change and its source. */
|
|
91802
|
+
description: string
|
|
91803
|
+
}
|
|
91804
|
+
| {
|
|
91805
|
+
/** ID of the event. */
|
|
91806
|
+
event_id: string
|
|
91807
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
91808
|
+
workspace_id: string
|
|
91809
|
+
/** Date and time at which the event was created. */
|
|
91810
|
+
created_at: string
|
|
91811
|
+
/** Date and time at which the event occurred. */
|
|
91812
|
+
occurred_at: string
|
|
91813
|
+
/** ID of the affected access code. */
|
|
91814
|
+
access_code_id: string
|
|
91815
|
+
/** ID of the device associated with the affected access code. */
|
|
91816
|
+
device_id: string
|
|
91817
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
91818
|
+
connected_account_id: string
|
|
91819
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91820
|
+
device_custom_metadata?:
|
|
91821
|
+
| {
|
|
91822
|
+
[x: string]: string | boolean
|
|
91823
|
+
}
|
|
91824
|
+
| undefined
|
|
91825
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91826
|
+
connected_account_custom_metadata?:
|
|
91827
|
+
| {
|
|
91828
|
+
[x: string]: string | boolean
|
|
91829
|
+
}
|
|
91830
|
+
| undefined
|
|
91831
|
+
event_type: 'access_code.code_changed'
|
|
91832
|
+
/** Previous pin code configuration. */
|
|
91833
|
+
from: {
|
|
91834
|
+
/** Previous pin code. */
|
|
91835
|
+
code: string | null
|
|
91836
|
+
}
|
|
91837
|
+
/** New pin code configuration. */
|
|
91838
|
+
to: {
|
|
91839
|
+
/** New pin code. */
|
|
91840
|
+
code: string | null
|
|
91841
|
+
}
|
|
91842
|
+
/** Human-readable description of the change and its source. */
|
|
91843
|
+
description: string
|
|
91844
|
+
}
|
|
91845
|
+
| {
|
|
91846
|
+
/** ID of the event. */
|
|
91847
|
+
event_id: string
|
|
91848
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
91849
|
+
workspace_id: string
|
|
91850
|
+
/** Date and time at which the event was created. */
|
|
91851
|
+
created_at: string
|
|
91852
|
+
/** Date and time at which the event occurred. */
|
|
91853
|
+
occurred_at: string
|
|
91854
|
+
/** ID of the affected access code. */
|
|
91855
|
+
access_code_id: string
|
|
91856
|
+
/** ID of the device associated with the affected access code. */
|
|
91857
|
+
device_id: string
|
|
91858
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
91859
|
+
connected_account_id: string
|
|
91860
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91861
|
+
device_custom_metadata?:
|
|
91862
|
+
| {
|
|
91863
|
+
[x: string]: string | boolean
|
|
91864
|
+
}
|
|
91865
|
+
| undefined
|
|
91866
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91867
|
+
connected_account_custom_metadata?:
|
|
91868
|
+
| {
|
|
91869
|
+
[x: string]: string | boolean
|
|
91870
|
+
}
|
|
91871
|
+
| undefined
|
|
91872
|
+
event_type: 'access_code.time_frame_changed'
|
|
91873
|
+
/** Previous time frame configuration. */
|
|
91874
|
+
from: {
|
|
91875
|
+
/** Previous start time. */
|
|
91876
|
+
starts_at: string | null
|
|
91877
|
+
/** Previous end time. */
|
|
91878
|
+
ends_at: string | null
|
|
91879
|
+
}
|
|
91880
|
+
/** New time frame configuration. */
|
|
91881
|
+
to: {
|
|
91882
|
+
/** New start time. */
|
|
91883
|
+
starts_at: string | null
|
|
91884
|
+
/** New end time. */
|
|
91885
|
+
ends_at: string | null
|
|
91886
|
+
}
|
|
91887
|
+
/** Human-readable description of the change and its source. */
|
|
91888
|
+
description: string
|
|
91889
|
+
}
|
|
91497
91890
|
| {
|
|
91498
91891
|
/** ID of the event. */
|
|
91499
91892
|
event_id: string
|
|
@@ -134822,6 +135215,133 @@ export type Routes = {
|
|
|
134822
135215
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
134823
135216
|
change_reason?: string | undefined
|
|
134824
135217
|
}
|
|
135218
|
+
| {
|
|
135219
|
+
/** ID of the event. */
|
|
135220
|
+
event_id: string
|
|
135221
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
135222
|
+
workspace_id: string
|
|
135223
|
+
/** Date and time at which the event was created. */
|
|
135224
|
+
created_at: string
|
|
135225
|
+
/** Date and time at which the event occurred. */
|
|
135226
|
+
occurred_at: string
|
|
135227
|
+
/** ID of the affected access code. */
|
|
135228
|
+
access_code_id: string
|
|
135229
|
+
/** ID of the device associated with the affected access code. */
|
|
135230
|
+
device_id: string
|
|
135231
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
135232
|
+
connected_account_id: string
|
|
135233
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
135234
|
+
device_custom_metadata?:
|
|
135235
|
+
| {
|
|
135236
|
+
[x: string]: string | boolean
|
|
135237
|
+
}
|
|
135238
|
+
| undefined
|
|
135239
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
135240
|
+
connected_account_custom_metadata?:
|
|
135241
|
+
| {
|
|
135242
|
+
[x: string]: string | boolean
|
|
135243
|
+
}
|
|
135244
|
+
| undefined
|
|
135245
|
+
event_type: 'access_code.name_changed'
|
|
135246
|
+
/** Previous access code name configuration. */
|
|
135247
|
+
from: {
|
|
135248
|
+
/** Previous name of the access code. */
|
|
135249
|
+
name: string | null
|
|
135250
|
+
}
|
|
135251
|
+
/** New access code name configuration. */
|
|
135252
|
+
to: {
|
|
135253
|
+
/** New name of the access code. */
|
|
135254
|
+
name: string | null
|
|
135255
|
+
}
|
|
135256
|
+
/** Human-readable description of the change and its source. */
|
|
135257
|
+
description: string
|
|
135258
|
+
}
|
|
135259
|
+
| {
|
|
135260
|
+
/** ID of the event. */
|
|
135261
|
+
event_id: string
|
|
135262
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
135263
|
+
workspace_id: string
|
|
135264
|
+
/** Date and time at which the event was created. */
|
|
135265
|
+
created_at: string
|
|
135266
|
+
/** Date and time at which the event occurred. */
|
|
135267
|
+
occurred_at: string
|
|
135268
|
+
/** ID of the affected access code. */
|
|
135269
|
+
access_code_id: string
|
|
135270
|
+
/** ID of the device associated with the affected access code. */
|
|
135271
|
+
device_id: string
|
|
135272
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
135273
|
+
connected_account_id: string
|
|
135274
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
135275
|
+
device_custom_metadata?:
|
|
135276
|
+
| {
|
|
135277
|
+
[x: string]: string | boolean
|
|
135278
|
+
}
|
|
135279
|
+
| undefined
|
|
135280
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
135281
|
+
connected_account_custom_metadata?:
|
|
135282
|
+
| {
|
|
135283
|
+
[x: string]: string | boolean
|
|
135284
|
+
}
|
|
135285
|
+
| undefined
|
|
135286
|
+
event_type: 'access_code.code_changed'
|
|
135287
|
+
/** Previous pin code configuration. */
|
|
135288
|
+
from: {
|
|
135289
|
+
/** Previous pin code. */
|
|
135290
|
+
code: string | null
|
|
135291
|
+
}
|
|
135292
|
+
/** New pin code configuration. */
|
|
135293
|
+
to: {
|
|
135294
|
+
/** New pin code. */
|
|
135295
|
+
code: string | null
|
|
135296
|
+
}
|
|
135297
|
+
/** Human-readable description of the change and its source. */
|
|
135298
|
+
description: string
|
|
135299
|
+
}
|
|
135300
|
+
| {
|
|
135301
|
+
/** ID of the event. */
|
|
135302
|
+
event_id: string
|
|
135303
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
135304
|
+
workspace_id: string
|
|
135305
|
+
/** Date and time at which the event was created. */
|
|
135306
|
+
created_at: string
|
|
135307
|
+
/** Date and time at which the event occurred. */
|
|
135308
|
+
occurred_at: string
|
|
135309
|
+
/** ID of the affected access code. */
|
|
135310
|
+
access_code_id: string
|
|
135311
|
+
/** ID of the device associated with the affected access code. */
|
|
135312
|
+
device_id: string
|
|
135313
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
135314
|
+
connected_account_id: string
|
|
135315
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
135316
|
+
device_custom_metadata?:
|
|
135317
|
+
| {
|
|
135318
|
+
[x: string]: string | boolean
|
|
135319
|
+
}
|
|
135320
|
+
| undefined
|
|
135321
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
135322
|
+
connected_account_custom_metadata?:
|
|
135323
|
+
| {
|
|
135324
|
+
[x: string]: string | boolean
|
|
135325
|
+
}
|
|
135326
|
+
| undefined
|
|
135327
|
+
event_type: 'access_code.time_frame_changed'
|
|
135328
|
+
/** Previous time frame configuration. */
|
|
135329
|
+
from: {
|
|
135330
|
+
/** Previous start time. */
|
|
135331
|
+
starts_at: string | null
|
|
135332
|
+
/** Previous end time. */
|
|
135333
|
+
ends_at: string | null
|
|
135334
|
+
}
|
|
135335
|
+
/** New time frame configuration. */
|
|
135336
|
+
to: {
|
|
135337
|
+
/** New start time. */
|
|
135338
|
+
starts_at: string | null
|
|
135339
|
+
/** New end time. */
|
|
135340
|
+
ends_at: string | null
|
|
135341
|
+
}
|
|
135342
|
+
/** Human-readable description of the change and its source. */
|
|
135343
|
+
description: string
|
|
135344
|
+
}
|
|
134825
135345
|
| {
|
|
134826
135346
|
/** ID of the event. */
|
|
134827
135347
|
event_id: string
|