@silexpert/core 1.3.108 → 1.3.109

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 (64) hide show
  1. package/dist/cjs/api/resources/CalendarEvent.d.ts +3 -2
  2. package/dist/cjs/api/resources/CalendarEvent.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/CalendarEvent.js +3 -0
  4. package/dist/cjs/api/resources/CalendarEvent.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
  6. package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
  7. package/dist/cjs/types/Interface/api/calendarEvent/query.js +110 -0
  8. package/dist/cjs/types/Interface/api/calendarEvent/query.js.map +1 -0
  9. package/dist/cjs/types/index.d.ts +1 -4
  10. package/dist/cjs/types/index.d.ts.map +1 -1
  11. package/dist/cjs/types/index.js +1 -4
  12. package/dist/cjs/types/index.js.map +1 -1
  13. package/dist/mjs/api/resources/CalendarEvent.d.ts +3 -2
  14. package/dist/mjs/api/resources/CalendarEvent.d.ts.map +1 -1
  15. package/dist/mjs/api/resources/CalendarEvent.js +3 -0
  16. package/dist/mjs/api/resources/CalendarEvent.js.map +1 -1
  17. package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
  18. package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
  19. package/dist/mjs/types/Interface/api/calendarEvent/query.js +117 -0
  20. package/dist/mjs/types/Interface/api/calendarEvent/query.js.map +1 -0
  21. package/dist/mjs/types/index.d.ts +1 -4
  22. package/dist/mjs/types/index.d.ts.map +1 -1
  23. package/dist/mjs/types/index.js +1 -4
  24. package/dist/mjs/types/index.js.map +1 -1
  25. package/package.json +1 -1
  26. package/ts/api/resources/CalendarEvent.ts +6 -1
  27. package/ts/types/Interface/api/calendarEvent/query.ts +77 -0
  28. package/ts/types/index.ts +1 -4
  29. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
  30. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
  31. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js +0 -33
  32. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
  33. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
  34. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
  35. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +0 -37
  36. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
  37. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
  38. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
  39. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -35
  40. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
  41. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
  42. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
  43. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
  44. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
  45. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
  46. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
  47. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js +0 -33
  48. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
  49. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
  50. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
  51. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +0 -36
  52. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
  53. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
  54. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
  55. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -33
  56. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
  57. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
  58. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
  59. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
  60. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
  61. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +0 -15
  62. package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +0 -20
  63. package/ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts +0 -19
  64. package/ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts +0 -18
@@ -0,0 +1,77 @@
1
+ import { IsBoolean, IsDateString, IsIn, IsInt, IsOptional, IsString, IsDate } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
3
+
4
+ export class QueryCalendarEvent {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsString({
8
+ each: true,
9
+ })
10
+ @IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true })
11
+ include?: string[];
12
+
13
+ @ApiPropertyOptional()
14
+ @IsOptional()
15
+ @IsString({
16
+ each: true,
17
+ })
18
+ attributes?: string[];
19
+ }
20
+
21
+ export class QueryCalendarEventCall {
22
+ @ApiPropertyOptional()
23
+ idUser?: number;
24
+
25
+ @ApiProperty()
26
+ startDate: Date;
27
+
28
+ @ApiProperty()
29
+ endDate: Date;
30
+
31
+ @IsBoolean()
32
+ @ApiPropertyOptional()
33
+ @IsOptional()
34
+ noHonoredCall?: boolean;
35
+ }
36
+
37
+ export class GetLastInvalidateEvent {
38
+ @ApiProperty()
39
+ @IsInt()
40
+ idUser: number;
41
+
42
+ @ApiPropertyOptional()
43
+ @IsOptional()
44
+ @IsString()
45
+ @IsDateString()
46
+ dateStart?: string;
47
+
48
+ @ApiPropertyOptional()
49
+ @IsOptional()
50
+ @IsString()
51
+ @IsDateString()
52
+ dateEnd?: string;
53
+ }
54
+
55
+ export class GetAllCalendarEvent {
56
+ @ApiPropertyOptional()
57
+ idUser?: number;
58
+
59
+ @ApiProperty()
60
+ startDate: Date;
61
+
62
+ @ApiProperty()
63
+ endDate: Date;
64
+
65
+ @ApiPropertyOptional()
66
+ isValidated?: boolean;
67
+ }
68
+
69
+ export class GetAllCalendarEventForClient {
70
+ @ApiProperty()
71
+ @IsDate()
72
+ startDate: Date;
73
+
74
+ @ApiProperty()
75
+ @IsDate()
76
+ endDate: Date;
77
+ }
package/ts/types/index.ts CHANGED
@@ -940,12 +940,9 @@ export * from './Interface/api/calendarEvent/countCalendarEvent';
940
940
  export * from './Interface/api/calendarEvent/verifyCalendarEvent';
941
941
  export * from './Interface/api/calendarEvent/updateCalendarEvent';
942
942
  export * from './Interface/api/calendarEvent/interval';
943
- export * from './Interface/api/calendarEvent/queryCalendarEvent';
944
- export * from './Interface/api/calendarEvent/getAllCalendarEvent';
945
- export * from './Interface/api/calendarEvent/getLastInvalidateEvent';
943
+ export * from './Interface/api/calendarEvent/query';
946
944
  export * from './Interface/api/calendarEvent/readAllCalendarEvent';
947
945
  export * from './Interface/api/calendarEvent/readCalendarEventCall';
948
- export * from './Interface/api/calendarEvent/queryCalendarEventCall';
949
946
  export * from './Interface/api/calendarEvent/calendarEventIcs';
950
947
  export * from './Interface/api/checklist/Read';
951
948
  export * from './Interface/api/checklist/Query';
@@ -1,7 +0,0 @@
1
- export declare class GetAllCalendarEvent {
2
- idUser?: number;
3
- startDate: Date;
4
- endDate: Date;
5
- isValidated?: boolean;
6
- }
7
- //# sourceMappingURL=getAllCalendarEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAllCalendarEvent.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAE9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAGd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetAllCalendarEvent = void 0;
13
- const utils_1 = require("../../../../utils");
14
- class GetAllCalendarEvent {
15
- }
16
- exports.GetAllCalendarEvent = GetAllCalendarEvent;
17
- __decorate([
18
- (0, utils_1.ApiPropertyOptional)(),
19
- __metadata("design:type", Number)
20
- ], GetAllCalendarEvent.prototype, "idUser", void 0);
21
- __decorate([
22
- (0, utils_1.ApiProperty)(),
23
- __metadata("design:type", Date)
24
- ], GetAllCalendarEvent.prototype, "startDate", void 0);
25
- __decorate([
26
- (0, utils_1.ApiProperty)(),
27
- __metadata("design:type", Date)
28
- ], GetAllCalendarEvent.prototype, "endDate", void 0);
29
- __decorate([
30
- (0, utils_1.ApiPropertyOptional)(),
31
- __metadata("design:type", Boolean)
32
- ], GetAllCalendarEvent.prototype, "isValidated", void 0);
33
- //# sourceMappingURL=getAllCalendarEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAllCalendarEvent.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AAErE,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AAVC;IADC,IAAA,2BAAmB,GAAE;;mDACN;AAGhB;IADC,IAAA,mBAAW,GAAE;8BACH,IAAI;sDAAC;AAGhB;IADC,IAAA,mBAAW,GAAE;8BACL,IAAI;oDAAC;AAGd;IADC,IAAA,2BAAmB,GAAE;;wDACA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class GetAllCalendarEvent {\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n startDate: Date;\n\n @ApiProperty()\n endDate: Date;\n\n @ApiPropertyOptional()\n isValidated?: boolean;\n}\n"]}
@@ -1,6 +0,0 @@
1
- export declare class GetLastInvalidateEvent {
2
- idUser: number;
3
- dateStart?: string;
4
- dateEnd?: string;
5
- }
6
- //# sourceMappingURL=getLastInvalidateEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getLastInvalidateEvent.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,MAAM,EAAE,MAAM,CAAC;IAMf,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetLastInvalidateEvent = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class GetLastInvalidateEvent {
16
- }
17
- exports.GetLastInvalidateEvent = GetLastInvalidateEvent;
18
- __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsInt)(),
21
- __metadata("design:type", Number)
22
- ], GetLastInvalidateEvent.prototype, "idUser", void 0);
23
- __decorate([
24
- (0, utils_1.ApiPropertyOptional)(),
25
- (0, class_validator_1.IsOptional)(),
26
- (0, class_validator_1.IsString)(),
27
- (0, class_validator_1.IsDateString)(),
28
- __metadata("design:type", String)
29
- ], GetLastInvalidateEvent.prototype, "dateStart", void 0);
30
- __decorate([
31
- (0, utils_1.ApiPropertyOptional)(),
32
- (0, class_validator_1.IsOptional)(),
33
- (0, class_validator_1.IsString)(),
34
- (0, class_validator_1.IsDateString)(),
35
- __metadata("design:type", String)
36
- ], GetLastInvalidateEvent.prototype, "dateEnd", void 0);
37
- //# sourceMappingURL=getLastInvalidateEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getLastInvalidateEvent.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAC5E,6CAAqE;AAErE,MAAa,sBAAsB;CAgBlC;AAhBD,wDAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;sDACO;AAMf;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,8BAAY,GAAE;;yDACI;AAMnB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,8BAAY,GAAE;;uDACE","sourcesContent":["import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class GetLastInvalidateEvent {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsDateString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsDateString()\n dateEnd?: string;\n}\n"]}
@@ -1,5 +0,0 @@
1
- export declare class QueryCalendarEvent {
2
- include?: string[];
3
- attributes?: string[];
4
- }
5
- //# sourceMappingURL=queryCalendarEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEvent.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts"],"names":[],"mappings":"AAGA,qBAAa,kBAAkB;IAO7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAOnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryCalendarEvent = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const decorators_1 = require("../../../../utils/decorators");
15
- class QueryCalendarEvent {
16
- }
17
- exports.QueryCalendarEvent = QueryCalendarEvent;
18
- __decorate([
19
- (0, decorators_1.ApiPropertyOptional)(),
20
- (0, class_validator_1.IsOptional)(),
21
- (0, class_validator_1.IsString)({
22
- each: true,
23
- }),
24
- (0, class_validator_1.IsIn)(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true }),
25
- __metadata("design:type", Array)
26
- ], QueryCalendarEvent.prototype, "include", void 0);
27
- __decorate([
28
- (0, decorators_1.ApiPropertyOptional)(),
29
- (0, class_validator_1.IsOptional)(),
30
- (0, class_validator_1.IsString)({
31
- each: true,
32
- }),
33
- __metadata("design:type", Array)
34
- ], QueryCalendarEvent.prototype, "attributes", void 0);
35
- //# sourceMappingURL=queryCalendarEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEvent.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,6DAAmE;AAEnE,MAAa,kBAAkB;CAe9B;AAfD,gDAeC;AARC;IANC,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,sBAAI,EAAC,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDACjE;AAOnB;IALC,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;sDACoB","sourcesContent":["import { IsIn, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryCalendarEvent {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n}\n"]}
@@ -1,7 +0,0 @@
1
- export declare class QueryCalendarEventCall {
2
- idUser?: number;
3
- startDate: Date;
4
- endDate: Date;
5
- noHonoredCall?: boolean;
6
- }
7
- //# sourceMappingURL=queryCalendarEventCall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEventCall.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAEjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAKd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryCalendarEventCall = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class QueryCalendarEventCall {
16
- }
17
- exports.QueryCalendarEventCall = QueryCalendarEventCall;
18
- __decorate([
19
- (0, utils_1.ApiPropertyOptional)(),
20
- __metadata("design:type", Number)
21
- ], QueryCalendarEventCall.prototype, "idUser", void 0);
22
- __decorate([
23
- (0, utils_1.ApiProperty)(),
24
- __metadata("design:type", Date)
25
- ], QueryCalendarEventCall.prototype, "startDate", void 0);
26
- __decorate([
27
- (0, utils_1.ApiProperty)(),
28
- __metadata("design:type", Date)
29
- ], QueryCalendarEventCall.prototype, "endDate", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsBoolean)(),
32
- (0, utils_1.ApiPropertyOptional)(),
33
- (0, class_validator_1.IsOptional)(),
34
- __metadata("design:type", Boolean)
35
- ], QueryCalendarEventCall.prototype, "noHonoredCall", void 0);
36
- //# sourceMappingURL=queryCalendarEventCall.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEventCall.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6CAAqE;AAErE,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAZC;IADC,IAAA,2BAAmB,GAAE;;sDACN;AAGhB;IADC,IAAA,mBAAW,GAAE;8BACH,IAAI;yDAAC;AAGhB;IADC,IAAA,mBAAW,GAAE;8BACL,IAAI;uDAAC;AAKd;IAHC,IAAA,2BAAS,GAAE;IACX,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;6DACW","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCalendarEventCall {\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n startDate: Date;\n\n @ApiProperty()\n endDate: Date;\n\n @IsBoolean()\n @ApiPropertyOptional()\n @IsOptional()\n noHonoredCall?: boolean;\n}\n"]}
@@ -1,7 +0,0 @@
1
- export declare class GetAllCalendarEvent {
2
- idUser?: number;
3
- startDate: Date;
4
- endDate: Date;
5
- isValidated?: boolean;
6
- }
7
- //# sourceMappingURL=getAllCalendarEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAllCalendarEvent.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAE9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAGd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -1,33 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- 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;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
11
- export class GetAllCalendarEvent {
12
- idUser;
13
- startDate;
14
- endDate;
15
- isValidated;
16
- }
17
- __decorate([
18
- ApiPropertyOptional(),
19
- __metadata("design:type", Number)
20
- ], GetAllCalendarEvent.prototype, "idUser", void 0);
21
- __decorate([
22
- ApiProperty(),
23
- __metadata("design:type", Date)
24
- ], GetAllCalendarEvent.prototype, "startDate", void 0);
25
- __decorate([
26
- ApiProperty(),
27
- __metadata("design:type", Date)
28
- ], GetAllCalendarEvent.prototype, "endDate", void 0);
29
- __decorate([
30
- ApiPropertyOptional(),
31
- __metadata("design:type", Boolean)
32
- ], GetAllCalendarEvent.prototype, "isValidated", void 0);
33
- //# sourceMappingURL=getAllCalendarEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAllCalendarEvent.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,mBAAmB;IAE9B,MAAM,CAAU;IAGhB,SAAS,CAAO;IAGhB,OAAO,CAAO;IAGd,WAAW,CAAW;CACvB;AAVC;IADC,mBAAmB,EAAE;;mDACN;AAGhB;IADC,WAAW,EAAE;8BACH,IAAI;sDAAC;AAGhB;IADC,WAAW,EAAE;8BACL,IAAI;oDAAC;AAGd;IADC,mBAAmB,EAAE;;wDACA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class GetAllCalendarEvent {\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n startDate: Date;\n\n @ApiProperty()\n endDate: Date;\n\n @ApiPropertyOptional()\n isValidated?: boolean;\n}\n"]}
@@ -1,6 +0,0 @@
1
- export declare class GetLastInvalidateEvent {
2
- idUser: number;
3
- dateStart?: string;
4
- dateEnd?: string;
5
- }
6
- //# sourceMappingURL=getLastInvalidateEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getLastInvalidateEvent.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,MAAM,EAAE,MAAM,CAAC;IAMf,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,36 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- 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;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
- export class GetLastInvalidateEvent {
13
- idUser;
14
- dateStart;
15
- dateEnd;
16
- }
17
- __decorate([
18
- ApiProperty(),
19
- IsInt(),
20
- __metadata("design:type", Number)
21
- ], GetLastInvalidateEvent.prototype, "idUser", void 0);
22
- __decorate([
23
- ApiPropertyOptional(),
24
- IsOptional(),
25
- IsString(),
26
- IsDateString(),
27
- __metadata("design:type", String)
28
- ], GetLastInvalidateEvent.prototype, "dateStart", void 0);
29
- __decorate([
30
- ApiPropertyOptional(),
31
- IsOptional(),
32
- IsString(),
33
- IsDateString(),
34
- __metadata("design:type", String)
35
- ], GetLastInvalidateEvent.prototype, "dateEnd", void 0);
36
- //# sourceMappingURL=getLastInvalidateEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getLastInvalidateEvent.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAGjC,MAAM,CAAS;IAMf,SAAS,CAAU;IAMnB,OAAO,CAAU;CAClB;AAbC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;sDACO;AAMf;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,YAAY,EAAE;;yDACI;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,YAAY,EAAE;;uDACE","sourcesContent":["import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class GetLastInvalidateEvent {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsDateString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsDateString()\n dateEnd?: string;\n}\n"]}
@@ -1,5 +0,0 @@
1
- export declare class QueryCalendarEvent {
2
- include?: string[];
3
- attributes?: string[];
4
- }
5
- //# sourceMappingURL=queryCalendarEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEvent.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts"],"names":[],"mappings":"AAGA,qBAAa,kBAAkB;IAO7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAOnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB"}
@@ -1,33 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- 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;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsIn, IsOptional, IsString } from 'class-validator';
11
- import { ApiPropertyOptional } from '../../../../utils/decorators';
12
- export class QueryCalendarEvent {
13
- include;
14
- attributes;
15
- }
16
- __decorate([
17
- ApiPropertyOptional(),
18
- IsOptional(),
19
- IsString({
20
- each: true,
21
- }),
22
- IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true }),
23
- __metadata("design:type", Array)
24
- ], QueryCalendarEvent.prototype, "include", void 0);
25
- __decorate([
26
- ApiPropertyOptional(),
27
- IsOptional(),
28
- IsString({
29
- each: true,
30
- }),
31
- __metadata("design:type", Array)
32
- ], QueryCalendarEvent.prototype, "attributes", void 0);
33
- //# sourceMappingURL=queryCalendarEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEvent.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,OAAO,kBAAkB;IAO7B,OAAO,CAAY;IAOnB,UAAU,CAAY;CACvB;AARC;IANC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAI,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDACjE;AAOnB;IALC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;sDACoB","sourcesContent":["import { IsIn, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryCalendarEvent {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n}\n"]}
@@ -1,7 +0,0 @@
1
- export declare class QueryCalendarEventCall {
2
- idUser?: number;
3
- startDate: Date;
4
- endDate: Date;
5
- noHonoredCall?: boolean;
6
- }
7
- //# sourceMappingURL=queryCalendarEventCall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEventCall.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAEjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAKd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
@@ -1,36 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- 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;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsBoolean, IsOptional } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
- export class QueryCalendarEventCall {
13
- idUser;
14
- startDate;
15
- endDate;
16
- noHonoredCall;
17
- }
18
- __decorate([
19
- ApiPropertyOptional(),
20
- __metadata("design:type", Number)
21
- ], QueryCalendarEventCall.prototype, "idUser", void 0);
22
- __decorate([
23
- ApiProperty(),
24
- __metadata("design:type", Date)
25
- ], QueryCalendarEventCall.prototype, "startDate", void 0);
26
- __decorate([
27
- ApiProperty(),
28
- __metadata("design:type", Date)
29
- ], QueryCalendarEventCall.prototype, "endDate", void 0);
30
- __decorate([
31
- IsBoolean(),
32
- ApiPropertyOptional(),
33
- IsOptional(),
34
- __metadata("design:type", Boolean)
35
- ], QueryCalendarEventCall.prototype, "noHonoredCall", void 0);
36
- //# sourceMappingURL=queryCalendarEventCall.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryCalendarEventCall.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAEjC,MAAM,CAAU;IAGhB,SAAS,CAAO;IAGhB,OAAO,CAAO;IAKd,aAAa,CAAW;CACzB;AAZC;IADC,mBAAmB,EAAE;;sDACN;AAGhB;IADC,WAAW,EAAE;8BACH,IAAI;yDAAC;AAGhB;IADC,WAAW,EAAE;8BACL,IAAI;uDAAC;AAKd;IAHC,SAAS,EAAE;IACX,mBAAmB,EAAE;IACrB,UAAU,EAAE;;6DACW","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCalendarEventCall {\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n startDate: Date;\n\n @ApiProperty()\n endDate: Date;\n\n @IsBoolean()\n @ApiPropertyOptional()\n @IsOptional()\n noHonoredCall?: boolean;\n}\n"]}
@@ -1,15 +0,0 @@
1
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
-
3
- export class GetAllCalendarEvent {
4
- @ApiPropertyOptional()
5
- idUser?: number;
6
-
7
- @ApiProperty()
8
- startDate: Date;
9
-
10
- @ApiProperty()
11
- endDate: Date;
12
-
13
- @ApiPropertyOptional()
14
- isValidated?: boolean;
15
- }
@@ -1,20 +0,0 @@
1
- import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
2
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
-
4
- export class GetLastInvalidateEvent {
5
- @ApiProperty()
6
- @IsInt()
7
- idUser: number;
8
-
9
- @ApiPropertyOptional()
10
- @IsOptional()
11
- @IsString()
12
- @IsDateString()
13
- dateStart?: string;
14
-
15
- @ApiPropertyOptional()
16
- @IsOptional()
17
- @IsString()
18
- @IsDateString()
19
- dateEnd?: string;
20
- }
@@ -1,19 +0,0 @@
1
- import { IsIn, IsOptional, IsString } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils/decorators';
3
-
4
- export class QueryCalendarEvent {
5
- @ApiPropertyOptional()
6
- @IsOptional()
7
- @IsString({
8
- each: true,
9
- })
10
- @IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true })
11
- include?: string[];
12
-
13
- @ApiPropertyOptional()
14
- @IsOptional()
15
- @IsString({
16
- each: true,
17
- })
18
- attributes?: string[];
19
- }
@@ -1,18 +0,0 @@
1
- import { IsBoolean, IsOptional } from 'class-validator';
2
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
-
4
- export class QueryCalendarEventCall {
5
- @ApiPropertyOptional()
6
- idUser?: number;
7
-
8
- @ApiProperty()
9
- startDate: Date;
10
-
11
- @ApiProperty()
12
- endDate: Date;
13
-
14
- @IsBoolean()
15
- @ApiPropertyOptional()
16
- @IsOptional()
17
- noHonoredCall?: boolean;
18
- }