@seamapi/types 1.454.0 → 1.456.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 +20 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +57 -37
- package/dist/index.cjs +20 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -3
- package/lib/seam/connect/models/access-grants/access-method.js +4 -1
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
- package/lib/seam/connect/models/phones/phone-session.d.ts +10 -10
- package/lib/seam/connect/openapi.d.ts +5 -0
- package/lib/seam/connect/openapi.js +19 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +4 -1
- package/src/lib/seam/connect/openapi.ts +20 -0
- package/src/lib/seam/connect/route-types.ts +17 -4
|
@@ -14046,7 +14046,9 @@ export interface Routes {
|
|
|
14046
14046
|
/** Date and time at which the access method was created. */
|
|
14047
14047
|
created_at: string;
|
|
14048
14048
|
/** Date and time at which the access method was issued. */
|
|
14049
|
-
issued_at
|
|
14049
|
+
issued_at: string | null;
|
|
14050
|
+
/** Indicates whether the access method has been issued. */
|
|
14051
|
+
is_issued: boolean;
|
|
14050
14052
|
/** URL of the Instant Key for mobile key access methods. */
|
|
14051
14053
|
instant_key_url?: string | undefined;
|
|
14052
14054
|
/** Token of the client session associated with the access method. */
|
|
@@ -14087,7 +14089,9 @@ export interface Routes {
|
|
|
14087
14089
|
/** Date and time at which the access method was created. */
|
|
14088
14090
|
created_at: string;
|
|
14089
14091
|
/** Date and time at which the access method was issued. */
|
|
14090
|
-
issued_at
|
|
14092
|
+
issued_at: string | null;
|
|
14093
|
+
/** Indicates whether the access method has been issued. */
|
|
14094
|
+
is_issued: boolean;
|
|
14091
14095
|
/** URL of the Instant Key for mobile key access methods. */
|
|
14092
14096
|
instant_key_url?: string | undefined;
|
|
14093
14097
|
/** Token of the client session associated with the access method. */
|
|
@@ -64678,6 +64682,10 @@ export interface Routes {
|
|
|
64678
64682
|
heating_set_point_celsius?: number | undefined;
|
|
64679
64683
|
/** [Heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `heating_set_point` parameters. */
|
|
64680
64684
|
heating_set_point_fahrenheit?: number | undefined;
|
|
64685
|
+
} | {
|
|
64686
|
+
hvac_mode_setting: 'eco';
|
|
64687
|
+
/** ID of the thermostat device for which you want to set the HVAC mode. */
|
|
64688
|
+
device_id: string;
|
|
64681
64689
|
};
|
|
64682
64690
|
commonParams: {};
|
|
64683
64691
|
formData: {};
|
|
@@ -67590,7 +67598,9 @@ export interface Routes {
|
|
|
67590
67598
|
/** Date and time at which the access method was created. */
|
|
67591
67599
|
created_at: string;
|
|
67592
67600
|
/** Date and time at which the access method was issued. */
|
|
67593
|
-
issued_at
|
|
67601
|
+
issued_at: string | null;
|
|
67602
|
+
/** Indicates whether the access method has been issued. */
|
|
67603
|
+
is_issued: boolean;
|
|
67594
67604
|
/** URL of the Instant Key for mobile key access methods. */
|
|
67595
67605
|
instant_key_url?: string | undefined;
|
|
67596
67606
|
/** Token of the client session associated with the access method. */
|
|
@@ -67625,7 +67635,9 @@ export interface Routes {
|
|
|
67625
67635
|
/** Date and time at which the access method was created. */
|
|
67626
67636
|
created_at: string;
|
|
67627
67637
|
/** Date and time at which the access method was issued. */
|
|
67628
|
-
issued_at
|
|
67638
|
+
issued_at: string | null;
|
|
67639
|
+
/** Indicates whether the access method has been issued. */
|
|
67640
|
+
is_issued: boolean;
|
|
67629
67641
|
/** URL of the Instant Key for mobile key access methods. */
|
|
67630
67642
|
instant_key_url?: string | undefined;
|
|
67631
67643
|
/** Token of the client session associated with the access method. */
|
package/package.json
CHANGED
|
@@ -19,8 +19,11 @@ export const access_method = z.object({
|
|
|
19
19
|
issued_at: z
|
|
20
20
|
.string()
|
|
21
21
|
.datetime()
|
|
22
|
-
.
|
|
22
|
+
.nullable()
|
|
23
23
|
.describe('Date and time at which the access method was issued.'),
|
|
24
|
+
is_issued: z
|
|
25
|
+
.boolean()
|
|
26
|
+
.describe('Indicates whether the access method has been issued.'),
|
|
24
27
|
instant_key_url: z
|
|
25
28
|
.string()
|
|
26
29
|
.url()
|
|
@@ -1987,9 +1987,14 @@ export default {
|
|
|
1987
1987
|
'Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.',
|
|
1988
1988
|
type: 'boolean',
|
|
1989
1989
|
},
|
|
1990
|
+
is_issued: {
|
|
1991
|
+
description: 'Indicates whether the access method has been issued.',
|
|
1992
|
+
type: 'boolean',
|
|
1993
|
+
},
|
|
1990
1994
|
issued_at: {
|
|
1991
1995
|
description: 'Date and time at which the access method was issued.',
|
|
1992
1996
|
format: 'date-time',
|
|
1997
|
+
nullable: true,
|
|
1993
1998
|
type: 'string',
|
|
1994
1999
|
},
|
|
1995
2000
|
mode: {
|
|
@@ -2011,6 +2016,8 @@ export default {
|
|
|
2011
2016
|
'display_name',
|
|
2012
2017
|
'mode',
|
|
2013
2018
|
'created_at',
|
|
2019
|
+
'issued_at',
|
|
2020
|
+
'is_issued',
|
|
2014
2021
|
],
|
|
2015
2022
|
type: 'object',
|
|
2016
2023
|
'x-draft': 'Early access.',
|
|
@@ -50905,6 +50912,19 @@ export default {
|
|
|
50905
50912
|
required: ['hvac_mode_setting', 'device_id'],
|
|
50906
50913
|
type: 'object',
|
|
50907
50914
|
},
|
|
50915
|
+
{
|
|
50916
|
+
properties: {
|
|
50917
|
+
device_id: {
|
|
50918
|
+
description:
|
|
50919
|
+
'ID of the thermostat device for which you want to set the HVAC mode.',
|
|
50920
|
+
format: 'uuid',
|
|
50921
|
+
type: 'string',
|
|
50922
|
+
},
|
|
50923
|
+
hvac_mode_setting: { enum: ['eco'], type: 'string' },
|
|
50924
|
+
},
|
|
50925
|
+
required: ['hvac_mode_setting', 'device_id'],
|
|
50926
|
+
type: 'object',
|
|
50927
|
+
},
|
|
50908
50928
|
],
|
|
50909
50929
|
},
|
|
50910
50930
|
},
|
|
@@ -16193,7 +16193,9 @@ export interface Routes {
|
|
|
16193
16193
|
/** Date and time at which the access method was created. */
|
|
16194
16194
|
created_at: string
|
|
16195
16195
|
/** Date and time at which the access method was issued. */
|
|
16196
|
-
issued_at
|
|
16196
|
+
issued_at: string | null
|
|
16197
|
+
/** Indicates whether the access method has been issued. */
|
|
16198
|
+
is_issued: boolean
|
|
16197
16199
|
/** URL of the Instant Key for mobile key access methods. */
|
|
16198
16200
|
instant_key_url?: string | undefined
|
|
16199
16201
|
/** Token of the client session associated with the access method. */
|
|
@@ -16234,7 +16236,9 @@ export interface Routes {
|
|
|
16234
16236
|
/** Date and time at which the access method was created. */
|
|
16235
16237
|
created_at: string
|
|
16236
16238
|
/** Date and time at which the access method was issued. */
|
|
16237
|
-
issued_at
|
|
16239
|
+
issued_at: string | null
|
|
16240
|
+
/** Indicates whether the access method has been issued. */
|
|
16241
|
+
is_issued: boolean
|
|
16238
16242
|
/** URL of the Instant Key for mobile key access methods. */
|
|
16239
16243
|
instant_key_url?: string | undefined
|
|
16240
16244
|
/** Token of the client session associated with the access method. */
|
|
@@ -76783,6 +76787,11 @@ export interface Routes {
|
|
|
76783
76787
|
/** [Heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `heating_set_point` parameters. */
|
|
76784
76788
|
heating_set_point_fahrenheit?: number | undefined
|
|
76785
76789
|
}
|
|
76790
|
+
| {
|
|
76791
|
+
hvac_mode_setting: 'eco'
|
|
76792
|
+
/** ID of the thermostat device for which you want to set the HVAC mode. */
|
|
76793
|
+
device_id: string
|
|
76794
|
+
}
|
|
76786
76795
|
commonParams: {}
|
|
76787
76796
|
formData: {}
|
|
76788
76797
|
jsonResponse: {
|
|
@@ -80071,7 +80080,9 @@ export interface Routes {
|
|
|
80071
80080
|
/** Date and time at which the access method was created. */
|
|
80072
80081
|
created_at: string
|
|
80073
80082
|
/** Date and time at which the access method was issued. */
|
|
80074
|
-
issued_at
|
|
80083
|
+
issued_at: string | null
|
|
80084
|
+
/** Indicates whether the access method has been issued. */
|
|
80085
|
+
is_issued: boolean
|
|
80075
80086
|
/** URL of the Instant Key for mobile key access methods. */
|
|
80076
80087
|
instant_key_url?: string | undefined
|
|
80077
80088
|
/** Token of the client session associated with the access method. */
|
|
@@ -80106,7 +80117,9 @@ export interface Routes {
|
|
|
80106
80117
|
/** Date and time at which the access method was created. */
|
|
80107
80118
|
created_at: string
|
|
80108
80119
|
/** Date and time at which the access method was issued. */
|
|
80109
|
-
issued_at
|
|
80120
|
+
issued_at: string | null
|
|
80121
|
+
/** Indicates whether the access method has been issued. */
|
|
80122
|
+
is_issued: boolean
|
|
80110
80123
|
/** URL of the Instant Key for mobile key access methods. */
|
|
80111
80124
|
instant_key_url?: string | undefined
|
|
80112
80125
|
/** Token of the client session associated with the access method. */
|