@seamapi/types 1.153.1 → 1.153.2
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 +2 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +22 -11
- package/lib/seam/connect/models/acs/user.d.ts +6 -6
- package/lib/seam/connect/models/acs/user.js +2 -2
- package/lib/seam/connect/models/acs/user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +2 -0
- package/lib/seam/connect/openapi.js +2 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/user.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +2 -2
- package/src/lib/seam/connect/route-types.ts +22 -11
package/dist/connect.d.cts
CHANGED
|
@@ -582,12 +582,14 @@ declare const _default: {
|
|
|
582
582
|
type: string;
|
|
583
583
|
};
|
|
584
584
|
user_identity_email_address: {
|
|
585
|
+
nullable: boolean;
|
|
585
586
|
type: string;
|
|
586
587
|
};
|
|
587
588
|
user_identity_id: {
|
|
588
589
|
type: string;
|
|
589
590
|
};
|
|
590
591
|
user_identity_phone_number: {
|
|
592
|
+
nullable: boolean;
|
|
591
593
|
type: string;
|
|
592
594
|
};
|
|
593
595
|
workspace_id: {
|
|
@@ -16771,8 +16773,8 @@ interface Routes {
|
|
|
16771
16773
|
ends_at: string;
|
|
16772
16774
|
} | undefined;
|
|
16773
16775
|
user_identity_id?: string | undefined;
|
|
16774
|
-
user_identity_email_address?: string | undefined;
|
|
16775
|
-
user_identity_phone_number?: string | undefined;
|
|
16776
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
16777
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
16776
16778
|
full_name?: string | undefined;
|
|
16777
16779
|
/**
|
|
16778
16780
|
---
|
|
@@ -17373,8 +17375,8 @@ interface Routes {
|
|
|
17373
17375
|
ends_at: string;
|
|
17374
17376
|
} | undefined;
|
|
17375
17377
|
user_identity_id?: string | undefined;
|
|
17376
|
-
user_identity_email_address?: string | undefined;
|
|
17377
|
-
user_identity_phone_number?: string | undefined;
|
|
17378
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
17379
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
17378
17380
|
full_name?: string | undefined;
|
|
17379
17381
|
/**
|
|
17380
17382
|
---
|
|
@@ -17423,8 +17425,8 @@ interface Routes {
|
|
|
17423
17425
|
ends_at: string;
|
|
17424
17426
|
} | undefined;
|
|
17425
17427
|
user_identity_id?: string | undefined;
|
|
17426
|
-
user_identity_email_address?: string | undefined;
|
|
17427
|
-
user_identity_phone_number?: string | undefined;
|
|
17428
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
17429
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
17428
17430
|
full_name?: string | undefined;
|
|
17429
17431
|
/**
|
|
17430
17432
|
---
|
|
@@ -17465,8 +17467,8 @@ interface Routes {
|
|
|
17465
17467
|
ends_at: string;
|
|
17466
17468
|
} | undefined;
|
|
17467
17469
|
user_identity_id?: string | undefined;
|
|
17468
|
-
user_identity_email_address?: string | undefined;
|
|
17469
|
-
user_identity_phone_number?: string | undefined;
|
|
17470
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
17471
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
17470
17472
|
full_name?: string | undefined;
|
|
17471
17473
|
/**
|
|
17472
17474
|
---
|
|
@@ -23663,6 +23665,10 @@ interface Routes {
|
|
|
23663
23665
|
accessory_keypad?: {
|
|
23664
23666
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
23665
23667
|
is_connected: boolean;
|
|
23668
|
+
/** Indicates if the keypad battery properties. */
|
|
23669
|
+
battery?: {
|
|
23670
|
+
level: number;
|
|
23671
|
+
} | undefined;
|
|
23666
23672
|
} | undefined;
|
|
23667
23673
|
appearance: {
|
|
23668
23674
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -23764,6 +23770,8 @@ interface Routes {
|
|
|
23764
23770
|
device_id: string;
|
|
23765
23771
|
device_name: string;
|
|
23766
23772
|
keypad_battery_critical?: boolean | undefined;
|
|
23773
|
+
keypad_paired?: boolean | undefined;
|
|
23774
|
+
keypad_2_paired?: boolean | undefined;
|
|
23767
23775
|
} | undefined;
|
|
23768
23776
|
kwikset_metadata?: {
|
|
23769
23777
|
device_id: string;
|
|
@@ -23851,6 +23859,7 @@ interface Routes {
|
|
|
23851
23859
|
device_name: string;
|
|
23852
23860
|
bridge_id?: string | undefined;
|
|
23853
23861
|
bridge_name?: string | undefined;
|
|
23862
|
+
keypad_id?: string | undefined;
|
|
23854
23863
|
} | undefined;
|
|
23855
23864
|
nest_metadata?: {
|
|
23856
23865
|
nest_device_id: string;
|
|
@@ -23897,6 +23906,8 @@ interface Routes {
|
|
|
23897
23906
|
product_type: string;
|
|
23898
23907
|
product_model: string;
|
|
23899
23908
|
device_info_model: string;
|
|
23909
|
+
keypad_uuid?: string | undefined;
|
|
23910
|
+
locker_status_hardlock?: number | undefined;
|
|
23900
23911
|
} | undefined;
|
|
23901
23912
|
tedee_metadata?: {
|
|
23902
23913
|
device_id: number;
|
|
@@ -24131,7 +24142,7 @@ interface Routes {
|
|
|
24131
24142
|
created_at: string;
|
|
24132
24143
|
/** Indicates whether Seam manages the device. */
|
|
24133
24144
|
is_managed: true;
|
|
24134
|
-
custom_metadata
|
|
24145
|
+
custom_metadata: Record<string, string | boolean>;
|
|
24135
24146
|
can_remotely_unlock?: boolean | undefined;
|
|
24136
24147
|
can_remotely_lock?: boolean | undefined;
|
|
24137
24148
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -24714,8 +24725,8 @@ interface Routes {
|
|
|
24714
24725
|
ends_at: string;
|
|
24715
24726
|
} | undefined;
|
|
24716
24727
|
user_identity_id?: string | undefined;
|
|
24717
|
-
user_identity_email_address?: string | undefined;
|
|
24718
|
-
user_identity_phone_number?: string | undefined;
|
|
24728
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
24729
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
24719
24730
|
full_name?: string | undefined;
|
|
24720
24731
|
/**
|
|
24721
24732
|
---
|
|
@@ -22,8 +22,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
22
22
|
starts_at: string;
|
|
23
23
|
ends_at: string;
|
|
24
24
|
}>>;
|
|
25
|
-
user_identity_email_address: z.ZodOptional<z.ZodString
|
|
26
|
-
user_identity_phone_number: z.ZodOptional<z.ZodString
|
|
25
|
+
user_identity_email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
full_name: z.ZodOptional<z.ZodString>;
|
|
28
28
|
email: z.ZodOptional<z.ZodString>;
|
|
29
29
|
email_address: z.ZodOptional<z.ZodString>;
|
|
@@ -43,8 +43,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
43
43
|
starts_at: string;
|
|
44
44
|
ends_at: string;
|
|
45
45
|
} | undefined;
|
|
46
|
-
user_identity_email_address?: string | undefined;
|
|
47
|
-
user_identity_phone_number?: string | undefined;
|
|
46
|
+
user_identity_email_address?: string | null | undefined;
|
|
47
|
+
user_identity_phone_number?: string | null | undefined;
|
|
48
48
|
full_name?: string | undefined;
|
|
49
49
|
email?: string | undefined;
|
|
50
50
|
email_address?: string | undefined;
|
|
@@ -64,8 +64,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
64
64
|
starts_at: string;
|
|
65
65
|
ends_at: string;
|
|
66
66
|
} | undefined;
|
|
67
|
-
user_identity_email_address?: string | undefined;
|
|
68
|
-
user_identity_phone_number?: string | undefined;
|
|
67
|
+
user_identity_email_address?: string | null | undefined;
|
|
68
|
+
user_identity_phone_number?: string | null | undefined;
|
|
69
69
|
full_name?: string | undefined;
|
|
70
70
|
email?: string | undefined;
|
|
71
71
|
email_address?: string | undefined;
|
|
@@ -31,8 +31,8 @@ export const acs_user = z
|
|
|
31
31
|
is_suspended: z.boolean(),
|
|
32
32
|
access_schedule: schedule.optional(),
|
|
33
33
|
user_identity_id: z.string().optional(),
|
|
34
|
-
user_identity_email_address: z.string().optional(),
|
|
35
|
-
user_identity_phone_number: z.string().optional(),
|
|
34
|
+
user_identity_email_address: z.string().nullable().optional(),
|
|
35
|
+
user_identity_phone_number: z.string().nullable().optional(),
|
|
36
36
|
})
|
|
37
37
|
.merge(user_fields);
|
|
38
38
|
//# sourceMappingURL=user.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/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;I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;;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,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;CAC7D,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
|
|
@@ -508,12 +508,14 @@ declare const _default: {
|
|
|
508
508
|
type: string;
|
|
509
509
|
};
|
|
510
510
|
user_identity_email_address: {
|
|
511
|
+
nullable: boolean;
|
|
511
512
|
type: string;
|
|
512
513
|
};
|
|
513
514
|
user_identity_id: {
|
|
514
515
|
type: string;
|
|
515
516
|
};
|
|
516
517
|
user_identity_phone_number: {
|
|
518
|
+
nullable: boolean;
|
|
517
519
|
type: string;
|
|
518
520
|
};
|
|
519
521
|
workspace_id: {
|
|
@@ -438,9 +438,9 @@ export default {
|
|
|
438
438
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
439
439
|
is_suspended: { type: 'boolean' },
|
|
440
440
|
phone_number: { nullable: true, type: 'string' },
|
|
441
|
-
user_identity_email_address: { type: 'string' },
|
|
441
|
+
user_identity_email_address: { nullable: true, type: 'string' },
|
|
442
442
|
user_identity_id: { type: 'string' },
|
|
443
|
-
user_identity_phone_number: { type: 'string' },
|
|
443
|
+
user_identity_phone_number: { nullable: true, type: 'string' },
|
|
444
444
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
445
445
|
},
|
|
446
446
|
required: [
|