xoev-xwasser 0.900.0 → 0.901.0

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.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "H & D GmbH Open Source <contact-oss@h-d-gmbh.de>"
5
5
  ],
6
6
  "description": "\"XOEV XWasser XML Standard\"\n",
7
- "version": "0.900.0+0.9.0",
7
+ "version": "0.901.0+0.9.1",
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "xoev_xwasser.d.ts",
17
17
  "xoev_xwasser.js",
18
18
  "codelist.json",
19
- "xwasser-v090.xsdb.bin",
19
+ "xwasser-v091.xsdb.bin",
20
20
  "xoev-xwasser-utils.cjs",
21
21
  "xoev-xwasser-utils.cjs.map",
22
22
  "xoev-xwasser-utils.d.cts",
package/xoev_xwasser.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export function objekt_type(): ObjektType;
4
+ export function betreiber_type(): BetreiberType;
5
+ export function identifikation_type(): IdentifikationType;
6
+ export function zeitraum_type(): ZeitraumType;
7
+ export function anschrift_type(strasse: string, hausnummer: string, postleitzahl: string, ort: string): AnschriftType;
8
+ export function identifikation_vorgang(id?: string | null): IdentifikationVorgang;
3
9
  export function pruefbericht_type(sw_version: string, id: string | null | undefined, context: string, details: UntersuchungsstelleDetails): PruefberichtType;
4
10
  export function pruefbericht_signature_template(): Signature;
5
11
  export function name_organisation_type(name?: string | null, kurzbezeichnung?: string | null): NameOrganisationType;
@@ -35,12 +41,6 @@ export function create_vorgang_transportieren_2010(data: VorgangTransportieren20
35
41
  export function parse_vorgang_transportieren_2010(xml: string): VorgangTransportieren2010;
36
42
  export function create_administration_quittung_0020(data: AdministrationQuittung0020): string;
37
43
  export function parse_administration_quittung_0020(xml: string): AdministrationQuittung0020;
38
- export function objekt_type(): ObjektType;
39
- export function betreiber_type(): BetreiberType;
40
- export function identifikation_type(): IdentifikationType;
41
- export function zeitraum_type(): ZeitraumType;
42
- export function anschrift_type(strasse: string, hausnummer: string, postleitzahl: string, ort: string): AnschriftType;
43
- export function identifikation_vorgang(id?: string | null): IdentifikationVorgang;
44
44
  export function behoerde_type(): BehoerdeType;
45
45
  export function zustaendige_behoerde_type(laenderkuerzel: string): ZustaendigeBehoerdeType;
46
46
  export interface CodeFormatAlternativeIDType {
@@ -690,25 +690,6 @@ export interface UntersuchungsplanType {
690
690
  id: string;
691
691
  }
692
692
 
693
- export interface UnterorganisationDetails {
694
- id: string;
695
- name: string;
696
- }
697
-
698
- export interface UntersuchungsstelleDetails {
699
- id: string;
700
- name: string;
701
- zugelassene_untersuchungsstelle_id: string;
702
- pruefgebiete_untersuchungen_phys_chem: boolean;
703
- pruefgebiete_untersuchungen_mikrobio: boolean;
704
- pruefgebiete_untersuchungen_radionuklide: boolean;
705
- pruefgebiete_nur_vor_ort_parameter: boolean;
706
- akkreditierungsnummer: string;
707
- unterorganisation: UnterorganisationDetails | undefined;
708
- }
709
-
710
- export type NachrichtenTypEnum = "AdministrationRueckweisung0010" | "AdministrationQuittung0020" | "WeiterleitungWeiterleitung1010" | "WeiterleitungAbgabe1020" | "WeiterleitungNichtzustaendigkeit1030" | "VorgangTransportieren2010" | "VorgangNachricht2020" | "VorgangStatusanfrage2030" | "VorgangStatusantwort2040";
711
-
712
693
  /**
713
694
  * Als Staat bezeichnet man eine politische Ordnung, die ein gemeinsames als
714
695
  * Staatsgebiet abgegrenztes Territorium, ein dazugehöriges Staatsvolk und eine
@@ -942,8 +923,8 @@ export interface GeografischeAngabenType {
942
923
  name_shapefile: string | undefined;
943
924
  geokoordinaten_breitengrad: number | undefined;
944
925
  geokoordinaten_laengengrad: number | undefined;
945
- geokoordinaten_rechtswert: number | undefined;
946
- geokoordinaten_hochwert: number | undefined;
926
+ geokoordinaten_rechtswert_east_wert: number | undefined;
927
+ geokoordinaten_hochwert_north_wert: number | undefined;
947
928
  }
948
929
 
949
930
  /**
@@ -1239,6 +1220,25 @@ export interface ZustaendigeBehoerdeType {
1239
1220
  kommentar: string | undefined;
1240
1221
  }
1241
1222
 
1223
+ export interface UnterorganisationDetails {
1224
+ id: string;
1225
+ name: string;
1226
+ }
1227
+
1228
+ export interface UntersuchungsstelleDetails {
1229
+ id: string;
1230
+ name: string;
1231
+ zugelassene_untersuchungsstelle_id: string;
1232
+ pruefgebiete_untersuchungen_phys_chem: boolean;
1233
+ pruefgebiete_untersuchungen_mikrobio: boolean;
1234
+ pruefgebiete_untersuchungen_radionuklide: boolean;
1235
+ pruefgebiete_nur_vor_ort_parameter: boolean;
1236
+ akkreditierungsnummer: string;
1237
+ unterorganisation: UnterorganisationDetails | undefined;
1238
+ }
1239
+
1240
+ export type NachrichtenTypEnum = "AdministrationRueckweisung0010" | "AdministrationQuittung0020" | "WeiterleitungWeiterleitung1010" | "WeiterleitungAbgabe1020" | "WeiterleitungNichtzustaendigkeit1030" | "VorgangTransportieren2010" | "VorgangNachricht2020" | "VorgangStatusanfrage2030" | "VorgangStatusantwort2040";
1241
+
1242
1242
  export interface Code {
1243
1243
  code: string;
1244
1244
  }
package/xoev_xwasser.js CHANGED
@@ -175,6 +175,69 @@ function debugString(val) {
175
175
  // TODO we could test for more things here, like `Set`s and `Map`s.
176
176
  return className;
177
177
  }
178
+ /**
179
+ * @returns {ObjektType}
180
+ */
181
+ module.exports.objekt_type = function() {
182
+ const ret = wasm.objekt_type();
183
+ return ret;
184
+ };
185
+
186
+ /**
187
+ * @returns {BetreiberType}
188
+ */
189
+ module.exports.betreiber_type = function() {
190
+ const ret = wasm.betreiber_type();
191
+ return ret;
192
+ };
193
+
194
+ /**
195
+ * @returns {IdentifikationType}
196
+ */
197
+ module.exports.identifikation_type = function() {
198
+ const ret = wasm.identifikation_type();
199
+ return ret;
200
+ };
201
+
202
+ /**
203
+ * @returns {ZeitraumType}
204
+ */
205
+ module.exports.zeitraum_type = function() {
206
+ const ret = wasm.zeitraum_type();
207
+ return ret;
208
+ };
209
+
210
+ /**
211
+ * @param {string} strasse
212
+ * @param {string} hausnummer
213
+ * @param {string} postleitzahl
214
+ * @param {string} ort
215
+ * @returns {AnschriftType}
216
+ */
217
+ module.exports.anschrift_type = function(strasse, hausnummer, postleitzahl, ort) {
218
+ const ptr0 = passStringToWasm0(strasse, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
219
+ const len0 = WASM_VECTOR_LEN;
220
+ const ptr1 = passStringToWasm0(hausnummer, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
221
+ const len1 = WASM_VECTOR_LEN;
222
+ const ptr2 = passStringToWasm0(postleitzahl, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
223
+ const len2 = WASM_VECTOR_LEN;
224
+ const ptr3 = passStringToWasm0(ort, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
225
+ const len3 = WASM_VECTOR_LEN;
226
+ const ret = wasm.anschrift_type(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
227
+ return ret;
228
+ };
229
+
230
+ /**
231
+ * @param {string | null} [id]
232
+ * @returns {IdentifikationVorgang}
233
+ */
234
+ module.exports.identifikation_vorgang = function(id) {
235
+ var ptr0 = isLikeNone(id) ? 0 : passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
236
+ var len0 = WASM_VECTOR_LEN;
237
+ const ret = wasm.identifikation_vorgang(ptr0, len0);
238
+ return ret;
239
+ };
240
+
178
241
  /**
179
242
  * @param {string} sw_version
180
243
  * @param {string | null | undefined} id
@@ -606,69 +669,6 @@ module.exports.parse_administration_quittung_0020 = function(xml) {
606
669
  }
607
670
  };
608
671
 
609
- /**
610
- * @returns {ObjektType}
611
- */
612
- module.exports.objekt_type = function() {
613
- const ret = wasm.objekt_type();
614
- return ret;
615
- };
616
-
617
- /**
618
- * @returns {BetreiberType}
619
- */
620
- module.exports.betreiber_type = function() {
621
- const ret = wasm.betreiber_type();
622
- return ret;
623
- };
624
-
625
- /**
626
- * @returns {IdentifikationType}
627
- */
628
- module.exports.identifikation_type = function() {
629
- const ret = wasm.identifikation_type();
630
- return ret;
631
- };
632
-
633
- /**
634
- * @returns {ZeitraumType}
635
- */
636
- module.exports.zeitraum_type = function() {
637
- const ret = wasm.zeitraum_type();
638
- return ret;
639
- };
640
-
641
- /**
642
- * @param {string} strasse
643
- * @param {string} hausnummer
644
- * @param {string} postleitzahl
645
- * @param {string} ort
646
- * @returns {AnschriftType}
647
- */
648
- module.exports.anschrift_type = function(strasse, hausnummer, postleitzahl, ort) {
649
- const ptr0 = passStringToWasm0(strasse, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
650
- const len0 = WASM_VECTOR_LEN;
651
- const ptr1 = passStringToWasm0(hausnummer, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
652
- const len1 = WASM_VECTOR_LEN;
653
- const ptr2 = passStringToWasm0(postleitzahl, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
654
- const len2 = WASM_VECTOR_LEN;
655
- const ptr3 = passStringToWasm0(ort, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
656
- const len3 = WASM_VECTOR_LEN;
657
- const ret = wasm.anschrift_type(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
658
- return ret;
659
- };
660
-
661
- /**
662
- * @param {string | null} [id]
663
- * @returns {IdentifikationVorgang}
664
- */
665
- module.exports.identifikation_vorgang = function(id) {
666
- var ptr0 = isLikeNone(id) ? 0 : passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
667
- var len0 = WASM_VECTOR_LEN;
668
- const ret = wasm.identifikation_vorgang(ptr0, len0);
669
- return ret;
670
- };
671
-
672
672
  /**
673
673
  * @returns {BehoerdeType}
674
674
  */
Binary file
@@ -1,6 +1,12 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const objekt_type: () => any;
5
+ export const betreiber_type: () => any;
6
+ export const identifikation_type: () => any;
7
+ export const zeitraum_type: () => any;
8
+ export const anschrift_type: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
9
+ export const identifikation_vorgang: (a: number, b: number) => any;
4
10
  export const pruefbericht_type: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => any;
5
11
  export const pruefbericht_signature_template: () => any;
6
12
  export const name_organisation_type: (a: number, b: number, c: number, d: number) => any;
@@ -36,12 +42,6 @@ export const parse_vorgang_transportieren_2010: (a: number, b: number, c: number
36
42
  export const create_administration_quittung_0020: (a: number, b: any) => void;
37
43
  export const parse_administration_quittung_0020: (a: number, b: number, c: number) => void;
38
44
  export const leser: (a: number, b: number, c: number, d: number) => any;
39
- export const objekt_type: () => any;
40
- export const betreiber_type: () => any;
41
- export const identifikation_type: () => any;
42
- export const zeitraum_type: () => any;
43
- export const anschrift_type: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
44
- export const identifikation_vorgang: (a: number, b: number) => any;
45
45
  export const behoerde_type: () => any;
46
46
  export const zustaendige_behoerde_type: (a: number, b: number) => any;
47
47
  export const __wbindgen_malloc: (a: number, b: number) => number;
Binary file
Binary file