@opencrvs/toolkit 2.0.1-rc.fed4de8 → 2.1.0-beta
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 +16 -0
- package/build.sh +14 -5
- package/create-countryconfig/index.js +412 -59
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +5 -2
- package/dist/application-config/index.js +369 -280
- package/dist/authentication/index.d.ts +67 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +750 -0
- package/dist/cli.js +4619 -4737
- package/dist/commons/api/router.d.ts +4122 -2944
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +32 -323
- package/dist/commons/conditionals/validate.d.ts +16 -5
- package/dist/commons/events/ActionConfig.d.ts +302 -67
- package/dist/commons/events/ActionDocument.d.ts +159 -121
- package/dist/commons/events/ActionInput.d.ts +30 -10
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/ActionType.d.ts +63 -58
- package/dist/commons/events/AdvancedSearchConfig.d.ts +531 -495
- package/dist/commons/events/AuditLog.d.ts +189 -40
- 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 +38 -36
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +8 -3
- package/dist/commons/events/EventDocument.d.ts +537 -47
- package/dist/commons/events/EventIndex.d.ts +61 -59
- package/dist/commons/events/EventMetadata.d.ts +59 -43
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +424 -379
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +86 -86
- package/dist/commons/events/FieldValue.d.ts +14 -14
- package/dist/commons/events/Flag.d.ts +57 -15
- package/dist/commons/events/PlainDate.d.ts +8 -0
- package/dist/commons/events/SummaryConfig.d.ts +249 -0
- 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 +835 -790
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +14 -2
- package/dist/commons/events/field.d.ts +69 -198
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locationPayloads.d.ts +95 -0
- package/dist/commons/events/locations.d.ts +248 -14
- package/dist/commons/events/mocks.test.utils.d.ts +48 -4
- package/dist/commons/events/scopes.d.ts +5 -4
- package/dist/commons/events/state/index.d.ts +23 -15
- package/dist/commons/events/state/utils.d.ts +15 -6
- package/dist/commons/events/test.utils.d.ts +68 -42
- package/dist/commons/events/utils.d.ts +139 -106
- package/dist/commons/notification/UserNotifications.d.ts +38 -23
- package/dist/commons/notification/dispatch.d.ts +10 -0
- package/dist/commons/notification/index.d.ts +1 -0
- package/dist/conditionals/index.js +341 -66
- package/dist/csv.d.ts +25 -0
- package/dist/csv.d.ts.map +1 -0
- package/dist/csv.js +120 -0
- 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 +122 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +155 -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 +6 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +81 -0
- package/dist/environment/logger.d.ts +18 -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/paths.d.ts +7 -0
- package/dist/environment/paths.d.ts.map +1 -0
- package/dist/environment/paths.js +72 -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 +418 -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 +795 -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 +164 -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 +191 -0
- package/dist/environment/upgrade.d.ts +2 -0
- package/dist/environment/upgrade.d.ts.map +1 -0
- package/dist/environment/upgrade.js +82 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +120 -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 +8106 -7390
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +2 -2
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +2 -2
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +88 -5141
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +3 -3
- 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/add-recovery-link-notifications.d.ts +3 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +511 -0
- package/dist/migrations/v2.1/add-translations.d.ts +9 -0
- package/dist/migrations/v2.1/add-translations.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-translations.js +213 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts +3 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
- package/dist/migrations/v2.1/enable-telemetry.js +438 -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 +1276 -0
- package/dist/notification/index.js +2011 -1446
- package/dist/scopes/index.d.ts +514 -168
- package/dist/scopes/index.js +342 -66
- package/dist/telemetry/index.d.ts +45 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +39 -0
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +82 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +78 -0
- package/dist/templates/charts-values/opentelemetry/values.yaml +95 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +129 -0
- package/dist/templates/inventory/inventory.template.yml +98 -0
- package/dist/translations/check.d.ts +19 -0
- package/dist/translations/check.d.ts.map +1 -0
- package/dist/translations/check.js +127 -0
- package/dist/verify/endpoints.d.ts +2 -0
- package/dist/verify/endpoints.d.ts.map +1 -0
- package/dist/verify/endpoints.js +345 -0
- package/opencrvs-toolkit-2.1.0-beta.tgz +0 -0
- package/package.json +25 -6
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- package/opencrvs-toolkit-2.0.1-rc.fed4de8.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -8,8 +8,372 @@ 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
|
+
system: "system";
|
|
12
|
+
user: "user";
|
|
13
|
+
}>;
|
|
14
|
+
createdAt: z.ZodString;
|
|
15
|
+
createdBy: z.ZodString;
|
|
16
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
17
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
18
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
19
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
20
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
21
|
+
status: z.ZodEnum<{
|
|
22
|
+
Accepted: "Accepted";
|
|
23
|
+
Rejected: "Rejected";
|
|
24
|
+
Requested: "Requested";
|
|
25
|
+
}>;
|
|
26
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
27
|
+
type: z.ZodLiteral<"CREATE">;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
30
|
+
transactionId: z.ZodString;
|
|
31
|
+
createdByUserType: z.ZodEnum<{
|
|
32
|
+
system: "system";
|
|
33
|
+
user: "user";
|
|
34
|
+
}>;
|
|
35
|
+
createdAt: z.ZodString;
|
|
36
|
+
createdBy: z.ZodString;
|
|
37
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
38
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
39
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
40
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
41
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
42
|
+
status: z.ZodEnum<{
|
|
43
|
+
Accepted: "Accepted";
|
|
44
|
+
Rejected: "Rejected";
|
|
45
|
+
Requested: "Requested";
|
|
46
|
+
}>;
|
|
47
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
48
|
+
type: z.ZodLiteral<"REJECT">;
|
|
49
|
+
content: z.ZodObject<{
|
|
50
|
+
reason: z.ZodString;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
54
|
+
transactionId: z.ZodString;
|
|
55
|
+
createdByUserType: z.ZodEnum<{
|
|
56
|
+
system: "system";
|
|
57
|
+
user: "user";
|
|
58
|
+
}>;
|
|
59
|
+
createdAt: z.ZodString;
|
|
60
|
+
createdBy: z.ZodString;
|
|
61
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
62
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
63
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
64
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
65
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
66
|
+
status: z.ZodEnum<{
|
|
67
|
+
Accepted: "Accepted";
|
|
68
|
+
Rejected: "Rejected";
|
|
69
|
+
Requested: "Requested";
|
|
70
|
+
}>;
|
|
71
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
72
|
+
type: z.ZodLiteral<"DUPLICATE_DETECTED">;
|
|
73
|
+
content: z.ZodObject<{
|
|
74
|
+
duplicates: z.ZodArray<z.ZodObject<{
|
|
75
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
76
|
+
trackingId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>>;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
81
|
+
transactionId: z.ZodString;
|
|
82
|
+
createdByUserType: z.ZodEnum<{
|
|
83
|
+
system: "system";
|
|
84
|
+
user: "user";
|
|
85
|
+
}>;
|
|
86
|
+
createdAt: z.ZodString;
|
|
87
|
+
createdBy: z.ZodString;
|
|
88
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
89
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
90
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
91
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
92
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
93
|
+
status: z.ZodEnum<{
|
|
94
|
+
Accepted: "Accepted";
|
|
95
|
+
Rejected: "Rejected";
|
|
96
|
+
Requested: "Requested";
|
|
97
|
+
}>;
|
|
98
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
99
|
+
type: z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">;
|
|
100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
102
|
+
transactionId: z.ZodString;
|
|
103
|
+
createdByUserType: z.ZodEnum<{
|
|
104
|
+
system: "system";
|
|
105
|
+
user: "user";
|
|
106
|
+
}>;
|
|
107
|
+
createdAt: z.ZodString;
|
|
108
|
+
createdBy: z.ZodString;
|
|
109
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
110
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
111
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
112
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
113
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
114
|
+
status: z.ZodEnum<{
|
|
115
|
+
Accepted: "Accepted";
|
|
116
|
+
Rejected: "Rejected";
|
|
117
|
+
Requested: "Requested";
|
|
118
|
+
}>;
|
|
119
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
120
|
+
type: z.ZodLiteral<"MARK_AS_DUPLICATE">;
|
|
121
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
duplicateOf: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
126
|
+
transactionId: z.ZodString;
|
|
127
|
+
createdByUserType: z.ZodEnum<{
|
|
128
|
+
system: "system";
|
|
129
|
+
user: "user";
|
|
130
|
+
}>;
|
|
131
|
+
createdAt: z.ZodString;
|
|
132
|
+
createdBy: z.ZodString;
|
|
133
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
134
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
135
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
136
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
137
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
138
|
+
status: z.ZodEnum<{
|
|
139
|
+
Accepted: "Accepted";
|
|
140
|
+
Rejected: "Rejected";
|
|
141
|
+
Requested: "Requested";
|
|
142
|
+
}>;
|
|
143
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
144
|
+
type: z.ZodLiteral<"ARCHIVE">;
|
|
145
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
146
|
+
reason: z.ZodString;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
150
|
+
transactionId: z.ZodString;
|
|
151
|
+
createdByUserType: z.ZodEnum<{
|
|
152
|
+
system: "system";
|
|
153
|
+
user: "user";
|
|
154
|
+
}>;
|
|
155
|
+
createdAt: z.ZodString;
|
|
156
|
+
createdBy: z.ZodString;
|
|
157
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
158
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
159
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
160
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
161
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
162
|
+
status: z.ZodEnum<{
|
|
163
|
+
Accepted: "Accepted";
|
|
164
|
+
Rejected: "Rejected";
|
|
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<{
|
|
184
|
+
Accepted: "Accepted";
|
|
185
|
+
Rejected: "Rejected";
|
|
186
|
+
Requested: "Requested";
|
|
187
|
+
}>;
|
|
188
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
189
|
+
type: z.ZodLiteral<"NOTIFY">;
|
|
190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
192
|
+
transactionId: z.ZodString;
|
|
193
|
+
createdByUserType: z.ZodEnum<{
|
|
194
|
+
system: "system";
|
|
195
|
+
user: "user";
|
|
196
|
+
}>;
|
|
197
|
+
createdAt: z.ZodString;
|
|
198
|
+
createdBy: z.ZodString;
|
|
199
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
200
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
201
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
202
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
203
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
204
|
+
status: z.ZodEnum<{
|
|
205
|
+
Accepted: "Accepted";
|
|
206
|
+
Rejected: "Rejected";
|
|
207
|
+
Requested: "Requested";
|
|
208
|
+
}>;
|
|
209
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
210
|
+
type: z.ZodLiteral<"REGISTER">;
|
|
211
|
+
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
213
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
214
|
+
transactionId: z.ZodString;
|
|
215
|
+
createdByUserType: z.ZodEnum<{
|
|
216
|
+
system: "system";
|
|
217
|
+
user: "user";
|
|
218
|
+
}>;
|
|
219
|
+
createdAt: z.ZodString;
|
|
220
|
+
createdBy: z.ZodString;
|
|
221
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
222
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
223
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
224
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
225
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
226
|
+
status: z.ZodEnum<{
|
|
227
|
+
Accepted: "Accepted";
|
|
228
|
+
Rejected: "Rejected";
|
|
229
|
+
Requested: "Requested";
|
|
230
|
+
}>;
|
|
231
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
232
|
+
type: z.ZodLiteral<"DECLARE">;
|
|
233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
235
|
+
transactionId: z.ZodString;
|
|
236
|
+
createdByUserType: z.ZodEnum<{
|
|
237
|
+
system: "system";
|
|
238
|
+
user: "user";
|
|
239
|
+
}>;
|
|
240
|
+
createdAt: z.ZodString;
|
|
241
|
+
createdBy: z.ZodString;
|
|
242
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
243
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
244
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
245
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
246
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
247
|
+
status: z.ZodEnum<{
|
|
248
|
+
Accepted: "Accepted";
|
|
249
|
+
Rejected: "Rejected";
|
|
250
|
+
Requested: "Requested";
|
|
251
|
+
}>;
|
|
252
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
253
|
+
type: z.ZodLiteral<"ASSIGN">;
|
|
254
|
+
assignedTo: z.ZodString;
|
|
255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
256
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
257
|
+
transactionId: z.ZodString;
|
|
258
|
+
createdByUserType: z.ZodEnum<{
|
|
259
|
+
system: "system";
|
|
260
|
+
user: "user";
|
|
261
|
+
}>;
|
|
262
|
+
createdAt: z.ZodString;
|
|
263
|
+
createdBy: z.ZodString;
|
|
264
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
265
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
266
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
267
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
268
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
269
|
+
status: z.ZodEnum<{
|
|
270
|
+
Accepted: "Accepted";
|
|
271
|
+
Rejected: "Rejected";
|
|
272
|
+
Requested: "Requested";
|
|
273
|
+
}>;
|
|
274
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
275
|
+
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
278
|
+
transactionId: z.ZodString;
|
|
279
|
+
createdByUserType: z.ZodEnum<{
|
|
280
|
+
system: "system";
|
|
281
|
+
user: "user";
|
|
282
|
+
}>;
|
|
283
|
+
createdAt: z.ZodString;
|
|
284
|
+
createdBy: z.ZodString;
|
|
285
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
286
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
287
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
288
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
289
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
290
|
+
status: z.ZodEnum<{
|
|
291
|
+
Accepted: "Accepted";
|
|
292
|
+
Rejected: "Rejected";
|
|
293
|
+
Requested: "Requested";
|
|
294
|
+
}>;
|
|
295
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
296
|
+
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
297
|
+
requestId: z.ZodString;
|
|
298
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
+
}, z.core.$strip>>;
|
|
301
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
302
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
303
|
+
transactionId: z.ZodString;
|
|
304
|
+
createdByUserType: z.ZodEnum<{
|
|
305
|
+
system: "system";
|
|
306
|
+
user: "user";
|
|
307
|
+
}>;
|
|
308
|
+
createdAt: z.ZodString;
|
|
309
|
+
createdBy: z.ZodString;
|
|
310
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
311
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
312
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
313
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
314
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
315
|
+
status: z.ZodEnum<{
|
|
316
|
+
Accepted: "Accepted";
|
|
317
|
+
Rejected: "Rejected";
|
|
318
|
+
Requested: "Requested";
|
|
319
|
+
}>;
|
|
320
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
321
|
+
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
322
|
+
requestId: z.ZodString;
|
|
323
|
+
content: z.ZodObject<{
|
|
324
|
+
reason: z.ZodString;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
328
|
+
transactionId: z.ZodString;
|
|
329
|
+
createdByUserType: z.ZodEnum<{
|
|
330
|
+
system: "system";
|
|
331
|
+
user: "user";
|
|
332
|
+
}>;
|
|
333
|
+
createdAt: z.ZodString;
|
|
334
|
+
createdBy: z.ZodString;
|
|
335
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
336
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
337
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
338
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
339
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
340
|
+
status: z.ZodEnum<{
|
|
341
|
+
Accepted: "Accepted";
|
|
342
|
+
Rejected: "Rejected";
|
|
343
|
+
Requested: "Requested";
|
|
344
|
+
}>;
|
|
345
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
346
|
+
type: z.ZodLiteral<"UNASSIGN">;
|
|
347
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
348
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
349
|
+
transactionId: z.ZodString;
|
|
350
|
+
createdByUserType: z.ZodEnum<{
|
|
351
|
+
system: "system";
|
|
11
352
|
user: "user";
|
|
353
|
+
}>;
|
|
354
|
+
createdAt: z.ZodString;
|
|
355
|
+
createdBy: z.ZodString;
|
|
356
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
357
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
358
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
359
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
360
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
361
|
+
status: z.ZodEnum<{
|
|
362
|
+
Accepted: "Accepted";
|
|
363
|
+
Rejected: "Rejected";
|
|
364
|
+
Requested: "Requested";
|
|
365
|
+
}>;
|
|
366
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
367
|
+
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
|
368
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
369
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strip>>>;
|
|
371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
372
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
373
|
+
transactionId: z.ZodString;
|
|
374
|
+
createdByUserType: z.ZodEnum<{
|
|
12
375
|
system: "system";
|
|
376
|
+
user: "user";
|
|
13
377
|
}>;
|
|
14
378
|
createdAt: z.ZodString;
|
|
15
379
|
createdBy: z.ZodString;
|
|
@@ -19,18 +383,102 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
19
383
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
20
384
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
21
385
|
status: z.ZodEnum<{
|
|
386
|
+
Accepted: "Accepted";
|
|
387
|
+
Rejected: "Rejected";
|
|
22
388
|
Requested: "Requested";
|
|
389
|
+
}>;
|
|
390
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
391
|
+
type: z.ZodLiteral<"READ">;
|
|
392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
393
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
394
|
+
transactionId: z.ZodString;
|
|
395
|
+
createdByUserType: z.ZodEnum<{
|
|
396
|
+
system: "system";
|
|
397
|
+
user: "user";
|
|
398
|
+
}>;
|
|
399
|
+
createdAt: z.ZodString;
|
|
400
|
+
createdBy: z.ZodString;
|
|
401
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
402
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
403
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
404
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
405
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
406
|
+
status: z.ZodEnum<{
|
|
23
407
|
Accepted: "Accepted";
|
|
24
408
|
Rejected: "Rejected";
|
|
409
|
+
Requested: "Requested";
|
|
25
410
|
}>;
|
|
26
411
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
27
|
-
type: z.ZodLiteral<"
|
|
412
|
+
type: z.ZodLiteral<"EDIT">;
|
|
413
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
414
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
415
|
+
}, z.core.$strip>>;
|
|
28
416
|
}, z.core.$strip>, z.ZodObject<{
|
|
29
417
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
30
418
|
transactionId: z.ZodString;
|
|
31
419
|
createdByUserType: z.ZodEnum<{
|
|
420
|
+
system: "system";
|
|
421
|
+
user: "user";
|
|
422
|
+
}>;
|
|
423
|
+
createdAt: z.ZodString;
|
|
424
|
+
createdBy: z.ZodString;
|
|
425
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
426
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
427
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
428
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
429
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
430
|
+
status: z.ZodEnum<{
|
|
431
|
+
Accepted: "Accepted";
|
|
432
|
+
Rejected: "Rejected";
|
|
433
|
+
Requested: "Requested";
|
|
434
|
+
}>;
|
|
435
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
436
|
+
type: z.ZodLiteral<"CUSTOM">;
|
|
437
|
+
customActionType: z.ZodString;
|
|
438
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
439
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
440
|
+
transactionId: z.ZodString;
|
|
441
|
+
createdByUserType: z.ZodEnum<{
|
|
442
|
+
system: "system";
|
|
32
443
|
user: "user";
|
|
444
|
+
}>;
|
|
445
|
+
createdAt: z.ZodString;
|
|
446
|
+
createdBy: z.ZodString;
|
|
447
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
448
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
449
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
450
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
451
|
+
type: z.ZodEnum<{
|
|
452
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
453
|
+
ARCHIVE: "ARCHIVE";
|
|
454
|
+
CUSTOM: "CUSTOM";
|
|
455
|
+
DECLARE: "DECLARE";
|
|
456
|
+
EDIT: "EDIT";
|
|
457
|
+
NOTIFY: "NOTIFY";
|
|
458
|
+
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
459
|
+
REGISTER: "REGISTER";
|
|
460
|
+
REJECT: "REJECT";
|
|
461
|
+
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
462
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
463
|
+
UNARCHIVE: "UNARCHIVE";
|
|
464
|
+
}>;
|
|
465
|
+
status: z.ZodLiteral<"Rejected">;
|
|
466
|
+
}, z.core.$strip>]>>;
|
|
467
|
+
trackingId: z.ZodString;
|
|
468
|
+
}, z.core.$strip>;
|
|
469
|
+
export type EventDocument = z.infer<typeof EventDocument>;
|
|
470
|
+
export declare const EventDocumentOnlyLastAction: z.core.$ZodBranded<z.ZodObject<{
|
|
471
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
472
|
+
type: z.ZodString;
|
|
473
|
+
createdAt: z.ZodString;
|
|
474
|
+
updatedAt: z.ZodString;
|
|
475
|
+
trackingId: z.ZodString;
|
|
476
|
+
actions: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
477
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
478
|
+
transactionId: z.ZodString;
|
|
479
|
+
createdByUserType: z.ZodEnum<{
|
|
33
480
|
system: "system";
|
|
481
|
+
user: "user";
|
|
34
482
|
}>;
|
|
35
483
|
createdAt: z.ZodString;
|
|
36
484
|
createdBy: z.ZodString;
|
|
@@ -40,9 +488,30 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
40
488
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
41
489
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
42
490
|
status: z.ZodEnum<{
|
|
491
|
+
Accepted: "Accepted";
|
|
492
|
+
Rejected: "Rejected";
|
|
43
493
|
Requested: "Requested";
|
|
494
|
+
}>;
|
|
495
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
496
|
+
type: z.ZodLiteral<"CREATE">;
|
|
497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
498
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
499
|
+
transactionId: z.ZodString;
|
|
500
|
+
createdByUserType: z.ZodEnum<{
|
|
501
|
+
system: "system";
|
|
502
|
+
user: "user";
|
|
503
|
+
}>;
|
|
504
|
+
createdAt: z.ZodString;
|
|
505
|
+
createdBy: z.ZodString;
|
|
506
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
507
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
508
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
509
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
510
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
511
|
+
status: z.ZodEnum<{
|
|
44
512
|
Accepted: "Accepted";
|
|
45
513
|
Rejected: "Rejected";
|
|
514
|
+
Requested: "Requested";
|
|
46
515
|
}>;
|
|
47
516
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
48
517
|
type: z.ZodLiteral<"REJECT">;
|
|
@@ -53,8 +522,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
53
522
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
54
523
|
transactionId: z.ZodString;
|
|
55
524
|
createdByUserType: z.ZodEnum<{
|
|
56
|
-
user: "user";
|
|
57
525
|
system: "system";
|
|
526
|
+
user: "user";
|
|
58
527
|
}>;
|
|
59
528
|
createdAt: z.ZodString;
|
|
60
529
|
createdBy: z.ZodString;
|
|
@@ -64,9 +533,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
64
533
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
65
534
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
66
535
|
status: z.ZodEnum<{
|
|
67
|
-
Requested: "Requested";
|
|
68
536
|
Accepted: "Accepted";
|
|
69
537
|
Rejected: "Rejected";
|
|
538
|
+
Requested: "Requested";
|
|
70
539
|
}>;
|
|
71
540
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
72
541
|
type: z.ZodLiteral<"DUPLICATE_DETECTED">;
|
|
@@ -80,8 +549,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
80
549
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
81
550
|
transactionId: z.ZodString;
|
|
82
551
|
createdByUserType: z.ZodEnum<{
|
|
83
|
-
user: "user";
|
|
84
552
|
system: "system";
|
|
553
|
+
user: "user";
|
|
85
554
|
}>;
|
|
86
555
|
createdAt: z.ZodString;
|
|
87
556
|
createdBy: z.ZodString;
|
|
@@ -91,9 +560,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
91
560
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
92
561
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
93
562
|
status: z.ZodEnum<{
|
|
94
|
-
Requested: "Requested";
|
|
95
563
|
Accepted: "Accepted";
|
|
96
564
|
Rejected: "Rejected";
|
|
565
|
+
Requested: "Requested";
|
|
97
566
|
}>;
|
|
98
567
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
99
568
|
type: z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">;
|
|
@@ -101,8 +570,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
101
570
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
102
571
|
transactionId: z.ZodString;
|
|
103
572
|
createdByUserType: z.ZodEnum<{
|
|
104
|
-
user: "user";
|
|
105
573
|
system: "system";
|
|
574
|
+
user: "user";
|
|
106
575
|
}>;
|
|
107
576
|
createdAt: z.ZodString;
|
|
108
577
|
createdBy: z.ZodString;
|
|
@@ -112,9 +581,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
112
581
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
113
582
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
114
583
|
status: z.ZodEnum<{
|
|
115
|
-
Requested: "Requested";
|
|
116
584
|
Accepted: "Accepted";
|
|
117
585
|
Rejected: "Rejected";
|
|
586
|
+
Requested: "Requested";
|
|
118
587
|
}>;
|
|
119
588
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
120
589
|
type: z.ZodLiteral<"MARK_AS_DUPLICATE">;
|
|
@@ -125,8 +594,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
125
594
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
126
595
|
transactionId: z.ZodString;
|
|
127
596
|
createdByUserType: z.ZodEnum<{
|
|
128
|
-
user: "user";
|
|
129
597
|
system: "system";
|
|
598
|
+
user: "user";
|
|
130
599
|
}>;
|
|
131
600
|
createdAt: z.ZodString;
|
|
132
601
|
createdBy: z.ZodString;
|
|
@@ -136,21 +605,21 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
136
605
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
137
606
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
138
607
|
status: z.ZodEnum<{
|
|
139
|
-
Requested: "Requested";
|
|
140
608
|
Accepted: "Accepted";
|
|
141
609
|
Rejected: "Rejected";
|
|
610
|
+
Requested: "Requested";
|
|
142
611
|
}>;
|
|
143
612
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
144
613
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
145
|
-
content: z.ZodObject<{
|
|
614
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
146
615
|
reason: z.ZodString;
|
|
147
|
-
}, z.core.$strip
|
|
616
|
+
}, z.core.$strip>>;
|
|
148
617
|
}, z.core.$strip>, z.ZodObject<{
|
|
149
618
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
150
619
|
transactionId: z.ZodString;
|
|
151
620
|
createdByUserType: z.ZodEnum<{
|
|
152
|
-
user: "user";
|
|
153
621
|
system: "system";
|
|
622
|
+
user: "user";
|
|
154
623
|
}>;
|
|
155
624
|
createdAt: z.ZodString;
|
|
156
625
|
createdBy: z.ZodString;
|
|
@@ -160,9 +629,30 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
160
629
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
161
630
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
162
631
|
status: z.ZodEnum<{
|
|
632
|
+
Accepted: "Accepted";
|
|
633
|
+
Rejected: "Rejected";
|
|
163
634
|
Requested: "Requested";
|
|
635
|
+
}>;
|
|
636
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
637
|
+
type: z.ZodLiteral<"UNARCHIVE">;
|
|
638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
639
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
640
|
+
transactionId: z.ZodString;
|
|
641
|
+
createdByUserType: z.ZodEnum<{
|
|
642
|
+
system: "system";
|
|
643
|
+
user: "user";
|
|
644
|
+
}>;
|
|
645
|
+
createdAt: z.ZodString;
|
|
646
|
+
createdBy: z.ZodString;
|
|
647
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
648
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
649
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
650
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
651
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
652
|
+
status: z.ZodEnum<{
|
|
164
653
|
Accepted: "Accepted";
|
|
165
654
|
Rejected: "Rejected";
|
|
655
|
+
Requested: "Requested";
|
|
166
656
|
}>;
|
|
167
657
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
168
658
|
type: z.ZodLiteral<"NOTIFY">;
|
|
@@ -170,8 +660,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
170
660
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
171
661
|
transactionId: z.ZodString;
|
|
172
662
|
createdByUserType: z.ZodEnum<{
|
|
173
|
-
user: "user";
|
|
174
663
|
system: "system";
|
|
664
|
+
user: "user";
|
|
175
665
|
}>;
|
|
176
666
|
createdAt: z.ZodString;
|
|
177
667
|
createdBy: z.ZodString;
|
|
@@ -181,9 +671,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
181
671
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
182
672
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
183
673
|
status: z.ZodEnum<{
|
|
184
|
-
Requested: "Requested";
|
|
185
674
|
Accepted: "Accepted";
|
|
186
675
|
Rejected: "Rejected";
|
|
676
|
+
Requested: "Requested";
|
|
187
677
|
}>;
|
|
188
678
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
189
679
|
type: z.ZodLiteral<"REGISTER">;
|
|
@@ -192,8 +682,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
192
682
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
193
683
|
transactionId: z.ZodString;
|
|
194
684
|
createdByUserType: z.ZodEnum<{
|
|
195
|
-
user: "user";
|
|
196
685
|
system: "system";
|
|
686
|
+
user: "user";
|
|
197
687
|
}>;
|
|
198
688
|
createdAt: z.ZodString;
|
|
199
689
|
createdBy: z.ZodString;
|
|
@@ -203,9 +693,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
203
693
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
204
694
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
205
695
|
status: z.ZodEnum<{
|
|
206
|
-
Requested: "Requested";
|
|
207
696
|
Accepted: "Accepted";
|
|
208
697
|
Rejected: "Rejected";
|
|
698
|
+
Requested: "Requested";
|
|
209
699
|
}>;
|
|
210
700
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
211
701
|
type: z.ZodLiteral<"DECLARE">;
|
|
@@ -213,8 +703,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
213
703
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
214
704
|
transactionId: z.ZodString;
|
|
215
705
|
createdByUserType: z.ZodEnum<{
|
|
216
|
-
user: "user";
|
|
217
706
|
system: "system";
|
|
707
|
+
user: "user";
|
|
218
708
|
}>;
|
|
219
709
|
createdAt: z.ZodString;
|
|
220
710
|
createdBy: z.ZodString;
|
|
@@ -224,9 +714,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
224
714
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
225
715
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
226
716
|
status: z.ZodEnum<{
|
|
227
|
-
Requested: "Requested";
|
|
228
717
|
Accepted: "Accepted";
|
|
229
718
|
Rejected: "Rejected";
|
|
719
|
+
Requested: "Requested";
|
|
230
720
|
}>;
|
|
231
721
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
232
722
|
type: z.ZodLiteral<"ASSIGN">;
|
|
@@ -235,8 +725,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
235
725
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
236
726
|
transactionId: z.ZodString;
|
|
237
727
|
createdByUserType: z.ZodEnum<{
|
|
238
|
-
user: "user";
|
|
239
728
|
system: "system";
|
|
729
|
+
user: "user";
|
|
240
730
|
}>;
|
|
241
731
|
createdAt: z.ZodString;
|
|
242
732
|
createdBy: z.ZodString;
|
|
@@ -246,9 +736,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
246
736
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
247
737
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
248
738
|
status: z.ZodEnum<{
|
|
249
|
-
Requested: "Requested";
|
|
250
739
|
Accepted: "Accepted";
|
|
251
740
|
Rejected: "Rejected";
|
|
741
|
+
Requested: "Requested";
|
|
252
742
|
}>;
|
|
253
743
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
254
744
|
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
|
@@ -256,8 +746,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
256
746
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
257
747
|
transactionId: z.ZodString;
|
|
258
748
|
createdByUserType: z.ZodEnum<{
|
|
259
|
-
user: "user";
|
|
260
749
|
system: "system";
|
|
750
|
+
user: "user";
|
|
261
751
|
}>;
|
|
262
752
|
createdAt: z.ZodString;
|
|
263
753
|
createdBy: z.ZodString;
|
|
@@ -267,9 +757,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
267
757
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
268
758
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
269
759
|
status: z.ZodEnum<{
|
|
270
|
-
Requested: "Requested";
|
|
271
760
|
Accepted: "Accepted";
|
|
272
761
|
Rejected: "Rejected";
|
|
762
|
+
Requested: "Requested";
|
|
273
763
|
}>;
|
|
274
764
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
275
765
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
@@ -281,8 +771,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
281
771
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
282
772
|
transactionId: z.ZodString;
|
|
283
773
|
createdByUserType: z.ZodEnum<{
|
|
284
|
-
user: "user";
|
|
285
774
|
system: "system";
|
|
775
|
+
user: "user";
|
|
286
776
|
}>;
|
|
287
777
|
createdAt: z.ZodString;
|
|
288
778
|
createdBy: z.ZodString;
|
|
@@ -292,9 +782,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
292
782
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
293
783
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
294
784
|
status: z.ZodEnum<{
|
|
295
|
-
Requested: "Requested";
|
|
296
785
|
Accepted: "Accepted";
|
|
297
786
|
Rejected: "Rejected";
|
|
787
|
+
Requested: "Requested";
|
|
298
788
|
}>;
|
|
299
789
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
300
790
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
@@ -306,8 +796,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
306
796
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
307
797
|
transactionId: z.ZodString;
|
|
308
798
|
createdByUserType: z.ZodEnum<{
|
|
309
|
-
user: "user";
|
|
310
799
|
system: "system";
|
|
800
|
+
user: "user";
|
|
311
801
|
}>;
|
|
312
802
|
createdAt: z.ZodString;
|
|
313
803
|
createdBy: z.ZodString;
|
|
@@ -317,9 +807,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
317
807
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
318
808
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
319
809
|
status: z.ZodEnum<{
|
|
320
|
-
Requested: "Requested";
|
|
321
810
|
Accepted: "Accepted";
|
|
322
811
|
Rejected: "Rejected";
|
|
812
|
+
Requested: "Requested";
|
|
323
813
|
}>;
|
|
324
814
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
325
815
|
type: z.ZodLiteral<"UNASSIGN">;
|
|
@@ -327,8 +817,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
327
817
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
328
818
|
transactionId: z.ZodString;
|
|
329
819
|
createdByUserType: z.ZodEnum<{
|
|
330
|
-
user: "user";
|
|
331
820
|
system: "system";
|
|
821
|
+
user: "user";
|
|
332
822
|
}>;
|
|
333
823
|
createdAt: z.ZodString;
|
|
334
824
|
createdBy: z.ZodString;
|
|
@@ -338,9 +828,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
338
828
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
339
829
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
340
830
|
status: z.ZodEnum<{
|
|
341
|
-
Requested: "Requested";
|
|
342
831
|
Accepted: "Accepted";
|
|
343
832
|
Rejected: "Rejected";
|
|
833
|
+
Requested: "Requested";
|
|
344
834
|
}>;
|
|
345
835
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
346
836
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
|
@@ -351,8 +841,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
351
841
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
352
842
|
transactionId: z.ZodString;
|
|
353
843
|
createdByUserType: z.ZodEnum<{
|
|
354
|
-
user: "user";
|
|
355
844
|
system: "system";
|
|
845
|
+
user: "user";
|
|
356
846
|
}>;
|
|
357
847
|
createdAt: z.ZodString;
|
|
358
848
|
createdBy: z.ZodString;
|
|
@@ -362,9 +852,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
362
852
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
363
853
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
364
854
|
status: z.ZodEnum<{
|
|
365
|
-
Requested: "Requested";
|
|
366
855
|
Accepted: "Accepted";
|
|
367
856
|
Rejected: "Rejected";
|
|
857
|
+
Requested: "Requested";
|
|
368
858
|
}>;
|
|
369
859
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
370
860
|
type: z.ZodLiteral<"READ">;
|
|
@@ -372,8 +862,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
372
862
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
373
863
|
transactionId: z.ZodString;
|
|
374
864
|
createdByUserType: z.ZodEnum<{
|
|
375
|
-
user: "user";
|
|
376
865
|
system: "system";
|
|
866
|
+
user: "user";
|
|
377
867
|
}>;
|
|
378
868
|
createdAt: z.ZodString;
|
|
379
869
|
createdBy: z.ZodString;
|
|
@@ -383,21 +873,21 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
383
873
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
384
874
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
385
875
|
status: z.ZodEnum<{
|
|
386
|
-
Requested: "Requested";
|
|
387
876
|
Accepted: "Accepted";
|
|
388
877
|
Rejected: "Rejected";
|
|
878
|
+
Requested: "Requested";
|
|
389
879
|
}>;
|
|
390
880
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
391
881
|
type: z.ZodLiteral<"EDIT">;
|
|
392
|
-
content: z.ZodObject<{
|
|
882
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
393
883
|
comment: z.ZodOptional<z.ZodString>;
|
|
394
|
-
}, z.core.$strip
|
|
884
|
+
}, z.core.$strip>>;
|
|
395
885
|
}, z.core.$strip>, z.ZodObject<{
|
|
396
886
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
397
887
|
transactionId: z.ZodString;
|
|
398
888
|
createdByUserType: z.ZodEnum<{
|
|
399
|
-
user: "user";
|
|
400
889
|
system: "system";
|
|
890
|
+
user: "user";
|
|
401
891
|
}>;
|
|
402
892
|
createdAt: z.ZodString;
|
|
403
893
|
createdBy: z.ZodString;
|
|
@@ -407,42 +897,42 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
407
897
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
408
898
|
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
409
899
|
status: z.ZodEnum<{
|
|
410
|
-
Requested: "Requested";
|
|
411
900
|
Accepted: "Accepted";
|
|
412
901
|
Rejected: "Rejected";
|
|
902
|
+
Requested: "Requested";
|
|
413
903
|
}>;
|
|
414
904
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
415
905
|
type: z.ZodLiteral<"CUSTOM">;
|
|
416
906
|
customActionType: z.ZodString;
|
|
417
907
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
418
908
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
419
|
-
createdBy: z.ZodString;
|
|
420
909
|
transactionId: z.ZodString;
|
|
421
910
|
createdByUserType: z.ZodEnum<{
|
|
422
|
-
user: "user";
|
|
423
911
|
system: "system";
|
|
912
|
+
user: "user";
|
|
424
913
|
}>;
|
|
425
914
|
createdAt: z.ZodString;
|
|
915
|
+
createdBy: z.ZodString;
|
|
426
916
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
427
917
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
428
918
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
429
919
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
430
920
|
type: z.ZodEnum<{
|
|
921
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
922
|
+
ARCHIVE: "ARCHIVE";
|
|
431
923
|
CUSTOM: "CUSTOM";
|
|
432
|
-
NOTIFY: "NOTIFY";
|
|
433
924
|
DECLARE: "DECLARE";
|
|
434
|
-
REGISTER: "REGISTER";
|
|
435
925
|
EDIT: "EDIT";
|
|
436
|
-
|
|
437
|
-
ARCHIVE: "ARCHIVE";
|
|
926
|
+
NOTIFY: "NOTIFY";
|
|
438
927
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
439
|
-
|
|
928
|
+
REGISTER: "REGISTER";
|
|
929
|
+
REJECT: "REJECT";
|
|
440
930
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
441
|
-
|
|
931
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
932
|
+
UNARCHIVE: "UNARCHIVE";
|
|
442
933
|
}>;
|
|
443
934
|
status: z.ZodLiteral<"Rejected">;
|
|
444
935
|
}, z.core.$strip>]>>;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
export type EventDocument = z.infer<typeof EventDocument>;
|
|
936
|
+
}, z.core.$strip>, "EventDocumentOnlyLastAction", "out">;
|
|
937
|
+
export type EventDocumentOnlyLastAction = z.infer<typeof EventDocumentOnlyLastAction>;
|
|
448
938
|
//# sourceMappingURL=EventDocument.d.ts.map
|