@seamapi/types 1.154.1 → 1.156.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 +15 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +54 -18
- package/lib/seam/connect/models/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/models/capability-properties/access-code.js +1 -0
- package/lib/seam/connect/models/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +1 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/managed-device.d.ts +18 -9
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +14 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -18
- package/package.json +1 -1
- package/src/lib/seam/connect/models/capability-properties/access-code.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +14 -0
- package/src/lib/seam/connect/route-types.ts +42 -0
|
@@ -866,6 +866,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
866
866
|
door_id: z.ZodNumber;
|
|
867
867
|
door_name: z.ZodString;
|
|
868
868
|
device_id: z.ZodOptional<z.ZodNumber>;
|
|
869
|
+
door_is_wireless: z.ZodBoolean;
|
|
869
870
|
site_id: z.ZodNumber;
|
|
870
871
|
site_name: z.ZodString;
|
|
871
872
|
iana_timezone: z.ZodOptional<z.ZodString>;
|
|
@@ -908,6 +909,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
908
909
|
site_id: number;
|
|
909
910
|
site_name: string;
|
|
910
911
|
door_id: number;
|
|
912
|
+
door_is_wireless: boolean;
|
|
911
913
|
device_id?: number | undefined;
|
|
912
914
|
iana_timezone?: string | undefined;
|
|
913
915
|
predefined_time_slots?: {
|
|
@@ -927,6 +929,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
927
929
|
site_id: number;
|
|
928
930
|
site_name: string;
|
|
929
931
|
door_id: number;
|
|
932
|
+
door_is_wireless: boolean;
|
|
930
933
|
device_id?: number | undefined;
|
|
931
934
|
iana_timezone?: string | undefined;
|
|
932
935
|
predefined_time_slots?: {
|
|
@@ -1148,6 +1151,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1148
1151
|
site_id: number;
|
|
1149
1152
|
site_name: string;
|
|
1150
1153
|
door_id: number;
|
|
1154
|
+
door_is_wireless: boolean;
|
|
1151
1155
|
device_id?: number | undefined;
|
|
1152
1156
|
iana_timezone?: string | undefined;
|
|
1153
1157
|
predefined_time_slots?: {
|
|
@@ -1335,6 +1339,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1335
1339
|
site_id: number;
|
|
1336
1340
|
site_name: string;
|
|
1337
1341
|
door_id: number;
|
|
1342
|
+
door_is_wireless: boolean;
|
|
1338
1343
|
device_id?: number | undefined;
|
|
1339
1344
|
iana_timezone?: string | undefined;
|
|
1340
1345
|
predefined_time_slots?: {
|
|
@@ -1372,11 +1377,11 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1372
1377
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1373
1378
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1374
1379
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1375
|
-
constraint_type: z.ZodEnum<["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"]>;
|
|
1380
|
+
constraint_type: z.ZodEnum<["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"]>;
|
|
1376
1381
|
}, "strip", z.ZodTypeAny, {
|
|
1377
|
-
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";
|
|
1382
|
+
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";
|
|
1378
1383
|
}, {
|
|
1379
|
-
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";
|
|
1384
|
+
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";
|
|
1380
1385
|
}>, z.ZodObject<{
|
|
1381
1386
|
constraint_type: z.ZodLiteral<"name_length">;
|
|
1382
1387
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1406,7 +1411,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1406
1411
|
}, "strip", z.ZodTypeAny, {
|
|
1407
1412
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1408
1413
|
code_constraints?: ({
|
|
1409
|
-
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";
|
|
1414
|
+
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";
|
|
1410
1415
|
} | {
|
|
1411
1416
|
constraint_type: "name_length";
|
|
1412
1417
|
min_length?: number | undefined;
|
|
@@ -1424,7 +1429,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1424
1429
|
}, {
|
|
1425
1430
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1426
1431
|
code_constraints?: ({
|
|
1427
|
-
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";
|
|
1432
|
+
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";
|
|
1428
1433
|
} | {
|
|
1429
1434
|
constraint_type: "name_length";
|
|
1430
1435
|
min_length?: number | undefined;
|
|
@@ -2404,6 +2409,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2404
2409
|
site_id: number;
|
|
2405
2410
|
site_name: string;
|
|
2406
2411
|
door_id: number;
|
|
2412
|
+
door_is_wireless: boolean;
|
|
2407
2413
|
device_id?: number | undefined;
|
|
2408
2414
|
iana_timezone?: string | undefined;
|
|
2409
2415
|
predefined_time_slots?: {
|
|
@@ -2441,7 +2447,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2441
2447
|
} & ({
|
|
2442
2448
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2443
2449
|
code_constraints?: ({
|
|
2444
|
-
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";
|
|
2450
|
+
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";
|
|
2445
2451
|
} | {
|
|
2446
2452
|
constraint_type: "name_length";
|
|
2447
2453
|
min_length?: number | undefined;
|
|
@@ -2829,6 +2835,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2829
2835
|
site_id: number;
|
|
2830
2836
|
site_name: string;
|
|
2831
2837
|
door_id: number;
|
|
2838
|
+
door_is_wireless: boolean;
|
|
2832
2839
|
device_id?: number | undefined;
|
|
2833
2840
|
iana_timezone?: string | undefined;
|
|
2834
2841
|
predefined_time_slots?: {
|
|
@@ -2866,7 +2873,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2866
2873
|
} & ({
|
|
2867
2874
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2868
2875
|
code_constraints?: ({
|
|
2869
|
-
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";
|
|
2876
|
+
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";
|
|
2870
2877
|
} | {
|
|
2871
2878
|
constraint_type: "name_length";
|
|
2872
2879
|
min_length?: number | undefined;
|
|
@@ -3283,6 +3290,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3283
3290
|
site_id: number;
|
|
3284
3291
|
site_name: string;
|
|
3285
3292
|
door_id: number;
|
|
3293
|
+
door_is_wireless: boolean;
|
|
3286
3294
|
device_id?: number | undefined;
|
|
3287
3295
|
iana_timezone?: string | undefined;
|
|
3288
3296
|
predefined_time_slots?: {
|
|
@@ -3320,7 +3328,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3320
3328
|
} & ({
|
|
3321
3329
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3322
3330
|
code_constraints?: ({
|
|
3323
|
-
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";
|
|
3331
|
+
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";
|
|
3324
3332
|
} | {
|
|
3325
3333
|
constraint_type: "name_length";
|
|
3326
3334
|
min_length?: number | undefined;
|
|
@@ -3708,6 +3716,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3708
3716
|
site_id: number;
|
|
3709
3717
|
site_name: string;
|
|
3710
3718
|
door_id: number;
|
|
3719
|
+
door_is_wireless: boolean;
|
|
3711
3720
|
device_id?: number | undefined;
|
|
3712
3721
|
iana_timezone?: string | undefined;
|
|
3713
3722
|
predefined_time_slots?: {
|
|
@@ -3745,7 +3754,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3745
3754
|
} & ({
|
|
3746
3755
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3747
3756
|
code_constraints?: ({
|
|
3748
|
-
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";
|
|
3757
|
+
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";
|
|
3749
3758
|
} | {
|
|
3750
3759
|
constraint_type: "name_length";
|
|
3751
3760
|
min_length?: number | undefined;
|
|
@@ -886,6 +886,9 @@ declare const _default: {
|
|
|
886
886
|
};
|
|
887
887
|
device: {
|
|
888
888
|
properties: {
|
|
889
|
+
can_program_offline_access_codes: {
|
|
890
|
+
type: string;
|
|
891
|
+
};
|
|
889
892
|
can_program_online_access_codes: {
|
|
890
893
|
type: string;
|
|
891
894
|
};
|
|
@@ -1257,6 +1260,9 @@ declare const _default: {
|
|
|
1257
1260
|
door_id: {
|
|
1258
1261
|
type: string;
|
|
1259
1262
|
};
|
|
1263
|
+
door_is_wireless: {
|
|
1264
|
+
type: string;
|
|
1265
|
+
};
|
|
1260
1266
|
door_name: {
|
|
1261
1267
|
type: string;
|
|
1262
1268
|
};
|
|
@@ -2577,6 +2583,9 @@ declare const _default: {
|
|
|
2577
2583
|
};
|
|
2578
2584
|
phone: {
|
|
2579
2585
|
properties: {
|
|
2586
|
+
can_program_offline_access_codes: {
|
|
2587
|
+
type: string;
|
|
2588
|
+
};
|
|
2580
2589
|
can_program_online_access_codes: {
|
|
2581
2590
|
type: string;
|
|
2582
2591
|
};
|
|
@@ -2799,6 +2808,9 @@ declare const _default: {
|
|
|
2799
2808
|
};
|
|
2800
2809
|
unmanaged_device: {
|
|
2801
2810
|
properties: {
|
|
2811
|
+
can_program_offline_access_codes: {
|
|
2812
|
+
type: string;
|
|
2813
|
+
};
|
|
2802
2814
|
can_program_online_access_codes: {
|
|
2803
2815
|
type: string;
|
|
2804
2816
|
};
|
|
@@ -691,6 +691,7 @@ export default {
|
|
|
691
691
|
},
|
|
692
692
|
device: {
|
|
693
693
|
properties: {
|
|
694
|
+
can_program_offline_access_codes: { type: 'boolean' },
|
|
694
695
|
can_program_online_access_codes: { type: 'boolean' },
|
|
695
696
|
can_remotely_lock: { type: 'boolean' },
|
|
696
697
|
can_remotely_unlock: { type: 'boolean' },
|
|
@@ -1047,6 +1048,7 @@ export default {
|
|
|
1047
1048
|
properties: {
|
|
1048
1049
|
device_id: { type: 'number' },
|
|
1049
1050
|
door_id: { type: 'number' },
|
|
1051
|
+
door_is_wireless: { type: 'boolean' },
|
|
1050
1052
|
door_name: { type: 'string' },
|
|
1051
1053
|
iana_timezone: { type: 'string' },
|
|
1052
1054
|
predefined_time_slots: {
|
|
@@ -1090,6 +1092,7 @@ export default {
|
|
|
1090
1092
|
required: [
|
|
1091
1093
|
'door_id',
|
|
1092
1094
|
'door_name',
|
|
1095
|
+
'door_is_wireless',
|
|
1093
1096
|
'site_id',
|
|
1094
1097
|
'site_name',
|
|
1095
1098
|
],
|
|
@@ -1432,6 +1435,7 @@ export default {
|
|
|
1432
1435
|
'start_date_in_future',
|
|
1433
1436
|
'no_ascending_or_descending_sequence',
|
|
1434
1437
|
'at_least_three_unique_digits',
|
|
1438
|
+
'cannot_contain_089',
|
|
1435
1439
|
],
|
|
1436
1440
|
type: 'string',
|
|
1437
1441
|
},
|
|
@@ -2061,6 +2065,7 @@ export default {
|
|
|
2061
2065
|
},
|
|
2062
2066
|
phone: {
|
|
2063
2067
|
properties: {
|
|
2068
|
+
can_program_offline_access_codes: { type: 'boolean' },
|
|
2064
2069
|
can_program_online_access_codes: { type: 'boolean' },
|
|
2065
2070
|
can_remotely_lock: { type: 'boolean' },
|
|
2066
2071
|
can_remotely_unlock: { type: 'boolean' },
|
|
@@ -2272,6 +2277,7 @@ export default {
|
|
|
2272
2277
|
},
|
|
2273
2278
|
unmanaged_device: {
|
|
2274
2279
|
properties: {
|
|
2280
|
+
can_program_offline_access_codes: { type: 'boolean' },
|
|
2275
2281
|
can_program_online_access_codes: { type: 'boolean' },
|
|
2276
2282
|
can_remotely_lock: { type: 'boolean' },
|
|
2277
2283
|
can_remotely_unlock: { type: 'boolean' },
|
|
@@ -6972,6 +6978,7 @@ export default {
|
|
|
6972
6978
|
enum: [
|
|
6973
6979
|
'can_remotely_unlock',
|
|
6974
6980
|
'can_remotely_lock',
|
|
6981
|
+
'can_program_offline_access_codes',
|
|
6975
6982
|
'can_program_online_access_codes',
|
|
6976
6983
|
'can_simulate_removal',
|
|
6977
6984
|
],
|
|
@@ -6984,6 +6991,7 @@ export default {
|
|
|
6984
6991
|
enum: [
|
|
6985
6992
|
'can_remotely_unlock',
|
|
6986
6993
|
'can_remotely_lock',
|
|
6994
|
+
'can_program_offline_access_codes',
|
|
6987
6995
|
'can_program_online_access_codes',
|
|
6988
6996
|
'can_simulate_removal',
|
|
6989
6997
|
],
|
|
@@ -7360,6 +7368,7 @@ export default {
|
|
|
7360
7368
|
enum: [
|
|
7361
7369
|
'can_remotely_unlock',
|
|
7362
7370
|
'can_remotely_lock',
|
|
7371
|
+
'can_program_offline_access_codes',
|
|
7363
7372
|
'can_program_online_access_codes',
|
|
7364
7373
|
'can_simulate_removal',
|
|
7365
7374
|
],
|
|
@@ -7372,6 +7381,7 @@ export default {
|
|
|
7372
7381
|
enum: [
|
|
7373
7382
|
'can_remotely_unlock',
|
|
7374
7383
|
'can_remotely_lock',
|
|
7384
|
+
'can_program_offline_access_codes',
|
|
7375
7385
|
'can_program_online_access_codes',
|
|
7376
7386
|
'can_simulate_removal',
|
|
7377
7387
|
],
|
|
@@ -8087,6 +8097,7 @@ export default {
|
|
|
8087
8097
|
enum: [
|
|
8088
8098
|
'can_remotely_unlock',
|
|
8089
8099
|
'can_remotely_lock',
|
|
8100
|
+
'can_program_offline_access_codes',
|
|
8090
8101
|
'can_program_online_access_codes',
|
|
8091
8102
|
'can_simulate_removal',
|
|
8092
8103
|
],
|
|
@@ -8099,6 +8110,7 @@ export default {
|
|
|
8099
8110
|
enum: [
|
|
8100
8111
|
'can_remotely_unlock',
|
|
8101
8112
|
'can_remotely_lock',
|
|
8113
|
+
'can_program_offline_access_codes',
|
|
8102
8114
|
'can_program_online_access_codes',
|
|
8103
8115
|
'can_simulate_removal',
|
|
8104
8116
|
],
|
|
@@ -9788,6 +9800,7 @@ export default {
|
|
|
9788
9800
|
enum: [
|
|
9789
9801
|
'can_remotely_unlock',
|
|
9790
9802
|
'can_remotely_lock',
|
|
9803
|
+
'can_program_offline_access_codes',
|
|
9791
9804
|
'can_program_online_access_codes',
|
|
9792
9805
|
'can_simulate_removal',
|
|
9793
9806
|
],
|
|
@@ -9800,6 +9813,7 @@ export default {
|
|
|
9800
9813
|
enum: [
|
|
9801
9814
|
'can_remotely_unlock',
|
|
9802
9815
|
'can_remotely_lock',
|
|
9816
|
+
'can_program_offline_access_codes',
|
|
9803
9817
|
'can_program_online_access_codes',
|
|
9804
9818
|
'can_simulate_removal',
|
|
9805
9819
|
],
|