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