@seamapi/types 1.99.0 → 1.101.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 +5 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -9
- package/lib/seam/connect/openapi.d.ts +6 -0
- package/lib/seam/connect/openapi.js +4 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -9
- package/lib/seam/connect/unstable/models/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/unstable/models/capability-properties/access-code.js +2 -0
- package/lib/seam/connect/unstable/models/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +9 -9
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +4 -0
- package/src/lib/seam/connect/route-types.ts +19 -0
- package/src/lib/seam/connect/unstable/models/capability-properties/access-code.ts +2 -0
package/dist/connect.d.cts
CHANGED
|
@@ -2973,6 +2973,9 @@ declare const _default: {
|
|
|
2973
2973
|
prefer_native_scheduling: {
|
|
2974
2974
|
type: string;
|
|
2975
2975
|
};
|
|
2976
|
+
preferred_code_length: {
|
|
2977
|
+
type: string;
|
|
2978
|
+
};
|
|
2976
2979
|
starts_at: {
|
|
2977
2980
|
type: string;
|
|
2978
2981
|
};
|
|
@@ -3101,6 +3104,9 @@ declare const _default: {
|
|
|
3101
3104
|
prefer_native_scheduling: {
|
|
3102
3105
|
type: string;
|
|
3103
3106
|
};
|
|
3107
|
+
preferred_code_length: {
|
|
3108
|
+
type: string;
|
|
3109
|
+
};
|
|
3104
3110
|
starts_at: {
|
|
3105
3111
|
type: string;
|
|
3106
3112
|
};
|
|
@@ -16167,6 +16173,7 @@ interface Routes {
|
|
|
16167
16173
|
jsonBody: {
|
|
16168
16174
|
device_ids: string[];
|
|
16169
16175
|
behavior_when_code_cannot_be_shared?: 'throw' | 'create_random_code';
|
|
16176
|
+
preferred_code_length?: number | undefined;
|
|
16170
16177
|
name?: string | undefined;
|
|
16171
16178
|
starts_at?: string | undefined;
|
|
16172
16179
|
ends_at?: string | undefined;
|
|
@@ -18138,7 +18145,7 @@ interface Routes {
|
|
|
18138
18145
|
}) & ({
|
|
18139
18146
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
18140
18147
|
code_constraints?: (Array<{
|
|
18141
|
-
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';
|
|
18148
|
+
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';
|
|
18142
18149
|
} | {
|
|
18143
18150
|
constraint_type: 'name_length';
|
|
18144
18151
|
min_length?: number | undefined;
|
|
@@ -18622,7 +18629,7 @@ interface Routes {
|
|
|
18622
18629
|
}) & ({
|
|
18623
18630
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
18624
18631
|
code_constraints?: (Array<{
|
|
18625
|
-
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';
|
|
18632
|
+
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';
|
|
18626
18633
|
} | {
|
|
18627
18634
|
constraint_type: 'name_length';
|
|
18628
18635
|
min_length?: number | undefined;
|
|
@@ -19425,7 +19432,7 @@ interface Routes {
|
|
|
19425
19432
|
}) & ({
|
|
19426
19433
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
19427
19434
|
code_constraints?: (Array<{
|
|
19428
|
-
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';
|
|
19435
|
+
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';
|
|
19429
19436
|
} | {
|
|
19430
19437
|
constraint_type: 'name_length';
|
|
19431
19438
|
min_length?: number | undefined;
|
|
@@ -19886,7 +19893,7 @@ interface Routes {
|
|
|
19886
19893
|
}) & ({
|
|
19887
19894
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
19888
19895
|
code_constraints?: (Array<{
|
|
19889
|
-
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';
|
|
19896
|
+
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';
|
|
19890
19897
|
} | {
|
|
19891
19898
|
constraint_type: 'name_length';
|
|
19892
19899
|
min_length?: number | undefined;
|
|
@@ -20370,7 +20377,7 @@ interface Routes {
|
|
|
20370
20377
|
}) & ({
|
|
20371
20378
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
20372
20379
|
code_constraints?: (Array<{
|
|
20373
|
-
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';
|
|
20380
|
+
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';
|
|
20374
20381
|
} | {
|
|
20375
20382
|
constraint_type: 'name_length';
|
|
20376
20383
|
min_length?: number | undefined;
|
|
@@ -20831,7 +20838,7 @@ interface Routes {
|
|
|
20831
20838
|
}) & ({
|
|
20832
20839
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
20833
20840
|
code_constraints?: (Array<{
|
|
20834
|
-
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';
|
|
20841
|
+
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';
|
|
20835
20842
|
} | {
|
|
20836
20843
|
constraint_type: 'name_length';
|
|
20837
20844
|
min_length?: number | undefined;
|
|
@@ -21884,7 +21891,7 @@ interface Routes {
|
|
|
21884
21891
|
}) & ({
|
|
21885
21892
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
21886
21893
|
code_constraints?: (Array<{
|
|
21887
|
-
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';
|
|
21894
|
+
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';
|
|
21888
21895
|
} | {
|
|
21889
21896
|
constraint_type: 'name_length';
|
|
21890
21897
|
min_length?: number | undefined;
|
|
@@ -22398,7 +22405,7 @@ interface Routes {
|
|
|
22398
22405
|
}) & ({
|
|
22399
22406
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
22400
22407
|
code_constraints?: (Array<{
|
|
22401
|
-
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';
|
|
22408
|
+
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';
|
|
22402
22409
|
} | {
|
|
22403
22410
|
constraint_type: 'name_length';
|
|
22404
22411
|
min_length?: number | undefined;
|
|
@@ -23084,7 +23091,7 @@ interface Routes {
|
|
|
23084
23091
|
}) & ({
|
|
23085
23092
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
23086
23093
|
code_constraints?: (Array<{
|
|
23087
|
-
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';
|
|
23094
|
+
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';
|
|
23088
23095
|
} | {
|
|
23089
23096
|
constraint_type: 'name_length';
|
|
23090
23097
|
min_length?: number | undefined;
|
|
@@ -2899,6 +2899,9 @@ declare const _default: {
|
|
|
2899
2899
|
prefer_native_scheduling: {
|
|
2900
2900
|
type: string;
|
|
2901
2901
|
};
|
|
2902
|
+
preferred_code_length: {
|
|
2903
|
+
type: string;
|
|
2904
|
+
};
|
|
2902
2905
|
starts_at: {
|
|
2903
2906
|
type: string;
|
|
2904
2907
|
};
|
|
@@ -3027,6 +3030,9 @@ declare const _default: {
|
|
|
3027
3030
|
prefer_native_scheduling: {
|
|
3028
3031
|
type: string;
|
|
3029
3032
|
};
|
|
3033
|
+
preferred_code_length: {
|
|
3034
|
+
type: string;
|
|
3035
|
+
};
|
|
3030
3036
|
starts_at: {
|
|
3031
3037
|
type: string;
|
|
3032
3038
|
};
|
|
@@ -1166,6 +1166,8 @@ export default {
|
|
|
1166
1166
|
'cannot_specify_pin_code',
|
|
1167
1167
|
'pin_code_matches_existing_set',
|
|
1168
1168
|
'start_date_in_future',
|
|
1169
|
+
'no_ascending_or_descending_sequence',
|
|
1170
|
+
'at_least_three_unique_digits',
|
|
1169
1171
|
],
|
|
1170
1172
|
type: 'string',
|
|
1171
1173
|
},
|
|
@@ -2330,6 +2332,7 @@ export default {
|
|
|
2330
2332
|
},
|
|
2331
2333
|
name: { type: 'string' },
|
|
2332
2334
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2335
|
+
preferred_code_length: { type: 'number' },
|
|
2333
2336
|
starts_at: { type: 'string' },
|
|
2334
2337
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
2335
2338
|
use_offline_access_code: { type: 'boolean' },
|
|
@@ -2412,6 +2415,7 @@ export default {
|
|
|
2412
2415
|
},
|
|
2413
2416
|
name: { type: 'string' },
|
|
2414
2417
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2418
|
+
preferred_code_length: { type: 'number' },
|
|
2415
2419
|
starts_at: { type: 'string' },
|
|
2416
2420
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
2417
2421
|
use_offline_access_code: { type: 'boolean' },
|