@gandalan/weblibs 1.5.17 → 1.5.19

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.
Files changed (56) hide show
  1. package/JSDOC.md +661 -0
  2. package/README.md +106 -17
  3. package/api/business/ablageApi.js +106 -0
  4. package/api/business/anpassungApi.js +74 -0
  5. package/api/business/artikelApi.js +242 -0
  6. package/api/business/authApi.js +63 -0
  7. package/api/business/avApi.js +458 -0
  8. package/api/business/belegApi.js +365 -0
  9. package/api/business/belegPositionenApi.js +52 -0
  10. package/api/business/benutzerApi.js +96 -0
  11. package/api/business/fakturaApi.js +88 -0
  12. package/api/business/farbeApi.js +129 -0
  13. package/api/business/fileApi.js +72 -0
  14. package/api/business/historieApi.js +144 -0
  15. package/api/business/index.js +63 -0
  16. package/api/business/kontaktApi.js +70 -0
  17. package/api/business/lagerApi.js +162 -0
  18. package/api/business/lieferungApi.js +127 -0
  19. package/api/business/mailApi.js +41 -0
  20. package/api/business/mandantApi.js +137 -0
  21. package/api/business/materialApi.js +37 -0
  22. package/api/business/printApi.js +49 -0
  23. package/api/business/produktionApi.js +141 -0
  24. package/api/business/rechnungApi.js +155 -0
  25. package/api/business/serienApi.js +375 -0
  26. package/api/business/settingsApi.js +168 -0
  27. package/api/business/systemApi.js +209 -0
  28. package/api/business/uiApi.js +256 -0
  29. package/api/business/utilityApi.js +288 -0
  30. package/api/business/vorgangApi.js +128 -0
  31. package/api/dtos/allgemein.js +107 -0
  32. package/api/dtos/artikel.js +46 -0
  33. package/api/dtos/av.js +171 -0
  34. package/api/dtos/belege.js +614 -0
  35. package/api/dtos/benutzer.js +101 -0
  36. package/api/dtos/druck.js +50 -0
  37. package/api/dtos/faktura.js +128 -0
  38. package/api/dtos/farben.js +93 -0
  39. package/api/dtos/index.js +501 -0
  40. package/api/dtos/kunden.js +217 -0
  41. package/api/dtos/lager.js +66 -0
  42. package/api/dtos/mail.js +30 -0
  43. package/api/dtos/mandanten.js +60 -0
  44. package/api/dtos/nachrichten.js +18 -0
  45. package/api/dtos/produktGruppen.js +18 -0
  46. package/api/dtos/produktion.js +564 -0
  47. package/api/dtos/settings.js +172 -0
  48. package/api/dtos/technik.js +163 -0
  49. package/api/dtos/ui.js +496 -0
  50. package/api/dtos/webjob.js +12 -0
  51. package/api/fluentApi.js +10 -8
  52. package/api/fluentAuthManager.js +22 -14
  53. package/api/fluentRestClient.js +7 -7
  54. package/api/idasFluentApi.js +458 -0
  55. package/index.js +53 -6
  56. package/package.json +1 -1
@@ -0,0 +1,101 @@
1
+ /**
2
+ * @fileoverview JSDoc type definitions for Benutzer (User) DTOs from Gandalan.IDAS.WebApi.Client
3
+ * Auto-generated from C# DTO files in Gandalan.IDAS.WebApi.Client/DTOs/Benutzer/
4
+ */
5
+
6
+ /** @typedef {import('./settings.js').MandantDTO} MandantDTO */
7
+
8
+ /**
9
+ * @typedef {Object} BerechtigungDTO
10
+ * @property {string} Code
11
+ * @property {string} ErklaerungsText
12
+ * @property {string} Level
13
+ */
14
+
15
+ /**
16
+ * @typedef {Object} RolleDTO
17
+ * @property {BerechtigungDTO[]} Berechtigungen
18
+ * @property {string} Name
19
+ * @property {string} Beschreibung
20
+ * @property {string} RolleGuid
21
+ */
22
+
23
+ /**
24
+ * @typedef {Object} BenutzerDTO
25
+ * @property {RolleDTO[]} Rollen
26
+ * @property {string} BenutzerGuid
27
+ * @property {string} Benutzername
28
+ * @property {string} Vorname
29
+ * @property {string} Nachname
30
+ * @property {string | null} MandantGuid
31
+ * @property {string} Passwort
32
+ * @property {string} PasswortBCrypt
33
+ * @property {boolean | null} MasterKatalog
34
+ * @property {boolean | null} HauptKatalog
35
+ * @property {number | null} NewsletterId
36
+ * @property {boolean} IstAktiv
37
+ * @property {string[]} GesperrteVarianten
38
+ * @property {string} ChangedDate - ISO date string
39
+ * @property {string} EmailAdresse
40
+ * @property {string} TelefonNummer
41
+ * @property {string} Art
42
+ * @property {boolean} IstSicSynchronized
43
+ * @property {string} LastSicMessage
44
+ */
45
+
46
+ /**
47
+ * @typedef {Object} LoginDTO
48
+ * @property {string} Email
49
+ * @property {string} Password
50
+ * @property {string} Mandant
51
+ * @property {string} AppToken
52
+ */
53
+
54
+ /**
55
+ * @typedef {Object} LoginAttemptDTO
56
+ * @property {string} UserGuid
57
+ * @property {number} FailCount
58
+ * @property {string | null} RequestTime - ISO date string
59
+ */
60
+
61
+ /**
62
+ * @typedef {Object} LoginAttemptResultDTO
63
+ * @property {number} FailCount
64
+ * @property {string | null} LastFailedLogin - ISO date string
65
+ */
66
+
67
+ /**
68
+ * @typedef {Object} PasswortAendernDTO
69
+ * @property {string} Benutzername
70
+ * @property {string} AltesPasswort
71
+ * @property {string} NeuesPasswort
72
+ */
73
+
74
+ /**
75
+ * @typedef {Object} RefreshTokenDTO
76
+ * @property {string} Token
77
+ * @property {string} Expires - ISO date string
78
+ * @property {string} UserTokenGuid
79
+ * @property {UserAuthTokenDTO | null} UserToken
80
+ * @property {string} AppToken
81
+ */
82
+
83
+ /**
84
+ * @typedef {Object} UserAuthTokenDTO
85
+ * @property {string} AppToken
86
+ * @property {string} Expires - ISO date string
87
+ * @property {string} Token
88
+ * @property {BenutzerDTO | null} Benutzer
89
+ * @property {string} MandantGuid
90
+ * @property {MandantDTO | null} Mandant
91
+ */
92
+
93
+ /**
94
+ * @typedef {Object} ZustimmungsInfoDTO
95
+ * @property {string} Dokument
96
+ * @property {string} Version
97
+ * @property {string} Zeitstempel - ISO date string
98
+ * @property {string} Plattform
99
+ */
100
+
101
+ export {};
@@ -0,0 +1,50 @@
1
+ /**
2
+ * @fileoverview JSDoc type definitions for Druck (Printing) DTOs from Gandalan.IDAS.WebApi.Client
3
+ * Auto-generated from C# DTO files in Gandalan.IDAS.WebApi.Client/DTOs/Druck/
4
+ */
5
+
6
+ /**
7
+ * @typedef {Object} ILayoutBelegDruck
8
+ * @property {boolean} ShowLogo
9
+ * @property {number} LogoPositionX
10
+ * @property {number} LogoPositionY
11
+ * @property {number} LogoSizeWidth
12
+ * @property {number} LogoSizeHeight
13
+ * @property {number} TabellePositionX
14
+ * @property {number} TabellePositionY_Seite1
15
+ * @property {number} TabellePositionY_AbSeite2
16
+ * @property {number} TabelleHoehe_Seite1
17
+ * @property {number} TabelleHoehe_AbSeite2
18
+ * @property {number} TabelleBreite
19
+ * @property {number} BriefkopfPositionX
20
+ * @property {number} BriefkopfPositionY
21
+ * @property {number} FusszeilePositionX
22
+ * @property {number} FusszeilePositionY
23
+ * @property {number} SeitenrandLinks
24
+ * @property {number} SeitenrandRechts
25
+ * @property {number} SeitenrandUnten
26
+ * @property {number} SeitenrandOben
27
+ * @property {number} KommissionPositionY
28
+ * @property {number} SeitenzaehlerPositionX
29
+ * @property {number} SeitenzaehlerPositionY_Seite1
30
+ * @property {number} SeitenzaehlerPositionY_AbSeite2
31
+ * @property {number} AnschriftPositionX
32
+ * @property {number} AnschriftPositionY
33
+ * @property {number} MicroAnschriftPositionX
34
+ * @property {number} MicroAnschriftPositionY
35
+ * @property {boolean} ShowMicroAnschrift
36
+ * @property {number} BelegKopfPositionX
37
+ * @property {number} BelegKopfPositionY
38
+ * @property {number} BelegKopfPositionY_AbSeite2
39
+ * @property {boolean} ShowHistorie
40
+ * @property {boolean} IsBlankoDruck
41
+ * @property {boolean} IsBestellfixBeleg
42
+ * @property {boolean} IsDiagnoseDruck
43
+ */
44
+
45
+ /**
46
+ * @typedef {Object} LayoutBelegDruckDTO
47
+ * @extends ILayoutBelegDruck
48
+ */
49
+
50
+ export {};
@@ -0,0 +1,128 @@
1
+ /**
2
+ * @fileoverview JSDoc type definitions for Faktura (Invoicing) DTOs from Gandalan.IDAS.WebApi.Client
3
+ * Auto-generated from C# DTO files in Gandalan.IDAS.WebApi.Client/DTOs/Rechnung/ and DTOs/Faktura/
4
+ */
5
+
6
+ /** @typedef {import('./kunden.js').BeleganschriftDTO} BeleganschriftDTO */
7
+ /** @typedef {import('./kunden.js').KontaktDTO} KontaktDTO */
8
+ /** @typedef {import('./belege.js').BelegDruckDTO} BelegDruckDTO */
9
+
10
+ /**
11
+ * Lieferungstyp enum values
12
+ * @typedef {0|1|2} Lieferungstyp
13
+ * 0: Inland
14
+ * 1: EU_Ausland
15
+ * 2: Welt
16
+ */
17
+
18
+ /**
19
+ * @typedef {Object} SetFakturaDTO
20
+ * @property {string[]} GuidList - Liste der GUIDs
21
+ * @property {string} Kennzeichen - Erlaubte Werte: "Freigegeben", "Abgerechnet"
22
+ */
23
+
24
+ /**
25
+ * @typedef {Object} BelegeInfoDTO
26
+ * @property {string} VorgangGuid
27
+ * @property {string} BelegGuid
28
+ * @property {string} KontaktGuid
29
+ * @property {string[]} BelegPositionGuids
30
+ * @property {string} Belegart
31
+ * @property {number} Vorgangsnummer
32
+ * @property {number} BelegNummer
33
+ * @property {string} BelegDatum - ISO date string
34
+ * @property {number} PosAnzahl
35
+ * @property {number} GesamtBetrag
36
+ * @property {string} Kundennummer
37
+ * @property {string} Kundenname
38
+ * @property {string} Lieferadresse
39
+ * @property {boolean} IstSammelrechnungsKunde
40
+ * @property {boolean} InnergemeinschaftlichOhneMwSt
41
+ * @property {number | null} SammelrechnungsNummer
42
+ * @property {string | null} LastPrintDate - ISO date string
43
+ * @property {string | null} LastExportDate - ISO date string
44
+ * @property {number} MwSt
45
+ * @property {Lieferungstyp} Lieferungstyp
46
+ * @property {boolean} HatRechnungUndRechNrIstVorgangNr
47
+ */
48
+
49
+ /**
50
+ * @typedef {Object} SammelrechnungPositionenDTO
51
+ * @property {string} SammelrechnungPositionGuid
52
+ * @property {number} LaufendeNummer
53
+ * @property {number} RechnungNummer
54
+ * @property {string} RechnungDatum - ISO date string
55
+ * @property {string} RechnungKommision
56
+ * @property {number} RechnungBetrag
57
+ * @property {string} VorgangsDatum - ISO date string
58
+ * @property {SammelrechnungSaldenDTO[]} Salden
59
+ */
60
+
61
+ /**
62
+ * @typedef {Object} SammelrechnungSaldenDTO
63
+ * @property {string} SammelrechnungSaldenGuid
64
+ * @property {number} Reihenfolge
65
+ * @property {string} Text
66
+ * @property {number} Betrag
67
+ * @property {number} Rabatt
68
+ * @property {string} Name
69
+ */
70
+
71
+ /**
72
+ * @typedef {Object} SammelrechnungDTO
73
+ * @property {string} SammelrechnungGuid
74
+ * @property {number} SammelrechnungsNummer
75
+ * @property {string} ErstellDatum - ISO date string
76
+ * @property {string | null} LastPrintDate - ISO date string
77
+ * @property {string | null} LastExportDate - ISO date string
78
+ * @property {string} Ansprechpartner
79
+ * @property {string} Telefonnummer
80
+ * @property {string} Liefertermin
81
+ * @property {string} ZahlungsBedingungen
82
+ * @property {string} Kopfzeile
83
+ * @property {string} Fusszeile
84
+ * @property {string} Schlusstext
85
+ * @property {string} PageTitle
86
+ * @property {string} PageSubtitle1
87
+ * @property {string} PageSubtitle2
88
+ * @property {KontaktDTO} Kontakt
89
+ * @property {BeleganschriftDTO} RechnungsAdresse
90
+ * @property {SammelrechnungPositionenDTO[]} Positionen
91
+ * @property {SammelrechnungSaldenDTO[]} Salden
92
+ * @property {BelegDruckDTO[]} EinzelrechnungDTOs
93
+ */
94
+
95
+ /**
96
+ * @typedef {Object} SammelrechnungListItemDTO
97
+ * @property {string} SammelrechnungGuid
98
+ * @property {number} SammelrechnungNummer
99
+ * @property {string} Kundenname
100
+ * @property {string} Kundennummer
101
+ * @property {string} ErstellDatum - ISO date string
102
+ * @property {string | null} LastPrintDate - ISO date string
103
+ * @property {string | null} LastExportDate - ISO date string
104
+ * @property {number} AnzahlPositionen
105
+ * @property {number} GesamtBetrag
106
+ * @property {string} KundenGuid
107
+ * @property {number} MwSt
108
+ * @property {Lieferungstyp} Lieferungstyp
109
+ */
110
+
111
+ /**
112
+ * @typedef {Object} CreateSammelrechnungDTO
113
+ * @property {string[]} BelegGuids
114
+ * @property {string} KontaktGuid
115
+ * @property {string} Ansprechpartner
116
+ * @property {string} Liefertermin
117
+ * @property {string} Schlusstext
118
+ * @property {string} ZahlungsBedingungen
119
+ * @property {BeleganschriftDTO} RechnungsAdresse
120
+ */
121
+
122
+ /**
123
+ * @typedef {Object} AddRechnungSammelrechnungDTO
124
+ * @property {string} BelegGuid
125
+ * @property {string} SammelrechnungGuid
126
+ */
127
+
128
+ export {};
@@ -0,0 +1,93 @@
1
+ /**
2
+ * @fileoverview JSDoc type definitions for Farben (Color) DTOs from Gandalan.IDAS.WebApi.Client
3
+ * Auto-generated from C# DTO files in Gandalan.IDAS.WebApi.Client/DTOs/Farben/
4
+ */
5
+
6
+ /**
7
+ * @typedef {Object} FarbeDTO
8
+ * @property {string} FarbItemGuid - Eindeutige GUID der Farbe
9
+ * @property {string} Bezeichnung - Bezeichnung der Farbe
10
+ * @property {string} BildDateiname - Dateiname des Farbbildes
11
+ * @property {string} FarbCode - Farbcode
12
+ * @property {string} Farbe - Farbwert
13
+ * @property {string} ChangedDate - ISO date string
14
+ * @property {number} Version - Versionsnummer
15
+ * @property {string | null} GueltigAb - ISO date string
16
+ * @property {string | null} GueltigBis - ISO date string
17
+ */
18
+
19
+ /**
20
+ * @typedef {Object} FarbGruppeDTO
21
+ * @property {string} Bezeichnung - Bezeichnung der Farbgruppe
22
+ * @property {string} AnzeigeName - Anzeigename der Farbgruppe
23
+ * @property {string} FarbItemGroupGuid - Eindeutige GUID der Farbgruppe
24
+ * @property {string | null} GueltigAb - ISO date string
25
+ * @property {string | null} GueltigBis - ISO date string
26
+ * @property {number} Version - Versionsnummer
27
+ * @property {string} ChangedDate - ISO date string
28
+ * @property {number} Reihenfolge - Reihenfolge der Anzeige
29
+ * @property {boolean} IstGesperrt - Gibt an, ob die Farbgruppe gesperrt ist
30
+ * @property {string[]} FarbItemGuids - GUIDs der zugeordneten Farben
31
+ * @property {string[]} OberflaecheGuids - GUIDs der zugeordneten Oberflächen
32
+ */
33
+
34
+ /**
35
+ * @typedef {Object} FarbKuerzelDTO
36
+ * @property {string} FarbKuerzelGuid - Eindeutige GUID des Farbkürzels
37
+ * @property {string} Kuerzel - Das Farbkürzel
38
+ * @property {string} Beschreibung - Beschreibung des Farbkürzels
39
+ * @property {string} FarbBezeichnung - Bezeichnung der Farbe
40
+ * @property {boolean} IstTrendfarbe - Gibt an, ob es sich um eine Trendfarbe handelt
41
+ * @property {string} FarbItemGuid - GUID der zugeordneten Farbe
42
+ * @property {string} OberflaecheGuid - GUID der zugeordneten Oberfläche
43
+ * @property {string | null} GueltigAb - ISO date string
44
+ * @property {string | null} GueltigBis - ISO date string
45
+ * @property {number} Version - Versionsnummer
46
+ * @property {string} ChangedDate - ISO date string
47
+ */
48
+
49
+ /**
50
+ * @typedef {Object} FarbKuerzelGruppeDTO
51
+ * @property {string} FarbKuerzelGruppeGuid - Eindeutige GUID der Farbkürzelgruppe
52
+ * @property {string[]} Kuerzel - Liste der Farbkürzel
53
+ * @property {string} Bezeichnung - Bezeichnung der Gruppe
54
+ * @property {string | null} GueltigAb - ISO date string
55
+ * @property {string | null} GueltigBis - ISO date string
56
+ * @property {number} Version - Versionsnummer
57
+ * @property {string} ChangedDate - ISO date string
58
+ */
59
+
60
+ /**
61
+ * @typedef {Object} FarbgruppeSettingsDTO
62
+ * @property {string} FarbgruppenGuid - GUID der Farbgruppe
63
+ * @property {boolean} GruppeAktiv - Gibt an, ob die Gruppe aktiv ist
64
+ * @property {boolean} PreisAufAnfrage - Gibt an, ob der Preis auf Anfrage ist
65
+ * @property {number} AufpreisElement - Aufpreis für Elemente
66
+ * @property {number} AufpreisFarbe - Aufpreis für Farbe
67
+ * @property {number} ProzentAufpreisElement - Prozentualer Aufpreis für Elemente
68
+ * @property {number} AufpreisMaximal - Maximaler Aufpreis
69
+ * @property {boolean} AufpreisMaximalAktiv - Gibt an, ob der maximale Aufpreis aktiv ist
70
+ */
71
+
72
+ /**
73
+ * @typedef {Object} FarbgruppenaufpreiseDTO
74
+ * @property {string} FarbgruppenaufpreiseGuid - Eindeutige GUID
75
+ * @property {boolean} NeherModellAktiv - Neher Modell aktiv
76
+ * @property {boolean} EigenesModellAktiv - Eigenes Modell aktiv
77
+ * @property {boolean} IstAdminDTO - Ist Admin DTO
78
+ * @property {FarbgruppeSettingsDTO[]} FarbgruppenSettings - Liste der Farbgruppeneinstellungen
79
+ * @property {number} Version - Versionsnummer
80
+ * @property {string} ChangedDate - ISO date string
81
+ */
82
+
83
+ /**
84
+ * @typedef {Object} ProduzentenFarbGruppeDTO
85
+ * @property {string} ProduzentenFarbGruppeGuid - Eindeutige GUID
86
+ * @property {string} Name - Name der Produzentenfarbgruppe
87
+ * @property {string[]} Oberflaechen - GUIDs der Oberflächen
88
+ * @property {string[]} Farben - GUIDs der Farben
89
+ * @property {number} Version - Versionsnummer
90
+ * @property {string} ChangedDate - ISO date string
91
+ */
92
+
93
+ export {};