@seamapi/types 1.696.0 → 1.698.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 +208 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +399 -4
- package/dist/index.cjs +208 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +104 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
- package/lib/seam/connect/models/events/spaces.d.ts +130 -0
- package/lib/seam/connect/models/events/spaces.js +41 -1
- package/lib/seam/connect/models/events/spaces.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +63 -0
- package/lib/seam/connect/openapi.js +169 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +168 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/spaces.ts +47 -1
- package/src/lib/seam/connect/openapi.ts +180 -0
- package/src/lib/seam/connect/route-types.ts +181 -0
|
@@ -39369,6 +39369,46 @@ export type Routes = {
|
|
|
39369
39369
|
/** IDs of all ACS entrances currently attached to the space. */
|
|
39370
39370
|
acs_entrance_ids: string[]
|
|
39371
39371
|
}
|
|
39372
|
+
| {
|
|
39373
|
+
/** ID of the event. */
|
|
39374
|
+
event_id: string
|
|
39375
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
39376
|
+
workspace_id: string
|
|
39377
|
+
/** Date and time at which the event was created. */
|
|
39378
|
+
created_at: string
|
|
39379
|
+
/** Date and time at which the event occurred. */
|
|
39380
|
+
occurred_at: string
|
|
39381
|
+
/** ID of the affected space. */
|
|
39382
|
+
space_id: string
|
|
39383
|
+
/** Type of the event. */
|
|
39384
|
+
event_type: 'space.created'
|
|
39385
|
+
/** Unique key for the space within the workspace. */
|
|
39386
|
+
space_key?: string | undefined
|
|
39387
|
+
/** IDs of all devices attached to the space when it was created. */
|
|
39388
|
+
device_ids: string[]
|
|
39389
|
+
/** IDs of all ACS entrances attached to the space when it was created. */
|
|
39390
|
+
acs_entrance_ids: string[]
|
|
39391
|
+
}
|
|
39392
|
+
| {
|
|
39393
|
+
/** ID of the event. */
|
|
39394
|
+
event_id: string
|
|
39395
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
39396
|
+
workspace_id: string
|
|
39397
|
+
/** Date and time at which the event was created. */
|
|
39398
|
+
created_at: string
|
|
39399
|
+
/** Date and time at which the event occurred. */
|
|
39400
|
+
occurred_at: string
|
|
39401
|
+
/** ID of the affected space. */
|
|
39402
|
+
space_id: string
|
|
39403
|
+
/** Type of the event. */
|
|
39404
|
+
event_type: 'space.deleted'
|
|
39405
|
+
/** Unique key for the space within the workspace. */
|
|
39406
|
+
space_key?: string | undefined
|
|
39407
|
+
/** IDs of all devices attached to the space when it was deleted. */
|
|
39408
|
+
device_ids: string[]
|
|
39409
|
+
/** IDs of all ACS entrances currently attached to the space when it was deleted. */
|
|
39410
|
+
acs_entrance_ids: string[]
|
|
39411
|
+
}
|
|
39372
39412
|
)
|
|
39373
39413
|
| undefined
|
|
39374
39414
|
message?: string | undefined
|
|
@@ -39497,6 +39537,8 @@ export type Routes = {
|
|
|
39497
39537
|
| 'enrollment_automation.deleted'
|
|
39498
39538
|
| 'phone.deactivated'
|
|
39499
39539
|
| 'space.device_membership_changed'
|
|
39540
|
+
| 'space.created'
|
|
39541
|
+
| 'space.deleted'
|
|
39500
39542
|
)
|
|
39501
39543
|
| undefined
|
|
39502
39544
|
/** Types of the events that you want to list. */
|
|
@@ -39595,6 +39637,8 @@ export type Routes = {
|
|
|
39595
39637
|
| 'enrollment_automation.deleted'
|
|
39596
39638
|
| 'phone.deactivated'
|
|
39597
39639
|
| 'space.device_membership_changed'
|
|
39640
|
+
| 'space.created'
|
|
39641
|
+
| 'space.deleted'
|
|
39598
39642
|
)[]
|
|
39599
39643
|
| undefined
|
|
39600
39644
|
/** ID of the connected account for which you want to list events. */
|
|
@@ -41888,6 +41932,46 @@ export type Routes = {
|
|
|
41888
41932
|
/** IDs of all ACS entrances currently attached to the space. */
|
|
41889
41933
|
acs_entrance_ids: string[]
|
|
41890
41934
|
}
|
|
41935
|
+
| {
|
|
41936
|
+
/** ID of the event. */
|
|
41937
|
+
event_id: string
|
|
41938
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
41939
|
+
workspace_id: string
|
|
41940
|
+
/** Date and time at which the event was created. */
|
|
41941
|
+
created_at: string
|
|
41942
|
+
/** Date and time at which the event occurred. */
|
|
41943
|
+
occurred_at: string
|
|
41944
|
+
/** ID of the affected space. */
|
|
41945
|
+
space_id: string
|
|
41946
|
+
/** Type of the event. */
|
|
41947
|
+
event_type: 'space.created'
|
|
41948
|
+
/** Unique key for the space within the workspace. */
|
|
41949
|
+
space_key?: string | undefined
|
|
41950
|
+
/** IDs of all devices attached to the space when it was created. */
|
|
41951
|
+
device_ids: string[]
|
|
41952
|
+
/** IDs of all ACS entrances attached to the space when it was created. */
|
|
41953
|
+
acs_entrance_ids: string[]
|
|
41954
|
+
}
|
|
41955
|
+
| {
|
|
41956
|
+
/** ID of the event. */
|
|
41957
|
+
event_id: string
|
|
41958
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
41959
|
+
workspace_id: string
|
|
41960
|
+
/** Date and time at which the event was created. */
|
|
41961
|
+
created_at: string
|
|
41962
|
+
/** Date and time at which the event occurred. */
|
|
41963
|
+
occurred_at: string
|
|
41964
|
+
/** ID of the affected space. */
|
|
41965
|
+
space_id: string
|
|
41966
|
+
/** Type of the event. */
|
|
41967
|
+
event_type: 'space.deleted'
|
|
41968
|
+
/** Unique key for the space within the workspace. */
|
|
41969
|
+
space_key?: string | undefined
|
|
41970
|
+
/** IDs of all devices attached to the space when it was deleted. */
|
|
41971
|
+
device_ids: string[]
|
|
41972
|
+
/** IDs of all ACS entrances currently attached to the space when it was deleted. */
|
|
41973
|
+
acs_entrance_ids: string[]
|
|
41974
|
+
}
|
|
41891
41975
|
)[]
|
|
41892
41976
|
}
|
|
41893
41977
|
maxDuration: undefined
|
|
@@ -63256,6 +63340,19 @@ export type Routes = {
|
|
|
63256
63340
|
/** Optional base API URL (defaults to https://api.smoobu.com/api) */
|
|
63257
63341
|
base_api_url?: string | undefined
|
|
63258
63342
|
}
|
|
63343
|
+
| {
|
|
63344
|
+
/** Zonal API key for X-API-Key header (required) */
|
|
63345
|
+
api_key: string
|
|
63346
|
+
/** Zonal ID used as 'token' in login request body (required) */
|
|
63347
|
+
id: string
|
|
63348
|
+
/** Zonal Secret for login request body (required) */
|
|
63349
|
+
secret: string
|
|
63350
|
+
/** Optional hotel ID for single-property mode */
|
|
63351
|
+
hotel_id?: string | undefined
|
|
63352
|
+
/** Use staging API instead of production */
|
|
63353
|
+
is_staging?: boolean
|
|
63354
|
+
auth_token?: string | undefined
|
|
63355
|
+
}
|
|
63259
63356
|
}
|
|
63260
63357
|
commonParams: {}
|
|
63261
63358
|
formData: {}
|
|
@@ -63449,6 +63546,8 @@ export type Routes = {
|
|
|
63449
63546
|
| 'enrollment_automation.deleted'
|
|
63450
63547
|
| 'phone.deactivated'
|
|
63451
63548
|
| 'space.device_membership_changed'
|
|
63549
|
+
| 'space.created'
|
|
63550
|
+
| 'space.deleted'
|
|
63452
63551
|
)
|
|
63453
63552
|
| undefined
|
|
63454
63553
|
/** Types of the events that you want to list. */
|
|
@@ -63547,6 +63646,8 @@ export type Routes = {
|
|
|
63547
63646
|
| 'enrollment_automation.deleted'
|
|
63548
63647
|
| 'phone.deactivated'
|
|
63549
63648
|
| 'space.device_membership_changed'
|
|
63649
|
+
| 'space.created'
|
|
63650
|
+
| 'space.deleted'
|
|
63550
63651
|
)[]
|
|
63551
63652
|
| undefined
|
|
63552
63653
|
/** Numerical limit on the number of events to return. */
|
|
@@ -65828,6 +65929,46 @@ export type Routes = {
|
|
|
65828
65929
|
/** IDs of all ACS entrances currently attached to the space. */
|
|
65829
65930
|
acs_entrance_ids: string[]
|
|
65830
65931
|
}
|
|
65932
|
+
| {
|
|
65933
|
+
/** ID of the event. */
|
|
65934
|
+
event_id: string
|
|
65935
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
65936
|
+
workspace_id: string
|
|
65937
|
+
/** Date and time at which the event was created. */
|
|
65938
|
+
created_at: string
|
|
65939
|
+
/** Date and time at which the event occurred. */
|
|
65940
|
+
occurred_at: string
|
|
65941
|
+
/** ID of the affected space. */
|
|
65942
|
+
space_id: string
|
|
65943
|
+
/** Type of the event. */
|
|
65944
|
+
event_type: 'space.created'
|
|
65945
|
+
/** Unique key for the space within the workspace. */
|
|
65946
|
+
space_key?: string | undefined
|
|
65947
|
+
/** IDs of all devices attached to the space when it was created. */
|
|
65948
|
+
device_ids: string[]
|
|
65949
|
+
/** IDs of all ACS entrances attached to the space when it was created. */
|
|
65950
|
+
acs_entrance_ids: string[]
|
|
65951
|
+
}
|
|
65952
|
+
| {
|
|
65953
|
+
/** ID of the event. */
|
|
65954
|
+
event_id: string
|
|
65955
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
65956
|
+
workspace_id: string
|
|
65957
|
+
/** Date and time at which the event was created. */
|
|
65958
|
+
created_at: string
|
|
65959
|
+
/** Date and time at which the event occurred. */
|
|
65960
|
+
occurred_at: string
|
|
65961
|
+
/** ID of the affected space. */
|
|
65962
|
+
space_id: string
|
|
65963
|
+
/** Type of the event. */
|
|
65964
|
+
event_type: 'space.deleted'
|
|
65965
|
+
/** Unique key for the space within the workspace. */
|
|
65966
|
+
space_key?: string | undefined
|
|
65967
|
+
/** IDs of all devices attached to the space when it was deleted. */
|
|
65968
|
+
device_ids: string[]
|
|
65969
|
+
/** IDs of all ACS entrances currently attached to the space when it was deleted. */
|
|
65970
|
+
acs_entrance_ids: string[]
|
|
65971
|
+
}
|
|
65831
65972
|
)[]
|
|
65832
65973
|
}
|
|
65833
65974
|
maxDuration: undefined
|
|
@@ -99926,6 +100067,46 @@ export type Routes = {
|
|
|
99926
100067
|
/** IDs of all ACS entrances currently attached to the space. */
|
|
99927
100068
|
acs_entrance_ids: string[]
|
|
99928
100069
|
}
|
|
100070
|
+
| {
|
|
100071
|
+
/** ID of the event. */
|
|
100072
|
+
event_id: string
|
|
100073
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
100074
|
+
workspace_id: string
|
|
100075
|
+
/** Date and time at which the event was created. */
|
|
100076
|
+
created_at: string
|
|
100077
|
+
/** Date and time at which the event occurred. */
|
|
100078
|
+
occurred_at: string
|
|
100079
|
+
/** ID of the affected space. */
|
|
100080
|
+
space_id: string
|
|
100081
|
+
/** Type of the event. */
|
|
100082
|
+
event_type: 'space.created'
|
|
100083
|
+
/** Unique key for the space within the workspace. */
|
|
100084
|
+
space_key?: string | undefined
|
|
100085
|
+
/** IDs of all devices attached to the space when it was created. */
|
|
100086
|
+
device_ids: string[]
|
|
100087
|
+
/** IDs of all ACS entrances attached to the space when it was created. */
|
|
100088
|
+
acs_entrance_ids: string[]
|
|
100089
|
+
}
|
|
100090
|
+
| {
|
|
100091
|
+
/** ID of the event. */
|
|
100092
|
+
event_id: string
|
|
100093
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
100094
|
+
workspace_id: string
|
|
100095
|
+
/** Date and time at which the event was created. */
|
|
100096
|
+
created_at: string
|
|
100097
|
+
/** Date and time at which the event occurred. */
|
|
100098
|
+
occurred_at: string
|
|
100099
|
+
/** ID of the affected space. */
|
|
100100
|
+
space_id: string
|
|
100101
|
+
/** Type of the event. */
|
|
100102
|
+
event_type: 'space.deleted'
|
|
100103
|
+
/** Unique key for the space within the workspace. */
|
|
100104
|
+
space_key?: string | undefined
|
|
100105
|
+
/** IDs of all devices attached to the space when it was deleted. */
|
|
100106
|
+
device_ids: string[]
|
|
100107
|
+
/** IDs of all ACS entrances currently attached to the space when it was deleted. */
|
|
100108
|
+
acs_entrance_ids: string[]
|
|
100109
|
+
}
|
|
99929
100110
|
)[]
|
|
99930
100111
|
| undefined
|
|
99931
100112
|
instant_keys?:
|