@awarevue/api-types 1.0.57 → 1.0.59
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/access-control/credential.d.ts +3 -0
- package/dist/access-control/credential.js +1 -0
- package/dist/access-control/person.d.ts +15 -0
- package/dist/agent-communication/protocol.d.ts +128 -0
- package/dist/package.json +1 -1
- package/dist/permissions.d.ts +4 -4
- package/dist/permissions.js +5 -0
- package/dist/user.d.ts +12 -12
- package/package.json +1 -1
|
@@ -3,12 +3,15 @@ export declare const sCredentialType: z.ZodEnum<["card", "pin", "fingerprint"]>;
|
|
|
3
3
|
export declare const sAssignedCredential: z.ZodObject<{
|
|
4
4
|
type: z.ZodEnum<["card", "pin", "fingerprint"]>;
|
|
5
5
|
value: z.ZodString;
|
|
6
|
+
note: z.ZodNullable<z.ZodString>;
|
|
6
7
|
}, "strip", z.ZodTypeAny, {
|
|
7
8
|
type: "card" | "pin" | "fingerprint";
|
|
8
9
|
value: string;
|
|
10
|
+
note: string | null;
|
|
9
11
|
}, {
|
|
10
12
|
type: "card" | "pin" | "fingerprint";
|
|
11
13
|
value: string;
|
|
14
|
+
note: string | null;
|
|
12
15
|
}>;
|
|
13
16
|
export type CredentialType = z.infer<typeof sCredentialType>;
|
|
14
17
|
export type AssignedCredential = z.infer<typeof sAssignedCredential>;
|
|
@@ -25,12 +25,15 @@ export declare const sPersonDto: z.ZodObject<{
|
|
|
25
25
|
credentials: z.ZodArray<z.ZodObject<{
|
|
26
26
|
type: z.ZodEnum<["card", "pin", "fingerprint"]>;
|
|
27
27
|
value: z.ZodString;
|
|
28
|
+
note: z.ZodNullable<z.ZodString>;
|
|
28
29
|
}, "strip", z.ZodTypeAny, {
|
|
29
30
|
type: "card" | "pin" | "fingerprint";
|
|
30
31
|
value: string;
|
|
32
|
+
note: string | null;
|
|
31
33
|
}, {
|
|
32
34
|
type: "card" | "pin" | "fingerprint";
|
|
33
35
|
value: string;
|
|
36
|
+
note: string | null;
|
|
34
37
|
}>, "many">;
|
|
35
38
|
accessRules: z.ZodArray<z.ZodObject<{
|
|
36
39
|
id: z.ZodString;
|
|
@@ -63,6 +66,7 @@ export declare const sPersonDto: z.ZodObject<{
|
|
|
63
66
|
credentials: {
|
|
64
67
|
type: "card" | "pin" | "fingerprint";
|
|
65
68
|
value: string;
|
|
69
|
+
note: string | null;
|
|
66
70
|
}[];
|
|
67
71
|
accessRules: {
|
|
68
72
|
id: string;
|
|
@@ -87,6 +91,7 @@ export declare const sPersonDto: z.ZodObject<{
|
|
|
87
91
|
credentials: {
|
|
88
92
|
type: "card" | "pin" | "fingerprint";
|
|
89
93
|
value: string;
|
|
94
|
+
note: string | null;
|
|
90
95
|
}[];
|
|
91
96
|
accessRules: {
|
|
92
97
|
id: string;
|
|
@@ -106,12 +111,15 @@ export declare const sCreatePersonRequest: z.ZodObject<{
|
|
|
106
111
|
credentials: z.ZodArray<z.ZodObject<{
|
|
107
112
|
type: z.ZodEnum<["card", "pin", "fingerprint"]>;
|
|
108
113
|
value: z.ZodString;
|
|
114
|
+
note: z.ZodNullable<z.ZodString>;
|
|
109
115
|
}, "strip", z.ZodTypeAny, {
|
|
110
116
|
type: "card" | "pin" | "fingerprint";
|
|
111
117
|
value: string;
|
|
118
|
+
note: string | null;
|
|
112
119
|
}, {
|
|
113
120
|
type: "card" | "pin" | "fingerprint";
|
|
114
121
|
value: string;
|
|
122
|
+
note: string | null;
|
|
115
123
|
}>, "many">;
|
|
116
124
|
accessRules: z.ZodArray<z.ZodString, "many">;
|
|
117
125
|
customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -127,6 +135,7 @@ export declare const sCreatePersonRequest: z.ZodObject<{
|
|
|
127
135
|
credentials: {
|
|
128
136
|
type: "card" | "pin" | "fingerprint";
|
|
129
137
|
value: string;
|
|
138
|
+
note: string | null;
|
|
130
139
|
}[];
|
|
131
140
|
accessRules: string[];
|
|
132
141
|
customFields: Record<string, string> | null;
|
|
@@ -142,6 +151,7 @@ export declare const sCreatePersonRequest: z.ZodObject<{
|
|
|
142
151
|
credentials: {
|
|
143
152
|
type: "card" | "pin" | "fingerprint";
|
|
144
153
|
value: string;
|
|
154
|
+
note: string | null;
|
|
145
155
|
}[];
|
|
146
156
|
accessRules: string[];
|
|
147
157
|
customFields: Record<string, string> | null;
|
|
@@ -158,12 +168,15 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
|
|
|
158
168
|
credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
169
|
type: z.ZodEnum<["card", "pin", "fingerprint"]>;
|
|
160
170
|
value: z.ZodString;
|
|
171
|
+
note: z.ZodNullable<z.ZodString>;
|
|
161
172
|
}, "strip", z.ZodTypeAny, {
|
|
162
173
|
type: "card" | "pin" | "fingerprint";
|
|
163
174
|
value: string;
|
|
175
|
+
note: string | null;
|
|
164
176
|
}, {
|
|
165
177
|
type: "card" | "pin" | "fingerprint";
|
|
166
178
|
value: string;
|
|
179
|
+
note: string | null;
|
|
167
180
|
}>, "many">>;
|
|
168
181
|
accessRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
169
182
|
customFields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -181,6 +194,7 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
|
|
|
181
194
|
credentials?: {
|
|
182
195
|
type: "card" | "pin" | "fingerprint";
|
|
183
196
|
value: string;
|
|
197
|
+
note: string | null;
|
|
184
198
|
}[] | undefined;
|
|
185
199
|
accessRules?: string[] | undefined;
|
|
186
200
|
customFields?: Record<string, string> | null | undefined;
|
|
@@ -197,6 +211,7 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
|
|
|
197
211
|
credentials?: {
|
|
198
212
|
type: "card" | "pin" | "fingerprint";
|
|
199
213
|
value: string;
|
|
214
|
+
note: string | null;
|
|
200
215
|
}[] | undefined;
|
|
201
216
|
accessRules?: string[] | undefined;
|
|
202
217
|
customFields?: Record<string, string> | null | undefined;
|