@glissandoo/lib 1.123.0-dev.212.1 → 1.123.0

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