@silexpert/core 1.2.77 → 1.2.80

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 (74) hide show
  1. package/dist/cjs/api/resources/BalanceSheetSupervision.d.ts +2 -1
  2. package/dist/cjs/api/resources/BalanceSheetSupervision.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/BalanceSheetSupervision.js +3 -0
  4. package/dist/cjs/api/resources/BalanceSheetSupervision.js.map +1 -1
  5. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  6. package/dist/cjs/types/Enum/BrandClementine.js +2 -0
  7. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  8. package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
  9. package/dist/cjs/types/Enum/BrandPourcentage.js +4 -0
  10. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  11. package/dist/cjs/types/Enum/Log.d.ts +14 -1
  12. package/dist/cjs/types/Enum/Log.d.ts.map +1 -1
  13. package/dist/cjs/types/Enum/Log.js +13 -0
  14. package/dist/cjs/types/Enum/Log.js.map +1 -1
  15. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +3 -0
  16. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  17. package/dist/cjs/types/Interface/api/checklist/Query.js +18 -0
  18. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  19. package/dist/cjs/types/Interface/api/supervision/Query.d.ts +4 -0
  20. package/dist/cjs/types/Interface/api/supervision/Query.d.ts.map +1 -1
  21. package/dist/cjs/types/Interface/api/supervision/Query.js +15 -1
  22. package/dist/cjs/types/Interface/api/supervision/Query.js.map +1 -1
  23. package/dist/cjs/types/Interface/api/supervision/Read.d.ts +13 -0
  24. package/dist/cjs/types/Interface/api/supervision/Read.d.ts.map +1 -0
  25. package/dist/cjs/types/Interface/api/supervision/Read.js +7 -0
  26. package/dist/cjs/types/Interface/api/supervision/Read.js.map +1 -0
  27. package/dist/cjs/types/Interface/api/user/Query.js +1 -1
  28. package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
  29. package/dist/cjs/types/index.d.ts +1 -0
  30. package/dist/cjs/types/index.d.ts.map +1 -1
  31. package/dist/cjs/types/index.js +1 -0
  32. package/dist/cjs/types/index.js.map +1 -1
  33. package/dist/mjs/api/resources/BalanceSheetSupervision.d.ts +2 -1
  34. package/dist/mjs/api/resources/BalanceSheetSupervision.d.ts.map +1 -1
  35. package/dist/mjs/api/resources/BalanceSheetSupervision.js +6 -0
  36. package/dist/mjs/api/resources/BalanceSheetSupervision.js.map +1 -1
  37. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  38. package/dist/mjs/types/Enum/BrandClementine.js +2 -0
  39. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  40. package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
  41. package/dist/mjs/types/Enum/BrandPourcentage.js +4 -0
  42. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  43. package/dist/mjs/types/Enum/Log.d.ts +14 -1
  44. package/dist/mjs/types/Enum/Log.d.ts.map +1 -1
  45. package/dist/mjs/types/Enum/Log.js +13 -0
  46. package/dist/mjs/types/Enum/Log.js.map +1 -1
  47. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +3 -0
  48. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  49. package/dist/mjs/types/Interface/api/checklist/Query.js +21 -0
  50. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  51. package/dist/mjs/types/Interface/api/supervision/Query.d.ts +4 -0
  52. package/dist/mjs/types/Interface/api/supervision/Query.d.ts.map +1 -1
  53. package/dist/mjs/types/Interface/api/supervision/Query.js +16 -1
  54. package/dist/mjs/types/Interface/api/supervision/Query.js.map +1 -1
  55. package/dist/mjs/types/Interface/api/supervision/Read.d.ts +13 -0
  56. package/dist/mjs/types/Interface/api/supervision/Read.d.ts.map +1 -0
  57. package/dist/mjs/types/Interface/api/supervision/Read.js +13 -0
  58. package/dist/mjs/types/Interface/api/supervision/Read.js.map +1 -0
  59. package/dist/mjs/types/Interface/api/user/Query.js +1 -1
  60. package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
  61. package/dist/mjs/types/index.d.ts +1 -0
  62. package/dist/mjs/types/index.d.ts.map +1 -1
  63. package/dist/mjs/types/index.js +1 -0
  64. package/dist/mjs/types/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/ts/api/resources/BalanceSheetSupervision.ts +13 -1
  67. package/ts/types/Enum/BrandClementine.ts +2 -0
  68. package/ts/types/Enum/BrandPourcentage.ts +4 -0
  69. package/ts/types/Enum/Log.ts +13 -0
  70. package/ts/types/Interface/api/checklist/Query.ts +15 -0
  71. package/ts/types/Interface/api/supervision/Query.ts +12 -1
  72. package/ts/types/Interface/api/supervision/Read.ts +12 -0
  73. package/ts/types/Interface/api/user/Query.ts +1 -1
  74. package/ts/types/index.ts +1 -0
@@ -296,7 +296,9 @@ export const BrandClementine: Brand[] = [
296
296
  noreply: 'noreply@clementine.fr',
297
297
  qualite: 'qualite@clementine.fr',
298
298
  paiement: 'paiement@clementine.fr',
299
+ resiliation: 'resiliation@clementine.fr',
299
300
  rh: 'rh@clementine.fr',
301
+ satisfaction: 'satisfaction-client@clementine.fr',
300
302
  social: 'social@clementine.fr',
301
303
  support: 'support@clementine.fr',
302
304
  tva: 'tva@clementine.fr',
@@ -261,7 +261,9 @@ export const BrandPourcentage: Brand[] = [
261
261
  noreply: 'contact@pourcentage.fr',
262
262
  qualite: 'contact@pourcentage.fr',
263
263
  paiement: 'contact@pourcentage.fr',
264
+ resiliation: 'resiliation@pourcentage.fr',
264
265
  rh: 'rh@pourcentage.fr',
266
+ satisfaction: 'satisfaction-client@pourcentage.fr',
265
267
  social: 'social@pourcentage.fr',
266
268
  support: 'contact@pourcentage.fr',
267
269
  tva: 'contact@pourcentage.fr',
@@ -359,7 +361,9 @@ export const BrandPourcentage: Brand[] = [
359
361
  noreply: 'contact@pourcentage.fr',
360
362
  qualite: 'contact@pourcentage.fr',
361
363
  paiement: 'contact@pourcentage.fr',
364
+ resiliation: 'resiliation@pourcentage.fr',
362
365
  rh: 'rh@pourcentage.fr',
366
+ satisfaction: 'satisfaction-client@pourcentage.fr',
363
367
  social: 'social@pourcentage.fr',
364
368
  support: 'contact@pourcentage.fr',
365
369
  tva: 'contact@pourcentage.fr',
@@ -55,6 +55,7 @@ export enum LogType {
55
55
  PAYED = 43,
56
56
  PARTNER = 44,
57
57
  LEGAL_FORM = 45,
58
+ TIME_SLOTS = 46,
58
59
  }
59
60
 
60
61
  export const LogTypeDetail = {
@@ -580,4 +581,16 @@ export const LogTypeDetail = {
580
581
  },
581
582
  message: 'la forme juridique',
582
583
  },
584
+ TIME_SLOT: {
585
+ id: LogType.TIME_SLOTS,
586
+ label: 'Créneaux horaire',
587
+ color: 'green',
588
+ icon: null,
589
+ actions: {
590
+ post: 'à ajouté',
591
+ put: 'a modifié',
592
+ delete: 'a supprimé',
593
+ },
594
+ message: 'un créneaux horaire à %users%',
595
+ },
583
596
  };
@@ -121,6 +121,21 @@ export class QueryChecklistGetPaginated extends RequiredQueryPaginate {
121
121
  @ApiProperty()
122
122
  @IsDate()
123
123
  closingDate: Date;
124
+
125
+ @ApiPropertyOptional()
126
+ @IsOptional()
127
+ @IsNumber()
128
+ minimalTurnover?: number;
129
+
130
+ @ApiPropertyOptional()
131
+ @IsOptional()
132
+ @IsNumber()
133
+ maximalTurnover?: number;
134
+
135
+ @ApiPropertyOptional()
136
+ @IsOptional()
137
+ @IsInt({ each: true })
138
+ idComptaType?: number[];
124
139
  }
125
140
 
126
141
  export class QueryChecklistGetStats {
@@ -1,5 +1,5 @@
1
1
  import { IsArray, IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
  import { RequiredQueryPaginate } from '../BasePaginate';
5
5
 
@@ -96,3 +96,14 @@ export class QueryPaginatedBalanceSheetSupervision extends RequiredQueryPaginate
96
96
  @IsDate()
97
97
  endDateBalanceSend?: Date | null;
98
98
  }
99
+
100
+ export class QueryInternalSupervisionsStats {
101
+ @ApiProperty()
102
+ @IsBoolean()
103
+ @ToBoolean()
104
+ withoutDouble: boolean;
105
+
106
+ @ApiProperty()
107
+ @IsDate()
108
+ date: Date;
109
+ }
@@ -0,0 +1,12 @@
1
+ export class ReadInternalSupervisionStats {
2
+ idSociety: number;
3
+ dateEnd: Date;
4
+ firstname: string;
5
+ lastname: string;
6
+ teamName: string;
7
+ revisionDate: Date;
8
+ state: number;
9
+ amount: number;
10
+ amountPayed: number;
11
+ bankCollectingState: number;
12
+ }
@@ -109,7 +109,7 @@ export class GetSocietyFromUser {
109
109
  attributes?: Extract<keyof ISociety, string>[];
110
110
 
111
111
  @ApiPropertyOptional({
112
- default: ['societyConfig','brandType','societyGescom','oldExpertInfo','activity','follows','compta','subscriptionType','connector','permissions','societyDetails']
112
+ default: ['societyConfig','brandType','societyGescom','oldExpertInfo','activity','follows','compta','subscriptionType','connector','permissions']
113
113
  })
114
114
  @IsOptional()
115
115
  @IsString({
package/ts/types/index.ts CHANGED
@@ -844,6 +844,7 @@ export * from './Interface/api/bankAccount/Update';
844
844
  export * from './Interface/api/stripe/QueryStripe';
845
845
  export * from './Interface/api/stripe/ReadStripe';
846
846
  export * from './Interface/api/supervision/Query';
847
+ export * from './Interface/api/supervision/Read';
847
848
  export * from './Interface/api/salariesFile/ReadSalariesFile';
848
849
  export * from './Interface/api/salariesFile/CreateSalariesFile';
849
850
  export * from './Interface/api/shine/CreateShine';