@opencrvs/toolkit 1.9.3 → 1.9.4-rc.31fc4cc

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" | "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";
4044
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
1957
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
2209
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
3937
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
3950
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
6605
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
6970
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
7230
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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" | "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";
7479
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "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" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "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: {
@@ -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,6 +7862,220 @@ var v2BirthEvent = defineConfig({
7860
7862
  advancedSearch: []
7861
7863
  });
7862
7864
 
7865
+ // ../commons/src/fixtures/digital-identity-issuance-event.ts
7866
+ var PRINT_DIGITAL_ID_CERTIFICATE_FORM = defineActionForm({
7867
+ label: {
7868
+ id: "event.digital-identity.action.certificate.form.label",
7869
+ defaultMessage: "Digital identity certificate printer",
7870
+ description: "This is what this form is referred as in the system"
7871
+ },
7872
+ pages: [
7873
+ {
7874
+ id: "collector",
7875
+ type: PageTypes.enum.FORM,
7876
+ title: {
7877
+ id: "event.tennis-club-membership.action.certificate.form.section.who.title",
7878
+ defaultMessage: "Print certified copy",
7879
+ description: "This is the title of the section"
7880
+ },
7881
+ fields: [
7882
+ {
7883
+ id: "identity.http-fetch",
7884
+ type: FieldType.HTTP,
7885
+ label: {
7886
+ defaultMessage: "Digital identity certificate",
7887
+ description: "Fetch printable digital identity certificate",
7888
+ id: "event.digital-identity.certificate.fetch.label"
7889
+ },
7890
+ configuration: {
7891
+ trigger: field("identity.http-button"),
7892
+ url: "/api/digital-identity/certificate",
7893
+ timeout: 5e3,
7894
+ method: "POST",
7895
+ headers: {
7896
+ "Content-Type": "application/json"
7897
+ },
7898
+ body: {
7899
+ subjectId: "$event.subject.id"
7900
+ }
7901
+ }
7902
+ },
7903
+ {
7904
+ id: "identity.http-button",
7905
+ type: FieldType.BUTTON,
7906
+ label: {
7907
+ defaultMessage: "Certificate",
7908
+ description: "Certificate",
7909
+ id: "event.digital-identity.certificate.button.label"
7910
+ },
7911
+ conditionals: [
7912
+ {
7913
+ type: ConditionalType.ENABLE,
7914
+ conditional: and(
7915
+ field("identity.http-fetch").isUndefined(),
7916
+ user.isOnline()
7917
+ )
7918
+ },
7919
+ {
7920
+ type: ConditionalType.SHOW,
7921
+ conditional: and(
7922
+ field("identity.http-fetch").get("loading").isFalsy(),
7923
+ field("identity.http-fetch").get("data").isFalsy()
7924
+ )
7925
+ }
7926
+ ],
7927
+ configuration: {
7928
+ icon: "IdentificationCard",
7929
+ text: {
7930
+ defaultMessage: "Fetch certificate",
7931
+ description: "Fetch certificate",
7932
+ id: "event.digital-identity.certificate.fetch.text"
7933
+ }
7934
+ }
7935
+ },
7936
+ {
7937
+ id: "identity.http-button",
7938
+ type: FieldType.BUTTON,
7939
+ label: {
7940
+ defaultMessage: "Certificate",
7941
+ description: "Certificate",
7942
+ id: "event.digital-identity.certificate.button.label"
7943
+ },
7944
+ conditionals: [
7945
+ {
7946
+ type: ConditionalType.ENABLE,
7947
+ conditional: never()
7948
+ },
7949
+ {
7950
+ type: ConditionalType.SHOW,
7951
+ conditional: field("identity.http-fetch").get("loading").isEqualTo(true)
7952
+ }
7953
+ ],
7954
+ configuration: {
7955
+ loading: true,
7956
+ text: {
7957
+ defaultMessage: "Fetching certificate\u2026",
7958
+ description: "Fetching certificate\u2026",
7959
+ id: "event.digital-identity.certificate.fetching.text"
7960
+ }
7961
+ }
7962
+ },
7963
+ {
7964
+ id: "identity.http-button",
7965
+ type: FieldType.BUTTON,
7966
+ label: {
7967
+ defaultMessage: "Certificate",
7968
+ description: "Certificate",
7969
+ id: "event.digital-identity.certificate.button.label"
7970
+ },
7971
+ conditionals: [
7972
+ {
7973
+ type: ConditionalType.ENABLE,
7974
+ conditional: never()
7975
+ },
7976
+ {
7977
+ type: ConditionalType.SHOW,
7978
+ conditional: not(field("identity.certificateId").isFalsy())
7979
+ }
7980
+ ],
7981
+ configuration: {
7982
+ icon: "Check",
7983
+ text: {
7984
+ defaultMessage: "Certificate ready",
7985
+ description: "Certificate ready",
7986
+ id: "event.digital-identity.certificate.ready.text"
7987
+ }
7988
+ }
7989
+ },
7990
+ {
7991
+ id: "identity.certificateId",
7992
+ type: FieldType.TEXT,
7993
+ parent: field("identity.http-fetch"),
7994
+ label: {
7995
+ defaultMessage: "Certificate ID",
7996
+ description: "Issued digital identity certificate identifier",
7997
+ id: "event.digital-identity.certificate.id.label"
7998
+ },
7999
+ conditionals: [
8000
+ {
8001
+ type: ConditionalType.ENABLE,
8002
+ conditional: never()
8003
+ }
8004
+ ],
8005
+ value: field("identity.http-fetch").get("data.certificateId")
8006
+ }
8007
+ ]
8008
+ }
8009
+ ]
8010
+ });
8011
+ var digitalIdentityForm = defineDeclarationForm({
8012
+ label: {
8013
+ id: "event.digital-identity.action.declare.form.label",
8014
+ defaultMessage: "Digital identity issuance",
8015
+ description: "This is what this form is referred as in the system"
8016
+ },
8017
+ pages: [
8018
+ {
8019
+ id: "subject",
8020
+ title: {
8021
+ id: "event.digital-identity.action.declare.form.section.who.title",
8022
+ defaultMessage: "Who is the digital identity issued to?",
8023
+ description: "This is the title of the section"
8024
+ },
8025
+ fields: [
8026
+ {
8027
+ id: "subject.firstname",
8028
+ type: FieldType.TEXT,
8029
+ required: true,
8030
+ conditionals: [],
8031
+ label: {
8032
+ defaultMessage: "Subject's first name",
8033
+ description: "This is the label for the field",
8034
+ id: "event.digital-identity.action.declare.form.section.who.field.firstname.label"
8035
+ }
8036
+ },
8037
+ {
8038
+ id: "subject.surname",
8039
+ type: FieldType.TEXT,
8040
+ required: true,
8041
+ conditionals: [],
8042
+ label: {
8043
+ defaultMessage: "Subject's surname",
8044
+ description: "This is the label for the field",
8045
+ id: "event.digital-identity.action.declare.form.section.who.field.surname.label"
8046
+ }
8047
+ }
8048
+ ]
8049
+ }
8050
+ ]
8051
+ });
8052
+ var digitalIdentityEvent = defineConfig({
8053
+ id: "digital-identity",
8054
+ label: {
8055
+ defaultMessage: "Digital identity issuance",
8056
+ description: "This is what this event is referred as in the system",
8057
+ id: "event.digital-identity.label"
8058
+ },
8059
+ title: {
8060
+ defaultMessage: "{subject.firstname} {subject.surname}",
8061
+ description: "This is the title of the summary",
8062
+ id: "event.digital-identity.title"
8063
+ },
8064
+ summary: { fields: [] },
8065
+ actions: [
8066
+ {
8067
+ type: ActionType.PRINT_CERTIFICATE,
8068
+ label: {
8069
+ id: "event.football-club-membership.action.collect-certificate.label",
8070
+ defaultMessage: "Print certificate",
8071
+ description: "This is shown as the action name anywhere the user can trigger the action from"
8072
+ },
8073
+ printForm: PRINT_DIGITAL_ID_CERTIFICATE_FORM
8074
+ }
8075
+ ],
8076
+ declaration: digitalIdentityForm
8077
+ });
8078
+
7863
8079
  // ../commons/src/events/test.utils.ts
7864
8080
  var import_zod35 = require("zod");
7865
8081
  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,6 +6126,220 @@ var v2BirthEvent = defineConfig({
6124
6126
  advancedSearch: []
6125
6127
  });
6126
6128
 
6129
+ // ../commons/src/fixtures/digital-identity-issuance-event.ts
6130
+ var PRINT_DIGITAL_ID_CERTIFICATE_FORM = defineActionForm({
6131
+ label: {
6132
+ id: "event.digital-identity.action.certificate.form.label",
6133
+ defaultMessage: "Digital identity certificate printer",
6134
+ description: "This is what this form is referred as in the system"
6135
+ },
6136
+ pages: [
6137
+ {
6138
+ id: "collector",
6139
+ type: PageTypes.enum.FORM,
6140
+ title: {
6141
+ id: "event.tennis-club-membership.action.certificate.form.section.who.title",
6142
+ defaultMessage: "Print certified copy",
6143
+ description: "This is the title of the section"
6144
+ },
6145
+ fields: [
6146
+ {
6147
+ id: "identity.http-fetch",
6148
+ type: FieldType.HTTP,
6149
+ label: {
6150
+ defaultMessage: "Digital identity certificate",
6151
+ description: "Fetch printable digital identity certificate",
6152
+ id: "event.digital-identity.certificate.fetch.label"
6153
+ },
6154
+ configuration: {
6155
+ trigger: field("identity.http-button"),
6156
+ url: "/api/digital-identity/certificate",
6157
+ timeout: 5e3,
6158
+ method: "POST",
6159
+ headers: {
6160
+ "Content-Type": "application/json"
6161
+ },
6162
+ body: {
6163
+ subjectId: "$event.subject.id"
6164
+ }
6165
+ }
6166
+ },
6167
+ {
6168
+ id: "identity.http-button",
6169
+ type: FieldType.BUTTON,
6170
+ label: {
6171
+ defaultMessage: "Certificate",
6172
+ description: "Certificate",
6173
+ id: "event.digital-identity.certificate.button.label"
6174
+ },
6175
+ conditionals: [
6176
+ {
6177
+ type: ConditionalType.ENABLE,
6178
+ conditional: and(
6179
+ field("identity.http-fetch").isUndefined(),
6180
+ user.isOnline()
6181
+ )
6182
+ },
6183
+ {
6184
+ type: ConditionalType.SHOW,
6185
+ conditional: and(
6186
+ field("identity.http-fetch").get("loading").isFalsy(),
6187
+ field("identity.http-fetch").get("data").isFalsy()
6188
+ )
6189
+ }
6190
+ ],
6191
+ configuration: {
6192
+ icon: "IdentificationCard",
6193
+ text: {
6194
+ defaultMessage: "Fetch certificate",
6195
+ description: "Fetch certificate",
6196
+ id: "event.digital-identity.certificate.fetch.text"
6197
+ }
6198
+ }
6199
+ },
6200
+ {
6201
+ id: "identity.http-button",
6202
+ type: FieldType.BUTTON,
6203
+ label: {
6204
+ defaultMessage: "Certificate",
6205
+ description: "Certificate",
6206
+ id: "event.digital-identity.certificate.button.label"
6207
+ },
6208
+ conditionals: [
6209
+ {
6210
+ type: ConditionalType.ENABLE,
6211
+ conditional: never()
6212
+ },
6213
+ {
6214
+ type: ConditionalType.SHOW,
6215
+ conditional: field("identity.http-fetch").get("loading").isEqualTo(true)
6216
+ }
6217
+ ],
6218
+ configuration: {
6219
+ loading: true,
6220
+ text: {
6221
+ defaultMessage: "Fetching certificate\u2026",
6222
+ description: "Fetching certificate\u2026",
6223
+ id: "event.digital-identity.certificate.fetching.text"
6224
+ }
6225
+ }
6226
+ },
6227
+ {
6228
+ id: "identity.http-button",
6229
+ type: FieldType.BUTTON,
6230
+ label: {
6231
+ defaultMessage: "Certificate",
6232
+ description: "Certificate",
6233
+ id: "event.digital-identity.certificate.button.label"
6234
+ },
6235
+ conditionals: [
6236
+ {
6237
+ type: ConditionalType.ENABLE,
6238
+ conditional: never()
6239
+ },
6240
+ {
6241
+ type: ConditionalType.SHOW,
6242
+ conditional: not(field("identity.certificateId").isFalsy())
6243
+ }
6244
+ ],
6245
+ configuration: {
6246
+ icon: "Check",
6247
+ text: {
6248
+ defaultMessage: "Certificate ready",
6249
+ description: "Certificate ready",
6250
+ id: "event.digital-identity.certificate.ready.text"
6251
+ }
6252
+ }
6253
+ },
6254
+ {
6255
+ id: "identity.certificateId",
6256
+ type: FieldType.TEXT,
6257
+ parent: field("identity.http-fetch"),
6258
+ label: {
6259
+ defaultMessage: "Certificate ID",
6260
+ description: "Issued digital identity certificate identifier",
6261
+ id: "event.digital-identity.certificate.id.label"
6262
+ },
6263
+ conditionals: [
6264
+ {
6265
+ type: ConditionalType.ENABLE,
6266
+ conditional: never()
6267
+ }
6268
+ ],
6269
+ value: field("identity.http-fetch").get("data.certificateId")
6270
+ }
6271
+ ]
6272
+ }
6273
+ ]
6274
+ });
6275
+ var digitalIdentityForm = defineDeclarationForm({
6276
+ label: {
6277
+ id: "event.digital-identity.action.declare.form.label",
6278
+ defaultMessage: "Digital identity issuance",
6279
+ description: "This is what this form is referred as in the system"
6280
+ },
6281
+ pages: [
6282
+ {
6283
+ id: "subject",
6284
+ title: {
6285
+ id: "event.digital-identity.action.declare.form.section.who.title",
6286
+ defaultMessage: "Who is the digital identity issued to?",
6287
+ description: "This is the title of the section"
6288
+ },
6289
+ fields: [
6290
+ {
6291
+ id: "subject.firstname",
6292
+ type: FieldType.TEXT,
6293
+ required: true,
6294
+ conditionals: [],
6295
+ label: {
6296
+ defaultMessage: "Subject's first name",
6297
+ description: "This is the label for the field",
6298
+ id: "event.digital-identity.action.declare.form.section.who.field.firstname.label"
6299
+ }
6300
+ },
6301
+ {
6302
+ id: "subject.surname",
6303
+ type: FieldType.TEXT,
6304
+ required: true,
6305
+ conditionals: [],
6306
+ label: {
6307
+ defaultMessage: "Subject's surname",
6308
+ description: "This is the label for the field",
6309
+ id: "event.digital-identity.action.declare.form.section.who.field.surname.label"
6310
+ }
6311
+ }
6312
+ ]
6313
+ }
6314
+ ]
6315
+ });
6316
+ var digitalIdentityEvent = defineConfig({
6317
+ id: "digital-identity",
6318
+ label: {
6319
+ defaultMessage: "Digital identity issuance",
6320
+ description: "This is what this event is referred as in the system",
6321
+ id: "event.digital-identity.label"
6322
+ },
6323
+ title: {
6324
+ defaultMessage: "{subject.firstname} {subject.surname}",
6325
+ description: "This is the title of the summary",
6326
+ id: "event.digital-identity.title"
6327
+ },
6328
+ summary: { fields: [] },
6329
+ actions: [
6330
+ {
6331
+ type: ActionType.PRINT_CERTIFICATE,
6332
+ label: {
6333
+ id: "event.football-club-membership.action.collect-certificate.label",
6334
+ defaultMessage: "Print certificate",
6335
+ description: "This is shown as the action name anywhere the user can trigger the action from"
6336
+ },
6337
+ printForm: PRINT_DIGITAL_ID_CERTIFICATE_FORM
6338
+ }
6339
+ ],
6340
+ declaration: digitalIdentityForm
6341
+ });
6342
+
6127
6343
  // ../commons/src/events/test.utils.ts
6128
6344
  var import_zod35 = require("zod");
6129
6345
  var TestUserRole = import_zod35.z.enum([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.9.3",
3
+ "version": "1.9.4-rc.31fc4cc",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {