@vario-software/types 2026.41.4 → 2026.42.1

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.4",
3
+ "version": "2026.42.1",
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,
@@ -502,21 +502,21 @@ export interface ArticleListingScriptingService {
502
502
  getNewDto(): ArticleListing;
503
503
 
504
504
  /**
505
- * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
505
+ * Liest alle Listings zu einem Artikel
506
506
  *
507
507
  * @param {number} articleId - ID des Artikels
508
- * @param {string} languageCode - Zu verwendende Sprache
509
508
  * @return {Array<ArticleListing>} Liste der Listings
510
509
  */
511
- readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
510
+ readAllByArticleId(articleId: number): Array<ArticleListing>;
512
511
 
513
512
  /**
514
- * Liest alle Listings zu einem Artikel
513
+ * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
515
514
  *
516
515
  * @param {number} articleId - ID des Artikels
516
+ * @param {string} languageCode - Zu verwendende Sprache
517
517
  * @return {Array<ArticleListing>} Liste der Listings
518
518
  */
519
- readAllByArticleId(articleId: number): Array<ArticleListing>;
519
+ readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
520
520
 
521
521
  /**
522
522
  * Liest eine Liste von DTOs
@@ -572,35 +572,27 @@ 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
576
- * @param {number} labelCount - Anzahl der zu druckenden Etiketten
577
575
  */
578
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
576
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
579
577
 
580
578
  /**
581
579
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
582
580
  *
583
581
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
584
582
  * @param {number} articleId - ID des zu druckenden Artikels
583
+ * @param {number} labelCount - Anzahl der zu druckenden Etiketten
585
584
  */
586
- addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
585
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
587
586
 
588
587
  /**
589
588
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
590
589
  *
591
590
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
592
591
  * @param {number} articleId - ID des zu druckenden Artikels
592
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
593
593
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
594
594
  */
595
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: 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;
595
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
604
596
 
605
597
  /**
606
598
  * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
@@ -623,6 +615,14 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
623
615
  */
624
616
  create(toCreate: Article, languageCode: string): Article;
625
617
 
618
+ /**
619
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
620
+ *
621
+ * @param {Article} toCreate - Der zu persistierende Artikel
622
+ * @return {Article} Der persistierte Artikel
623
+ */
624
+ create(toCreate: Article): Article;
625
+
626
626
  /**
627
627
  * Deaktiviert ein DTO
628
628
  *
@@ -662,21 +662,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
662
662
  executeLabelPrintBatch(batchIdentifier: string): void;
663
663
 
664
664
  /**
665
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
665
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
666
666
  *
667
667
  * @param {string} articleNumber - Eine Artikelnummer
668
- * @return {Article} Der gelesene Artikel oder null
668
+ * @param {string} languageCode - Zu verwendende Sprache
669
+ * @return {Article} Der gelesene Artikel oder null
669
670
  */
670
- findByNumber(articleNumber: string): Article;
671
+ findByNumber(articleNumber: string, languageCode: string): Article;
671
672
 
672
673
  /**
673
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
674
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
674
675
  *
675
676
  * @param {string} articleNumber - Eine Artikelnummer
676
- * @param {string} languageCode - Zu verwendende Sprache
677
- * @return {Article} Der gelesene Artikel oder null
677
+ * @return {Article} Der gelesene Artikel oder null
678
678
  */
679
- findByNumber(articleNumber: string, languageCode: string): Article;
679
+ findByNumber(articleNumber: string): Article;
680
680
 
681
681
  /**
682
682
  * Liefert die Einkaufsrabatte zu einem Artikel
@@ -742,55 +742,55 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
742
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 {@code languageCode} gespeichert
762
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
763
763
  *
764
764
  * @param {Article} toStore - Der zu persistierende Artikel
765
- * @param {string} languageCode -
766
765
  * @return {Article} Der persistierte Artikel
767
766
  */
768
- store(toStore: Article, languageCode: string): Article;
767
+ store(toStore: Article): Article;
769
768
 
770
769
  /**
771
- * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
770
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
772
771
  *
773
772
  * @param {Article} toStore - Der zu persistierende Artikel
773
+ * @param {string} languageCode -
774
774
  * @return {Article} Der persistierte Artikel
775
775
  */
776
- store(toStore: Article): Article;
776
+ store(toStore: Article, languageCode: string): Article;
777
777
 
778
778
  /**
779
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
779
+ * Aktualisiert 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 -
782
783
  * @return {Article} Der aktualisiert Artikel
783
784
  */
784
- update(toUpdate: Article): Article;
785
+ update(toUpdate: Article, languageCode: string): Article;
785
786
 
786
787
  /**
787
- * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
788
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
788
789
  *
789
790
  * @param {Article} toUpdate - Der zu persistierende Artikel
790
- * @param {string} languageCode -
791
791
  * @return {Article} Der aktualisiert Artikel
792
792
  */
793
- update(toUpdate: Article, languageCode: string): Article;
793
+ update(toUpdate: Article): 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
1941
1940
  * @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
1942
1941
  */
1943
- cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1942
+ cancel(documentId: number): Document;
1944
1943
 
1945
1944
  /**
1946
1945
  * Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
1947
1946
  *
1948
1947
  * @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): Document;
1951
+ cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1952
1952
 
1953
1953
  /**
1954
1954
  * Changes the delivery approval of an order
@@ -1990,18 +1990,18 @@ 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
1993
1994
  * @return {Document} Der aufgelöste Beleg
1994
1995
  */
1995
- dissolve(documentId: number): Document;
1996
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1996
1997
 
1997
1998
  /**
1998
1999
  * Löst einen Beleg auf
1999
2000
  *
2000
2001
  * @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, additionalParameters: Array<AdditionalParameter>): Document;
2004
+ dissolve(documentId: number): Document;
2005
2005
 
2006
2006
  /**
2007
2007
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
@@ -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
  *
@@ -2129,16 +2138,16 @@ export interface DocumentScriptingService {
2129
2138
  * Versendet einen Beleg per Mail
2130
2139
  *
2131
2140
  * @param {number} documentId - ID des zu versendenden Belegs
2132
- * @param {string} reportGroupIdentifier -
2133
2141
  */
2134
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
2142
+ sendViaMail(documentId: number): void;
2135
2143
 
2136
2144
  /**
2137
2145
  * Versendet einen Beleg per Mail
2138
2146
  *
2139
2147
  * @param {number} documentId - ID des zu versendenden Belegs
2148
+ * @param {string} reportGroupIdentifier -
2140
2149
  */
2141
- sendViaMail(documentId: number): void;
2150
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
2142
2151
 
2143
2152
  /**
2144
2153
  * Überführt einen Beleg in einen anderen Status
@@ -3091,14 +3100,14 @@ export interface ScriptingServiceList {
3091
3100
  accountService: AccountScriptingService;
3092
3101
 
3093
3102
  /**
3094
- * Verwaltung von Versandarten
3103
+ * Logging im Scripting
3095
3104
  */
3096
- deliveryMethodService: DeliveryMethodScriptingService;
3105
+ logger: LoggingScriptingService;
3097
3106
 
3098
3107
  /**
3099
- * Logging im Scripting
3108
+ * Verwaltung von Versandarten
3100
3109
  */
3101
- logger: LoggingScriptingService;
3110
+ deliveryMethodService: DeliveryMethodScriptingService;
3102
3111
 
3103
3112
  /**
3104
3113
  * Service zur Verarbeitung von Deals
@@ -3121,14 +3130,14 @@ export interface ScriptingServiceList {
3121
3130
  textTemplateService: TextTemplateScriptingService;
3122
3131
 
3123
3132
  /**
3124
- * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3133
+ * Ausgabe-Support Methoden
3125
3134
  */
3126
- productMainGroupService: ProductMainGroupScriptingService;
3135
+ outputHelper: ScriptOutputHelperService;
3127
3136
 
3128
3137
  /**
3129
- * Ausgabe-Support Methoden
3138
+ * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3130
3139
  */
3131
- outputHelper: ScriptOutputHelperService;
3140
+ productMainGroupService: ProductMainGroupScriptingService;
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 Artikel-Kundenbeziehungen im Skripten
3168
+ * Service zur Verarbeitung von Variantenschemas in Skripten
3160
3169
  */
3161
- articleCustomerService: ArticleCustomerScriptingService;
3170
+ variantSchemaService: VariantSchemaScriptingService;
3162
3171
 
3163
3172
  /**
3164
- * Service zur Verarbeitung von Variantenschemas in Skripten
3173
+ * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3165
3174
  */
3166
- variantSchemaService: VariantSchemaScriptingService;
3175
+ articleCustomerService: ArticleCustomerScriptingService;
3167
3176
 
3168
3177
  /**
3169
3178
  * Service zur Verarbeitung von Artikeln im Skripten
@@ -3175,6 +3184,11 @@ export interface ScriptingServiceList {
3175
3184
  */
3176
3185
  documentService: DocumentScriptingService;
3177
3186
 
3187
+ /**
3188
+ * Triggers free printing for supported output modules
3189
+ */
3190
+ freePrintingService: FreePrintingScriptingService;
3191
+
3178
3192
  /**
3179
3193
  * Service zur Verarbeitung von Artikel-Listings im Skripten
3180
3194
  */
@@ -3185,11 +3199,6 @@ export interface ScriptingServiceList {
3185
3199
  */
3186
3200
  variantValueListingService: VariantValueListingScriptingService;
3187
3201
 
3188
- /**
3189
- * Triggers free printing for supported output modules
3190
- */
3191
- freePrintingService: FreePrintingScriptingService;
3192
-
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
- * Verwaltung von Zahlungsarten
3213
+ * Anfragen von neuen Zählerkreis-Nummern
3205
3214
  */
3206
- paymentMethodService: PaymentMethodScriptingService;
3215
+ freeSequencerService: FreeSequencerScriptingService;
3207
3216
 
3208
3217
  /**
3209
- * Anfragen von neuen Zählerkreis-Nummern
3218
+ * Verwaltung von Zahlungsarten
3210
3219
  */
3211
- freeSequencerService: FreeSequencerScriptingService;
3220
+ paymentMethodService: PaymentMethodScriptingService;
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 Assets in Skripten
3233
+ * Service zur Verarbeitung von Variantenwerten in Skripten
3225
3234
  */
3226
- assetService: AssetScriptingService;
3235
+ variantValueService: VariantValueScriptingService;
3227
3236
 
3228
3237
  /**
3229
- * Service zur Verarbeitung von Variantenwerten in Skripten
3238
+ * Service zur Verarbeitung von Assets in Skripten
3230
3239
  */
3231
- variantValueService: VariantValueScriptingService;
3240
+ assetService: AssetScriptingService;
3232
3241
 
3233
3242
  /**
3234
3243
  * Service zur Verarbeitung von ScenarioActualValue
@@ -3394,24 +3403,24 @@ export interface ShelfDocumentScriptingService {
3394
3403
  deleteAttribution(attributionId: number): void;
3395
3404
 
3396
3405
  /**
3397
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3406
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3398
3407
  *
3399
3408
  * @param {string} url - Download-URL
3409
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3410
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3400
3411
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3401
3412
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3402
3413
  */
3403
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3414
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3404
3415
 
3405
3416
  /**
3406
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3417
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3407
3418
  *
3408
3419
  * @param {string} url - Download-URL
3409
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3410
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3411
3420
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3412
3421
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3413
3422
  */
3414
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3423
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3415
3424
 
3416
3425
  /**
3417
3426
  * Findet ein Dokumentenart über ihren Schlüssel