@silexpert/core 1.3.96-0 → 1.3.96

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 (63) hide show
  1. package/dist/cjs/api/resources/User.js +1 -1
  2. package/dist/cjs/api/resources/User.js.map +1 -1
  3. package/dist/cjs/api/resources.d.ts +0 -2
  4. package/dist/cjs/api/resources.d.ts.map +1 -1
  5. package/dist/cjs/api/resources.js +0 -2
  6. package/dist/cjs/api/resources.js.map +1 -1
  7. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  8. package/dist/cjs/types/Enum/PrestationType.js +22 -29
  9. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  10. package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -22
  12. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  13. package/dist/cjs/types/Interface/models/IAttestation.d.ts +18 -20
  14. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  16. package/dist/cjs/types/index.d.ts +0 -1
  17. package/dist/cjs/types/index.d.ts.map +1 -1
  18. package/dist/cjs/types/index.js +0 -1
  19. package/dist/cjs/types/index.js.map +1 -1
  20. package/dist/mjs/api/resources/User.js +1 -1
  21. package/dist/mjs/api/resources/User.js.map +1 -1
  22. package/dist/mjs/api/resources.d.ts +0 -2
  23. package/dist/mjs/api/resources.d.ts.map +1 -1
  24. package/dist/mjs/api/resources.js +0 -2
  25. package/dist/mjs/api/resources.js.map +1 -1
  26. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  27. package/dist/mjs/types/Enum/PrestationType.js +22 -29
  28. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  29. package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  30. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -22
  31. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  32. package/dist/mjs/types/Interface/models/IAttestation.d.ts +18 -20
  33. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  34. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  35. package/dist/mjs/types/index.d.ts +0 -1
  36. package/dist/mjs/types/index.d.ts.map +1 -1
  37. package/dist/mjs/types/index.js +0 -1
  38. package/dist/mjs/types/index.js.map +1 -1
  39. package/package.json +14 -14
  40. package/ts/api/resources/User.ts +1 -1
  41. package/ts/api/resources.ts +0 -2
  42. package/ts/types/Enum/PrestationType.ts +22 -29
  43. package/ts/types/Enum/SalesContractBrandClementine.ts +7 -22
  44. package/ts/types/Interface/models/IAttestation.ts +18 -20
  45. package/ts/types/index.ts +0 -1
  46. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +0 -10
  47. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  48. package/dist/cjs/api/resources/BalanceSheetReport.js +0 -23
  49. package/dist/cjs/api/resources/BalanceSheetReport.js.map +0 -1
  50. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
  51. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
  52. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +0 -207
  53. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
  54. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +0 -10
  55. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  56. package/dist/mjs/api/resources/BalanceSheetReport.js +0 -22
  57. package/dist/mjs/api/resources/BalanceSheetReport.js.map +0 -1
  58. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
  59. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
  60. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +0 -200
  61. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
  62. package/ts/api/resources/BalanceSheetReport.ts +0 -36
  63. package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.96-0",
3
+ "version": "1.3.96",
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": "dist/cjs/index.js",
@@ -32,29 +32,29 @@
32
32
  "author": "Silex",
33
33
  "license": "ISC",
34
34
  "devDependencies": {
35
- "@babel/cli": "^7.26.4",
36
- "@babel/core": "^7.22.11",
37
- "@babel/plugin-transform-runtime": "^7.22.10",
38
- "@babel/preset-env": "^7.22.10",
39
- "@babel/runtime": "^7.22.11",
35
+ "@babel/cli": "^7.28.0",
36
+ "@babel/core": "^7.28.0",
37
+ "@babel/plugin-transform-runtime": "^7.28.0",
38
+ "@babel/preset-env": "^7.28.0",
39
+ "@babel/runtime": "^7.28.2",
40
40
  "@types/bluebird": "^3.5.34",
41
41
  "@types/browser-or-node": "^1.3.0",
42
42
  "@types/ejs": "^3.0.6",
43
43
  "@types/node": "^22.10.5",
44
- "@types/validator": "^13.11.1",
45
- "babel-plugin-replace-import-extension": "^1.1.3",
44
+ "@types/validator": "^13.15.2",
45
+ "babel-plugin-replace-import-extension": "^1.1.5",
46
46
  "babel-preset-env": "^1.7.0",
47
- "eslint": "^9.17.0",
47
+ "eslint": "^9.32.0",
48
48
  "eslint-config-airbnb-typescript": "^18.0.0",
49
- "eslint-config-prettier": "^9.1.0",
49
+ "eslint-config-prettier": "^10.1.8",
50
50
  "husky": "^9.1.7",
51
- "prettier": "^3.4.2",
51
+ "prettier": "^3.6.2",
52
52
  "reflect-metadata": "^0.2.2",
53
53
  "rimraf": "^6.0.1",
54
54
  "standard-version": "^9.3.0",
55
55
  "ts-node": "^10.9.2",
56
- "typescript": "5.8.2",
57
- "typescript-eslint": "^8.19.1"
56
+ "typescript": "5.9.2",
57
+ "typescript-eslint": "^8.39.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@babel/runtime": "^7.6.3",
@@ -68,7 +68,7 @@
68
68
  "axios": "0.22.0",
69
69
  "browser-or-node": "^3.0.0",
70
70
  "class-transformer": "^0.5.1",
71
- "class-validator": "^0.14.0",
71
+ "class-validator": "^0.14.2",
72
72
  "dayjs": "^1.11.11",
73
73
  "ejs": "^3.1.9",
74
74
  "libphonenumber-js": "^1.12.10",
@@ -30,7 +30,7 @@ export class User extends Resource {
30
30
  return this.axios.$put('user/confirm', params);
31
31
  }
32
32
  resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {
33
- return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);
33
+ return this.axios.$put(`user/${params.id}/send-confirmation-mail`);
34
34
  }
35
35
  create(data: CreateUser): Promise<IUser> {
36
36
  return this.axios.$post('user/create', data);
@@ -179,7 +179,6 @@ import { StatisticLegal } from './resources/statistic/Legal';
179
179
  import { AnalyticsUtm } from './resources/AnalyticsUtm';
180
180
  import { Caarl } from './resources/Caarl';
181
181
  import { Gdpr } from './resources/Gdpr';
182
- import { BalanceSheetReport } from './resources/BalanceSheetReport';
183
182
 
184
183
  export const resources = {
185
184
  budgetInsight: BudgetInsight,
@@ -363,5 +362,4 @@ export const resources = {
363
362
  analyticsUtm: AnalyticsUtm,
364
363
  caarl: Caarl,
365
364
  gdpr: Gdpr,
366
- balanceSheetReport: BalanceSheetReport,
367
365
  };
@@ -228,13 +228,6 @@ export const allPrestations2025WithBrochure = [
228
228
  PrestationType.SOCIAL,
229
229
  PrestationType.GESTION_JURIDIQUE,
230
230
  PrestationType.CONSULTING_HOUR,
231
- PrestationType.ATTESTATION_REMUNERATION,
232
- PrestationType.ATTESTATION_NON_REMUNERATION,
233
- PrestationType.ATTESTATION_CA,
234
- PrestationType.ATTESTATION_COMPTE_COURANT,
235
- PrestationType.ATTESTATION_MASSE_SALARIALE,
236
- PrestationType.ATTESTATION_1,
237
- PrestationType.ATTESTATION_NON_REMUNERATION_RECURRENTE,
238
231
  ];
239
232
 
240
233
  export const ClementineSubscriptionAccountancyExpertPrestations: PrestationType[] = [
@@ -1157,7 +1150,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1157
1150
  },
1158
1151
  CESSION_ACTIONS: {
1159
1152
  id: 51,
1160
- name: "Cession d'actions",
1153
+ name: 'Cession d\'actions',
1161
1154
  isComptable: false,
1162
1155
  isJuridique: true,
1163
1156
  isSocial: false,
@@ -1214,7 +1207,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1214
1207
  },
1215
1208
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
1216
1209
  id: 54,
1217
- name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
1210
+ name: 'Modification d\'un dirigeant ou d\'un commissaire aux compte (SASU / EURL)',
1218
1211
  isComptable: false,
1219
1212
  isJuridique: true,
1220
1213
  isSocial: false,
@@ -1366,7 +1359,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1366
1359
  },
1367
1360
  MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
1368
1361
  id: 62,
1369
- name: "Modification de l'objet social (EURL/SASU)",
1362
+ name: 'Modification de l\'objet social (EURL/SASU)',
1370
1363
  isComptable: false,
1371
1364
  isJuridique: true,
1372
1365
  isSocial: false,
@@ -1708,7 +1701,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1708
1701
  },
1709
1702
  CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
1710
1703
  id: 80,
1711
- name: "Création d'un dossier informatique par salarié",
1704
+ name: 'Création d\'un dossier informatique par salarié',
1712
1705
  isComptable: false,
1713
1706
  isJuridique: false,
1714
1707
  isSocial: true,
@@ -1727,7 +1720,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1727
1720
  },
1728
1721
  ETABLISSEMENT_CONTRAT_TRAVAIL: {
1729
1722
  id: 81,
1730
- name: "Etablissement d'un contrat de travail",
1723
+ name: 'Etablissement d\'un contrat de travail',
1731
1724
  isComptable: false,
1732
1725
  isJuridique: false,
1733
1726
  isSocial: true,
@@ -1746,7 +1739,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1746
1739
  },
1747
1740
  ATTESTATION_SALAIRE: {
1748
1741
  id: 82,
1749
- name: 'Rapport de salaire',
1742
+ name: 'Attestation de salaire',
1750
1743
  isComptable: false,
1751
1744
  isJuridique: false,
1752
1745
  isSocial: true,
@@ -1784,7 +1777,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1784
1777
  },
1785
1778
  TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
1786
1779
  id: 84,
1787
- name: "Taxe d'apprentissage et formation continue",
1780
+ name: 'Taxe d\'apprentissage et formation continue',
1788
1781
  isComptable: false,
1789
1782
  isJuridique: false,
1790
1783
  isSocial: true,
@@ -1974,7 +1967,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1974
1967
  },
1975
1968
  ATTESTATION_REMUNERATION: {
1976
1969
  id: 95,
1977
- name: 'Rapport de rémunération',
1970
+ name: 'Attestation de rémunération',
1978
1971
  isComptable: true,
1979
1972
  isJuridique: false,
1980
1973
  isSocial: false,
@@ -1994,7 +1987,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1994
1987
  // FIXME: Doublon ?
1995
1988
  ATTESTATION_NON_REMUNERATION: {
1996
1989
  id: 96,
1997
- name: 'Rapport de non-rémunération',
1990
+ name: 'Attestation de non-rémunération',
1998
1991
  isComptable: true,
1999
1992
  isJuridique: false,
2000
1993
  isSocial: false,
@@ -2013,7 +2006,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2013
2006
  },
2014
2007
  ATTESTATION_CA: {
2015
2008
  id: 97,
2016
- name: "Rapport de chiffre d'affaires",
2009
+ name: 'Attestation de chiffre d\'affaires',
2017
2010
  isComptable: true,
2018
2011
  isJuridique: false,
2019
2012
  isSocial: false,
@@ -2032,7 +2025,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2032
2025
  },
2033
2026
  ATTESTATION_COMPTE_COURANT: {
2034
2027
  id: 98,
2035
- name: 'Rapport de compte-courant',
2028
+ name: 'Attestation de compte-courant',
2036
2029
  isComptable: true,
2037
2030
  isJuridique: false,
2038
2031
  isSocial: false,
@@ -2051,7 +2044,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2051
2044
  },
2052
2045
  MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
2053
2046
  id: 99,
2054
- name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
2047
+ name: 'Mise à jour de l\'adresse personnelle du dirigeant sur le Kbis',
2055
2048
  isComptable: false,
2056
2049
  isJuridique: true,
2057
2050
  isSocial: false,
@@ -2089,7 +2082,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2089
2082
  },
2090
2083
  MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
2091
2084
  id: 103,
2092
- name: "Modification de l'objet social (SARL/SAS/SCI)",
2085
+ name: 'Modification de l\'objet social (SARL/SAS/SCI)',
2093
2086
  isComptable: false,
2094
2087
  isJuridique: true,
2095
2088
  isSocial: false,
@@ -2146,7 +2139,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2146
2139
  },
2147
2140
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
2148
2141
  id: 106,
2149
- name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
2142
+ name: 'Modification d’un dirigeant ou d\'un commissaire aux compte (SAS / SARL / SCI)',
2150
2143
  isComptable: false,
2151
2144
  isJuridique: true,
2152
2145
  isSocial: false,
@@ -2317,7 +2310,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2317
2310
  },
2318
2311
  ATTESTATION_DE_SALAIRE_MALADIE: {
2319
2312
  id: 116,
2320
- name: 'Rapport de salaire maladie',
2313
+ name: 'Attestation de salaire maladie',
2321
2314
  isComptable: true,
2322
2315
  isJuridique: false,
2323
2316
  isSocial: false,
@@ -2545,7 +2538,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2545
2538
  },
2546
2539
  ATTESTATION_MASSE_SALARIALE: {
2547
2540
  id: 128,
2548
- name: 'Rapport de masse salariale',
2541
+ name: 'Attestation de masse salariale',
2549
2542
  isComptable: true,
2550
2543
  isJuridique: false,
2551
2544
  isSocial: false,
@@ -2716,7 +2709,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2716
2709
  },
2717
2710
  CONTRAT_APPORT_EN_NATURE: {
2718
2711
  id: 138,
2719
- name: "Contrat d'apport en nature",
2712
+ name: 'Contrat d\'apport en nature',
2720
2713
  isComptable: false,
2721
2714
  isJuridique: true,
2722
2715
  isSocial: false,
@@ -3191,7 +3184,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3191
3184
  },
3192
3185
  ATTESTATION_NON_REMUNERATION_RECURRENTE: {
3193
3186
  id: 200,
3194
- name: 'Rapport non remunération recurrente',
3187
+ name: 'Attestation non remunération recurrente',
3195
3188
  isComptable: true,
3196
3189
  isJuridique: false,
3197
3190
  isSocial: false,
@@ -3305,7 +3298,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3305
3298
  },
3306
3299
  DECLARATION_IR: {
3307
3300
  id: 206,
3308
- name: "Déclaration d'IR",
3301
+ name: 'Déclaration d\'IR',
3309
3302
  isComptable: true,
3310
3303
  isJuridique: false,
3311
3304
  isSocial: false,
@@ -3419,7 +3412,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3419
3412
  },
3420
3413
  STATUTS_FREE: {
3421
3414
  id: PrestationType.STATUTS_FREE,
3422
- name: "Statuts - Just' Statuts",
3415
+ name: 'Statuts - Just\' Statuts',
3423
3416
  isComptable: true,
3424
3417
  isJuridique: true,
3425
3418
  isSocial: false,
@@ -3438,7 +3431,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3438
3431
  },
3439
3432
  STATUTS_OPTION_1: {
3440
3433
  id: PrestationType.STATUTS_OPTION_1,
3441
- name: "Statuts - Just' Création",
3434
+ name: 'Statuts - Just\' Création',
3442
3435
  isComptable: true,
3443
3436
  isJuridique: true,
3444
3437
  isSocial: false,
@@ -3457,7 +3450,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3457
3450
  },
3458
3451
  STATUTS_OPTION_2: {
3459
3452
  id: PrestationType.STATUTS_OPTION_2,
3460
- name: "Statuts - Full'Créa",
3453
+ name: 'Statuts - Full\'Créa',
3461
3454
  isComptable: true,
3462
3455
  isJuridique: true,
3463
3456
  isSocial: false,
@@ -8,14 +8,14 @@ import {
8
8
 
9
9
  export const SalesContractClementine: SaleContract[] = [
10
10
  {
11
- label: "Page d'introduction",
11
+ label: 'Page d\'introduction',
12
12
  name: 'page_intro',
13
13
  needBgImage: true,
14
14
  versionable: false,
15
15
  idPrestationType: allPrestationsWithBrochure,
16
16
  },
17
17
  {
18
- label: "Page d'introduction 2025",
18
+ label: 'Page d\'introduction 2025',
19
19
  name: 'page_intro_2025',
20
20
  needBgImage: true,
21
21
  versionable: false,
@@ -170,21 +170,6 @@ export const SalesContractClementine: SaleContract[] = [
170
170
  idPrestationType: [PrestationType.GESTION_IMMO],
171
171
  versionable: false,
172
172
  },
173
- {
174
- label: 'Rapport 2025',
175
- name: 'bloc_rapport_2025',
176
- needBgImage: false,
177
- idPrestationType: [
178
- PrestationType.ATTESTATION_REMUNERATION,
179
- PrestationType.ATTESTATION_NON_REMUNERATION,
180
- PrestationType.ATTESTATION_CA,
181
- PrestationType.ATTESTATION_COMPTE_COURANT,
182
- PrestationType.ATTESTATION_MASSE_SALARIALE,
183
- PrestationType.ATTESTATION_1,
184
- PrestationType.ATTESTATION_NON_REMUNERATION_RECURRENTE,
185
- ],
186
- versionable: false,
187
- },
188
173
  {
189
174
  label: 'Page simplifié',
190
175
  name: 'page_simplified',
@@ -282,7 +267,7 @@ export const SalesContractClementine: SaleContract[] = [
282
267
  keyName: 'idPrestationCreation',
283
268
  },
284
269
  {
285
- label: "Forfait création société (Création d'entreprise gratuite)",
270
+ label: 'Forfait création société (Création d\'entreprise gratuite)',
286
271
  name: 'bloc_creation_free',
287
272
  idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
288
273
  needBgImage: false,
@@ -312,7 +297,7 @@ export const SalesContractClementine: SaleContract[] = [
312
297
  keyName: 'idPrestationJuridique',
313
298
  },
314
299
  {
315
- label: "Prise en charge de votre déclaration d'impôts sur le revenu",
300
+ label: 'Prise en charge de votre déclaration d\'impôts sur le revenu',
316
301
  name: 'bloc_tax_return',
317
302
  needBgImage: false,
318
303
  idPrestationType: [],
@@ -418,7 +403,7 @@ export const SalesContractClementine: SaleContract[] = [
418
403
  export const SalesContractKlems: SaleContract[] = [
419
404
  // pour les pages statiques
420
405
  {
421
- label: "Page d'introduction",
406
+ label: 'Page d\'introduction',
422
407
  name: 'page_intro',
423
408
  needBgImage: true,
424
409
  versionable: false,
@@ -551,7 +536,7 @@ export const SalesContractKlems: SaleContract[] = [
551
536
  keyName: 'idPrestationSocial',
552
537
  },
553
538
  {
554
- label: "Forfait Création d'entreprise (TTC)",
539
+ label: 'Forfait Création d\'entreprise (TTC)',
555
540
  name: 'bloc_creation_entreprise_ttc',
556
541
  idPrestationType: [
557
542
  PrestationType.SOCIAL,
@@ -565,7 +550,7 @@ export const SalesContractKlems: SaleContract[] = [
565
550
  keyName: 'idPrestationCreation',
566
551
  },
567
552
  {
568
- label: "Forfait Création d'entreprise (HT)",
553
+ label: 'Forfait Création d\'entreprise (HT)',
569
554
  name: 'bloc_creation_entreprise_ht',
570
555
  idPrestationType: [PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_EI_KLEMS_EXPRESS],
571
556
  needBgImage: false,
@@ -14,29 +14,27 @@ export interface IAttestation {
14
14
  idExercice: number | null;
15
15
  idSociety: number | null;
16
16
  idSupervisor: number | null;
17
- idUserDemand?: number | null;
18
- idPaymentExpectation?: number | null;
19
- idFile?: number | null;
17
+ idUserDemand: number | null;
18
+ idPaymentExpectation: number | null;
19
+ idFile: number | null;
20
20
  annoted: boolean;
21
- factured: number;
22
- sendDate?: Date | null;
23
- textPdf?: string | null;
24
- isSign?: boolean | null;
25
- done?: boolean | null;
26
- idMailPayment?: number | null;
27
- idMailValidation?: number | null;
28
- fileLink?: string;
21
+ sendDate: Date | null;
22
+ textPdf: string | null;
23
+ isSign: boolean | null;
24
+ done: boolean | null;
25
+ idMailPayment: number | null;
26
+ idMailValidation: number | null;
29
27
  createdAt?: Date | null;
30
28
  updatedAt?: Date | null;
31
29
 
32
30
  // Associations
33
- attestationSupervisor?: IUser | null;
34
- attestationUserDemand?: IUser | null;
35
- prestationsList?: IPrestationList;
36
- attestationPaymentExpectation?: IPaymentExpectation | null;
37
- attestationFiles?: IFile | null;
38
- society?: ISociety | null;
39
- exercices?: IExercice | null;
40
- paymentMail?: IMail | null;
41
- validationMail?: IMail | null;
31
+ attestationSupervisor: IUser;
32
+ attestationUserDemand: IUser;
33
+ prestationsList: IPrestationList;
34
+ attestationPaymentExpectation: IPaymentExpectation;
35
+ attestationFiles: IFile;
36
+ society: ISociety;
37
+ exercices: IExercice;
38
+ paymentMail: IMail;
39
+ validationMail: IMail;
42
40
  }
package/ts/types/index.ts CHANGED
@@ -826,7 +826,6 @@ export * from './Interface/api/pappers/CreatePappers';
826
826
  export * from './Interface/api/bankAccount/Query';
827
827
  export * from './Interface/api/bankAccount/Update';
828
828
  export * from './Interface/api/stripe/QueryStripe';
829
- export * from './Interface/api/balanceSheetReport/Query';
830
829
  export * from './Interface/api/supervision/Query';
831
830
  export * from './Interface/api/supervision/Read';
832
831
  export * from './Interface/api/salariesFile/ReadSalariesFile';
@@ -1,10 +0,0 @@
1
- import { BasePaginate, IAttestation, ParamsBalanceSheetReportGeneratePdf, ParamsBalanceSheetReportCreate, QueryBalanceSheetReportPaginated } from '../../types';
2
- import { Resource } from '../Resource';
3
- export declare class BalanceSheetReport extends Resource {
4
- getPaginated(params: QueryBalanceSheetReportPaginated, signal?: AbortSignal): Promise<BasePaginate<IAttestation>>;
5
- create(data: ParamsBalanceSheetReportCreate): Promise<number>;
6
- generatePdf(idReport: number, data: ParamsBalanceSheetReportGeneratePdf): Promise<IAttestation>;
7
- update(idReport: number, data: Partial<IAttestation>): Promise<IAttestation>;
8
- delete(idReport: number): Promise<number>;
9
- }
10
- //# sourceMappingURL=BalanceSheetReport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BalanceSheetReport.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheetReport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EACjC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,kBAAmB,SAAQ,QAAQ;IACvC,YAAY,CACjB,MAAM,EAAE,gCAAgC,EACxC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAOtC,MAAM,CAAC,IAAI,EAAE,8BAA8B,GAAG,OAAO,CAAC,MAAM,CAAC;IAI7D,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,YAAY,CAAC;IAI/F,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC;IAI5E,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAG1C"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BalanceSheetReport = void 0;
4
- const Resource_1 = require("../Resource");
5
- class BalanceSheetReport extends Resource_1.Resource {
6
- getPaginated(params, signal) {
7
- return this.axios.$get('balance-sheets/reports/paginated', Object.assign(Object.assign({}, (signal ? { signal } : {})), { params }));
8
- }
9
- create(data) {
10
- return this.axios.$post('balance-sheets/reports', data);
11
- }
12
- generatePdf(idReport, data) {
13
- return this.axios.$post(`balance-sheets/reports/${idReport}/pdf`, data);
14
- }
15
- update(idReport, data) {
16
- return this.axios.$put(`balance-sheets/reports/${idReport}`, data);
17
- }
18
- delete(idReport) {
19
- return this.axios.$delete(`balance-sheets/reports/${idReport}`);
20
- }
21
- }
22
- exports.BalanceSheetReport = BalanceSheetReport;
23
- //# sourceMappingURL=BalanceSheetReport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BalanceSheetReport.js","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheetReport.ts"],"names":[],"mappings":";;;AAOA,0CAAuC;AAEvC,MAAa,kBAAmB,SAAQ,mBAAQ;IACvC,YAAY,CACjB,MAAwC,EACxC,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kCAAkC,kCACpD,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC7B,MAAM,IACN,CAAC;IACL,CAAC;IAED,MAAM,CAAC,IAAoC;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wBAAwB,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IAED,WAAW,CAAC,QAAgB,EAAE,IAAyC;QACrE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,QAAQ,MAAM,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,CAAC,QAAgB,EAAE,IAA2B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,QAAQ,EAAE,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,CAAC,QAAgB;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,0BAA0B,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;CACF;AA1BD,gDA0BC","sourcesContent":["import {\n BasePaginate,\n IAttestation,\n ParamsBalanceSheetReportGeneratePdf,\n ParamsBalanceSheetReportCreate,\n QueryBalanceSheetReportPaginated,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class BalanceSheetReport extends Resource {\n public getPaginated(\n params: QueryBalanceSheetReportPaginated,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IAttestation>> {\n return this.axios.$get('balance-sheets/reports/paginated', {\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n create(data: ParamsBalanceSheetReportCreate): Promise<number> {\n return this.axios.$post('balance-sheets/reports', data);\n }\n\n generatePdf(idReport: number, data: ParamsBalanceSheetReportGeneratePdf): Promise<IAttestation> {\n return this.axios.$post(`balance-sheets/reports/${idReport}/pdf`, data);\n }\n\n update(idReport: number, data: Partial<IAttestation>): Promise<IAttestation> {\n return this.axios.$put(`balance-sheets/reports/${idReport}`, data);\n }\n\n delete(idReport: number): Promise<number> {\n return this.axios.$delete(`balance-sheets/reports/${idReport}`);\n }\n}\n"]}
@@ -1,40 +0,0 @@
1
- import { RequiredQueryPaginate } from '../BasePaginate';
2
- export declare class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {
3
- search?: string;
4
- signed?: boolean;
5
- factured?: number;
6
- idSupervisor?: number;
7
- }
8
- export declare class ParamsBalanceSheetReportCreate {
9
- idSociety: number;
10
- idExercice: number;
11
- idPrestationList: number;
12
- idSupervisor: number;
13
- price: number;
14
- annoted: boolean;
15
- factured: number;
16
- }
17
- export declare class ParamsBalanceSheetReportGeneratePdf {
18
- isSigned: boolean;
19
- comment?: string;
20
- }
21
- export declare class ParamsBalanceSheetReportUpdate {
22
- price?: number;
23
- idPrestationList?: number;
24
- idExercice?: number;
25
- idSociety?: number;
26
- idSupervisor?: number;
27
- idUserDemand?: number;
28
- idPaymentExpectation?: number;
29
- idFile?: number;
30
- idGedFile?: number;
31
- annoted?: boolean;
32
- factured?: number;
33
- sendDate?: Date;
34
- textPdf?: string;
35
- isSign?: boolean;
36
- done?: boolean;
37
- idMailValidation?: number;
38
- idMailPayment?: number;
39
- }
40
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheetReport/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,gCAAiC,SAAQ,qBAAqB;IAIjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,YAAY,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,qBAAa,8BAA8B;IAGjC,SAAS,EAAE,MAAM,CAAC;IAIlB,UAAU,EAAE,MAAM,CAAC;IAInB,gBAAgB,EAAE,MAAM,CAAC;IAIzB,YAAY,EAAE,MAAM,CAAC;IAIrB,KAAK,EAAE,MAAM,CAAC;IAKd,OAAO,EAAE,OAAO,CAAC;IAIjB,QAAQ,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,mCAAmC;IAItC,QAAQ,EAAE,OAAO,CAAC;IAKlB,OAAO,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,8BAA8B;IAIjC,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAK9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAKhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,IAAI,CAAC,EAAE,OAAO,CAAC;IAKf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,aAAa,CAAC,EAAE,MAAM,CAAC;CAChC"}