@silexpert/core 1.1.122 → 1.1.124

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 (118) hide show
  1. package/es/api/resources/DocumentSection.d.ts +33 -0
  2. package/es/api/resources/DocumentSection.d.ts.map +1 -0
  3. package/es/api/resources/DocumentSection.js +38 -0
  4. package/es/api/resources/DocumentSection.js.map +1 -0
  5. package/es/api/resources/Library.d.ts +2 -1
  6. package/es/api/resources/Library.d.ts.map +1 -1
  7. package/es/api/resources/Library.js +3 -0
  8. package/es/api/resources/Library.js.map +1 -1
  9. package/es/api/resources/Log.d.ts +6 -0
  10. package/es/api/resources/Log.d.ts.map +1 -1
  11. package/es/api/resources/Log.js +8 -0
  12. package/es/api/resources/Log.js.map +1 -1
  13. package/es/api/resources/SocietyDetail.d.ts +7 -0
  14. package/es/api/resources/SocietyDetail.d.ts.map +1 -0
  15. package/es/api/resources/SocietyDetail.js +10 -0
  16. package/es/api/resources/SocietyDetail.js.map +1 -0
  17. package/es/api/resources/StatutsGeneration.d.ts +17 -0
  18. package/es/api/resources/StatutsGeneration.d.ts.map +1 -0
  19. package/es/api/resources/StatutsGeneration.js +20 -0
  20. package/es/api/resources/StatutsGeneration.js.map +1 -0
  21. package/es/api/resources.d.ts +6 -0
  22. package/es/api/resources.d.ts.map +1 -1
  23. package/es/api/resources.js +6 -0
  24. package/es/api/resources.js.map +1 -1
  25. package/es/types/Enum/Log.d.ts +8 -1
  26. package/es/types/Enum/Log.d.ts.map +1 -1
  27. package/es/types/Enum/Log.js +7 -0
  28. package/es/types/Enum/Log.js.map +1 -1
  29. package/es/types/Enum/MachineLearning.d.ts +1 -0
  30. package/es/types/Enum/MachineLearning.d.ts.map +1 -1
  31. package/es/types/Enum/MachineLearning.js +1 -0
  32. package/es/types/Enum/MachineLearning.js.map +1 -1
  33. package/es/types/Enum/MissionAcceptation.d.ts +9 -0
  34. package/es/types/Enum/MissionAcceptation.d.ts.map +1 -0
  35. package/es/types/Enum/MissionAcceptation.js +13 -0
  36. package/es/types/Enum/MissionAcceptation.js.map +1 -0
  37. package/es/types/Enum/StatutsSection.d.ts +90 -0
  38. package/es/types/Enum/StatutsSection.d.ts.map +1 -0
  39. package/es/types/Enum/StatutsSection.js +449 -0
  40. package/es/types/Enum/StatutsSection.js.map +1 -0
  41. package/es/types/Interface/api/documentSection/Update.d.ts +8 -0
  42. package/es/types/Interface/api/documentSection/Update.d.ts.map +1 -0
  43. package/es/types/Interface/api/{society/CreateSocietyDetail.js → documentSection/Update.js} +21 -9
  44. package/es/types/Interface/api/documentSection/Update.js.map +1 -0
  45. package/es/types/Interface/api/library/QueryLibrary.d.ts +5 -0
  46. package/es/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  47. package/es/types/Interface/api/library/QueryLibrary.js +22 -2
  48. package/es/types/Interface/api/library/QueryLibrary.js.map +1 -1
  49. package/es/types/Interface/api/society/GetSocietyDetail.d.ts +4 -0
  50. package/es/types/Interface/api/society/GetSocietyDetail.d.ts.map +1 -0
  51. package/es/types/Interface/api/society/GetSocietyDetail.js +20 -0
  52. package/es/types/Interface/api/society/GetSocietyDetail.js.map +1 -0
  53. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.d.ts +9 -0
  54. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.d.ts.map +1 -0
  55. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js +35 -0
  56. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js.map +1 -0
  57. package/es/types/Interface/models/IDocumentSection.d.ts +13 -0
  58. package/es/types/Interface/models/IDocumentSection.d.ts.map +1 -0
  59. package/es/types/Interface/models/IDocumentSection.js +2 -0
  60. package/es/types/Interface/models/IDocumentSection.js.map +1 -0
  61. package/es/types/index.d.ts +6 -1
  62. package/es/types/index.d.ts.map +1 -1
  63. package/es/types/index.js +6 -1
  64. package/es/types/index.js.map +1 -1
  65. package/js/api/resources/DocumentSection.js +45 -0
  66. package/js/api/resources/DocumentSection.js.map +1 -0
  67. package/js/api/resources/Library.js +10 -0
  68. package/js/api/resources/Library.js.map +1 -1
  69. package/js/api/resources/Log.js +10 -0
  70. package/js/api/resources/Log.js.map +1 -1
  71. package/js/api/resources/SocietyDetail.js +21 -0
  72. package/js/api/resources/SocietyDetail.js.map +1 -0
  73. package/js/api/resources/StatutsGeneration.js +27 -0
  74. package/js/api/resources/StatutsGeneration.js.map +1 -0
  75. package/js/api/resources.js +6 -0
  76. package/js/api/resources.js.map +1 -1
  77. package/js/types/Enum/Log.js +7 -0
  78. package/js/types/Enum/Log.js.map +1 -1
  79. package/js/types/Enum/MachineLearning.js +1 -0
  80. package/js/types/Enum/MachineLearning.js.map +1 -1
  81. package/js/types/Enum/MissionAcceptation.js +29 -0
  82. package/js/types/Enum/MissionAcceptation.js.map +1 -0
  83. package/js/types/Enum/StatutsSection.js +382 -0
  84. package/js/types/Enum/StatutsSection.js.map +1 -0
  85. package/js/types/Interface/api/documentSection/Update.js +26 -0
  86. package/js/types/Interface/api/documentSection/Update.js.map +1 -0
  87. package/js/types/Interface/api/library/QueryLibrary.js +11 -2
  88. package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
  89. package/js/types/Interface/api/society/{CreateSocietyDetail.js → GetSocietyDetail.js} +7 -7
  90. package/js/types/Interface/api/society/GetSocietyDetail.js.map +1 -0
  91. package/js/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js +25 -0
  92. package/js/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js.map +1 -0
  93. package/js/types/Interface/models/IDocumentSection.js +6 -0
  94. package/js/types/Interface/models/IDocumentSection.js.map +1 -0
  95. package/js/types/index.js +62 -12
  96. package/js/types/index.js.map +1 -1
  97. package/package.json +1 -1
  98. package/ts/api/resources/DocumentSection.ts +44 -0
  99. package/ts/api/resources/Library.ts +5 -1
  100. package/ts/api/resources/Log.ts +9 -0
  101. package/ts/api/resources/SocietyDetail.ts +15 -0
  102. package/ts/api/resources/StatutsGeneration.ts +23 -0
  103. package/ts/api/resources.ts +6 -0
  104. package/ts/types/Enum/Log.ts +7 -0
  105. package/ts/types/Enum/MachineLearning.ts +2 -1
  106. package/ts/types/Enum/MissionAcceptation.ts +13 -0
  107. package/ts/types/Enum/StatutsSection.ts +459 -0
  108. package/ts/types/Interface/api/documentSection/Update.ts +31 -0
  109. package/ts/types/Interface/api/library/QueryLibrary.ts +18 -3
  110. package/ts/types/Interface/api/society/GetSocietyDetail.ts +9 -0
  111. package/ts/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.ts +23 -0
  112. package/ts/types/Interface/models/IDocumentSection.ts +15 -0
  113. package/ts/types/index.ts +6 -1
  114. package/es/types/Interface/api/society/CreateSocietyDetail.d.ts +0 -6
  115. package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +0 -1
  116. package/es/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
  117. package/js/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
  118. package/ts/types/Interface/api/society/CreateSocietyDetail.ts +0 -19
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsEnum, IsDateString,
2
+ IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsEnum, IsDateString,
3
3
  } from 'class-validator';
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
@@ -60,7 +60,7 @@ export class QueryLibraryFile {
60
60
  @IsString({
61
61
  each: true,
62
62
  })
63
- @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed'], { each: true })
63
+ @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })
64
64
  include?: string[];
65
65
  }
66
66
 
@@ -102,7 +102,6 @@ export class UpdateOrCreateGedFile {
102
102
  }
103
103
 
104
104
  export class QueryLibrarySociety extends RequiredQueryPaginate {
105
-
106
105
  @ApiProperty()
107
106
  @IsEnum(GedCategory, { each: true })
108
107
  idGedCategories: GedCategory[];
@@ -124,4 +123,20 @@ export class QueryLibrarySociety extends RequiredQueryPaginate {
124
123
 
125
124
  @ApiPropertyOptional()
126
125
  orderBy?: Order;
126
+ }
127
+ export class QueryLastFileOfType {
128
+ @ApiProperty()
129
+ @IsInt()
130
+ idSociety: number;
131
+
132
+ @ApiProperty()
133
+ idTypeGedFile: GedFileType;
134
+
135
+ @ApiPropertyOptional()
136
+ @IsOptional()
137
+ @IsString({
138
+ each: true,
139
+ })
140
+ @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })
141
+ include?: string[];
127
142
  }
@@ -0,0 +1,9 @@
1
+ import { IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class GetSocietyDetail {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsString({ each: true })
8
+ attributes?: string[];
9
+ }
@@ -0,0 +1,23 @@
1
+ import {
2
+ IsInt, IsObject, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
5
+
6
+ export class IntentToPayPrestationParams {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ idPrestation: number;
10
+
11
+ @ApiProperty()
12
+ @IsInt()
13
+ idExercice: number;
14
+
15
+ @ApiProperty()
16
+ @IsString()
17
+ payment_method: string;
18
+
19
+ @ApiPropertyOptional()
20
+ @IsObject()
21
+ @IsOptional()
22
+ metadata?: { [key: string]: any };
23
+ }
@@ -0,0 +1,15 @@
1
+ import { IGedFile } from './IGedFile';
2
+
3
+ export interface IDocumentSection {
4
+ id?: number,
5
+ title: string | null,
6
+ idDocumentSectionType?: number,
7
+ htmlContent: string,
8
+ number: number,
9
+ idGedFile: number,
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+
13
+ // Associations
14
+ gedFile?: IGedFile;
15
+ }
package/ts/types/index.ts CHANGED
@@ -169,6 +169,7 @@ export * from './Interface/models/ISimulationHasBankAccount';
169
169
  export * from './Interface/models/ISimulationPeriod';
170
170
  export * from './Interface/models/ISimulationSummary';
171
171
  export * from './Interface/models/ISlowDetection';
172
+ export * from './Interface/models/IDocumentSection';
172
173
  export * from './Interface/models/IInpiBalance';
173
174
  export * from './Interface/models/IInpiPayment';
174
175
  export * from './Interface/models/ISocialDetail';
@@ -338,6 +339,7 @@ export * from './Enum/Quality';
338
339
  export * from './Enum/AbsenceType';
339
340
  export * from './Enum/Role';
340
341
  export * from './Enum/RoleDetail';
342
+ export * from './Enum/StatutsSection';
341
343
  export * from './Enum/PrestationOption';
342
344
  export * from './Enum/TimeCounterType';
343
345
  export * from './Enum/CustomerSignature';
@@ -484,6 +486,7 @@ export * from './Enum/ThirdParty';
484
486
  export * from './Enum/PaymentExpectation';
485
487
  export * from './Enum/FollowList';
486
488
  export * from './Enum/ClientOrProspect';
489
+ export * from './Enum/MissionAcceptation';
487
490
  export * from './Enum/Bank';
488
491
 
489
492
  // Interfaces API
@@ -574,7 +577,7 @@ export * from './Interface/api/commercial/QueryFetchDialogDatasInfosOk';
574
577
  export * from './Interface/api/commercial/QueryMovePrestationsToNextMonth';
575
578
  export * from './Interface/api/society/GetDataSociety';
576
579
  export * from './Interface/api/society/CreateSociety';
577
- export * from './Interface/api/society/CreateSocietyDetail';
580
+ export * from './Interface/api/society/GetSocietyDetail';
578
581
  export * from './Interface/api/society/UpdateSociety';
579
582
  export * from './Interface/api/society/ListUserSociety';
580
583
  export * from './Interface/api/society/CreateUserToSocietyWithPermission';
@@ -614,6 +617,7 @@ export * from './Interface/api/exercice/QueryExercice';
614
617
  export * from './Interface/api/exercice/CreateExercice';
615
618
  export * from './Interface/api/exercice/UpdateExercice';
616
619
  export * from './Interface/api/statutsGeneration/UpdateExerciceParams';
620
+ export * from './Interface/api/statutsGeneration/IntentToPayPrestationParams';
617
621
  export * from './Interface/api/statutsGeneration/SendInviteMailParams';
618
622
  export * from './Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams';
619
623
  export * from './Interface/api/accountingIncome/ReadAccountingIncome';
@@ -893,6 +897,7 @@ export * from './Interface/api/commercialManagement/Create';
893
897
  export * from './Interface/api/commercialManagement/Read';
894
898
  export * from './Interface/api/commercialManagement/Query';
895
899
  export * from './Interface/api/commercialManagement/Update';
900
+ export * from './Interface/api/documentSection/Update';
896
901
  export * from './Interface/api/connector/CreateConnector';
897
902
  export * from './Interface/api/connector/QueryConnector';
898
903
  export * from './Interface/api/connection/QueryConnectionState';
@@ -1,6 +0,0 @@
1
- export declare class CreateSocietyDetail {
2
- personnalContributionCapital?: string | null;
3
- personnalContributionCurrentBankAccount?: string | null;
4
- personnalContributionInKind?: string | null;
5
- }
6
- //# sourceMappingURL=CreateSocietyDetail.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSocietyDetail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSocietyDetail.ts"],"names":[],"mappings":"AAGA,qBAAa,mBAAmB;IAI5B,4BAA4B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK7C,uCAAuC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxD,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSocietyDetail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSocietyDetail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,mBAAmB;CAe/B;AAdC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yEACoC;AAE/C;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oFAC+C;AAE1D;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;wEACmC","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateSocietyDetail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCapital?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCurrentBankAccount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionInKind?: string | null;\n}"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSocietyDetail.js","names":["_classValidator","require","_utils","CreateSocietyDetail","exports","__decorate","ApiPropertyOptional","IsOptional","IsString"],"sources":["../../../../../ts/types/Interface/api/society/CreateSocietyDetail.ts"],"sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateSocietyDetail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCapital?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCurrentBankAccount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionInKind?: string | null;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,mBAAmB;AAe/BC,OAAA,CAfYD,mBAAmB,GAAnBA,mBAAmB;AAC9BE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,0GACoC;AAE/CH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,qHAC+C;AAE1DH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,yGACmC"}
@@ -1,19 +0,0 @@
1
- import { IsOptional, IsString } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils';
3
-
4
- export class CreateSocietyDetail {
5
- @ApiPropertyOptional()
6
- @IsOptional()
7
- @IsString()
8
- personnalContributionCapital?: string | null;
9
-
10
- @ApiPropertyOptional()
11
- @IsOptional()
12
- @IsString()
13
- personnalContributionCurrentBankAccount?: string | null;
14
-
15
- @ApiPropertyOptional()
16
- @IsOptional()
17
- @IsString()
18
- personnalContributionInKind?: string | null;
19
- }