@vario-software/types 2026.44.1 → 2026.44.2
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/scripting/services.d.ts +78 -78
- package/scripting/types.d.ts +444 -444
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.44.
|
|
3
|
+
"version": "2026.44.2",
|
|
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/scripting/services.d.ts
CHANGED
|
@@ -506,21 +506,21 @@ export interface ArticleListingScriptingService {
|
|
|
506
506
|
getNewDto(): ArticleListing;
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
* Liest alle Listings zu einem Artikel
|
|
509
|
+
* Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
|
|
510
510
|
*
|
|
511
511
|
* @param {number} articleId - ID des Artikels
|
|
512
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
512
513
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
513
514
|
*/
|
|
514
|
-
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
515
|
+
readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
|
|
515
516
|
|
|
516
517
|
/**
|
|
517
|
-
* Liest alle Listings zu einem Artikel
|
|
518
|
+
* Liest alle Listings zu einem Artikel
|
|
518
519
|
*
|
|
519
520
|
* @param {number} articleId - ID des Artikels
|
|
520
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
521
521
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
522
522
|
*/
|
|
523
|
-
readAllByArticleId(articleId: number
|
|
523
|
+
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
524
524
|
|
|
525
525
|
/**
|
|
526
526
|
* Liest eine Liste von DTOs
|
|
@@ -576,8 +576,10 @@ export interface ArticleScriptingService {
|
|
|
576
576
|
*
|
|
577
577
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
578
578
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
579
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
580
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
579
581
|
*/
|
|
580
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
582
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
581
583
|
|
|
582
584
|
/**
|
|
583
585
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
@@ -593,10 +595,8 @@ export interface ArticleScriptingService {
|
|
|
593
595
|
*
|
|
594
596
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
595
597
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
596
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
597
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
598
598
|
*/
|
|
599
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
599
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
600
600
|
|
|
601
601
|
/**
|
|
602
602
|
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
@@ -654,33 +654,33 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
654
654
|
* Führt einen Etikettendrucklauf aus
|
|
655
655
|
*
|
|
656
656
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
657
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
657
658
|
*/
|
|
658
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
659
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
659
660
|
|
|
660
661
|
/**
|
|
661
662
|
* Führt einen Etikettendrucklauf aus
|
|
662
663
|
*
|
|
663
664
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
664
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
665
665
|
*/
|
|
666
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
666
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
669
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
670
670
|
*
|
|
671
671
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
672
|
-
* @
|
|
673
|
-
* @return {Article} Der gelesene Artikel oder null
|
|
672
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
674
673
|
*/
|
|
675
|
-
findByNumber(articleNumber: string
|
|
674
|
+
findByNumber(articleNumber: string): Article;
|
|
676
675
|
|
|
677
676
|
/**
|
|
678
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
677
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
679
678
|
*
|
|
680
679
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
681
|
-
* @
|
|
680
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
681
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
682
682
|
*/
|
|
683
|
-
findByNumber(articleNumber: string): Article;
|
|
683
|
+
findByNumber(articleNumber: string, languageCode: string): Article;
|
|
684
684
|
|
|
685
685
|
/**
|
|
686
686
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -729,38 +729,38 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
729
729
|
newLabelPrintBatchIdentifier(): string;
|
|
730
730
|
|
|
731
731
|
/**
|
|
732
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
732
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
733
733
|
*
|
|
734
734
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
735
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
735
736
|
* @return {Article} Der gelesene Artikel
|
|
736
737
|
*/
|
|
737
|
-
readById(id: number): Article;
|
|
738
|
+
readById(id: number, languageCode: string): Article;
|
|
738
739
|
|
|
739
740
|
/**
|
|
740
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
741
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
741
742
|
*
|
|
742
743
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
743
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
744
744
|
* @return {Article} Der gelesene Artikel
|
|
745
745
|
*/
|
|
746
|
-
readById(id: number
|
|
746
|
+
readById(id: number): Article;
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
749
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
750
750
|
*
|
|
751
751
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
752
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
753
752
|
* @return {Article} Der gelesene Artikel
|
|
754
753
|
*/
|
|
755
|
-
readByNumber(articleNumber: string
|
|
754
|
+
readByNumber(articleNumber: string): Article;
|
|
756
755
|
|
|
757
756
|
/**
|
|
758
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
757
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
759
758
|
*
|
|
760
759
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
760
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
761
761
|
* @return {Article} Der gelesene Artikel
|
|
762
762
|
*/
|
|
763
|
-
readByNumber(articleNumber: string): Article;
|
|
763
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
764
764
|
|
|
765
765
|
/**
|
|
766
766
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -1988,9 +1988,10 @@ export interface DocumentScriptingService {
|
|
|
1988
1988
|
* @param {number} documentId - ID of the document to copy
|
|
1989
1989
|
* @param {string} targetDocumentType - Target document type of the copy
|
|
1990
1990
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1991
|
+
* @param {RequestDocument} requestDocument - Additional details of the copy; the target document type is set in it
|
|
1991
1992
|
* @return {Document} The copied document
|
|
1992
1993
|
*/
|
|
1993
|
-
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter
|
|
1994
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
1994
1995
|
|
|
1995
1996
|
/**
|
|
1996
1997
|
* Copies a document into the given target document type
|
|
@@ -1998,10 +1999,9 @@ export interface DocumentScriptingService {
|
|
|
1998
1999
|
* @param {number} documentId - ID of the document to copy
|
|
1999
2000
|
* @param {string} targetDocumentType - Target document type of the copy
|
|
2000
2001
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2001
|
-
* @param {RequestDocument} requestDocument - Additional details of the copy; the target document type is set in it
|
|
2002
2002
|
* @return {Document} The copied document
|
|
2003
2003
|
*/
|
|
2004
|
-
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter
|
|
2004
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2005
2005
|
|
|
2006
2006
|
/**
|
|
2007
2007
|
* Creates a new document
|
|
@@ -2023,9 +2023,11 @@ export interface DocumentScriptingService {
|
|
|
2023
2023
|
* Dissolves a document
|
|
2024
2024
|
*
|
|
2025
2025
|
* @param {number} documentId - ID of the document to dissolve
|
|
2026
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2027
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2026
2028
|
* @return {Document} The dissolved document
|
|
2027
2029
|
*/
|
|
2028
|
-
dissolve(documentId: number): Document;
|
|
2030
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2029
2031
|
|
|
2030
2032
|
/**
|
|
2031
2033
|
* Dissolves a document
|
|
@@ -2040,38 +2042,36 @@ export interface DocumentScriptingService {
|
|
|
2040
2042
|
* Dissolves a document
|
|
2041
2043
|
*
|
|
2042
2044
|
* @param {number} documentId - ID of the document to dissolve
|
|
2043
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2044
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2045
2045
|
* @return {Document} The dissolved document
|
|
2046
2046
|
*/
|
|
2047
|
-
dissolve(documentId: number
|
|
2047
|
+
dissolve(documentId: number): Document;
|
|
2048
2048
|
|
|
2049
2049
|
/**
|
|
2050
2050
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2051
2051
|
*
|
|
2052
2052
|
* @param {number} documentId - ID of the document
|
|
2053
2053
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2054
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2054
2055
|
* @return {Document} The document in EDIT mode
|
|
2055
2056
|
*/
|
|
2056
|
-
edit(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2057
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2057
2058
|
|
|
2058
2059
|
/**
|
|
2059
2060
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2060
2061
|
*
|
|
2061
2062
|
* @param {number} documentId - ID of the document
|
|
2062
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2063
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2064
2063
|
* @return {Document} The document in EDIT mode
|
|
2065
2064
|
*/
|
|
2066
|
-
edit(documentId: number
|
|
2065
|
+
edit(documentId: number): Document;
|
|
2067
2066
|
|
|
2068
2067
|
/**
|
|
2069
2068
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2070
2069
|
*
|
|
2071
2070
|
* @param {number} documentId - ID of the document
|
|
2071
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2072
2072
|
* @return {Document} The document in EDIT mode
|
|
2073
2073
|
*/
|
|
2074
|
-
edit(documentId: number): Document;
|
|
2074
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2075
2075
|
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Creates an AdditionalParameter object
|
|
@@ -2175,19 +2175,19 @@ export interface DocumentScriptingService {
|
|
|
2175
2175
|
*
|
|
2176
2176
|
* @param {number} documentId - ID of the document to save
|
|
2177
2177
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2178
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2179
2178
|
* @return {Document} The saved document
|
|
2180
2179
|
*/
|
|
2181
|
-
save(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2180
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2182
2181
|
|
|
2183
2182
|
/**
|
|
2184
2183
|
* Saves a document (transition EDIT -> SAVED)
|
|
2185
2184
|
*
|
|
2186
2185
|
* @param {number} documentId - ID of the document to save
|
|
2187
2186
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2187
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2188
2188
|
* @return {Document} The saved document
|
|
2189
2189
|
*/
|
|
2190
|
-
save(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2190
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2191
2191
|
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Completes an externally created document and freezes it. A document that is no longer in EDIT mode is only frozen.
|
|
@@ -3152,26 +3152,26 @@ export interface ScriptingServiceList {
|
|
|
3152
3152
|
*/
|
|
3153
3153
|
crmTaskService: CrmTaskScriptingService;
|
|
3154
3154
|
|
|
3155
|
-
/**
|
|
3156
|
-
* Service zur Verarbeitung von Accounts
|
|
3157
|
-
*/
|
|
3158
|
-
accountService: AccountScriptingService;
|
|
3159
|
-
|
|
3160
3155
|
/**
|
|
3161
3156
|
* Service zur Verarbeitung von Shelf-Documents
|
|
3162
3157
|
*/
|
|
3163
3158
|
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3164
3159
|
|
|
3165
3160
|
/**
|
|
3166
|
-
*
|
|
3161
|
+
* Service zur Verarbeitung von Accounts
|
|
3167
3162
|
*/
|
|
3168
|
-
|
|
3163
|
+
accountService: AccountScriptingService;
|
|
3169
3164
|
|
|
3170
3165
|
/**
|
|
3171
3166
|
* Logging im Scripting
|
|
3172
3167
|
*/
|
|
3173
3168
|
logger: LoggingScriptingService;
|
|
3174
3169
|
|
|
3170
|
+
/**
|
|
3171
|
+
* Verwaltung von Versandarten
|
|
3172
|
+
*/
|
|
3173
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
3174
|
+
|
|
3175
3175
|
/**
|
|
3176
3176
|
* Service zur Verarbeitung von Deals
|
|
3177
3177
|
*/
|
|
@@ -3193,14 +3193,14 @@ export interface ScriptingServiceList {
|
|
|
3193
3193
|
textTemplateService: TextTemplateScriptingService;
|
|
3194
3194
|
|
|
3195
3195
|
/**
|
|
3196
|
-
*
|
|
3196
|
+
* Ausgabe-Support Methoden
|
|
3197
3197
|
*/
|
|
3198
|
-
|
|
3198
|
+
outputHelper: ScriptOutputHelperService;
|
|
3199
3199
|
|
|
3200
3200
|
/**
|
|
3201
|
-
*
|
|
3201
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
3202
3202
|
*/
|
|
3203
|
-
|
|
3203
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
3204
3204
|
|
|
3205
3205
|
/**
|
|
3206
3206
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -3228,14 +3228,14 @@ export interface ScriptingServiceList {
|
|
|
3228
3228
|
utils: ScriptingUtilities;
|
|
3229
3229
|
|
|
3230
3230
|
/**
|
|
3231
|
-
* Service zur Verarbeitung von
|
|
3231
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
3232
3232
|
*/
|
|
3233
|
-
|
|
3233
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
3234
3234
|
|
|
3235
3235
|
/**
|
|
3236
|
-
* Service zur Verarbeitung von
|
|
3236
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
3237
3237
|
*/
|
|
3238
|
-
|
|
3238
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
3239
3239
|
|
|
3240
3240
|
/**
|
|
3241
3241
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -3247,6 +3247,11 @@ export interface ScriptingServiceList {
|
|
|
3247
3247
|
*/
|
|
3248
3248
|
documentService: DocumentScriptingService;
|
|
3249
3249
|
|
|
3250
|
+
/**
|
|
3251
|
+
* Triggers free printing for supported output modules
|
|
3252
|
+
*/
|
|
3253
|
+
freePrintingService: FreePrintingScriptingService;
|
|
3254
|
+
|
|
3250
3255
|
/**
|
|
3251
3256
|
* Service zur Verarbeitung von Artikel-Listings im Skripten
|
|
3252
3257
|
*/
|
|
@@ -3257,11 +3262,6 @@ export interface ScriptingServiceList {
|
|
|
3257
3262
|
*/
|
|
3258
3263
|
variantValueListingService: VariantValueListingScriptingService;
|
|
3259
3264
|
|
|
3260
|
-
/**
|
|
3261
|
-
* Triggers free printing for supported output modules
|
|
3262
|
-
*/
|
|
3263
|
-
freePrintingService: FreePrintingScriptingService;
|
|
3264
|
-
|
|
3265
3265
|
/**
|
|
3266
3266
|
* Service for processing commission assignments
|
|
3267
3267
|
*/
|
|
@@ -3273,14 +3273,14 @@ export interface ScriptingServiceList {
|
|
|
3273
3273
|
articleStorageService: ArticleStorageScriptingService;
|
|
3274
3274
|
|
|
3275
3275
|
/**
|
|
3276
|
-
*
|
|
3276
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
3277
3277
|
*/
|
|
3278
|
-
|
|
3278
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
3279
3279
|
|
|
3280
3280
|
/**
|
|
3281
|
-
*
|
|
3281
|
+
* Verwaltung von Zahlungsarten
|
|
3282
3282
|
*/
|
|
3283
|
-
|
|
3283
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
3284
3284
|
|
|
3285
3285
|
/**
|
|
3286
3286
|
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
@@ -3293,14 +3293,14 @@ export interface ScriptingServiceList {
|
|
|
3293
3293
|
stockService: StockScriptingService;
|
|
3294
3294
|
|
|
3295
3295
|
/**
|
|
3296
|
-
* Service zur Verarbeitung von
|
|
3296
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3297
3297
|
*/
|
|
3298
|
-
|
|
3298
|
+
variantValueService: VariantValueScriptingService;
|
|
3299
3299
|
|
|
3300
3300
|
/**
|
|
3301
|
-
* Service zur Verarbeitung von
|
|
3301
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3302
3302
|
*/
|
|
3303
|
-
|
|
3303
|
+
assetService: AssetScriptingService;
|
|
3304
3304
|
|
|
3305
3305
|
/**
|
|
3306
3306
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -3466,24 +3466,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
3466
3466
|
deleteAttribution(attributionId: number): void;
|
|
3467
3467
|
|
|
3468
3468
|
/**
|
|
3469
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3469
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3470
3470
|
*
|
|
3471
3471
|
* @param {string} url - Download-URL
|
|
3472
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3473
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3472
3474
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3473
3475
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3474
3476
|
*/
|
|
3475
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3477
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3476
3478
|
|
|
3477
3479
|
/**
|
|
3478
|
-
* Lädt eine Datei von einer URL
|
|
3480
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3479
3481
|
*
|
|
3480
3482
|
* @param {string} url - Download-URL
|
|
3481
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3482
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3483
3483
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3484
3484
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3485
3485
|
*/
|
|
3486
|
-
downloadIntoDMS(url: string,
|
|
3486
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3487
3487
|
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Findet ein Dokumentenart über ihren Schlüssel
|