@silexpert/core 1.3.99-2 → 1.3.99-4
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/cjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/cjs/types/Form/FormConnector.js +0 -15
- package/dist/cjs/types/Form/FormConnector.js.map +1 -1
- package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/mjs/types/Form/FormConnector.js +0 -15
- package/dist/mjs/types/Form/FormConnector.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Form/FormConnector.ts +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAGxB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,GAAG,CAAC,EAAE,MAAM,CAAC;IAIb,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAI/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -10,81 +10,66 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.FormConnector = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const class_transformer_1 = require("class-transformer");
|
|
16
14
|
const ConnectorType_1 = require("../Enum/ConnectorType");
|
|
17
15
|
class FormConnector {
|
|
18
16
|
}
|
|
19
17
|
exports.FormConnector = FormConnector;
|
|
20
18
|
__decorate([
|
|
21
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
22
19
|
(0, class_validator_1.IsOptional)(),
|
|
23
20
|
(0, class_validator_1.IsNumber)(),
|
|
24
21
|
__metadata("design:type", Number)
|
|
25
22
|
], FormConnector.prototype, "id", void 0);
|
|
26
23
|
__decorate([
|
|
27
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
28
24
|
(0, class_validator_1.IsOptional)(),
|
|
29
25
|
(0, class_validator_1.IsString)(),
|
|
30
26
|
__metadata("design:type", String)
|
|
31
27
|
], FormConnector.prototype, "username", void 0);
|
|
32
28
|
__decorate([
|
|
33
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
34
29
|
(0, class_validator_1.IsOptional)(),
|
|
35
30
|
(0, class_validator_1.IsString)(),
|
|
36
31
|
__metadata("design:type", String)
|
|
37
32
|
], FormConnector.prototype, "pass", void 0);
|
|
38
33
|
__decorate([
|
|
39
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
40
34
|
(0, class_validator_1.IsOptional)(),
|
|
41
35
|
(0, class_validator_1.IsString)(),
|
|
42
36
|
__metadata("design:type", String)
|
|
43
37
|
], FormConnector.prototype, "url", void 0);
|
|
44
38
|
__decorate([
|
|
45
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
46
39
|
(0, class_validator_1.IsOptional)(),
|
|
47
40
|
(0, class_validator_1.IsString)(),
|
|
48
41
|
__metadata("design:type", String)
|
|
49
42
|
], FormConnector.prototype, "token", void 0);
|
|
50
43
|
__decorate([
|
|
51
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
52
44
|
(0, class_validator_1.IsOptional)(),
|
|
53
45
|
(0, class_validator_1.IsString)(),
|
|
54
46
|
__metadata("design:type", String)
|
|
55
47
|
], FormConnector.prototype, "token2", void 0);
|
|
56
48
|
__decorate([
|
|
57
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
58
49
|
(0, class_validator_1.IsOptional)(),
|
|
59
50
|
(0, class_validator_1.IsString)(),
|
|
60
51
|
__metadata("design:type", String)
|
|
61
52
|
], FormConnector.prototype, "token3", void 0);
|
|
62
53
|
__decorate([
|
|
63
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
64
54
|
(0, class_validator_1.IsOptional)(),
|
|
65
55
|
(0, class_validator_1.IsString)(),
|
|
66
56
|
__metadata("design:type", String)
|
|
67
57
|
], FormConnector.prototype, "token4", void 0);
|
|
68
58
|
__decorate([
|
|
69
|
-
(0, swagger_1.ApiPropertyOptional)({ type: String, format: 'date-time' }),
|
|
70
59
|
(0, class_validator_1.IsOptional)(),
|
|
71
60
|
(0, class_validator_1.IsDate)(),
|
|
72
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
73
61
|
__metadata("design:type", Date)
|
|
74
62
|
], FormConnector.prototype, "date", void 0);
|
|
75
63
|
__decorate([
|
|
76
|
-
(0, swagger_1.ApiProperty)({ enum: ConnectorType_1.ConnectorType }),
|
|
77
64
|
(0, class_validator_1.IsEnum)(ConnectorType_1.ConnectorType),
|
|
78
65
|
__metadata("design:type", Number)
|
|
79
66
|
], FormConnector.prototype, "idTypeConnector", void 0);
|
|
80
67
|
__decorate([
|
|
81
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
82
68
|
(0, class_validator_1.IsOptional)(),
|
|
83
69
|
(0, class_validator_1.IsNumber)(),
|
|
84
70
|
__metadata("design:type", Number)
|
|
85
71
|
], FormConnector.prototype, "idSociety", void 0);
|
|
86
72
|
__decorate([
|
|
87
|
-
(0, swagger_1.ApiPropertyOptional)(),
|
|
88
73
|
(0, class_validator_1.IsOptional)(),
|
|
89
74
|
(0, class_validator_1.IsNumber)(),
|
|
90
75
|
__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiF;AACjF,yDAAsD;AAEtD,MAAa,aAAa;CA+CzB;AA/CD,sCA+CC;AA5CC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACF,IAAI;2CAAC;AAGZ;IADC,IAAA,wBAAM,EAAC,6BAAa,CAAC;;sDACS;AAI/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ","sourcesContent":["import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @IsOptional()\n @IsString()\n username?: string;\n\n @IsOptional()\n @IsString()\n pass?: string;\n\n @IsOptional()\n @IsString()\n url?: string;\n\n @IsOptional()\n @IsString()\n token?: string;\n\n @IsOptional()\n @IsString()\n token2?: string;\n\n @IsOptional()\n @IsString()\n token3?: string;\n\n @IsOptional()\n @IsString()\n token4?: string;\n\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAGxB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,GAAG,CAAC,EAAE,MAAM,CAAC;IAIb,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAI/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -7,9 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
11
10
|
import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
|
|
12
|
-
import { Type } from 'class-transformer';
|
|
13
11
|
import { ConnectorType } from '../Enum/ConnectorType';
|
|
14
12
|
export class FormConnector {
|
|
15
13
|
id;
|
|
@@ -26,73 +24,60 @@ export class FormConnector {
|
|
|
26
24
|
expiresIn;
|
|
27
25
|
}
|
|
28
26
|
__decorate([
|
|
29
|
-
ApiPropertyOptional(),
|
|
30
27
|
IsOptional(),
|
|
31
28
|
IsNumber(),
|
|
32
29
|
__metadata("design:type", Number)
|
|
33
30
|
], FormConnector.prototype, "id", void 0);
|
|
34
31
|
__decorate([
|
|
35
|
-
ApiPropertyOptional(),
|
|
36
32
|
IsOptional(),
|
|
37
33
|
IsString(),
|
|
38
34
|
__metadata("design:type", String)
|
|
39
35
|
], FormConnector.prototype, "username", void 0);
|
|
40
36
|
__decorate([
|
|
41
|
-
ApiPropertyOptional(),
|
|
42
37
|
IsOptional(),
|
|
43
38
|
IsString(),
|
|
44
39
|
__metadata("design:type", String)
|
|
45
40
|
], FormConnector.prototype, "pass", void 0);
|
|
46
41
|
__decorate([
|
|
47
|
-
ApiPropertyOptional(),
|
|
48
42
|
IsOptional(),
|
|
49
43
|
IsString(),
|
|
50
44
|
__metadata("design:type", String)
|
|
51
45
|
], FormConnector.prototype, "url", void 0);
|
|
52
46
|
__decorate([
|
|
53
|
-
ApiPropertyOptional(),
|
|
54
47
|
IsOptional(),
|
|
55
48
|
IsString(),
|
|
56
49
|
__metadata("design:type", String)
|
|
57
50
|
], FormConnector.prototype, "token", void 0);
|
|
58
51
|
__decorate([
|
|
59
|
-
ApiPropertyOptional(),
|
|
60
52
|
IsOptional(),
|
|
61
53
|
IsString(),
|
|
62
54
|
__metadata("design:type", String)
|
|
63
55
|
], FormConnector.prototype, "token2", void 0);
|
|
64
56
|
__decorate([
|
|
65
|
-
ApiPropertyOptional(),
|
|
66
57
|
IsOptional(),
|
|
67
58
|
IsString(),
|
|
68
59
|
__metadata("design:type", String)
|
|
69
60
|
], FormConnector.prototype, "token3", void 0);
|
|
70
61
|
__decorate([
|
|
71
|
-
ApiPropertyOptional(),
|
|
72
62
|
IsOptional(),
|
|
73
63
|
IsString(),
|
|
74
64
|
__metadata("design:type", String)
|
|
75
65
|
], FormConnector.prototype, "token4", void 0);
|
|
76
66
|
__decorate([
|
|
77
|
-
ApiPropertyOptional({ type: String, format: 'date-time' }),
|
|
78
67
|
IsOptional(),
|
|
79
68
|
IsDate(),
|
|
80
|
-
Type(() => Date),
|
|
81
69
|
__metadata("design:type", Date)
|
|
82
70
|
], FormConnector.prototype, "date", void 0);
|
|
83
71
|
__decorate([
|
|
84
|
-
ApiProperty({ enum: ConnectorType }),
|
|
85
72
|
IsEnum(ConnectorType),
|
|
86
73
|
__metadata("design:type", Number)
|
|
87
74
|
], FormConnector.prototype, "idTypeConnector", void 0);
|
|
88
75
|
__decorate([
|
|
89
|
-
ApiPropertyOptional(),
|
|
90
76
|
IsOptional(),
|
|
91
77
|
IsNumber(),
|
|
92
78
|
__metadata("design:type", Number)
|
|
93
79
|
], FormConnector.prototype, "idSociety", void 0);
|
|
94
80
|
__decorate([
|
|
95
|
-
ApiPropertyOptional(),
|
|
96
81
|
IsOptional(),
|
|
97
82
|
IsNumber(),
|
|
98
83
|
__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,OAAO,aAAa;IAGxB,EAAE,CAAU;IAIZ,QAAQ,CAAU;IAIlB,IAAI,CAAU;IAId,GAAG,CAAU;IAIb,KAAK,CAAU;IAIf,MAAM,CAAU;IAIhB,MAAM,CAAU;IAIhB,MAAM,CAAU;IAIhB,IAAI,CAAQ;IAGZ,eAAe,CAAgB;IAI/B,SAAS,CAAU;IAInB,SAAS,CAAU;CACpB;AA5CC;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;yCACC;AAIZ;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAIlB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;2CACG;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;0CACE;AAIb;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACI;AAIf;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAIhB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAIhB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAIhB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;2CAAC;AAGZ;IADC,MAAM,CAAC,aAAa,CAAC;;sDACS;AAI/B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ;AAInB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ","sourcesContent":["import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @IsOptional()\n @IsString()\n username?: string;\n\n @IsOptional()\n @IsString()\n pass?: string;\n\n @IsOptional()\n @IsString()\n url?: string;\n\n @IsOptional()\n @IsString()\n token?: string;\n\n @IsOptional()\n @IsString()\n token2?: string;\n\n @IsOptional()\n @IsString()\n token3?: string;\n\n @IsOptional()\n @IsString()\n token4?: string;\n\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.99-
|
|
3
|
+
"version": "1.3.99-4",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -1,65 +1,50 @@
|
|
|
1
|
-
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
2
1
|
import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
|
|
3
|
-
import { Type } from 'class-transformer';
|
|
4
2
|
import { ConnectorType } from '../Enum/ConnectorType';
|
|
5
3
|
|
|
6
4
|
export class FormConnector {
|
|
7
|
-
@ApiPropertyOptional()
|
|
8
5
|
@IsOptional()
|
|
9
6
|
@IsNumber()
|
|
10
7
|
id?: number;
|
|
11
8
|
|
|
12
|
-
@ApiPropertyOptional()
|
|
13
9
|
@IsOptional()
|
|
14
10
|
@IsString()
|
|
15
11
|
username?: string;
|
|
16
12
|
|
|
17
|
-
@ApiPropertyOptional()
|
|
18
13
|
@IsOptional()
|
|
19
14
|
@IsString()
|
|
20
15
|
pass?: string;
|
|
21
16
|
|
|
22
|
-
@ApiPropertyOptional()
|
|
23
17
|
@IsOptional()
|
|
24
18
|
@IsString()
|
|
25
19
|
url?: string;
|
|
26
20
|
|
|
27
|
-
@ApiPropertyOptional()
|
|
28
21
|
@IsOptional()
|
|
29
22
|
@IsString()
|
|
30
23
|
token?: string;
|
|
31
24
|
|
|
32
|
-
@ApiPropertyOptional()
|
|
33
25
|
@IsOptional()
|
|
34
26
|
@IsString()
|
|
35
27
|
token2?: string;
|
|
36
28
|
|
|
37
|
-
@ApiPropertyOptional()
|
|
38
29
|
@IsOptional()
|
|
39
30
|
@IsString()
|
|
40
31
|
token3?: string;
|
|
41
32
|
|
|
42
|
-
@ApiPropertyOptional()
|
|
43
33
|
@IsOptional()
|
|
44
34
|
@IsString()
|
|
45
35
|
token4?: string;
|
|
46
36
|
|
|
47
|
-
@ApiPropertyOptional({ type: String, format: 'date-time' })
|
|
48
37
|
@IsOptional()
|
|
49
38
|
@IsDate()
|
|
50
|
-
@Type(() => Date)
|
|
51
39
|
date?: Date;
|
|
52
40
|
|
|
53
|
-
@ApiProperty({ enum: ConnectorType })
|
|
54
41
|
@IsEnum(ConnectorType)
|
|
55
42
|
idTypeConnector: ConnectorType;
|
|
56
43
|
|
|
57
|
-
@ApiPropertyOptional()
|
|
58
44
|
@IsOptional()
|
|
59
45
|
@IsNumber()
|
|
60
46
|
idSociety?: number;
|
|
61
47
|
|
|
62
|
-
@ApiPropertyOptional()
|
|
63
48
|
@IsOptional()
|
|
64
49
|
@IsNumber()
|
|
65
50
|
expiresIn?: number;
|