@vario-software/types 2026.41.3 → 2026.42.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vario-software/types",
3
- "version": "2026.41.3",
3
+ "version": "2026.42.0",
4
4
  "description": "TypeScript type definitions for the VARIO Cloud platform: REST API schemas, app framework contexts and scripting interfaces. Provides type checking, autocompletion and IntelliSense in TypeScript and JavaScript projects.",
5
5
  "homepage": "https://developer.vario-software.de/",
6
6
  "bugs": "https://developer.vario-software.de/help-support",
package/schema/erp.d.ts CHANGED
@@ -7636,6 +7636,23 @@ export interface paths {
7636
7636
  patch?: never;
7637
7637
  trace?: never;
7638
7638
  };
7639
+ "/erp/articles/{id}/instore-code": {
7640
+ parameters: {
7641
+ query?: never;
7642
+ header?: never;
7643
+ path?: never;
7644
+ cookie?: never;
7645
+ };
7646
+ /** Create the in-store barcode (EAN-13) of an article from its PLU code */
7647
+ get: operations["generateInstoreCode"];
7648
+ put?: never;
7649
+ post?: never;
7650
+ delete?: never;
7651
+ options?: never;
7652
+ head?: never;
7653
+ patch?: never;
7654
+ trace?: never;
7655
+ };
7639
7656
  "/erp/articles/{id}/languages-available-for-article": {
7640
7657
  parameters: {
7641
7658
  query?: never;
@@ -35968,6 +35985,11 @@ export interface components {
35968
35985
  version?: string;
35969
35986
  };
35970
35987
  "common-output-OutputRequest": {
35988
+ /**
35989
+ * @description Return output directly to the client.
35990
+ * @default true
35991
+ */
35992
+ directPrintEnabled: boolean;
35971
35993
  /** @description File name (without extension) for a file export. */
35972
35994
  exportFilename?: string;
35973
35995
  /**
@@ -36444,7 +36466,7 @@ export interface components {
36444
36466
  /** @description Version Identifier for this Object (for PUT) */
36445
36467
  version?: string;
36446
36468
  };
36447
- /** @description Completion log. */
36469
+ /** @description Log entries. */
36448
36470
  "common-task-TaskLogLine": {
36449
36471
  /** @description Unique identifier of the Object */
36450
36472
  id?: string;
@@ -37213,7 +37235,7 @@ export interface components {
37213
37235
  * @description Work item processing state.
37214
37236
  * @enum {string}
37215
37237
  */
37216
- state?: "OPEN" | "IN_PROCESS" | "COMPLETED" | "ERRONEOUS" | "ABORTED";
37238
+ state?: "OPEN" | "IN_PROCESS" | "COMPLETED" | "ERRONEOUS" | "ABORTED" | "ABORTED_BY_SUB_WORKFLOW";
37217
37239
  /** @description Version Identifier for this Object (for PUT) */
37218
37240
  version?: string;
37219
37241
  /**
@@ -41440,6 +41462,8 @@ export interface components {
41440
41462
  externalIdentifier?: string;
41441
41463
  /** @description External document number. */
41442
41464
  externalNumber?: string;
41465
+ /** @description Payment reference from an external system, e.g. the transaction id of the payment provider. */
41466
+ externalPaymentReference?: string;
41443
41467
  fabricationDetail?: components["schemas"]["erp-fabrication-DocumentFabricationDetail"];
41444
41468
  /**
41445
41469
  * @description Pass the email to the shipper.
@@ -41472,6 +41496,17 @@ export interface components {
41472
41496
  /** @description Document lines. */
41473
41497
  lines?: components["schemas"]["erp-document-DocumentLine"][];
41474
41498
  locationRef?: components["schemas"]["core-api-ApiObjectReference"];
41499
+ /**
41500
+ * @description Predominant supply of a sales document (goods or services). Empty for all other documents. Only taken over from the request if mainSupplyTypeOrigin is USER_DEFINED, then it is required.
41501
+ * @enum {string}
41502
+ */
41503
+ mainSupplyType?: "GOODS" | "SERVICES";
41504
+ /**
41505
+ * @description Origin of the main supply type. AUTOMATIC determines it from the document lines, PREDECESSOR takes over the value set by the user in the predecessor of a credit note or cancellation, USER_DEFINED keeps the value set by the user.
41506
+ * @default AUTOMATIC
41507
+ * @enum {string}
41508
+ */
41509
+ mainSupplyTypeOrigin: "AUTOMATIC" | "PREDECESSOR" | "USER_DEFINED";
41475
41510
  /**
41476
41511
  * Format: int32
41477
41512
  * @description Maximum possible deliveries.
@@ -42731,7 +42766,7 @@ export interface components {
42731
42766
  * @description Kinds of entries in the DocumentProtocol.
42732
42767
  * @enum {string}
42733
42768
  */
42734
- type: "MANUAL" | "CREATED" | "SAVED" | "BEGIN_EDITING" | "CANCEL_EDITING" | "PUBLISHED" | "FROZEN" | "NEW_VERSION_STARTED" | "TRANSFERRED_TO_DELIVERY" | "TRANSFERRED_FROM_OTHER" | "TRANSFERRED_TO_OTHER" | "TRANSFER_CANCELLED" | "DELETED" | "IN_PICKING" | "RESET_FROM_PICKING" | "COPIED" | "ELECTRONIC_INVOICE_VALIDATED" | "FINANCE_BOOKING" | "CANCELLED" | "DISSOLVED" | "DOCUMENT_STATE_MANUALLY_CHANGED" | "DOCUMENT_MAINTAINED" | "COMPLETED_WITH_UNDER_DELIVERY" | "ORDER_REMAINDER_CLOSED" | "ORDER_REOPENED" | "REVERT_AFTER_WORKFLOW_FAILURE" | "ORDER_DELIVERY_APPROVED" | "ORDER_DELIVERY_UNAPPROVED" | "DOCUMENT_PRINTED" | "MANUAL_DUE_DATE_CHANGE" | "MANUAL_NEXT_DUE_DATE_CHANGE" | "DROP_SHIPPING_DELIVERY_APPROVED_FOR_INVOICE_DUE_TO_SUPPLIER_DELIVERY" | "DROP_SHIPPING_DELIVERY_UNAPPROVED_FOR_INVOICE_DUE_TO_DELETION_SUPPLIER_DELIVERY" | "FABRICATION_STARTED" | "FABRICATION_CANCELLED" | "FABRICATION_PAUSED" | "FABRICATION_RESUMED" | "FABRICATION_COMPLETED" | "FABRICATION_RESTARTED" | "FABRICATION_STARTED_QA" | "FABRICATION_CANCELLED_QA" | "FABRICATION_FINISHED_QA" | "FABRICATION_FINISHED";
42769
+ type: "MANUAL" | "PROBLEM" | "CREATED" | "SAVED" | "BEGIN_EDITING" | "CANCEL_EDITING" | "PUBLISHED" | "FROZEN" | "NEW_VERSION_STARTED" | "TRANSFERRED_TO_DELIVERY" | "TRANSFERRED_FROM_OTHER" | "TRANSFERRED_TO_OTHER" | "TRANSFER_CANCELLED" | "DELETED" | "IN_PICKING" | "RESET_FROM_PICKING" | "COPIED" | "ELECTRONIC_INVOICE_VALIDATED" | "FINANCE_BOOKING" | "CANCELLED" | "DISSOLVED" | "DOCUMENT_STATE_MANUALLY_CHANGED" | "DOCUMENT_MANUALLY_TRANSFERRED_FROM_WORKFLOW_STATE" | "DOCUMENT_MAINTAINED" | "COMPLETED_WITH_UNDER_DELIVERY" | "ORDER_REMAINDER_CLOSED" | "ORDER_REOPENED" | "REVERT_AFTER_WORKFLOW_FAILURE" | "ORDER_DELIVERY_APPROVED" | "ORDER_DELIVERY_UNAPPROVED" | "DOCUMENT_PRINTED" | "MANUAL_DUE_DATE_CHANGE" | "MANUAL_NEXT_DUE_DATE_CHANGE" | "DROP_SHIPPING_DELIVERY_APPROVED_FOR_INVOICE_DUE_TO_SUPPLIER_DELIVERY" | "DROP_SHIPPING_DELIVERY_UNAPPROVED_FOR_INVOICE_DUE_TO_DELETION_SUPPLIER_DELIVERY" | "FABRICATION_STARTED" | "FABRICATION_CANCELLED" | "FABRICATION_PAUSED" | "FABRICATION_RESUMED" | "FABRICATION_COMPLETED" | "FABRICATION_RESTARTED" | "FABRICATION_STARTED_QA" | "FABRICATION_CANCELLED_QA" | "FABRICATION_FINISHED_QA" | "FABRICATION_FINISHED";
42735
42770
  /** @description User who created the entry. */
42736
42771
  readonly userName?: string;
42737
42772
  /** @description Version Identifier for this Object (for PUT) */
@@ -43226,6 +43261,8 @@ export interface components {
43226
43261
  externalId?: string;
43227
43262
  /** @description External document number. */
43228
43263
  externalNumber?: string;
43264
+ /** @description Payment reference from an external system, e.g. the transaction id of the payment provider. */
43265
+ externalPaymentReference?: string;
43229
43266
  /**
43230
43267
  * Format: int64
43231
43268
  * @description Pick trolley identifier for the incoming goods (when incomingGoodsStorageBinId is null).
@@ -43238,6 +43275,8 @@ export interface components {
43238
43275
  incomingGoodsStorageBinId?: number;
43239
43276
  /** @description Document lines. */
43240
43277
  lines?: components["schemas"]["erp-document-RequestDocumentLine"][];
43278
+ /** @description location-id to create a new Document */
43279
+ locationId?: string;
43241
43280
  /**
43242
43281
  * Format: date
43243
43282
  * @description Performance date.
@@ -44696,6 +44735,8 @@ export interface components {
44696
44735
  exchangeRate?: number;
44697
44736
  /** @description External open item number. */
44698
44737
  readonly externalNumber?: string;
44738
+ /** @description Payment reference from an external system */
44739
+ readonly externalPaymentReference?: string;
44699
44740
  /** @description The full amount of the payment */
44700
44741
  readonly fullPaymentAmount?: number;
44701
44742
  /** @description Unique identifier of the Object */
@@ -44855,6 +44896,8 @@ export interface components {
44855
44896
  dunningBlock?: boolean;
44856
44897
  /** @description External open item number. */
44857
44898
  externalNumber?: string;
44899
+ /** @description Payment reference from an external system. */
44900
+ externalPaymentReference?: string;
44858
44901
  /** @description Set to clarification. */
44859
44902
  inReview?: boolean;
44860
44903
  /**
@@ -44970,7 +45013,7 @@ export interface components {
44970
45013
  * @description The type of rule, i.e. used while looking through invoice-related open items
44971
45014
  * @enum {string}
44972
45015
  */
44973
- ruleType?: "INVOICE" | "ORDER" | "DEPOSIT_INVOICE" | "NAME" | "CUSTOMER_NUMBER" | "SUPPLIER_NUMBER" | "AMOUNT" | "EXTERNAL_NUMBER";
45016
+ ruleType?: "INVOICE" | "ORDER" | "DEPOSIT_INVOICE" | "NAME" | "CUSTOMER_NUMBER" | "SUPPLIER_NUMBER" | "AMOUNT" | "EXTERNAL_NUMBER" | "EXTERNAL_PAYMENT_REFERENCE";
44974
45017
  /** @description Version Identifier for this Object (for PUT) */
44975
45018
  version?: string;
44976
45019
  };
@@ -46260,6 +46303,8 @@ export interface components {
46260
46303
  * @enum {string}
46261
46304
  */
46262
46305
  priceBase?: "NET_PRICE" | "GROSS_PRICE";
46306
+ /** @description Price look-up code (PLU). */
46307
+ priceLookUpCode?: string;
46263
46308
  printLabelSettings?: components["schemas"]["erp-product-ArticlePrintLabelSettings"];
46264
46309
  /**
46265
46310
  * @description Only for quota articles: should the billing print a note that no quota is available?
@@ -50908,8 +50953,6 @@ export interface components {
50908
50953
  };
50909
50954
  /** @description Replenishment proposal. */
50910
50955
  "erp-wms-ReplenishmentProposal": {
50911
- /** @description Completion log. */
50912
- readonly finishLogLines?: components["schemas"]["common-task-TaskLogLine"][];
50913
50956
  /** @description Unique identifier of the Object */
50914
50957
  id?: string;
50915
50958
  info?: components["schemas"]["core-api-MetaInfo"];
@@ -50919,13 +50962,15 @@ export interface components {
50919
50962
  readonly number?: string;
50920
50963
  /** @description Replenishment picklists. */
50921
50964
  readonly picklistRefs?: components["schemas"]["core-api-ApiObjectReference"][];
50922
- sourceDocumentRef?: components["schemas"]["erp-document-DocumentRef"];
50965
+ /** @description Replenishment source documents. */
50966
+ readonly sourceDocumentRefs?: components["schemas"]["erp-document-DocumentRef"][];
50923
50967
  /**
50924
50968
  * @description Replenishment proposal status.
50925
50969
  * @enum {string}
50926
50970
  */
50927
- readonly state?: "OPEN" | "FINISHED" | "CANCELLED";
50928
- targetDocumentRef?: components["schemas"]["erp-document-DocumentRef"];
50971
+ readonly state?: "OPEN" | "PARTIALLY_IN_TRANSFER" | "IN_TRANSFER" | "FINISHED" | "CANCELLED";
50972
+ /** @description Replenishment target documents. */
50973
+ readonly targetDocumentRefs?: components["schemas"]["erp-document-DocumentRef"][];
50929
50974
  usedTemplate?: components["schemas"]["erp-wms-ReplenishmentProposalTemplate"];
50930
50975
  /** @description Version Identifier for this Object (for PUT) */
50931
50976
  version?: string;
@@ -71603,6 +71648,34 @@ export interface operations {
71603
71648
  };
71604
71649
  };
71605
71650
  };
71651
+ generateInstoreCode: {
71652
+ parameters: {
71653
+ query: {
71654
+ /** @description Prefix that defines the meaning of the value */
71655
+ prefix: "PRICE" | "QUANTITY" | "WEIGHT";
71656
+ /** @description depending on the prefix either a weight, currency or quantity value */
71657
+ value: number;
71658
+ };
71659
+ header?: never;
71660
+ path: {
71661
+ /** @description Article identifier. */
71662
+ id: number;
71663
+ };
71664
+ cookie?: never;
71665
+ };
71666
+ requestBody?: never;
71667
+ responses: {
71668
+ /** @description OK */
71669
+ 200: {
71670
+ headers: {
71671
+ [name: string]: unknown;
71672
+ };
71673
+ content: {
71674
+ "*/*": string;
71675
+ };
71676
+ };
71677
+ };
71678
+ };
71606
71679
  getLanguagesBySalesChannel: {
71607
71680
  parameters: {
71608
71681
  query?: {
@@ -35,7 +35,7 @@ import {
35
35
  ExternalDocumentWithTaxesLine, ExternalDocumentWithTaxesRequest,
36
36
  FabricationComponentForProduction, FabricationDefectiveRequest,
37
37
  FabricationProduceRequest, FabricationRemainingComponent,
38
- FabricationRevertRequest, FabricationSerialNumber, Group,
38
+ FabricationRevertRequest, FabricationSerialNumber, Group, JsonNode,
39
39
  LocalizedTextTemplateContent, OpenItem, PaymentMethod, PaymentTerm,
40
40
  PaymentTermRef, PickTrolley, PickTrolleyBox, Picklist, PicklistLine,
41
41
  PicklistLineBooking, PicklistLineComponent, PicklistTemplate,
@@ -572,27 +572,35 @@ export interface ArticleScriptingService {
572
572
  *
573
573
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
574
574
  * @param {number} articleId - ID des zu druckenden Artikels
575
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
575
576
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
576
577
  */
577
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
578
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
578
579
 
579
580
  /**
580
581
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
581
582
  *
582
583
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
583
584
  * @param {number} articleId - ID des zu druckenden Artikels
585
+ * @param {number} labelCount - Anzahl der zu druckenden Etiketten
584
586
  */
585
- addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
587
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
586
588
 
587
589
  /**
588
590
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
589
591
  *
590
592
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
591
593
  * @param {number} articleId - ID des zu druckenden Artikels
592
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
593
- * @param {number} labelCount - Anzahl der zu druckenden Etiketten
594
594
  */
595
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
595
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
596
+
597
+ /**
598
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
599
+ *
600
+ * @param {Article} toCreate - Der zu persistierende Artikel
601
+ * @return {Article} Der persistierte Artikel
602
+ */
603
+ create(toCreate: Article): Article;
596
604
 
597
605
  /**
598
606
  * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
@@ -606,14 +614,6 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
606
614
  */
607
615
  create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
608
616
 
609
- /**
610
- * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
611
- *
612
- * @param {Article} toCreate - Der zu persistierende Artikel
613
- * @return {Article} Der persistierte Artikel
614
- */
615
- create(toCreate: Article): Article;
616
-
617
617
  /**
618
618
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
619
619
  *
@@ -650,16 +650,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
650
650
  * Führt einen Etikettendrucklauf aus
651
651
  *
652
652
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
653
+ * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
653
654
  */
654
- executeLabelPrintBatch(batchIdentifier: string): void;
655
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
655
656
 
656
657
  /**
657
658
  * Führt einen Etikettendrucklauf aus
658
659
  *
659
660
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
660
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
661
661
  */
662
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
662
+ executeLabelPrintBatch(batchIdentifier: string): void;
663
663
 
664
664
  /**
665
665
  * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
@@ -725,72 +725,72 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
725
725
  newLabelPrintBatchIdentifier(): string;
726
726
 
727
727
  /**
728
- * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
728
+ * Liest einen Artikel mit Texten zur Sprache languageCode
729
729
  *
730
730
  * @param {number} id - ID vom zu lesenden Artikel
731
+ * @param {string} languageCode - Zu verwendende Sprache
731
732
  * @return {Article} Der gelesene Artikel
732
733
  */
733
- readById(id: number): Article;
734
+ readById(id: number, languageCode: string): Article;
734
735
 
735
736
  /**
736
- * Liest einen Artikel mit Texten zur Sprache languageCode
737
+ * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
737
738
  *
738
739
  * @param {number} id - ID vom zu lesenden Artikel
739
- * @param {string} languageCode - Zu verwendende Sprache
740
740
  * @return {Article} Der gelesene Artikel
741
741
  */
742
- readById(id: number, languageCode: string): Article;
742
+ readById(id: number): Article;
743
743
 
744
744
  /**
745
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
745
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
746
746
  *
747
747
  * @param {string} articleNumber - Eine Artikelnummer
748
- * @param {string} languageCode - Zu verwendende Sprache
749
748
  * @return {Article} Der gelesene Artikel
750
749
  */
751
- readByNumber(articleNumber: string, languageCode: string): Article;
750
+ readByNumber(articleNumber: string): Article;
752
751
 
753
752
  /**
754
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
753
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
755
754
  *
756
755
  * @param {string} articleNumber - Eine Artikelnummer
756
+ * @param {string} languageCode - Zu verwendende Sprache
757
757
  * @return {Article} Der gelesene Artikel
758
758
  */
759
- readByNumber(articleNumber: string): Article;
759
+ readByNumber(articleNumber: string, languageCode: string): Article;
760
760
 
761
761
  /**
762
- * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
762
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
763
763
  *
764
764
  * @param {Article} toStore - Der zu persistierende Artikel
765
+ * @param {string} languageCode -
765
766
  * @return {Article} Der persistierte Artikel
766
767
  */
767
- store(toStore: Article): Article;
768
+ store(toStore: Article, languageCode: string): Article;
768
769
 
769
770
  /**
770
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
771
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
771
772
  *
772
773
  * @param {Article} toStore - Der zu persistierende Artikel
773
- * @param {string} languageCode -
774
774
  * @return {Article} Der persistierte Artikel
775
775
  */
776
- store(toStore: Article, languageCode: string): Article;
776
+ store(toStore: Article): Article;
777
777
 
778
778
  /**
779
- * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
779
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
780
780
  *
781
781
  * @param {Article} toUpdate - Der zu persistierende Artikel
782
- * @param {string} languageCode -
783
782
  * @return {Article} Der aktualisiert Artikel
784
783
  */
785
- update(toUpdate: Article, languageCode: string): Article;
784
+ update(toUpdate: Article): Article;
786
785
 
787
786
  /**
788
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
787
+ * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
789
788
  *
790
789
  * @param {Article} toUpdate - Der zu persistierende Artikel
790
+ * @param {string} languageCode -
791
791
  * @return {Article} Der aktualisiert Artikel
792
792
  */
793
- update(toUpdate: Article): Article;
793
+ update(toUpdate: Article, languageCode: string): Article;
794
794
  }
795
795
 
796
796
  /**
@@ -1937,18 +1937,18 @@ export interface DocumentScriptingService {
1937
1937
  * Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
1938
1938
  *
1939
1939
  * @param {number} documentId - ID des Belegs
1940
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1940
1941
  * @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
1941
1942
  */
1942
- cancel(documentId: number): Document;
1943
+ cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1943
1944
 
1944
1945
  /**
1945
1946
  * Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
1946
1947
  *
1947
1948
  * @param {number} documentId - ID des Belegs
1948
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1949
1949
  * @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
1950
1950
  */
1951
- cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1951
+ cancel(documentId: number): Document;
1952
1952
 
1953
1953
  /**
1954
1954
  * Changes the delivery approval of an order
@@ -1963,20 +1963,20 @@ export interface DocumentScriptingService {
1963
1963
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1964
1964
  *
1965
1965
  * @param {number} documentId - ID des zu kopierenden Belegs
1966
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1966
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1967
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1967
1968
  * @return {Document} Der kopierte Beleg
1968
1969
  */
1969
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1970
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1970
1971
 
1971
1972
  /**
1972
1973
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1973
1974
  *
1974
1975
  * @param {number} documentId - ID des zu kopierenden Belegs
1975
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1976
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1976
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1977
1977
  * @return {Document} Der kopierte Beleg
1978
1978
  */
1979
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1979
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1980
1980
 
1981
1981
  /**
1982
1982
  * Erstellt einen neuen Beleg
@@ -1990,35 +1990,35 @@ export interface DocumentScriptingService {
1990
1990
  * Löst einen Beleg auf
1991
1991
  *
1992
1992
  * @param {number} documentId - ID des aufzulösenden Belegs
1993
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1994
1993
  * @return {Document} Der aufgelöste Beleg
1995
1994
  */
1996
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1995
+ dissolve(documentId: number): Document;
1997
1996
 
1998
1997
  /**
1999
1998
  * Löst einen Beleg auf
2000
1999
  *
2001
2000
  * @param {number} documentId - ID des aufzulösenden Belegs
2001
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
2002
2002
  * @return {Document} Der aufgelöste Beleg
2003
2003
  */
2004
- dissolve(documentId: number): Document;
2004
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2005
2005
 
2006
2006
  /**
2007
2007
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
2008
2008
  *
2009
2009
  * @param {number} documentId - ID des Belegs
2010
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
2011
2010
  * @return {Document} Der Beleg in Bearbeitung
2012
2011
  */
2013
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2012
+ edit(documentId: number): Document;
2014
2013
 
2015
2014
  /**
2016
2015
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
2017
2016
  *
2018
2017
  * @param {number} documentId - ID des Belegs
2018
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
2019
2019
  * @return {Document} Der Beleg in Bearbeitung
2020
2020
  */
2021
- edit(documentId: number): Document;
2021
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2022
2022
 
2023
2023
  /**
2024
2024
  * Erstellt ein AdditionalParameter-Objekt
@@ -2093,6 +2093,15 @@ export interface DocumentScriptingService {
2093
2093
  */
2094
2094
  importExternalDocument(request: ExternalDocumentWithTaxesRequest): Document;
2095
2095
 
2096
+ /**
2097
+ * Partially updates the custom fields of a document. Affects only the given groups and fields, all other custom fields stay unchanged. Custom fields may also be changed for documents not in EDIT mode.
2098
+ *
2099
+ * @param {number} documentId - ID of the document
2100
+ * @param {JsonNode} custom - Custom fields to change as JSON object
2101
+ * @return {Document} The updated document
2102
+ */
2103
+ patchCustomFields(documentId: number, custom: JsonNode): Document;
2104
+
2096
2105
  /**
2097
2106
  * Druckt einen Beleg
2098
2107
  *
@@ -3080,26 +3089,26 @@ export interface ScriptingServiceList {
3080
3089
  */
3081
3090
  crmTaskService: CrmTaskScriptingService;
3082
3091
 
3083
- /**
3084
- * Service zur Verarbeitung von Shelf-Documents
3085
- */
3086
- shelfDocumentService: ShelfDocumentScriptingService;
3087
-
3088
3092
  /**
3089
3093
  * Service zur Verarbeitung von Accounts
3090
3094
  */
3091
3095
  accountService: AccountScriptingService;
3092
3096
 
3093
3097
  /**
3094
- * Logging im Scripting
3098
+ * Service zur Verarbeitung von Shelf-Documents
3095
3099
  */
3096
- logger: LoggingScriptingService;
3100
+ shelfDocumentService: ShelfDocumentScriptingService;
3097
3101
 
3098
3102
  /**
3099
3103
  * Verwaltung von Versandarten
3100
3104
  */
3101
3105
  deliveryMethodService: DeliveryMethodScriptingService;
3102
3106
 
3107
+ /**
3108
+ * Logging im Scripting
3109
+ */
3110
+ logger: LoggingScriptingService;
3111
+
3103
3112
  /**
3104
3113
  * Service zur Verarbeitung von Deals
3105
3114
  */
@@ -3121,14 +3130,14 @@ export interface ScriptingServiceList {
3121
3130
  textTemplateService: TextTemplateScriptingService;
3122
3131
 
3123
3132
  /**
3124
- * Ausgabe-Support Methoden
3133
+ * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3125
3134
  */
3126
- outputHelper: ScriptOutputHelperService;
3135
+ productMainGroupService: ProductMainGroupScriptingService;
3127
3136
 
3128
3137
  /**
3129
- * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3138
+ * Ausgabe-Support Methoden
3130
3139
  */
3131
- productMainGroupService: ProductMainGroupScriptingService;
3140
+ outputHelper: ScriptOutputHelperService;
3132
3141
 
3133
3142
  /**
3134
3143
  * Service zur Verarbeitung von Account-Listings in Skripten
@@ -3156,14 +3165,14 @@ export interface ScriptingServiceList {
3156
3165
  utils: ScriptingUtilities;
3157
3166
 
3158
3167
  /**
3159
- * Service zur Verarbeitung von Variantenschemas in Skripten
3168
+ * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3160
3169
  */
3161
- variantSchemaService: VariantSchemaScriptingService;
3170
+ articleCustomerService: ArticleCustomerScriptingService;
3162
3171
 
3163
3172
  /**
3164
- * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3173
+ * Service zur Verarbeitung von Variantenschemas in Skripten
3165
3174
  */
3166
- articleCustomerService: ArticleCustomerScriptingService;
3175
+ variantSchemaService: VariantSchemaScriptingService;
3167
3176
 
3168
3177
  /**
3169
3178
  * Service zur Verarbeitung von Artikeln im Skripten
@@ -3175,11 +3184,6 @@ export interface ScriptingServiceList {
3175
3184
  */
3176
3185
  documentService: DocumentScriptingService;
3177
3186
 
3178
- /**
3179
- * Triggers free printing for supported output modules
3180
- */
3181
- freePrintingService: FreePrintingScriptingService;
3182
-
3183
3187
  /**
3184
3188
  * Service zur Verarbeitung von Artikel-Listings im Skripten
3185
3189
  */
@@ -3190,6 +3194,11 @@ export interface ScriptingServiceList {
3190
3194
  */
3191
3195
  variantValueListingService: VariantValueListingScriptingService;
3192
3196
 
3197
+ /**
3198
+ * Triggers free printing for supported output modules
3199
+ */
3200
+ freePrintingService: FreePrintingScriptingService;
3201
+
3193
3202
  /**
3194
3203
  * Service for processing commission assignments
3195
3204
  */
@@ -3201,14 +3210,14 @@ export interface ScriptingServiceList {
3201
3210
  articleStorageService: ArticleStorageScriptingService;
3202
3211
 
3203
3212
  /**
3204
- * Anfragen von neuen Zählerkreis-Nummern
3213
+ * Verwaltung von Zahlungsarten
3205
3214
  */
3206
- freeSequencerService: FreeSequencerScriptingService;
3215
+ paymentMethodService: PaymentMethodScriptingService;
3207
3216
 
3208
3217
  /**
3209
- * Verwaltung von Zahlungsarten
3218
+ * Anfragen von neuen Zählerkreis-Nummern
3210
3219
  */
3211
- paymentMethodService: PaymentMethodScriptingService;
3220
+ freeSequencerService: FreeSequencerScriptingService;
3212
3221
 
3213
3222
  /**
3214
3223
  * Service zur Verarbeitung von AssetsTypen in Skripten
@@ -3221,14 +3230,14 @@ export interface ScriptingServiceList {
3221
3230
  stockService: StockScriptingService;
3222
3231
 
3223
3232
  /**
3224
- * Service zur Verarbeitung von Variantenwerten in Skripten
3233
+ * Service zur Verarbeitung von Assets in Skripten
3225
3234
  */
3226
- variantValueService: VariantValueScriptingService;
3235
+ assetService: AssetScriptingService;
3227
3236
 
3228
3237
  /**
3229
- * Service zur Verarbeitung von Assets in Skripten
3238
+ * Service zur Verarbeitung von Variantenwerten in Skripten
3230
3239
  */
3231
- assetService: AssetScriptingService;
3240
+ variantValueService: VariantValueScriptingService;
3232
3241
 
3233
3242
  /**
3234
3243
  * Service zur Verarbeitung von ScenarioActualValue