@seamapi/types 1.153.1 → 1.154.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 +3 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +31 -11
- package/lib/seam/connect/models/acs/user.d.ts +9 -6
- package/lib/seam/connect/models/acs/user.js +3 -2
- package/lib/seam/connect/models/acs/user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +6 -0
- package/lib/seam/connect/openapi.js +3 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/user.ts +3 -2
- package/src/lib/seam/connect/openapi.ts +3 -2
- package/src/lib/seam/connect/route-types.ts +27 -11
package/dist/connect.d.cts
CHANGED
|
@@ -582,12 +582,18 @@ declare const _default: {
|
|
|
582
582
|
type: string;
|
|
583
583
|
};
|
|
584
584
|
user_identity_email_address: {
|
|
585
|
+
nullable: boolean;
|
|
586
|
+
type: string;
|
|
587
|
+
};
|
|
588
|
+
user_identity_full_name: {
|
|
589
|
+
nullable: boolean;
|
|
585
590
|
type: string;
|
|
586
591
|
};
|
|
587
592
|
user_identity_id: {
|
|
588
593
|
type: string;
|
|
589
594
|
};
|
|
590
595
|
user_identity_phone_number: {
|
|
596
|
+
nullable: boolean;
|
|
591
597
|
type: string;
|
|
592
598
|
};
|
|
593
599
|
workspace_id: {
|
|
@@ -16771,8 +16777,9 @@ interface Routes {
|
|
|
16771
16777
|
ends_at: string;
|
|
16772
16778
|
} | undefined;
|
|
16773
16779
|
user_identity_id?: string | undefined;
|
|
16774
|
-
|
|
16775
|
-
|
|
16780
|
+
user_identity_full_name?: (string | null) | undefined;
|
|
16781
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
16782
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
16776
16783
|
full_name?: string | undefined;
|
|
16777
16784
|
/**
|
|
16778
16785
|
---
|
|
@@ -17373,8 +17380,9 @@ interface Routes {
|
|
|
17373
17380
|
ends_at: string;
|
|
17374
17381
|
} | undefined;
|
|
17375
17382
|
user_identity_id?: string | undefined;
|
|
17376
|
-
|
|
17377
|
-
|
|
17383
|
+
user_identity_full_name?: (string | null) | undefined;
|
|
17384
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
17385
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
17378
17386
|
full_name?: string | undefined;
|
|
17379
17387
|
/**
|
|
17380
17388
|
---
|
|
@@ -17423,8 +17431,9 @@ interface Routes {
|
|
|
17423
17431
|
ends_at: string;
|
|
17424
17432
|
} | undefined;
|
|
17425
17433
|
user_identity_id?: string | undefined;
|
|
17426
|
-
|
|
17427
|
-
|
|
17434
|
+
user_identity_full_name?: (string | null) | undefined;
|
|
17435
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
17436
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
17428
17437
|
full_name?: string | undefined;
|
|
17429
17438
|
/**
|
|
17430
17439
|
---
|
|
@@ -17465,8 +17474,9 @@ interface Routes {
|
|
|
17465
17474
|
ends_at: string;
|
|
17466
17475
|
} | undefined;
|
|
17467
17476
|
user_identity_id?: string | undefined;
|
|
17468
|
-
|
|
17469
|
-
|
|
17477
|
+
user_identity_full_name?: (string | null) | undefined;
|
|
17478
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
17479
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
17470
17480
|
full_name?: string | undefined;
|
|
17471
17481
|
/**
|
|
17472
17482
|
---
|
|
@@ -23663,6 +23673,10 @@ interface Routes {
|
|
|
23663
23673
|
accessory_keypad?: {
|
|
23664
23674
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
23665
23675
|
is_connected: boolean;
|
|
23676
|
+
/** Indicates if the keypad battery properties. */
|
|
23677
|
+
battery?: {
|
|
23678
|
+
level: number;
|
|
23679
|
+
} | undefined;
|
|
23666
23680
|
} | undefined;
|
|
23667
23681
|
appearance: {
|
|
23668
23682
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -23764,6 +23778,8 @@ interface Routes {
|
|
|
23764
23778
|
device_id: string;
|
|
23765
23779
|
device_name: string;
|
|
23766
23780
|
keypad_battery_critical?: boolean | undefined;
|
|
23781
|
+
keypad_paired?: boolean | undefined;
|
|
23782
|
+
keypad_2_paired?: boolean | undefined;
|
|
23767
23783
|
} | undefined;
|
|
23768
23784
|
kwikset_metadata?: {
|
|
23769
23785
|
device_id: string;
|
|
@@ -23851,6 +23867,7 @@ interface Routes {
|
|
|
23851
23867
|
device_name: string;
|
|
23852
23868
|
bridge_id?: string | undefined;
|
|
23853
23869
|
bridge_name?: string | undefined;
|
|
23870
|
+
keypad_id?: string | undefined;
|
|
23854
23871
|
} | undefined;
|
|
23855
23872
|
nest_metadata?: {
|
|
23856
23873
|
nest_device_id: string;
|
|
@@ -23897,6 +23914,8 @@ interface Routes {
|
|
|
23897
23914
|
product_type: string;
|
|
23898
23915
|
product_model: string;
|
|
23899
23916
|
device_info_model: string;
|
|
23917
|
+
keypad_uuid?: string | undefined;
|
|
23918
|
+
locker_status_hardlock?: number | undefined;
|
|
23900
23919
|
} | undefined;
|
|
23901
23920
|
tedee_metadata?: {
|
|
23902
23921
|
device_id: number;
|
|
@@ -24131,7 +24150,7 @@ interface Routes {
|
|
|
24131
24150
|
created_at: string;
|
|
24132
24151
|
/** Indicates whether Seam manages the device. */
|
|
24133
24152
|
is_managed: true;
|
|
24134
|
-
custom_metadata
|
|
24153
|
+
custom_metadata: Record<string, string | boolean>;
|
|
24135
24154
|
can_remotely_unlock?: boolean | undefined;
|
|
24136
24155
|
can_remotely_lock?: boolean | undefined;
|
|
24137
24156
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -24714,8 +24733,9 @@ interface Routes {
|
|
|
24714
24733
|
ends_at: string;
|
|
24715
24734
|
} | undefined;
|
|
24716
24735
|
user_identity_id?: string | undefined;
|
|
24717
|
-
|
|
24718
|
-
|
|
24736
|
+
user_identity_full_name?: (string | null) | undefined;
|
|
24737
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
24738
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
24719
24739
|
full_name?: string | undefined;
|
|
24720
24740
|
/**
|
|
24721
24741
|
---
|
|
@@ -22,8 +22,9 @@ export declare const acs_user: z.ZodObject<{
|
|
|
22
22
|
starts_at: string;
|
|
23
23
|
ends_at: string;
|
|
24
24
|
}>>;
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
user_identity_full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
user_identity_email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
28
|
full_name: z.ZodOptional<z.ZodString>;
|
|
28
29
|
email: z.ZodOptional<z.ZodString>;
|
|
29
30
|
email_address: z.ZodOptional<z.ZodString>;
|
|
@@ -43,8 +44,9 @@ export declare const acs_user: z.ZodObject<{
|
|
|
43
44
|
starts_at: string;
|
|
44
45
|
ends_at: string;
|
|
45
46
|
} | undefined;
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
user_identity_full_name?: string | null | undefined;
|
|
48
|
+
user_identity_email_address?: string | null | undefined;
|
|
49
|
+
user_identity_phone_number?: string | null | undefined;
|
|
48
50
|
full_name?: string | undefined;
|
|
49
51
|
email?: string | undefined;
|
|
50
52
|
email_address?: string | undefined;
|
|
@@ -64,8 +66,9 @@ export declare const acs_user: z.ZodObject<{
|
|
|
64
66
|
starts_at: string;
|
|
65
67
|
ends_at: string;
|
|
66
68
|
} | undefined;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
user_identity_full_name?: string | null | undefined;
|
|
70
|
+
user_identity_email_address?: string | null | undefined;
|
|
71
|
+
user_identity_phone_number?: string | null | undefined;
|
|
69
72
|
full_name?: string | undefined;
|
|
70
73
|
email?: string | undefined;
|
|
71
74
|
email_address?: string | undefined;
|
|
@@ -31,8 +31,9 @@ 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
|
-
|
|
35
|
-
|
|
34
|
+
user_identity_full_name: z.string().nullable().optional(),
|
|
35
|
+
user_identity_email_address: z.string().nullable().optional(),
|
|
36
|
+
user_identity_phone_number: z.string().nullable().optional(),
|
|
36
37
|
})
|
|
37
38
|
.merge(user_fields);
|
|
38
39
|
//# 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,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
type: string;
|
|
509
509
|
};
|
|
510
510
|
user_identity_email_address: {
|
|
511
|
+
nullable: boolean;
|
|
512
|
+
type: string;
|
|
513
|
+
};
|
|
514
|
+
user_identity_full_name: {
|
|
515
|
+
nullable: boolean;
|
|
511
516
|
type: string;
|
|
512
517
|
};
|
|
513
518
|
user_identity_id: {
|
|
514
519
|
type: string;
|
|
515
520
|
};
|
|
516
521
|
user_identity_phone_number: {
|
|
522
|
+
nullable: boolean;
|
|
517
523
|
type: string;
|
|
518
524
|
};
|
|
519
525
|
workspace_id: {
|
|
@@ -438,9 +438,10 @@ 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
|
+
user_identity_full_name: { nullable: true, type: 'string' },
|
|
442
443
|
user_identity_id: { type: 'string' },
|
|
443
|
-
user_identity_phone_number: { type: 'string' },
|
|
444
|
+
user_identity_phone_number: { nullable: true, type: 'string' },
|
|
444
445
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
445
446
|
},
|
|
446
447
|
required: [
|