@glissandoo/lib 1.114.1 → 1.115.0

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