@seamapi/types 1.920.0 → 1.921.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 +0 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2 -2
- package/dist/index.cjs +0 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +0 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +0 -4
- package/src/lib/seam/connect/route-types.ts +4 -2
|
@@ -43,7 +43,7 @@ export type Routes = {
|
|
|
43
43
|
/** Indicates whether the [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) is a single-use access code. */
|
|
44
44
|
is_one_time_use?: boolean | undefined;
|
|
45
45
|
/** Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`. */
|
|
46
|
-
max_time_rounding?: '1hour' | '1day' | '1h' | '1d';
|
|
46
|
+
max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined;
|
|
47
47
|
};
|
|
48
48
|
commonParams: {};
|
|
49
49
|
formData: {};
|
|
@@ -9848,7 +9848,7 @@ export type Routes = {
|
|
|
9848
9848
|
/** Indicates whether the [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) is a single-use access code. */
|
|
9849
9849
|
is_one_time_use?: boolean | undefined;
|
|
9850
9850
|
/** Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`. */
|
|
9851
|
-
max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined;
|
|
9851
|
+
max_time_rounding?: (('1hour' | '1day' | '1h' | '1d') | undefined) | undefined;
|
|
9852
9852
|
/** ID of the access code that you want to update. */
|
|
9853
9853
|
access_code_id: string;
|
|
9854
9854
|
/** ID of the device containing the access code that you want to update. */
|
package/package.json
CHANGED
|
@@ -34342,7 +34342,6 @@ const openapi: OpenAPISpec = {
|
|
|
34342
34342
|
type: 'boolean',
|
|
34343
34343
|
},
|
|
34344
34344
|
max_time_rounding: {
|
|
34345
|
-
default: '1hour',
|
|
34346
34345
|
description:
|
|
34347
34346
|
'Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.',
|
|
34348
34347
|
enum: ['1hour', '1day', '1h', '1d'],
|
|
@@ -36781,7 +36780,6 @@ const openapi: OpenAPISpec = {
|
|
|
36781
36780
|
type: 'boolean',
|
|
36782
36781
|
},
|
|
36783
36782
|
max_time_rounding: {
|
|
36784
|
-
default: '1hour',
|
|
36785
36783
|
description:
|
|
36786
36784
|
'Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.',
|
|
36787
36785
|
enum: ['1hour', '1day', '1h', '1d'],
|
|
@@ -36935,7 +36933,6 @@ const openapi: OpenAPISpec = {
|
|
|
36935
36933
|
type: 'boolean',
|
|
36936
36934
|
},
|
|
36937
36935
|
max_time_rounding: {
|
|
36938
|
-
default: '1hour',
|
|
36939
36936
|
description:
|
|
36940
36937
|
'Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.',
|
|
36941
36938
|
enum: ['1hour', '1day', '1h', '1d'],
|
|
@@ -37089,7 +37086,6 @@ const openapi: OpenAPISpec = {
|
|
|
37089
37086
|
type: 'boolean',
|
|
37090
37087
|
},
|
|
37091
37088
|
max_time_rounding: {
|
|
37092
|
-
default: '1hour',
|
|
37093
37089
|
description:
|
|
37094
37090
|
'Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.',
|
|
37095
37091
|
enum: ['1hour', '1day', '1h', '1d'],
|
|
@@ -43,7 +43,7 @@ export type Routes = {
|
|
|
43
43
|
/** Indicates whether the [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) is a single-use access code. */
|
|
44
44
|
is_one_time_use?: boolean | undefined
|
|
45
45
|
/** Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`. */
|
|
46
|
-
max_time_rounding?: '1hour' | '1day' | '1h' | '1d'
|
|
46
|
+
max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined
|
|
47
47
|
}
|
|
48
48
|
commonParams: {}
|
|
49
49
|
formData: {}
|
|
@@ -11161,7 +11161,9 @@ export type Routes = {
|
|
|
11161
11161
|
/** Indicates whether the [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) is a single-use access code. */
|
|
11162
11162
|
is_one_time_use?: boolean | undefined
|
|
11163
11163
|
/** Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`. */
|
|
11164
|
-
max_time_rounding?:
|
|
11164
|
+
max_time_rounding?:
|
|
11165
|
+
| (('1hour' | '1day' | '1h' | '1d') | undefined)
|
|
11166
|
+
| undefined
|
|
11165
11167
|
/** ID of the access code that you want to update. */
|
|
11166
11168
|
access_code_id: string
|
|
11167
11169
|
/** ID of the device containing the access code that you want to update. */
|