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