@silexpert/core 1.0.186 → 1.0.188

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.
Files changed (90) hide show
  1. package/es/api/resources/Invoice.d.ts +2 -0
  2. package/es/api/resources/Invoice.d.ts.map +1 -1
  3. package/es/api/resources/Invoice.js +6 -0
  4. package/es/api/resources/Invoice.js.map +1 -1
  5. package/es/api/resources/Report.d.ts +2 -1
  6. package/es/api/resources/Report.d.ts.map +1 -1
  7. package/es/api/resources/Report.js +3 -0
  8. package/es/api/resources/Report.js.map +1 -1
  9. package/es/types/Enum/BrandClementine.d.ts +24 -0
  10. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  11. package/es/types/Enum/BrandClementine.js +22 -0
  12. package/es/types/Enum/BrandClementine.js.map +1 -1
  13. package/es/types/Enum/BrandComptalib.d.ts +16 -0
  14. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  15. package/es/types/Enum/BrandComptalib.js +14 -0
  16. package/es/types/Enum/BrandComptalib.js.map +1 -1
  17. package/es/types/Enum/BrandLegalstart.d.ts +22 -0
  18. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  19. package/es/types/Enum/BrandLegalstart.js +22 -0
  20. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  21. package/es/types/Enum/BrandPourcentage.d.ts +115 -2
  22. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  23. package/es/types/Enum/BrandPourcentage.js +32 -6
  24. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  25. package/es/types/Enum/PrestationType.d.ts +2 -1
  26. package/es/types/Enum/PrestationType.d.ts.map +1 -1
  27. package/es/types/Enum/PrestationType.js +18 -0
  28. package/es/types/Enum/PrestationType.js.map +1 -1
  29. package/es/types/Interface/api/report/QueryReportsForLetter.d.ts +5 -0
  30. package/es/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -0
  31. package/es/types/Interface/api/report/QueryReportsForLetter.js +24 -0
  32. package/es/types/Interface/api/report/QueryReportsForLetter.js.map +1 -0
  33. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +1 -1
  34. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
  35. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +1 -0
  36. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  37. package/es/types/index.d.ts +1 -2
  38. package/es/types/index.d.ts.map +1 -1
  39. package/es/types/index.js +1 -2
  40. package/es/types/index.js.map +1 -1
  41. package/es/utils/brands.d.ts +8 -0
  42. package/es/utils/brands.d.ts.map +1 -1
  43. package/es/utils/brands.js.map +1 -1
  44. package/js/api/resources/Invoice.js +6 -0
  45. package/js/api/resources/Invoice.js.map +1 -1
  46. package/js/api/resources/Report.js +7 -0
  47. package/js/api/resources/Report.js.map +1 -1
  48. package/js/types/Enum/BrandClementine.js +22 -0
  49. package/js/types/Enum/BrandClementine.js.map +1 -1
  50. package/js/types/Enum/BrandComptalib.js +14 -0
  51. package/js/types/Enum/BrandComptalib.js.map +1 -1
  52. package/js/types/Enum/BrandLegalstart.js +22 -0
  53. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  54. package/js/types/Enum/BrandPourcentage.js +32 -6
  55. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  56. package/js/types/Enum/PrestationType.js +18 -0
  57. package/js/types/Enum/PrestationType.js.map +1 -1
  58. package/js/types/Interface/api/report/QueryReportsForLetter.js +23 -0
  59. package/js/types/Interface/api/report/QueryReportsForLetter.js.map +1 -0
  60. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +1 -1
  61. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  62. package/js/types/index.js +10 -20
  63. package/js/types/index.js.map +1 -1
  64. package/js/utils/brands.js.map +1 -1
  65. package/package.json +1 -1
  66. package/ts/api/resources/Invoice.ts +8 -0
  67. package/ts/api/resources/Report.ts +4 -1
  68. package/ts/types/Enum/BrandClementine.ts +22 -0
  69. package/ts/types/Enum/BrandComptalib.ts +14 -0
  70. package/ts/types/Enum/BrandLegalstart.ts +22 -0
  71. package/ts/types/Enum/BrandPourcentage.ts +32 -6
  72. package/ts/types/Enum/PrestationType.ts +18 -0
  73. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +12 -0
  74. package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -1
  75. package/ts/types/index.ts +1 -2
  76. package/ts/utils/brands.ts +8 -0
  77. package/es/types/Enum/Office.d.ts +0 -19
  78. package/es/types/Enum/Office.d.ts.map +0 -1
  79. package/es/types/Enum/Office.js +0 -20
  80. package/es/types/Enum/Office.js.map +0 -1
  81. package/es/types/Enum/TimeRecorderLocation.d.ts +0 -23
  82. package/es/types/Enum/TimeRecorderLocation.d.ts.map +0 -1
  83. package/es/types/Enum/TimeRecorderLocation.js +0 -6
  84. package/es/types/Enum/TimeRecorderLocation.js.map +0 -1
  85. package/js/types/Enum/Office.js +0 -25
  86. package/js/types/Enum/Office.js.map +0 -1
  87. package/js/types/Enum/TimeRecorderLocation.js +0 -14
  88. package/js/types/Enum/TimeRecorderLocation.js.map +0 -1
  89. package/ts/types/Enum/Office.ts +0 -19
  90. package/ts/types/Enum/TimeRecorderLocation.ts +0 -9
@@ -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","QueryVatDeclaration","IsDate","IsOptional","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 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;AAQlCC,OAAA,CARYD,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,E,mFACA;AAGP,MAAOC,mBAAmB;AAmC/BN,OAAA,CAnCYM,mBAAmB,GAAnBA,mBAAmB;AAC9BL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAG,sBAAM,GAAE,EACR,IAAAC,0BAAU,GAAE,E,0BACKC,IAAI,E,2DAAC;AAEvBR,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAF,0BAAU,GAAE,E,wFACO;AAEpBP,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAF,0BAAU,GAAE,E,uFACM;AAEnBP,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAO,yBAAS,GAAE,EACX,IAAAH,0BAAU,GAAE,EACZ,IAAAI,kBAAS,GAAE,E,yFACS;AAErBX,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAF,0BAAU,GAAE,E,oFACG;AAEhBP,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAD,wBAAQ,GAAE,EACV,IAAAK,0BAAU,GAAE,E,uFACc;AAE3BP,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAI,0BAAU,GAAE,E,qFACY"}
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
@@ -3423,16 +3423,6 @@ Object.keys(_RoleDetail).forEach(function (key) {
3423
3423
  }
3424
3424
  });
3425
3425
  });
3426
- var _Office = require("./Enum/Office");
3427
- Object.keys(_Office).forEach(function (key) {
3428
- if (key === "default" || key === "__esModule") return;
3429
- Object.defineProperty(exports, key, {
3430
- enumerable: true,
3431
- get: function () {
3432
- return _Office[key];
3433
- }
3434
- });
3435
- });
3436
3426
  var _PrestationOption = require("./Enum/PrestationOption");
3437
3427
  Object.keys(_PrestationOption).forEach(function (key) {
3438
3428
  if (key === "default" || key === "__esModule") return;
@@ -3453,16 +3443,6 @@ Object.keys(_TimeCounterType).forEach(function (key) {
3453
3443
  }
3454
3444
  });
3455
3445
  });
3456
- var _TimeRecorderLocation = require("./Enum/TimeRecorderLocation");
3457
- Object.keys(_TimeRecorderLocation).forEach(function (key) {
3458
- if (key === "default" || key === "__esModule") return;
3459
- Object.defineProperty(exports, key, {
3460
- enumerable: true,
3461
- get: function () {
3462
- return _TimeRecorderLocation[key];
3463
- }
3464
- });
3465
- });
3466
3446
  var _MailAuto = require("./Enum/MailAuto");
3467
3447
  Object.keys(_MailAuto).forEach(function (key) {
3468
3448
  if (key === "default" || key === "__esModule") return;
@@ -6623,6 +6603,16 @@ Object.keys(_QueryReportsStats).forEach(function (key) {
6623
6603
  }
6624
6604
  });
6625
6605
  });
6606
+ var _QueryReportsForLetter = require("./Interface/api/report/QueryReportsForLetter");
6607
+ Object.keys(_QueryReportsForLetter).forEach(function (key) {
6608
+ if (key === "default" || key === "__esModule") return;
6609
+ Object.defineProperty(exports, key, {
6610
+ enumerable: true,
6611
+ get: function () {
6612
+ return _QueryReportsForLetter[key];
6613
+ }
6614
+ });
6615
+ });
6626
6616
  var _CreateLetter = require("./Interface/api/letter/CreateLetter");
6627
6617
  Object.keys(_CreateLetter).forEach(function (key) {
6628
6618
  if (key === "default" || key === "__esModule") return;