@vario-software/types 2026.33.4 → 2026.34.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 +1 -1
- package/schema/erp.d.ts +113 -8
- package/scripting/services.d.ts +73 -57
- package/scripting/types.d.ts +457 -411
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.34.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
|
@@ -3970,6 +3970,30 @@ export interface paths {
|
|
|
3970
3970
|
patch?: never;
|
|
3971
3971
|
trace?: never;
|
|
3972
3972
|
};
|
|
3973
|
+
"/cmn/task/{id}/tracing": {
|
|
3974
|
+
parameters: {
|
|
3975
|
+
query?: never;
|
|
3976
|
+
header?: never;
|
|
3977
|
+
path?: never;
|
|
3978
|
+
cookie?: never;
|
|
3979
|
+
};
|
|
3980
|
+
get?: never;
|
|
3981
|
+
/**
|
|
3982
|
+
* Aktiviert das Call-Tracing für diesen Task
|
|
3983
|
+
* @description Bewusst ein eigener Endpunkt, damit das Flag bei einer gewöhnlichen Task-Bearbeitung nicht versehentlich mitwandert.
|
|
3984
|
+
*/
|
|
3985
|
+
put: operations["activateTrace"];
|
|
3986
|
+
post?: never;
|
|
3987
|
+
/**
|
|
3988
|
+
* Deaktiviert das Call-Tracing für diesen Task
|
|
3989
|
+
* @description Bewusst ein eigener Endpunkt, damit das Flag bei einer gewöhnlichen Task-Bearbeitung nicht versehentlich mitwandert.
|
|
3990
|
+
*/
|
|
3991
|
+
delete: operations["deactivateTrace"];
|
|
3992
|
+
options?: never;
|
|
3993
|
+
head?: never;
|
|
3994
|
+
patch?: never;
|
|
3995
|
+
trace?: never;
|
|
3996
|
+
};
|
|
3973
3997
|
"/cmn/task/support": {
|
|
3974
3998
|
parameters: {
|
|
3975
3999
|
query?: never;
|
|
@@ -35243,7 +35267,7 @@ export interface components {
|
|
|
35243
35267
|
* @default NORMAL
|
|
35244
35268
|
* @enum {string}
|
|
35245
35269
|
*/
|
|
35246
|
-
readonly category: "NORMAL" | "LONG_RUNNING";
|
|
35270
|
+
readonly category: "QUICK" | "NORMAL" | "LONG_RUNNING";
|
|
35247
35271
|
/** @description valid cron expression (UNIX style) */
|
|
35248
35272
|
cronExpression: string;
|
|
35249
35273
|
custom?: components["schemas"]["unknownservice-unknownmodule-JsonNode"];
|
|
@@ -35305,7 +35329,7 @@ export interface components {
|
|
|
35305
35329
|
* @description Aktiviert Call-Tracing fuer diesen Task
|
|
35306
35330
|
* @default false
|
|
35307
35331
|
*/
|
|
35308
|
-
traceActive: boolean;
|
|
35332
|
+
readonly traceActive: boolean;
|
|
35309
35333
|
/** @description Version Identifier for this Object (for PUT) */
|
|
35310
35334
|
version?: string;
|
|
35311
35335
|
};
|
|
@@ -39944,6 +39968,8 @@ export interface components {
|
|
|
39944
39968
|
forwardPhoneToShipper: boolean;
|
|
39945
39969
|
/** @description Unique identifier of the Object */
|
|
39946
39970
|
id?: string;
|
|
39971
|
+
/** @description Barcode */
|
|
39972
|
+
identifier?: string;
|
|
39947
39973
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
39948
39974
|
/** @description label for this delivery method */
|
|
39949
39975
|
label: string;
|
|
@@ -40940,6 +40966,12 @@ export interface components {
|
|
|
40940
40966
|
* @enum {string}
|
|
40941
40967
|
*/
|
|
40942
40968
|
dropShippingPolicy?: "ANY" | "DROP_SHIPPING" | "STORAGE" | "STORAGE_WITH_FALLBACK_TO_DROP_SHIPPING";
|
|
40969
|
+
/** @description Externe Artikelbeschreibung */
|
|
40970
|
+
readonly externalArticleDescription?: string;
|
|
40971
|
+
/** @description Externer Artikelname */
|
|
40972
|
+
readonly externalArticleName?: string;
|
|
40973
|
+
/** @description Externe Artikelnummer */
|
|
40974
|
+
readonly externalArticleNumber?: string;
|
|
40943
40975
|
/** @description Externe Referenz zum VDS-Paket */
|
|
40944
40976
|
externalReferenceVds?: string;
|
|
40945
40977
|
/** @description Komponenten */
|
|
@@ -41217,6 +41249,11 @@ export interface components {
|
|
|
41217
41249
|
readonly balanceBeforeWithdrawal?: number;
|
|
41218
41250
|
/** @description Externe Payment-ID der zu stornierenden Zahlung (nur bei CANCEL) */
|
|
41219
41251
|
cancelledExternalPaymentId?: string;
|
|
41252
|
+
/**
|
|
41253
|
+
* @description Kann diese Zahlungsposition aus dem Beleg entfernt werden? false, solange die Zahlung noch läuft oder bereits erfolgreich ausgeführt wurde
|
|
41254
|
+
* @default false
|
|
41255
|
+
*/
|
|
41256
|
+
readonly deletable: boolean;
|
|
41220
41257
|
/**
|
|
41221
41258
|
* Format: int64
|
|
41222
41259
|
* @description Typ der Einlage/Ausgabe
|
|
@@ -41475,6 +41512,11 @@ export interface components {
|
|
|
41475
41512
|
readonly balanceBeforeWithdrawal?: number;
|
|
41476
41513
|
/** @description Externe Payment-ID der zu stornierenden Zahlung (nur bei CANCEL) */
|
|
41477
41514
|
readonly cancelledExternalPaymentId?: string;
|
|
41515
|
+
/**
|
|
41516
|
+
* @description Kann diese Zahlungsposition aus dem Beleg entfernt werden? false, solange die Zahlung noch läuft oder bereits erfolgreich ausgeführt wurde
|
|
41517
|
+
* @default false
|
|
41518
|
+
*/
|
|
41519
|
+
readonly deletable: boolean;
|
|
41478
41520
|
depositExpenseTypeRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
41479
41521
|
/** @description Fehlermeldung vom Payment-Backend (nur bei fehlgeschlagener Zahlung) */
|
|
41480
41522
|
readonly externalPaymentErrorMessage?: string;
|
|
@@ -41907,6 +41949,8 @@ export interface components {
|
|
|
41907
41949
|
};
|
|
41908
41950
|
/** @description Extra-Anzeigen */
|
|
41909
41951
|
"erp-document-DocumentViewOptions": {
|
|
41952
|
+
/** @description Papierbelege automatisch drucken (Vorgabe des Verkaufskanals, nur bei Kassenbelegen) */
|
|
41953
|
+
readonly autoPrintPaperReceipt?: boolean;
|
|
41910
41954
|
/** @description Wird dieser Beleg für das Kreditlimit berücksichtigt */
|
|
41911
41955
|
readonly considerForCreditLimit?: boolean;
|
|
41912
41956
|
depositInvoiceRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
@@ -44645,6 +44689,12 @@ export interface components {
|
|
|
44645
44689
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
44646
44690
|
/** @description Bezeichnung der Kassenzahlungsart */
|
|
44647
44691
|
label: string;
|
|
44692
|
+
/**
|
|
44693
|
+
* @description Verhalten einer Kassenzahlungsart, wenn ihr Bestand negativ werden würde
|
|
44694
|
+
* @default ALWAYS_DENY
|
|
44695
|
+
* @enum {string}
|
|
44696
|
+
*/
|
|
44697
|
+
negativeBalanceBehaviour: "ALWAYS_DENY" | "ALWAYS_ALLOW" | "ALLOW_AFTER_CONFIRMATION";
|
|
44648
44698
|
paymentBackend?: components["schemas"]["core-api-ApiObjectReference"];
|
|
44649
44699
|
/**
|
|
44650
44700
|
* @description Typ der Kassenzahlungsart
|
|
@@ -46629,6 +46679,11 @@ export interface components {
|
|
|
46629
46679
|
* @default true
|
|
46630
46680
|
*/
|
|
46631
46681
|
active: boolean;
|
|
46682
|
+
/**
|
|
46683
|
+
* @description Papierbelege automatisch drucken
|
|
46684
|
+
* @default true
|
|
46685
|
+
*/
|
|
46686
|
+
autoPrintPaperReceipt: boolean;
|
|
46632
46687
|
/**
|
|
46633
46688
|
* @description Manuelle Übernahme in Gutschrift unterbinden
|
|
46634
46689
|
* @default false
|
|
@@ -48839,7 +48894,7 @@ export interface components {
|
|
|
48839
48894
|
* @description Status der Picklistenverarbeitung
|
|
48840
48895
|
* @enum {string}
|
|
48841
48896
|
*/
|
|
48842
|
-
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";
|
|
48897
|
+
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" | "CHANGED_DELIVERY_METHOD" | "CHANGED_DELIVERY_METHOD_DELIVERY_TERM" | "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";
|
|
48843
48898
|
serialNumber?: components["schemas"]["erp-product-ArticleSerialNumber"];
|
|
48844
48899
|
/**
|
|
48845
48900
|
* Format: int64
|
|
@@ -48904,6 +48959,8 @@ export interface components {
|
|
|
48904
48959
|
"erp-wms-PicklistTemplate.OrderSelectionOptions": {
|
|
48905
48960
|
/** @description Zusätzliche Exists-Statements in VQL */
|
|
48906
48961
|
additionalExistsStatementsInVql?: string[];
|
|
48962
|
+
/** @description dürfen nur gültige Lieferarten genutz werden? */
|
|
48963
|
+
allowOnlyDefinedDeliveryMethods?: boolean;
|
|
48907
48964
|
/** @description Alternative Selektion in VQL */
|
|
48908
48965
|
alternativeSelectionInVql?: string;
|
|
48909
48966
|
confirmedDeliveryDateRange?: components["schemas"]["erp-wms-PicklistTemplate.DateRange"];
|
|
@@ -49014,11 +49071,6 @@ export interface components {
|
|
|
49014
49071
|
* @default false
|
|
49015
49072
|
*/
|
|
49016
49073
|
allowFullConfirmation: boolean;
|
|
49017
|
-
/**
|
|
49018
|
-
* @description Dürfen Artikel nur per Scan (oder z.B. auch Eingabe der Artikelnummer) erfasst werden
|
|
49019
|
-
* @default false
|
|
49020
|
-
*/
|
|
49021
|
-
allowOnlyScanOfArticles: boolean;
|
|
49022
49074
|
/**
|
|
49023
49075
|
* @description Sollen nicht-bestandsgeführte Artikel kommissioniert werden?
|
|
49024
49076
|
* @default false
|
|
@@ -49034,11 +49086,22 @@ export interface components {
|
|
|
49034
49086
|
* @default false
|
|
49035
49087
|
*/
|
|
49036
49088
|
allowSkipPosition: boolean;
|
|
49089
|
+
/**
|
|
49090
|
+
* @description Lagerplätze müssen erfasst werden, trotz Vorgabe
|
|
49091
|
+
* @default false
|
|
49092
|
+
*/
|
|
49093
|
+
alwaysRequireScanOfStorageBin: boolean;
|
|
49037
49094
|
/**
|
|
49038
49095
|
* @description Immer die Lieferbedingung in Masken zeigen
|
|
49039
49096
|
* @default true
|
|
49040
49097
|
*/
|
|
49041
49098
|
alwaysShowDeliveryMethod: boolean;
|
|
49099
|
+
/**
|
|
49100
|
+
* @description Erfassungsbedingung für Artikel
|
|
49101
|
+
* @default FREE
|
|
49102
|
+
* @enum {string}
|
|
49103
|
+
*/
|
|
49104
|
+
articleScanRequirement: "FREE" | "SCAN_ONCE" | "SCAN_ALWAYS";
|
|
49042
49105
|
/**
|
|
49043
49106
|
* @description Baugruppen als Ganzes kommissionieren
|
|
49044
49107
|
* @default false
|
|
@@ -60062,6 +60125,48 @@ export interface operations {
|
|
|
60062
60125
|
};
|
|
60063
60126
|
};
|
|
60064
60127
|
};
|
|
60128
|
+
activateTrace: {
|
|
60129
|
+
parameters: {
|
|
60130
|
+
query?: never;
|
|
60131
|
+
header?: never;
|
|
60132
|
+
path: {
|
|
60133
|
+
/** @description an identifier */
|
|
60134
|
+
id: number;
|
|
60135
|
+
};
|
|
60136
|
+
cookie?: never;
|
|
60137
|
+
};
|
|
60138
|
+
requestBody?: never;
|
|
60139
|
+
responses: {
|
|
60140
|
+
/** @description OK */
|
|
60141
|
+
200: {
|
|
60142
|
+
headers: {
|
|
60143
|
+
[name: string]: unknown;
|
|
60144
|
+
};
|
|
60145
|
+
content?: never;
|
|
60146
|
+
};
|
|
60147
|
+
};
|
|
60148
|
+
};
|
|
60149
|
+
deactivateTrace: {
|
|
60150
|
+
parameters: {
|
|
60151
|
+
query?: never;
|
|
60152
|
+
header?: never;
|
|
60153
|
+
path: {
|
|
60154
|
+
/** @description an identifier */
|
|
60155
|
+
id: number;
|
|
60156
|
+
};
|
|
60157
|
+
cookie?: never;
|
|
60158
|
+
};
|
|
60159
|
+
requestBody?: never;
|
|
60160
|
+
responses: {
|
|
60161
|
+
/** @description OK */
|
|
60162
|
+
200: {
|
|
60163
|
+
headers: {
|
|
60164
|
+
[name: string]: unknown;
|
|
60165
|
+
};
|
|
60166
|
+
content?: never;
|
|
60167
|
+
};
|
|
60168
|
+
};
|
|
60169
|
+
};
|
|
60065
60170
|
getAllSupportTasks: {
|
|
60066
60171
|
parameters: {
|
|
60067
60172
|
query?: never;
|
package/scripting/services.d.ts
CHANGED
|
@@ -162,6 +162,22 @@ export interface AccountScriptingService {
|
|
|
162
162
|
*/
|
|
163
163
|
createBankdetail(accountId: number, bankdetail: AccountBankdetail): AccountBankdetail;
|
|
164
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Erstellt ein DTO über eine Vorlage
|
|
167
|
+
*
|
|
168
|
+
* @param {string} templateName - Name einer Vorlage
|
|
169
|
+
* @return {Account} Das erstellte DTO
|
|
170
|
+
*/
|
|
171
|
+
createNewDtoByTemplate(templateName: string): Account;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Erstellt ein DTO über eine Vorlage
|
|
175
|
+
*
|
|
176
|
+
* @param {number} templateId - ID einer Vorlage
|
|
177
|
+
* @return {Account} Das erstellte DTO, falls die Vorlage existiert. Sonst NULL
|
|
178
|
+
*/
|
|
179
|
+
createNewDtoByTemplateId(templateId: number): Account;
|
|
180
|
+
|
|
165
181
|
/**
|
|
166
182
|
* Erstellt einen Ansprechpartner
|
|
167
183
|
*
|
|
@@ -485,21 +501,21 @@ export interface ArticleListingScriptingService {
|
|
|
485
501
|
getNewDto(): ArticleListing;
|
|
486
502
|
|
|
487
503
|
/**
|
|
488
|
-
* Liest alle Listings zu einem Artikel
|
|
504
|
+
* Liest alle Listings zu einem Artikel
|
|
489
505
|
*
|
|
490
506
|
* @param {number} articleId - ID des Artikels
|
|
491
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
492
507
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
493
508
|
*/
|
|
494
|
-
readAllByArticleId(articleId: number
|
|
509
|
+
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
495
510
|
|
|
496
511
|
/**
|
|
497
|
-
* Liest alle Listings zu einem Artikel
|
|
512
|
+
* Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
|
|
498
513
|
*
|
|
499
514
|
* @param {number} articleId - ID des Artikels
|
|
515
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
500
516
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
501
517
|
*/
|
|
502
|
-
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
518
|
+
readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
|
|
503
519
|
|
|
504
520
|
/**
|
|
505
521
|
* Liest eine Liste von DTOs
|
|
@@ -555,17 +571,17 @@ export interface ArticleScriptingService {
|
|
|
555
571
|
*
|
|
556
572
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
557
573
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
574
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
558
575
|
*/
|
|
559
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
576
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
560
577
|
|
|
561
578
|
/**
|
|
562
579
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
563
580
|
*
|
|
564
581
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
565
582
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
566
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
567
583
|
*/
|
|
568
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
584
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
569
585
|
|
|
570
586
|
/**
|
|
571
587
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
@@ -577,6 +593,15 @@ export interface ArticleScriptingService {
|
|
|
577
593
|
*/
|
|
578
594
|
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
579
595
|
|
|
596
|
+
/**
|
|
597
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
598
|
+
*
|
|
599
|
+
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
600
|
+
* @param {string} languageCode -
|
|
601
|
+
* @return {Article} Der persistierte Artikel
|
|
602
|
+
*/
|
|
603
|
+
create(toCreate: Article, languageCode: string): Article;
|
|
604
|
+
|
|
580
605
|
/**
|
|
581
606
|
* Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
|
|
582
607
|
Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
@@ -597,15 +622,6 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
597
622
|
*/
|
|
598
623
|
create(toCreate: Article): Article;
|
|
599
624
|
|
|
600
|
-
/**
|
|
601
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
602
|
-
*
|
|
603
|
-
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
604
|
-
* @param {string} languageCode -
|
|
605
|
-
* @return {Article} Der persistierte Artikel
|
|
606
|
-
*/
|
|
607
|
-
create(toCreate: Article, languageCode: string): Article;
|
|
608
|
-
|
|
609
625
|
/**
|
|
610
626
|
* Deaktiviert ein DTO
|
|
611
627
|
*
|
|
@@ -1844,20 +1860,20 @@ export interface DocumentScriptingService {
|
|
|
1844
1860
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1845
1861
|
*
|
|
1846
1862
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1847
|
-
* @param {string}
|
|
1863
|
+
* @param {string} targetDocumentType - Ziel-Belegart der Kopie
|
|
1864
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1848
1865
|
* @return {Document} Der kopierte Beleg
|
|
1849
1866
|
*/
|
|
1850
|
-
copy(documentId: number,
|
|
1867
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1851
1868
|
|
|
1852
1869
|
/**
|
|
1853
1870
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1854
1871
|
*
|
|
1855
1872
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1856
|
-
* @param {string}
|
|
1857
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1873
|
+
* @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
|
|
1858
1874
|
* @return {Document} Der kopierte Beleg
|
|
1859
1875
|
*/
|
|
1860
|
-
copy(documentId: number,
|
|
1876
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1861
1877
|
|
|
1862
1878
|
/**
|
|
1863
1879
|
* Erstellt einen neuen Beleg
|
|
@@ -1888,18 +1904,18 @@ export interface DocumentScriptingService {
|
|
|
1888
1904
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1889
1905
|
*
|
|
1890
1906
|
* @param {number} documentId - ID des Belegs
|
|
1891
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1892
1907
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1893
1908
|
*/
|
|
1894
|
-
edit(documentId: number
|
|
1909
|
+
edit(documentId: number): Document;
|
|
1895
1910
|
|
|
1896
1911
|
/**
|
|
1897
1912
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1898
1913
|
*
|
|
1899
1914
|
* @param {number} documentId - ID des Belegs
|
|
1915
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1900
1916
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1901
1917
|
*/
|
|
1902
|
-
edit(documentId: number): Document;
|
|
1918
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1903
1919
|
|
|
1904
1920
|
/**
|
|
1905
1921
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1993,33 +2009,33 @@ export interface DocumentScriptingService {
|
|
|
1993
2009
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1994
2010
|
*
|
|
1995
2011
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
2012
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1996
2013
|
* @return {Document} Der gespeicherte Beleg
|
|
1997
2014
|
*/
|
|
1998
|
-
save(documentId: number): Document;
|
|
2015
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1999
2016
|
|
|
2000
2017
|
/**
|
|
2001
2018
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
2002
2019
|
*
|
|
2003
2020
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
2004
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2005
2021
|
* @return {Document} Der gespeicherte Beleg
|
|
2006
2022
|
*/
|
|
2007
|
-
save(documentId: number
|
|
2023
|
+
save(documentId: number): Document;
|
|
2008
2024
|
|
|
2009
2025
|
/**
|
|
2010
2026
|
* Versendet einen Beleg per Mail
|
|
2011
2027
|
*
|
|
2012
2028
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
2029
|
+
* @param {string} reportGroupIdentifier -
|
|
2013
2030
|
*/
|
|
2014
|
-
sendViaMail(documentId: number): void;
|
|
2031
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
2015
2032
|
|
|
2016
2033
|
/**
|
|
2017
2034
|
* Versendet einen Beleg per Mail
|
|
2018
2035
|
*
|
|
2019
2036
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
2020
|
-
* @param {string} reportGroupIdentifier -
|
|
2021
2037
|
*/
|
|
2022
|
-
sendViaMail(documentId: number
|
|
2038
|
+
sendViaMail(documentId: number): void;
|
|
2023
2039
|
|
|
2024
2040
|
/**
|
|
2025
2041
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2945,26 +2961,26 @@ export interface ScriptingServiceList {
|
|
|
2945
2961
|
*/
|
|
2946
2962
|
crmTaskService: CrmTaskScriptingService;
|
|
2947
2963
|
|
|
2948
|
-
/**
|
|
2949
|
-
* Service zur Verarbeitung von Accounts
|
|
2950
|
-
*/
|
|
2951
|
-
accountService: AccountScriptingService;
|
|
2952
|
-
|
|
2953
2964
|
/**
|
|
2954
2965
|
* Service zur Verarbeitung von Shelf-Documents
|
|
2955
2966
|
*/
|
|
2956
2967
|
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2957
2968
|
|
|
2958
2969
|
/**
|
|
2959
|
-
*
|
|
2970
|
+
* Service zur Verarbeitung von Accounts
|
|
2960
2971
|
*/
|
|
2961
|
-
|
|
2972
|
+
accountService: AccountScriptingService;
|
|
2962
2973
|
|
|
2963
2974
|
/**
|
|
2964
2975
|
* Verwaltung von Versandarten
|
|
2965
2976
|
*/
|
|
2966
2977
|
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2967
2978
|
|
|
2979
|
+
/**
|
|
2980
|
+
* Logging im Scripting
|
|
2981
|
+
*/
|
|
2982
|
+
logger: LoggingScriptingService;
|
|
2983
|
+
|
|
2968
2984
|
/**
|
|
2969
2985
|
* Service zur Verarbeitung von Deals
|
|
2970
2986
|
*/
|
|
@@ -2986,14 +3002,14 @@ export interface ScriptingServiceList {
|
|
|
2986
3002
|
textTemplateService: TextTemplateScriptingService;
|
|
2987
3003
|
|
|
2988
3004
|
/**
|
|
2989
|
-
*
|
|
3005
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2990
3006
|
*/
|
|
2991
|
-
|
|
3007
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2992
3008
|
|
|
2993
3009
|
/**
|
|
2994
|
-
*
|
|
3010
|
+
* Ausgabe-Support Methoden
|
|
2995
3011
|
*/
|
|
2996
|
-
|
|
3012
|
+
outputHelper: ScriptOutputHelperService;
|
|
2997
3013
|
|
|
2998
3014
|
/**
|
|
2999
3015
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -3021,14 +3037,14 @@ export interface ScriptingServiceList {
|
|
|
3021
3037
|
utils: ScriptingUtilities;
|
|
3022
3038
|
|
|
3023
3039
|
/**
|
|
3024
|
-
* Service zur Verarbeitung von
|
|
3040
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
3025
3041
|
*/
|
|
3026
|
-
|
|
3042
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
3027
3043
|
|
|
3028
3044
|
/**
|
|
3029
|
-
* Service zur Verarbeitung von
|
|
3045
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
3030
3046
|
*/
|
|
3031
|
-
|
|
3047
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
3032
3048
|
|
|
3033
3049
|
/**
|
|
3034
3050
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -3056,14 +3072,14 @@ export interface ScriptingServiceList {
|
|
|
3056
3072
|
articleStorageService: ArticleStorageScriptingService;
|
|
3057
3073
|
|
|
3058
3074
|
/**
|
|
3059
|
-
*
|
|
3075
|
+
* Verwaltung von Zahlungsarten
|
|
3060
3076
|
*/
|
|
3061
|
-
|
|
3077
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
3062
3078
|
|
|
3063
3079
|
/**
|
|
3064
|
-
*
|
|
3080
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
3065
3081
|
*/
|
|
3066
|
-
|
|
3082
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
3067
3083
|
|
|
3068
3084
|
/**
|
|
3069
3085
|
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
@@ -3076,14 +3092,14 @@ export interface ScriptingServiceList {
|
|
|
3076
3092
|
stockService: StockScriptingService;
|
|
3077
3093
|
|
|
3078
3094
|
/**
|
|
3079
|
-
* Service zur Verarbeitung von
|
|
3095
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3080
3096
|
*/
|
|
3081
|
-
|
|
3097
|
+
assetService: AssetScriptingService;
|
|
3082
3098
|
|
|
3083
3099
|
/**
|
|
3084
|
-
* Service zur Verarbeitung von
|
|
3100
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3085
3101
|
*/
|
|
3086
|
-
|
|
3102
|
+
variantValueService: VariantValueScriptingService;
|
|
3087
3103
|
|
|
3088
3104
|
/**
|
|
3089
3105
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -3188,18 +3204,18 @@ export interface ScriptingUtilities {
|
|
|
3188
3204
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3189
3205
|
*
|
|
3190
3206
|
* @param {object} value - Der Quell-Wert
|
|
3191
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
3192
3207
|
* @return {number} Ein BigDecimal-Wert
|
|
3193
3208
|
*/
|
|
3194
|
-
newBigDecimal(value: object
|
|
3209
|
+
newBigDecimal(value: object): number;
|
|
3195
3210
|
|
|
3196
3211
|
/**
|
|
3197
3212
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3198
3213
|
*
|
|
3199
3214
|
* @param {object} value - Der Quell-Wert
|
|
3215
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
3200
3216
|
* @return {number} Ein BigDecimal-Wert
|
|
3201
3217
|
*/
|
|
3202
|
-
newBigDecimal(value: object): number;
|
|
3218
|
+
newBigDecimal(value: object, scale: number): number;
|
|
3203
3219
|
|
|
3204
3220
|
/**
|
|
3205
3221
|
* Erstellt eine API-Referenz
|