@awarevue/api-types 1.0.1 → 1.0.3
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.
|
@@ -192,6 +192,58 @@ export declare const sProviderSpecs: z.ZodObject<{
|
|
|
192
192
|
placeHolder?: string | undefined;
|
|
193
193
|
})[] | undefined;
|
|
194
194
|
}>;
|
|
195
|
+
export declare const sAccessObjectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
196
|
+
export declare const sTokenSpecs: z.ZodObject<{
|
|
197
|
+
type: z.ZodEnum<["card", "pin", "finger-print", "face"]>;
|
|
198
|
+
regex: z.ZodOptional<z.ZodString>;
|
|
199
|
+
formatDescription: z.ZodOptional<z.ZodString>;
|
|
200
|
+
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
203
|
+
regex?: string | undefined;
|
|
204
|
+
formatDescription?: string | undefined;
|
|
205
|
+
maxPerPerson?: number | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
208
|
+
regex?: string | undefined;
|
|
209
|
+
formatDescription?: string | undefined;
|
|
210
|
+
maxPerPerson?: number | undefined;
|
|
211
|
+
}>;
|
|
212
|
+
export declare const sAccessControlCapabilityReport: z.ZodObject<{
|
|
213
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
214
|
+
type: z.ZodEnum<["card", "pin", "finger-print", "face"]>;
|
|
215
|
+
regex: z.ZodOptional<z.ZodString>;
|
|
216
|
+
formatDescription: z.ZodOptional<z.ZodString>;
|
|
217
|
+
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
220
|
+
regex?: string | undefined;
|
|
221
|
+
formatDescription?: string | undefined;
|
|
222
|
+
maxPerPerson?: number | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
225
|
+
regex?: string | undefined;
|
|
226
|
+
formatDescription?: string | undefined;
|
|
227
|
+
maxPerPerson?: number | undefined;
|
|
228
|
+
}>, "many">;
|
|
229
|
+
accessbjects: z.ZodArray<z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>, "many">;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
tokens: {
|
|
232
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
233
|
+
regex?: string | undefined;
|
|
234
|
+
formatDescription?: string | undefined;
|
|
235
|
+
maxPerPerson?: number | undefined;
|
|
236
|
+
}[];
|
|
237
|
+
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
238
|
+
}, {
|
|
239
|
+
tokens: {
|
|
240
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
241
|
+
regex?: string | undefined;
|
|
242
|
+
formatDescription?: string | undefined;
|
|
243
|
+
maxPerPerson?: number | undefined;
|
|
244
|
+
}[];
|
|
245
|
+
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
246
|
+
}>;
|
|
195
247
|
export declare const sRegisterRq: z.ZodObject<{
|
|
196
248
|
kind: z.ZodLiteral<"register">;
|
|
197
249
|
providers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -260,6 +312,41 @@ export declare const sRegisterRq: z.ZodObject<{
|
|
|
260
312
|
placeHolder?: string | undefined;
|
|
261
313
|
})[] | undefined;
|
|
262
314
|
}>>;
|
|
315
|
+
accessControlProviders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
316
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
317
|
+
type: z.ZodEnum<["card", "pin", "finger-print", "face"]>;
|
|
318
|
+
regex: z.ZodOptional<z.ZodString>;
|
|
319
|
+
formatDescription: z.ZodOptional<z.ZodString>;
|
|
320
|
+
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
323
|
+
regex?: string | undefined;
|
|
324
|
+
formatDescription?: string | undefined;
|
|
325
|
+
maxPerPerson?: number | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
328
|
+
regex?: string | undefined;
|
|
329
|
+
formatDescription?: string | undefined;
|
|
330
|
+
maxPerPerson?: number | undefined;
|
|
331
|
+
}>, "many">;
|
|
332
|
+
accessbjects: z.ZodArray<z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>, "many">;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
tokens: {
|
|
335
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
336
|
+
regex?: string | undefined;
|
|
337
|
+
formatDescription?: string | undefined;
|
|
338
|
+
maxPerPerson?: number | undefined;
|
|
339
|
+
}[];
|
|
340
|
+
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
341
|
+
}, {
|
|
342
|
+
tokens: {
|
|
343
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
344
|
+
regex?: string | undefined;
|
|
345
|
+
formatDescription?: string | undefined;
|
|
346
|
+
maxPerPerson?: number | undefined;
|
|
347
|
+
}[];
|
|
348
|
+
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
349
|
+
}>>>;
|
|
263
350
|
}, "strip", z.ZodTypeAny, {
|
|
264
351
|
kind: "register";
|
|
265
352
|
providers: Record<string, {
|
|
@@ -278,6 +365,15 @@ export declare const sRegisterRq: z.ZodObject<{
|
|
|
278
365
|
placeHolder?: string | undefined;
|
|
279
366
|
})[] | undefined;
|
|
280
367
|
}>;
|
|
368
|
+
accessControlProviders?: Record<string, {
|
|
369
|
+
tokens: {
|
|
370
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
371
|
+
regex?: string | undefined;
|
|
372
|
+
formatDescription?: string | undefined;
|
|
373
|
+
maxPerPerson?: number | undefined;
|
|
374
|
+
}[];
|
|
375
|
+
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
376
|
+
}> | undefined;
|
|
281
377
|
}, {
|
|
282
378
|
kind: "register";
|
|
283
379
|
providers: Record<string, {
|
|
@@ -296,6 +392,15 @@ export declare const sRegisterRq: z.ZodObject<{
|
|
|
296
392
|
placeHolder?: string | undefined;
|
|
297
393
|
})[] | undefined;
|
|
298
394
|
}>;
|
|
395
|
+
accessControlProviders?: Record<string, {
|
|
396
|
+
tokens: {
|
|
397
|
+
type: "card" | "pin" | "finger-print" | "face";
|
|
398
|
+
regex?: string | undefined;
|
|
399
|
+
formatDescription?: string | undefined;
|
|
400
|
+
maxPerPerson?: number | undefined;
|
|
401
|
+
}[];
|
|
402
|
+
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
403
|
+
}> | undefined;
|
|
299
404
|
}>;
|
|
300
405
|
export declare const sRegisterRs: z.ZodIntersection<z.ZodObject<{
|
|
301
406
|
requestId: z.ZodString;
|
|
@@ -925,145 +1030,33 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
925
1030
|
provider: string;
|
|
926
1031
|
})[];
|
|
927
1032
|
}>>;
|
|
928
|
-
export declare const sAccessObjectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
929
|
-
export declare const sTokenSpecs: z.ZodObject<{
|
|
930
|
-
type: z.ZodEnum<["card", "pin", "finger-print", "face"]>;
|
|
931
|
-
regex: z.ZodOptional<z.ZodString>;
|
|
932
|
-
formatDescription: z.ZodOptional<z.ZodString>;
|
|
933
|
-
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
934
|
-
}, "strip", z.ZodTypeAny, {
|
|
935
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
936
|
-
regex?: string | undefined;
|
|
937
|
-
formatDescription?: string | undefined;
|
|
938
|
-
maxPerPerson?: number | undefined;
|
|
939
|
-
}, {
|
|
940
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
941
|
-
regex?: string | undefined;
|
|
942
|
-
formatDescription?: string | undefined;
|
|
943
|
-
maxPerPerson?: number | undefined;
|
|
944
|
-
}>;
|
|
945
|
-
export declare const sCapabilityReport: z.ZodObject<{
|
|
946
|
-
tokens: z.ZodArray<z.ZodObject<{
|
|
947
|
-
type: z.ZodEnum<["card", "pin", "finger-print", "face"]>;
|
|
948
|
-
regex: z.ZodOptional<z.ZodString>;
|
|
949
|
-
formatDescription: z.ZodOptional<z.ZodString>;
|
|
950
|
-
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
951
|
-
}, "strip", z.ZodTypeAny, {
|
|
952
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
953
|
-
regex?: string | undefined;
|
|
954
|
-
formatDescription?: string | undefined;
|
|
955
|
-
maxPerPerson?: number | undefined;
|
|
956
|
-
}, {
|
|
957
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
958
|
-
regex?: string | undefined;
|
|
959
|
-
formatDescription?: string | undefined;
|
|
960
|
-
maxPerPerson?: number | undefined;
|
|
961
|
-
}>, "many">;
|
|
962
|
-
accessbjects: z.ZodArray<z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>, "many">;
|
|
963
|
-
}, "strip", z.ZodTypeAny, {
|
|
964
|
-
tokens: {
|
|
965
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
966
|
-
regex?: string | undefined;
|
|
967
|
-
formatDescription?: string | undefined;
|
|
968
|
-
maxPerPerson?: number | undefined;
|
|
969
|
-
}[];
|
|
970
|
-
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
971
|
-
}, {
|
|
972
|
-
tokens: {
|
|
973
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
974
|
-
regex?: string | undefined;
|
|
975
|
-
formatDescription?: string | undefined;
|
|
976
|
-
maxPerPerson?: number | undefined;
|
|
977
|
-
}[];
|
|
978
|
-
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
979
|
-
}>;
|
|
980
|
-
export declare const sRegisterAccessControlAgentRq: z.ZodIntersection<z.ZodObject<{
|
|
981
|
-
kind: z.ZodLiteral<"register-access-control-agent">;
|
|
982
|
-
provider: z.ZodString;
|
|
983
|
-
}, "strip", z.ZodTypeAny, {
|
|
984
|
-
kind: "register-access-control-agent";
|
|
985
|
-
provider: string;
|
|
986
|
-
}, {
|
|
987
|
-
kind: "register-access-control-agent";
|
|
988
|
-
provider: string;
|
|
989
|
-
}>, z.ZodObject<{
|
|
990
|
-
tokens: z.ZodArray<z.ZodObject<{
|
|
991
|
-
type: z.ZodEnum<["card", "pin", "finger-print", "face"]>;
|
|
992
|
-
regex: z.ZodOptional<z.ZodString>;
|
|
993
|
-
formatDescription: z.ZodOptional<z.ZodString>;
|
|
994
|
-
maxPerPerson: z.ZodOptional<z.ZodNumber>;
|
|
995
|
-
}, "strip", z.ZodTypeAny, {
|
|
996
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
997
|
-
regex?: string | undefined;
|
|
998
|
-
formatDescription?: string | undefined;
|
|
999
|
-
maxPerPerson?: number | undefined;
|
|
1000
|
-
}, {
|
|
1001
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
1002
|
-
regex?: string | undefined;
|
|
1003
|
-
formatDescription?: string | undefined;
|
|
1004
|
-
maxPerPerson?: number | undefined;
|
|
1005
|
-
}>, "many">;
|
|
1006
|
-
accessbjects: z.ZodArray<z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>, "many">;
|
|
1007
|
-
}, "strip", z.ZodTypeAny, {
|
|
1008
|
-
tokens: {
|
|
1009
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
1010
|
-
regex?: string | undefined;
|
|
1011
|
-
formatDescription?: string | undefined;
|
|
1012
|
-
maxPerPerson?: number | undefined;
|
|
1013
|
-
}[];
|
|
1014
|
-
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
1015
|
-
}, {
|
|
1016
|
-
tokens: {
|
|
1017
|
-
type: "card" | "pin" | "finger-print" | "face";
|
|
1018
|
-
regex?: string | undefined;
|
|
1019
|
-
formatDescription?: string | undefined;
|
|
1020
|
-
maxPerPerson?: number | undefined;
|
|
1021
|
-
}[];
|
|
1022
|
-
accessbjects: ("person" | "zone" | "reader" | "access-rule" | "schedule")[];
|
|
1023
|
-
}>>;
|
|
1024
|
-
export declare const sRegisterAccessControlAgentRs: z.ZodIntersection<z.ZodObject<{
|
|
1025
|
-
requestId: z.ZodString;
|
|
1026
|
-
kind: z.ZodLiteral<"register-access-control-agent-rs">;
|
|
1027
|
-
}, "strip", z.ZodTypeAny, {
|
|
1028
|
-
kind: "register-access-control-agent-rs";
|
|
1029
|
-
requestId: string;
|
|
1030
|
-
}, {
|
|
1031
|
-
kind: "register-access-control-agent-rs";
|
|
1032
|
-
requestId: string;
|
|
1033
|
-
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>>;
|
|
1034
1033
|
export declare const sObjectMerge: z.ZodObject<{
|
|
1035
1034
|
kind: z.ZodLiteral<"merge">;
|
|
1036
1035
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1037
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1038
1036
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1039
1037
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1040
1038
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1039
|
kind: "merge";
|
|
1042
1040
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1043
|
-
objectForeignRefs: string[];
|
|
1044
1041
|
props: Record<string, unknown>;
|
|
1045
1042
|
objectId?: string | undefined;
|
|
1046
1043
|
}, {
|
|
1047
1044
|
kind: "merge";
|
|
1048
1045
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1049
|
-
objectForeignRefs: string[];
|
|
1050
1046
|
props: Record<string, unknown>;
|
|
1051
1047
|
objectId?: string | undefined;
|
|
1052
1048
|
}>;
|
|
1053
1049
|
export declare const sObjectDelete: z.ZodObject<{
|
|
1054
1050
|
kind: z.ZodLiteral<"delete">;
|
|
1055
1051
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1056
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1057
1052
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1058
1053
|
}, "strip", z.ZodTypeAny, {
|
|
1059
1054
|
kind: "delete";
|
|
1060
1055
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1061
|
-
objectForeignRefs: string[];
|
|
1062
1056
|
objectId?: string | undefined;
|
|
1063
1057
|
}, {
|
|
1064
1058
|
kind: "delete";
|
|
1065
1059
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1066
|
-
objectForeignRefs: string[];
|
|
1067
1060
|
objectId?: string | undefined;
|
|
1068
1061
|
}>;
|
|
1069
1062
|
export declare const sRelationMerge: z.ZodObject<{
|
|
@@ -1071,39 +1064,31 @@ export declare const sRelationMerge: z.ZodObject<{
|
|
|
1071
1064
|
left: z.ZodObject<{
|
|
1072
1065
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1073
1066
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1074
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1075
1067
|
}, "strip", z.ZodTypeAny, {
|
|
1076
1068
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1077
|
-
objectForeignRefs: string[];
|
|
1078
1069
|
objectId?: string | undefined;
|
|
1079
1070
|
}, {
|
|
1080
1071
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1081
|
-
objectForeignRefs: string[];
|
|
1082
1072
|
objectId?: string | undefined;
|
|
1083
1073
|
}>;
|
|
1084
1074
|
right: z.ZodObject<{
|
|
1085
1075
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1086
1076
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1087
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1088
1077
|
}, "strip", z.ZodTypeAny, {
|
|
1089
1078
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1090
|
-
objectForeignRefs: string[];
|
|
1091
1079
|
objectId?: string | undefined;
|
|
1092
1080
|
}, {
|
|
1093
1081
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1094
|
-
objectForeignRefs: string[];
|
|
1095
1082
|
objectId?: string | undefined;
|
|
1096
1083
|
}>;
|
|
1097
1084
|
linkExists: z.ZodBoolean;
|
|
1098
1085
|
}, "strip", z.ZodTypeAny, {
|
|
1099
1086
|
left: {
|
|
1100
1087
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1101
|
-
objectForeignRefs: string[];
|
|
1102
1088
|
objectId?: string | undefined;
|
|
1103
1089
|
};
|
|
1104
1090
|
right: {
|
|
1105
1091
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1106
|
-
objectForeignRefs: string[];
|
|
1107
1092
|
objectId?: string | undefined;
|
|
1108
1093
|
};
|
|
1109
1094
|
kind: "relation-merge";
|
|
@@ -1111,12 +1096,10 @@ export declare const sRelationMerge: z.ZodObject<{
|
|
|
1111
1096
|
}, {
|
|
1112
1097
|
left: {
|
|
1113
1098
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1114
|
-
objectForeignRefs: string[];
|
|
1115
1099
|
objectId?: string | undefined;
|
|
1116
1100
|
};
|
|
1117
1101
|
right: {
|
|
1118
1102
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1119
|
-
objectForeignRefs: string[];
|
|
1120
1103
|
objectId?: string | undefined;
|
|
1121
1104
|
};
|
|
1122
1105
|
kind: "relation-merge";
|
|
@@ -1125,74 +1108,60 @@ export declare const sRelationMerge: z.ZodObject<{
|
|
|
1125
1108
|
export declare const sAccessMutation: z.ZodUnion<[z.ZodObject<{
|
|
1126
1109
|
kind: z.ZodLiteral<"merge">;
|
|
1127
1110
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1128
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1129
1111
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1130
1112
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1131
1113
|
}, "strip", z.ZodTypeAny, {
|
|
1132
1114
|
kind: "merge";
|
|
1133
1115
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1134
|
-
objectForeignRefs: string[];
|
|
1135
1116
|
props: Record<string, unknown>;
|
|
1136
1117
|
objectId?: string | undefined;
|
|
1137
1118
|
}, {
|
|
1138
1119
|
kind: "merge";
|
|
1139
1120
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1140
|
-
objectForeignRefs: string[];
|
|
1141
1121
|
props: Record<string, unknown>;
|
|
1142
1122
|
objectId?: string | undefined;
|
|
1143
1123
|
}>, z.ZodObject<{
|
|
1144
1124
|
kind: z.ZodLiteral<"delete">;
|
|
1145
1125
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1147
1126
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1148
1127
|
}, "strip", z.ZodTypeAny, {
|
|
1149
1128
|
kind: "delete";
|
|
1150
1129
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1151
|
-
objectForeignRefs: string[];
|
|
1152
1130
|
objectId?: string | undefined;
|
|
1153
1131
|
}, {
|
|
1154
1132
|
kind: "delete";
|
|
1155
1133
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1156
|
-
objectForeignRefs: string[];
|
|
1157
1134
|
objectId?: string | undefined;
|
|
1158
1135
|
}>, z.ZodObject<{
|
|
1159
1136
|
kind: z.ZodLiteral<"relation-merge">;
|
|
1160
1137
|
left: z.ZodObject<{
|
|
1161
1138
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1162
1139
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1164
1140
|
}, "strip", z.ZodTypeAny, {
|
|
1165
1141
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1166
|
-
objectForeignRefs: string[];
|
|
1167
1142
|
objectId?: string | undefined;
|
|
1168
1143
|
}, {
|
|
1169
1144
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1170
|
-
objectForeignRefs: string[];
|
|
1171
1145
|
objectId?: string | undefined;
|
|
1172
1146
|
}>;
|
|
1173
1147
|
right: z.ZodObject<{
|
|
1174
1148
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1175
1149
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1176
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1177
1150
|
}, "strip", z.ZodTypeAny, {
|
|
1178
1151
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1179
|
-
objectForeignRefs: string[];
|
|
1180
1152
|
objectId?: string | undefined;
|
|
1181
1153
|
}, {
|
|
1182
1154
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1183
|
-
objectForeignRefs: string[];
|
|
1184
1155
|
objectId?: string | undefined;
|
|
1185
1156
|
}>;
|
|
1186
1157
|
linkExists: z.ZodBoolean;
|
|
1187
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1188
1159
|
left: {
|
|
1189
1160
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1190
|
-
objectForeignRefs: string[];
|
|
1191
1161
|
objectId?: string | undefined;
|
|
1192
1162
|
};
|
|
1193
1163
|
right: {
|
|
1194
1164
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1195
|
-
objectForeignRefs: string[];
|
|
1196
1165
|
objectId?: string | undefined;
|
|
1197
1166
|
};
|
|
1198
1167
|
kind: "relation-merge";
|
|
@@ -1200,93 +1169,79 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodObject<{
|
|
|
1200
1169
|
}, {
|
|
1201
1170
|
left: {
|
|
1202
1171
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1203
|
-
objectForeignRefs: string[];
|
|
1204
1172
|
objectId?: string | undefined;
|
|
1205
1173
|
};
|
|
1206
1174
|
right: {
|
|
1207
1175
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1208
|
-
objectForeignRefs: string[];
|
|
1209
1176
|
objectId?: string | undefined;
|
|
1210
1177
|
};
|
|
1211
1178
|
kind: "relation-merge";
|
|
1212
1179
|
linkExists: boolean;
|
|
1213
1180
|
}>]>;
|
|
1214
1181
|
export declare const sDeviceMap: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1182
|
+
export declare const sRefMap: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1215
1183
|
export declare const sValidateChangeRq: z.ZodObject<{
|
|
1216
1184
|
kind: z.ZodLiteral<"validate-change">;
|
|
1217
1185
|
provider: z.ZodString;
|
|
1218
1186
|
devices: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1187
|
+
refMap: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1219
1188
|
mutations: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1220
1189
|
kind: z.ZodLiteral<"merge">;
|
|
1221
1190
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1222
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1223
1191
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1224
1192
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1225
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1226
1194
|
kind: "merge";
|
|
1227
1195
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1228
|
-
objectForeignRefs: string[];
|
|
1229
1196
|
props: Record<string, unknown>;
|
|
1230
1197
|
objectId?: string | undefined;
|
|
1231
1198
|
}, {
|
|
1232
1199
|
kind: "merge";
|
|
1233
1200
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1234
|
-
objectForeignRefs: string[];
|
|
1235
1201
|
props: Record<string, unknown>;
|
|
1236
1202
|
objectId?: string | undefined;
|
|
1237
1203
|
}>, z.ZodObject<{
|
|
1238
1204
|
kind: z.ZodLiteral<"delete">;
|
|
1239
1205
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1240
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1241
1206
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1242
1207
|
}, "strip", z.ZodTypeAny, {
|
|
1243
1208
|
kind: "delete";
|
|
1244
1209
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1245
|
-
objectForeignRefs: string[];
|
|
1246
1210
|
objectId?: string | undefined;
|
|
1247
1211
|
}, {
|
|
1248
1212
|
kind: "delete";
|
|
1249
1213
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1250
|
-
objectForeignRefs: string[];
|
|
1251
1214
|
objectId?: string | undefined;
|
|
1252
1215
|
}>, z.ZodObject<{
|
|
1253
1216
|
kind: z.ZodLiteral<"relation-merge">;
|
|
1254
1217
|
left: z.ZodObject<{
|
|
1255
1218
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1256
1219
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1257
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1258
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1259
1221
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1260
|
-
objectForeignRefs: string[];
|
|
1261
1222
|
objectId?: string | undefined;
|
|
1262
1223
|
}, {
|
|
1263
1224
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1264
|
-
objectForeignRefs: string[];
|
|
1265
1225
|
objectId?: string | undefined;
|
|
1266
1226
|
}>;
|
|
1267
1227
|
right: z.ZodObject<{
|
|
1268
1228
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1269
1229
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1270
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1271
1230
|
}, "strip", z.ZodTypeAny, {
|
|
1272
1231
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1273
|
-
objectForeignRefs: string[];
|
|
1274
1232
|
objectId?: string | undefined;
|
|
1275
1233
|
}, {
|
|
1276
1234
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1277
|
-
objectForeignRefs: string[];
|
|
1278
1235
|
objectId?: string | undefined;
|
|
1279
1236
|
}>;
|
|
1280
1237
|
linkExists: z.ZodBoolean;
|
|
1281
1238
|
}, "strip", z.ZodTypeAny, {
|
|
1282
1239
|
left: {
|
|
1283
1240
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1284
|
-
objectForeignRefs: string[];
|
|
1285
1241
|
objectId?: string | undefined;
|
|
1286
1242
|
};
|
|
1287
1243
|
right: {
|
|
1288
1244
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1289
|
-
objectForeignRefs: string[];
|
|
1290
1245
|
objectId?: string | undefined;
|
|
1291
1246
|
};
|
|
1292
1247
|
kind: "relation-merge";
|
|
@@ -1294,12 +1249,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1294
1249
|
}, {
|
|
1295
1250
|
left: {
|
|
1296
1251
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1297
|
-
objectForeignRefs: string[];
|
|
1298
1252
|
objectId?: string | undefined;
|
|
1299
1253
|
};
|
|
1300
1254
|
right: {
|
|
1301
1255
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1302
|
-
objectForeignRefs: string[];
|
|
1303
1256
|
objectId?: string | undefined;
|
|
1304
1257
|
};
|
|
1305
1258
|
kind: "relation-merge";
|
|
@@ -1309,26 +1262,23 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1309
1262
|
kind: "validate-change";
|
|
1310
1263
|
devices: Record<string, Record<string, unknown>>;
|
|
1311
1264
|
provider: string;
|
|
1265
|
+
refMap: Record<string, Record<string, string[]>>;
|
|
1312
1266
|
mutations: ({
|
|
1313
1267
|
kind: "merge";
|
|
1314
1268
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1315
|
-
objectForeignRefs: string[];
|
|
1316
1269
|
props: Record<string, unknown>;
|
|
1317
1270
|
objectId?: string | undefined;
|
|
1318
1271
|
} | {
|
|
1319
1272
|
kind: "delete";
|
|
1320
1273
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1321
|
-
objectForeignRefs: string[];
|
|
1322
1274
|
objectId?: string | undefined;
|
|
1323
1275
|
} | {
|
|
1324
1276
|
left: {
|
|
1325
1277
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1326
|
-
objectForeignRefs: string[];
|
|
1327
1278
|
objectId?: string | undefined;
|
|
1328
1279
|
};
|
|
1329
1280
|
right: {
|
|
1330
1281
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1331
|
-
objectForeignRefs: string[];
|
|
1332
1282
|
objectId?: string | undefined;
|
|
1333
1283
|
};
|
|
1334
1284
|
kind: "relation-merge";
|
|
@@ -1338,26 +1288,23 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1338
1288
|
kind: "validate-change";
|
|
1339
1289
|
devices: Record<string, Record<string, unknown>>;
|
|
1340
1290
|
provider: string;
|
|
1291
|
+
refMap: Record<string, Record<string, string[]>>;
|
|
1341
1292
|
mutations: ({
|
|
1342
1293
|
kind: "merge";
|
|
1343
1294
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1344
|
-
objectForeignRefs: string[];
|
|
1345
1295
|
props: Record<string, unknown>;
|
|
1346
1296
|
objectId?: string | undefined;
|
|
1347
1297
|
} | {
|
|
1348
1298
|
kind: "delete";
|
|
1349
1299
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1350
|
-
objectForeignRefs: string[];
|
|
1351
1300
|
objectId?: string | undefined;
|
|
1352
1301
|
} | {
|
|
1353
1302
|
left: {
|
|
1354
1303
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1355
|
-
objectForeignRefs: string[];
|
|
1356
1304
|
objectId?: string | undefined;
|
|
1357
1305
|
};
|
|
1358
1306
|
right: {
|
|
1359
1307
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1360
|
-
objectForeignRefs: string[];
|
|
1361
1308
|
objectId?: string | undefined;
|
|
1362
1309
|
};
|
|
1363
1310
|
kind: "relation-merge";
|
|
@@ -1366,16 +1313,13 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1366
1313
|
}>;
|
|
1367
1314
|
export declare const sChangeIssue: z.ZodObject<{
|
|
1368
1315
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1369
|
-
objectForeignRef: z.ZodOptional<z.ZodString>;
|
|
1370
1316
|
issue: z.ZodString;
|
|
1371
1317
|
}, "strip", z.ZodTypeAny, {
|
|
1372
1318
|
issue: string;
|
|
1373
1319
|
objectId?: string | undefined;
|
|
1374
|
-
objectForeignRef?: string | undefined;
|
|
1375
1320
|
}, {
|
|
1376
1321
|
issue: string;
|
|
1377
1322
|
objectId?: string | undefined;
|
|
1378
|
-
objectForeignRef?: string | undefined;
|
|
1379
1323
|
}>;
|
|
1380
1324
|
export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
1381
1325
|
requestId: z.ZodString;
|
|
@@ -1389,105 +1333,87 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1389
1333
|
}>, z.ZodObject<{
|
|
1390
1334
|
issues: z.ZodArray<z.ZodObject<{
|
|
1391
1335
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1392
|
-
objectForeignRef: z.ZodOptional<z.ZodString>;
|
|
1393
1336
|
issue: z.ZodString;
|
|
1394
1337
|
}, "strip", z.ZodTypeAny, {
|
|
1395
1338
|
issue: string;
|
|
1396
1339
|
objectId?: string | undefined;
|
|
1397
|
-
objectForeignRef?: string | undefined;
|
|
1398
1340
|
}, {
|
|
1399
1341
|
issue: string;
|
|
1400
1342
|
objectId?: string | undefined;
|
|
1401
|
-
objectForeignRef?: string | undefined;
|
|
1402
1343
|
}>, "many">;
|
|
1403
1344
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1404
1345
|
issues: {
|
|
1405
1346
|
issue: string;
|
|
1406
1347
|
objectId?: string | undefined;
|
|
1407
|
-
objectForeignRef?: string | undefined;
|
|
1408
1348
|
}[];
|
|
1409
1349
|
}, {
|
|
1410
1350
|
issues: {
|
|
1411
1351
|
issue: string;
|
|
1412
1352
|
objectId?: string | undefined;
|
|
1413
|
-
objectForeignRef?: string | undefined;
|
|
1414
1353
|
}[];
|
|
1415
1354
|
}>>;
|
|
1416
1355
|
export declare const sApplyChange: z.ZodObject<{
|
|
1417
1356
|
kind: z.ZodLiteral<"apply-change">;
|
|
1418
1357
|
provider: z.ZodString;
|
|
1419
1358
|
devices: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1359
|
+
refMap: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1420
1360
|
mutations: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1421
1361
|
kind: z.ZodLiteral<"merge">;
|
|
1422
1362
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1423
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1424
1363
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1425
1364
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1426
1365
|
}, "strip", z.ZodTypeAny, {
|
|
1427
1366
|
kind: "merge";
|
|
1428
1367
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1429
|
-
objectForeignRefs: string[];
|
|
1430
1368
|
props: Record<string, unknown>;
|
|
1431
1369
|
objectId?: string | undefined;
|
|
1432
1370
|
}, {
|
|
1433
1371
|
kind: "merge";
|
|
1434
1372
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1435
|
-
objectForeignRefs: string[];
|
|
1436
1373
|
props: Record<string, unknown>;
|
|
1437
1374
|
objectId?: string | undefined;
|
|
1438
1375
|
}>, z.ZodObject<{
|
|
1439
1376
|
kind: z.ZodLiteral<"delete">;
|
|
1440
1377
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1441
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1442
1378
|
objectKind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1443
1379
|
}, "strip", z.ZodTypeAny, {
|
|
1444
1380
|
kind: "delete";
|
|
1445
1381
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1446
|
-
objectForeignRefs: string[];
|
|
1447
1382
|
objectId?: string | undefined;
|
|
1448
1383
|
}, {
|
|
1449
1384
|
kind: "delete";
|
|
1450
1385
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1451
|
-
objectForeignRefs: string[];
|
|
1452
1386
|
objectId?: string | undefined;
|
|
1453
1387
|
}>, z.ZodObject<{
|
|
1454
1388
|
kind: z.ZodLiteral<"relation-merge">;
|
|
1455
1389
|
left: z.ZodObject<{
|
|
1456
1390
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1457
1391
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1458
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1459
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1460
1393
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1461
|
-
objectForeignRefs: string[];
|
|
1462
1394
|
objectId?: string | undefined;
|
|
1463
1395
|
}, {
|
|
1464
1396
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1465
|
-
objectForeignRefs: string[];
|
|
1466
1397
|
objectId?: string | undefined;
|
|
1467
1398
|
}>;
|
|
1468
1399
|
right: z.ZodObject<{
|
|
1469
1400
|
kind: z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>;
|
|
1470
1401
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1471
|
-
objectForeignRefs: z.ZodArray<z.ZodString, "many">;
|
|
1472
1402
|
}, "strip", z.ZodTypeAny, {
|
|
1473
1403
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1474
|
-
objectForeignRefs: string[];
|
|
1475
1404
|
objectId?: string | undefined;
|
|
1476
1405
|
}, {
|
|
1477
1406
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1478
|
-
objectForeignRefs: string[];
|
|
1479
1407
|
objectId?: string | undefined;
|
|
1480
1408
|
}>;
|
|
1481
1409
|
linkExists: z.ZodBoolean;
|
|
1482
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1483
1411
|
left: {
|
|
1484
1412
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1485
|
-
objectForeignRefs: string[];
|
|
1486
1413
|
objectId?: string | undefined;
|
|
1487
1414
|
};
|
|
1488
1415
|
right: {
|
|
1489
1416
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1490
|
-
objectForeignRefs: string[];
|
|
1491
1417
|
objectId?: string | undefined;
|
|
1492
1418
|
};
|
|
1493
1419
|
kind: "relation-merge";
|
|
@@ -1495,78 +1421,67 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
1495
1421
|
}, {
|
|
1496
1422
|
left: {
|
|
1497
1423
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1498
|
-
objectForeignRefs: string[];
|
|
1499
1424
|
objectId?: string | undefined;
|
|
1500
1425
|
};
|
|
1501
1426
|
right: {
|
|
1502
1427
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1503
|
-
objectForeignRefs: string[];
|
|
1504
1428
|
objectId?: string | undefined;
|
|
1505
1429
|
};
|
|
1506
1430
|
kind: "relation-merge";
|
|
1507
1431
|
linkExists: boolean;
|
|
1508
1432
|
}>]>, "many">;
|
|
1509
|
-
policyVersion: z.ZodNumber;
|
|
1510
1433
|
}, "strip", z.ZodTypeAny, {
|
|
1511
1434
|
kind: "apply-change";
|
|
1512
1435
|
devices: Record<string, Record<string, unknown>>;
|
|
1513
1436
|
provider: string;
|
|
1437
|
+
refMap: Record<string, Record<string, string[]>>;
|
|
1514
1438
|
mutations: ({
|
|
1515
1439
|
kind: "merge";
|
|
1516
1440
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1517
|
-
objectForeignRefs: string[];
|
|
1518
1441
|
props: Record<string, unknown>;
|
|
1519
1442
|
objectId?: string | undefined;
|
|
1520
1443
|
} | {
|
|
1521
1444
|
kind: "delete";
|
|
1522
1445
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1523
|
-
objectForeignRefs: string[];
|
|
1524
1446
|
objectId?: string | undefined;
|
|
1525
1447
|
} | {
|
|
1526
1448
|
left: {
|
|
1527
1449
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1528
|
-
objectForeignRefs: string[];
|
|
1529
1450
|
objectId?: string | undefined;
|
|
1530
1451
|
};
|
|
1531
1452
|
right: {
|
|
1532
1453
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1533
|
-
objectForeignRefs: string[];
|
|
1534
1454
|
objectId?: string | undefined;
|
|
1535
1455
|
};
|
|
1536
1456
|
kind: "relation-merge";
|
|
1537
1457
|
linkExists: boolean;
|
|
1538
1458
|
})[];
|
|
1539
|
-
policyVersion: number;
|
|
1540
1459
|
}, {
|
|
1541
1460
|
kind: "apply-change";
|
|
1542
1461
|
devices: Record<string, Record<string, unknown>>;
|
|
1543
1462
|
provider: string;
|
|
1463
|
+
refMap: Record<string, Record<string, string[]>>;
|
|
1544
1464
|
mutations: ({
|
|
1545
1465
|
kind: "merge";
|
|
1546
1466
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1547
|
-
objectForeignRefs: string[];
|
|
1548
1467
|
props: Record<string, unknown>;
|
|
1549
1468
|
objectId?: string | undefined;
|
|
1550
1469
|
} | {
|
|
1551
1470
|
kind: "delete";
|
|
1552
1471
|
objectKind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1553
|
-
objectForeignRefs: string[];
|
|
1554
1472
|
objectId?: string | undefined;
|
|
1555
1473
|
} | {
|
|
1556
1474
|
left: {
|
|
1557
1475
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1558
|
-
objectForeignRefs: string[];
|
|
1559
1476
|
objectId?: string | undefined;
|
|
1560
1477
|
};
|
|
1561
1478
|
right: {
|
|
1562
1479
|
kind: "person" | "zone" | "reader" | "access-rule" | "schedule";
|
|
1563
|
-
objectForeignRefs: string[];
|
|
1564
1480
|
objectId?: string | undefined;
|
|
1565
1481
|
};
|
|
1566
1482
|
kind: "relation-merge";
|
|
1567
1483
|
linkExists: boolean;
|
|
1568
1484
|
})[];
|
|
1569
|
-
policyVersion: number;
|
|
1570
1485
|
}>;
|
|
1571
1486
|
export declare const sApplyChangeComplete: z.ZodIntersection<z.ZodObject<{
|
|
1572
1487
|
requestId: z.ZodString;
|
|
@@ -1578,35 +1493,29 @@ export declare const sApplyChangeComplete: z.ZodIntersection<z.ZodObject<{
|
|
|
1578
1493
|
kind: "apply-change-complete";
|
|
1579
1494
|
requestId: string;
|
|
1580
1495
|
}>, z.ZodObject<{
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
refs: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1496
|
+
requestId: z.ZodString;
|
|
1497
|
+
refs: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1584
1498
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1585
|
-
refs: Record<string, Record<string, string>>;
|
|
1586
|
-
|
|
1587
|
-
error?: string | undefined;
|
|
1499
|
+
refs: Record<string, Record<string, string[]>>;
|
|
1500
|
+
requestId: string;
|
|
1588
1501
|
}, {
|
|
1589
|
-
refs: Record<string, Record<string, string>>;
|
|
1590
|
-
|
|
1591
|
-
error?: string | undefined;
|
|
1502
|
+
refs: Record<string, Record<string, string[]>>;
|
|
1503
|
+
requestId: string;
|
|
1592
1504
|
}>>;
|
|
1593
1505
|
export declare const sApplyChangeProgress: z.ZodObject<{
|
|
1594
1506
|
kind: z.ZodLiteral<"apply-change-progress">;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
completed: z.ZodNumber;
|
|
1507
|
+
requestId: z.ZodString;
|
|
1508
|
+
mutationIndex: z.ZodNumber;
|
|
1598
1509
|
}, "strip", z.ZodTypeAny, {
|
|
1599
|
-
total: number;
|
|
1600
|
-
completed: number;
|
|
1601
1510
|
kind: "apply-change-progress";
|
|
1602
|
-
|
|
1511
|
+
requestId: string;
|
|
1512
|
+
mutationIndex: number;
|
|
1603
1513
|
}, {
|
|
1604
|
-
total: number;
|
|
1605
|
-
completed: number;
|
|
1606
1514
|
kind: "apply-change-progress";
|
|
1607
|
-
|
|
1515
|
+
requestId: string;
|
|
1516
|
+
mutationIndex: number;
|
|
1608
1517
|
}>;
|
|
1609
|
-
export declare const
|
|
1518
|
+
export declare const sAbortChange: z.ZodObject<{
|
|
1610
1519
|
kind: z.ZodLiteral<"abort-change">;
|
|
1611
1520
|
provider: z.ZodString;
|
|
1612
1521
|
policyVersion: z.ZodNumber;
|
|
@@ -1639,24 +1548,23 @@ export type PushEventRq = z.infer<typeof sPushEventRq>;
|
|
|
1639
1548
|
export type PushEventRs = z.infer<typeof sPushEventRs>;
|
|
1640
1549
|
export type GetAvailableDevicesRq = z.infer<typeof sGetAvailableDevicesRq>;
|
|
1641
1550
|
export type GetAvailableDevicesRs = z.infer<typeof sGetAvailableDevicesRs>;
|
|
1642
|
-
export type RegisterAccessControlAgentRq = z.infer<typeof sRegisterAccessControlAgentRq>;
|
|
1643
|
-
export type RegisterAccessControlAgentRs = z.infer<typeof sRegisterAccessControlAgentRs>;
|
|
1644
1551
|
export type AccessMutation = z.infer<typeof sAccessMutation>;
|
|
1645
|
-
export type
|
|
1646
|
-
export type
|
|
1647
|
-
export type
|
|
1648
|
-
export type
|
|
1649
|
-
export type
|
|
1650
|
-
export type
|
|
1651
|
-
export type
|
|
1652
|
-
export type
|
|
1653
|
-
export type
|
|
1552
|
+
export type AccessValidateChangeRq = z.infer<typeof sValidateChangeRq>;
|
|
1553
|
+
export type AccessValidateChangeRs = z.infer<typeof sValidateChangeRs>;
|
|
1554
|
+
export type AccessChangeIssue = z.infer<typeof sChangeIssue>;
|
|
1555
|
+
export type AccessApplyChange = z.infer<typeof sApplyChange>;
|
|
1556
|
+
export type AccessApplyChangeComplete = z.infer<typeof sApplyChangeComplete>;
|
|
1557
|
+
export type AccessApplyChangeProgress = z.infer<typeof sApplyChangeProgress>;
|
|
1558
|
+
export type AccessAbortChange = z.infer<typeof sAbortChange>;
|
|
1559
|
+
export type AccessControlCapabilityReport = z.infer<typeof sAccessControlCapabilityReport>;
|
|
1560
|
+
export type AccessTokenSpecs = z.infer<typeof sTokenSpecs>;
|
|
1654
1561
|
export type AccessObjectKind = z.infer<typeof sAccessObjectKind>;
|
|
1655
1562
|
export type UiHint = z.infer<typeof sUiHint>;
|
|
1656
1563
|
export type UiOrderHint = z.infer<typeof sUiOrderHint>;
|
|
1657
1564
|
export type UiWidgetHint = z.infer<typeof sUiWidgetHint>;
|
|
1658
1565
|
export type ProviderSpecs = z.infer<typeof sProviderSpecs>;
|
|
1659
1566
|
export type ConfigurationIssue = z.infer<typeof sConfigurationIssue>;
|
|
1567
|
+
export type AccessRefMap = z.infer<typeof sRefMap>;
|
|
1660
1568
|
export type PayloadByKind = {
|
|
1661
1569
|
register: RegisterRq;
|
|
1662
1570
|
'register-rs': RegisterRs;
|
|
@@ -1675,18 +1583,16 @@ export type PayloadByKind = {
|
|
|
1675
1583
|
'event-rs': PushEventRs;
|
|
1676
1584
|
'get-available-devices': GetAvailableDevicesRq;
|
|
1677
1585
|
'get-available-devices-rs': GetAvailableDevicesRs;
|
|
1678
|
-
'
|
|
1679
|
-
'
|
|
1680
|
-
'
|
|
1681
|
-
'
|
|
1682
|
-
'apply-change':
|
|
1683
|
-
'
|
|
1684
|
-
'apply-change-progress': ApplyChangeProgress;
|
|
1685
|
-
'abort-change': AbortChange;
|
|
1586
|
+
'validate-change': AccessValidateChangeRq;
|
|
1587
|
+
'validate-change-rs': AccessValidateChangeRs;
|
|
1588
|
+
'apply-change': AccessApplyChange;
|
|
1589
|
+
'apply-change-complete': AccessApplyChangeComplete;
|
|
1590
|
+
'apply-change-progress': AccessApplyChangeProgress;
|
|
1591
|
+
'abort-change': AccessAbortChange;
|
|
1686
1592
|
'error-rs': ErrorPayload;
|
|
1687
1593
|
};
|
|
1688
|
-
export type FromAgent = ErrorPayload | RegisterRq | Unregister | ValidateProviderConfigRs | StartServiceRs | StopServiceRs | RunCommandRs | PushStateUpdateRq | PushEventRq | GetAvailableDevicesRs |
|
|
1689
|
-
export type FromServer = ErrorPayload | RegisterRs | ValidateProviderConfigRq | StartServiceRq | StopServiceRq | RunCommandRq | PushStateUpdateRs | PushEventRs | GetAvailableDevicesRq |
|
|
1594
|
+
export type FromAgent = ErrorPayload | RegisterRq | Unregister | ValidateProviderConfigRs | StartServiceRs | StopServiceRs | RunCommandRs | PushStateUpdateRq | PushEventRq | GetAvailableDevicesRs | AccessValidateChangeRs | AccessApplyChangeComplete | AccessApplyChangeProgress;
|
|
1595
|
+
export type FromServer = ErrorPayload | RegisterRs | ValidateProviderConfigRq | StartServiceRq | StopServiceRq | RunCommandRq | PushStateUpdateRs | PushEventRs | GetAvailableDevicesRq | AccessValidateChangeRq | AccessApplyChange | AccessAbortChange;
|
|
1690
1596
|
export type AnyPayload = FromAgent | FromServer;
|
|
1691
1597
|
export declare const getAgentMessageIssues: (message: unknown) => string[];
|
|
1692
1598
|
export declare const isMessageFromAgent: (message: unknown) => message is Message<FromAgent>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isMessageFromAgent = exports.getAgentMessageIssues = exports.
|
|
3
|
+
exports.isMessageFromAgent = exports.getAgentMessageIssues = exports.sAbortChange = exports.sApplyChangeProgress = exports.sApplyChangeComplete = exports.sApplyChange = exports.sValidateChangeRs = exports.sChangeIssue = exports.sValidateChangeRq = exports.sRefMap = exports.sDeviceMap = exports.sAccessMutation = exports.sRelationMerge = exports.sObjectDelete = exports.sObjectMerge = exports.sGetAvailableDevicesRs = exports.sGetAvailableDevicesRq = exports.sPushEventRs = exports.sPushEventRq = exports.sPushStateUpdateRs = exports.sPushStateUpdateRq = exports.sRunCommandRs = exports.sRunCommandRq = exports.sStopServiceRs = exports.sStopServiceRq = exports.sStartServiceRs = exports.sStartServiceRq = exports.sValidateProviderConfigRs = exports.sConfigurationIssue = exports.sValidateProviderConfigRq = exports.sUnregister = exports.sRegisterRs = exports.sRegisterRq = exports.sAccessControlCapabilityReport = exports.sTokenSpecs = exports.sAccessObjectKind = exports.sProviderSpecs = exports.sUiHint = exports.sUiWidgetHint = exports.sUiOrderHint = exports.sErrorPayload = exports.sResponsePayload = exports.sMessageWithPayload = exports.sMessageHeader = void 0;
|
|
4
4
|
const device_1 = require("../device");
|
|
5
5
|
const device_import_1 = require("../device-import");
|
|
6
6
|
const zod_1 = require("zod");
|
|
@@ -53,11 +53,29 @@ exports.sProviderSpecs = zod_1.z.object({
|
|
|
53
53
|
.optional()
|
|
54
54
|
.describe('UI hints for configuration form visuals'),
|
|
55
55
|
});
|
|
56
|
+
exports.sAccessObjectKind = zod_1.z.enum([
|
|
57
|
+
'access-rule',
|
|
58
|
+
'schedule',
|
|
59
|
+
'zone',
|
|
60
|
+
'person',
|
|
61
|
+
'reader',
|
|
62
|
+
]);
|
|
63
|
+
exports.sTokenSpecs = zod_1.z.object({
|
|
64
|
+
type: zod_1.z.enum(['card', 'pin', 'finger-print', 'face']), // etc, those map to a AWARE-standardized set of token types
|
|
65
|
+
regex: zod_1.z.string().optional(),
|
|
66
|
+
formatDescription: zod_1.z.string().optional(),
|
|
67
|
+
maxPerPerson: zod_1.z.number().optional(),
|
|
68
|
+
});
|
|
69
|
+
exports.sAccessControlCapabilityReport = zod_1.z.object({
|
|
70
|
+
tokens: zod_1.z.array(exports.sTokenSpecs),
|
|
71
|
+
accessbjects: zod_1.z.array(exports.sAccessObjectKind),
|
|
72
|
+
});
|
|
56
73
|
exports.sRegisterRq = zod_1.z.object({
|
|
57
74
|
kind: zod_1.z.literal('register'),
|
|
58
75
|
providers: zod_1.z
|
|
59
76
|
.record(exports.sProviderSpecs)
|
|
60
77
|
.describe('Map of providers and their specs, ones that the agent can handle'),
|
|
78
|
+
accessControlProviders: zod_1.z.record(exports.sAccessControlCapabilityReport).optional(),
|
|
61
79
|
});
|
|
62
80
|
exports.sRegisterRs = (0, exports.sResponsePayload)(zod_1.z.literal('register-rs'), zod_1.z.object({}));
|
|
63
81
|
// UNREGISTER
|
|
@@ -154,31 +172,6 @@ exports.sGetAvailableDevicesRq = zod_1.z
|
|
|
154
172
|
})
|
|
155
173
|
.describe('Request to get available devices from a provider via an agent');
|
|
156
174
|
exports.sGetAvailableDevicesRs = (0, exports.sResponsePayload)(zod_1.z.literal('get-available-devices-rs'), device_import_1.sDeviceDiscoveryDto).describe('Response for getting available devices from a provider via an agent');
|
|
157
|
-
// REGISTER ACCESS CONTROL AGENT
|
|
158
|
-
exports.sAccessObjectKind = zod_1.z.enum([
|
|
159
|
-
'access-rule',
|
|
160
|
-
'schedule',
|
|
161
|
-
'zone',
|
|
162
|
-
'person',
|
|
163
|
-
'reader',
|
|
164
|
-
]);
|
|
165
|
-
exports.sTokenSpecs = zod_1.z.object({
|
|
166
|
-
type: zod_1.z.enum(['card', 'pin', 'finger-print', 'face']), // etc, those map to a AWARE-standardized set of token types
|
|
167
|
-
regex: zod_1.z.string().optional(),
|
|
168
|
-
formatDescription: zod_1.z.string().optional(),
|
|
169
|
-
maxPerPerson: zod_1.z.number().optional(),
|
|
170
|
-
});
|
|
171
|
-
exports.sCapabilityReport = zod_1.z.object({
|
|
172
|
-
tokens: zod_1.z.array(exports.sTokenSpecs),
|
|
173
|
-
accessbjects: zod_1.z.array(exports.sAccessObjectKind),
|
|
174
|
-
});
|
|
175
|
-
exports.sRegisterAccessControlAgentRq = zod_1.z
|
|
176
|
-
.object({
|
|
177
|
-
kind: zod_1.z.literal('register-access-control-agent'),
|
|
178
|
-
provider: zod_1.z.string().nonempty(),
|
|
179
|
-
})
|
|
180
|
-
.and(exports.sCapabilityReport);
|
|
181
|
-
exports.sRegisterAccessControlAgentRs = (0, exports.sResponsePayload)(zod_1.z.literal('register-access-control-agent-rs'), zod_1.z.object({})).describe('Response for registering an access control agent');
|
|
182
175
|
// ACCESS SYNC SECTION
|
|
183
176
|
exports.sObjectMerge = zod_1.z
|
|
184
177
|
.object({
|
|
@@ -187,9 +180,6 @@ exports.sObjectMerge = zod_1.z
|
|
|
187
180
|
.string()
|
|
188
181
|
.optional()
|
|
189
182
|
.describe('Object ID as in backend. Can be undefined if object is new to backend and agent is trying to create it'),
|
|
190
|
-
objectForeignRefs: zod_1.z
|
|
191
|
-
.array(zod_1.z.string())
|
|
192
|
-
.describe("Object foreign references as in target provider's repos. Can be undefined if object is new to agent and backend is trying to create it. It can be an array in case one access rule maps to many foreign refs"),
|
|
193
183
|
objectKind: exports.sAccessObjectKind,
|
|
194
184
|
props: zod_1.z.record(zod_1.z.unknown()),
|
|
195
185
|
})
|
|
@@ -201,9 +191,6 @@ exports.sObjectDelete = zod_1.z
|
|
|
201
191
|
.string()
|
|
202
192
|
.optional()
|
|
203
193
|
.describe('Object ID as in backend. Can be undefined if object is new to backend and agent is trying to create it'),
|
|
204
|
-
objectForeignRefs: zod_1.z
|
|
205
|
-
.array(zod_1.z.string())
|
|
206
|
-
.describe("Object foreign reference as in target provider's repos. Can be undefined if object is new to agent and backend is trying to create it"),
|
|
207
194
|
objectKind: exports.sAccessObjectKind,
|
|
208
195
|
})
|
|
209
196
|
.describe('Object delete request');
|
|
@@ -215,9 +202,6 @@ exports.sRelationMerge = zod_1.z.object({
|
|
|
215
202
|
.string()
|
|
216
203
|
.optional()
|
|
217
204
|
.describe('Object ID as in backend. Can be undefined if object is new to backend and agent is trying to create it'),
|
|
218
|
-
objectForeignRefs: zod_1.z
|
|
219
|
-
.array(zod_1.z.string())
|
|
220
|
-
.describe("Object foreign reference as in target provider's repos. Can be undefined if object is new to agent and backend is trying to create it"),
|
|
221
205
|
}),
|
|
222
206
|
right: zod_1.z.object({
|
|
223
207
|
kind: exports.sAccessObjectKind,
|
|
@@ -225,9 +209,6 @@ exports.sRelationMerge = zod_1.z.object({
|
|
|
225
209
|
.string()
|
|
226
210
|
.optional()
|
|
227
211
|
.describe('Object ID as in backend. Can be undefined if object is new to backend and agent is trying to create it'),
|
|
228
|
-
objectForeignRefs: zod_1.z
|
|
229
|
-
.array(zod_1.z.string())
|
|
230
|
-
.describe("Object foreign reference as in target provider's repos. Can be undefined if object is new to agent and backend is trying to create it"),
|
|
231
212
|
}),
|
|
232
213
|
linkExists: zod_1.z.boolean(),
|
|
233
214
|
});
|
|
@@ -237,19 +218,22 @@ exports.sAccessMutation = zod_1.z
|
|
|
237
218
|
exports.sDeviceMap = zod_1.z
|
|
238
219
|
.record(zod_1.z.record(zod_1.z.unknown()))
|
|
239
220
|
.describe('Map of devices (readers) and their stashed provider metadata');
|
|
221
|
+
exports.sRefMap = zod_1.z
|
|
222
|
+
.record(zod_1.z.record(zod_1.z.array(zod_1.z.string().nonempty())))
|
|
223
|
+
.describe('Map of foreign references to object IDs');
|
|
240
224
|
// A. VALIDATE ACCESS CHANGES
|
|
241
225
|
exports.sValidateChangeRq = zod_1.z
|
|
242
226
|
.object({
|
|
243
227
|
kind: zod_1.z.literal('validate-change'),
|
|
244
228
|
provider: zod_1.z.string().nonempty(),
|
|
245
229
|
devices: exports.sDeviceMap,
|
|
230
|
+
refMap: exports.sRefMap,
|
|
246
231
|
mutations: zod_1.z.array(exports.sAccessMutation),
|
|
247
232
|
})
|
|
248
233
|
.describe('Request to validate access changes');
|
|
249
234
|
exports.sChangeIssue = zod_1.z
|
|
250
235
|
.object({
|
|
251
236
|
objectId: zod_1.z.string().optional(),
|
|
252
|
-
objectForeignRef: zod_1.z.string().optional(),
|
|
253
237
|
issue: zod_1.z.string().nonempty(),
|
|
254
238
|
})
|
|
255
239
|
.describe('Access change issue description');
|
|
@@ -262,27 +246,28 @@ exports.sApplyChange = zod_1.z
|
|
|
262
246
|
kind: zod_1.z.literal('apply-change'),
|
|
263
247
|
provider: zod_1.z.string().nonempty(),
|
|
264
248
|
devices: exports.sDeviceMap,
|
|
249
|
+
refMap: exports.sRefMap,
|
|
265
250
|
mutations: zod_1.z.array(exports.sAccessMutation),
|
|
266
|
-
policyVersion: zod_1.z.number().describe('Version of the access changes'),
|
|
267
251
|
})
|
|
268
252
|
.describe('Request to apply access changes');
|
|
269
253
|
exports.sApplyChangeComplete = (0, exports.sResponsePayload)(zod_1.z.literal('apply-change-complete'), zod_1.z.object({
|
|
270
|
-
|
|
271
|
-
error:
|
|
272
|
-
refs:
|
|
273
|
-
.record(zod_1.z.record(zod_1.z.string().nonempty()))
|
|
274
|
-
.describe('Map of foreign references to object IDs'),
|
|
254
|
+
requestId: zod_1.z.string().nonempty(),
|
|
255
|
+
//error: z.string().optional().describe('Error message if request failed'),
|
|
256
|
+
refs: exports.sRefMap,
|
|
275
257
|
})).describe('Response for applying access changes');
|
|
276
258
|
exports.sApplyChangeProgress = zod_1.z
|
|
277
259
|
.object({
|
|
278
260
|
kind: zod_1.z.literal('apply-change-progress'),
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
261
|
+
requestId: zod_1.z.string().nonempty(),
|
|
262
|
+
mutationIndex: zod_1.z
|
|
263
|
+
.number()
|
|
264
|
+
.describe('Index of the finished mutation in the batch'),
|
|
265
|
+
// total: z.number().describe('Progress of the access changes'),
|
|
266
|
+
// completed: z.number().describe('Progress of the access changes'),
|
|
282
267
|
})
|
|
283
268
|
.describe('Progress of the access changes');
|
|
284
269
|
// C. ABORT CHANGES
|
|
285
|
-
exports.
|
|
270
|
+
exports.sAbortChange = zod_1.z
|
|
286
271
|
.object({
|
|
287
272
|
kind: zod_1.z.literal('abort-change'),
|
|
288
273
|
provider: zod_1.z.string().nonempty(),
|
|
@@ -299,7 +284,7 @@ const fromAgentSchemaByKind = {
|
|
|
299
284
|
state: exports.sPushStateUpdateRq,
|
|
300
285
|
event: exports.sPushEventRq,
|
|
301
286
|
'get-available-devices-rs': exports.sGetAvailableDevicesRs,
|
|
302
|
-
'register-access-control-agent':
|
|
287
|
+
//'register-access-control-agent': sRegisterAccessControlAgentRq,
|
|
303
288
|
'validate-change-rs': exports.sValidateChangeRs,
|
|
304
289
|
'apply-change-complete': exports.sApplyChangeComplete,
|
|
305
290
|
'apply-change-progress': exports.sApplyChangeProgress,
|
package/dist/package.json
CHANGED