@vario-software/types 2026.24.4 → 2026.25.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.24.4",
3
+ "version": "2026.25.0",
4
4
  "types": "./index.d.ts",
5
5
  "dependencies": {
6
6
  "@types/express": "^5.0.6"
package/schema/erp.d.ts CHANGED
@@ -4141,6 +4141,22 @@ export interface paths {
4141
4141
  patch?: never;
4142
4142
  trace?: never;
4143
4143
  };
4144
+ "/cmn/unit-type-ratio/convert": {
4145
+ parameters: {
4146
+ query?: never;
4147
+ header?: never;
4148
+ path?: never;
4149
+ cookie?: never;
4150
+ };
4151
+ get?: never;
4152
+ put?: never;
4153
+ post: operations["convertMultipleUnits"];
4154
+ delete?: never;
4155
+ options?: never;
4156
+ head?: never;
4157
+ patch?: never;
4158
+ trace?: never;
4159
+ };
4144
4160
  "/cmn/unit-type-ratio/convert/from/{sourceTypeAbbreviation}/to/{targetTypeAbbreviation}": {
4145
4161
  parameters: {
4146
4162
  query?: never;
@@ -4148,7 +4164,7 @@ export interface paths {
4148
4164
  path?: never;
4149
4165
  cookie?: never;
4150
4166
  };
4151
- get: operations["convertUnits"];
4167
+ get: operations["convertOneUnit"];
4152
4168
  put?: never;
4153
4169
  post?: never;
4154
4170
  delete?: never;
@@ -7923,6 +7939,22 @@ export interface paths {
7923
7939
  patch?: never;
7924
7940
  trace?: never;
7925
7941
  };
7942
+ "/erp/bank/accounts/{accountId}/balance": {
7943
+ parameters: {
7944
+ query?: never;
7945
+ header?: never;
7946
+ path?: never;
7947
+ cookie?: never;
7948
+ };
7949
+ get: operations["getBalance"];
7950
+ put: operations["setBalance"];
7951
+ post?: never;
7952
+ delete?: never;
7953
+ options?: never;
7954
+ head?: never;
7955
+ patch?: never;
7956
+ trace?: never;
7957
+ };
7926
7958
  "/erp/bank/accounts/{accountId}/balance_at_date/{date}": {
7927
7959
  parameters: {
7928
7960
  query?: never;
@@ -7930,6 +7962,7 @@ export interface paths {
7930
7962
  path?: never;
7931
7963
  cookie?: never;
7932
7964
  };
7965
+ /** @deprecated */
7933
7966
  get: operations["getBalanceAtDate"];
7934
7967
  put?: never;
7935
7968
  post?: never;
@@ -81376,6 +81409,21 @@ export interface components {
81376
81409
  /** @description Version Identifier for this Object (for PUT) */
81377
81410
  version?: string;
81378
81411
  };
81412
+ "common-masterdata-UnitTypeConversion": {
81413
+ /** @description Unique identifier of the Object */
81414
+ id?: string;
81415
+ info?: components["schemas"]["core-api-MetaInfo"];
81416
+ /** @description Ergebnis der Berechnung */
81417
+ readonly result?: number;
81418
+ /** @description Abkürzung der gegebenen Einheit */
81419
+ sourceTypeAbbreviation: string;
81420
+ /** @description Abkürzung der Zieleinheit */
81421
+ targetTypeAbbreviation: string;
81422
+ /** @description Wert, welcher umgerechnet werden soll */
81423
+ value: number;
81424
+ /** @description Version Identifier for this Object (for PUT) */
81425
+ version?: string;
81426
+ };
81379
81427
  "common-masterdata-UnitTypeRatio": {
81380
81428
  baseUnitTypeRef: components["schemas"]["common-masterdata-UnitTypeReference"];
81381
81429
  /**
@@ -85030,7 +85078,7 @@ export interface components {
85030
85078
  * @description payment type
85031
85079
  * @enum {string}
85032
85080
  */
85033
- type: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "APP" | "OTHER";
85081
+ type: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "OTHER";
85034
85082
  /** @description Version Identifier for this Object (for PUT) */
85035
85083
  version?: string;
85036
85084
  };
@@ -88313,11 +88361,17 @@ export interface components {
88313
88361
  depositInvoiceRef?: components["schemas"]["core-api-ApiObjectReference"];
88314
88362
  financeJournalAccountingInformation?: components["schemas"]["erp-finance-FinanceJournalAccountingInformation"];
88315
88363
  loanValue?: components["schemas"]["erp-account-AccountLoanValue"];
88364
+ /** @description Referenzen zu den Aufträgen/Bestellungen in der Belegkette */
88365
+ readonly orderRefs?: components["schemas"]["erp-document-DocumentRef"][];
88316
88366
  /** @description mögliche Vorbeleg-Typen */
88317
88367
  possiblePredecessorTypes?: string[];
88318
88368
  revenueCalculation?: components["schemas"]["erp-document-RevenueCalculation"];
88369
+ /** @description Gesamtbetrag der Rechnungen und Lieferschein/Rechnungen */
88370
+ sumAmountOfDeliveryInvoices?: number;
88319
88371
  /** @description Gesamtbetrag der Anzahlungsrechnungen */
88320
88372
  sumAmountOfDepositInvoices?: number;
88373
+ /** @description Gesamtbetrag der Teilrechnungen */
88374
+ sumAmountOfPartialInvoices?: number;
88321
88375
  /** @description Gesamtbetrag der Abschlagsrechnungen */
88322
88376
  sumAmountOfProgressInvoices?: number;
88323
88377
  /** @description offener Gesamtbetrag für Abschlagsrechnungen */
@@ -88469,6 +88523,8 @@ export interface components {
88469
88523
  */
88470
88524
  supplierAccountId?: number;
88471
88525
  targetDocumentType?: components["schemas"]["erp-document-DocumentType"];
88526
+ /** @description Kopf-/Fußtexte des Belegs */
88527
+ texts?: components["schemas"]["erp-document-DocumentText"][];
88472
88528
  };
88473
88529
  /** @description Details zum zu erstellenden oder zu bearbeitenden Beleg */
88474
88530
  "erp-document-RequestDocumentLine": {
@@ -89562,6 +89618,11 @@ export interface components {
89562
89618
  */
89563
89619
  assignmentType: "SALES_POSITION_LEDGER" | "PURCHASE_POSITION_LEDGER" | "COMMISSION_POSITION_LEDGER" | "BANK_LEDGER" | "RECEIVABLE_DUNNING_FEE_LEDGER" | "RECEIVABLE_DUNNING_INTEREST_LEDGER" | "OPEN_ITEM_MANUAL_CLOSURE" | "SALES_PREPAYMENT_TAX_LEDGER" | "SALES_PREPAYMENT_TAX_INTERIM_LEDGER" | "SALES_PREPAYMENT_DOCUMENTFIELD1_INTERIM_LEDGER" | "FINANCIAL_SETTLEMENT_LEDGER" | "LEDGER_NOT_RELEVANT_FOR_BUSINESS" | "PAYMENT_FEE_LEDGER" | "DISCOUNT_GRANTED" | "DISCOUNT_RECEIVED" | "BANK_TRANSACTION" | "POS_PAYMENT_LEDGER" | "CASH_JOURNAL_BALANCE_DIFFERENCE" | "POS_DEPOSIT_EXPENSE";
89564
89620
  bankAccountRef?: components["schemas"]["core-api-ApiObjectReference"];
89621
+ /**
89622
+ * @description Buchungskontotyp (Debitor/Kreditor) des OP, für den diese Kontenzuordnung gilt; leer = egal
89623
+ * @enum {string}
89624
+ */
89625
+ bookingAccountType?: "CUSTOMER" | "SUPPLIER";
89565
89626
  businessTransactionRef?: components["schemas"]["core-api-ApiObjectReference"];
89566
89627
  /** @description User comment */
89567
89628
  comment?: string;
@@ -89572,6 +89633,12 @@ export interface components {
89572
89633
  /** @description Unique identifier of the Object */
89573
89634
  id?: string;
89574
89635
  info?: components["schemas"]["core-api-MetaInfo"];
89636
+ /**
89637
+ * @description Ursprung des OP-Abschlusses, für den diese Kontenzuordnung gilt
89638
+ * @default IGNORE
89639
+ * @enum {string}
89640
+ */
89641
+ manualClosureOrigin: "MANUAL" | "AUTOMATIC" | "IGNORE";
89575
89642
  /** @description Performance country */
89576
89643
  performanceCountry?: string;
89577
89644
  posDepositExpenseTypeRef?: components["schemas"]["core-api-ApiObjectReference"];
@@ -89859,6 +89926,11 @@ export interface components {
89859
89926
  * @description Fälligkeitsdatum (Skonto2)
89860
89927
  */
89861
89928
  readonly paymentDiscount2DueDate?: string;
89929
+ /**
89930
+ * @description Ursprung der Skontowerte (Tage und Prozentsätze)
89931
+ * @enum {string}
89932
+ */
89933
+ paymentDiscountOrigin?: "FROM_PAYMENT_TERM" | "FROM_ACCOUNT" | "USER_DEFINED";
89862
89934
  /**
89863
89935
  * Format: date
89864
89936
  * @description Fälligkeitsdatum
@@ -89955,6 +90027,25 @@ export interface components {
89955
90027
  manualPaymentDueDate?: string;
89956
90028
  /** @description Zahlungssperre */
89957
90029
  paymentBlock?: boolean;
90030
+ /**
90031
+ * Format: int32
90032
+ * @description Fälligkeit in Tagen (Skonto 1), setzt den Ursprung der Skontowerte auf USER_DEFINED
90033
+ */
90034
+ paymentDays1?: number;
90035
+ /**
90036
+ * Format: int32
90037
+ * @description Fälligkeit in Tagen (Skonto 2), setzt den Ursprung der Skontowerte auf USER_DEFINED
90038
+ */
90039
+ paymentDays2?: number;
90040
+ /** @description Skonto 1 in Prozent, setzt den Ursprung der Skontowerte auf USER_DEFINED */
90041
+ paymentDiscount1?: number;
90042
+ /** @description Skonto 2 in Prozent, setzt den Ursprung der Skontowerte auf USER_DEFINED */
90043
+ paymentDiscount2?: number;
90044
+ /**
90045
+ * @description Ursprung der Skontowerte. Bei Änderung auf eine Wert ungleich USER_DEFINED werden die Werte wieder neu geladen.
90046
+ * @enum {string}
90047
+ */
90048
+ paymentDiscountOrigin?: "FROM_PAYMENT_TERM" | "FROM_ACCOUNT" | "USER_DEFINED";
89958
90049
  paymentMethodRef?: components["schemas"]["core-api-ApiObjectReference"];
89959
90050
  paymentTemplateRef?: components["schemas"]["core-api-ApiObjectReference"];
89960
90051
  /** @description Länderkennzeichen Leistungsland (ISO Alpha-3) */
@@ -90525,7 +90616,7 @@ export interface components {
90525
90616
  * @default MONEY_TRANSFER
90526
90617
  * @enum {string}
90527
90618
  */
90528
- paymentType: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "APP" | "OTHER";
90619
+ paymentType: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "OTHER";
90529
90620
  /** @description printDescription */
90530
90621
  printDescription?: string;
90531
90622
  /** @description translations */
@@ -91642,6 +91733,8 @@ export interface components {
91642
91733
  /** @description Anfrage Welche Artikel wie oft gedruckt werden soll */
91643
91734
  "erp-product-ArticlePrintLabelOrderRequest": {
91644
91735
  article?: components["schemas"]["core-api-ApiObjectReference"];
91736
+ /** @description Sprache (ISO Alpha-2) */
91737
+ languageCode?: string;
91645
91738
  /**
91646
91739
  * @description Etikettendruck
91647
91740
  * @default false
@@ -91659,6 +91752,10 @@ export interface components {
91659
91752
  /** @description Antwort Welche Artikel wie oft gedruckt werden soll */
91660
91753
  "erp-product-ArticlePrintLabelOrderResponse": {
91661
91754
  article?: components["schemas"]["core-api-ApiObjectReference"];
91755
+ /** @description Produktbeschreibung */
91756
+ description?: string;
91757
+ /** @description Sprache (ISO Alpha-2) */
91758
+ languageCode?: string;
91662
91759
  /**
91663
91760
  * Format: int32
91664
91761
  * @description Position
@@ -92290,6 +92387,13 @@ export interface components {
92290
92387
  /** @description Unique identifier of the Object */
92291
92388
  id?: string;
92292
92389
  info?: components["schemas"]["core-api-MetaInfo"];
92390
+ /** @description Wert des Aufschlags bei EK-Kalkulation */
92391
+ modifierValue?: number;
92392
+ /**
92393
+ * @description Typ von Werten
92394
+ * @enum {string}
92395
+ */
92396
+ modifierValueType?: "PERCENT" | "FIX";
92293
92397
  /** @description Netto-Preis */
92294
92398
  netPrice?: number;
92295
92399
  /**
@@ -92299,6 +92403,11 @@ export interface components {
92299
92403
  priceBase?: "NET_PRICE" | "GROSS_PRICE";
92300
92404
  priceGroupRef?: components["schemas"]["core-api-ApiObjectReference"];
92301
92405
  productGroupRef?: components["schemas"]["core-api-ApiObjectReference"];
92406
+ /**
92407
+ * @description Einkaufspreis zur Kalkulation
92408
+ * @enum {string}
92409
+ */
92410
+ purchasePriceSource?: "NONE" | "AVERAGE" | "MOST_RECENT";
92302
92411
  /**
92303
92412
  * @description Bestimmt, ob es sich um einen Verkaufs- oder Einkaufspreis handelt
92304
92413
  * @enum {string}
@@ -106507,7 +106616,31 @@ export interface operations {
106507
106616
  };
106508
106617
  };
106509
106618
  };
106510
- convertUnits: {
106619
+ convertMultipleUnits: {
106620
+ parameters: {
106621
+ query?: never;
106622
+ header?: never;
106623
+ path?: never;
106624
+ cookie?: never;
106625
+ };
106626
+ requestBody: {
106627
+ content: {
106628
+ "application/json": components["schemas"]["common-masterdata-UnitTypeConversion"][];
106629
+ };
106630
+ };
106631
+ responses: {
106632
+ /** @description OK */
106633
+ 200: {
106634
+ headers: {
106635
+ [name: string]: unknown;
106636
+ };
106637
+ content: {
106638
+ "application/json": components["schemas"]["common-masterdata-UnitTypeConversion"][];
106639
+ };
106640
+ };
106641
+ };
106642
+ };
106643
+ convertOneUnit: {
106511
106644
  parameters: {
106512
106645
  query: {
106513
106646
  value: number;
@@ -116558,6 +116691,54 @@ export interface operations {
116558
116691
  };
116559
116692
  };
116560
116693
  };
116694
+ getBalance: {
116695
+ parameters: {
116696
+ query?: never;
116697
+ header?: never;
116698
+ path: {
116699
+ /** @description ID des Accounts */
116700
+ accountId: number;
116701
+ };
116702
+ cookie?: never;
116703
+ };
116704
+ requestBody?: never;
116705
+ responses: {
116706
+ /** @description OK */
116707
+ 200: {
116708
+ headers: {
116709
+ [name: string]: unknown;
116710
+ };
116711
+ content: {
116712
+ "application/json": number;
116713
+ };
116714
+ };
116715
+ };
116716
+ };
116717
+ setBalance: {
116718
+ parameters: {
116719
+ query: {
116720
+ balance: number;
116721
+ };
116722
+ header?: never;
116723
+ path: {
116724
+ /** @description ID des Accounts */
116725
+ accountId: number;
116726
+ };
116727
+ cookie?: never;
116728
+ };
116729
+ requestBody?: never;
116730
+ responses: {
116731
+ /** @description OK */
116732
+ 200: {
116733
+ headers: {
116734
+ [name: string]: unknown;
116735
+ };
116736
+ content: {
116737
+ "application/json": components["schemas"]["core-api-OperationMessage"];
116738
+ };
116739
+ };
116740
+ };
116741
+ };
116561
116742
  getBalanceAtDate: {
116562
116743
  parameters: {
116563
116744
  query?: never;
@@ -32,10 +32,10 @@ import {
32
32
  EShelfDocumentDeletionState, FabricationComponentForProduction,
33
33
  FabricationDefectiveRequest, FabricationProduceRequest,
34
34
  FabricationRemainingComponent, FabricationRevertRequest,
35
- FabricationSerialNumber, Group, PaymentMethod, PaymentTerm, PaymentTermRef,
36
- PickTrolley, PickTrolleyBox, Picklist, PicklistLine, PicklistLineBooking,
37
- PicklistLineComponent, PicklistTemplate, PicklistTemplate$DateRange,
38
- PicklistTemplate$OrderSelectionOptions,
35
+ FabricationSerialNumber, Group, OpenItem, PaymentMethod, PaymentTerm,
36
+ PaymentTermRef, PickTrolley, PickTrolleyBox, Picklist, PicklistLine,
37
+ PicklistLineBooking, PicklistLineComponent, PicklistTemplate,
38
+ PicklistTemplate$DateRange, PicklistTemplate$OrderSelectionOptions,
39
39
  PicklistTemplate$PicklistCreationOptions,
40
40
  PicklistTemplate$PicklistProcessingOptions,
41
41
  PicklistTemplate$PicklistScript, PriceSelectionCriteria, Product,
@@ -550,27 +550,27 @@ export interface ArticleScriptingService {
550
550
  *
551
551
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
552
552
  * @param {number} articleId - ID des zu druckenden Artikels
553
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
554
553
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
555
554
  */
556
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
555
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
557
556
 
558
557
  /**
559
558
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
560
559
  *
561
560
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
562
561
  * @param {number} articleId - ID des zu druckenden Artikels
563
- * @param {number} labelCount - Anzahl der zu druckenden Etiketten
564
562
  */
565
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
563
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
566
564
 
567
565
  /**
568
566
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
569
567
  *
570
568
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
571
569
  * @param {number} articleId - ID des zu druckenden Artikels
570
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
571
+ * @param {number} labelCount - Anzahl der zu druckenden Etiketten
572
572
  */
573
- addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
573
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
574
574
 
575
575
  /**
576
576
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -703,21 +703,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
703
703
  readById(id: number, languageCode: string): Article;
704
704
 
705
705
  /**
706
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
706
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
707
707
  *
708
708
  * @param {string} articleNumber - Eine Artikelnummer
709
+ * @param {string} languageCode - Zu verwendende Sprache
709
710
  * @return {Article} Der gelesene Artikel
710
711
  */
711
- readByNumber(articleNumber: string): Article;
712
+ readByNumber(articleNumber: string, languageCode: string): Article;
712
713
 
713
714
  /**
714
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
715
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
715
716
  *
716
717
  * @param {string} articleNumber - Eine Artikelnummer
717
- * @param {string} languageCode - Zu verwendende Sprache
718
718
  * @return {Article} Der gelesene Artikel
719
719
  */
720
- readByNumber(articleNumber: string, languageCode: string): Article;
720
+ readByNumber(articleNumber: string): Article;
721
721
 
722
722
  /**
723
723
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -1918,6 +1918,20 @@ export interface LoggingScriptingService {
1918
1918
  warn(toLog: object): void;
1919
1919
  }
1920
1920
 
1921
+ /**
1922
+ * Service zur Verarbeitung von Offenen Posten
1923
+ */
1924
+ export interface OpenItemScriptingService {
1925
+
1926
+ /**
1927
+ * Übernimmt Zahlungsbedingung und Zahlart aus dem Kunden- bzw. Lieferantenstamm des Accounts in den Offenen Posten und berechnet die Fälligkeiten neu
1928
+ *
1929
+ * @param {number} openItemId - ID eines Offenen Postens
1930
+ * @return {OpenItem} Der aktualisierte Offene Posten
1931
+ */
1932
+ applyPaymentDataFromAccount(openItemId: number): OpenItem;
1933
+ }
1934
+
1921
1935
  /**
1922
1936
  * Verwaltung von Zahlungsarten
1923
1937
  */
@@ -2654,14 +2668,14 @@ export interface ScriptingServiceList {
2654
2668
  crmTaskService: CrmTaskScriptingService;
2655
2669
 
2656
2670
  /**
2657
- * Service zur Verarbeitung von Accounts
2671
+ * Service zur Verarbeitung von Shelf-Documents
2658
2672
  */
2659
- accountService: AccountScriptingService;
2673
+ shelfDocumentService: ShelfDocumentScriptingService;
2660
2674
 
2661
2675
  /**
2662
- * Service zur Verarbeitung von Shelf-Documents
2676
+ * Service zur Verarbeitung von Accounts
2663
2677
  */
2664
- shelfDocumentService: ShelfDocumentScriptingService;
2678
+ accountService: AccountScriptingService;
2665
2679
 
2666
2680
  /**
2667
2681
  * Logging im Scripting
@@ -2808,6 +2822,11 @@ export interface ScriptingServiceList {
2808
2822
  */
2809
2823
  deliveryTermService: DeliveryTermScriptingService;
2810
2824
 
2825
+ /**
2826
+ * Service zur Verarbeitung von Offenen Posten
2827
+ */
2828
+ openItemService: OpenItemScriptingService;
2829
+
2811
2830
  /**
2812
2831
  * Verwaltung von CRM-Belegreferenzen
2813
2832
  */
@@ -2871,18 +2890,18 @@ export interface ScriptingUtilities {
2871
2890
  * Erstellt eine neue BigDecimal-Instanz
2872
2891
  *
2873
2892
  * @param {object} value - Der Quell-Wert
2893
+ * @param {number} scale - Anzahl Nachkommastellen
2874
2894
  * @return {number} Ein BigDecimal-Wert
2875
2895
  */
2876
- newBigDecimal(value: object): number;
2896
+ newBigDecimal(value: object, scale: number): number;
2877
2897
 
2878
2898
  /**
2879
2899
  * Erstellt eine neue BigDecimal-Instanz
2880
2900
  *
2881
2901
  * @param {object} value - Der Quell-Wert
2882
- * @param {number} scale - Anzahl Nachkommastellen
2883
2902
  * @return {number} Ein BigDecimal-Wert
2884
2903
  */
2885
- newBigDecimal(value: object, scale: number): number;
2904
+ newBigDecimal(value: object): number;
2886
2905
 
2887
2906
  /**
2888
2907
  * Erstellt eine API-Referenz
@@ -2914,24 +2933,24 @@ export interface ShelfDocumentScriptingService {
2914
2933
  deleteAttribution(attributionId: number): void;
2915
2934
 
2916
2935
  /**
2917
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
2936
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
2918
2937
  *
2919
2938
  * @param {string} url - Download-URL
2920
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
2921
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
2922
2939
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2923
2940
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2924
2941
  */
2925
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
2942
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
2926
2943
 
2927
2944
  /**
2928
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
2945
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
2929
2946
  *
2930
2947
  * @param {string} url - Download-URL
2948
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
2949
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
2931
2950
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2932
2951
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2933
2952
  */
2934
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
2953
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
2935
2954
 
2936
2955
  /**
2937
2956
  * Findet ein Dokumentenart über ihren Schlüssel