@vario-software/types 2026.43.3 → 2026.44.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 +1 -1
- package/schema/erp.d.ts +4037 -4379
- package/scripting/eav_types.d.ts +6 -0
- package/scripting/services.d.ts +208 -128
- package/scripting/types.d.ts +829 -415
package/scripting/eav_types.d.ts
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -12,9 +12,10 @@ import {
|
|
|
12
12
|
AssemblyComponentReturnLine, Asset, AssetType, BulkTransferRequestApi,
|
|
13
13
|
BulkTransferResult, BundleSchema, BundleUnitTypeRatio,
|
|
14
14
|
CommissionAssignment, Contact, CountryReference, CreateNewDocumentRequest,
|
|
15
|
-
CrmActivity, CrmActivityType, CrmChecklistItem,
|
|
16
|
-
|
|
17
|
-
CrmReminder, CrmState, CrmSubType, CrmTask,
|
|
15
|
+
CrmActivity, CrmActivityOffHours, CrmActivityType, CrmChecklistItem,
|
|
16
|
+
CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant, CrmPriority,
|
|
17
|
+
CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType, CrmTask,
|
|
18
|
+
CrmTaskForm, CrmTaskLine, CrmTaskParticipant, CrmTaskPriceModifier,
|
|
18
19
|
CrmTypedDocumentRef, CrmTypedDocumentRefList, CurrencyReference, Customer,
|
|
19
20
|
DangerousGoodInformation, DealNotificationEventConfig, DeliveryMethod,
|
|
20
21
|
DeliveryTerm, DmsOutputStream, Document, DocumentAdditionalInfo,
|
|
@@ -583,19 +584,19 @@ export interface ArticleScriptingService {
|
|
|
583
584
|
*
|
|
584
585
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
585
586
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
587
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
586
588
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
587
589
|
*/
|
|
588
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
590
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
589
591
|
|
|
590
592
|
/**
|
|
591
593
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
592
594
|
*
|
|
593
595
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
594
596
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
595
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
596
597
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
597
598
|
*/
|
|
598
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
599
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
599
600
|
|
|
600
601
|
/**
|
|
601
602
|
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
@@ -665,21 +666,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
665
666
|
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
666
667
|
|
|
667
668
|
/**
|
|
668
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
669
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
669
670
|
*
|
|
670
671
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
671
|
-
* @
|
|
672
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
673
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
672
674
|
*/
|
|
673
|
-
findByNumber(articleNumber: string): Article;
|
|
675
|
+
findByNumber(articleNumber: string, languageCode: string): Article;
|
|
674
676
|
|
|
675
677
|
/**
|
|
676
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
678
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
677
679
|
*
|
|
678
680
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
679
|
-
* @
|
|
680
|
-
* @return {Article} Der gelesene Artikel oder null
|
|
681
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
681
682
|
*/
|
|
682
|
-
findByNumber(articleNumber: string
|
|
683
|
+
findByNumber(articleNumber: string): Article;
|
|
683
684
|
|
|
684
685
|
/**
|
|
685
686
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -728,21 +729,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
728
729
|
newLabelPrintBatchIdentifier(): string;
|
|
729
730
|
|
|
730
731
|
/**
|
|
731
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
732
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
732
733
|
*
|
|
733
734
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
734
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
735
735
|
* @return {Article} Der gelesene Artikel
|
|
736
736
|
*/
|
|
737
|
-
readById(id: number
|
|
737
|
+
readById(id: number): Article;
|
|
738
738
|
|
|
739
739
|
/**
|
|
740
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
740
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
741
741
|
*
|
|
742
742
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
743
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
743
744
|
* @return {Article} Der gelesene Artikel
|
|
744
745
|
*/
|
|
745
|
-
readById(id: number): Article;
|
|
746
|
+
readById(id: number, languageCode: string): Article;
|
|
746
747
|
|
|
747
748
|
/**
|
|
748
749
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
@@ -762,38 +763,38 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
762
763
|
readByNumber(articleNumber: string): Article;
|
|
763
764
|
|
|
764
765
|
/**
|
|
765
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
766
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
766
767
|
*
|
|
767
768
|
* @param {Article} toStore - Der zu persistierende Artikel
|
|
769
|
+
* @param {string} languageCode -
|
|
768
770
|
* @return {Article} Der persistierte Artikel
|
|
769
771
|
*/
|
|
770
|
-
store(toStore: Article): Article;
|
|
772
|
+
store(toStore: Article, languageCode: string): Article;
|
|
771
773
|
|
|
772
774
|
/**
|
|
773
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
775
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
774
776
|
*
|
|
775
777
|
* @param {Article} toStore - Der zu persistierende Artikel
|
|
776
|
-
* @param {string} languageCode -
|
|
777
778
|
* @return {Article} Der persistierte Artikel
|
|
778
779
|
*/
|
|
779
|
-
store(toStore: Article
|
|
780
|
+
store(toStore: Article): Article;
|
|
780
781
|
|
|
781
782
|
/**
|
|
782
|
-
*
|
|
783
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
783
784
|
*
|
|
784
785
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
785
|
-
* @param {string} languageCode -
|
|
786
786
|
* @return {Article} Der aktualisiert Artikel
|
|
787
787
|
*/
|
|
788
|
-
update(toUpdate: Article
|
|
788
|
+
update(toUpdate: Article): Article;
|
|
789
789
|
|
|
790
790
|
/**
|
|
791
|
-
*
|
|
791
|
+
* Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
792
792
|
*
|
|
793
793
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
794
|
+
* @param {string} languageCode -
|
|
794
795
|
* @return {Article} Der aktualisiert Artikel
|
|
795
796
|
*/
|
|
796
|
-
update(toUpdate: Article): Article;
|
|
797
|
+
update(toUpdate: Article, languageCode: string): Article;
|
|
797
798
|
}
|
|
798
799
|
|
|
799
800
|
/**
|
|
@@ -1924,68 +1925,89 @@ export interface DeliveryTermScriptingService {
|
|
|
1924
1925
|
}
|
|
1925
1926
|
|
|
1926
1927
|
/**
|
|
1927
|
-
* Service
|
|
1928
|
+
* Service to process documents
|
|
1928
1929
|
*/
|
|
1929
1930
|
export interface DocumentScriptingService {
|
|
1930
1931
|
|
|
1931
1932
|
/**
|
|
1932
|
-
*
|
|
1933
|
+
* Creates a manual entry in the document protocol
|
|
1933
1934
|
*
|
|
1934
|
-
* @param {number} documentId - ID
|
|
1935
|
-
* @param {string} protocolMessage - Text
|
|
1935
|
+
* @param {number} documentId - ID of the document the entry is created for
|
|
1936
|
+
* @param {string} protocolMessage - Text of the entry
|
|
1936
1937
|
*/
|
|
1937
1938
|
addDocumentProtocol(documentId: number, protocolMessage: string): void;
|
|
1938
1939
|
|
|
1939
1940
|
/**
|
|
1940
|
-
*
|
|
1941
|
+
* Cancels editing a document (transition EDIT -> SAVED)
|
|
1941
1942
|
*
|
|
1942
|
-
* @param {number} documentId - ID
|
|
1943
|
-
* @return {Document}
|
|
1943
|
+
* @param {number} documentId - ID of the document
|
|
1944
|
+
* @return {Document} The cancelled document. If the document was created but never saved, it is deleted and {@code null} is returned
|
|
1944
1945
|
*/
|
|
1945
1946
|
cancel(documentId: number): Document;
|
|
1946
1947
|
|
|
1947
1948
|
/**
|
|
1948
|
-
*
|
|
1949
|
+
* Cancels editing a document (transition EDIT -> SAVED)
|
|
1949
1950
|
*
|
|
1950
|
-
* @param {number} documentId - ID
|
|
1951
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
1952
|
-
* @return {Document}
|
|
1951
|
+
* @param {number} documentId - ID of the document
|
|
1952
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1953
|
+
* @return {Document} The cancelled document. If the document was created but never saved, it is deleted and {@code null} is returned
|
|
1953
1954
|
*/
|
|
1954
1955
|
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1955
1956
|
|
|
1957
|
+
/**
|
|
1958
|
+
* Cancels editing a document (transition EDIT -> SAVED)
|
|
1959
|
+
*
|
|
1960
|
+
* @param {number} documentId - ID of the document
|
|
1961
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1962
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
1963
|
+
* @return {Document} The cancelled document. If the document was created but never saved, it is deleted and {@code null} is returned
|
|
1964
|
+
*/
|
|
1965
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
1966
|
+
|
|
1956
1967
|
/**
|
|
1957
1968
|
* Changes the delivery approval of an order
|
|
1958
1969
|
*
|
|
1959
|
-
* @param {number} documentId -
|
|
1960
|
-
* @param {boolean} approved -
|
|
1970
|
+
* @param {number} documentId - ID of the document
|
|
1971
|
+
* @param {boolean} approved - Shall the document be approved for delivery?
|
|
1961
1972
|
* @return {Document} The changed document
|
|
1962
1973
|
*/
|
|
1963
1974
|
changeDeliveryStatus(documentId: number, approved: boolean): Document;
|
|
1964
1975
|
|
|
1965
1976
|
/**
|
|
1966
|
-
*
|
|
1977
|
+
* Copies a document into the given target document type
|
|
1978
|
+
*
|
|
1979
|
+
* @param {number} documentId - ID of the document to copy
|
|
1980
|
+
* @param {string} targetDocumentTypeLabel - Target document type of the copy
|
|
1981
|
+
* @return {Document} The copied document
|
|
1982
|
+
*/
|
|
1983
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Copies a document into the given target document type
|
|
1967
1987
|
*
|
|
1968
|
-
* @param {number} documentId - ID
|
|
1969
|
-
* @param {string} targetDocumentType -
|
|
1970
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
1971
|
-
* @return {Document}
|
|
1988
|
+
* @param {number} documentId - ID of the document to copy
|
|
1989
|
+
* @param {string} targetDocumentType - Target document type of the copy
|
|
1990
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1991
|
+
* @return {Document} The copied document
|
|
1972
1992
|
*/
|
|
1973
1993
|
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1974
1994
|
|
|
1975
1995
|
/**
|
|
1976
|
-
*
|
|
1996
|
+
* Copies a document into the given target document type
|
|
1977
1997
|
*
|
|
1978
|
-
* @param {number} documentId - ID
|
|
1979
|
-
* @param {string}
|
|
1980
|
-
* @
|
|
1998
|
+
* @param {number} documentId - ID of the document to copy
|
|
1999
|
+
* @param {string} targetDocumentType - Target document type of the copy
|
|
2000
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2001
|
+
* @param {RequestDocument} requestDocument - Additional details of the copy; the target document type is set in it
|
|
2002
|
+
* @return {Document} The copied document
|
|
1981
2003
|
*/
|
|
1982
|
-
copy(documentId: number,
|
|
2004
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
1983
2005
|
|
|
1984
2006
|
/**
|
|
1985
|
-
*
|
|
2007
|
+
* Creates a new document
|
|
1986
2008
|
*
|
|
1987
|
-
* @param {CreateNewDocumentRequest} request - Details
|
|
1988
|
-
* @return {Document}
|
|
2009
|
+
* @param {CreateNewDocumentRequest} request - Details of the new document
|
|
2010
|
+
* @return {Document} The created document
|
|
1989
2011
|
*/
|
|
1990
2012
|
create(request: CreateNewDocumentRequest): Document;
|
|
1991
2013
|
|
|
@@ -1998,101 +2020,121 @@ export interface DocumentScriptingService {
|
|
|
1998
2020
|
createExternalDocument(request: ExternalDocumentWithTaxesRequest): Document;
|
|
1999
2021
|
|
|
2000
2022
|
/**
|
|
2001
|
-
*
|
|
2023
|
+
* Dissolves a document
|
|
2002
2024
|
*
|
|
2003
|
-
* @param {number} documentId - ID
|
|
2004
|
-
* @
|
|
2005
|
-
* @return {Document} Der aufgelöste Beleg
|
|
2025
|
+
* @param {number} documentId - ID of the document to dissolve
|
|
2026
|
+
* @return {Document} The dissolved document
|
|
2006
2027
|
*/
|
|
2007
|
-
dissolve(documentId: number
|
|
2028
|
+
dissolve(documentId: number): Document;
|
|
2008
2029
|
|
|
2009
2030
|
/**
|
|
2010
|
-
*
|
|
2031
|
+
* Dissolves a document
|
|
2011
2032
|
*
|
|
2012
|
-
* @param {number} documentId - ID
|
|
2013
|
-
* @
|
|
2033
|
+
* @param {number} documentId - ID of the document to dissolve
|
|
2034
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2035
|
+
* @return {Document} The dissolved document
|
|
2014
2036
|
*/
|
|
2015
|
-
dissolve(documentId: number): Document;
|
|
2037
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2016
2038
|
|
|
2017
2039
|
/**
|
|
2018
|
-
*
|
|
2040
|
+
* Dissolves a document
|
|
2019
2041
|
*
|
|
2020
|
-
* @param {number} documentId - ID
|
|
2021
|
-
* @
|
|
2042
|
+
* @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
|
+
* @return {Document} The dissolved document
|
|
2022
2046
|
*/
|
|
2023
|
-
|
|
2047
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2024
2048
|
|
|
2025
2049
|
/**
|
|
2026
|
-
*
|
|
2050
|
+
* Starts editing a document (transition SAVED -> EDIT)
|
|
2027
2051
|
*
|
|
2028
|
-
* @param {number} documentId - ID
|
|
2029
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
2030
|
-
* @return {Document}
|
|
2052
|
+
* @param {number} documentId - ID of the document
|
|
2053
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2054
|
+
* @return {Document} The document in EDIT mode
|
|
2031
2055
|
*/
|
|
2032
2056
|
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2033
2057
|
|
|
2034
2058
|
/**
|
|
2035
|
-
*
|
|
2059
|
+
* Starts editing a document (transition SAVED -> EDIT)
|
|
2060
|
+
*
|
|
2061
|
+
* @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
|
+
* @return {Document} The document in EDIT mode
|
|
2065
|
+
*/
|
|
2066
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Starts editing a document (transition SAVED -> EDIT)
|
|
2070
|
+
*
|
|
2071
|
+
* @param {number} documentId - ID of the document
|
|
2072
|
+
* @return {Document} The document in EDIT mode
|
|
2073
|
+
*/
|
|
2074
|
+
edit(documentId: number): Document;
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* Creates an AdditionalParameter object
|
|
2036
2078
|
*
|
|
2037
|
-
* @param {string} key -
|
|
2038
|
-
* @param {object} value -
|
|
2039
|
-
* @return {AdditionalParameter}
|
|
2079
|
+
* @param {string} key - Key of the parameter
|
|
2080
|
+
* @param {object} value - Value of the parameter
|
|
2081
|
+
* @return {AdditionalParameter} The created object
|
|
2040
2082
|
*/
|
|
2041
2083
|
getAdditionalParameter(key: string, value: object): AdditionalParameter;
|
|
2042
2084
|
|
|
2043
2085
|
/**
|
|
2044
|
-
*
|
|
2086
|
+
* Creates a list to collect AdditionalParameter objects
|
|
2045
2087
|
*
|
|
2046
|
-
* @return {Array<AdditionalParameter>}
|
|
2088
|
+
* @return {Array<AdditionalParameter>} The created list
|
|
2047
2089
|
*/
|
|
2048
2090
|
getAdditionalParameterList(): Array<AdditionalParameter>;
|
|
2049
2091
|
|
|
2050
2092
|
/**
|
|
2051
|
-
*
|
|
2093
|
+
* Creates a request object to transfer a document into another state
|
|
2052
2094
|
*
|
|
2053
|
-
* @return {DocumentTransferToStateRequest}
|
|
2095
|
+
* @return {DocumentTransferToStateRequest} The request object
|
|
2054
2096
|
*/
|
|
2055
2097
|
getDocumentTransferToStateRequest(): DocumentTransferToStateRequest;
|
|
2056
2098
|
|
|
2057
2099
|
/**
|
|
2058
|
-
*
|
|
2100
|
+
* Creates a request object to transfer (or copy) a document into another document
|
|
2059
2101
|
*
|
|
2060
|
-
* @return {DocumentTransferToTypeRequest}
|
|
2102
|
+
* @return {DocumentTransferToTypeRequest} The request object
|
|
2061
2103
|
*/
|
|
2062
2104
|
getDocumentTransferToTypeRequest(): DocumentTransferToTypeRequest;
|
|
2063
2105
|
|
|
2064
2106
|
/**
|
|
2065
|
-
*
|
|
2107
|
+
* Creates a new document line object to insert it into a document
|
|
2066
2108
|
*
|
|
2067
|
-
* @return {DocumentLine}
|
|
2109
|
+
* @return {DocumentLine} A new document line object
|
|
2068
2110
|
*/
|
|
2069
2111
|
getNewDocumentLine(): DocumentLine;
|
|
2070
2112
|
|
|
2071
2113
|
/**
|
|
2072
|
-
*
|
|
2114
|
+
* Creates a new document line booking object to insert it into a document
|
|
2073
2115
|
*
|
|
2074
|
-
* @return {DocumentLineBooking}
|
|
2116
|
+
* @return {DocumentLineBooking} A new document line booking object
|
|
2075
2117
|
*/
|
|
2076
2118
|
getNewDocumentLineBooking(): DocumentLineBooking;
|
|
2077
2119
|
|
|
2078
2120
|
/**
|
|
2079
|
-
*
|
|
2121
|
+
* Creates a new discount/surcharge object to insert it into a document or a line
|
|
2080
2122
|
*
|
|
2081
|
-
* @return {DocumentPriceModifier}
|
|
2123
|
+
* @return {DocumentPriceModifier} A new discount/surcharge object
|
|
2082
2124
|
*/
|
|
2083
2125
|
getNewDocumentPriceModifier(): DocumentPriceModifier;
|
|
2084
2126
|
|
|
2085
2127
|
/**
|
|
2086
|
-
*
|
|
2128
|
+
* Creates a request object to create a new document
|
|
2087
2129
|
*
|
|
2088
|
-
* @return {CreateNewDocumentRequest}
|
|
2130
|
+
* @return {CreateNewDocumentRequest} The request object
|
|
2089
2131
|
*/
|
|
2090
2132
|
getNewDocumentRequest(): CreateNewDocumentRequest;
|
|
2091
2133
|
|
|
2092
2134
|
/**
|
|
2093
|
-
*
|
|
2135
|
+
* Creates a request object to update a document
|
|
2094
2136
|
*
|
|
2095
|
-
* @return {UpdateDocumentRequest}
|
|
2137
|
+
* @return {UpdateDocumentRequest} The request object
|
|
2096
2138
|
*/
|
|
2097
2139
|
getUpdateDocumentRequest(): UpdateDocumentRequest;
|
|
2098
2140
|
|
|
@@ -2106,37 +2148,47 @@ export interface DocumentScriptingService {
|
|
|
2106
2148
|
patchCustomFields(documentId: number, custom: JsonNode): Document;
|
|
2107
2149
|
|
|
2108
2150
|
/**
|
|
2109
|
-
*
|
|
2151
|
+
* Prints a document
|
|
2110
2152
|
*
|
|
2111
|
-
* @param {number} documentId - ID
|
|
2153
|
+
* @param {number} documentId - ID of the document to print
|
|
2112
2154
|
*/
|
|
2113
2155
|
print(documentId: number): void;
|
|
2114
2156
|
|
|
2115
2157
|
/**
|
|
2116
|
-
*
|
|
2158
|
+
* Reads a document by its ID
|
|
2117
2159
|
*
|
|
2118
|
-
* @param {number} documentId - ID
|
|
2119
|
-
* @return {Document}
|
|
2160
|
+
* @param {number} documentId - ID of the document
|
|
2161
|
+
* @return {Document} The document read
|
|
2120
2162
|
*/
|
|
2121
2163
|
readById(documentId: number): Document;
|
|
2122
2164
|
|
|
2123
2165
|
/**
|
|
2124
|
-
*
|
|
2166
|
+
* Saves a document (transition EDIT -> SAVED)
|
|
2125
2167
|
*
|
|
2126
|
-
* @param {number} documentId - ID
|
|
2127
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
2128
|
-
* @
|
|
2168
|
+
* @param {number} documentId - ID of the document to save
|
|
2169
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2170
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2171
|
+
* @return {Document} The saved document
|
|
2129
2172
|
*/
|
|
2130
|
-
save(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2173
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2131
2174
|
|
|
2132
2175
|
/**
|
|
2133
|
-
*
|
|
2176
|
+
* Saves a document (transition EDIT -> SAVED)
|
|
2134
2177
|
*
|
|
2135
|
-
* @param {number} documentId - ID
|
|
2136
|
-
* @return {Document}
|
|
2178
|
+
* @param {number} documentId - ID of the document to save
|
|
2179
|
+
* @return {Document} The saved document
|
|
2137
2180
|
*/
|
|
2138
2181
|
save(documentId: number): Document;
|
|
2139
2182
|
|
|
2183
|
+
/**
|
|
2184
|
+
* Saves a document (transition EDIT -> SAVED)
|
|
2185
|
+
*
|
|
2186
|
+
* @param {number} documentId - ID of the document to save
|
|
2187
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2188
|
+
* @return {Document} The saved document
|
|
2189
|
+
*/
|
|
2190
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2191
|
+
|
|
2140
2192
|
/**
|
|
2141
2193
|
* Completes an externally created document and freezes it. A document that is no longer in EDIT mode is only frozen.
|
|
2142
2194
|
*
|
|
@@ -2146,41 +2198,41 @@ export interface DocumentScriptingService {
|
|
|
2146
2198
|
saveAndFreeze(documentId: number): Document;
|
|
2147
2199
|
|
|
2148
2200
|
/**
|
|
2149
|
-
*
|
|
2201
|
+
* Sends a document via mail
|
|
2150
2202
|
*
|
|
2151
|
-
* @param {number} documentId - ID
|
|
2203
|
+
* @param {number} documentId - ID of the document to send
|
|
2204
|
+
* @param {string} reportGroupIdentifier -
|
|
2152
2205
|
*/
|
|
2153
|
-
sendViaMail(documentId: number): void;
|
|
2206
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
2154
2207
|
|
|
2155
2208
|
/**
|
|
2156
|
-
*
|
|
2209
|
+
* Sends a document via mail
|
|
2157
2210
|
*
|
|
2158
|
-
* @param {number} documentId - ID
|
|
2159
|
-
* @param {string} reportGroupIdentifier -
|
|
2211
|
+
* @param {number} documentId - ID of the document to send
|
|
2160
2212
|
*/
|
|
2161
|
-
sendViaMail(documentId: number
|
|
2213
|
+
sendViaMail(documentId: number): void;
|
|
2162
2214
|
|
|
2163
2215
|
/**
|
|
2164
|
-
*
|
|
2216
|
+
* Transfers a document into another state
|
|
2165
2217
|
*
|
|
2166
|
-
* @param {DocumentTransferToStateRequest} request - Request
|
|
2167
|
-
* @return {Document}
|
|
2218
|
+
* @param {DocumentTransferToStateRequest} request - Request for the transition to the target state
|
|
2219
|
+
* @return {Document} The changed document
|
|
2168
2220
|
*/
|
|
2169
2221
|
transferToState(request: DocumentTransferToStateRequest): Document;
|
|
2170
2222
|
|
|
2171
2223
|
/**
|
|
2172
|
-
*
|
|
2224
|
+
* Transfers (or copies) a document into another document
|
|
2173
2225
|
*
|
|
2174
|
-
* @param {DocumentTransferToTypeRequest} request - Request
|
|
2175
|
-
* @return {Document}
|
|
2226
|
+
* @param {DocumentTransferToTypeRequest} request - Request to transfer a document
|
|
2227
|
+
* @return {Document} The new document
|
|
2176
2228
|
*/
|
|
2177
2229
|
transferToType(request: DocumentTransferToTypeRequest): Document;
|
|
2178
2230
|
|
|
2179
2231
|
/**
|
|
2180
|
-
*
|
|
2232
|
+
* Updates a document
|
|
2181
2233
|
*
|
|
2182
|
-
* @param {UpdateDocumentRequest} request - Details
|
|
2183
|
-
* @return {Document}
|
|
2234
|
+
* @param {UpdateDocumentRequest} request - Details of the document to update
|
|
2235
|
+
* @return {Document} The updated document
|
|
2184
2236
|
*/
|
|
2185
2237
|
update(request: UpdateDocumentRequest): Document;
|
|
2186
2238
|
}
|
|
@@ -3101,14 +3153,14 @@ export interface ScriptingServiceList {
|
|
|
3101
3153
|
crmTaskService: CrmTaskScriptingService;
|
|
3102
3154
|
|
|
3103
3155
|
/**
|
|
3104
|
-
* Service zur Verarbeitung von
|
|
3156
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
3105
3157
|
*/
|
|
3106
|
-
|
|
3158
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3107
3159
|
|
|
3108
3160
|
/**
|
|
3109
|
-
* Service zur Verarbeitung von
|
|
3161
|
+
* Service zur Verarbeitung von Accounts
|
|
3110
3162
|
*/
|
|
3111
|
-
|
|
3163
|
+
accountService: AccountScriptingService;
|
|
3112
3164
|
|
|
3113
3165
|
/**
|
|
3114
3166
|
* Logging im Scripting
|
|
@@ -3191,7 +3243,7 @@ export interface ScriptingServiceList {
|
|
|
3191
3243
|
articleService: ArticleScriptingService;
|
|
3192
3244
|
|
|
3193
3245
|
/**
|
|
3194
|
-
* Service
|
|
3246
|
+
* Service to process documents
|
|
3195
3247
|
*/
|
|
3196
3248
|
documentService: DocumentScriptingService;
|
|
3197
3249
|
|
|
@@ -3353,18 +3405,18 @@ export interface ScriptingUtilities {
|
|
|
3353
3405
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3354
3406
|
*
|
|
3355
3407
|
* @param {object} value - Der Quell-Wert
|
|
3356
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
3357
3408
|
* @return {number} Ein BigDecimal-Wert
|
|
3358
3409
|
*/
|
|
3359
|
-
newBigDecimal(value: object
|
|
3410
|
+
newBigDecimal(value: object): number;
|
|
3360
3411
|
|
|
3361
3412
|
/**
|
|
3362
3413
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3363
3414
|
*
|
|
3364
3415
|
* @param {object} value - Der Quell-Wert
|
|
3416
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
3365
3417
|
* @return {number} Ein BigDecimal-Wert
|
|
3366
3418
|
*/
|
|
3367
|
-
newBigDecimal(value: object): number;
|
|
3419
|
+
newBigDecimal(value: object, scale: number): number;
|
|
3368
3420
|
|
|
3369
3421
|
/**
|
|
3370
3422
|
* Erstellt eine API-Referenz
|
|
@@ -4360,6 +4412,13 @@ export interface dtoFactory {
|
|
|
4360
4412
|
*/
|
|
4361
4413
|
createCrmActivity(): CrmActivity;
|
|
4362
4414
|
|
|
4415
|
+
/**
|
|
4416
|
+
* Erstellt einen neue Instanz von CrmActivityOffHours
|
|
4417
|
+
*
|
|
4418
|
+
* @return {CrmActivityOffHours} Neue Instanz von CrmActivityOffHours
|
|
4419
|
+
*/
|
|
4420
|
+
createCrmActivityOffHours(): CrmActivityOffHours;
|
|
4421
|
+
|
|
4363
4422
|
/**
|
|
4364
4423
|
* Erstellt einen neue Instanz von CrmActivityType
|
|
4365
4424
|
*
|
|
@@ -4437,6 +4496,20 @@ export interface dtoFactory {
|
|
|
4437
4496
|
*/
|
|
4438
4497
|
createCrmTask(): CrmTask;
|
|
4439
4498
|
|
|
4499
|
+
/**
|
|
4500
|
+
* Erstellt einen neue Instanz von CrmTaskForm
|
|
4501
|
+
*
|
|
4502
|
+
* @return {CrmTaskForm} Neue Instanz von CrmTaskForm
|
|
4503
|
+
*/
|
|
4504
|
+
createCrmTaskForm(): CrmTaskForm;
|
|
4505
|
+
|
|
4506
|
+
/**
|
|
4507
|
+
* Erstellt einen neue Instanz von CrmTaskLine
|
|
4508
|
+
*
|
|
4509
|
+
* @return {CrmTaskLine} Neue Instanz von CrmTaskLine
|
|
4510
|
+
*/
|
|
4511
|
+
createCrmTaskLine(): CrmTaskLine;
|
|
4512
|
+
|
|
4440
4513
|
/**
|
|
4441
4514
|
* Erstellt einen neue Instanz von CrmTaskParticipant
|
|
4442
4515
|
*
|
|
@@ -4444,6 +4517,13 @@ export interface dtoFactory {
|
|
|
4444
4517
|
*/
|
|
4445
4518
|
createCrmTaskParticipant(): CrmTaskParticipant;
|
|
4446
4519
|
|
|
4520
|
+
/**
|
|
4521
|
+
* Erstellt einen neue Instanz von CrmTaskPriceModifier
|
|
4522
|
+
*
|
|
4523
|
+
* @return {CrmTaskPriceModifier} Neue Instanz von CrmTaskPriceModifier
|
|
4524
|
+
*/
|
|
4525
|
+
createCrmTaskPriceModifier(): CrmTaskPriceModifier;
|
|
4526
|
+
|
|
4447
4527
|
/**
|
|
4448
4528
|
* Erstellt einen neue Instanz von CurrencyReference
|
|
4449
4529
|
*
|