@vario-software/types 2026.28.2 → 2026.28.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vario-software/types",
3
- "version": "2026.28.2",
3
+ "version": "2026.28.3",
4
4
  "types": "./index.d.ts",
5
5
  "dependencies": {
6
6
  "@types/express": "^5.0.6"
package/schema/erp.d.ts CHANGED
@@ -12425,6 +12425,23 @@ export interface paths {
12425
12425
  patch?: never;
12426
12426
  trace?: never;
12427
12427
  };
12428
+ "/erp/documents/additional-functions/{documentId}/toggle-finalized": {
12429
+ parameters: {
12430
+ query?: never;
12431
+ header?: never;
12432
+ path?: never;
12433
+ cookie?: never;
12434
+ };
12435
+ get?: never;
12436
+ put?: never;
12437
+ /** Wechselt den Finalisierungsstatus eines Dokuments: bei Einkaufsbelegen 'frozen', bei Verkaufsbelegen 'published' */
12438
+ post: operations["toggleFinalizedDocumentState"];
12439
+ delete?: never;
12440
+ options?: never;
12441
+ head?: never;
12442
+ patch?: never;
12443
+ trace?: never;
12444
+ };
12428
12445
  "/erp/documents/additional-functions/{documentId}/unlock-openitem": {
12429
12446
  parameters: {
12430
12447
  query?: never;
@@ -97607,7 +97624,7 @@ export interface components {
97607
97624
  * @description Status der Picklistenverarbeitung
97608
97625
  * @enum {string}
97609
97626
  */
97610
- processingState?: "PICKING_FINISHED" | "PACKING_FINISHED" | "DELIVERY_DOCUMENT_CREATED" | "PICKLIST_PAUSED" | "PICKLIST_CANCELLED" | "PICKLIST_CHOSEN" | "PICK_TROLLEY_CHOSEN" | "PICK_TROLLEY_BOX_CHOSEN" | "PICK_TROLLEY_BOX_CANCELLED" | "STORAGE_BIN_CHOSEN" | "ARTICLE_CHOSEN" | "SERIAL_NUMBER_CHOSEN" | "SERIAL_NUMBER_LIST_PROCESSED" | "ABSOLUTE_QUANTITY_MANUAL_CHANGED" | "RELATIVE_QUANTITY_MANUAL_CHANGED" | "PARCEL_NEEDS_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED" | "PARCELS_FOR_DELIVERY_NEED_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED_FOR_DELIVERY" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED_FOR_DELIVERY" | "SCAN_DELIVERY_DOCUMENT_OR_SHIPPING_LABEL" | "SCAN_DELIVERY_DOCUMENT" | "SCAN_SHIPPING_LABEL" | "PICKLIST_FOR_MISSING_GOODS_PICKING_CREATED" | "SCAN_PICK_TROLLEY_BOX_FOR_CONFIRMATION" | "PICK_TROLLEY_BOX_SCANNED_FOR_CONFIRMATION";
97627
+ processingState?: "PICKING_FINISHED" | "PACKING_FINISHED" | "DELIVERY_DOCUMENT_CREATED" | "PICKLIST_PAUSED" | "PICKLIST_CANCELLED" | "PICKLIST_CHOSEN" | "PICK_TROLLEY_CHOSEN" | "PICK_TROLLEY_BOX_CHOSEN" | "PICK_TROLLEY_BOX_CANCELLED" | "STORAGE_BIN_CHOSEN" | "ARTICLE_CHOSEN" | "SERIAL_NUMBER_CHOSEN" | "SERIAL_NUMBER_LIST_PROCESSED" | "ABSOLUTE_QUANTITY_MANUAL_CHANGED" | "RELATIVE_QUANTITY_MANUAL_CHANGED" | "PARCEL_NEEDS_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED" | "PARCELS_FOR_DELIVERY_NEED_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED_FOR_DELIVERY" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED_FOR_DELIVERY" | "SHIPPING_LABEL_PRINTED" | "SCAN_DELIVERY_DOCUMENT_OR_SHIPPING_LABEL" | "SCAN_DELIVERY_DOCUMENT" | "SCAN_SHIPPING_LABEL" | "PICKLIST_FOR_MISSING_GOODS_PICKING_CREATED" | "SCAN_PICK_TROLLEY_BOX_FOR_CONFIRMATION" | "PICK_TROLLEY_BOX_SCANNED_FOR_CONFIRMATION";
97611
97628
  serialNumber?: components["schemas"]["erp-product-ArticleSerialNumber"];
97612
97629
  /**
97613
97630
  * Format: int64
@@ -131142,6 +131159,28 @@ export interface operations {
131142
131159
  };
131143
131160
  };
131144
131161
  };
131162
+ toggleFinalizedDocumentState: {
131163
+ parameters: {
131164
+ query?: never;
131165
+ header?: never;
131166
+ path: {
131167
+ documentId: number;
131168
+ };
131169
+ cookie?: never;
131170
+ };
131171
+ requestBody?: never;
131172
+ responses: {
131173
+ /** @description OK */
131174
+ 200: {
131175
+ headers: {
131176
+ [name: string]: unknown;
131177
+ };
131178
+ content: {
131179
+ "*/*": components["schemas"]["erp-document-DocumentResponse"];
131180
+ };
131181
+ };
131182
+ };
131183
+ };
131145
131184
  unlockOpenItem: {
131146
131185
  parameters: {
131147
131186
  query?: never;
@@ -1800,18 +1800,18 @@ export interface DocumentScriptingService {
1800
1800
  * Löst einen Beleg auf
1801
1801
  *
1802
1802
  * @param {number} documentId - ID des aufzulösenden Belegs
1803
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1803
1804
  * @return {Document} Der aufgelöste Beleg
1804
1805
  */
1805
- dissolve(documentId: number): Document;
1806
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1806
1807
 
1807
1808
  /**
1808
1809
  * Löst einen Beleg auf
1809
1810
  *
1810
1811
  * @param {number} documentId - ID des aufzulösenden Belegs
1811
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1812
1812
  * @return {Document} Der aufgelöste Beleg
1813
1813
  */
1814
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1814
+ dissolve(documentId: number): Document;
1815
1815
 
1816
1816
  /**
1817
1817
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
@@ -1931,16 +1931,16 @@ export interface DocumentScriptingService {
1931
1931
  * Versendet einen Beleg per Mail
1932
1932
  *
1933
1933
  * @param {number} documentId - ID des zu versendenden Belegs
1934
+ * @param {string} reportGroupIdentifier -
1934
1935
  */
1935
- sendViaMail(documentId: number): void;
1936
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1936
1937
 
1937
1938
  /**
1938
1939
  * Versendet einen Beleg per Mail
1939
1940
  *
1940
1941
  * @param {number} documentId - ID des zu versendenden Belegs
1941
- * @param {string} reportGroupIdentifier -
1942
1942
  */
1943
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1943
+ sendViaMail(documentId: number): void;
1944
1944
 
1945
1945
  /**
1946
1946
  * Überführt einen Beleg in einen anderen Status
@@ -2862,14 +2862,14 @@ export interface ScriptingServiceList {
2862
2862
  crmTaskService: CrmTaskScriptingService;
2863
2863
 
2864
2864
  /**
2865
- * Service zur Verarbeitung von Accounts
2865
+ * Service zur Verarbeitung von Shelf-Documents
2866
2866
  */
2867
- accountService: AccountScriptingService;
2867
+ shelfDocumentService: ShelfDocumentScriptingService;
2868
2868
 
2869
2869
  /**
2870
- * Service zur Verarbeitung von Shelf-Documents
2870
+ * Service zur Verarbeitung von Accounts
2871
2871
  */
2872
- shelfDocumentService: ShelfDocumentScriptingService;
2872
+ accountService: AccountScriptingService;
2873
2873
 
2874
2874
  /**
2875
2875
  * Verwaltung von Versandarten
@@ -3099,18 +3099,18 @@ export interface ScriptingUtilities {
3099
3099
  * Erstellt eine neue BigDecimal-Instanz
3100
3100
  *
3101
3101
  * @param {object} value - Der Quell-Wert
3102
- * @param {number} scale - Anzahl Nachkommastellen
3103
3102
  * @return {number} Ein BigDecimal-Wert
3104
3103
  */
3105
- newBigDecimal(value: object, scale: number): number;
3104
+ newBigDecimal(value: object): number;
3106
3105
 
3107
3106
  /**
3108
3107
  * Erstellt eine neue BigDecimal-Instanz
3109
3108
  *
3110
3109
  * @param {object} value - Der Quell-Wert
3110
+ * @param {number} scale - Anzahl Nachkommastellen
3111
3111
  * @return {number} Ein BigDecimal-Wert
3112
3112
  */
3113
- newBigDecimal(value: object): number;
3113
+ newBigDecimal(value: object, scale: number): number;
3114
3114
 
3115
3115
  /**
3116
3116
  * Erstellt eine API-Referenz