@seamapi/types 1.200.0 → 1.202.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 +13 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +42 -19
- package/lib/seam/connect/models/acs/acs-user.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-user.js +5 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- 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 +2 -1
- 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 +9 -9
- package/lib/seam/connect/openapi.d.ts +7 -0
- package/lib/seam/connect/openapi.js +6 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +5 -0
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +6 -0
- package/src/lib/seam/connect/route-types.ts +20 -0
package/dist/connect.d.cts
CHANGED
|
@@ -656,6 +656,8 @@ declare const acs_user: z.ZodObject<{
|
|
|
656
656
|
external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>>;
|
|
657
657
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
658
658
|
acs_user_id: z.ZodString;
|
|
659
|
+
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
660
|
+
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
659
661
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
660
662
|
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
661
663
|
is_suspended: z.ZodBoolean;
|
|
@@ -685,6 +687,8 @@ declare const acs_user: z.ZodObject<{
|
|
|
685
687
|
is_suspended: boolean;
|
|
686
688
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
687
689
|
external_type_display_name?: string | undefined;
|
|
690
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
691
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
688
692
|
user_identity_id?: string | undefined;
|
|
689
693
|
hid_acs_system_id?: string | undefined;
|
|
690
694
|
access_schedule?: {
|
|
@@ -707,6 +711,8 @@ declare const acs_user: z.ZodObject<{
|
|
|
707
711
|
is_suspended: boolean;
|
|
708
712
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
709
713
|
external_type_display_name?: string | undefined;
|
|
714
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
715
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
710
716
|
user_identity_id?: string | undefined;
|
|
711
717
|
hid_acs_system_id?: string | undefined;
|
|
712
718
|
access_schedule?: {
|
|
@@ -3238,11 +3244,11 @@ declare const device: z.ZodObject<{
|
|
|
3238
3244
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
3239
3245
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
3240
3246
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3241
|
-
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"]>;
|
|
3247
|
+
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", "cannot_contain_0789"]>;
|
|
3242
3248
|
}, "strip", z.ZodTypeAny, {
|
|
3243
|
-
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";
|
|
3249
|
+
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";
|
|
3244
3250
|
}, {
|
|
3245
|
-
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";
|
|
3251
|
+
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";
|
|
3246
3252
|
}>, z.ZodObject<{
|
|
3247
3253
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
3248
3254
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3272,7 +3278,7 @@ declare const device: z.ZodObject<{
|
|
|
3272
3278
|
}, "strip", z.ZodTypeAny, {
|
|
3273
3279
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3274
3280
|
code_constraints?: ({
|
|
3275
|
-
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";
|
|
3281
|
+
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";
|
|
3276
3282
|
} | {
|
|
3277
3283
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3278
3284
|
min_length?: number | undefined;
|
|
@@ -3290,7 +3296,7 @@ declare const device: z.ZodObject<{
|
|
|
3290
3296
|
}, {
|
|
3291
3297
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3292
3298
|
code_constraints?: ({
|
|
3293
|
-
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";
|
|
3299
|
+
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";
|
|
3294
3300
|
} | {
|
|
3295
3301
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3296
3302
|
min_length?: number | undefined;
|
|
@@ -4325,7 +4331,7 @@ declare const device: z.ZodObject<{
|
|
|
4325
4331
|
} & ({
|
|
4326
4332
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
4327
4333
|
code_constraints?: ({
|
|
4328
|
-
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";
|
|
4334
|
+
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";
|
|
4329
4335
|
} | {
|
|
4330
4336
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
4331
4337
|
min_length?: number | undefined;
|
|
@@ -4755,7 +4761,7 @@ declare const device: z.ZodObject<{
|
|
|
4755
4761
|
} & ({
|
|
4756
4762
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
4757
4763
|
code_constraints?: ({
|
|
4758
|
-
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";
|
|
4764
|
+
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";
|
|
4759
4765
|
} | {
|
|
4760
4766
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
4761
4767
|
min_length?: number | undefined;
|
|
@@ -5221,7 +5227,7 @@ declare const device: z.ZodObject<{
|
|
|
5221
5227
|
} & ({
|
|
5222
5228
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
5223
5229
|
code_constraints?: ({
|
|
5224
|
-
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";
|
|
5230
|
+
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";
|
|
5225
5231
|
} | {
|
|
5226
5232
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
5227
5233
|
min_length?: number | undefined;
|
|
@@ -5651,7 +5657,7 @@ declare const device: z.ZodObject<{
|
|
|
5651
5657
|
} & ({
|
|
5652
5658
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
5653
5659
|
code_constraints?: ({
|
|
5654
|
-
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";
|
|
5660
|
+
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";
|
|
5655
5661
|
} | {
|
|
5656
5662
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
5657
5663
|
min_length?: number | undefined;
|
|
@@ -8483,9 +8489,16 @@ declare const _default: {
|
|
|
8483
8489
|
format: string;
|
|
8484
8490
|
type: string;
|
|
8485
8491
|
};
|
|
8492
|
+
is_latest_desired_state_synced_with_provider: {
|
|
8493
|
+
type: string;
|
|
8494
|
+
};
|
|
8486
8495
|
is_suspended: {
|
|
8487
8496
|
type: string;
|
|
8488
8497
|
};
|
|
8498
|
+
latest_desired_state_synced_with_provider_at: {
|
|
8499
|
+
format: string;
|
|
8500
|
+
type: string;
|
|
8501
|
+
};
|
|
8489
8502
|
phone_number: {
|
|
8490
8503
|
type: string;
|
|
8491
8504
|
};
|
|
@@ -26592,6 +26605,8 @@ interface Routes {
|
|
|
26592
26605
|
user_identity_full_name?: (string | null) | undefined;
|
|
26593
26606
|
user_identity_email_address?: (string | null) | undefined;
|
|
26594
26607
|
user_identity_phone_number?: (string | null) | undefined;
|
|
26608
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
26609
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
26595
26610
|
full_name?: string | undefined;
|
|
26596
26611
|
/**
|
|
26597
26612
|
* @deprecated use email_address. */
|
|
@@ -27382,6 +27397,8 @@ interface Routes {
|
|
|
27382
27397
|
user_identity_full_name?: (string | null) | undefined;
|
|
27383
27398
|
user_identity_email_address?: (string | null) | undefined;
|
|
27384
27399
|
user_identity_phone_number?: (string | null) | undefined;
|
|
27400
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
27401
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
27385
27402
|
full_name?: string | undefined;
|
|
27386
27403
|
/**
|
|
27387
27404
|
* @deprecated use email_address. */
|
|
@@ -27430,6 +27447,8 @@ interface Routes {
|
|
|
27430
27447
|
user_identity_full_name?: (string | null) | undefined;
|
|
27431
27448
|
user_identity_email_address?: (string | null) | undefined;
|
|
27432
27449
|
user_identity_phone_number?: (string | null) | undefined;
|
|
27450
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
27451
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
27433
27452
|
full_name?: string | undefined;
|
|
27434
27453
|
/**
|
|
27435
27454
|
* @deprecated use email_address. */
|
|
@@ -27470,6 +27489,8 @@ interface Routes {
|
|
|
27470
27489
|
user_identity_full_name?: (string | null) | undefined;
|
|
27471
27490
|
user_identity_email_address?: (string | null) | undefined;
|
|
27472
27491
|
user_identity_phone_number?: (string | null) | undefined;
|
|
27492
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
27493
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
27473
27494
|
full_name?: string | undefined;
|
|
27474
27495
|
/**
|
|
27475
27496
|
* @deprecated use email_address. */
|
|
@@ -29041,7 +29062,7 @@ interface Routes {
|
|
|
29041
29062
|
}) & ({
|
|
29042
29063
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
29043
29064
|
code_constraints?: (Array<{
|
|
29044
|
-
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';
|
|
29065
|
+
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';
|
|
29045
29066
|
} | {
|
|
29046
29067
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
29047
29068
|
min_length?: number | undefined;
|
|
@@ -29581,7 +29602,7 @@ interface Routes {
|
|
|
29581
29602
|
}) & ({
|
|
29582
29603
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
29583
29604
|
code_constraints?: (Array<{
|
|
29584
|
-
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';
|
|
29605
|
+
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';
|
|
29585
29606
|
} | {
|
|
29586
29607
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
29587
29608
|
min_length?: number | undefined;
|
|
@@ -30465,7 +30486,7 @@ interface Routes {
|
|
|
30465
30486
|
}) & ({
|
|
30466
30487
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
30467
30488
|
code_constraints?: (Array<{
|
|
30468
|
-
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';
|
|
30489
|
+
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';
|
|
30469
30490
|
} | {
|
|
30470
30491
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
30471
30492
|
min_length?: number | undefined;
|
|
@@ -30980,7 +31001,7 @@ interface Routes {
|
|
|
30980
31001
|
}) & ({
|
|
30981
31002
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
30982
31003
|
code_constraints?: (Array<{
|
|
30983
|
-
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';
|
|
31004
|
+
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';
|
|
30984
31005
|
} | {
|
|
30985
31006
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
30986
31007
|
min_length?: number | undefined;
|
|
@@ -31520,7 +31541,7 @@ interface Routes {
|
|
|
31520
31541
|
}) & ({
|
|
31521
31542
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
31522
31543
|
code_constraints?: (Array<{
|
|
31523
|
-
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';
|
|
31544
|
+
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';
|
|
31524
31545
|
} | {
|
|
31525
31546
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
31526
31547
|
min_length?: number | undefined;
|
|
@@ -32035,7 +32056,7 @@ interface Routes {
|
|
|
32035
32056
|
}) & ({
|
|
32036
32057
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
32037
32058
|
code_constraints?: (Array<{
|
|
32038
|
-
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';
|
|
32059
|
+
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';
|
|
32039
32060
|
} | {
|
|
32040
32061
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
32041
32062
|
min_length?: number | undefined;
|
|
@@ -35241,7 +35262,7 @@ interface Routes {
|
|
|
35241
35262
|
}) & ({
|
|
35242
35263
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
35243
35264
|
code_constraints?: (Array<{
|
|
35244
|
-
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';
|
|
35265
|
+
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';
|
|
35245
35266
|
} | {
|
|
35246
35267
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
35247
35268
|
min_length?: number | undefined;
|
|
@@ -36535,7 +36556,7 @@ interface Routes {
|
|
|
36535
36556
|
}) & ({
|
|
36536
36557
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
36537
36558
|
code_constraints?: (Array<{
|
|
36538
|
-
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';
|
|
36559
|
+
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';
|
|
36539
36560
|
} | {
|
|
36540
36561
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
36541
36562
|
min_length?: number | undefined;
|
|
@@ -38012,7 +38033,7 @@ interface Routes {
|
|
|
38012
38033
|
}) & ({
|
|
38013
38034
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
38014
38035
|
code_constraints?: (Array<{
|
|
38015
|
-
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';
|
|
38036
|
+
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';
|
|
38016
38037
|
} | {
|
|
38017
38038
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
38018
38039
|
min_length?: number | undefined;
|
|
@@ -38529,7 +38550,7 @@ interface Routes {
|
|
|
38529
38550
|
}) & ({
|
|
38530
38551
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
38531
38552
|
code_constraints?: (Array<{
|
|
38532
|
-
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';
|
|
38553
|
+
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';
|
|
38533
38554
|
} | {
|
|
38534
38555
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
38535
38556
|
min_length?: number | undefined;
|
|
@@ -38858,6 +38879,8 @@ interface Routes {
|
|
|
38858
38879
|
user_identity_full_name?: (string | null) | undefined;
|
|
38859
38880
|
user_identity_email_address?: (string | null) | undefined;
|
|
38860
38881
|
user_identity_phone_number?: (string | null) | undefined;
|
|
38882
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
38883
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
38861
38884
|
full_name?: string | undefined;
|
|
38862
38885
|
/**
|
|
38863
38886
|
* @deprecated use email_address. */
|
|
@@ -9,6 +9,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
9
9
|
external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>>;
|
|
10
10
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
11
11
|
acs_user_id: z.ZodString;
|
|
12
|
+
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
12
14
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
13
15
|
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
14
16
|
is_suspended: z.ZodBoolean;
|
|
@@ -38,6 +40,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
38
40
|
is_suspended: boolean;
|
|
39
41
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
40
42
|
external_type_display_name?: string | undefined;
|
|
43
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
44
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
41
45
|
user_identity_id?: string | undefined;
|
|
42
46
|
hid_acs_system_id?: string | undefined;
|
|
43
47
|
access_schedule?: {
|
|
@@ -60,6 +64,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
60
64
|
is_suspended: boolean;
|
|
61
65
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
62
66
|
external_type_display_name?: string | undefined;
|
|
67
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
68
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
63
69
|
user_identity_id?: string | undefined;
|
|
64
70
|
hid_acs_system_id?: string | undefined;
|
|
65
71
|
access_schedule?: {
|
|
@@ -34,6 +34,11 @@ export const acs_user = z
|
|
|
34
34
|
user_identity_full_name: z.string().nullable().optional(),
|
|
35
35
|
user_identity_email_address: z.string().nullable().optional(),
|
|
36
36
|
user_identity_phone_number: z.string().nullable().optional(),
|
|
37
|
+
latest_desired_state_synced_with_provider_at: z
|
|
38
|
+
.string()
|
|
39
|
+
.datetime()
|
|
40
|
+
.optional(),
|
|
41
|
+
is_latest_desired_state_synced_with_provider: z.boolean().optional(),
|
|
37
42
|
})
|
|
38
43
|
.merge(user_fields);
|
|
39
44
|
//# sourceMappingURL=acs-user.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;KAI3C,CAAC;IACJ,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,eAAe,EAAE,QAAQ,CAAC,QAAQ,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7D,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;KAI3C,CAAC;IACJ,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,eAAe,EAAE,QAAQ,CAAC,QAAQ,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7D,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5D,4CAA4C,EAAE,CAAC;SAC5C,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;IACb,4CAA4C,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACrE,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const access_code_code_constraint: z.ZodObject<{
|
|
3
|
-
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"]>;
|
|
3
|
+
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", "cannot_contain_0789"]>;
|
|
4
4
|
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
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";
|
|
5
|
+
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";
|
|
6
6
|
}, {
|
|
7
|
-
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";
|
|
7
|
+
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";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const access_code_name_constraint: z.ZodObject<{
|
|
10
10
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
@@ -20,11 +20,11 @@ export declare const access_code_name_constraint: z.ZodObject<{
|
|
|
20
20
|
max_length?: number | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const access_code_constraint: z.ZodUnion<[z.ZodObject<{
|
|
23
|
-
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"]>;
|
|
23
|
+
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", "cannot_contain_0789"]>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
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";
|
|
25
|
+
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";
|
|
26
26
|
}, {
|
|
27
|
-
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";
|
|
27
|
+
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";
|
|
28
28
|
}>, z.ZodObject<{
|
|
29
29
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
30
30
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -42,11 +42,11 @@ export type AccessCodeConstraint = z.infer<typeof access_code_constraint>;
|
|
|
42
42
|
export declare const access_code_capability_properties: z.ZodObject<{
|
|
43
43
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
44
44
|
code_constraints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
45
|
-
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"]>;
|
|
45
|
+
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", "cannot_contain_0789"]>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
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";
|
|
47
|
+
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";
|
|
48
48
|
}, {
|
|
49
|
-
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";
|
|
49
|
+
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";
|
|
50
50
|
}>, z.ZodObject<{
|
|
51
51
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
52
52
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -67,7 +67,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
|
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
69
69
|
code_constraints?: ({
|
|
70
|
-
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";
|
|
70
|
+
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";
|
|
71
71
|
} | {
|
|
72
72
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
73
73
|
min_length?: number | undefined;
|
|
@@ -80,7 +80,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
|
|
|
80
80
|
}, {
|
|
81
81
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
82
82
|
code_constraints?: ({
|
|
83
|
-
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";
|
|
83
|
+
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";
|
|
84
84
|
} | {
|
|
85
85
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
86
86
|
min_length?: number | undefined;
|
|
@@ -9,7 +9,8 @@ export const access_code_code_constraint = z.object({
|
|
|
9
9
|
'start_date_in_future', // Kwikset
|
|
10
10
|
'no_ascending_or_descending_sequence', // Tedee
|
|
11
11
|
'at_least_three_unique_digits', // Tedee
|
|
12
|
-
'cannot_contain_089', // TTLock
|
|
12
|
+
'cannot_contain_089', // TTLock
|
|
13
|
+
'cannot_contain_0789', // TTLock (for some cylinder devices only)
|
|
13
14
|
]),
|
|
14
15
|
});
|
|
15
16
|
export const access_code_name_constraint = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,QAAQ;QAC/C,8BAA8B,EAAE,QAAQ;QACxC,oBAAoB,EAAE,0CAA0C;
|
|
1
|
+
{"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,QAAQ;QAC/C,8BAA8B,EAAE,QAAQ;QACxC,oBAAoB,EAAE,SAAS;QAC/B,qBAAqB,EAAE,0CAA0C;KAClE,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC,EAAE,gBAAgB;IACjF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;IACb,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
|
|
@@ -6,11 +6,11 @@ export { access_code_capability_properties, access_code_code_constraint, lock_ca
|
|
|
6
6
|
export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
7
7
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
8
8
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
9
|
-
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"]>;
|
|
9
|
+
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", "cannot_contain_0789"]>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
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";
|
|
11
|
+
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";
|
|
12
12
|
}, {
|
|
13
|
-
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";
|
|
13
|
+
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";
|
|
14
14
|
}>, z.ZodObject<{
|
|
15
15
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
16
16
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -40,7 +40,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
42
42
|
code_constraints?: ({
|
|
43
|
-
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";
|
|
43
|
+
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";
|
|
44
44
|
} | {
|
|
45
45
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
46
46
|
min_length?: number | undefined;
|
|
@@ -58,7 +58,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
58
58
|
}, {
|
|
59
59
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
60
60
|
code_constraints?: ({
|
|
61
|
-
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";
|
|
61
|
+
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";
|
|
62
62
|
} | {
|
|
63
63
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
64
64
|
min_length?: number | undefined;
|
|
@@ -1443,11 +1443,11 @@ export declare const device: z.ZodObject<{
|
|
|
1443
1443
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1444
1444
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1445
1445
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1446
|
-
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"]>;
|
|
1446
|
+
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", "cannot_contain_0789"]>;
|
|
1447
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
-
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";
|
|
1448
|
+
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";
|
|
1449
1449
|
}, {
|
|
1450
|
-
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";
|
|
1450
|
+
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";
|
|
1451
1451
|
}>, z.ZodObject<{
|
|
1452
1452
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
1453
1453
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1477,7 +1477,7 @@ export declare const device: z.ZodObject<{
|
|
|
1477
1477
|
}, "strip", z.ZodTypeAny, {
|
|
1478
1478
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1479
1479
|
code_constraints?: ({
|
|
1480
|
-
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";
|
|
1480
|
+
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";
|
|
1481
1481
|
} | {
|
|
1482
1482
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1483
1483
|
min_length?: number | undefined;
|
|
@@ -1495,7 +1495,7 @@ export declare const device: z.ZodObject<{
|
|
|
1495
1495
|
}, {
|
|
1496
1496
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1497
1497
|
code_constraints?: ({
|
|
1498
|
-
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";
|
|
1498
|
+
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";
|
|
1499
1499
|
} | {
|
|
1500
1500
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1501
1501
|
min_length?: number | undefined;
|
|
@@ -2524,7 +2524,7 @@ export declare const device: z.ZodObject<{
|
|
|
2524
2524
|
} & ({
|
|
2525
2525
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2526
2526
|
code_constraints?: ({
|
|
2527
|
-
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";
|
|
2527
|
+
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";
|
|
2528
2528
|
} | {
|
|
2529
2529
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
2530
2530
|
min_length?: number | undefined;
|
|
@@ -2954,7 +2954,7 @@ export declare const device: z.ZodObject<{
|
|
|
2954
2954
|
} & ({
|
|
2955
2955
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2956
2956
|
code_constraints?: ({
|
|
2957
|
-
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";
|
|
2957
|
+
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";
|
|
2958
2958
|
} | {
|
|
2959
2959
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
2960
2960
|
min_length?: number | undefined;
|
|
@@ -3420,7 +3420,7 @@ export declare const device: z.ZodObject<{
|
|
|
3420
3420
|
} & ({
|
|
3421
3421
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3422
3422
|
code_constraints?: ({
|
|
3423
|
-
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";
|
|
3423
|
+
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";
|
|
3424
3424
|
} | {
|
|
3425
3425
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3426
3426
|
min_length?: number | undefined;
|
|
@@ -3850,7 +3850,7 @@ export declare const device: z.ZodObject<{
|
|
|
3850
3850
|
} & ({
|
|
3851
3851
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3852
3852
|
code_constraints?: ({
|
|
3853
|
-
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";
|
|
3853
|
+
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";
|
|
3854
3854
|
} | {
|
|
3855
3855
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3856
3856
|
min_length?: number | undefined;
|
|
@@ -660,9 +660,16 @@ declare const _default: {
|
|
|
660
660
|
format: string;
|
|
661
661
|
type: string;
|
|
662
662
|
};
|
|
663
|
+
is_latest_desired_state_synced_with_provider: {
|
|
664
|
+
type: string;
|
|
665
|
+
};
|
|
663
666
|
is_suspended: {
|
|
664
667
|
type: string;
|
|
665
668
|
};
|
|
669
|
+
latest_desired_state_synced_with_provider_at: {
|
|
670
|
+
format: string;
|
|
671
|
+
type: string;
|
|
672
|
+
};
|
|
666
673
|
phone_number: {
|
|
667
674
|
type: string;
|
|
668
675
|
};
|
|
@@ -615,7 +615,12 @@ export default {
|
|
|
615
615
|
external_type_display_name: { type: 'string' },
|
|
616
616
|
full_name: { type: 'string' },
|
|
617
617
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
618
|
+
is_latest_desired_state_synced_with_provider: { type: 'boolean' },
|
|
618
619
|
is_suspended: { type: 'boolean' },
|
|
620
|
+
latest_desired_state_synced_with_provider_at: {
|
|
621
|
+
format: 'date-time',
|
|
622
|
+
type: 'string',
|
|
623
|
+
},
|
|
619
624
|
phone_number: { type: 'string' },
|
|
620
625
|
user_identity_email_address: { nullable: true, type: 'string' },
|
|
621
626
|
user_identity_full_name: { nullable: true, type: 'string' },
|
|
@@ -2734,6 +2739,7 @@ export default {
|
|
|
2734
2739
|
'no_ascending_or_descending_sequence',
|
|
2735
2740
|
'at_least_three_unique_digits',
|
|
2736
2741
|
'cannot_contain_089',
|
|
2742
|
+
'cannot_contain_0789',
|
|
2737
2743
|
],
|
|
2738
2744
|
type: 'string',
|
|
2739
2745
|
},
|