@silexpert/core 1.1.9 → 1.1.11

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,6 +1,7 @@
1
1
  import { CerfaType } from '../../../Enum/CerfaType';
2
2
  export declare class QueryPreviousVatDeclaration {
3
3
  fromDate: string;
4
+ idCerfaType: number;
4
5
  }
5
6
  export declare class QueryVatMigrationEntry {
6
7
  token: string;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,qBAAa,2BAA2B;IAGtC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,sBAAsB;IAGjC,KAAK,EAAE,MAAM,CAAC;IAId,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBAAa,mBAAmB;IAI9B,eAAe,CAAC,EAAE,IAAI,CAAC;IAIvB,WAAW,EAAE,SAAS,CAAC;CACxB;AAED,qBAAa,aAAa;IAGxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,WAAW,GAAG,YAAY,CAAC;CAClC;AAED,qBAAa,UAAU;IAGrB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,qBAAa,2BAA2B;IAGtC,QAAQ,EAAE,MAAM,CAAC;IAIjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,sBAAsB;IAGjC,KAAK,EAAE,MAAM,CAAC;IAId,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBAAa,mBAAmB;IAI9B,eAAe,CAAC,EAAE,IAAI,CAAC;IAIvB,WAAW,EAAE,SAAS,CAAC;CACxB;AAED,qBAAa,aAAa;IAGxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,WAAW,GAAG,YAAY,CAAC;CAClC;AAED,qBAAa,UAAU;IAGrB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -17,6 +17,11 @@ __decorate([
17
17
  IsDateString(),
18
18
  __metadata("design:type", String)
19
19
  ], QueryPreviousVatDeclaration.prototype, "fromDate", void 0);
20
+ __decorate([
21
+ ApiProperty(),
22
+ IsNumber(),
23
+ __metadata("design:type", Number)
24
+ ], QueryPreviousVatDeclaration.prototype, "idCerfaType", void 0);
20
25
  export class QueryVatMigrationEntry {
21
26
  }
22
27
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC7D,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,OAAO,2BAA2B;CAIvC;AAHC;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;6DACE;AAGnB,MAAM,OAAO,sBAAsB;CAQlC;AAPC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;qDACG;AAEd;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;;kDACA;AAGb,MAAM,OAAO,mBAAmB;CAS/B;AARC;IAAC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACK,IAAI;4DAAC;AAEvB;IAAC,WAAW,EAAE;IACb,MAAM,CAAC,SAAS,CAAC;;wDACK;AAGzB,MAAM,OAAO,aAAa;CAYzB;AAXC;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;gDACG;AAElB;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;8CACC;AAEhB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;2CACsB;AAGnC,MAAM,OAAO,UAAU;CAItB;AAHC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;4CACM","sourcesContent":["import {\n IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n}\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n id: number;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n type: 'collected' | 'deductible';\n}\n\nexport class QueryCerfa {\n @ApiProperty()\n @IsString()\n fileName: string;\n}"]}
1
+ {"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC7D,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,OAAO,2BAA2B;CAQvC;AAPC;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;6DACE;AAEjB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACS;AAGtB,MAAM,OAAO,sBAAsB;CAQlC;AAPC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;qDACG;AAEd;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;;kDACA;AAGb,MAAM,OAAO,mBAAmB;CAS/B;AARC;IAAC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACK,IAAI;4DAAC;AAEvB;IAAC,WAAW,EAAE;IACb,MAAM,CAAC,SAAS,CAAC;;wDACK;AAGzB,MAAM,OAAO,aAAa;CAYzB;AAXC;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;gDACG;AAElB;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;8CACC;AAEhB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;2CACsB;AAGnC,MAAM,OAAO,UAAU;CAItB;AAHC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;4CACM","sourcesContent":["import {\n IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n\n @ApiProperty()\n @IsNumber()\n idCerfaType: number;\n}\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n id: number;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n type: 'collected' | 'deductible';\n}\n\nexport class QueryCerfa {\n @ApiProperty()\n @IsString()\n fileName: string;\n}"]}
@@ -20,6 +20,7 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
20
20
  class QueryPreviousVatDeclaration {}
21
21
  exports.QueryPreviousVatDeclaration = QueryPreviousVatDeclaration;
22
22
  __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryPreviousVatDeclaration.prototype, "fromDate", void 0);
23
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPreviousVatDeclaration.prototype, "idCerfaType", void 0);
23
24
  class QueryVatMigrationEntry {}
24
25
  exports.QueryVatMigrationEntry = QueryVatMigrationEntry;
25
26
  __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryVatMigrationEntry.prototype, "token", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryVatDeclaration.js","names":["_classValidator","require","_CerfaType","_decorators","QueryPreviousVatDeclaration","exports","__decorate","ApiProperty","IsDateString","QueryVatMigrationEntry","IsString","ApiPropertyOptional","IsNumber","QueryVatDeclaration","IsDate","IsOptional","Date","IsEnum","CerfaType","QueryVatEntry","QueryCerfa"],"sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"sourcesContent":["import {\n IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n}\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n id: number;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n type: 'collected' | 'deductible';\n}\n\nexport class QueryCerfa {\n @ApiProperty()\n @IsString()\n fileName: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,2BAA2B;AAIvCC,OAAA,CAJYD,2BAA2B,GAA3BA,2BAA2B;AACtCE,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,4BAAY,GAAE,E,8FACE;AAGb,MAAOC,sBAAsB;AAQlCJ,OAAA,CARYI,sBAAsB,GAAtBA,sBAAsB;AACjCH,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAG,wBAAQ,GAAE,E,sFACG;AAEdJ,UAAA,EAAC,IAAAK,+BAAmB,GAAE,EACrB,IAAAC,wBAAQ,GAAE,E,mFACA;AAGP,MAAOC,mBAAmB;AAS/BR,OAAA,CATYQ,mBAAmB,GAAnBA,mBAAmB;AAC9BP,UAAA,EAAC,IAAAK,+BAAmB,GAAE,EACrB,IAAAG,sBAAM,GAAE,EACR,IAAAC,0BAAU,GAAE,E,0BACKC,IAAI,E,2DAAC;AAEvBV,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAU,sBAAM,EAACC,oBAAS,CAAC,E,yFACK;AAGnB,MAAOC,aAAa;AAYzBd,OAAA,CAZYc,aAAa,GAAbA,aAAa;AACxBb,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,4BAAY,GAAE,E,iFACG;AAElBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,4BAAY,GAAE,E,+EACC;AAEhBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAG,wBAAQ,GAAE,E,4EACsB;AAG7B,MAAOU,UAAU;AAItBf,OAAA,CAJYe,UAAU,GAAVA,UAAU;AACrBd,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAG,wBAAQ,GAAE,E,6EACM"}
1
+ {"version":3,"file":"QueryVatDeclaration.js","names":["_classValidator","require","_CerfaType","_decorators","QueryPreviousVatDeclaration","exports","__decorate","ApiProperty","IsDateString","IsNumber","QueryVatMigrationEntry","IsString","ApiPropertyOptional","QueryVatDeclaration","IsDate","IsOptional","Date","IsEnum","CerfaType","QueryVatEntry","QueryCerfa"],"sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"sourcesContent":["import {\n IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n\n @ApiProperty()\n @IsNumber()\n idCerfaType: number;\n}\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n id: number;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n type: 'collected' | 'deductible';\n}\n\nexport class QueryCerfa {\n @ApiProperty()\n @IsString()\n fileName: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA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CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
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": "js/index.js",
@@ -8,6 +8,10 @@ export class QueryPreviousVatDeclaration {
8
8
  @ApiProperty()
9
9
  @IsDateString()
10
10
  fromDate: string;
11
+
12
+ @ApiProperty()
13
+ @IsNumber()
14
+ idCerfaType: number;
11
15
  }
12
16
 
13
17
  export class QueryVatMigrationEntry {