@seamapi/types 1.402.0 → 1.403.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 +14 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +11 -4
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +5 -0
- package/lib/seam/connect/openapi.js +10 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +6 -4
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +11 -5
- package/src/lib/seam/connect/route-types.ts +6 -4
|
@@ -14396,8 +14396,10 @@ export interface Routes {
|
|
|
14396
14396
|
jsonBody: {
|
|
14397
14397
|
/** ID of the entrance to which you want to grant an access system user access. */
|
|
14398
14398
|
acs_entrance_id: string;
|
|
14399
|
-
/** ID of the
|
|
14400
|
-
|
|
14399
|
+
/** ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
|
|
14400
|
+
user_identity_id?: string | undefined;
|
|
14401
|
+
/** ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. */
|
|
14402
|
+
acs_user_id?: string | undefined;
|
|
14401
14403
|
};
|
|
14402
14404
|
commonParams: {};
|
|
14403
14405
|
formData: {};
|
|
@@ -39918,7 +39920,7 @@ export interface Routes {
|
|
|
39918
39920
|
/** ID of the thermostat device for which you want to create a daily program. */
|
|
39919
39921
|
device_id: string;
|
|
39920
39922
|
/** User-friendly name to identify the thermostat daily program. */
|
|
39921
|
-
name
|
|
39923
|
+
name: string;
|
|
39922
39924
|
/** Array of thermostat daily program periods. */
|
|
39923
39925
|
periods: Array<{
|
|
39924
39926
|
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -39972,7 +39974,7 @@ export interface Routes {
|
|
|
39972
39974
|
/** ID of the thermostat daily program that you want to update. */
|
|
39973
39975
|
thermostat_daily_program_id: string;
|
|
39974
39976
|
/** User-friendly name to identify the thermostat daily program that you want to update. */
|
|
39975
|
-
name
|
|
39977
|
+
name: string;
|
|
39976
39978
|
/** Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program. */
|
|
39977
39979
|
periods: Array<{
|
|
39978
39980
|
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.403.0",
|
|
4
4
|
"description": "TypeScript types for the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"zod": "^3.24.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@seamapi/blueprint": "^0.
|
|
95
|
+
"@seamapi/blueprint": "^0.43.2",
|
|
96
96
|
"@types/node": "^20.8.10",
|
|
97
97
|
"concurrently": "^8.2.0",
|
|
98
98
|
"del-cli": "^5.0.0",
|
|
@@ -72,6 +72,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
72
72
|
'yale',
|
|
73
73
|
'nuki',
|
|
74
74
|
'salto',
|
|
75
|
+
'salto_space',
|
|
75
76
|
'controlbyweb',
|
|
76
77
|
'minut',
|
|
77
78
|
'my_2n',
|
|
@@ -92,6 +93,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
92
93
|
'latch',
|
|
93
94
|
'akiles',
|
|
94
95
|
'sensi',
|
|
96
|
+
'assa_abloy_vostio',
|
|
95
97
|
],
|
|
96
98
|
|
|
97
99
|
consumer_smartlocks: [
|
|
@@ -119,7 +121,6 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
119
121
|
'salto_ks',
|
|
120
122
|
'assa_abloy_vostio',
|
|
121
123
|
'salto_space',
|
|
122
|
-
'assa_abloy_vostio',
|
|
123
124
|
],
|
|
124
125
|
|
|
125
126
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
@@ -24074,12 +24074,18 @@ export default {
|
|
|
24074
24074
|
},
|
|
24075
24075
|
acs_user_id: {
|
|
24076
24076
|
description:
|
|
24077
|
-
'ID of the access system user to whom you want to grant access to an entrance.',
|
|
24077
|
+
'ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id.',
|
|
24078
|
+
format: 'uuid',
|
|
24079
|
+
type: 'string',
|
|
24080
|
+
},
|
|
24081
|
+
user_identity_id: {
|
|
24082
|
+
description:
|
|
24083
|
+
'ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.',
|
|
24078
24084
|
format: 'uuid',
|
|
24079
24085
|
type: 'string',
|
|
24080
24086
|
},
|
|
24081
24087
|
},
|
|
24082
|
-
required: ['acs_entrance_id'
|
|
24088
|
+
required: ['acs_entrance_id'],
|
|
24083
24089
|
type: 'object',
|
|
24084
24090
|
},
|
|
24085
24091
|
},
|
|
@@ -31754,7 +31760,7 @@ export default {
|
|
|
31754
31760
|
type: 'array',
|
|
31755
31761
|
},
|
|
31756
31762
|
},
|
|
31757
|
-
required: ['device_id', 'periods'],
|
|
31763
|
+
required: ['device_id', 'name', 'periods'],
|
|
31758
31764
|
type: 'object',
|
|
31759
31765
|
},
|
|
31760
31766
|
},
|
|
@@ -31961,7 +31967,7 @@ export default {
|
|
|
31961
31967
|
type: 'string',
|
|
31962
31968
|
},
|
|
31963
31969
|
},
|
|
31964
|
-
required: ['thermostat_daily_program_id', 'periods'],
|
|
31970
|
+
required: ['thermostat_daily_program_id', 'name', 'periods'],
|
|
31965
31971
|
type: 'object',
|
|
31966
31972
|
},
|
|
31967
31973
|
},
|
|
@@ -32046,7 +32052,7 @@ export default {
|
|
|
32046
32052
|
type: 'string',
|
|
32047
32053
|
},
|
|
32048
32054
|
},
|
|
32049
|
-
required: ['thermostat_daily_program_id', 'periods'],
|
|
32055
|
+
required: ['thermostat_daily_program_id', 'name', 'periods'],
|
|
32050
32056
|
type: 'object',
|
|
32051
32057
|
},
|
|
32052
32058
|
},
|
|
@@ -16619,8 +16619,10 @@ export interface Routes {
|
|
|
16619
16619
|
jsonBody: {
|
|
16620
16620
|
/** ID of the entrance to which you want to grant an access system user access. */
|
|
16621
16621
|
acs_entrance_id: string
|
|
16622
|
-
/** ID of the
|
|
16623
|
-
|
|
16622
|
+
/** ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
|
|
16623
|
+
user_identity_id?: string | undefined
|
|
16624
|
+
/** ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. */
|
|
16625
|
+
acs_user_id?: string | undefined
|
|
16624
16626
|
}
|
|
16625
16627
|
commonParams: {}
|
|
16626
16628
|
formData: {}
|
|
@@ -47759,7 +47761,7 @@ export interface Routes {
|
|
|
47759
47761
|
/** ID of the thermostat device for which you want to create a daily program. */
|
|
47760
47762
|
device_id: string
|
|
47761
47763
|
/** User-friendly name to identify the thermostat daily program. */
|
|
47762
|
-
name
|
|
47764
|
+
name: string
|
|
47763
47765
|
/** Array of thermostat daily program periods. */
|
|
47764
47766
|
periods: Array<{
|
|
47765
47767
|
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -47813,7 +47815,7 @@ export interface Routes {
|
|
|
47813
47815
|
/** ID of the thermostat daily program that you want to update. */
|
|
47814
47816
|
thermostat_daily_program_id: string
|
|
47815
47817
|
/** User-friendly name to identify the thermostat daily program that you want to update. */
|
|
47816
|
-
name
|
|
47818
|
+
name: string
|
|
47817
47819
|
/** Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program. */
|
|
47818
47820
|
periods: Array<{
|
|
47819
47821
|
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|