@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
package/api/dtos/av.js ADDED
@@ -0,0 +1,171 @@
1
+ /**
2
+ * @fileoverview JSDoc type definitions for AV (Arbeitsvorbereitung) DTOs from Gandalan.IDAS.WebApi.Client
3
+ * Auto-generated from C# DTO files in Gandalan.IDAS.WebApi.Client/DTOs/AV/
4
+ */
5
+
6
+ /** @typedef {import('./belege.js').BelegPositionDTO} BelegPositionDTO */
7
+ /** @typedef {import('./produktion.js').ProduktionsDatenDTO} ProduktionsDatenDTO */
8
+ /** @typedef {import('./index.js').MaterialbedarfDTO} MaterialbedarfDTO */
9
+
10
+ /**
11
+ * @typedef {Object} SerieDTO
12
+ * @property {string} SerieGuid - Eindeutige ID der Serie
13
+ * @property {string} Name - Name der Serie (Langform)
14
+ * @property {string} Kuerzel - Serienkürzel für Ausdrucke, Kurzanzeige usw.
15
+ * @property {string} Start - Beginn der Produktion (erster Produktionstag) - ISO date string
16
+ * @property {string} Ende - Ende der Produktion (letzter Produktionstag) - ISO date string
17
+ * @property {boolean} StaendigeSerie - Ständige Serie
18
+ * @property {string[]} AVBelegPositionen - AV-Positionen in dieser Serie
19
+ * @property {number} Kapazitaet - Kapazität in neutralen Kapazitätseinheiten (alt)
20
+ * @property {number} KapazitaetInMin - Kapazität der Serie in Minuten
21
+ * @property {number} KapazitaetReserviert - Belegung in neutralen Kapazitätseinheiten
22
+ * @property {string} MaterialBedarfStatus - "NichtBerechnet", "BerechnungGestartet", "Berechnet"
23
+ * @property {boolean} IstGesperrt - Serie ist gesperrt
24
+ * @property {SerieDruckInfoDTO[]} DruckInfos
25
+ * @property {string} ChangedDate - ISO date string
26
+ */
27
+
28
+ /**
29
+ * @typedef {Object} SerieDruckInfoDTO
30
+ * @property {string} SerieDruckInfoGuid
31
+ * @property {string} Benutzername
32
+ * @property {string} DokumentArt
33
+ * @property {string} Zeitstempel - ISO date string (UTC)
34
+ */
35
+
36
+ /**
37
+ * @typedef {Object} SerieHistorieDTO
38
+ * @property {string} SerieHistorieGuid
39
+ * @property {string} SerieGuid
40
+ * @property {string} SerienName
41
+ * @property {string} Text
42
+ * @property {string} Zeitstempel - ISO date string
43
+ * @property {string} Benutzer
44
+ */
45
+
46
+ /**
47
+ * @typedef {Object} SerieAuslastungDTO
48
+ * @property {boolean} IstSumme
49
+ * @property {string} Produktfamilie
50
+ * @property {number} Anzahl
51
+ * @property {number} Reserviert
52
+ * @property {number} Arbeitsminuten
53
+ * @property {number} ArbeitsminutenReserviert
54
+ * @property {number} Elementgewicht
55
+ * @property {number} ElementgewichtReserviert
56
+ * @property {number} AnzahlMax
57
+ * @property {number} KapazitaetBelegt
58
+ * @property {number} KapazitaetMax
59
+ */
60
+
61
+ /**
62
+ * @typedef {Object} VirtualSerieWithAuslastungDTO
63
+ * @property {string} SerieGuid - Eindeutige ID der Serie
64
+ * @property {string} Name - Name der Serie (Langform)
65
+ * @property {string} Kuerzel - Serienkürzel für Ausdrucke, Kurzanzeige usw.
66
+ * @property {string} Start - Beginn der Produktion (erster Produktionstag) - ISO date string
67
+ * @property {string} Ende - Ende der Produktion (letzter Produktionstag) - ISO date string
68
+ * @property {SerieAuslastungDTO[]} Auslastungen
69
+ */
70
+
71
+ /**
72
+ * @typedef {Object} SerienMaterialEditDTO
73
+ * @property {string} SerieGuid
74
+ * @property {MaterialbedarfDTO[]} MaterialListe
75
+ */
76
+
77
+ /**
78
+ * @typedef {Object} BelegPositionAVDTO
79
+ * @property {string} BelegPositionAVGuid
80
+ * @property {string} SerieGuid
81
+ * @property {string} BelegPositionGuid
82
+ * @property {string} VorgangGuid
83
+ * @property {string} BelegGuid
84
+ * @property {string} Bereitgestellt - ISO date string
85
+ * @property {string | null} Berechnet - ISO date string
86
+ * @property {boolean} IstBerechnet
87
+ * @property {number} FailedCalculationsCount - Counter for failed calculations
88
+ * @property {boolean} IstProduziert
89
+ * @property {boolean} IstGeloescht
90
+ * @property {boolean} IstStorniert
91
+ * @property {boolean} HatSonderwuensche
92
+ * @property {string} SonderwunschText
93
+ * @property {string} Variante
94
+ * @property {string} ArtikelNummer
95
+ * @property {string} Kommission
96
+ * @property {string} Kunde
97
+ * @property {string} Pcode
98
+ * @property {string} Fehlerlog
99
+ * @property {string} FakturaKennzeichen - "NichtFreigegeben", "Freigegeben", "Abgerechnet"
100
+ * @property {boolean} IstAusserhalbGewaehrleistung
101
+ * @property {number} KapazitaetsBedarf
102
+ * @property {BelegPositionDTO | null} Position
103
+ * @property {ProduktionsDatenDTO | null} ProduktionsDaten
104
+ * @property {boolean} IstGedruckt
105
+ * @property {string} ErfassungsDatum - ISO date string
106
+ * @property {string} ChangedDate - ISO date string
107
+ * @property {string | null} CalculatedForTimestamp - ISO date string
108
+ */
109
+
110
+ /**
111
+ * @typedef {Object} BelegPositionAVListItemDTO
112
+ * @property {string} BelegPositionAVGuid
113
+ * @property {string | null} BelegPositionGuid
114
+ * @property {string} PCode
115
+ * @property {string} ChangedDate - ISO date string
116
+ */
117
+
118
+ /**
119
+ * @typedef {Object} PositionSerieItemDTO
120
+ * @property {string} BelegPositionGuid
121
+ * @property {string} Position
122
+ * @property {number} Menge
123
+ * @property {number} Vorlauf
124
+ * @property {string} SerieAuslastung
125
+ * @property {string} SerieGuid
126
+ * @property {string} ProduktionsDatum - ISO date string
127
+ * @property {string} LieferDatum - ISO date string
128
+ * @property {string} PositionInfo
129
+ * @property {number} KapBedarf
130
+ * @property {number} KapBedarfGes
131
+ * @property {boolean} HatNachfolgeBelegPosition
132
+ * @property {boolean} VeschiedeneSerien - currently only used in client
133
+ * @property {string[] | null} SerienGuids - only set when VeschiedeneSerien is true
134
+ */
135
+
136
+ /**
137
+ * @typedef {Object} AVReserviertItemDTO
138
+ * @property {string} Variante
139
+ * @property {string} ArtikelNummer
140
+ * @property {number} Menge
141
+ * @property {string} Kommission
142
+ * @property {string} Kunde
143
+ * @property {number} VorgangsNummer
144
+ * @property {string} VorgangGuid
145
+ * @property {number} BelegNummer
146
+ */
147
+
148
+ /**
149
+ * @typedef {Object} ProfilKuerzelDTO
150
+ * @property {string} ProfilKuerzel
151
+ * @property {string} Beschreibung
152
+ * @property {string[]} VerfuegbarFuer
153
+ */
154
+
155
+ /**
156
+ * @typedef {Object} BearbeitungsKuerzelDTO
157
+ * @property {string} BearbeitungsKuerzel
158
+ * @property {string} Beschreibung
159
+ * @property {string[]} VerfuegbarFuer
160
+ * @property {string} FarbCode
161
+ * @property {string} RegularExpression
162
+ */
163
+
164
+ /**
165
+ * @typedef {Object} PCodeStatistikDTO
166
+ * @property {string} MandantGuid
167
+ * @property {string} MandantName
168
+ * @property {number} UsedPCodes
169
+ */
170
+
171
+ export {};