@silexpert/core 1.0.185 → 1.0.187
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/es/api/resources/Invoice.d.ts +2 -0
- package/es/api/resources/Invoice.d.ts.map +1 -1
- package/es/api/resources/Invoice.js +6 -0
- package/es/api/resources/Invoice.js.map +1 -1
- package/es/api/resources/Report.d.ts +2 -1
- package/es/api/resources/Report.d.ts.map +1 -1
- package/es/api/resources/Report.js +3 -0
- package/es/api/resources/Report.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +6 -6
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/NotificationType.d.ts +2 -1
- package/es/types/Enum/NotificationType.d.ts.map +1 -1
- package/es/types/Enum/NotificationType.js +6 -0
- package/es/types/Enum/NotificationType.js.map +1 -1
- package/es/types/Enum/PrestationType.d.ts +2 -1
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +18 -0
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Interface/api/report/QueryReportsForLetter.d.ts +5 -0
- package/es/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -0
- package/es/types/Interface/api/report/QueryReportsForLetter.js +24 -0
- package/es/types/Interface/api/report/QueryReportsForLetter.js.map +1 -0
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +1 -0
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Invoice.js +6 -0
- package/js/api/resources/Invoice.js.map +1 -1
- package/js/api/resources/Report.js +7 -0
- package/js/api/resources/Report.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +6 -6
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/NotificationType.js +6 -0
- package/js/types/Enum/NotificationType.js.map +1 -1
- package/js/types/Enum/PrestationType.js +18 -0
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Interface/api/report/QueryReportsForLetter.js +23 -0
- package/js/types/Interface/api/report/QueryReportsForLetter.js.map +1 -0
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/js/types/index.js +10 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Invoice.ts +8 -0
- package/ts/api/resources/Report.ts +4 -1
- package/ts/types/Enum/BrandPourcentage.ts +6 -6
- package/ts/types/Enum/NotificationType.ts +6 -0
- package/ts/types/Enum/PrestationType.ts +18 -0
- package/ts/types/Interface/api/report/QueryReportsForLetter.ts +12 -0
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -1
- package/ts/types/index.ts +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryReportsForLetter = undefined;
|
|
7
|
+
var _classValidator = require("class-validator");
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10
|
+
var c = arguments.length,
|
|
11
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
12
|
+
d;
|
|
13
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
+
};
|
|
16
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
18
|
+
};
|
|
19
|
+
class QueryReportsForLetter {}
|
|
20
|
+
exports.QueryReportsForLetter = QueryReportsForLetter;
|
|
21
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryReportsForLetter.prototype, "idReportType", void 0);
|
|
22
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryReportsForLetter.prototype, "idSociety", void 0);
|
|
23
|
+
//# sourceMappingURL=QueryReportsForLetter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryReportsForLetter.js","names":["_classValidator","require","_utils","QueryReportsForLetter","exports","__decorate","ApiProperty","IsInt"],"sources":["../../../../../ts/types/Interface/api/report/QueryReportsForLetter.ts"],"sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryReportsForLetter {\n @ApiProperty()\n @IsInt()\n idReportType: number;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,qBAAqB;AAQjCC,OAAA,CARYD,qBAAqB,GAArBA,qBAAqB;AAChCE,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,4FACa;AAErBF,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,yFACU"}
|
|
@@ -20,7 +20,7 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
|
20
20
|
class QueryVatMigrationEntry {}
|
|
21
21
|
exports.QueryVatMigrationEntry = QueryVatMigrationEntry;
|
|
22
22
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryVatMigrationEntry.prototype, "token", void 0);
|
|
23
|
-
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryVatMigrationEntry.prototype, "id", void 0);
|
|
23
|
+
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryVatMigrationEntry.prototype, "id", void 0);
|
|
24
24
|
class QueryVatDeclaration {}
|
|
25
25
|
exports.QueryVatDeclaration = QueryVatDeclaration;
|
|
26
26
|
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsDate)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Date)], QueryVatDeclaration.prototype, "declarationDate", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryVatDeclaration.js","names":["_classValidator","require","_","_boolean","QueryVatMigrationEntry","exports","__decorate","ApiProperty","IsString","ApiPropertyOptional","IsNumber","
|
|
1
|
+
{"version":3,"file":"QueryVatDeclaration.js","names":["_classValidator","require","_","_boolean","QueryVatMigrationEntry","exports","__decorate","ApiProperty","IsString","ApiPropertyOptional","IsNumber","IsOptional","QueryVatDeclaration","IsDate","Date","IsInt","IsBoolean","ToBoolean"],"sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n id?: number;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n isComplete?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idDeposit?: string | null ;\n\n @ApiPropertyOptional()\n @IsOptional()\n payload?: string | null ;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAIA,IAAAC,CAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,sBAAsB;AASlCC,OAAA,CATYD,sBAAsB,GAAtBA,sBAAsB;AACjCE,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,sFACG;AAEdF,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAC,wBAAQ,GAAE,EACV,IAAAC,0BAAU,GAAE,E,mFACD;AAGR,MAAOC,mBAAmB;AAmC/BP,OAAA,CAnCYO,mBAAmB,GAAnBA,mBAAmB;AAC9BN,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAI,sBAAM,GAAE,EACR,IAAAF,0BAAU,GAAE,E,0BACKG,IAAI,E,2DAAC;AAEvBR,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAJ,0BAAU,GAAE,E,wFACO;AAEpBL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAJ,0BAAU,GAAE,E,uFACM;AAEnBL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAO,yBAAS,GAAE,EACX,IAAAL,0BAAU,GAAE,EACZ,IAAAM,kBAAS,GAAE,E,yFACS;AAErBX,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAJ,0BAAU,GAAE,E,oFACG;AAEhBL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAD,wBAAQ,GAAE,EACV,IAAAG,0BAAU,GAAE,E,uFACc;AAE3BL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAE,0BAAU,GAAE,E,qFACY"}
|
package/js/types/index.js
CHANGED
|
@@ -6623,6 +6623,16 @@ Object.keys(_QueryReportsStats).forEach(function (key) {
|
|
|
6623
6623
|
}
|
|
6624
6624
|
});
|
|
6625
6625
|
});
|
|
6626
|
+
var _QueryReportsForLetter = require("./Interface/api/report/QueryReportsForLetter");
|
|
6627
|
+
Object.keys(_QueryReportsForLetter).forEach(function (key) {
|
|
6628
|
+
if (key === "default" || key === "__esModule") return;
|
|
6629
|
+
Object.defineProperty(exports, key, {
|
|
6630
|
+
enumerable: true,
|
|
6631
|
+
get: function () {
|
|
6632
|
+
return _QueryReportsForLetter[key];
|
|
6633
|
+
}
|
|
6634
|
+
});
|
|
6635
|
+
});
|
|
6626
6636
|
var _CreateLetter = require("./Interface/api/letter/CreateLetter");
|
|
6627
6637
|
Object.keys(_CreateLetter).forEach(function (key) {
|
|
6628
6638
|
if (key === "default" || key === "__esModule") return;
|