@silexpert/core 1.3.67-0 → 1.3.68-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.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAIvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QueryRefundPaginated = void 0;
13
13
  const utils_1 = require("../../../../utils");
14
14
  const BasePaginate_1 = require("../BasePaginate");
15
- const class_transformer_1 = require("class-transformer");
16
15
  const class_validator_1 = require("class-validator");
17
16
  class QueryRefundPaginated extends BasePaginate_1.RequiredQueryPaginate {
18
17
  }
@@ -23,18 +22,18 @@ __decorate([
23
22
  ], QueryRefundPaginated.prototype, "search", void 0);
24
23
  __decorate([
25
24
  (0, utils_1.ApiProperty)(),
26
- (0, class_transformer_1.Type)(() => Number),
25
+ (0, class_validator_1.IsInt)(),
27
26
  __metadata("design:type", Number)
28
27
  ], QueryRefundPaginated.prototype, "year", void 0);
29
28
  __decorate([
30
29
  (0, utils_1.ApiPropertyOptional)(),
31
- (0, class_transformer_1.Type)(() => Number),
30
+ (0, class_validator_1.IsInt)(),
32
31
  (0, class_validator_1.IsOptional)(),
33
32
  __metadata("design:type", Number)
34
33
  ], QueryRefundPaginated.prototype, "month", void 0);
35
34
  __decorate([
36
35
  (0, utils_1.ApiPropertyOptional)(),
37
- (0, class_transformer_1.Type)(() => Number),
36
+ (0, class_validator_1.IsInt)(),
38
37
  (0, class_validator_1.IsOptional)(),
39
38
  __metadata("design:type", Number)
40
39
  ], QueryRefundPaginated.prototype, "motif", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,kDAAwD;AAExD,yDAAyC;AACzC,qDAAwD;AAExD,MAAa,oBAAqB,SAAQ,oCAAqB;CAyB9D;AAzBD,oDAyBC;AAvBC;IADC,IAAA,2BAAmB,GAAE;;oDACN;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kDACN;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,4BAAU,GAAE;;mDACE;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,4BAAU,GAAE;;mDACE;AAGf;IADC,IAAA,2BAAmB,GAAE;;qDACL;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { Type } from 'class-transformer';\nimport { IsBoolean, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @Type(() => Number)\n year: number;\n\n @ApiPropertyOptional()\n @Type(() => Number)\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @Type(() => Number)\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,kDAAwD;AAExD,qDAA+D;AAE/D,MAAa,oBAAqB,SAAQ,oCAAqB;CAyB9D;AAzBD,oDAyBC;AAvBC;IADC,IAAA,2BAAmB,GAAE;;oDACN;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;kDACK;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mDACE;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mDACE;AAGf;IADC,IAAA,2BAAmB,GAAE;;qDACL;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { IsBoolean, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @IsInt()\n year: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAIvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -9,8 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
11
11
  import { RequiredQueryPaginate } from '../BasePaginate';
12
- import { Type } from 'class-transformer';
13
- import { IsBoolean, IsOptional } from 'class-validator';
12
+ import { IsBoolean, IsInt, IsOptional } from 'class-validator';
14
13
  export class QueryRefundPaginated extends RequiredQueryPaginate {
15
14
  search;
16
15
  year;
@@ -25,18 +24,18 @@ __decorate([
25
24
  ], QueryRefundPaginated.prototype, "search", void 0);
26
25
  __decorate([
27
26
  ApiProperty(),
28
- Type(() => Number),
27
+ IsInt(),
29
28
  __metadata("design:type", Number)
30
29
  ], QueryRefundPaginated.prototype, "year", void 0);
31
30
  __decorate([
32
31
  ApiPropertyOptional(),
33
- Type(() => Number),
32
+ IsInt(),
34
33
  IsOptional(),
35
34
  __metadata("design:type", Number)
36
35
  ], QueryRefundPaginated.prototype, "month", void 0);
37
36
  __decorate([
38
37
  ApiPropertyOptional(),
39
- Type(() => Number),
38
+ IsInt(),
40
39
  IsOptional(),
41
40
  __metadata("design:type", Number)
42
41
  ], QueryRefundPaginated.prototype, "motif", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,oBAAqB,SAAQ,qBAAqB;IAE7D,MAAM,CAAU;IAIhB,IAAI,CAAS;IAKb,KAAK,CAAU;IAKf,KAAK,CAAU;IAGf,OAAO,CAAU;IAKjB,UAAU,CAAW;CACtB;AAvBC;IADC,mBAAmB,EAAE;;oDACN;AAIhB;IAFC,WAAW,EAAE;IACb,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kDACN;AAKb;IAHC,mBAAmB,EAAE;IACrB,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,UAAU,EAAE;;mDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,UAAU,EAAE;;mDACE;AAGf;IADC,mBAAmB,EAAE;;qDACL;AAKjB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { Type } from 'class-transformer';\nimport { IsBoolean, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @Type(() => Number)\n year: number;\n\n @ApiPropertyOptional()\n @Type(() => Number)\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @Type(() => Number)\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,OAAO,oBAAqB,SAAQ,qBAAqB;IAE7D,MAAM,CAAU;IAIhB,IAAI,CAAS;IAKb,KAAK,CAAU;IAKf,KAAK,CAAU;IAGf,OAAO,CAAU;IAKjB,UAAU,CAAW;CACtB;AAvBC;IADC,mBAAmB,EAAE;;oDACN;AAIhB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;kDACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAGf;IADC,mBAAmB,EAAE;;qDACL;AAKjB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { IsBoolean, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @IsInt()\n year: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.67-0",
3
+ "version": "1.3.68-0",
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,24 +1,23 @@
1
1
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
2
  import { RequiredQueryPaginate } from '../BasePaginate';
3
3
  import { Order } from '../BaseRequest';
4
- import { Type } from 'class-transformer';
5
- import { IsBoolean, IsOptional } from 'class-validator';
4
+ import { IsBoolean, IsInt, IsOptional } from 'class-validator';
6
5
 
7
6
  export class QueryRefundPaginated extends RequiredQueryPaginate implements Order {
8
7
  @ApiPropertyOptional()
9
8
  search?: string;
10
9
 
11
10
  @ApiProperty()
12
- @Type(() => Number)
11
+ @IsInt()
13
12
  year: number;
14
13
 
15
14
  @ApiPropertyOptional()
16
- @Type(() => Number)
15
+ @IsInt()
17
16
  @IsOptional()
18
17
  month?: number;
19
18
 
20
19
  @ApiPropertyOptional()
21
- @Type(() => Number)
20
+ @IsInt()
22
21
  @IsOptional()
23
22
  motif?: number;
24
23