@glissandoo/lib 1.123.0-dev.214.1 → 1.123.1

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