@opencrvs/toolkit 1.9.3-rc.9543cc3 → 1.9.3-rc.95a4a00

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: {
@@ -7898,6 +7898,220 @@ var v2BirthEvent = defineConfig({
7898
7898
  advancedSearch: []
7899
7899
  });
7900
7900
 
7901
+ // ../commons/src/fixtures/digital-identity-issuance-event.ts
7902
+ var PRINT_DIGITAL_ID_CERTIFICATE_FORM = defineActionForm({
7903
+ label: {
7904
+ id: "event.digital-identity.action.certificate.form.label",
7905
+ defaultMessage: "Digital identity certificate printer",
7906
+ description: "This is what this form is referred as in the system"
7907
+ },
7908
+ pages: [
7909
+ {
7910
+ id: "collector",
7911
+ type: PageTypes.enum.FORM,
7912
+ title: {
7913
+ id: "event.tennis-club-membership.action.certificate.form.section.who.title",
7914
+ defaultMessage: "Print certified copy",
7915
+ description: "This is the title of the section"
7916
+ },
7917
+ fields: [
7918
+ {
7919
+ id: "identity.http-fetch",
7920
+ type: FieldType.HTTP,
7921
+ label: {
7922
+ defaultMessage: "Digital identity certificate",
7923
+ description: "Fetch printable digital identity certificate",
7924
+ id: "event.digital-identity.certificate.fetch.label"
7925
+ },
7926
+ configuration: {
7927
+ trigger: field("identity.http-button"),
7928
+ url: "/api/digital-identity/certificate",
7929
+ timeout: 5e3,
7930
+ method: "POST",
7931
+ headers: {
7932
+ "Content-Type": "application/json"
7933
+ },
7934
+ body: {
7935
+ subjectId: "$event.subject.id"
7936
+ }
7937
+ }
7938
+ },
7939
+ {
7940
+ id: "identity.http-button",
7941
+ type: FieldType.BUTTON,
7942
+ label: {
7943
+ defaultMessage: "Certificate",
7944
+ description: "Certificate",
7945
+ id: "event.digital-identity.certificate.button.label"
7946
+ },
7947
+ conditionals: [
7948
+ {
7949
+ type: ConditionalType.ENABLE,
7950
+ conditional: and(
7951
+ field("identity.http-fetch").isUndefined(),
7952
+ user.isOnline()
7953
+ )
7954
+ },
7955
+ {
7956
+ type: ConditionalType.SHOW,
7957
+ conditional: and(
7958
+ field("identity.http-fetch").get("loading").isFalsy(),
7959
+ field("identity.http-fetch").get("data").isFalsy()
7960
+ )
7961
+ }
7962
+ ],
7963
+ configuration: {
7964
+ icon: "IdentificationCard",
7965
+ text: {
7966
+ defaultMessage: "Fetch certificate",
7967
+ description: "Fetch certificate",
7968
+ id: "event.digital-identity.certificate.fetch.text"
7969
+ }
7970
+ }
7971
+ },
7972
+ {
7973
+ id: "identity.http-button",
7974
+ type: FieldType.BUTTON,
7975
+ label: {
7976
+ defaultMessage: "Certificate",
7977
+ description: "Certificate",
7978
+ id: "event.digital-identity.certificate.button.label"
7979
+ },
7980
+ conditionals: [
7981
+ {
7982
+ type: ConditionalType.ENABLE,
7983
+ conditional: never()
7984
+ },
7985
+ {
7986
+ type: ConditionalType.SHOW,
7987
+ conditional: field("identity.http-fetch").get("loading").isEqualTo(true)
7988
+ }
7989
+ ],
7990
+ configuration: {
7991
+ loading: true,
7992
+ text: {
7993
+ defaultMessage: "Fetching certificate\u2026",
7994
+ description: "Fetching certificate\u2026",
7995
+ id: "event.digital-identity.certificate.fetching.text"
7996
+ }
7997
+ }
7998
+ },
7999
+ {
8000
+ id: "identity.http-button",
8001
+ type: FieldType.BUTTON,
8002
+ label: {
8003
+ defaultMessage: "Certificate",
8004
+ description: "Certificate",
8005
+ id: "event.digital-identity.certificate.button.label"
8006
+ },
8007
+ conditionals: [
8008
+ {
8009
+ type: ConditionalType.ENABLE,
8010
+ conditional: never()
8011
+ },
8012
+ {
8013
+ type: ConditionalType.SHOW,
8014
+ conditional: not(field("identity.certificateId").isFalsy())
8015
+ }
8016
+ ],
8017
+ configuration: {
8018
+ icon: "Check",
8019
+ text: {
8020
+ defaultMessage: "Certificate ready",
8021
+ description: "Certificate ready",
8022
+ id: "event.digital-identity.certificate.ready.text"
8023
+ }
8024
+ }
8025
+ },
8026
+ {
8027
+ id: "identity.certificateId",
8028
+ type: FieldType.TEXT,
8029
+ parent: field("identity.http-fetch"),
8030
+ label: {
8031
+ defaultMessage: "Certificate ID",
8032
+ description: "Issued digital identity certificate identifier",
8033
+ id: "event.digital-identity.certificate.id.label"
8034
+ },
8035
+ conditionals: [
8036
+ {
8037
+ type: ConditionalType.ENABLE,
8038
+ conditional: never()
8039
+ }
8040
+ ],
8041
+ value: field("identity.http-fetch").get("data.certificateId")
8042
+ }
8043
+ ]
8044
+ }
8045
+ ]
8046
+ });
8047
+ var digitalIdentityForm = defineDeclarationForm({
8048
+ label: {
8049
+ id: "event.digital-identity.action.declare.form.label",
8050
+ defaultMessage: "Digital identity issuance",
8051
+ description: "This is what this form is referred as in the system"
8052
+ },
8053
+ pages: [
8054
+ {
8055
+ id: "subject",
8056
+ title: {
8057
+ id: "event.digital-identity.action.declare.form.section.who.title",
8058
+ defaultMessage: "Who is the digital identity issued to?",
8059
+ description: "This is the title of the section"
8060
+ },
8061
+ fields: [
8062
+ {
8063
+ id: "subject.firstname",
8064
+ type: FieldType.TEXT,
8065
+ required: true,
8066
+ conditionals: [],
8067
+ label: {
8068
+ defaultMessage: "Subject's first name",
8069
+ description: "This is the label for the field",
8070
+ id: "event.digital-identity.action.declare.form.section.who.field.firstname.label"
8071
+ }
8072
+ },
8073
+ {
8074
+ id: "subject.surname",
8075
+ type: FieldType.TEXT,
8076
+ required: true,
8077
+ conditionals: [],
8078
+ label: {
8079
+ defaultMessage: "Subject's surname",
8080
+ description: "This is the label for the field",
8081
+ id: "event.digital-identity.action.declare.form.section.who.field.surname.label"
8082
+ }
8083
+ }
8084
+ ]
8085
+ }
8086
+ ]
8087
+ });
8088
+ var digitalIdentityEvent = defineConfig({
8089
+ id: "digital-identity",
8090
+ label: {
8091
+ defaultMessage: "Digital identity issuance",
8092
+ description: "This is what this event is referred as in the system",
8093
+ id: "event.digital-identity.label"
8094
+ },
8095
+ title: {
8096
+ defaultMessage: "{subject.firstname} {subject.surname}",
8097
+ description: "This is the title of the summary",
8098
+ id: "event.digital-identity.title"
8099
+ },
8100
+ summary: { fields: [] },
8101
+ actions: [
8102
+ {
8103
+ type: ActionType.PRINT_CERTIFICATE,
8104
+ label: {
8105
+ id: "event.football-club-membership.action.collect-certificate.label",
8106
+ defaultMessage: "Print certificate",
8107
+ description: "This is shown as the action name anywhere the user can trigger the action from"
8108
+ },
8109
+ printForm: PRINT_DIGITAL_ID_CERTIFICATE_FORM
8110
+ }
8111
+ ],
8112
+ declaration: digitalIdentityForm
8113
+ });
8114
+
7901
8115
  // ../commons/src/events/test.utils.ts
7902
8116
  var import_zod35 = require("zod");
7903
8117
  var TEST_SYSTEM_IANA_TIMEZONE = "Asia/Dhaka";
@@ -7990,6 +8204,10 @@ function mapFieldTypeToMockValue(field3, i, rng) {
7990
8204
  case FieldType.OFFICE:
7991
8205
  case FieldType.LINK_BUTTON:
7992
8206
  case FieldType.NUMBER_WITH_UNIT:
8207
+ return {
8208
+ numericValue: 4,
8209
+ unit: "Days"
8210
+ };
7993
8211
  case FieldType.LOADER:
7994
8212
  return `${field3.id}-${field3.type}-${i}`;
7995
8213
  case FieldType.VERIFICATION_STATUS:
@@ -6152,6 +6152,220 @@ var v2BirthEvent = defineConfig({
6152
6152
  advancedSearch: []
6153
6153
  });
6154
6154
 
6155
+ // ../commons/src/fixtures/digital-identity-issuance-event.ts
6156
+ var PRINT_DIGITAL_ID_CERTIFICATE_FORM = defineActionForm({
6157
+ label: {
6158
+ id: "event.digital-identity.action.certificate.form.label",
6159
+ defaultMessage: "Digital identity certificate printer",
6160
+ description: "This is what this form is referred as in the system"
6161
+ },
6162
+ pages: [
6163
+ {
6164
+ id: "collector",
6165
+ type: PageTypes.enum.FORM,
6166
+ title: {
6167
+ id: "event.tennis-club-membership.action.certificate.form.section.who.title",
6168
+ defaultMessage: "Print certified copy",
6169
+ description: "This is the title of the section"
6170
+ },
6171
+ fields: [
6172
+ {
6173
+ id: "identity.http-fetch",
6174
+ type: FieldType.HTTP,
6175
+ label: {
6176
+ defaultMessage: "Digital identity certificate",
6177
+ description: "Fetch printable digital identity certificate",
6178
+ id: "event.digital-identity.certificate.fetch.label"
6179
+ },
6180
+ configuration: {
6181
+ trigger: field("identity.http-button"),
6182
+ url: "/api/digital-identity/certificate",
6183
+ timeout: 5e3,
6184
+ method: "POST",
6185
+ headers: {
6186
+ "Content-Type": "application/json"
6187
+ },
6188
+ body: {
6189
+ subjectId: "$event.subject.id"
6190
+ }
6191
+ }
6192
+ },
6193
+ {
6194
+ id: "identity.http-button",
6195
+ type: FieldType.BUTTON,
6196
+ label: {
6197
+ defaultMessage: "Certificate",
6198
+ description: "Certificate",
6199
+ id: "event.digital-identity.certificate.button.label"
6200
+ },
6201
+ conditionals: [
6202
+ {
6203
+ type: ConditionalType.ENABLE,
6204
+ conditional: and(
6205
+ field("identity.http-fetch").isUndefined(),
6206
+ user.isOnline()
6207
+ )
6208
+ },
6209
+ {
6210
+ type: ConditionalType.SHOW,
6211
+ conditional: and(
6212
+ field("identity.http-fetch").get("loading").isFalsy(),
6213
+ field("identity.http-fetch").get("data").isFalsy()
6214
+ )
6215
+ }
6216
+ ],
6217
+ configuration: {
6218
+ icon: "IdentificationCard",
6219
+ text: {
6220
+ defaultMessage: "Fetch certificate",
6221
+ description: "Fetch certificate",
6222
+ id: "event.digital-identity.certificate.fetch.text"
6223
+ }
6224
+ }
6225
+ },
6226
+ {
6227
+ id: "identity.http-button",
6228
+ type: FieldType.BUTTON,
6229
+ label: {
6230
+ defaultMessage: "Certificate",
6231
+ description: "Certificate",
6232
+ id: "event.digital-identity.certificate.button.label"
6233
+ },
6234
+ conditionals: [
6235
+ {
6236
+ type: ConditionalType.ENABLE,
6237
+ conditional: never()
6238
+ },
6239
+ {
6240
+ type: ConditionalType.SHOW,
6241
+ conditional: field("identity.http-fetch").get("loading").isEqualTo(true)
6242
+ }
6243
+ ],
6244
+ configuration: {
6245
+ loading: true,
6246
+ text: {
6247
+ defaultMessage: "Fetching certificate\u2026",
6248
+ description: "Fetching certificate\u2026",
6249
+ id: "event.digital-identity.certificate.fetching.text"
6250
+ }
6251
+ }
6252
+ },
6253
+ {
6254
+ id: "identity.http-button",
6255
+ type: FieldType.BUTTON,
6256
+ label: {
6257
+ defaultMessage: "Certificate",
6258
+ description: "Certificate",
6259
+ id: "event.digital-identity.certificate.button.label"
6260
+ },
6261
+ conditionals: [
6262
+ {
6263
+ type: ConditionalType.ENABLE,
6264
+ conditional: never()
6265
+ },
6266
+ {
6267
+ type: ConditionalType.SHOW,
6268
+ conditional: not(field("identity.certificateId").isFalsy())
6269
+ }
6270
+ ],
6271
+ configuration: {
6272
+ icon: "Check",
6273
+ text: {
6274
+ defaultMessage: "Certificate ready",
6275
+ description: "Certificate ready",
6276
+ id: "event.digital-identity.certificate.ready.text"
6277
+ }
6278
+ }
6279
+ },
6280
+ {
6281
+ id: "identity.certificateId",
6282
+ type: FieldType.TEXT,
6283
+ parent: field("identity.http-fetch"),
6284
+ label: {
6285
+ defaultMessage: "Certificate ID",
6286
+ description: "Issued digital identity certificate identifier",
6287
+ id: "event.digital-identity.certificate.id.label"
6288
+ },
6289
+ conditionals: [
6290
+ {
6291
+ type: ConditionalType.ENABLE,
6292
+ conditional: never()
6293
+ }
6294
+ ],
6295
+ value: field("identity.http-fetch").get("data.certificateId")
6296
+ }
6297
+ ]
6298
+ }
6299
+ ]
6300
+ });
6301
+ var digitalIdentityForm = defineDeclarationForm({
6302
+ label: {
6303
+ id: "event.digital-identity.action.declare.form.label",
6304
+ defaultMessage: "Digital identity issuance",
6305
+ description: "This is what this form is referred as in the system"
6306
+ },
6307
+ pages: [
6308
+ {
6309
+ id: "subject",
6310
+ title: {
6311
+ id: "event.digital-identity.action.declare.form.section.who.title",
6312
+ defaultMessage: "Who is the digital identity issued to?",
6313
+ description: "This is the title of the section"
6314
+ },
6315
+ fields: [
6316
+ {
6317
+ id: "subject.firstname",
6318
+ type: FieldType.TEXT,
6319
+ required: true,
6320
+ conditionals: [],
6321
+ label: {
6322
+ defaultMessage: "Subject's first name",
6323
+ description: "This is the label for the field",
6324
+ id: "event.digital-identity.action.declare.form.section.who.field.firstname.label"
6325
+ }
6326
+ },
6327
+ {
6328
+ id: "subject.surname",
6329
+ type: FieldType.TEXT,
6330
+ required: true,
6331
+ conditionals: [],
6332
+ label: {
6333
+ defaultMessage: "Subject's surname",
6334
+ description: "This is the label for the field",
6335
+ id: "event.digital-identity.action.declare.form.section.who.field.surname.label"
6336
+ }
6337
+ }
6338
+ ]
6339
+ }
6340
+ ]
6341
+ });
6342
+ var digitalIdentityEvent = defineConfig({
6343
+ id: "digital-identity",
6344
+ label: {
6345
+ defaultMessage: "Digital identity issuance",
6346
+ description: "This is what this event is referred as in the system",
6347
+ id: "event.digital-identity.label"
6348
+ },
6349
+ title: {
6350
+ defaultMessage: "{subject.firstname} {subject.surname}",
6351
+ description: "This is the title of the summary",
6352
+ id: "event.digital-identity.title"
6353
+ },
6354
+ summary: { fields: [] },
6355
+ actions: [
6356
+ {
6357
+ type: ActionType.PRINT_CERTIFICATE,
6358
+ label: {
6359
+ id: "event.football-club-membership.action.collect-certificate.label",
6360
+ defaultMessage: "Print certificate",
6361
+ description: "This is shown as the action name anywhere the user can trigger the action from"
6362
+ },
6363
+ printForm: PRINT_DIGITAL_ID_CERTIFICATE_FORM
6364
+ }
6365
+ ],
6366
+ declaration: digitalIdentityForm
6367
+ });
6368
+
6155
6369
  // ../commons/src/events/test.utils.ts
6156
6370
  var import_zod35 = require("zod");
6157
6371
  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-rc.9543cc3",
3
+ "version": "1.9.3-rc.95a4a00",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {