@silexpert/core 1.0.84 → 1.0.87

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 (178) hide show
  1. package/es/api/resources/Inpi.d.ts +61 -0
  2. package/es/api/resources/Inpi.d.ts.map +1 -0
  3. package/es/api/resources/Inpi.js +78 -0
  4. package/es/api/resources/Inpi.js.map +1 -0
  5. package/es/api/resources/prestation.d.ts +11 -0
  6. package/es/api/resources/prestation.d.ts.map +1 -0
  7. package/es/api/resources/prestation.js +12 -0
  8. package/es/api/resources/prestation.js.map +1 -0
  9. package/es/api/resources.d.ts +4 -0
  10. package/es/api/resources.d.ts.map +1 -1
  11. package/es/api/resources.js +4 -0
  12. package/es/api/resources.js.map +1 -1
  13. package/es/types/Enum/AccountType.d.ts +10 -0
  14. package/es/types/Enum/AccountType.d.ts.map +1 -1
  15. package/es/types/Enum/AccountType.js +10 -0
  16. package/es/types/Enum/AccountType.js.map +1 -1
  17. package/es/types/Enum/BalanceSheet.js +1 -1
  18. package/es/types/Enum/BalanceSheet.js.map +1 -1
  19. package/es/types/Enum/CerfaType.d.ts +2 -1
  20. package/es/types/Enum/CerfaType.d.ts.map +1 -1
  21. package/es/types/Enum/CerfaType.js +2 -1
  22. package/es/types/Enum/CerfaType.js.map +1 -1
  23. package/es/types/Enum/InpiType.d.ts +39 -0
  24. package/es/types/Enum/InpiType.d.ts.map +1 -0
  25. package/es/types/Enum/InpiType.js +39 -0
  26. package/es/types/Enum/InpiType.js.map +1 -0
  27. package/es/types/Enum/PrestationType.d.ts +18 -1
  28. package/es/types/Enum/PrestationType.d.ts.map +1 -1
  29. package/es/types/Enum/PrestationType.js +44 -27
  30. package/es/types/Enum/PrestationType.js.map +1 -1
  31. package/es/types/Enum/ProcessingState.d.ts +7 -0
  32. package/es/types/Enum/ProcessingState.d.ts.map +1 -0
  33. package/es/types/Enum/ProcessingState.js +8 -0
  34. package/es/types/Enum/ProcessingState.js.map +1 -0
  35. package/es/types/Enum/TimeCounterType.d.ts +42 -0
  36. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  37. package/es/types/Enum/TimeCounterType.js +42 -0
  38. package/es/types/Enum/TimeCounterType.js.map +1 -1
  39. package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
  40. package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  41. package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  42. package/es/types/Interface/api/cerfa/2572.d.ts +91 -2
  43. package/es/types/Interface/api/cerfa/2572.d.ts.map +1 -1
  44. package/es/types/Interface/api/cerfa/2572.js +3 -1
  45. package/es/types/Interface/api/cerfa/2572.js.map +1 -1
  46. package/es/types/Interface/api/iDocus/CreateExport.d.ts +4 -0
  47. package/es/types/Interface/api/iDocus/CreateExport.d.ts.map +1 -0
  48. package/es/types/Interface/api/iDocus/CreateExport.js +21 -0
  49. package/es/types/Interface/api/iDocus/CreateExport.js.map +1 -0
  50. package/es/types/Interface/api/iDocus/iDocus.d.ts +35 -0
  51. package/es/types/Interface/api/iDocus/iDocus.d.ts.map +1 -0
  52. package/es/types/Interface/api/iDocus/iDocus.js +2 -0
  53. package/es/types/Interface/api/iDocus/iDocus.js.map +1 -0
  54. package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.d.ts +6 -0
  55. package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.d.ts.map +1 -0
  56. package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js +41 -0
  57. package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -0
  58. package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.d.ts +4 -0
  59. package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.d.ts.map +1 -0
  60. package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js +21 -0
  61. package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -0
  62. package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.d.ts +6 -0
  63. package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.d.ts.map +1 -0
  64. package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.js +2 -0
  65. package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.js.map +1 -0
  66. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.d.ts +10 -0
  67. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.d.ts.map +1 -0
  68. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js +75 -0
  69. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -0
  70. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.d.ts +4 -0
  71. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.d.ts.map +1 -0
  72. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js +21 -0
  73. package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -0
  74. package/es/types/Interface/api/pdf/ReadPdftkizer.d.ts +2 -0
  75. package/es/types/Interface/api/pdf/ReadPdftkizer.d.ts.map +1 -0
  76. package/es/types/Interface/api/pdf/ReadPdftkizer.js +2 -0
  77. package/es/types/Interface/api/pdf/ReadPdftkizer.js.map +1 -0
  78. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +2 -0
  79. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +1 -1
  80. package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +1 -1
  81. package/es/types/Interface/api/statistic/ExitRequest.d.ts +1 -0
  82. package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +1 -1
  83. package/es/types/Interface/api/statistic/ExitRequest.js.map +1 -1
  84. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -0
  85. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  86. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  87. package/es/types/Interface/models/IGedFile.d.ts +3 -0
  88. package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
  89. package/es/types/Interface/models/IGedFile.js.map +1 -1
  90. package/es/types/Interface/models/IInpiBalance.d.ts +10 -0
  91. package/es/types/Interface/models/IInpiBalance.d.ts.map +1 -0
  92. package/es/types/Interface/models/IInpiBalance.js +2 -0
  93. package/es/types/Interface/models/IInpiBalance.js.map +1 -0
  94. package/es/types/Interface/models/IInpiPayment.d.ts +29 -0
  95. package/es/types/Interface/models/IInpiPayment.d.ts.map +1 -0
  96. package/es/types/Interface/models/IInpiPayment.js +2 -0
  97. package/es/types/Interface/models/IInpiPayment.js.map +1 -0
  98. package/es/types/Interface/models/IRegulate.d.ts +1 -0
  99. package/es/types/Interface/models/IRegulate.d.ts.map +1 -1
  100. package/es/types/Interface/models/IRegulate.js.map +1 -1
  101. package/es/types/index.d.ts +13 -0
  102. package/es/types/index.d.ts.map +1 -1
  103. package/es/types/index.js +13 -0
  104. package/es/types/index.js.map +1 -1
  105. package/js/api/resources/Inpi.js +113 -0
  106. package/js/api/resources/Inpi.js.map +1 -0
  107. package/js/api/resources/prestation.js +23 -0
  108. package/js/api/resources/prestation.js.map +1 -0
  109. package/js/api/resources.js +6 -0
  110. package/js/api/resources.js.map +1 -1
  111. package/js/types/Enum/AccountType.js +10 -0
  112. package/js/types/Enum/AccountType.js.map +1 -1
  113. package/js/types/Enum/BalanceSheet.js +1 -1
  114. package/js/types/Enum/BalanceSheet.js.map +1 -1
  115. package/js/types/Enum/CerfaType.js +2 -1
  116. package/js/types/Enum/CerfaType.js.map +1 -1
  117. package/js/types/Enum/InpiType.js +44 -0
  118. package/js/types/Enum/InpiType.js.map +1 -0
  119. package/js/types/Enum/PrestationType.js +44 -27
  120. package/js/types/Enum/PrestationType.js.map +1 -1
  121. package/js/types/Enum/ProcessingState.js +14 -0
  122. package/js/types/Enum/ProcessingState.js.map +1 -0
  123. package/js/types/Enum/TimeCounterType.js +42 -0
  124. package/js/types/Enum/TimeCounterType.js.map +1 -1
  125. package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  126. package/js/types/Interface/api/cerfa/2572.js +6 -2
  127. package/js/types/Interface/api/cerfa/2572.js.map +1 -1
  128. package/js/types/Interface/api/iDocus/CreateExport.js +29 -0
  129. package/js/types/Interface/api/iDocus/CreateExport.js.map +1 -0
  130. package/js/types/Interface/api/iDocus/iDocus.js +6 -0
  131. package/js/types/Interface/api/iDocus/iDocus.js.map +1 -0
  132. package/js/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js +47 -0
  133. package/js/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -0
  134. package/js/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js +31 -0
  135. package/js/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -0
  136. package/js/types/Interface/api/inpiBalance/inpiBalanceStatistic.js +6 -0
  137. package/js/types/Interface/api/inpiBalance/inpiBalanceStatistic.js.map +1 -0
  138. package/js/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js +73 -0
  139. package/js/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -0
  140. package/js/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js +31 -0
  141. package/js/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -0
  142. package/js/types/Interface/api/pdf/ReadPdftkizer.js +6 -0
  143. package/js/types/Interface/api/pdf/ReadPdftkizer.js.map +1 -0
  144. package/js/types/Interface/models/IInpiBalance.js +6 -0
  145. package/js/types/Interface/models/IInpiBalance.js.map +1 -0
  146. package/js/types/Interface/models/IInpiPayment.js +6 -0
  147. package/js/types/Interface/models/IInpiPayment.js.map +1 -0
  148. package/js/types/index.js +156 -0
  149. package/js/types/index.js.map +1 -1
  150. package/package.json +1 -1
  151. package/ts/api/resources/Inpi.ts +89 -0
  152. package/ts/api/resources/prestation.ts +15 -0
  153. package/ts/api/resources.ts +4 -0
  154. package/ts/types/Enum/AccountType.ts +10 -0
  155. package/ts/types/Enum/BalanceSheet.ts +1 -1
  156. package/ts/types/Enum/CerfaType.ts +2 -1
  157. package/ts/types/Enum/InpiType.ts +40 -0
  158. package/ts/types/Enum/PrestationType.ts +44 -27
  159. package/ts/types/Enum/ProcessingState.ts +6 -0
  160. package/ts/types/Enum/TimeCounterType.ts +42 -0
  161. package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
  162. package/ts/types/Interface/api/cerfa/2572.ts +88 -2
  163. package/ts/types/Interface/api/iDocus/CreateExport.ts +10 -0
  164. package/ts/types/Interface/api/iDocus/iDocus.ts +35 -0
  165. package/ts/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.ts +28 -0
  166. package/ts/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.ts +10 -0
  167. package/ts/types/Interface/api/inpiBalance/inpiBalanceStatistic.ts +5 -0
  168. package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.ts +58 -0
  169. package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.ts +10 -0
  170. package/ts/types/Interface/api/pdf/ReadPdftkizer.ts +1 -0
  171. package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +2 -0
  172. package/ts/types/Interface/api/statistic/ExitRequest.ts +1 -0
  173. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
  174. package/ts/types/Interface/models/IGedFile.ts +3 -0
  175. package/ts/types/Interface/models/IInpiBalance.ts +12 -0
  176. package/ts/types/Interface/models/IInpiPayment.ts +31 -0
  177. package/ts/types/Interface/models/IRegulate.ts +1 -0
  178. package/ts/types/index.ts +13 -0
@@ -0,0 +1,58 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class QueryInpiPaymentPaginated {
4
+ @ApiProperty({
5
+ description: 'limit of element',
6
+ required: true,
7
+ type: Number,
8
+ default: 50,
9
+ example: 50,
10
+ })
11
+ limit: number;
12
+
13
+ @ApiProperty({
14
+ description: 'limit of element',
15
+ required: true,
16
+ type: Number,
17
+ default: 1,
18
+ example: 5,
19
+ })
20
+ page: number;
21
+
22
+ @ApiPropertyOptional({
23
+ description: 'list of selected cost type',
24
+ required: false,
25
+ type: String,
26
+ example: 'test',
27
+ })
28
+ search: string;
29
+
30
+ @ApiPropertyOptional({
31
+ description: 'list of selected cost type',
32
+ required: false,
33
+ example: [1, 2, 3],
34
+ })
35
+ costType: number[];
36
+
37
+ @ApiPropertyOptional({
38
+ description: 'end date of the paginated',
39
+ required: false,
40
+ type: String,
41
+ })
42
+ endDate: string;
43
+
44
+ @ApiPropertyOptional({
45
+ description: 'list of selected state',
46
+ required: false,
47
+ example: [1, 2, 3],
48
+ })
49
+ state: number[];
50
+
51
+ @ApiPropertyOptional({
52
+ description: 'id of a selected user',
53
+ required: false,
54
+ type: Number,
55
+ example: 1,
56
+ })
57
+ idUser: number;
58
+ }
@@ -0,0 +1,10 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class QueryInpiPaymentStatistic {
4
+ @ApiProperty({
5
+ description: 'date end of the statistic',
6
+ required: true,
7
+ type: Date,
8
+ })
9
+ endDate: Date;
10
+ }
@@ -0,0 +1 @@
1
+ export type ReadPdftkizerFill = string;
@@ -1,4 +1,5 @@
1
1
  import { GedFileType } from '../../../Enum/Ged';
2
+ import { IRegulate } from '../../models/IRegulate';
2
3
  import { ISociety } from '../../models/ISociety';
3
4
  import { ReadInvalidFieldState } from './ReadSociety';
4
5
 
@@ -8,4 +9,5 @@ export interface SocietyWithStatsCaParams extends ISociety {
8
9
  stateOfProgress?: string,
9
10
  isBillingOk?: boolean,
10
11
  labValidationDate?: Date | null
12
+ regulates?: IRegulate[]
11
13
  }
@@ -98,6 +98,7 @@ export interface ReturnListType {
98
98
  unpayed?: string[],
99
99
  terminated?: string[],
100
100
  archived?: string[],
101
+ labWaiting?: string[],
101
102
  labDetail?: CountLateToDoDone,
102
103
  labDetailExpert?: CountLateToDoDone,
103
104
  balanceSheet?: CountLateToDoDone,
@@ -39,6 +39,7 @@ export interface IAccountingTransaction {
39
39
  invoiceRequested?: boolean;
40
40
  isLockedMobile?: boolean;
41
41
  isAlreadyProcessByOcr?: boolean | null;
42
+ processingState?: number;
42
43
  idBankAccount: number | null;
43
44
  idSociety: number;
44
45
  idCurrency?: number | null;
@@ -3,6 +3,7 @@ import { ISociety } from './ISociety';
3
3
  import { IExercice } from './IExercice';
4
4
  import { IGedFileType } from './IGedFileType';
5
5
  import { IGedFolder } from './IGedFolder';
6
+ import { IUser } from './IUser';
6
7
 
7
8
  // gedFile
8
9
  export interface IGedFile {
@@ -15,6 +16,7 @@ export interface IGedFile {
15
16
  idSociety: number;
16
17
  idFile: number;
17
18
  idExercice?: number | null;
19
+ idUserBP?: number | null; // Attention: lorsqu'on ajoute un fichier dans la modale "Documents manquants", on stock ici l'idUser associé au BP
18
20
  createdAt?: Date | null;
19
21
  updatedAt?: Date | null;
20
22
 
@@ -24,4 +26,5 @@ export interface IGedFile {
24
26
  exercice?: IExercice;
25
27
  typeGedFile?: IGedFileType;
26
28
  gedFolder?: IGedFolder;
29
+ businessPartner?: IUser;
27
30
  }
@@ -0,0 +1,12 @@
1
+ import { IUser } from './IUser';
2
+
3
+ export interface IInpiBalance {
4
+ id?: number,
5
+ balance: number,
6
+ idUser: number,
7
+ createdAt?: Date;
8
+ updatedAt?: Date;
9
+
10
+ // Associations
11
+ user?: IUser;
12
+ }
@@ -0,0 +1,31 @@
1
+ import { ISociety } from './ISociety';
2
+ import { IUser } from './IUser';
3
+ import { IExercice } from './IExercice';
4
+ import { IPrestation } from './IPrestation';
5
+ import { IPaymentExpectation } from './IPaymentExpectation';
6
+
7
+ export interface IInpiPayment {
8
+ id?: number,
9
+ costType: string,
10
+ fileNumber: number,
11
+ amount: number,
12
+ commission: number,
13
+ type: number,
14
+ state: number,
15
+ idSociety: number
16
+ idUserWhoCreated: number,
17
+ idExercice: number,
18
+ idPrestationRelated: number,
19
+ idPrestation?: number,
20
+ idPaymentExpectation?: number,
21
+ createdAt?: Date;
22
+ updatedAt?: Date;
23
+
24
+ // Associations
25
+ society?: ISociety;
26
+ userWhoCreated?: IUser;
27
+ exercice?: IExercice;
28
+ prestationRelated?: IPrestation;
29
+ prestation?: IPrestation;
30
+ paymentExpectation?: IPaymentExpectation;
31
+ }
@@ -5,6 +5,7 @@ export interface IRegulate {
5
5
  id?: number;
6
6
  monthDate: Date;
7
7
  regulateAmount: number;
8
+ canceled: boolean;
8
9
  idUser: number;
9
10
  idSociety: number;
10
11
  idType: number;
package/ts/types/index.ts CHANGED
@@ -181,6 +181,8 @@ export * from './Interface/models/ISimulationHasBankAccount';
181
181
  export * from './Interface/models/ISimulationPeriod';
182
182
  export * from './Interface/models/ISimulationSummary';
183
183
  export * from './Interface/models/ISlowDetection';
184
+ export * from './Interface/models/IInpiBalance';
185
+ export * from './Interface/models/IInpiPayment';
184
186
  export * from './Interface/models/ISocialDetail';
185
187
  export * from './Interface/models/ISociety';
186
188
  export * from './Interface/models/ISocietyApproval';
@@ -318,6 +320,7 @@ export * from './Interface/models/ITimeRecorder';
318
320
  export * from './Interface/models/IInvoiceRecurrence';
319
321
  export * from './Interface/models/ILoanFile';
320
322
  export * from './Interface/models/ICommercialMail';
323
+ export * from './Interface/models/IRegistration';
321
324
 
322
325
  // Forms
323
326
  export * from './Form/FormAuthenticate';
@@ -454,6 +457,8 @@ export * from './Enum/OperationLegalNotice';
454
457
  export * from './Enum/OrderStatus';
455
458
  export * from './Enum/ReportService';
456
459
  export * from './Enum/RegulateType';
460
+ export * from './Enum/ProcessingState';
461
+ export * from './Enum/InpiType';
457
462
 
458
463
  // Interfaces API
459
464
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
@@ -610,6 +615,11 @@ export * from './Interface/api/timeRecorder/ReadAttendanceHours';
610
615
  export * from './Interface/api/timeRecorder/ReadPaginatedDelays';
611
616
  export * from './Interface/api/timeRecorder/ReadUsersNotConnected';
612
617
  export * from './Interface/api/timeRecorder/UpdateRecorder';
618
+ export * from './Interface/api/inpiBalance/QueryInpiBalanceStatistic';
619
+ export * from './Interface/api/inpiBalance/QueryInpiBalancePaginated';
620
+ export * from './Interface/api/inpiBalance/inpiBalanceStatistic';
621
+ export * from './Interface/api/inpiPayment/QueryInpiPaymentStatistic';
622
+ export * from './Interface/api/inpiPayment/QueryInpiPaymentPaginated';
613
623
 
614
624
  // export * from './Interface/api/survey/QuerySurvey';
615
625
  export * from './Interface/api/survey/ReadSurvey';
@@ -831,6 +841,9 @@ export * from './Interface/api/terminationList/QueryTerminationList';
831
841
  export * from './Interface/api/terminationList/DestroyTerminationList';
832
842
  export * from './Interface/api/pdf/ReadPdfizer';
833
843
  export * from './Interface/api/gedFile/updateGedFile';
844
+ export * from './Interface/api/iDocus/iDocus';
845
+ export * from './Interface/api/iDocus/CreateExport';
846
+ export * from './Interface/api/pdf/ReadPdftkizer';
834
847
 
835
848
  // Enums types
836
849
  export * from './Interface/enum/Util';