@opencrvs/toolkit 1.8.0-rc.fd754eb → 1.8.0-rc.fd936ab
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/dist/commons/api/router.d.ts +4205 -7695
- package/dist/commons/conditionals/conditionals.d.ts +6 -9
- package/dist/commons/conditionals/validate.d.ts +6 -4
- package/dist/commons/events/ActionConfig.d.ts +1680 -90025
- package/dist/commons/events/ActionDocument.d.ts +211 -542
- package/dist/commons/events/ActionInput.d.ts +240 -248
- package/dist/commons/events/AdvancedSearchConfig.d.ts +25 -369
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -3
- package/dist/commons/events/Draft.d.ts +20 -33
- package/dist/commons/events/EventConfig.d.ts +1344 -42812
- package/dist/commons/events/EventDocument.d.ts +156 -337
- package/dist/commons/events/EventIndex.d.ts +13 -1346
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +11 -273
- package/dist/commons/events/FieldConfig.d.ts +724 -3733
- package/dist/commons/events/FieldType.d.ts +3 -3
- package/dist/commons/events/FieldTypeMapping.d.ts +4 -11
- package/dist/commons/events/FieldValue.d.ts +4 -7
- package/dist/commons/events/FormConfig.d.ts +441 -40419
- package/dist/commons/events/PageConfig.d.ts +194 -10068
- package/dist/commons/events/SummaryConfig.d.ts +39 -95
- package/dist/commons/events/User.d.ts +0 -5
- package/dist/commons/events/WorkqueueConfig.d.ts +19 -1135
- package/dist/commons/events/defineConfig.d.ts +35 -6966
- package/dist/commons/events/index.d.ts +0 -3
- package/dist/commons/events/test.utils.d.ts +44 -7
- package/dist/commons/events/utils.d.ts +67 -3550
- package/dist/conditionals/index.js +33 -36
- package/dist/events/index.js +977 -1672
- package/package.json +2 -3
- package/dist/commons/events/event.d.ts +0 -27
- package/dist/commons/events/field.d.ts +0 -68
- package/dist/commons/events/scopes.d.ts +0 -26
@@ -30,9 +30,6 @@ export * from './Conditional';
|
|
30
30
|
export * from './AdvancedSearchConfig';
|
31
31
|
export * from './test.utils';
|
32
32
|
export * from './TemplateConfig';
|
33
|
-
export * from './scopes';
|
34
33
|
export * from '../conditionals/conditionals';
|
35
34
|
export * from '../conditionals/validate';
|
36
|
-
export * from './field';
|
37
|
-
export * from './event';
|
38
35
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ActionDocument, ActionUpdate
|
1
|
+
import { ActionDocument, ActionUpdate } from './ActionDocument';
|
2
2
|
import { ArchiveActionInput, AssignActionInput, DeclareActionInput, RegisterActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnassignActionInput, ValidateActionInput } from './ActionInput';
|
3
3
|
import { ActionType } from './ActionType';
|
4
4
|
import { Draft } from './Draft';
|
@@ -8,7 +8,44 @@ import { EventIndex } from './EventIndex';
|
|
8
8
|
import { EventInput } from './EventInput';
|
9
9
|
import { FieldValue } from './FieldValue';
|
10
10
|
import { TranslationConfig } from './TranslationConfig';
|
11
|
-
export declare function generateActionDeclarationInput(configuration: EventConfig, action: ActionType):
|
11
|
+
export declare function generateActionDeclarationInput(configuration: EventConfig, action: ActionType): import("lodash").Dictionary<string | number | boolean | {
|
12
|
+
type: string;
|
13
|
+
filename: string;
|
14
|
+
originalFilename: string;
|
15
|
+
} | {
|
16
|
+
country: string;
|
17
|
+
district: string;
|
18
|
+
addressType: "DOMESTIC";
|
19
|
+
province: string;
|
20
|
+
urbanOrRural: "URBAN";
|
21
|
+
number?: string | undefined;
|
22
|
+
town?: string | undefined;
|
23
|
+
residentialArea?: string | undefined;
|
24
|
+
street?: string | undefined;
|
25
|
+
zipCode?: string | undefined;
|
26
|
+
} | {
|
27
|
+
country: string;
|
28
|
+
district: string;
|
29
|
+
addressType: "DOMESTIC";
|
30
|
+
province: string;
|
31
|
+
urbanOrRural: "RURAL";
|
32
|
+
village?: string | undefined;
|
33
|
+
} | {
|
34
|
+
country: string;
|
35
|
+
state: string;
|
36
|
+
addressType: "INTERNATIONAL";
|
37
|
+
district2: string;
|
38
|
+
cityOrTown?: string | undefined;
|
39
|
+
addressLine1?: string | undefined;
|
40
|
+
addressLine2?: string | undefined;
|
41
|
+
addressLine3?: string | undefined;
|
42
|
+
postcodeOrZip?: string | undefined;
|
43
|
+
} | {
|
44
|
+
type: string;
|
45
|
+
option: string;
|
46
|
+
filename: string;
|
47
|
+
originalFilename: string;
|
48
|
+
}[] | undefined>;
|
12
49
|
export declare function generateActionAnnotationInput(configuration: EventConfig, action: ActionType): {};
|
13
50
|
export declare const eventPayloadGenerator: {
|
14
51
|
create: (input?: Partial<EventInput>) => {
|
@@ -65,7 +102,7 @@ export declare const eventPayloadGenerator: {
|
|
65
102
|
option: string;
|
66
103
|
filename: string;
|
67
104
|
originalFilename: string;
|
68
|
-
}[] |
|
105
|
+
}[] | undefined>;
|
69
106
|
annotation: {};
|
70
107
|
eventId: string;
|
71
108
|
};
|
@@ -115,7 +152,7 @@ export declare const eventPayloadGenerator: {
|
|
115
152
|
option: string;
|
116
153
|
filename: string;
|
117
154
|
originalFilename: string;
|
118
|
-
}[] |
|
155
|
+
}[] | undefined>>;
|
119
156
|
eventId: string;
|
120
157
|
};
|
121
158
|
validate: (eventId: string, input?: Partial<Pick<ValidateActionInput, "transactionId" | "declaration" | "annotation">>) => {
|
@@ -158,7 +195,7 @@ export declare const eventPayloadGenerator: {
|
|
158
195
|
option: string;
|
159
196
|
filename: string;
|
160
197
|
originalFilename: string;
|
161
|
-
}[] |
|
198
|
+
}[] | undefined>;
|
162
199
|
annotation: {};
|
163
200
|
duplicates: never[];
|
164
201
|
eventId: string;
|
@@ -235,7 +272,7 @@ export declare const eventPayloadGenerator: {
|
|
235
272
|
option: string;
|
236
273
|
filename: string;
|
237
274
|
originalFilename: string;
|
238
|
-
}[] |
|
275
|
+
}[] | undefined>;
|
239
276
|
annotation: {};
|
240
277
|
eventId: string;
|
241
278
|
};
|
@@ -287,7 +324,7 @@ export declare const eventPayloadGenerator: {
|
|
287
324
|
option: string;
|
288
325
|
filename: string;
|
289
326
|
originalFilename: string;
|
290
|
-
}[] |
|
327
|
+
}[] | undefined>;
|
291
328
|
annotation: {};
|
292
329
|
eventId: string;
|
293
330
|
};
|