@silexpert/core 0.4.100 → 0.4.102

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 (135) hide show
  1. package/es/api/resources/AccountsSectors.d.ts +8 -0
  2. package/es/api/resources/AccountsSectors.d.ts.map +1 -0
  3. package/es/api/resources/AccountsSectors.js +13 -0
  4. package/es/api/resources/AccountsSectors.js.map +1 -0
  5. package/es/api/resources/QuotesAccount.d.ts +2 -1
  6. package/es/api/resources/QuotesAccount.d.ts.map +1 -1
  7. package/es/api/resources/QuotesAccount.js +4 -1
  8. package/es/api/resources/QuotesAccount.js.map +1 -1
  9. package/es/api/resources/Vehicle.d.ts +12 -0
  10. package/es/api/resources/Vehicle.d.ts.map +1 -0
  11. package/es/api/resources/Vehicle.js +19 -0
  12. package/es/api/resources/Vehicle.js.map +1 -0
  13. package/es/types/Enum/AccountsSectors.d.ts +255 -0
  14. package/es/types/Enum/AccountsSectors.d.ts.map +1 -0
  15. package/es/types/Enum/AccountsSectors.js +255 -0
  16. package/es/types/Enum/AccountsSectors.js.map +1 -0
  17. package/es/types/Enum/RevisionGuide.d.ts +18 -12
  18. package/es/types/Enum/RevisionGuide.d.ts.map +1 -1
  19. package/es/types/Enum/RevisionGuide.js +17 -11
  20. package/es/types/Enum/RevisionGuide.js.map +1 -1
  21. package/es/types/Interface/api/account/ReadQuoteAccount.d.ts +3 -1
  22. package/es/types/Interface/api/account/ReadQuoteAccount.d.ts.map +1 -1
  23. package/es/types/Interface/api/account/ReadQuoteAccount.js.map +1 -1
  24. package/es/types/Interface/api/quotes/CreateQuoteAccount.d.ts +6 -0
  25. package/es/types/Interface/api/quotes/CreateQuoteAccount.d.ts.map +1 -0
  26. package/es/types/Interface/api/quotes/CreateQuoteAccount.js +25 -0
  27. package/es/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -0
  28. package/es/types/Interface/api/quotes/QueryQuotesAccount.d.ts +1 -0
  29. package/es/types/Interface/api/quotes/QueryQuotesAccount.d.ts.map +1 -1
  30. package/es/types/Interface/api/quotes/QueryQuotesAccount.js +4 -0
  31. package/es/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
  32. package/es/types/Interface/api/report/QueryReports.d.ts +1 -1
  33. package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  34. package/es/types/Interface/api/report/QueryReports.js +1 -1
  35. package/es/types/Interface/api/report/QueryReports.js.map +1 -1
  36. package/es/types/Interface/api/report/UpdateReport.d.ts +5 -0
  37. package/es/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  38. package/es/types/Interface/api/report/UpdateReport.js.map +1 -1
  39. package/es/types/Interface/api/society/CreateSociety.d.ts +1 -0
  40. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  41. package/es/types/Interface/api/society/CreateSociety.js +4 -0
  42. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  43. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +5 -5
  44. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  45. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -6
  46. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  47. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +3 -3
  48. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  49. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  50. package/es/types/Interface/api/user/CreateUser.d.ts +1 -0
  51. package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -1
  52. package/es/types/Interface/api/user/CreateUser.js +4 -0
  53. package/es/types/Interface/api/user/CreateUser.js.map +1 -1
  54. package/es/types/Interface/api/vehicle/CreateSocietyVehicle.d.ts +17 -0
  55. package/es/types/Interface/api/vehicle/CreateSocietyVehicle.d.ts.map +1 -0
  56. package/es/types/Interface/api/vehicle/CreateSocietyVehicle.js +69 -0
  57. package/es/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -0
  58. package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.d.ts +17 -0
  59. package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.d.ts.map +1 -0
  60. package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.js +69 -0
  61. package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -0
  62. package/es/types/Interface/models/IAccount.d.ts +2 -0
  63. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  64. package/es/types/Interface/models/IAccount.js.map +1 -1
  65. package/es/types/Interface/models/IAccountsSectors.d.ts +6 -0
  66. package/es/types/Interface/models/IAccountsSectors.d.ts.map +1 -0
  67. package/es/types/Interface/models/IAccountsSectors.js +2 -0
  68. package/es/types/Interface/models/IAccountsSectors.js.map +1 -0
  69. package/es/types/Interface/models/IBankAccount.d.ts +10 -9
  70. package/es/types/Interface/models/IBankAccount.d.ts.map +1 -1
  71. package/es/types/Interface/models/IBankAccount.js.map +1 -1
  72. package/es/types/Interface/models/ISocietyVehicle.d.ts +7 -0
  73. package/es/types/Interface/models/ISocietyVehicle.d.ts.map +1 -1
  74. package/es/types/Interface/models/ISocietyVehicle.js.map +1 -1
  75. package/es/types/Interface/models/IUser.d.ts +20 -19
  76. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  77. package/es/types/Interface/models/IUser.js.map +1 -1
  78. package/es/types/index.d.ts +5 -0
  79. package/es/types/index.d.ts.map +1 -1
  80. package/es/types/index.js +5 -0
  81. package/es/types/index.js.map +1 -1
  82. package/js/api/resources/AccountsSectors.js +26 -0
  83. package/js/api/resources/AccountsSectors.js.map +1 -0
  84. package/js/api/resources/QuotesAccount.js +5 -3
  85. package/js/api/resources/QuotesAccount.js.map +1 -1
  86. package/js/api/resources/Vehicle.js +34 -0
  87. package/js/api/resources/Vehicle.js.map +1 -0
  88. package/js/types/Enum/AccountsSectors.js +260 -0
  89. package/js/types/Enum/AccountsSectors.js.map +1 -0
  90. package/js/types/Enum/RevisionGuide.js +17 -11
  91. package/js/types/Enum/RevisionGuide.js.map +1 -1
  92. package/js/types/Interface/api/quotes/CreateQuoteAccount.js +31 -0
  93. package/js/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -0
  94. package/js/types/Interface/api/quotes/QueryQuotesAccount.js +2 -0
  95. package/js/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
  96. package/js/types/Interface/api/report/QueryReports.js +1 -1
  97. package/js/types/Interface/api/report/QueryReports.js.map +1 -1
  98. package/js/types/Interface/api/society/CreateSociety.js +2 -0
  99. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  100. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -6
  101. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  102. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  103. package/js/types/Interface/api/user/CreateUser.js +2 -0
  104. package/js/types/Interface/api/user/CreateUser.js.map +1 -1
  105. package/js/types/Interface/api/vehicle/CreateSocietyVehicle.js +53 -0
  106. package/js/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -0
  107. package/js/types/Interface/api/vehicle/UpdateSocietyVehicle.js +53 -0
  108. package/js/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -0
  109. package/js/types/Interface/models/IAccountsSectors.js +6 -0
  110. package/js/types/Interface/models/IAccountsSectors.js.map +1 -0
  111. package/js/types/index.js +60 -0
  112. package/js/types/index.js.map +1 -1
  113. package/package.json +1 -1
  114. package/ts/api/resources/AccountsSectors.ts +16 -0
  115. package/ts/api/resources/QuotesAccount.ts +8 -2
  116. package/ts/api/resources/Vehicle.ts +33 -0
  117. package/ts/types/Enum/AccountsSectors.ts +254 -0
  118. package/ts/types/Enum/RevisionGuide.ts +17 -11
  119. package/ts/types/Interface/api/account/ReadQuoteAccount.ts +4 -2
  120. package/ts/types/Interface/api/quotes/CreateQuoteAccount.ts +12 -0
  121. package/ts/types/Interface/api/quotes/QueryQuotesAccount.ts +3 -0
  122. package/ts/types/Interface/api/report/QueryReports.ts +1 -1
  123. package/ts/types/Interface/api/report/UpdateReport.ts +5 -0
  124. package/ts/types/Interface/api/society/CreateSociety.ts +3 -0
  125. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +6 -6
  126. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +3 -3
  127. package/ts/types/Interface/api/user/CreateUser.ts +2 -0
  128. package/ts/types/Interface/api/vehicle/CreateSocietyVehicle.ts +45 -0
  129. package/ts/types/Interface/api/vehicle/UpdateSocietyVehicle.ts +45 -0
  130. package/ts/types/Interface/models/IAccount.ts +2 -0
  131. package/ts/types/Interface/models/IAccountsSectors.ts +6 -0
  132. package/ts/types/Interface/models/IBankAccount.ts +10 -9
  133. package/ts/types/Interface/models/ISocietyVehicle.ts +7 -0
  134. package/ts/types/Interface/models/IUser.ts +20 -19
  135. package/ts/types/index.ts +5 -0
@@ -51,28 +51,34 @@ export enum RevisionGuideId {
51
51
  ETABLISSEMENT_NUIT = 49,
52
52
  NEGOCE = 50,
53
53
  IMPORT_EXPORT = 51,
54
+ ETATS_CFE = 52,
55
+ BROCHURE_GENEREE = 53,
56
+ LIASSE_GENEREE = 54,
54
57
  }
55
58
 
56
59
  export enum RevisionGuideLabel {
57
- CAPITAUX = '<b>Capitaux :</b> Avez vous vérifier les documents juridique (PV AG, KBIS, Statuts, DBE) ?',
58
- EMPRUNT = '<b>Emprunt :</b> avez vous fait un rapprochement emprunt ?',
60
+ CAPITAUX = '<b>Capitaux :</b> Avez vous vérifié les documents juridiques (PV AG, KBIS, Statuts, DBE) ?',
61
+ EMPRUNT = '<b>Emprunt :</b> Avez vous fait un rapprochement emprunt ?',
59
62
  IMMO = '<b>Immo :</b> votre rapprochement immobilisation a t-il été réalisé ?',
60
63
  STOCK = '<b>Stock :</b> Avez vous obtenu l’état du stock ?',
61
- SALAIRE = '<b>Salaire :</b> avez vous pointé les comptes liés à la rémunération du personnel ?',
64
+ SALAIRE = '<b>Salaire :</b> Avez vous pointé les comptes liés à la rémunération du personnel ?',
62
65
  SALAIRE_DADS = 'Avez vous réalisé votre rapprochement DADS, Taxe apprentissage, congés payés et formation ?',
63
66
  SALAIRE_TNS = 'Avez vous réalisé votre provision TNS ?',
67
+ BROCHURE_GENEREE = 'Avez vous généré la plaquette ?',
68
+ LIASSE_GENEREE = 'Avez vous généré la liasse ?',
64
69
  BANK = '<b>Banque :</b> Avez vous obtenu tous les relevés bancaires ?',
65
- RELEVES_BANCAIRES = 'Avez vous obtenu le relevés caisse ?',
66
- CHARGES = '<b>Charges :</b> Avez vous fait un sondage des factures des plus gros montant dans les comptes de charges suivant : 601,604,607,611,623,626 ?',
67
- ETATS = '<b>États :</b> Avez vous réalisé contrôle de TVA / TVS / CFE / CVAE ?',
68
- ETATS_AMORTISSEMENTS = 'Avez vous réalisé RF amortissement excédentaires ?',
70
+ RELEVES_BANCAIRES = 'Avez vous obtenu le relevé de caisse ?',
71
+ CHARGES = '<b>Charges :</b> Avez vous fait un sondage des factures des plus gros montant dans les comptes de charges suivants : 601, 604, 607, 611, 623, 626 ?',
72
+ ETATS = '<b>États :</b> Avez vous réalisé le contrôle de TVA ?',
73
+ ETATS_CFE = '<b>États :</b> Avez vous réalisé le contrôle de TVS / CFE / CVAE ?',
74
+ ETATS_AMORTISSEMENTS = 'Avez vous réalisé le RF amortissement excédentaires ?',
69
75
  AUTRE_COMPTE = '<b>Autre compte :</b> Avez vous vérifié l’origine des apports ?',
70
- PERIODICITE = 'Avez vous vérifier la périodicité des comptes de location, abonnement, téléphone et internet ?',
71
- FACTURES_SUPERIEUR_500 = 'Avez vous obtenue les factures supérieur à 500€ ?',
76
+ PERIODICITE = 'Avez vous vérifé la périodicité des comptes de location, abonnement, téléphone et internet ?',
77
+ FACTURES_SUPERIEUR_500 = 'Avez vous obtenu les factures supérieures à 500€ ?',
72
78
  CUTT_OFF = 'Avez vous le cut-off ?',
73
79
  PRODUCT_GESCOM = 'Produit : Avez vous obtenu la GESCOM ?',
74
- FAE_AAE = 'Avez vous vérifier les FAE, AAE ?',
75
- PROVISIONS_TNS = 'Avez vous vérifier les provisions TNS ?',
80
+ FAE_AAE = 'Avez vous vérifié les FAE, AAE ?',
81
+ PROVISIONS_TNS = 'Avez vous vérifié les provisions TNS ?',
76
82
  A_SIGNER_CA = 'CA',
77
83
  A_SIGNER_CCA = 'CCA',
78
84
  A_SIGNER_INVENTAIRE = 'Inventaire',
@@ -4,5 +4,7 @@ export interface ReadQuoteAccount {
4
4
  amount: number;
5
5
  label: string;
6
6
  date: Date;
7
- categories: Array<IAccount>;
8
- }
7
+ category: IAccount;
8
+ baseAmount: number;
9
+ idAccountingTransaction: number;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class CreateQuotesAccount {
4
+ @ApiProperty()
5
+ idAccount: number;
6
+
7
+ @ApiProperty()
8
+ idExercice: number;
9
+
10
+ @ApiProperty()
11
+ quoteAmount: number;
12
+ }
@@ -9,4 +9,7 @@ export class QueryQuotesAccount {
9
9
 
10
10
  @ApiProperty()
11
11
  quoteAmount: number;
12
+
13
+ @ApiProperty()
14
+ idAccountingTransaction: number;
12
15
  }
@@ -20,5 +20,5 @@ export class QueryReports {
20
20
  state?: number;
21
21
 
22
22
  @ApiPropertyOptional()
23
- idUser?: number;
23
+ idUser?: number | number[];
24
24
  }
@@ -4,5 +4,10 @@ export interface UpdateReport extends IReport {
4
4
  idUser: number,
5
5
  comment?: string,
6
6
  note?: string,
7
+ declareSoupcons?: boolean,
8
+ state?: number,
9
+ informerjlb?: boolean,
10
+ ressenti?: number,
11
+ action?: number,
7
12
  societyUsers?: IUser[]
8
13
  }
@@ -57,4 +57,7 @@ export class CreateSociety {
57
57
 
58
58
  @ApiPropertyOptional()
59
59
  idTaxSystem?: number;
60
+
61
+ @ApiPropertyOptional()
62
+ idSector?: number;
60
63
  }
@@ -6,7 +6,7 @@ import { BalanceSheetState } from '../../../Enum/BalanceSheet';
6
6
 
7
7
  export class QueryTaxDeadline {
8
8
  @ApiProperty({ description: 'Identifiant du collaborateur' })
9
- idUser: number;
9
+ idUser: number | number[];
10
10
 
11
11
  @ApiPropertyOptional({ description: 'Chiffre d\'affaires prévisionnel minimum' })
12
12
  minimalTurnover?: number;
@@ -26,11 +26,11 @@ export class QueryTaxDeadline {
26
26
  @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })
27
27
  idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];
28
28
 
29
- @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })
30
- closingDate?: string;
29
+ @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })
30
+ closingDate?: string | string[];
31
31
 
32
32
  @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })
33
- year?: string;
33
+ year?: string | string[];
34
34
 
35
35
  @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })
36
36
  search?: string;
@@ -47,7 +47,7 @@ export class QueryTaxDeadline {
47
47
 
48
48
  export class QueryTaxDeadlineStatistics {
49
49
  @ApiProperty({ description: 'Identifiant du collaborateur' })
50
- idUser: number;
50
+ idUser: number | number[];
51
51
 
52
52
  @ApiPropertyOptional({ description: 'Chiffre d\'affaires prévisionnel minimum' })
53
53
  minimalTurnover?: number;
@@ -71,7 +71,7 @@ export class QueryTaxDeadlineStatistics {
71
71
  closingDate?: string;
72
72
 
73
73
  @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })
74
- year?: string;
74
+ year?: string | string[];
75
75
 
76
76
  @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })
77
77
  search?: string;
@@ -7,9 +7,8 @@ import { IExerciceDetail } from '../../models/IExerciceDetail';
7
7
  import { IFile } from '../../models/IFile';
8
8
  import { IUser } from '../../models/IUser';
9
9
  import { ITerminationList } from '../../models/ITerminationList';
10
- import { UnpaidDetail } from '../../..';
10
+ import { UnpaidDetail, IPendingPoint } from '../../..';
11
11
  import { ICustomerTva } from '../../models/ICustomerTva';
12
- import { ISupervisionPendingPoint } from '../../models/ISupervisionPendingPoint';
13
12
 
14
13
  export class ReadTaxDeadline {
15
14
  society: {
@@ -25,6 +24,7 @@ export class ReadTaxDeadline {
25
24
  unpaidDetails: UnpaidDetail[];
26
25
  isLate: boolean;
27
26
  };
27
+ accountant: IUser;
28
28
  exercice: IExercice;
29
29
  exercices: IExercice[];
30
30
  exerciceDetails: IExerciceDetail | null;
@@ -32,7 +32,7 @@ export class ReadTaxDeadline {
32
32
  commercial: IUser | null;
33
33
  balanceSheet: IBalanceSheet | null;
34
34
  supervision: ISupervision | null;
35
- pendingPoints: ISupervisionPendingPoint[] | null;
35
+ pendingPoints: IPendingPoint[] | null;
36
36
  letter: IFile | null;
37
37
  prestations: PrestationTaxDeadline[];
38
38
  activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];
@@ -15,4 +15,6 @@ export class CreateUser {
15
15
  acceptCgv?: boolean; // not sure if needed (maybe more a front notion)
16
16
  @ApiPropertyOptional()
17
17
  acceptNewsletter?: boolean;
18
+ @ApiPropertyOptional()
19
+ affiliateTrackingId?: number;
18
20
  }
@@ -0,0 +1,45 @@
1
+ import { ApiPropertyOptional } from '../../../..';
2
+
3
+ export class CreateSocietyVehicle {
4
+ @ApiPropertyOptional()
5
+ name?: string;
6
+
7
+ @ApiPropertyOptional()
8
+ isPerso?: boolean;
9
+
10
+ @ApiPropertyOptional()
11
+ power?: number;
12
+
13
+ @ApiPropertyOptional()
14
+ idSocietyPartner?: number;
15
+
16
+ @ApiPropertyOptional()
17
+ idFuel?: number;
18
+
19
+ @ApiPropertyOptional()
20
+ idTypeVehicle?: number;
21
+
22
+ @ApiPropertyOptional()
23
+ idFile?: number | null;
24
+
25
+ @ApiPropertyOptional()
26
+ registration?: string | null;
27
+
28
+ @ApiPropertyOptional()
29
+ carBrand?: string | null;
30
+
31
+ @ApiPropertyOptional()
32
+ carType?: string | null;
33
+
34
+ @ApiPropertyOptional()
35
+ sheetMetalType?: string | null;
36
+
37
+ @ApiPropertyOptional()
38
+ emissionRate?: number | null;
39
+
40
+ @ApiPropertyOptional()
41
+ dateOfFirstRegistration?: Date | null;
42
+
43
+ @ApiPropertyOptional()
44
+ isLeasing?: boolean | null;
45
+ }
@@ -0,0 +1,45 @@
1
+ import { ApiPropertyOptional } from '../../../..';
2
+
3
+ export class UpdateSocietyVehicle {
4
+ @ApiPropertyOptional()
5
+ name?: string;
6
+
7
+ @ApiPropertyOptional()
8
+ isPerso?: boolean;
9
+
10
+ @ApiPropertyOptional()
11
+ power?: number;
12
+
13
+ @ApiPropertyOptional()
14
+ idSocietyPartner?: number;
15
+
16
+ @ApiPropertyOptional()
17
+ idFuel?: number;
18
+
19
+ @ApiPropertyOptional()
20
+ idTypeVehicle?: number;
21
+
22
+ @ApiPropertyOptional()
23
+ idFile?: number | null;
24
+
25
+ @ApiPropertyOptional()
26
+ registration?: string | null;
27
+
28
+ @ApiPropertyOptional()
29
+ carBrand?: string | null;
30
+
31
+ @ApiPropertyOptional()
32
+ carType?: string | null;
33
+
34
+ @ApiPropertyOptional()
35
+ sheetMetalType?: string | null;
36
+
37
+ @ApiPropertyOptional()
38
+ emissionRate?: number | null;
39
+
40
+ @ApiPropertyOptional()
41
+ dateOfFirstRegistration?: Date | null;
42
+
43
+ @ApiPropertyOptional()
44
+ isLeasing?: boolean | null;
45
+ }
@@ -6,6 +6,7 @@ import { ISector } from './ISector';
6
6
  import { IAccountHelp } from './IAccountHelp';
7
7
  import { IAccountDetail } from './IAccountDetail';
8
8
  import { ISociety } from './ISociety';
9
+ import { IAccountsSectors } from './IAccountsSectors';
9
10
 
10
11
  // accounts
11
12
  export interface IAccount {
@@ -28,6 +29,7 @@ export interface IAccount {
28
29
  isPersonalised?: boolean;
29
30
  forClient?: boolean;
30
31
  forFournisseur?: boolean;
32
+ accountsSectors?: IAccountsSectors[];
31
33
  juridicalSociety?: number | null;
32
34
  idNature: number;
33
35
  customization?: number;
@@ -0,0 +1,6 @@
1
+ // accountsSectors
2
+ export interface IAccountsSectors {
3
+ id?: number;
4
+ idSector: number;
5
+ idAccount: number;
6
+ }
@@ -18,8 +18,9 @@ export interface IBankAccount {
18
18
  startImport: Date | null;
19
19
  activated: boolean;
20
20
  pcgExtension: number | null;
21
- lastUpdate: Date | null;
22
- lastTryImport: Date | null;
21
+ lastUpdate?: Date | null;
22
+ lastTryImport?: Date | null;
23
+ disabledAt?: Date | null;
23
24
  inProgressImport: Date | null;
24
25
  amountStart: number | null;
25
26
  isGlobalFetched: boolean;
@@ -33,11 +34,11 @@ export interface IBankAccount {
33
34
  updatedAt?: Date | null;
34
35
 
35
36
  // Associations
36
- currency: ICurrency;
37
- society: ISociety;
38
- bankConnection: IBankConnection;
39
- account: IAccount;
40
- bankList: IBankList;
41
- balanceBankAccounts: IBalanceBankAccount[];
42
- simulations: ISimulation[];
37
+ currency?: ICurrency;
38
+ society?: ISociety;
39
+ bankConnection?: IBankConnection;
40
+ account?: IAccount;
41
+ bankList?: IBankList;
42
+ balanceBankAccounts?: IBalanceBankAccount[];
43
+ simulations?: ISimulation[];
43
44
  }
@@ -14,6 +14,13 @@ export interface ISocietyVehicle {
14
14
  idFuel: number;
15
15
  idTypeVehicle: number;
16
16
  idFile: number | null;
17
+ registration: string | null;
18
+ carBrand: string | null;
19
+ carType: string | null;
20
+ sheetMetalType: string | null;
21
+ emissionRate: number | null;
22
+ dateOfFirstRegistration: Date | null;
23
+ isLeasing?: boolean;
17
24
  createdAt?: Date | null;
18
25
  updatedAt?: Date | null;
19
26
  deletedAt?: Date | null;
@@ -72,25 +72,26 @@ export interface IUser {
72
72
  confirmedAt?: Date | null;
73
73
  tokenConfirmedAt?: string | null;
74
74
  idPoleLeader: number | null;
75
+ affiliateTrackingId?: number | null;
75
76
 
76
77
  // Associations
77
- userHasEvent: isAny<ICalendarEvent>[];
78
- roles: IRole[];
79
- genders: ICivility;
80
- commercial: IUser;
81
- prospectPrincipal: IUser;
82
- avatar: IFile;
83
- userPermissions: IUserSocietyPermission[];
84
- workingSchedules: IWorkingSchedule[];
85
- recontactHistories: IRecontactHistory[];
86
- poleLeader: IUser;
87
- userQuality: IQuality;
88
- allowedIps: IAllowedIp[];
89
- businessPartner: IBusinessPartner;
90
- poleAccountants: IUser[];
91
- logs: ILog[];
92
- notifications: INotification[];
93
- societies: ISociety[];
94
- teams: ITeam[];
95
- usersTest: IUserTest;
78
+ userHasEvent?: isAny<ICalendarEvent>[];
79
+ roles?: IRole[];
80
+ genders?: ICivility;
81
+ commercial?: IUser;
82
+ prospectPrincipal?: IUser;
83
+ avatar?: IFile;
84
+ userPermissions?: IUserSocietyPermission[];
85
+ workingSchedules?: IWorkingSchedule[];
86
+ recontactHistories?: IRecontactHistory[];
87
+ poleLeader?: IUser;
88
+ userQuality?: IQuality;
89
+ allowedIps?: IAllowedIp[];
90
+ businessPartner?: IBusinessPartner;
91
+ poleAccountants?: IUser[];
92
+ logs?: ILog[];
93
+ notifications?: INotification[];
94
+ societies?: ISociety[];
95
+ teams?: ITeam[];
96
+ usersTest?: IUserTest;
96
97
  }
package/ts/types/index.ts CHANGED
@@ -292,6 +292,7 @@ export * from './Interface/models/IExerciceNote';
292
292
  export * from './Interface/models/IRevisionGuide';
293
293
  export * from './Interface/models/ISponsorshipWithSponsorInfo';
294
294
  export * from './Interface/models/ILastUpdateConnection';
295
+ export * from './Interface/models/IAccountsSectors';
295
296
 
296
297
  // Forms
297
298
  export * from './Form/FormAuthenticate';
@@ -364,6 +365,7 @@ export * from './Enum/BrandClementine';
364
365
  export * from './Enum/BrandLegalstart';
365
366
  export * from './Enum/BrandComptalib';
366
367
  export * from './Enum/PartneredAccountantServiceState';
368
+ export * from './Enum/AccountsSectors';
367
369
 
368
370
  // Interfaces API
369
371
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
@@ -428,6 +430,7 @@ export * from './Interface/api/dashboard/ReadGescom';
428
430
  export * from './Interface/api/dashboard/ReadDeadline';
429
431
  export * from './Interface/api/accountant/ReadAccountantBalance';
430
432
  export * from './Interface/api/quotes/QueryQuotesAccount';
433
+ export * from './Interface/api/quotes/CreateQuoteAccount';
431
434
  export * from './Interface/api/account/ReadQuoteAccount';
432
435
 
433
436
  // export * from './Interface/api/survey/QuerySurvey';
@@ -523,3 +526,5 @@ export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldSe
523
526
  export * from './Interface/api/partneredAccountant/UpdatePartneredAccountantAccess';
524
527
  export * from './Interface/api/partneredAccountant/InvitePartneredAccountant';
525
528
  export * from './Interface/api/log/CreateLog';
529
+ export * from './Interface/api/vehicle/CreateSocietyVehicle';
530
+ export * from './Interface/api/vehicle/UpdateSocietyVehicle';