@silexpert/core 1.3.108 → 1.3.110

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 (117) 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/api/resources/LeadsToPartners.d.ts +2 -2
  6. package/dist/cjs/api/resources/LeadsToPartners.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/LeadsToPartners.js.map +1 -1
  8. package/dist/cjs/types/Enum/Card.d.ts +1 -1
  9. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  10. package/dist/cjs/types/Enum/Card.js +2 -10
  11. package/dist/cjs/types/Enum/Card.js.map +1 -1
  12. package/dist/cjs/types/Enum/Partners.d.ts +8 -47
  13. package/dist/cjs/types/Enum/Partners.d.ts.map +1 -1
  14. package/dist/cjs/types/Enum/Partners.js +49 -39
  15. package/dist/cjs/types/Enum/Partners.js.map +1 -1
  16. package/dist/cjs/types/Enum/PrestationType.js +1 -1
  17. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  18. package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
  19. package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
  20. package/dist/cjs/types/Interface/api/calendarEvent/query.js +110 -0
  21. package/dist/cjs/types/Interface/api/calendarEvent/query.js.map +1 -0
  22. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +3 -0
  23. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  24. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  25. package/dist/cjs/types/Interface/api/partners/CreatePartner.d.ts +6 -0
  26. package/dist/cjs/types/Interface/api/partners/CreatePartner.d.ts.map +1 -0
  27. package/dist/cjs/types/Interface/api/{calendarEvent/getAllCalendarEvent.js → partners/CreatePartner.js} +14 -14
  28. package/dist/cjs/types/Interface/api/partners/CreatePartner.js.map +1 -0
  29. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +11 -0
  30. package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -0
  31. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +62 -0
  32. package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -0
  33. package/dist/cjs/types/index.d.ts +3 -4
  34. package/dist/cjs/types/index.d.ts.map +1 -1
  35. package/dist/cjs/types/index.js +3 -4
  36. package/dist/cjs/types/index.js.map +1 -1
  37. package/dist/mjs/api/resources/CalendarEvent.d.ts +3 -2
  38. package/dist/mjs/api/resources/CalendarEvent.d.ts.map +1 -1
  39. package/dist/mjs/api/resources/CalendarEvent.js +3 -0
  40. package/dist/mjs/api/resources/CalendarEvent.js.map +1 -1
  41. package/dist/mjs/api/resources/LeadsToPartners.d.ts +2 -2
  42. package/dist/mjs/api/resources/LeadsToPartners.d.ts.map +1 -1
  43. package/dist/mjs/api/resources/LeadsToPartners.js.map +1 -1
  44. package/dist/mjs/types/Enum/Card.d.ts +1 -1
  45. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  46. package/dist/mjs/types/Enum/Card.js +2 -10
  47. package/dist/mjs/types/Enum/Card.js.map +1 -1
  48. package/dist/mjs/types/Enum/Partners.d.ts +8 -47
  49. package/dist/mjs/types/Enum/Partners.d.ts.map +1 -1
  50. package/dist/mjs/types/Enum/Partners.js +48 -38
  51. package/dist/mjs/types/Enum/Partners.js.map +1 -1
  52. package/dist/mjs/types/Enum/PrestationType.js +1 -1
  53. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  54. package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
  55. package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
  56. package/dist/mjs/types/Interface/api/calendarEvent/query.js +117 -0
  57. package/dist/mjs/types/Interface/api/calendarEvent/query.js.map +1 -0
  58. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +3 -0
  59. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  60. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  61. package/dist/mjs/types/Interface/api/partners/CreatePartner.d.ts +6 -0
  62. package/dist/mjs/types/Interface/api/partners/CreatePartner.d.ts.map +1 -0
  63. package/dist/mjs/types/Interface/api/{calendarEvent/getLastInvalidateEvent.js → partners/CreatePartner.js} +12 -16
  64. package/dist/mjs/types/Interface/api/partners/CreatePartner.js.map +1 -0
  65. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +11 -0
  66. package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -0
  67. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +66 -0
  68. package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -0
  69. package/dist/mjs/types/index.d.ts +3 -4
  70. package/dist/mjs/types/index.d.ts.map +1 -1
  71. package/dist/mjs/types/index.js +3 -4
  72. package/dist/mjs/types/index.js.map +1 -1
  73. package/package.json +1 -1
  74. package/ts/api/resources/CalendarEvent.ts +6 -1
  75. package/ts/api/resources/LeadsToPartners.ts +2 -1
  76. package/ts/types/Enum/Card.ts +2 -10
  77. package/ts/types/Enum/Partners.ts +14 -3
  78. package/ts/types/Enum/PrestationType.ts +1 -1
  79. package/ts/types/Interface/api/calendarEvent/query.ts +77 -0
  80. package/ts/types/Interface/api/config/ConfigType.ts +3 -0
  81. package/ts/types/Interface/api/partners/CreatePartner.ts +16 -0
  82. package/ts/types/Interface/api/user/RegisterWebhook.ts +40 -0
  83. package/ts/types/index.ts +3 -4
  84. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
  85. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
  86. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
  87. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
  88. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
  89. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +0 -37
  90. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
  91. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
  92. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
  93. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -35
  94. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
  95. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
  96. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
  97. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
  98. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
  99. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
  100. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
  101. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js +0 -33
  102. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
  103. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
  104. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
  105. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
  106. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
  107. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
  108. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -33
  109. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
  110. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
  111. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
  112. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
  113. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
  114. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +0 -15
  115. package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +0 -20
  116. package/ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts +0 -19
  117. package/ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts +0 -18
@@ -1,4 +1,5 @@
1
1
  import {
2
+ CreateLeadToPartner,
2
3
  ILeadsToPartners,
3
4
  PartnerStatisticType,
4
5
  QueryPartnerAll,
@@ -8,7 +9,7 @@ import {
8
9
  import { Resource } from '../Resource';
9
10
 
10
11
  export class LeadsToPartners extends Resource {
11
- create(params: ILeadsToPartners): Promise<ILeadsToPartners> {
12
+ create(params: CreateLeadToPartner): Promise<ILeadsToPartners> {
12
13
  return this.axios.$post('partner', params);
13
14
  }
14
15
  getAll(params: QueryPartnerAll): Promise<ILeadsToPartners[]> {
@@ -108,14 +108,6 @@ export const CardGroup: readonly CardGroupType[] = [
108
108
  teamType: TeamType.VAT,
109
109
  maxByDay: 4,
110
110
  },
111
- {
112
- id: CardGroupEnum.CARRY_FORWARD,
113
- label: 'A nouveaux',
114
- types: [CardType.SETUP_AND_INTEGRATION_N_MINUS_1],
115
- roles: [Role.ACCOUNTANT],
116
- maxByDay: 3,
117
- teamType: TeamType.CARRY_FORWARD,
118
- },
119
111
  {
120
112
  id: CardGroupEnum.BANK,
121
113
  label: 'Banque',
@@ -135,7 +127,7 @@ export const CardGroup: readonly CardGroupType[] = [
135
127
  {
136
128
  id: CardGroupEnum.CLR,
137
129
  label: 'CLR',
138
- types: [CardType.CLR, CardType.CLR_EXCEPTIONAL_MISSION],
130
+ types: [CardType.CLR, CardType.CLR_EXCEPTIONAL_MISSION, CardType.SETUP_AND_INTEGRATION_N_MINUS_1],
139
131
  roles: [Role.ACCOUNTANT],
140
132
  maxByDay: 3,
141
133
  teamType: TeamType.CLR,
@@ -299,7 +291,7 @@ export const CardTypeLabel = [
299
291
  id: CardType.SETUP_AND_INTEGRATION_N_MINUS_1,
300
292
  label: 'Paramétrage & Intégration N-1',
301
293
  refLabel: 'PIN1',
302
- groupId: CardGroupEnum.CARRY_FORWARD,
294
+ groupId: CardGroupEnum.CLR,
303
295
  },
304
296
  {
305
297
  id: CardType.CLR,
@@ -27,7 +27,7 @@ export const PartnerTypesDetail = {
27
27
  };
28
28
 
29
29
  export const Partners = {
30
- NATIVE: {
30
+ /* NATIVE: {
31
31
  id: 1,
32
32
  idType: PartnerTypesDetail.INSURANCE.id,
33
33
  name: 'Native',
@@ -75,12 +75,23 @@ export const Partners = {
75
75
  name: 'Qonto',
76
76
  excludeBrand: [],
77
77
  disabled: true,
78
- },
78
+ }, */
79
79
  SHINE: {
80
80
  id: 8,
81
81
  idType: null,
82
82
  name: 'Shine',
83
83
  excludeBrand: [],
84
- disabled: true,
84
+ disabled: false,
85
+ },
86
+ };
87
+
88
+ export const ShineNeeds = {
89
+ ACCOUNT_OPENING: {
90
+ id: 'account_opening',
91
+ name: 'Ouverture de compte',
92
+ },
93
+ CAPITAL_DEPOSIT: {
94
+ id: 'capital_deposit',
95
+ name: 'Dépôt de capital',
85
96
  },
86
97
  };
@@ -3749,7 +3749,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3749
3749
  minimumPrice: null,
3750
3750
  price: 89,
3751
3751
  isCatalog: false,
3752
- isPlannable: false,
3752
+ isPlannable: true,
3753
3753
  hidden: false,
3754
3754
  isComplementary: false,
3755
3755
  signaturePosition: '400,54,569,90',
@@ -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
+ }
@@ -130,8 +130,11 @@ interface Pappers {
130
130
  interface Shine {
131
131
  host: string;
132
132
  hostV3: string;
133
+ leadHost: string;
133
134
  publicHost: string;
134
135
  clientId: string;
136
+ sendLeadClientId: string;
137
+ updateLeadClientId: string;
135
138
  redirect_uris: string[];
136
139
  status: string;
137
140
  scope: string;
@@ -0,0 +1,16 @@
1
+ import { IsInt, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class CreateLeadToPartner {
5
+ @ApiProperty()
6
+ @IsInt()
7
+ idSociety: number;
8
+
9
+ @ApiProperty()
10
+ @IsInt()
11
+ idPartner: number;
12
+
13
+ @ApiPropertyOptional()
14
+ @IsString()
15
+ need?: string;
16
+ }
@@ -0,0 +1,40 @@
1
+ import { IsEmail, IsOptional, IsPhoneNumber, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class RegisterWebhookBody {
5
+ @ApiProperty()
6
+ @IsEmail()
7
+ email: string;
8
+
9
+ @ApiProperty()
10
+ @IsString()
11
+ firstName: string;
12
+
13
+ @ApiProperty()
14
+ @IsString()
15
+ lastName: string;
16
+
17
+ @ApiProperty()
18
+ @IsPhoneNumber()
19
+ phone: string;
20
+
21
+ @ApiPropertyOptional()
22
+ @IsOptional()
23
+ @IsString()
24
+ companyName?: string;
25
+
26
+ @ApiPropertyOptional()
27
+ @IsOptional()
28
+ @IsString()
29
+ legalForm?: string;
30
+
31
+ @ApiPropertyOptional()
32
+ @IsOptional()
33
+ @IsString()
34
+ siret?: string;
35
+
36
+ @ApiPropertyOptional()
37
+ @IsOptional()
38
+ @IsString()
39
+ nafCode?: string;
40
+ }
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';
@@ -1125,6 +1122,7 @@ export * from './Interface/api/card/ModifyAcceptation';
1125
1122
  export * from './Interface/api/card/ModifyCustomerVat';
1126
1123
  export * from './Interface/api/card/Cron';
1127
1124
  export * from './Interface/api/user/RegisterProspect';
1125
+ export * from './Interface/api/user/RegisterWebhook';
1128
1126
  export * from './Interface/api/stateBankAccount/Query';
1129
1127
  export * from './Interface/api/absenceRequest/QueryAbsenceRequest';
1130
1128
  export * from './Interface/api/absenceRequest/QueryCalendarAbsenceRequest';
@@ -1157,6 +1155,7 @@ export * from './Interface/api/notificationSetting/CreateNotificationSetting';
1157
1155
  export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
1158
1156
  export * from './Interface/api/appNotification/Update';
1159
1157
  export * from './Interface/api/partners/QueryPartnerAll';
1158
+ export * from './Interface/api/partners/CreatePartner';
1160
1159
  export * from './Interface/api/partners/QueryPartnerStatistic';
1161
1160
  export * from './Interface/api/partners/QueryPartnerCsv';
1162
1161
  export * from './Interface/api/partners/PartnerStatisticType';
@@ -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 +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 +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"]}