@glissandoo/lib 1.123.2 → 1.123.3

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 (521) hide show
  1. package/package.json +1 -1
  2. package/types/firestore.ts +1998 -0
  3. package/types/messagebirdChatWidget.ts +20 -0
  4. package/types/minVersion.ts +4 -0
  5. package/types/payoutRule.ts +132 -0
  6. package/types/supabase/generated.ts +1682 -0
  7. package/types/supabase/index.ts +36 -0
  8. package/types/supabase/overwrites/comm.ts +18 -0
  9. package/types/supabase/overwrites/comm_history.ts +10 -0
  10. package/types/supabase/overwrites/event.ts +28 -0
  11. package/types/supabase/overwrites/event_history.ts +10 -0
  12. package/types/supabase/overwrites/group.ts +49 -0
  13. package/types/supabase/overwrites/group_history.ts +9 -0
  14. package/types/supabase/overwrites/index.ts +7 -0
  15. package/types/supabase/overwrites/offer.ts +15 -0
  16. package/types/supabase/overwrites/offer_history.ts +10 -0
  17. package/types/supabase/overwrites/repertoire.ts +12 -0
  18. package/types/supabase/overwrites/repertoire_history.ts +10 -0
  19. package/types/supabase/overwrites/utils.ts +4 -0
  20. package/.firebaserc +0 -7
  21. package/.husky/pre-commit +0 -4
  22. package/README.md +0 -70
  23. package/scripts/setHusky.js +0 -11
  24. package/supabase/.dev.env +0 -1
  25. package/supabase/.prod.env +0 -1
  26. package/supabase/.sample.env +0 -2
  27. package/supabase/README.md +0 -126
  28. package/supabase/config.toml +0 -68
  29. package/supabase/migrations/20231117044943_remote_schema.sql +0 -228
  30. package/supabase/migrations/20231117124947_event_selection_mode_closed_at_nullable.sql +0 -1
  31. package/supabase/migrations/20231121002132_remote_schema.sql +0 -31
  32. package/supabase/migrations/20231121004031_references_nullable.sql +0 -3
  33. package/supabase/migrations/20231121014339_updated_at_trigger.sql +0 -13
  34. package/supabase/migrations/20231122111241_remote_schema.sql +0 -25
  35. package/supabase/migrations/20231124151424_snake_case_to_camel_case.sql +0 -105
  36. package/supabase/migrations/20231129133721_add_columns_for_sites.sql +0 -11
  37. package/supabase/migrations/20231129142806_promoter_can_be_null.sql +0 -3
  38. package/supabase/migrations/20231130125327_group_location_latlon.sql +0 -3
  39. package/supabase/migrations/20231130150154_error_solvings.sql +0 -9
  40. package/supabase/migrations/20240405115914_new_columns.sql +0 -9
  41. package/supabase/migrations/20240405121956_init_offer.sql +0 -81
  42. package/supabase/migrations/20240503032440_add_columns_to_offer.sql +0 -11
  43. package/supabase/migrations/20240503101641_add_column_createdOn.sql +0 -19
  44. package/supabase/migrations/20240506035104_add_groupInfo_to_offer.sql +0 -10
  45. package/supabase/migrations/20240510110328_add_relationships_to_offer.sql +0 -9
  46. package/supabase/migrations/20240514100316_offers_public.sql +0 -9
  47. package/supabase/migrations/20260506013030_add_user_mirror.sql +0 -50
  48. package/supabase/migrations/20260506013031_add_user_group_mirror.sql +0 -31
  49. package/supabase/migrations/20260529000000_init_group_payment.sql +0 -79
  50. package/supabase/migrations/20260529120000_group_payment_realtime.sql +0 -19
  51. package/supabase/migrations/20260529130000_group_payment_anon_read.sql +0 -16
  52. package/supabase/migrations/20260601000000_group_payment_concept_norm.sql +0 -20
  53. package/supabase/migrations/20260605000000_init_partnership_domain.sql +0 -333
  54. package/supabase/migrations/20260605000100_partnership_recurring_rpc.sql +0 -62
  55. package/supabase/migrations/20260606000000_partnership_payer.sql +0 -83
  56. package/supabase/migrations/20260607000000_partnership_partner_number_not_unique.sql +0 -10
  57. package/supabase/migrations/20260608000000_partnership_payment_method_bizum.sql +0 -2
  58. package/supabase/migrations/20260609000000_partnership_payment_sepa_end_to_end.sql +0 -13
  59. package/supabase/migrations/20260617000000_partnership_portal_query_indexes.sql +0 -23
  60. package/supabase/migrations/20260618000000_partnership_communication_attachments.sql +0 -5
  61. package/supabase/migrations/20260701000000_partnership_recurring_rpc_drop_ambiguous.sql +0 -29
  62. package/supabase/migrations/20260713191700_add_personal_calendar_feed.sql +0 -506
  63. package/supabase/migrations/20260714193734_add_pending_calendar_invitations.sql +0 -403
  64. package/supabase/migrations/20260714205623_add_event_datetime_end_backfill.sql +0 -64
  65. package/supabase/migrations/20260729161126_remove_calendar_event_history_dependency.sql +0 -19
  66. package/supabase/migrations/20260729161202_reconcile_production_remote_schema.sql +0 -135
  67. package/supabase/migrations/20260804120000_add_calendar_feed_token_cipher.sql +0 -9
  68. package/supabase/migrations/20260805120000_replace_usergroup_with_group_playerids.sql +0 -363
  69. package/supabase/seed.sql +0 -2973
  70. /package/{lib/functions → functions}/auth.d.ts +0 -0
  71. /package/{lib/functions → functions}/auth.js +0 -0
  72. /package/{lib/functions → functions}/calendarFeed.d.ts +0 -0
  73. /package/{lib/functions → functions}/calendarFeed.js +0 -0
  74. /package/{lib/functions → functions}/communication.d.ts +0 -0
  75. /package/{lib/functions → functions}/communication.js +0 -0
  76. /package/{lib/functions → functions}/communicationComment.d.ts +0 -0
  77. /package/{lib/functions → functions}/communicationComment.js +0 -0
  78. /package/{lib/functions → functions}/customer.d.ts +0 -0
  79. /package/{lib/functions → functions}/customer.js +0 -0
  80. /package/{lib/functions → functions}/customerGroup.d.ts +0 -0
  81. /package/{lib/functions → functions}/customerGroup.js +0 -0
  82. /package/{lib/functions → functions}/event.d.ts +0 -0
  83. /package/{lib/functions → functions}/event.js +0 -0
  84. /package/{lib/functions → functions}/eventPlayer.d.ts +0 -0
  85. /package/{lib/functions → functions}/eventPlayer.js +0 -0
  86. /package/{lib/functions → functions}/eventRepertory.d.ts +0 -0
  87. /package/{lib/functions → functions}/eventRepertory.js +0 -0
  88. /package/{lib/functions → functions}/eventoPayout.d.ts +0 -0
  89. /package/{lib/functions → functions}/eventoPayout.js +0 -0
  90. /package/{lib/functions → functions}/federation.d.ts +0 -0
  91. /package/{lib/functions → functions}/federation.js +0 -0
  92. /package/{lib/functions → functions}/federationPartnership.d.ts +0 -0
  93. /package/{lib/functions → functions}/federationPartnership.js +0 -0
  94. /package/{lib/functions → functions}/group.d.ts +0 -0
  95. /package/{lib/functions → functions}/group.js +0 -0
  96. /package/{lib/functions → functions}/groupEventStage.d.ts +0 -0
  97. /package/{lib/functions → functions}/groupEventStage.js +0 -0
  98. /package/{lib/functions → functions}/groupModule.d.ts +0 -0
  99. /package/{lib/functions → functions}/groupModule.js +0 -0
  100. /package/{lib/functions → functions}/groupPayment.d.ts +0 -0
  101. /package/{lib/functions → functions}/groupPayment.js +0 -0
  102. /package/{lib/functions → functions}/groupPayoutRule.d.ts +0 -0
  103. /package/{lib/functions → functions}/groupPayoutRule.js +0 -0
  104. /package/{lib/functions → functions}/groupPlayer.d.ts +0 -0
  105. /package/{lib/functions → functions}/groupPlayer.js +0 -0
  106. /package/{lib/functions → functions}/groupRepertory.d.ts +0 -0
  107. /package/{lib/functions → functions}/groupRepertory.js +0 -0
  108. /package/{lib/functions → functions}/index.d.ts +0 -0
  109. /package/{lib/functions → functions}/index.js +0 -0
  110. /package/{lib/functions → functions}/inventory.d.ts +0 -0
  111. /package/{lib/functions → functions}/inventory.js +0 -0
  112. /package/{lib/functions → functions}/inventoryItem.d.ts +0 -0
  113. /package/{lib/functions → functions}/inventoryItem.js +0 -0
  114. /package/{lib/functions → functions}/jwt.d.ts +0 -0
  115. /package/{lib/functions → functions}/jwt.js +0 -0
  116. /package/{lib/functions → functions}/misc.d.ts +0 -0
  117. /package/{lib/functions → functions}/misc.js +0 -0
  118. /package/{lib/functions → functions}/notification.d.ts +0 -0
  119. /package/{lib/functions → functions}/notification.js +0 -0
  120. /package/{lib/functions → functions}/offer.d.ts +0 -0
  121. /package/{lib/functions → functions}/offer.js +0 -0
  122. /package/{lib/functions → functions}/offerApplicant.d.ts +0 -0
  123. /package/{lib/functions → functions}/offerApplicant.js +0 -0
  124. /package/{lib/functions → functions}/partnership.d.ts +0 -0
  125. /package/{lib/functions → functions}/partnership.js +0 -0
  126. /package/{lib/functions → functions}/partnershipCommunication.d.ts +0 -0
  127. /package/{lib/functions → functions}/partnershipCommunication.js +0 -0
  128. /package/{lib/functions → functions}/partnershipGroup.d.ts +0 -0
  129. /package/{lib/functions → functions}/partnershipGroup.js +0 -0
  130. /package/{lib/functions → functions}/partnershipPartner.d.ts +0 -0
  131. /package/{lib/functions → functions}/partnershipPartner.js +0 -0
  132. /package/{lib/functions → functions}/partnershipPayment.d.ts +0 -0
  133. /package/{lib/functions → functions}/partnershipPayment.js +0 -0
  134. /package/{lib/functions → functions}/partnershipPlan.d.ts +0 -0
  135. /package/{lib/functions → functions}/partnershipPlan.js +0 -0
  136. /package/{lib/functions → functions}/partnershipSepaPaymentGroup.d.ts +0 -0
  137. /package/{lib/functions → functions}/partnershipSepaPaymentGroup.js +0 -0
  138. /package/{lib/functions → functions}/partnershipSubscription.d.ts +0 -0
  139. /package/{lib/functions → functions}/partnershipSubscription.js +0 -0
  140. /package/{lib/functions → functions}/regions.d.ts +0 -0
  141. /package/{lib/functions → functions}/regions.js +0 -0
  142. /package/{lib/functions → functions}/subscription.d.ts +0 -0
  143. /package/{lib/functions → functions}/subscription.js +0 -0
  144. /package/{lib/functions → functions}/user.d.ts +0 -0
  145. /package/{lib/functions → functions}/user.js +0 -0
  146. /package/{lib/functions → functions}/userNotification.d.ts +0 -0
  147. /package/{lib/functions → functions}/userNotification.js +0 -0
  148. /package/{lib/helpers → helpers}/appScenes.d.ts +0 -0
  149. /package/{lib/helpers → helpers}/appScenes.js +0 -0
  150. /package/{lib/helpers → helpers}/audios.d.ts +0 -0
  151. /package/{lib/helpers → helpers}/audios.js +0 -0
  152. /package/{lib/helpers → helpers}/auth.d.ts +0 -0
  153. /package/{lib/helpers → helpers}/auth.js +0 -0
  154. /package/{lib/helpers → helpers}/badges.d.ts +0 -0
  155. /package/{lib/helpers → helpers}/badges.js +0 -0
  156. /package/{lib/helpers → helpers}/collections.d.ts +0 -0
  157. /package/{lib/helpers → helpers}/collections.js +0 -0
  158. /package/{lib/helpers → helpers}/communicationTemplate/index.d.ts +0 -0
  159. /package/{lib/helpers → helpers}/communicationTemplate/index.js +0 -0
  160. /package/{lib/helpers → helpers}/communicationTemplate/newGroup.d.ts +0 -0
  161. /package/{lib/helpers → helpers}/communicationTemplate/newGroup.js +0 -0
  162. /package/{lib/helpers → helpers}/communicationTemplate/newMember.d.ts +0 -0
  163. /package/{lib/helpers → helpers}/communicationTemplate/newMember.js +0 -0
  164. /package/{lib/helpers → helpers}/countries.d.ts +0 -0
  165. /package/{lib/helpers → helpers}/countries.js +0 -0
  166. /package/{lib/helpers → helpers}/currency.d.ts +0 -0
  167. /package/{lib/helpers → helpers}/currency.js +0 -0
  168. /package/{lib/helpers → helpers}/dlinks.d.ts +0 -0
  169. /package/{lib/helpers → helpers}/dlinks.js +0 -0
  170. /package/{lib/helpers → helpers}/errors.d.ts +0 -0
  171. /package/{lib/helpers → helpers}/errors.js +0 -0
  172. /package/{lib/helpers → helpers}/fileSections/index.d.ts +0 -0
  173. /package/{lib/helpers → helpers}/fileSections/index.js +0 -0
  174. /package/{lib/helpers → helpers}/fileSections/orders.d.ts +0 -0
  175. /package/{lib/helpers → helpers}/fileSections/orders.js +0 -0
  176. /package/{lib/helpers → helpers}/glissandooAdmin.d.ts +0 -0
  177. /package/{lib/helpers → helpers}/glissandooAdmin.js +0 -0
  178. /package/{lib/helpers → helpers}/instruments/index.d.ts +0 -0
  179. /package/{lib/helpers → helpers}/instruments/index.js +0 -0
  180. /package/{lib/helpers → helpers}/instruments/lists.d.ts +0 -0
  181. /package/{lib/helpers → helpers}/instruments/lists.js +0 -0
  182. /package/{lib/helpers → helpers}/instruments/orders.d.ts +0 -0
  183. /package/{lib/helpers → helpers}/instruments/orders.js +0 -0
  184. /package/{lib/helpers → helpers}/musicStyles/index.d.ts +0 -0
  185. /package/{lib/helpers → helpers}/musicStyles/index.js +0 -0
  186. /package/{lib/helpers → helpers}/musicStyles/orders.d.ts +0 -0
  187. /package/{lib/helpers → helpers}/musicStyles/orders.js +0 -0
  188. /package/{lib/helpers → helpers}/notifications/index.d.ts +0 -0
  189. /package/{lib/helpers → helpers}/notifications/index.js +0 -0
  190. /package/{lib/helpers → helpers}/notifications/placeholders.d.ts +0 -0
  191. /package/{lib/helpers → helpers}/notifications/placeholders.js +0 -0
  192. /package/{lib/helpers → helpers}/objects.d.ts +0 -0
  193. /package/{lib/helpers → helpers}/objects.js +0 -0
  194. /package/{lib/helpers → helpers}/paymentForecast.d.ts +0 -0
  195. /package/{lib/helpers → helpers}/paymentForecast.js +0 -0
  196. /package/{lib/helpers → helpers}/payoutRules.d.ts +0 -0
  197. /package/{lib/helpers → helpers}/payoutRules.js +0 -0
  198. /package/{lib/helpers → helpers}/plans.d.ts +0 -0
  199. /package/{lib/helpers → helpers}/plans.js +0 -0
  200. /package/{lib/helpers → helpers}/rates.d.ts +0 -0
  201. /package/{lib/helpers → helpers}/rates.js +0 -0
  202. /package/{lib/helpers → helpers}/reasons.d.ts +0 -0
  203. /package/{lib/helpers → helpers}/reasons.js +0 -0
  204. /package/{lib/helpers → helpers}/slate.d.ts +0 -0
  205. /package/{lib/helpers → helpers}/slate.js +0 -0
  206. /package/{lib/helpers → helpers}/styles.d.ts +0 -0
  207. /package/{lib/helpers → helpers}/styles.js +0 -0
  208. /package/{lib/helpers → helpers}/ts-extras/array-includes.d.ts +0 -0
  209. /package/{lib/helpers → helpers}/ts-extras/array-includes.js +0 -0
  210. /package/{lib/helpers → helpers}/ts-extras/as-mutable.d.ts +0 -0
  211. /package/{lib/helpers → helpers}/ts-extras/as-mutable.js +0 -0
  212. /package/{lib/helpers → helpers}/ts-extras/assert-error.d.ts +0 -0
  213. /package/{lib/helpers → helpers}/ts-extras/assert-error.js +0 -0
  214. /package/{lib/helpers → helpers}/ts-extras/index.d.ts +0 -0
  215. /package/{lib/helpers → helpers}/ts-extras/index.js +0 -0
  216. /package/{lib/helpers → helpers}/ts-extras/is-defined.d.ts +0 -0
  217. /package/{lib/helpers → helpers}/ts-extras/is-defined.js +0 -0
  218. /package/{lib/helpers → helpers}/ts-extras/is-empty.d.ts +0 -0
  219. /package/{lib/helpers → helpers}/ts-extras/is-empty.js +0 -0
  220. /package/{lib/helpers → helpers}/ts-extras/is-finite.d.ts +0 -0
  221. /package/{lib/helpers → helpers}/ts-extras/is-finite.js +0 -0
  222. /package/{lib/helpers → helpers}/ts-extras/is-infinite.d.ts +0 -0
  223. /package/{lib/helpers → helpers}/ts-extras/is-infinite.js +0 -0
  224. /package/{lib/helpers → helpers}/ts-extras/is-integer.d.ts +0 -0
  225. /package/{lib/helpers → helpers}/ts-extras/is-integer.js +0 -0
  226. /package/{lib/helpers → helpers}/ts-extras/is-present.d.ts +0 -0
  227. /package/{lib/helpers → helpers}/ts-extras/is-present.js +0 -0
  228. /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.d.ts +0 -0
  229. /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.js +0 -0
  230. /package/{lib/helpers → helpers}/ts-extras/object-entries.d.ts +0 -0
  231. /package/{lib/helpers → helpers}/ts-extras/object-entries.js +0 -0
  232. /package/{lib/helpers → helpers}/ts-extras/object-from-entries.d.ts +0 -0
  233. /package/{lib/helpers → helpers}/ts-extras/object-from-entries.js +0 -0
  234. /package/{lib/helpers → helpers}/ts-extras/object-has-own.d.ts +0 -0
  235. /package/{lib/helpers → helpers}/ts-extras/object-has-own.js +0 -0
  236. /package/{lib/helpers → helpers}/ts-extras/object-keys.d.ts +0 -0
  237. /package/{lib/helpers → helpers}/ts-extras/object-keys.js +0 -0
  238. /package/{lib/helpers → helpers}/ts-extras/set-has.d.ts +0 -0
  239. /package/{lib/helpers → helpers}/ts-extras/set-has.js +0 -0
  240. /package/{lib/helpers → helpers}/types.d.ts +0 -0
  241. /package/{lib/helpers → helpers}/types.js +0 -0
  242. /package/{lib/helpers → helpers}/utils.d.ts +0 -0
  243. /package/{lib/helpers → helpers}/utils.js +0 -0
  244. /package/{lib/index.d.ts → index.d.ts} +0 -0
  245. /package/{lib/index.js → index.js} +0 -0
  246. /package/{lib/lang → lang}/ca.json +0 -0
  247. /package/{lib/lang → lang}/de.json +0 -0
  248. /package/{lib/lang → lang}/en.json +0 -0
  249. /package/{lib/lang → lang}/es.json +0 -0
  250. /package/{lib/lang → lang}/eu.json +0 -0
  251. /package/{lib/lang → lang}/fr.json +0 -0
  252. /package/{lib/lang → lang}/gl.json +0 -0
  253. /package/{lib/lang → lang}/index.d.ts +0 -0
  254. /package/{lib/lang → lang}/index.js +0 -0
  255. /package/{lib/lang → lang}/it.json +0 -0
  256. /package/{lib/lang → lang}/nl.json +0 -0
  257. /package/{lib/lang → lang}/pt.json +0 -0
  258. /package/{lib/models → models}/Communication/Comment/index.d.ts +0 -0
  259. /package/{lib/models → models}/Communication/Comment/index.js +0 -0
  260. /package/{lib/models → models}/Communication/Comment/types.d.ts +0 -0
  261. /package/{lib/models → models}/Communication/Comment/types.js +0 -0
  262. /package/{lib/models → models}/Communication/index.d.ts +0 -0
  263. /package/{lib/models → models}/Communication/index.js +0 -0
  264. /package/{lib/models → models}/Communication/types.d.ts +0 -0
  265. /package/{lib/models → models}/Communication/types.js +0 -0
  266. /package/{lib/models → models}/Counters/Group/Analytics/index.d.ts +0 -0
  267. /package/{lib/models → models}/Counters/Group/Analytics/index.js +0 -0
  268. /package/{lib/models → models}/Counters/Group/Analytics/types.d.ts +0 -0
  269. /package/{lib/models → models}/Counters/Group/Analytics/types.js +0 -0
  270. /package/{lib/models → models}/Counters/Group/index.d.ts +0 -0
  271. /package/{lib/models → models}/Counters/Group/index.js +0 -0
  272. /package/{lib/models → models}/Counters/Group/types.d.ts +0 -0
  273. /package/{lib/models → models}/Counters/Group/types.js +0 -0
  274. /package/{lib/models → models}/Counters/event.d.ts +0 -0
  275. /package/{lib/models → models}/Counters/event.js +0 -0
  276. /package/{lib/models → models}/Counters/index.d.ts +0 -0
  277. /package/{lib/models → models}/Counters/index.js +0 -0
  278. /package/{lib/models → models}/Counters/types.d.ts +0 -0
  279. /package/{lib/models → models}/Counters/types.js +0 -0
  280. /package/{lib/models → models}/Customer/Group/index.d.ts +0 -0
  281. /package/{lib/models → models}/Customer/Group/index.js +0 -0
  282. /package/{lib/models → models}/Customer/Group/types.d.ts +0 -0
  283. /package/{lib/models → models}/Customer/Group/types.js +0 -0
  284. /package/{lib/models → models}/Customer/basic.d.ts +0 -0
  285. /package/{lib/models → models}/Customer/basic.js +0 -0
  286. /package/{lib/models → models}/Customer/index.d.ts +0 -0
  287. /package/{lib/models → models}/Customer/index.js +0 -0
  288. /package/{lib/models → models}/Customer/types.d.ts +0 -0
  289. /package/{lib/models → models}/Customer/types.js +0 -0
  290. /package/{lib/models → models}/Evento/Player/basic.d.ts +0 -0
  291. /package/{lib/models → models}/Evento/Player/basic.js +0 -0
  292. /package/{lib/models → models}/Evento/Player/index.d.ts +0 -0
  293. /package/{lib/models → models}/Evento/Player/index.js +0 -0
  294. /package/{lib/models → models}/Evento/Player/types.d.ts +0 -0
  295. /package/{lib/models → models}/Evento/Player/types.js +0 -0
  296. /package/{lib/models → models}/Evento/Repertory/index.d.ts +0 -0
  297. /package/{lib/models → models}/Evento/Repertory/index.js +0 -0
  298. /package/{lib/models → models}/Evento/Repertory/types.d.ts +0 -0
  299. /package/{lib/models → models}/Evento/Repertory/types.js +0 -0
  300. /package/{lib/models → models}/Evento/basic.d.ts +0 -0
  301. /package/{lib/models → models}/Evento/basic.js +0 -0
  302. /package/{lib/models → models}/Evento/index.d.ts +0 -0
  303. /package/{lib/models → models}/Evento/index.js +0 -0
  304. /package/{lib/models → models}/Evento/promoter.d.ts +0 -0
  305. /package/{lib/models → models}/Evento/promoter.js +0 -0
  306. /package/{lib/models → models}/Evento/tiny.d.ts +0 -0
  307. /package/{lib/models → models}/Evento/tiny.js +0 -0
  308. /package/{lib/models → models}/Evento/types.d.ts +0 -0
  309. /package/{lib/models → models}/Evento/types.js +0 -0
  310. /package/{lib/models → models}/Federation/Partnership/index.d.ts +0 -0
  311. /package/{lib/models → models}/Federation/Partnership/index.js +0 -0
  312. /package/{lib/models → models}/Federation/Partnership/types.d.ts +0 -0
  313. /package/{lib/models → models}/Federation/Partnership/types.js +0 -0
  314. /package/{lib/models → models}/Federation/index.d.ts +0 -0
  315. /package/{lib/models → models}/Federation/index.js +0 -0
  316. /package/{lib/models → models}/Federation/types.d.ts +0 -0
  317. /package/{lib/models → models}/Federation/types.js +0 -0
  318. /package/{lib/models → models}/Group/Analytics/index.d.ts +0 -0
  319. /package/{lib/models → models}/Group/Analytics/index.js +0 -0
  320. /package/{lib/models → models}/Group/Analytics/types.d.ts +0 -0
  321. /package/{lib/models → models}/Group/Analytics/types.js +0 -0
  322. /package/{lib/models → models}/Group/Event/index.d.ts +0 -0
  323. /package/{lib/models → models}/Group/Event/index.js +0 -0
  324. /package/{lib/models → models}/Group/Event/types.d.ts +0 -0
  325. /package/{lib/models → models}/Group/Event/types.js +0 -0
  326. /package/{lib/models → models}/Group/Payment/index.d.ts +0 -0
  327. /package/{lib/models → models}/Group/Payment/index.js +0 -0
  328. /package/{lib/models → models}/Group/Payment/supabase.d.ts +0 -0
  329. /package/{lib/models → models}/Group/Payment/supabase.js +0 -0
  330. /package/{lib/models → models}/Group/Payment/types.d.ts +0 -0
  331. /package/{lib/models → models}/Group/Payment/types.js +0 -0
  332. /package/{lib/models → models}/Group/Player/Event/index.d.ts +0 -0
  333. /package/{lib/models → models}/Group/Player/Event/index.js +0 -0
  334. /package/{lib/models → models}/Group/Player/Event/types.d.ts +0 -0
  335. /package/{lib/models → models}/Group/Player/Event/types.js +0 -0
  336. /package/{lib/models → models}/Group/Player/Log/index.d.ts +0 -0
  337. /package/{lib/models → models}/Group/Player/Log/index.js +0 -0
  338. /package/{lib/models → models}/Group/Player/Log/types.d.ts +0 -0
  339. /package/{lib/models → models}/Group/Player/Log/types.js +0 -0
  340. /package/{lib/models → models}/Group/Player/index.d.ts +0 -0
  341. /package/{lib/models → models}/Group/Player/index.js +0 -0
  342. /package/{lib/models → models}/Group/Player/types.d.ts +0 -0
  343. /package/{lib/models → models}/Group/Player/types.js +0 -0
  344. /package/{lib/models → models}/Group/Repertory/File/Section/index.d.ts +0 -0
  345. /package/{lib/models → models}/Group/Repertory/File/Section/index.js +0 -0
  346. /package/{lib/models → models}/Group/Repertory/File/Section/types.d.ts +0 -0
  347. /package/{lib/models → models}/Group/Repertory/File/Section/types.js +0 -0
  348. /package/{lib/models → models}/Group/Repertory/File/index.d.ts +0 -0
  349. /package/{lib/models → models}/Group/Repertory/File/index.js +0 -0
  350. /package/{lib/models → models}/Group/Repertory/File/types.d.ts +0 -0
  351. /package/{lib/models → models}/Group/Repertory/File/types.js +0 -0
  352. /package/{lib/models → models}/Group/Repertory/FilePath/index.d.ts +0 -0
  353. /package/{lib/models → models}/Group/Repertory/FilePath/index.js +0 -0
  354. /package/{lib/models → models}/Group/Repertory/index.d.ts +0 -0
  355. /package/{lib/models → models}/Group/Repertory/index.js +0 -0
  356. /package/{lib/models → models}/Group/Repertory/types.d.ts +0 -0
  357. /package/{lib/models → models}/Group/Repertory/types.js +0 -0
  358. /package/{lib/models → models}/Group/StageTemplate/index.d.ts +0 -0
  359. /package/{lib/models → models}/Group/StageTemplate/index.js +0 -0
  360. /package/{lib/models → models}/Group/StageTemplate/types.d.ts +0 -0
  361. /package/{lib/models → models}/Group/StageTemplate/types.js +0 -0
  362. /package/{lib/models → models}/Group/basic.d.ts +0 -0
  363. /package/{lib/models → models}/Group/basic.js +0 -0
  364. /package/{lib/models → models}/Group/index.d.ts +0 -0
  365. /package/{lib/models → models}/Group/index.js +0 -0
  366. /package/{lib/models → models}/Group/types.d.ts +0 -0
  367. /package/{lib/models → models}/Group/types.js +0 -0
  368. /package/{lib/models → models}/Instrument/group.d.ts +0 -0
  369. /package/{lib/models → models}/Instrument/group.js +0 -0
  370. /package/{lib/models → models}/Instrument/index.d.ts +0 -0
  371. /package/{lib/models → models}/Instrument/index.js +0 -0
  372. /package/{lib/models → models}/Inventory/Item/index.d.ts +0 -0
  373. /package/{lib/models → models}/Inventory/Item/index.js +0 -0
  374. /package/{lib/models → models}/Inventory/Item/types.d.ts +0 -0
  375. /package/{lib/models → models}/Inventory/Item/types.js +0 -0
  376. /package/{lib/models → models}/Inventory/index.d.ts +0 -0
  377. /package/{lib/models → models}/Inventory/index.js +0 -0
  378. /package/{lib/models → models}/Inventory/types.d.ts +0 -0
  379. /package/{lib/models → models}/Inventory/types.js +0 -0
  380. /package/{lib/models → models}/Metrics/index.d.ts +0 -0
  381. /package/{lib/models → models}/Metrics/index.js +0 -0
  382. /package/{lib/models → models}/Metrics/types.d.ts +0 -0
  383. /package/{lib/models → models}/Metrics/types.js +0 -0
  384. /package/{lib/models → models}/Model/index.d.ts +0 -0
  385. /package/{lib/models → models}/Model/index.js +0 -0
  386. /package/{lib/models → models}/Model/lang.d.ts +0 -0
  387. /package/{lib/models → models}/Model/lang.js +0 -0
  388. /package/{lib/models → models}/MusicStyle/index.d.ts +0 -0
  389. /package/{lib/models → models}/MusicStyle/index.js +0 -0
  390. /package/{lib/models → models}/Notification/index.d.ts +0 -0
  391. /package/{lib/models → models}/Notification/index.js +0 -0
  392. /package/{lib/models → models}/Notification/types.d.ts +0 -0
  393. /package/{lib/models → models}/Notification/types.js +0 -0
  394. /package/{lib/models → models}/Offer/Applicant/index.d.ts +0 -0
  395. /package/{lib/models → models}/Offer/Applicant/index.js +0 -0
  396. /package/{lib/models → models}/Offer/Applicant/types.d.ts +0 -0
  397. /package/{lib/models → models}/Offer/Applicant/types.js +0 -0
  398. /package/{lib/models → models}/Offer/index.d.ts +0 -0
  399. /package/{lib/models → models}/Offer/index.js +0 -0
  400. /package/{lib/models → models}/Offer/types.d.ts +0 -0
  401. /package/{lib/models → models}/Offer/types.js +0 -0
  402. /package/{lib/models → models}/Partnership/Communication/index.d.ts +0 -0
  403. /package/{lib/models → models}/Partnership/Communication/index.js +0 -0
  404. /package/{lib/models → models}/Partnership/Communication/supabase.d.ts +0 -0
  405. /package/{lib/models → models}/Partnership/Communication/supabase.js +0 -0
  406. /package/{lib/models → models}/Partnership/Communication/types.d.ts +0 -0
  407. /package/{lib/models → models}/Partnership/Communication/types.js +0 -0
  408. /package/{lib/models → models}/Partnership/Group/index.d.ts +0 -0
  409. /package/{lib/models → models}/Partnership/Group/index.js +0 -0
  410. /package/{lib/models → models}/Partnership/Group/supabase.d.ts +0 -0
  411. /package/{lib/models → models}/Partnership/Group/supabase.js +0 -0
  412. /package/{lib/models → models}/Partnership/Group/types.d.ts +0 -0
  413. /package/{lib/models → models}/Partnership/Group/types.js +0 -0
  414. /package/{lib/models → models}/Partnership/Partner/index.d.ts +0 -0
  415. /package/{lib/models → models}/Partnership/Partner/index.js +0 -0
  416. /package/{lib/models → models}/Partnership/Partner/supabase.d.ts +0 -0
  417. /package/{lib/models → models}/Partnership/Partner/supabase.js +0 -0
  418. /package/{lib/models → models}/Partnership/Partner/types.d.ts +0 -0
  419. /package/{lib/models → models}/Partnership/Partner/types.js +0 -0
  420. /package/{lib/models → models}/Partnership/Payment/index.d.ts +0 -0
  421. /package/{lib/models → models}/Partnership/Payment/index.js +0 -0
  422. /package/{lib/models → models}/Partnership/Payment/supabase.d.ts +0 -0
  423. /package/{lib/models → models}/Partnership/Payment/supabase.js +0 -0
  424. /package/{lib/models → models}/Partnership/Payment/types.d.ts +0 -0
  425. /package/{lib/models → models}/Partnership/Payment/types.js +0 -0
  426. /package/{lib/models → models}/Partnership/Plan/index.d.ts +0 -0
  427. /package/{lib/models → models}/Partnership/Plan/index.js +0 -0
  428. /package/{lib/models → models}/Partnership/Plan/supabase.d.ts +0 -0
  429. /package/{lib/models → models}/Partnership/Plan/supabase.js +0 -0
  430. /package/{lib/models → models}/Partnership/Plan/types.d.ts +0 -0
  431. /package/{lib/models → models}/Partnership/Plan/types.js +0 -0
  432. /package/{lib/models → models}/Partnership/SepaPaymentGroup/index.d.ts +0 -0
  433. /package/{lib/models → models}/Partnership/SepaPaymentGroup/index.js +0 -0
  434. /package/{lib/models → models}/Partnership/SepaPaymentGroup/supabase.d.ts +0 -0
  435. /package/{lib/models → models}/Partnership/SepaPaymentGroup/supabase.js +0 -0
  436. /package/{lib/models → models}/Partnership/SepaPaymentGroup/types.d.ts +0 -0
  437. /package/{lib/models → models}/Partnership/SepaPaymentGroup/types.js +0 -0
  438. /package/{lib/models → models}/Partnership/Subscription/index.d.ts +0 -0
  439. /package/{lib/models → models}/Partnership/Subscription/index.js +0 -0
  440. /package/{lib/models → models}/Partnership/Subscription/supabase.d.ts +0 -0
  441. /package/{lib/models → models}/Partnership/Subscription/supabase.js +0 -0
  442. /package/{lib/models → models}/Partnership/Subscription/types.d.ts +0 -0
  443. /package/{lib/models → models}/Partnership/Subscription/types.js +0 -0
  444. /package/{lib/models → models}/Partnership/basic.d.ts +0 -0
  445. /package/{lib/models → models}/Partnership/basic.js +0 -0
  446. /package/{lib/models → models}/Partnership/index.d.ts +0 -0
  447. /package/{lib/models → models}/Partnership/index.js +0 -0
  448. /package/{lib/models → models}/Partnership/types.d.ts +0 -0
  449. /package/{lib/models → models}/Partnership/types.js +0 -0
  450. /package/{lib/models → models}/Player/basic.d.ts +0 -0
  451. /package/{lib/models → models}/Player/basic.js +0 -0
  452. /package/{lib/models → models}/Player/types.d.ts +0 -0
  453. /package/{lib/models → models}/Player/types.js +0 -0
  454. /package/{lib/models → models}/Repertory/basic.d.ts +0 -0
  455. /package/{lib/models → models}/Repertory/basic.js +0 -0
  456. /package/{lib/models → models}/Repertory/types.d.ts +0 -0
  457. /package/{lib/models → models}/Repertory/types.js +0 -0
  458. /package/{lib/models → models}/User/Group/index.d.ts +0 -0
  459. /package/{lib/models → models}/User/Group/index.js +0 -0
  460. /package/{lib/models → models}/User/Group/types.d.ts +0 -0
  461. /package/{lib/models → models}/User/Group/types.js +0 -0
  462. /package/{lib/models → models}/User/Notification/index.d.ts +0 -0
  463. /package/{lib/models → models}/User/Notification/index.js +0 -0
  464. /package/{lib/models → models}/User/Notification/types.d.ts +0 -0
  465. /package/{lib/models → models}/User/Notification/types.js +0 -0
  466. /package/{lib/models → models}/User/OfferAlarm/index.d.ts +0 -0
  467. /package/{lib/models → models}/User/OfferAlarm/index.js +0 -0
  468. /package/{lib/models → models}/User/OfferAlarm/types.d.ts +0 -0
  469. /package/{lib/models → models}/User/OfferAlarm/types.js +0 -0
  470. /package/{lib/models → models}/User/Partnership/index.d.ts +0 -0
  471. /package/{lib/models → models}/User/Partnership/index.js +0 -0
  472. /package/{lib/models → models}/User/Partnership/types.d.ts +0 -0
  473. /package/{lib/models → models}/User/Partnership/types.js +0 -0
  474. /package/{lib/models → models}/User/basic.d.ts +0 -0
  475. /package/{lib/models → models}/User/basic.js +0 -0
  476. /package/{lib/models → models}/User/extended.d.ts +0 -0
  477. /package/{lib/models → models}/User/extended.js +0 -0
  478. /package/{lib/models → models}/User/index.d.ts +0 -0
  479. /package/{lib/models → models}/User/index.js +0 -0
  480. /package/{lib/models → models}/User/types.d.ts +0 -0
  481. /package/{lib/models → models}/User/types.js +0 -0
  482. /package/{lib/models → models}/WebhookEvent/index.d.ts +0 -0
  483. /package/{lib/models → models}/WebhookEvent/index.js +0 -0
  484. /package/{lib/models → models}/WebhookEvent/types.d.ts +0 -0
  485. /package/{lib/models → models}/WebhookEvent/types.js +0 -0
  486. /package/{lib/types → types}/firestore.d.ts +0 -0
  487. /package/{lib/types → types}/firestore.js +0 -0
  488. /package/{lib/types → types}/messagebirdChatWidget.d.ts +0 -0
  489. /package/{lib/types → types}/messagebirdChatWidget.js +0 -0
  490. /package/{lib/types → types}/minVersion.d.ts +0 -0
  491. /package/{lib/types → types}/minVersion.js +0 -0
  492. /package/{lib/types → types}/payoutRule.d.ts +0 -0
  493. /package/{lib/types → types}/payoutRule.js +0 -0
  494. /package/{lib/types → types}/supabase/generated.d.ts +0 -0
  495. /package/{lib/types → types}/supabase/generated.js +0 -0
  496. /package/{lib/types → types}/supabase/index.d.ts +0 -0
  497. /package/{lib/types → types}/supabase/index.js +0 -0
  498. /package/{lib/types → types}/supabase/overwrites/comm.d.ts +0 -0
  499. /package/{lib/types → types}/supabase/overwrites/comm.js +0 -0
  500. /package/{lib/types → types}/supabase/overwrites/comm_history.d.ts +0 -0
  501. /package/{lib/types → types}/supabase/overwrites/comm_history.js +0 -0
  502. /package/{lib/types → types}/supabase/overwrites/event.d.ts +0 -0
  503. /package/{lib/types → types}/supabase/overwrites/event.js +0 -0
  504. /package/{lib/types → types}/supabase/overwrites/event_history.d.ts +0 -0
  505. /package/{lib/types → types}/supabase/overwrites/event_history.js +0 -0
  506. /package/{lib/types → types}/supabase/overwrites/group.d.ts +0 -0
  507. /package/{lib/types → types}/supabase/overwrites/group.js +0 -0
  508. /package/{lib/types → types}/supabase/overwrites/group_history.d.ts +0 -0
  509. /package/{lib/types → types}/supabase/overwrites/group_history.js +0 -0
  510. /package/{lib/types → types}/supabase/overwrites/index.d.ts +0 -0
  511. /package/{lib/types → types}/supabase/overwrites/index.js +0 -0
  512. /package/{lib/types → types}/supabase/overwrites/offer.d.ts +0 -0
  513. /package/{lib/types → types}/supabase/overwrites/offer.js +0 -0
  514. /package/{lib/types → types}/supabase/overwrites/offer_history.d.ts +0 -0
  515. /package/{lib/types → types}/supabase/overwrites/offer_history.js +0 -0
  516. /package/{lib/types → types}/supabase/overwrites/repertoire.d.ts +0 -0
  517. /package/{lib/types → types}/supabase/overwrites/repertoire.js +0 -0
  518. /package/{lib/types → types}/supabase/overwrites/repertoire_history.d.ts +0 -0
  519. /package/{lib/types → types}/supabase/overwrites/repertoire_history.js +0 -0
  520. /package/{lib/types → types}/supabase/overwrites/utils.d.ts +0 -0
  521. /package/{lib/types → types}/supabase/overwrites/utils.js +0 -0
@@ -0,0 +1,1682 @@
1
+ export type Json = string | number | boolean | null | { [key: string]: Json | undefined } | Json[];
2
+
3
+ export type Database = {
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)';
8
+ };
9
+ public: {
10
+ Tables: {
11
+ calendar_event_cancellation: {
12
+ Row: {
13
+ all_day: boolean;
14
+ cancelled_at: string;
15
+ description: string | null;
16
+ display_name: string | null;
17
+ ends_at: string;
18
+ event_id: string;
19
+ event_type: string;
20
+ expires_at: string;
21
+ group_name: string;
22
+ last_modified: string;
23
+ latitude: number | null;
24
+ location: string | null;
25
+ longitude: number | null;
26
+ sequence: number;
27
+ starts_at: string;
28
+ timezone: string;
29
+ url: string | null;
30
+ user_id: string;
31
+ };
32
+ Insert: {
33
+ all_day?: boolean;
34
+ cancelled_at?: string;
35
+ description?: string | null;
36
+ display_name?: string | null;
37
+ ends_at: string;
38
+ event_id: string;
39
+ event_type: string;
40
+ expires_at?: string;
41
+ group_name: string;
42
+ last_modified: string;
43
+ latitude?: number | null;
44
+ location?: string | null;
45
+ longitude?: number | null;
46
+ sequence: number;
47
+ starts_at: string;
48
+ timezone: string;
49
+ url?: string | null;
50
+ user_id: string;
51
+ };
52
+ Update: {
53
+ all_day?: boolean;
54
+ cancelled_at?: string;
55
+ description?: string | null;
56
+ display_name?: string | null;
57
+ ends_at?: string;
58
+ event_id?: string;
59
+ event_type?: string;
60
+ expires_at?: string;
61
+ group_name?: string;
62
+ last_modified?: string;
63
+ latitude?: number | null;
64
+ location?: string | null;
65
+ longitude?: number | null;
66
+ sequence?: number;
67
+ starts_at?: string;
68
+ timezone?: string;
69
+ url?: string | null;
70
+ user_id?: string;
71
+ };
72
+ Relationships: [
73
+ {
74
+ foreignKeyName: 'calendar_event_cancellation_user_id_fkey';
75
+ columns: ['user_id'];
76
+ isOneToOne: false;
77
+ referencedRelation: 'calendar_feed';
78
+ referencedColumns: ['user_id'];
79
+ }
80
+ ];
81
+ };
82
+ calendar_feed: {
83
+ Row: {
84
+ content_revision: number;
85
+ created_at: string;
86
+ enabled: boolean;
87
+ include_pending: boolean;
88
+ include_tentative: boolean;
89
+ revoked_at: string | null;
90
+ token_cipher: string | null;
91
+ token_hash: string;
92
+ updated_at: string;
93
+ user_id: string;
94
+ };
95
+ Insert: {
96
+ content_revision?: number;
97
+ created_at?: string;
98
+ enabled?: boolean;
99
+ include_pending?: boolean;
100
+ include_tentative?: boolean;
101
+ revoked_at?: string | null;
102
+ token_cipher?: string | null;
103
+ token_hash: string;
104
+ updated_at?: string;
105
+ user_id: string;
106
+ };
107
+ Update: {
108
+ content_revision?: number;
109
+ created_at?: string;
110
+ enabled?: boolean;
111
+ include_pending?: boolean;
112
+ include_tentative?: boolean;
113
+ revoked_at?: string | null;
114
+ token_cipher?: string | null;
115
+ token_hash?: string;
116
+ updated_at?: string;
117
+ user_id?: string;
118
+ };
119
+ Relationships: [
120
+ {
121
+ foreignKeyName: 'calendar_feed_user_id_fkey';
122
+ columns: ['user_id'];
123
+ isOneToOne: true;
124
+ referencedRelation: 'user';
125
+ referencedColumns: ['userId'];
126
+ }
127
+ ];
128
+ };
129
+ comm: {
130
+ Row: {
131
+ block_answers: boolean;
132
+ comments_count: number;
133
+ created_at: string;
134
+ deleted_at: string | null;
135
+ deleted_by: string | null;
136
+ edited_at: string | null;
137
+ edited_by: string | null;
138
+ group_id: string;
139
+ id: string;
140
+ owner_id: string;
141
+ recipients: string[];
142
+ server: boolean;
143
+ server_template: string | null;
144
+ template_id: string | null;
145
+ title: string;
146
+ type: string;
147
+ };
148
+ Insert: {
149
+ block_answers?: boolean;
150
+ comments_count?: number;
151
+ created_at?: string;
152
+ deleted_at?: string | null;
153
+ deleted_by?: string | null;
154
+ edited_at?: string | null;
155
+ edited_by?: string | null;
156
+ group_id: string;
157
+ id: string;
158
+ owner_id: string;
159
+ recipients: string[];
160
+ server: boolean;
161
+ server_template?: string | null;
162
+ template_id?: string | null;
163
+ title: string;
164
+ type: string;
165
+ };
166
+ Update: {
167
+ block_answers?: boolean;
168
+ comments_count?: number;
169
+ created_at?: string;
170
+ deleted_at?: string | null;
171
+ deleted_by?: string | null;
172
+ edited_at?: string | null;
173
+ edited_by?: string | null;
174
+ group_id?: string;
175
+ id?: string;
176
+ owner_id?: string;
177
+ recipients?: string[];
178
+ server?: boolean;
179
+ server_template?: string | null;
180
+ template_id?: string | null;
181
+ title?: string;
182
+ type?: string;
183
+ };
184
+ Relationships: [];
185
+ };
186
+ comm_history: {
187
+ Row: {
188
+ action: string;
189
+ comm_id: string;
190
+ created_at: string;
191
+ group_id: string;
192
+ id: number;
193
+ prev_value: Json | null;
194
+ user_id: string;
195
+ value: Json | null;
196
+ };
197
+ Insert: {
198
+ action: string;
199
+ comm_id: string;
200
+ created_at: string;
201
+ group_id: string;
202
+ id?: number;
203
+ prev_value?: Json | null;
204
+ user_id: string;
205
+ value?: Json | null;
206
+ };
207
+ Update: {
208
+ action?: string;
209
+ comm_id?: string;
210
+ created_at?: string;
211
+ group_id?: string;
212
+ id?: number;
213
+ prev_value?: Json | null;
214
+ user_id?: string;
215
+ value?: Json | null;
216
+ };
217
+ Relationships: [];
218
+ };
219
+ event: {
220
+ Row: {
221
+ activeInvitationLink: boolean;
222
+ calendarSequence: number;
223
+ coverURL: string | null;
224
+ createdAt: string;
225
+ createdOn: Database['public']['Enums']['created_on'] | null;
226
+ datetime: string;
227
+ datetimeEnd: string;
228
+ deletedAt: string | null;
229
+ deletedBy: string | null;
230
+ description: string | null;
231
+ descriptionSlate: Json[];
232
+ displayName: string | null;
233
+ id: string;
234
+ invitationLink: string | null;
235
+ locality: string | null;
236
+ location: unknown;
237
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
238
+ maxAttendance: number | null;
239
+ notifyAt: string;
240
+ online: boolean;
241
+ owner: string | null;
242
+ playerIds: string[];
243
+ players: Json;
244
+ promoter: string | null;
245
+ relEvents: string[];
246
+ repeat: Json | null;
247
+ repertory: Json;
248
+ repertoryIds: string[];
249
+ responseDeadline: Json;
250
+ responseDeadlineAt: string;
251
+ rollCalledAt: string | null;
252
+ rollCalledBy: string | null;
253
+ rollCallHistory: Json[];
254
+ rollCallReminderAt: string | null;
255
+ selectionMode: Database['public']['Enums']['event_selection_mode'] | null;
256
+ selectionModeClosedAt: string | null;
257
+ shortDynamicLink: string | null;
258
+ sites: boolean;
259
+ stage: Json | null;
260
+ stageTemplateId: string | null;
261
+ templateId: string | null;
262
+ timezone: string;
263
+ type: Database['public']['Enums']['event_type'];
264
+ updatedAt: string;
265
+ videoURL: string | null;
266
+ };
267
+ Insert: {
268
+ activeInvitationLink: boolean;
269
+ calendarSequence?: number;
270
+ coverURL?: string | null;
271
+ createdAt?: string;
272
+ createdOn?: Database['public']['Enums']['created_on'] | null;
273
+ datetime: string;
274
+ datetimeEnd: string;
275
+ deletedAt?: string | null;
276
+ deletedBy?: string | null;
277
+ description?: string | null;
278
+ descriptionSlate: Json[];
279
+ displayName?: string | null;
280
+ id: string;
281
+ invitationLink?: string | null;
282
+ locality?: string | null;
283
+ location: unknown;
284
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
285
+ maxAttendance?: number | null;
286
+ notifyAt: string;
287
+ online: boolean;
288
+ owner?: string | null;
289
+ playerIds: string[];
290
+ players: Json;
291
+ promoter?: string | null;
292
+ relEvents: string[];
293
+ repeat?: Json | null;
294
+ repertory: Json;
295
+ repertoryIds: string[];
296
+ responseDeadline: Json;
297
+ responseDeadlineAt: string;
298
+ rollCalledAt?: string | null;
299
+ rollCalledBy?: string | null;
300
+ rollCallHistory: Json[];
301
+ rollCallReminderAt?: string | null;
302
+ selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
303
+ selectionModeClosedAt?: string | null;
304
+ shortDynamicLink?: string | null;
305
+ sites?: boolean;
306
+ stage?: Json | null;
307
+ stageTemplateId?: string | null;
308
+ templateId?: string | null;
309
+ timezone: string;
310
+ type: Database['public']['Enums']['event_type'];
311
+ updatedAt?: string;
312
+ videoURL?: string | null;
313
+ };
314
+ Update: {
315
+ activeInvitationLink?: boolean;
316
+ calendarSequence?: number;
317
+ coverURL?: string | null;
318
+ createdAt?: string;
319
+ createdOn?: Database['public']['Enums']['created_on'] | null;
320
+ datetime?: string;
321
+ datetimeEnd?: string;
322
+ deletedAt?: string | null;
323
+ deletedBy?: string | null;
324
+ description?: string | null;
325
+ descriptionSlate?: Json[];
326
+ displayName?: string | null;
327
+ id?: string;
328
+ invitationLink?: string | null;
329
+ locality?: string | null;
330
+ location?: unknown;
331
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
332
+ maxAttendance?: number | null;
333
+ notifyAt?: string;
334
+ online?: boolean;
335
+ owner?: string | null;
336
+ playerIds?: string[];
337
+ players?: Json;
338
+ promoter?: string | null;
339
+ relEvents?: string[];
340
+ repeat?: Json | null;
341
+ repertory?: Json;
342
+ repertoryIds?: string[];
343
+ responseDeadline?: Json;
344
+ responseDeadlineAt?: string;
345
+ rollCalledAt?: string | null;
346
+ rollCalledBy?: string | null;
347
+ rollCallHistory?: Json[];
348
+ rollCallReminderAt?: string | null;
349
+ selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
350
+ selectionModeClosedAt?: string | null;
351
+ shortDynamicLink?: string | null;
352
+ sites?: boolean;
353
+ stage?: Json | null;
354
+ stageTemplateId?: string | null;
355
+ templateId?: string | null;
356
+ timezone?: string;
357
+ type?: Database['public']['Enums']['event_type'];
358
+ updatedAt?: string;
359
+ videoURL?: string | null;
360
+ };
361
+ Relationships: [
362
+ {
363
+ foreignKeyName: 'event_promoter_group_id_fkey';
364
+ columns: ['promoter'];
365
+ isOneToOne: false;
366
+ referencedRelation: 'group';
367
+ referencedColumns: ['id'];
368
+ }
369
+ ];
370
+ };
371
+ event_history: {
372
+ Row: {
373
+ action: string;
374
+ created_at: string;
375
+ event_id: string;
376
+ group_id: string;
377
+ id: number;
378
+ prev_value: Json | null;
379
+ user_id: string;
380
+ value: Json | null;
381
+ };
382
+ Insert: {
383
+ action: string;
384
+ created_at: string;
385
+ event_id: string;
386
+ group_id: string;
387
+ id?: number;
388
+ prev_value?: Json | null;
389
+ user_id: string;
390
+ value?: Json | null;
391
+ };
392
+ Update: {
393
+ action?: string;
394
+ created_at?: string;
395
+ event_id?: string;
396
+ group_id?: string;
397
+ id?: number;
398
+ prev_value?: Json | null;
399
+ user_id?: string;
400
+ value?: Json | null;
401
+ };
402
+ Relationships: [];
403
+ };
404
+ group: {
405
+ Row: {
406
+ activeInvitationLink: boolean;
407
+ addresses: Json[];
408
+ administrators: string[];
409
+ config: Json;
410
+ configSites: Json;
411
+ country: string;
412
+ createdAt: string;
413
+ createdOn: Database['public']['Enums']['created_on'];
414
+ customerId: string | null;
415
+ deletedAt: string | null;
416
+ deletedBy: string | null;
417
+ description: string | null;
418
+ displayName: string;
419
+ id: string;
420
+ instruments: Json;
421
+ intercomId: string | null;
422
+ invitationEmails: string[];
423
+ invitationLink: string | null;
424
+ locality: string;
425
+ location: unknown;
426
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
427
+ metadata: Json;
428
+ musicStyle: string;
429
+ onboardingMessages: Json[];
430
+ owner: string | null;
431
+ partnershipId: string | null;
432
+ photoURL: string;
433
+ planId: Database['public']['Enums']['group_plan'];
434
+ playerIds: string[];
435
+ players: Json;
436
+ repertoireTags: Json;
437
+ rollcallLink: string | null;
438
+ satisfactionIndex: Json;
439
+ shortDynamicLink: string | null;
440
+ socialNetworks: Json | null;
441
+ status: Database['public']['Enums']['group_status'];
442
+ subscriptionId: string | null;
443
+ templates: Json;
444
+ trialEndAt: string | null;
445
+ updatedAt: string;
446
+ username: string;
447
+ visitedDashboardAt: Json;
448
+ };
449
+ Insert: {
450
+ activeInvitationLink: boolean;
451
+ addresses: Json[];
452
+ administrators: string[];
453
+ config: Json;
454
+ configSites?: Json;
455
+ country: string;
456
+ createdAt?: string;
457
+ createdOn: Database['public']['Enums']['created_on'];
458
+ customerId?: string | null;
459
+ deletedAt?: string | null;
460
+ deletedBy?: string | null;
461
+ description?: string | null;
462
+ displayName: string;
463
+ id: string;
464
+ instruments: Json;
465
+ intercomId?: string | null;
466
+ invitationEmails: string[];
467
+ invitationLink?: string | null;
468
+ locality: string;
469
+ location: unknown;
470
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
471
+ metadata: Json;
472
+ musicStyle: string;
473
+ onboardingMessages: Json[];
474
+ owner?: string | null;
475
+ partnershipId?: string | null;
476
+ photoURL: string;
477
+ planId: Database['public']['Enums']['group_plan'];
478
+ playerIds: string[];
479
+ players: Json;
480
+ repertoireTags: Json;
481
+ rollcallLink?: string | null;
482
+ satisfactionIndex: Json;
483
+ shortDynamicLink?: string | null;
484
+ socialNetworks?: Json | null;
485
+ status: Database['public']['Enums']['group_status'];
486
+ subscriptionId?: string | null;
487
+ templates: Json;
488
+ trialEndAt?: string | null;
489
+ updatedAt?: string;
490
+ username: string;
491
+ visitedDashboardAt: Json;
492
+ };
493
+ Update: {
494
+ activeInvitationLink?: boolean;
495
+ addresses?: Json[];
496
+ administrators?: string[];
497
+ config?: Json;
498
+ configSites?: Json;
499
+ country?: string;
500
+ createdAt?: string;
501
+ createdOn?: Database['public']['Enums']['created_on'];
502
+ customerId?: string | null;
503
+ deletedAt?: string | null;
504
+ deletedBy?: string | null;
505
+ description?: string | null;
506
+ displayName?: string;
507
+ id?: string;
508
+ instruments?: Json;
509
+ intercomId?: string | null;
510
+ invitationEmails?: string[];
511
+ invitationLink?: string | null;
512
+ locality?: string;
513
+ location?: unknown;
514
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
515
+ metadata?: Json;
516
+ musicStyle?: string;
517
+ onboardingMessages?: Json[];
518
+ owner?: string | null;
519
+ partnershipId?: string | null;
520
+ photoURL?: string;
521
+ planId?: Database['public']['Enums']['group_plan'];
522
+ playerIds?: string[];
523
+ players?: Json;
524
+ repertoireTags?: Json;
525
+ rollcallLink?: string | null;
526
+ satisfactionIndex?: Json;
527
+ shortDynamicLink?: string | null;
528
+ socialNetworks?: Json | null;
529
+ status?: Database['public']['Enums']['group_status'];
530
+ subscriptionId?: string | null;
531
+ templates?: Json;
532
+ trialEndAt?: string | null;
533
+ updatedAt?: string;
534
+ username?: string;
535
+ visitedDashboardAt?: Json;
536
+ };
537
+ Relationships: [];
538
+ };
539
+ group_history: {
540
+ Row: {
541
+ action: string;
542
+ created_at: string;
543
+ group_id: string;
544
+ id: number;
545
+ prev_value: Json | null;
546
+ user_id: string;
547
+ value: Json | null;
548
+ };
549
+ Insert: {
550
+ action: string;
551
+ created_at: string;
552
+ group_id: string;
553
+ id?: number;
554
+ prev_value?: Json | null;
555
+ user_id: string;
556
+ value?: Json | null;
557
+ };
558
+ Update: {
559
+ action?: string;
560
+ created_at?: string;
561
+ group_id?: string;
562
+ id?: number;
563
+ prev_value?: Json | null;
564
+ user_id?: string;
565
+ value?: Json | null;
566
+ };
567
+ Relationships: [];
568
+ };
569
+ group_payment: {
570
+ Row: {
571
+ appliedRules: Json;
572
+ assignedTo: string;
573
+ baseAmount: number | null;
574
+ concept: string;
575
+ conceptNorm: string | null;
576
+ createdAt: string;
577
+ createdBy: string;
578
+ currency: string;
579
+ editedBy: string | null;
580
+ eventId: string | null;
581
+ groupId: string;
582
+ id: string;
583
+ note: string | null;
584
+ paidAt: string | null;
585
+ paidBy: string | null;
586
+ paymentMethod: Database['public']['Enums']['group_payment_method'] | null;
587
+ playerId: string | null;
588
+ status: Database['public']['Enums']['group_payment_status'];
589
+ totalAmount: number | null;
590
+ type: Database['public']['Enums']['group_payment_type'];
591
+ updatedAt: string;
592
+ };
593
+ Insert: {
594
+ appliedRules?: Json;
595
+ assignedTo: string;
596
+ baseAmount?: number | null;
597
+ concept: string;
598
+ conceptNorm?: string | null;
599
+ createdAt?: string;
600
+ createdBy: string;
601
+ currency?: string;
602
+ editedBy?: string | null;
603
+ eventId?: string | null;
604
+ groupId: string;
605
+ id?: string;
606
+ note?: string | null;
607
+ paidAt?: string | null;
608
+ paidBy?: string | null;
609
+ paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
610
+ playerId?: string | null;
611
+ status: Database['public']['Enums']['group_payment_status'];
612
+ totalAmount?: number | null;
613
+ type: Database['public']['Enums']['group_payment_type'];
614
+ updatedAt?: string;
615
+ };
616
+ Update: {
617
+ appliedRules?: Json;
618
+ assignedTo?: string;
619
+ baseAmount?: number | null;
620
+ concept?: string;
621
+ conceptNorm?: string | null;
622
+ createdAt?: string;
623
+ createdBy?: string;
624
+ currency?: string;
625
+ editedBy?: string | null;
626
+ eventId?: string | null;
627
+ groupId?: string;
628
+ id?: string;
629
+ note?: string | null;
630
+ paidAt?: string | null;
631
+ paidBy?: string | null;
632
+ paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
633
+ playerId?: string | null;
634
+ status?: Database['public']['Enums']['group_payment_status'];
635
+ totalAmount?: number | null;
636
+ type?: Database['public']['Enums']['group_payment_type'];
637
+ updatedAt?: string;
638
+ };
639
+ Relationships: [];
640
+ };
641
+ group_payment_history: {
642
+ Row: {
643
+ action: Database['public']['Enums']['group_payment_history_action'];
644
+ changed_at: string;
645
+ changed_by: string;
646
+ id: string;
647
+ new_value: string | null;
648
+ old_value: string | null;
649
+ payment_id: string;
650
+ };
651
+ Insert: {
652
+ action: Database['public']['Enums']['group_payment_history_action'];
653
+ changed_at?: string;
654
+ changed_by: string;
655
+ id?: string;
656
+ new_value?: string | null;
657
+ old_value?: string | null;
658
+ payment_id: string;
659
+ };
660
+ Update: {
661
+ action?: Database['public']['Enums']['group_payment_history_action'];
662
+ changed_at?: string;
663
+ changed_by?: string;
664
+ id?: string;
665
+ new_value?: string | null;
666
+ old_value?: string | null;
667
+ payment_id?: string;
668
+ };
669
+ Relationships: [
670
+ {
671
+ foreignKeyName: 'group_payment_history_payment_id_fkey';
672
+ columns: ['payment_id'];
673
+ isOneToOne: false;
674
+ referencedRelation: 'group_payment';
675
+ referencedColumns: ['id'];
676
+ }
677
+ ];
678
+ };
679
+ offer: {
680
+ Row: {
681
+ applicants: Json;
682
+ applicantsIds: string[];
683
+ country: string;
684
+ createdAt: string;
685
+ createdBy: string;
686
+ createdOn: Database['public']['Enums']['created_on'];
687
+ deadlineAt: string | null;
688
+ deletedAt: string | null;
689
+ deletedBy: string | null;
690
+ description: string;
691
+ eventId: string | null;
692
+ groupId: string;
693
+ groupInfo: Json;
694
+ id: string;
695
+ instrument: string;
696
+ locality: string;
697
+ location: unknown;
698
+ location_lonlat: Database['public']['CompositeTypes']['lonlat'];
699
+ selectionClosedAt: string | null;
700
+ selectionClosedBy: string | null;
701
+ timezone: string;
702
+ title: string;
703
+ type: Database['public']['Enums']['offer_type'];
704
+ updatedAt: string;
705
+ updatedBy: string;
706
+ };
707
+ Insert: {
708
+ applicants: Json;
709
+ applicantsIds: string[];
710
+ country: string;
711
+ createdAt: string;
712
+ createdBy: string;
713
+ createdOn: Database['public']['Enums']['created_on'];
714
+ deadlineAt?: string | null;
715
+ deletedAt?: string | null;
716
+ deletedBy?: string | null;
717
+ description: string;
718
+ eventId?: string | null;
719
+ groupId: string;
720
+ groupInfo?: Json;
721
+ id: string;
722
+ instrument: string;
723
+ locality: string;
724
+ location: unknown;
725
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
726
+ selectionClosedAt?: string | null;
727
+ selectionClosedBy?: string | null;
728
+ timezone: string;
729
+ title: string;
730
+ type: Database['public']['Enums']['offer_type'];
731
+ updatedAt: string;
732
+ updatedBy: string;
733
+ };
734
+ Update: {
735
+ applicants?: Json;
736
+ applicantsIds?: string[];
737
+ country?: string;
738
+ createdAt?: string;
739
+ createdBy?: string;
740
+ createdOn?: Database['public']['Enums']['created_on'];
741
+ deadlineAt?: string | null;
742
+ deletedAt?: string | null;
743
+ deletedBy?: string | null;
744
+ description?: string;
745
+ eventId?: string | null;
746
+ groupId?: string;
747
+ groupInfo?: Json;
748
+ id?: string;
749
+ instrument?: string;
750
+ locality?: string;
751
+ location?: unknown;
752
+ location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
753
+ selectionClosedAt?: string | null;
754
+ selectionClosedBy?: string | null;
755
+ timezone?: string;
756
+ title?: string;
757
+ type?: Database['public']['Enums']['offer_type'];
758
+ updatedAt?: string;
759
+ updatedBy?: string;
760
+ };
761
+ Relationships: [
762
+ {
763
+ foreignKeyName: 'public_offer_eventId_fkey';
764
+ columns: ['eventId'];
765
+ isOneToOne: false;
766
+ referencedRelation: 'event';
767
+ referencedColumns: ['id'];
768
+ },
769
+ {
770
+ foreignKeyName: 'public_offer_groupId_fkey';
771
+ columns: ['groupId'];
772
+ isOneToOne: false;
773
+ referencedRelation: 'group';
774
+ referencedColumns: ['id'];
775
+ }
776
+ ];
777
+ };
778
+ offer_history: {
779
+ Row: {
780
+ action: string;
781
+ created_at: string;
782
+ group_id: string;
783
+ id: number;
784
+ offer_id: string;
785
+ prev_value: Json | null;
786
+ user_id: string;
787
+ value: Json | null;
788
+ };
789
+ Insert: {
790
+ action: string;
791
+ created_at: string;
792
+ group_id: string;
793
+ id?: number;
794
+ offer_id: string;
795
+ prev_value?: Json | null;
796
+ user_id: string;
797
+ value?: Json | null;
798
+ };
799
+ Update: {
800
+ action?: string;
801
+ created_at?: string;
802
+ group_id?: string;
803
+ id?: number;
804
+ offer_id?: string;
805
+ prev_value?: Json | null;
806
+ user_id?: string;
807
+ value?: Json | null;
808
+ };
809
+ Relationships: [];
810
+ };
811
+ partnership_communication: {
812
+ Row: {
813
+ attachments: Json;
814
+ createdAt: string;
815
+ deletedAt: string | null;
816
+ id: string;
817
+ imagesPath: string[];
818
+ imageURL: string | null;
819
+ message: Json;
820
+ messageHtml: string;
821
+ ownerId: string;
822
+ ownerName: string;
823
+ partnershipId: string;
824
+ recipients: string[];
825
+ recipientsCount: number;
826
+ scheduledAt: string | null;
827
+ status: Database['public']['Enums']['partnership_communication_status'];
828
+ title: string;
829
+ };
830
+ Insert: {
831
+ attachments?: Json;
832
+ createdAt?: string;
833
+ deletedAt?: string | null;
834
+ id?: string;
835
+ imagesPath?: string[];
836
+ imageURL?: string | null;
837
+ message?: Json;
838
+ messageHtml?: string;
839
+ ownerId: string;
840
+ ownerName: string;
841
+ partnershipId: string;
842
+ recipients?: string[];
843
+ recipientsCount?: number;
844
+ scheduledAt?: string | null;
845
+ status: Database['public']['Enums']['partnership_communication_status'];
846
+ title: string;
847
+ };
848
+ Update: {
849
+ attachments?: Json;
850
+ createdAt?: string;
851
+ deletedAt?: string | null;
852
+ id?: string;
853
+ imagesPath?: string[];
854
+ imageURL?: string | null;
855
+ message?: Json;
856
+ messageHtml?: string;
857
+ ownerId?: string;
858
+ ownerName?: string;
859
+ partnershipId?: string;
860
+ recipients?: string[];
861
+ recipientsCount?: number;
862
+ scheduledAt?: string | null;
863
+ status?: Database['public']['Enums']['partnership_communication_status'];
864
+ title?: string;
865
+ };
866
+ Relationships: [];
867
+ };
868
+ partnership_group: {
869
+ Row: {
870
+ groupId: string;
871
+ linkedAt: string;
872
+ linkedBy: string | null;
873
+ partnershipId: string;
874
+ };
875
+ Insert: {
876
+ groupId: string;
877
+ linkedAt?: string;
878
+ linkedBy?: string | null;
879
+ partnershipId: string;
880
+ };
881
+ Update: {
882
+ groupId?: string;
883
+ linkedAt?: string;
884
+ linkedBy?: string | null;
885
+ partnershipId?: string;
886
+ };
887
+ Relationships: [
888
+ {
889
+ foreignKeyName: 'partnership_group_group_id_fkey';
890
+ columns: ['groupId'];
891
+ isOneToOne: false;
892
+ referencedRelation: 'group';
893
+ referencedColumns: ['id'];
894
+ }
895
+ ];
896
+ };
897
+ partnership_partner: {
898
+ Row: {
899
+ acceptedAt: string | null;
900
+ acceptedBy: string | null;
901
+ acceptsCommunications: boolean;
902
+ address: Json | null;
903
+ birthDate: string | null;
904
+ createdAt: string;
905
+ createdBy: string;
906
+ customFields: Json;
907
+ deletedAt: string | null;
908
+ deletedBy: string | null;
909
+ editedBy: string | null;
910
+ email: string | null;
911
+ groupIds: string[];
912
+ id: string;
913
+ lastname: string;
914
+ name: string;
915
+ NIF: string | null;
916
+ partnerNumber: number;
917
+ partnershipId: string;
918
+ payerId: string | null;
919
+ paymentMethod: Database['public']['Enums']['partnership_payment_method'] | null;
920
+ phone: string | null;
921
+ photoURL: string;
922
+ sepaMandate: Json | null;
923
+ status: Database['public']['Enums']['partnership_partner_status'];
924
+ subscriptionIds: string[];
925
+ subscriptions: Json;
926
+ tagIds: string[];
927
+ updatedAt: string;
928
+ userId: string | null;
929
+ };
930
+ Insert: {
931
+ acceptedAt?: string | null;
932
+ acceptedBy?: string | null;
933
+ acceptsCommunications?: boolean;
934
+ address?: Json | null;
935
+ birthDate?: string | null;
936
+ createdAt?: string;
937
+ createdBy: string;
938
+ customFields?: Json;
939
+ deletedAt?: string | null;
940
+ deletedBy?: string | null;
941
+ editedBy?: string | null;
942
+ email?: string | null;
943
+ groupIds?: string[];
944
+ id?: string;
945
+ lastname?: string;
946
+ name: string;
947
+ NIF?: string | null;
948
+ partnerNumber: number;
949
+ partnershipId: string;
950
+ payerId?: string | null;
951
+ paymentMethod?:
952
+ | Database['public']['Enums']['partnership_payment_method']
953
+ | null;
954
+ phone?: string | null;
955
+ photoURL?: string;
956
+ sepaMandate?: Json | null;
957
+ status?: Database['public']['Enums']['partnership_partner_status'];
958
+ subscriptionIds?: string[];
959
+ subscriptions?: Json;
960
+ tagIds?: string[];
961
+ updatedAt?: string;
962
+ userId?: string | null;
963
+ };
964
+ Update: {
965
+ acceptedAt?: string | null;
966
+ acceptedBy?: string | null;
967
+ acceptsCommunications?: boolean;
968
+ address?: Json | null;
969
+ birthDate?: string | null;
970
+ createdAt?: string;
971
+ createdBy?: string;
972
+ customFields?: Json;
973
+ deletedAt?: string | null;
974
+ deletedBy?: string | null;
975
+ editedBy?: string | null;
976
+ email?: string | null;
977
+ groupIds?: string[];
978
+ id?: string;
979
+ lastname?: string;
980
+ name?: string;
981
+ NIF?: string | null;
982
+ partnerNumber?: number;
983
+ partnershipId?: string;
984
+ payerId?: string | null;
985
+ paymentMethod?:
986
+ | Database['public']['Enums']['partnership_payment_method']
987
+ | null;
988
+ phone?: string | null;
989
+ photoURL?: string;
990
+ sepaMandate?: Json | null;
991
+ status?: Database['public']['Enums']['partnership_partner_status'];
992
+ subscriptionIds?: string[];
993
+ subscriptions?: Json;
994
+ tagIds?: string[];
995
+ updatedAt?: string;
996
+ userId?: string | null;
997
+ };
998
+ Relationships: [
999
+ {
1000
+ foreignKeyName: 'partnership_partner_payer_id_fkey';
1001
+ columns: ['payerId'];
1002
+ isOneToOne: false;
1003
+ referencedRelation: 'partnership_partner';
1004
+ referencedColumns: ['id'];
1005
+ }
1006
+ ];
1007
+ };
1008
+ partnership_payment: {
1009
+ Row: {
1010
+ amount: number;
1011
+ createdAt: string;
1012
+ createdBy: string | null;
1013
+ dueDate: string;
1014
+ editedBy: string | null;
1015
+ id: string;
1016
+ partnerId: string;
1017
+ partnershipId: string;
1018
+ payerId: string | null;
1019
+ paymentMethod: Database['public']['Enums']['partnership_payment_method'] | null;
1020
+ receiptFilePath: string | null;
1021
+ sepaEndToEndId: string | null;
1022
+ sepaPaymentGroupId: string | null;
1023
+ status: Database['public']['Enums']['partnership_payment_status'];
1024
+ subscriptionId: string | null;
1025
+ title: string;
1026
+ updatedAt: string;
1027
+ };
1028
+ Insert: {
1029
+ amount: number;
1030
+ createdAt?: string;
1031
+ createdBy?: string | null;
1032
+ dueDate: string;
1033
+ editedBy?: string | null;
1034
+ id?: string;
1035
+ partnerId: string;
1036
+ partnershipId: string;
1037
+ payerId?: string | null;
1038
+ paymentMethod?:
1039
+ | Database['public']['Enums']['partnership_payment_method']
1040
+ | null;
1041
+ receiptFilePath?: string | null;
1042
+ sepaEndToEndId?: string | null;
1043
+ sepaPaymentGroupId?: string | null;
1044
+ status?: Database['public']['Enums']['partnership_payment_status'];
1045
+ subscriptionId?: string | null;
1046
+ title: string;
1047
+ updatedAt?: string;
1048
+ };
1049
+ Update: {
1050
+ amount?: number;
1051
+ createdAt?: string;
1052
+ createdBy?: string | null;
1053
+ dueDate?: string;
1054
+ editedBy?: string | null;
1055
+ id?: string;
1056
+ partnerId?: string;
1057
+ partnershipId?: string;
1058
+ payerId?: string | null;
1059
+ paymentMethod?:
1060
+ | Database['public']['Enums']['partnership_payment_method']
1061
+ | null;
1062
+ receiptFilePath?: string | null;
1063
+ sepaEndToEndId?: string | null;
1064
+ sepaPaymentGroupId?: string | null;
1065
+ status?: Database['public']['Enums']['partnership_payment_status'];
1066
+ subscriptionId?: string | null;
1067
+ title?: string;
1068
+ updatedAt?: string;
1069
+ };
1070
+ Relationships: [
1071
+ {
1072
+ foreignKeyName: 'partnership_payment_payer_id_fkey';
1073
+ columns: ['payerId'];
1074
+ isOneToOne: false;
1075
+ referencedRelation: 'partnership_partner';
1076
+ referencedColumns: ['id'];
1077
+ },
1078
+ {
1079
+ foreignKeyName: 'partnership_payment_sepa_group_id_fkey';
1080
+ columns: ['sepaPaymentGroupId'];
1081
+ isOneToOne: false;
1082
+ referencedRelation: 'partnership_sepa_payment_group';
1083
+ referencedColumns: ['id'];
1084
+ },
1085
+ {
1086
+ foreignKeyName: 'partnership_payment_subscription_id_fkey';
1087
+ columns: ['subscriptionId'];
1088
+ isOneToOne: false;
1089
+ referencedRelation: 'partnership_subscription';
1090
+ referencedColumns: ['id'];
1091
+ }
1092
+ ];
1093
+ };
1094
+ partnership_payment_history: {
1095
+ Row: {
1096
+ changed_at: string;
1097
+ changed_by: string;
1098
+ id: string;
1099
+ payment_id: string;
1100
+ status: Database['public']['Enums']['partnership_payment_status'];
1101
+ };
1102
+ Insert: {
1103
+ changed_at?: string;
1104
+ changed_by: string;
1105
+ id?: string;
1106
+ payment_id: string;
1107
+ status: Database['public']['Enums']['partnership_payment_status'];
1108
+ };
1109
+ Update: {
1110
+ changed_at?: string;
1111
+ changed_by?: string;
1112
+ id?: string;
1113
+ payment_id?: string;
1114
+ status?: Database['public']['Enums']['partnership_payment_status'];
1115
+ };
1116
+ Relationships: [
1117
+ {
1118
+ foreignKeyName: 'partnership_payment_history_payment_id_fkey';
1119
+ columns: ['payment_id'];
1120
+ isOneToOne: false;
1121
+ referencedRelation: 'partnership_payment';
1122
+ referencedColumns: ['id'];
1123
+ }
1124
+ ];
1125
+ };
1126
+ partnership_plan: {
1127
+ Row: {
1128
+ createdAt: string;
1129
+ createdBy: string;
1130
+ deletedAt: string | null;
1131
+ deletedBy: string | null;
1132
+ description: string;
1133
+ editedBy: string | null;
1134
+ id: string;
1135
+ name: string;
1136
+ partnershipId: string;
1137
+ price: number;
1138
+ schedule: Json;
1139
+ subscriptionsCount: number;
1140
+ updatedAt: string;
1141
+ };
1142
+ Insert: {
1143
+ createdAt?: string;
1144
+ createdBy: string;
1145
+ deletedAt?: string | null;
1146
+ deletedBy?: string | null;
1147
+ description?: string;
1148
+ editedBy?: string | null;
1149
+ id?: string;
1150
+ name: string;
1151
+ partnershipId: string;
1152
+ price: number;
1153
+ schedule: Json;
1154
+ subscriptionsCount?: number;
1155
+ updatedAt?: string;
1156
+ };
1157
+ Update: {
1158
+ createdAt?: string;
1159
+ createdBy?: string;
1160
+ deletedAt?: string | null;
1161
+ deletedBy?: string | null;
1162
+ description?: string;
1163
+ editedBy?: string | null;
1164
+ id?: string;
1165
+ name?: string;
1166
+ partnershipId?: string;
1167
+ price?: number;
1168
+ schedule?: Json;
1169
+ subscriptionsCount?: number;
1170
+ updatedAt?: string;
1171
+ };
1172
+ Relationships: [];
1173
+ };
1174
+ partnership_sepa_payment_group: {
1175
+ Row: {
1176
+ createdAt: string;
1177
+ createdBy: string;
1178
+ creditorInfo: Json;
1179
+ editedBy: string | null;
1180
+ filePath: string | null;
1181
+ id: string;
1182
+ partnershipId: string;
1183
+ paymentsIds: string[];
1184
+ updatedAt: string;
1185
+ };
1186
+ Insert: {
1187
+ createdAt?: string;
1188
+ createdBy: string;
1189
+ creditorInfo: Json;
1190
+ editedBy?: string | null;
1191
+ filePath?: string | null;
1192
+ id?: string;
1193
+ partnershipId: string;
1194
+ paymentsIds?: string[];
1195
+ updatedAt?: string;
1196
+ };
1197
+ Update: {
1198
+ createdAt?: string;
1199
+ createdBy?: string;
1200
+ creditorInfo?: Json;
1201
+ editedBy?: string | null;
1202
+ filePath?: string | null;
1203
+ id?: string;
1204
+ partnershipId?: string;
1205
+ paymentsIds?: string[];
1206
+ updatedAt?: string;
1207
+ };
1208
+ Relationships: [];
1209
+ };
1210
+ partnership_subscription: {
1211
+ Row: {
1212
+ createdAt: string;
1213
+ createdBy: string;
1214
+ deletedAt: string | null;
1215
+ deletedBy: string | null;
1216
+ editedBy: string | null;
1217
+ endDate: string | null;
1218
+ id: string;
1219
+ nextPaymentDate: string | null;
1220
+ partnerId: string;
1221
+ partnerInfo: Json;
1222
+ partnershipId: string;
1223
+ planId: string;
1224
+ planInfo: Json;
1225
+ updatedAt: string;
1226
+ };
1227
+ Insert: {
1228
+ createdAt?: string;
1229
+ createdBy: string;
1230
+ deletedAt?: string | null;
1231
+ deletedBy?: string | null;
1232
+ editedBy?: string | null;
1233
+ endDate?: string | null;
1234
+ id?: string;
1235
+ nextPaymentDate?: string | null;
1236
+ partnerId: string;
1237
+ partnerInfo: Json;
1238
+ partnershipId: string;
1239
+ planId: string;
1240
+ planInfo: Json;
1241
+ updatedAt?: string;
1242
+ };
1243
+ Update: {
1244
+ createdAt?: string;
1245
+ createdBy?: string;
1246
+ deletedAt?: string | null;
1247
+ deletedBy?: string | null;
1248
+ editedBy?: string | null;
1249
+ endDate?: string | null;
1250
+ id?: string;
1251
+ nextPaymentDate?: string | null;
1252
+ partnerId?: string;
1253
+ partnerInfo?: Json;
1254
+ partnershipId?: string;
1255
+ planId?: string;
1256
+ planInfo?: Json;
1257
+ updatedAt?: string;
1258
+ };
1259
+ Relationships: [
1260
+ {
1261
+ foreignKeyName: 'partnership_subscription_plan_id_fkey';
1262
+ columns: ['planId'];
1263
+ isOneToOne: false;
1264
+ referencedRelation: 'partnership_plan';
1265
+ referencedColumns: ['id'];
1266
+ }
1267
+ ];
1268
+ };
1269
+ repertoire: {
1270
+ Row: {
1271
+ compositor: string | null;
1272
+ created_at: string;
1273
+ events: string[];
1274
+ group_id: string;
1275
+ id: string;
1276
+ last_event_datetime: string | null;
1277
+ owner_id: string;
1278
+ tags: string[];
1279
+ title: string;
1280
+ visibility: string;
1281
+ };
1282
+ Insert: {
1283
+ compositor?: string | null;
1284
+ created_at?: string;
1285
+ events: string[];
1286
+ group_id: string;
1287
+ id: string;
1288
+ last_event_datetime?: string | null;
1289
+ owner_id: string;
1290
+ tags: string[];
1291
+ title: string;
1292
+ visibility: string;
1293
+ };
1294
+ Update: {
1295
+ compositor?: string | null;
1296
+ created_at?: string;
1297
+ events?: string[];
1298
+ group_id?: string;
1299
+ id?: string;
1300
+ last_event_datetime?: string | null;
1301
+ owner_id?: string;
1302
+ tags?: string[];
1303
+ title?: string;
1304
+ visibility?: string;
1305
+ };
1306
+ Relationships: [];
1307
+ };
1308
+ repertoire_history: {
1309
+ Row: {
1310
+ action: string;
1311
+ created_at: string;
1312
+ group_id: string;
1313
+ id: number;
1314
+ prev_value: Json | null;
1315
+ theme_id: string;
1316
+ user_id: string;
1317
+ value: Json | null;
1318
+ };
1319
+ Insert: {
1320
+ action: string;
1321
+ created_at: string;
1322
+ group_id: string;
1323
+ id?: number;
1324
+ prev_value?: Json | null;
1325
+ theme_id: string;
1326
+ user_id: string;
1327
+ value?: Json | null;
1328
+ };
1329
+ Update: {
1330
+ action?: string;
1331
+ created_at?: string;
1332
+ group_id?: string;
1333
+ id?: number;
1334
+ prev_value?: Json | null;
1335
+ theme_id?: string;
1336
+ user_id?: string;
1337
+ value?: Json | null;
1338
+ };
1339
+ Relationships: [];
1340
+ };
1341
+ user: {
1342
+ Row: {
1343
+ analyticsEnabled: boolean;
1344
+ appConfig: Json;
1345
+ createdAt: string | null;
1346
+ customerIds: string[];
1347
+ dashboardConfig: Json;
1348
+ deletedAt: string | null;
1349
+ description: string | null;
1350
+ devices: Json;
1351
+ displayName: string | null;
1352
+ email: string | null;
1353
+ emailSettings: Json;
1354
+ fakeUser: boolean;
1355
+ federationId: string | null;
1356
+ groupInvites: string[];
1357
+ groups: string[];
1358
+ groupsAdmin: string[];
1359
+ language: string | null;
1360
+ lastAppLoginAt: string | null;
1361
+ lastBiweeklyEmailAt: string | null;
1362
+ lastname: string | null;
1363
+ lastWebLoginAt: string | null;
1364
+ locality: string | null;
1365
+ name: string | null;
1366
+ notificationSettings: Json;
1367
+ partnershipIds: string[];
1368
+ photoURL: string | null;
1369
+ rawData: Json;
1370
+ role: string | null;
1371
+ updatedAt: string;
1372
+ userId: string;
1373
+ username: string | null;
1374
+ whatsNew: Json;
1375
+ };
1376
+ Insert: {
1377
+ analyticsEnabled?: boolean;
1378
+ appConfig?: Json;
1379
+ createdAt?: string | null;
1380
+ customerIds?: string[];
1381
+ dashboardConfig?: Json;
1382
+ deletedAt?: string | null;
1383
+ description?: string | null;
1384
+ devices?: Json;
1385
+ displayName?: string | null;
1386
+ email?: string | null;
1387
+ emailSettings?: Json;
1388
+ fakeUser?: boolean;
1389
+ federationId?: string | null;
1390
+ groupInvites?: string[];
1391
+ groups?: string[];
1392
+ groupsAdmin?: string[];
1393
+ language?: string | null;
1394
+ lastAppLoginAt?: string | null;
1395
+ lastBiweeklyEmailAt?: string | null;
1396
+ lastname?: string | null;
1397
+ lastWebLoginAt?: string | null;
1398
+ locality?: string | null;
1399
+ name?: string | null;
1400
+ notificationSettings?: Json;
1401
+ partnershipIds?: string[];
1402
+ photoURL?: string | null;
1403
+ rawData?: Json;
1404
+ role?: string | null;
1405
+ updatedAt?: string;
1406
+ userId: string;
1407
+ username?: string | null;
1408
+ whatsNew?: Json;
1409
+ };
1410
+ Update: {
1411
+ analyticsEnabled?: boolean;
1412
+ appConfig?: Json;
1413
+ createdAt?: string | null;
1414
+ customerIds?: string[];
1415
+ dashboardConfig?: Json;
1416
+ deletedAt?: string | null;
1417
+ description?: string | null;
1418
+ devices?: Json;
1419
+ displayName?: string | null;
1420
+ email?: string | null;
1421
+ emailSettings?: Json;
1422
+ fakeUser?: boolean;
1423
+ federationId?: string | null;
1424
+ groupInvites?: string[];
1425
+ groups?: string[];
1426
+ groupsAdmin?: string[];
1427
+ language?: string | null;
1428
+ lastAppLoginAt?: string | null;
1429
+ lastBiweeklyEmailAt?: string | null;
1430
+ lastname?: string | null;
1431
+ lastWebLoginAt?: string | null;
1432
+ locality?: string | null;
1433
+ name?: string | null;
1434
+ notificationSettings?: Json;
1435
+ partnershipIds?: string[];
1436
+ photoURL?: string | null;
1437
+ rawData?: Json;
1438
+ role?: string | null;
1439
+ updatedAt?: string;
1440
+ userId?: string;
1441
+ username?: string | null;
1442
+ whatsNew?: Json;
1443
+ };
1444
+ Relationships: [];
1445
+ };
1446
+ };
1447
+ Views: {
1448
+ [_ in never]: never;
1449
+ };
1450
+ Functions: {
1451
+ backfillEventDatetimeEnds: {
1452
+ Args: { p_apply?: boolean; p_events: Json };
1453
+ Returns: {
1454
+ changed: number;
1455
+ matched: number;
1456
+ mismatched: number;
1457
+ }[];
1458
+ };
1459
+ generate_partnership_recurring_payment: {
1460
+ Args: {
1461
+ p_amount: number;
1462
+ p_due_date: string;
1463
+ p_next_payment_date: string;
1464
+ p_partner_id: string;
1465
+ p_partnership_id: string;
1466
+ p_payer_id?: string;
1467
+ p_payment_method: Database['public']['Enums']['partnership_payment_method'];
1468
+ p_subscription_id: string;
1469
+ p_title: string;
1470
+ };
1471
+ Returns: {
1472
+ created: boolean;
1473
+ payment_id: string;
1474
+ }[];
1475
+ };
1476
+ getCalendarFeedEvents: {
1477
+ Args: {
1478
+ p_include_pending: boolean;
1479
+ p_include_tentative: boolean;
1480
+ p_range_end: string;
1481
+ p_range_start: string;
1482
+ p_user_id: string;
1483
+ };
1484
+ Returns: {
1485
+ allDay: boolean;
1486
+ description: string;
1487
+ endsAt: string;
1488
+ eventId: string;
1489
+ eventType: string;
1490
+ groupName: string;
1491
+ language: string;
1492
+ lastModified: string;
1493
+ latitude: number;
1494
+ location: string;
1495
+ longitude: number;
1496
+ participationStatus: string;
1497
+ sequence: number;
1498
+ startsAt: string;
1499
+ status: string;
1500
+ summary: string;
1501
+ timezone: string;
1502
+ url: string;
1503
+ }[];
1504
+ };
1505
+ immutable_unaccent: { Args: { '': string }; Returns: string };
1506
+ resolveCalendarFeed: {
1507
+ Args: { p_token_hash: string };
1508
+ Returns: {
1509
+ includePending: boolean;
1510
+ includeTentative: boolean;
1511
+ userId: string;
1512
+ }[];
1513
+ };
1514
+ show_limit: { Args: never; Returns: number };
1515
+ show_trgm: { Args: { '': string }; Returns: string[] };
1516
+ unaccent: { Args: { '': string }; Returns: string };
1517
+ };
1518
+ Enums: {
1519
+ created_on: 'app' | 'dashboard' | 'auth' | 'web';
1520
+ event_selection_mode: 'open' | 'closed';
1521
+ event_type: 'practice' | 'performance' | 'other';
1522
+ group_payment_history_action: 'status' | 'amount' | 'concept' | 'method';
1523
+ group_payment_method: 'cash' | 'transfer';
1524
+ group_payment_status: 'pending' | 'paid' | 'cancelled';
1525
+ group_payment_type: 'income' | 'expense';
1526
+ group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
1527
+ group_plan_period: 'yearly' | 'monthly';
1528
+ group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
1529
+ offer_type: 'group' | 'event';
1530
+ partnership_communication_status: 'sent' | 'scheduled';
1531
+ partnership_partner_status: 'active' | 'pending' | 'inactive';
1532
+ partnership_payment_method: 'CASH' | 'TRANSFER' | 'SEPA' | 'BIZUM';
1533
+ partnership_payment_status: 'pending' | 'charged' | 'returned' | 'canceled';
1534
+ social_network: 'facebook' | 'twitter' | 'instagram' | 'youtube';
1535
+ };
1536
+ CompositeTypes: {
1537
+ lonlat: {
1538
+ longitude: number | null;
1539
+ latitude: number | null;
1540
+ };
1541
+ };
1542
+ };
1543
+ };
1544
+
1545
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
1546
+
1547
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
1548
+
1549
+ export type Tables<
1550
+ DefaultSchemaTableNameOrOptions extends
1551
+ | keyof (DefaultSchema['Tables'] & DefaultSchema['Views'])
1552
+ | { schema: keyof DatabaseWithoutInternals },
1553
+ TableName extends DefaultSchemaTableNameOrOptions extends {
1554
+ schema: keyof DatabaseWithoutInternals;
1555
+ }
1556
+ ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] &
1557
+ DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])
1558
+ : never = never
1559
+ > = DefaultSchemaTableNameOrOptions extends {
1560
+ schema: keyof DatabaseWithoutInternals;
1561
+ }
1562
+ ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] &
1563
+ DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
1564
+ Row: infer R;
1565
+ }
1566
+ ? R
1567
+ : never
1568
+ : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] &
1569
+ DefaultSchema['Views'])
1570
+ ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
1571
+ Row: infer R;
1572
+ }
1573
+ ? R
1574
+ : never
1575
+ : never;
1576
+
1577
+ export type TablesInsert<
1578
+ DefaultSchemaTableNameOrOptions extends
1579
+ | keyof DefaultSchema['Tables']
1580
+ | { schema: keyof DatabaseWithoutInternals },
1581
+ TableName extends DefaultSchemaTableNameOrOptions extends {
1582
+ schema: keyof DatabaseWithoutInternals;
1583
+ }
1584
+ ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables']
1585
+ : never = never
1586
+ > = DefaultSchemaTableNameOrOptions extends {
1587
+ schema: keyof DatabaseWithoutInternals;
1588
+ }
1589
+ ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
1590
+ Insert: infer I;
1591
+ }
1592
+ ? I
1593
+ : never
1594
+ : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables']
1595
+ ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
1596
+ Insert: infer I;
1597
+ }
1598
+ ? I
1599
+ : never
1600
+ : never;
1601
+
1602
+ export type TablesUpdate<
1603
+ DefaultSchemaTableNameOrOptions extends
1604
+ | keyof DefaultSchema['Tables']
1605
+ | { schema: keyof DatabaseWithoutInternals },
1606
+ TableName extends DefaultSchemaTableNameOrOptions extends {
1607
+ schema: keyof DatabaseWithoutInternals;
1608
+ }
1609
+ ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables']
1610
+ : never = never
1611
+ > = DefaultSchemaTableNameOrOptions extends {
1612
+ schema: keyof DatabaseWithoutInternals;
1613
+ }
1614
+ ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
1615
+ Update: infer U;
1616
+ }
1617
+ ? U
1618
+ : never
1619
+ : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables']
1620
+ ? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
1621
+ Update: infer U;
1622
+ }
1623
+ ? U
1624
+ : never
1625
+ : never;
1626
+
1627
+ export type Enums<
1628
+ DefaultSchemaEnumNameOrOptions extends
1629
+ | keyof DefaultSchema['Enums']
1630
+ | { schema: keyof DatabaseWithoutInternals },
1631
+ EnumName extends DefaultSchemaEnumNameOrOptions extends {
1632
+ schema: keyof DatabaseWithoutInternals;
1633
+ }
1634
+ ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums']
1635
+ : never = never
1636
+ > = DefaultSchemaEnumNameOrOptions extends {
1637
+ schema: keyof DatabaseWithoutInternals;
1638
+ }
1639
+ ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums'][EnumName]
1640
+ : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema['Enums']
1641
+ ? DefaultSchema['Enums'][DefaultSchemaEnumNameOrOptions]
1642
+ : never;
1643
+
1644
+ export type CompositeTypes<
1645
+ PublicCompositeTypeNameOrOptions extends
1646
+ | keyof DefaultSchema['CompositeTypes']
1647
+ | { schema: keyof DatabaseWithoutInternals },
1648
+ CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
1649
+ schema: keyof DatabaseWithoutInternals;
1650
+ }
1651
+ ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes']
1652
+ : never = never
1653
+ > = PublicCompositeTypeNameOrOptions extends {
1654
+ schema: keyof DatabaseWithoutInternals;
1655
+ }
1656
+ ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'][CompositeTypeName]
1657
+ : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes']
1658
+ ? DefaultSchema['CompositeTypes'][PublicCompositeTypeNameOrOptions]
1659
+ : never;
1660
+
1661
+ export const Constants = {
1662
+ public: {
1663
+ Enums: {
1664
+ created_on: ['app', 'dashboard', 'auth', 'web'],
1665
+ event_selection_mode: ['open', 'closed'],
1666
+ event_type: ['practice', 'performance', 'other'],
1667
+ group_payment_history_action: ['status', 'amount', 'concept', 'method'],
1668
+ group_payment_method: ['cash', 'transfer'],
1669
+ group_payment_status: ['pending', 'paid', 'cancelled'],
1670
+ group_payment_type: ['income', 'expense'],
1671
+ group_plan: ['piano', 'mezzopiano', 'mezzoforte', 'forte', 'fortissimo', 'tutti'],
1672
+ group_plan_period: ['yearly', 'monthly'],
1673
+ group_status: ['premium', 'trial', 'inactive', 'deleted'],
1674
+ offer_type: ['group', 'event'],
1675
+ partnership_communication_status: ['sent', 'scheduled'],
1676
+ partnership_partner_status: ['active', 'pending', 'inactive'],
1677
+ partnership_payment_method: ['CASH', 'TRANSFER', 'SEPA', 'BIZUM'],
1678
+ partnership_payment_status: ['pending', 'charged', 'returned', 'canceled'],
1679
+ social_network: ['facebook', 'twitter', 'instagram', 'youtube'],
1680
+ },
1681
+ },
1682
+ } as const;