@opencrvs/toolkit 2.1.0-rc.b0003b1 → 2.1.0-rc.b89dfd1
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/dist/application-config/index.js +12 -0
- package/dist/cli.js +165 -5106
- package/dist/commons/api/router.d.ts +3476 -2883
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +32 -323
- package/dist/commons/events/ActionConfig.d.ts +272 -70
- package/dist/commons/events/ActionDocument.d.ts +149 -105
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/ActionType.d.ts +63 -58
- package/dist/commons/events/AdvancedSearchConfig.d.ts +507 -501
- package/dist/commons/events/AuditLog.d.ts +43 -41
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/Conditional.d.ts +3 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
- package/dist/commons/events/Draft.d.ts +37 -35
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +5 -5
- package/dist/commons/events/EventDocument.d.ts +64 -42
- package/dist/commons/events/EventIndex.d.ts +62 -62
- package/dist/commons/events/EventMetadata.d.ts +40 -40
- package/dist/commons/events/FieldConfig.d.ts +336 -331
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/Flag.d.ts +15 -15
- package/dist/commons/events/TemplateConfig.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
- package/dist/commons/events/WorkqueueConfig.d.ts +827 -824
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +69 -198
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/mocks.test.utils.d.ts +2 -2
- package/dist/commons/events/scopes.d.ts +5 -4
- package/dist/commons/events/state/index.d.ts +17 -17
- package/dist/commons/events/state/utils.d.ts +7 -7
- package/dist/commons/events/test.utils.d.ts +40 -32
- package/dist/commons/events/utils.d.ts +119 -105
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/conditionals/index.js +2 -0
- package/dist/environment/derived-variables.d.ts +131 -131
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/logger.d.ts +3 -12
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/questions.d.ts +75 -74
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +8 -14
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/update-workflows.js +17 -7
- package/dist/environment/users.js +17 -7
- package/dist/environment/utils.d.ts +1 -1
- package/dist/environment/utils.js +17 -7
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +166 -18
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +88 -5144
- package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
- package/dist/migrations/v2.1/index.d.ts +6 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -0
- package/dist/migrations/v2.1/index.js +218 -0
- package/dist/notification/index.js +131 -11
- package/dist/scopes/index.d.ts +146 -140
- package/dist/scopes/index.js +2 -0
- package/opencrvs-toolkit-2.1.0-rc.b89dfd1.tgz +0 -0
- package/package.json +2 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.b0003b1.tgz +0 -0
|
@@ -5,30 +5,10 @@ export declare const Draft: z.ZodObject<{
|
|
|
5
5
|
transactionId: z.ZodString;
|
|
6
6
|
createdAt: z.ZodString;
|
|
7
7
|
action: z.ZodObject<{
|
|
8
|
-
type: z.ZodEnum<{
|
|
9
|
-
CUSTOM: "CUSTOM";
|
|
10
|
-
CREATE: "CREATE";
|
|
11
|
-
NOTIFY: "NOTIFY";
|
|
12
|
-
DECLARE: "DECLARE";
|
|
13
|
-
REGISTER: "REGISTER";
|
|
14
|
-
EDIT: "EDIT";
|
|
15
|
-
DUPLICATE_DETECTED: "DUPLICATE_DETECTED";
|
|
16
|
-
REJECT: "REJECT";
|
|
17
|
-
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
18
|
-
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
19
|
-
ARCHIVE: "ARCHIVE";
|
|
20
|
-
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
21
|
-
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
22
|
-
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
23
|
-
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
24
|
-
READ: "READ";
|
|
25
|
-
ASSIGN: "ASSIGN";
|
|
26
|
-
UNASSIGN: "UNASSIGN";
|
|
27
|
-
}>;
|
|
28
8
|
transactionId: z.ZodString;
|
|
29
9
|
createdByUserType: z.ZodEnum<{
|
|
30
|
-
user: "user";
|
|
31
10
|
system: "system";
|
|
11
|
+
user: "user";
|
|
32
12
|
}>;
|
|
33
13
|
createdAt: z.ZodString;
|
|
34
14
|
createdBy: z.ZodString;
|
|
@@ -37,47 +17,69 @@ export declare const Draft: z.ZodObject<{
|
|
|
37
17
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
38
18
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
39
19
|
status: z.ZodEnum<{
|
|
40
|
-
Requested: "Requested";
|
|
41
20
|
Accepted: "Accepted";
|
|
42
21
|
Rejected: "Rejected";
|
|
22
|
+
Requested: "Requested";
|
|
43
23
|
}>;
|
|
44
24
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
25
|
+
type: z.ZodEnum<{
|
|
26
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
27
|
+
ARCHIVE: "ARCHIVE";
|
|
28
|
+
ASSIGN: "ASSIGN";
|
|
29
|
+
CREATE: "CREATE";
|
|
30
|
+
CUSTOM: "CUSTOM";
|
|
31
|
+
DECLARE: "DECLARE";
|
|
32
|
+
DUPLICATE_DETECTED: "DUPLICATE_DETECTED";
|
|
33
|
+
EDIT: "EDIT";
|
|
34
|
+
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
35
|
+
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
36
|
+
NOTIFY: "NOTIFY";
|
|
37
|
+
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
38
|
+
READ: "READ";
|
|
39
|
+
REGISTER: "REGISTER";
|
|
40
|
+
REJECT: "REJECT";
|
|
41
|
+
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
42
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
43
|
+
UNARCHIVE: "UNARCHIVE";
|
|
44
|
+
UNASSIGN: "UNASSIGN";
|
|
45
|
+
}>;
|
|
45
46
|
}, z.core.$strip>;
|
|
46
47
|
}, z.core.$strip>;
|
|
47
48
|
export declare const DraftInput: z.ZodObject<{
|
|
49
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
48
50
|
transactionId: z.ZodString;
|
|
49
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
50
51
|
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
51
52
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
52
53
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
53
|
-
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
54
54
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
56
56
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
57
58
|
type: z.ZodEnum<{
|
|
58
|
-
|
|
59
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
60
|
+
ARCHIVE: "ARCHIVE";
|
|
61
|
+
ASSIGN: "ASSIGN";
|
|
59
62
|
CREATE: "CREATE";
|
|
60
|
-
|
|
63
|
+
CUSTOM: "CUSTOM";
|
|
61
64
|
DECLARE: "DECLARE";
|
|
62
|
-
REGISTER: "REGISTER";
|
|
63
|
-
EDIT: "EDIT";
|
|
64
65
|
DUPLICATE_DETECTED: "DUPLICATE_DETECTED";
|
|
65
|
-
|
|
66
|
+
EDIT: "EDIT";
|
|
66
67
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
67
68
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
68
|
-
|
|
69
|
+
NOTIFY: "NOTIFY";
|
|
69
70
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
70
|
-
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
71
|
-
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
72
|
-
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
73
71
|
READ: "READ";
|
|
74
|
-
|
|
72
|
+
REGISTER: "REGISTER";
|
|
73
|
+
REJECT: "REJECT";
|
|
74
|
+
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
75
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
76
|
+
UNARCHIVE: "UNARCHIVE";
|
|
75
77
|
UNASSIGN: "UNASSIGN";
|
|
76
78
|
}>;
|
|
77
79
|
status: z.ZodEnum<{
|
|
78
|
-
Requested: "Requested";
|
|
79
80
|
Accepted: "Accepted";
|
|
80
81
|
Rejected: "Rejected";
|
|
82
|
+
Requested: "Requested";
|
|
81
83
|
}>;
|
|
82
84
|
}, z.core.$strip>;
|
|
83
85
|
export type Draft = z.infer<typeof Draft>;
|
|
@@ -14,7 +14,7 @@ import { AddressField, NameField } from './FieldConfig';
|
|
|
14
14
|
export declare function getDynamicNameValue(field: NameField): z.ZodObject<{
|
|
15
15
|
firstname: z.ZodString;
|
|
16
16
|
surname: z.ZodString;
|
|
17
|
-
middlename: z.ZodString | z.
|
|
17
|
+
middlename: z.ZodOptional<z.ZodString> | z.ZodString;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
export type DynamicNameValue = ReturnType<typeof getDynamicNameValue>;
|
|
20
20
|
/**
|
|
@@ -34,40 +34,40 @@ export type DynamicNameValue = ReturnType<typeof getDynamicNameValue>;
|
|
|
34
34
|
*/
|
|
35
35
|
export declare function getDynamicAddressFieldValue(field: AddressField): z.ZodType<{
|
|
36
36
|
country: string;
|
|
37
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
37
38
|
addressType: "DOMESTIC";
|
|
38
39
|
administrativeArea: string;
|
|
39
|
-
streetLevelDetails?: Record<string, string> | undefined;
|
|
40
40
|
} | {
|
|
41
41
|
country: string;
|
|
42
|
-
addressType: "INTERNATIONAL";
|
|
43
42
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
43
|
+
addressType: "INTERNATIONAL";
|
|
44
44
|
} | {
|
|
45
|
-
addressType: "DOMESTIC";
|
|
46
45
|
country?: string | null | undefined;
|
|
47
46
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
47
|
+
addressType: "DOMESTIC";
|
|
48
48
|
administrativeArea?: string | null | undefined;
|
|
49
49
|
} | {
|
|
50
|
-
addressType: "INTERNATIONAL";
|
|
51
50
|
country?: string | null | undefined;
|
|
52
51
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
52
|
+
addressType: "INTERNATIONAL";
|
|
53
53
|
} | null | undefined, unknown, z.core.$ZodTypeInternals<{
|
|
54
54
|
country: string;
|
|
55
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
55
56
|
addressType: "DOMESTIC";
|
|
56
57
|
administrativeArea: string;
|
|
57
|
-
streetLevelDetails?: Record<string, string> | undefined;
|
|
58
58
|
} | {
|
|
59
59
|
country: string;
|
|
60
|
-
addressType: "INTERNATIONAL";
|
|
61
60
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
61
|
+
addressType: "INTERNATIONAL";
|
|
62
62
|
} | {
|
|
63
|
-
addressType: "DOMESTIC";
|
|
64
63
|
country?: string | null | undefined;
|
|
65
64
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
65
|
+
addressType: "DOMESTIC";
|
|
66
66
|
administrativeArea?: string | null | undefined;
|
|
67
67
|
} | {
|
|
68
|
-
addressType: "INTERNATIONAL";
|
|
69
68
|
country?: string | null | undefined;
|
|
70
69
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
70
|
+
addressType: "INTERNATIONAL";
|
|
71
71
|
} | null | undefined, unknown>>;
|
|
72
72
|
export type DynamicAddressFieldValue = ReturnType<typeof getDynamicAddressFieldValue>;
|
|
73
73
|
//# sourceMappingURL=DynamicFieldValue.d.ts.map
|
|
@@ -8,14 +8,14 @@ import { FieldReference } from './FieldConfig';
|
|
|
8
8
|
import { FlagConfig } from './Flag';
|
|
9
9
|
export declare const EventFieldReference: z.ZodObject<{
|
|
10
10
|
$$event: z.ZodEnum<{
|
|
11
|
-
updatedAt: "updatedAt";
|
|
12
11
|
createdAt: "createdAt";
|
|
13
|
-
"legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
|
|
14
|
-
"legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
|
|
15
|
-
"legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
|
|
16
12
|
"legalStatuses.DECLARED.acceptedAt": "legalStatuses.DECLARED.acceptedAt";
|
|
17
|
-
"legalStatuses.
|
|
13
|
+
"legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
|
|
14
|
+
"legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
|
|
15
|
+
"legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
|
|
18
16
|
"legalStatuses.REGISTERED.acceptedAt": "legalStatuses.REGISTERED.acceptedAt";
|
|
17
|
+
"legalStatuses.REGISTERED.createdAt": "legalStatuses.REGISTERED.createdAt";
|
|
18
|
+
updatedAt: "updatedAt";
|
|
19
19
|
}>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
export type EventConfig = {
|
|
@@ -8,8 +8,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
8
8
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
9
9
|
transactionId: z.ZodString;
|
|
10
10
|
createdByUserType: z.ZodEnum<{
|
|
11
|
-
user: "user";
|
|
12
11
|
system: "system";
|
|
12
|
+
user: "user";
|
|
13
13
|
}>;
|
|
14
14
|
createdAt: z.ZodString;
|
|
15
15
|
createdBy: z.ZodString;
|
|
@@ -19,9 +19,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
19
19
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
20
20
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
21
21
|
status: z.ZodEnum<{
|
|
22
|
-
Requested: "Requested";
|
|
23
22
|
Accepted: "Accepted";
|
|
24
23
|
Rejected: "Rejected";
|
|
24
|
+
Requested: "Requested";
|
|
25
25
|
}>;
|
|
26
26
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
27
27
|
type: z.ZodLiteral<"CREATE">;
|
|
@@ -29,8 +29,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
29
29
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
30
30
|
transactionId: z.ZodString;
|
|
31
31
|
createdByUserType: z.ZodEnum<{
|
|
32
|
-
user: "user";
|
|
33
32
|
system: "system";
|
|
33
|
+
user: "user";
|
|
34
34
|
}>;
|
|
35
35
|
createdAt: z.ZodString;
|
|
36
36
|
createdBy: z.ZodString;
|
|
@@ -40,9 +40,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
40
40
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
41
41
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
42
42
|
status: z.ZodEnum<{
|
|
43
|
-
Requested: "Requested";
|
|
44
43
|
Accepted: "Accepted";
|
|
45
44
|
Rejected: "Rejected";
|
|
45
|
+
Requested: "Requested";
|
|
46
46
|
}>;
|
|
47
47
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
48
48
|
type: z.ZodLiteral<"REJECT">;
|
|
@@ -53,8 +53,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
53
53
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
54
54
|
transactionId: z.ZodString;
|
|
55
55
|
createdByUserType: z.ZodEnum<{
|
|
56
|
-
user: "user";
|
|
57
56
|
system: "system";
|
|
57
|
+
user: "user";
|
|
58
58
|
}>;
|
|
59
59
|
createdAt: z.ZodString;
|
|
60
60
|
createdBy: z.ZodString;
|
|
@@ -64,9 +64,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
64
64
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
65
65
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
66
66
|
status: z.ZodEnum<{
|
|
67
|
-
Requested: "Requested";
|
|
68
67
|
Accepted: "Accepted";
|
|
69
68
|
Rejected: "Rejected";
|
|
69
|
+
Requested: "Requested";
|
|
70
70
|
}>;
|
|
71
71
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
72
72
|
type: z.ZodLiteral<"DUPLICATE_DETECTED">;
|
|
@@ -80,8 +80,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
80
80
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
81
81
|
transactionId: z.ZodString;
|
|
82
82
|
createdByUserType: z.ZodEnum<{
|
|
83
|
-
user: "user";
|
|
84
83
|
system: "system";
|
|
84
|
+
user: "user";
|
|
85
85
|
}>;
|
|
86
86
|
createdAt: z.ZodString;
|
|
87
87
|
createdBy: z.ZodString;
|
|
@@ -91,9 +91,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
91
91
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
92
92
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
93
93
|
status: z.ZodEnum<{
|
|
94
|
-
Requested: "Requested";
|
|
95
94
|
Accepted: "Accepted";
|
|
96
95
|
Rejected: "Rejected";
|
|
96
|
+
Requested: "Requested";
|
|
97
97
|
}>;
|
|
98
98
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
99
99
|
type: z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">;
|
|
@@ -101,8 +101,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
101
101
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
102
102
|
transactionId: z.ZodString;
|
|
103
103
|
createdByUserType: z.ZodEnum<{
|
|
104
|
-
user: "user";
|
|
105
104
|
system: "system";
|
|
105
|
+
user: "user";
|
|
106
106
|
}>;
|
|
107
107
|
createdAt: z.ZodString;
|
|
108
108
|
createdBy: z.ZodString;
|
|
@@ -112,9 +112,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
112
112
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
113
113
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
114
114
|
status: z.ZodEnum<{
|
|
115
|
-
Requested: "Requested";
|
|
116
115
|
Accepted: "Accepted";
|
|
117
116
|
Rejected: "Rejected";
|
|
117
|
+
Requested: "Requested";
|
|
118
118
|
}>;
|
|
119
119
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
120
120
|
type: z.ZodLiteral<"MARK_AS_DUPLICATE">;
|
|
@@ -125,8 +125,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
125
125
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
126
126
|
transactionId: z.ZodString;
|
|
127
127
|
createdByUserType: z.ZodEnum<{
|
|
128
|
-
user: "user";
|
|
129
128
|
system: "system";
|
|
129
|
+
user: "user";
|
|
130
130
|
}>;
|
|
131
131
|
createdAt: z.ZodString;
|
|
132
132
|
createdBy: z.ZodString;
|
|
@@ -136,9 +136,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
136
136
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
137
137
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
138
138
|
status: z.ZodEnum<{
|
|
139
|
-
Requested: "Requested";
|
|
140
139
|
Accepted: "Accepted";
|
|
141
140
|
Rejected: "Rejected";
|
|
141
|
+
Requested: "Requested";
|
|
142
142
|
}>;
|
|
143
143
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
144
144
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
@@ -149,8 +149,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
149
149
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
150
150
|
transactionId: z.ZodString;
|
|
151
151
|
createdByUserType: z.ZodEnum<{
|
|
152
|
-
user: "user";
|
|
153
152
|
system: "system";
|
|
153
|
+
user: "user";
|
|
154
154
|
}>;
|
|
155
155
|
createdAt: z.ZodString;
|
|
156
156
|
createdBy: z.ZodString;
|
|
@@ -160,9 +160,30 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
160
160
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
161
161
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
162
162
|
status: z.ZodEnum<{
|
|
163
|
+
Accepted: "Accepted";
|
|
164
|
+
Rejected: "Rejected";
|
|
163
165
|
Requested: "Requested";
|
|
166
|
+
}>;
|
|
167
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
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<{
|
|
164
184
|
Accepted: "Accepted";
|
|
165
185
|
Rejected: "Rejected";
|
|
186
|
+
Requested: "Requested";
|
|
166
187
|
}>;
|
|
167
188
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
168
189
|
type: z.ZodLiteral<"NOTIFY">;
|
|
@@ -170,8 +191,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
170
191
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
171
192
|
transactionId: z.ZodString;
|
|
172
193
|
createdByUserType: z.ZodEnum<{
|
|
173
|
-
user: "user";
|
|
174
194
|
system: "system";
|
|
195
|
+
user: "user";
|
|
175
196
|
}>;
|
|
176
197
|
createdAt: z.ZodString;
|
|
177
198
|
createdBy: z.ZodString;
|
|
@@ -181,9 +202,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
181
202
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
182
203
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
183
204
|
status: z.ZodEnum<{
|
|
184
|
-
Requested: "Requested";
|
|
185
205
|
Accepted: "Accepted";
|
|
186
206
|
Rejected: "Rejected";
|
|
207
|
+
Requested: "Requested";
|
|
187
208
|
}>;
|
|
188
209
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
189
210
|
type: z.ZodLiteral<"REGISTER">;
|
|
@@ -192,8 +213,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
192
213
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
193
214
|
transactionId: z.ZodString;
|
|
194
215
|
createdByUserType: z.ZodEnum<{
|
|
195
|
-
user: "user";
|
|
196
216
|
system: "system";
|
|
217
|
+
user: "user";
|
|
197
218
|
}>;
|
|
198
219
|
createdAt: z.ZodString;
|
|
199
220
|
createdBy: z.ZodString;
|
|
@@ -203,9 +224,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
203
224
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
204
225
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
205
226
|
status: z.ZodEnum<{
|
|
206
|
-
Requested: "Requested";
|
|
207
227
|
Accepted: "Accepted";
|
|
208
228
|
Rejected: "Rejected";
|
|
229
|
+
Requested: "Requested";
|
|
209
230
|
}>;
|
|
210
231
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
211
232
|
type: z.ZodLiteral<"DECLARE">;
|
|
@@ -213,8 +234,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
213
234
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
214
235
|
transactionId: z.ZodString;
|
|
215
236
|
createdByUserType: z.ZodEnum<{
|
|
216
|
-
user: "user";
|
|
217
237
|
system: "system";
|
|
238
|
+
user: "user";
|
|
218
239
|
}>;
|
|
219
240
|
createdAt: z.ZodString;
|
|
220
241
|
createdBy: z.ZodString;
|
|
@@ -224,9 +245,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
224
245
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
225
246
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
226
247
|
status: z.ZodEnum<{
|
|
227
|
-
Requested: "Requested";
|
|
228
248
|
Accepted: "Accepted";
|
|
229
249
|
Rejected: "Rejected";
|
|
250
|
+
Requested: "Requested";
|
|
230
251
|
}>;
|
|
231
252
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
232
253
|
type: z.ZodLiteral<"ASSIGN">;
|
|
@@ -235,8 +256,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
235
256
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
236
257
|
transactionId: z.ZodString;
|
|
237
258
|
createdByUserType: z.ZodEnum<{
|
|
238
|
-
user: "user";
|
|
239
259
|
system: "system";
|
|
260
|
+
user: "user";
|
|
240
261
|
}>;
|
|
241
262
|
createdAt: z.ZodString;
|
|
242
263
|
createdBy: z.ZodString;
|
|
@@ -246,9 +267,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
246
267
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
247
268
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
248
269
|
status: z.ZodEnum<{
|
|
249
|
-
Requested: "Requested";
|
|
250
270
|
Accepted: "Accepted";
|
|
251
271
|
Rejected: "Rejected";
|
|
272
|
+
Requested: "Requested";
|
|
252
273
|
}>;
|
|
253
274
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
254
275
|
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
|
@@ -256,8 +277,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
256
277
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
257
278
|
transactionId: z.ZodString;
|
|
258
279
|
createdByUserType: z.ZodEnum<{
|
|
259
|
-
user: "user";
|
|
260
280
|
system: "system";
|
|
281
|
+
user: "user";
|
|
261
282
|
}>;
|
|
262
283
|
createdAt: z.ZodString;
|
|
263
284
|
createdBy: z.ZodString;
|
|
@@ -267,9 +288,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
267
288
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
268
289
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
269
290
|
status: z.ZodEnum<{
|
|
270
|
-
Requested: "Requested";
|
|
271
291
|
Accepted: "Accepted";
|
|
272
292
|
Rejected: "Rejected";
|
|
293
|
+
Requested: "Requested";
|
|
273
294
|
}>;
|
|
274
295
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
275
296
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
@@ -281,8 +302,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
281
302
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
282
303
|
transactionId: z.ZodString;
|
|
283
304
|
createdByUserType: z.ZodEnum<{
|
|
284
|
-
user: "user";
|
|
285
305
|
system: "system";
|
|
306
|
+
user: "user";
|
|
286
307
|
}>;
|
|
287
308
|
createdAt: z.ZodString;
|
|
288
309
|
createdBy: z.ZodString;
|
|
@@ -292,9 +313,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
292
313
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
293
314
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
294
315
|
status: z.ZodEnum<{
|
|
295
|
-
Requested: "Requested";
|
|
296
316
|
Accepted: "Accepted";
|
|
297
317
|
Rejected: "Rejected";
|
|
318
|
+
Requested: "Requested";
|
|
298
319
|
}>;
|
|
299
320
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
300
321
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
@@ -306,8 +327,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
306
327
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
307
328
|
transactionId: z.ZodString;
|
|
308
329
|
createdByUserType: z.ZodEnum<{
|
|
309
|
-
user: "user";
|
|
310
330
|
system: "system";
|
|
331
|
+
user: "user";
|
|
311
332
|
}>;
|
|
312
333
|
createdAt: z.ZodString;
|
|
313
334
|
createdBy: z.ZodString;
|
|
@@ -317,9 +338,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
317
338
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
318
339
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
319
340
|
status: z.ZodEnum<{
|
|
320
|
-
Requested: "Requested";
|
|
321
341
|
Accepted: "Accepted";
|
|
322
342
|
Rejected: "Rejected";
|
|
343
|
+
Requested: "Requested";
|
|
323
344
|
}>;
|
|
324
345
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
325
346
|
type: z.ZodLiteral<"UNASSIGN">;
|
|
@@ -327,8 +348,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
327
348
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
328
349
|
transactionId: z.ZodString;
|
|
329
350
|
createdByUserType: z.ZodEnum<{
|
|
330
|
-
user: "user";
|
|
331
351
|
system: "system";
|
|
352
|
+
user: "user";
|
|
332
353
|
}>;
|
|
333
354
|
createdAt: z.ZodString;
|
|
334
355
|
createdBy: z.ZodString;
|
|
@@ -338,9 +359,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
338
359
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
339
360
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
340
361
|
status: z.ZodEnum<{
|
|
341
|
-
Requested: "Requested";
|
|
342
362
|
Accepted: "Accepted";
|
|
343
363
|
Rejected: "Rejected";
|
|
364
|
+
Requested: "Requested";
|
|
344
365
|
}>;
|
|
345
366
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
346
367
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
|
@@ -351,8 +372,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
351
372
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
352
373
|
transactionId: z.ZodString;
|
|
353
374
|
createdByUserType: z.ZodEnum<{
|
|
354
|
-
user: "user";
|
|
355
375
|
system: "system";
|
|
376
|
+
user: "user";
|
|
356
377
|
}>;
|
|
357
378
|
createdAt: z.ZodString;
|
|
358
379
|
createdBy: z.ZodString;
|
|
@@ -362,9 +383,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
362
383
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
363
384
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
364
385
|
status: z.ZodEnum<{
|
|
365
|
-
Requested: "Requested";
|
|
366
386
|
Accepted: "Accepted";
|
|
367
387
|
Rejected: "Rejected";
|
|
388
|
+
Requested: "Requested";
|
|
368
389
|
}>;
|
|
369
390
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
370
391
|
type: z.ZodLiteral<"READ">;
|
|
@@ -372,8 +393,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
372
393
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
373
394
|
transactionId: z.ZodString;
|
|
374
395
|
createdByUserType: z.ZodEnum<{
|
|
375
|
-
user: "user";
|
|
376
396
|
system: "system";
|
|
397
|
+
user: "user";
|
|
377
398
|
}>;
|
|
378
399
|
createdAt: z.ZodString;
|
|
379
400
|
createdBy: z.ZodString;
|
|
@@ -383,9 +404,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
383
404
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
384
405
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
385
406
|
status: z.ZodEnum<{
|
|
386
|
-
Requested: "Requested";
|
|
387
407
|
Accepted: "Accepted";
|
|
388
408
|
Rejected: "Rejected";
|
|
409
|
+
Requested: "Requested";
|
|
389
410
|
}>;
|
|
390
411
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
391
412
|
type: z.ZodLiteral<"EDIT">;
|
|
@@ -396,8 +417,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
396
417
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
397
418
|
transactionId: z.ZodString;
|
|
398
419
|
createdByUserType: z.ZodEnum<{
|
|
399
|
-
user: "user";
|
|
400
420
|
system: "system";
|
|
421
|
+
user: "user";
|
|
401
422
|
}>;
|
|
402
423
|
createdAt: z.ZodString;
|
|
403
424
|
createdBy: z.ZodString;
|
|
@@ -407,9 +428,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
407
428
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
408
429
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
409
430
|
status: z.ZodEnum<{
|
|
410
|
-
Requested: "Requested";
|
|
411
431
|
Accepted: "Accepted";
|
|
412
432
|
Rejected: "Rejected";
|
|
433
|
+
Requested: "Requested";
|
|
413
434
|
}>;
|
|
414
435
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
415
436
|
type: z.ZodLiteral<"CUSTOM">;
|
|
@@ -418,8 +439,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
418
439
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
419
440
|
transactionId: z.ZodString;
|
|
420
441
|
createdByUserType: z.ZodEnum<{
|
|
421
|
-
user: "user";
|
|
422
442
|
system: "system";
|
|
443
|
+
user: "user";
|
|
423
444
|
}>;
|
|
424
445
|
createdAt: z.ZodString;
|
|
425
446
|
createdBy: z.ZodString;
|
|
@@ -428,17 +449,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
428
449
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
429
450
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
430
451
|
type: z.ZodEnum<{
|
|
452
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
453
|
+
ARCHIVE: "ARCHIVE";
|
|
431
454
|
CUSTOM: "CUSTOM";
|
|
432
|
-
NOTIFY: "NOTIFY";
|
|
433
455
|
DECLARE: "DECLARE";
|
|
434
|
-
REGISTER: "REGISTER";
|
|
435
456
|
EDIT: "EDIT";
|
|
436
|
-
|
|
437
|
-
ARCHIVE: "ARCHIVE";
|
|
457
|
+
NOTIFY: "NOTIFY";
|
|
438
458
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
439
|
-
|
|
459
|
+
REGISTER: "REGISTER";
|
|
460
|
+
REJECT: "REJECT";
|
|
440
461
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
441
|
-
|
|
462
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
463
|
+
UNARCHIVE: "UNARCHIVE";
|
|
442
464
|
}>;
|
|
443
465
|
status: z.ZodLiteral<"Rejected">;
|
|
444
466
|
}, z.core.$strip>]>>;
|