@communecter/cocolight-api-client 1.0.149 → 1.0.151

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 (354) hide show
  1. package/dist/1035.cocolight-api-client.browser.js +1 -0
  2. package/dist/1035.cocolight-api-client.cjs +1 -0
  3. package/dist/1035.cocolight-api-client.mjs.js +1 -0
  4. package/dist/1483.cocolight-api-client.browser.js +1 -0
  5. package/dist/1483.cocolight-api-client.cjs +1 -0
  6. package/dist/1483.cocolight-api-client.mjs.js +1 -0
  7. package/dist/1491.cocolight-api-client.browser.js +1 -0
  8. package/dist/1491.cocolight-api-client.cjs +1 -0
  9. package/dist/1491.cocolight-api-client.mjs.js +1 -0
  10. package/dist/1494.cocolight-api-client.browser.js +1 -0
  11. package/dist/1494.cocolight-api-client.cjs +1 -0
  12. package/dist/1494.cocolight-api-client.mjs.js +1 -0
  13. package/dist/1641.cocolight-api-client.browser.js +1 -0
  14. package/dist/1641.cocolight-api-client.cjs +1 -0
  15. package/dist/1641.cocolight-api-client.mjs.js +1 -0
  16. package/dist/1678.cocolight-api-client.browser.js +1 -0
  17. package/dist/1678.cocolight-api-client.cjs +1 -0
  18. package/dist/1678.cocolight-api-client.mjs.js +1 -0
  19. package/dist/2041.cocolight-api-client.browser.js +1 -0
  20. package/dist/2041.cocolight-api-client.cjs +1 -0
  21. package/dist/2041.cocolight-api-client.mjs.js +1 -0
  22. package/dist/2302.cocolight-api-client.browser.js +1 -0
  23. package/dist/2302.cocolight-api-client.cjs +1 -0
  24. package/dist/2302.cocolight-api-client.mjs.js +1 -0
  25. package/dist/2313.cocolight-api-client.browser.js +1 -0
  26. package/dist/2313.cocolight-api-client.cjs +1 -0
  27. package/dist/2313.cocolight-api-client.mjs.js +1 -0
  28. package/dist/2379.cocolight-api-client.browser.js +1 -0
  29. package/dist/2379.cocolight-api-client.cjs +1 -0
  30. package/dist/2379.cocolight-api-client.mjs.js +1 -0
  31. package/dist/2439.cocolight-api-client.browser.js +1 -0
  32. package/dist/2439.cocolight-api-client.cjs +1 -0
  33. package/dist/2439.cocolight-api-client.mjs.js +1 -0
  34. package/dist/2594.cocolight-api-client.browser.js +1 -0
  35. package/dist/2594.cocolight-api-client.cjs +1 -0
  36. package/dist/2594.cocolight-api-client.mjs.js +1 -0
  37. package/dist/2766.cocolight-api-client.browser.js +1 -0
  38. package/dist/2766.cocolight-api-client.cjs +1 -0
  39. package/dist/2766.cocolight-api-client.mjs.js +1 -0
  40. package/dist/2812.cocolight-api-client.browser.js +1 -0
  41. package/dist/2812.cocolight-api-client.cjs +1 -0
  42. package/dist/2812.cocolight-api-client.mjs.js +1 -0
  43. package/dist/2918.cocolight-api-client.browser.js +1 -0
  44. package/dist/2918.cocolight-api-client.cjs +1 -0
  45. package/dist/2918.cocolight-api-client.mjs.js +1 -0
  46. package/dist/3028.cocolight-api-client.browser.js +1 -0
  47. package/dist/3028.cocolight-api-client.cjs +1 -0
  48. package/dist/3028.cocolight-api-client.mjs.js +1 -0
  49. package/dist/3330.cocolight-api-client.browser.js +1 -0
  50. package/dist/3330.cocolight-api-client.cjs +1 -0
  51. package/dist/3330.cocolight-api-client.mjs.js +1 -0
  52. package/dist/3371.cocolight-api-client.browser.js +1 -0
  53. package/dist/3371.cocolight-api-client.cjs +1 -0
  54. package/dist/3371.cocolight-api-client.mjs.js +1 -0
  55. package/dist/3401.cocolight-api-client.browser.js +1 -0
  56. package/dist/3401.cocolight-api-client.cjs +1 -0
  57. package/dist/3401.cocolight-api-client.mjs.js +1 -0
  58. package/dist/3516.cocolight-api-client.browser.js +1 -0
  59. package/dist/3516.cocolight-api-client.cjs +1 -0
  60. package/dist/3516.cocolight-api-client.mjs.js +1 -0
  61. package/dist/3593.cocolight-api-client.browser.js +1 -0
  62. package/dist/3593.cocolight-api-client.cjs +1 -0
  63. package/dist/3593.cocolight-api-client.mjs.js +1 -0
  64. package/dist/3764.cocolight-api-client.browser.js +1 -0
  65. package/dist/3764.cocolight-api-client.cjs +1 -0
  66. package/dist/3764.cocolight-api-client.mjs.js +1 -0
  67. package/dist/3873.cocolight-api-client.browser.js +1 -0
  68. package/dist/3873.cocolight-api-client.cjs +1 -0
  69. package/dist/3873.cocolight-api-client.mjs.js +1 -0
  70. package/dist/3911.cocolight-api-client.browser.js +1 -0
  71. package/dist/3911.cocolight-api-client.cjs +1 -0
  72. package/dist/3911.cocolight-api-client.mjs.js +1 -0
  73. package/dist/4031.cocolight-api-client.browser.js +1 -0
  74. package/dist/4031.cocolight-api-client.cjs +1 -0
  75. package/dist/4031.cocolight-api-client.mjs.js +1 -0
  76. package/dist/4152.cocolight-api-client.browser.js +1 -0
  77. package/dist/4152.cocolight-api-client.cjs +1 -0
  78. package/dist/4152.cocolight-api-client.mjs.js +1 -0
  79. package/dist/4203.cocolight-api-client.browser.js +1 -0
  80. package/dist/4203.cocolight-api-client.cjs +1 -0
  81. package/dist/4203.cocolight-api-client.mjs.js +1 -0
  82. package/dist/424.cocolight-api-client.browser.js +1 -0
  83. package/dist/424.cocolight-api-client.cjs +1 -0
  84. package/dist/424.cocolight-api-client.mjs.js +1 -0
  85. package/dist/435.cocolight-api-client.browser.js +1 -0
  86. package/dist/435.cocolight-api-client.cjs +1 -0
  87. package/dist/435.cocolight-api-client.mjs.js +1 -0
  88. package/dist/4402.cocolight-api-client.browser.js +1 -0
  89. package/dist/4402.cocolight-api-client.cjs +1 -0
  90. package/dist/4402.cocolight-api-client.mjs.js +1 -0
  91. package/dist/4425.cocolight-api-client.browser.js +1 -0
  92. package/dist/4425.cocolight-api-client.cjs +1 -0
  93. package/dist/4425.cocolight-api-client.mjs.js +1 -0
  94. package/dist/4472.cocolight-api-client.browser.js +1 -0
  95. package/dist/4472.cocolight-api-client.cjs +1 -0
  96. package/dist/4472.cocolight-api-client.mjs.js +1 -0
  97. package/dist/4914.cocolight-api-client.browser.js +1 -0
  98. package/dist/4914.cocolight-api-client.cjs +1 -0
  99. package/dist/4914.cocolight-api-client.mjs.js +1 -0
  100. package/dist/4959.cocolight-api-client.browser.js +1 -0
  101. package/dist/4959.cocolight-api-client.cjs +1 -0
  102. package/dist/4959.cocolight-api-client.mjs.js +1 -0
  103. package/dist/5100.cocolight-api-client.browser.js +1 -0
  104. package/dist/5100.cocolight-api-client.cjs +1 -0
  105. package/dist/5100.cocolight-api-client.mjs.js +1 -0
  106. package/dist/5111.cocolight-api-client.browser.js +1 -0
  107. package/dist/5111.cocolight-api-client.cjs +1 -0
  108. package/dist/5111.cocolight-api-client.mjs.js +1 -0
  109. package/dist/5286.cocolight-api-client.browser.js +1 -0
  110. package/dist/5286.cocolight-api-client.cjs +1 -0
  111. package/dist/5286.cocolight-api-client.mjs.js +1 -0
  112. package/dist/5380.cocolight-api-client.browser.js +1 -0
  113. package/dist/5380.cocolight-api-client.cjs +1 -0
  114. package/dist/5380.cocolight-api-client.mjs.js +1 -0
  115. package/dist/5383.cocolight-api-client.browser.js +1 -0
  116. package/dist/5383.cocolight-api-client.cjs +1 -0
  117. package/dist/5383.cocolight-api-client.mjs.js +1 -0
  118. package/dist/5480.cocolight-api-client.browser.js +1 -0
  119. package/dist/5480.cocolight-api-client.cjs +1 -0
  120. package/dist/5480.cocolight-api-client.mjs.js +1 -0
  121. package/dist/5541.cocolight-api-client.browser.js +1 -0
  122. package/dist/5541.cocolight-api-client.cjs +1 -0
  123. package/dist/5541.cocolight-api-client.mjs.js +1 -0
  124. package/dist/5839.cocolight-api-client.browser.js +1 -0
  125. package/dist/5839.cocolight-api-client.cjs +1 -0
  126. package/dist/5839.cocolight-api-client.mjs.js +1 -0
  127. package/dist/5862.cocolight-api-client.browser.js +1 -0
  128. package/dist/5862.cocolight-api-client.cjs +1 -0
  129. package/dist/5862.cocolight-api-client.mjs.js +1 -0
  130. package/dist/5869.cocolight-api-client.browser.js +1 -0
  131. package/dist/5869.cocolight-api-client.cjs +1 -0
  132. package/dist/5869.cocolight-api-client.mjs.js +1 -0
  133. package/dist/588.cocolight-api-client.cjs +1 -1
  134. package/dist/588.cocolight-api-client.mjs.js +1 -1
  135. package/dist/601.cocolight-api-client.browser.js +1 -0
  136. package/dist/601.cocolight-api-client.cjs +1 -0
  137. package/dist/601.cocolight-api-client.mjs.js +1 -0
  138. package/dist/6012.cocolight-api-client.browser.js +1 -0
  139. package/dist/6012.cocolight-api-client.cjs +1 -0
  140. package/dist/6012.cocolight-api-client.mjs.js +1 -0
  141. package/dist/6200.cocolight-api-client.browser.js +1 -0
  142. package/dist/6200.cocolight-api-client.cjs +1 -0
  143. package/dist/6200.cocolight-api-client.mjs.js +1 -0
  144. package/dist/6369.cocolight-api-client.browser.js +1 -0
  145. package/dist/6369.cocolight-api-client.cjs +1 -0
  146. package/dist/6369.cocolight-api-client.mjs.js +1 -0
  147. package/dist/7009.cocolight-api-client.browser.js +1 -0
  148. package/dist/7009.cocolight-api-client.cjs +1 -0
  149. package/dist/7009.cocolight-api-client.mjs.js +1 -0
  150. package/dist/725.cocolight-api-client.browser.js +1 -0
  151. package/dist/725.cocolight-api-client.cjs +1 -0
  152. package/dist/725.cocolight-api-client.mjs.js +1 -0
  153. package/dist/7320.cocolight-api-client.browser.js +1 -0
  154. package/dist/7339.cocolight-api-client.browser.js +1 -0
  155. package/dist/7339.cocolight-api-client.cjs +1 -0
  156. package/dist/7339.cocolight-api-client.mjs.js +1 -0
  157. package/dist/7398.cocolight-api-client.browser.js +1 -0
  158. package/dist/7398.cocolight-api-client.cjs +1 -0
  159. package/dist/7398.cocolight-api-client.mjs.js +1 -0
  160. package/dist/7888.cocolight-api-client.browser.js +1 -0
  161. package/dist/7888.cocolight-api-client.cjs +1 -0
  162. package/dist/7888.cocolight-api-client.mjs.js +1 -0
  163. package/dist/7975.cocolight-api-client.browser.js +1 -0
  164. package/dist/7975.cocolight-api-client.cjs +1 -0
  165. package/dist/7975.cocolight-api-client.mjs.js +1 -0
  166. package/dist/809.cocolight-api-client.browser.js +1 -0
  167. package/dist/809.cocolight-api-client.cjs +1 -0
  168. package/dist/809.cocolight-api-client.mjs.js +1 -0
  169. package/dist/8300.cocolight-api-client.browser.js +1 -0
  170. package/dist/8300.cocolight-api-client.cjs +1 -0
  171. package/dist/8300.cocolight-api-client.mjs.js +1 -0
  172. package/dist/8317.cocolight-api-client.browser.js +1 -0
  173. package/dist/8317.cocolight-api-client.cjs +1 -0
  174. package/dist/8317.cocolight-api-client.mjs.js +1 -0
  175. package/dist/8525.cocolight-api-client.browser.js +1 -0
  176. package/dist/8525.cocolight-api-client.cjs +1 -0
  177. package/dist/8525.cocolight-api-client.mjs.js +1 -0
  178. package/dist/8894.cocolight-api-client.browser.js +1 -0
  179. package/dist/8894.cocolight-api-client.cjs +1 -0
  180. package/dist/8894.cocolight-api-client.mjs.js +1 -0
  181. package/dist/9301.cocolight-api-client.browser.js +1 -0
  182. package/dist/9301.cocolight-api-client.cjs +1 -0
  183. package/dist/9301.cocolight-api-client.mjs.js +1 -0
  184. package/dist/9438.cocolight-api-client.browser.js +1 -0
  185. package/dist/9438.cocolight-api-client.cjs +1 -0
  186. package/dist/9438.cocolight-api-client.mjs.js +1 -0
  187. package/dist/9478.cocolight-api-client.browser.js +1 -0
  188. package/dist/9478.cocolight-api-client.cjs +1 -0
  189. package/dist/9478.cocolight-api-client.mjs.js +1 -0
  190. package/dist/9568.cocolight-api-client.browser.js +1 -0
  191. package/dist/9568.cocolight-api-client.cjs +1 -0
  192. package/dist/9568.cocolight-api-client.mjs.js +1 -0
  193. package/dist/cocolight-api-client.browser.js +3 -3
  194. package/dist/cocolight-api-client.cjs +1 -1
  195. package/dist/cocolight-api-client.mjs.js +1 -1
  196. package/dist/cocolight-api-client.vite.mjs.js +1 -1
  197. package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
  198. package/package.json +3 -2
  199. package/src/ApiClient.ts +53 -13
  200. package/src/api/BaseEntity.ts +241 -6
  201. package/src/api/EndpointApi.ts +17 -1
  202. package/src/api/EndpointApi.types.ts +218 -430
  203. package/src/api/Event.ts +6 -0
  204. package/src/api/Organization.ts +21 -85
  205. package/src/api/Poi.ts +10 -101
  206. package/src/api/Project.ts +6 -0
  207. package/src/api/User.ts +19 -1
  208. package/src/costum/normalize.ts +7 -0
  209. package/src/costum/registry.ts +138 -0
  210. package/src/costum/runtime-map.ts +221 -0
  211. package/src/costum/runtime.ts +221 -0
  212. package/src/costum/schemas/CercleTravailleursSociauxLiberauxLaPlumeSociale.ts +19 -0
  213. package/src/costum/schemas/FabEn.ts +19 -0
  214. package/src/costum/schemas/LivingLabInnovationSocialeBraspanon.ts +19 -0
  215. package/src/costum/schemas/alfph.ts +27 -0
  216. package/src/costum/schemas/campagne.ts +19 -0
  217. package/src/costum/schemas/chtitube.ts +19 -0
  218. package/src/costum/schemas/circuitCourt.ts +19 -0
  219. package/src/costum/schemas/cmcasHauteBretagne.ts +19 -0
  220. package/src/costum/schemas/coFinancementTierslieux.ts +27 -0
  221. package/src/costum/schemas/coeurNumerique.ts +19 -0
  222. package/src/costum/schemas/communLundi.ts +19 -0
  223. package/src/costum/schemas/cressReunion.ts +35 -0
  224. package/src/costum/schemas/cressReunionNetwork.ts +35 -0
  225. package/src/costum/schemas/ctenat.ts +43 -0
  226. package/src/costum/schemas/cyberReunion.ts +19 -0
  227. package/src/costum/schemas/ekisphere.ts +35 -0
  228. package/src/costum/schemas/equipementsSportifs974.ts +19 -0
  229. package/src/costum/schemas/federationDesCae.ts +19 -0
  230. package/src/costum/schemas/formationGenerique.ts +35 -0
  231. package/src/costum/schemas/franceTierslieux.ts +19 -0
  232. package/src/costum/schemas/hinaura.ts +27 -0
  233. package/src/costum/schemas/hubmayotte.ts +19 -0
  234. package/src/costum/schemas/hubnouvellecaledonie.ts +19 -0
  235. package/src/costum/schemas/hubpolynesiefrancaise.ts +19 -0
  236. package/src/costum/schemas/hubreunion.ts +19 -0
  237. package/src/costum/schemas/hubterritoires.ts +19 -0
  238. package/src/costum/schemas/hubwallisetfutuna.ts +19 -0
  239. package/src/costum/schemas/hva.ts +27 -0
  240. package/src/costum/schemas/ibv2.ts +19 -0
  241. package/src/costum/schemas/institutBleu.ts +19 -0
  242. package/src/costum/schemas/journalInsoumisChambery.ts +27 -0
  243. package/src/costum/schemas/kpacite.ts +19 -0
  244. package/src/costum/schemas/laCompagnieDesTierslieux.ts +43 -0
  245. package/src/costum/schemas/laMaisonDesFaiseurs.ts +19 -0
  246. package/src/costum/schemas/laReunionPourUnNumeriqueInclusif.ts +19 -0
  247. package/src/costum/schemas/laSemaineDesTierslieux.ts +19 -0
  248. package/src/costum/schemas/labEnCommuns.ts +19 -0
  249. package/src/costum/schemas/lakou.ts +27 -0
  250. package/src/costum/schemas/lesCommunsDesTierslieux.ts +19 -0
  251. package/src/costum/schemas/mayottePourUnNumeriqueInclusif.ts +19 -0
  252. package/src/costum/schemas/meir.ts +27 -0
  253. package/src/costum/schemas/navigatorDesTierslieux.ts +19 -0
  254. package/src/costum/schemas/notragora.ts +27 -0
  255. package/src/costum/schemas/nouvellecaledoniePourUnNumeriqueInclusif.ts +19 -0
  256. package/src/costum/schemas/openAtlas.ts +19 -0
  257. package/src/costum/schemas/polynesieFrancaisePourUnNumeriqueInclusif.ts +19 -0
  258. package/src/costum/schemas/prdr.ts +19 -0
  259. package/src/costum/schemas/reseauTierslieux.ts +19 -0
  260. package/src/costum/schemas/rfflabs.ts +19 -0
  261. package/src/costum/schemas/ries.ts +19 -0
  262. package/src/costum/schemas/siteDuPactePourLaTransition.ts +27 -0
  263. package/src/costum/schemas/sportSanteBienetre.ts +43 -0
  264. package/src/costum/schemas/suppa.ts +19 -0
  265. package/src/costum/schemas/terramies.ts +19 -0
  266. package/src/costum/schemas/testeTplFormation.ts +35 -0
  267. package/src/costum/schemas/tierslieuxbelgique.ts +19 -0
  268. package/src/costum/schemas/tierslieuxorg1.ts +35 -0
  269. package/src/costum/schemas/transiter.ts +35 -0
  270. package/src/costum/schemas/vhelioPeiTour2025.ts +19 -0
  271. package/src/costum/schemas/wallisetfutunaPourUnNumeriqueInclusif.ts +19 -0
  272. package/src/costum/symbol.ts +26 -0
  273. package/src/costum/types.ts +895 -0
  274. package/src/endpoints.module.ts +329 -219
  275. package/src/forms/entityForm.ts +142 -0
  276. package/src/index.ts +14 -0
  277. package/types/ApiClient.d.ts +1 -0
  278. package/types/api/BaseEntity.d.ts +69 -2
  279. package/types/api/EndpointApi.d.ts +11 -1
  280. package/types/api/EndpointApi.types.d.ts +36 -272
  281. package/types/api/Event.d.ts +2 -0
  282. package/types/api/Organization.d.ts +15 -71
  283. package/types/api/Poi.d.ts +2 -36
  284. package/types/api/Project.d.ts +2 -0
  285. package/types/api/User.d.ts +14 -0
  286. package/types/costum/normalize.d.ts +2 -0
  287. package/types/costum/registry.d.ts +11 -0
  288. package/types/costum/runtime-map.d.ts +3 -0
  289. package/types/costum/runtime.d.ts +99 -0
  290. package/types/costum/schemas/CercleTravailleursSociauxLiberauxLaPlumeSociale.d.ts +3 -0
  291. package/types/costum/schemas/FabEn.d.ts +3 -0
  292. package/types/costum/schemas/LivingLabInnovationSocialeBraspanon.d.ts +3 -0
  293. package/types/costum/schemas/alfph.d.ts +3 -0
  294. package/types/costum/schemas/campagne.d.ts +3 -0
  295. package/types/costum/schemas/chtitube.d.ts +3 -0
  296. package/types/costum/schemas/circuitCourt.d.ts +3 -0
  297. package/types/costum/schemas/cmcasHauteBretagne.d.ts +3 -0
  298. package/types/costum/schemas/coFinancementTierslieux.d.ts +3 -0
  299. package/types/costum/schemas/coeurNumerique.d.ts +3 -0
  300. package/types/costum/schemas/communLundi.d.ts +3 -0
  301. package/types/costum/schemas/cressReunion.d.ts +3 -0
  302. package/types/costum/schemas/cressReunionNetwork.d.ts +3 -0
  303. package/types/costum/schemas/ctenat.d.ts +3 -0
  304. package/types/costum/schemas/cyberReunion.d.ts +3 -0
  305. package/types/costum/schemas/ekisphere.d.ts +3 -0
  306. package/types/costum/schemas/equipementsSportifs974.d.ts +3 -0
  307. package/types/costum/schemas/federationDesCae.d.ts +3 -0
  308. package/types/costum/schemas/formationGenerique.d.ts +3 -0
  309. package/types/costum/schemas/franceTierslieux.d.ts +3 -0
  310. package/types/costum/schemas/hinaura.d.ts +3 -0
  311. package/types/costum/schemas/hubmayotte.d.ts +3 -0
  312. package/types/costum/schemas/hubnouvellecaledonie.d.ts +3 -0
  313. package/types/costum/schemas/hubpolynesiefrancaise.d.ts +3 -0
  314. package/types/costum/schemas/hubreunion.d.ts +3 -0
  315. package/types/costum/schemas/hubterritoires.d.ts +3 -0
  316. package/types/costum/schemas/hubwallisetfutuna.d.ts +3 -0
  317. package/types/costum/schemas/hva.d.ts +3 -0
  318. package/types/costum/schemas/ibv2.d.ts +3 -0
  319. package/types/costum/schemas/institutBleu.d.ts +3 -0
  320. package/types/costum/schemas/journalInsoumisChambery.d.ts +3 -0
  321. package/types/costum/schemas/kpacite.d.ts +3 -0
  322. package/types/costum/schemas/laCompagnieDesTierslieux.d.ts +3 -0
  323. package/types/costum/schemas/laMaisonDesFaiseurs.d.ts +3 -0
  324. package/types/costum/schemas/laReunionPourUnNumeriqueInclusif.d.ts +3 -0
  325. package/types/costum/schemas/laSemaineDesTierslieux.d.ts +3 -0
  326. package/types/costum/schemas/labEnCommuns.d.ts +3 -0
  327. package/types/costum/schemas/lakou.d.ts +3 -0
  328. package/types/costum/schemas/lesCommunsDesTierslieux.d.ts +3 -0
  329. package/types/costum/schemas/mayottePourUnNumeriqueInclusif.d.ts +3 -0
  330. package/types/costum/schemas/meir.d.ts +3 -0
  331. package/types/costum/schemas/navigatorDesTierslieux.d.ts +3 -0
  332. package/types/costum/schemas/notragora.d.ts +3 -0
  333. package/types/costum/schemas/nouvellecaledoniePourUnNumeriqueInclusif.d.ts +3 -0
  334. package/types/costum/schemas/openAtlas.d.ts +3 -0
  335. package/types/costum/schemas/polynesieFrancaisePourUnNumeriqueInclusif.d.ts +3 -0
  336. package/types/costum/schemas/prdr.d.ts +3 -0
  337. package/types/costum/schemas/reseauTierslieux.d.ts +3 -0
  338. package/types/costum/schemas/rfflabs.d.ts +3 -0
  339. package/types/costum/schemas/ries.d.ts +3 -0
  340. package/types/costum/schemas/siteDuPactePourLaTransition.d.ts +3 -0
  341. package/types/costum/schemas/sportSanteBienetre.d.ts +3 -0
  342. package/types/costum/schemas/suppa.d.ts +3 -0
  343. package/types/costum/schemas/terramies.d.ts +3 -0
  344. package/types/costum/schemas/testeTplFormation.d.ts +3 -0
  345. package/types/costum/schemas/tierslieuxbelgique.d.ts +3 -0
  346. package/types/costum/schemas/tierslieuxorg1.d.ts +3 -0
  347. package/types/costum/schemas/transiter.d.ts +3 -0
  348. package/types/costum/schemas/vhelioPeiTour2025.d.ts +3 -0
  349. package/types/costum/schemas/wallisetfutunaPourUnNumeriqueInclusif.d.ts +3 -0
  350. package/types/costum/symbol.d.ts +25 -0
  351. package/types/costum/types.d.ts +822 -0
  352. package/types/endpoints.module.d.ts +1393 -6162
  353. package/types/forms/entityForm.d.ts +28 -0
  354. package/types/index.d.ts +4 -0
@@ -1,3 +1,17 @@
1
+ export interface DocumentListData {
2
+ pathParams?: {
3
+ /**
4
+ * ID MongoDB de l'élément
5
+ */
6
+ id: string;
7
+ /**
8
+ * Type d'élément
9
+ */
10
+ type: "citoyens" | "organizations" | "projects" | "events" | "poi";
11
+ [k: string]: unknown;
12
+ };
13
+ [k: string]: unknown;
14
+ }
1
15
  export interface PersonRegisterData {
2
16
  /**
3
17
  * Nom complet de l'utilisateur
@@ -2574,7 +2588,7 @@ export interface AddOrganizationData {
2574
2588
  * Rôle principal de l’organisation
2575
2589
  */
2576
2590
  role: "admin" | "member";
2577
- tags?: string[];
2591
+ tags?: "" | string[];
2578
2592
  /**
2579
2593
  * Email de l’organisation
2580
2594
  */
@@ -2598,18 +2612,12 @@ export interface AddOrganizationData {
2598
2612
  isOpenEdition: boolean;
2599
2613
  [k: string]: unknown;
2600
2614
  };
2601
- /**
2602
- * Coordonnées géographiques
2603
- */
2604
- geo?: {
2615
+ geo?: "" | {
2605
2616
  "@type"?: "GeoCoordinates";
2606
2617
  latitude: string | number;
2607
2618
  longitude: string | number;
2608
2619
  };
2609
- /**
2610
- * Position géographique GeoJSON
2611
- */
2612
- geoPosition?: {
2620
+ geoPosition?: "" | {
2613
2621
  /**
2614
2622
  * Type GeoJSON (doit être 'Point')
2615
2623
  */
@@ -2624,7 +2632,7 @@ export interface AddOrganizationData {
2624
2632
  /**
2625
2633
  * Indicateur pour forcer la conversion en float côté serveur
2626
2634
  */
2627
- float: true;
2635
+ float?: true;
2628
2636
  [k: string]: unknown;
2629
2637
  };
2630
2638
  /**
@@ -2641,7 +2649,7 @@ export interface AddOrganizationData {
2641
2649
  tags: string[];
2642
2650
  };
2643
2651
  };
2644
- address?: {
2652
+ address?: "" | {
2645
2653
  "@type": "PostalAddress";
2646
2654
  addressCountry: string;
2647
2655
  codeInsee: string;
@@ -2669,34 +2677,6 @@ export interface AddOrganizationData {
2669
2677
  streetAddress?: string;
2670
2678
  };
2671
2679
  scope: "";
2672
- /**
2673
- * Nom de la structure porteuse (différent du nom du tiers-lieu)
2674
- */
2675
- holderOrganization?: string;
2676
- /**
2677
- * Mode de gestion (Association, Collectif citoyen, SCIC, etc.)
2678
- */
2679
- manageModel?: string;
2680
- /**
2681
- * Famille(s) de tiers-lieux (Coworking, Fablab, Foodlab, etc.)
2682
- */
2683
- typePlace?: string;
2684
- /**
2685
- * Réseau accompagnateur (ex: Compagnon France Tiers-Lieux)
2686
- */
2687
- compagnon?: string;
2688
- /**
2689
- * Surface bâtie en m²
2690
- */
2691
- buildingSurfaceArea?: number;
2692
- /**
2693
- * Surface extérieure en m²
2694
- */
2695
- siteSurfaceArea?: number;
2696
- /**
2697
- * Date d'ouverture du tiers-lieu (format libre, ex: 05/05/2026)
2698
- */
2699
- openingDate?: string;
2700
2680
  /**
2701
2681
  * Horaires d'ouverture (7 entrées, une par jour de la semaine ; "" pour un jour fermé). Doit rester synchronisé avec VIRTUAL_OPENING_HOURS dans Organization.ts.
2702
2682
  *
@@ -2855,17 +2835,11 @@ export interface AddOrganizationData {
2855
2835
  */
2856
2836
  mainTag?: string;
2857
2837
  /**
2858
- * Slug du costum d'origine
2859
- */
2860
- costumSlug?: string;
2861
- /**
2862
- * ID Mongo du costum d'origine
2863
- */
2864
- costumId?: string;
2865
- /**
2866
- * Type d'entité du costum (ex: projects)
2838
+ * Réseaux sociaux objet keyé par plateforme (facebook/twitter/instagram/linkedin/youtube/mastodon/telegram/...). dataBinding org legacy `socialNetwork` (Organization.php:82).
2867
2839
  */
2868
- costumType?: string;
2840
+ socialNetwork?: {
2841
+ [k: string]: string;
2842
+ };
2869
2843
  [k: string]: unknown;
2870
2844
  }
2871
2845
  export interface AddProjectData {
@@ -2905,7 +2879,7 @@ export interface AddProjectData {
2905
2879
  * Visibilité (true/false)
2906
2880
  */
2907
2881
  public: boolean;
2908
- tags?: string[];
2882
+ tags?: "" | string[];
2909
2883
  /**
2910
2884
  * Description courte
2911
2885
  */
@@ -2929,18 +2903,12 @@ export interface AddProjectData {
2929
2903
  crowdfunding?: boolean;
2930
2904
  [k: string]: unknown;
2931
2905
  };
2932
- /**
2933
- * Coordonnées géographiques
2934
- */
2935
- geo?: {
2906
+ geo?: "" | {
2936
2907
  "@type"?: "GeoCoordinates";
2937
2908
  latitude: string | number;
2938
2909
  longitude: string | number;
2939
2910
  };
2940
- /**
2941
- * Position géographique GeoJSON
2942
- */
2943
- geoPosition?: {
2911
+ geoPosition?: "" | {
2944
2912
  /**
2945
2913
  * Type GeoJSON (doit être 'Point')
2946
2914
  */
@@ -2955,10 +2923,10 @@ export interface AddProjectData {
2955
2923
  /**
2956
2924
  * Indicateur pour forcer la conversion en float côté serveur
2957
2925
  */
2958
- float: true;
2926
+ float?: true;
2959
2927
  [k: string]: unknown;
2960
2928
  };
2961
- address?: {
2929
+ address?: "" | {
2962
2930
  "@type": "PostalAddress";
2963
2931
  addressCountry: string;
2964
2932
  codeInsee: string;
@@ -2986,18 +2954,6 @@ export interface AddProjectData {
2986
2954
  streetAddress?: string;
2987
2955
  };
2988
2956
  scope: "";
2989
- /**
2990
- * Slug du costum d'origine
2991
- */
2992
- costumSlug?: string;
2993
- /**
2994
- * ID Mongo du costum d'origine
2995
- */
2996
- costumId?: string;
2997
- /**
2998
- * Type d'entité du costum (ex: projects)
2999
- */
3000
- costumType?: string;
3001
2957
  [k: string]: unknown;
3002
2958
  }
3003
2959
  export interface AddPoiData {
@@ -3050,23 +3006,17 @@ export interface AddPoiData {
3050
3006
  * Description
3051
3007
  */
3052
3008
  description?: string;
3053
- tags?: string[];
3009
+ tags?: "" | string[];
3054
3010
  /**
3055
3011
  * URLs externes associées
3056
3012
  */
3057
3013
  urls?: string[];
3058
- /**
3059
- * Coordonnées géographiques
3060
- */
3061
- geo?: {
3014
+ geo?: "" | {
3062
3015
  "@type"?: "GeoCoordinates";
3063
3016
  latitude: string | number;
3064
3017
  longitude: string | number;
3065
3018
  };
3066
- /**
3067
- * Position géographique GeoJSON
3068
- */
3069
- geoPosition?: {
3019
+ geoPosition?: "" | {
3070
3020
  /**
3071
3021
  * Type GeoJSON (doit être 'Point')
3072
3022
  */
@@ -3081,10 +3031,10 @@ export interface AddPoiData {
3081
3031
  /**
3082
3032
  * Indicateur pour forcer la conversion en float côté serveur
3083
3033
  */
3084
- float: true;
3034
+ float?: true;
3085
3035
  [k: string]: unknown;
3086
3036
  };
3087
- address?: {
3037
+ address?: "" | {
3088
3038
  "@type": "PostalAddress";
3089
3039
  addressCountry: string;
3090
3040
  codeInsee: string;
@@ -3112,174 +3062,6 @@ export interface AddPoiData {
3112
3062
  streetAddress?: string;
3113
3063
  };
3114
3064
  scope?: "";
3115
- /**
3116
- * Catégorie du POI
3117
- */
3118
- categorie?: string;
3119
- /**
3120
- * Type d'équipement
3121
- */
3122
- equip_type_name?: string;
3123
- /**
3124
- * Nom de l'institution associée
3125
- */
3126
- inst_nom?: string;
3127
- /**
3128
- * Accessibilité handicapé
3129
- */
3130
- inst_acc_handi_bool?: boolean;
3131
- /**
3132
- * Transport
3133
- */
3134
- inst_trans_bool?: boolean;
3135
- /**
3136
- * Famille du type d'équipement
3137
- */
3138
- equip_type_famille?: string;
3139
- /**
3140
- * Date de création de l'institution
3141
- */
3142
- inst_date_creation?: string;
3143
- /**
3144
- * Date de l'enquête
3145
- */
3146
- inst_enqu_date?: string;
3147
- /**
3148
- * Date de mise à jour
3149
- */
3150
- equip_maj_date?: string;
3151
- /**
3152
- * Nature de l'équipement
3153
- */
3154
- equip_nature?: string;
3155
- /**
3156
- * Type de sol
3157
- */
3158
- equip_sol?: string;
3159
- /**
3160
- * Surface
3161
- */
3162
- equip_surf?: number;
3163
- /**
3164
- * Éclairage
3165
- */
3166
- equip_eclair?: boolean;
3167
- /**
3168
- * Nom de l'APS
3169
- */
3170
- aps_name?: string[];
3171
- /**
3172
- * Accessibilité libre
3173
- */
3174
- equip_acc_libre?: boolean;
3175
- /**
3176
- * Type d'accessibilité handicapé
3177
- */
3178
- inst_acc_handi_type?: string;
3179
- /**
3180
- * Type de transport
3181
- */
3182
- inst_trans_type?: string;
3183
- /**
3184
- * Participation
3185
- */
3186
- inst_part_bool?: boolean;
3187
- /**
3188
- * Type de participation
3189
- */
3190
- inst_part_type?: string[];
3191
- /**
3192
- * Nom du propriétaire de l'équipement
3193
- */
3194
- equip_prop_nom?: string;
3195
- /**
3196
- * Type du propriétaire de l'équipement
3197
- */
3198
- equip_prop_type?: string;
3199
- /**
3200
- * Type de gestion de l'équipement
3201
- */
3202
- equip_gest_type?: string;
3203
- /**
3204
- * Accessibilité pour personnes à mobilité réduite
3205
- */
3206
- equip_pmr_acc?: boolean;
3207
- /**
3208
- * Chemin pour personnes à mobilité réduite
3209
- */
3210
- equip_pmr_chem?: boolean;
3211
- /**
3212
- * Douche pour personnes à mobilité réduite
3213
- */
3214
- equip_pmr_douche?: boolean;
3215
- /**
3216
- * Sanitaire pour personnes à mobilité réduite
3217
- */
3218
- equip_pmr_sanit?: boolean;
3219
- /**
3220
- * Tribune pour personnes à mobilité réduite
3221
- */
3222
- equip_pmr_trib?: boolean;
3223
- /**
3224
- * Vestiaire pour personnes à mobilité réduite
3225
- */
3226
- equip_pmr_vest?: boolean;
3227
- /**
3228
- * Aire de repos pour personnes à mobilité réduite
3229
- */
3230
- equip_pshs_aire?: boolean;
3231
- /**
3232
- * Chemin pour personnes à mobilité réduite
3233
- */
3234
- equip_pshs_chem?: boolean;
3235
- /**
3236
- * Sanitaire pour personnes à mobilité réduite
3237
- */
3238
- equip_pshs_sanit?: boolean;
3239
- /**
3240
- * Tribune pour personnes à mobilité réduite
3241
- */
3242
- equip_pshs_trib?: boolean;
3243
- /**
3244
- * Vestiaire pour personnes à mobilité réduite
3245
- */
3246
- equip_pshs_vest?: boolean;
3247
- /**
3248
- * Signalisation pour personnes à mobilité réduite
3249
- */
3250
- equip_pshs_sign?: boolean;
3251
- /**
3252
- * Largeur de l'équipement
3253
- */
3254
- equip_larg?: number;
3255
- /**
3256
- * Longueur de l'équipement
3257
- */
3258
- equip_long?: number;
3259
- /**
3260
- * Douche
3261
- */
3262
- equip_douche?: boolean;
3263
- /**
3264
- * Type de localisation de l'équipement
3265
- */
3266
- equip_loc_type?: string[];
3267
- /**
3268
- * Utilisateur de l'équipement
3269
- */
3270
- equip_utilisateur?: string[];
3271
- /**
3272
- * Slug du costum d'origine
3273
- */
3274
- costumSlug?: string;
3275
- /**
3276
- * ID Mongo du costum d'origine
3277
- */
3278
- costumId?: string;
3279
- /**
3280
- * Type d'entité du costum (ex: projects)
3281
- */
3282
- costumType?: string;
3283
3065
  [k: string]: unknown;
3284
3066
  }
3285
3067
  export interface AddEventData {
@@ -3523,18 +3305,12 @@ export interface AddEventData {
3523
3305
  }[];
3524
3306
  })
3525
3307
  ];
3526
- /**
3527
- * Coordonnées géographiques
3528
- */
3529
- geo?: {
3308
+ geo?: "" | {
3530
3309
  "@type"?: "GeoCoordinates";
3531
3310
  latitude: string | number;
3532
3311
  longitude: string | number;
3533
3312
  };
3534
- /**
3535
- * Position géographique GeoJSON
3536
- */
3537
- geoPosition?: {
3313
+ geoPosition?: "" | {
3538
3314
  /**
3539
3315
  * Type GeoJSON (doit être 'Point')
3540
3316
  */
@@ -3549,7 +3325,7 @@ export interface AddEventData {
3549
3325
  /**
3550
3326
  * Indicateur pour forcer la conversion en float côté serveur
3551
3327
  */
3552
- float: true;
3328
+ float?: true;
3553
3329
  [k: string]: unknown;
3554
3330
  };
3555
3331
  address?: "" | {
@@ -3580,18 +3356,6 @@ export interface AddEventData {
3580
3356
  streetAddress?: string;
3581
3357
  };
3582
3358
  scope: "";
3583
- /**
3584
- * Slug du costum d'origine
3585
- */
3586
- costumSlug?: string;
3587
- /**
3588
- * ID Mongo du costum d'origine
3589
- */
3590
- costumId?: string;
3591
- /**
3592
- * Type d'entité du costum (ex: projects)
3593
- */
3594
- costumType?: string;
3595
3359
  [k: string]: unknown;
3596
3360
  }
3597
3361
  export interface DeleteElementData {
@@ -6,6 +6,8 @@ type EventItemNormalized = import("./serverDataType/Event.js").EventItemNormaliz
6
6
  export declare class Event extends BaseEntity<EventItemNormalized> {
7
7
  static entityType: string;
8
8
  static entityTag: string;
9
+ /** Bloc de création où injecter les champs costum (CostumScope). */
10
+ static COSTUM_ADD_CONSTANT: string;
9
11
  static SCHEMA_CONSTANTS: string[];
10
12
  static ADD_BLOCKS: Map<"PROFIL_IMAGE" | "ADD_EVENT", "updateImageProfil" | "addEvent">;
11
13
  static UPDATE_BLOCKS: Map<"UPDATE_BLOCK_SLUG" | "PROFIL_IMAGE", "updateImageProfil" | "updateSlug">;
@@ -7,6 +7,8 @@ import type { User } from "./User.js";
7
7
  export declare class Organization extends BaseEntity<OrganizationItemNormalized> {
8
8
  static entityType: string;
9
9
  static entityTag: string;
10
+ /** Bloc de création où injecter les champs costum (CostumScope). */
11
+ static COSTUM_ADD_CONSTANT: string;
10
12
  static SCHEMA_CONSTANTS: string[];
11
13
  static VIRTUAL_SCHEMAS: {
12
14
  VIRTUAL_OPENING_HOURS: {
@@ -63,34 +65,14 @@ export declare class Organization extends BaseEntity<OrganizationItemNormalized>
63
65
  };
64
66
  };
65
67
  /**
66
- * Champs custom tiers-lieu enregistrent les champs éditables côté draft proxy
67
- * via _composeAllowedFields. Aucun endpoint UPDATE_BLOCK_* ne couvre ces champs
68
- * côté backend ; chaque champ est dispatché via UPDATE_PATH_VALUE (cf. updateField()).
69
- *
70
- * Même pattern qu'Action.ts/VIRTUAL_ACTION_EDITABLE : déclaration uniquement pour
71
- * autoriser l'écriture sur le draft. Le persiste réel se fait via CUSTOM_FIELD_HANDLERS.
68
+ * Champs de BASE (DATA_BINDING) sans `UPDATE_BLOCK_*` dédié : `telephone`/`video`. Déclarés ici
69
+ * pour être writable sur le draft, persistés à l'édition via CUSTOM_FIELD_HANDLERS → UPDATE_PATH_VALUE.
70
+ * (Les champs TIERS-LIEU costum holderOrganization/manageModel/typePlace/buildingSurfaceArea/
71
+ * siteSurfaceArea/openingDate — sont désormais gérés par CostumScope/auto-derive, cf. inc1b/inc2.)
72
72
  */
73
- VIRTUAL_ORG_TIERS_LIEU_FIELDS: {
73
+ VIRTUAL_ORG_BASE_FIELDS: {
74
74
  type: string;
75
75
  properties: {
76
- holderOrganization: {
77
- type: string;
78
- };
79
- manageModel: {
80
- type: string;
81
- };
82
- typePlace: {
83
- type: string;
84
- };
85
- buildingSurfaceArea: {
86
- type: string;
87
- };
88
- siteSurfaceArea: {
89
- type: string;
90
- };
91
- openingDate: {
92
- type: string;
93
- };
94
76
  telephone: {
95
77
  type: string;
96
78
  };
@@ -103,33 +85,15 @@ export declare class Organization extends BaseEntity<OrganizationItemNormalized>
103
85
  };
104
86
  };
105
87
  };
106
- static CUSTOM_FIELD_HANDLERS: Map<"holderOrganization" | "manageModel" | "typePlace" | "buildingSurfaceArea" | "siteSurfaceArea" | "openingDate" | "openingHours" | "video" | "telephone", {
88
+ static CUSTOM_FIELD_HANDLERS: Map<"openingHours" | "video" | "telephone", {
107
89
  readonly updateMethod: "updateOpeningHours";
108
90
  readonly schemaConstant: "VIRTUAL_OPENING_HOURS";
109
- } | {
110
- readonly updateMethod: "updateHolderOrganization";
111
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
112
- } | {
113
- readonly updateMethod: "updateManageModel";
114
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
115
- } | {
116
- readonly updateMethod: "updateTypePlace";
117
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
118
- } | {
119
- readonly updateMethod: "updateBuildingSurfaceArea";
120
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
121
- } | {
122
- readonly updateMethod: "updateSiteSurfaceArea";
123
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
124
- } | {
125
- readonly updateMethod: "updateOpeningDate";
126
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
127
91
  } | {
128
92
  readonly updateMethod: "updateTelephone";
129
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
93
+ readonly schemaConstant: "VIRTUAL_ORG_BASE_FIELDS";
130
94
  } | {
131
95
  readonly updateMethod: "updateVideo";
132
- readonly schemaConstant: "VIRTUAL_ORG_TIERS_LIEU_FIELDS";
96
+ readonly schemaConstant: "VIRTUAL_ORG_BASE_FIELDS";
133
97
  }>;
134
98
  static ADD_BLOCKS: Map<"UPDATE_BLOCK_SOCIAL" | "PROFIL_IMAGE" | "ADD_ORGANIZATION", "updateImageProfil" | "updateSocial" | "addOrganization">;
135
99
  static UPDATE_BLOCKS: Map<"UPDATE_BLOCK_DESCRIPTION" | "UPDATE_BLOCK_INFO" | "UPDATE_BLOCK_SOCIAL" | "UPDATE_BLOCK_LOCALITY" | "UPDATE_BLOCK_SLUG" | "PROFIL_IMAGE", "updateImageProfil" | "updateDescription" | "updateSocial" | "updateLocality" | "updateInfo" | "updateSlug">;
@@ -364,33 +328,13 @@ export declare class Organization extends BaseEntity<OrganizationItemNormalized>
364
328
  updateOpeningHours(hours: OpeningHoursEntry[]): Promise<unknown>;
365
329
  /**
366
330
  * ───────────────────────────────
367
- * Champs custom tiers-lieu (navigatorDesTierslieux, etc.)
368
- *
369
- * Tous les champs ci-dessous sont dispatched via UPDATE_PATH_VALUE car aucun
370
- * endpoint UPDATE_BLOCK_* côté backend ne les couvre. Sans ces méthodes, le
371
- * flow `org.data.X = Y` + `save()` les drop silencieusement (les schémas de
372
- * UPDATE_BLOCK_INFO/DESCRIPTION/SOCIAL/LOCALITY filtrent strictement).
373
- *
374
- * Pattern identique à Action.ts (CUSTOM_FIELD_HANDLERS → updateXxx → updateField).
375
- * Voir tests/integration/advanced/tiers-lieux-save-fields.test.ts pour la preuve.
331
+ * Champs de BASE sans `UPDATE_BLOCK_*` dédié : `telephone` / `video` (dispatch UPDATE_PATH_VALUE).
332
+ * Les champs TIERS-LIEU costum (holderOrganization/manageModel/typePlace/buildingSurfaceArea/
333
+ * siteSurfaceArea/openingDate) sont gérés par CostumScope (création) + auto-derive de `_costumCtx`
334
+ * depuis `source.key` (chargement) dispatch générique `_dispatchCostumFieldUpdates`. cf. inc1b/inc2.
376
335
  * ───────────────────────────────
377
336
  */
378
- /** Met à jour `holderOrganization` (nom de la structure porteuse). */
379
- updateHolderOrganization(value: string): Promise<unknown>;
380
- /** Met à jour `manageModel` (mode de gestion : association, SCIC, SCOP, etc.). */
381
- updateManageModel(value: string): Promise<unknown>;
382
- /**
383
- * Met à jour `typePlace` (famille(s) de tiers-lieux).
384
- * Format : string CSV "label1, label2" (le backend stocke tel quel).
385
- */
386
- updateTypePlace(value: string): Promise<unknown>;
387
- /** Met à jour `buildingSurfaceArea` (surface bâtie en m²). `setType: "int"` force le cast. */
388
- updateBuildingSurfaceArea(value: number): Promise<unknown>;
389
- /** Met à jour `siteSurfaceArea` (surface extérieure en m²). `setType: "int"` force le cast. */
390
- updateSiteSurfaceArea(value: number): Promise<unknown>;
391
- /** Met à jour `openingDate` (format libre, ex: "05/05/2026" ou "01/MM/YYYY"). */
392
- updateOpeningDate(value: string): Promise<unknown>;
393
- /** Met à jour `telephone` (téléphone du tiers-lieu, distinct des champs citoyen fixe/mobile). */
337
+ /** Met à jour `telephone` (téléphone de la structure, distinct des champs citoyen fixe/mobile). */
394
338
  updateTelephone(value: string): Promise<unknown>;
395
339
  /** Met à jour `video` (liste d'URLs de vidéos de présentation). */
396
340
  updateVideo(value: string[]): Promise<unknown>;
@@ -4,50 +4,16 @@ import type { AddPoiData } from "./EndpointApi.types.js";
4
4
  export declare class Poi extends BaseEntity<PoiItemNormalized> {
5
5
  static entityType: string;
6
6
  static entityTag: string;
7
+ /** Bloc de création où injecter les champs costum (CostumScope). */
8
+ static COSTUM_ADD_CONSTANT: string;
7
9
  static SCHEMA_CONSTANTS: string[];
8
10
  static ADD_BLOCKS: Map<"PROFIL_IMAGE" | "ADD_POI", "updateImageProfil" | "addPoi">;
9
11
  static UPDATE_BLOCKS: Map<"UPDATE_BLOCK_DESCRIPTION" | "UPDATE_BLOCK_INFO" | "UPDATE_BLOCK_LOCALITY" | "UPDATE_BLOCK_SLUG" | "PROFIL_IMAGE", "updateImageProfil" | "updateDescription" | "updateLocality" | "updateInfo" | "updateSlug">;
10
- /**
11
- * Champs « équipement sportif » (RES) éditables hors `UPDATE_BLOCK_*` : déclarés en
12
- * VIRTUAL_SCHEMA (autorise l'écriture sur le draft + fixe les types) et persistés à
13
- * l'update via `CUSTOM_FIELD_HANDLERS` → `updateEquipmentField` → `UPDATE_PATH_VALUE`.
14
- * Même pattern qu'`Organization`/`Action`. (Ils restent aussi dans `ADD_POI` pour la création.)
15
- */
16
- static VIRTUAL_SCHEMAS: {
17
- VIRTUAL_POI_EQUIPMENT: {
18
- type: string;
19
- properties: {
20
- [k: string]: Record<string, unknown>;
21
- };
22
- };
23
- };
24
- static CUSTOM_FIELD_HANDLERS: Map<string, {
25
- updateMethod: string;
26
- schemaConstant?: string;
27
- }>;
28
- /** setType backend par champ équipement (consommé par `updateEquipmentField`). */
29
- private static readonly EQUIPMENT_SETTYPE;
30
12
  defaultFields: Record<string, any>;
31
13
  removeFields: string[];
32
14
  transforms: Record<string, (val: any, full?: any) => any>;
33
15
  _add: (payload: Record<string, any>) => Promise<void>;
34
16
  _update: (payload: Record<string, any>) => Promise<boolean>;
35
- /**
36
- * Handler générique des champs « équipement sportif » (RES), enregistré dans
37
- * `CUSTOM_FIELD_HANDLERS`. Persiste un champ via `UPDATE_PATH_VALUE` avec le `setType`
38
- * adéquat (lu dans `EQUIPMENT_SETTYPE`). `fieldName` est fourni par `_invokeCustomFieldHandler`.
39
- *
40
- * Effacement façon `Action` : `null`/`""` → on envoie `""` SANS `setType` → le backend fait
41
- * `!empty($value)` → `$unset` (sinon `floatval("")=0` écraserait au lieu d'effacer).
42
- */
43
- updateEquipmentField(value: unknown, fieldName: string): Promise<unknown>;
44
- /**
45
- * Override confiné à `Poi` : forwarde `fieldName` au handler (2e argument) pour permettre
46
- * un handler générique unique (`updateEquipmentField`) couvrant les ~39 champs équipement,
47
- * sans toucher `BaseEntity._invokeCustomFieldHandler` (utilisé par les autres entités, qui
48
- * ne passent que `value`). Copie volontaire du corps de base + le forward du `fieldName`.
49
- */
50
- protected _invokeCustomFieldHandler(methodName: string, value: any, fieldName: string): Promise<any>;
51
17
  addPoi(data?: Partial<AddPoiData>): Promise<unknown>;
52
18
  /**
53
19
  * Supprime ce POI via `DELETE_ELEMENT` (`type=poi`).
@@ -9,6 +9,8 @@ type ProjectItemNormalized = import("./serverDataType/Project.js").ProjectItemNo
9
9
  export declare class Project extends BaseEntity<ProjectItemNormalized> {
10
10
  static entityType: string;
11
11
  static entityTag: string;
12
+ /** Bloc de création où injecter les champs costum (CostumScope). */
13
+ static COSTUM_ADD_CONSTANT: string;
12
14
  static SCHEMA_CONSTANTS: string[];
13
15
  static ADD_BLOCKS: Map<"PROFIL_IMAGE" | "ADD_PROJECT", "addProject" | "updateImageProfil">;
14
16
  static UPDATE_BLOCKS: Map<"UPDATE_BLOCK_DESCRIPTION" | "UPDATE_BLOCK_INFO" | "UPDATE_BLOCK_SOCIAL" | "UPDATE_BLOCK_LOCALITY" | "UPDATE_BLOCK_SLUG" | "PROFIL_IMAGE", "updateImageProfil" | "updateDescription" | "updateSocial" | "updateLocality" | "updateInfo" | "updateSlug">;
@@ -1,9 +1,11 @@
1
1
  import { BaseEntity } from "./BaseEntity.js";
2
2
  import { Notifications } from "./Notifications.js";
3
+ import { type CostumScope } from "../costum/runtime.js";
3
4
  import type { Badge } from "./Badge.js";
4
5
  import type { PaginatorPage, PaginatorState } from "./BaseEntity.js";
5
6
  import type { ChangePasswordData, DeleteAccountData, GetSubscriptionsAdminData, GetSubscriptionsData, GetOrganizationsNoAdminData, GetOrganizationsAdminData, GetUserEligiblePlacesData, GetFriendsAdminData } from "./EndpointApi.types.js";
6
7
  import type { Organization } from "./Organization.js";
8
+ import type { KnownCostumSlug } from "../costum/types.js";
7
9
  import type { NotificationItemData } from "./serverDataType/Notification.js";
8
10
  import type { EntityTypes } from "@/types/entities.js";
9
11
  type ApiClient = import("../ApiClient.js").default;
@@ -284,6 +286,18 @@ export declare class User extends BaseEntity<UserItemNormalized> {
284
286
  * Crée une instance d'événement et la récupère si nécessaire.
285
287
  */
286
288
  event(eventData?: Parameters<BaseEntity<UserItemNormalized>["event"]>[0]): Promise<import("./Event.js").Event>;
289
+ /**
290
+ * Ouvre un *scope costum* : les entités créées via le scope (`poi`/`organization`/`project`/`event`)
291
+ * portent le contexte costum (costumSlug + champs costum validés par le binding du costum à `element/save`).
292
+ *
293
+ * @example
294
+ * const tl = await me.costum("reseauTierslieux");
295
+ * const org = await tl.organization({ name: "Mon TL", manageModel: "Association", buildingSurfaceArea: "120" });
296
+ * await org.save();
297
+ *
298
+ * @param slug - slug d'un costum connu (registry généré). Slug hors registry => erreur (live-fetch = inc2).
299
+ */
300
+ costum(slug: KnownCostumSlug): Promise<CostumScope>;
287
301
  /**
288
302
  * {@inheritDoc BaseEntity#badge}
289
303
  *
@@ -0,0 +1,2 @@
1
+ export declare const COSTUM_NUMBER_FIELDS: readonly string[];
2
+ export declare const COSTUM_DATE_FIELDS: readonly string[];
@@ -0,0 +1,11 @@
1
+ import type { CostumExtensionModule, KnownCostumSlug, Collection } from "./types.js";
2
+ export interface CostumMeta {
3
+ costumId: string;
4
+ costumType: Collection;
5
+ host: string | null;
6
+ engine: string | null;
7
+ }
8
+ export declare const COSTUM_META: Record<KnownCostumSlug, CostumMeta>;
9
+ export declare const COSTUM_SCHEMAS: Record<KnownCostumSlug, () => Promise<{
10
+ default: CostumExtensionModule;
11
+ }>>;