@opencrvs/toolkit 2.0.0-rc.ca280e0 → 2.0.0-rc.ca3fe84
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/README.md +15 -0
- package/build.sh +3 -2
- package/dist/application-config/index.js +70 -40
- package/dist/cli.js +3262 -50
- package/dist/commons/api/router.d.ts +3012 -2927
- package/dist/commons/application-config/index.d.ts +7 -6
- package/dist/commons/conditionals/conditionals.d.ts +287 -234
- package/dist/commons/conditionals/validate.d.ts +51 -2
- package/dist/commons/events/ActionConfig.d.ts +93 -67
- package/dist/commons/events/ActionDocument.d.ts +113 -107
- package/dist/commons/events/ActionInput.d.ts +6 -0
- package/dist/commons/events/ActionType.d.ts +57 -57
- package/dist/commons/events/AdvancedSearchConfig.d.ts +651 -297
- package/dist/commons/events/AuditLog.d.ts +41 -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 +603 -561
- package/dist/commons/events/Draft.d.ts +35 -35
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +5 -3
- package/dist/commons/events/EventDocument.d.ts +46 -43
- package/dist/commons/events/EventIndex.d.ts +76 -51
- package/dist/commons/events/EventMetadata.d.ts +60 -34
- package/dist/commons/events/FieldConfig.d.ts +710 -372
- package/dist/commons/events/FieldType.d.ts +51 -50
- package/dist/commons/events/FieldTypeMapping.d.ts +101 -101
- package/dist/commons/events/FieldValue.d.ts +18 -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 +837 -798
- 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 +112 -189
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locations.d.ts +5 -4
- package/dist/commons/events/mocks.test.utils.d.ts +2 -2
- package/dist/commons/events/scopes.d.ts +4 -4
- package/dist/commons/events/state/flags.d.ts +16 -0
- package/dist/commons/events/state/index.d.ts +23 -15
- package/dist/commons/events/state/utils.d.ts +25 -291
- package/dist/commons/events/test.utils.d.ts +33 -33
- package/dist/commons/events/utils.d.ts +120 -109
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/conditionals/index.js +58 -6
- package/dist/environment/custom-types.d.ts +33 -0
- package/dist/environment/custom-types.d.ts.map +1 -0
- package/dist/environment/custom-types.js +12 -0
- package/dist/environment/derived-variables.d.ts +134 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +169 -0
- package/dist/environment/editor-questions.d.ts +4 -0
- package/dist/environment/editor-questions.d.ts.map +1 -0
- package/dist/environment/editor-questions.js +67 -0
- package/dist/environment/git.d.ts +5 -0
- package/dist/environment/git.d.ts.map +1 -0
- package/dist/environment/git.js +38 -0
- package/dist/environment/github.d.ts +26 -0
- package/dist/environment/github.d.ts.map +1 -0
- package/dist/environment/github.js +247 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +71 -0
- package/dist/environment/logger.d.ts +6 -0
- package/dist/environment/logger.d.ts.map +1 -0
- package/dist/environment/logger.js +25 -0
- package/dist/environment/manage-users.d.ts +11 -0
- package/dist/environment/manage-users.d.ts.map +1 -0
- package/dist/environment/manage-users.js +507 -0
- package/dist/environment/questions-helper.d.ts +15 -0
- package/dist/environment/questions-helper.d.ts.map +1 -0
- package/dist/environment/questions-helper.js +70 -0
- package/dist/environment/questions.d.ts +200 -0
- package/dist/environment/questions.d.ts.map +1 -0
- package/dist/environment/questions.js +412 -0
- package/dist/environment/setup-environment.d.ts +2 -0
- package/dist/environment/setup-environment.d.ts.map +1 -0
- package/dist/environment/setup-environment.js +788 -0
- package/dist/environment/ssh-keygen.d.ts +5 -0
- package/dist/environment/ssh-keygen.d.ts.map +1 -0
- package/dist/environment/ssh-keygen.js +21 -0
- package/dist/environment/swarm-to-k8s.d.ts +2 -0
- package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
- package/dist/environment/swarm-to-k8s.js +183 -0
- package/dist/environment/templates.d.ts +27 -0
- package/dist/environment/templates.d.ts.map +1 -0
- package/dist/environment/templates.js +163 -0
- package/dist/environment/update-workflows.d.ts +2 -0
- package/dist/environment/update-workflows.d.ts.map +1 -0
- package/dist/environment/update-workflows.js +179 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +122 -0
- package/dist/environment/utils.d.ts +18 -0
- package/dist/environment/utils.d.ts.map +1 -0
- package/dist/environment/utils.js +110 -0
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +446 -147
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +20 -9
- 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/notification/index.js +265 -45
- package/dist/scopes/index.d.ts +209 -123
- package/dist/scopes/index.js +19 -8
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +83 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +115 -0
- package/dist/templates/inventory/inventory.template.yml +100 -0
- package/dist/templates/inventory/production.example.yml +77 -0
- package/dist/templates/inventory/qa.example.yml +48 -0
- package/opencrvs-toolkit-2.0.0-rc.ca3fe84.tgz +0 -0
- package/package.json +16 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.ca280e0.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,67 @@ 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
|
+
UNASSIGN: "UNASSIGN";
|
|
44
|
+
}>;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
47
|
export declare const DraftInput: z.ZodObject<{
|
|
48
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
48
49
|
transactionId: z.ZodString;
|
|
49
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
50
50
|
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
51
51
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
52
52
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
53
|
-
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
54
53
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
55
54
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
56
55
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
57
57
|
type: z.ZodEnum<{
|
|
58
|
-
|
|
58
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
59
|
+
ARCHIVE: "ARCHIVE";
|
|
60
|
+
ASSIGN: "ASSIGN";
|
|
59
61
|
CREATE: "CREATE";
|
|
60
|
-
|
|
62
|
+
CUSTOM: "CUSTOM";
|
|
61
63
|
DECLARE: "DECLARE";
|
|
62
|
-
REGISTER: "REGISTER";
|
|
63
|
-
EDIT: "EDIT";
|
|
64
64
|
DUPLICATE_DETECTED: "DUPLICATE_DETECTED";
|
|
65
|
-
|
|
65
|
+
EDIT: "EDIT";
|
|
66
66
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
67
67
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
68
|
-
|
|
68
|
+
NOTIFY: "NOTIFY";
|
|
69
69
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
70
|
-
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
71
|
-
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
72
|
-
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
73
70
|
READ: "READ";
|
|
74
|
-
|
|
71
|
+
REGISTER: "REGISTER";
|
|
72
|
+
REJECT: "REJECT";
|
|
73
|
+
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
74
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
75
75
|
UNASSIGN: "UNASSIGN";
|
|
76
76
|
}>;
|
|
77
77
|
status: z.ZodEnum<{
|
|
78
|
-
Requested: "Requested";
|
|
79
78
|
Accepted: "Accepted";
|
|
80
79
|
Rejected: "Rejected";
|
|
80
|
+
Requested: "Requested";
|
|
81
81
|
}>;
|
|
82
82
|
}, z.core.$strip>;
|
|
83
83
|
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,12 +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.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
|
|
14
12
|
"legalStatuses.DECLARED.acceptedAt": "legalStatuses.DECLARED.acceptedAt";
|
|
15
|
-
"legalStatuses.
|
|
13
|
+
"legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
|
|
14
|
+
"legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
|
|
15
|
+
"legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
|
|
16
16
|
"legalStatuses.REGISTERED.acceptedAt": "legalStatuses.REGISTERED.acceptedAt";
|
|
17
|
+
"legalStatuses.REGISTERED.createdAt": "legalStatuses.REGISTERED.createdAt";
|
|
18
|
+
updatedAt: "updatedAt";
|
|
17
19
|
}>;
|
|
18
20
|
}, z.core.$strip>;
|
|
19
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,9 @@ 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
|
-
Requested: "Requested";
|
|
164
163
|
Accepted: "Accepted";
|
|
165
164
|
Rejected: "Rejected";
|
|
165
|
+
Requested: "Requested";
|
|
166
166
|
}>;
|
|
167
167
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
168
168
|
type: z.ZodLiteral<"NOTIFY">;
|
|
@@ -170,8 +170,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
170
170
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
171
171
|
transactionId: z.ZodString;
|
|
172
172
|
createdByUserType: z.ZodEnum<{
|
|
173
|
-
user: "user";
|
|
174
173
|
system: "system";
|
|
174
|
+
user: "user";
|
|
175
175
|
}>;
|
|
176
176
|
createdAt: z.ZodString;
|
|
177
177
|
createdBy: z.ZodString;
|
|
@@ -181,9 +181,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
181
181
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
182
182
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
183
183
|
status: z.ZodEnum<{
|
|
184
|
-
Requested: "Requested";
|
|
185
184
|
Accepted: "Accepted";
|
|
186
185
|
Rejected: "Rejected";
|
|
186
|
+
Requested: "Requested";
|
|
187
187
|
}>;
|
|
188
188
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
189
189
|
type: z.ZodLiteral<"REGISTER">;
|
|
@@ -192,8 +192,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
192
192
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
193
193
|
transactionId: z.ZodString;
|
|
194
194
|
createdByUserType: z.ZodEnum<{
|
|
195
|
-
user: "user";
|
|
196
195
|
system: "system";
|
|
196
|
+
user: "user";
|
|
197
197
|
}>;
|
|
198
198
|
createdAt: z.ZodString;
|
|
199
199
|
createdBy: z.ZodString;
|
|
@@ -203,9 +203,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
203
203
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
204
204
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
205
205
|
status: z.ZodEnum<{
|
|
206
|
-
Requested: "Requested";
|
|
207
206
|
Accepted: "Accepted";
|
|
208
207
|
Rejected: "Rejected";
|
|
208
|
+
Requested: "Requested";
|
|
209
209
|
}>;
|
|
210
210
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
211
211
|
type: z.ZodLiteral<"DECLARE">;
|
|
@@ -213,8 +213,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
213
213
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
214
214
|
transactionId: z.ZodString;
|
|
215
215
|
createdByUserType: z.ZodEnum<{
|
|
216
|
-
user: "user";
|
|
217
216
|
system: "system";
|
|
217
|
+
user: "user";
|
|
218
218
|
}>;
|
|
219
219
|
createdAt: z.ZodString;
|
|
220
220
|
createdBy: z.ZodString;
|
|
@@ -224,9 +224,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
224
224
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
225
225
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
226
226
|
status: z.ZodEnum<{
|
|
227
|
-
Requested: "Requested";
|
|
228
227
|
Accepted: "Accepted";
|
|
229
228
|
Rejected: "Rejected";
|
|
229
|
+
Requested: "Requested";
|
|
230
230
|
}>;
|
|
231
231
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
232
232
|
type: z.ZodLiteral<"ASSIGN">;
|
|
@@ -235,8 +235,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
235
235
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
236
236
|
transactionId: z.ZodString;
|
|
237
237
|
createdByUserType: z.ZodEnum<{
|
|
238
|
-
user: "user";
|
|
239
238
|
system: "system";
|
|
239
|
+
user: "user";
|
|
240
240
|
}>;
|
|
241
241
|
createdAt: z.ZodString;
|
|
242
242
|
createdBy: z.ZodString;
|
|
@@ -246,9 +246,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
246
246
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
247
247
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
248
248
|
status: z.ZodEnum<{
|
|
249
|
-
Requested: "Requested";
|
|
250
249
|
Accepted: "Accepted";
|
|
251
250
|
Rejected: "Rejected";
|
|
251
|
+
Requested: "Requested";
|
|
252
252
|
}>;
|
|
253
253
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
254
254
|
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
|
@@ -256,8 +256,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
256
256
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
257
257
|
transactionId: z.ZodString;
|
|
258
258
|
createdByUserType: z.ZodEnum<{
|
|
259
|
-
user: "user";
|
|
260
259
|
system: "system";
|
|
260
|
+
user: "user";
|
|
261
261
|
}>;
|
|
262
262
|
createdAt: z.ZodString;
|
|
263
263
|
createdBy: z.ZodString;
|
|
@@ -267,19 +267,22 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
267
267
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
268
268
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
269
269
|
status: z.ZodEnum<{
|
|
270
|
-
Requested: "Requested";
|
|
271
270
|
Accepted: "Accepted";
|
|
272
271
|
Rejected: "Rejected";
|
|
272
|
+
Requested: "Requested";
|
|
273
273
|
}>;
|
|
274
274
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
275
275
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
276
276
|
requestId: z.ZodString;
|
|
277
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
278
|
+
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
+
}, z.core.$strip>>;
|
|
277
280
|
}, z.core.$strip>, z.ZodObject<{
|
|
278
281
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
279
282
|
transactionId: z.ZodString;
|
|
280
283
|
createdByUserType: z.ZodEnum<{
|
|
281
|
-
user: "user";
|
|
282
284
|
system: "system";
|
|
285
|
+
user: "user";
|
|
283
286
|
}>;
|
|
284
287
|
createdAt: z.ZodString;
|
|
285
288
|
createdBy: z.ZodString;
|
|
@@ -289,9 +292,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
289
292
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
290
293
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
291
294
|
status: z.ZodEnum<{
|
|
292
|
-
Requested: "Requested";
|
|
293
295
|
Accepted: "Accepted";
|
|
294
296
|
Rejected: "Rejected";
|
|
297
|
+
Requested: "Requested";
|
|
295
298
|
}>;
|
|
296
299
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
297
300
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
@@ -303,8 +306,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
303
306
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
304
307
|
transactionId: z.ZodString;
|
|
305
308
|
createdByUserType: z.ZodEnum<{
|
|
306
|
-
user: "user";
|
|
307
309
|
system: "system";
|
|
310
|
+
user: "user";
|
|
308
311
|
}>;
|
|
309
312
|
createdAt: z.ZodString;
|
|
310
313
|
createdBy: z.ZodString;
|
|
@@ -314,9 +317,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
314
317
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
315
318
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
316
319
|
status: z.ZodEnum<{
|
|
317
|
-
Requested: "Requested";
|
|
318
320
|
Accepted: "Accepted";
|
|
319
321
|
Rejected: "Rejected";
|
|
322
|
+
Requested: "Requested";
|
|
320
323
|
}>;
|
|
321
324
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
322
325
|
type: z.ZodLiteral<"UNASSIGN">;
|
|
@@ -324,8 +327,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
324
327
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
325
328
|
transactionId: z.ZodString;
|
|
326
329
|
createdByUserType: z.ZodEnum<{
|
|
327
|
-
user: "user";
|
|
328
330
|
system: "system";
|
|
331
|
+
user: "user";
|
|
329
332
|
}>;
|
|
330
333
|
createdAt: z.ZodString;
|
|
331
334
|
createdBy: z.ZodString;
|
|
@@ -335,9 +338,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
335
338
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
336
339
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
337
340
|
status: z.ZodEnum<{
|
|
338
|
-
Requested: "Requested";
|
|
339
341
|
Accepted: "Accepted";
|
|
340
342
|
Rejected: "Rejected";
|
|
343
|
+
Requested: "Requested";
|
|
341
344
|
}>;
|
|
342
345
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
343
346
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
|
@@ -348,8 +351,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
348
351
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
349
352
|
transactionId: z.ZodString;
|
|
350
353
|
createdByUserType: z.ZodEnum<{
|
|
351
|
-
user: "user";
|
|
352
354
|
system: "system";
|
|
355
|
+
user: "user";
|
|
353
356
|
}>;
|
|
354
357
|
createdAt: z.ZodString;
|
|
355
358
|
createdBy: z.ZodString;
|
|
@@ -359,9 +362,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
359
362
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
360
363
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
361
364
|
status: z.ZodEnum<{
|
|
362
|
-
Requested: "Requested";
|
|
363
365
|
Accepted: "Accepted";
|
|
364
366
|
Rejected: "Rejected";
|
|
367
|
+
Requested: "Requested";
|
|
365
368
|
}>;
|
|
366
369
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
367
370
|
type: z.ZodLiteral<"READ">;
|
|
@@ -369,8 +372,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
369
372
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
370
373
|
transactionId: z.ZodString;
|
|
371
374
|
createdByUserType: z.ZodEnum<{
|
|
372
|
-
user: "user";
|
|
373
375
|
system: "system";
|
|
376
|
+
user: "user";
|
|
374
377
|
}>;
|
|
375
378
|
createdAt: z.ZodString;
|
|
376
379
|
createdBy: z.ZodString;
|
|
@@ -380,9 +383,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
380
383
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
381
384
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
382
385
|
status: z.ZodEnum<{
|
|
383
|
-
Requested: "Requested";
|
|
384
386
|
Accepted: "Accepted";
|
|
385
387
|
Rejected: "Rejected";
|
|
388
|
+
Requested: "Requested";
|
|
386
389
|
}>;
|
|
387
390
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
388
391
|
type: z.ZodLiteral<"EDIT">;
|
|
@@ -393,8 +396,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
393
396
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
394
397
|
transactionId: z.ZodString;
|
|
395
398
|
createdByUserType: z.ZodEnum<{
|
|
396
|
-
user: "user";
|
|
397
399
|
system: "system";
|
|
400
|
+
user: "user";
|
|
398
401
|
}>;
|
|
399
402
|
createdAt: z.ZodString;
|
|
400
403
|
createdBy: z.ZodString;
|
|
@@ -404,9 +407,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
404
407
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
405
408
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
406
409
|
status: z.ZodEnum<{
|
|
407
|
-
Requested: "Requested";
|
|
408
410
|
Accepted: "Accepted";
|
|
409
411
|
Rejected: "Rejected";
|
|
412
|
+
Requested: "Requested";
|
|
410
413
|
}>;
|
|
411
414
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
412
415
|
type: z.ZodLiteral<"CUSTOM">;
|
|
@@ -415,8 +418,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
415
418
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
416
419
|
transactionId: z.ZodString;
|
|
417
420
|
createdByUserType: z.ZodEnum<{
|
|
418
|
-
user: "user";
|
|
419
421
|
system: "system";
|
|
422
|
+
user: "user";
|
|
420
423
|
}>;
|
|
421
424
|
createdAt: z.ZodString;
|
|
422
425
|
createdBy: z.ZodString;
|
|
@@ -425,17 +428,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
425
428
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
426
429
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
427
430
|
type: z.ZodEnum<{
|
|
431
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
432
|
+
ARCHIVE: "ARCHIVE";
|
|
428
433
|
CUSTOM: "CUSTOM";
|
|
429
|
-
NOTIFY: "NOTIFY";
|
|
430
434
|
DECLARE: "DECLARE";
|
|
431
|
-
REGISTER: "REGISTER";
|
|
432
435
|
EDIT: "EDIT";
|
|
433
|
-
|
|
434
|
-
ARCHIVE: "ARCHIVE";
|
|
436
|
+
NOTIFY: "NOTIFY";
|
|
435
437
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
436
|
-
|
|
438
|
+
REGISTER: "REGISTER";
|
|
439
|
+
REJECT: "REJECT";
|
|
437
440
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
438
|
-
|
|
441
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
439
442
|
}>;
|
|
440
443
|
status: z.ZodLiteral<"Rejected">;
|
|
441
444
|
}, z.core.$strip>]>>;
|