@glissandoo/lib 1.115.0 → 1.116.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 +1 -3
  2. package/functions/customer.d.ts +0 -4
  3. package/functions/event.js +1 -1
  4. package/functions/eventPlayer.js +1 -1
  5. package/functions/eventRepertory.d.ts +0 -2
  6. package/functions/eventRepertory.js +1 -1
  7. package/functions/groupRepertory.d.ts +0 -110
  8. package/functions/index.d.ts +0 -30
  9. package/functions/index.js +1 -31
  10. package/functions/misc.d.ts +0 -6
  11. package/functions/regions.js +1 -31
  12. package/helpers/appScenes.js +1 -1
  13. package/helpers/auth.d.ts +9 -2
  14. package/helpers/auth.js +14 -33
  15. package/helpers/badges.js +1 -1
  16. package/helpers/collections.js +2 -2
  17. package/helpers/communicationTemplate/index.d.ts +2 -3
  18. package/helpers/communicationTemplate/index.js +5 -5
  19. package/helpers/dlinks.js +1 -1
  20. package/helpers/errors.d.ts +0 -1
  21. package/helpers/errors.js +1 -2
  22. package/helpers/glissandooAdmin.d.ts +3 -0
  23. package/helpers/glissandooAdmin.js +6 -0
  24. package/helpers/instruments/index.d.ts +0 -17
  25. package/helpers/instruments/index.js +1 -5
  26. package/helpers/instruments/lists.d.ts +3 -3
  27. package/helpers/instruments/lists.js +5 -5
  28. package/helpers/musicStyles/index.d.ts +4 -22
  29. package/helpers/musicStyles/index.js +35 -114
  30. package/helpers/notifications/index.js +1 -1
  31. package/helpers/objects.d.ts +1 -5
  32. package/helpers/objects.js +6 -7
  33. package/helpers/plans.js +2 -2
  34. package/helpers/rates.d.ts +1 -1
  35. package/helpers/slate.d.ts +5 -64
  36. package/helpers/slate.js +1 -7
  37. package/helpers/ts-extras/array-includes.js +2 -1
  38. package/helpers/ts-extras/as-mutable.js +2 -1
  39. package/helpers/ts-extras/assert-error.js +2 -1
  40. package/helpers/ts-extras/index.js +1 -1
  41. package/helpers/ts-extras/is-defined.js +2 -1
  42. package/helpers/ts-extras/is-empty.js +2 -1
  43. package/helpers/ts-extras/is-infinite.js +2 -1
  44. package/helpers/ts-extras/is-present.js +2 -1
  45. package/helpers/ts-extras/object-entries.d.ts +1 -1
  46. package/helpers/ts-extras/object-from-entries.d.ts +1 -1
  47. package/helpers/ts-extras/object-has-own.js +2 -1
  48. package/helpers/ts-extras/object-keys.d.ts +1 -1
  49. package/helpers/ts-extras/object-keys.js +1 -0
  50. package/helpers/ts-extras/set-has.js +2 -1
  51. package/helpers/types.d.ts +0 -26
  52. package/helpers/types.js +5 -25
  53. package/lang/ca.json +91 -325
  54. package/lang/de.json +91 -325
  55. package/lang/en.json +91 -325
  56. package/lang/es.json +91 -325
  57. package/lang/eu.json +91 -325
  58. package/lang/fr.json +91 -325
  59. package/lang/gl.json +91 -325
  60. package/lang/index.js +2 -3
  61. package/lang/it.json +91 -325
  62. package/lang/nl.json +91 -325
  63. package/lang/pt.json +91 -325
  64. package/models/Communication/types.d.ts +16 -0
  65. package/models/Communication/types.js +9 -3
  66. package/models/Counters/Group/Analytics/types.js +1 -1
  67. package/models/Customer/index.d.ts +1 -1
  68. package/models/Customer/index.js +3 -3
  69. package/models/Customer/types.js +1 -1
  70. package/models/Evento/Player/types.js +3 -3
  71. package/models/Evento/Repertory/types.d.ts +1 -2
  72. package/models/Evento/index.d.ts +2 -3
  73. package/models/Evento/index.js +4 -5
  74. package/models/Evento/types.d.ts +31 -2
  75. package/models/Evento/types.js +39 -8
  76. package/models/Federation/index.d.ts +1 -1
  77. package/models/Federation/index.js +3 -3
  78. package/models/Group/Analytics/types.js +1 -1
  79. package/models/Group/Player/types.js +1 -1
  80. package/models/Group/Repertory/File/Section/index.d.ts +3 -3
  81. package/models/Group/Repertory/File/Section/index.js +2 -3
  82. package/models/Group/Repertory/File/Section/types.d.ts +0 -7
  83. package/models/Group/Repertory/File/Section/types.js +1 -1
  84. package/models/Group/Repertory/File/index.d.ts +2 -4
  85. package/models/Group/Repertory/File/index.js +4 -4
  86. package/models/Group/Repertory/FilePath/index.d.ts +4 -3
  87. package/models/Group/Repertory/index.d.ts +4 -12
  88. package/models/Group/Repertory/index.js +0 -9
  89. package/models/Group/Repertory/types.d.ts +32 -21
  90. package/models/Group/Repertory/types.js +18 -8
  91. package/models/Group/index.d.ts +13 -15
  92. package/models/Group/index.js +15 -16
  93. package/models/Group/types.d.ts +66 -6
  94. package/models/Group/types.js +50 -8
  95. package/models/Instrument/{fromRecord.d.ts → group.d.ts} +5 -4
  96. package/models/Instrument/{fromRecord.js → group.js} +10 -10
  97. package/models/Instrument/index.d.ts +0 -2
  98. package/models/Instrument/index.js +1 -38
  99. package/models/Inventory/Item/types.js +2 -2
  100. package/models/Inventory/types.js +1 -1
  101. package/models/Notification/types.js +2 -2
  102. package/models/Offer/types.d.ts +12 -0
  103. package/models/Offer/types.js +15 -2
  104. package/models/Partnership/Partner/types.js +1 -1
  105. package/models/Partnership/Payment/types.js +2 -2
  106. package/models/Partnership/index.d.ts +1 -1
  107. package/models/Partnership/index.js +3 -3
  108. package/models/Partnership/types.js +1 -1
  109. package/models/Repertory/types.d.ts +0 -12
  110. package/models/Repertory/types.js +2 -2
  111. package/models/User/Group/index.js +2 -1
  112. package/models/User/index.d.ts +1 -1
  113. package/models/User/index.js +3 -3
  114. package/models/User/types.d.ts +1 -2
  115. package/models/User/types.js +7 -7
  116. package/models/WebhookEvent/types.js +1 -1
  117. package/package.json +20 -28
  118. package/types/firestore.d.ts +1 -0
  119. package/types/firestore.js +1 -1
  120. package/types/supabase/generated.d.ts +545 -3113
  121. package/types/supabase/generated.js +0 -9
  122. package/types/supabase/generated.ts +581 -3080
  123. package/types/supabase/index.d.ts +19 -155
  124. package/types/supabase/index.js +0 -15
  125. package/types/supabase/index.ts +21 -288
  126. package/types/supabase/overwrites/comm.d.ts +18 -0
  127. package/types/supabase/overwrites/comm.ts +18 -0
  128. package/types/supabase/overwrites/comm_history.d.ts +10 -0
  129. package/types/supabase/overwrites/comm_history.ts +10 -0
  130. package/types/supabase/overwrites/{tables/event/index.d.ts → event.d.ts} +1 -1
  131. package/types/supabase/overwrites/{tables/event/index.ts → event.ts} +1 -1
  132. package/types/supabase/overwrites/event_history.d.ts +10 -0
  133. package/types/supabase/overwrites/event_history.ts +10 -0
  134. package/types/supabase/overwrites/{tables/group/index.d.ts → group.d.ts} +5 -2
  135. package/types/supabase/overwrites/{tables/group/index.ts → group.ts} +6 -2
  136. package/types/supabase/overwrites/group_history.d.ts +9 -0
  137. package/types/supabase/overwrites/group_history.ts +9 -0
  138. package/types/supabase/overwrites/index.d.ts +1 -1
  139. package/types/supabase/overwrites/index.ts +1 -1
  140. package/types/supabase/overwrites/{tables/offer/index.d.ts → offer.d.ts} +2 -6
  141. package/types/supabase/overwrites/{tables/offer/index.ts → offer.ts} +2 -7
  142. package/types/supabase/overwrites/offer_history.d.ts +10 -0
  143. package/types/supabase/overwrites/offer_history.ts +10 -0
  144. package/types/supabase/overwrites/repertoire.d.ts +12 -0
  145. package/types/supabase/overwrites/repertoire.ts +12 -0
  146. package/types/supabase/overwrites/repertoire_history.d.ts +10 -0
  147. package/types/supabase/overwrites/repertoire_history.ts +10 -0
  148. package/functions/composer.d.ts +0 -13
  149. package/functions/composerComposition.d.ts +0 -102
  150. package/functions/composerNotification.d.ts +0 -38
  151. package/functions/composerPayout.d.ts +0 -20
  152. package/helpers/catalogBridge.d.ts +0 -121
  153. package/helpers/catalogBridge.js +0 -95
  154. package/helpers/compositionCategories/genres.d.ts +0 -922
  155. package/helpers/compositionCategories/genres.js +0 -940
  156. package/helpers/compositionCategories/index.d.ts +0 -2
  157. package/helpers/compositionCategories/index.js +0 -18
  158. package/helpers/compositionCategories/styles.d.ts +0 -181
  159. package/helpers/compositionCategories/styles.js +0 -197
  160. package/helpers/compositionSoloistOffstageParts/index.d.ts +0 -34
  161. package/helpers/compositionSoloistOffstageParts/index.js +0 -117
  162. package/helpers/currency.d.ts +0 -19
  163. package/helpers/currency.js +0 -85
  164. package/helpers/currencyConversion.d.ts +0 -45
  165. package/helpers/currencyConversion.js +0 -119
  166. package/helpers/dataStructures/trees/index.d.ts +0 -12
  167. package/helpers/dataStructures/trees/index.js +0 -71
  168. package/helpers/dataStructures/trees/types.d.ts +0 -14
  169. package/helpers/dataStructures/trees/types.js +0 -5
  170. package/helpers/externalUrls.d.ts +0 -12
  171. package/helpers/externalUrls.js +0 -40
  172. package/models/CompositionGenre/index.d.ts +0 -9
  173. package/models/CompositionGenre/index.js +0 -16
  174. package/models/CompositionStyle/index.d.ts +0 -9
  175. package/models/CompositionStyle/index.js +0 -16
  176. package/models/supabase/Comm/index.d.ts +0 -24
  177. package/models/supabase/Comm/index.js +0 -68
  178. package/models/supabase/Comm/types.d.ts +0 -6
  179. package/models/supabase/CommHistory/index.d.ts +0 -22
  180. package/models/supabase/CommHistory/index.js +0 -37
  181. package/models/supabase/CommHistory/types.d.ts +0 -11
  182. package/models/supabase/CommHistory/types.js +0 -9
  183. package/models/supabase/Composer/Composition/Acquisition/index.d.ts +0 -4
  184. package/models/supabase/Composer/Composition/Acquisition/index.js +0 -9
  185. package/models/supabase/Composer/Composition/Acquisition/types.d.ts +0 -36
  186. package/models/supabase/Composer/Composition/Favorite/index.d.ts +0 -4
  187. package/models/supabase/Composer/Composition/Favorite/index.js +0 -9
  188. package/models/supabase/Composer/Composition/Favorite/types.d.ts +0 -6
  189. package/models/supabase/Composer/Composition/View/index.d.ts +0 -4
  190. package/models/supabase/Composer/Composition/View/index.js +0 -9
  191. package/models/supabase/Composer/Composition/View/types.d.ts +0 -6
  192. package/models/supabase/Composer/Composition/index.d.ts +0 -5284
  193. package/models/supabase/Composer/Composition/index.js +0 -166
  194. package/models/supabase/Composer/Composition/types.d.ts +0 -96
  195. package/models/supabase/Composer/Composition/types.js +0 -32
  196. package/models/supabase/Composer/Notification/index.d.ts +0 -4
  197. package/models/supabase/Composer/Notification/index.js +0 -9
  198. package/models/supabase/Composer/Notification/types.d.ts +0 -39
  199. package/models/supabase/Composer/Notification/types.js +0 -27
  200. package/models/supabase/Composer/Payout/index.d.ts +0 -4
  201. package/models/supabase/Composer/Payout/index.js +0 -9
  202. package/models/supabase/Composer/Payout/status.d.ts +0 -1
  203. package/models/supabase/Composer/Payout/types.d.ts +0 -5
  204. package/models/supabase/Composer/PerformanceAttendance/types.d.ts +0 -4
  205. package/models/supabase/Composer/index.d.ts +0 -78
  206. package/models/supabase/Composer/index.js +0 -105
  207. package/models/supabase/Composer/types.d.ts +0 -6
  208. package/models/supabase/Composer/types.js +0 -2
  209. package/models/supabase/EventHistory/index.d.ts +0 -22
  210. package/models/supabase/EventHistory/index.js +0 -37
  211. package/models/supabase/EventHistory/types.d.ts +0 -36
  212. package/models/supabase/EventHistory/types.js +0 -34
  213. package/models/supabase/GroupHistory/index.d.ts +0 -21
  214. package/models/supabase/GroupHistory/index.js +0 -34
  215. package/models/supabase/GroupHistory/types.d.ts +0 -27
  216. package/models/supabase/GroupHistory/types.js +0 -25
  217. package/models/supabase/Model/index.d.ts +0 -10
  218. package/models/supabase/Model/index.js +0 -21
  219. package/models/supabase/OfferHistory/index.d.ts +0 -22
  220. package/models/supabase/OfferHistory/index.js +0 -37
  221. package/models/supabase/OfferHistory/types.d.ts +0 -18
  222. package/models/supabase/OfferHistory/types.js +0 -16
  223. package/models/supabase/Repertoire/index.d.ts +0 -16
  224. package/models/supabase/Repertoire/index.js +0 -43
  225. package/models/supabase/Repertoire/types.d.ts +0 -6
  226. package/models/supabase/Repertoire/types.js +0 -2
  227. package/models/supabase/RepertoireHistory/index.d.ts +0 -22
  228. package/models/supabase/RepertoireHistory/index.js +0 -37
  229. package/models/supabase/RepertoireHistory/types.d.ts +0 -21
  230. package/models/supabase/RepertoireHistory/types.js +0 -19
  231. package/models/supabase/User/Group/index.d.ts +0 -11
  232. package/models/supabase/User/Group/index.js +0 -30
  233. package/models/supabase/User/Group/types.d.ts +0 -6
  234. package/models/supabase/User/Group/types.js +0 -2
  235. package/models/supabase/User/index.d.ts +0 -13
  236. package/models/supabase/User/index.js +0 -37
  237. package/models/supabase/User/types.d.ts +0 -6
  238. package/models/supabase/User/types.js +0 -2
  239. package/types/supabase/catalog.d.ts +0 -46
  240. package/types/supabase/catalog.js +0 -2
  241. package/types/supabase/catalog.ts +0 -67
  242. package/types/supabase/composerMetrics.d.ts +0 -27
  243. package/types/supabase/composerMetrics.js +0 -2
  244. package/types/supabase/composerMetrics.ts +0 -26
  245. package/types/supabase/overwrites/tables/comm/model.d.ts +0 -4
  246. package/types/supabase/overwrites/tables/comm/model.js +0 -2
  247. package/types/supabase/overwrites/tables/comm/model.ts +0 -4
  248. package/types/supabase/overwrites/tables/comm_history/index.d.ts +0 -7
  249. package/types/supabase/overwrites/tables/comm_history/index.js +0 -2
  250. package/types/supabase/overwrites/tables/comm_history/index.ts +0 -9
  251. package/types/supabase/overwrites/tables/comm_history/model.d.ts +0 -10
  252. package/types/supabase/overwrites/tables/comm_history/model.js +0 -2
  253. package/types/supabase/overwrites/tables/comm_history/model.ts +0 -13
  254. package/types/supabase/overwrites/tables/common/index.js +0 -2
  255. package/types/supabase/overwrites/tables/composer/index.d.ts +0 -9
  256. package/types/supabase/overwrites/tables/composer/index.js +0 -2
  257. package/types/supabase/overwrites/tables/composer/index.ts +0 -10
  258. package/types/supabase/overwrites/tables/composer/model.d.ts +0 -12
  259. package/types/supabase/overwrites/tables/composer/model.js +0 -2
  260. package/types/supabase/overwrites/tables/composer/model.ts +0 -15
  261. package/types/supabase/overwrites/tables/composer/publicModel.d.ts +0 -11
  262. package/types/supabase/overwrites/tables/composer/publicModel.js +0 -2
  263. package/types/supabase/overwrites/tables/composer/publicModel.ts +0 -15
  264. package/types/supabase/overwrites/tables/composerComposition/index.d.ts +0 -18
  265. package/types/supabase/overwrites/tables/composerComposition/index.js +0 -2
  266. package/types/supabase/overwrites/tables/composerComposition/index.ts +0 -24
  267. package/types/supabase/overwrites/tables/composerComposition/model.d.ts +0 -9
  268. package/types/supabase/overwrites/tables/composerComposition/model.js +0 -2
  269. package/types/supabase/overwrites/tables/composerComposition/model.ts +0 -26
  270. package/types/supabase/overwrites/tables/composerComposition/publicModel.d.ts +0 -9
  271. package/types/supabase/overwrites/tables/composerComposition/publicModel.js +0 -2
  272. package/types/supabase/overwrites/tables/composerComposition/publicModel.ts +0 -37
  273. package/types/supabase/overwrites/tables/composerNotification/index.d.ts +0 -19
  274. package/types/supabase/overwrites/tables/composerNotification/index.js +0 -2
  275. package/types/supabase/overwrites/tables/composerNotification/index.ts +0 -25
  276. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.d.ts +0 -2
  277. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.js +0 -2
  278. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.ts +0 -3
  279. package/types/supabase/overwrites/tables/composerPayout/index.d.ts +0 -7
  280. package/types/supabase/overwrites/tables/composerPayout/index.js +0 -2
  281. package/types/supabase/overwrites/tables/composerPayout/index.ts +0 -8
  282. package/types/supabase/overwrites/tables/compositionAcquisition/index.d.ts +0 -4
  283. package/types/supabase/overwrites/tables/compositionAcquisition/index.js +0 -2
  284. package/types/supabase/overwrites/tables/compositionAcquisition/index.ts +0 -8
  285. package/types/supabase/overwrites/tables/compositionAcquisition/model.d.ts +0 -6
  286. package/types/supabase/overwrites/tables/compositionAcquisition/model.js +0 -2
  287. package/types/supabase/overwrites/tables/compositionAcquisition/model.ts +0 -11
  288. package/types/supabase/overwrites/tables/compositionFavorite/index.d.ts +0 -1
  289. package/types/supabase/overwrites/tables/compositionFavorite/index.js +0 -2
  290. package/types/supabase/overwrites/tables/compositionFavorite/index.ts +0 -2
  291. package/types/supabase/overwrites/tables/compositionFavorite/model.d.ts +0 -1
  292. package/types/supabase/overwrites/tables/compositionFavorite/model.js +0 -2
  293. package/types/supabase/overwrites/tables/compositionFavorite/model.ts +0 -1
  294. package/types/supabase/overwrites/tables/compositionView/index.d.ts +0 -1
  295. package/types/supabase/overwrites/tables/compositionView/index.js +0 -2
  296. package/types/supabase/overwrites/tables/compositionView/index.ts +0 -2
  297. package/types/supabase/overwrites/tables/compositionView/model.d.ts +0 -1
  298. package/types/supabase/overwrites/tables/compositionView/model.js +0 -2
  299. package/types/supabase/overwrites/tables/compositionView/model.ts +0 -1
  300. package/types/supabase/overwrites/tables/currencyExchangeRate/index.d.ts +0 -16
  301. package/types/supabase/overwrites/tables/currencyExchangeRate/index.js +0 -2
  302. package/types/supabase/overwrites/tables/currencyExchangeRate/index.ts +0 -18
  303. package/types/supabase/overwrites/tables/event/index.js +0 -2
  304. package/types/supabase/overwrites/tables/event_history/index.d.ts +0 -7
  305. package/types/supabase/overwrites/tables/event_history/index.js +0 -2
  306. package/types/supabase/overwrites/tables/event_history/index.ts +0 -9
  307. package/types/supabase/overwrites/tables/event_history/model.d.ts +0 -10
  308. package/types/supabase/overwrites/tables/event_history/model.js +0 -2
  309. package/types/supabase/overwrites/tables/event_history/model.ts +0 -13
  310. package/types/supabase/overwrites/tables/group/index.js +0 -2
  311. package/types/supabase/overwrites/tables/group_history/index.d.ts +0 -7
  312. package/types/supabase/overwrites/tables/group_history/index.js +0 -2
  313. package/types/supabase/overwrites/tables/group_history/index.ts +0 -9
  314. package/types/supabase/overwrites/tables/group_history/model.d.ts +0 -10
  315. package/types/supabase/overwrites/tables/group_history/model.js +0 -2
  316. package/types/supabase/overwrites/tables/group_history/model.ts +0 -13
  317. package/types/supabase/overwrites/tables/offer/index.js +0 -2
  318. package/types/supabase/overwrites/tables/offer_history/index.d.ts +0 -7
  319. package/types/supabase/overwrites/tables/offer_history/index.js +0 -2
  320. package/types/supabase/overwrites/tables/offer_history/index.ts +0 -9
  321. package/types/supabase/overwrites/tables/offer_history/model.d.ts +0 -10
  322. package/types/supabase/overwrites/tables/offer_history/model.js +0 -2
  323. package/types/supabase/overwrites/tables/offer_history/model.ts +0 -13
  324. package/types/supabase/overwrites/tables/repertoire/model.d.ts +0 -7
  325. package/types/supabase/overwrites/tables/repertoire/model.js +0 -2
  326. package/types/supabase/overwrites/tables/repertoire/model.ts +0 -7
  327. package/types/supabase/overwrites/tables/repertoire_history/index.d.ts +0 -7
  328. package/types/supabase/overwrites/tables/repertoire_history/index.js +0 -2
  329. package/types/supabase/overwrites/tables/repertoire_history/index.ts +0 -9
  330. package/types/supabase/overwrites/tables/repertoire_history/model.d.ts +0 -10
  331. package/types/supabase/overwrites/tables/repertoire_history/model.js +0 -2
  332. package/types/supabase/overwrites/tables/repertoire_history/model.ts +0 -13
  333. package/types/supabase/overwrites/tables/user/index.d.ts +0 -11
  334. package/types/supabase/overwrites/tables/user/index.js +0 -2
  335. package/types/supabase/overwrites/tables/user/index.ts +0 -13
  336. /package/{functions/composer.js → types/supabase/overwrites/comm.js} +0 -0
  337. /package/{functions/composerComposition.js → types/supabase/overwrites/comm_history.js} +0 -0
  338. /package/{functions/composerNotification.js → types/supabase/overwrites/event.js} +0 -0
  339. /package/{functions/composerPayout.js → types/supabase/overwrites/event_history.js} +0 -0
  340. /package/{models/supabase/Comm/types.js → types/supabase/overwrites/group.js} +0 -0
  341. /package/{models/supabase/Composer/Composition/Acquisition/types.js → types/supabase/overwrites/group_history.js} +0 -0
  342. /package/{models/supabase/Composer/Composition/Favorite/types.js → types/supabase/overwrites/offer.js} +0 -0
  343. /package/{models/supabase/Composer/Composition/View/types.js → types/supabase/overwrites/offer_history.js} +0 -0
  344. /package/{models/supabase/Composer/Payout/status.js → types/supabase/overwrites/repertoire.js} +0 -0
  345. /package/{models/supabase/Composer/Payout/types.js → types/supabase/overwrites/repertoire_history.js} +0 -0
  346. /package/types/supabase/overwrites/{tables/common/index.d.ts → utils.d.ts} +0 -0
  347. /package/{models/supabase/Composer/PerformanceAttendance/types.js → types/supabase/overwrites/utils.js} +0 -0
  348. /package/types/supabase/overwrites/{tables/common/index.ts → utils.ts} +0 -0
@@ -2,30 +2,8 @@ export type Json = string | number | boolean | null | {
2
2
  [key: string]: Json | undefined;
3
3
  } | Json[];
4
4
  export type Database = {
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
- };
5
+ __InternalSupabase: {
6
+ PostgrestVersion: '12.2.3 (519615d)';
29
7
  };
30
8
  public: {
31
9
  Tables: {
@@ -119,3251 +97,714 @@ export type Database = {
119
97
  };
120
98
  Relationships: [];
121
99
  };
122
- composer: {
100
+ event: {
123
101
  Row: {
124
- artisticEmail: string | null;
125
- artisticName: string;
126
- country: string | null;
102
+ activeInvitationLink: boolean;
103
+ coverURL: string | null;
127
104
  createdAt: string;
128
- currency: string | null;
105
+ createdOn: Database['public']['Enums']['created_on'] | null;
106
+ datetime: string;
107
+ datetimeEnd: string;
129
108
  deletedAt: string | null;
130
- description: Json[] | null;
109
+ deletedBy: string | null;
110
+ description: string | null;
111
+ descriptionSlate: Json[];
112
+ displayName: string | null;
131
113
  id: string;
132
- instruments: Json;
114
+ invitationLink: string | null;
133
115
  locality: string | null;
134
- location: Database['public']['CompositeTypes']['lonlat'] | null;
135
- photoURL: string;
136
- repertoireTags: Json;
137
- socialNetworks: Json;
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'];
138
144
  updatedAt: string;
139
- userId: string;
140
- username: string;
141
- visibility: boolean;
145
+ videoURL: string | null;
142
146
  };
143
147
  Insert: {
144
- artisticEmail?: string | null;
145
- artisticName: string;
146
- country?: string | null;
148
+ activeInvitationLink: boolean;
149
+ coverURL?: string | null;
147
150
  createdAt?: string;
148
- currency?: string | null;
151
+ createdOn?: Database['public']['Enums']['created_on'] | null;
152
+ datetime: string;
153
+ datetimeEnd: string;
149
154
  deletedAt?: string | null;
150
- description?: Json[] | null;
151
- id?: string;
152
- instruments: Json;
155
+ deletedBy?: string | null;
156
+ description?: string | null;
157
+ descriptionSlate: Json[];
158
+ displayName?: string | null;
159
+ id: string;
160
+ invitationLink?: string | null;
153
161
  locality?: string | null;
154
- location?: Database['public']['CompositeTypes']['lonlat'] | null;
155
- photoURL: string;
156
- repertoireTags: Json;
157
- socialNetworks: Json;
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'];
158
190
  updatedAt?: string;
159
- userId: string;
160
- username: string;
161
- visibility?: boolean;
191
+ videoURL?: string | null;
162
192
  };
163
193
  Update: {
164
- artisticEmail?: string | null;
165
- artisticName?: string;
166
- country?: string | null;
194
+ activeInvitationLink?: boolean;
195
+ coverURL?: string | null;
167
196
  createdAt?: string;
168
- currency?: string | null;
197
+ createdOn?: Database['public']['Enums']['created_on'] | null;
198
+ datetime?: string;
199
+ datetimeEnd?: string;
169
200
  deletedAt?: string | null;
170
- description?: Json[] | null;
201
+ deletedBy?: string | null;
202
+ description?: string | null;
203
+ descriptionSlate?: Json[];
204
+ displayName?: string | null;
171
205
  id?: string;
172
- instruments?: Json;
206
+ invitationLink?: string | null;
173
207
  locality?: string | null;
174
- location?: Database['public']['CompositeTypes']['lonlat'] | null;
175
- photoURL?: string;
176
- repertoireTags?: Json;
177
- socialNetworks?: Json;
178
- updatedAt?: string;
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;
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'];
264
236
  updatedAt?: string;
265
- uploaderComposerId?: string;
266
- uploaderComposerRole?: Database['public']['Enums']['composerroleincomposition'];
267
- visibility?: boolean;
268
- year?: number | null;
237
+ videoURL?: string | null;
269
238
  };
270
239
  Relationships: [
271
240
  {
272
- foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
273
- columns: ['uploaderComposerId'];
274
- isOneToOne: false;
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'];
241
+ foreignKeyName: 'event_promoter_group_id_fkey';
242
+ columns: ['promoter'];
288
243
  isOneToOne: false;
289
- referencedRelation: 'composerPublicModel';
244
+ referencedRelation: 'group';
290
245
  referencedColumns: ['id'];
291
246
  }
292
247
  ];
293
248
  };
294
- composerNotification: {
249
+ event_history: {
295
250
  Row: {
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;
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;
312
259
  };
313
260
  Insert: {
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;
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;
330
269
  };
331
270
  Update: {
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;
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;
348
279
  };
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
- ];
280
+ Relationships: [];
372
281
  };
373
- composerNotificationSetting: {
282
+ group: {
374
283
  Row: {
375
- composerId: string;
376
- createdAt: string;
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;
387
- updatedAt: string;
388
- };
389
- Insert: {
390
- composerId: string;
391
- createdAt?: string;
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;
402
- updatedAt?: string;
403
- };
404
- Update: {
405
- composerId?: string;
406
- createdAt?: 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;
460
- id?: string;
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;
519
- updatedAt?: string;
520
- };
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
- ];
555
- };
556
- compositionAcquisition: {
557
- Row: {
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;
573
- created_at: string;
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;
590
- };
591
- Insert: {
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;
700
- created_at: string;
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;
711
- };
712
- Update: {
713
- compositionId?: string;
714
- created_at?: string;
715
- groupId?: string;
716
- id?: string;
717
- userId?: string;
718
- };
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
- ];
756
- };
757
- compositionView: {
758
- Row: {
759
- compositionId: string;
760
- created_at: string;
761
- groupId: string;
762
- id: 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;
284
+ activeInvitationLink: boolean;
285
+ addresses: Json[];
286
+ administrators: string[];
287
+ config: Json;
288
+ configSites: Json;
289
+ country: string;
911
290
  createdAt: string;
912
291
  createdOn: Database['public']['Enums']['created_on'];
913
- datetime: string;
914
- datetimeEnd: string;
292
+ customerId: string | null;
915
293
  deletedAt: string | null;
916
294
  deletedBy: string | null;
917
295
  description: string | null;
918
- descriptionSlate: Json[];
919
- displayName: string | null;
296
+ displayName: string;
920
297
  id: string;
298
+ instruments: Json;
299
+ intercomId: string | null;
300
+ invitationEmails: string[];
921
301
  invitationLink: string | null;
922
- locality: string | null;
302
+ locality: string;
923
303
  location: unknown;
924
304
  location_lonlat: Database['public']['CompositeTypes']['lonlat'];
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;
949
- timezone: string;
950
- type: Database['public']['Enums']['event_type'];
951
- updatedAt: 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[];
305
+ metadata: Json;
306
+ musicStyle: string;
307
+ onboardingMessages: Json[];
1116
308
  owner: string | null;
1117
309
  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;
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;
323
+ updatedAt: string;
324
+ username: string;
325
+ visitedDashboardAt: Json;
2808
326
  };
2809
327
  Insert: {
2810
- allowed_mime_types?: string[] | null;
2811
- avif_autodetection?: boolean | null;
2812
- created_at?: string | null;
2813
- file_size_limit?: number | null;
328
+ activeInvitationLink: boolean;
329
+ addresses: Json[];
330
+ administrators: string[];
331
+ config: Json;
332
+ configSites?: Json;
333
+ country: string;
334
+ 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;
2814
341
  id: string;
2815
- name: 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[];
2816
352
  owner?: string | null;
2817
- owner_id?: string | null;
2818
- public?: boolean | null;
2819
- type?: Database['storage']['Enums']['buckettype'];
2820
- updated_at?: 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;
367
+ updatedAt?: string;
368
+ username: string;
369
+ visitedDashboardAt: Json;
2821
370
  };
2822
371
  Update: {
2823
- allowed_mime_types?: string[] | null;
2824
- avif_autodetection?: boolean | null;
2825
- created_at?: string | null;
2826
- file_size_limit?: number | null;
372
+ activeInvitationLink?: boolean;
373
+ addresses?: Json[];
374
+ administrators?: string[];
375
+ config?: Json;
376
+ configSites?: Json;
377
+ country?: string;
378
+ 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;
2827
385
  id?: string;
2828
- name?: 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[];
2829
396
  owner?: string | null;
2830
- owner_id?: string | null;
2831
- public?: boolean | null;
2832
- type?: Database['storage']['Enums']['buckettype'];
2833
- updated_at?: 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;
411
+ updatedAt?: string;
412
+ username?: string;
413
+ visitedDashboardAt?: Json;
2834
414
  };
2835
415
  Relationships: [];
2836
416
  };
2837
- buckets_analytics: {
417
+ group_history: {
2838
418
  Row: {
419
+ action: string;
2839
420
  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;
421
+ group_id: string;
422
+ id: number;
423
+ prev_value: Json | null;
424
+ user_id: string;
425
+ value: Json | null;
2846
426
  };
2847
427
  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;
428
+ action: string;
429
+ created_at: string;
430
+ group_id: string;
431
+ id?: number;
432
+ prev_value?: Json | null;
433
+ user_id: string;
434
+ value?: Json | null;
2855
435
  };
2856
436
  Update: {
437
+ action?: string;
2857
438
  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;
439
+ group_id?: string;
440
+ id?: number;
441
+ prev_value?: Json | null;
442
+ user_id?: string;
443
+ value?: Json | null;
2864
444
  };
2865
445
  Relationships: [];
2866
446
  };
2867
- buckets_vectors: {
447
+ group_payment: {
2868
448
  Row: {
2869
- created_at: string;
449
+ appliedRules: Json;
450
+ assignedTo: string;
451
+ baseAmount: number | null;
452
+ concept: string;
453
+ conceptNorm: string | null;
454
+ createdAt: string;
455
+ createdBy: string;
456
+ currency: string;
457
+ editedBy: string | null;
458
+ eventId: string | null;
459
+ groupId: string;
2870
460
  id: string;
2871
- type: Database['storage']['Enums']['buckettype'];
2872
- updated_at: string;
461
+ note: string | null;
462
+ paidAt: string | null;
463
+ paidBy: string | null;
464
+ paymentMethod: Database['public']['Enums']['group_payment_method'] | null;
465
+ playerId: string | null;
466
+ status: Database['public']['Enums']['group_payment_status'];
467
+ totalAmount: number | null;
468
+ type: Database['public']['Enums']['group_payment_type'];
469
+ updatedAt: string;
2873
470
  };
2874
471
  Insert: {
2875
- created_at?: string;
2876
- id: string;
2877
- type?: Database['storage']['Enums']['buckettype'];
2878
- updated_at?: string;
472
+ appliedRules?: Json;
473
+ assignedTo: string;
474
+ baseAmount?: number | null;
475
+ concept: string;
476
+ conceptNorm?: string | null;
477
+ createdAt?: string;
478
+ createdBy: string;
479
+ currency?: string;
480
+ editedBy?: string | null;
481
+ eventId?: string | null;
482
+ groupId: string;
483
+ id?: string;
484
+ note?: string | null;
485
+ paidAt?: string | null;
486
+ paidBy?: string | null;
487
+ paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
488
+ playerId?: string | null;
489
+ status: Database['public']['Enums']['group_payment_status'];
490
+ totalAmount?: number | null;
491
+ type: Database['public']['Enums']['group_payment_type'];
492
+ updatedAt?: string;
2879
493
  };
2880
494
  Update: {
2881
- created_at?: string;
495
+ appliedRules?: Json;
496
+ assignedTo?: string;
497
+ baseAmount?: number | null;
498
+ concept?: string;
499
+ conceptNorm?: string | null;
500
+ createdAt?: string;
501
+ createdBy?: string;
502
+ currency?: string;
503
+ editedBy?: string | null;
504
+ eventId?: string | null;
505
+ groupId?: string;
2882
506
  id?: string;
2883
- type?: Database['storage']['Enums']['buckettype'];
2884
- updated_at?: string;
507
+ note?: string | null;
508
+ paidAt?: string | null;
509
+ paidBy?: string | null;
510
+ paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
511
+ playerId?: string | null;
512
+ status?: Database['public']['Enums']['group_payment_status'];
513
+ totalAmount?: number | null;
514
+ type?: Database['public']['Enums']['group_payment_type'];
515
+ updatedAt?: string;
2885
516
  };
2886
517
  Relationships: [];
2887
518
  };
2888
- iceberg_namespaces: {
519
+ group_payment_history: {
2889
520
  Row: {
2890
- bucket_name: string;
2891
- catalog_id: string;
2892
- created_at: string;
521
+ action: Database['public']['Enums']['group_payment_history_action'];
522
+ changed_at: string;
523
+ changed_by: string;
2893
524
  id: string;
2894
- metadata: Json;
2895
- name: string;
2896
- updated_at: string;
525
+ new_value: string | null;
526
+ old_value: string | null;
527
+ payment_id: string;
2897
528
  };
2898
529
  Insert: {
2899
- bucket_name: string;
2900
- catalog_id: string;
2901
- created_at?: string;
530
+ action: Database['public']['Enums']['group_payment_history_action'];
531
+ changed_at?: string;
532
+ changed_by: string;
2902
533
  id?: string;
2903
- metadata?: Json;
2904
- name: string;
2905
- updated_at?: string;
534
+ new_value?: string | null;
535
+ old_value?: string | null;
536
+ payment_id: string;
2906
537
  };
2907
538
  Update: {
2908
- bucket_name?: string;
2909
- catalog_id?: string;
2910
- created_at?: string;
539
+ action?: Database['public']['Enums']['group_payment_history_action'];
540
+ changed_at?: string;
541
+ changed_by?: string;
2911
542
  id?: string;
2912
- metadata?: Json;
2913
- name?: string;
2914
- updated_at?: string;
543
+ new_value?: string | null;
544
+ old_value?: string | null;
545
+ payment_id?: string;
2915
546
  };
2916
547
  Relationships: [
2917
548
  {
2918
- foreignKeyName: 'iceberg_namespaces_catalog_id_fkey';
2919
- columns: ['catalog_id'];
549
+ foreignKeyName: 'group_payment_history_payment_id_fkey';
550
+ columns: ['payment_id'];
2920
551
  isOneToOne: false;
2921
- referencedRelation: 'buckets_analytics';
552
+ referencedRelation: 'group_payment';
2922
553
  referencedColumns: ['id'];
2923
554
  }
2924
555
  ];
2925
556
  };
2926
- iceberg_tables: {
557
+ offer: {
2927
558
  Row: {
2928
- bucket_name: string;
2929
- catalog_id: string;
2930
- created_at: string;
559
+ applicants: Json;
560
+ applicantsIds: string[];
561
+ country: string;
562
+ createdAt: string;
563
+ createdBy: string;
564
+ createdOn: Database['public']['Enums']['created_on'];
565
+ deadlineAt: string | null;
566
+ deletedAt: string | null;
567
+ deletedBy: string | null;
568
+ description: string;
569
+ eventId: string | null;
570
+ groupId: string;
571
+ groupInfo: Json;
572
+ id: string;
573
+ instrument: string;
574
+ locality: string;
575
+ location: unknown;
576
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
577
+ selectionClosedAt: string | null;
578
+ selectionClosedBy: string | null;
579
+ timezone: string;
580
+ title: string;
581
+ type: Database['public']['Enums']['offer_type'];
582
+ updatedAt: string;
583
+ updatedBy: string;
584
+ };
585
+ Insert: {
586
+ applicants: Json;
587
+ applicantsIds: string[];
588
+ country: string;
589
+ createdAt: string;
590
+ createdBy: string;
591
+ createdOn: Database['public']['Enums']['created_on'];
592
+ deadlineAt?: string | null;
593
+ deletedAt?: string | null;
594
+ deletedBy?: string | null;
595
+ description: string;
596
+ eventId?: string | null;
597
+ groupId: string;
598
+ groupInfo?: Json;
2931
599
  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;
2939
- };
2940
- Insert: {
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;
600
+ instrument: string;
601
+ locality: string;
602
+ location: unknown;
603
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
604
+ selectionClosedAt?: string | null;
605
+ selectionClosedBy?: string | null;
606
+ timezone: string;
607
+ title: string;
608
+ type: Database['public']['Enums']['offer_type'];
609
+ updatedAt: string;
610
+ updatedBy: string;
2952
611
  };
2953
612
  Update: {
2954
- bucket_name?: string;
2955
- catalog_id?: string;
2956
- created_at?: string;
613
+ applicants?: Json;
614
+ applicantsIds?: string[];
615
+ country?: string;
616
+ createdAt?: string;
617
+ createdBy?: string;
618
+ createdOn?: Database['public']['Enums']['created_on'];
619
+ deadlineAt?: string | null;
620
+ deletedAt?: string | null;
621
+ deletedBy?: string | null;
622
+ description?: string;
623
+ eventId?: string | null;
624
+ groupId?: string;
625
+ groupInfo?: Json;
2957
626
  id?: 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;
627
+ instrument?: string;
628
+ locality?: string;
629
+ location?: unknown;
630
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
631
+ selectionClosedAt?: string | null;
632
+ selectionClosedBy?: string | null;
633
+ timezone?: string;
634
+ title?: string;
635
+ type?: Database['public']['Enums']['offer_type'];
636
+ updatedAt?: string;
637
+ updatedBy?: string;
2965
638
  };
2966
639
  Relationships: [
2967
640
  {
2968
- foreignKeyName: 'iceberg_tables_catalog_id_fkey';
2969
- columns: ['catalog_id'];
641
+ foreignKeyName: 'public_offer_eventId_fkey';
642
+ columns: ['eventId'];
2970
643
  isOneToOne: false;
2971
- referencedRelation: 'buckets_analytics';
644
+ referencedRelation: 'event';
2972
645
  referencedColumns: ['id'];
2973
646
  },
2974
647
  {
2975
- foreignKeyName: 'iceberg_tables_namespace_id_fkey';
2976
- columns: ['namespace_id'];
648
+ foreignKeyName: 'public_offer_groupId_fkey';
649
+ columns: ['groupId'];
2977
650
  isOneToOne: false;
2978
- referencedRelation: 'iceberg_namespaces';
651
+ referencedRelation: 'group';
2979
652
  referencedColumns: ['id'];
2980
653
  }
2981
654
  ];
2982
655
  };
2983
- migrations: {
656
+ offer_history: {
2984
657
  Row: {
2985
- executed_at: string | null;
2986
- hash: string;
658
+ action: string;
659
+ created_at: string;
660
+ group_id: string;
2987
661
  id: number;
2988
- name: string;
662
+ offer_id: string;
663
+ prev_value: Json | null;
664
+ user_id: string;
665
+ value: Json | null;
2989
666
  };
2990
667
  Insert: {
2991
- executed_at?: string | null;
2992
- hash: string;
2993
- id: number;
2994
- name: string;
668
+ action: string;
669
+ created_at: string;
670
+ group_id: string;
671
+ id?: number;
672
+ offer_id: string;
673
+ prev_value?: Json | null;
674
+ user_id: string;
675
+ value?: Json | null;
2995
676
  };
2996
677
  Update: {
2997
- executed_at?: string | null;
2998
- hash?: string;
678
+ action?: string;
679
+ created_at?: string;
680
+ group_id?: string;
2999
681
  id?: number;
3000
- name?: string;
682
+ offer_id?: string;
683
+ prev_value?: Json | null;
684
+ user_id?: string;
685
+ value?: Json | null;
3001
686
  };
3002
687
  Relationships: [];
3003
688
  };
3004
- objects: {
3005
- Row: {
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: {
689
+ repertoire: {
3058
690
  Row: {
3059
- bucket_id: string;
691
+ compositor: string | null;
3060
692
  created_at: string;
693
+ events: string[];
694
+ group_id: string;
3061
695
  id: 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;
696
+ last_event_datetime: string | null;
697
+ owner_id: string;
698
+ tags: string[];
699
+ title: string;
700
+ visibility: string;
3069
701
  };
3070
702
  Insert: {
3071
- bucket_id: string;
703
+ compositor?: string | null;
3072
704
  created_at?: string;
705
+ events: string[];
706
+ group_id: string;
3073
707
  id: 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;
708
+ last_event_datetime?: string | null;
709
+ owner_id: string;
710
+ tags: string[];
711
+ title: string;
712
+ visibility: string;
3081
713
  };
3082
714
  Update: {
3083
- bucket_id?: string;
715
+ compositor?: string | null;
3084
716
  created_at?: string;
717
+ events?: string[];
718
+ group_id?: string;
3085
719
  id?: 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;
720
+ last_event_datetime?: string | null;
721
+ owner_id?: string;
722
+ tags?: string[];
723
+ title?: string;
724
+ visibility?: string;
3093
725
  };
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
- ];
726
+ Relationships: [];
3103
727
  };
3104
- s3_multipart_uploads_parts: {
728
+ repertoire_history: {
3105
729
  Row: {
3106
- bucket_id: string;
730
+ action: string;
3107
731
  created_at: string;
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;
732
+ group_id: string;
733
+ id: number;
734
+ prev_value: Json | null;
735
+ theme_id: string;
736
+ user_id: string;
737
+ value: Json | null;
3116
738
  };
3117
739
  Insert: {
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;
740
+ action: string;
3161
741
  created_at: string;
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;
742
+ group_id: string;
743
+ id?: number;
744
+ prev_value?: Json | null;
745
+ theme_id: string;
746
+ user_id: string;
747
+ value?: Json | null;
3180
748
  };
3181
749
  Update: {
3182
- bucket_id?: string;
750
+ action?: string;
3183
751
  created_at?: string;
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;
752
+ group_id?: string;
753
+ id?: number;
754
+ prev_value?: Json | null;
755
+ theme_id?: string;
756
+ user_id?: string;
757
+ value?: Json | null;
3191
758
  };
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
- ];
759
+ Relationships: [];
3201
760
  };
3202
761
  };
3203
762
  Views: {
3204
763
  [_ in never]: never;
3205
764
  };
3206
765
  Functions: {
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: {
766
+ immutable_unaccent: {
3247
767
  Args: {
3248
- p_delimiter: string;
3249
- p_key: string;
3250
- p_prefix: string;
768
+ '': string;
3251
769
  };
3252
770
  Returns: string;
3253
771
  };
3254
- get_size_by_bucket: {
772
+ show_limit: {
3255
773
  Args: never;
3256
- Returns: {
3257
- bucket_id: string;
3258
- size: number;
3259
- }[];
774
+ Returns: number;
3260
775
  };
3261
- list_multipart_uploads_with_delimiter: {
776
+ show_trgm: {
3262
777
  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;
778
+ '': string;
3269
779
  };
3270
- Returns: {
3271
- created_at: string;
3272
- id: string;
3273
- key: string;
3274
- }[];
780
+ Returns: string[];
3275
781
  };
3276
- list_objects_with_delimiter: {
782
+ unaccent: {
3277
783
  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;
784
+ '': string;
3285
785
  };
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
786
  Returns: string;
3298
787
  };
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
- };
3361
788
  };
3362
789
  Enums: {
3363
- buckettype: 'STANDARD' | 'ANALYTICS' | 'VECTOR';
790
+ created_on: 'app' | 'dashboard' | 'auth' | 'web';
791
+ event_selection_mode: 'open' | 'closed';
792
+ event_type: 'practice' | 'performance' | 'other';
793
+ group_payment_history_action: 'status' | 'amount' | 'concept' | 'method';
794
+ group_payment_method: 'cash' | 'transfer';
795
+ group_payment_status: 'pending' | 'paid' | 'cancelled';
796
+ group_payment_type: 'income' | 'expense';
797
+ group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
798
+ group_plan_period: 'yearly' | 'monthly';
799
+ group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
800
+ offer_type: 'group' | 'event';
801
+ social_network: 'facebook' | 'twitter' | 'instagram' | 'youtube';
3364
802
  };
3365
803
  CompositeTypes: {
3366
- [_ in never]: never;
804
+ lonlat: {
805
+ longitude: number | null;
806
+ latitude: number | null;
807
+ };
3367
808
  };
3368
809
  };
3369
810
  };
@@ -3417,12 +858,8 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
3417
858
  schema: keyof DatabaseWithoutInternals;
3418
859
  } ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes'] ? DefaultSchema['CompositeTypes'][PublicCompositeTypeNameOrOptions] : never;
3419
860
  export declare const Constants: {
3420
- readonly graphql_public: {
3421
- readonly Enums: {};
3422
- };
3423
861
  readonly public: {
3424
862
  readonly Enums: {
3425
- readonly composerroleincomposition: readonly ["COMPOSER", "ARRANGER"];
3426
863
  readonly created_on: readonly ["app", "dashboard", "auth", "web"];
3427
864
  readonly event_selection_mode: readonly ["open", "closed"];
3428
865
  readonly event_type: readonly ["practice", "performance", "other"];
@@ -3437,10 +874,5 @@ export declare const Constants: {
3437
874
  readonly social_network: readonly ["facebook", "twitter", "instagram", "youtube"];
3438
875
  };
3439
876
  };
3440
- readonly storage: {
3441
- readonly Enums: {
3442
- readonly buckettype: readonly ["STANDARD", "ANALYTICS", "VECTOR"];
3443
- };
3444
- };
3445
877
  };
3446
878
  export {};