From dfdb550cdc01f904102f18e3d0a33ec1aabefd99 Mon Sep 17 00:00:00 2001
From: Jan Loewe <jan.loewe@ptb.de>
Date: Tue, 14 Feb 2023 13:47:15 +0100
Subject: [PATCH] feat(calibrationLaboratoryType): add cryptElectronicSeal,
 cryptElectronicSignature and cryptElectronicTimeStamp

---
 src/DCC.ts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/DCC.ts b/src/DCC.ts
index d7226bb..767ca96 100644
--- a/src/DCC.ts
+++ b/src/DCC.ts
@@ -248,11 +248,17 @@ export class ItemListType extends DCCXMLElement {
 export class CalibrationLaboratoryType extends DCCXMLElement {
   calibrationLaboratoryCode?: DCCXMLElement;
   contact: ContactType;
+  cryptElectronicSeal?: DCCXMLBoolean;
+  cryptElectronicSignature?: DCCXMLBoolean;
+  cryptElectronicTimeStamp?: DCCXMLBoolean;
 
   constructor(el: Partial<CalibrationLaboratoryType> = {}) {
     super(el);
     if (el.calibrationLaboratoryCode) this.calibrationLaboratoryCode = new DCCXMLElement(el.calibrationLaboratoryCode);
     this.contact = new ContactType(el.contact);
+    if (el.cryptElectronicSeal) this.cryptElectronicSeal = new DCCXMLBoolean(el.cryptElectronicSeal);
+    if (el.cryptElectronicSignature) this.cryptElectronicSignature = new DCCXMLBoolean(el.cryptElectronicSignature);
+    if (el.cryptElectronicTimeStamp) this.cryptElectronicTimeStamp = new DCCXMLBoolean(el.cryptElectronicTimeStamp);
   }
 }
 
-- 
GitLab