@seamapi/types 1.502.0 → 1.504.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 +331 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +333 -0
- package/dist/index.cjs +331 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +3 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +4 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +3 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +1 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -0
- package/lib/seam/connect/models/customer/customer-delete-data.d.ts +57 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js +75 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js.map +1 -0
- package/lib/seam/connect/models/customer/index.d.ts +1 -0
- package/lib/seam/connect/models/customer/index.js +1 -0
- package/lib/seam/connect/models/customer/index.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +247 -0
- package/lib/seam/connect/openapi.js +327 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +70 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +6 -0
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +1 -0
- package/src/lib/seam/connect/models/customer/customer-delete-data.ts +79 -0
- package/src/lib/seam/connect/models/customer/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +331 -0
- package/src/lib/seam/connect/route-types.ts +70 -0
|
@@ -1482,6 +1482,8 @@ export type Routes = {
|
|
|
1482
1482
|
|
|
1483
1483
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
1484
1484
|
access_code: {
|
|
1485
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
1486
|
+
workspace_id: string
|
|
1485
1487
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
1486
1488
|
common_code_key: string | null
|
|
1487
1489
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -2091,6 +2093,8 @@ export type Routes = {
|
|
|
2091
2093
|
formData: {}
|
|
2092
2094
|
jsonResponse: {
|
|
2093
2095
|
access_codes: {
|
|
2096
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
2097
|
+
workspace_id: string
|
|
2094
2098
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
2095
2099
|
common_code_key: string | null
|
|
2096
2100
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -4135,6 +4139,8 @@ export type Routes = {
|
|
|
4135
4139
|
|
|
4136
4140
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
4137
4141
|
access_code: {
|
|
4142
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
4143
|
+
workspace_id: string
|
|
4138
4144
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
4139
4145
|
common_code_key: string | null
|
|
4140
4146
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -4717,6 +4723,8 @@ export type Routes = {
|
|
|
4717
4723
|
formData: {}
|
|
4718
4724
|
jsonResponse: {
|
|
4719
4725
|
access_codes: {
|
|
4726
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
4727
|
+
workspace_id: string
|
|
4720
4728
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
4721
4729
|
common_code_key: string | null
|
|
4722
4730
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -5306,6 +5314,8 @@ export type Routes = {
|
|
|
5306
5314
|
|
|
5307
5315
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
5308
5316
|
backup_access_code: {
|
|
5317
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
5318
|
+
workspace_id: string
|
|
5309
5319
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
5310
5320
|
common_code_key: string | null
|
|
5311
5321
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -5873,6 +5883,8 @@ export type Routes = {
|
|
|
5873
5883
|
|
|
5874
5884
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
5875
5885
|
access_code: {
|
|
5886
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
5887
|
+
workspace_id: string
|
|
5876
5888
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
5877
5889
|
common_code_key: string | null
|
|
5878
5890
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -6479,6 +6491,8 @@ export type Routes = {
|
|
|
6479
6491
|
|
|
6480
6492
|
- [Kwikset](https://docs.seam.co/latest/device-and-system-integration-guides/kwikset-locks) */
|
|
6481
6493
|
access_code: {
|
|
6494
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
6495
|
+
workspace_id: string
|
|
6482
6496
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
6483
6497
|
type: 'time_bound' | 'ongoing'
|
|
6484
6498
|
/** Unique identifier for the access code. */
|
|
@@ -8510,6 +8524,8 @@ export type Routes = {
|
|
|
8510
8524
|
|
|
8511
8525
|
- [Kwikset](https://docs.seam.co/latest/device-and-system-integration-guides/kwikset-locks) */
|
|
8512
8526
|
access_code: {
|
|
8527
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
8528
|
+
workspace_id: string
|
|
8513
8529
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
8514
8530
|
type: 'time_bound' | 'ongoing'
|
|
8515
8531
|
/** Unique identifier for the access code. */
|
|
@@ -9071,6 +9087,8 @@ export type Routes = {
|
|
|
9071
9087
|
formData: {}
|
|
9072
9088
|
jsonResponse: {
|
|
9073
9089
|
access_codes: {
|
|
9090
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
9091
|
+
workspace_id: string
|
|
9074
9092
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
9075
9093
|
type: 'time_bound' | 'ongoing'
|
|
9076
9094
|
/** Unique identifier for the access code. */
|
|
@@ -22132,6 +22150,8 @@ export type Routes = {
|
|
|
22132
22150
|
| undefined
|
|
22133
22151
|
access_codes?:
|
|
22134
22152
|
| {
|
|
22153
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
22154
|
+
workspace_id: string
|
|
22135
22155
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
22136
22156
|
common_code_key: string | null
|
|
22137
22157
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -22694,6 +22714,8 @@ export type Routes = {
|
|
|
22694
22714
|
| undefined
|
|
22695
22715
|
unmanaged_access_codes?:
|
|
22696
22716
|
| {
|
|
22717
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
22718
|
+
workspace_id: string
|
|
22697
22719
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
22698
22720
|
type: 'time_bound' | 'ongoing'
|
|
22699
22721
|
/** Unique identifier for the access code. */
|
|
@@ -36117,6 +36139,50 @@ export type Routes = {
|
|
|
36117
36139
|
}
|
|
36118
36140
|
}
|
|
36119
36141
|
}
|
|
36142
|
+
'/customers/delete_data': {
|
|
36143
|
+
route: '/customers/delete_data'
|
|
36144
|
+
method: 'DELETE' | 'POST'
|
|
36145
|
+
queryParams: {}
|
|
36146
|
+
jsonBody: {}
|
|
36147
|
+
commonParams: {
|
|
36148
|
+
/** List of space keys to delete. */
|
|
36149
|
+
space_keys?: string[] | undefined
|
|
36150
|
+
/** List of property keys to delete. */
|
|
36151
|
+
property_keys?: string[] | undefined
|
|
36152
|
+
/** List of room keys to delete. */
|
|
36153
|
+
room_keys?: string[] | undefined
|
|
36154
|
+
/** List of common area keys to delete. */
|
|
36155
|
+
common_area_keys?: string[] | undefined
|
|
36156
|
+
/** List of unit keys to delete. */
|
|
36157
|
+
unit_keys?: string[] | undefined
|
|
36158
|
+
/** List of facility keys to delete. */
|
|
36159
|
+
facility_keys?: string[] | undefined
|
|
36160
|
+
/** List of building keys to delete. */
|
|
36161
|
+
building_keys?: string[] | undefined
|
|
36162
|
+
/** List of listing keys to delete. */
|
|
36163
|
+
listing_keys?: string[] | undefined
|
|
36164
|
+
/** List of property listing keys to delete. */
|
|
36165
|
+
property_listing_keys?: string[] | undefined
|
|
36166
|
+
/** List of guest keys to delete. */
|
|
36167
|
+
guest_keys?: string[] | undefined
|
|
36168
|
+
/** List of tenant keys to delete. */
|
|
36169
|
+
tenant_keys?: string[] | undefined
|
|
36170
|
+
/** List of resident keys to delete. */
|
|
36171
|
+
resident_keys?: string[] | undefined
|
|
36172
|
+
/** List of user keys to delete. */
|
|
36173
|
+
user_keys?: string[] | undefined
|
|
36174
|
+
/** List of user identity keys to delete. */
|
|
36175
|
+
user_identity_keys?: string[] | undefined
|
|
36176
|
+
/** List of reservation keys to delete. */
|
|
36177
|
+
reservation_keys?: string[] | undefined
|
|
36178
|
+
/** List of booking keys to delete. */
|
|
36179
|
+
booking_keys?: string[] | undefined
|
|
36180
|
+
/** List of access grant keys to delete. */
|
|
36181
|
+
access_grant_keys?: string[] | undefined
|
|
36182
|
+
}
|
|
36183
|
+
formData: {}
|
|
36184
|
+
jsonResponse: {}
|
|
36185
|
+
}
|
|
36120
36186
|
'/customers/push_data': {
|
|
36121
36187
|
route: '/customers/push_data'
|
|
36122
36188
|
method: 'POST'
|
|
@@ -100394,6 +100460,8 @@ export type Routes = {
|
|
|
100394
100460
|
| undefined
|
|
100395
100461
|
access_codes?:
|
|
100396
100462
|
| {
|
|
100463
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
100464
|
+
workspace_id: string
|
|
100397
100465
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
100398
100466
|
common_code_key: string | null
|
|
100399
100467
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -100956,6 +101024,8 @@ export type Routes = {
|
|
|
100956
101024
|
| undefined
|
|
100957
101025
|
unmanaged_access_codes?:
|
|
100958
101026
|
| {
|
|
101027
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
101028
|
+
workspace_id: string
|
|
100959
101029
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
100960
101030
|
type: 'time_bound' | 'ongoing'
|
|
100961
101031
|
/** Unique identifier for the access code. */
|