@silexpert/core 2.0.104 → 2.0.106

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 (33) hide show
  1. package/README.md +3 -3
  2. package/dist/types/Enum/BalanceSheet.d.ts +4 -4
  3. package/dist/types/Enum/BalanceSheet.d.ts.map +1 -1
  4. package/dist/types/Enum/BalanceSheet.js +23 -4
  5. package/dist/types/Enum/BalanceSheet.js.map +1 -1
  6. package/dist/types/Enum/Phone.d.ts +234 -0
  7. package/dist/types/Enum/Phone.d.ts.map +1 -1
  8. package/dist/types/Enum/Phone.js +234 -0
  9. package/dist/types/Enum/Phone.js.map +1 -1
  10. package/dist/types/Interface/api/docoon/Create.d.ts +6 -9
  11. package/dist/types/Interface/api/docoon/Create.d.ts.map +1 -1
  12. package/dist/types/Interface/api/docoon/Create.js +27 -0
  13. package/dist/types/Interface/api/docoon/Create.js.map +1 -1
  14. package/dist/types/Interface/api/society/CreateTestSociety.d.ts +2 -2
  15. package/dist/types/Interface/api/society/CreateTestSociety.d.ts.map +1 -1
  16. package/dist/types/Interface/api/society/CreateTestSociety.js +9 -4
  17. package/dist/types/Interface/api/society/CreateTestSociety.js.map +1 -1
  18. package/dist/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.d.ts +4 -1
  19. package/dist/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.d.ts.map +1 -1
  20. package/dist/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.js +27 -0
  21. package/dist/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.js.map +1 -1
  22. package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts +4 -1
  23. package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts.map +1 -1
  24. package/dist/types/Interface/models/IEInvoicingKycAndMandate.js +3 -0
  25. package/dist/types/Interface/models/IEInvoicingKycAndMandate.js.map +1 -1
  26. package/package.json +19 -24
  27. package/ts/types/Enum/BalanceSheet.ts +23 -4
  28. package/ts/types/Enum/Phone.ts +234 -0
  29. package/ts/types/Interface/api/docoon/Create.ts +19 -9
  30. package/ts/types/Interface/api/society/CreateTestSociety.ts +10 -5
  31. package/ts/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.ts +22 -1
  32. package/ts/types/Interface/models/IEInvoicingKycAndMandate.ts +4 -1
  33. package/package-lock.json +0 -89
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "2.0.104",
3
+ "version": "2.0.106",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "keywords": [
6
6
  "accounting",
@@ -45,20 +45,6 @@
45
45
  "import": "./dist/server/index.js"
46
46
  }
47
47
  },
48
- "scripts": {
49
- "clean": "rimraf ./es ./js ./dist",
50
- "watch": "tsc -w",
51
- "lint": "oxlint",
52
- "lint:fix": "oxlint --fix",
53
- "format": "oxfmt",
54
- "format:check": "oxfmt --check",
55
- "tsc": "rm -fr dist/* && tsc -p tsconfig.json",
56
- "compile": "yarn tsc",
57
- "import:interface": "node --require ts-node/register importInterfaces.ts",
58
- "prepublish": "yarn clean && yarn compile",
59
- "release": "standard-version",
60
- "pre-commit": "yarn lint"
61
- },
62
48
  "dependencies": {
63
49
  "@types/geojson": "^7946.0.16",
64
50
  "@types/sanitize-html": "^2.16.1",
@@ -88,20 +74,29 @@
88
74
  "rimraf": "^6.1.3",
89
75
  "standard-version": "^9.3.0",
90
76
  "ts-node": "^10.9.2",
91
- "typescript": "6.0.3",
92
- "typescript-eslint": "^8.56.0"
77
+ "typescript": "6.0.3"
93
78
  },
94
79
  "peerDependencies": {
95
80
  "@babel/runtime": "^7.6.3",
96
81
  "@types/bluebird": "^3.5.28"
97
82
  },
98
- "resolutions": {
99
- "debug": "^4.3.7"
100
- },
101
- "config": {
102
- "unsafe-perm": true
103
- },
104
83
  "engines": {
105
84
  "node": ">=20"
85
+ },
86
+ "scripts": {
87
+ "clean": "rimraf ./es ./js ./dist",
88
+ "watch": "tsc -w",
89
+ "lint": "oxlint",
90
+ "lint:fix": "oxlint --fix",
91
+ "format": "oxfmt",
92
+ "format:check": "oxfmt --check",
93
+ "tsc": "rm -fr dist/* && tsc -p tsconfig.json",
94
+ "tsc:watch": "tsc -w -p tsconfig.json",
95
+ "dev": "pnpm run tsc:watch",
96
+ "compile": "pnpm run tsc",
97
+ "import:interface": "node --require ts-node/register importInterfaces.ts",
98
+ "prepublish": "pnpm run clean && pnpm run compile",
99
+ "release": "standard-version",
100
+ "pre-commit": "pnpm lint"
106
101
  }
107
- }
102
+ }
@@ -90,7 +90,13 @@ export const BalanceSheetDetails = [
90
90
  value: BalanceSheetState.PROJECT_SENT,
91
91
  color: 'blue',
92
92
  textColor: 'blue--text',
93
- forRoles: [['admin'], ['super_admin'], ['controle_interne']],
93
+ forRoles: [
94
+ ['admin'],
95
+ ['super_admin'],
96
+ ['controle_interne'],
97
+ ['front_office', 'manager'],
98
+ ['front_office_express', 'manager'],
99
+ ],
94
100
  },
95
101
  {
96
102
  text: 'À superviser',
@@ -174,7 +180,14 @@ export const BalanceSheetDetails = [
174
180
  text: 'Standby',
175
181
  color: 'grey lighten-1',
176
182
  textColor: 'grey--text',
177
- forRoles: [['admin'], ['super_admin'], ['controle_interne'], ['satisfaction']],
183
+ forRoles: [
184
+ ['admin'],
185
+ ['super_admin'],
186
+ ['controle_interne'],
187
+ ['satisfaction'],
188
+ ['front_office', 'manager'],
189
+ ['front_office_express', 'manager'],
190
+ ],
178
191
  },
179
192
  {
180
193
  text: 'Impayé',
@@ -246,14 +259,20 @@ export const BalanceSheetDetails = [
246
259
  value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,
247
260
  color: 'green darken-3',
248
261
  colorText: 'green--text',
249
- forRoles: [['front_office'], ['expert'], ['controle_interne']],
262
+ forRoles: [
263
+ ['front_office'],
264
+ ['expert'],
265
+ ['controle_interne'],
266
+ ['front_office', 'manager'],
267
+ ['front_office_express', 'manager'],
268
+ ],
250
269
  },
251
270
  {
252
271
  text: "Refus d'établir",
253
272
  value: BalanceSheetState.ESTABLISH_REFUSED,
254
273
  color: 'orange darken-1',
255
274
  colorText: 'orange--text text--darken-1',
256
- forRoles: [['super_admin'], ['controle_interne']],
275
+ forRoles: [['super_admin'], ['controle_interne'], ['front_office', 'manager'], ['front_office_express', 'manager']],
257
276
  },
258
277
  ] as const;
259
278