@silexpert/core 1.0.121 → 1.0.123

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 (27) hide show
  1. package/es/types/Enum/BrandClementine.d.ts +2 -0
  2. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  3. package/es/types/Enum/BrandClementine.js +1 -0
  4. package/es/types/Enum/BrandClementine.js.map +1 -1
  5. package/es/types/Enum/PrestationType.js +1 -1
  6. package/es/types/Enum/PrestationType.js.map +1 -1
  7. package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +2 -0
  8. package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +1 -1
  9. package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +16 -2
  10. package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
  11. package/es/types/Interface/api/user/CreateUser.d.ts +1 -0
  12. package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -1
  13. package/es/types/Interface/api/user/CreateUser.js +4 -0
  14. package/es/types/Interface/api/user/CreateUser.js.map +1 -1
  15. package/js/types/Enum/BrandClementine.js +2 -1
  16. package/js/types/Enum/BrandClementine.js.map +1 -1
  17. package/js/types/Enum/PrestationType.js +1 -1
  18. package/js/types/Enum/PrestationType.js.map +1 -1
  19. package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +4 -0
  20. package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
  21. package/js/types/Interface/api/user/CreateUser.js +2 -0
  22. package/js/types/Interface/api/user/CreateUser.js.map +1 -1
  23. package/package.json +1 -1
  24. package/ts/types/Enum/BrandClementine.ts +1 -0
  25. package/ts/types/Enum/PrestationType.ts +1 -1
  26. package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +16 -2
  27. package/ts/types/Interface/api/user/CreateUser.ts +3 -0
@@ -26,4 +26,8 @@ class GetLastInvalidateEvent {}
26
26
  exports.GetLastInvalidateEvent = GetLastInvalidateEvent;
27
27
 
28
28
  __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetLastInvalidateEvent.prototype, "idUser", void 0);
29
+
30
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], GetLastInvalidateEvent.prototype, "dateStart", void 0);
31
+
32
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], GetLastInvalidateEvent.prototype, "dateEnd", void 0);
29
33
  //# sourceMappingURL=getLastInvalidateEvent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLastInvalidateEvent.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXC,YAFC,8BAED,EADC,4BACD","names":["GetLastInvalidateEvent","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts"],"sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils/decorators';\n\nexport class GetLastInvalidateEvent {\n @ApiProperty()\n @IsInt()\n idUser: number;\n}"]}
1
+ {"version":3,"file":"getLastInvalidateEvent.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXC,YAFC,8BAED,EADC,4BACD;;AAMAA,YAJC,sCAID,EAHC,iCAGD,EAFC,+BAED,EADC,mCACD;;AAMAA,YAJC,sCAID,EAHC,iCAGD,EAFC,+BAED,EADC,mCACD","names":["GetLastInvalidateEvent","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts"],"sourcesContent":["import {\n IsDateString, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\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}"]}
@@ -41,6 +41,8 @@ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Boolean)], Crea
41
41
 
42
42
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateUser.prototype, "acceptNewsletter", void 0);
43
43
 
44
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateUser.prototype, "prefix", void 0);
45
+
44
46
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _classValidator.IsOptional)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CreateUser.prototype, "disableTracking", void 0);
45
47
 
46
48
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateUser.prototype, "affiliateTrackingId", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateUser.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,UAAP,CAAiB;;QAAVA,U,GAAAA,U;;AAEXC,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,iCAED,EADC,yBACD;;AAGAA,YADC,iCACD","names":["CreateUser","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUser.ts"],"sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateUser {\n @ApiProperty()\n email: string;\n @ApiProperty()\n phone: string;\n @ApiProperty()\n password: string;\n @ApiProperty()\n firstname: string;\n @ApiProperty()\n lastname: string;\n @ApiProperty()\n acceptCgv?: boolean; // not sure if needed (maybe more a front notion)\n @ApiPropertyOptional()\n acceptNewsletter?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n disableTracking?: boolean;\n\n @ApiPropertyOptional()\n affiliateTrackingId?: number;\n}"]}
1
+ {"version":3,"file":"CreateUser.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,UAAP,CAAiB;;QAAVA,U,GAAAA,U;;AAEXC,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,yBACD;;AAEAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,iCAED,EADC,yBACD;;AAGAA,YADC,iCACD","names":["CreateUser","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUser.ts"],"sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateUser {\n @ApiProperty()\n email: string;\n @ApiProperty()\n phone: string;\n @ApiProperty()\n password: string;\n @ApiProperty()\n firstname: string;\n @ApiProperty()\n lastname: string;\n @ApiProperty()\n acceptCgv?: boolean; // not sure if needed (maybe more a front notion)\n @ApiPropertyOptional()\n acceptNewsletter?: boolean;\n\n @ApiPropertyOptional()\n prefix?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n disableTracking?: boolean;\n\n @ApiPropertyOptional()\n affiliateTrackingId?: number;\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.0.121",
3
+ "version": "1.0.123",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "js/index.js",
@@ -83,6 +83,7 @@ export const BrandClementine = [
83
83
  },
84
84
  webmail: {
85
85
  domain: '@compta-clementine.fr',
86
+ domain2: '@clementine.fr',
86
87
  },
87
88
  },
88
89
  {
@@ -2777,7 +2777,7 @@ export const PrestationDetail = {
2777
2777
  },
2778
2778
  FRAIS_DE_GREFFE: {
2779
2779
  id: 210,
2780
- name: 'Annonces légales',
2780
+ name: 'Frais de greffe',
2781
2781
  isComptable: 0,
2782
2782
  isJuridique: 1,
2783
2783
  isSocial: 0,
@@ -1,8 +1,22 @@
1
- import { IsInt } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils/decorators';
1
+ import {
2
+ IsDateString, IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
3
5
 
4
6
  export class GetLastInvalidateEvent {
5
7
  @ApiProperty()
6
8
  @IsInt()
7
9
  idUser: number;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsString()
14
+ @IsDateString()
15
+ dateStart?: string;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsString()
20
+ @IsDateString()
21
+ dateEnd?: string;
8
22
  }
@@ -18,6 +18,9 @@ export class CreateUser {
18
18
  @ApiPropertyOptional()
19
19
  acceptNewsletter?: boolean;
20
20
 
21
+ @ApiPropertyOptional()
22
+ prefix?: string;
23
+
21
24
  @ApiPropertyOptional()
22
25
  @IsBoolean()
23
26
  @IsOptional()