@silexpert/core 0.4.242 → 0.4.245

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 (51) hide show
  1. package/es/api/resources/ThirdParty.js +1 -1
  2. package/es/api/resources/ThirdParty.js.map +1 -1
  3. package/es/types/Enum/TaskResponseType.d.ts +9 -0
  4. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  5. package/es/types/Enum/TaskResponseType.js +9 -9
  6. package/es/types/Enum/TaskResponseType.js.map +1 -1
  7. package/es/types/Interface/api/calendarEvent/interval.d.ts +9 -0
  8. package/es/types/Interface/api/calendarEvent/interval.d.ts.map +1 -0
  9. package/es/types/Interface/api/calendarEvent/interval.js +40 -0
  10. package/es/types/Interface/api/calendarEvent/interval.js.map +1 -0
  11. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -1
  12. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +21 -1
  13. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  14. package/es/types/Interface/api/workingSchedule/QueryDailyHour.d.ts +2 -0
  15. package/es/types/Interface/api/workingSchedule/QueryDailyHour.d.ts.map +1 -1
  16. package/es/types/Interface/api/workingSchedule/QueryDailyHour.js.map +1 -1
  17. package/es/types/index.d.ts +1 -0
  18. package/es/types/index.d.ts.map +1 -1
  19. package/es/types/index.js +1 -0
  20. package/es/types/index.js.map +1 -1
  21. package/es/utils/date.d.ts +2 -2
  22. package/es/utils/date.d.ts.map +1 -1
  23. package/es/utils/date.js +3 -3
  24. package/es/utils/date.js.map +1 -1
  25. package/es/utils/siretValidation.d.ts +1 -0
  26. package/es/utils/siretValidation.d.ts.map +1 -1
  27. package/es/utils/siretValidation.js +5 -0
  28. package/es/utils/siretValidation.js.map +1 -1
  29. package/js/api/resources/ThirdParty.js +1 -1
  30. package/js/api/resources/ThirdParty.js.map +1 -1
  31. package/js/types/Enum/TaskResponseType.js +9 -9
  32. package/js/types/Enum/TaskResponseType.js.map +1 -1
  33. package/js/types/Interface/api/calendarEvent/interval.js +39 -0
  34. package/js/types/Interface/api/calendarEvent/interval.js.map +1 -0
  35. package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +20 -20
  36. package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  37. package/js/types/index.js +12 -0
  38. package/js/types/index.js.map +1 -1
  39. package/js/utils/date.js +4 -4
  40. package/js/utils/date.js.map +1 -1
  41. package/js/utils/siretValidation.js +7 -0
  42. package/js/utils/siretValidation.js.map +1 -1
  43. package/package.json +1 -1
  44. package/ts/api/resources/ThirdParty.ts +1 -1
  45. package/ts/types/Enum/TaskResponseType.ts +9 -9
  46. package/ts/types/Interface/api/calendarEvent/interval.ts +26 -0
  47. package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +21 -1
  48. package/ts/types/Interface/api/workingSchedule/QueryDailyHour.ts +2 -0
  49. package/ts/types/index.ts +1 -0
  50. package/ts/utils/date.ts +7 -5
  51. package/ts/utils/siretValidation.ts +6 -0
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TimeInterval = exports.DateInterval = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _utils = require("../../../../utils");
11
+
12
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
13
+ var c = arguments.length,
14
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
15
+ d;
16
+ 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;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+
20
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+
24
+ class DateInterval {}
25
+
26
+ exports.DateInterval = DateInterval;
27
+
28
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], DateInterval.prototype, "dateStart", void 0);
29
+
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], DateInterval.prototype, "dateEnd", void 0);
31
+
32
+ class TimeInterval {}
33
+
34
+ exports.TimeInterval = TimeInterval;
35
+
36
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], TimeInterval.prototype, "startTime", void 0);
37
+
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], TimeInterval.prototype, "endTime", void 0);
39
+ //# sourceMappingURL=interval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interval.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAYC,KAAZ;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAUC,KAAV;;AAGI,MAAOC,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXF,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAYC,KAAZ;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAUC,KAAV","names":["DateInterval","__decorate","Date","TimeInterval"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/interval.ts"],"sourcesContent":["import { IsDate, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class DateInterval {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n dateStart?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n dateEnd?: Date;\n}\n\nexport class TimeInterval {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startTime?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endTime?: Date;\n}"]}
@@ -27,43 +27,43 @@ class UpdateThirdPartyForm {}
27
27
 
28
28
  exports.UpdateThirdPartyForm = UpdateThirdPartyForm;
29
29
 
30
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "budgeaSouscriptionId", void 0);
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "budgeaSouscriptionId", void 0);
31
31
 
32
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "fullname", void 0);
32
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "fullname", void 0);
33
33
 
34
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "fullnameAccountant", void 0);
34
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "fullnameAccountant", void 0);
35
35
 
36
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], UpdateThirdPartyForm.prototype, "company", void 0);
36
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], UpdateThirdPartyForm.prototype, "company", void 0);
37
37
 
38
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "address", void 0);
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "address", void 0);
39
39
 
40
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "zipCode", void 0);
40
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "zipCode", void 0);
41
41
 
42
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "city", void 0);
42
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "city", void 0);
43
43
 
44
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "phone", void 0);
44
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "phone", void 0);
45
45
 
46
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "email", void 0);
46
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "email", void 0);
47
47
 
48
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "nSiret", void 0);
48
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "nSiret", void 0);
49
49
 
50
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "nTva", void 0);
50
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "nTva", void 0);
51
51
 
52
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], UpdateThirdPartyForm.prototype, "soldeInit", void 0);
52
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateThirdPartyForm.prototype, "soldeInit", void 0);
53
53
 
54
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "state", void 0);
54
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "state", void 0);
55
55
 
56
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "dateImport", void 0);
56
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "dateImport", void 0);
57
57
 
58
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], UpdateThirdPartyForm.prototype, "isGeneric", void 0);
58
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateThirdPartyForm.prototype, "isGeneric", void 0);
59
59
 
60
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "juridicalSociety", void 0);
60
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "juridicalSociety", void 0);
61
61
 
62
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idTypePayment", void 0);
62
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idTypePayment", void 0);
63
63
 
64
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idAccount", void 0);
64
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idAccount", void 0);
65
65
 
66
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idCountry", void 0);
66
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idCountry", void 0);
67
67
 
68
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], UpdateThirdPartyForm.prototype, "idThirdPartyType", void 0);
68
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], UpdateThirdPartyForm.prototype, "idThirdPartyType", void 0);
69
69
  //# sourceMappingURL=UpdateThirdPartyForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAIAA,YAFC,iCAED,EADC,4BAAOC,gBAAP,CACD","names":["UpdateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateThirdPartyForm {\n @ApiPropertyOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n fullnameAccountant?: string | null;\n\n @ApiPropertyOptional()\n company?: string;\n\n @ApiPropertyOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n nTva?: string | null;\n\n @ApiPropertyOptional()\n soldeInit?: number;\n\n @ApiPropertyOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n dateImport?: Date | null;\n\n @ApiPropertyOptional()\n isGeneric?: boolean;\n\n @ApiPropertyOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n idCountry?: number | null;\n\n @ApiPropertyOptional()\n @IsEnum(ThirdPartyType)\n idThirdPartyType?: ThirdPartyType;\n}"]}
1
+ {"version":3,"file":"UpdateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD","names":["UpdateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum, IsOptional } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateThirdPartyForm {\n @ApiPropertyOptional()\n @IsOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullnameAccountant?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n company?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nTva?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n soldeInit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n dateImport?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n isGeneric?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idCountry?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n idThirdPartyType?: ThirdPartyType;\n}"]}
package/js/types/index.js CHANGED
@@ -8596,6 +8596,18 @@ Object.keys(_updateCalendarEvent).forEach(function (key) {
8596
8596
  });
8597
8597
  });
8598
8598
 
8599
+ var _interval = require("./Interface/api/calendarEvent/interval");
8600
+
8601
+ Object.keys(_interval).forEach(function (key) {
8602
+ if (key === "default" || key === "__esModule") return;
8603
+ Object.defineProperty(exports, key, {
8604
+ enumerable: true,
8605
+ get: function () {
8606
+ return _interval[key];
8607
+ }
8608
+ });
8609
+ });
8610
+
8599
8611
  var _queryCalendarEvent = require("./Interface/api/calendarEvent/queryCalendarEvent");
8600
8612
 
8601
8613
  Object.keys(_queryCalendarEvent).forEach(function (key) {