@topconsultnpm/sdk-ts 6.20.0-dev2.7 → 6.20.0-dev2.9
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/dist/lib/helper/PlatformObjectValidator.js +41 -0
- package/dist/lib/helper/SDK_Localizator.js +10 -0
- package/dist/lib/helper/utils.js +2 -0
- package/dist/lib/openAPIs/TopMediaServiceClient.js +1 -1
- package/dist/types/helper/PlatformObjectValidator.d.ts +3 -1
- package/dist/types/helper/SDK_Localizator.d.ts +1 -0
- package/dist/types/helper/utils.d.ts +9 -7
- package/dist/types/openAPIs/TopMediaServiceClient.d.ts +1 -1
- package/package.json +31 -31
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DcmtTypeDescriptor, QueryDescriptor, QueryOperators, WhereItem } from "../openAPIs/TopMediaServiceClient";
|
|
1
|
+
import { DataListDescriptor, DataListItemDescriptor, DcmtTypeDescriptor, QueryDescriptor, QueryOperators, WhereItem } from "../openAPIs/TopMediaServiceClient";
|
|
2
2
|
export declare enum ResultTypes {
|
|
3
3
|
NONE = "None",
|
|
4
4
|
SUCCESS = "Success",
|
|
@@ -40,4 +40,6 @@ export declare class PlatformObjectValidator {
|
|
|
40
40
|
static GetNumberOfOperands(qo?: QueryOperators): 0 | 1 | 2 | 12 | 11 | 99;
|
|
41
41
|
static WhereItemHasValues(wi: WhereItem): boolean;
|
|
42
42
|
static QueryValidatorAsync(qdNew: QueryDescriptor | undefined, vl: ValidationItem[], qvo: QueryValidatorOptions, showPropertyName?: boolean): Promise<DcmtTypeDescriptor | undefined>;
|
|
43
|
+
static DataListValidator(d: DataListDescriptor): Promise<ValidationItem[] | undefined>;
|
|
44
|
+
static DataListItemValidator(dlid: DataListItemDescriptor, vil: ValidationItem[], showPropertyName?: boolean): Promise<void>;
|
|
43
45
|
}
|
|
@@ -9,6 +9,7 @@ export declare class SDK_Localizator {
|
|
|
9
9
|
static get BasketTypes(): "Behältertypen" | "Basket types" | "Tipos de tanque" | "Types de réservoir" | "Tanques tipos" | "Tipi serbatoio";
|
|
10
10
|
static get DataFileName(): "Name der Datendatei" | "Data file name" | "Nombre del archivo de datos" | "Nom du fichier des données" | "Nome do arquivo de dados" | "Nome del file di dati";
|
|
11
11
|
static get DataList(): "Datenliste" | "Data list" | "Lista de datos" | "Liste de données" | "Listar dados" | "Lista dati";
|
|
12
|
+
static get DataListItem(): "Datenlistenelement" | "Data list item" | "Elemento de lista de datos" | "Élément de la liste de données" | "Elemento da lista de dados" | "Elemento della lista dati";
|
|
12
13
|
static get DataLists(): "Datenlisten" | "Data lists" | "Listas datos" | "Liste de donnée" | "Listas dados" | "Liste dati";
|
|
13
14
|
static get DcmtType(): "Dokumententyp" | "Document type" | "Tipo de documento" | "Type de document" | "Tipo documento";
|
|
14
15
|
static get DcmtTypeFrom(): "Hauptdokumenttyp" | "Main document type" | "Tipo de documento principal" | "Type document principal" | "Tipo documento principale";
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ITopMediaSession } from "../TopMediaSession";
|
|
2
2
|
export declare class TMPropertyNames {
|
|
3
|
-
static entityName
|
|
4
|
-
static fromTid
|
|
5
|
-
static
|
|
6
|
-
static
|
|
7
|
-
static
|
|
8
|
-
static
|
|
9
|
-
static
|
|
3
|
+
static readonly entityName = "name";
|
|
4
|
+
static readonly fromTid = "fromTid";
|
|
5
|
+
static readonly items = "items";
|
|
6
|
+
static readonly join = "join";
|
|
7
|
+
static readonly maxDcmtsToBeReturned = "maxDcmtsToBeReturned";
|
|
8
|
+
static readonly orderBy = "orderBy";
|
|
9
|
+
static readonly select = "select";
|
|
10
|
+
static readonly value = "value";
|
|
11
|
+
static readonly where = "where";
|
|
10
12
|
}
|
|
11
13
|
export declare class TMScopeNames {
|
|
12
14
|
static qd: string;
|
|
@@ -1888,7 +1888,7 @@ export declare class CassettoDoganalePlusJobDescriptor extends JobDescriptor {
|
|
|
1888
1888
|
scope?: string | undefined;
|
|
1889
1889
|
subjectType?: string | undefined;
|
|
1890
1890
|
startDate?: Date | undefined;
|
|
1891
|
-
|
|
1891
|
+
daysBack?: number;
|
|
1892
1892
|
exportPath?: string | undefined;
|
|
1893
1893
|
logFolder?: string | undefined;
|
|
1894
1894
|
init(_data?: any): void;
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name":
|
|
3
|
-
"version":
|
|
4
|
-
"description":
|
|
5
|
-
"main":
|
|
6
|
-
"types":
|
|
7
|
-
"scripts":
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"files":
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"dependencies":
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"author":
|
|
26
|
-
"license":
|
|
27
|
-
"devDependencies":
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
2
|
+
"name": "@topconsultnpm/sdk-ts",
|
|
3
|
+
"version": "6.20.0-dev2.9",
|
|
4
|
+
"description": "TopMedia SDK typescript",
|
|
5
|
+
"main": "dist/lib/index.js",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" \u0026\u0026 exit 1",
|
|
9
|
+
"tm-terser": "terser dist/lib/openAPIs/TopMediaServiceClient.js -c toplevel,passes=2 -m toplevel -o dist/lib/openAPIs/TopMediaServiceClient.js",
|
|
10
|
+
"tm-build": "tsc \u0026\u0026 npm run tm-terser",
|
|
11
|
+
"tm-watch": "tsc -w",
|
|
12
|
+
"tm-publish": "npm publish --tag latest",
|
|
13
|
+
"tm-publish_wl": "npm publish"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/lib/**/*",
|
|
17
|
+
"dist/types/**/*"
|
|
18
|
+
],
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@azure/msal-browser": "^4.28.1",
|
|
21
|
+
"@babel/runtime": "^7.28.4",
|
|
22
|
+
"async-mutex": "^0.4.0",
|
|
23
|
+
"axios": "^1.7.2"
|
|
24
|
+
},
|
|
25
|
+
"author": "TopConsult",
|
|
26
|
+
"license": "ISC",
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/node": "^18.11.18",
|
|
29
|
+
"terser": "^5.44.0",
|
|
30
|
+
"typescript": "^5.9.3"
|
|
31
|
+
}
|
|
32
|
+
}
|