@seamapi/types 1.48.0 → 1.50.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 +333 -38
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +477 -17
- package/lib/seam/connect/openapi.d.ts +269 -3
- package/lib/seam/connect/openapi.js +332 -37
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +208 -14
- package/lib/seam/connect/unstable/model-types.d.ts +1 -1
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +81 -21
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -4
- package/lib/seam/connect/unstable/models/acs/credential.js +2 -1
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential_pool.d.ts +29 -0
- package/lib/seam/connect/unstable/models/acs/credential_pool.js +12 -0
- package/lib/seam/connect/unstable/models/acs/credential_pool.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.d.ts +21 -0
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js +9 -0
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +2 -0
- package/lib/seam/connect/unstable/models/acs/index.js +2 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +14 -14
- package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +357 -37
- package/src/lib/seam/connect/route-types.ts +208 -14
- package/src/lib/seam/connect/unstable/model-types.ts +2 -0
- package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +113 -21
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +2 -1
- package/src/lib/seam/connect/unstable/models/acs/credential_pool.ts +19 -0
- package/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts +13 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +2 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +1 -1
- package/src/lib/seam/connect/unstable/schemas.ts +3 -0
|
@@ -1,25 +1,85 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const managed_access_code = z.object({
|
|
3
|
-
common_code_key: z
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
3
|
+
common_code_key: z
|
|
4
|
+
.string()
|
|
5
|
+
.nullable()
|
|
6
|
+
.describe('Unique identifier for a group of access codes that share the same code.'),
|
|
7
|
+
is_scheduled_on_device: z
|
|
8
|
+
.boolean()
|
|
9
|
+
.optional()
|
|
10
|
+
.describe('Indicates whether the code is set on the device according to a preconfigured schedule.'),
|
|
11
|
+
type: z
|
|
12
|
+
.enum(['time_bound', 'ongoing'])
|
|
13
|
+
.describe('Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration.'),
|
|
14
|
+
is_waiting_for_code_assignment: z
|
|
15
|
+
.boolean()
|
|
16
|
+
.optional()
|
|
17
|
+
.describe('Indicates whether the access code is waiting for a code assignment.'),
|
|
18
|
+
access_code_id: z
|
|
19
|
+
.string()
|
|
20
|
+
.uuid()
|
|
21
|
+
.describe('Unique identifier for the access code.'),
|
|
22
|
+
device_id: z
|
|
23
|
+
.string()
|
|
24
|
+
.uuid()
|
|
25
|
+
.describe('Unique identifier for the device associated with the access code.'),
|
|
26
|
+
name: z
|
|
27
|
+
.string()
|
|
28
|
+
.nullable()
|
|
29
|
+
.describe('Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.'),
|
|
30
|
+
code: z
|
|
31
|
+
.string()
|
|
32
|
+
.nullable()
|
|
33
|
+
.describe('Code used for access. Typically, a numeric or alphanumeric string.'),
|
|
34
|
+
created_at: z
|
|
35
|
+
.string()
|
|
36
|
+
.datetime()
|
|
37
|
+
.describe('Date and time at which the access code was created.'),
|
|
38
|
+
errors: z
|
|
39
|
+
.any()
|
|
40
|
+
.describe('Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'),
|
|
41
|
+
warnings: z
|
|
42
|
+
.any()
|
|
43
|
+
.describe('Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.'),
|
|
44
|
+
is_managed: z
|
|
45
|
+
.literal(true)
|
|
46
|
+
.describe('Indicates whether Seam manages the access code.'),
|
|
47
|
+
starts_at: z
|
|
48
|
+
.string()
|
|
49
|
+
.datetime()
|
|
50
|
+
.nullable()
|
|
51
|
+
.optional()
|
|
52
|
+
.describe('Date and time at which the time-bound access code becomes active.'),
|
|
53
|
+
ends_at: z
|
|
54
|
+
.string()
|
|
55
|
+
.datetime()
|
|
56
|
+
.nullable()
|
|
57
|
+
.optional()
|
|
58
|
+
.describe('Date and time after which the time-bound access code becomes inactive.'),
|
|
59
|
+
status: z.enum(['setting', 'set', 'unset', 'removing', 'unknown']).describe(`
|
|
60
|
+
Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
|
|
61
|
+
`),
|
|
62
|
+
is_backup_access_code_available: z
|
|
63
|
+
.boolean()
|
|
64
|
+
.describe('Indicates whether a backup access code is available for use if the primary access code is lost or compromised.'),
|
|
65
|
+
is_backup: z
|
|
66
|
+
.boolean()
|
|
67
|
+
.optional()
|
|
68
|
+
.describe('Indicates whether the access code is a backup code.'),
|
|
69
|
+
pulled_backup_access_code_id: z
|
|
70
|
+
.string()
|
|
71
|
+
.uuid()
|
|
72
|
+
.nullable()
|
|
73
|
+
.optional()
|
|
74
|
+
.describe('Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code.'),
|
|
75
|
+
is_external_modification_allowed: z
|
|
76
|
+
.boolean()
|
|
77
|
+
.describe('Indicates whether changes to the access code from external sources are permitted.'),
|
|
78
|
+
is_one_time_use: z
|
|
79
|
+
.boolean()
|
|
80
|
+
.describe('Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use.'),
|
|
81
|
+
is_offline_access_code: z
|
|
82
|
+
.boolean()
|
|
83
|
+
.describe('Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection.'),
|
|
24
84
|
});
|
|
25
85
|
//# sourceMappingURL=managed-access-code.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,eAAe,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yEAAyE,CAC1E;IACH,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,wFAAwF,CACzF;IACH,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;SAC/B,QAAQ,CACP,0LAA0L,CAC3L;IACH,8BAA8B,EAAE,CAAC;SAC9B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qEAAqE,CACtE;IACH,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,wCAAwC,CAAC;IACrD,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,mEAAmE,CACpE;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gJAAgJ,CACjJ;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,qDAAqD,CAAC;IAClE,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,uZAAuZ,CACxZ;IACH,QAAQ,EAAE,CAAC;SACR,GAAG,EAAE;SACL,QAAQ,CACP,ydAAyd,CAC1d;IACH,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,mEAAmE,CACpE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,wEAAwE,CACzE;IACH,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC;;GAE3E,CAAC;IACF,+BAA+B,EAAE,CAAC;SAC/B,OAAO,EAAE;SACT,QAAQ,CACP,gHAAgH,CACjH;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,6HAA6H,CAC9H;IACH,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,CACP,mFAAmF,CACpF;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,CACP,mHAAmH,CACpH;IACH,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,CACP,2JAA2J,CAC5J;CACJ,CAAC,CAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "
|
|
2
|
+
export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential"]>;
|
|
3
3
|
export type AcsCredentialExternalType = z.infer<typeof acs_credential_external_type>;
|
|
4
4
|
export declare const acs_credential: z.ZodObject<{
|
|
5
5
|
acs_credential_id: z.ZodString;
|
|
6
6
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
acs_credential_pool_id: z.ZodOptional<z.ZodString>;
|
|
7
8
|
acs_system_id: z.ZodString;
|
|
8
9
|
display_name: z.ZodString;
|
|
9
10
|
code: z.ZodNullable<z.ZodString>;
|
|
10
|
-
external_type: z.ZodEnum<["pti_card", "brivo_credential", "
|
|
11
|
+
external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential"]>;
|
|
11
12
|
external_type_display_name: z.ZodString;
|
|
12
13
|
created_at: z.ZodString;
|
|
13
14
|
workspace_id: z.ZodString;
|
|
@@ -16,20 +17,22 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
16
17
|
workspace_id: string;
|
|
17
18
|
created_at: string;
|
|
18
19
|
acs_system_id: string;
|
|
19
|
-
external_type: "pti_card" | "brivo_credential" | "
|
|
20
|
+
external_type: "pti_card" | "brivo_credential" | "hid_credential";
|
|
20
21
|
external_type_display_name: string;
|
|
21
22
|
display_name: string;
|
|
22
23
|
acs_credential_id: string;
|
|
23
24
|
acs_user_id?: string | undefined;
|
|
25
|
+
acs_credential_pool_id?: string | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
code: string | null;
|
|
26
28
|
workspace_id: string;
|
|
27
29
|
created_at: string;
|
|
28
30
|
acs_system_id: string;
|
|
29
|
-
external_type: "pti_card" | "brivo_credential" | "
|
|
31
|
+
external_type: "pti_card" | "brivo_credential" | "hid_credential";
|
|
30
32
|
external_type_display_name: string;
|
|
31
33
|
display_name: string;
|
|
32
34
|
acs_credential_id: string;
|
|
33
35
|
acs_user_id?: string | undefined;
|
|
36
|
+
acs_credential_pool_id?: string | undefined;
|
|
34
37
|
}>;
|
|
35
38
|
export type AcsCredential = z.output<typeof acs_credential>;
|
|
@@ -2,11 +2,12 @@ import { z } from 'zod';
|
|
|
2
2
|
export const acs_credential_external_type = z.enum([
|
|
3
3
|
'pti_card',
|
|
4
4
|
'brivo_credential',
|
|
5
|
-
'
|
|
5
|
+
'hid_credential',
|
|
6
6
|
]);
|
|
7
7
|
export const acs_credential = z.object({
|
|
8
8
|
acs_credential_id: z.string().uuid(),
|
|
9
9
|
acs_user_id: z.string().uuid().optional(),
|
|
10
|
+
acs_credential_pool_id: z.string().uuid().optional(),
|
|
10
11
|
acs_system_id: z.string().uuid(),
|
|
11
12
|
display_name: z.string().nonempty(),
|
|
12
13
|
code: z.string().nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,
|
|
1
|
+
{"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;CACjB,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,aAAa,EAAE,4BAA4B;IAC3C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const acs_credential_pool_external_type: z.ZodEnum<["hid_part_number"]>;
|
|
3
|
+
export type AcsCredentialPoolExternalType = z.infer<typeof acs_credential_pool_external_type>;
|
|
4
|
+
export declare const acs_credential_pool: z.ZodObject<{
|
|
5
|
+
acs_credential_pool_id: z.ZodString;
|
|
6
|
+
acs_system_id: z.ZodString;
|
|
7
|
+
display_name: z.ZodString;
|
|
8
|
+
external_type: z.ZodEnum<["hid_part_number"]>;
|
|
9
|
+
external_type_display_name: z.ZodString;
|
|
10
|
+
created_at: z.ZodString;
|
|
11
|
+
workspace_id: z.ZodString;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
workspace_id: string;
|
|
14
|
+
created_at: string;
|
|
15
|
+
acs_system_id: string;
|
|
16
|
+
external_type: "hid_part_number";
|
|
17
|
+
external_type_display_name: string;
|
|
18
|
+
display_name: string;
|
|
19
|
+
acs_credential_pool_id: string;
|
|
20
|
+
}, {
|
|
21
|
+
workspace_id: string;
|
|
22
|
+
created_at: string;
|
|
23
|
+
acs_system_id: string;
|
|
24
|
+
external_type: "hid_part_number";
|
|
25
|
+
external_type_display_name: string;
|
|
26
|
+
display_name: string;
|
|
27
|
+
acs_credential_pool_id: string;
|
|
28
|
+
}>;
|
|
29
|
+
export type AcsCredentialPool = z.output<typeof acs_credential_pool>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const acs_credential_pool_external_type = z.enum(['hid_part_number']);
|
|
3
|
+
export const acs_credential_pool = z.object({
|
|
4
|
+
acs_credential_pool_id: z.string().uuid(),
|
|
5
|
+
acs_system_id: z.string().uuid(),
|
|
6
|
+
display_name: z.string().nonempty(),
|
|
7
|
+
external_type: acs_credential_pool_external_type,
|
|
8
|
+
external_type_display_name: z.string(),
|
|
9
|
+
created_at: z.string().datetime(),
|
|
10
|
+
workspace_id: z.string().uuid(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=credential_pool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential_pool.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential_pool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAM5E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,aAAa,EAAE,iCAAiC;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const acs_credential_provisioning_automation: z.ZodObject<{
|
|
3
|
+
acs_credential_provisioning_automation_id: z.ZodString;
|
|
4
|
+
credential_manager_acs_system_id: z.ZodString;
|
|
5
|
+
user_identity_id: z.ZodString;
|
|
6
|
+
created_at: z.ZodString;
|
|
7
|
+
workspace_id: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
workspace_id: string;
|
|
10
|
+
created_at: string;
|
|
11
|
+
user_identity_id: string;
|
|
12
|
+
credential_manager_acs_system_id: string;
|
|
13
|
+
acs_credential_provisioning_automation_id: string;
|
|
14
|
+
}, {
|
|
15
|
+
workspace_id: string;
|
|
16
|
+
created_at: string;
|
|
17
|
+
user_identity_id: string;
|
|
18
|
+
credential_manager_acs_system_id: string;
|
|
19
|
+
acs_credential_provisioning_automation_id: string;
|
|
20
|
+
}>;
|
|
21
|
+
export type AcsCredentialProvisioningAutomation = z.output<typeof acs_credential_provisioning_automation>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const acs_credential_provisioning_automation = z.object({
|
|
3
|
+
acs_credential_provisioning_automation_id: z.string().uuid(),
|
|
4
|
+
credential_manager_acs_system_id: z.string().uuid(),
|
|
5
|
+
user_identity_id: z.string().uuid(),
|
|
6
|
+
created_at: z.string().datetime(),
|
|
7
|
+
workspace_id: z.string().uuid(),
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=credential_provisioning_automation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential_provisioning_automation.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7D,yCAAyC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5D,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,yCAAyC,CAAA;AACvD,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
|
@@ -10,19 +10,19 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
10
10
|
display_name: z.ZodString;
|
|
11
11
|
manufacturer_display_name: z.ZodString;
|
|
12
12
|
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
|
|
13
|
+
online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
display_name: string;
|
|
17
17
|
manufacturer_display_name: string;
|
|
18
18
|
offline_access_codes_supported?: boolean | undefined;
|
|
19
|
-
|
|
19
|
+
online_access_codes_supported?: boolean | undefined;
|
|
20
20
|
accessory_keypad_supported?: boolean | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
display_name: string;
|
|
23
23
|
manufacturer_display_name: string;
|
|
24
24
|
offline_access_codes_supported?: boolean | undefined;
|
|
25
|
-
|
|
25
|
+
online_access_codes_supported?: boolean | undefined;
|
|
26
26
|
accessory_keypad_supported?: boolean | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
has_direct_power: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -52,7 +52,7 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
52
52
|
display_name: string;
|
|
53
53
|
manufacturer_display_name: string;
|
|
54
54
|
offline_access_codes_supported?: boolean | undefined;
|
|
55
|
-
|
|
55
|
+
online_access_codes_supported?: boolean | undefined;
|
|
56
56
|
accessory_keypad_supported?: boolean | undefined;
|
|
57
57
|
};
|
|
58
58
|
has_direct_power?: boolean | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
76
76
|
display_name: string;
|
|
77
77
|
manufacturer_display_name: string;
|
|
78
78
|
offline_access_codes_supported?: boolean | undefined;
|
|
79
|
-
|
|
79
|
+
online_access_codes_supported?: boolean | undefined;
|
|
80
80
|
accessory_keypad_supported?: boolean | undefined;
|
|
81
81
|
};
|
|
82
82
|
has_direct_power?: boolean | undefined;
|
|
@@ -105,19 +105,19 @@ export declare const managed_device: z.ZodObject<{
|
|
|
105
105
|
display_name: z.ZodString;
|
|
106
106
|
manufacturer_display_name: z.ZodString;
|
|
107
107
|
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
-
|
|
108
|
+
online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
109
109
|
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
display_name: string;
|
|
112
112
|
manufacturer_display_name: string;
|
|
113
113
|
offline_access_codes_supported?: boolean | undefined;
|
|
114
|
-
|
|
114
|
+
online_access_codes_supported?: boolean | undefined;
|
|
115
115
|
accessory_keypad_supported?: boolean | undefined;
|
|
116
116
|
}, {
|
|
117
117
|
display_name: string;
|
|
118
118
|
manufacturer_display_name: string;
|
|
119
119
|
offline_access_codes_supported?: boolean | undefined;
|
|
120
|
-
|
|
120
|
+
online_access_codes_supported?: boolean | undefined;
|
|
121
121
|
accessory_keypad_supported?: boolean | undefined;
|
|
122
122
|
}>;
|
|
123
123
|
has_direct_power: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -147,7 +147,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
147
147
|
display_name: string;
|
|
148
148
|
manufacturer_display_name: string;
|
|
149
149
|
offline_access_codes_supported?: boolean | undefined;
|
|
150
|
-
|
|
150
|
+
online_access_codes_supported?: boolean | undefined;
|
|
151
151
|
accessory_keypad_supported?: boolean | undefined;
|
|
152
152
|
};
|
|
153
153
|
has_direct_power?: boolean | undefined;
|
|
@@ -171,7 +171,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
171
171
|
display_name: string;
|
|
172
172
|
manufacturer_display_name: string;
|
|
173
173
|
offline_access_codes_supported?: boolean | undefined;
|
|
174
|
-
|
|
174
|
+
online_access_codes_supported?: boolean | undefined;
|
|
175
175
|
accessory_keypad_supported?: boolean | undefined;
|
|
176
176
|
};
|
|
177
177
|
has_direct_power?: boolean | undefined;
|
|
@@ -1835,7 +1835,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1835
1835
|
display_name: string;
|
|
1836
1836
|
manufacturer_display_name: string;
|
|
1837
1837
|
offline_access_codes_supported?: boolean | undefined;
|
|
1838
|
-
|
|
1838
|
+
online_access_codes_supported?: boolean | undefined;
|
|
1839
1839
|
accessory_keypad_supported?: boolean | undefined;
|
|
1840
1840
|
};
|
|
1841
1841
|
has_direct_power?: boolean | undefined;
|
|
@@ -2206,7 +2206,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2206
2206
|
display_name: string;
|
|
2207
2207
|
manufacturer_display_name: string;
|
|
2208
2208
|
offline_access_codes_supported?: boolean | undefined;
|
|
2209
|
-
|
|
2209
|
+
online_access_codes_supported?: boolean | undefined;
|
|
2210
2210
|
accessory_keypad_supported?: boolean | undefined;
|
|
2211
2211
|
};
|
|
2212
2212
|
has_direct_power?: boolean | undefined;
|
|
@@ -2598,7 +2598,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2598
2598
|
display_name: string;
|
|
2599
2599
|
manufacturer_display_name: string;
|
|
2600
2600
|
offline_access_codes_supported?: boolean | undefined;
|
|
2601
|
-
|
|
2601
|
+
online_access_codes_supported?: boolean | undefined;
|
|
2602
2602
|
accessory_keypad_supported?: boolean | undefined;
|
|
2603
2603
|
};
|
|
2604
2604
|
has_direct_power?: boolean | undefined;
|
|
@@ -2969,7 +2969,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2969
2969
|
display_name: string;
|
|
2970
2970
|
manufacturer_display_name: string;
|
|
2971
2971
|
offline_access_codes_supported?: boolean | undefined;
|
|
2972
|
-
|
|
2972
|
+
online_access_codes_supported?: boolean | undefined;
|
|
2973
2973
|
accessory_keypad_supported?: boolean | undefined;
|
|
2974
2974
|
};
|
|
2975
2975
|
has_direct_power?: boolean | undefined;
|
|
@@ -11,7 +11,7 @@ export const common_device_properties = z.object({
|
|
|
11
11
|
display_name: z.string(),
|
|
12
12
|
manufacturer_display_name: z.string(),
|
|
13
13
|
offline_access_codes_supported: z.boolean().optional(),
|
|
14
|
-
|
|
14
|
+
online_access_codes_supported: z.boolean().optional(),
|
|
15
15
|
accessory_keypad_supported: z.boolean().optional(),
|
|
16
16
|
}),
|
|
17
17
|
has_direct_power: z.boolean().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;QAErC,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACtD,
|
|
1
|
+
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC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C,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
|