@glissandoo/lib 1.123.2 → 1.124.0-dev.219.1

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 (839) hide show
  1. package/functions/auth.d.ts +22 -0
  2. package/functions/composer.d.ts +13 -0
  3. package/functions/composerComposition.d.ts +102 -0
  4. package/functions/composerNotification.d.ts +38 -0
  5. package/functions/composerPayout.d.ts +20 -0
  6. package/functions/customer.d.ts +102 -0
  7. package/functions/event.js +29 -0
  8. package/functions/eventPlayer.js +13 -0
  9. package/functions/eventRepertory.d.ts +42 -0
  10. package/functions/eventRepertory.js +16 -0
  11. package/functions/groupRepertory.d.ts +250 -0
  12. package/functions/index.d.ts +256 -0
  13. package/functions/index.js +261 -0
  14. package/functions/misc.d.ts +24 -0
  15. package/functions/regions.js +270 -0
  16. package/helpers/appScenes.js +109 -0
  17. package/helpers/auth.d.ts +21 -0
  18. package/helpers/auth.js +43 -0
  19. package/helpers/badges.js +162 -0
  20. package/helpers/catalogBridge.d.ts +121 -0
  21. package/helpers/catalogBridge.js +95 -0
  22. package/helpers/collections.js +49 -0
  23. package/helpers/communicationTemplate/index.d.ts +33 -0
  24. package/helpers/communicationTemplate/index.js +47 -0
  25. package/helpers/compositionCategories/genres.d.ts +922 -0
  26. package/helpers/compositionCategories/genres.js +940 -0
  27. package/helpers/compositionCategories/index.d.ts +2 -0
  28. package/helpers/compositionCategories/index.js +18 -0
  29. package/helpers/compositionCategories/styles.d.ts +181 -0
  30. package/helpers/compositionCategories/styles.js +197 -0
  31. package/helpers/compositionSoloistOffstageParts/index.d.ts +34 -0
  32. package/helpers/compositionSoloistOffstageParts/index.js +117 -0
  33. package/helpers/currency.d.ts +23 -0
  34. package/helpers/currency.js +346 -0
  35. package/helpers/currencyConversion.d.ts +45 -0
  36. package/helpers/currencyConversion.js +119 -0
  37. package/helpers/dataStructures/trees/index.d.ts +12 -0
  38. package/helpers/dataStructures/trees/index.js +71 -0
  39. package/helpers/dataStructures/trees/types.d.ts +14 -0
  40. package/helpers/dataStructures/trees/types.js +5 -0
  41. package/helpers/dlinks.js +12 -0
  42. package/helpers/errors.d.ts +93 -0
  43. package/helpers/errors.js +85 -0
  44. package/helpers/externalUrls.d.ts +12 -0
  45. package/helpers/externalUrls.js +40 -0
  46. package/helpers/instruments/index.d.ts +164 -0
  47. package/helpers/instruments/index.js +344 -0
  48. package/helpers/instruments/lists.d.ts +6 -0
  49. package/helpers/instruments/lists.js +21 -0
  50. package/helpers/musicStyles/index.d.ts +40 -0
  51. package/helpers/musicStyles/index.js +227 -0
  52. package/helpers/notifications/index.js +231 -0
  53. package/helpers/objects.d.ts +15 -0
  54. package/helpers/objects.js +40 -0
  55. package/helpers/paymentForecast.js +57 -0
  56. package/helpers/payoutRules.js +165 -0
  57. package/helpers/plans.js +99 -0
  58. package/helpers/rates.d.ts +13 -0
  59. package/helpers/slate.d.ts +75 -0
  60. package/helpers/slate.js +26 -0
  61. package/helpers/ts-extras/array-includes.js +26 -0
  62. package/helpers/ts-extras/as-mutable.js +20 -0
  63. package/helpers/ts-extras/assert-error.js +37 -0
  64. package/helpers/ts-extras/index.js +33 -0
  65. package/helpers/ts-extras/is-defined.js +21 -0
  66. package/helpers/ts-extras/is-empty.js +6 -0
  67. package/helpers/ts-extras/is-infinite.js +11 -0
  68. package/helpers/ts-extras/is-present.js +21 -0
  69. package/helpers/ts-extras/object-entries.d.ts +23 -0
  70. package/helpers/ts-extras/object-from-entries.d.ts +26 -0
  71. package/helpers/ts-extras/object-has-own.js +25 -0
  72. package/helpers/ts-extras/object-keys.d.ts +21 -0
  73. package/helpers/ts-extras/object-keys.js +23 -0
  74. package/helpers/ts-extras/set-has.js +27 -0
  75. package/helpers/types.d.ts +69 -0
  76. package/helpers/types.js +65 -0
  77. package/lang/ca.json +704 -0
  78. package/lang/de.json +704 -0
  79. package/lang/en.json +704 -0
  80. package/lang/es.json +704 -0
  81. package/lang/eu.json +704 -0
  82. package/lang/fr.json +704 -0
  83. package/lang/gl.json +704 -0
  84. package/lang/index.js +203 -0
  85. package/lang/it.json +704 -0
  86. package/lang/nl.json +704 -0
  87. package/lang/pt.json +704 -0
  88. package/models/Communication/types.d.ts +63 -0
  89. package/models/Communication/types.js +26 -0
  90. package/models/CompositionGenre/index.d.ts +9 -0
  91. package/models/CompositionGenre/index.js +16 -0
  92. package/models/CompositionStyle/index.d.ts +9 -0
  93. package/models/CompositionStyle/index.js +16 -0
  94. package/models/Counters/Group/Analytics/types.js +17 -0
  95. package/models/Customer/index.d.ts +30 -0
  96. package/models/Customer/index.js +79 -0
  97. package/models/Customer/types.js +7 -0
  98. package/models/Evento/Player/types.js +22 -0
  99. package/models/Evento/Repertory/types.d.ts +8 -0
  100. package/models/Evento/index.d.ts +94 -0
  101. package/models/Evento/index.js +256 -0
  102. package/models/Evento/types.d.ts +177 -0
  103. package/models/Evento/types.js +55 -0
  104. package/models/Federation/index.d.ts +28 -0
  105. package/models/Federation/index.js +85 -0
  106. package/models/Group/Analytics/types.js +13 -0
  107. package/models/Group/Payment/supabase.js +46 -0
  108. package/models/Group/Payment/types.js +38 -0
  109. package/models/Group/Player/types.js +9 -0
  110. package/models/Group/Repertory/File/Section/index.d.ts +12 -0
  111. package/models/Group/Repertory/File/Section/index.js +26 -0
  112. package/models/Group/Repertory/File/Section/types.d.ts +12 -0
  113. package/models/Group/Repertory/File/Section/types.js +7 -0
  114. package/models/Group/Repertory/File/index.d.ts +31 -0
  115. package/models/Group/Repertory/File/index.js +81 -0
  116. package/models/Group/Repertory/FilePath/index.d.ts +22 -0
  117. package/models/Group/Repertory/index.d.ts +64 -0
  118. package/models/Group/Repertory/index.js +160 -0
  119. package/models/Group/Repertory/types.d.ts +80 -0
  120. package/models/Group/Repertory/types.js +14 -0
  121. package/models/Group/index.d.ts +145 -0
  122. package/models/Group/index.js +340 -0
  123. package/models/Group/types.d.ts +272 -0
  124. package/models/Group/types.js +90 -0
  125. package/models/Instrument/fromRecord.d.ts +11 -0
  126. package/models/Instrument/fromRecord.js +33 -0
  127. package/models/Instrument/index.d.ts +11 -0
  128. package/models/Instrument/index.js +55 -0
  129. package/models/Inventory/Item/types.js +15 -0
  130. package/models/Inventory/types.js +15 -0
  131. package/models/Notification/types.js +279 -0
  132. package/models/Offer/types.d.ts +57 -0
  133. package/models/Offer/types.js +8 -0
  134. package/models/Partnership/Communication/supabase.js +25 -0
  135. package/models/Partnership/Group/index.d.ts +29 -0
  136. package/models/Partnership/Group/index.js +73 -0
  137. package/models/Partnership/Group/supabase.js +25 -0
  138. package/models/Partnership/Partner/supabase.js +38 -0
  139. package/models/Partnership/Partner/types.js +9 -0
  140. package/models/Partnership/Payment/supabase.js +40 -0
  141. package/models/Partnership/Payment/types.js +17 -0
  142. package/models/Partnership/Plan/supabase.js +22 -0
  143. package/models/Partnership/SepaPaymentGroup/supabase.js +18 -0
  144. package/models/Partnership/Subscription/supabase.js +23 -0
  145. package/models/Partnership/index.d.ts +35 -0
  146. package/models/Partnership/index.js +118 -0
  147. package/models/Partnership/types.js +8 -0
  148. package/models/Repertory/types.d.ts +44 -0
  149. package/models/Repertory/types.js +16 -0
  150. package/models/User/Group/index.js +45 -0
  151. package/models/User/index.d.ts +103 -0
  152. package/models/User/index.js +198 -0
  153. package/models/User/types.d.ts +142 -0
  154. package/models/User/types.js +58 -0
  155. package/models/WebhookEvent/types.js +9 -0
  156. package/models/supabase/Comm/index.d.ts +24 -0
  157. package/models/supabase/Comm/index.js +68 -0
  158. package/models/supabase/Comm/types.d.ts +6 -0
  159. package/models/supabase/CommHistory/index.d.ts +22 -0
  160. package/models/supabase/CommHistory/index.js +37 -0
  161. package/models/supabase/CommHistory/types.d.ts +11 -0
  162. package/models/supabase/CommHistory/types.js +9 -0
  163. package/models/supabase/Composer/Composition/Acquisition/index.d.ts +4 -0
  164. package/models/supabase/Composer/Composition/Acquisition/index.js +9 -0
  165. package/models/supabase/Composer/Composition/Acquisition/types.d.ts +36 -0
  166. package/models/supabase/Composer/Composition/Favorite/index.d.ts +4 -0
  167. package/models/supabase/Composer/Composition/Favorite/index.js +9 -0
  168. package/models/supabase/Composer/Composition/Favorite/types.d.ts +6 -0
  169. package/models/supabase/Composer/Composition/View/index.d.ts +4 -0
  170. package/models/supabase/Composer/Composition/View/index.js +9 -0
  171. package/models/supabase/Composer/Composition/View/types.d.ts +6 -0
  172. package/models/supabase/Composer/Composition/index.d.ts +5284 -0
  173. package/models/supabase/Composer/Composition/index.js +166 -0
  174. package/models/supabase/Composer/Composition/types.d.ts +96 -0
  175. package/models/supabase/Composer/Composition/types.js +32 -0
  176. package/models/supabase/Composer/Notification/index.d.ts +4 -0
  177. package/models/supabase/Composer/Notification/index.js +9 -0
  178. package/models/supabase/Composer/Notification/types.d.ts +39 -0
  179. package/models/supabase/Composer/Notification/types.js +27 -0
  180. package/models/supabase/Composer/Payout/index.d.ts +4 -0
  181. package/models/supabase/Composer/Payout/index.js +9 -0
  182. package/models/supabase/Composer/Payout/status.d.ts +1 -0
  183. package/models/supabase/Composer/Payout/types.d.ts +5 -0
  184. package/models/supabase/Composer/PerformanceAttendance/types.d.ts +4 -0
  185. package/models/supabase/Composer/index.d.ts +78 -0
  186. package/models/supabase/Composer/index.js +105 -0
  187. package/models/supabase/Composer/types.d.ts +6 -0
  188. package/models/supabase/EventHistory/index.d.ts +22 -0
  189. package/models/supabase/EventHistory/index.js +37 -0
  190. package/models/supabase/EventHistory/types.d.ts +39 -0
  191. package/models/supabase/EventHistory/types.js +37 -0
  192. package/models/supabase/GroupHistory/index.d.ts +21 -0
  193. package/models/supabase/GroupHistory/index.js +34 -0
  194. package/models/supabase/GroupHistory/types.d.ts +27 -0
  195. package/models/supabase/GroupHistory/types.js +25 -0
  196. package/models/supabase/Model/index.d.ts +10 -0
  197. package/models/supabase/Model/index.js +21 -0
  198. package/models/supabase/OfferHistory/index.d.ts +22 -0
  199. package/models/supabase/OfferHistory/index.js +37 -0
  200. package/models/supabase/OfferHistory/types.d.ts +18 -0
  201. package/models/supabase/OfferHistory/types.js +16 -0
  202. package/models/supabase/Repertoire/index.d.ts +16 -0
  203. package/models/supabase/Repertoire/index.js +43 -0
  204. package/models/supabase/Repertoire/types.d.ts +6 -0
  205. package/models/supabase/RepertoireHistory/index.d.ts +22 -0
  206. package/models/supabase/RepertoireHistory/index.js +37 -0
  207. package/models/supabase/RepertoireHistory/types.d.ts +21 -0
  208. package/models/supabase/RepertoireHistory/types.js +19 -0
  209. package/models/supabase/User/Group/index.d.ts +11 -0
  210. package/models/supabase/User/Group/index.js +30 -0
  211. package/models/supabase/User/Group/types.d.ts +6 -0
  212. package/models/supabase/User/index.d.ts +13 -0
  213. package/models/supabase/User/index.js +37 -0
  214. package/models/supabase/User/types.d.ts +6 -0
  215. package/package.json +15 -13
  216. package/types/firestore.d.ts +1746 -0
  217. package/types/firestore.js +57 -0
  218. package/types/firestore.ts +1998 -0
  219. package/types/messagebirdChatWidget.js +2 -0
  220. package/types/messagebirdChatWidget.ts +20 -0
  221. package/types/minVersion.js +2 -0
  222. package/types/minVersion.ts +4 -0
  223. package/types/payoutRule.js +34 -0
  224. package/types/payoutRule.ts +132 -0
  225. package/types/supabase/catalog.d.ts +46 -0
  226. package/types/supabase/catalog.js +2 -0
  227. package/types/supabase/catalog.ts +67 -0
  228. package/types/supabase/composerMetrics.d.ts +27 -0
  229. package/types/supabase/composerMetrics.js +2 -0
  230. package/types/supabase/composerMetrics.ts +26 -0
  231. package/types/supabase/generated.d.ts +4092 -0
  232. package/types/supabase/generated.js +34 -0
  233. package/types/supabase/generated.ts +4076 -0
  234. package/types/supabase/index.d.ts +169 -0
  235. package/types/supabase/index.js +17 -0
  236. package/types/supabase/index.ts +307 -0
  237. package/types/supabase/overwrites/index.d.ts +6 -0
  238. package/types/supabase/overwrites/index.js +2 -0
  239. package/types/supabase/overwrites/index.ts +7 -0
  240. package/types/supabase/overwrites/tables/comm/model.d.ts +4 -0
  241. package/types/supabase/overwrites/tables/comm/model.js +2 -0
  242. package/types/supabase/overwrites/tables/comm/model.ts +4 -0
  243. package/types/supabase/overwrites/tables/comm_history/index.d.ts +7 -0
  244. package/types/supabase/overwrites/tables/comm_history/index.js +2 -0
  245. package/types/supabase/overwrites/tables/comm_history/index.ts +9 -0
  246. package/types/supabase/overwrites/tables/comm_history/model.d.ts +10 -0
  247. package/types/supabase/overwrites/tables/comm_history/model.js +2 -0
  248. package/types/supabase/overwrites/tables/comm_history/model.ts +13 -0
  249. package/types/supabase/overwrites/tables/common/index.js +2 -0
  250. package/types/supabase/overwrites/tables/common/index.ts +4 -0
  251. package/types/supabase/overwrites/tables/composer/index.d.ts +9 -0
  252. package/types/supabase/overwrites/tables/composer/index.js +2 -0
  253. package/types/supabase/overwrites/tables/composer/index.ts +10 -0
  254. package/types/supabase/overwrites/tables/composer/model.d.ts +12 -0
  255. package/types/supabase/overwrites/tables/composer/model.js +2 -0
  256. package/types/supabase/overwrites/tables/composer/model.ts +15 -0
  257. package/types/supabase/overwrites/tables/composer/publicModel.d.ts +11 -0
  258. package/types/supabase/overwrites/tables/composer/publicModel.js +2 -0
  259. package/types/supabase/overwrites/tables/composer/publicModel.ts +15 -0
  260. package/types/supabase/overwrites/tables/composerComposition/index.d.ts +18 -0
  261. package/types/supabase/overwrites/tables/composerComposition/index.js +2 -0
  262. package/types/supabase/overwrites/tables/composerComposition/index.ts +24 -0
  263. package/types/supabase/overwrites/tables/composerComposition/model.d.ts +9 -0
  264. package/types/supabase/overwrites/tables/composerComposition/model.js +2 -0
  265. package/types/supabase/overwrites/tables/composerComposition/model.ts +26 -0
  266. package/types/supabase/overwrites/tables/composerComposition/publicModel.d.ts +9 -0
  267. package/types/supabase/overwrites/tables/composerComposition/publicModel.js +2 -0
  268. package/types/supabase/overwrites/tables/composerComposition/publicModel.ts +37 -0
  269. package/types/supabase/overwrites/tables/composerNotification/index.d.ts +19 -0
  270. package/types/supabase/overwrites/tables/composerNotification/index.js +2 -0
  271. package/types/supabase/overwrites/tables/composerNotification/index.ts +25 -0
  272. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.d.ts +2 -0
  273. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.js +2 -0
  274. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.ts +3 -0
  275. package/types/supabase/overwrites/tables/composerPayout/index.d.ts +7 -0
  276. package/types/supabase/overwrites/tables/composerPayout/index.js +2 -0
  277. package/types/supabase/overwrites/tables/composerPayout/index.ts +8 -0
  278. package/types/supabase/overwrites/tables/compositionAcquisition/index.d.ts +4 -0
  279. package/types/supabase/overwrites/tables/compositionAcquisition/index.js +2 -0
  280. package/types/supabase/overwrites/tables/compositionAcquisition/index.ts +8 -0
  281. package/types/supabase/overwrites/tables/compositionAcquisition/model.d.ts +6 -0
  282. package/types/supabase/overwrites/tables/compositionAcquisition/model.js +2 -0
  283. package/types/supabase/overwrites/tables/compositionAcquisition/model.ts +11 -0
  284. package/types/supabase/overwrites/tables/compositionFavorite/index.d.ts +1 -0
  285. package/types/supabase/overwrites/tables/compositionFavorite/index.js +2 -0
  286. package/types/supabase/overwrites/tables/compositionFavorite/index.ts +2 -0
  287. package/types/supabase/overwrites/tables/compositionFavorite/model.d.ts +1 -0
  288. package/types/supabase/overwrites/tables/compositionFavorite/model.js +2 -0
  289. package/types/supabase/overwrites/tables/compositionFavorite/model.ts +1 -0
  290. package/types/supabase/overwrites/tables/compositionView/index.d.ts +1 -0
  291. package/types/supabase/overwrites/tables/compositionView/index.js +2 -0
  292. package/types/supabase/overwrites/tables/compositionView/index.ts +2 -0
  293. package/types/supabase/overwrites/tables/compositionView/model.d.ts +1 -0
  294. package/types/supabase/overwrites/tables/compositionView/model.js +2 -0
  295. package/types/supabase/overwrites/tables/compositionView/model.ts +1 -0
  296. package/types/supabase/overwrites/tables/currencyExchangeRate/index.d.ts +16 -0
  297. package/types/supabase/overwrites/tables/currencyExchangeRate/index.js +2 -0
  298. package/types/supabase/overwrites/tables/currencyExchangeRate/index.ts +18 -0
  299. package/types/supabase/overwrites/tables/event/index.d.ts +23 -0
  300. package/types/supabase/overwrites/tables/event/index.js +2 -0
  301. package/types/supabase/overwrites/tables/event/index.ts +28 -0
  302. package/types/supabase/overwrites/tables/event_history/index.d.ts +7 -0
  303. package/types/supabase/overwrites/tables/event_history/index.js +2 -0
  304. package/types/supabase/overwrites/tables/event_history/index.ts +9 -0
  305. package/types/supabase/overwrites/tables/event_history/model.d.ts +10 -0
  306. package/types/supabase/overwrites/tables/event_history/model.js +2 -0
  307. package/types/supabase/overwrites/tables/event_history/model.ts +13 -0
  308. package/types/supabase/overwrites/tables/group/index.d.ts +38 -0
  309. package/types/supabase/overwrites/tables/group/index.js +2 -0
  310. package/types/supabase/overwrites/tables/group/index.ts +45 -0
  311. package/types/supabase/overwrites/tables/group_history/index.d.ts +7 -0
  312. package/types/supabase/overwrites/tables/group_history/index.js +2 -0
  313. package/types/supabase/overwrites/tables/group_history/index.ts +9 -0
  314. package/types/supabase/overwrites/tables/group_history/model.d.ts +10 -0
  315. package/types/supabase/overwrites/tables/group_history/model.js +2 -0
  316. package/types/supabase/overwrites/tables/group_history/model.ts +13 -0
  317. package/types/supabase/overwrites/tables/offer/index.d.ts +17 -0
  318. package/types/supabase/overwrites/tables/offer/index.js +2 -0
  319. package/types/supabase/overwrites/tables/offer/index.ts +20 -0
  320. package/types/supabase/overwrites/tables/offer_history/index.d.ts +7 -0
  321. package/types/supabase/overwrites/tables/offer_history/index.js +2 -0
  322. package/types/supabase/overwrites/tables/offer_history/index.ts +9 -0
  323. package/types/supabase/overwrites/tables/offer_history/model.d.ts +10 -0
  324. package/types/supabase/overwrites/tables/offer_history/model.js +2 -0
  325. package/types/supabase/overwrites/tables/offer_history/model.ts +13 -0
  326. package/types/supabase/overwrites/tables/repertoire/model.d.ts +7 -0
  327. package/types/supabase/overwrites/tables/repertoire/model.js +2 -0
  328. package/types/supabase/overwrites/tables/repertoire/model.ts +7 -0
  329. package/types/supabase/overwrites/tables/repertoire_history/index.d.ts +7 -0
  330. package/types/supabase/overwrites/tables/repertoire_history/index.js +2 -0
  331. package/types/supabase/overwrites/tables/repertoire_history/index.ts +9 -0
  332. package/types/supabase/overwrites/tables/repertoire_history/model.d.ts +10 -0
  333. package/types/supabase/overwrites/tables/repertoire_history/model.js +2 -0
  334. package/types/supabase/overwrites/tables/repertoire_history/model.ts +13 -0
  335. package/types/supabase/overwrites/tables/user/index.d.ts +11 -0
  336. package/types/supabase/overwrites/tables/user/index.js +2 -0
  337. package/types/supabase/overwrites/tables/user/index.ts +13 -0
  338. package/.firebaserc +0 -7
  339. package/.husky/pre-commit +0 -4
  340. package/README.md +0 -70
  341. package/lib/functions/auth.d.ts +0 -20
  342. package/lib/functions/customer.d.ts +0 -98
  343. package/lib/functions/event.js +0 -29
  344. package/lib/functions/eventPlayer.js +0 -13
  345. package/lib/functions/eventRepertory.d.ts +0 -40
  346. package/lib/functions/eventRepertory.js +0 -16
  347. package/lib/functions/groupRepertory.d.ts +0 -140
  348. package/lib/functions/index.d.ts +0 -226
  349. package/lib/functions/index.js +0 -231
  350. package/lib/functions/misc.d.ts +0 -18
  351. package/lib/functions/regions.js +0 -240
  352. package/lib/helpers/appScenes.js +0 -109
  353. package/lib/helpers/auth.d.ts +0 -28
  354. package/lib/helpers/auth.js +0 -24
  355. package/lib/helpers/badges.js +0 -162
  356. package/lib/helpers/collections.js +0 -49
  357. package/lib/helpers/communicationTemplate/index.d.ts +0 -32
  358. package/lib/helpers/communicationTemplate/index.js +0 -47
  359. package/lib/helpers/currency.d.ts +0 -4
  360. package/lib/helpers/currency.js +0 -277
  361. package/lib/helpers/dlinks.js +0 -12
  362. package/lib/helpers/errors.d.ts +0 -92
  363. package/lib/helpers/errors.js +0 -84
  364. package/lib/helpers/instruments/index.d.ts +0 -147
  365. package/lib/helpers/instruments/index.js +0 -340
  366. package/lib/helpers/instruments/lists.d.ts +0 -6
  367. package/lib/helpers/instruments/lists.js +0 -21
  368. package/lib/helpers/musicStyles/index.d.ts +0 -22
  369. package/lib/helpers/musicStyles/index.js +0 -148
  370. package/lib/helpers/notifications/index.js +0 -231
  371. package/lib/helpers/objects.d.ts +0 -11
  372. package/lib/helpers/objects.js +0 -39
  373. package/lib/helpers/paymentForecast.js +0 -58
  374. package/lib/helpers/payoutRules.js +0 -166
  375. package/lib/helpers/plans.js +0 -99
  376. package/lib/helpers/rates.d.ts +0 -13
  377. package/lib/helpers/slate.d.ts +0 -16
  378. package/lib/helpers/slate.js +0 -20
  379. package/lib/helpers/ts-extras/array-includes.js +0 -27
  380. package/lib/helpers/ts-extras/as-mutable.js +0 -21
  381. package/lib/helpers/ts-extras/assert-error.js +0 -38
  382. package/lib/helpers/ts-extras/index.js +0 -33
  383. package/lib/helpers/ts-extras/is-defined.js +0 -22
  384. package/lib/helpers/ts-extras/is-empty.js +0 -7
  385. package/lib/helpers/ts-extras/is-infinite.js +0 -12
  386. package/lib/helpers/ts-extras/is-present.js +0 -22
  387. package/lib/helpers/ts-extras/object-entries.d.ts +0 -23
  388. package/lib/helpers/ts-extras/object-from-entries.d.ts +0 -26
  389. package/lib/helpers/ts-extras/object-has-own.js +0 -26
  390. package/lib/helpers/ts-extras/object-keys.d.ts +0 -21
  391. package/lib/helpers/ts-extras/object-keys.js +0 -24
  392. package/lib/helpers/ts-extras/set-has.js +0 -28
  393. package/lib/helpers/types.d.ts +0 -43
  394. package/lib/helpers/types.js +0 -45
  395. package/lib/lang/ca.json +0 -470
  396. package/lib/lang/de.json +0 -470
  397. package/lib/lang/en.json +0 -470
  398. package/lib/lang/es.json +0 -470
  399. package/lib/lang/eu.json +0 -470
  400. package/lib/lang/fr.json +0 -470
  401. package/lib/lang/gl.json +0 -470
  402. package/lib/lang/index.js +0 -202
  403. package/lib/lang/it.json +0 -470
  404. package/lib/lang/nl.json +0 -470
  405. package/lib/lang/pt.json +0 -470
  406. package/lib/models/Communication/types.d.ts +0 -79
  407. package/lib/models/Communication/types.js +0 -32
  408. package/lib/models/Counters/Group/Analytics/types.js +0 -17
  409. package/lib/models/Customer/index.d.ts +0 -30
  410. package/lib/models/Customer/index.js +0 -79
  411. package/lib/models/Customer/types.js +0 -7
  412. package/lib/models/Evento/Player/types.js +0 -22
  413. package/lib/models/Evento/Repertory/types.d.ts +0 -7
  414. package/lib/models/Evento/index.d.ts +0 -93
  415. package/lib/models/Evento/index.js +0 -255
  416. package/lib/models/Evento/types.d.ts +0 -208
  417. package/lib/models/Evento/types.js +0 -87
  418. package/lib/models/Federation/index.d.ts +0 -28
  419. package/lib/models/Federation/index.js +0 -85
  420. package/lib/models/Group/Analytics/types.js +0 -13
  421. package/lib/models/Group/Payment/supabase.js +0 -46
  422. package/lib/models/Group/Payment/types.js +0 -38
  423. package/lib/models/Group/Player/types.js +0 -9
  424. package/lib/models/Group/Repertory/File/Section/index.d.ts +0 -12
  425. package/lib/models/Group/Repertory/File/Section/index.js +0 -25
  426. package/lib/models/Group/Repertory/File/Section/types.d.ts +0 -5
  427. package/lib/models/Group/Repertory/File/Section/types.js +0 -7
  428. package/lib/models/Group/Repertory/File/index.d.ts +0 -29
  429. package/lib/models/Group/Repertory/File/index.js +0 -81
  430. package/lib/models/Group/Repertory/FilePath/index.d.ts +0 -23
  431. package/lib/models/Group/Repertory/index.d.ts +0 -56
  432. package/lib/models/Group/Repertory/index.js +0 -151
  433. package/lib/models/Group/Repertory/types.d.ts +0 -91
  434. package/lib/models/Group/Repertory/types.js +0 -24
  435. package/lib/models/Group/index.d.ts +0 -140
  436. package/lib/models/Group/index.js +0 -326
  437. package/lib/models/Group/types.d.ts +0 -291
  438. package/lib/models/Group/types.js +0 -109
  439. package/lib/models/Instrument/index.d.ts +0 -9
  440. package/lib/models/Instrument/index.js +0 -18
  441. package/lib/models/Inventory/Item/types.js +0 -15
  442. package/lib/models/Inventory/types.js +0 -15
  443. package/lib/models/Notification/types.js +0 -279
  444. package/lib/models/Offer/types.d.ts +0 -69
  445. package/lib/models/Offer/types.js +0 -21
  446. package/lib/models/Partnership/Communication/supabase.js +0 -25
  447. package/lib/models/Partnership/Group/index.d.ts +0 -28
  448. package/lib/models/Partnership/Group/index.js +0 -61
  449. package/lib/models/Partnership/Group/supabase.js +0 -25
  450. package/lib/models/Partnership/Partner/supabase.js +0 -38
  451. package/lib/models/Partnership/Partner/types.js +0 -9
  452. package/lib/models/Partnership/Payment/supabase.js +0 -40
  453. package/lib/models/Partnership/Payment/types.js +0 -17
  454. package/lib/models/Partnership/Plan/supabase.js +0 -22
  455. package/lib/models/Partnership/SepaPaymentGroup/supabase.js +0 -18
  456. package/lib/models/Partnership/Subscription/supabase.js +0 -23
  457. package/lib/models/Partnership/index.d.ts +0 -34
  458. package/lib/models/Partnership/index.js +0 -114
  459. package/lib/models/Partnership/types.js +0 -8
  460. package/lib/models/Repertory/types.d.ts +0 -32
  461. package/lib/models/Repertory/types.js +0 -16
  462. package/lib/models/User/Group/index.js +0 -46
  463. package/lib/models/User/index.d.ts +0 -103
  464. package/lib/models/User/index.js +0 -198
  465. package/lib/models/User/types.d.ts +0 -141
  466. package/lib/models/User/types.js +0 -58
  467. package/lib/models/WebhookEvent/types.js +0 -9
  468. package/lib/types/firestore.d.ts +0 -1747
  469. package/lib/types/firestore.js +0 -57
  470. package/lib/types/payoutRule.js +0 -34
  471. package/lib/types/supabase/generated.d.ts +0 -1629
  472. package/lib/types/supabase/generated.js +0 -25
  473. package/lib/types/supabase/index.d.ts +0 -29
  474. package/lib/types/supabase/overwrites/comm.d.ts +0 -18
  475. package/lib/types/supabase/overwrites/comm_history.d.ts +0 -10
  476. package/lib/types/supabase/overwrites/event.d.ts +0 -23
  477. package/lib/types/supabase/overwrites/event_history.d.ts +0 -10
  478. package/lib/types/supabase/overwrites/group.d.ts +0 -41
  479. package/lib/types/supabase/overwrites/group_history.d.ts +0 -9
  480. package/lib/types/supabase/overwrites/index.d.ts +0 -6
  481. package/lib/types/supabase/overwrites/offer.d.ts +0 -13
  482. package/lib/types/supabase/overwrites/offer_history.d.ts +0 -10
  483. package/lib/types/supabase/overwrites/repertoire.d.ts +0 -12
  484. package/lib/types/supabase/overwrites/repertoire_history.d.ts +0 -10
  485. package/scripts/setHusky.js +0 -11
  486. package/supabase/.dev.env +0 -1
  487. package/supabase/.prod.env +0 -1
  488. package/supabase/.sample.env +0 -2
  489. package/supabase/README.md +0 -126
  490. package/supabase/config.toml +0 -68
  491. package/supabase/migrations/20231117044943_remote_schema.sql +0 -228
  492. package/supabase/migrations/20231117124947_event_selection_mode_closed_at_nullable.sql +0 -1
  493. package/supabase/migrations/20231121002132_remote_schema.sql +0 -31
  494. package/supabase/migrations/20231121004031_references_nullable.sql +0 -3
  495. package/supabase/migrations/20231121014339_updated_at_trigger.sql +0 -13
  496. package/supabase/migrations/20231122111241_remote_schema.sql +0 -25
  497. package/supabase/migrations/20231124151424_snake_case_to_camel_case.sql +0 -105
  498. package/supabase/migrations/20231129133721_add_columns_for_sites.sql +0 -11
  499. package/supabase/migrations/20231129142806_promoter_can_be_null.sql +0 -3
  500. package/supabase/migrations/20231130125327_group_location_latlon.sql +0 -3
  501. package/supabase/migrations/20231130150154_error_solvings.sql +0 -9
  502. package/supabase/migrations/20240405115914_new_columns.sql +0 -9
  503. package/supabase/migrations/20240405121956_init_offer.sql +0 -81
  504. package/supabase/migrations/20240503032440_add_columns_to_offer.sql +0 -11
  505. package/supabase/migrations/20240503101641_add_column_createdOn.sql +0 -19
  506. package/supabase/migrations/20240506035104_add_groupInfo_to_offer.sql +0 -10
  507. package/supabase/migrations/20240510110328_add_relationships_to_offer.sql +0 -9
  508. package/supabase/migrations/20240514100316_offers_public.sql +0 -9
  509. package/supabase/migrations/20260506013030_add_user_mirror.sql +0 -50
  510. package/supabase/migrations/20260506013031_add_user_group_mirror.sql +0 -31
  511. package/supabase/migrations/20260529000000_init_group_payment.sql +0 -79
  512. package/supabase/migrations/20260529120000_group_payment_realtime.sql +0 -19
  513. package/supabase/migrations/20260529130000_group_payment_anon_read.sql +0 -16
  514. package/supabase/migrations/20260601000000_group_payment_concept_norm.sql +0 -20
  515. package/supabase/migrations/20260605000000_init_partnership_domain.sql +0 -333
  516. package/supabase/migrations/20260605000100_partnership_recurring_rpc.sql +0 -62
  517. package/supabase/migrations/20260606000000_partnership_payer.sql +0 -83
  518. package/supabase/migrations/20260607000000_partnership_partner_number_not_unique.sql +0 -10
  519. package/supabase/migrations/20260608000000_partnership_payment_method_bizum.sql +0 -2
  520. package/supabase/migrations/20260609000000_partnership_payment_sepa_end_to_end.sql +0 -13
  521. package/supabase/migrations/20260617000000_partnership_portal_query_indexes.sql +0 -23
  522. package/supabase/migrations/20260618000000_partnership_communication_attachments.sql +0 -5
  523. package/supabase/migrations/20260701000000_partnership_recurring_rpc_drop_ambiguous.sql +0 -29
  524. package/supabase/migrations/20260713191700_add_personal_calendar_feed.sql +0 -506
  525. package/supabase/migrations/20260714193734_add_pending_calendar_invitations.sql +0 -403
  526. package/supabase/migrations/20260714205623_add_event_datetime_end_backfill.sql +0 -64
  527. package/supabase/migrations/20260729161126_remove_calendar_event_history_dependency.sql +0 -19
  528. package/supabase/migrations/20260729161202_reconcile_production_remote_schema.sql +0 -135
  529. package/supabase/migrations/20260804120000_add_calendar_feed_token_cipher.sql +0 -9
  530. package/supabase/migrations/20260805120000_replace_usergroup_with_group_playerids.sql +0 -363
  531. package/supabase/seed.sql +0 -2973
  532. /package/{lib/functions → functions}/auth.js +0 -0
  533. /package/{lib/functions → functions}/calendarFeed.d.ts +0 -0
  534. /package/{lib/functions → functions}/calendarFeed.js +0 -0
  535. /package/{lib/functions → functions}/communication.d.ts +0 -0
  536. /package/{lib/functions → functions}/communication.js +0 -0
  537. /package/{lib/functions → functions}/communicationComment.d.ts +0 -0
  538. /package/{lib/functions → functions}/communicationComment.js +0 -0
  539. /package/{lib/functions/customer.js → functions/composer.js} +0 -0
  540. /package/{lib/functions/customerGroup.js → functions/composerComposition.js} +0 -0
  541. /package/{lib/functions/eventoPayout.js → functions/composerNotification.js} +0 -0
  542. /package/{lib/functions/federation.js → functions/composerPayout.js} +0 -0
  543. /package/{lib/functions/federationPartnership.js → functions/customer.js} +0 -0
  544. /package/{lib/functions → functions}/customerGroup.d.ts +0 -0
  545. /package/{lib/functions/group.js → functions/customerGroup.js} +0 -0
  546. /package/{lib/functions → functions}/event.d.ts +0 -0
  547. /package/{lib/functions → functions}/eventPlayer.d.ts +0 -0
  548. /package/{lib/functions → functions}/eventoPayout.d.ts +0 -0
  549. /package/{lib/functions/groupEventStage.js → functions/eventoPayout.js} +0 -0
  550. /package/{lib/functions → functions}/federation.d.ts +0 -0
  551. /package/{lib/functions/groupModule.js → functions/federation.js} +0 -0
  552. /package/{lib/functions → functions}/federationPartnership.d.ts +0 -0
  553. /package/{lib/functions/groupPayment.js → functions/federationPartnership.js} +0 -0
  554. /package/{lib/functions → functions}/group.d.ts +0 -0
  555. /package/{lib/types/supabase/overwrites → functions}/group.js +0 -0
  556. /package/{lib/functions → functions}/groupEventStage.d.ts +0 -0
  557. /package/{lib/functions/groupPayoutRule.js → functions/groupEventStage.js} +0 -0
  558. /package/{lib/functions → functions}/groupModule.d.ts +0 -0
  559. /package/{lib/functions/groupPlayer.js → functions/groupModule.js} +0 -0
  560. /package/{lib/functions → functions}/groupPayment.d.ts +0 -0
  561. /package/{lib/functions/groupRepertory.js → functions/groupPayment.js} +0 -0
  562. /package/{lib/functions → functions}/groupPayoutRule.d.ts +0 -0
  563. /package/{lib/functions/inventory.js → functions/groupPayoutRule.js} +0 -0
  564. /package/{lib/functions → functions}/groupPlayer.d.ts +0 -0
  565. /package/{lib/functions/inventoryItem.js → functions/groupPlayer.js} +0 -0
  566. /package/{lib/functions/jwt.js → functions/groupRepertory.js} +0 -0
  567. /package/{lib/functions → functions}/inventory.d.ts +0 -0
  568. /package/{lib/functions/misc.js → functions/inventory.js} +0 -0
  569. /package/{lib/functions → functions}/inventoryItem.d.ts +0 -0
  570. /package/{lib/functions/notification.js → functions/inventoryItem.js} +0 -0
  571. /package/{lib/functions → functions}/jwt.d.ts +0 -0
  572. /package/{lib/functions/offer.js → functions/jwt.js} +0 -0
  573. /package/{lib/functions/offerApplicant.js → functions/misc.js} +0 -0
  574. /package/{lib/functions → functions}/notification.d.ts +0 -0
  575. /package/{lib/functions/partnership.js → functions/notification.js} +0 -0
  576. /package/{lib/functions → functions}/offer.d.ts +0 -0
  577. /package/{lib/types/supabase/overwrites → functions}/offer.js +0 -0
  578. /package/{lib/functions → functions}/offerApplicant.d.ts +0 -0
  579. /package/{lib/functions/partnershipCommunication.js → functions/offerApplicant.js} +0 -0
  580. /package/{lib/functions → functions}/partnership.d.ts +0 -0
  581. /package/{lib/functions/partnershipGroup.js → functions/partnership.js} +0 -0
  582. /package/{lib/functions → functions}/partnershipCommunication.d.ts +0 -0
  583. /package/{lib/functions/partnershipPartner.js → functions/partnershipCommunication.js} +0 -0
  584. /package/{lib/functions → functions}/partnershipGroup.d.ts +0 -0
  585. /package/{lib/functions/partnershipPayment.js → functions/partnershipGroup.js} +0 -0
  586. /package/{lib/functions → functions}/partnershipPartner.d.ts +0 -0
  587. /package/{lib/functions/partnershipPlan.js → functions/partnershipPartner.js} +0 -0
  588. /package/{lib/functions → functions}/partnershipPayment.d.ts +0 -0
  589. /package/{lib/functions/partnershipSepaPaymentGroup.js → functions/partnershipPayment.js} +0 -0
  590. /package/{lib/functions → functions}/partnershipPlan.d.ts +0 -0
  591. /package/{lib/functions/partnershipSubscription.js → functions/partnershipPlan.js} +0 -0
  592. /package/{lib/functions → functions}/partnershipSepaPaymentGroup.d.ts +0 -0
  593. /package/{lib/functions/subscription.js → functions/partnershipSepaPaymentGroup.js} +0 -0
  594. /package/{lib/functions → functions}/partnershipSubscription.d.ts +0 -0
  595. /package/{lib/functions/user.js → functions/partnershipSubscription.js} +0 -0
  596. /package/{lib/functions → functions}/regions.d.ts +0 -0
  597. /package/{lib/functions → functions}/subscription.d.ts +0 -0
  598. /package/{lib/functions/userNotification.js → functions/subscription.js} +0 -0
  599. /package/{lib/functions → functions}/user.d.ts +0 -0
  600. /package/{lib/models/Communication/Comment/types.js → functions/user.js} +0 -0
  601. /package/{lib/functions → functions}/userNotification.d.ts +0 -0
  602. /package/{lib/models/Counters/Group/types.js → functions/userNotification.js} +0 -0
  603. /package/{lib/helpers → helpers}/appScenes.d.ts +0 -0
  604. /package/{lib/helpers → helpers}/audios.d.ts +0 -0
  605. /package/{lib/helpers → helpers}/audios.js +0 -0
  606. /package/{lib/helpers → helpers}/badges.d.ts +0 -0
  607. /package/{lib/helpers → helpers}/collections.d.ts +0 -0
  608. /package/{lib/helpers → helpers}/communicationTemplate/newGroup.d.ts +0 -0
  609. /package/{lib/helpers → helpers}/communicationTemplate/newGroup.js +0 -0
  610. /package/{lib/helpers → helpers}/communicationTemplate/newMember.d.ts +0 -0
  611. /package/{lib/helpers → helpers}/communicationTemplate/newMember.js +0 -0
  612. /package/{lib/helpers → helpers}/countries.d.ts +0 -0
  613. /package/{lib/helpers → helpers}/countries.js +0 -0
  614. /package/{lib/helpers → helpers}/dlinks.d.ts +0 -0
  615. /package/{lib/helpers → helpers}/fileSections/index.d.ts +0 -0
  616. /package/{lib/helpers → helpers}/fileSections/index.js +0 -0
  617. /package/{lib/helpers → helpers}/fileSections/orders.d.ts +0 -0
  618. /package/{lib/helpers → helpers}/fileSections/orders.js +0 -0
  619. /package/{lib/helpers → helpers}/glissandooAdmin.d.ts +0 -0
  620. /package/{lib/helpers → helpers}/glissandooAdmin.js +0 -0
  621. /package/{lib/helpers → helpers}/instruments/orders.d.ts +0 -0
  622. /package/{lib/helpers → helpers}/instruments/orders.js +0 -0
  623. /package/{lib/helpers → helpers}/musicStyles/orders.d.ts +0 -0
  624. /package/{lib/helpers → helpers}/musicStyles/orders.js +0 -0
  625. /package/{lib/helpers → helpers}/notifications/index.d.ts +0 -0
  626. /package/{lib/helpers → helpers}/notifications/placeholders.d.ts +0 -0
  627. /package/{lib/helpers → helpers}/notifications/placeholders.js +0 -0
  628. /package/{lib/helpers → helpers}/paymentForecast.d.ts +0 -0
  629. /package/{lib/helpers → helpers}/payoutRules.d.ts +0 -0
  630. /package/{lib/helpers → helpers}/plans.d.ts +0 -0
  631. /package/{lib/helpers → helpers}/rates.js +0 -0
  632. /package/{lib/helpers → helpers}/reasons.d.ts +0 -0
  633. /package/{lib/helpers → helpers}/reasons.js +0 -0
  634. /package/{lib/helpers → helpers}/styles.d.ts +0 -0
  635. /package/{lib/helpers → helpers}/styles.js +0 -0
  636. /package/{lib/helpers → helpers}/ts-extras/array-includes.d.ts +0 -0
  637. /package/{lib/helpers → helpers}/ts-extras/as-mutable.d.ts +0 -0
  638. /package/{lib/helpers → helpers}/ts-extras/assert-error.d.ts +0 -0
  639. /package/{lib/helpers → helpers}/ts-extras/index.d.ts +0 -0
  640. /package/{lib/helpers → helpers}/ts-extras/is-defined.d.ts +0 -0
  641. /package/{lib/helpers → helpers}/ts-extras/is-empty.d.ts +0 -0
  642. /package/{lib/helpers → helpers}/ts-extras/is-finite.d.ts +0 -0
  643. /package/{lib/helpers → helpers}/ts-extras/is-finite.js +0 -0
  644. /package/{lib/helpers → helpers}/ts-extras/is-infinite.d.ts +0 -0
  645. /package/{lib/helpers → helpers}/ts-extras/is-integer.d.ts +0 -0
  646. /package/{lib/helpers → helpers}/ts-extras/is-integer.js +0 -0
  647. /package/{lib/helpers → helpers}/ts-extras/is-present.d.ts +0 -0
  648. /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.d.ts +0 -0
  649. /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.js +0 -0
  650. /package/{lib/helpers → helpers}/ts-extras/object-entries.js +0 -0
  651. /package/{lib/helpers → helpers}/ts-extras/object-from-entries.js +0 -0
  652. /package/{lib/helpers → helpers}/ts-extras/object-has-own.d.ts +0 -0
  653. /package/{lib/helpers → helpers}/ts-extras/set-has.d.ts +0 -0
  654. /package/{lib/helpers → helpers}/utils.d.ts +0 -0
  655. /package/{lib/helpers → helpers}/utils.js +0 -0
  656. /package/{lib/index.d.ts → index.d.ts} +0 -0
  657. /package/{lib/index.js → index.js} +0 -0
  658. /package/{lib/lang → lang}/index.d.ts +0 -0
  659. /package/{lib/models → models}/Communication/Comment/index.d.ts +0 -0
  660. /package/{lib/models → models}/Communication/Comment/index.js +0 -0
  661. /package/{lib/models → models}/Communication/Comment/types.d.ts +0 -0
  662. /package/{lib/models/Counters → models/Communication/Comment}/types.js +0 -0
  663. /package/{lib/models → models}/Communication/index.d.ts +0 -0
  664. /package/{lib/models → models}/Communication/index.js +0 -0
  665. /package/{lib/models → models}/Counters/Group/Analytics/index.d.ts +0 -0
  666. /package/{lib/models → models}/Counters/Group/Analytics/index.js +0 -0
  667. /package/{lib/models → models}/Counters/Group/Analytics/types.d.ts +0 -0
  668. /package/{lib/models → models}/Counters/Group/index.d.ts +0 -0
  669. /package/{lib/models → models}/Counters/Group/index.js +0 -0
  670. /package/{lib/models → models}/Counters/Group/types.d.ts +0 -0
  671. /package/{lib/models/Customer → models/Counters}/Group/types.js +0 -0
  672. /package/{lib/models → models}/Counters/event.d.ts +0 -0
  673. /package/{lib/models → models}/Counters/event.js +0 -0
  674. /package/{lib/models → models}/Counters/index.d.ts +0 -0
  675. /package/{lib/models → models}/Counters/index.js +0 -0
  676. /package/{lib/models → models}/Counters/types.d.ts +0 -0
  677. /package/{lib/models/Evento/Repertory → models/Counters}/types.js +0 -0
  678. /package/{lib/models → models}/Customer/Group/index.d.ts +0 -0
  679. /package/{lib/models → models}/Customer/Group/index.js +0 -0
  680. /package/{lib/models → models}/Customer/Group/types.d.ts +0 -0
  681. /package/{lib/models/Federation/Partnership → models/Customer/Group}/types.js +0 -0
  682. /package/{lib/models → models}/Customer/basic.d.ts +0 -0
  683. /package/{lib/models → models}/Customer/basic.js +0 -0
  684. /package/{lib/models → models}/Customer/types.d.ts +0 -0
  685. /package/{lib/models → models}/Evento/Player/basic.d.ts +0 -0
  686. /package/{lib/models → models}/Evento/Player/basic.js +0 -0
  687. /package/{lib/models → models}/Evento/Player/index.d.ts +0 -0
  688. /package/{lib/models → models}/Evento/Player/index.js +0 -0
  689. /package/{lib/models → models}/Evento/Player/types.d.ts +0 -0
  690. /package/{lib/models → models}/Evento/Repertory/index.d.ts +0 -0
  691. /package/{lib/models → models}/Evento/Repertory/index.js +0 -0
  692. /package/{lib/models/Federation → models/Evento/Repertory}/types.js +0 -0
  693. /package/{lib/models → models}/Evento/basic.d.ts +0 -0
  694. /package/{lib/models → models}/Evento/basic.js +0 -0
  695. /package/{lib/models → models}/Evento/promoter.d.ts +0 -0
  696. /package/{lib/models → models}/Evento/promoter.js +0 -0
  697. /package/{lib/models → models}/Evento/tiny.d.ts +0 -0
  698. /package/{lib/models → models}/Evento/tiny.js +0 -0
  699. /package/{lib/models → models}/Federation/Partnership/index.d.ts +0 -0
  700. /package/{lib/models → models}/Federation/Partnership/index.js +0 -0
  701. /package/{lib/models → models}/Federation/Partnership/types.d.ts +0 -0
  702. /package/{lib/models/Group/Event → models/Federation/Partnership}/types.js +0 -0
  703. /package/{lib/models → models}/Federation/types.d.ts +0 -0
  704. /package/{lib/models/Group/Player/Event → models/Federation}/types.js +0 -0
  705. /package/{lib/models → models}/Group/Analytics/index.d.ts +0 -0
  706. /package/{lib/models → models}/Group/Analytics/index.js +0 -0
  707. /package/{lib/models → models}/Group/Analytics/types.d.ts +0 -0
  708. /package/{lib/models → models}/Group/Event/index.d.ts +0 -0
  709. /package/{lib/models → models}/Group/Event/index.js +0 -0
  710. /package/{lib/models → models}/Group/Event/types.d.ts +0 -0
  711. /package/{lib/models/Group/Player/Log → models/Group/Event}/types.js +0 -0
  712. /package/{lib/models → models}/Group/Payment/index.d.ts +0 -0
  713. /package/{lib/models → models}/Group/Payment/index.js +0 -0
  714. /package/{lib/models → models}/Group/Payment/supabase.d.ts +0 -0
  715. /package/{lib/models → models}/Group/Payment/types.d.ts +0 -0
  716. /package/{lib/models → models}/Group/Player/Event/index.d.ts +0 -0
  717. /package/{lib/models → models}/Group/Player/Event/index.js +0 -0
  718. /package/{lib/models → models}/Group/Player/Event/types.d.ts +0 -0
  719. /package/{lib/models/Group/Repertory/File → models/Group/Player/Event}/types.js +0 -0
  720. /package/{lib/models → models}/Group/Player/Log/index.d.ts +0 -0
  721. /package/{lib/models → models}/Group/Player/Log/index.js +0 -0
  722. /package/{lib/models → models}/Group/Player/Log/types.d.ts +0 -0
  723. /package/{lib/models/Group/StageTemplate → models/Group/Player/Log}/types.js +0 -0
  724. /package/{lib/models → models}/Group/Player/index.d.ts +0 -0
  725. /package/{lib/models → models}/Group/Player/index.js +0 -0
  726. /package/{lib/models → models}/Group/Player/types.d.ts +0 -0
  727. /package/{lib/models → models}/Group/Repertory/File/types.d.ts +0 -0
  728. /package/{lib/models/Metrics → models/Group/Repertory/File}/types.js +0 -0
  729. /package/{lib/models → models}/Group/Repertory/FilePath/index.js +0 -0
  730. /package/{lib/models → models}/Group/StageTemplate/index.d.ts +0 -0
  731. /package/{lib/models → models}/Group/StageTemplate/index.js +0 -0
  732. /package/{lib/models → models}/Group/StageTemplate/types.d.ts +0 -0
  733. /package/{lib/models/Offer/Applicant → models/Group/StageTemplate}/types.js +0 -0
  734. /package/{lib/models → models}/Group/basic.d.ts +0 -0
  735. /package/{lib/models → models}/Group/basic.js +0 -0
  736. /package/{lib/models → models}/Instrument/group.d.ts +0 -0
  737. /package/{lib/models → models}/Instrument/group.js +0 -0
  738. /package/{lib/models → models}/Inventory/Item/index.d.ts +0 -0
  739. /package/{lib/models → models}/Inventory/Item/index.js +0 -0
  740. /package/{lib/models → models}/Inventory/Item/types.d.ts +0 -0
  741. /package/{lib/models → models}/Inventory/index.d.ts +0 -0
  742. /package/{lib/models → models}/Inventory/index.js +0 -0
  743. /package/{lib/models → models}/Inventory/types.d.ts +0 -0
  744. /package/{lib/models → models}/Metrics/index.d.ts +0 -0
  745. /package/{lib/models → models}/Metrics/index.js +0 -0
  746. /package/{lib/models → models}/Metrics/types.d.ts +0 -0
  747. /package/{lib/models/Partnership/Communication → models/Metrics}/types.js +0 -0
  748. /package/{lib/models → models}/Model/index.d.ts +0 -0
  749. /package/{lib/models → models}/Model/index.js +0 -0
  750. /package/{lib/models → models}/Model/lang.d.ts +0 -0
  751. /package/{lib/models → models}/Model/lang.js +0 -0
  752. /package/{lib/models → models}/MusicStyle/index.d.ts +0 -0
  753. /package/{lib/models → models}/MusicStyle/index.js +0 -0
  754. /package/{lib/models → models}/Notification/index.d.ts +0 -0
  755. /package/{lib/models → models}/Notification/index.js +0 -0
  756. /package/{lib/models → models}/Notification/types.d.ts +0 -0
  757. /package/{lib/models → models}/Offer/Applicant/index.d.ts +0 -0
  758. /package/{lib/models → models}/Offer/Applicant/index.js +0 -0
  759. /package/{lib/models → models}/Offer/Applicant/types.d.ts +0 -0
  760. /package/{lib/models/Partnership/Group → models/Offer/Applicant}/types.js +0 -0
  761. /package/{lib/models → models}/Offer/index.d.ts +0 -0
  762. /package/{lib/models → models}/Offer/index.js +0 -0
  763. /package/{lib/models → models}/Partnership/Communication/index.d.ts +0 -0
  764. /package/{lib/models → models}/Partnership/Communication/index.js +0 -0
  765. /package/{lib/models → models}/Partnership/Communication/supabase.d.ts +0 -0
  766. /package/{lib/models → models}/Partnership/Communication/types.d.ts +0 -0
  767. /package/{lib/models/Partnership/Plan → models/Partnership/Communication}/types.js +0 -0
  768. /package/{lib/models → models}/Partnership/Group/supabase.d.ts +0 -0
  769. /package/{lib/models → models}/Partnership/Group/types.d.ts +0 -0
  770. /package/{lib/models/Partnership/SepaPaymentGroup → models/Partnership/Group}/types.js +0 -0
  771. /package/{lib/models → models}/Partnership/Partner/index.d.ts +0 -0
  772. /package/{lib/models → models}/Partnership/Partner/index.js +0 -0
  773. /package/{lib/models → models}/Partnership/Partner/supabase.d.ts +0 -0
  774. /package/{lib/models → models}/Partnership/Partner/types.d.ts +0 -0
  775. /package/{lib/models → models}/Partnership/Payment/index.d.ts +0 -0
  776. /package/{lib/models → models}/Partnership/Payment/index.js +0 -0
  777. /package/{lib/models → models}/Partnership/Payment/supabase.d.ts +0 -0
  778. /package/{lib/models → models}/Partnership/Payment/types.d.ts +0 -0
  779. /package/{lib/models → models}/Partnership/Plan/index.d.ts +0 -0
  780. /package/{lib/models → models}/Partnership/Plan/index.js +0 -0
  781. /package/{lib/models → models}/Partnership/Plan/supabase.d.ts +0 -0
  782. /package/{lib/models → models}/Partnership/Plan/types.d.ts +0 -0
  783. /package/{lib/models/Partnership/Subscription → models/Partnership/Plan}/types.js +0 -0
  784. /package/{lib/models → models}/Partnership/SepaPaymentGroup/index.d.ts +0 -0
  785. /package/{lib/models → models}/Partnership/SepaPaymentGroup/index.js +0 -0
  786. /package/{lib/models → models}/Partnership/SepaPaymentGroup/supabase.d.ts +0 -0
  787. /package/{lib/models → models}/Partnership/SepaPaymentGroup/types.d.ts +0 -0
  788. /package/{lib/models/Player → models/Partnership/SepaPaymentGroup}/types.js +0 -0
  789. /package/{lib/models → models}/Partnership/Subscription/index.d.ts +0 -0
  790. /package/{lib/models → models}/Partnership/Subscription/index.js +0 -0
  791. /package/{lib/models → models}/Partnership/Subscription/supabase.d.ts +0 -0
  792. /package/{lib/models → models}/Partnership/Subscription/types.d.ts +0 -0
  793. /package/{lib/models/User/Group → models/Partnership/Subscription}/types.js +0 -0
  794. /package/{lib/models → models}/Partnership/basic.d.ts +0 -0
  795. /package/{lib/models → models}/Partnership/basic.js +0 -0
  796. /package/{lib/models → models}/Partnership/types.d.ts +0 -0
  797. /package/{lib/models → models}/Player/basic.d.ts +0 -0
  798. /package/{lib/models → models}/Player/basic.js +0 -0
  799. /package/{lib/models → models}/Player/types.d.ts +0 -0
  800. /package/{lib/models/User/Notification → models/Player}/types.js +0 -0
  801. /package/{lib/models → models}/Repertory/basic.d.ts +0 -0
  802. /package/{lib/models → models}/Repertory/basic.js +0 -0
  803. /package/{lib/models → models}/User/Group/index.d.ts +0 -0
  804. /package/{lib/models → models}/User/Group/types.d.ts +0 -0
  805. /package/{lib/models/User/OfferAlarm → models/User/Group}/types.js +0 -0
  806. /package/{lib/models → models}/User/Notification/index.d.ts +0 -0
  807. /package/{lib/models → models}/User/Notification/index.js +0 -0
  808. /package/{lib/models → models}/User/Notification/types.d.ts +0 -0
  809. /package/{lib/models/User/Partnership → models/User/Notification}/types.js +0 -0
  810. /package/{lib/models → models}/User/OfferAlarm/index.d.ts +0 -0
  811. /package/{lib/models → models}/User/OfferAlarm/index.js +0 -0
  812. /package/{lib/models → models}/User/OfferAlarm/types.d.ts +0 -0
  813. /package/{lib/types/messagebirdChatWidget.js → models/User/OfferAlarm/types.js} +0 -0
  814. /package/{lib/models → models}/User/Partnership/index.d.ts +0 -0
  815. /package/{lib/models → models}/User/Partnership/index.js +0 -0
  816. /package/{lib/models → models}/User/Partnership/types.d.ts +0 -0
  817. /package/{lib/types/minVersion.js → models/User/Partnership/types.js} +0 -0
  818. /package/{lib/models → models}/User/basic.d.ts +0 -0
  819. /package/{lib/models → models}/User/basic.js +0 -0
  820. /package/{lib/models → models}/User/extended.d.ts +0 -0
  821. /package/{lib/models → models}/User/extended.js +0 -0
  822. /package/{lib/models → models}/WebhookEvent/index.d.ts +0 -0
  823. /package/{lib/models → models}/WebhookEvent/index.js +0 -0
  824. /package/{lib/models → models}/WebhookEvent/types.d.ts +0 -0
  825. /package/{lib/types/supabase/index.js → models/supabase/Comm/types.js} +0 -0
  826. /package/{lib/types/supabase/overwrites/comm.js → models/supabase/Composer/Composition/Acquisition/types.js} +0 -0
  827. /package/{lib/types/supabase/overwrites/comm_history.js → models/supabase/Composer/Composition/Favorite/types.js} +0 -0
  828. /package/{lib/types/supabase/overwrites/event.js → models/supabase/Composer/Composition/View/types.js} +0 -0
  829. /package/{lib/types/supabase/overwrites/event_history.js → models/supabase/Composer/Payout/status.js} +0 -0
  830. /package/{lib/types/supabase/overwrites/group_history.js → models/supabase/Composer/Payout/types.js} +0 -0
  831. /package/{lib/types/supabase/overwrites/index.js → models/supabase/Composer/PerformanceAttendance/types.js} +0 -0
  832. /package/{lib/types/supabase/overwrites/offer_history.js → models/supabase/Composer/types.js} +0 -0
  833. /package/{lib/types/supabase/overwrites/repertoire.js → models/supabase/Repertoire/types.js} +0 -0
  834. /package/{lib/types/supabase/overwrites/repertoire_history.js → models/supabase/User/Group/types.js} +0 -0
  835. /package/{lib/types/supabase/overwrites/utils.js → models/supabase/User/types.js} +0 -0
  836. /package/{lib/types → types}/messagebirdChatWidget.d.ts +0 -0
  837. /package/{lib/types → types}/minVersion.d.ts +0 -0
  838. /package/{lib/types → types}/payoutRule.d.ts +0 -0
  839. /package/{lib/types/supabase/overwrites/utils.d.ts → types/supabase/overwrites/tables/common/index.d.ts} +0 -0
@@ -0,0 +1,4076 @@
1
+ export type Json = string | number | boolean | null | { [key: string]: Json | undefined } | Json[];
2
+
3
+ export type Database = {
4
+ graphql_public: {
5
+ Tables: {
6
+ [_ in never]: never;
7
+ };
8
+ Views: {
9
+ [_ in never]: never;
10
+ };
11
+ Functions: {
12
+ graphql: {
13
+ Args: {
14
+ extensions?: Json;
15
+ operationName?: string;
16
+ query?: string;
17
+ variables?: Json;
18
+ };
19
+ Returns: Json;
20
+ };
21
+ };
22
+ Enums: {
23
+ [_ in never]: never;
24
+ };
25
+ CompositeTypes: {
26
+ [_ in never]: never;
27
+ };
28
+ };
29
+ public: {
30
+ Tables: {
31
+ calendar_event_cancellation: {
32
+ Row: {
33
+ all_day: boolean;
34
+ cancelled_at: string;
35
+ description: string | null;
36
+ display_name: string | null;
37
+ ends_at: string;
38
+ event_id: string;
39
+ event_type: string;
40
+ expires_at: string;
41
+ group_name: string;
42
+ last_modified: string;
43
+ latitude: number | null;
44
+ location: string | null;
45
+ longitude: number | null;
46
+ sequence: number;
47
+ starts_at: string;
48
+ timezone: string;
49
+ url: string | null;
50
+ user_id: string;
51
+ };
52
+ Insert: {
53
+ all_day?: boolean;
54
+ cancelled_at?: string;
55
+ description?: string | null;
56
+ display_name?: string | null;
57
+ ends_at: string;
58
+ event_id: string;
59
+ event_type: string;
60
+ expires_at?: string;
61
+ group_name: string;
62
+ last_modified: string;
63
+ latitude?: number | null;
64
+ location?: string | null;
65
+ longitude?: number | null;
66
+ sequence: number;
67
+ starts_at: string;
68
+ timezone: string;
69
+ url?: string | null;
70
+ user_id: string;
71
+ };
72
+ Update: {
73
+ all_day?: boolean;
74
+ cancelled_at?: string;
75
+ description?: string | null;
76
+ display_name?: string | null;
77
+ ends_at?: string;
78
+ event_id?: string;
79
+ event_type?: string;
80
+ expires_at?: string;
81
+ group_name?: string;
82
+ last_modified?: string;
83
+ latitude?: number | null;
84
+ location?: string | null;
85
+ longitude?: number | null;
86
+ sequence?: number;
87
+ starts_at?: string;
88
+ timezone?: string;
89
+ url?: string | null;
90
+ user_id?: string;
91
+ };
92
+ Relationships: [
93
+ {
94
+ foreignKeyName: 'calendar_event_cancellation_user_id_fkey';
95
+ columns: ['user_id'];
96
+ isOneToOne: false;
97
+ referencedRelation: 'calendar_feed';
98
+ referencedColumns: ['user_id'];
99
+ },
100
+ ];
101
+ };
102
+ calendar_feed: {
103
+ Row: {
104
+ content_revision: number;
105
+ created_at: string;
106
+ enabled: boolean;
107
+ include_pending: boolean;
108
+ include_tentative: boolean;
109
+ revoked_at: string | null;
110
+ token_cipher: string | null;
111
+ token_hash: string;
112
+ updated_at: string;
113
+ user_id: string;
114
+ };
115
+ Insert: {
116
+ content_revision?: number;
117
+ created_at?: string;
118
+ enabled?: boolean;
119
+ include_pending?: boolean;
120
+ include_tentative?: boolean;
121
+ revoked_at?: string | null;
122
+ token_cipher?: string | null;
123
+ token_hash: string;
124
+ updated_at?: string;
125
+ user_id: string;
126
+ };
127
+ Update: {
128
+ content_revision?: number;
129
+ created_at?: string;
130
+ enabled?: boolean;
131
+ include_pending?: boolean;
132
+ include_tentative?: boolean;
133
+ revoked_at?: string | null;
134
+ token_cipher?: string | null;
135
+ token_hash?: string;
136
+ updated_at?: string;
137
+ user_id?: string;
138
+ };
139
+ Relationships: [
140
+ {
141
+ foreignKeyName: 'calendar_feed_user_id_fkey';
142
+ columns: ['user_id'];
143
+ isOneToOne: true;
144
+ referencedRelation: 'user';
145
+ referencedColumns: ['userId'];
146
+ },
147
+ ];
148
+ };
149
+ comm: {
150
+ Row: {
151
+ block_answers: boolean;
152
+ comments_count: number;
153
+ created_at: string;
154
+ deleted_at: string | null;
155
+ deleted_by: string | null;
156
+ edited_at: string | null;
157
+ edited_by: string | null;
158
+ group_id: string;
159
+ id: string;
160
+ owner_id: string;
161
+ recipients: string[];
162
+ server: boolean;
163
+ server_template: string | null;
164
+ template_id: string | null;
165
+ title: string;
166
+ type: string;
167
+ };
168
+ Insert: {
169
+ block_answers?: boolean;
170
+ comments_count?: number;
171
+ created_at?: string;
172
+ deleted_at?: string | null;
173
+ deleted_by?: string | null;
174
+ edited_at?: string | null;
175
+ edited_by?: string | null;
176
+ group_id: string;
177
+ id: string;
178
+ owner_id: string;
179
+ recipients: string[];
180
+ server: boolean;
181
+ server_template?: string | null;
182
+ template_id?: string | null;
183
+ title: string;
184
+ type: string;
185
+ };
186
+ Update: {
187
+ block_answers?: boolean;
188
+ comments_count?: number;
189
+ created_at?: string;
190
+ deleted_at?: string | null;
191
+ deleted_by?: string | null;
192
+ edited_at?: string | null;
193
+ edited_by?: string | null;
194
+ group_id?: string;
195
+ id?: string;
196
+ owner_id?: string;
197
+ recipients?: string[];
198
+ server?: boolean;
199
+ server_template?: string | null;
200
+ template_id?: string | null;
201
+ title?: string;
202
+ type?: string;
203
+ };
204
+ Relationships: [];
205
+ };
206
+ comm_history: {
207
+ Row: {
208
+ action: string;
209
+ comm_id: string;
210
+ created_at: string;
211
+ group_id: string;
212
+ id: number;
213
+ prev_value: Json | null;
214
+ user_id: string;
215
+ value: Json | null;
216
+ };
217
+ Insert: {
218
+ action: string;
219
+ comm_id: string;
220
+ created_at: string;
221
+ group_id: string;
222
+ id?: number;
223
+ prev_value?: Json | null;
224
+ user_id: string;
225
+ value?: Json | null;
226
+ };
227
+ Update: {
228
+ action?: string;
229
+ comm_id?: string;
230
+ created_at?: string;
231
+ group_id?: string;
232
+ id?: number;
233
+ prev_value?: Json | null;
234
+ user_id?: string;
235
+ value?: Json | null;
236
+ };
237
+ Relationships: [];
238
+ };
239
+ composer: {
240
+ Row: {
241
+ artisticEmail: string | null;
242
+ artisticName: string;
243
+ country: string | null;
244
+ createdAt: string;
245
+ currency: string | null;
246
+ deletedAt: string | null;
247
+ description: Json[] | null;
248
+ id: string;
249
+ instruments: Json;
250
+ locality: string | null;
251
+ location: Database['public']['CompositeTypes']['lonlat'] | null;
252
+ photoURL: string;
253
+ repertoireTags: Json;
254
+ socialNetworks: Json;
255
+ updatedAt: string;
256
+ userId: string;
257
+ username: string;
258
+ visibility: boolean;
259
+ };
260
+ Insert: {
261
+ artisticEmail?: string | null;
262
+ artisticName: string;
263
+ country?: string | null;
264
+ createdAt?: string;
265
+ currency?: string | null;
266
+ deletedAt?: string | null;
267
+ description?: Json[] | null;
268
+ id?: string;
269
+ instruments: Json;
270
+ locality?: string | null;
271
+ location?: Database['public']['CompositeTypes']['lonlat'] | null;
272
+ photoURL: string;
273
+ repertoireTags: Json;
274
+ socialNetworks: Json;
275
+ updatedAt?: string;
276
+ userId: string;
277
+ username: string;
278
+ visibility?: boolean;
279
+ };
280
+ Update: {
281
+ artisticEmail?: string | null;
282
+ artisticName?: string;
283
+ country?: string | null;
284
+ createdAt?: string;
285
+ currency?: string | null;
286
+ deletedAt?: string | null;
287
+ description?: Json[] | null;
288
+ id?: string;
289
+ instruments?: Json;
290
+ locality?: string | null;
291
+ location?: Database['public']['CompositeTypes']['lonlat'] | null;
292
+ photoURL?: string;
293
+ repertoireTags?: Json;
294
+ socialNetworks?: Json;
295
+ updatedAt?: string;
296
+ userId?: string;
297
+ username?: string;
298
+ visibility?: boolean;
299
+ };
300
+ Relationships: [];
301
+ };
302
+ composerComposition: {
303
+ Row: {
304
+ catalogueNumber: string | null;
305
+ century: number | null;
306
+ cover: Json | null;
307
+ createdAt: string;
308
+ deletedAt: string | null;
309
+ description: Json[];
310
+ difficulty: number | null;
311
+ duration: number | null;
312
+ externalComposerName: string | null;
313
+ files: Json;
314
+ filesPath: Json;
315
+ genresIds: string[];
316
+ highlightedParts: Json;
317
+ id: string;
318
+ instrumentationIds: string[];
319
+ products: Json;
320
+ publisher: string | null;
321
+ samples: Json;
322
+ stylesIds: string[];
323
+ subtitle: string | null;
324
+ title: string;
325
+ updatedAt: string;
326
+ uploaderComposerId: string;
327
+ uploaderComposerRole: Database['public']['Enums']['composerroleincomposition'];
328
+ visibility: boolean;
329
+ year: number | null;
330
+ };
331
+ Insert: {
332
+ catalogueNumber?: string | null;
333
+ century?: number | null;
334
+ cover?: Json | null;
335
+ createdAt?: string;
336
+ deletedAt?: string | null;
337
+ description?: Json[];
338
+ difficulty?: number | null;
339
+ duration?: number | null;
340
+ externalComposerName?: string | null;
341
+ files?: Json;
342
+ filesPath?: Json;
343
+ genresIds?: string[];
344
+ highlightedParts?: Json;
345
+ id?: string;
346
+ instrumentationIds?: string[];
347
+ products?: Json;
348
+ publisher?: string | null;
349
+ samples?: Json;
350
+ stylesIds?: string[];
351
+ subtitle?: string | null;
352
+ title: string;
353
+ updatedAt?: string;
354
+ uploaderComposerId: string;
355
+ uploaderComposerRole: Database['public']['Enums']['composerroleincomposition'];
356
+ visibility?: boolean;
357
+ year?: number | null;
358
+ };
359
+ Update: {
360
+ catalogueNumber?: string | null;
361
+ century?: number | null;
362
+ cover?: Json | null;
363
+ createdAt?: string;
364
+ deletedAt?: string | null;
365
+ description?: Json[];
366
+ difficulty?: number | null;
367
+ duration?: number | null;
368
+ externalComposerName?: string | null;
369
+ files?: Json;
370
+ filesPath?: Json;
371
+ genresIds?: string[];
372
+ highlightedParts?: Json;
373
+ id?: string;
374
+ instrumentationIds?: string[];
375
+ products?: Json;
376
+ publisher?: string | null;
377
+ samples?: Json;
378
+ stylesIds?: string[];
379
+ subtitle?: string | null;
380
+ title?: string;
381
+ updatedAt?: string;
382
+ uploaderComposerId?: string;
383
+ uploaderComposerRole?: Database['public']['Enums']['composerroleincomposition'];
384
+ visibility?: boolean;
385
+ year?: number | null;
386
+ };
387
+ Relationships: [
388
+ {
389
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
390
+ columns: ['uploaderComposerId'];
391
+ isOneToOne: false;
392
+ referencedRelation: 'composer';
393
+ referencedColumns: ['id'];
394
+ },
395
+ {
396
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
397
+ columns: ['uploaderComposerId'];
398
+ isOneToOne: false;
399
+ referencedRelation: 'composerModel';
400
+ referencedColumns: ['id'];
401
+ },
402
+ {
403
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
404
+ columns: ['uploaderComposerId'];
405
+ isOneToOne: false;
406
+ referencedRelation: 'composerPublicModel';
407
+ referencedColumns: ['id'];
408
+ },
409
+ ];
410
+ };
411
+ composerNotification: {
412
+ Row: {
413
+ actionUrl: string | null;
414
+ archivedAt: string | null;
415
+ bodyKey: string;
416
+ composerId: string;
417
+ createdAt: string;
418
+ dedupeKey: string | null;
419
+ emailError: string | null;
420
+ emailSentAt: string | null;
421
+ emailStatus: string;
422
+ id: string;
423
+ metadata: Json;
424
+ params: Json;
425
+ readAt: string | null;
426
+ titleKey: string;
427
+ type: string;
428
+ userId: string;
429
+ };
430
+ Insert: {
431
+ actionUrl?: string | null;
432
+ archivedAt?: string | null;
433
+ bodyKey: string;
434
+ composerId: string;
435
+ createdAt?: string;
436
+ dedupeKey?: string | null;
437
+ emailError?: string | null;
438
+ emailSentAt?: string | null;
439
+ emailStatus?: string;
440
+ id?: string;
441
+ metadata?: Json;
442
+ params?: Json;
443
+ readAt?: string | null;
444
+ titleKey: string;
445
+ type: string;
446
+ userId: string;
447
+ };
448
+ Update: {
449
+ actionUrl?: string | null;
450
+ archivedAt?: string | null;
451
+ bodyKey?: string;
452
+ composerId?: string;
453
+ createdAt?: string;
454
+ dedupeKey?: string | null;
455
+ emailError?: string | null;
456
+ emailSentAt?: string | null;
457
+ emailStatus?: string;
458
+ id?: string;
459
+ metadata?: Json;
460
+ params?: Json;
461
+ readAt?: string | null;
462
+ titleKey?: string;
463
+ type?: string;
464
+ userId?: string;
465
+ };
466
+ Relationships: [
467
+ {
468
+ foreignKeyName: 'composerNotification_composerId_fkey';
469
+ columns: ['composerId'];
470
+ isOneToOne: false;
471
+ referencedRelation: 'composer';
472
+ referencedColumns: ['id'];
473
+ },
474
+ {
475
+ foreignKeyName: 'composerNotification_composerId_fkey';
476
+ columns: ['composerId'];
477
+ isOneToOne: false;
478
+ referencedRelation: 'composerModel';
479
+ referencedColumns: ['id'];
480
+ },
481
+ {
482
+ foreignKeyName: 'composerNotification_composerId_fkey';
483
+ columns: ['composerId'];
484
+ isOneToOne: false;
485
+ referencedRelation: 'composerPublicModel';
486
+ referencedColumns: ['id'];
487
+ },
488
+ ];
489
+ };
490
+ composerNotificationSetting: {
491
+ Row: {
492
+ composerId: string;
493
+ createdAt: string;
494
+ payoutsDashboard: boolean;
495
+ payoutsEmail: boolean;
496
+ performancesDashboard: boolean;
497
+ performancesEmail: boolean;
498
+ salesDashboard: boolean;
499
+ salesEmail: boolean;
500
+ summariesDashboard: boolean;
501
+ summariesEmail: boolean;
502
+ systemDashboard: boolean;
503
+ systemEmail: boolean;
504
+ updatedAt: string;
505
+ };
506
+ Insert: {
507
+ composerId: string;
508
+ createdAt?: string;
509
+ payoutsDashboard?: boolean;
510
+ payoutsEmail?: boolean;
511
+ performancesDashboard?: boolean;
512
+ performancesEmail?: boolean;
513
+ salesDashboard?: boolean;
514
+ salesEmail?: boolean;
515
+ summariesDashboard?: boolean;
516
+ summariesEmail?: boolean;
517
+ systemDashboard?: boolean;
518
+ systemEmail?: boolean;
519
+ updatedAt?: string;
520
+ };
521
+ Update: {
522
+ composerId?: string;
523
+ createdAt?: string;
524
+ payoutsDashboard?: boolean;
525
+ payoutsEmail?: boolean;
526
+ performancesDashboard?: boolean;
527
+ performancesEmail?: boolean;
528
+ salesDashboard?: boolean;
529
+ salesEmail?: boolean;
530
+ summariesDashboard?: boolean;
531
+ summariesEmail?: boolean;
532
+ systemDashboard?: boolean;
533
+ systemEmail?: boolean;
534
+ updatedAt?: string;
535
+ };
536
+ Relationships: [
537
+ {
538
+ foreignKeyName: 'composerNotificationSetting_composerId_fkey';
539
+ columns: ['composerId'];
540
+ isOneToOne: true;
541
+ referencedRelation: 'composer';
542
+ referencedColumns: ['id'];
543
+ },
544
+ {
545
+ foreignKeyName: 'composerNotificationSetting_composerId_fkey';
546
+ columns: ['composerId'];
547
+ isOneToOne: true;
548
+ referencedRelation: 'composerModel';
549
+ referencedColumns: ['id'];
550
+ },
551
+ {
552
+ foreignKeyName: 'composerNotificationSetting_composerId_fkey';
553
+ columns: ['composerId'];
554
+ isOneToOne: true;
555
+ referencedRelation: 'composerPublicModel';
556
+ referencedColumns: ['id'];
557
+ },
558
+ ];
559
+ };
560
+ composerPayout: {
561
+ Row: {
562
+ amountCents: number;
563
+ completed_at: string | null;
564
+ composerId: string;
565
+ created_at: string;
566
+ currency: string;
567
+ id: string;
568
+ observations: string | null;
569
+ status: string;
570
+ };
571
+ Insert: {
572
+ amountCents: number;
573
+ completed_at?: string | null;
574
+ composerId: string;
575
+ created_at?: string;
576
+ currency: string;
577
+ id?: string;
578
+ observations?: string | null;
579
+ status?: string;
580
+ };
581
+ Update: {
582
+ amountCents?: number;
583
+ completed_at?: string | null;
584
+ composerId?: string;
585
+ created_at?: string;
586
+ currency?: string;
587
+ id?: string;
588
+ observations?: string | null;
589
+ status?: string;
590
+ };
591
+ Relationships: [
592
+ {
593
+ foreignKeyName: 'composerPayout_composerId_fkey';
594
+ columns: ['composerId'];
595
+ isOneToOne: false;
596
+ referencedRelation: 'composer';
597
+ referencedColumns: ['id'];
598
+ },
599
+ {
600
+ foreignKeyName: 'composerPayout_composerId_fkey';
601
+ columns: ['composerId'];
602
+ isOneToOne: false;
603
+ referencedRelation: 'composerModel';
604
+ referencedColumns: ['id'];
605
+ },
606
+ {
607
+ foreignKeyName: 'composerPayout_composerId_fkey';
608
+ columns: ['composerId'];
609
+ isOneToOne: false;
610
+ referencedRelation: 'composerPublicModel';
611
+ referencedColumns: ['id'];
612
+ },
613
+ ];
614
+ };
615
+ composerPerformanceAttendance: {
616
+ Row: {
617
+ companions: number;
618
+ composerArtisticName: string;
619
+ composerContactEmail: string | null;
620
+ composerId: string;
621
+ composerPhotoURL: string | null;
622
+ createdAt: string;
623
+ eventId: string;
624
+ groupId: string;
625
+ updatedAt: string;
626
+ };
627
+ Insert: {
628
+ companions?: number;
629
+ composerArtisticName: string;
630
+ composerContactEmail?: string | null;
631
+ composerId: string;
632
+ composerPhotoURL?: string | null;
633
+ createdAt?: string;
634
+ eventId: string;
635
+ groupId: string;
636
+ updatedAt?: string;
637
+ };
638
+ Update: {
639
+ companions?: number;
640
+ composerArtisticName?: string;
641
+ composerContactEmail?: string | null;
642
+ composerId?: string;
643
+ composerPhotoURL?: string | null;
644
+ createdAt?: string;
645
+ eventId?: string;
646
+ groupId?: string;
647
+ updatedAt?: string;
648
+ };
649
+ Relationships: [
650
+ {
651
+ foreignKeyName: 'composerPerformanceAttendance_composerId_fkey';
652
+ columns: ['composerId'];
653
+ isOneToOne: false;
654
+ referencedRelation: 'composer';
655
+ referencedColumns: ['id'];
656
+ },
657
+ {
658
+ foreignKeyName: 'composerPerformanceAttendance_composerId_fkey';
659
+ columns: ['composerId'];
660
+ isOneToOne: false;
661
+ referencedRelation: 'composerModel';
662
+ referencedColumns: ['id'];
663
+ },
664
+ {
665
+ foreignKeyName: 'composerPerformanceAttendance_composerId_fkey';
666
+ columns: ['composerId'];
667
+ isOneToOne: false;
668
+ referencedRelation: 'composerPublicModel';
669
+ referencedColumns: ['id'];
670
+ },
671
+ ];
672
+ };
673
+ compositionAcquisition: {
674
+ Row: {
675
+ acquiredByGroupCountrySnapshot: string | null;
676
+ acquiredByGroupId: string;
677
+ acquiredByGroupMusicStyleSnapshot: string | null;
678
+ acquiredByGroupNameSnapshot: string | null;
679
+ acquiredByGroupPhotoURLSnapshot: string | null;
680
+ acquiredByUserId: string;
681
+ acquiredProducts: Json;
682
+ baseCurrency: string | null;
683
+ baseNetEarningsCents: number | null;
684
+ basePriceCents: number | null;
685
+ baseVatCents: number | null;
686
+ buyerCurrency: string | null;
687
+ buyerPriceCents: number | null;
688
+ buyerVatCents: number | null;
689
+ compositionId: string;
690
+ created_at: string;
691
+ currency: string | null;
692
+ customerId: string;
693
+ exchangeRate: number | null;
694
+ exchangeRateDate: string | null;
695
+ exchangeRateSource: string | null;
696
+ id: string;
697
+ netEarningsCents: number | null;
698
+ priceCents: number | null;
699
+ refundedAt: string | null;
700
+ refundedCents: number;
701
+ refundStatus: string;
702
+ stripePaymentIntentId: string | null;
703
+ stripeRefundId: string | null;
704
+ stripeSessionId: string | null;
705
+ updated_at: string;
706
+ vatCents: number | null;
707
+ };
708
+ Insert: {
709
+ acquiredByGroupCountrySnapshot?: string | null;
710
+ acquiredByGroupId: string;
711
+ acquiredByGroupMusicStyleSnapshot?: string | null;
712
+ acquiredByGroupNameSnapshot?: string | null;
713
+ acquiredByGroupPhotoURLSnapshot?: string | null;
714
+ acquiredByUserId: string;
715
+ acquiredProducts?: Json;
716
+ baseCurrency?: string | null;
717
+ baseNetEarningsCents?: number | null;
718
+ basePriceCents?: number | null;
719
+ baseVatCents?: number | null;
720
+ buyerCurrency?: string | null;
721
+ buyerPriceCents?: number | null;
722
+ buyerVatCents?: number | null;
723
+ compositionId: string;
724
+ created_at?: string;
725
+ currency?: string | null;
726
+ customerId: string;
727
+ exchangeRate?: number | null;
728
+ exchangeRateDate?: string | null;
729
+ exchangeRateSource?: string | null;
730
+ id?: string;
731
+ netEarningsCents?: number | null;
732
+ priceCents?: number | null;
733
+ refundedAt?: string | null;
734
+ refundedCents?: number;
735
+ refundStatus?: string;
736
+ stripePaymentIntentId?: string | null;
737
+ stripeRefundId?: string | null;
738
+ stripeSessionId?: string | null;
739
+ updated_at?: string;
740
+ vatCents?: number | null;
741
+ };
742
+ Update: {
743
+ acquiredByGroupCountrySnapshot?: string | null;
744
+ acquiredByGroupId?: string;
745
+ acquiredByGroupMusicStyleSnapshot?: string | null;
746
+ acquiredByGroupNameSnapshot?: string | null;
747
+ acquiredByGroupPhotoURLSnapshot?: string | null;
748
+ acquiredByUserId?: string;
749
+ acquiredProducts?: Json;
750
+ baseCurrency?: string | null;
751
+ baseNetEarningsCents?: number | null;
752
+ basePriceCents?: number | null;
753
+ baseVatCents?: number | null;
754
+ buyerCurrency?: string | null;
755
+ buyerPriceCents?: number | null;
756
+ buyerVatCents?: number | null;
757
+ compositionId?: string;
758
+ created_at?: string;
759
+ currency?: string | null;
760
+ customerId?: string;
761
+ exchangeRate?: number | null;
762
+ exchangeRateDate?: string | null;
763
+ exchangeRateSource?: string | null;
764
+ id?: string;
765
+ netEarningsCents?: number | null;
766
+ priceCents?: number | null;
767
+ refundedAt?: string | null;
768
+ refundedCents?: number;
769
+ refundStatus?: string;
770
+ stripePaymentIntentId?: string | null;
771
+ stripeRefundId?: string | null;
772
+ stripeSessionId?: string | null;
773
+ updated_at?: string;
774
+ vatCents?: number | null;
775
+ };
776
+ Relationships: [
777
+ {
778
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
779
+ columns: ['compositionId'];
780
+ isOneToOne: false;
781
+ referencedRelation: 'composerComposition';
782
+ referencedColumns: ['id'];
783
+ },
784
+ {
785
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
786
+ columns: ['compositionId'];
787
+ isOneToOne: false;
788
+ referencedRelation: 'composerCompositionModel';
789
+ referencedColumns: ['id'];
790
+ },
791
+ {
792
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
793
+ columns: ['compositionId'];
794
+ isOneToOne: false;
795
+ referencedRelation: 'composerCompositionPublicModel';
796
+ referencedColumns: ['id'];
797
+ },
798
+ {
799
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
800
+ columns: ['compositionId'];
801
+ isOneToOne: false;
802
+ referencedRelation: 'composerOwnedCompositionMetricsModel';
803
+ referencedColumns: ['compositionId'];
804
+ },
805
+ {
806
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
807
+ columns: ['compositionId'];
808
+ isOneToOne: false;
809
+ referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
810
+ referencedColumns: ['compositionId'];
811
+ },
812
+ ];
813
+ };
814
+ compositionFavorite: {
815
+ Row: {
816
+ compositionId: string;
817
+ created_at: string;
818
+ groupId: string;
819
+ id: string;
820
+ userId: string;
821
+ };
822
+ Insert: {
823
+ compositionId: string;
824
+ created_at?: string;
825
+ groupId: string;
826
+ id?: string;
827
+ userId: string;
828
+ };
829
+ Update: {
830
+ compositionId?: string;
831
+ created_at?: string;
832
+ groupId?: string;
833
+ id?: string;
834
+ userId?: string;
835
+ };
836
+ Relationships: [
837
+ {
838
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
839
+ columns: ['compositionId'];
840
+ isOneToOne: false;
841
+ referencedRelation: 'composerComposition';
842
+ referencedColumns: ['id'];
843
+ },
844
+ {
845
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
846
+ columns: ['compositionId'];
847
+ isOneToOne: false;
848
+ referencedRelation: 'composerCompositionModel';
849
+ referencedColumns: ['id'];
850
+ },
851
+ {
852
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
853
+ columns: ['compositionId'];
854
+ isOneToOne: false;
855
+ referencedRelation: 'composerCompositionPublicModel';
856
+ referencedColumns: ['id'];
857
+ },
858
+ {
859
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
860
+ columns: ['compositionId'];
861
+ isOneToOne: false;
862
+ referencedRelation: 'composerOwnedCompositionMetricsModel';
863
+ referencedColumns: ['compositionId'];
864
+ },
865
+ {
866
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
867
+ columns: ['compositionId'];
868
+ isOneToOne: false;
869
+ referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
870
+ referencedColumns: ['compositionId'];
871
+ },
872
+ ];
873
+ };
874
+ compositionView: {
875
+ Row: {
876
+ compositionId: string;
877
+ created_at: string;
878
+ groupId: string;
879
+ id: string;
880
+ };
881
+ Insert: {
882
+ compositionId: string;
883
+ created_at?: string;
884
+ groupId: string;
885
+ id?: string;
886
+ };
887
+ Update: {
888
+ compositionId?: string;
889
+ created_at?: string;
890
+ groupId?: string;
891
+ id?: string;
892
+ };
893
+ Relationships: [
894
+ {
895
+ foreignKeyName: 'compositionView_compositionId_fkey';
896
+ columns: ['compositionId'];
897
+ isOneToOne: false;
898
+ referencedRelation: 'composerComposition';
899
+ referencedColumns: ['id'];
900
+ },
901
+ {
902
+ foreignKeyName: 'compositionView_compositionId_fkey';
903
+ columns: ['compositionId'];
904
+ isOneToOne: false;
905
+ referencedRelation: 'composerCompositionModel';
906
+ referencedColumns: ['id'];
907
+ },
908
+ {
909
+ foreignKeyName: 'compositionView_compositionId_fkey';
910
+ columns: ['compositionId'];
911
+ isOneToOne: false;
912
+ referencedRelation: 'composerCompositionPublicModel';
913
+ referencedColumns: ['id'];
914
+ },
915
+ {
916
+ foreignKeyName: 'compositionView_compositionId_fkey';
917
+ columns: ['compositionId'];
918
+ isOneToOne: false;
919
+ referencedRelation: 'composerOwnedCompositionMetricsModel';
920
+ referencedColumns: ['compositionId'];
921
+ },
922
+ {
923
+ foreignKeyName: 'compositionView_compositionId_fkey';
924
+ columns: ['compositionId'];
925
+ isOneToOne: false;
926
+ referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
927
+ referencedColumns: ['compositionId'];
928
+ },
929
+ ];
930
+ };
931
+ compositionViewDaily: {
932
+ Row: {
933
+ compositionId: string;
934
+ count: number;
935
+ date: string;
936
+ groupId: string;
937
+ id: string;
938
+ };
939
+ Insert: {
940
+ compositionId: string;
941
+ count?: number;
942
+ date: string;
943
+ groupId: string;
944
+ id?: string;
945
+ };
946
+ Update: {
947
+ compositionId?: string;
948
+ count?: number;
949
+ date?: string;
950
+ groupId?: string;
951
+ id?: string;
952
+ };
953
+ Relationships: [
954
+ {
955
+ foreignKeyName: 'compositionViewDaily_compositionId_fkey';
956
+ columns: ['compositionId'];
957
+ isOneToOne: false;
958
+ referencedRelation: 'composerComposition';
959
+ referencedColumns: ['id'];
960
+ },
961
+ {
962
+ foreignKeyName: 'compositionViewDaily_compositionId_fkey';
963
+ columns: ['compositionId'];
964
+ isOneToOne: false;
965
+ referencedRelation: 'composerCompositionModel';
966
+ referencedColumns: ['id'];
967
+ },
968
+ {
969
+ foreignKeyName: 'compositionViewDaily_compositionId_fkey';
970
+ columns: ['compositionId'];
971
+ isOneToOne: false;
972
+ referencedRelation: 'composerCompositionPublicModel';
973
+ referencedColumns: ['id'];
974
+ },
975
+ {
976
+ foreignKeyName: 'compositionViewDaily_compositionId_fkey';
977
+ columns: ['compositionId'];
978
+ isOneToOne: false;
979
+ referencedRelation: 'composerOwnedCompositionMetricsModel';
980
+ referencedColumns: ['compositionId'];
981
+ },
982
+ {
983
+ foreignKeyName: 'compositionViewDaily_compositionId_fkey';
984
+ columns: ['compositionId'];
985
+ isOneToOne: false;
986
+ referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
987
+ referencedColumns: ['compositionId'];
988
+ },
989
+ ];
990
+ };
991
+ currencyExchangeRate: {
992
+ Row: {
993
+ baseCurrency: string;
994
+ created_at: string;
995
+ fetchedAt: string;
996
+ id: string;
997
+ provider: string;
998
+ rate: number;
999
+ rateDate: string;
1000
+ targetCurrency: string;
1001
+ };
1002
+ Insert: {
1003
+ baseCurrency: string;
1004
+ created_at?: string;
1005
+ fetchedAt?: string;
1006
+ id?: string;
1007
+ provider: string;
1008
+ rate: number;
1009
+ rateDate: string;
1010
+ targetCurrency: string;
1011
+ };
1012
+ Update: {
1013
+ baseCurrency?: string;
1014
+ created_at?: string;
1015
+ fetchedAt?: string;
1016
+ id?: string;
1017
+ provider?: string;
1018
+ rate?: number;
1019
+ rateDate?: string;
1020
+ targetCurrency?: string;
1021
+ };
1022
+ Relationships: [];
1023
+ };
1024
+ event: {
1025
+ Row: {
1026
+ activeInvitationLink: boolean;
1027
+ calendarSequence: number;
1028
+ coverURL: string | null;
1029
+ createdAt: string;
1030
+ createdOn: Database['public']['Enums']['created_on'];
1031
+ datetime: string;
1032
+ datetimeEnd: string;
1033
+ deletedAt: string | null;
1034
+ deletedBy: string | null;
1035
+ description: string | null;
1036
+ descriptionSlate: Json[];
1037
+ displayName: string | null;
1038
+ id: string;
1039
+ invitationLink: string | null;
1040
+ locality: string | null;
1041
+ location: unknown;
1042
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
1043
+ maxAttendance: number | null;
1044
+ notifyAt: string;
1045
+ online: boolean;
1046
+ owner: string | null;
1047
+ playerIds: string[];
1048
+ players: Json;
1049
+ promoter: string | null;
1050
+ relEvents: string[];
1051
+ repeat: Json | null;
1052
+ repertory: Json;
1053
+ repertoryIds: string[];
1054
+ responseDeadline: Json;
1055
+ responseDeadlineAt: string;
1056
+ rollCalledAt: string | null;
1057
+ rollCalledBy: string | null;
1058
+ rollCallHistory: Json[];
1059
+ rollCallReminderAt: string | null;
1060
+ selectionMode: Database['public']['Enums']['event_selection_mode'] | null;
1061
+ selectionModeClosedAt: string | null;
1062
+ shortDynamicLink: string | null;
1063
+ sites: boolean;
1064
+ stage: Json | null;
1065
+ stageTemplateId: string | null;
1066
+ templateId: string | null;
1067
+ timezone: string;
1068
+ type: Database['public']['Enums']['event_type'];
1069
+ updatedAt: string;
1070
+ videoURL: string | null;
1071
+ };
1072
+ Insert: {
1073
+ activeInvitationLink: boolean;
1074
+ calendarSequence?: number;
1075
+ coverURL?: string | null;
1076
+ createdAt?: string;
1077
+ createdOn: Database['public']['Enums']['created_on'];
1078
+ datetime: string;
1079
+ datetimeEnd: string;
1080
+ deletedAt?: string | null;
1081
+ deletedBy?: string | null;
1082
+ description?: string | null;
1083
+ descriptionSlate: Json[];
1084
+ displayName?: string | null;
1085
+ id: string;
1086
+ invitationLink?: string | null;
1087
+ locality?: string | null;
1088
+ location: unknown;
1089
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
1090
+ maxAttendance?: number | null;
1091
+ notifyAt: string;
1092
+ online: boolean;
1093
+ owner?: string | null;
1094
+ playerIds: string[];
1095
+ players: Json;
1096
+ promoter?: string | null;
1097
+ relEvents: string[];
1098
+ repeat?: Json | null;
1099
+ repertory: Json;
1100
+ repertoryIds: string[];
1101
+ responseDeadline: Json;
1102
+ responseDeadlineAt: string;
1103
+ rollCalledAt?: string | null;
1104
+ rollCalledBy?: string | null;
1105
+ rollCallHistory: Json[];
1106
+ rollCallReminderAt?: string | null;
1107
+ selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
1108
+ selectionModeClosedAt?: string | null;
1109
+ shortDynamicLink?: string | null;
1110
+ sites?: boolean;
1111
+ stage?: Json | null;
1112
+ stageTemplateId?: string | null;
1113
+ templateId?: string | null;
1114
+ timezone: string;
1115
+ type: Database['public']['Enums']['event_type'];
1116
+ updatedAt?: string;
1117
+ videoURL?: string | null;
1118
+ };
1119
+ Update: {
1120
+ activeInvitationLink?: boolean;
1121
+ calendarSequence?: number;
1122
+ coverURL?: string | null;
1123
+ createdAt?: string;
1124
+ createdOn?: Database['public']['Enums']['created_on'];
1125
+ datetime?: string;
1126
+ datetimeEnd?: string;
1127
+ deletedAt?: string | null;
1128
+ deletedBy?: string | null;
1129
+ description?: string | null;
1130
+ descriptionSlate?: Json[];
1131
+ displayName?: string | null;
1132
+ id?: string;
1133
+ invitationLink?: string | null;
1134
+ locality?: string | null;
1135
+ location?: unknown;
1136
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
1137
+ maxAttendance?: number | null;
1138
+ notifyAt?: string;
1139
+ online?: boolean;
1140
+ owner?: string | null;
1141
+ playerIds?: string[];
1142
+ players?: Json;
1143
+ promoter?: string | null;
1144
+ relEvents?: string[];
1145
+ repeat?: Json | null;
1146
+ repertory?: Json;
1147
+ repertoryIds?: string[];
1148
+ responseDeadline?: Json;
1149
+ responseDeadlineAt?: string;
1150
+ rollCalledAt?: string | null;
1151
+ rollCalledBy?: string | null;
1152
+ rollCallHistory?: Json[];
1153
+ rollCallReminderAt?: string | null;
1154
+ selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
1155
+ selectionModeClosedAt?: string | null;
1156
+ shortDynamicLink?: string | null;
1157
+ sites?: boolean;
1158
+ stage?: Json | null;
1159
+ stageTemplateId?: string | null;
1160
+ templateId?: string | null;
1161
+ timezone?: string;
1162
+ type?: Database['public']['Enums']['event_type'];
1163
+ updatedAt?: string;
1164
+ videoURL?: string | null;
1165
+ };
1166
+ Relationships: [
1167
+ {
1168
+ foreignKeyName: 'event_promoter_group_id_fkey';
1169
+ columns: ['promoter'];
1170
+ isOneToOne: false;
1171
+ referencedRelation: 'group';
1172
+ referencedColumns: ['id'];
1173
+ },
1174
+ ];
1175
+ };
1176
+ event_history: {
1177
+ Row: {
1178
+ action: string;
1179
+ created_at: string;
1180
+ event_id: string;
1181
+ group_id: string;
1182
+ id: number;
1183
+ prev_value: Json | null;
1184
+ user_id: string;
1185
+ value: Json | null;
1186
+ };
1187
+ Insert: {
1188
+ action: string;
1189
+ created_at: string;
1190
+ event_id: string;
1191
+ group_id: string;
1192
+ id?: number;
1193
+ prev_value?: Json | null;
1194
+ user_id: string;
1195
+ value?: Json | null;
1196
+ };
1197
+ Update: {
1198
+ action?: string;
1199
+ created_at?: string;
1200
+ event_id?: string;
1201
+ group_id?: string;
1202
+ id?: number;
1203
+ prev_value?: Json | null;
1204
+ user_id?: string;
1205
+ value?: Json | null;
1206
+ };
1207
+ Relationships: [];
1208
+ };
1209
+ group: {
1210
+ Row: {
1211
+ activeInvitationLink: boolean;
1212
+ addresses: Json[];
1213
+ administrators: string[];
1214
+ config: Json;
1215
+ configSites: Json;
1216
+ country: string;
1217
+ createdAt: string;
1218
+ createdOn: Database['public']['Enums']['created_on'];
1219
+ customerDisplayName: string | null;
1220
+ customerId: string | null;
1221
+ deletedAt: string | null;
1222
+ deletedBy: string | null;
1223
+ description: string | null;
1224
+ displayName: string;
1225
+ id: string;
1226
+ instruments: Json;
1227
+ intercomId: string | null;
1228
+ invitationEmails: string[];
1229
+ invitationLink: string | null;
1230
+ locality: string;
1231
+ location: unknown;
1232
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
1233
+ metadata: Json;
1234
+ musicStyle: string;
1235
+ onboardingMessages: Json[];
1236
+ owner: string | null;
1237
+ partnershipId: string | null;
1238
+ photoURL: string;
1239
+ planId: Database['public']['Enums']['group_plan'];
1240
+ playerIds: string[];
1241
+ players: Json;
1242
+ repertoireTags: Json;
1243
+ rollcallLink: string | null;
1244
+ satisfactionIndex: Json;
1245
+ shortDynamicLink: string | null;
1246
+ socialNetworks: Json | null;
1247
+ status: Database['public']['Enums']['group_status'];
1248
+ subscriptionId: string | null;
1249
+ templates: Json;
1250
+ trialEndAt: string | null;
1251
+ updatedAt: string;
1252
+ username: string;
1253
+ visitedDashboardAt: Json;
1254
+ };
1255
+ Insert: {
1256
+ activeInvitationLink: boolean;
1257
+ addresses: Json[];
1258
+ administrators: string[];
1259
+ config: Json;
1260
+ configSites?: Json;
1261
+ country: string;
1262
+ createdAt?: string;
1263
+ createdOn: Database['public']['Enums']['created_on'];
1264
+ customerDisplayName?: string | null;
1265
+ customerId?: string | null;
1266
+ deletedAt?: string | null;
1267
+ deletedBy?: string | null;
1268
+ description?: string | null;
1269
+ displayName: string;
1270
+ id: string;
1271
+ instruments: Json;
1272
+ intercomId?: string | null;
1273
+ invitationEmails: string[];
1274
+ invitationLink?: string | null;
1275
+ locality: string;
1276
+ location: unknown;
1277
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
1278
+ metadata: Json;
1279
+ musicStyle: string;
1280
+ onboardingMessages: Json[];
1281
+ owner?: string | null;
1282
+ partnershipId?: string | null;
1283
+ photoURL: string;
1284
+ planId: Database['public']['Enums']['group_plan'];
1285
+ playerIds: string[];
1286
+ players: Json;
1287
+ repertoireTags: Json;
1288
+ rollcallLink?: string | null;
1289
+ satisfactionIndex: Json;
1290
+ shortDynamicLink?: string | null;
1291
+ socialNetworks?: Json | null;
1292
+ status: Database['public']['Enums']['group_status'];
1293
+ subscriptionId?: string | null;
1294
+ templates: Json;
1295
+ trialEndAt?: string | null;
1296
+ updatedAt?: string;
1297
+ username: string;
1298
+ visitedDashboardAt: Json;
1299
+ };
1300
+ Update: {
1301
+ activeInvitationLink?: boolean;
1302
+ addresses?: Json[];
1303
+ administrators?: string[];
1304
+ config?: Json;
1305
+ configSites?: Json;
1306
+ country?: string;
1307
+ createdAt?: string;
1308
+ createdOn?: Database['public']['Enums']['created_on'];
1309
+ customerDisplayName?: string | null;
1310
+ customerId?: string | null;
1311
+ deletedAt?: string | null;
1312
+ deletedBy?: string | null;
1313
+ description?: string | null;
1314
+ displayName?: string;
1315
+ id?: string;
1316
+ instruments?: Json;
1317
+ intercomId?: string | null;
1318
+ invitationEmails?: string[];
1319
+ invitationLink?: string | null;
1320
+ locality?: string;
1321
+ location?: unknown;
1322
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
1323
+ metadata?: Json;
1324
+ musicStyle?: string;
1325
+ onboardingMessages?: Json[];
1326
+ owner?: string | null;
1327
+ partnershipId?: string | null;
1328
+ photoURL?: string;
1329
+ planId?: Database['public']['Enums']['group_plan'];
1330
+ playerIds?: string[];
1331
+ players?: Json;
1332
+ repertoireTags?: Json;
1333
+ rollcallLink?: string | null;
1334
+ satisfactionIndex?: Json;
1335
+ shortDynamicLink?: string | null;
1336
+ socialNetworks?: Json | null;
1337
+ status?: Database['public']['Enums']['group_status'];
1338
+ subscriptionId?: string | null;
1339
+ templates?: Json;
1340
+ trialEndAt?: string | null;
1341
+ updatedAt?: string;
1342
+ username?: string;
1343
+ visitedDashboardAt?: Json;
1344
+ };
1345
+ Relationships: [];
1346
+ };
1347
+ group_history: {
1348
+ Row: {
1349
+ action: string;
1350
+ created_at: string;
1351
+ group_id: string;
1352
+ id: number;
1353
+ prev_value: Json | null;
1354
+ user_id: string;
1355
+ value: Json | null;
1356
+ };
1357
+ Insert: {
1358
+ action: string;
1359
+ created_at: string;
1360
+ group_id: string;
1361
+ id?: number;
1362
+ prev_value?: Json | null;
1363
+ user_id: string;
1364
+ value?: Json | null;
1365
+ };
1366
+ Update: {
1367
+ action?: string;
1368
+ created_at?: string;
1369
+ group_id?: string;
1370
+ id?: number;
1371
+ prev_value?: Json | null;
1372
+ user_id?: string;
1373
+ value?: Json | null;
1374
+ };
1375
+ Relationships: [];
1376
+ };
1377
+ group_payment: {
1378
+ Row: {
1379
+ appliedRules: Json;
1380
+ assignedTo: string;
1381
+ baseAmount: number | null;
1382
+ concept: string;
1383
+ conceptNorm: string | null;
1384
+ createdAt: string;
1385
+ createdBy: string;
1386
+ currency: string;
1387
+ editedBy: string | null;
1388
+ eventId: string | null;
1389
+ groupId: string;
1390
+ id: string;
1391
+ note: string | null;
1392
+ paidAt: string | null;
1393
+ paidBy: string | null;
1394
+ paymentMethod: Database['public']['Enums']['group_payment_method'] | null;
1395
+ playerId: string | null;
1396
+ status: Database['public']['Enums']['group_payment_status'];
1397
+ totalAmount: number | null;
1398
+ type: Database['public']['Enums']['group_payment_type'];
1399
+ updatedAt: string;
1400
+ };
1401
+ Insert: {
1402
+ appliedRules?: Json;
1403
+ assignedTo: string;
1404
+ baseAmount?: number | null;
1405
+ concept: string;
1406
+ conceptNorm?: string | null;
1407
+ createdAt?: string;
1408
+ createdBy: string;
1409
+ currency?: string;
1410
+ editedBy?: string | null;
1411
+ eventId?: string | null;
1412
+ groupId: string;
1413
+ id?: string;
1414
+ note?: string | null;
1415
+ paidAt?: string | null;
1416
+ paidBy?: string | null;
1417
+ paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
1418
+ playerId?: string | null;
1419
+ status: Database['public']['Enums']['group_payment_status'];
1420
+ totalAmount?: number | null;
1421
+ type: Database['public']['Enums']['group_payment_type'];
1422
+ updatedAt?: string;
1423
+ };
1424
+ Update: {
1425
+ appliedRules?: Json;
1426
+ assignedTo?: string;
1427
+ baseAmount?: number | null;
1428
+ concept?: string;
1429
+ conceptNorm?: string | null;
1430
+ createdAt?: string;
1431
+ createdBy?: string;
1432
+ currency?: string;
1433
+ editedBy?: string | null;
1434
+ eventId?: string | null;
1435
+ groupId?: string;
1436
+ id?: string;
1437
+ note?: string | null;
1438
+ paidAt?: string | null;
1439
+ paidBy?: string | null;
1440
+ paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
1441
+ playerId?: string | null;
1442
+ status?: Database['public']['Enums']['group_payment_status'];
1443
+ totalAmount?: number | null;
1444
+ type?: Database['public']['Enums']['group_payment_type'];
1445
+ updatedAt?: string;
1446
+ };
1447
+ Relationships: [];
1448
+ };
1449
+ group_payment_history: {
1450
+ Row: {
1451
+ action: Database['public']['Enums']['group_payment_history_action'];
1452
+ changed_at: string;
1453
+ changed_by: string;
1454
+ id: string;
1455
+ new_value: string | null;
1456
+ old_value: string | null;
1457
+ payment_id: string;
1458
+ };
1459
+ Insert: {
1460
+ action: Database['public']['Enums']['group_payment_history_action'];
1461
+ changed_at?: string;
1462
+ changed_by: string;
1463
+ id?: string;
1464
+ new_value?: string | null;
1465
+ old_value?: string | null;
1466
+ payment_id: string;
1467
+ };
1468
+ Update: {
1469
+ action?: Database['public']['Enums']['group_payment_history_action'];
1470
+ changed_at?: string;
1471
+ changed_by?: string;
1472
+ id?: string;
1473
+ new_value?: string | null;
1474
+ old_value?: string | null;
1475
+ payment_id?: string;
1476
+ };
1477
+ Relationships: [
1478
+ {
1479
+ foreignKeyName: 'group_payment_history_payment_id_fkey';
1480
+ columns: ['payment_id'];
1481
+ isOneToOne: false;
1482
+ referencedRelation: 'group_payment';
1483
+ referencedColumns: ['id'];
1484
+ },
1485
+ ];
1486
+ };
1487
+ offer: {
1488
+ Row: {
1489
+ applicants: Json;
1490
+ applicantsIds: string[];
1491
+ country: string;
1492
+ createdAt: string;
1493
+ createdBy: string;
1494
+ createdOn: Database['public']['Enums']['created_on'];
1495
+ deadlineAt: string | null;
1496
+ deletedAt: string | null;
1497
+ deletedBy: string | null;
1498
+ description: string;
1499
+ eventId: string | null;
1500
+ groupId: string;
1501
+ groupInfo: Json;
1502
+ id: string;
1503
+ instrument: string;
1504
+ locality: string;
1505
+ location: unknown;
1506
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
1507
+ selectionClosedAt: string | null;
1508
+ selectionClosedBy: string | null;
1509
+ timezone: string;
1510
+ title: string;
1511
+ type: Database['public']['Enums']['offer_type'];
1512
+ updatedAt: string;
1513
+ updatedBy: string;
1514
+ };
1515
+ Insert: {
1516
+ applicants: Json;
1517
+ applicantsIds: string[];
1518
+ country: string;
1519
+ createdAt: string;
1520
+ createdBy: string;
1521
+ createdOn: Database['public']['Enums']['created_on'];
1522
+ deadlineAt?: string | null;
1523
+ deletedAt?: string | null;
1524
+ deletedBy?: string | null;
1525
+ description: string;
1526
+ eventId?: string | null;
1527
+ groupId: string;
1528
+ groupInfo?: Json;
1529
+ id: string;
1530
+ instrument: string;
1531
+ locality: string;
1532
+ location: unknown;
1533
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
1534
+ selectionClosedAt?: string | null;
1535
+ selectionClosedBy?: string | null;
1536
+ timezone: string;
1537
+ title: string;
1538
+ type: Database['public']['Enums']['offer_type'];
1539
+ updatedAt: string;
1540
+ updatedBy: string;
1541
+ };
1542
+ Update: {
1543
+ applicants?: Json;
1544
+ applicantsIds?: string[];
1545
+ country?: string;
1546
+ createdAt?: string;
1547
+ createdBy?: string;
1548
+ createdOn?: Database['public']['Enums']['created_on'];
1549
+ deadlineAt?: string | null;
1550
+ deletedAt?: string | null;
1551
+ deletedBy?: string | null;
1552
+ description?: string;
1553
+ eventId?: string | null;
1554
+ groupId?: string;
1555
+ groupInfo?: Json;
1556
+ id?: string;
1557
+ instrument?: string;
1558
+ locality?: string;
1559
+ location?: unknown;
1560
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
1561
+ selectionClosedAt?: string | null;
1562
+ selectionClosedBy?: string | null;
1563
+ timezone?: string;
1564
+ title?: string;
1565
+ type?: Database['public']['Enums']['offer_type'];
1566
+ updatedAt?: string;
1567
+ updatedBy?: string;
1568
+ };
1569
+ Relationships: [
1570
+ {
1571
+ foreignKeyName: 'public_offer_eventId_fkey';
1572
+ columns: ['eventId'];
1573
+ isOneToOne: false;
1574
+ referencedRelation: 'event';
1575
+ referencedColumns: ['id'];
1576
+ },
1577
+ {
1578
+ foreignKeyName: 'public_offer_groupId_fkey';
1579
+ columns: ['groupId'];
1580
+ isOneToOne: false;
1581
+ referencedRelation: 'group';
1582
+ referencedColumns: ['id'];
1583
+ },
1584
+ ];
1585
+ };
1586
+ offer_history: {
1587
+ Row: {
1588
+ action: string;
1589
+ created_at: string;
1590
+ group_id: string;
1591
+ id: number;
1592
+ offer_id: string;
1593
+ prev_value: Json | null;
1594
+ user_id: string;
1595
+ value: Json | null;
1596
+ };
1597
+ Insert: {
1598
+ action: string;
1599
+ created_at: string;
1600
+ group_id: string;
1601
+ id?: number;
1602
+ offer_id: string;
1603
+ prev_value?: Json | null;
1604
+ user_id: string;
1605
+ value?: Json | null;
1606
+ };
1607
+ Update: {
1608
+ action?: string;
1609
+ created_at?: string;
1610
+ group_id?: string;
1611
+ id?: number;
1612
+ offer_id?: string;
1613
+ prev_value?: Json | null;
1614
+ user_id?: string;
1615
+ value?: Json | null;
1616
+ };
1617
+ Relationships: [];
1618
+ };
1619
+ partnership_communication: {
1620
+ Row: {
1621
+ attachments: Json;
1622
+ createdAt: string;
1623
+ deletedAt: string | null;
1624
+ id: string;
1625
+ imagesPath: string[];
1626
+ imageURL: string | null;
1627
+ message: Json;
1628
+ messageHtml: string;
1629
+ ownerId: string;
1630
+ ownerName: string;
1631
+ partnershipId: string;
1632
+ recipients: string[];
1633
+ recipientsCount: number;
1634
+ scheduledAt: string | null;
1635
+ status: Database['public']['Enums']['partnership_communication_status'];
1636
+ title: string;
1637
+ };
1638
+ Insert: {
1639
+ attachments?: Json;
1640
+ createdAt?: string;
1641
+ deletedAt?: string | null;
1642
+ id?: string;
1643
+ imagesPath?: string[];
1644
+ imageURL?: string | null;
1645
+ message?: Json;
1646
+ messageHtml?: string;
1647
+ ownerId: string;
1648
+ ownerName: string;
1649
+ partnershipId: string;
1650
+ recipients?: string[];
1651
+ recipientsCount?: number;
1652
+ scheduledAt?: string | null;
1653
+ status: Database['public']['Enums']['partnership_communication_status'];
1654
+ title: string;
1655
+ };
1656
+ Update: {
1657
+ attachments?: Json;
1658
+ createdAt?: string;
1659
+ deletedAt?: string | null;
1660
+ id?: string;
1661
+ imagesPath?: string[];
1662
+ imageURL?: string | null;
1663
+ message?: Json;
1664
+ messageHtml?: string;
1665
+ ownerId?: string;
1666
+ ownerName?: string;
1667
+ partnershipId?: string;
1668
+ recipients?: string[];
1669
+ recipientsCount?: number;
1670
+ scheduledAt?: string | null;
1671
+ status?: Database['public']['Enums']['partnership_communication_status'];
1672
+ title?: string;
1673
+ };
1674
+ Relationships: [];
1675
+ };
1676
+ partnership_group: {
1677
+ Row: {
1678
+ groupId: string;
1679
+ linkedAt: string;
1680
+ linkedBy: string | null;
1681
+ partnershipId: string;
1682
+ };
1683
+ Insert: {
1684
+ groupId: string;
1685
+ linkedAt?: string;
1686
+ linkedBy?: string | null;
1687
+ partnershipId: string;
1688
+ };
1689
+ Update: {
1690
+ groupId?: string;
1691
+ linkedAt?: string;
1692
+ linkedBy?: string | null;
1693
+ partnershipId?: string;
1694
+ };
1695
+ Relationships: [
1696
+ {
1697
+ foreignKeyName: 'partnership_group_group_id_fkey';
1698
+ columns: ['groupId'];
1699
+ isOneToOne: false;
1700
+ referencedRelation: 'group';
1701
+ referencedColumns: ['id'];
1702
+ },
1703
+ ];
1704
+ };
1705
+ partnership_partner: {
1706
+ Row: {
1707
+ acceptedAt: string | null;
1708
+ acceptedBy: string | null;
1709
+ acceptsCommunications: boolean;
1710
+ address: Json | null;
1711
+ birthDate: string | null;
1712
+ createdAt: string;
1713
+ createdBy: string;
1714
+ customFields: Json;
1715
+ deletedAt: string | null;
1716
+ deletedBy: string | null;
1717
+ editedBy: string | null;
1718
+ email: string | null;
1719
+ groupIds: string[];
1720
+ id: string;
1721
+ lastname: string;
1722
+ name: string;
1723
+ NIF: string | null;
1724
+ partnerNumber: number;
1725
+ partnershipId: string;
1726
+ payerId: string | null;
1727
+ paymentMethod: Database['public']['Enums']['partnership_payment_method'] | null;
1728
+ phone: string | null;
1729
+ photoURL: string;
1730
+ sepaMandate: Json | null;
1731
+ status: Database['public']['Enums']['partnership_partner_status'];
1732
+ subscriptionIds: string[];
1733
+ subscriptions: Json;
1734
+ tagIds: string[];
1735
+ updatedAt: string;
1736
+ userId: string | null;
1737
+ };
1738
+ Insert: {
1739
+ acceptedAt?: string | null;
1740
+ acceptedBy?: string | null;
1741
+ acceptsCommunications?: boolean;
1742
+ address?: Json | null;
1743
+ birthDate?: string | null;
1744
+ createdAt?: string;
1745
+ createdBy: string;
1746
+ customFields?: Json;
1747
+ deletedAt?: string | null;
1748
+ deletedBy?: string | null;
1749
+ editedBy?: string | null;
1750
+ email?: string | null;
1751
+ groupIds?: string[];
1752
+ id?: string;
1753
+ lastname?: string;
1754
+ name: string;
1755
+ NIF?: string | null;
1756
+ partnerNumber: number;
1757
+ partnershipId: string;
1758
+ payerId?: string | null;
1759
+ paymentMethod?:
1760
+ | Database['public']['Enums']['partnership_payment_method']
1761
+ | null;
1762
+ phone?: string | null;
1763
+ photoURL?: string;
1764
+ sepaMandate?: Json | null;
1765
+ status?: Database['public']['Enums']['partnership_partner_status'];
1766
+ subscriptionIds?: string[];
1767
+ subscriptions?: Json;
1768
+ tagIds?: string[];
1769
+ updatedAt?: string;
1770
+ userId?: string | null;
1771
+ };
1772
+ Update: {
1773
+ acceptedAt?: string | null;
1774
+ acceptedBy?: string | null;
1775
+ acceptsCommunications?: boolean;
1776
+ address?: Json | null;
1777
+ birthDate?: string | null;
1778
+ createdAt?: string;
1779
+ createdBy?: string;
1780
+ customFields?: Json;
1781
+ deletedAt?: string | null;
1782
+ deletedBy?: string | null;
1783
+ editedBy?: string | null;
1784
+ email?: string | null;
1785
+ groupIds?: string[];
1786
+ id?: string;
1787
+ lastname?: string;
1788
+ name?: string;
1789
+ NIF?: string | null;
1790
+ partnerNumber?: number;
1791
+ partnershipId?: string;
1792
+ payerId?: string | null;
1793
+ paymentMethod?:
1794
+ | Database['public']['Enums']['partnership_payment_method']
1795
+ | null;
1796
+ phone?: string | null;
1797
+ photoURL?: string;
1798
+ sepaMandate?: Json | null;
1799
+ status?: Database['public']['Enums']['partnership_partner_status'];
1800
+ subscriptionIds?: string[];
1801
+ subscriptions?: Json;
1802
+ tagIds?: string[];
1803
+ updatedAt?: string;
1804
+ userId?: string | null;
1805
+ };
1806
+ Relationships: [
1807
+ {
1808
+ foreignKeyName: 'partnership_partner_payer_id_fkey';
1809
+ columns: ['payerId'];
1810
+ isOneToOne: false;
1811
+ referencedRelation: 'partnership_partner';
1812
+ referencedColumns: ['id'];
1813
+ },
1814
+ ];
1815
+ };
1816
+ partnership_payment: {
1817
+ Row: {
1818
+ amount: number;
1819
+ createdAt: string;
1820
+ createdBy: string | null;
1821
+ dueDate: string;
1822
+ editedBy: string | null;
1823
+ id: string;
1824
+ partnerId: string;
1825
+ partnershipId: string;
1826
+ payerId: string | null;
1827
+ paymentMethod: Database['public']['Enums']['partnership_payment_method'] | null;
1828
+ receiptFilePath: string | null;
1829
+ sepaEndToEndId: string | null;
1830
+ sepaPaymentGroupId: string | null;
1831
+ status: Database['public']['Enums']['partnership_payment_status'];
1832
+ subscriptionId: string | null;
1833
+ title: string;
1834
+ updatedAt: string;
1835
+ };
1836
+ Insert: {
1837
+ amount: number;
1838
+ createdAt?: string;
1839
+ createdBy?: string | null;
1840
+ dueDate: string;
1841
+ editedBy?: string | null;
1842
+ id?: string;
1843
+ partnerId: string;
1844
+ partnershipId: string;
1845
+ payerId?: string | null;
1846
+ paymentMethod?:
1847
+ | Database['public']['Enums']['partnership_payment_method']
1848
+ | null;
1849
+ receiptFilePath?: string | null;
1850
+ sepaEndToEndId?: string | null;
1851
+ sepaPaymentGroupId?: string | null;
1852
+ status?: Database['public']['Enums']['partnership_payment_status'];
1853
+ subscriptionId?: string | null;
1854
+ title: string;
1855
+ updatedAt?: string;
1856
+ };
1857
+ Update: {
1858
+ amount?: number;
1859
+ createdAt?: string;
1860
+ createdBy?: string | null;
1861
+ dueDate?: string;
1862
+ editedBy?: string | null;
1863
+ id?: string;
1864
+ partnerId?: string;
1865
+ partnershipId?: string;
1866
+ payerId?: string | null;
1867
+ paymentMethod?:
1868
+ | Database['public']['Enums']['partnership_payment_method']
1869
+ | null;
1870
+ receiptFilePath?: string | null;
1871
+ sepaEndToEndId?: string | null;
1872
+ sepaPaymentGroupId?: string | null;
1873
+ status?: Database['public']['Enums']['partnership_payment_status'];
1874
+ subscriptionId?: string | null;
1875
+ title?: string;
1876
+ updatedAt?: string;
1877
+ };
1878
+ Relationships: [
1879
+ {
1880
+ foreignKeyName: 'partnership_payment_payer_id_fkey';
1881
+ columns: ['payerId'];
1882
+ isOneToOne: false;
1883
+ referencedRelation: 'partnership_partner';
1884
+ referencedColumns: ['id'];
1885
+ },
1886
+ {
1887
+ foreignKeyName: 'partnership_payment_sepa_group_id_fkey';
1888
+ columns: ['sepaPaymentGroupId'];
1889
+ isOneToOne: false;
1890
+ referencedRelation: 'partnership_sepa_payment_group';
1891
+ referencedColumns: ['id'];
1892
+ },
1893
+ {
1894
+ foreignKeyName: 'partnership_payment_subscription_id_fkey';
1895
+ columns: ['subscriptionId'];
1896
+ isOneToOne: false;
1897
+ referencedRelation: 'partnership_subscription';
1898
+ referencedColumns: ['id'];
1899
+ },
1900
+ ];
1901
+ };
1902
+ partnership_payment_history: {
1903
+ Row: {
1904
+ changed_at: string;
1905
+ changed_by: string;
1906
+ id: string;
1907
+ payment_id: string;
1908
+ status: Database['public']['Enums']['partnership_payment_status'];
1909
+ };
1910
+ Insert: {
1911
+ changed_at?: string;
1912
+ changed_by: string;
1913
+ id?: string;
1914
+ payment_id: string;
1915
+ status: Database['public']['Enums']['partnership_payment_status'];
1916
+ };
1917
+ Update: {
1918
+ changed_at?: string;
1919
+ changed_by?: string;
1920
+ id?: string;
1921
+ payment_id?: string;
1922
+ status?: Database['public']['Enums']['partnership_payment_status'];
1923
+ };
1924
+ Relationships: [
1925
+ {
1926
+ foreignKeyName: 'partnership_payment_history_payment_id_fkey';
1927
+ columns: ['payment_id'];
1928
+ isOneToOne: false;
1929
+ referencedRelation: 'partnership_payment';
1930
+ referencedColumns: ['id'];
1931
+ },
1932
+ ];
1933
+ };
1934
+ partnership_plan: {
1935
+ Row: {
1936
+ createdAt: string;
1937
+ createdBy: string;
1938
+ deletedAt: string | null;
1939
+ deletedBy: string | null;
1940
+ description: string;
1941
+ editedBy: string | null;
1942
+ id: string;
1943
+ name: string;
1944
+ partnershipId: string;
1945
+ price: number;
1946
+ schedule: Json;
1947
+ subscriptionsCount: number;
1948
+ updatedAt: string;
1949
+ };
1950
+ Insert: {
1951
+ createdAt?: string;
1952
+ createdBy: string;
1953
+ deletedAt?: string | null;
1954
+ deletedBy?: string | null;
1955
+ description?: string;
1956
+ editedBy?: string | null;
1957
+ id?: string;
1958
+ name: string;
1959
+ partnershipId: string;
1960
+ price: number;
1961
+ schedule: Json;
1962
+ subscriptionsCount?: number;
1963
+ updatedAt?: string;
1964
+ };
1965
+ Update: {
1966
+ createdAt?: string;
1967
+ createdBy?: string;
1968
+ deletedAt?: string | null;
1969
+ deletedBy?: string | null;
1970
+ description?: string;
1971
+ editedBy?: string | null;
1972
+ id?: string;
1973
+ name?: string;
1974
+ partnershipId?: string;
1975
+ price?: number;
1976
+ schedule?: Json;
1977
+ subscriptionsCount?: number;
1978
+ updatedAt?: string;
1979
+ };
1980
+ Relationships: [];
1981
+ };
1982
+ partnership_sepa_payment_group: {
1983
+ Row: {
1984
+ createdAt: string;
1985
+ createdBy: string;
1986
+ creditorInfo: Json;
1987
+ editedBy: string | null;
1988
+ filePath: string | null;
1989
+ id: string;
1990
+ partnershipId: string;
1991
+ paymentsIds: string[];
1992
+ updatedAt: string;
1993
+ };
1994
+ Insert: {
1995
+ createdAt?: string;
1996
+ createdBy: string;
1997
+ creditorInfo: Json;
1998
+ editedBy?: string | null;
1999
+ filePath?: string | null;
2000
+ id?: string;
2001
+ partnershipId: string;
2002
+ paymentsIds?: string[];
2003
+ updatedAt?: string;
2004
+ };
2005
+ Update: {
2006
+ createdAt?: string;
2007
+ createdBy?: string;
2008
+ creditorInfo?: Json;
2009
+ editedBy?: string | null;
2010
+ filePath?: string | null;
2011
+ id?: string;
2012
+ partnershipId?: string;
2013
+ paymentsIds?: string[];
2014
+ updatedAt?: string;
2015
+ };
2016
+ Relationships: [];
2017
+ };
2018
+ partnership_subscription: {
2019
+ Row: {
2020
+ createdAt: string;
2021
+ createdBy: string;
2022
+ deletedAt: string | null;
2023
+ deletedBy: string | null;
2024
+ editedBy: string | null;
2025
+ endDate: string | null;
2026
+ id: string;
2027
+ nextPaymentDate: string | null;
2028
+ partnerId: string;
2029
+ partnerInfo: Json;
2030
+ partnershipId: string;
2031
+ planId: string;
2032
+ planInfo: Json;
2033
+ updatedAt: string;
2034
+ };
2035
+ Insert: {
2036
+ createdAt?: string;
2037
+ createdBy: string;
2038
+ deletedAt?: string | null;
2039
+ deletedBy?: string | null;
2040
+ editedBy?: string | null;
2041
+ endDate?: string | null;
2042
+ id?: string;
2043
+ nextPaymentDate?: string | null;
2044
+ partnerId: string;
2045
+ partnerInfo: Json;
2046
+ partnershipId: string;
2047
+ planId: string;
2048
+ planInfo: Json;
2049
+ updatedAt?: string;
2050
+ };
2051
+ Update: {
2052
+ createdAt?: string;
2053
+ createdBy?: string;
2054
+ deletedAt?: string | null;
2055
+ deletedBy?: string | null;
2056
+ editedBy?: string | null;
2057
+ endDate?: string | null;
2058
+ id?: string;
2059
+ nextPaymentDate?: string | null;
2060
+ partnerId?: string;
2061
+ partnerInfo?: Json;
2062
+ partnershipId?: string;
2063
+ planId?: string;
2064
+ planInfo?: Json;
2065
+ updatedAt?: string;
2066
+ };
2067
+ Relationships: [
2068
+ {
2069
+ foreignKeyName: 'partnership_subscription_plan_id_fkey';
2070
+ columns: ['planId'];
2071
+ isOneToOne: false;
2072
+ referencedRelation: 'partnership_plan';
2073
+ referencedColumns: ['id'];
2074
+ },
2075
+ ];
2076
+ };
2077
+ repertoire: {
2078
+ Row: {
2079
+ compositor: string | null;
2080
+ created_at: string;
2081
+ events: string[];
2082
+ group_id: string;
2083
+ id: string;
2084
+ last_event_datetime: string | null;
2085
+ owner_id: string;
2086
+ source_composition: Json | null;
2087
+ tags: string[];
2088
+ title: string;
2089
+ visibility: string;
2090
+ };
2091
+ Insert: {
2092
+ compositor?: string | null;
2093
+ created_at?: string;
2094
+ events: string[];
2095
+ group_id: string;
2096
+ id: string;
2097
+ last_event_datetime?: string | null;
2098
+ owner_id: string;
2099
+ source_composition?: Json | null;
2100
+ tags: string[];
2101
+ title: string;
2102
+ visibility: string;
2103
+ };
2104
+ Update: {
2105
+ compositor?: string | null;
2106
+ created_at?: string;
2107
+ events?: string[];
2108
+ group_id?: string;
2109
+ id?: string;
2110
+ last_event_datetime?: string | null;
2111
+ owner_id?: string;
2112
+ source_composition?: Json | null;
2113
+ tags?: string[];
2114
+ title?: string;
2115
+ visibility?: string;
2116
+ };
2117
+ Relationships: [];
2118
+ };
2119
+ repertoire_history: {
2120
+ Row: {
2121
+ action: string;
2122
+ created_at: string;
2123
+ group_id: string;
2124
+ id: number;
2125
+ prev_value: Json | null;
2126
+ theme_id: string;
2127
+ user_id: string;
2128
+ value: Json | null;
2129
+ };
2130
+ Insert: {
2131
+ action: string;
2132
+ created_at: string;
2133
+ group_id: string;
2134
+ id?: number;
2135
+ prev_value?: Json | null;
2136
+ theme_id: string;
2137
+ user_id: string;
2138
+ value?: Json | null;
2139
+ };
2140
+ Update: {
2141
+ action?: string;
2142
+ created_at?: string;
2143
+ group_id?: string;
2144
+ id?: number;
2145
+ prev_value?: Json | null;
2146
+ theme_id?: string;
2147
+ user_id?: string;
2148
+ value?: Json | null;
2149
+ };
2150
+ Relationships: [];
2151
+ };
2152
+ user: {
2153
+ Row: {
2154
+ analyticsEnabled: boolean;
2155
+ appConfig: Json;
2156
+ createdAt: string | null;
2157
+ customerIds: string[];
2158
+ dashboardConfig: Json;
2159
+ deletedAt: string | null;
2160
+ description: string | null;
2161
+ devices: Json;
2162
+ displayName: string | null;
2163
+ email: string | null;
2164
+ emailSettings: Json;
2165
+ fakeUser: boolean;
2166
+ federationId: string | null;
2167
+ groupInvites: string[];
2168
+ groups: string[];
2169
+ groupsAdmin: string[];
2170
+ language: string | null;
2171
+ lastAppLoginAt: string | null;
2172
+ lastBiweeklyEmailAt: string | null;
2173
+ lastname: string | null;
2174
+ lastWebLoginAt: string | null;
2175
+ locality: string | null;
2176
+ name: string | null;
2177
+ notificationSettings: Json;
2178
+ partnershipIds: string[];
2179
+ photoURL: string | null;
2180
+ rawData: Json;
2181
+ role: string | null;
2182
+ updatedAt: string;
2183
+ userId: string;
2184
+ username: string | null;
2185
+ whatsNew: Json;
2186
+ };
2187
+ Insert: {
2188
+ analyticsEnabled?: boolean;
2189
+ appConfig?: Json;
2190
+ createdAt?: string | null;
2191
+ customerIds?: string[];
2192
+ dashboardConfig?: Json;
2193
+ deletedAt?: string | null;
2194
+ description?: string | null;
2195
+ devices?: Json;
2196
+ displayName?: string | null;
2197
+ email?: string | null;
2198
+ emailSettings?: Json;
2199
+ fakeUser?: boolean;
2200
+ federationId?: string | null;
2201
+ groupInvites?: string[];
2202
+ groups?: string[];
2203
+ groupsAdmin?: string[];
2204
+ language?: string | null;
2205
+ lastAppLoginAt?: string | null;
2206
+ lastBiweeklyEmailAt?: string | null;
2207
+ lastname?: string | null;
2208
+ lastWebLoginAt?: string | null;
2209
+ locality?: string | null;
2210
+ name?: string | null;
2211
+ notificationSettings?: Json;
2212
+ partnershipIds?: string[];
2213
+ photoURL?: string | null;
2214
+ rawData?: Json;
2215
+ role?: string | null;
2216
+ updatedAt?: string;
2217
+ userId: string;
2218
+ username?: string | null;
2219
+ whatsNew?: Json;
2220
+ };
2221
+ Update: {
2222
+ analyticsEnabled?: boolean;
2223
+ appConfig?: Json;
2224
+ createdAt?: string | null;
2225
+ customerIds?: string[];
2226
+ dashboardConfig?: Json;
2227
+ deletedAt?: string | null;
2228
+ description?: string | null;
2229
+ devices?: Json;
2230
+ displayName?: string | null;
2231
+ email?: string | null;
2232
+ emailSettings?: Json;
2233
+ fakeUser?: boolean;
2234
+ federationId?: string | null;
2235
+ groupInvites?: string[];
2236
+ groups?: string[];
2237
+ groupsAdmin?: string[];
2238
+ language?: string | null;
2239
+ lastAppLoginAt?: string | null;
2240
+ lastBiweeklyEmailAt?: string | null;
2241
+ lastname?: string | null;
2242
+ lastWebLoginAt?: string | null;
2243
+ locality?: string | null;
2244
+ name?: string | null;
2245
+ notificationSettings?: Json;
2246
+ partnershipIds?: string[];
2247
+ photoURL?: string | null;
2248
+ rawData?: Json;
2249
+ role?: string | null;
2250
+ updatedAt?: string;
2251
+ userId?: string;
2252
+ username?: string | null;
2253
+ whatsNew?: Json;
2254
+ };
2255
+ Relationships: [];
2256
+ };
2257
+ userGroup: {
2258
+ Row: {
2259
+ groupId: string;
2260
+ instruments: string[];
2261
+ isAdmin: boolean;
2262
+ joinedAt: string | null;
2263
+ mainInstrument: string | null;
2264
+ permissions: string[];
2265
+ role: string;
2266
+ updatedAt: string;
2267
+ userId: string;
2268
+ };
2269
+ Insert: {
2270
+ groupId: string;
2271
+ instruments?: string[];
2272
+ isAdmin?: boolean;
2273
+ joinedAt?: string | null;
2274
+ mainInstrument?: string | null;
2275
+ permissions?: string[];
2276
+ role: string;
2277
+ updatedAt?: string;
2278
+ userId: string;
2279
+ };
2280
+ Update: {
2281
+ groupId?: string;
2282
+ instruments?: string[];
2283
+ isAdmin?: boolean;
2284
+ joinedAt?: string | null;
2285
+ mainInstrument?: string | null;
2286
+ permissions?: string[];
2287
+ role?: string;
2288
+ updatedAt?: string;
2289
+ userId?: string;
2290
+ };
2291
+ Relationships: [];
2292
+ };
2293
+ };
2294
+ Views: {
2295
+ comm_historyModel: {
2296
+ Row: {
2297
+ action: string | null;
2298
+ comm_id: string | null;
2299
+ created_at: string | null;
2300
+ group_id: string | null;
2301
+ id: number | null;
2302
+ prev_value: Json | null;
2303
+ user_id: string | null;
2304
+ value: Json | null;
2305
+ };
2306
+ Insert: {
2307
+ action?: string | null;
2308
+ comm_id?: string | null;
2309
+ created_at?: string | null;
2310
+ group_id?: string | null;
2311
+ id?: number | null;
2312
+ prev_value?: Json | null;
2313
+ user_id?: string | null;
2314
+ value?: Json | null;
2315
+ };
2316
+ Update: {
2317
+ action?: string | null;
2318
+ comm_id?: string | null;
2319
+ created_at?: string | null;
2320
+ group_id?: string | null;
2321
+ id?: number | null;
2322
+ prev_value?: Json | null;
2323
+ user_id?: string | null;
2324
+ value?: Json | null;
2325
+ };
2326
+ Relationships: [];
2327
+ };
2328
+ commModel: {
2329
+ Row: {
2330
+ block_answers: boolean | null;
2331
+ comments_count: number | null;
2332
+ created_at: string | null;
2333
+ deleted_at: string | null;
2334
+ deleted_by: string | null;
2335
+ edited_at: string | null;
2336
+ edited_by: string | null;
2337
+ group_id: string | null;
2338
+ id: string | null;
2339
+ owner_id: string | null;
2340
+ recipients: string[] | null;
2341
+ server: boolean | null;
2342
+ server_template: string | null;
2343
+ template_id: string | null;
2344
+ title: string | null;
2345
+ type: string | null;
2346
+ };
2347
+ Insert: {
2348
+ block_answers?: boolean | null;
2349
+ comments_count?: number | null;
2350
+ created_at?: string | null;
2351
+ deleted_at?: string | null;
2352
+ deleted_by?: string | null;
2353
+ edited_at?: string | null;
2354
+ edited_by?: string | null;
2355
+ group_id?: string | null;
2356
+ id?: string | null;
2357
+ owner_id?: string | null;
2358
+ recipients?: string[] | null;
2359
+ server?: boolean | null;
2360
+ server_template?: string | null;
2361
+ template_id?: string | null;
2362
+ title?: string | null;
2363
+ type?: string | null;
2364
+ };
2365
+ Update: {
2366
+ block_answers?: boolean | null;
2367
+ comments_count?: number | null;
2368
+ created_at?: string | null;
2369
+ deleted_at?: string | null;
2370
+ deleted_by?: string | null;
2371
+ edited_at?: string | null;
2372
+ edited_by?: string | null;
2373
+ group_id?: string | null;
2374
+ id?: string | null;
2375
+ owner_id?: string | null;
2376
+ recipients?: string[] | null;
2377
+ server?: boolean | null;
2378
+ server_template?: string | null;
2379
+ template_id?: string | null;
2380
+ title?: string | null;
2381
+ type?: string | null;
2382
+ };
2383
+ Relationships: [];
2384
+ };
2385
+ composerCompositionModel: {
2386
+ Row: {
2387
+ arrangerName: string | null;
2388
+ catalogueNumber: string | null;
2389
+ century: number | null;
2390
+ composerName: string | null;
2391
+ cover: Json | null;
2392
+ createdAt: string | null;
2393
+ deletedAt: string | null;
2394
+ description: Json[] | null;
2395
+ difficulty: number | null;
2396
+ duration: number | null;
2397
+ externalComposerName: string | null;
2398
+ files: Json | null;
2399
+ filesPath: Json | null;
2400
+ genresIds: string[] | null;
2401
+ highlightedParts: Json | null;
2402
+ id: string | null;
2403
+ instrumentationIds: string[] | null;
2404
+ products: Json | null;
2405
+ publisher: string | null;
2406
+ samples: Json | null;
2407
+ stylesIds: string[] | null;
2408
+ subtitle: string | null;
2409
+ title: string | null;
2410
+ updatedAt: string | null;
2411
+ uploaderComposerArtisticName: string | null;
2412
+ uploaderComposerId: string | null;
2413
+ uploaderComposerRole:
2414
+ | Database['public']['Enums']['composerroleincomposition']
2415
+ | null;
2416
+ visibility: boolean | null;
2417
+ year: number | null;
2418
+ };
2419
+ Relationships: [
2420
+ {
2421
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
2422
+ columns: ['uploaderComposerId'];
2423
+ isOneToOne: false;
2424
+ referencedRelation: 'composer';
2425
+ referencedColumns: ['id'];
2426
+ },
2427
+ {
2428
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
2429
+ columns: ['uploaderComposerId'];
2430
+ isOneToOne: false;
2431
+ referencedRelation: 'composerModel';
2432
+ referencedColumns: ['id'];
2433
+ },
2434
+ {
2435
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
2436
+ columns: ['uploaderComposerId'];
2437
+ isOneToOne: false;
2438
+ referencedRelation: 'composerPublicModel';
2439
+ referencedColumns: ['id'];
2440
+ },
2441
+ ];
2442
+ };
2443
+ composerCompositionPublicModel: {
2444
+ Row: {
2445
+ arrangerName: string | null;
2446
+ catalogueNumber: string | null;
2447
+ century: number | null;
2448
+ composerArtisticName: string | null;
2449
+ composerName: string | null;
2450
+ composerPhotoURL: string | null;
2451
+ compositionDateSortEnd: number | null;
2452
+ compositionDateSortStart: number | null;
2453
+ cover: Json | null;
2454
+ createdAt: string | null;
2455
+ deletedAt: string | null;
2456
+ description: Json[] | null;
2457
+ difficulty: number | null;
2458
+ displayPrice: number | null;
2459
+ duration: number | null;
2460
+ externalComposerName: string | null;
2461
+ files: Json | null;
2462
+ genresIds: string[] | null;
2463
+ highlightedParts: Json | null;
2464
+ id: string | null;
2465
+ instrumentationIds: string[] | null;
2466
+ products: Json | null;
2467
+ publisher: string | null;
2468
+ samples: Json | null;
2469
+ stylesIds: string[] | null;
2470
+ subtitle: string | null;
2471
+ title: string | null;
2472
+ updatedAt: string | null;
2473
+ uploaderComposerArtisticName: string | null;
2474
+ uploaderComposerId: string | null;
2475
+ uploaderComposerRole:
2476
+ | Database['public']['Enums']['composerroleincomposition']
2477
+ | null;
2478
+ visibility: boolean | null;
2479
+ year: number | null;
2480
+ };
2481
+ Relationships: [
2482
+ {
2483
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
2484
+ columns: ['uploaderComposerId'];
2485
+ isOneToOne: false;
2486
+ referencedRelation: 'composer';
2487
+ referencedColumns: ['id'];
2488
+ },
2489
+ {
2490
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
2491
+ columns: ['uploaderComposerId'];
2492
+ isOneToOne: false;
2493
+ referencedRelation: 'composerModel';
2494
+ referencedColumns: ['id'];
2495
+ },
2496
+ {
2497
+ foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
2498
+ columns: ['uploaderComposerId'];
2499
+ isOneToOne: false;
2500
+ referencedRelation: 'composerPublicModel';
2501
+ referencedColumns: ['id'];
2502
+ },
2503
+ ];
2504
+ };
2505
+ composerModel: {
2506
+ Row: {
2507
+ artisticEmail: string | null;
2508
+ artisticName: string | null;
2509
+ country: string | null;
2510
+ createdAt: string | null;
2511
+ currency: string | null;
2512
+ deletedAt: string | null;
2513
+ description: Json[] | null;
2514
+ id: string | null;
2515
+ instruments: Json | null;
2516
+ locality: string | null;
2517
+ location: Database['public']['CompositeTypes']['lonlat'] | null;
2518
+ location_geography: unknown;
2519
+ photoURL: string | null;
2520
+ repertoireTags: Json | null;
2521
+ socialNetworks: Json | null;
2522
+ updatedAt: string | null;
2523
+ userId: string | null;
2524
+ username: string | null;
2525
+ visibility: boolean | null;
2526
+ };
2527
+ Insert: {
2528
+ artisticEmail?: string | null;
2529
+ artisticName?: string | null;
2530
+ country?: string | null;
2531
+ createdAt?: string | null;
2532
+ currency?: string | null;
2533
+ deletedAt?: string | null;
2534
+ description?: Json[] | null;
2535
+ id?: string | null;
2536
+ instruments?: Json | null;
2537
+ locality?: string | null;
2538
+ location?: Database['public']['CompositeTypes']['lonlat'] | null;
2539
+ location_geography?: never;
2540
+ photoURL?: string | null;
2541
+ repertoireTags?: Json | null;
2542
+ socialNetworks?: Json | null;
2543
+ updatedAt?: string | null;
2544
+ userId?: string | null;
2545
+ username?: string | null;
2546
+ visibility?: boolean | null;
2547
+ };
2548
+ Update: {
2549
+ artisticEmail?: string | null;
2550
+ artisticName?: string | null;
2551
+ country?: string | null;
2552
+ createdAt?: string | null;
2553
+ currency?: string | null;
2554
+ deletedAt?: string | null;
2555
+ description?: Json[] | null;
2556
+ id?: string | null;
2557
+ instruments?: Json | null;
2558
+ locality?: string | null;
2559
+ location?: Database['public']['CompositeTypes']['lonlat'] | null;
2560
+ location_geography?: never;
2561
+ photoURL?: string | null;
2562
+ repertoireTags?: Json | null;
2563
+ socialNetworks?: Json | null;
2564
+ updatedAt?: string | null;
2565
+ userId?: string | null;
2566
+ username?: string | null;
2567
+ visibility?: boolean | null;
2568
+ };
2569
+ Relationships: [];
2570
+ };
2571
+ composerOwnedActivityModel: {
2572
+ Row: {
2573
+ activityType: string | null;
2574
+ actorId: string | null;
2575
+ actorName: string | null;
2576
+ actorPhotoURL: string | null;
2577
+ clientName: string | null;
2578
+ compositionId: string | null;
2579
+ compositionTitle: string | null;
2580
+ country: string | null;
2581
+ createdAt: string | null;
2582
+ thumbnailUrl: string | null;
2583
+ };
2584
+ Relationships: [];
2585
+ };
2586
+ composerOwnedAnalyticsTimeSeriesModel: {
2587
+ Row: {
2588
+ acquisitions: number | null;
2589
+ date: string | null;
2590
+ revenue: number | null;
2591
+ views: number | null;
2592
+ };
2593
+ Relationships: [];
2594
+ };
2595
+ composerOwnedBalanceModel: {
2596
+ Row: {
2597
+ availableCents: number | null;
2598
+ composerId: string | null;
2599
+ totalEarnedCents: number | null;
2600
+ totalPaidOutCents: number | null;
2601
+ };
2602
+ Relationships: [];
2603
+ };
2604
+ composerOwnedCompositionMetricsModel: {
2605
+ Row: {
2606
+ acquisitionsCount: number | null;
2607
+ compositionId: string | null;
2608
+ favoritesCount: number | null;
2609
+ groupsTargetedCount: number | null;
2610
+ revenueTotal: number | null;
2611
+ viewsCount: number | null;
2612
+ };
2613
+ Relationships: [];
2614
+ };
2615
+ composerOwnedCompositionProductBreakdownModel: {
2616
+ Row: {
2617
+ acquisitionCount: number | null;
2618
+ compositionId: string | null;
2619
+ productType: string | null;
2620
+ revenue: number | null;
2621
+ };
2622
+ Relationships: [];
2623
+ };
2624
+ composerOwnedGeographyModel: {
2625
+ Row: {
2626
+ acquisitionCount: number | null;
2627
+ country: string | null;
2628
+ revenueTotal: number | null;
2629
+ viewCount: number | null;
2630
+ };
2631
+ Relationships: [];
2632
+ };
2633
+ composerOwnedTransactionModel: {
2634
+ Row: {
2635
+ acquiredByCustomerName: string | null;
2636
+ acquiredByGroupCountry: string | null;
2637
+ acquiredByGroupCountrySnapshot: string | null;
2638
+ acquiredByGroupId: string | null;
2639
+ acquiredByGroupMusicStyle: string | null;
2640
+ acquiredByGroupMusicStyleSnapshot: string | null;
2641
+ acquiredByGroupName: string | null;
2642
+ acquiredByGroupNameSnapshot: string | null;
2643
+ acquiredByGroupPhotoURL: string | null;
2644
+ acquiredByGroupPhotoURLSnapshot: string | null;
2645
+ acquiredByUserId: string | null;
2646
+ acquiredProducts: Json | null;
2647
+ baseCurrency: string | null;
2648
+ baseNetEarningsCents: number | null;
2649
+ basePriceCents: number | null;
2650
+ baseVatCents: number | null;
2651
+ buyerCurrency: string | null;
2652
+ buyerPriceCents: number | null;
2653
+ buyerVatCents: number | null;
2654
+ compositionArrangerName: string | null;
2655
+ compositionComposerName: string | null;
2656
+ compositionCover: Json | null;
2657
+ compositionId: string | null;
2658
+ compositionProducts: Json | null;
2659
+ compositionTitle: string | null;
2660
+ compositionUploaderComposerArtisticName: string | null;
2661
+ created_at: string | null;
2662
+ currency: string | null;
2663
+ customerId: string | null;
2664
+ exchangeRate: number | null;
2665
+ exchangeRateDate: string | null;
2666
+ exchangeRateSource: string | null;
2667
+ id: string | null;
2668
+ netEarningsCents: number | null;
2669
+ priceCents: number | null;
2670
+ refundedAt: string | null;
2671
+ refundedCents: number | null;
2672
+ refundStatus: string | null;
2673
+ stripePaymentIntentId: string | null;
2674
+ stripeRefundId: string | null;
2675
+ stripeSessionId: string | null;
2676
+ updated_at: string | null;
2677
+ vatCents: number | null;
2678
+ };
2679
+ Relationships: [
2680
+ {
2681
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2682
+ columns: ['compositionId'];
2683
+ isOneToOne: false;
2684
+ referencedRelation: 'composerComposition';
2685
+ referencedColumns: ['id'];
2686
+ },
2687
+ {
2688
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2689
+ columns: ['compositionId'];
2690
+ isOneToOne: false;
2691
+ referencedRelation: 'composerCompositionModel';
2692
+ referencedColumns: ['id'];
2693
+ },
2694
+ {
2695
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2696
+ columns: ['compositionId'];
2697
+ isOneToOne: false;
2698
+ referencedRelation: 'composerCompositionPublicModel';
2699
+ referencedColumns: ['id'];
2700
+ },
2701
+ {
2702
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2703
+ columns: ['compositionId'];
2704
+ isOneToOne: false;
2705
+ referencedRelation: 'composerOwnedCompositionMetricsModel';
2706
+ referencedColumns: ['compositionId'];
2707
+ },
2708
+ {
2709
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2710
+ columns: ['compositionId'];
2711
+ isOneToOne: false;
2712
+ referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
2713
+ referencedColumns: ['compositionId'];
2714
+ },
2715
+ ];
2716
+ };
2717
+ composerPublicModel: {
2718
+ Row: {
2719
+ artisticName: string | null;
2720
+ country: string | null;
2721
+ createdAt: string | null;
2722
+ description: Json[] | null;
2723
+ id: string | null;
2724
+ instruments: Json | null;
2725
+ locality: string | null;
2726
+ photoURL: string | null;
2727
+ socialNetworks: Json | null;
2728
+ updatedAt: string | null;
2729
+ username: string | null;
2730
+ visibility: boolean | null;
2731
+ };
2732
+ Insert: {
2733
+ artisticName?: string | null;
2734
+ country?: string | null;
2735
+ createdAt?: string | null;
2736
+ description?: Json[] | null;
2737
+ id?: string | null;
2738
+ instruments?: Json | null;
2739
+ locality?: string | null;
2740
+ photoURL?: string | null;
2741
+ socialNetworks?: Json | null;
2742
+ updatedAt?: string | null;
2743
+ username?: string | null;
2744
+ visibility?: boolean | null;
2745
+ };
2746
+ Update: {
2747
+ artisticName?: string | null;
2748
+ country?: string | null;
2749
+ createdAt?: string | null;
2750
+ description?: Json[] | null;
2751
+ id?: string | null;
2752
+ instruments?: Json | null;
2753
+ locality?: string | null;
2754
+ photoURL?: string | null;
2755
+ socialNetworks?: Json | null;
2756
+ updatedAt?: string | null;
2757
+ username?: string | null;
2758
+ visibility?: boolean | null;
2759
+ };
2760
+ Relationships: [];
2761
+ };
2762
+ compositionAcquisitionModel: {
2763
+ Row: {
2764
+ acquiredByCustomerName: string | null;
2765
+ acquiredByGroupCountry: string | null;
2766
+ acquiredByGroupCountrySnapshot: string | null;
2767
+ acquiredByGroupId: string | null;
2768
+ acquiredByGroupMusicStyle: string | null;
2769
+ acquiredByGroupMusicStyleSnapshot: string | null;
2770
+ acquiredByGroupName: string | null;
2771
+ acquiredByGroupNameSnapshot: string | null;
2772
+ acquiredByGroupPhotoURL: string | null;
2773
+ acquiredByGroupPhotoURLSnapshot: string | null;
2774
+ acquiredByUserId: string | null;
2775
+ acquiredProducts: Json | null;
2776
+ baseCurrency: string | null;
2777
+ baseNetEarningsCents: number | null;
2778
+ basePriceCents: number | null;
2779
+ baseVatCents: number | null;
2780
+ buyerCurrency: string | null;
2781
+ buyerPriceCents: number | null;
2782
+ buyerVatCents: number | null;
2783
+ compositionArrangerName: string | null;
2784
+ compositionComposerName: string | null;
2785
+ compositionCover: Json | null;
2786
+ compositionId: string | null;
2787
+ compositionProducts: Json | null;
2788
+ compositionTitle: string | null;
2789
+ compositionUploaderComposerArtisticName: string | null;
2790
+ created_at: string | null;
2791
+ currency: string | null;
2792
+ customerId: string | null;
2793
+ exchangeRate: number | null;
2794
+ exchangeRateDate: string | null;
2795
+ exchangeRateSource: string | null;
2796
+ id: string | null;
2797
+ netEarningsCents: number | null;
2798
+ priceCents: number | null;
2799
+ refundedAt: string | null;
2800
+ refundedCents: number | null;
2801
+ refundStatus: string | null;
2802
+ stripePaymentIntentId: string | null;
2803
+ stripeRefundId: string | null;
2804
+ stripeSessionId: string | null;
2805
+ updated_at: string | null;
2806
+ vatCents: number | null;
2807
+ };
2808
+ Relationships: [
2809
+ {
2810
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2811
+ columns: ['compositionId'];
2812
+ isOneToOne: false;
2813
+ referencedRelation: 'composerComposition';
2814
+ referencedColumns: ['id'];
2815
+ },
2816
+ {
2817
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2818
+ columns: ['compositionId'];
2819
+ isOneToOne: false;
2820
+ referencedRelation: 'composerCompositionModel';
2821
+ referencedColumns: ['id'];
2822
+ },
2823
+ {
2824
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2825
+ columns: ['compositionId'];
2826
+ isOneToOne: false;
2827
+ referencedRelation: 'composerCompositionPublicModel';
2828
+ referencedColumns: ['id'];
2829
+ },
2830
+ {
2831
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2832
+ columns: ['compositionId'];
2833
+ isOneToOne: false;
2834
+ referencedRelation: 'composerOwnedCompositionMetricsModel';
2835
+ referencedColumns: ['compositionId'];
2836
+ },
2837
+ {
2838
+ foreignKeyName: 'compositionAcquisition_compositionId_fkey';
2839
+ columns: ['compositionId'];
2840
+ isOneToOne: false;
2841
+ referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
2842
+ referencedColumns: ['compositionId'];
2843
+ },
2844
+ ];
2845
+ };
2846
+ compositionFavoriteModel: {
2847
+ Row: {
2848
+ compositionId: string | null;
2849
+ created_at: string | null;
2850
+ groupId: string | null;
2851
+ id: string | null;
2852
+ userId: string | null;
2853
+ };
2854
+ Insert: {
2855
+ compositionId?: string | null;
2856
+ created_at?: string | null;
2857
+ groupId?: string | null;
2858
+ id?: string | null;
2859
+ userId?: string | null;
2860
+ };
2861
+ Update: {
2862
+ compositionId?: string | null;
2863
+ created_at?: string | null;
2864
+ groupId?: string | null;
2865
+ id?: string | null;
2866
+ userId?: string | null;
2867
+ };
2868
+ Relationships: [
2869
+ {
2870
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
2871
+ columns: ['compositionId'];
2872
+ isOneToOne: false;
2873
+ referencedRelation: 'composerComposition';
2874
+ referencedColumns: ['id'];
2875
+ },
2876
+ {
2877
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
2878
+ columns: ['compositionId'];
2879
+ isOneToOne: false;
2880
+ referencedRelation: 'composerCompositionModel';
2881
+ referencedColumns: ['id'];
2882
+ },
2883
+ {
2884
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
2885
+ columns: ['compositionId'];
2886
+ isOneToOne: false;
2887
+ referencedRelation: 'composerCompositionPublicModel';
2888
+ referencedColumns: ['id'];
2889
+ },
2890
+ {
2891
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
2892
+ columns: ['compositionId'];
2893
+ isOneToOne: false;
2894
+ referencedRelation: 'composerOwnedCompositionMetricsModel';
2895
+ referencedColumns: ['compositionId'];
2896
+ },
2897
+ {
2898
+ foreignKeyName: 'compositionFavorite_compositionId_fkey';
2899
+ columns: ['compositionId'];
2900
+ isOneToOne: false;
2901
+ referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
2902
+ referencedColumns: ['compositionId'];
2903
+ },
2904
+ ];
2905
+ };
2906
+ compositionViewModel: {
2907
+ Row: {
2908
+ compositionId: string | null;
2909
+ created_at: string | null;
2910
+ groupId: string | null;
2911
+ id: string | null;
2912
+ };
2913
+ Relationships: [];
2914
+ };
2915
+ event_historyModel: {
2916
+ Row: {
2917
+ action: string | null;
2918
+ created_at: string | null;
2919
+ event_id: string | null;
2920
+ group_id: string | null;
2921
+ id: number | null;
2922
+ prev_value: Json | null;
2923
+ user_id: string | null;
2924
+ value: Json | null;
2925
+ };
2926
+ Insert: {
2927
+ action?: string | null;
2928
+ created_at?: string | null;
2929
+ event_id?: string | null;
2930
+ group_id?: string | null;
2931
+ id?: number | null;
2932
+ prev_value?: Json | null;
2933
+ user_id?: string | null;
2934
+ value?: Json | null;
2935
+ };
2936
+ Update: {
2937
+ action?: string | null;
2938
+ created_at?: string | null;
2939
+ event_id?: string | null;
2940
+ group_id?: string | null;
2941
+ id?: number | null;
2942
+ prev_value?: Json | null;
2943
+ user_id?: string | null;
2944
+ value?: Json | null;
2945
+ };
2946
+ Relationships: [];
2947
+ };
2948
+ group_historyModel: {
2949
+ Row: {
2950
+ action: string | null;
2951
+ created_at: string | null;
2952
+ group_id: string | null;
2953
+ id: number | null;
2954
+ prev_value: Json | null;
2955
+ user_id: string | null;
2956
+ value: Json | null;
2957
+ };
2958
+ Insert: {
2959
+ action?: string | null;
2960
+ created_at?: string | null;
2961
+ group_id?: string | null;
2962
+ id?: number | null;
2963
+ prev_value?: Json | null;
2964
+ user_id?: string | null;
2965
+ value?: Json | null;
2966
+ };
2967
+ Update: {
2968
+ action?: string | null;
2969
+ created_at?: string | null;
2970
+ group_id?: string | null;
2971
+ id?: number | null;
2972
+ prev_value?: Json | null;
2973
+ user_id?: string | null;
2974
+ value?: Json | null;
2975
+ };
2976
+ Relationships: [];
2977
+ };
2978
+ offer_historyModel: {
2979
+ Row: {
2980
+ action: string | null;
2981
+ created_at: string | null;
2982
+ group_id: string | null;
2983
+ id: number | null;
2984
+ offer_id: string | null;
2985
+ prev_value: Json | null;
2986
+ user_id: string | null;
2987
+ value: Json | null;
2988
+ };
2989
+ Insert: {
2990
+ action?: string | null;
2991
+ created_at?: string | null;
2992
+ group_id?: string | null;
2993
+ id?: number | null;
2994
+ offer_id?: string | null;
2995
+ prev_value?: Json | null;
2996
+ user_id?: string | null;
2997
+ value?: Json | null;
2998
+ };
2999
+ Update: {
3000
+ action?: string | null;
3001
+ created_at?: string | null;
3002
+ group_id?: string | null;
3003
+ id?: number | null;
3004
+ offer_id?: string | null;
3005
+ prev_value?: Json | null;
3006
+ user_id?: string | null;
3007
+ value?: Json | null;
3008
+ };
3009
+ Relationships: [];
3010
+ };
3011
+ repertoire_historyModel: {
3012
+ Row: {
3013
+ action: string | null;
3014
+ created_at: string | null;
3015
+ group_id: string | null;
3016
+ id: number | null;
3017
+ prev_value: Json | null;
3018
+ theme_id: string | null;
3019
+ user_id: string | null;
3020
+ value: Json | null;
3021
+ };
3022
+ Insert: {
3023
+ action?: string | null;
3024
+ created_at?: string | null;
3025
+ group_id?: string | null;
3026
+ id?: number | null;
3027
+ prev_value?: Json | null;
3028
+ theme_id?: string | null;
3029
+ user_id?: string | null;
3030
+ value?: Json | null;
3031
+ };
3032
+ Update: {
3033
+ action?: string | null;
3034
+ created_at?: string | null;
3035
+ group_id?: string | null;
3036
+ id?: number | null;
3037
+ prev_value?: Json | null;
3038
+ theme_id?: string | null;
3039
+ user_id?: string | null;
3040
+ value?: Json | null;
3041
+ };
3042
+ Relationships: [];
3043
+ };
3044
+ repertoireModel: {
3045
+ Row: {
3046
+ compositor: string | null;
3047
+ created_at: string | null;
3048
+ events: string[] | null;
3049
+ group_id: string | null;
3050
+ id: string | null;
3051
+ last_event_datetime: string | null;
3052
+ owner_id: string | null;
3053
+ source_composition: Json | null;
3054
+ tags: string[] | null;
3055
+ title: string | null;
3056
+ visibility: string | null;
3057
+ };
3058
+ Insert: {
3059
+ compositor?: string | null;
3060
+ created_at?: string | null;
3061
+ events?: string[] | null;
3062
+ group_id?: string | null;
3063
+ id?: string | null;
3064
+ last_event_datetime?: string | null;
3065
+ owner_id?: string | null;
3066
+ source_composition?: Json | null;
3067
+ tags?: string[] | null;
3068
+ title?: string | null;
3069
+ visibility?: string | null;
3070
+ };
3071
+ Update: {
3072
+ compositor?: string | null;
3073
+ created_at?: string | null;
3074
+ events?: string[] | null;
3075
+ group_id?: string | null;
3076
+ id?: string | null;
3077
+ last_event_datetime?: string | null;
3078
+ owner_id?: string | null;
3079
+ source_composition?: Json | null;
3080
+ tags?: string[] | null;
3081
+ title?: string | null;
3082
+ visibility?: string | null;
3083
+ };
3084
+ Relationships: [];
3085
+ };
3086
+ };
3087
+ Functions: {
3088
+ backfillEventDatetimeEnds: {
3089
+ Args: { p_apply?: boolean; p_events: Json };
3090
+ Returns: {
3091
+ changed: number;
3092
+ matched: number;
3093
+ mismatched: number;
3094
+ }[];
3095
+ };
3096
+ catalogComposerLocationMatches: {
3097
+ Args: {
3098
+ composerId: string;
3099
+ composerLocationCountries?: string[];
3100
+ composerLocationLatitude?: number;
3101
+ composerLocationLongitude?: number;
3102
+ composerLocationRadiusKm?: number;
3103
+ };
3104
+ Returns: boolean;
3105
+ };
3106
+ catalogCompositionBrowse: {
3107
+ Args: {
3108
+ buyerCurrency?: string;
3109
+ composerId?: string;
3110
+ composerLocationCountries?: string[];
3111
+ composerLocationLatitude?: number;
3112
+ composerLocationLongitude?: number;
3113
+ composerLocationRadiusKm?: number;
3114
+ composerNames?: string[];
3115
+ compositionIds?: string[];
3116
+ difficultyMax?: number;
3117
+ difficultyMin?: number;
3118
+ durationMax?: number;
3119
+ durationMin?: number;
3120
+ genresIds?: string[];
3121
+ instrumentationIds?: string[];
3122
+ limitCount?: number;
3123
+ offsetCount?: number;
3124
+ priceMax?: number;
3125
+ priceMin?: number;
3126
+ searchText?: string;
3127
+ soloistExclude?: Json;
3128
+ soloistInclude?: Json;
3129
+ soloistMode?: string;
3130
+ sortBy?: string;
3131
+ sortDir?: string;
3132
+ stylesIds?: string[];
3133
+ };
3134
+ Returns: {
3135
+ arrangerName: string;
3136
+ catalogueNumber: string;
3137
+ century: number;
3138
+ composerArtisticName: string;
3139
+ composerName: string;
3140
+ composerPhotoURL: string;
3141
+ compositionDateSortEnd: number;
3142
+ compositionDateSortStart: number;
3143
+ cover: Json;
3144
+ createdAt: string;
3145
+ deletedAt: string;
3146
+ description: Json[];
3147
+ difficulty: number;
3148
+ displayPrice: number;
3149
+ duration: number;
3150
+ files: Json;
3151
+ genresIds: string[];
3152
+ highlightedParts: Json;
3153
+ id: string;
3154
+ instrumentationIds: string[];
3155
+ products: Json;
3156
+ publisher: string;
3157
+ samples: Json;
3158
+ stylesIds: string[];
3159
+ subtitle: string;
3160
+ title: string;
3161
+ totalCount: number;
3162
+ uploaderComposerArtisticName: string;
3163
+ uploaderComposerId: string;
3164
+ visibility: boolean;
3165
+ year: number;
3166
+ }[];
3167
+ };
3168
+ catalogCompositionFacets:
3169
+ | {
3170
+ Args: never;
3171
+ Returns: {
3172
+ composers: string[];
3173
+ genresIds: string[];
3174
+ highlightedParts: Json;
3175
+ instrumentationIds: string[];
3176
+ maxDuration: number;
3177
+ maxPrice: number;
3178
+ stylesIds: string[];
3179
+ }[];
3180
+ }
3181
+ | {
3182
+ Args: {
3183
+ buyerCurrency?: string;
3184
+ composerLocationCountries?: string[];
3185
+ composerLocationLatitude?: number;
3186
+ composerLocationLongitude?: number;
3187
+ composerLocationRadiusKm?: number;
3188
+ };
3189
+ Returns: {
3190
+ composers: string[];
3191
+ genresIds: string[];
3192
+ highlightedParts: Json;
3193
+ instrumentationIds: string[];
3194
+ maxDuration: number;
3195
+ maxPrice: number;
3196
+ stylesIds: string[];
3197
+ }[];
3198
+ };
3199
+ catalogConvertCurrencyCents: {
3200
+ Args: {
3201
+ amount_cents: number;
3202
+ base_currency: string;
3203
+ target_currency: string;
3204
+ };
3205
+ Returns: number;
3206
+ };
3207
+ catalogConvertProducts: {
3208
+ Args: { products: Json; target_currency: string };
3209
+ Returns: Json;
3210
+ };
3211
+ catalogDisplayPriceForCurrency: {
3212
+ Args: { products: Json; target_currency: string };
3213
+ Returns: number;
3214
+ };
3215
+ catalogRoundCurrencyCents: {
3216
+ Args: { amount_cents: number; currency: string };
3217
+ Returns: number;
3218
+ };
3219
+ clear_composer_performance_attendance: {
3220
+ Args: { p_composer_id: string; p_event_id: string };
3221
+ Returns: undefined;
3222
+ };
3223
+ composerCompositionTimeSeries: {
3224
+ Args: { compositionId: string; endDate?: string; startDate?: string };
3225
+ Returns: {
3226
+ acquisitions: number;
3227
+ date: string;
3228
+ revenue: number;
3229
+ views: number;
3230
+ }[];
3231
+ };
3232
+ compositionAcquisitionActiveProductCount: {
3233
+ Args: { acquiredProducts: Json; refundStatus: string };
3234
+ Returns: number;
3235
+ };
3236
+ compositionAcquisitionEffectiveNetEarningsCents: {
3237
+ Args: {
3238
+ acquiredProducts: Json;
3239
+ netEarningsCents: number;
3240
+ priceCents: number;
3241
+ refundedCents: number;
3242
+ refundStatus: string;
3243
+ };
3244
+ Returns: number;
3245
+ };
3246
+ compositionAcquisitionHasProductRefunds: {
3247
+ Args: { acquiredProducts: Json };
3248
+ Returns: boolean;
3249
+ };
3250
+ current_composer_id: { Args: never; Returns: string };
3251
+ current_firebase_uid: { Args: never; Returns: string };
3252
+ generate_partnership_recurring_payment: {
3253
+ Args: {
3254
+ p_amount: number;
3255
+ p_due_date: string;
3256
+ p_next_payment_date: string;
3257
+ p_partner_id: string;
3258
+ p_partnership_id: string;
3259
+ p_payer_id?: string;
3260
+ p_payment_method: Database['public']['Enums']['partnership_payment_method'];
3261
+ p_subscription_id: string;
3262
+ p_title: string;
3263
+ };
3264
+ Returns: {
3265
+ created: boolean;
3266
+ payment_id: string;
3267
+ }[];
3268
+ };
3269
+ get_composer_analytics: {
3270
+ Args: { composer_id: string; end_date?: string; start_date?: string };
3271
+ Returns: Json;
3272
+ };
3273
+ get_composer_balance: { Args: { composer_id: string }; Returns: Json };
3274
+ get_composer_explore_metrics: {
3275
+ Args: { composer_id: string };
3276
+ Returns: Json;
3277
+ };
3278
+ get_composer_performances: {
3279
+ Args: { composer_id: string };
3280
+ Returns: {
3281
+ attendance: Json;
3282
+ composer_composition_ids: string[];
3283
+ event_datetime: string;
3284
+ event_datetime_end: string;
3285
+ event_id: string;
3286
+ event_locality: string;
3287
+ event_timezone: string;
3288
+ event_title: string;
3289
+ event_type: string;
3290
+ group_customer_name: string;
3291
+ group_display_name: string;
3292
+ group_id: string;
3293
+ group_photo_url: string;
3294
+ group_username: string;
3295
+ repertoire_themes: Json;
3296
+ }[];
3297
+ };
3298
+ getCalendarFeedEvents: {
3299
+ Args: {
3300
+ p_include_pending: boolean;
3301
+ p_include_tentative: boolean;
3302
+ p_range_end: string;
3303
+ p_range_start: string;
3304
+ p_user_id: string;
3305
+ };
3306
+ Returns: {
3307
+ allDay: boolean;
3308
+ description: string;
3309
+ endsAt: string;
3310
+ eventId: string;
3311
+ eventType: string;
3312
+ groupName: string;
3313
+ language: string;
3314
+ lastModified: string;
3315
+ latitude: number;
3316
+ location: string;
3317
+ longitude: number;
3318
+ participationStatus: string;
3319
+ sequence: number;
3320
+ startsAt: string;
3321
+ status: string;
3322
+ summary: string;
3323
+ timezone: string;
3324
+ url: string;
3325
+ }[];
3326
+ };
3327
+ immutable_unaccent: { Args: { '': string }; Returns: string };
3328
+ resolveCalendarFeed: {
3329
+ Args: { p_token_hash: string };
3330
+ Returns: {
3331
+ includePending: boolean;
3332
+ includeTentative: boolean;
3333
+ userId: string;
3334
+ }[];
3335
+ };
3336
+ set_composer_performance_attendance: {
3337
+ Args: {
3338
+ p_companions: number;
3339
+ p_composer_artistic_name: string;
3340
+ p_composer_contact_email: string;
3341
+ p_composer_id: string;
3342
+ p_composer_photo_url: string;
3343
+ p_event_id: string;
3344
+ p_group_id: string;
3345
+ };
3346
+ Returns: undefined;
3347
+ };
3348
+ set_current_composer_repertoire_tag: {
3349
+ Args: { tag: Json; tag_id: string };
3350
+ Returns: Json;
3351
+ };
3352
+ show_limit: { Args: never; Returns: number };
3353
+ show_trgm: { Args: { '': string }; Returns: string[] };
3354
+ unaccent: { Args: { '': string }; Returns: string };
3355
+ };
3356
+ Enums: {
3357
+ composerroleincomposition: 'COMPOSER' | 'ARRANGER';
3358
+ created_on: 'app' | 'dashboard' | 'auth' | 'web';
3359
+ event_selection_mode: 'open' | 'closed';
3360
+ event_type: 'practice' | 'performance' | 'other';
3361
+ group_payment_history_action: 'status' | 'amount' | 'concept' | 'method';
3362
+ group_payment_method: 'cash' | 'transfer';
3363
+ group_payment_status: 'pending' | 'paid' | 'cancelled';
3364
+ group_payment_type: 'income' | 'expense';
3365
+ group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
3366
+ group_plan_period: 'yearly' | 'monthly';
3367
+ group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
3368
+ offer_type: 'group' | 'event';
3369
+ partnership_communication_status: 'sent' | 'scheduled';
3370
+ partnership_partner_status: 'active' | 'pending' | 'inactive';
3371
+ partnership_payment_method: 'CASH' | 'TRANSFER' | 'SEPA' | 'BIZUM';
3372
+ partnership_payment_status: 'pending' | 'charged' | 'returned' | 'canceled';
3373
+ social_network: 'facebook' | 'twitter' | 'instagram' | 'youtube';
3374
+ };
3375
+ CompositeTypes: {
3376
+ lonlat: {
3377
+ longitude: number | null;
3378
+ latitude: number | null;
3379
+ };
3380
+ };
3381
+ };
3382
+ storage: {
3383
+ Tables: {
3384
+ buckets: {
3385
+ Row: {
3386
+ allowed_mime_types: string[] | null;
3387
+ avif_autodetection: boolean | null;
3388
+ created_at: string | null;
3389
+ file_size_limit: number | null;
3390
+ id: string;
3391
+ name: string;
3392
+ owner: string | null;
3393
+ owner_id: string | null;
3394
+ public: boolean | null;
3395
+ type: Database['storage']['Enums']['buckettype'];
3396
+ updated_at: string | null;
3397
+ };
3398
+ Insert: {
3399
+ allowed_mime_types?: string[] | null;
3400
+ avif_autodetection?: boolean | null;
3401
+ created_at?: string | null;
3402
+ file_size_limit?: number | null;
3403
+ id: string;
3404
+ name: string;
3405
+ owner?: string | null;
3406
+ owner_id?: string | null;
3407
+ public?: boolean | null;
3408
+ type?: Database['storage']['Enums']['buckettype'];
3409
+ updated_at?: string | null;
3410
+ };
3411
+ Update: {
3412
+ allowed_mime_types?: string[] | null;
3413
+ avif_autodetection?: boolean | null;
3414
+ created_at?: string | null;
3415
+ file_size_limit?: number | null;
3416
+ id?: string;
3417
+ name?: string;
3418
+ owner?: string | null;
3419
+ owner_id?: string | null;
3420
+ public?: boolean | null;
3421
+ type?: Database['storage']['Enums']['buckettype'];
3422
+ updated_at?: string | null;
3423
+ };
3424
+ Relationships: [];
3425
+ };
3426
+ buckets_analytics: {
3427
+ Row: {
3428
+ created_at: string;
3429
+ deleted_at: string | null;
3430
+ format: string;
3431
+ id: string;
3432
+ name: string;
3433
+ type: Database['storage']['Enums']['buckettype'];
3434
+ updated_at: string;
3435
+ };
3436
+ Insert: {
3437
+ created_at?: string;
3438
+ deleted_at?: string | null;
3439
+ format?: string;
3440
+ id?: string;
3441
+ name: string;
3442
+ type?: Database['storage']['Enums']['buckettype'];
3443
+ updated_at?: string;
3444
+ };
3445
+ Update: {
3446
+ created_at?: string;
3447
+ deleted_at?: string | null;
3448
+ format?: string;
3449
+ id?: string;
3450
+ name?: string;
3451
+ type?: Database['storage']['Enums']['buckettype'];
3452
+ updated_at?: string;
3453
+ };
3454
+ Relationships: [];
3455
+ };
3456
+ buckets_vectors: {
3457
+ Row: {
3458
+ created_at: string;
3459
+ id: string;
3460
+ type: Database['storage']['Enums']['buckettype'];
3461
+ updated_at: string;
3462
+ };
3463
+ Insert: {
3464
+ created_at?: string;
3465
+ id: string;
3466
+ type?: Database['storage']['Enums']['buckettype'];
3467
+ updated_at?: string;
3468
+ };
3469
+ Update: {
3470
+ created_at?: string;
3471
+ id?: string;
3472
+ type?: Database['storage']['Enums']['buckettype'];
3473
+ updated_at?: string;
3474
+ };
3475
+ Relationships: [];
3476
+ };
3477
+ iceberg_namespaces: {
3478
+ Row: {
3479
+ bucket_name: string;
3480
+ catalog_id: string;
3481
+ created_at: string;
3482
+ id: string;
3483
+ metadata: Json;
3484
+ name: string;
3485
+ updated_at: string;
3486
+ };
3487
+ Insert: {
3488
+ bucket_name: string;
3489
+ catalog_id: string;
3490
+ created_at?: string;
3491
+ id?: string;
3492
+ metadata?: Json;
3493
+ name: string;
3494
+ updated_at?: string;
3495
+ };
3496
+ Update: {
3497
+ bucket_name?: string;
3498
+ catalog_id?: string;
3499
+ created_at?: string;
3500
+ id?: string;
3501
+ metadata?: Json;
3502
+ name?: string;
3503
+ updated_at?: string;
3504
+ };
3505
+ Relationships: [
3506
+ {
3507
+ foreignKeyName: 'iceberg_namespaces_catalog_id_fkey';
3508
+ columns: ['catalog_id'];
3509
+ isOneToOne: false;
3510
+ referencedRelation: 'buckets_analytics';
3511
+ referencedColumns: ['id'];
3512
+ },
3513
+ ];
3514
+ };
3515
+ iceberg_tables: {
3516
+ Row: {
3517
+ bucket_name: string;
3518
+ catalog_id: string;
3519
+ created_at: string;
3520
+ id: string;
3521
+ location: string;
3522
+ name: string;
3523
+ namespace_id: string;
3524
+ remote_table_id: string | null;
3525
+ shard_id: string | null;
3526
+ shard_key: string | null;
3527
+ updated_at: string;
3528
+ };
3529
+ Insert: {
3530
+ bucket_name: string;
3531
+ catalog_id: string;
3532
+ created_at?: string;
3533
+ id?: string;
3534
+ location: string;
3535
+ name: string;
3536
+ namespace_id: string;
3537
+ remote_table_id?: string | null;
3538
+ shard_id?: string | null;
3539
+ shard_key?: string | null;
3540
+ updated_at?: string;
3541
+ };
3542
+ Update: {
3543
+ bucket_name?: string;
3544
+ catalog_id?: string;
3545
+ created_at?: string;
3546
+ id?: string;
3547
+ location?: string;
3548
+ name?: string;
3549
+ namespace_id?: string;
3550
+ remote_table_id?: string | null;
3551
+ shard_id?: string | null;
3552
+ shard_key?: string | null;
3553
+ updated_at?: string;
3554
+ };
3555
+ Relationships: [
3556
+ {
3557
+ foreignKeyName: 'iceberg_tables_catalog_id_fkey';
3558
+ columns: ['catalog_id'];
3559
+ isOneToOne: false;
3560
+ referencedRelation: 'buckets_analytics';
3561
+ referencedColumns: ['id'];
3562
+ },
3563
+ {
3564
+ foreignKeyName: 'iceberg_tables_namespace_id_fkey';
3565
+ columns: ['namespace_id'];
3566
+ isOneToOne: false;
3567
+ referencedRelation: 'iceberg_namespaces';
3568
+ referencedColumns: ['id'];
3569
+ },
3570
+ ];
3571
+ };
3572
+ migrations: {
3573
+ Row: {
3574
+ executed_at: string | null;
3575
+ hash: string;
3576
+ id: number;
3577
+ name: string;
3578
+ };
3579
+ Insert: {
3580
+ executed_at?: string | null;
3581
+ hash: string;
3582
+ id: number;
3583
+ name: string;
3584
+ };
3585
+ Update: {
3586
+ executed_at?: string | null;
3587
+ hash?: string;
3588
+ id?: number;
3589
+ name?: string;
3590
+ };
3591
+ Relationships: [];
3592
+ };
3593
+ objects: {
3594
+ Row: {
3595
+ bucket_id: string | null;
3596
+ created_at: string | null;
3597
+ id: string;
3598
+ last_accessed_at: string | null;
3599
+ metadata: Json | null;
3600
+ name: string | null;
3601
+ owner: string | null;
3602
+ owner_id: string | null;
3603
+ path_tokens: string[] | null;
3604
+ updated_at: string | null;
3605
+ user_metadata: Json | null;
3606
+ version: string | null;
3607
+ };
3608
+ Insert: {
3609
+ bucket_id?: string | null;
3610
+ created_at?: string | null;
3611
+ id?: string;
3612
+ last_accessed_at?: string | null;
3613
+ metadata?: Json | null;
3614
+ name?: string | null;
3615
+ owner?: string | null;
3616
+ owner_id?: string | null;
3617
+ path_tokens?: string[] | null;
3618
+ updated_at?: string | null;
3619
+ user_metadata?: Json | null;
3620
+ version?: string | null;
3621
+ };
3622
+ Update: {
3623
+ bucket_id?: string | null;
3624
+ created_at?: string | null;
3625
+ id?: string;
3626
+ last_accessed_at?: string | null;
3627
+ metadata?: Json | null;
3628
+ name?: string | null;
3629
+ owner?: string | null;
3630
+ owner_id?: string | null;
3631
+ path_tokens?: string[] | null;
3632
+ updated_at?: string | null;
3633
+ user_metadata?: Json | null;
3634
+ version?: string | null;
3635
+ };
3636
+ Relationships: [
3637
+ {
3638
+ foreignKeyName: 'objects_bucketId_fkey';
3639
+ columns: ['bucket_id'];
3640
+ isOneToOne: false;
3641
+ referencedRelation: 'buckets';
3642
+ referencedColumns: ['id'];
3643
+ },
3644
+ ];
3645
+ };
3646
+ s3_multipart_uploads: {
3647
+ Row: {
3648
+ bucket_id: string;
3649
+ created_at: string;
3650
+ id: string;
3651
+ in_progress_size: number;
3652
+ key: string;
3653
+ metadata: Json | null;
3654
+ owner_id: string | null;
3655
+ upload_signature: string;
3656
+ user_metadata: Json | null;
3657
+ version: string;
3658
+ };
3659
+ Insert: {
3660
+ bucket_id: string;
3661
+ created_at?: string;
3662
+ id: string;
3663
+ in_progress_size?: number;
3664
+ key: string;
3665
+ metadata?: Json | null;
3666
+ owner_id?: string | null;
3667
+ upload_signature: string;
3668
+ user_metadata?: Json | null;
3669
+ version: string;
3670
+ };
3671
+ Update: {
3672
+ bucket_id?: string;
3673
+ created_at?: string;
3674
+ id?: string;
3675
+ in_progress_size?: number;
3676
+ key?: string;
3677
+ metadata?: Json | null;
3678
+ owner_id?: string | null;
3679
+ upload_signature?: string;
3680
+ user_metadata?: Json | null;
3681
+ version?: string;
3682
+ };
3683
+ Relationships: [
3684
+ {
3685
+ foreignKeyName: 's3_multipart_uploads_bucket_id_fkey';
3686
+ columns: ['bucket_id'];
3687
+ isOneToOne: false;
3688
+ referencedRelation: 'buckets';
3689
+ referencedColumns: ['id'];
3690
+ },
3691
+ ];
3692
+ };
3693
+ s3_multipart_uploads_parts: {
3694
+ Row: {
3695
+ bucket_id: string;
3696
+ created_at: string;
3697
+ etag: string;
3698
+ id: string;
3699
+ key: string;
3700
+ owner_id: string | null;
3701
+ part_number: number;
3702
+ size: number;
3703
+ upload_id: string;
3704
+ version: string;
3705
+ };
3706
+ Insert: {
3707
+ bucket_id: string;
3708
+ created_at?: string;
3709
+ etag: string;
3710
+ id?: string;
3711
+ key: string;
3712
+ owner_id?: string | null;
3713
+ part_number: number;
3714
+ size?: number;
3715
+ upload_id: string;
3716
+ version: string;
3717
+ };
3718
+ Update: {
3719
+ bucket_id?: string;
3720
+ created_at?: string;
3721
+ etag?: string;
3722
+ id?: string;
3723
+ key?: string;
3724
+ owner_id?: string | null;
3725
+ part_number?: number;
3726
+ size?: number;
3727
+ upload_id?: string;
3728
+ version?: string;
3729
+ };
3730
+ Relationships: [
3731
+ {
3732
+ foreignKeyName: 's3_multipart_uploads_parts_bucket_id_fkey';
3733
+ columns: ['bucket_id'];
3734
+ isOneToOne: false;
3735
+ referencedRelation: 'buckets';
3736
+ referencedColumns: ['id'];
3737
+ },
3738
+ {
3739
+ foreignKeyName: 's3_multipart_uploads_parts_upload_id_fkey';
3740
+ columns: ['upload_id'];
3741
+ isOneToOne: false;
3742
+ referencedRelation: 's3_multipart_uploads';
3743
+ referencedColumns: ['id'];
3744
+ },
3745
+ ];
3746
+ };
3747
+ vector_indexes: {
3748
+ Row: {
3749
+ bucket_id: string;
3750
+ created_at: string;
3751
+ data_type: string;
3752
+ dimension: number;
3753
+ distance_metric: string;
3754
+ id: string;
3755
+ metadata_configuration: Json | null;
3756
+ name: string;
3757
+ updated_at: string;
3758
+ };
3759
+ Insert: {
3760
+ bucket_id: string;
3761
+ created_at?: string;
3762
+ data_type: string;
3763
+ dimension: number;
3764
+ distance_metric: string;
3765
+ id?: string;
3766
+ metadata_configuration?: Json | null;
3767
+ name: string;
3768
+ updated_at?: string;
3769
+ };
3770
+ Update: {
3771
+ bucket_id?: string;
3772
+ created_at?: string;
3773
+ data_type?: string;
3774
+ dimension?: number;
3775
+ distance_metric?: string;
3776
+ id?: string;
3777
+ metadata_configuration?: Json | null;
3778
+ name?: string;
3779
+ updated_at?: string;
3780
+ };
3781
+ Relationships: [
3782
+ {
3783
+ foreignKeyName: 'vector_indexes_bucket_id_fkey';
3784
+ columns: ['bucket_id'];
3785
+ isOneToOne: false;
3786
+ referencedRelation: 'buckets_vectors';
3787
+ referencedColumns: ['id'];
3788
+ },
3789
+ ];
3790
+ };
3791
+ };
3792
+ Views: {
3793
+ [_ in never]: never;
3794
+ };
3795
+ Functions: {
3796
+ allow_any_operation: {
3797
+ Args: { expected_operations: string[] };
3798
+ Returns: boolean;
3799
+ };
3800
+ allow_only_operation: {
3801
+ Args: { expected_operation: string };
3802
+ Returns: boolean;
3803
+ };
3804
+ can_insert_object: {
3805
+ Args: { bucketid: string; metadata: Json; name: string; owner: string };
3806
+ Returns: undefined;
3807
+ };
3808
+ extension: { Args: { name: string }; Returns: string };
3809
+ filename: { Args: { name: string }; Returns: string };
3810
+ foldername: { Args: { name: string }; Returns: string[] };
3811
+ get_common_prefix: {
3812
+ Args: { p_delimiter: string; p_key: string; p_prefix: string };
3813
+ Returns: string;
3814
+ };
3815
+ get_size_by_bucket: {
3816
+ Args: never;
3817
+ Returns: {
3818
+ bucket_id: string;
3819
+ size: number;
3820
+ }[];
3821
+ };
3822
+ list_multipart_uploads_with_delimiter: {
3823
+ Args: {
3824
+ bucket_id: string;
3825
+ delimiter_param: string;
3826
+ max_keys?: number;
3827
+ next_key_token?: string;
3828
+ next_upload_token?: string;
3829
+ prefix_param: string;
3830
+ };
3831
+ Returns: {
3832
+ created_at: string;
3833
+ id: string;
3834
+ key: string;
3835
+ }[];
3836
+ };
3837
+ list_objects_with_delimiter: {
3838
+ Args: {
3839
+ _bucket_id: string;
3840
+ delimiter_param: string;
3841
+ max_keys?: number;
3842
+ next_token?: string;
3843
+ prefix_param: string;
3844
+ sort_order?: string;
3845
+ start_after?: string;
3846
+ };
3847
+ Returns: {
3848
+ created_at: string;
3849
+ id: string;
3850
+ last_accessed_at: string;
3851
+ metadata: Json;
3852
+ name: string;
3853
+ updated_at: string;
3854
+ }[];
3855
+ };
3856
+ operation: { Args: never; Returns: string };
3857
+ search: {
3858
+ Args: {
3859
+ bucketname: string;
3860
+ levels?: number;
3861
+ limits?: number;
3862
+ offsets?: number;
3863
+ prefix: string;
3864
+ search?: string;
3865
+ sortcolumn?: string;
3866
+ sortorder?: string;
3867
+ };
3868
+ Returns: {
3869
+ created_at: string;
3870
+ id: string;
3871
+ last_accessed_at: string;
3872
+ metadata: Json;
3873
+ name: string;
3874
+ updated_at: string;
3875
+ }[];
3876
+ };
3877
+ search_by_timestamp: {
3878
+ Args: {
3879
+ p_bucket_id: string;
3880
+ p_level: number;
3881
+ p_limit: number;
3882
+ p_prefix: string;
3883
+ p_sort_column: string;
3884
+ p_sort_column_after: string;
3885
+ p_sort_order: string;
3886
+ p_start_after: string;
3887
+ };
3888
+ Returns: {
3889
+ created_at: string;
3890
+ id: string;
3891
+ key: string;
3892
+ last_accessed_at: string;
3893
+ metadata: Json;
3894
+ name: string;
3895
+ updated_at: string;
3896
+ }[];
3897
+ };
3898
+ search_v2: {
3899
+ Args: {
3900
+ bucket_name: string;
3901
+ levels?: number;
3902
+ limits?: number;
3903
+ prefix: string;
3904
+ sort_column?: string;
3905
+ sort_column_after?: string;
3906
+ sort_order?: string;
3907
+ start_after?: string;
3908
+ };
3909
+ Returns: {
3910
+ created_at: string;
3911
+ id: string;
3912
+ key: string;
3913
+ last_accessed_at: string;
3914
+ metadata: Json;
3915
+ name: string;
3916
+ updated_at: string;
3917
+ }[];
3918
+ };
3919
+ };
3920
+ Enums: {
3921
+ buckettype: 'STANDARD' | 'ANALYTICS' | 'VECTOR';
3922
+ };
3923
+ CompositeTypes: {
3924
+ [_ in never]: never;
3925
+ };
3926
+ };
3927
+ };
3928
+
3929
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
3930
+
3931
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
3932
+
3933
+ export type Tables<
3934
+ DefaultSchemaTableNameOrOptions extends
3935
+ | keyof (DefaultSchema['Tables'] & DefaultSchema['Views'])
3936
+ | { schema: keyof DatabaseWithoutInternals },
3937
+ TableName extends DefaultSchemaTableNameOrOptions extends {
3938
+ schema: keyof DatabaseWithoutInternals;
3939
+ }
3940
+ ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] &
3941
+ DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])
3942
+ : never = never,
3943
+ > = DefaultSchemaTableNameOrOptions extends {
3944
+ schema: keyof DatabaseWithoutInternals;
3945
+ }
3946
+ ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] &
3947
+ DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
3948
+ Row: infer R;
3949
+ }
3950
+ ? R
3951
+ : never
3952
+ : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] &
3953
+ DefaultSchema['Views'])
3954
+ ? (DefaultSchema['Tables'] &
3955
+ DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
3956
+ Row: infer R;
3957
+ }
3958
+ ? R
3959
+ : never
3960
+ : never;
3961
+
3962
+ export type TablesInsert<
3963
+ DefaultSchemaTableNameOrOptions extends
3964
+ | keyof DefaultSchema['Tables']
3965
+ | { schema: keyof DatabaseWithoutInternals },
3966
+ TableName extends DefaultSchemaTableNameOrOptions extends {
3967
+ schema: keyof DatabaseWithoutInternals;
3968
+ }
3969
+ ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables']
3970
+ : never = never,
3971
+ > = DefaultSchemaTableNameOrOptions extends {
3972
+ schema: keyof DatabaseWithoutInternals;
3973
+ }
3974
+ ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
3975
+ Insert: infer I;
3976
+ }
3977
+ ? I
3978
+ : never
3979
+ : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables']
3980
+ ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
3981
+ Insert: infer I;
3982
+ }
3983
+ ? I
3984
+ : never
3985
+ : never;
3986
+
3987
+ export type TablesUpdate<
3988
+ DefaultSchemaTableNameOrOptions extends
3989
+ | keyof DefaultSchema['Tables']
3990
+ | { schema: keyof DatabaseWithoutInternals },
3991
+ TableName extends DefaultSchemaTableNameOrOptions extends {
3992
+ schema: keyof DatabaseWithoutInternals;
3993
+ }
3994
+ ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables']
3995
+ : never = never,
3996
+ > = DefaultSchemaTableNameOrOptions extends {
3997
+ schema: keyof DatabaseWithoutInternals;
3998
+ }
3999
+ ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
4000
+ Update: infer U;
4001
+ }
4002
+ ? U
4003
+ : never
4004
+ : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables']
4005
+ ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
4006
+ Update: infer U;
4007
+ }
4008
+ ? U
4009
+ : never
4010
+ : never;
4011
+
4012
+ export type Enums<
4013
+ DefaultSchemaEnumNameOrOptions extends
4014
+ | keyof DefaultSchema['Enums']
4015
+ | { schema: keyof DatabaseWithoutInternals },
4016
+ EnumName extends DefaultSchemaEnumNameOrOptions extends {
4017
+ schema: keyof DatabaseWithoutInternals;
4018
+ }
4019
+ ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums']
4020
+ : never = never,
4021
+ > = DefaultSchemaEnumNameOrOptions extends {
4022
+ schema: keyof DatabaseWithoutInternals;
4023
+ }
4024
+ ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums'][EnumName]
4025
+ : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema['Enums']
4026
+ ? DefaultSchema['Enums'][DefaultSchemaEnumNameOrOptions]
4027
+ : never;
4028
+
4029
+ export type CompositeTypes<
4030
+ PublicCompositeTypeNameOrOptions extends
4031
+ | keyof DefaultSchema['CompositeTypes']
4032
+ | { schema: keyof DatabaseWithoutInternals },
4033
+ CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
4034
+ schema: keyof DatabaseWithoutInternals;
4035
+ }
4036
+ ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes']
4037
+ : never = never,
4038
+ > = PublicCompositeTypeNameOrOptions extends {
4039
+ schema: keyof DatabaseWithoutInternals;
4040
+ }
4041
+ ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'][CompositeTypeName]
4042
+ : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes']
4043
+ ? DefaultSchema['CompositeTypes'][PublicCompositeTypeNameOrOptions]
4044
+ : never;
4045
+
4046
+ export const Constants = {
4047
+ graphql_public: {
4048
+ Enums: {},
4049
+ },
4050
+ public: {
4051
+ Enums: {
4052
+ composerroleincomposition: ['COMPOSER', 'ARRANGER'],
4053
+ created_on: ['app', 'dashboard', 'auth', 'web'],
4054
+ event_selection_mode: ['open', 'closed'],
4055
+ event_type: ['practice', 'performance', 'other'],
4056
+ group_payment_history_action: ['status', 'amount', 'concept', 'method'],
4057
+ group_payment_method: ['cash', 'transfer'],
4058
+ group_payment_status: ['pending', 'paid', 'cancelled'],
4059
+ group_payment_type: ['income', 'expense'],
4060
+ group_plan: ['piano', 'mezzopiano', 'mezzoforte', 'forte', 'fortissimo', 'tutti'],
4061
+ group_plan_period: ['yearly', 'monthly'],
4062
+ group_status: ['premium', 'trial', 'inactive', 'deleted'],
4063
+ offer_type: ['group', 'event'],
4064
+ partnership_communication_status: ['sent', 'scheduled'],
4065
+ partnership_partner_status: ['active', 'pending', 'inactive'],
4066
+ partnership_payment_method: ['CASH', 'TRANSFER', 'SEPA', 'BIZUM'],
4067
+ partnership_payment_status: ['pending', 'charged', 'returned', 'canceled'],
4068
+ social_network: ['facebook', 'twitter', 'instagram', 'youtube'],
4069
+ },
4070
+ },
4071
+ storage: {
4072
+ Enums: {
4073
+ buckettype: ['STANDARD', 'ANALYTICS', 'VECTOR'],
4074
+ },
4075
+ },
4076
+ } as const;