@seamapi/types 1.621.0 → 1.623.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 +114 -61
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +497 -91
- package/dist/index.cjs +114 -61
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +104 -0
- package/lib/seam/connect/models/customer/customer-delete-data.d.ts +3 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js +4 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +33 -1
- package/lib/seam/connect/models/events/seam-event.js +2 -0
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/models/events/spaces.d.ts +68 -0
- package/lib/seam/connect/models/events/spaces.js +27 -0
- package/lib/seam/connect/models/events/spaces.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +308 -71
- package/lib/seam/connect/openapi.js +89 -52
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +105 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-delete-data.ts +4 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +2 -0
- package/src/lib/seam/connect/models/events/spaces.ts +34 -0
- package/src/lib/seam/connect/openapi.ts +92 -55
- package/src/lib/seam/connect/route-types.ts +110 -16
|
@@ -22819,6 +22819,26 @@ export type Routes = {
|
|
|
22819
22819
|
| undefined
|
|
22820
22820
|
event_type: 'phone.deactivated'
|
|
22821
22821
|
}
|
|
22822
|
+
| {
|
|
22823
|
+
/** ID of the event. */
|
|
22824
|
+
event_id: string
|
|
22825
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
22826
|
+
workspace_id: string
|
|
22827
|
+
/** Date and time at which the event was created. */
|
|
22828
|
+
created_at: string
|
|
22829
|
+
/** Date and time at which the event occurred. */
|
|
22830
|
+
occurred_at: string
|
|
22831
|
+
/** ID of the affected space. */
|
|
22832
|
+
space_id: string
|
|
22833
|
+
/** Type of the event. */
|
|
22834
|
+
event_type: 'space.device_membership_changed'
|
|
22835
|
+
/** Unique key for the space within the workspace. */
|
|
22836
|
+
space_key?: string | undefined
|
|
22837
|
+
/** IDs of all devices currently attached to the space. */
|
|
22838
|
+
device_ids: string[]
|
|
22839
|
+
/** IDs of all ACS entrances currently attached to the space. */
|
|
22840
|
+
acs_entrance_ids: string[]
|
|
22841
|
+
}
|
|
22822
22842
|
)[]
|
|
22823
22843
|
| undefined
|
|
22824
22844
|
instant_keys?:
|
|
@@ -37398,6 +37418,8 @@ export type Routes = {
|
|
|
37398
37418
|
booking_keys?: string[] | undefined
|
|
37399
37419
|
/** List of access grant keys to delete. */
|
|
37400
37420
|
access_grant_keys?: string[] | undefined
|
|
37421
|
+
/** List of staff member keys to delete. */
|
|
37422
|
+
staff_member_keys?: string[] | undefined
|
|
37401
37423
|
}
|
|
37402
37424
|
formData: {}
|
|
37403
37425
|
jsonResponse: {}
|
|
@@ -44719,6 +44741,26 @@ export type Routes = {
|
|
|
44719
44741
|
| undefined
|
|
44720
44742
|
event_type: 'phone.deactivated'
|
|
44721
44743
|
}
|
|
44744
|
+
| {
|
|
44745
|
+
/** ID of the event. */
|
|
44746
|
+
event_id: string
|
|
44747
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
44748
|
+
workspace_id: string
|
|
44749
|
+
/** Date and time at which the event was created. */
|
|
44750
|
+
created_at: string
|
|
44751
|
+
/** Date and time at which the event occurred. */
|
|
44752
|
+
occurred_at: string
|
|
44753
|
+
/** ID of the affected space. */
|
|
44754
|
+
space_id: string
|
|
44755
|
+
/** Type of the event. */
|
|
44756
|
+
event_type: 'space.device_membership_changed'
|
|
44757
|
+
/** Unique key for the space within the workspace. */
|
|
44758
|
+
space_key?: string | undefined
|
|
44759
|
+
/** IDs of all devices currently attached to the space. */
|
|
44760
|
+
device_ids: string[]
|
|
44761
|
+
/** IDs of all ACS entrances currently attached to the space. */
|
|
44762
|
+
acs_entrance_ids: string[]
|
|
44763
|
+
}
|
|
44722
44764
|
)
|
|
44723
44765
|
| undefined
|
|
44724
44766
|
message?: string | undefined
|
|
@@ -44845,6 +44887,7 @@ export type Routes = {
|
|
|
44845
44887
|
| 'device.name_changed'
|
|
44846
44888
|
| 'enrollment_automation.deleted'
|
|
44847
44889
|
| 'phone.deactivated'
|
|
44890
|
+
| 'space.device_membership_changed'
|
|
44848
44891
|
)
|
|
44849
44892
|
| undefined
|
|
44850
44893
|
/** Types of the events that you want to list. */
|
|
@@ -44942,6 +44985,7 @@ export type Routes = {
|
|
|
44942
44985
|
| 'device.name_changed'
|
|
44943
44986
|
| 'enrollment_automation.deleted'
|
|
44944
44987
|
| 'phone.deactivated'
|
|
44988
|
+
| 'space.device_membership_changed'
|
|
44945
44989
|
)[]
|
|
44946
44990
|
| undefined
|
|
44947
44991
|
/** ID of the connected account for which you want to list events. */
|
|
@@ -47177,6 +47221,26 @@ export type Routes = {
|
|
|
47177
47221
|
| undefined
|
|
47178
47222
|
event_type: 'phone.deactivated'
|
|
47179
47223
|
}
|
|
47224
|
+
| {
|
|
47225
|
+
/** ID of the event. */
|
|
47226
|
+
event_id: string
|
|
47227
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
47228
|
+
workspace_id: string
|
|
47229
|
+
/** Date and time at which the event was created. */
|
|
47230
|
+
created_at: string
|
|
47231
|
+
/** Date and time at which the event occurred. */
|
|
47232
|
+
occurred_at: string
|
|
47233
|
+
/** ID of the affected space. */
|
|
47234
|
+
space_id: string
|
|
47235
|
+
/** Type of the event. */
|
|
47236
|
+
event_type: 'space.device_membership_changed'
|
|
47237
|
+
/** Unique key for the space within the workspace. */
|
|
47238
|
+
space_key?: string | undefined
|
|
47239
|
+
/** IDs of all devices currently attached to the space. */
|
|
47240
|
+
device_ids: string[]
|
|
47241
|
+
/** IDs of all ACS entrances currently attached to the space. */
|
|
47242
|
+
acs_entrance_ids: string[]
|
|
47243
|
+
}
|
|
47180
47244
|
)[]
|
|
47181
47245
|
}
|
|
47182
47246
|
}
|
|
@@ -68035,10 +68099,11 @@ export type Routes = {
|
|
|
68035
68099
|
/** Instance-specific configuration for the connector */
|
|
68036
68100
|
config:
|
|
68037
68101
|
| {
|
|
68038
|
-
client_token
|
|
68039
|
-
access_token
|
|
68040
|
-
client
|
|
68102
|
+
client_token?: string | undefined
|
|
68103
|
+
access_token?: string | undefined
|
|
68104
|
+
client?: string
|
|
68041
68105
|
enterprise_ids?: string[] | undefined
|
|
68106
|
+
enterprise_id?: string | undefined
|
|
68042
68107
|
}
|
|
68043
68108
|
| {}
|
|
68044
68109
|
}
|
|
@@ -68186,6 +68251,7 @@ export type Routes = {
|
|
|
68186
68251
|
| 'device.name_changed'
|
|
68187
68252
|
| 'enrollment_automation.deleted'
|
|
68188
68253
|
| 'phone.deactivated'
|
|
68254
|
+
| 'space.device_membership_changed'
|
|
68189
68255
|
)
|
|
68190
68256
|
| undefined
|
|
68191
68257
|
/** Types of the events that you want to list. */
|
|
@@ -68283,6 +68349,7 @@ export type Routes = {
|
|
|
68283
68349
|
| 'device.name_changed'
|
|
68284
68350
|
| 'enrollment_automation.deleted'
|
|
68285
68351
|
| 'phone.deactivated'
|
|
68352
|
+
| 'space.device_membership_changed'
|
|
68286
68353
|
)[]
|
|
68287
68354
|
| undefined
|
|
68288
68355
|
/** Numerical limit on the number of events to return. */
|
|
@@ -70512,6 +70579,26 @@ export type Routes = {
|
|
|
70512
70579
|
| undefined
|
|
70513
70580
|
event_type: 'phone.deactivated'
|
|
70514
70581
|
}
|
|
70582
|
+
| {
|
|
70583
|
+
/** ID of the event. */
|
|
70584
|
+
event_id: string
|
|
70585
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
70586
|
+
workspace_id: string
|
|
70587
|
+
/** Date and time at which the event was created. */
|
|
70588
|
+
created_at: string
|
|
70589
|
+
/** Date and time at which the event occurred. */
|
|
70590
|
+
occurred_at: string
|
|
70591
|
+
/** ID of the affected space. */
|
|
70592
|
+
space_id: string
|
|
70593
|
+
/** Type of the event. */
|
|
70594
|
+
event_type: 'space.device_membership_changed'
|
|
70595
|
+
/** Unique key for the space within the workspace. */
|
|
70596
|
+
space_key?: string | undefined
|
|
70597
|
+
/** IDs of all devices currently attached to the space. */
|
|
70598
|
+
device_ids: string[]
|
|
70599
|
+
/** IDs of all ACS entrances currently attached to the space. */
|
|
70600
|
+
acs_entrance_ids: string[]
|
|
70601
|
+
}
|
|
70515
70602
|
)[]
|
|
70516
70603
|
}
|
|
70517
70604
|
}
|
|
@@ -70891,19 +70978,6 @@ export type Routes = {
|
|
|
70891
70978
|
}
|
|
70892
70979
|
}
|
|
70893
70980
|
}
|
|
70894
|
-
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
70895
|
-
route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]'
|
|
70896
|
-
method: 'POST'
|
|
70897
|
-
queryParams: {}
|
|
70898
|
-
jsonBody: {}
|
|
70899
|
-
commonParams: {}
|
|
70900
|
-
formData: {}
|
|
70901
|
-
jsonResponse: {
|
|
70902
|
-
success: boolean
|
|
70903
|
-
processed_events: number
|
|
70904
|
-
error?: string | undefined
|
|
70905
|
-
}
|
|
70906
|
-
}
|
|
70907
70981
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
70908
70982
|
route: '/seam/instant_key/v1/client_sessions/exchange_short_code'
|
|
70909
70983
|
method: 'POST'
|
|
@@ -104170,6 +104244,26 @@ export type Routes = {
|
|
|
104170
104244
|
| undefined
|
|
104171
104245
|
event_type: 'phone.deactivated'
|
|
104172
104246
|
}
|
|
104247
|
+
| {
|
|
104248
|
+
/** ID of the event. */
|
|
104249
|
+
event_id: string
|
|
104250
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
104251
|
+
workspace_id: string
|
|
104252
|
+
/** Date and time at which the event was created. */
|
|
104253
|
+
created_at: string
|
|
104254
|
+
/** Date and time at which the event occurred. */
|
|
104255
|
+
occurred_at: string
|
|
104256
|
+
/** ID of the affected space. */
|
|
104257
|
+
space_id: string
|
|
104258
|
+
/** Type of the event. */
|
|
104259
|
+
event_type: 'space.device_membership_changed'
|
|
104260
|
+
/** Unique key for the space within the workspace. */
|
|
104261
|
+
space_key?: string | undefined
|
|
104262
|
+
/** IDs of all devices currently attached to the space. */
|
|
104263
|
+
device_ids: string[]
|
|
104264
|
+
/** IDs of all ACS entrances currently attached to the space. */
|
|
104265
|
+
acs_entrance_ids: string[]
|
|
104266
|
+
}
|
|
104173
104267
|
)[]
|
|
104174
104268
|
| undefined
|
|
104175
104269
|
instant_keys?:
|