@sideline/domain 0.9.0 → 0.10.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 (191) hide show
  1. package/dist/cjs/api/AgeThresholdApi.js +7 -1
  2. package/dist/cjs/api/AgeThresholdApi.js.map +1 -1
  3. package/dist/cjs/api/Auth.js +9 -8
  4. package/dist/cjs/api/Auth.js.map +1 -1
  5. package/dist/cjs/api/EventApi.js +26 -23
  6. package/dist/cjs/api/EventApi.js.map +1 -1
  7. package/dist/cjs/api/EventRsvpApi.js +8 -8
  8. package/dist/cjs/api/EventRsvpApi.js.map +1 -1
  9. package/dist/cjs/api/EventSeriesApi.js +27 -24
  10. package/dist/cjs/api/EventSeriesApi.js.map +1 -1
  11. package/dist/cjs/api/GroupApi.js +22 -14
  12. package/dist/cjs/api/GroupApi.js.map +1 -1
  13. package/dist/cjs/api/ICalApi.js +25 -0
  14. package/dist/cjs/api/ICalApi.js.map +1 -0
  15. package/dist/cjs/api/RoleApi.js +11 -3
  16. package/dist/cjs/api/RoleApi.js.map +1 -1
  17. package/dist/cjs/api/Roster.js +10 -10
  18. package/dist/cjs/api/Roster.js.map +1 -1
  19. package/dist/cjs/api/TeamSettingsApi.js +13 -12
  20. package/dist/cjs/api/TeamSettingsApi.js.map +1 -1
  21. package/dist/cjs/api/TrainingTypeApi.js +17 -8
  22. package/dist/cjs/api/TrainingTypeApi.js.map +1 -1
  23. package/dist/cjs/index.js +5 -1
  24. package/dist/cjs/models/AgeThresholdRule.js +2 -2
  25. package/dist/cjs/models/AgeThresholdRule.js.map +1 -1
  26. package/dist/cjs/models/ChannelSyncEvent.js +5 -5
  27. package/dist/cjs/models/ChannelSyncEvent.js.map +1 -1
  28. package/dist/cjs/models/Event.js +5 -5
  29. package/dist/cjs/models/Event.js.map +1 -1
  30. package/dist/cjs/models/EventRsvp.js +1 -1
  31. package/dist/cjs/models/EventRsvp.js.map +1 -1
  32. package/dist/cjs/models/EventSeries.js +5 -5
  33. package/dist/cjs/models/EventSeries.js.map +1 -1
  34. package/dist/cjs/models/GroupModel.js +2 -2
  35. package/dist/cjs/models/GroupModel.js.map +1 -1
  36. package/dist/cjs/models/ICalToken.js +17 -0
  37. package/dist/cjs/models/ICalToken.js.map +1 -0
  38. package/dist/cjs/models/OAuthConnection.js +1 -1
  39. package/dist/cjs/models/OAuthConnection.js.map +1 -1
  40. package/dist/cjs/models/RoleSyncEvent.js +5 -5
  41. package/dist/cjs/models/RoleSyncEvent.js.map +1 -1
  42. package/dist/cjs/models/TeamInvite.js +1 -1
  43. package/dist/cjs/models/TeamInvite.js.map +1 -1
  44. package/dist/cjs/models/TeamMember.js +1 -1
  45. package/dist/cjs/models/TeamMember.js.map +1 -1
  46. package/dist/cjs/models/TrainingType.js +1 -1
  47. package/dist/cjs/models/TrainingType.js.map +1 -1
  48. package/dist/cjs/models/User.js +5 -4
  49. package/dist/cjs/models/User.js.map +1 -1
  50. package/dist/cjs/rpc/event/EventRpcEvents.js +14 -12
  51. package/dist/cjs/rpc/event/EventRpcEvents.js.map +1 -1
  52. package/dist/cjs/rpc/event/EventRpcGroup.js +15 -7
  53. package/dist/cjs/rpc/event/EventRpcGroup.js.map +1 -1
  54. package/dist/cjs/rpc/event/EventRpcModels.js +39 -16
  55. package/dist/cjs/rpc/event/EventRpcModels.js.map +1 -1
  56. package/dist/cjs/rpc/guild/GuildRpcGroup.js +3 -3
  57. package/dist/cjs/rpc/guild/GuildRpcGroup.js.map +1 -1
  58. package/dist/dts/api/AgeThresholdApi.d.ts +6 -1
  59. package/dist/dts/api/AgeThresholdApi.d.ts.map +1 -1
  60. package/dist/dts/api/Auth.d.ts +22 -21
  61. package/dist/dts/api/Auth.d.ts.map +1 -1
  62. package/dist/dts/api/EventApi.d.ts +69 -69
  63. package/dist/dts/api/EventApi.d.ts.map +1 -1
  64. package/dist/dts/api/EventRsvpApi.d.ts +24 -24
  65. package/dist/dts/api/EventSeriesApi.d.ts +72 -72
  66. package/dist/dts/api/EventSeriesApi.d.ts.map +1 -1
  67. package/dist/dts/api/GroupApi.d.ts +49 -44
  68. package/dist/dts/api/GroupApi.d.ts.map +1 -1
  69. package/dist/dts/api/ICalApi.d.ts +28 -0
  70. package/dist/dts/api/ICalApi.d.ts.map +1 -0
  71. package/dist/dts/api/RoleApi.d.ts +13 -8
  72. package/dist/dts/api/RoleApi.d.ts.map +1 -1
  73. package/dist/dts/api/Roster.d.ts +32 -32
  74. package/dist/dts/api/TeamSettingsApi.d.ts +36 -36
  75. package/dist/dts/api/TeamSettingsApi.d.ts.map +1 -1
  76. package/dist/dts/api/TrainingTypeApi.d.ts +28 -23
  77. package/dist/dts/api/TrainingTypeApi.d.ts.map +1 -1
  78. package/dist/dts/index.d.ts +2 -0
  79. package/dist/dts/index.d.ts.map +1 -1
  80. package/dist/dts/models/AgeThresholdRule.d.ts +22 -22
  81. package/dist/dts/models/ChannelSyncEvent.d.ts +55 -55
  82. package/dist/dts/models/Event.d.ts +55 -55
  83. package/dist/dts/models/EventRsvp.d.ts +11 -11
  84. package/dist/dts/models/EventSeries.d.ts +55 -55
  85. package/dist/dts/models/GroupModel.d.ts +22 -22
  86. package/dist/dts/models/ICalToken.d.ts +69 -0
  87. package/dist/dts/models/ICalToken.d.ts.map +1 -0
  88. package/dist/dts/models/OAuthConnection.d.ts +8 -8
  89. package/dist/dts/models/RoleSyncEvent.d.ts +55 -55
  90. package/dist/dts/models/TeamInvite.d.ts +11 -11
  91. package/dist/dts/models/TeamMember.d.ts +22 -22
  92. package/dist/dts/models/TrainingType.d.ts +11 -11
  93. package/dist/dts/models/User.d.ts +44 -44
  94. package/dist/dts/models/User.d.ts.map +1 -1
  95. package/dist/dts/rpc/SyncRpcs.d.ts +15 -11
  96. package/dist/dts/rpc/SyncRpcs.d.ts.map +1 -1
  97. package/dist/dts/rpc/event/EventRpcEvents.d.ts +12 -12
  98. package/dist/dts/rpc/event/EventRpcEvents.d.ts.map +1 -1
  99. package/dist/dts/rpc/event/EventRpcGroup.d.ts +13 -9
  100. package/dist/dts/rpc/event/EventRpcGroup.d.ts.map +1 -1
  101. package/dist/dts/rpc/event/EventRpcModels.d.ts +108 -45
  102. package/dist/dts/rpc/event/EventRpcModels.d.ts.map +1 -1
  103. package/dist/dts/rpc/guild/GuildRpcGroup.d.ts +3 -3
  104. package/dist/esm/api/AgeThresholdApi.js +5 -0
  105. package/dist/esm/api/AgeThresholdApi.js.map +1 -1
  106. package/dist/esm/api/Auth.js +8 -7
  107. package/dist/esm/api/Auth.js.map +1 -1
  108. package/dist/esm/api/EventApi.js +25 -23
  109. package/dist/esm/api/EventApi.js.map +1 -1
  110. package/dist/esm/api/EventRsvpApi.js +8 -8
  111. package/dist/esm/api/EventRsvpApi.js.map +1 -1
  112. package/dist/esm/api/EventSeriesApi.js +26 -24
  113. package/dist/esm/api/EventSeriesApi.js.map +1 -1
  114. package/dist/esm/api/GroupApi.js +20 -13
  115. package/dist/esm/api/GroupApi.js.map +1 -1
  116. package/dist/esm/api/ICalApi.js +16 -0
  117. package/dist/esm/api/ICalApi.js.map +1 -0
  118. package/dist/esm/api/RoleApi.js +9 -2
  119. package/dist/esm/api/RoleApi.js.map +1 -1
  120. package/dist/esm/api/Roster.js +10 -10
  121. package/dist/esm/api/Roster.js.map +1 -1
  122. package/dist/esm/api/TeamSettingsApi.js +13 -12
  123. package/dist/esm/api/TeamSettingsApi.js.map +1 -1
  124. package/dist/esm/api/TrainingTypeApi.js +15 -7
  125. package/dist/esm/api/TrainingTypeApi.js.map +1 -1
  126. package/dist/esm/index.js +2 -0
  127. package/dist/esm/index.js.map +1 -1
  128. package/dist/esm/models/AgeThresholdRule.js +2 -2
  129. package/dist/esm/models/AgeThresholdRule.js.map +1 -1
  130. package/dist/esm/models/ChannelSyncEvent.js +5 -5
  131. package/dist/esm/models/ChannelSyncEvent.js.map +1 -1
  132. package/dist/esm/models/Event.js +5 -5
  133. package/dist/esm/models/Event.js.map +1 -1
  134. package/dist/esm/models/EventRsvp.js +1 -1
  135. package/dist/esm/models/EventRsvp.js.map +1 -1
  136. package/dist/esm/models/EventSeries.js +5 -5
  137. package/dist/esm/models/EventSeries.js.map +1 -1
  138. package/dist/esm/models/GroupModel.js +2 -2
  139. package/dist/esm/models/GroupModel.js.map +1 -1
  140. package/dist/esm/models/ICalToken.js +10 -0
  141. package/dist/esm/models/ICalToken.js.map +1 -0
  142. package/dist/esm/models/OAuthConnection.js +1 -1
  143. package/dist/esm/models/OAuthConnection.js.map +1 -1
  144. package/dist/esm/models/RoleSyncEvent.js +5 -5
  145. package/dist/esm/models/RoleSyncEvent.js.map +1 -1
  146. package/dist/esm/models/TeamInvite.js +1 -1
  147. package/dist/esm/models/TeamInvite.js.map +1 -1
  148. package/dist/esm/models/TeamMember.js +1 -1
  149. package/dist/esm/models/TeamMember.js.map +1 -1
  150. package/dist/esm/models/TrainingType.js +1 -1
  151. package/dist/esm/models/TrainingType.js.map +1 -1
  152. package/dist/esm/models/User.js +5 -4
  153. package/dist/esm/models/User.js.map +1 -1
  154. package/dist/esm/rpc/event/EventRpcEvents.js +13 -12
  155. package/dist/esm/rpc/event/EventRpcEvents.js.map +1 -1
  156. package/dist/esm/rpc/event/EventRpcGroup.js +16 -8
  157. package/dist/esm/rpc/event/EventRpcGroup.js.map +1 -1
  158. package/dist/esm/rpc/event/EventRpcModels.js +34 -15
  159. package/dist/esm/rpc/event/EventRpcModels.js.map +1 -1
  160. package/dist/esm/rpc/guild/GuildRpcGroup.js +3 -3
  161. package/dist/esm/rpc/guild/GuildRpcGroup.js.map +1 -1
  162. package/package.json +2 -2
  163. package/src/api/AgeThresholdApi.ts +7 -0
  164. package/src/api/Auth.ts +8 -7
  165. package/src/api/EventApi.ts +27 -23
  166. package/src/api/EventRsvpApi.ts +8 -8
  167. package/src/api/EventSeriesApi.ts +28 -24
  168. package/src/api/GroupApi.ts +21 -13
  169. package/src/api/ICalApi.ts +32 -0
  170. package/src/api/RoleApi.ts +10 -2
  171. package/src/api/Roster.ts +10 -10
  172. package/src/api/TeamSettingsApi.ts +13 -12
  173. package/src/api/TrainingTypeApi.ts +16 -7
  174. package/src/index.ts +4 -0
  175. package/src/models/AgeThresholdRule.ts +2 -2
  176. package/src/models/ChannelSyncEvent.ts +5 -5
  177. package/src/models/Event.ts +5 -5
  178. package/src/models/EventRsvp.ts +1 -1
  179. package/src/models/EventSeries.ts +5 -5
  180. package/src/models/GroupModel.ts +2 -2
  181. package/src/models/ICalToken.ts +10 -0
  182. package/src/models/OAuthConnection.ts +1 -1
  183. package/src/models/RoleSyncEvent.ts +5 -5
  184. package/src/models/TeamInvite.ts +1 -1
  185. package/src/models/TeamMember.ts +1 -1
  186. package/src/models/TrainingType.ts +1 -1
  187. package/src/models/User.ts +5 -4
  188. package/src/rpc/event/EventRpcEvents.ts +13 -12
  189. package/src/rpc/event/EventRpcGroup.ts +18 -7
  190. package/src/rpc/event/EventRpcModels.ts +39 -15
  191. package/src/rpc/guild/GuildRpcGroup.ts +3 -3
@@ -9,14 +9,14 @@ export type EventStatus = typeof EventStatus.Type;
9
9
  declare const Event_base: import("@effect/experimental/VariantSchema").Class<Event, {
10
10
  readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventId">>;
11
11
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
12
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
12
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
13
13
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
14
14
  readonly title: typeof Schema.String;
15
- readonly description: Schema.NullOr<typeof Schema.String>;
15
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
16
16
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
17
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
18
- readonly location: Schema.NullOr<typeof Schema.String>;
19
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
17
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
18
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
19
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
20
20
  readonly series_modified: typeof Schema.Boolean;
21
21
  readonly status: import("@effect/experimental/VariantSchema").Field<{
22
22
  readonly select: Schema.Literal<["active", "cancelled"]>;
@@ -31,14 +31,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
31
31
  }, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
32
32
  readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventId">>;
33
33
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
34
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
34
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
35
35
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
36
36
  readonly title: typeof Schema.String;
37
- readonly description: Schema.NullOr<typeof Schema.String>;
37
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
38
38
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
39
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
40
- readonly location: Schema.NullOr<typeof Schema.String>;
41
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
39
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
40
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
41
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
42
42
  readonly series_modified: typeof Schema.Boolean;
43
43
  readonly status: import("@effect/experimental/VariantSchema").Field<{
44
44
  readonly select: Schema.Literal<["active", "cancelled"]>;
@@ -63,17 +63,17 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
63
63
  } & {
64
64
  readonly status: "active" | "cancelled";
65
65
  } & {
66
- readonly description: string | null;
66
+ readonly description: import("effect/Option").Option<string>;
67
67
  } & {
68
- readonly training_type_id: (string & import("effect/Brand").Brand<"TrainingTypeId">) | null;
68
+ readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
69
69
  } & {
70
- readonly location: string | null;
70
+ readonly location: import("effect/Option").Option<string>;
71
71
  } & {
72
72
  readonly title: string;
73
73
  } & {
74
- readonly end_at: import("effect/DateTime").Utc | null;
74
+ readonly end_at: import("effect/Option").Option<import("effect/DateTime").Utc>;
75
75
  } & {
76
- readonly series_id: (string & import("effect/Brand").Brand<"EventSeriesId">) | null;
76
+ readonly series_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"EventSeriesId">>;
77
77
  } & {
78
78
  readonly event_type: "other" | "match" | "training" | "tournament" | "meeting" | "social";
79
79
  } & {
@@ -83,14 +83,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
83
83
  }, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
84
84
  readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventId">>;
85
85
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
86
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
86
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
87
87
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
88
88
  readonly title: typeof Schema.String;
89
- readonly description: Schema.NullOr<typeof Schema.String>;
89
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
90
90
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
91
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
92
- readonly location: Schema.NullOr<typeof Schema.String>;
93
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
91
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
92
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
93
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
94
94
  readonly series_modified: typeof Schema.Boolean;
95
95
  readonly status: import("@effect/experimental/VariantSchema").Field<{
96
96
  readonly select: Schema.Literal<["active", "cancelled"]>;
@@ -115,17 +115,17 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
115
115
  } & {
116
116
  readonly status: "active" | "cancelled";
117
117
  } & {
118
- readonly description: string | null;
118
+ readonly description: import("effect/Option").Option<string>;
119
119
  } & {
120
- readonly training_type_id: (string & import("effect/Brand").Brand<"TrainingTypeId">) | null;
120
+ readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
121
121
  } & {
122
- readonly location: string | null;
122
+ readonly location: import("effect/Option").Option<string>;
123
123
  } & {
124
124
  readonly title: string;
125
125
  } & {
126
- readonly end_at: import("effect/DateTime").Utc | null;
126
+ readonly end_at: import("effect/Option").Option<import("effect/DateTime").Utc>;
127
127
  } & {
128
- readonly series_id: (string & import("effect/Brand").Brand<"EventSeriesId">) | null;
128
+ readonly series_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"EventSeriesId">>;
129
129
  } & {
130
130
  readonly event_type: "other" | "match" | "training" | "tournament" | "meeting" | "social";
131
131
  } & {
@@ -136,14 +136,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
136
136
  readonly select: Schema.Struct<{
137
137
  readonly id: Schema.brand<typeof Schema.String, "EventId">;
138
138
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
139
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
139
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
140
140
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
141
141
  readonly title: typeof Schema.String;
142
- readonly description: Schema.NullOr<typeof Schema.String>;
142
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
143
143
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
144
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
145
- readonly location: Schema.NullOr<typeof Schema.String>;
146
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
144
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
145
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
146
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
147
147
  readonly series_modified: typeof Schema.Boolean;
148
148
  readonly status: Schema.Literal<["active", "cancelled"]>;
149
149
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
@@ -152,14 +152,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
152
152
  }>;
153
153
  readonly insert: Schema.Struct<{
154
154
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
155
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
155
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
156
156
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
157
157
  readonly title: typeof Schema.String;
158
- readonly description: Schema.NullOr<typeof Schema.String>;
158
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
159
159
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
160
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
161
- readonly location: Schema.NullOr<typeof Schema.String>;
162
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
160
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
161
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
162
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
163
163
  readonly series_modified: typeof Schema.Boolean;
164
164
  readonly status: Schema.Literal<["active", "cancelled"]>;
165
165
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
@@ -169,14 +169,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
169
169
  readonly update: Schema.Struct<{
170
170
  readonly id: Schema.brand<typeof Schema.String, "EventId">;
171
171
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
172
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
172
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
173
173
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
174
174
  readonly title: typeof Schema.String;
175
- readonly description: Schema.NullOr<typeof Schema.String>;
175
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
176
176
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
177
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
178
- readonly location: Schema.NullOr<typeof Schema.String>;
179
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
177
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
178
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
179
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
180
180
  readonly series_modified: typeof Schema.Boolean;
181
181
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
182
182
  readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
@@ -184,14 +184,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
184
184
  readonly json: Schema.Struct<{
185
185
  readonly id: Schema.brand<typeof Schema.String, "EventId">;
186
186
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
187
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
187
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
188
188
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
189
189
  readonly title: typeof Schema.String;
190
- readonly description: Schema.NullOr<typeof Schema.String>;
190
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
191
191
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
192
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
193
- readonly location: Schema.NullOr<typeof Schema.String>;
194
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
192
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
193
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
194
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
195
195
  readonly series_modified: typeof Schema.Boolean;
196
196
  readonly status: Schema.Literal<["active", "cancelled"]>;
197
197
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
@@ -200,28 +200,28 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
200
200
  }>;
201
201
  readonly jsonCreate: Schema.Struct<{
202
202
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
203
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
203
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
204
204
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
205
205
  readonly title: typeof Schema.String;
206
- readonly description: Schema.NullOr<typeof Schema.String>;
206
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
207
207
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
208
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
209
- readonly location: Schema.NullOr<typeof Schema.String>;
210
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
208
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
209
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
210
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
211
211
  readonly series_modified: typeof Schema.Boolean;
212
212
  readonly status: Schema.Literal<["active", "cancelled"]>;
213
213
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
214
214
  }>;
215
215
  readonly jsonUpdate: Schema.Struct<{
216
216
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
217
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
217
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
218
218
  readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
219
219
  readonly title: typeof Schema.String;
220
- readonly description: Schema.NullOr<typeof Schema.String>;
220
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
221
221
  readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
222
- readonly end_at: Schema.NullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
223
- readonly location: Schema.NullOr<typeof Schema.String>;
224
- readonly series_id: Schema.NullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
222
+ readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
223
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
224
+ readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
225
225
  readonly series_modified: typeof Schema.Boolean;
226
226
  readonly status: Schema.Literal<["active", "cancelled"]>;
227
227
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
@@ -9,7 +9,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
9
9
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
10
10
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
11
11
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
12
- readonly message: Schema.NullOr<typeof Schema.String>;
12
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
13
13
  readonly created_at: Model.DateTimeInsertFromDate;
14
14
  readonly updated_at: Model.DateTimeUpdateFromDate;
15
15
  }, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
@@ -17,7 +17,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
17
17
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
18
18
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
19
19
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
20
- readonly message: Schema.NullOr<typeof Schema.String>;
20
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
21
21
  readonly created_at: Model.DateTimeInsertFromDate;
22
22
  readonly updated_at: Model.DateTimeUpdateFromDate;
23
23
  }, true>, {
@@ -27,7 +27,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
27
27
  } & {
28
28
  readonly updated_at: import("effect/DateTime").Utc;
29
29
  } & {
30
- readonly message: string | null;
30
+ readonly message: import("effect/Option").Option<string>;
31
31
  } & {
32
32
  readonly event_id: string & import("effect/Brand").Brand<"EventId">;
33
33
  } & {
@@ -39,7 +39,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
39
39
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
40
40
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
41
41
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
42
- readonly message: Schema.NullOr<typeof Schema.String>;
42
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
43
43
  readonly created_at: Model.DateTimeInsertFromDate;
44
44
  readonly updated_at: Model.DateTimeUpdateFromDate;
45
45
  }, true>>, never, {
@@ -49,7 +49,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
49
49
  } & {
50
50
  readonly updated_at: import("effect/DateTime").Utc;
51
51
  } & {
52
- readonly message: string | null;
52
+ readonly message: import("effect/Option").Option<string>;
53
53
  } & {
54
54
  readonly event_id: string & import("effect/Brand").Brand<"EventId">;
55
55
  } & {
@@ -62,7 +62,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
62
62
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
63
63
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
64
64
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
65
- readonly message: Schema.NullOr<typeof Schema.String>;
65
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
66
66
  readonly created_at: Model.DateTimeFromDate;
67
67
  readonly updated_at: Model.DateTimeFromDate;
68
68
  }>;
@@ -70,7 +70,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
70
70
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
71
71
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
72
72
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
73
- readonly message: Schema.NullOr<typeof Schema.String>;
73
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
74
74
  readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
75
75
  readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
76
76
  }>;
@@ -79,7 +79,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
79
79
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
80
80
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
81
81
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
82
- readonly message: Schema.NullOr<typeof Schema.String>;
82
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
83
83
  readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
84
84
  }>;
85
85
  readonly json: Schema.Struct<{
@@ -87,7 +87,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
87
87
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
88
88
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
89
89
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
90
- readonly message: Schema.NullOr<typeof Schema.String>;
90
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
91
91
  readonly created_at: typeof Schema.DateTimeUtc;
92
92
  readonly updated_at: typeof Schema.DateTimeUtc;
93
93
  }>;
@@ -95,13 +95,13 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
95
95
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
96
96
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
97
97
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
98
- readonly message: Schema.NullOr<typeof Schema.String>;
98
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
99
99
  }>;
100
100
  readonly jsonUpdate: Schema.Struct<{
101
101
  readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
102
102
  readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
103
103
  readonly response: Schema.Literal<["yes", "no", "maybe"]>;
104
- readonly message: Schema.NullOr<typeof Schema.String>;
104
+ readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
105
105
  }>;
106
106
  };
107
107
  export declare class EventRsvp extends EventRsvp_base {
@@ -13,16 +13,16 @@ export type EventSeriesStatus = typeof EventSeriesStatus.Type;
13
13
  declare const EventSeries_base: import("@effect/experimental/VariantSchema").Class<EventSeries, {
14
14
  readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
15
15
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
16
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
16
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
17
17
  readonly title: typeof Schema.String;
18
- readonly description: Schema.NullOr<typeof Schema.String>;
18
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
19
19
  readonly start_time: typeof Schema.String;
20
- readonly end_time: Schema.NullOr<typeof Schema.String>;
21
- readonly location: Schema.NullOr<typeof Schema.String>;
20
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
21
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
22
22
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
23
23
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
24
24
  readonly start_date: typeof Schema.DateFromSelf;
25
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
25
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
26
26
  readonly status: import("@effect/experimental/VariantSchema").Field<{
27
27
  readonly select: Schema.Literal<["active", "cancelled"]>;
28
28
  readonly insert: Schema.Literal<["active", "cancelled"]>;
@@ -36,16 +36,16 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
36
36
  }, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
37
37
  readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
38
38
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
39
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
39
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
40
40
  readonly title: typeof Schema.String;
41
- readonly description: Schema.NullOr<typeof Schema.String>;
41
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
42
42
  readonly start_time: typeof Schema.String;
43
- readonly end_time: Schema.NullOr<typeof Schema.String>;
44
- readonly location: Schema.NullOr<typeof Schema.String>;
43
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
44
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
45
45
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
46
46
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
47
47
  readonly start_date: typeof Schema.DateFromSelf;
48
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
48
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
49
49
  readonly status: import("@effect/experimental/VariantSchema").Field<{
50
50
  readonly select: Schema.Literal<["active", "cancelled"]>;
51
51
  readonly insert: Schema.Literal<["active", "cancelled"]>;
@@ -69,15 +69,15 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
69
69
  } & {
70
70
  readonly status: "active" | "cancelled";
71
71
  } & {
72
- readonly description: string | null;
72
+ readonly description: import("effect/Option").Option<string>;
73
73
  } & {
74
- readonly training_type_id: (string & import("effect/Brand").Brand<"TrainingTypeId">) | null;
74
+ readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
75
75
  } & {
76
- readonly end_time: string | null;
76
+ readonly end_time: import("effect/Option").Option<string>;
77
77
  } & {
78
- readonly location: string | null;
78
+ readonly location: import("effect/Option").Option<string>;
79
79
  } & {
80
- readonly end_date: Date | null;
80
+ readonly end_date: import("effect/Option").Option<Date>;
81
81
  } & {
82
82
  readonly title: string;
83
83
  } & {
@@ -91,16 +91,16 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
91
91
  }, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
92
92
  readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
93
93
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
94
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
94
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
95
95
  readonly title: typeof Schema.String;
96
- readonly description: Schema.NullOr<typeof Schema.String>;
96
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
97
97
  readonly start_time: typeof Schema.String;
98
- readonly end_time: Schema.NullOr<typeof Schema.String>;
99
- readonly location: Schema.NullOr<typeof Schema.String>;
98
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
99
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
100
100
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
101
101
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
102
102
  readonly start_date: typeof Schema.DateFromSelf;
103
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
103
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
104
104
  readonly status: import("@effect/experimental/VariantSchema").Field<{
105
105
  readonly select: Schema.Literal<["active", "cancelled"]>;
106
106
  readonly insert: Schema.Literal<["active", "cancelled"]>;
@@ -124,15 +124,15 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
124
124
  } & {
125
125
  readonly status: "active" | "cancelled";
126
126
  } & {
127
- readonly description: string | null;
127
+ readonly description: import("effect/Option").Option<string>;
128
128
  } & {
129
- readonly training_type_id: (string & import("effect/Brand").Brand<"TrainingTypeId">) | null;
129
+ readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
130
130
  } & {
131
- readonly end_time: string | null;
131
+ readonly end_time: import("effect/Option").Option<string>;
132
132
  } & {
133
- readonly location: string | null;
133
+ readonly location: import("effect/Option").Option<string>;
134
134
  } & {
135
- readonly end_date: Date | null;
135
+ readonly end_date: import("effect/Option").Option<Date>;
136
136
  } & {
137
137
  readonly title: string;
138
138
  } & {
@@ -147,16 +147,16 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
147
147
  readonly select: Schema.Struct<{
148
148
  readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
149
149
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
150
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
150
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
151
151
  readonly title: typeof Schema.String;
152
- readonly description: Schema.NullOr<typeof Schema.String>;
152
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
153
153
  readonly start_time: typeof Schema.String;
154
- readonly end_time: Schema.NullOr<typeof Schema.String>;
155
- readonly location: Schema.NullOr<typeof Schema.String>;
154
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
155
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
156
156
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
157
157
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
158
158
  readonly start_date: typeof Schema.DateFromSelf;
159
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
159
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
160
160
  readonly status: Schema.Literal<["active", "cancelled"]>;
161
161
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
162
162
  readonly created_at: Model.DateTimeFromDate;
@@ -164,16 +164,16 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
164
164
  }>;
165
165
  readonly insert: Schema.Struct<{
166
166
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
167
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
167
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
168
168
  readonly title: typeof Schema.String;
169
- readonly description: Schema.NullOr<typeof Schema.String>;
169
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
170
170
  readonly start_time: typeof Schema.String;
171
- readonly end_time: Schema.NullOr<typeof Schema.String>;
172
- readonly location: Schema.NullOr<typeof Schema.String>;
171
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
172
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
173
173
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
174
174
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
175
175
  readonly start_date: typeof Schema.DateFromSelf;
176
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
176
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
177
177
  readonly status: Schema.Literal<["active", "cancelled"]>;
178
178
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
179
179
  readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
@@ -182,32 +182,32 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
182
182
  readonly update: Schema.Struct<{
183
183
  readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
184
184
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
185
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
185
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
186
186
  readonly title: typeof Schema.String;
187
- readonly description: Schema.NullOr<typeof Schema.String>;
187
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
188
188
  readonly start_time: typeof Schema.String;
189
- readonly end_time: Schema.NullOr<typeof Schema.String>;
190
- readonly location: Schema.NullOr<typeof Schema.String>;
189
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
190
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
191
191
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
192
192
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
193
193
  readonly start_date: typeof Schema.DateFromSelf;
194
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
194
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
195
195
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
196
196
  readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
197
197
  }>;
198
198
  readonly json: Schema.Struct<{
199
199
  readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
200
200
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
201
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
201
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
202
202
  readonly title: typeof Schema.String;
203
- readonly description: Schema.NullOr<typeof Schema.String>;
203
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
204
204
  readonly start_time: typeof Schema.String;
205
- readonly end_time: Schema.NullOr<typeof Schema.String>;
206
- readonly location: Schema.NullOr<typeof Schema.String>;
205
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
206
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
207
207
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
208
208
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
209
209
  readonly start_date: typeof Schema.DateFromSelf;
210
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
210
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
211
211
  readonly status: Schema.Literal<["active", "cancelled"]>;
212
212
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
213
213
  readonly created_at: typeof Schema.DateTimeUtc;
@@ -215,31 +215,31 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
215
215
  }>;
216
216
  readonly jsonCreate: Schema.Struct<{
217
217
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
218
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
218
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
219
219
  readonly title: typeof Schema.String;
220
- readonly description: Schema.NullOr<typeof Schema.String>;
220
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
221
221
  readonly start_time: typeof Schema.String;
222
- readonly end_time: Schema.NullOr<typeof Schema.String>;
223
- readonly location: Schema.NullOr<typeof Schema.String>;
222
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
223
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
224
224
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
225
225
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
226
226
  readonly start_date: typeof Schema.DateFromSelf;
227
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
227
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
228
228
  readonly status: Schema.Literal<["active", "cancelled"]>;
229
229
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
230
230
  }>;
231
231
  readonly jsonUpdate: Schema.Struct<{
232
232
  readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
233
- readonly training_type_id: Schema.NullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
233
+ readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
234
234
  readonly title: typeof Schema.String;
235
- readonly description: Schema.NullOr<typeof Schema.String>;
235
+ readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
236
236
  readonly start_time: typeof Schema.String;
237
- readonly end_time: Schema.NullOr<typeof Schema.String>;
238
- readonly location: Schema.NullOr<typeof Schema.String>;
237
+ readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
238
+ readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
239
239
  readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
240
240
  readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
241
241
  readonly start_date: typeof Schema.DateFromSelf;
242
- readonly end_date: Schema.NullOr<typeof Schema.DateFromSelf>;
242
+ readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
243
243
  readonly status: Schema.Literal<["active", "cancelled"]>;
244
244
  readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
245
245
  }>;