@seamapi/types 1.474.0 → 1.476.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 +396 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +663 -44
- package/dist/index.cjs +396 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +55 -55
- package/lib/seam/connect/models/customization_profiles/customization_profile.d.ts +21 -0
- package/lib/seam/connect/models/customization_profiles/customization_profile.js +9 -0
- package/lib/seam/connect/models/customization_profiles/customization_profile.js.map +1 -0
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +1 -0
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/device.d.ts +7 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- 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 +520 -0
- package/lib/seam/connect/openapi.js +384 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +95 -17
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customization_profiles/customization_profile.ts +11 -0
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +384 -0
- package/src/lib/seam/connect/route-types.ts +95 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -10726,7 +10726,7 @@ export type Routes = {
|
|
|
10726
10726
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
10727
10727
|
code_constraints?: (({
|
|
10728
10728
|
/** Code constraint type for access codes. */
|
|
10729
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
10729
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
10730
10730
|
} | {
|
|
10731
10731
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
10732
10732
|
/** Minimum name length constraint for access codes. */
|
|
@@ -13837,7 +13837,7 @@ export type Routes = {
|
|
|
13837
13837
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
13838
13838
|
code_constraints?: (({
|
|
13839
13839
|
/** Code constraint type for access codes. */
|
|
13840
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
13840
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
13841
13841
|
} | {
|
|
13842
13842
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
13843
13843
|
/** Minimum name length constraint for access codes. */
|
|
@@ -28823,7 +28823,7 @@ export type Routes = {
|
|
|
28823
28823
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
28824
28824
|
code_constraints?: (({
|
|
28825
28825
|
/** Code constraint type for access codes. */
|
|
28826
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
28826
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
28827
28827
|
} | {
|
|
28828
28828
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
28829
28829
|
/** Minimum name length constraint for access codes. */
|
|
@@ -30077,7 +30077,7 @@ export type Routes = {
|
|
|
30077
30077
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
30078
30078
|
code_constraints?: (({
|
|
30079
30079
|
/** Code constraint type for access codes. */
|
|
30080
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
30080
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
30081
30081
|
} | {
|
|
30082
30082
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
30083
30083
|
/** Minimum name length constraint for access codes. */
|
|
@@ -36063,7 +36063,7 @@ export type Routes = {
|
|
|
36063
36063
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
36064
36064
|
code_constraints?: (({
|
|
36065
36065
|
/** Code constraint type for access codes. */
|
|
36066
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
36066
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
36067
36067
|
} | {
|
|
36068
36068
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
36069
36069
|
/** Minimum name length constraint for access codes. */
|
|
@@ -37267,7 +37267,7 @@ export type Routes = {
|
|
|
37267
37267
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
37268
37268
|
code_constraints?: (({
|
|
37269
37269
|
/** Code constraint type for access codes. */
|
|
37270
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
37270
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
37271
37271
|
} | {
|
|
37272
37272
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
37273
37273
|
/** Minimum name length constraint for access codes. */
|
|
@@ -38521,7 +38521,7 @@ export type Routes = {
|
|
|
38521
38521
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
38522
38522
|
code_constraints?: (({
|
|
38523
38523
|
/** Code constraint type for access codes. */
|
|
38524
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
38524
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
38525
38525
|
} | {
|
|
38526
38526
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
38527
38527
|
/** Minimum name length constraint for access codes. */
|
|
@@ -39724,7 +39724,7 @@ export type Routes = {
|
|
|
39724
39724
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
39725
39725
|
code_constraints?: (({
|
|
39726
39726
|
/** Code constraint type for access codes. */
|
|
39727
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
39727
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
39728
39728
|
} | {
|
|
39729
39729
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
39730
39730
|
/** Minimum name length constraint for access codes. */
|
|
@@ -46016,7 +46016,7 @@ export type Routes = {
|
|
|
46016
46016
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
46017
46017
|
code_constraints?: (({
|
|
46018
46018
|
/** Code constraint type for access codes. */
|
|
46019
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
46019
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
46020
46020
|
} | {
|
|
46021
46021
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
46022
46022
|
/** Minimum name length constraint for access codes. */
|
|
@@ -47219,7 +47219,7 @@ export type Routes = {
|
|
|
47219
47219
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
47220
47220
|
code_constraints?: (({
|
|
47221
47221
|
/** Code constraint type for access codes. */
|
|
47222
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
47222
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
47223
47223
|
} | {
|
|
47224
47224
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
47225
47225
|
/** Minimum name length constraint for access codes. */
|
|
@@ -55616,7 +55616,7 @@ export type Routes = {
|
|
|
55616
55616
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
55617
55617
|
code_constraints?: (({
|
|
55618
55618
|
/** Code constraint type for access codes. */
|
|
55619
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
55619
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
55620
55620
|
} | {
|
|
55621
55621
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
55622
55622
|
/** Minimum name length constraint for access codes. */
|
|
@@ -61200,7 +61200,7 @@ export type Routes = {
|
|
|
61200
61200
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
61201
61201
|
code_constraints?: (({
|
|
61202
61202
|
/** Code constraint type for access codes. */
|
|
61203
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
61203
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
61204
61204
|
} | {
|
|
61205
61205
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
61206
61206
|
/** Minimum name length constraint for access codes. */
|
|
@@ -64986,7 +64986,7 @@ export type Routes = {
|
|
|
64986
64986
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
64987
64987
|
code_constraints?: (({
|
|
64988
64988
|
/** Code constraint type for access codes. */
|
|
64989
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
64989
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
64990
64990
|
} | {
|
|
64991
64991
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
64992
64992
|
/** Minimum name length constraint for access codes. */
|
|
@@ -66189,7 +66189,7 @@ export type Routes = {
|
|
|
66189
66189
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
66190
66190
|
code_constraints?: (({
|
|
66191
66191
|
/** Code constraint type for access codes. */
|
|
66192
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
66192
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
66193
66193
|
} | {
|
|
66194
66194
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
66195
66195
|
/** Minimum name length constraint for access codes. */
|
|
@@ -73321,7 +73321,7 @@ export type Routes = {
|
|
|
73321
73321
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
73322
73322
|
code_constraints?: (({
|
|
73323
73323
|
/** Code constraint type for access codes. */
|
|
73324
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
73324
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
73325
73325
|
} | {
|
|
73326
73326
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
73327
73327
|
/** Minimum name length constraint for access codes. */
|
|
@@ -74526,7 +74526,7 @@ export type Routes = {
|
|
|
74526
74526
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
74527
74527
|
code_constraints?: (({
|
|
74528
74528
|
/** Code constraint type for access codes. */
|
|
74529
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
74529
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
74530
74530
|
} | {
|
|
74531
74531
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
74532
74532
|
/** Minimum name length constraint for access codes. */
|
|
@@ -75705,6 +75705,84 @@ export type Routes = {
|
|
|
75705
75705
|
};
|
|
75706
75706
|
};
|
|
75707
75707
|
};
|
|
75708
|
+
'/workspaces/customization_profiles/create': {
|
|
75709
|
+
route: '/workspaces/customization_profiles/create';
|
|
75710
|
+
method: 'POST';
|
|
75711
|
+
queryParams: {};
|
|
75712
|
+
jsonBody: {
|
|
75713
|
+
primary_color: string;
|
|
75714
|
+
secondary_color: string;
|
|
75715
|
+
};
|
|
75716
|
+
commonParams: {};
|
|
75717
|
+
formData: {};
|
|
75718
|
+
jsonResponse: {
|
|
75719
|
+
customization_profile: {
|
|
75720
|
+
workspace_id: string;
|
|
75721
|
+
customization_profile_id: string;
|
|
75722
|
+
logo_url?: string | undefined;
|
|
75723
|
+
primary_color?: string | undefined;
|
|
75724
|
+
secondary_color?: string | undefined;
|
|
75725
|
+
};
|
|
75726
|
+
};
|
|
75727
|
+
};
|
|
75728
|
+
'/workspaces/customization_profiles/get': {
|
|
75729
|
+
route: '/workspaces/customization_profiles/get';
|
|
75730
|
+
method: 'POST' | 'GET';
|
|
75731
|
+
queryParams: {};
|
|
75732
|
+
jsonBody: {};
|
|
75733
|
+
commonParams: {
|
|
75734
|
+
customization_profile_id: string;
|
|
75735
|
+
};
|
|
75736
|
+
formData: {};
|
|
75737
|
+
jsonResponse: {
|
|
75738
|
+
customization_profile: {
|
|
75739
|
+
workspace_id: string;
|
|
75740
|
+
customization_profile_id: string;
|
|
75741
|
+
logo_url?: string | undefined;
|
|
75742
|
+
primary_color?: string | undefined;
|
|
75743
|
+
secondary_color?: string | undefined;
|
|
75744
|
+
};
|
|
75745
|
+
};
|
|
75746
|
+
};
|
|
75747
|
+
'/workspaces/customization_profiles/list': {
|
|
75748
|
+
route: '/workspaces/customization_profiles/list';
|
|
75749
|
+
method: 'POST' | 'GET';
|
|
75750
|
+
queryParams: {};
|
|
75751
|
+
jsonBody: {};
|
|
75752
|
+
commonParams: {};
|
|
75753
|
+
formData: {};
|
|
75754
|
+
jsonResponse: {
|
|
75755
|
+
customization_profiles: {
|
|
75756
|
+
workspace_id: string;
|
|
75757
|
+
customization_profile_id: string;
|
|
75758
|
+
logo_url?: string | undefined;
|
|
75759
|
+
primary_color?: string | undefined;
|
|
75760
|
+
secondary_color?: string | undefined;
|
|
75761
|
+
}[];
|
|
75762
|
+
};
|
|
75763
|
+
};
|
|
75764
|
+
'/workspaces/customization_profiles/update': {
|
|
75765
|
+
route: '/workspaces/customization_profiles/update';
|
|
75766
|
+
method: 'POST' | 'PATCH';
|
|
75767
|
+
queryParams: {};
|
|
75768
|
+
jsonBody: {
|
|
75769
|
+
customization_profile_id: string;
|
|
75770
|
+
primary_color?: string | undefined;
|
|
75771
|
+
secondary_color?: string | undefined;
|
|
75772
|
+
};
|
|
75773
|
+
commonParams: {};
|
|
75774
|
+
formData: {};
|
|
75775
|
+
jsonResponse: {};
|
|
75776
|
+
};
|
|
75777
|
+
'/workspaces/customization_profiles/upload_images': {
|
|
75778
|
+
route: '/workspaces/customization_profiles/upload_images';
|
|
75779
|
+
method: 'POST';
|
|
75780
|
+
queryParams: {};
|
|
75781
|
+
jsonBody: {};
|
|
75782
|
+
commonParams: {};
|
|
75783
|
+
formData: {};
|
|
75784
|
+
jsonResponse: {};
|
|
75785
|
+
};
|
|
75708
75786
|
'/workspaces/find_resources': {
|
|
75709
75787
|
route: '/workspaces/find_resources';
|
|
75710
75788
|
method: 'GET' | 'POST';
|
|
@@ -76402,7 +76480,7 @@ export type Routes = {
|
|
|
76402
76480
|
/** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
|
|
76403
76481
|
code_constraints?: (({
|
|
76404
76482
|
/** Code constraint type for access codes. */
|
|
76405
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
76483
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
|
|
76406
76484
|
} | {
|
|
76407
76485
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
76408
76486
|
/** Minimum name length constraint for access codes. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const customization_profile = z.object({
|
|
4
|
+
workspace_id: z.string().uuid(),
|
|
5
|
+
customization_profile_id: z.string().uuid(),
|
|
6
|
+
logo_url: z.string().optional(),
|
|
7
|
+
primary_color: z.string().optional(),
|
|
8
|
+
secondary_color: z.string().optional(),
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
export type CustomizationProfile = z.infer<typeof customization_profile>
|
|
@@ -14,6 +14,7 @@ export const access_code_code_constraint = z
|
|
|
14
14
|
'at_least_three_unique_digits', // Tedee
|
|
15
15
|
'cannot_contain_089', // TTLock
|
|
16
16
|
'cannot_contain_0789', // TTLock (for some cylinder devices only)
|
|
17
|
+
'unique_first_four_digits', // Schlage
|
|
17
18
|
])
|
|
18
19
|
.describe(`Code constraint type for access codes.`),
|
|
19
20
|
})
|
|
@@ -13,6 +13,7 @@ export * from './customer/access-grant-resources.js'
|
|
|
13
13
|
export * from './customer/index.js'
|
|
14
14
|
export * from './customer/location-resources.js'
|
|
15
15
|
export * from './customer/user-identity-resources.js'
|
|
16
|
+
export * from './customization_profiles/customization_profile.js'
|
|
16
17
|
export * from './devices/index.js'
|
|
17
18
|
export * from './events/index.js'
|
|
18
19
|
export * from './instant-keys/index.js'
|