@opencrvs/toolkit 2.1.0 → 2.2.0-rc.9042a13
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/build.sh +2 -2
- package/create-countryconfig/package.json +1 -1
- package/dist/application-config/index.js +29 -2
- package/dist/authentication/index.js +14 -1
- package/dist/cli.js +294 -1967
- package/dist/commons/api/router.d.ts +1370 -73
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/ActionConfig.d.ts +133 -0
- package/dist/commons/events/ActionDocument.d.ts +88 -0
- package/dist/commons/events/ActionInput.d.ts +52 -0
- package/dist/commons/events/ActionType.d.ts +11 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/AuditLog.d.ts +4 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +132 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventConfig.d.ts +26 -6
- package/dist/commons/events/EventDocument.d.ts +88 -0
- package/dist/commons/events/EventIndex.d.ts +20 -0
- package/dist/commons/events/EventMetadata.d.ts +23 -0
- package/dist/commons/events/EventStatus.d.ts +1 -0
- package/dist/commons/events/FieldConfig.d.ts +10 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +154 -10
- package/dist/commons/events/eventConfigValidation.d.ts +17 -1
- package/dist/commons/events/scopes.d.ts +2 -0
- package/dist/commons/events/state/index.d.ts +10 -2
- package/dist/commons/events/state/utils.d.ts +11 -1
- package/dist/commons/events/test.utils.d.ts +28 -1
- package/dist/commons/events/utils.d.ts +43 -15
- package/dist/conditionals/index.js +14 -1
- package/dist/environment/derived-variables.d.ts +18 -0
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +22 -1
- package/dist/environment/setup-environment.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +29 -10
- package/dist/events/index.js +293 -66
- package/dist/migrations/add-translations.d.ts +15 -0
- package/dist/migrations/add-translations.d.ts.map +1 -0
- package/dist/migrations/{v2.1/add-translations.js → add-translations.js} +16 -14
- package/dist/migrations/v2.1/index.js +35 -2155
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts +3 -0
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts.map +1 -1
- package/dist/migrations/v2.1/upgrade-tilt.d.ts +3 -0
- package/dist/migrations/v2.1/upgrade-tilt.d.ts.map +1 -1
- package/dist/migrations/v2.2/index.d.ts +6 -0
- package/dist/migrations/v2.2/index.d.ts.map +1 -0
- package/dist/migrations/v2.2/index.js +456 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.d.ts +39 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.d.ts.map +1 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.js +257 -0
- package/dist/notification/index.js +271 -86
- package/dist/scopes/index.d.ts +29 -6
- package/dist/scopes/index.js +14 -1
- package/dist/templates/charts-values/traefik/values.yaml +2 -3
- package/opencrvs-toolkit-2.2.0-rc.9042a13.tgz +0 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/migrations/v2.1/add-translations.d.ts +0 -9
- package/dist/migrations/v2.1/add-translations.d.ts.map +0 -1
- package/opencrvs-toolkit-2.1.0.tgz +0 -0
|
@@ -51,6 +51,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
51
51
|
DECLARED: "DECLARED";
|
|
52
52
|
NOTIFIED: "NOTIFIED";
|
|
53
53
|
REGISTERED: "REGISTERED";
|
|
54
|
+
REVOKED: "REVOKED";
|
|
54
55
|
}>>;
|
|
55
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
56
57
|
type: z.ZodLiteral<"exact">;
|
|
@@ -60,6 +61,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
60
61
|
DECLARED: "DECLARED";
|
|
61
62
|
NOTIFIED: "NOTIFIED";
|
|
62
63
|
REGISTERED: "REGISTERED";
|
|
64
|
+
REVOKED: "REVOKED";
|
|
63
65
|
}>;
|
|
64
66
|
}, z.core.$strip>]>>>;
|
|
65
67
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -162,6 +164,26 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
162
164
|
type: z.ZodLiteral<"exact">;
|
|
163
165
|
term: z.ZodString;
|
|
164
166
|
}, z.core.$strip>>>;
|
|
167
|
+
'legalStatuses.REVOKED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
168
|
+
type: z.ZodLiteral<"within">;
|
|
169
|
+
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
170
|
+
$userField: z.ZodEnum<{
|
|
171
|
+
administrativeAreaId: "administrativeAreaId";
|
|
172
|
+
avatar: "avatar";
|
|
173
|
+
device: "device";
|
|
174
|
+
firstname: "firstname";
|
|
175
|
+
fullHonorificName: "fullHonorificName";
|
|
176
|
+
id: "id";
|
|
177
|
+
middlename: "middlename";
|
|
178
|
+
name: "name";
|
|
179
|
+
primaryOfficeId: "primaryOfficeId";
|
|
180
|
+
role: "role";
|
|
181
|
+
signature: "signature";
|
|
182
|
+
surname: "surname";
|
|
183
|
+
}>;
|
|
184
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, z.core.$strip>]>;
|
|
186
|
+
}, z.core.$strip>>>;
|
|
165
187
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
166
188
|
type: z.ZodLiteral<"within">;
|
|
167
189
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -369,6 +391,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
369
391
|
DECLARED: "DECLARED";
|
|
370
392
|
NOTIFIED: "NOTIFIED";
|
|
371
393
|
REGISTERED: "REGISTERED";
|
|
394
|
+
REVOKED: "REVOKED";
|
|
372
395
|
}>>;
|
|
373
396
|
}, z.core.$strip>, z.ZodObject<{
|
|
374
397
|
type: z.ZodLiteral<"exact">;
|
|
@@ -378,6 +401,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
378
401
|
DECLARED: "DECLARED";
|
|
379
402
|
NOTIFIED: "NOTIFIED";
|
|
380
403
|
REGISTERED: "REGISTERED";
|
|
404
|
+
REVOKED: "REVOKED";
|
|
381
405
|
}>;
|
|
382
406
|
}, z.core.$strip>]>>>;
|
|
383
407
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -480,6 +504,26 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
480
504
|
type: z.ZodLiteral<"exact">;
|
|
481
505
|
term: z.ZodString;
|
|
482
506
|
}, z.core.$strip>>>;
|
|
507
|
+
'legalStatuses.REVOKED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
508
|
+
type: z.ZodLiteral<"within">;
|
|
509
|
+
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
510
|
+
$userField: z.ZodEnum<{
|
|
511
|
+
administrativeAreaId: "administrativeAreaId";
|
|
512
|
+
avatar: "avatar";
|
|
513
|
+
device: "device";
|
|
514
|
+
firstname: "firstname";
|
|
515
|
+
fullHonorificName: "fullHonorificName";
|
|
516
|
+
id: "id";
|
|
517
|
+
middlename: "middlename";
|
|
518
|
+
name: "name";
|
|
519
|
+
primaryOfficeId: "primaryOfficeId";
|
|
520
|
+
role: "role";
|
|
521
|
+
signature: "signature";
|
|
522
|
+
surname: "surname";
|
|
523
|
+
}>;
|
|
524
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
525
|
+
}, z.core.$strip>]>;
|
|
526
|
+
}, z.core.$strip>>>;
|
|
483
527
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
484
528
|
type: z.ZodLiteral<"within">;
|
|
485
529
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -686,6 +730,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
686
730
|
DECLARED: "DECLARED";
|
|
687
731
|
NOTIFIED: "NOTIFIED";
|
|
688
732
|
REGISTERED: "REGISTERED";
|
|
733
|
+
REVOKED: "REVOKED";
|
|
689
734
|
}>>;
|
|
690
735
|
}, z.core.$strip>, z.ZodObject<{
|
|
691
736
|
type: z.ZodLiteral<"exact">;
|
|
@@ -695,6 +740,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
695
740
|
DECLARED: "DECLARED";
|
|
696
741
|
NOTIFIED: "NOTIFIED";
|
|
697
742
|
REGISTERED: "REGISTERED";
|
|
743
|
+
REVOKED: "REVOKED";
|
|
698
744
|
}>;
|
|
699
745
|
}, z.core.$strip>]>>>;
|
|
700
746
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -797,6 +843,26 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
797
843
|
type: z.ZodLiteral<"exact">;
|
|
798
844
|
term: z.ZodString;
|
|
799
845
|
}, z.core.$strip>>>;
|
|
846
|
+
'legalStatuses.REVOKED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
847
|
+
type: z.ZodLiteral<"within">;
|
|
848
|
+
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
849
|
+
$userField: z.ZodEnum<{
|
|
850
|
+
administrativeAreaId: "administrativeAreaId";
|
|
851
|
+
avatar: "avatar";
|
|
852
|
+
device: "device";
|
|
853
|
+
firstname: "firstname";
|
|
854
|
+
fullHonorificName: "fullHonorificName";
|
|
855
|
+
id: "id";
|
|
856
|
+
middlename: "middlename";
|
|
857
|
+
name: "name";
|
|
858
|
+
primaryOfficeId: "primaryOfficeId";
|
|
859
|
+
role: "role";
|
|
860
|
+
signature: "signature";
|
|
861
|
+
surname: "surname";
|
|
862
|
+
}>;
|
|
863
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
864
|
+
}, z.core.$strip>]>;
|
|
865
|
+
}, z.core.$strip>>>;
|
|
800
866
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
801
867
|
type: z.ZodLiteral<"within">;
|
|
802
868
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1003,6 +1069,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1003
1069
|
DECLARED: "DECLARED";
|
|
1004
1070
|
NOTIFIED: "NOTIFIED";
|
|
1005
1071
|
REGISTERED: "REGISTERED";
|
|
1072
|
+
REVOKED: "REVOKED";
|
|
1006
1073
|
}>>;
|
|
1007
1074
|
}, z.core.$strip>, z.ZodObject<{
|
|
1008
1075
|
type: z.ZodLiteral<"exact">;
|
|
@@ -1012,6 +1079,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1012
1079
|
DECLARED: "DECLARED";
|
|
1013
1080
|
NOTIFIED: "NOTIFIED";
|
|
1014
1081
|
REGISTERED: "REGISTERED";
|
|
1082
|
+
REVOKED: "REVOKED";
|
|
1015
1083
|
}>;
|
|
1016
1084
|
}, z.core.$strip>]>>>;
|
|
1017
1085
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1114,6 +1182,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1114
1182
|
type: z.ZodLiteral<"exact">;
|
|
1115
1183
|
term: z.ZodString;
|
|
1116
1184
|
}, z.core.$strip>>>;
|
|
1185
|
+
'legalStatuses.REVOKED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1186
|
+
type: z.ZodLiteral<"within">;
|
|
1187
|
+
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1188
|
+
$userField: z.ZodEnum<{
|
|
1189
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1190
|
+
avatar: "avatar";
|
|
1191
|
+
device: "device";
|
|
1192
|
+
firstname: "firstname";
|
|
1193
|
+
fullHonorificName: "fullHonorificName";
|
|
1194
|
+
id: "id";
|
|
1195
|
+
middlename: "middlename";
|
|
1196
|
+
name: "name";
|
|
1197
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1198
|
+
role: "role";
|
|
1199
|
+
signature: "signature";
|
|
1200
|
+
surname: "surname";
|
|
1201
|
+
}>;
|
|
1202
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1203
|
+
}, z.core.$strip>]>;
|
|
1204
|
+
}, z.core.$strip>>>;
|
|
1117
1205
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1118
1206
|
type: z.ZodLiteral<"within">;
|
|
1119
1207
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1319,6 +1407,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1319
1407
|
DECLARED: "DECLARED";
|
|
1320
1408
|
NOTIFIED: "NOTIFIED";
|
|
1321
1409
|
REGISTERED: "REGISTERED";
|
|
1410
|
+
REVOKED: "REVOKED";
|
|
1322
1411
|
}>>;
|
|
1323
1412
|
}, z.core.$strip>, z.ZodObject<{
|
|
1324
1413
|
type: z.ZodLiteral<"exact">;
|
|
@@ -1328,6 +1417,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1328
1417
|
DECLARED: "DECLARED";
|
|
1329
1418
|
NOTIFIED: "NOTIFIED";
|
|
1330
1419
|
REGISTERED: "REGISTERED";
|
|
1420
|
+
REVOKED: "REVOKED";
|
|
1331
1421
|
}>;
|
|
1332
1422
|
}, z.core.$strip>]>>>;
|
|
1333
1423
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1430,6 +1520,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1430
1520
|
type: z.ZodLiteral<"exact">;
|
|
1431
1521
|
term: z.ZodString;
|
|
1432
1522
|
}, z.core.$strip>>>;
|
|
1523
|
+
'legalStatuses.REVOKED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1524
|
+
type: z.ZodLiteral<"within">;
|
|
1525
|
+
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1526
|
+
$userField: z.ZodEnum<{
|
|
1527
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1528
|
+
avatar: "avatar";
|
|
1529
|
+
device: "device";
|
|
1530
|
+
firstname: "firstname";
|
|
1531
|
+
fullHonorificName: "fullHonorificName";
|
|
1532
|
+
id: "id";
|
|
1533
|
+
middlename: "middlename";
|
|
1534
|
+
name: "name";
|
|
1535
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1536
|
+
role: "role";
|
|
1537
|
+
signature: "signature";
|
|
1538
|
+
surname: "surname";
|
|
1539
|
+
}>;
|
|
1540
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1541
|
+
}, z.core.$strip>]>;
|
|
1542
|
+
}, z.core.$strip>>>;
|
|
1433
1543
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1434
1544
|
type: z.ZodLiteral<"within">;
|
|
1435
1545
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1636,6 +1746,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1636
1746
|
DECLARED: "DECLARED";
|
|
1637
1747
|
NOTIFIED: "NOTIFIED";
|
|
1638
1748
|
REGISTERED: "REGISTERED";
|
|
1749
|
+
REVOKED: "REVOKED";
|
|
1639
1750
|
}>>;
|
|
1640
1751
|
}, z.core.$strip>, z.ZodObject<{
|
|
1641
1752
|
type: z.ZodLiteral<"exact">;
|
|
@@ -1645,6 +1756,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1645
1756
|
DECLARED: "DECLARED";
|
|
1646
1757
|
NOTIFIED: "NOTIFIED";
|
|
1647
1758
|
REGISTERED: "REGISTERED";
|
|
1759
|
+
REVOKED: "REVOKED";
|
|
1648
1760
|
}>;
|
|
1649
1761
|
}, z.core.$strip>]>>>;
|
|
1650
1762
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1747,6 +1859,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1747
1859
|
type: z.ZodLiteral<"exact">;
|
|
1748
1860
|
term: z.ZodString;
|
|
1749
1861
|
}, z.core.$strip>>>;
|
|
1862
|
+
'legalStatuses.REVOKED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1863
|
+
type: z.ZodLiteral<"within">;
|
|
1864
|
+
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1865
|
+
$userField: z.ZodEnum<{
|
|
1866
|
+
administrativeAreaId: "administrativeAreaId";
|
|
1867
|
+
avatar: "avatar";
|
|
1868
|
+
device: "device";
|
|
1869
|
+
firstname: "firstname";
|
|
1870
|
+
fullHonorificName: "fullHonorificName";
|
|
1871
|
+
id: "id";
|
|
1872
|
+
middlename: "middlename";
|
|
1873
|
+
name: "name";
|
|
1874
|
+
primaryOfficeId: "primaryOfficeId";
|
|
1875
|
+
role: "role";
|
|
1876
|
+
signature: "signature";
|
|
1877
|
+
surname: "surname";
|
|
1878
|
+
}>;
|
|
1879
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
}, z.core.$strip>]>;
|
|
1881
|
+
}, z.core.$strip>>>;
|
|
1750
1882
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1751
1883
|
type: z.ZodLiteral<"within">;
|
|
1752
1884
|
location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -37,9 +37,11 @@ export declare const Draft: z.ZodObject<{
|
|
|
37
37
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
38
38
|
READ: "READ";
|
|
39
39
|
REGISTER: "REGISTER";
|
|
40
|
+
REINSTATE_REGISTRATION: "REINSTATE_REGISTRATION";
|
|
40
41
|
REJECT: "REJECT";
|
|
41
42
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
42
43
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
44
|
+
REVOKE_REGISTRATION: "REVOKE_REGISTRATION";
|
|
43
45
|
UNARCHIVE: "UNARCHIVE";
|
|
44
46
|
UNASSIGN: "UNASSIGN";
|
|
45
47
|
}>;
|
|
@@ -3,11 +3,12 @@ import { ActionConfig } from './ActionConfig';
|
|
|
3
3
|
import { SummaryConfig } from './SummaryConfig';
|
|
4
4
|
import { TranslationConfig } from './TranslationConfig';
|
|
5
5
|
import { AdvancedSearchConfig } from './AdvancedSearchConfig';
|
|
6
|
-
import {
|
|
6
|
+
import { DeclarationFormConfigInput } from './FormConfig';
|
|
7
7
|
import { FieldReference } from './FieldConfig';
|
|
8
8
|
import { FlagConfig } from './Flag';
|
|
9
9
|
import type { JSONSchema } from '../conditionals/conditionals';
|
|
10
10
|
import { AvailableIcons } from '../icons';
|
|
11
|
+
import { ActionType } from './ActionType';
|
|
11
12
|
export declare const EventFieldReference: z.ZodObject<{
|
|
12
13
|
$$event: z.ZodEnum<{
|
|
13
14
|
createdAt: "createdAt";
|
|
@@ -30,20 +31,39 @@ export type EventConfig = {
|
|
|
30
31
|
label: TranslationConfig;
|
|
31
32
|
actions: ActionConfig[];
|
|
32
33
|
actionOrder?: string[];
|
|
33
|
-
declaration: DeclarationFormConfig;
|
|
34
34
|
advancedSearch: AdvancedSearchConfig[];
|
|
35
35
|
flags: FlagConfig[];
|
|
36
36
|
analytics: boolean;
|
|
37
37
|
icon?: Partial<Record<AvailableIcons, JSONSchema>>;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
type ActionConfigInput = z.input<typeof ActionConfig>;
|
|
40
|
+
type DeclareActionConfigInput = Extract<ActionConfigInput, {
|
|
41
|
+
type: typeof ActionType.DECLARE;
|
|
42
|
+
}>;
|
|
43
|
+
/**
|
|
44
|
+
* Input accepted by `EventConfig.parse`. `declaration` lives only on the DECLARE action.
|
|
45
|
+
*/
|
|
46
|
+
type EventConfigSchemaInput = Omit<EventConfig, 'advancedSearch' | 'flags' | 'actions' | 'dateOfEvent' | 'placeOfEvent' | 'analytics'> & {
|
|
40
47
|
dateOfEvent?: z.input<typeof FieldReference> | z.infer<typeof EventFieldReference>;
|
|
41
48
|
placeOfEvent?: z.input<typeof FieldReference>;
|
|
42
49
|
advancedSearch?: AdvancedSearchConfig[];
|
|
43
50
|
flags?: FlagConfig[];
|
|
44
|
-
|
|
45
|
-
actions: z.input<typeof ActionConfig>[];
|
|
51
|
+
actions: ActionConfigInput[];
|
|
46
52
|
analytics?: boolean;
|
|
47
53
|
};
|
|
48
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Input accepted by `defineConfig`.
|
|
56
|
+
* `declaration` may be given at the top level (kept for backwards compatibility)
|
|
57
|
+
* or on the DECLARE action.
|
|
58
|
+
* `defineConfig` checks at runtime that it is given in exactly one of these places.
|
|
59
|
+
*/
|
|
60
|
+
export type EventConfigInput = Omit<EventConfigSchemaInput, 'actions'> & {
|
|
61
|
+
/** @deprecated Define `declaration` on the DECLARE action instead. */
|
|
62
|
+
declaration?: DeclarationFormConfigInput;
|
|
63
|
+
actions: Array<Exclude<ActionConfigInput, DeclareActionConfigInput> | (Omit<DeclareActionConfigInput, 'declaration'> & {
|
|
64
|
+
declaration?: DeclarationFormConfigInput;
|
|
65
|
+
})>;
|
|
66
|
+
};
|
|
67
|
+
export declare const EventConfig: z.ZodType<EventConfig, EventConfigSchemaInput>;
|
|
68
|
+
export {};
|
|
49
69
|
//# sourceMappingURL=EventConfig.d.ts.map
|
|
@@ -166,6 +166,48 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
166
166
|
}>;
|
|
167
167
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
168
168
|
type: z.ZodLiteral<"UNARCHIVE">;
|
|
169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
170
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
171
|
+
transactionId: z.ZodString;
|
|
172
|
+
createdByUserType: z.ZodEnum<{
|
|
173
|
+
system: "system";
|
|
174
|
+
user: "user";
|
|
175
|
+
}>;
|
|
176
|
+
createdAt: z.ZodString;
|
|
177
|
+
createdBy: z.ZodString;
|
|
178
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
179
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
180
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
181
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
182
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
183
|
+
status: z.ZodEnum<{
|
|
184
|
+
Accepted: "Accepted";
|
|
185
|
+
Rejected: "Rejected";
|
|
186
|
+
Requested: "Requested";
|
|
187
|
+
}>;
|
|
188
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
189
|
+
type: z.ZodLiteral<"REVOKE_REGISTRATION">;
|
|
190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
192
|
+
transactionId: z.ZodString;
|
|
193
|
+
createdByUserType: z.ZodEnum<{
|
|
194
|
+
system: "system";
|
|
195
|
+
user: "user";
|
|
196
|
+
}>;
|
|
197
|
+
createdAt: z.ZodString;
|
|
198
|
+
createdBy: z.ZodString;
|
|
199
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
200
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
201
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
202
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
203
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
204
|
+
status: z.ZodEnum<{
|
|
205
|
+
Accepted: "Accepted";
|
|
206
|
+
Rejected: "Rejected";
|
|
207
|
+
Requested: "Requested";
|
|
208
|
+
}>;
|
|
209
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
210
|
+
type: z.ZodLiteral<"REINSTATE_REGISTRATION">;
|
|
169
211
|
}, z.core.$strip>, z.ZodObject<{
|
|
170
212
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
171
213
|
transactionId: z.ZodString;
|
|
@@ -457,9 +499,11 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
457
499
|
NOTIFY: "NOTIFY";
|
|
458
500
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
459
501
|
REGISTER: "REGISTER";
|
|
502
|
+
REINSTATE_REGISTRATION: "REINSTATE_REGISTRATION";
|
|
460
503
|
REJECT: "REJECT";
|
|
461
504
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
462
505
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
506
|
+
REVOKE_REGISTRATION: "REVOKE_REGISTRATION";
|
|
463
507
|
UNARCHIVE: "UNARCHIVE";
|
|
464
508
|
}>;
|
|
465
509
|
status: z.ZodLiteral<"Rejected">;
|
|
@@ -635,6 +679,48 @@ export declare const EventDocumentOnlyLastAction: z.core.$ZodBranded<z.ZodObject
|
|
|
635
679
|
}>;
|
|
636
680
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
637
681
|
type: z.ZodLiteral<"UNARCHIVE">;
|
|
682
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
683
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
684
|
+
transactionId: z.ZodString;
|
|
685
|
+
createdByUserType: z.ZodEnum<{
|
|
686
|
+
system: "system";
|
|
687
|
+
user: "user";
|
|
688
|
+
}>;
|
|
689
|
+
createdAt: z.ZodString;
|
|
690
|
+
createdBy: z.ZodString;
|
|
691
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
692
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
693
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
694
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
695
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
696
|
+
status: z.ZodEnum<{
|
|
697
|
+
Accepted: "Accepted";
|
|
698
|
+
Rejected: "Rejected";
|
|
699
|
+
Requested: "Requested";
|
|
700
|
+
}>;
|
|
701
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
702
|
+
type: z.ZodLiteral<"REVOKE_REGISTRATION">;
|
|
703
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
704
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
705
|
+
transactionId: z.ZodString;
|
|
706
|
+
createdByUserType: z.ZodEnum<{
|
|
707
|
+
system: "system";
|
|
708
|
+
user: "user";
|
|
709
|
+
}>;
|
|
710
|
+
createdAt: z.ZodString;
|
|
711
|
+
createdBy: z.ZodString;
|
|
712
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
713
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
714
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
715
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
716
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
717
|
+
status: z.ZodEnum<{
|
|
718
|
+
Accepted: "Accepted";
|
|
719
|
+
Rejected: "Rejected";
|
|
720
|
+
Requested: "Requested";
|
|
721
|
+
}>;
|
|
722
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
723
|
+
type: z.ZodLiteral<"REINSTATE_REGISTRATION">;
|
|
638
724
|
}, z.core.$strip>, z.ZodObject<{
|
|
639
725
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
640
726
|
transactionId: z.ZodString;
|
|
@@ -926,9 +1012,11 @@ export declare const EventDocumentOnlyLastAction: z.core.$ZodBranded<z.ZodObject
|
|
|
926
1012
|
NOTIFY: "NOTIFY";
|
|
927
1013
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
928
1014
|
REGISTER: "REGISTER";
|
|
1015
|
+
REINSTATE_REGISTRATION: "REINSTATE_REGISTRATION";
|
|
929
1016
|
REJECT: "REJECT";
|
|
930
1017
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
931
1018
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
1019
|
+
REVOKE_REGISTRATION: "REVOKE_REGISTRATION";
|
|
932
1020
|
UNARCHIVE: "UNARCHIVE";
|
|
933
1021
|
}>;
|
|
934
1022
|
status: z.ZodLiteral<"Rejected">;
|
|
@@ -9,6 +9,7 @@ export declare const EventIndex: z.ZodObject<{
|
|
|
9
9
|
DECLARED: "DECLARED";
|
|
10
10
|
NOTIFIED: "NOTIFIED";
|
|
11
11
|
REGISTERED: "REGISTERED";
|
|
12
|
+
REVOKED: "REVOKED";
|
|
12
13
|
}>;
|
|
13
14
|
legalStatuses: z.ZodObject<{
|
|
14
15
|
NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -45,6 +46,17 @@ export declare const EventIndex: z.ZodObject<{
|
|
|
45
46
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
46
47
|
registrationNumber: z.ZodString;
|
|
47
48
|
}, z.core.$strip>>>;
|
|
49
|
+
REVOKED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
50
|
+
createdAt: z.ZodISODateTime;
|
|
51
|
+
createdBy: z.ZodString;
|
|
52
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
53
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
54
|
+
system: "system";
|
|
55
|
+
user: "user";
|
|
56
|
+
}>>>;
|
|
57
|
+
acceptedAt: z.ZodISODateTime;
|
|
58
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>>>;
|
|
48
60
|
}, z.core.$strip>;
|
|
49
61
|
createdAt: z.ZodISODateTime;
|
|
50
62
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -96,6 +108,7 @@ export declare const ExactStatus: z.ZodObject<{
|
|
|
96
108
|
DECLARED: "DECLARED";
|
|
97
109
|
NOTIFIED: "NOTIFIED";
|
|
98
110
|
REGISTERED: "REGISTERED";
|
|
111
|
+
REVOKED: "REVOKED";
|
|
99
112
|
}>;
|
|
100
113
|
}, z.core.$strip>;
|
|
101
114
|
export declare const ExactUserType: z.ZodObject<{
|
|
@@ -117,6 +130,7 @@ export declare const AnyOfStatus: z.ZodObject<{
|
|
|
117
130
|
DECLARED: "DECLARED";
|
|
118
131
|
NOTIFIED: "NOTIFIED";
|
|
119
132
|
REGISTERED: "REGISTERED";
|
|
133
|
+
REVOKED: "REVOKED";
|
|
120
134
|
}>>;
|
|
121
135
|
}, z.core.$strip>;
|
|
122
136
|
export declare const Range: z.ZodObject<{
|
|
@@ -167,6 +181,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
167
181
|
DECLARED: "DECLARED";
|
|
168
182
|
NOTIFIED: "NOTIFIED";
|
|
169
183
|
REGISTERED: "REGISTERED";
|
|
184
|
+
REVOKED: "REVOKED";
|
|
170
185
|
}>>;
|
|
171
186
|
}, z.core.$strip>, z.ZodObject<{
|
|
172
187
|
type: z.ZodLiteral<"exact">;
|
|
@@ -176,6 +191,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
176
191
|
DECLARED: "DECLARED";
|
|
177
192
|
NOTIFIED: "NOTIFIED";
|
|
178
193
|
REGISTERED: "REGISTERED";
|
|
194
|
+
REVOKED: "REVOKED";
|
|
179
195
|
}>;
|
|
180
196
|
}, z.core.$strip>]>>>;
|
|
181
197
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -246,6 +262,10 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
246
262
|
type: z.ZodLiteral<"exact">;
|
|
247
263
|
term: z.ZodString;
|
|
248
264
|
}, z.core.$strip>>>;
|
|
265
|
+
'legalStatuses.REVOKED.createdAtLocation': z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
266
|
+
type: z.ZodLiteral<"within">;
|
|
267
|
+
location: z.ZodString;
|
|
268
|
+
}, z.core.$strip>>>>;
|
|
249
269
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
250
270
|
type: z.ZodLiteral<"within">;
|
|
251
271
|
location: z.ZodString;
|
|
@@ -63,6 +63,17 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
|
63
63
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
64
64
|
registrationNumber: z.ZodString;
|
|
65
65
|
}, z.core.$strip>>>;
|
|
66
|
+
REVOKED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
67
|
+
createdAt: z.ZodISODateTime;
|
|
68
|
+
createdBy: z.ZodString;
|
|
69
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
70
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71
|
+
system: "system";
|
|
72
|
+
user: "user";
|
|
73
|
+
}>>>;
|
|
74
|
+
acceptedAt: z.ZodISODateTime;
|
|
75
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strip>>>;
|
|
66
77
|
}, z.core.$strip>;
|
|
67
78
|
/**
|
|
68
79
|
* Event metadata exposed to client.
|
|
@@ -78,6 +89,7 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
78
89
|
DECLARED: "DECLARED";
|
|
79
90
|
NOTIFIED: "NOTIFIED";
|
|
80
91
|
REGISTERED: "REGISTERED";
|
|
92
|
+
REVOKED: "REVOKED";
|
|
81
93
|
}>;
|
|
82
94
|
legalStatuses: z.ZodObject<{
|
|
83
95
|
NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -114,6 +126,17 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
114
126
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
115
127
|
registrationNumber: z.ZodString;
|
|
116
128
|
}, z.core.$strip>>>;
|
|
129
|
+
REVOKED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
|
+
createdAt: z.ZodISODateTime;
|
|
131
|
+
createdBy: z.ZodString;
|
|
132
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
133
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
134
|
+
system: "system";
|
|
135
|
+
user: "user";
|
|
136
|
+
}>>>;
|
|
137
|
+
acceptedAt: z.ZodISODateTime;
|
|
138
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, z.core.$strip>>>;
|
|
117
140
|
}, z.core.$strip>;
|
|
118
141
|
createdAt: z.ZodISODateTime;
|
|
119
142
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -1904,9 +1904,11 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1904
1904
|
"record.read": "record.read";
|
|
1905
1905
|
"record.register": "record.register";
|
|
1906
1906
|
"record.reindex": "record.reindex";
|
|
1907
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
1907
1908
|
"record.reject": "record.reject";
|
|
1908
1909
|
"record.request-correction": "record.request-correction";
|
|
1909
1910
|
"record.review-duplicates": "record.review-duplicates";
|
|
1911
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
1910
1912
|
"record.search": "record.search";
|
|
1911
1913
|
"record.unarchive": "record.unarchive";
|
|
1912
1914
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -2041,9 +2043,11 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2041
2043
|
"record.read": "record.read";
|
|
2042
2044
|
"record.register": "record.register";
|
|
2043
2045
|
"record.reindex": "record.reindex";
|
|
2046
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
2044
2047
|
"record.reject": "record.reject";
|
|
2045
2048
|
"record.request-correction": "record.request-correction";
|
|
2046
2049
|
"record.review-duplicates": "record.review-duplicates";
|
|
2050
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
2047
2051
|
"record.search": "record.search";
|
|
2048
2052
|
"record.unarchive": "record.unarchive";
|
|
2049
2053
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -2249,9 +2253,11 @@ declare const Facility: z.ZodObject<{
|
|
|
2249
2253
|
"record.read": "record.read";
|
|
2250
2254
|
"record.register": "record.register";
|
|
2251
2255
|
"record.reindex": "record.reindex";
|
|
2256
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
2252
2257
|
"record.reject": "record.reject";
|
|
2253
2258
|
"record.request-correction": "record.request-correction";
|
|
2254
2259
|
"record.review-duplicates": "record.review-duplicates";
|
|
2260
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
2255
2261
|
"record.search": "record.search";
|
|
2256
2262
|
"record.unarchive": "record.unarchive";
|
|
2257
2263
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -2372,9 +2378,11 @@ declare const Office: z.ZodObject<{
|
|
|
2372
2378
|
"record.read": "record.read";
|
|
2373
2379
|
"record.register": "record.register";
|
|
2374
2380
|
"record.reindex": "record.reindex";
|
|
2381
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
2375
2382
|
"record.reject": "record.reject";
|
|
2376
2383
|
"record.request-correction": "record.request-correction";
|
|
2377
2384
|
"record.review-duplicates": "record.review-duplicates";
|
|
2385
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
2378
2386
|
"record.search": "record.search";
|
|
2379
2387
|
"record.unarchive": "record.unarchive";
|
|
2380
2388
|
"record.unassign-others": "record.unassign-others";
|
|
@@ -2581,9 +2589,11 @@ declare const Address: z.ZodObject<{
|
|
|
2581
2589
|
"record.read": "record.read";
|
|
2582
2590
|
"record.register": "record.register";
|
|
2583
2591
|
"record.reindex": "record.reindex";
|
|
2592
|
+
"record.reinstate-registration": "record.reinstate-registration";
|
|
2584
2593
|
"record.reject": "record.reject";
|
|
2585
2594
|
"record.request-correction": "record.request-correction";
|
|
2586
2595
|
"record.review-duplicates": "record.review-duplicates";
|
|
2596
|
+
"record.revoke-registration": "record.revoke-registration";
|
|
2587
2597
|
"record.search": "record.search";
|
|
2588
2598
|
"record.unarchive": "record.unarchive";
|
|
2589
2599
|
"record.unassign-others": "record.unassign-others";
|