@opencrvs/toolkit 1.9.14 → 2.0.0-rc.013c085
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 +13 -0
- package/create-countryconfig/index.js +103 -0
- package/create-countryconfig/package.json +21 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/application-config/index.d.ts +2 -0
- package/dist/application-config/index.d.ts.map +1 -0
- package/dist/application-config/index.js +2304 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +5238 -0
- package/dist/commons/api/router.d.ts +5630 -3673
- package/dist/commons/application-config/index.d.ts +97 -0
- package/dist/commons/conditionals/conditionals.d.ts +33 -3
- package/dist/commons/conditionals/validate.d.ts +20 -1
- package/dist/commons/events/ActionConfig.d.ts +415 -1555
- package/dist/commons/events/ActionDocument.d.ts +894 -1941
- package/dist/commons/events/ActionInput.d.ts +326 -1212
- package/dist/commons/events/ActionType.d.ts +91 -11
- package/dist/commons/events/AdvancedSearchConfig.d.ts +294 -1496
- package/dist/commons/events/AuditLog.d.ts +407 -0
- package/dist/commons/events/CompositeFieldValue.d.ts +30 -190
- package/dist/commons/events/Conditional.d.ts +26 -38
- package/dist/commons/events/Constants.d.ts +1 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1592 -4471
- package/dist/commons/events/DeduplicationConfig.d.ts +15 -171
- package/dist/commons/events/Draft.d.ts +72 -111
- package/dist/commons/events/DynamicFieldValue.d.ts +12 -78
- package/dist/commons/events/EventConfig.d.ts +37 -2427
- package/dist/commons/events/EventConfigInput.d.ts +0 -3
- package/dist/commons/events/EventDocument.d.ts +357 -1366
- package/dist/commons/events/EventIndex.d.ts +211 -1012
- package/dist/commons/events/EventInput.d.ts +3 -8
- package/dist/commons/events/EventMetadata.d.ts +129 -363
- package/dist/commons/events/FieldConfig.d.ts +3147 -14211
- package/dist/commons/events/FieldType.d.ts +26 -4
- package/dist/commons/events/FieldTypeMapping.d.ts +314 -906
- package/dist/commons/events/FieldValue.d.ts +154 -526
- package/dist/commons/events/FileUtils.d.ts +2 -2
- package/dist/commons/events/Flag.d.ts +67 -0
- package/dist/commons/events/FormConfig.d.ts +54 -721
- package/dist/commons/events/PageConfig.d.ts +58 -320
- package/dist/commons/events/PlainDate.d.ts +1 -1
- package/dist/commons/events/SummaryConfig.d.ts +14 -161
- package/dist/commons/events/TemplateConfig.d.ts +2 -3
- package/dist/commons/events/TranslationConfig.d.ts +2 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +74 -37
- package/dist/commons/events/WorkqueueConfig.d.ts +2232 -7577
- package/dist/commons/events/deduplication.d.ts +3 -3
- package/dist/commons/events/defineConfig.d.ts +2 -248
- package/dist/commons/events/eventConfigValidation.d.ts +8 -0
- package/dist/commons/events/index.d.ts +5 -0
- package/dist/commons/events/locations.d.ts +93 -19
- package/dist/commons/events/mocks.test.utils.d.ts +19 -0
- package/dist/commons/events/scopes.d.ts +56 -32
- package/dist/commons/events/state/availableActions.d.ts +7 -2
- package/dist/commons/events/state/flags.d.ts +37 -3
- package/dist/commons/events/state/index.d.ts +29 -30
- package/dist/commons/events/state/utils.d.ts +191 -172
- package/dist/commons/events/test.utils.d.ts +52 -11
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +383 -273
- package/dist/commons/notification/UserNotifications.d.ts +76 -637
- package/dist/conditionals/index.d.ts.map +1 -1
- package/dist/conditionals/index.js +338 -14
- package/dist/events/deduplication.d.ts +3 -3
- package/dist/events/index.js +3680 -2227
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +429 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts +3 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.js +373 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +22 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
- package/dist/migrations/v2.0/checkout-upstream-files.js +146 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +828 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +158 -0
- package/dist/migrations/v2.0/create-events-index.d.ts +3 -0
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
- package/dist/migrations/v2.0/create-events-index.js +325 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +11 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +123 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts +3 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts.map +1 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.js +110 -0
- package/dist/migrations/v2.0/index.d.ts +13 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +5148 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +432 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +13 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +222 -0
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-application-config-url.js +342 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-scopes.js +305 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +267 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +317 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-delete-actions.js +156 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-demo-scope.js +74 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.js +96 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts +3 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.js +163 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.js +77 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts +3 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.js +356 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +109 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.js +163 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts +3 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.js +186 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-api-paths.js +187 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-location-parent-id.js +180 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +195 -0
- package/dist/migrations/v2.0/update-package-json.d.ts +3 -0
- package/dist/migrations/v2.0/update-package-json.d.ts.map +1 -0
- package/dist/migrations/v2.0/update-package-json.js +105 -0
- package/dist/notification/index.d.ts.map +1 -1
- package/dist/notification/index.js +2727 -1848
- package/dist/scopes/index.d.ts +716 -352
- package/dist/scopes/index.d.ts.map +1 -1
- package/dist/scopes/index.js +376 -299
- package/opencrvs-toolkit-2.0.0-rc.013c085.tgz +0 -0
- package/package.json +14 -4
- package/tsconfig.json +12 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
|
@@ -6,13 +6,12 @@ import { EventStatus } from '../EventMetadata';
|
|
|
6
6
|
import { Draft } from '../Draft';
|
|
7
7
|
import { EventConfig } from '../EventConfig';
|
|
8
8
|
import { UUID } from '../../uuid';
|
|
9
|
-
import { DocumentPath
|
|
10
|
-
export declare function getStatusFromActions(actions: Array<Action>): "
|
|
9
|
+
import { DocumentPath } from '../../documents';
|
|
10
|
+
export declare function getStatusFromActions(actions: Array<Action>): "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
11
11
|
export declare function getAssignedUserFromActions(actions: Array<ActionDocument>): string | null;
|
|
12
|
-
export declare function getAssignedUserSignatureFromActions(actions: Array<ActionDocument>): string | null;
|
|
13
12
|
type NonNullableDeep<T> = T extends [unknown, ...unknown[]] ? {
|
|
14
13
|
[K in keyof T]: NonNullableDeep<NonNullable<T[K]>>;
|
|
15
|
-
} : T extends UUID ? T : T extends
|
|
14
|
+
} : T extends UUID ? T : T extends DocumentPath ? T : T extends string ? NonNullable<T> : T extends (infer U)[] ? NonNullableDeep<U>[] : T extends object ? {
|
|
16
15
|
[K in keyof T]: NonNullableDeep<NonNullable<T[K]>>;
|
|
17
16
|
} : NonNullable<T>;
|
|
18
17
|
/**
|
|
@@ -26,6 +25,10 @@ export declare function deepDropNulls<T>(obj: T): NonNullableDeep<T>;
|
|
|
26
25
|
export declare function isUndeclaredDraft(status: EventStatus): boolean;
|
|
27
26
|
export declare const DEFAULT_DATE_OF_EVENT_PROPERTY = "createdAt";
|
|
28
27
|
export declare function resolveDateOfEvent(eventIndex: EventIndex, declaration: EventState, config: EventConfig): string | undefined;
|
|
28
|
+
export declare const DEFAULT_PLACE_OF_EVENT_PROPERTY = "createdAtLocation";
|
|
29
|
+
export declare function resolvePlaceOfEvent(eventMetadata: {
|
|
30
|
+
createdAtLocation?: UUID | undefined | null;
|
|
31
|
+
}, declaration: EventState, config: EventConfig): UUID | undefined | null;
|
|
29
32
|
export declare function extractPotentialDuplicatesFromActions(actions: Action[]): PotentialDuplicate[];
|
|
30
33
|
/**
|
|
31
34
|
* NOTE: This function should not run field validations. It should return the state based on the actions, without considering context (users, roles, permissions, etc).
|
|
@@ -36,9 +39,7 @@ export declare function extractPotentialDuplicatesFromActions(actions: Action[])
|
|
|
36
39
|
* @returns Calculates a snapshot summary of the event based on the actions taken on it.
|
|
37
40
|
* @see EventIndex for the description of the returned object.
|
|
38
41
|
*/
|
|
39
|
-
export declare function getCurrentEventState(event: EventDocument,
|
|
40
|
-
/** @TODO: remove config parameter, it is only used by resolveDateOfEvent. See if it can be achieved in some other way. */
|
|
41
|
-
config: EventConfig): EventIndex;
|
|
42
|
+
export declare function getCurrentEventState(event: EventDocument, config: EventConfig): EventIndex;
|
|
42
43
|
/**
|
|
43
44
|
* @returns the future state of the event with drafts applied to all fields.
|
|
44
45
|
*
|
|
@@ -60,47 +61,45 @@ export declare function applyDeclarationToEventIndex(eventIndex: EventIndex, dec
|
|
|
60
61
|
*
|
|
61
62
|
*/
|
|
62
63
|
export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Draft, eventConfiguration: EventConfig): {
|
|
64
|
+
id: string & import("zod").$brand<"UUID">;
|
|
63
65
|
type: string;
|
|
64
|
-
|
|
65
|
-
status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
|
66
|
-
createdAt: string;
|
|
67
|
-
createdBy: string;
|
|
68
|
-
declaration: Record<string, import("..").FieldValue>;
|
|
69
|
-
trackingId: string;
|
|
70
|
-
updatedAt: string;
|
|
66
|
+
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
71
67
|
legalStatuses: {
|
|
72
68
|
DECLARED?: {
|
|
73
69
|
createdAt: string;
|
|
74
70
|
createdBy: string;
|
|
75
|
-
createdByRole: string;
|
|
76
71
|
acceptedAt: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
73
|
+
createdByUserType?: "user" | "system" | null | undefined;
|
|
74
|
+
createdByRole?: string | undefined;
|
|
80
75
|
} | null | undefined;
|
|
81
76
|
REGISTERED?: {
|
|
82
77
|
createdAt: string;
|
|
83
78
|
createdBy: string;
|
|
84
|
-
createdByRole: string;
|
|
85
|
-
registrationNumber: string;
|
|
86
79
|
acceptedAt: string;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
80
|
+
registrationNumber: string;
|
|
81
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
82
|
+
createdByUserType?: "user" | "system" | null | undefined;
|
|
83
|
+
createdByRole?: string | undefined;
|
|
90
84
|
} | null | undefined;
|
|
91
85
|
};
|
|
92
|
-
|
|
86
|
+
createdAt: string;
|
|
87
|
+
createdBy: string;
|
|
88
|
+
updatedAt: string;
|
|
89
|
+
trackingId: string;
|
|
93
90
|
potentialDuplicates: {
|
|
94
|
-
id: string & import("zod")
|
|
91
|
+
id: string & import("zod").$brand<"UUID">;
|
|
95
92
|
trackingId: string;
|
|
96
93
|
}[];
|
|
97
94
|
flags: string[];
|
|
98
|
-
|
|
99
|
-
createdBySignature?: string | null | undefined;
|
|
100
|
-
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
101
|
-
assignedTo?: string | null | undefined;
|
|
95
|
+
declaration: Record<string, import("..").FieldValue>;
|
|
102
96
|
dateOfEvent?: string | null | undefined;
|
|
103
|
-
|
|
97
|
+
placeOfEvent?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
98
|
+
createdByUserType?: "user" | "system" | null | undefined;
|
|
99
|
+
updatedByUserRole?: string | null | undefined;
|
|
100
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
101
|
+
updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
102
|
+
assignedTo?: string | null | undefined;
|
|
104
103
|
updatedBy?: string | null | undefined;
|
|
105
104
|
};
|
|
106
105
|
/**
|
|
@@ -7,280 +7,301 @@ import { Action } from '../ActionDocument';
|
|
|
7
7
|
*
|
|
8
8
|
* */
|
|
9
9
|
export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
10
|
-
|
|
11
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
12
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
10
|
+
id: string & import("zod").$brand<"UUID">;
|
|
13
11
|
transactionId: string;
|
|
14
|
-
createdByUserType: "
|
|
12
|
+
createdByUserType: "user" | "system";
|
|
15
13
|
createdAt: string;
|
|
16
14
|
createdBy: string;
|
|
17
|
-
createdByRole: string;
|
|
18
15
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
17
|
+
type: "REGISTER";
|
|
18
|
+
createdByRole?: string | undefined;
|
|
19
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
20
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
22
21
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
23
|
-
originalActionId?: (string & import("zod")
|
|
22
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
23
|
+
registrationNumber?: string | undefined;
|
|
24
24
|
} | {
|
|
25
|
-
|
|
26
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
27
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
25
|
+
id: string & import("zod").$brand<"UUID">;
|
|
28
26
|
transactionId: string;
|
|
29
|
-
createdByUserType: "
|
|
27
|
+
createdByUserType: "user" | "system";
|
|
30
28
|
createdAt: string;
|
|
31
29
|
createdBy: string;
|
|
32
|
-
createdByRole: string;
|
|
33
30
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
32
|
+
type: "DUPLICATE_DETECTED";
|
|
33
|
+
content: {
|
|
34
|
+
duplicates: {
|
|
35
|
+
id: string & import("zod").$brand<"UUID">;
|
|
36
|
+
trackingId: string;
|
|
37
|
+
}[];
|
|
38
|
+
};
|
|
39
|
+
createdByRole?: string | undefined;
|
|
40
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
41
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
36
42
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
37
|
-
originalActionId?: (string & import("zod")
|
|
43
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
38
44
|
} | {
|
|
39
|
-
|
|
40
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
41
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
45
|
+
id: string & import("zod").$brand<"UUID">;
|
|
42
46
|
transactionId: string;
|
|
43
|
-
createdByUserType: "
|
|
47
|
+
createdByUserType: "user" | "system";
|
|
44
48
|
createdAt: string;
|
|
45
49
|
createdBy: string;
|
|
46
|
-
createdByRole: string;
|
|
47
50
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
52
|
+
type: "EDIT";
|
|
53
|
+
content: {
|
|
54
|
+
comment?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
createdByRole?: string | undefined;
|
|
57
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
58
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
50
59
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
51
|
-
originalActionId?: (string & import("zod")
|
|
52
|
-
registrationNumber?: string | undefined;
|
|
60
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
53
61
|
} | {
|
|
54
|
-
|
|
55
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
56
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
62
|
+
id: string & import("zod").$brand<"UUID">;
|
|
57
63
|
transactionId: string;
|
|
58
|
-
createdByUserType: "
|
|
64
|
+
createdByUserType: "user" | "system";
|
|
59
65
|
createdAt: string;
|
|
60
66
|
createdBy: string;
|
|
61
|
-
createdByRole: string;
|
|
62
67
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
69
|
+
type: "PRINT_CERTIFICATE";
|
|
70
|
+
createdByRole?: string | undefined;
|
|
71
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
72
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
65
73
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
66
|
-
originalActionId?: (string & import("zod")
|
|
74
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
75
|
+
content?: {
|
|
76
|
+
templateId?: string | undefined;
|
|
77
|
+
} | null | undefined;
|
|
67
78
|
} | {
|
|
68
|
-
|
|
69
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
70
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
79
|
+
id: string & import("zod").$brand<"UUID">;
|
|
71
80
|
transactionId: string;
|
|
72
|
-
createdByUserType: "
|
|
81
|
+
createdByUserType: "user" | "system";
|
|
73
82
|
createdAt: string;
|
|
74
83
|
createdBy: string;
|
|
75
|
-
createdByRole: string;
|
|
76
84
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
86
|
+
type: "REQUEST_CORRECTION";
|
|
87
|
+
createdByRole?: string | undefined;
|
|
88
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
89
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
79
90
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
80
|
-
originalActionId?: (string & import("zod")
|
|
91
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
81
92
|
} | {
|
|
82
|
-
|
|
83
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
84
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
85
|
-
content: {
|
|
86
|
-
reason: string;
|
|
87
|
-
};
|
|
93
|
+
id: string & import("zod").$brand<"UUID">;
|
|
88
94
|
transactionId: string;
|
|
89
|
-
createdByUserType: "
|
|
95
|
+
createdByUserType: "user" | "system";
|
|
90
96
|
createdAt: string;
|
|
91
97
|
createdBy: string;
|
|
92
|
-
createdByRole: string;
|
|
93
98
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
100
|
+
type: "CUSTOM";
|
|
101
|
+
customActionType: string;
|
|
102
|
+
createdByRole?: string | undefined;
|
|
103
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
104
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
96
105
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
97
|
-
originalActionId?: (string & import("zod")
|
|
106
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
98
107
|
} | {
|
|
99
|
-
|
|
100
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
101
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
102
|
-
content: {
|
|
103
|
-
duplicates: {
|
|
104
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
105
|
-
trackingId: string;
|
|
106
|
-
}[];
|
|
107
|
-
};
|
|
108
|
+
id: string & import("zod").$brand<"UUID">;
|
|
108
109
|
transactionId: string;
|
|
109
|
-
createdByUserType: "
|
|
110
|
+
createdByUserType: "user" | "system";
|
|
110
111
|
createdAt: string;
|
|
111
112
|
createdBy: string;
|
|
112
|
-
createdByRole: string;
|
|
113
113
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
115
|
+
type: "CREATE";
|
|
116
|
+
createdByRole?: string | undefined;
|
|
117
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
118
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
116
119
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
117
|
-
originalActionId?: (string & import("zod")
|
|
120
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
118
121
|
} | {
|
|
119
|
-
|
|
120
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
121
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
122
|
+
id: string & import("zod").$brand<"UUID">;
|
|
122
123
|
transactionId: string;
|
|
123
|
-
createdByUserType: "
|
|
124
|
+
createdByUserType: "user" | "system";
|
|
124
125
|
createdAt: string;
|
|
125
126
|
createdBy: string;
|
|
126
|
-
createdByRole: string;
|
|
127
127
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
129
|
+
type: "REJECT";
|
|
130
|
+
content: {
|
|
131
|
+
reason: string;
|
|
132
|
+
};
|
|
133
|
+
createdByRole?: string | undefined;
|
|
134
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
135
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
130
136
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
131
|
-
originalActionId?: (string & import("zod")
|
|
137
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
132
138
|
} | {
|
|
133
|
-
|
|
134
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
135
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
139
|
+
id: string & import("zod").$brand<"UUID">;
|
|
136
140
|
transactionId: string;
|
|
137
|
-
createdByUserType: "
|
|
141
|
+
createdByUserType: "user" | "system";
|
|
138
142
|
createdAt: string;
|
|
139
143
|
createdBy: string;
|
|
140
|
-
createdByRole: string;
|
|
141
144
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
createdBySignature?: string | null | undefined;
|
|
146
|
-
createdAtLocation?: (string & import("zod")
|
|
145
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
146
|
+
type: "MARK_AS_NOT_DUPLICATE";
|
|
147
|
+
createdByRole?: string | undefined;
|
|
148
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
149
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
147
150
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
148
|
-
originalActionId?: (string & import("zod")
|
|
151
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
149
152
|
} | {
|
|
150
|
-
|
|
151
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
152
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
153
|
-
content: {
|
|
154
|
-
reason: string;
|
|
155
|
-
};
|
|
153
|
+
id: string & import("zod").$brand<"UUID">;
|
|
156
154
|
transactionId: string;
|
|
157
|
-
createdByUserType: "
|
|
155
|
+
createdByUserType: "user" | "system";
|
|
158
156
|
createdAt: string;
|
|
159
157
|
createdBy: string;
|
|
160
|
-
createdByRole: string;
|
|
161
158
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
162
|
-
|
|
163
|
-
|
|
159
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
160
|
+
type: "MARK_AS_DUPLICATE";
|
|
161
|
+
createdByRole?: string | undefined;
|
|
162
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
163
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
164
164
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
165
|
-
originalActionId?: (string & import("zod")
|
|
165
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
166
|
+
content?: {
|
|
167
|
+
duplicateOf: string & import("zod").$brand<"UUID">;
|
|
168
|
+
} | undefined;
|
|
166
169
|
} | {
|
|
167
|
-
|
|
168
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
169
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
170
|
+
id: string & import("zod").$brand<"UUID">;
|
|
170
171
|
transactionId: string;
|
|
171
|
-
createdByUserType: "
|
|
172
|
+
createdByUserType: "user" | "system";
|
|
172
173
|
createdAt: string;
|
|
173
174
|
createdBy: string;
|
|
174
|
-
createdByRole: string;
|
|
175
175
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
177
|
+
type: "ARCHIVE";
|
|
178
|
+
content: {
|
|
179
|
+
reason: string;
|
|
180
|
+
};
|
|
181
|
+
createdByRole?: string | undefined;
|
|
182
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
183
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
178
184
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
179
|
-
originalActionId?: (string & import("zod")
|
|
185
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
180
186
|
} | {
|
|
181
|
-
|
|
182
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
183
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
187
|
+
id: string & import("zod").$brand<"UUID">;
|
|
184
188
|
transactionId: string;
|
|
185
|
-
createdByUserType: "
|
|
189
|
+
createdByUserType: "user" | "system";
|
|
186
190
|
createdAt: string;
|
|
187
191
|
createdBy: string;
|
|
188
|
-
createdByRole: string;
|
|
189
192
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
190
|
-
|
|
191
|
-
|
|
193
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
194
|
+
type: "NOTIFY";
|
|
195
|
+
createdByRole?: string | undefined;
|
|
196
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
197
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
192
198
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
193
|
-
originalActionId?: (string & import("zod")
|
|
199
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
194
200
|
} | {
|
|
195
|
-
|
|
196
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
197
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
201
|
+
id: string & import("zod").$brand<"UUID">;
|
|
198
202
|
transactionId: string;
|
|
199
|
-
createdByUserType: "
|
|
203
|
+
createdByUserType: "user" | "system";
|
|
200
204
|
createdAt: string;
|
|
201
205
|
createdBy: string;
|
|
202
|
-
createdByRole: string;
|
|
203
206
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
createdBySignature?: string | null | undefined;
|
|
208
|
-
createdAtLocation?: (string & import("zod")
|
|
207
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
208
|
+
type: "DECLARE";
|
|
209
|
+
createdByRole?: string | undefined;
|
|
210
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
211
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
209
212
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
210
|
-
originalActionId?: (string & import("zod")
|
|
213
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
211
214
|
} | {
|
|
212
|
-
|
|
213
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
214
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
215
|
+
id: string & import("zod").$brand<"UUID">;
|
|
215
216
|
transactionId: string;
|
|
216
|
-
createdByUserType: "
|
|
217
|
+
createdByUserType: "user" | "system";
|
|
217
218
|
createdAt: string;
|
|
218
219
|
createdBy: string;
|
|
219
|
-
createdByRole: string;
|
|
220
220
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
222
|
+
type: "ASSIGN";
|
|
223
|
+
assignedTo: string;
|
|
224
|
+
createdByRole?: string | undefined;
|
|
225
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
226
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
223
227
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
224
|
-
originalActionId?: (string & import("zod")
|
|
228
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
225
229
|
} | {
|
|
226
|
-
|
|
227
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
228
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
230
|
+
id: string & import("zod").$brand<"UUID">;
|
|
229
231
|
transactionId: string;
|
|
230
|
-
createdByUserType: "
|
|
232
|
+
createdByUserType: "user" | "system";
|
|
231
233
|
createdAt: string;
|
|
232
234
|
createdBy: string;
|
|
233
|
-
createdByRole: string;
|
|
234
235
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
236
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
237
|
+
type: "APPROVE_CORRECTION";
|
|
235
238
|
requestId: string;
|
|
236
|
-
|
|
237
|
-
|
|
239
|
+
createdByRole?: string | undefined;
|
|
240
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
241
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
238
242
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
239
|
-
originalActionId?: (string & import("zod")
|
|
243
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
244
|
+
content?: {
|
|
245
|
+
immediateCorrection?: boolean | undefined;
|
|
246
|
+
} | undefined;
|
|
240
247
|
} | {
|
|
248
|
+
id: string & import("zod").$brand<"UUID">;
|
|
249
|
+
transactionId: string;
|
|
250
|
+
createdByUserType: "user" | "system";
|
|
251
|
+
createdAt: string;
|
|
252
|
+
createdBy: string;
|
|
253
|
+
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
254
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
241
255
|
type: "REJECT_CORRECTION";
|
|
242
|
-
|
|
243
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
256
|
+
requestId: string;
|
|
244
257
|
content: {
|
|
245
258
|
reason: string;
|
|
246
259
|
};
|
|
260
|
+
createdByRole?: string | undefined;
|
|
261
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
262
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
263
|
+
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
264
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
265
|
+
} | {
|
|
266
|
+
id: string & import("zod").$brand<"UUID">;
|
|
247
267
|
transactionId: string;
|
|
248
|
-
createdByUserType: "
|
|
268
|
+
createdByUserType: "user" | "system";
|
|
249
269
|
createdAt: string;
|
|
250
270
|
createdBy: string;
|
|
251
|
-
createdByRole: string;
|
|
252
271
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
272
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
273
|
+
type: "UNASSIGN";
|
|
274
|
+
createdByRole?: string | undefined;
|
|
275
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
276
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
256
277
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
257
|
-
originalActionId?: (string & import("zod")
|
|
278
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
258
279
|
} | {
|
|
259
|
-
|
|
260
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
261
|
-
status: "Rejected" | "Requested" | "Accepted";
|
|
280
|
+
id: string & import("zod").$brand<"UUID">;
|
|
262
281
|
transactionId: string;
|
|
263
|
-
createdByUserType: "
|
|
282
|
+
createdByUserType: "user" | "system";
|
|
264
283
|
createdAt: string;
|
|
265
284
|
createdBy: string;
|
|
266
|
-
createdByRole: string;
|
|
267
285
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
268
|
-
|
|
269
|
-
|
|
286
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
287
|
+
type: "READ";
|
|
288
|
+
createdByRole?: string | undefined;
|
|
289
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
290
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
270
291
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
271
|
-
originalActionId?: (string & import("zod")
|
|
292
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
272
293
|
} | {
|
|
273
|
-
|
|
274
|
-
id: string & import("zod").BRAND<"UUID">;
|
|
275
|
-
status: "Rejected";
|
|
294
|
+
id: string & import("zod").$brand<"UUID">;
|
|
276
295
|
transactionId: string;
|
|
277
|
-
createdByUserType: "
|
|
296
|
+
createdByUserType: "user" | "system";
|
|
278
297
|
createdAt: string;
|
|
279
298
|
createdBy: string;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
299
|
+
type: "CUSTOM" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
300
|
+
status: "Rejected";
|
|
301
|
+
createdByRole?: string | undefined;
|
|
302
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
303
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
304
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
284
305
|
}>;
|
|
285
306
|
/**
|
|
286
307
|
* @returns the legal statuses of the event. Event is considered legal if it has been accepted.
|
|
@@ -290,21 +311,19 @@ export declare function getLegalStatuses(actions: Action[]): {
|
|
|
290
311
|
DECLARED: {
|
|
291
312
|
createdAt: string;
|
|
292
313
|
createdBy: string;
|
|
293
|
-
createdByUserType: "
|
|
294
|
-
createdAtLocation: (string & import("zod")
|
|
314
|
+
createdByUserType: "user" | "system";
|
|
315
|
+
createdAtLocation: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
295
316
|
acceptedAt: string;
|
|
296
|
-
createdByRole: string;
|
|
297
|
-
createdBySignature: string | null | undefined;
|
|
317
|
+
createdByRole: string | undefined;
|
|
298
318
|
registrationNumber: string | null | undefined;
|
|
299
319
|
} | null;
|
|
300
320
|
REGISTERED: {
|
|
301
321
|
createdAt: string;
|
|
302
322
|
createdBy: string;
|
|
303
|
-
createdByUserType: "
|
|
304
|
-
createdAtLocation: (string & import("zod")
|
|
323
|
+
createdByUserType: "user" | "system";
|
|
324
|
+
createdAtLocation: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
305
325
|
acceptedAt: string;
|
|
306
|
-
createdByRole: string;
|
|
307
|
-
createdBySignature: string | null | undefined;
|
|
326
|
+
createdByRole: string | undefined;
|
|
308
327
|
registrationNumber: string | null | undefined;
|
|
309
328
|
} | null;
|
|
310
329
|
};
|