@digitalservicebund/a2j-xjustiz-bridge 0.10.0 → 0.10.1

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.
@@ -50,6 +50,7 @@ declare const AntragCodeliste: {
50
50
  };
51
51
  //#endregion
52
52
  //#region src/xjustiz-schemata/xml-schema-definition/scalars.d.ts
53
+ type Date = Temporal.PlainDate;
53
54
  type DateTime = Temporal.Instant;
54
55
  type Double = number;
55
56
  //#endregion
@@ -2845,7 +2846,7 @@ type KyrillischeBuchstabenA3 = "Ѝ" | "А" | "Б" | "В" | "Г" | "Д" | "Е" |
2845
2846
  */
2846
2847
  type NichtBuchstabenE1 = "ƒ" | "ʰ" | "ʳ" | "ˆ" | "˜" | "ˢ" | "ᵈ" | "ᵗ" | "‘" | "‚" | "“" | "”" | "„" | "†" | "…" | "‰" | "‹" | "›" | "⁰" | "⁴" | "⁵" | "⁶" | "⁷" | "⁸" | "⁹" | "ⁿ" | "₀" | "₁" | "₂" | "₃" | "₄" | "₅" | "₆" | "₇" | "₈" | "₉" | "™" | "∞" | "≤" | "≥";
2847
2848
  //#endregion
2848
- //#region src/xjustiz-schemata/din-91379/datatypeA.d.ts
2849
+ //#region src/xjustiz-schemata/din-91379/datatype-a.d.ts
2849
2850
  declare const TAG$12: unique symbol;
2850
2851
  /**
2851
2852
  * Datatype A of the DIN 91379 norm. A string with restricted character set.
@@ -2909,7 +2910,7 @@ declare function join(separator: DatatypeA, ...segments: readonly (DatatypeA | u
2909
2910
  type DatatypeACharacterIncomplete = LateinischeBuchstabenIncomplete | NichtBuchstabenN1;
2910
2911
  type GuaranteedInvalidCharacter = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "#" | "$" | "%" | "&" | "*" | "+" | "/" | "<" | "=" | ">" | "@" | "\\" | "^" | "_" | "|" | "!" | '"' | "(" | ")" | ":" | ";" | "?" | "[" | "]" | "{" | "}";
2911
2912
  //#endregion
2912
- //#region src/xjustiz-schemata/din-91379/datatypeB.d.ts
2913
+ //#region src/xjustiz-schemata/din-91379/datatype-b.d.ts
2913
2914
  declare const TAG$11: unique symbol;
2914
2915
  /**
2915
2916
  * Datatype B of the DIN 91379 norm. A string with restricted character set.
@@ -2973,7 +2974,7 @@ declare const datatypeB: RefinedTypeFactory<string, DatatypeB, <Value extends st
2973
2974
  declare function join$1(separator: DatatypeA | DatatypeB, ...segments: readonly (DatatypeA | DatatypeB | undefined)[]): DatatypeB;
2974
2975
  type DatatypeBCharacterIncomplete = LateinischeBuchstabenIncomplete | NichtBuchstabenN1 | NichtBuchstabenN2;
2975
2976
  //#endregion
2976
- //#region src/xjustiz-schemata/din-91379/datatypeC.d.ts
2977
+ //#region src/xjustiz-schemata/din-91379/datatype-c.d.ts
2977
2978
  declare const TAG$10: unique symbol;
2978
2979
  /**
2979
2980
  * Datatype C of the DIN 91379 norm. A string with restricted character set.
@@ -3039,7 +3040,7 @@ declare const datatypeC: RefinedTypeFactory<string, DatatypeC, <Value extends st
3039
3040
  */
3040
3041
  declare function join$2(separator: DatatypeA | DatatypeB | DatatypeC, ...segments: readonly (DatatypeA | DatatypeB | DatatypeC | undefined)[]): DatatypeC;
3041
3042
  //#endregion
3042
- //#region src/xjustiz-schemata/din-91379/datatypeD.d.ts
3043
+ //#region src/xjustiz-schemata/din-91379/datatype-d.d.ts
3043
3044
  declare const TAG$9: unique symbol;
3044
3045
  /**
3045
3046
  * Datatype D of the DIN 91379 norm. A string with restricted character set.
@@ -3163,6 +3164,10 @@ interface Reference<Identifier extends IdentifierDeclaration> {
3163
3164
  readonly [IDENTIFIER_REFERENCE_MARKER]: Identifier;
3164
3165
  }
3165
3166
  declare const IDENTIFIER_REFERENCE_MARKER: unique symbol;
3167
+ /**
3168
+ * Wraps a given declaration of an `Identifier` to be used as a {@link Reference}.
3169
+ */
3170
+ declare function reference<Identifier extends IdentifierDeclaration>(identifier: Identifier): Reference<Identifier>;
3166
3171
  //#endregion
3167
3172
  //#region src/xjustiz-schemata/shared-kernel/scoping.d.ts
3168
3173
  /**
@@ -3429,8 +3434,37 @@ type BeweisNummerValue = PositiveInteger & {
3429
3434
  readonly [TAG$3]: "Use a generator instance to produce values, obtained by the `createBeweisNummerGenerator` factory.";
3430
3435
  };
3431
3436
  declare const TAG$3: unique symbol;
3437
+ /**
3438
+ * Factory to obtain an identifier generator to produce {@link BeweisNummer}
3439
+ * values.
3440
+ *
3441
+ * Generators are automatically scoped singletons. Multiple factory calls for the
3442
+ * same scope result in the exact same generator instance.
3443
+ *
3444
+ * @example
3445
+ * ```typescript
3446
+ * withScope((scope) => {
3447
+ * const beweisNummer = createBeweisNummerGenerator(scope);
3448
+ * const beweisNummerFuerZeugen = beweisNummer.first();
3449
+ * const beweis = {
3450
+ * beweisNummer: beweisNummerFuerZeugen,
3451
+ * // ...
3452
+ * }
3453
+ * })
3454
+ * ```
3455
+ */
3456
+ declare function createBeweisNummerGenerator<NachrichtenScope>(scope: ScopeToken<NachrichtenScope>): BeweisNummerGenerator<NachrichtenScope>;
3457
+ /**
3458
+ * **ATTENTION:**
3459
+ * Incrementing ordinals for generated identifiers are currently turned off,
3460
+ * because of technical limitations to enable dynamic input lists.
3461
+ */
3462
+ interface BeweisNummerGenerator<NachrichtenScope> {
3463
+ first: () => BeweisNummer<NachrichtenScope>;
3464
+ next: <Ordinal extends number>(previous: BeweisNummer<NachrichtenScope, Ordinal>) => BeweisNummer<NachrichtenScope>;
3465
+ }
3432
3466
  //#endregion
3433
- //#region src/xjustiz-schemata/din-91379/datatypeE.d.ts
3467
+ //#region src/xjustiz-schemata/din-91379/datatype-e.d.ts
3434
3468
  declare const TAG$2: unique symbol;
3435
3469
  /**
3436
3470
  * Datatype E of the DIN 91379 norm. A string with restricted character set.
@@ -4044,4 +4078,4 @@ declare namespace index_d_exports {
4044
4078
  export { antragAufAnwaltskosten, antragAufVersaeumnisurteil, email, geldbetrag, herstellerinformation, nachrichtenkopf, parteivernehmung, telefon, weitererAntrag, zeuge };
4045
4079
  }
4046
4080
  //#endregion
4047
- export { type AnspruchFuerZahlungsklage, Anspruchsart, type AntraegeFuerZahlungsklage, type AntragAufAnwaltskosten, type AntragAufVersaeumnisurteil, AntragCodeliste, type AusfuehrungenFuerZahlungsklage, type BegruendetheitFuerZahlungsklage, type BeklagteOrganisation, type BeklagtePerson, type Beklagter, type DatatypeA, type DatatypeB, type DatatypeC, type DatatypeD, type DatatypeE, type Decimal, Gerichte, Geschlecht, type GesetzlicherVertreter, type GrunddatenFuerZahlungsklage, Kanzleiform, type Klaeger, type NachrichtenkopfFuerZahlungsklage, type Prozessbevollmaechtiger, Rollenbezeichnung, type ScopeToken, type SonstigerAntragFuerZahlungsklage, Staaten, Telekommunikationsart, type VortragZurBegruendetheitFuerZahlungsklage, Waehrung, type WeitererAntrag, type Zahlungsklage, type Zeuge, Zinsmethode, createFortlaufendeNummerGenerator, createRollennummerGenerator, createUuidGenerator, datatypeA, datatypeB, datatypeC, datatypeD, datatypeE, decimal, index_d_exports as ergonomics, join as joinDatatyeA, join$1 as joinDatatyeB, join$2 as joinDatatyeC, join$3 as joinDatatyeD, join$4 as joinDatatyeE, verifyZahlungsklage, zahlungsklage };
4081
+ export { type Anschrift, type AnspruchFuerZahlungsklage, Anspruchsart, type AntraegeFuerZahlungsklage, type AntragAufAnwaltskosten, type AntragAufVersaeumnisurteil, AntragCodeliste, type AusfuehrungenFuerZahlungsklage, type Bankverbindung, type BegruendetheitFuerZahlungsklage, type BeklagteOrganisation, type BeklagtePerson, type Beklagter, type Beweis, type BeweisNummer, type DatatypeA, type DatatypeB, type DatatypeC, type DatatypeD, type DatatypeE, type Date, type DateTime, type Decimal, type Double, type FortlaufendeNummer, type Geldbetrag, Gerichte, Geschlecht, type GesetzlicherVertreter, type GrunddatenFuerZahlungsklage, Kanzleiform, type Klaeger, type Kommunikation, type NachrichtenkopfFuerZahlungsklage, type NatuerlichePerson, type Organisation, type Prozessbevollmaechtiger, type RAKanzlei, type RefRollennummer, type Reference, Rollenbezeichnung, type Rollennummer, type ScopeToken, type SonstigerAntragFuerZahlungsklage, Staaten, Telekommunikationsart, type UUID, type VortragZurBegruendetheitFuerZahlungsklage, Waehrung, type WeitererAntrag, type Zahlungsklage, type Zeuge, Zinsmethode, createBeweisNummerGenerator, createFortlaufendeNummerGenerator, createRollennummerGenerator, createUuidGenerator, datatypeA, datatypeB, datatypeC, datatypeD, datatypeE, decimal, index_d_exports as ergonomics, join as joinDatatyeA, join$1 as joinDatatyeB, join$2 as joinDatatyeC, join$3 as joinDatatyeD, join$4 as joinDatatyeE, reference, verifyZahlungsklage, zahlungsklage };
@@ -2638,7 +2638,7 @@ function herstellerinformation() {
2638
2638
  return {
2639
2639
  nameDesProdukts: "Justizportal XJustiz Services",
2640
2640
  herstellerDesProdukts: "Bundesministerium der Justiz und für Verbraucherschutz, ausgeführt durch DigitalService GmbH des Bundes",
2641
- version: "\"0.10.0\""
2641
+ version: "\"0.10.1\""
2642
2642
  };
2643
2643
  }
2644
2644
  //#endregion
@@ -2805,7 +2805,7 @@ function addExplicitLineMatching(pattern) {
2805
2805
  return `^${pattern}$`;
2806
2806
  }
2807
2807
  //#endregion
2808
- //#region src/xjustiz-schemata/din-91379/datatypeA.ts
2808
+ //#region src/xjustiz-schemata/din-91379/datatype-a.ts
2809
2809
  function parseDatatypeA(issueMessages = DEFAULT_ISSUE_MESSAGES$6) {
2810
2810
  return function parse(input) {
2811
2811
  const composedUnicodeInput = input.normalize("NFC");
@@ -2866,7 +2866,7 @@ function join(separator, ...segments) {
2866
2866
  }
2867
2867
  const DATATYPE_A_PATTERN = transformXsdPatternToJavaScriptExpression(String.raw`(&#x0020;|&#x0027;|[&#x002C;-\&#x002E;]|[&#x0041;-&#x005A;]|[&#x0060;-&#x007A;]|&#x007E;|&#x00A8;|&#x00B4;|&#x00B7;|[&#x00C0;-&#x00D6;]|[&#x00D8;-&#x00F6;]|[&#x00F8;-&#x017E;]|[&#x0187;-&#x0188;]|&#x018F;|&#x0197;|[&#x01A0;-&#x01A1;]|[&#x01AF;-&#x01B0;]|&#x01B7;|[&#x01CD;-&#x01DC;]|[&#x01DE;-&#x01DF;]|[&#x01E2;-&#x01F0;]|[&#x01F4;-&#x01F5;]|[&#x01F8;-&#x01FF;]|[&#x0212;-&#x0213;]|[&#x0218;-&#x021B;]|[&#x021E;-&#x021F;]|[&#x0227;-&#x0233;]|&#x0259;|&#x0268;|&#x0292;|[&#x02B9;-&#x02BA;]|[&#x02BE;-&#x02BF;]|&#x02C8;|&#x02CC;|[&#x1E02;-&#x1E03;]|[&#x1E06;-&#x1E07;]|[&#x1E0A;-&#x1E11;]|&#x1E17;|[&#x1E1C;-&#x1E2B;]|[&#x1E2F;-&#x1E37;]|[&#x1E3A;-&#x1E3B;]|[&#x1E40;-&#x1E49;]|[&#x1E52;-&#x1E5B;]|[&#x1E5E;-&#x1E63;]|[&#x1E6A;-&#x1E6F;]|[&#x1E80;-&#x1E87;]|[&#x1E8C;-&#x1E97;]|&#x1E9E;|[&#x1EA0;-&#x1EF9;]|&#x2019;|&#x2021;|&#x0041;&#x030B;|&#x0043;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0315;|&#x0323;|&#x0326;|&#x0328;&#x0306;)|&#x0044;&#x0302;|&#x0046;(&#x0300;|&#x0304;)|&#x0047;&#x0300;|&#x0048;(&#x0304;|&#x0326;|&#x0331;)|&#x004A;(&#x0301;|&#x030C;)|&#x004B;(&#x0300;|&#x0302;|&#x0304;|&#x0307;|&#x0315;|&#x031B;|&#x0326;|&#x035F;&#x0048;|&#x035F;&#x0068;)|&#x004C;(&#x0302;|&#x0325;|&#x0325;&#x0304;|&#x0326;)|&#x004D;(&#x0300;|&#x0302;|&#x0306;|&#x0310;)|&#x004E;(&#x0302;|&#x0304;|&#x0306;|&#x0326;)|&#x0050;(&#x0300;|&#x0304;|&#x0315;|&#x0323;)|&#x0052;(&#x0306;|&#x0325;|&#x0325;&#x0304;)|&#x0053;(&#x0300;|&#x0304;|&#x031B;&#x0304;|&#x0331;)|&#x0054;(&#x0300;|&#x0304;|&#x0308;|&#x0315;|&#x031B;)|&#x0055;&#x0307;|&#x005A;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0327;)|&#x0061;&#x030B;|&#x0063;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0315;|&#x0323;|&#x0326;|&#x0328;&#x0306;)|&#x0064;&#x0302;|&#x0066;(&#x0300;|&#x0304;)|&#x0067;&#x0300;|&#x0068;(&#x0304;|&#x0326;)|&#x006A;&#x0301;|&#x006B;(&#x0300;|&#x0302;|&#x0304;|&#x0307;|&#x0315;|&#x031B;|&#x0326;|&#x035F;&#x0068;)|&#x006C;(&#x0302;|&#x0325;|&#x0325;&#x0304;|&#x0326;)|&#x006D;(&#x0300;|&#x0302;|&#x0306;|&#x0310;)|&#x006E;(&#x0302;|&#x0304;|&#x0306;|&#x0326;)|&#x0070;(&#x0300;|&#x0304;|&#x0315;|&#x0323;)|&#x0072;(&#x0306;|&#x0325;|&#x0325;&#x0304;)|&#x0073;(&#x0300;|&#x0304;|&#x031B;&#x0304;|&#x0331;)|&#x0074;(&#x0300;|&#x0304;|&#x0315;|&#x031B;)|&#x0075;&#x0307;|&#x007A;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0327;)|&#x00C7;&#x0306;|&#x00DB;&#x0304;|&#x00E7;&#x0306;|&#x00FB;&#x0304;|&#x00FF;&#x0301;|&#x010C;(&#x0315;|&#x0323;)|&#x010D;(&#x0315;|&#x0323;)|&#x0113;&#x030D;|&#x012A;&#x0301;|&#x012B;&#x0301;|&#x014D;&#x030D;|&#x017D;(&#x0326;|&#x0327;)|&#x017E;(&#x0326;|&#x0327;)|&#x1E32;&#x0304;|&#x1E33;&#x0304;|&#x1E62;&#x0304;|&#x1E63;&#x0304;|&#x1E6C;&#x0304;|&#x1E6D;&#x0304;|&#x1EA0;&#x0308;|&#x1EA1;&#x0308;|&#x1ECC;&#x0308;|&#x1ECD;&#x0308;|&#x1EE4;(&#x0304;|&#x0308;)|&#x1EE5;(&#x0304;|&#x0308;))*`);
2868
2868
  //#endregion
2869
- //#region src/xjustiz-schemata/din-91379/datatypeB.ts
2869
+ //#region src/xjustiz-schemata/din-91379/datatype-b.ts
2870
2870
  function parseDatatypeB(issueMessages = DEFAULT_ISSUE_MESSAGES$5) {
2871
2871
  return function parse(input) {
2872
2872
  const composedUnicodeInput = input.normalize("NFC");
@@ -2927,7 +2927,7 @@ function join$1(separator, ...segments) {
2927
2927
  }
2928
2928
  const DATATYPE_B_PATTERN = transformXsdPatternToJavaScriptExpression(String.raw`([&#x0020;-&#x007E;]|[&#x00A1;-&#x00A3;]|&#x00A5;|[&#x00A7;-&#x00AC;]|[&#x00AE;-&#x00B7;]|[&#x00B9;-&#x00BB;]|[&#x00BF;-&#x017E;]|[&#x0187;-&#x0188;]|&#x018F;|&#x0197;|[&#x01A0;-&#x01A1;]|[&#x01AF;-&#x01B0;]|&#x01B7;|[&#x01CD;-&#x01DC;]|[&#x01DE;-&#x01DF;]|[&#x01E2;-&#x01F0;]|[&#x01F4;-&#x01F5;]|[&#x01F8;-&#x01FF;]|[&#x0212;-&#x0213;]|[&#x0218;-&#x021B;]|[&#x021E;-&#x021F;]|[&#x0227;-&#x0233;]|&#x0259;|&#x0268;|&#x0292;|[&#x02B9;-&#x02BA;]|[&#x02BE;-&#x02BF;]|&#x02C8;|&#x02CC;|[&#x1E02;-&#x1E03;]|[&#x1E06;-&#x1E07;]|[&#x1E0A;-&#x1E11;]|&#x1E17;|[&#x1E1C;-&#x1E2B;]|[&#x1E2F;-&#x1E37;]|[&#x1E3A;-&#x1E3B;]|[&#x1E40;-&#x1E49;]|[&#x1E52;-&#x1E5B;]|[&#x1E5E;-&#x1E63;]|[&#x1E6A;-&#x1E6F;]|[&#x1E80;-&#x1E87;]|[&#x1E8C;-&#x1E97;]|&#x1E9E;|[&#x1EA0;-&#x1EF9;]|&#x2019;|&#x2021;|&#x20AC;|&#x0041;&#x030B;|&#x0043;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0315;|&#x0323;|&#x0326;|&#x0328;&#x0306;)|&#x0044;&#x0302;|&#x0046;(&#x0300;|&#x0304;)|&#x0047;&#x0300;|&#x0048;(&#x0304;|&#x0326;|&#x0331;)|&#x004A;(&#x0301;|&#x030C;)|&#x004B;(&#x0300;|&#x0302;|&#x0304;|&#x0307;|&#x0315;|&#x031B;|&#x0326;|&#x035F;&#x0048;|&#x035F;&#x0068;)|&#x004C;(&#x0302;|&#x0325;|&#x0325;&#x0304;|&#x0326;)|&#x004D;(&#x0300;|&#x0302;|&#x0306;|&#x0310;)|&#x004E;(&#x0302;|&#x0304;|&#x0306;|&#x0326;)|&#x0050;(&#x0300;|&#x0304;|&#x0315;|&#x0323;)|&#x0052;(&#x0306;|&#x0325;|&#x0325;&#x0304;)|&#x0053;(&#x0300;|&#x0304;|&#x031B;&#x0304;|&#x0331;)|&#x0054;(&#x0300;|&#x0304;|&#x0308;|&#x0315;|&#x031B;)|&#x0055;&#x0307;|&#x005A;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0327;)|&#x0061;&#x030B;|&#x0063;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0315;|&#x0323;|&#x0326;|&#x0328;&#x0306;)|&#x0064;&#x0302;|&#x0066;(&#x0300;|&#x0304;)|&#x0067;&#x0300;|&#x0068;(&#x0304;|&#x0326;)|&#x006A;&#x0301;|&#x006B;(&#x0300;|&#x0302;|&#x0304;|&#x0307;|&#x0315;|&#x031B;|&#x0326;|&#x035F;&#x0068;)|&#x006C;(&#x0302;|&#x0325;|&#x0325;&#x0304;|&#x0326;)|&#x006D;(&#x0300;|&#x0302;|&#x0306;|&#x0310;)|&#x006E;(&#x0302;|&#x0304;|&#x0306;|&#x0326;)|&#x0070;(&#x0300;|&#x0304;|&#x0315;|&#x0323;)|&#x0072;(&#x0306;|&#x0325;|&#x0325;&#x0304;)|&#x0073;(&#x0300;|&#x0304;|&#x031B;&#x0304;|&#x0331;)|&#x0074;(&#x0300;|&#x0304;|&#x0315;|&#x031B;)|&#x0075;&#x0307;|&#x007A;(&#x0300;|&#x0304;|&#x0306;|&#x0308;|&#x0327;)|&#x00C7;&#x0306;|&#x00DB;&#x0304;|&#x00E7;&#x0306;|&#x00FB;&#x0304;|&#x00FF;&#x0301;|&#x010C;(&#x0315;|&#x0323;)|&#x010D;(&#x0315;|&#x0323;)|&#x0113;&#x030D;|&#x012A;&#x0301;|&#x012B;&#x0301;|&#x014D;&#x030D;|&#x017D;(&#x0326;|&#x0327;)|&#x017E;(&#x0326;|&#x0327;)|&#x1E32;&#x0304;|&#x1E33;&#x0304;|&#x1E62;&#x0304;|&#x1E63;&#x0304;|&#x1E6C;&#x0304;|&#x1E6D;&#x0304;|&#x1EA0;&#x0308;|&#x1EA1;&#x0308;|&#x1ECC;&#x0308;|&#x1ECD;&#x0308;|&#x1EE4;(&#x0304;|&#x0308;)|&#x1EE5;(&#x0304;|&#x0308;))*`);
2929
2929
  //#endregion
2930
- //#region src/xjustiz-schemata/din-91379/datatypeC.ts
2930
+ //#region src/xjustiz-schemata/din-91379/datatype-c.ts
2931
2931
  function parseDatatypeC(issueMessages = DEFAULT_ISSUE_MESSAGES$4) {
2932
2932
  return function parse(input) {
2933
2933
  const composedUnicodeInput = input.normalize("NFC");
@@ -3008,7 +3008,7 @@ function telefon(number) {
3008
3008
  };
3009
3009
  }
3010
3010
  //#endregion
3011
- //#region src/xjustiz-schemata/din-91379/datatypeD.ts
3011
+ //#region src/xjustiz-schemata/din-91379/datatype-d.ts
3012
3012
  function parseDatatypeD(issueMessages = DEFAULT_ISSUE_MESSAGES$3) {
3013
3013
  return function parse(input) {
3014
3014
  const composedUnicodeInput = input.normalize("NFC");
@@ -3262,7 +3262,7 @@ function randomUUID() {
3262
3262
  return globalThis.crypto.randomUUID();
3263
3263
  }
3264
3264
  //#endregion
3265
- //#region src/xjustiz-schemata/din-91379/datatypeE.ts
3265
+ //#region src/xjustiz-schemata/din-91379/datatype-e.ts
3266
3266
  function parseDatatypeE(issueMessages = DEFAULT_ISSUE_MESSAGES$1) {
3267
3267
  return function parse(input) {
3268
3268
  const composedUnicodeInput = input.normalize("NFC");
@@ -3454,6 +3454,35 @@ function weitererAntrag(antragInTextform) {
3454
3454
  return { antragSonstige: { auswahlAntragSonstige: { sonstigerAntragTextform: antragInTextform } } };
3455
3455
  }
3456
3456
  //#endregion
3457
+ //#region src/xjustiz-schemata/klaver/beweis-nummer.ts
3458
+ /**
3459
+ * Factory to obtain an identifier generator to produce {@link BeweisNummer}
3460
+ * values.
3461
+ *
3462
+ * Generators are automatically scoped singletons. Multiple factory calls for the
3463
+ * same scope result in the exact same generator instance.
3464
+ *
3465
+ * @example
3466
+ * ```typescript
3467
+ * withScope((scope) => {
3468
+ * const beweisNummer = createBeweisNummerGenerator(scope);
3469
+ * const beweisNummerFuerZeugen = beweisNummer.first();
3470
+ * const beweis = {
3471
+ * beweisNummer: beweisNummerFuerZeugen,
3472
+ * // ...
3473
+ * }
3474
+ * })
3475
+ * ```
3476
+ */
3477
+ function createBeweisNummerGenerator(scope) {
3478
+ return scopedSingleton(scope, BEWEIS_NUMMER_GENERATOR_KEY, () => BeweisNummerProducer);
3479
+ }
3480
+ const BEWEIS_NUMMER_GENERATOR_KEY = Symbol("beweis-nummer-generator");
3481
+ const BeweisNummerProducer = {
3482
+ first: () => positiveInteger(1).value,
3483
+ next: (previous) => increment(previous)
3484
+ };
3485
+ //#endregion
3457
3486
  //#region src/xjustiz-schemata/klaver/ergonomics/beweis.ts
3458
3487
  /**
3459
3488
  * Constructs a {@link Beweis} with Zeugen as Beweismittel. The referenced
@@ -3668,4 +3697,4 @@ var ergonomics_exports = /* @__PURE__ */ __exportAll({
3668
3697
  zeuge: () => zeuge
3669
3698
  });
3670
3699
  //#endregion
3671
- export { Anspruchsart, AntragCodeliste, Gerichte, Geschlecht, Kanzleiform, Rollenbezeichnung, Staaten, Telekommunikationsart, Waehrung, Zinsmethode, createFortlaufendeNummerGenerator, createRollennummerGenerator, createUuidGenerator, datatypeA, datatypeB, datatypeC, datatypeD, datatypeE, decimal, ergonomics_exports as ergonomics, join as joinDatatyeA, join$1 as joinDatatyeB, join$2 as joinDatatyeC, join$3 as joinDatatyeD, join$4 as joinDatatyeE, verifyZahlungsklage, zahlungsklage };
3700
+ export { Anspruchsart, AntragCodeliste, Gerichte, Geschlecht, Kanzleiform, Rollenbezeichnung, Staaten, Telekommunikationsart, Waehrung, Zinsmethode, createBeweisNummerGenerator, createFortlaufendeNummerGenerator, createRollennummerGenerator, createUuidGenerator, datatypeA, datatypeB, datatypeC, datatypeD, datatypeE, decimal, ergonomics_exports as ergonomics, join as joinDatatyeA, join$1 as joinDatatyeB, join$2 as joinDatatyeC, join$3 as joinDatatyeD, join$4 as joinDatatyeE, reference, verifyZahlungsklage, zahlungsklage };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package.json",
3
3
  "name": "@digitalservicebund/a2j-xjustiz-bridge",
4
- "version": "0.10.0",
4
+ "version": "0.10.1",
5
5
  "description": "Assisted composition of XJustiz messages that are ensured to be valid.",
6
6
  "author": "Team Court Communication (Access to Justice) - DigitalService GmbH des Bundes",
7
7
  "license": "MIT",