@seamapi/types 1.199.0 → 1.201.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 +8 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +23 -0
- 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/acs/metadata/salto.d.ts +7 -1
- package/lib/seam/connect/models/acs/metadata/salto.js +3 -1
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +7 -0
- package/lib/seam/connect/openapi.js +5 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +5 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +3 -1
- package/src/lib/seam/connect/openapi.ts +5 -0
- package/src/lib/seam/connect/route-types.ts +10 -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?: {
|
|
@@ -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. */
|
|
@@ -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,C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AAM,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,3 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_entrance_salto_metadata: z.ZodObject<{
|
|
2
|
+
export declare const acs_entrance_salto_metadata: z.ZodObject<{
|
|
3
|
+
door_name: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
door_name: string;
|
|
6
|
+
}, {
|
|
7
|
+
door_name: string;
|
|
8
|
+
}>;
|
|
3
9
|
export type AcsEntranceSaltoMetadata = z.infer<typeof acs_entrance_salto_metadata>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"salto.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"salto.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA"}
|
|
@@ -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' },
|