@opencrvs/toolkit 1.9.3-rc.b5f6564 → 1.9.3-rc.c4c0d3e
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.
|
@@ -4041,7 +4041,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4041
4041
|
} | undefined;
|
|
4042
4042
|
}[];
|
|
4043
4043
|
};
|
|
4044
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
4044
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
4045
4045
|
slug: string;
|
|
4046
4046
|
columns: {
|
|
4047
4047
|
value: {
|
|
@@ -1954,7 +1954,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
1954
1954
|
} | undefined;
|
|
1955
1955
|
}[];
|
|
1956
1956
|
};
|
|
1957
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
1957
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
1958
1958
|
slug: string;
|
|
1959
1959
|
columns: {
|
|
1960
1960
|
value: {
|
|
@@ -2206,7 +2206,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
2206
2206
|
} | undefined;
|
|
2207
2207
|
}[];
|
|
2208
2208
|
};
|
|
2209
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
2209
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
2210
2210
|
slug: string;
|
|
2211
2211
|
columns?: {
|
|
2212
2212
|
value: {
|
|
@@ -3934,7 +3934,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<Omit<{
|
|
|
3934
3934
|
type: "DELETE" | "DECLARE" | "VALIDATE" | "REGISTER" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
|
|
3935
3935
|
conditionals?: import(".").JSONSchema[] | undefined;
|
|
3936
3936
|
}[];
|
|
3937
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
3937
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
3938
3938
|
slug: string;
|
|
3939
3939
|
emptyMessage?: TranslationConfig | undefined;
|
|
3940
3940
|
}, {
|
|
@@ -3947,7 +3947,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<Omit<{
|
|
|
3947
3947
|
type: "DELETE" | "DECLARE" | "VALIDATE" | "REGISTER" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
|
|
3948
3948
|
conditionals?: import(".").JSONSchema[] | undefined;
|
|
3949
3949
|
}[];
|
|
3950
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
3950
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
3951
3951
|
slug: string;
|
|
3952
3952
|
emptyMessage?: {
|
|
3953
3953
|
id: string;
|
|
@@ -6602,7 +6602,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
6602
6602
|
} | undefined;
|
|
6603
6603
|
}[];
|
|
6604
6604
|
};
|
|
6605
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
6605
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
6606
6606
|
slug: string;
|
|
6607
6607
|
columns: {
|
|
6608
6608
|
value: {
|
|
@@ -6967,7 +6967,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
6967
6967
|
} | undefined;
|
|
6968
6968
|
}[];
|
|
6969
6969
|
};
|
|
6970
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
6970
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
6971
6971
|
slug: string;
|
|
6972
6972
|
columns?: {
|
|
6973
6973
|
value: {
|
|
@@ -7227,7 +7227,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
7227
7227
|
} | undefined;
|
|
7228
7228
|
}[];
|
|
7229
7229
|
};
|
|
7230
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
7230
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
7231
7231
|
slug: string;
|
|
7232
7232
|
columns: {
|
|
7233
7233
|
value: {
|
|
@@ -7476,7 +7476,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
|
|
|
7476
7476
|
} | undefined;
|
|
7477
7477
|
}[];
|
|
7478
7478
|
};
|
|
7479
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
7479
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
7480
7480
|
slug: string;
|
|
7481
7481
|
columns: {
|
|
7482
7482
|
value: {
|
package/dist/events/index.js
CHANGED
|
@@ -5655,6 +5655,7 @@ var PRINT_CERTIFICATE_FORM = defineActionForm({
|
|
|
5655
5655
|
{
|
|
5656
5656
|
id: "collector",
|
|
5657
5657
|
type: PageTypes.enum.FORM,
|
|
5658
|
+
requireCompletionToContinue: true,
|
|
5658
5659
|
title: {
|
|
5659
5660
|
id: "event.tennis-club-membership.action.certificate.form.section.who.title",
|
|
5660
5661
|
defaultMessage: "Print certified copy",
|
|
@@ -6262,6 +6263,7 @@ var PRINT_CERTIFICATE_FORM = defineActionForm({
|
|
|
6262
6263
|
{
|
|
6263
6264
|
id: "collector.identity.verify",
|
|
6264
6265
|
type: PageTypes.enum.VERIFICATION,
|
|
6266
|
+
requireCompletionToContinue: true,
|
|
6265
6267
|
conditional: field("collector.requesterId").isEqualTo("INFORMANT"),
|
|
6266
6268
|
title: {
|
|
6267
6269
|
id: "event.tennis-club-membership.action.print.verifyIdentity",
|
|
@@ -7860,220 +7862,6 @@ var v2BirthEvent = defineConfig({
|
|
|
7860
7862
|
advancedSearch: []
|
|
7861
7863
|
});
|
|
7862
7864
|
|
|
7863
|
-
// ../commons/src/fixtures/digital-identity-issuance-event.ts
|
|
7864
|
-
var PRINT_DIGITAL_ID_CERTIFICATE_FORM = defineActionForm({
|
|
7865
|
-
label: {
|
|
7866
|
-
id: "event.digital-identity.action.certificate.form.label",
|
|
7867
|
-
defaultMessage: "Digital identity certificate printer",
|
|
7868
|
-
description: "This is what this form is referred as in the system"
|
|
7869
|
-
},
|
|
7870
|
-
pages: [
|
|
7871
|
-
{
|
|
7872
|
-
id: "collector",
|
|
7873
|
-
type: PageTypes.enum.FORM,
|
|
7874
|
-
title: {
|
|
7875
|
-
id: "event.tennis-club-membership.action.certificate.form.section.who.title",
|
|
7876
|
-
defaultMessage: "Print certified copy",
|
|
7877
|
-
description: "This is the title of the section"
|
|
7878
|
-
},
|
|
7879
|
-
fields: [
|
|
7880
|
-
{
|
|
7881
|
-
id: "identity.http-fetch",
|
|
7882
|
-
type: FieldType.HTTP,
|
|
7883
|
-
label: {
|
|
7884
|
-
defaultMessage: "Digital identity certificate",
|
|
7885
|
-
description: "Fetch printable digital identity certificate",
|
|
7886
|
-
id: "event.digital-identity.certificate.fetch.label"
|
|
7887
|
-
},
|
|
7888
|
-
configuration: {
|
|
7889
|
-
trigger: field("identity.http-button"),
|
|
7890
|
-
url: "/api/digital-identity/certificate",
|
|
7891
|
-
timeout: 5e3,
|
|
7892
|
-
method: "POST",
|
|
7893
|
-
headers: {
|
|
7894
|
-
"Content-Type": "application/json"
|
|
7895
|
-
},
|
|
7896
|
-
body: {
|
|
7897
|
-
subjectId: "$event.subject.id"
|
|
7898
|
-
}
|
|
7899
|
-
}
|
|
7900
|
-
},
|
|
7901
|
-
{
|
|
7902
|
-
id: "identity.http-button",
|
|
7903
|
-
type: FieldType.BUTTON,
|
|
7904
|
-
label: {
|
|
7905
|
-
defaultMessage: "Certificate",
|
|
7906
|
-
description: "Certificate",
|
|
7907
|
-
id: "event.digital-identity.certificate.button.label"
|
|
7908
|
-
},
|
|
7909
|
-
conditionals: [
|
|
7910
|
-
{
|
|
7911
|
-
type: ConditionalType.ENABLE,
|
|
7912
|
-
conditional: and(
|
|
7913
|
-
field("identity.http-fetch").isUndefined(),
|
|
7914
|
-
user.isOnline()
|
|
7915
|
-
)
|
|
7916
|
-
},
|
|
7917
|
-
{
|
|
7918
|
-
type: ConditionalType.SHOW,
|
|
7919
|
-
conditional: and(
|
|
7920
|
-
field("identity.http-fetch").get("loading").isFalsy(),
|
|
7921
|
-
field("identity.http-fetch").get("data").isFalsy()
|
|
7922
|
-
)
|
|
7923
|
-
}
|
|
7924
|
-
],
|
|
7925
|
-
configuration: {
|
|
7926
|
-
icon: "IdentificationCard",
|
|
7927
|
-
text: {
|
|
7928
|
-
defaultMessage: "Fetch certificate",
|
|
7929
|
-
description: "Fetch certificate",
|
|
7930
|
-
id: "event.digital-identity.certificate.fetch.text"
|
|
7931
|
-
}
|
|
7932
|
-
}
|
|
7933
|
-
},
|
|
7934
|
-
{
|
|
7935
|
-
id: "identity.http-button",
|
|
7936
|
-
type: FieldType.BUTTON,
|
|
7937
|
-
label: {
|
|
7938
|
-
defaultMessage: "Certificate",
|
|
7939
|
-
description: "Certificate",
|
|
7940
|
-
id: "event.digital-identity.certificate.button.label"
|
|
7941
|
-
},
|
|
7942
|
-
conditionals: [
|
|
7943
|
-
{
|
|
7944
|
-
type: ConditionalType.ENABLE,
|
|
7945
|
-
conditional: never()
|
|
7946
|
-
},
|
|
7947
|
-
{
|
|
7948
|
-
type: ConditionalType.SHOW,
|
|
7949
|
-
conditional: field("identity.http-fetch").get("loading").isEqualTo(true)
|
|
7950
|
-
}
|
|
7951
|
-
],
|
|
7952
|
-
configuration: {
|
|
7953
|
-
loading: true,
|
|
7954
|
-
text: {
|
|
7955
|
-
defaultMessage: "Fetching certificate\u2026",
|
|
7956
|
-
description: "Fetching certificate\u2026",
|
|
7957
|
-
id: "event.digital-identity.certificate.fetching.text"
|
|
7958
|
-
}
|
|
7959
|
-
}
|
|
7960
|
-
},
|
|
7961
|
-
{
|
|
7962
|
-
id: "identity.http-button",
|
|
7963
|
-
type: FieldType.BUTTON,
|
|
7964
|
-
label: {
|
|
7965
|
-
defaultMessage: "Certificate",
|
|
7966
|
-
description: "Certificate",
|
|
7967
|
-
id: "event.digital-identity.certificate.button.label"
|
|
7968
|
-
},
|
|
7969
|
-
conditionals: [
|
|
7970
|
-
{
|
|
7971
|
-
type: ConditionalType.ENABLE,
|
|
7972
|
-
conditional: never()
|
|
7973
|
-
},
|
|
7974
|
-
{
|
|
7975
|
-
type: ConditionalType.SHOW,
|
|
7976
|
-
conditional: not(field("identity.certificateId").isFalsy())
|
|
7977
|
-
}
|
|
7978
|
-
],
|
|
7979
|
-
configuration: {
|
|
7980
|
-
icon: "Check",
|
|
7981
|
-
text: {
|
|
7982
|
-
defaultMessage: "Certificate ready",
|
|
7983
|
-
description: "Certificate ready",
|
|
7984
|
-
id: "event.digital-identity.certificate.ready.text"
|
|
7985
|
-
}
|
|
7986
|
-
}
|
|
7987
|
-
},
|
|
7988
|
-
{
|
|
7989
|
-
id: "identity.certificateId",
|
|
7990
|
-
type: FieldType.TEXT,
|
|
7991
|
-
parent: field("identity.http-fetch"),
|
|
7992
|
-
label: {
|
|
7993
|
-
defaultMessage: "Certificate ID",
|
|
7994
|
-
description: "Issued digital identity certificate identifier",
|
|
7995
|
-
id: "event.digital-identity.certificate.id.label"
|
|
7996
|
-
},
|
|
7997
|
-
conditionals: [
|
|
7998
|
-
{
|
|
7999
|
-
type: ConditionalType.ENABLE,
|
|
8000
|
-
conditional: never()
|
|
8001
|
-
}
|
|
8002
|
-
],
|
|
8003
|
-
value: field("identity.http-fetch").get("data.certificateId")
|
|
8004
|
-
}
|
|
8005
|
-
]
|
|
8006
|
-
}
|
|
8007
|
-
]
|
|
8008
|
-
});
|
|
8009
|
-
var digitalIdentityForm = defineDeclarationForm({
|
|
8010
|
-
label: {
|
|
8011
|
-
id: "event.digital-identity.action.declare.form.label",
|
|
8012
|
-
defaultMessage: "Digital identity issuance",
|
|
8013
|
-
description: "This is what this form is referred as in the system"
|
|
8014
|
-
},
|
|
8015
|
-
pages: [
|
|
8016
|
-
{
|
|
8017
|
-
id: "subject",
|
|
8018
|
-
title: {
|
|
8019
|
-
id: "event.digital-identity.action.declare.form.section.who.title",
|
|
8020
|
-
defaultMessage: "Who is the digital identity issued to?",
|
|
8021
|
-
description: "This is the title of the section"
|
|
8022
|
-
},
|
|
8023
|
-
fields: [
|
|
8024
|
-
{
|
|
8025
|
-
id: "subject.firstname",
|
|
8026
|
-
type: FieldType.TEXT,
|
|
8027
|
-
required: true,
|
|
8028
|
-
conditionals: [],
|
|
8029
|
-
label: {
|
|
8030
|
-
defaultMessage: "Subject's first name",
|
|
8031
|
-
description: "This is the label for the field",
|
|
8032
|
-
id: "event.digital-identity.action.declare.form.section.who.field.firstname.label"
|
|
8033
|
-
}
|
|
8034
|
-
},
|
|
8035
|
-
{
|
|
8036
|
-
id: "subject.surname",
|
|
8037
|
-
type: FieldType.TEXT,
|
|
8038
|
-
required: true,
|
|
8039
|
-
conditionals: [],
|
|
8040
|
-
label: {
|
|
8041
|
-
defaultMessage: "Subject's surname",
|
|
8042
|
-
description: "This is the label for the field",
|
|
8043
|
-
id: "event.digital-identity.action.declare.form.section.who.field.surname.label"
|
|
8044
|
-
}
|
|
8045
|
-
}
|
|
8046
|
-
]
|
|
8047
|
-
}
|
|
8048
|
-
]
|
|
8049
|
-
});
|
|
8050
|
-
var digitalIdentityEvent = defineConfig({
|
|
8051
|
-
id: "digital-identity",
|
|
8052
|
-
label: {
|
|
8053
|
-
defaultMessage: "Digital identity issuance",
|
|
8054
|
-
description: "This is what this event is referred as in the system",
|
|
8055
|
-
id: "event.digital-identity.label"
|
|
8056
|
-
},
|
|
8057
|
-
title: {
|
|
8058
|
-
defaultMessage: "{subject.firstname} {subject.surname}",
|
|
8059
|
-
description: "This is the title of the summary",
|
|
8060
|
-
id: "event.digital-identity.title"
|
|
8061
|
-
},
|
|
8062
|
-
summary: { fields: [] },
|
|
8063
|
-
actions: [
|
|
8064
|
-
{
|
|
8065
|
-
type: ActionType.PRINT_CERTIFICATE,
|
|
8066
|
-
label: {
|
|
8067
|
-
id: "event.football-club-membership.action.collect-certificate.label",
|
|
8068
|
-
defaultMessage: "Print certificate",
|
|
8069
|
-
description: "This is shown as the action name anywhere the user can trigger the action from"
|
|
8070
|
-
},
|
|
8071
|
-
printForm: PRINT_DIGITAL_ID_CERTIFICATE_FORM
|
|
8072
|
-
}
|
|
8073
|
-
],
|
|
8074
|
-
declaration: digitalIdentityForm
|
|
8075
|
-
});
|
|
8076
|
-
|
|
8077
7865
|
// ../commons/src/events/test.utils.ts
|
|
8078
7866
|
var import_zod35 = require("zod");
|
|
8079
7867
|
var TEST_SYSTEM_IANA_TIMEZONE = "Asia/Dhaka";
|
|
@@ -3919,6 +3919,7 @@ var PRINT_CERTIFICATE_FORM = defineActionForm({
|
|
|
3919
3919
|
{
|
|
3920
3920
|
id: "collector",
|
|
3921
3921
|
type: PageTypes.enum.FORM,
|
|
3922
|
+
requireCompletionToContinue: true,
|
|
3922
3923
|
title: {
|
|
3923
3924
|
id: "event.tennis-club-membership.action.certificate.form.section.who.title",
|
|
3924
3925
|
defaultMessage: "Print certified copy",
|
|
@@ -4526,6 +4527,7 @@ var PRINT_CERTIFICATE_FORM = defineActionForm({
|
|
|
4526
4527
|
{
|
|
4527
4528
|
id: "collector.identity.verify",
|
|
4528
4529
|
type: PageTypes.enum.VERIFICATION,
|
|
4530
|
+
requireCompletionToContinue: true,
|
|
4529
4531
|
conditional: field("collector.requesterId").isEqualTo("INFORMANT"),
|
|
4530
4532
|
title: {
|
|
4531
4533
|
id: "event.tennis-club-membership.action.print.verifyIdentity",
|
|
@@ -6124,220 +6126,6 @@ var v2BirthEvent = defineConfig({
|
|
|
6124
6126
|
advancedSearch: []
|
|
6125
6127
|
});
|
|
6126
6128
|
|
|
6127
|
-
// ../commons/src/fixtures/digital-identity-issuance-event.ts
|
|
6128
|
-
var PRINT_DIGITAL_ID_CERTIFICATE_FORM = defineActionForm({
|
|
6129
|
-
label: {
|
|
6130
|
-
id: "event.digital-identity.action.certificate.form.label",
|
|
6131
|
-
defaultMessage: "Digital identity certificate printer",
|
|
6132
|
-
description: "This is what this form is referred as in the system"
|
|
6133
|
-
},
|
|
6134
|
-
pages: [
|
|
6135
|
-
{
|
|
6136
|
-
id: "collector",
|
|
6137
|
-
type: PageTypes.enum.FORM,
|
|
6138
|
-
title: {
|
|
6139
|
-
id: "event.tennis-club-membership.action.certificate.form.section.who.title",
|
|
6140
|
-
defaultMessage: "Print certified copy",
|
|
6141
|
-
description: "This is the title of the section"
|
|
6142
|
-
},
|
|
6143
|
-
fields: [
|
|
6144
|
-
{
|
|
6145
|
-
id: "identity.http-fetch",
|
|
6146
|
-
type: FieldType.HTTP,
|
|
6147
|
-
label: {
|
|
6148
|
-
defaultMessage: "Digital identity certificate",
|
|
6149
|
-
description: "Fetch printable digital identity certificate",
|
|
6150
|
-
id: "event.digital-identity.certificate.fetch.label"
|
|
6151
|
-
},
|
|
6152
|
-
configuration: {
|
|
6153
|
-
trigger: field("identity.http-button"),
|
|
6154
|
-
url: "/api/digital-identity/certificate",
|
|
6155
|
-
timeout: 5e3,
|
|
6156
|
-
method: "POST",
|
|
6157
|
-
headers: {
|
|
6158
|
-
"Content-Type": "application/json"
|
|
6159
|
-
},
|
|
6160
|
-
body: {
|
|
6161
|
-
subjectId: "$event.subject.id"
|
|
6162
|
-
}
|
|
6163
|
-
}
|
|
6164
|
-
},
|
|
6165
|
-
{
|
|
6166
|
-
id: "identity.http-button",
|
|
6167
|
-
type: FieldType.BUTTON,
|
|
6168
|
-
label: {
|
|
6169
|
-
defaultMessage: "Certificate",
|
|
6170
|
-
description: "Certificate",
|
|
6171
|
-
id: "event.digital-identity.certificate.button.label"
|
|
6172
|
-
},
|
|
6173
|
-
conditionals: [
|
|
6174
|
-
{
|
|
6175
|
-
type: ConditionalType.ENABLE,
|
|
6176
|
-
conditional: and(
|
|
6177
|
-
field("identity.http-fetch").isUndefined(),
|
|
6178
|
-
user.isOnline()
|
|
6179
|
-
)
|
|
6180
|
-
},
|
|
6181
|
-
{
|
|
6182
|
-
type: ConditionalType.SHOW,
|
|
6183
|
-
conditional: and(
|
|
6184
|
-
field("identity.http-fetch").get("loading").isFalsy(),
|
|
6185
|
-
field("identity.http-fetch").get("data").isFalsy()
|
|
6186
|
-
)
|
|
6187
|
-
}
|
|
6188
|
-
],
|
|
6189
|
-
configuration: {
|
|
6190
|
-
icon: "IdentificationCard",
|
|
6191
|
-
text: {
|
|
6192
|
-
defaultMessage: "Fetch certificate",
|
|
6193
|
-
description: "Fetch certificate",
|
|
6194
|
-
id: "event.digital-identity.certificate.fetch.text"
|
|
6195
|
-
}
|
|
6196
|
-
}
|
|
6197
|
-
},
|
|
6198
|
-
{
|
|
6199
|
-
id: "identity.http-button",
|
|
6200
|
-
type: FieldType.BUTTON,
|
|
6201
|
-
label: {
|
|
6202
|
-
defaultMessage: "Certificate",
|
|
6203
|
-
description: "Certificate",
|
|
6204
|
-
id: "event.digital-identity.certificate.button.label"
|
|
6205
|
-
},
|
|
6206
|
-
conditionals: [
|
|
6207
|
-
{
|
|
6208
|
-
type: ConditionalType.ENABLE,
|
|
6209
|
-
conditional: never()
|
|
6210
|
-
},
|
|
6211
|
-
{
|
|
6212
|
-
type: ConditionalType.SHOW,
|
|
6213
|
-
conditional: field("identity.http-fetch").get("loading").isEqualTo(true)
|
|
6214
|
-
}
|
|
6215
|
-
],
|
|
6216
|
-
configuration: {
|
|
6217
|
-
loading: true,
|
|
6218
|
-
text: {
|
|
6219
|
-
defaultMessage: "Fetching certificate\u2026",
|
|
6220
|
-
description: "Fetching certificate\u2026",
|
|
6221
|
-
id: "event.digital-identity.certificate.fetching.text"
|
|
6222
|
-
}
|
|
6223
|
-
}
|
|
6224
|
-
},
|
|
6225
|
-
{
|
|
6226
|
-
id: "identity.http-button",
|
|
6227
|
-
type: FieldType.BUTTON,
|
|
6228
|
-
label: {
|
|
6229
|
-
defaultMessage: "Certificate",
|
|
6230
|
-
description: "Certificate",
|
|
6231
|
-
id: "event.digital-identity.certificate.button.label"
|
|
6232
|
-
},
|
|
6233
|
-
conditionals: [
|
|
6234
|
-
{
|
|
6235
|
-
type: ConditionalType.ENABLE,
|
|
6236
|
-
conditional: never()
|
|
6237
|
-
},
|
|
6238
|
-
{
|
|
6239
|
-
type: ConditionalType.SHOW,
|
|
6240
|
-
conditional: not(field("identity.certificateId").isFalsy())
|
|
6241
|
-
}
|
|
6242
|
-
],
|
|
6243
|
-
configuration: {
|
|
6244
|
-
icon: "Check",
|
|
6245
|
-
text: {
|
|
6246
|
-
defaultMessage: "Certificate ready",
|
|
6247
|
-
description: "Certificate ready",
|
|
6248
|
-
id: "event.digital-identity.certificate.ready.text"
|
|
6249
|
-
}
|
|
6250
|
-
}
|
|
6251
|
-
},
|
|
6252
|
-
{
|
|
6253
|
-
id: "identity.certificateId",
|
|
6254
|
-
type: FieldType.TEXT,
|
|
6255
|
-
parent: field("identity.http-fetch"),
|
|
6256
|
-
label: {
|
|
6257
|
-
defaultMessage: "Certificate ID",
|
|
6258
|
-
description: "Issued digital identity certificate identifier",
|
|
6259
|
-
id: "event.digital-identity.certificate.id.label"
|
|
6260
|
-
},
|
|
6261
|
-
conditionals: [
|
|
6262
|
-
{
|
|
6263
|
-
type: ConditionalType.ENABLE,
|
|
6264
|
-
conditional: never()
|
|
6265
|
-
}
|
|
6266
|
-
],
|
|
6267
|
-
value: field("identity.http-fetch").get("data.certificateId")
|
|
6268
|
-
}
|
|
6269
|
-
]
|
|
6270
|
-
}
|
|
6271
|
-
]
|
|
6272
|
-
});
|
|
6273
|
-
var digitalIdentityForm = defineDeclarationForm({
|
|
6274
|
-
label: {
|
|
6275
|
-
id: "event.digital-identity.action.declare.form.label",
|
|
6276
|
-
defaultMessage: "Digital identity issuance",
|
|
6277
|
-
description: "This is what this form is referred as in the system"
|
|
6278
|
-
},
|
|
6279
|
-
pages: [
|
|
6280
|
-
{
|
|
6281
|
-
id: "subject",
|
|
6282
|
-
title: {
|
|
6283
|
-
id: "event.digital-identity.action.declare.form.section.who.title",
|
|
6284
|
-
defaultMessage: "Who is the digital identity issued to?",
|
|
6285
|
-
description: "This is the title of the section"
|
|
6286
|
-
},
|
|
6287
|
-
fields: [
|
|
6288
|
-
{
|
|
6289
|
-
id: "subject.firstname",
|
|
6290
|
-
type: FieldType.TEXT,
|
|
6291
|
-
required: true,
|
|
6292
|
-
conditionals: [],
|
|
6293
|
-
label: {
|
|
6294
|
-
defaultMessage: "Subject's first name",
|
|
6295
|
-
description: "This is the label for the field",
|
|
6296
|
-
id: "event.digital-identity.action.declare.form.section.who.field.firstname.label"
|
|
6297
|
-
}
|
|
6298
|
-
},
|
|
6299
|
-
{
|
|
6300
|
-
id: "subject.surname",
|
|
6301
|
-
type: FieldType.TEXT,
|
|
6302
|
-
required: true,
|
|
6303
|
-
conditionals: [],
|
|
6304
|
-
label: {
|
|
6305
|
-
defaultMessage: "Subject's surname",
|
|
6306
|
-
description: "This is the label for the field",
|
|
6307
|
-
id: "event.digital-identity.action.declare.form.section.who.field.surname.label"
|
|
6308
|
-
}
|
|
6309
|
-
}
|
|
6310
|
-
]
|
|
6311
|
-
}
|
|
6312
|
-
]
|
|
6313
|
-
});
|
|
6314
|
-
var digitalIdentityEvent = defineConfig({
|
|
6315
|
-
id: "digital-identity",
|
|
6316
|
-
label: {
|
|
6317
|
-
defaultMessage: "Digital identity issuance",
|
|
6318
|
-
description: "This is what this event is referred as in the system",
|
|
6319
|
-
id: "event.digital-identity.label"
|
|
6320
|
-
},
|
|
6321
|
-
title: {
|
|
6322
|
-
defaultMessage: "{subject.firstname} {subject.surname}",
|
|
6323
|
-
description: "This is the title of the summary",
|
|
6324
|
-
id: "event.digital-identity.title"
|
|
6325
|
-
},
|
|
6326
|
-
summary: { fields: [] },
|
|
6327
|
-
actions: [
|
|
6328
|
-
{
|
|
6329
|
-
type: ActionType.PRINT_CERTIFICATE,
|
|
6330
|
-
label: {
|
|
6331
|
-
id: "event.football-club-membership.action.collect-certificate.label",
|
|
6332
|
-
defaultMessage: "Print certificate",
|
|
6333
|
-
description: "This is shown as the action name anywhere the user can trigger the action from"
|
|
6334
|
-
},
|
|
6335
|
-
printForm: PRINT_DIGITAL_ID_CERTIFICATE_FORM
|
|
6336
|
-
}
|
|
6337
|
-
],
|
|
6338
|
-
declaration: digitalIdentityForm
|
|
6339
|
-
});
|
|
6340
|
-
|
|
6341
6129
|
// ../commons/src/events/test.utils.ts
|
|
6342
6130
|
var import_zod35 = require("zod");
|
|
6343
6131
|
var TestUserRole = import_zod35.z.enum([
|