@silexpert/core 1.3.99-2 → 1.3.99-3

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.
@@ -10,7 +10,6 @@ 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
14
  const class_transformer_1 = require("class-transformer");
16
15
  const ConnectorType_1 = require("../Enum/ConnectorType");
@@ -18,73 +17,61 @@ class FormConnector {
18
17
  }
19
18
  exports.FormConnector = FormConnector;
20
19
  __decorate([
21
- (0, swagger_1.ApiPropertyOptional)(),
22
20
  (0, class_validator_1.IsOptional)(),
23
21
  (0, class_validator_1.IsNumber)(),
24
22
  __metadata("design:type", Number)
25
23
  ], FormConnector.prototype, "id", void 0);
26
24
  __decorate([
27
- (0, swagger_1.ApiPropertyOptional)(),
28
25
  (0, class_validator_1.IsOptional)(),
29
26
  (0, class_validator_1.IsString)(),
30
27
  __metadata("design:type", String)
31
28
  ], FormConnector.prototype, "username", void 0);
32
29
  __decorate([
33
- (0, swagger_1.ApiPropertyOptional)(),
34
30
  (0, class_validator_1.IsOptional)(),
35
31
  (0, class_validator_1.IsString)(),
36
32
  __metadata("design:type", String)
37
33
  ], FormConnector.prototype, "pass", void 0);
38
34
  __decorate([
39
- (0, swagger_1.ApiPropertyOptional)(),
40
35
  (0, class_validator_1.IsOptional)(),
41
36
  (0, class_validator_1.IsString)(),
42
37
  __metadata("design:type", String)
43
38
  ], FormConnector.prototype, "url", void 0);
44
39
  __decorate([
45
- (0, swagger_1.ApiPropertyOptional)(),
46
40
  (0, class_validator_1.IsOptional)(),
47
41
  (0, class_validator_1.IsString)(),
48
42
  __metadata("design:type", String)
49
43
  ], FormConnector.prototype, "token", void 0);
50
44
  __decorate([
51
- (0, swagger_1.ApiPropertyOptional)(),
52
45
  (0, class_validator_1.IsOptional)(),
53
46
  (0, class_validator_1.IsString)(),
54
47
  __metadata("design:type", String)
55
48
  ], FormConnector.prototype, "token2", void 0);
56
49
  __decorate([
57
- (0, swagger_1.ApiPropertyOptional)(),
58
50
  (0, class_validator_1.IsOptional)(),
59
51
  (0, class_validator_1.IsString)(),
60
52
  __metadata("design:type", String)
61
53
  ], FormConnector.prototype, "token3", void 0);
62
54
  __decorate([
63
- (0, swagger_1.ApiPropertyOptional)(),
64
55
  (0, class_validator_1.IsOptional)(),
65
56
  (0, class_validator_1.IsString)(),
66
57
  __metadata("design:type", String)
67
58
  ], FormConnector.prototype, "token4", void 0);
68
59
  __decorate([
69
- (0, swagger_1.ApiPropertyOptional)({ type: String, format: 'date-time' }),
70
60
  (0, class_validator_1.IsOptional)(),
71
61
  (0, class_validator_1.IsDate)(),
72
62
  (0, class_transformer_1.Type)(() => Date),
73
63
  __metadata("design:type", Date)
74
64
  ], FormConnector.prototype, "date", void 0);
75
65
  __decorate([
76
- (0, swagger_1.ApiProperty)({ enum: ConnectorType_1.ConnectorType }),
77
66
  (0, class_validator_1.IsEnum)(ConnectorType_1.ConnectorType),
78
67
  __metadata("design:type", Number)
79
68
  ], FormConnector.prototype, "idTypeConnector", void 0);
80
69
  __decorate([
81
- (0, swagger_1.ApiPropertyOptional)(),
82
70
  (0, class_validator_1.IsOptional)(),
83
71
  (0, class_validator_1.IsNumber)(),
84
72
  __metadata("design:type", Number)
85
73
  ], FormConnector.prototype, "idSociety", void 0);
86
74
  __decorate([
87
- (0, swagger_1.ApiPropertyOptional)(),
88
75
  (0, class_validator_1.IsOptional)(),
89
76
  (0, class_validator_1.IsNumber)(),
90
77
  __metadata("design:type", Number)
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAAiF;AACjF,yDAAyC;AACzC,yDAAsD;AAEtD,MAAa,aAAa;C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A,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n @ApiPropertyOptional({ type: String, format: 'date-time' })\n @IsOptional()\n @IsDate()\n @Type(() => Date)\n date?: Date;\n\n @ApiProperty({ enum: ConnectorType })\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
1
+ {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAAiF;AACjF,yDAAyC;AACzC,yDAAsD;AAEtD,MAAa,aAAa;CA4DzB;AA5DD,sCA4DC;AAxDC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACC;AAKZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACO;AAKlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACG;AAKd;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACE;AAKb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACI;AAKf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAMhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACV,IAAI;2CAAC;AAIZ;IADC,IAAA,wBAAM,EAAC,6BAAa,CAAC;;sDACS;AAK/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ;AAKnB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n // @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n // @ApiPropertyOptional({ type: String, format: 'date-time' })\n @IsOptional()\n @IsDate()\n @Type(() => Date)\n date?: Date;\n\n //@ApiProperty({ enum: ConnectorType })\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
@@ -7,92 +7,91 @@ 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
11
  import { Type } from 'class-transformer';
13
12
  import { ConnectorType } from '../Enum/ConnectorType';
14
13
  export class FormConnector {
14
+ // @ApiPropertyOptional()
15
15
  id;
16
+ // @ApiPropertyOptional()
16
17
  username;
18
+ // @ApiPropertyOptional()
17
19
  pass;
20
+ // @ApiPropertyOptional()
18
21
  url;
22
+ // @ApiPropertyOptional()
19
23
  token;
24
+ // @ApiPropertyOptional()
20
25
  token2;
26
+ // @ApiPropertyOptional()
21
27
  token3;
28
+ // @ApiPropertyOptional()
22
29
  token4;
30
+ // @ApiPropertyOptional({ type: String, format: 'date-time' })
23
31
  date;
32
+ //@ApiProperty({ enum: ConnectorType })
24
33
  idTypeConnector;
34
+ // @ApiPropertyOptional()
25
35
  idSociety;
36
+ // @ApiPropertyOptional()
26
37
  expiresIn;
27
38
  }
28
39
  __decorate([
29
- ApiPropertyOptional(),
30
40
  IsOptional(),
31
41
  IsNumber(),
32
42
  __metadata("design:type", Number)
33
43
  ], FormConnector.prototype, "id", void 0);
34
44
  __decorate([
35
- ApiPropertyOptional(),
36
45
  IsOptional(),
37
46
  IsString(),
38
47
  __metadata("design:type", String)
39
48
  ], FormConnector.prototype, "username", void 0);
40
49
  __decorate([
41
- ApiPropertyOptional(),
42
50
  IsOptional(),
43
51
  IsString(),
44
52
  __metadata("design:type", String)
45
53
  ], FormConnector.prototype, "pass", void 0);
46
54
  __decorate([
47
- ApiPropertyOptional(),
48
55
  IsOptional(),
49
56
  IsString(),
50
57
  __metadata("design:type", String)
51
58
  ], FormConnector.prototype, "url", void 0);
52
59
  __decorate([
53
- ApiPropertyOptional(),
54
60
  IsOptional(),
55
61
  IsString(),
56
62
  __metadata("design:type", String)
57
63
  ], FormConnector.prototype, "token", void 0);
58
64
  __decorate([
59
- ApiPropertyOptional(),
60
65
  IsOptional(),
61
66
  IsString(),
62
67
  __metadata("design:type", String)
63
68
  ], FormConnector.prototype, "token2", void 0);
64
69
  __decorate([
65
- ApiPropertyOptional(),
66
70
  IsOptional(),
67
71
  IsString(),
68
72
  __metadata("design:type", String)
69
73
  ], FormConnector.prototype, "token3", void 0);
70
74
  __decorate([
71
- ApiPropertyOptional(),
72
75
  IsOptional(),
73
76
  IsString(),
74
77
  __metadata("design:type", String)
75
78
  ], FormConnector.prototype, "token4", void 0);
76
79
  __decorate([
77
- ApiPropertyOptional({ type: String, format: 'date-time' }),
78
80
  IsOptional(),
79
81
  IsDate(),
80
82
  Type(() => Date),
81
83
  __metadata("design:type", Date)
82
84
  ], FormConnector.prototype, "date", void 0);
83
85
  __decorate([
84
- ApiProperty({ enum: ConnectorType }),
85
86
  IsEnum(ConnectorType),
86
87
  __metadata("design:type", Number)
87
88
  ], FormConnector.prototype, "idTypeConnector", void 0);
88
89
  __decorate([
89
- ApiPropertyOptional(),
90
90
  IsOptional(),
91
91
  IsNumber(),
92
92
  __metadata("design:type", Number)
93
93
  ], FormConnector.prototype, "idSociety", void 0);
94
94
  __decorate([
95
- ApiPropertyOptional(),
96
95
  IsOptional(),
97
96
  IsNumber(),
98
97
  __metadata("design:type", Number)
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[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,MAAM,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACV,IAAI;2CAAC;AAIZ;IAFC,WAAW,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;IACpC,MAAM,CAAC,aAAa,CAAC;;sDACS;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n @ApiPropertyOptional({ type: String, format: 'date-time' })\n @IsOptional()\n @IsDate()\n @Type(() => Date)\n date?: Date;\n\n @ApiProperty({ enum: ConnectorType })\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
1
+ {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;AACA,O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ACZ,QAAQ,EAAE;;gDACQ;AAKnB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n // @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n // @ApiPropertyOptional({ type: String, format: 'date-time' })\n @IsOptional()\n @IsDate()\n @Type(() => Date)\n date?: Date;\n\n //@ApiProperty({ enum: ConnectorType })\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n // @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n // @ApiPropertyOptional()\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-2",
3
+ "version": "1.3.99-3",
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",
@@ -4,62 +4,62 @@ import { Type } from 'class-transformer';
4
4
  import { ConnectorType } from '../Enum/ConnectorType';
5
5
 
6
6
  export class FormConnector {
7
- @ApiPropertyOptional()
7
+ // @ApiPropertyOptional()
8
8
  @IsOptional()
9
9
  @IsNumber()
10
10
  id?: number;
11
11
 
12
- @ApiPropertyOptional()
12
+ // @ApiPropertyOptional()
13
13
  @IsOptional()
14
14
  @IsString()
15
15
  username?: string;
16
16
 
17
- @ApiPropertyOptional()
17
+ // @ApiPropertyOptional()
18
18
  @IsOptional()
19
19
  @IsString()
20
20
  pass?: string;
21
21
 
22
- @ApiPropertyOptional()
22
+ // @ApiPropertyOptional()
23
23
  @IsOptional()
24
24
  @IsString()
25
25
  url?: string;
26
26
 
27
- @ApiPropertyOptional()
27
+ // @ApiPropertyOptional()
28
28
  @IsOptional()
29
29
  @IsString()
30
30
  token?: string;
31
31
 
32
- @ApiPropertyOptional()
32
+ // @ApiPropertyOptional()
33
33
  @IsOptional()
34
34
  @IsString()
35
35
  token2?: string;
36
36
 
37
- @ApiPropertyOptional()
37
+ // @ApiPropertyOptional()
38
38
  @IsOptional()
39
39
  @IsString()
40
40
  token3?: string;
41
41
 
42
- @ApiPropertyOptional()
42
+ // @ApiPropertyOptional()
43
43
  @IsOptional()
44
44
  @IsString()
45
45
  token4?: string;
46
46
 
47
- @ApiPropertyOptional({ type: String, format: 'date-time' })
47
+ // @ApiPropertyOptional({ type: String, format: 'date-time' })
48
48
  @IsOptional()
49
49
  @IsDate()
50
50
  @Type(() => Date)
51
51
  date?: Date;
52
52
 
53
- @ApiProperty({ enum: ConnectorType })
53
+ //@ApiProperty({ enum: ConnectorType })
54
54
  @IsEnum(ConnectorType)
55
55
  idTypeConnector: ConnectorType;
56
56
 
57
- @ApiPropertyOptional()
57
+ // @ApiPropertyOptional()
58
58
  @IsOptional()
59
59
  @IsNumber()
60
60
  idSociety?: number;
61
61
 
62
- @ApiPropertyOptional()
62
+ // @ApiPropertyOptional()
63
63
  @IsOptional()
64
64
  @IsNumber()
65
65
  expiresIn?: number;