@seamapi/types 1.319.0 → 1.321.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 +160 -32
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +253 -68
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +105 -13
- package/lib/seam/connect/models/acs/acs-access-group.js +28 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +14 -0
- package/lib/seam/connect/models/acs/acs-credential.js +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -10
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +0 -6
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +0 -2
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +45 -8
- package/lib/seam/connect/models/connected-accounts/connected-account.js +17 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +103 -20
- package/lib/seam/connect/openapi.js +112 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +56 -18
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +45 -0
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -1
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -3
- package/src/lib/seam/connect/openapi.ts +127 -11
- package/src/lib/seam/connect/route-types.ts +77 -22
|
@@ -1,42 +1,109 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_access_group_external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group"]>;
|
|
2
|
+
export declare const acs_access_group_external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
3
3
|
export type AcsAccessGroupExternalType = z.infer<typeof acs_access_group_external_type>;
|
|
4
|
+
export declare const unknown_issue_with_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
5
|
+
created_at: z.ZodString;
|
|
6
|
+
message: z.ZodString;
|
|
7
|
+
}, {
|
|
8
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
9
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10
|
+
message: string;
|
|
11
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
12
|
+
created_at: string;
|
|
13
|
+
}, {
|
|
14
|
+
message: string;
|
|
15
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
16
|
+
created_at: string;
|
|
17
|
+
}>;
|
|
18
|
+
declare const acs_access_group_warning_map: z.ZodObject<{
|
|
19
|
+
unknown_issue_with_acs_access_group: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
20
|
+
created_at: z.ZodString;
|
|
21
|
+
message: z.ZodString;
|
|
22
|
+
}, {
|
|
23
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
24
|
+
}>, "strip", z.ZodTypeAny, {
|
|
25
|
+
message: string;
|
|
26
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
27
|
+
created_at: string;
|
|
28
|
+
}, {
|
|
29
|
+
message: string;
|
|
30
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
31
|
+
created_at: string;
|
|
32
|
+
}>>>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
unknown_issue_with_acs_access_group?: {
|
|
35
|
+
message: string;
|
|
36
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
37
|
+
created_at: string;
|
|
38
|
+
} | null | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
unknown_issue_with_acs_access_group?: {
|
|
41
|
+
message: string;
|
|
42
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
43
|
+
created_at: string;
|
|
44
|
+
} | null | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
export type AcsAccessGroupWarningMap = z.infer<typeof acs_access_group_warning_map>;
|
|
4
47
|
export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
5
48
|
acs_access_group_id: z.ZodString;
|
|
6
49
|
acs_system_id: z.ZodString;
|
|
7
50
|
workspace_id: z.ZodString;
|
|
8
51
|
name: z.ZodString;
|
|
9
|
-
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group"]>;
|
|
52
|
+
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
10
53
|
access_group_type_display_name: z.ZodString;
|
|
11
54
|
display_name: z.ZodString;
|
|
12
|
-
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group"]>;
|
|
55
|
+
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
13
56
|
external_type_display_name: z.ZodString;
|
|
14
57
|
created_at: z.ZodString;
|
|
58
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
59
|
+
created_at: z.ZodString;
|
|
60
|
+
message: z.ZodString;
|
|
61
|
+
}, {
|
|
62
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
63
|
+
}>, "strip", z.ZodTypeAny, {
|
|
64
|
+
message: string;
|
|
65
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
66
|
+
created_at: string;
|
|
67
|
+
}, {
|
|
68
|
+
message: string;
|
|
69
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
70
|
+
created_at: string;
|
|
71
|
+
}>, "many">;
|
|
15
72
|
}, {
|
|
16
73
|
is_managed: z.ZodLiteral<true>;
|
|
17
74
|
}>, "strip", z.ZodTypeAny, {
|
|
18
75
|
name: string;
|
|
19
76
|
created_at: string;
|
|
77
|
+
warnings: {
|
|
78
|
+
message: string;
|
|
79
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
80
|
+
created_at: string;
|
|
81
|
+
}[];
|
|
20
82
|
display_name: string;
|
|
21
83
|
workspace_id: string;
|
|
22
84
|
is_managed: true;
|
|
23
85
|
acs_access_group_id: string;
|
|
24
86
|
acs_system_id: string;
|
|
25
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
87
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
26
88
|
access_group_type_display_name: string;
|
|
27
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
89
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
28
90
|
external_type_display_name: string;
|
|
29
91
|
}, {
|
|
30
92
|
name: string;
|
|
31
93
|
created_at: string;
|
|
94
|
+
warnings: {
|
|
95
|
+
message: string;
|
|
96
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
97
|
+
created_at: string;
|
|
98
|
+
}[];
|
|
32
99
|
display_name: string;
|
|
33
100
|
workspace_id: string;
|
|
34
101
|
is_managed: true;
|
|
35
102
|
acs_access_group_id: string;
|
|
36
103
|
acs_system_id: string;
|
|
37
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
104
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
38
105
|
access_group_type_display_name: string;
|
|
39
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
106
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
40
107
|
external_type_display_name: string;
|
|
41
108
|
}>;
|
|
42
109
|
export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -44,38 +111,63 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
44
111
|
acs_system_id: z.ZodString;
|
|
45
112
|
workspace_id: z.ZodString;
|
|
46
113
|
name: z.ZodString;
|
|
47
|
-
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group"]>;
|
|
114
|
+
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
48
115
|
access_group_type_display_name: z.ZodString;
|
|
49
116
|
display_name: z.ZodString;
|
|
50
|
-
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group"]>;
|
|
117
|
+
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
51
118
|
external_type_display_name: z.ZodString;
|
|
52
119
|
created_at: z.ZodString;
|
|
120
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
121
|
+
created_at: z.ZodString;
|
|
122
|
+
message: z.ZodString;
|
|
123
|
+
}, {
|
|
124
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
125
|
+
}>, "strip", z.ZodTypeAny, {
|
|
126
|
+
message: string;
|
|
127
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
128
|
+
created_at: string;
|
|
129
|
+
}, {
|
|
130
|
+
message: string;
|
|
131
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
132
|
+
created_at: string;
|
|
133
|
+
}>, "many">;
|
|
53
134
|
}, {
|
|
54
135
|
is_managed: z.ZodLiteral<false>;
|
|
55
136
|
}>, "strip", z.ZodTypeAny, {
|
|
56
137
|
name: string;
|
|
57
138
|
created_at: string;
|
|
139
|
+
warnings: {
|
|
140
|
+
message: string;
|
|
141
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
142
|
+
created_at: string;
|
|
143
|
+
}[];
|
|
58
144
|
display_name: string;
|
|
59
145
|
workspace_id: string;
|
|
60
146
|
is_managed: false;
|
|
61
147
|
acs_access_group_id: string;
|
|
62
148
|
acs_system_id: string;
|
|
63
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
149
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
64
150
|
access_group_type_display_name: string;
|
|
65
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
151
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
66
152
|
external_type_display_name: string;
|
|
67
153
|
}, {
|
|
68
154
|
name: string;
|
|
69
155
|
created_at: string;
|
|
156
|
+
warnings: {
|
|
157
|
+
message: string;
|
|
158
|
+
warning_code: "unknown_issue_with_acs_access_group";
|
|
159
|
+
created_at: string;
|
|
160
|
+
}[];
|
|
70
161
|
display_name: string;
|
|
71
162
|
workspace_id: string;
|
|
72
163
|
is_managed: false;
|
|
73
164
|
acs_access_group_id: string;
|
|
74
165
|
acs_system_id: string;
|
|
75
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
166
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
76
167
|
access_group_type_display_name: string;
|
|
77
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group";
|
|
168
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
78
169
|
external_type_display_name: string;
|
|
79
170
|
}>;
|
|
80
171
|
export type AcsAccessGroup = z.output<typeof acs_access_group>;
|
|
81
172
|
export type UnmanagedAcsAccessGroup = z.output<typeof unmanaged_acs_access_group>;
|
|
173
|
+
export {};
|
|
@@ -6,7 +6,32 @@ export const acs_access_group_external_type = z.enum([
|
|
|
6
6
|
'salto_ks_access_group',
|
|
7
7
|
'brivo_group',
|
|
8
8
|
'salto_space_group',
|
|
9
|
+
'dormakaba_community_access_group',
|
|
9
10
|
]);
|
|
11
|
+
const common_acs_access_group_warning = z.object({
|
|
12
|
+
created_at: z
|
|
13
|
+
.string()
|
|
14
|
+
.datetime()
|
|
15
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
16
|
+
message: z
|
|
17
|
+
.string()
|
|
18
|
+
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
19
|
+
});
|
|
20
|
+
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
21
|
+
export const unknown_issue_with_acs_access_group = common_acs_access_group_warning
|
|
22
|
+
.extend({
|
|
23
|
+
warning_code: z
|
|
24
|
+
.literal('unknown_issue_with_acs_access_group')
|
|
25
|
+
.describe(warning_code_description),
|
|
26
|
+
})
|
|
27
|
+
.describe('An unknown issue occurred while syncing the state of this access group with the provider. ' +
|
|
28
|
+
'This issue may affect the proper functioning of this access group.');
|
|
29
|
+
const acs_access_group_warning = unknown_issue_with_acs_access_group.describe('Warning associated with the `acs_access_group`.');
|
|
30
|
+
const acs_access_group_warning_map = z.object({
|
|
31
|
+
unknown_issue_with_acs_access_group: unknown_issue_with_acs_access_group
|
|
32
|
+
.optional()
|
|
33
|
+
.nullable(),
|
|
34
|
+
});
|
|
10
35
|
const common_acs_access_group = z.object({
|
|
11
36
|
acs_access_group_id: z.string().uuid().describe('ID of the access group.'),
|
|
12
37
|
acs_system_id: z
|
|
@@ -37,6 +62,9 @@ const common_acs_access_group = z.object({
|
|
|
37
62
|
.string()
|
|
38
63
|
.datetime()
|
|
39
64
|
.describe('Date and time at which the access group was created.'),
|
|
65
|
+
warnings: z
|
|
66
|
+
.array(acs_access_group_warning)
|
|
67
|
+
.describe('Warnings associated with the `acs_access_group`.'),
|
|
40
68
|
});
|
|
41
69
|
export const acs_access_group = common_acs_access_group.extend({
|
|
42
70
|
is_managed: z.literal(true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-access-group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-access-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,uBAAuB;IACvB,aAAa;IACb,mBAAmB;
|
|
1
|
+
{"version":3,"file":"acs-access-group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-access-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,uBAAuB;IACvB,aAAa;IACb,mBAAmB;IACnB,kCAAkC;CACnC,CAAC,CAAA;AAMF,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ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CACxD;IACD,0BAA0B,EAAE,CAAC;SAC1B,MAAM,EAAE;SACR,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,wBAAwB,CAAC;SAC/B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC7D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC;KACC,QAAQ,CAAC;6PACiP,CAAC,CAAA;AAC9P,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IACvE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CAAA"}
|
|
@@ -2,6 +2,20 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>;
|
|
3
3
|
export declare const acs_credential_access_method_type: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
4
4
|
export type AcsCredentialExternalType = z.infer<typeof acs_credential_external_type>;
|
|
5
|
+
export declare const unknown_issue_with_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
6
|
+
created_at: z.ZodString;
|
|
7
|
+
message: z.ZodString;
|
|
8
|
+
}, {
|
|
9
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_credential">;
|
|
10
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11
|
+
message: string;
|
|
12
|
+
warning_code: "unknown_issue_with_credential";
|
|
13
|
+
created_at: string;
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
warning_code: "unknown_issue_with_credential";
|
|
17
|
+
created_at: string;
|
|
18
|
+
}>;
|
|
5
19
|
declare const acs_credential_warning_map: z.ZodObject<{
|
|
6
20
|
waiting_to_be_issued: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
7
21
|
created_at: z.ZodString;
|
|
@@ -49,7 +49,7 @@ const being_deleted = common_acs_credential_warning
|
|
|
49
49
|
warning_code: z.literal('being_deleted').describe(warning_code_description),
|
|
50
50
|
})
|
|
51
51
|
.describe('Indicates that this credential is being deleted.');
|
|
52
|
-
const unknown_issue_with_credential = common_acs_credential_warning
|
|
52
|
+
export const unknown_issue_with_credential = common_acs_credential_warning
|
|
53
53
|
.extend({
|
|
54
54
|
warning_code: z
|
|
55
55
|
.literal('unknown_issue_with_credential')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kCAAkC,EAAE,MAAM,qBAAqB,CAAA;AAExE,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,qBAAqB;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,oBAAoB,GAAG,6BAA6B;KACvD,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC;KACD,QAAQ,CAAC,wDAAwD,CAAC,CAAA;AAErE,MAAM,4BAA4B,GAAG,6BAA6B;KAC/D,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,8BAA8B,CAAC;SACvC,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC;KACD,QAAQ,CACP,0FAA0F,CAC3F,CAAA;AAEH,MAAM,iBAAiB,GAAG,6BAA6B;KACpD,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,mBAAmB,CAAC;SAC5B,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC;KACD,QAAQ,CACP,2HAA2H,CAC5H,CAAA;AAEH,MAAM,aAAa,GAAG,6BAA6B;KAChD,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5E,CAAC;KACD,QAAQ,CAAC,kDAAkD,CAAC,CAAA;AAE/D,MAAM,6BAA6B,GAAG,6BAA6B;
|
|
1
|
+
{"version":3,"file":"acs-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kCAAkC,EAAE,MAAM,qBAAqB,CAAA;AAExE,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,qBAAqB;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM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C,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC7D,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC/D,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
|
|
@@ -89,18 +89,12 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
89
89
|
dormakaba_community_metadata: z.ZodOptional<z.ZodObject<{
|
|
90
90
|
access_point_name: z.ZodString;
|
|
91
91
|
common_area_number: z.ZodOptional<z.ZodNumber>;
|
|
92
|
-
inner_access_points_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
93
|
-
lease_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
94
92
|
}, "strip", z.ZodTypeAny, {
|
|
95
93
|
access_point_name: string;
|
|
96
94
|
common_area_number?: number | undefined;
|
|
97
|
-
inner_access_points_names?: string[] | undefined;
|
|
98
|
-
lease_ids?: string[] | undefined;
|
|
99
95
|
}, {
|
|
100
96
|
access_point_name: string;
|
|
101
97
|
common_area_number?: number | undefined;
|
|
102
|
-
inner_access_points_names?: string[] | undefined;
|
|
103
|
-
lease_ids?: string[] | undefined;
|
|
104
98
|
}>>;
|
|
105
99
|
assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
|
|
106
100
|
door_type: z.ZodEnum<["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]>;
|
|
@@ -177,8 +171,6 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
177
171
|
dormakaba_community_metadata?: {
|
|
178
172
|
access_point_name: string;
|
|
179
173
|
common_area_number?: number | undefined;
|
|
180
|
-
inner_access_points_names?: string[] | undefined;
|
|
181
|
-
lease_ids?: string[] | undefined;
|
|
182
174
|
} | undefined;
|
|
183
175
|
salto_space_metadata?: {
|
|
184
176
|
door_name: string;
|
|
@@ -228,8 +220,6 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
228
220
|
dormakaba_community_metadata?: {
|
|
229
221
|
access_point_name: string;
|
|
230
222
|
common_area_number?: number | undefined;
|
|
231
|
-
inner_access_points_names?: string[] | undefined;
|
|
232
|
-
lease_ids?: string[] | undefined;
|
|
233
223
|
} | undefined;
|
|
234
224
|
salto_space_metadata?: {
|
|
235
225
|
door_name: string;
|
|
@@ -2,17 +2,11 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const acs_entrance_dormakaba_community_metadata: z.ZodObject<{
|
|
3
3
|
access_point_name: z.ZodString;
|
|
4
4
|
common_area_number: z.ZodOptional<z.ZodNumber>;
|
|
5
|
-
inner_access_points_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
|
-
lease_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
5
|
}, "strip", z.ZodTypeAny, {
|
|
8
6
|
access_point_name: string;
|
|
9
7
|
common_area_number?: number | undefined;
|
|
10
|
-
inner_access_points_names?: string[] | undefined;
|
|
11
|
-
lease_ids?: string[] | undefined;
|
|
12
8
|
}, {
|
|
13
9
|
access_point_name: string;
|
|
14
10
|
common_area_number?: number | undefined;
|
|
15
|
-
inner_access_points_names?: string[] | undefined;
|
|
16
|
-
lease_ids?: string[] | undefined;
|
|
17
11
|
}>;
|
|
18
12
|
export type AcsEntranceDormakabaCommunityMetadata = z.infer<typeof acs_entrance_dormakaba_community_metadata>;
|
|
@@ -2,7 +2,5 @@ import { z } from 'zod';
|
|
|
2
2
|
export const acs_entrance_dormakaba_community_metadata = z.object({
|
|
3
3
|
access_point_name: z.string(),
|
|
4
4
|
common_area_number: z.number().optional(),
|
|
5
|
-
inner_access_points_names: z.array(z.string()).optional(),
|
|
6
|
-
lease_ids: z.array(z.string()).optional(),
|
|
7
5
|
});
|
|
8
6
|
//# sourceMappingURL=dormakaba-community.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dormakaba-community.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"dormakaba-community.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAA"}
|
|
@@ -14,7 +14,18 @@ export declare const connected_account_error: z.ZodObject<z.objectUtil.extendSha
|
|
|
14
14
|
error_code: string;
|
|
15
15
|
}>;
|
|
16
16
|
export type ConnectedAccountError = z.infer<typeof connected_account_error>;
|
|
17
|
-
declare const
|
|
17
|
+
export declare const unknown_issue_with_connected_account: z.ZodObject<z.objectUtil.extendShape<{
|
|
18
|
+
message: z.ZodString;
|
|
19
|
+
}, {
|
|
20
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
|
|
21
|
+
}>, "strip", z.ZodTypeAny, {
|
|
22
|
+
message: string;
|
|
23
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
24
|
+
}, {
|
|
25
|
+
message: string;
|
|
26
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
27
|
+
}>;
|
|
28
|
+
declare const connected_account_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
18
29
|
message: z.ZodString;
|
|
19
30
|
}, {
|
|
20
31
|
warning_code: z.ZodString;
|
|
@@ -24,7 +35,17 @@ declare const connected_account_warning: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
24
35
|
}, {
|
|
25
36
|
message: string;
|
|
26
37
|
warning_code: string;
|
|
27
|
-
}
|
|
38
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
39
|
+
message: z.ZodString;
|
|
40
|
+
}, {
|
|
41
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
|
|
42
|
+
}>, "strip", z.ZodTypeAny, {
|
|
43
|
+
message: string;
|
|
44
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
45
|
+
}, {
|
|
46
|
+
message: string;
|
|
47
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
48
|
+
}>]>;
|
|
28
49
|
export type ConnectedAccountWarning = z.infer<typeof connected_account_warning>;
|
|
29
50
|
export declare const connected_account: z.ZodObject<{
|
|
30
51
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
@@ -64,7 +85,7 @@ export declare const connected_account: z.ZodObject<{
|
|
|
64
85
|
is_connected_account_error: true;
|
|
65
86
|
error_code: string;
|
|
66
87
|
}>, "many">;
|
|
67
|
-
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
88
|
+
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
68
89
|
message: z.ZodString;
|
|
69
90
|
}, {
|
|
70
91
|
warning_code: z.ZodString;
|
|
@@ -74,7 +95,17 @@ export declare const connected_account: z.ZodObject<{
|
|
|
74
95
|
}, {
|
|
75
96
|
message: string;
|
|
76
97
|
warning_code: string;
|
|
77
|
-
}>,
|
|
98
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
99
|
+
message: z.ZodString;
|
|
100
|
+
}, {
|
|
101
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
|
|
102
|
+
}>, "strip", z.ZodTypeAny, {
|
|
103
|
+
message: string;
|
|
104
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
105
|
+
}, {
|
|
106
|
+
message: string;
|
|
107
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
108
|
+
}>]>, "many">;
|
|
78
109
|
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
79
110
|
automatically_manage_new_devices: z.ZodBoolean;
|
|
80
111
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -84,10 +115,13 @@ export declare const connected_account: z.ZodObject<{
|
|
|
84
115
|
is_connected_account_error: true;
|
|
85
116
|
error_code: string;
|
|
86
117
|
}[];
|
|
87
|
-
warnings: {
|
|
118
|
+
warnings: ({
|
|
119
|
+
message: string;
|
|
120
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
121
|
+
} | {
|
|
88
122
|
message: string;
|
|
89
123
|
warning_code: string;
|
|
90
|
-
}[];
|
|
124
|
+
})[];
|
|
91
125
|
custom_metadata: Record<string, string | boolean>;
|
|
92
126
|
automatically_manage_new_devices: boolean;
|
|
93
127
|
connected_account_id?: string | undefined;
|
|
@@ -107,10 +141,13 @@ export declare const connected_account: z.ZodObject<{
|
|
|
107
141
|
is_connected_account_error: true;
|
|
108
142
|
error_code: string;
|
|
109
143
|
}[];
|
|
110
|
-
warnings: {
|
|
144
|
+
warnings: ({
|
|
145
|
+
message: string;
|
|
146
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
147
|
+
} | {
|
|
111
148
|
message: string;
|
|
112
149
|
warning_code: string;
|
|
113
|
-
}[];
|
|
150
|
+
})[];
|
|
114
151
|
custom_metadata: Record<string, string | boolean>;
|
|
115
152
|
automatically_manage_new_devices: boolean;
|
|
116
153
|
connected_account_id?: string | undefined;
|
|
@@ -4,15 +4,29 @@ const common_connected_account_error = z.object({
|
|
|
4
4
|
message: z.string(),
|
|
5
5
|
is_connected_account_error: z.literal(true),
|
|
6
6
|
});
|
|
7
|
+
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
7
8
|
const common_connected_account_warning = z.object({
|
|
8
9
|
message: z.string(),
|
|
9
10
|
});
|
|
10
11
|
export const connected_account_error = common_connected_account_error.extend({
|
|
11
12
|
error_code: z.string(),
|
|
12
13
|
});
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
export const unknown_issue_with_connected_account = common_connected_account_warning
|
|
15
|
+
.extend({
|
|
16
|
+
warning_code: z
|
|
17
|
+
.literal('unknown_issue_with_connected_account')
|
|
18
|
+
.describe(warning_code_description),
|
|
19
|
+
})
|
|
20
|
+
.describe('An unknown issue occurred while syncing the state of this connected account with the provider. ' +
|
|
21
|
+
'This issue may affect the proper functioning of one or more resources in this account.');
|
|
22
|
+
const connected_account_warning = z
|
|
23
|
+
.union([
|
|
24
|
+
common_connected_account_warning.extend({
|
|
25
|
+
warning_code: z.string(),
|
|
26
|
+
}),
|
|
27
|
+
unknown_issue_with_connected_account,
|
|
28
|
+
])
|
|
29
|
+
.describe('Warning associated with the `connected_account`.');
|
|
16
30
|
export const connected_account = z.object({
|
|
17
31
|
connected_account_id: z.string().uuid().optional(),
|
|
18
32
|
created_at: z.string().datetime().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5C,CAAC,CAAA;AAEF,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,8BAA8B,CAAC,MAAM,CAAC;IAC3E,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAA;AAIF,MAAM,yBAAyB,GAAG,gCAAgC,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5C,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,8BAA8B,CAAC,MAAM,CAAC;IAC3E,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,oCAAoC,GAC/C,gCAAgC;KAC7B,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,sCAAsC,CAAC;SAC/C,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC;KACD,QAAQ,CACP,iGAAiG;IAC/F,wFAAwF,CAC3F,CAAA;AAEL,MAAM,yBAAyB,GAAG,CAAC;KAChC,KAAK,CAAC;IACL,gCAAgC,CAAC,MAAM,CAAC;QACtC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;KACzB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