@livdot-tech/contracts 1.11.26 → 1.11.28

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 (76) hide show
  1. package/dist/auth/index.d.mts +51 -10
  2. package/dist/auth/index.d.ts +51 -10
  3. package/dist/auth/index.js +1 -1
  4. package/dist/auth/index.mjs +1 -1
  5. package/dist/{chunk-J7KH6FYN.js → chunk-2RR5GZKF.js} +2 -2
  6. package/dist/{chunk-J7KH6FYN.js.map → chunk-2RR5GZKF.js.map} +1 -1
  7. package/dist/{chunk-MMROBRAM.js → chunk-4GW5RNUF.js} +2 -2
  8. package/dist/{chunk-MAKIYFAD.mjs.map → chunk-4GW5RNUF.js.map} +1 -1
  9. package/dist/{chunk-HTPPIZBE.mjs → chunk-4ZFS4BO5.mjs} +2 -2
  10. package/dist/{chunk-HTPPIZBE.mjs.map → chunk-4ZFS4BO5.mjs.map} +1 -1
  11. package/dist/{chunk-EWAVQV4Y.mjs → chunk-6RLSSV2J.mjs} +2 -2
  12. package/dist/{chunk-EWAVQV4Y.mjs.map → chunk-6RLSSV2J.mjs.map} +1 -1
  13. package/dist/{chunk-GC3S2VCJ.js → chunk-AMJTIN7U.js} +2 -2
  14. package/dist/{chunk-GC3S2VCJ.js.map → chunk-AMJTIN7U.js.map} +1 -1
  15. package/dist/chunk-CBL6SUWX.mjs +2 -0
  16. package/dist/chunk-CBL6SUWX.mjs.map +1 -0
  17. package/dist/chunk-HRVNQI2I.js +2 -0
  18. package/dist/chunk-HRVNQI2I.js.map +1 -0
  19. package/dist/chunk-HTK4LWKI.mjs +2 -0
  20. package/dist/chunk-HTK4LWKI.mjs.map +1 -0
  21. package/dist/chunk-I3Y2U4YV.js +2 -0
  22. package/dist/chunk-I3Y2U4YV.js.map +1 -0
  23. package/dist/chunk-RV53QWOB.js +2 -0
  24. package/dist/chunk-RV53QWOB.js.map +1 -0
  25. package/dist/chunk-RZS4REHX.mjs +2 -0
  26. package/dist/chunk-RZS4REHX.mjs.map +1 -0
  27. package/dist/chunk-SO4VWNZU.js +2 -0
  28. package/dist/chunk-SO4VWNZU.js.map +1 -0
  29. package/dist/chunk-T3A4OTCN.mjs +2 -0
  30. package/dist/chunk-T3A4OTCN.mjs.map +1 -0
  31. package/dist/{chunk-MAKIYFAD.mjs → chunk-XXDKKJEP.mjs} +2 -2
  32. package/dist/chunk-XXDKKJEP.mjs.map +1 -0
  33. package/dist/dispute/index.d.mts +118 -5
  34. package/dist/dispute/index.d.ts +118 -5
  35. package/dist/dispute/index.js +1 -1
  36. package/dist/dispute/index.mjs +1 -1
  37. package/dist/event/index.js +1 -1
  38. package/dist/event/index.mjs +1 -1
  39. package/dist/host/index.js +1 -1
  40. package/dist/host/index.mjs +1 -1
  41. package/dist/index.d.mts +3 -3
  42. package/dist/index.d.ts +3 -3
  43. package/dist/index.js +1 -1
  44. package/dist/index.mjs +1 -1
  45. package/dist/marketplace/index.d.mts +18 -0
  46. package/dist/marketplace/index.d.ts +18 -0
  47. package/dist/marketplace/index.js +1 -1
  48. package/dist/marketplace/index.mjs +1 -1
  49. package/dist/notification/index.js +1 -1
  50. package/dist/notification/index.mjs +1 -1
  51. package/dist/payment/index.d.mts +8 -3
  52. package/dist/payment/index.d.ts +8 -3
  53. package/dist/payment/index.js +1 -1
  54. package/dist/payment/index.mjs +1 -1
  55. package/dist/user/index.d.mts +26 -1
  56. package/dist/user/index.d.ts +26 -1
  57. package/dist/user/index.js +1 -1
  58. package/dist/user/index.mjs +1 -1
  59. package/package.json +1 -1
  60. package/dist/chunk-5BJU6AZT.mjs +0 -2
  61. package/dist/chunk-5BJU6AZT.mjs.map +0 -1
  62. package/dist/chunk-CTFMAZYM.mjs +0 -2
  63. package/dist/chunk-CTFMAZYM.mjs.map +0 -1
  64. package/dist/chunk-FRKIW4XY.mjs +0 -2
  65. package/dist/chunk-FRKIW4XY.mjs.map +0 -1
  66. package/dist/chunk-JC552E6N.js +0 -2
  67. package/dist/chunk-JC552E6N.js.map +0 -1
  68. package/dist/chunk-MMROBRAM.js.map +0 -1
  69. package/dist/chunk-P3PKA6IF.js +0 -2
  70. package/dist/chunk-P3PKA6IF.js.map +0 -1
  71. package/dist/chunk-QZMRMFXE.js +0 -2
  72. package/dist/chunk-QZMRMFXE.js.map +0 -1
  73. package/dist/chunk-WMEFCQGU.js +0 -2
  74. package/dist/chunk-WMEFCQGU.js.map +0 -1
  75. package/dist/chunk-Z7RBWA2B.mjs +0 -2
  76. package/dist/chunk-Z7RBWA2B.mjs.map +0 -1
@@ -208,13 +208,6 @@ declare const OauthLinkCompleteEmailRequestSchema: z.ZodObject<{
208
208
  linkHandoff: z.ZodString;
209
209
  email: z.ZodEmail;
210
210
  }, z.core.$strip>;
211
- declare const ConfirmPasswordSchema: z.ZodObject<{
212
- password: z.ZodString;
213
- }, z.core.$strip>;
214
- declare const ReauthTokenResponseSchema: z.ZodObject<{
215
- reauthToken: z.ZodString;
216
- expiresAt: z.ZodISODateTime;
217
- }, z.core.$strip>;
218
211
 
219
212
  type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
220
213
  type LoginRequest = z.infer<typeof LoginRequestSchema>;
@@ -237,8 +230,6 @@ type OauthLinkSendOtpResponse = z.infer<typeof OauthLinkSendOtpResponseSchema>;
237
230
  type ProvidersListResponse = z.infer<typeof ProvidersListResponseSchema>;
238
231
  type ProvidersListItem = z.infer<typeof ProvidersListItemSchema>;
239
232
  type OauthLinkCompleteEmailRequest = z.infer<typeof OauthLinkCompleteEmailRequestSchema>;
240
- type ConfirmPassword = z.infer<typeof ConfirmPasswordSchema>;
241
- type ReauthTokenResponse = z.infer<typeof ReauthTokenResponseSchema>;
242
233
  type SwitchProfileRequest = z.infer<typeof SwitchProfileRequestSchema>;
243
234
  type SwitchProfileResponse = z.infer<typeof SwitchProfileResponseSchema>;
244
235
 
@@ -301,4 +292,54 @@ type MfaVerifyBody = z$1.infer<typeof MfaVerifyBodySchema>;
301
292
  type TotpCode = z$1.infer<typeof TotpCodeSchema>;
302
293
  type RecoveryCode = z$1.infer<typeof RecoveryCodeSchema>;
303
294
 
304
- export { type ChangePasswordRequest, ChangePasswordRequestSchema, type ConfirmPassword, ConfirmPasswordSchema, type DisableMfaBody, DisableMfaBodySchema, type EnableMfaBody, EnableMfaBodySchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, MFA_ACTIONS, type MfaAction, type MfaChallengeBody, MfaChallengeBodySchema, type MfaVerifyBody, MfaVerifyBodySchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, PasswordSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, type ReauthTokenResponse, ReauthTokenResponseSchema, type RecoveryCode, RecoveryCodeSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type SwitchProfileRequest, SwitchProfileRequestSchema, type SwitchProfileResponse, SwitchProfileResponseSchema, type TotpCode, TotpCodeSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
295
+ /**
296
+ * Actions that require step-up reauth (a fresh PIN confirmation) before
297
+ * they can be executed. Each protected endpoint on the backend declares
298
+ * its action via `@ReauthRequired(...)`; the FE mints an action-scoped
299
+ * token through `POST /auth/confirm-pin` and passes it in the
300
+ * `X-Reauth-Token` header.
301
+ *
302
+ * Tokens are single-use, TTL-bounded (5 min), and scoped — a token
303
+ * issued for `WITHDRAW` will 401 if replayed against `END_LIVE`.
304
+ */
305
+ declare const REAUTH_ACTIONS: {
306
+ readonly END_LIVE: "END_LIVE";
307
+ readonly CANCEL_EVENT: "CANCEL_EVENT";
308
+ readonly WITHDRAW: "WITHDRAW";
309
+ readonly FUND_ESCROW: "FUND_ESCROW";
310
+ };
311
+ type ReauthAction = (typeof REAUTH_ACTIONS)[keyof typeof REAUTH_ACTIONS];
312
+
313
+ /**
314
+ * `POST /auth/confirm-pin` body. Regex matches the digit-string PIN
315
+ * format enforced when the PIN was first set (`POST /users/pin`).
316
+ */
317
+ declare const ConfirmPinSchema: z.ZodObject<{
318
+ pin: z.ZodString;
319
+ action: z.ZodEnum<{
320
+ readonly END_LIVE: "END_LIVE";
321
+ readonly CANCEL_EVENT: "CANCEL_EVENT";
322
+ readonly WITHDRAW: "WITHDRAW";
323
+ readonly FUND_ESCROW: "FUND_ESCROW";
324
+ }>;
325
+ }, z.core.$strip>;
326
+ /**
327
+ * `POST /auth/confirm-pin` response. The `reauthToken` is presented via
328
+ * `X-Reauth-Token` on the subsequent destructive request; single-use,
329
+ * scoped to `action`.
330
+ */
331
+ declare const ReauthTokenResponseSchema: z.ZodObject<{
332
+ reauthToken: z.ZodString;
333
+ action: z.ZodEnum<{
334
+ readonly END_LIVE: "END_LIVE";
335
+ readonly CANCEL_EVENT: "CANCEL_EVENT";
336
+ readonly WITHDRAW: "WITHDRAW";
337
+ readonly FUND_ESCROW: "FUND_ESCROW";
338
+ }>;
339
+ expiresAt: z.ZodISODateTime;
340
+ }, z.core.$strip>;
341
+
342
+ type ConfirmPin = z$1.infer<typeof ConfirmPinSchema>;
343
+ type ReauthTokenResponse = z$1.infer<typeof ReauthTokenResponseSchema>;
344
+
345
+ export { type ChangePasswordRequest, ChangePasswordRequestSchema, type ConfirmPin, ConfirmPinSchema, type DisableMfaBody, DisableMfaBodySchema, type EnableMfaBody, EnableMfaBodySchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, MFA_ACTIONS, type MfaAction, type MfaChallengeBody, MfaChallengeBodySchema, type MfaVerifyBody, MfaVerifyBodySchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, PasswordSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, REAUTH_ACTIONS, type ReauthAction, type ReauthTokenResponse, ReauthTokenResponseSchema, type RecoveryCode, RecoveryCodeSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type SwitchProfileRequest, SwitchProfileRequestSchema, type SwitchProfileResponse, SwitchProfileResponseSchema, type TotpCode, TotpCodeSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
@@ -208,13 +208,6 @@ declare const OauthLinkCompleteEmailRequestSchema: z.ZodObject<{
208
208
  linkHandoff: z.ZodString;
209
209
  email: z.ZodEmail;
210
210
  }, z.core.$strip>;
211
- declare const ConfirmPasswordSchema: z.ZodObject<{
212
- password: z.ZodString;
213
- }, z.core.$strip>;
214
- declare const ReauthTokenResponseSchema: z.ZodObject<{
215
- reauthToken: z.ZodString;
216
- expiresAt: z.ZodISODateTime;
217
- }, z.core.$strip>;
218
211
 
219
212
  type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
220
213
  type LoginRequest = z.infer<typeof LoginRequestSchema>;
@@ -237,8 +230,6 @@ type OauthLinkSendOtpResponse = z.infer<typeof OauthLinkSendOtpResponseSchema>;
237
230
  type ProvidersListResponse = z.infer<typeof ProvidersListResponseSchema>;
238
231
  type ProvidersListItem = z.infer<typeof ProvidersListItemSchema>;
239
232
  type OauthLinkCompleteEmailRequest = z.infer<typeof OauthLinkCompleteEmailRequestSchema>;
240
- type ConfirmPassword = z.infer<typeof ConfirmPasswordSchema>;
241
- type ReauthTokenResponse = z.infer<typeof ReauthTokenResponseSchema>;
242
233
  type SwitchProfileRequest = z.infer<typeof SwitchProfileRequestSchema>;
243
234
  type SwitchProfileResponse = z.infer<typeof SwitchProfileResponseSchema>;
244
235
 
@@ -301,4 +292,54 @@ type MfaVerifyBody = z$1.infer<typeof MfaVerifyBodySchema>;
301
292
  type TotpCode = z$1.infer<typeof TotpCodeSchema>;
302
293
  type RecoveryCode = z$1.infer<typeof RecoveryCodeSchema>;
303
294
 
304
- export { type ChangePasswordRequest, ChangePasswordRequestSchema, type ConfirmPassword, ConfirmPasswordSchema, type DisableMfaBody, DisableMfaBodySchema, type EnableMfaBody, EnableMfaBodySchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, MFA_ACTIONS, type MfaAction, type MfaChallengeBody, MfaChallengeBodySchema, type MfaVerifyBody, MfaVerifyBodySchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, PasswordSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, type ReauthTokenResponse, ReauthTokenResponseSchema, type RecoveryCode, RecoveryCodeSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type SwitchProfileRequest, SwitchProfileRequestSchema, type SwitchProfileResponse, SwitchProfileResponseSchema, type TotpCode, TotpCodeSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
295
+ /**
296
+ * Actions that require step-up reauth (a fresh PIN confirmation) before
297
+ * they can be executed. Each protected endpoint on the backend declares
298
+ * its action via `@ReauthRequired(...)`; the FE mints an action-scoped
299
+ * token through `POST /auth/confirm-pin` and passes it in the
300
+ * `X-Reauth-Token` header.
301
+ *
302
+ * Tokens are single-use, TTL-bounded (5 min), and scoped — a token
303
+ * issued for `WITHDRAW` will 401 if replayed against `END_LIVE`.
304
+ */
305
+ declare const REAUTH_ACTIONS: {
306
+ readonly END_LIVE: "END_LIVE";
307
+ readonly CANCEL_EVENT: "CANCEL_EVENT";
308
+ readonly WITHDRAW: "WITHDRAW";
309
+ readonly FUND_ESCROW: "FUND_ESCROW";
310
+ };
311
+ type ReauthAction = (typeof REAUTH_ACTIONS)[keyof typeof REAUTH_ACTIONS];
312
+
313
+ /**
314
+ * `POST /auth/confirm-pin` body. Regex matches the digit-string PIN
315
+ * format enforced when the PIN was first set (`POST /users/pin`).
316
+ */
317
+ declare const ConfirmPinSchema: z.ZodObject<{
318
+ pin: z.ZodString;
319
+ action: z.ZodEnum<{
320
+ readonly END_LIVE: "END_LIVE";
321
+ readonly CANCEL_EVENT: "CANCEL_EVENT";
322
+ readonly WITHDRAW: "WITHDRAW";
323
+ readonly FUND_ESCROW: "FUND_ESCROW";
324
+ }>;
325
+ }, z.core.$strip>;
326
+ /**
327
+ * `POST /auth/confirm-pin` response. The `reauthToken` is presented via
328
+ * `X-Reauth-Token` on the subsequent destructive request; single-use,
329
+ * scoped to `action`.
330
+ */
331
+ declare const ReauthTokenResponseSchema: z.ZodObject<{
332
+ reauthToken: z.ZodString;
333
+ action: z.ZodEnum<{
334
+ readonly END_LIVE: "END_LIVE";
335
+ readonly CANCEL_EVENT: "CANCEL_EVENT";
336
+ readonly WITHDRAW: "WITHDRAW";
337
+ readonly FUND_ESCROW: "FUND_ESCROW";
338
+ }>;
339
+ expiresAt: z.ZodISODateTime;
340
+ }, z.core.$strip>;
341
+
342
+ type ConfirmPin = z$1.infer<typeof ConfirmPinSchema>;
343
+ type ReauthTokenResponse = z$1.infer<typeof ReauthTokenResponseSchema>;
344
+
345
+ export { type ChangePasswordRequest, ChangePasswordRequestSchema, type ConfirmPin, ConfirmPinSchema, type DisableMfaBody, DisableMfaBodySchema, type EnableMfaBody, EnableMfaBodySchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, MFA_ACTIONS, type MfaAction, type MfaChallengeBody, MfaChallengeBodySchema, type MfaVerifyBody, MfaVerifyBodySchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, PasswordSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, REAUTH_ACTIONS, type ReauthAction, type ReauthTokenResponse, ReauthTokenResponseSchema, type RecoveryCode, RecoveryCodeSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type SwitchProfileRequest, SwitchProfileRequestSchema, type SwitchProfileResponse, SwitchProfileResponseSchema, type TotpCode, TotpCodeSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkWMEFCQGU_js=require('../chunk-WMEFCQGU.js');require('../chunk-JC552E6N.js'),require('../chunk-QZMRMFXE.js'),require('../chunk-72SD46VJ.js'),require('../chunk-MMROBRAM.js'),require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkWMEFCQGU_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkWMEFCQGU_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkWMEFCQGU_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkWMEFCQGU_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.j}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkHRVNQI2I_js=require('../chunk-HRVNQI2I.js');require('../chunk-I3Y2U4YV.js'),require('../chunk-RV53QWOB.js'),require('../chunk-72SD46VJ.js'),require('../chunk-4GW5RNUF.js'),require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.s}});Object.defineProperty(exports,"ConfirmPinSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.M}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.I}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.H}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkHRVNQI2I_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkHRVNQI2I_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkHRVNQI2I_js.E}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.J}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.K}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkHRVNQI2I_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.C}});Object.defineProperty(exports,"REAUTH_ACTIONS",{enumerable:true,get:function(){return chunkHRVNQI2I_js.L}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.N}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.G}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.F}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkHRVNQI2I_js.j}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{s as ChangePasswordRequestSchema,E as ConfirmPasswordSchema,K as DisableMfaBodySchema,J as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,G as MFA_ACTIONS,L as MfaChallengeBodySchema,M as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,F as ReauthTokenResponseSchema,I as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,H as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-CTFMAZYM.mjs';import'../chunk-Z7RBWA2B.mjs';import'../chunk-5BJU6AZT.mjs';import'../chunk-IIVGG46P.mjs';import'../chunk-MAKIYFAD.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{s as ChangePasswordRequestSchema,M as ConfirmPinSchema,I as DisableMfaBodySchema,H as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,E as MFA_ACTIONS,J as MfaChallengeBodySchema,K as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,L as REAUTH_ACTIONS,N as ReauthTokenResponseSchema,G as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,F as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-RZS4REHX.mjs';import'../chunk-T3A4OTCN.mjs';import'../chunk-HTK4LWKI.mjs';import'../chunk-IIVGG46P.mjs';import'../chunk-XXDKKJEP.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkQZMRMFXE_js=require('./chunk-QZMRMFXE.js'),chunkO3GYEMUB_js=require('./chunk-O3GYEMUB.js'),zod=require('zod');var n={LOW:"LOW",NORMAL:"NORMAL",HIGH:"HIGH",URGENT:"URGENT"},N={IN_APP:"IN_APP",EMAIL:"EMAIL",SMS:"SMS",PUSH:"PUSH"},r={BOOKING_REQUESTED:"BOOKING_REQUESTED",BOOKING_ACCEPTED:"BOOKING_ACCEPTED",BOOKING_REJECTED:"BOOKING_REJECTED",BOOKING_CONFIRMED:"BOOKING_CONFIRMED",BOOKING_CANCELLED:"BOOKING_CANCELLED",BOOKING_COMPLETED:"BOOKING_COMPLETED",PAYMENT_FAILED:"PAYMENT_FAILED",PAYMENT_RECEIVED:"PAYMENT_RECEIVED",PAYOUT_PROCESSED:"PAYOUT_PROCESSED",EVENT_GOING_LIVE:"EVENT_GOING_LIVE",EVENT_CANCELLED:"EVENT_CANCELLED",ENTITLEMENT_WITHDRAWN:"ENTITLEMENT_WITHDRAWN",DISPUTE_OPENED:"DISPUTE_OPENED",DISPUTE_RESOLVED:"DISPUTE_RESOLVED",KYC_APPROVED:"KYC_APPROVED",KYC_REJECTED:"KYC_REJECTED",PRODUCER_VERIFIED:"PRODUCER_VERIFIED",JOB_LISTING_NEW_INTEREST:"JOB_LISTING_NEW_INTEREST",JOB_LISTING_IOI_REJECTED:"JOB_LISTING_IOI_REJECTED",JOB_LISTING_IOI_SHORTLISTED:"JOB_LISTING_IOI_SHORTLISTED",HIRING_THREAD_NEW_MESSAGE:"HIRING_THREAD_NEW_MESSAGE",CREW_ASSIGNMENT_INVITED:"CREW_ASSIGNMENT_INVITED",CREW_ASSIGNMENT_REJECTED:"CREW_ASSIGNMENT_REJECTED",EVENT_RESCHEDULED:"EVENT_RESCHEDULED",EVENT_CANCELLED_NO_SHOW:"EVENT_CANCELLED_NO_SHOW",EVENT_FAILED_OUTAGE:"EVENT_FAILED_OUTAGE",EVENT_RENAMED:"EVENT_RENAMED",EVENT_DETAILS_UPDATED:"EVENT_DETAILS_UPDATED",STREAM_DISCONNECTED:"STREAM_DISCONNECTED",EVENT_ENDED:"EVENT_ENDED",ACCOUNT_SECURITY:"ACCOUNT_SECURITY"};var T=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),type:zod.z.enum(r),title:zod.z.string(),body:zod.z.string(),actionUrl:zod.z.url().optional(),actionType:zod.z.string().optional(),channels:zod.z.array(zod.z.enum(N)),isRead:zod.z.boolean(),readAt:zod.z.iso.datetime().optional(),deliveredAt:zod.z.iso.datetime().optional(),priority:zod.z.enum(n),metadata:zod.z.record(zod.z.string(),zod.z.any()).optional(),createdAt:zod.z.iso.datetime()}),_=/^ExponentPushToken\[[A-Za-z0-9_-]{18,32}\]$/,C=zod.z.object({expoPushToken:zod.z.string().regex(_),platform:zod.z.enum(["IOS","ANDROID","UNKNOWN"]),appVersion:zod.z.string().max(24).optional(),deviceLabel:zod.z.string().max(80).optional()}),A=zod.z.object({deviceId:zod.z.string(),registeredAt:zod.z.iso.datetime()}),f=chunkO3GYEMUB_js.g.extend({isRead:zod.z.enum(["true","false"]).optional().transform(t=>t===void 0?void 0:t==="true")}),P=zod.z.object({items:zod.z.array(T),...chunkO3GYEMUB_js.k.shape}),m=zod.z.object({count:zod.z.number().int().nonnegative()}),L=zod.z.object({id:zod.z.uuid(),isRead:zod.z.literal(true),readAt:zod.z.iso.datetime()}),d=zod.z.object({markedCount:zod.z.number().int().nonnegative()}),a=zod.z.enum([chunkQZMRMFXE_js.f.EVENT_REMINDERS,chunkQZMRMFXE_js.f.TICKET_PURCHASES,chunkQZMRMFXE_js.f.CREW_UPDATES]),c=zod.z.enum([chunkQZMRMFXE_js.f.JOB_INVITATIONS,chunkQZMRMFXE_js.f.JOB_CONFIRMATIONS,chunkQZMRMFXE_js.f.MESSAGES]),I=zod.z.object({category:a,enabled:zod.z.boolean()}),s=zod.z.object({category:c,enabled:zod.z.boolean()}),G=zod.z.object({preferences:zod.z.record(a,zod.z.boolean())}),u=zod.z.object({preferences:zod.z.record(c,zod.z.boolean())}),y=zod.z.object({preferences:zod.z.array(I).min(1).max(10)}),U=zod.z.object({preferences:zod.z.array(s).min(1).max(10)});exports.a=n;exports.b=N;exports.c=r;exports.d=T;exports.e=C;exports.f=A;exports.g=f;exports.h=P;exports.i=m;exports.j=L;exports.k=d;exports.l=I;exports.m=s;exports.n=G;exports.o=u;exports.p=y;exports.q=U;//# sourceMappingURL=chunk-J7KH6FYN.js.map
2
- //# sourceMappingURL=chunk-J7KH6FYN.js.map
1
+ 'use strict';var chunkRV53QWOB_js=require('./chunk-RV53QWOB.js'),chunkO3GYEMUB_js=require('./chunk-O3GYEMUB.js'),zod=require('zod');var n={LOW:"LOW",NORMAL:"NORMAL",HIGH:"HIGH",URGENT:"URGENT"},N={IN_APP:"IN_APP",EMAIL:"EMAIL",SMS:"SMS",PUSH:"PUSH"},r={BOOKING_REQUESTED:"BOOKING_REQUESTED",BOOKING_ACCEPTED:"BOOKING_ACCEPTED",BOOKING_REJECTED:"BOOKING_REJECTED",BOOKING_CONFIRMED:"BOOKING_CONFIRMED",BOOKING_CANCELLED:"BOOKING_CANCELLED",BOOKING_COMPLETED:"BOOKING_COMPLETED",PAYMENT_FAILED:"PAYMENT_FAILED",PAYMENT_RECEIVED:"PAYMENT_RECEIVED",PAYOUT_PROCESSED:"PAYOUT_PROCESSED",EVENT_GOING_LIVE:"EVENT_GOING_LIVE",EVENT_CANCELLED:"EVENT_CANCELLED",ENTITLEMENT_WITHDRAWN:"ENTITLEMENT_WITHDRAWN",DISPUTE_OPENED:"DISPUTE_OPENED",DISPUTE_RESOLVED:"DISPUTE_RESOLVED",KYC_APPROVED:"KYC_APPROVED",KYC_REJECTED:"KYC_REJECTED",PRODUCER_VERIFIED:"PRODUCER_VERIFIED",JOB_LISTING_NEW_INTEREST:"JOB_LISTING_NEW_INTEREST",JOB_LISTING_IOI_REJECTED:"JOB_LISTING_IOI_REJECTED",JOB_LISTING_IOI_SHORTLISTED:"JOB_LISTING_IOI_SHORTLISTED",HIRING_THREAD_NEW_MESSAGE:"HIRING_THREAD_NEW_MESSAGE",CREW_ASSIGNMENT_INVITED:"CREW_ASSIGNMENT_INVITED",CREW_ASSIGNMENT_REJECTED:"CREW_ASSIGNMENT_REJECTED",EVENT_RESCHEDULED:"EVENT_RESCHEDULED",EVENT_CANCELLED_NO_SHOW:"EVENT_CANCELLED_NO_SHOW",EVENT_FAILED_OUTAGE:"EVENT_FAILED_OUTAGE",EVENT_RENAMED:"EVENT_RENAMED",EVENT_DETAILS_UPDATED:"EVENT_DETAILS_UPDATED",STREAM_DISCONNECTED:"STREAM_DISCONNECTED",EVENT_ENDED:"EVENT_ENDED",ACCOUNT_SECURITY:"ACCOUNT_SECURITY"};var T=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),type:zod.z.enum(r),title:zod.z.string(),body:zod.z.string(),actionUrl:zod.z.url().optional(),actionType:zod.z.string().optional(),channels:zod.z.array(zod.z.enum(N)),isRead:zod.z.boolean(),readAt:zod.z.iso.datetime().optional(),deliveredAt:zod.z.iso.datetime().optional(),priority:zod.z.enum(n),metadata:zod.z.record(zod.z.string(),zod.z.any()).optional(),createdAt:zod.z.iso.datetime()}),_=/^ExponentPushToken\[[A-Za-z0-9_-]{18,32}\]$/,C=zod.z.object({expoPushToken:zod.z.string().regex(_),platform:zod.z.enum(["IOS","ANDROID","UNKNOWN"]),appVersion:zod.z.string().max(24).optional(),deviceLabel:zod.z.string().max(80).optional()}),A=zod.z.object({deviceId:zod.z.string(),registeredAt:zod.z.iso.datetime()}),f=chunkO3GYEMUB_js.g.extend({isRead:zod.z.enum(["true","false"]).optional().transform(t=>t===void 0?void 0:t==="true")}),P=zod.z.object({items:zod.z.array(T),...chunkO3GYEMUB_js.k.shape}),m=zod.z.object({count:zod.z.number().int().nonnegative()}),L=zod.z.object({id:zod.z.uuid(),isRead:zod.z.literal(true),readAt:zod.z.iso.datetime()}),d=zod.z.object({markedCount:zod.z.number().int().nonnegative()}),a=zod.z.enum([chunkRV53QWOB_js.f.EVENT_REMINDERS,chunkRV53QWOB_js.f.TICKET_PURCHASES,chunkRV53QWOB_js.f.CREW_UPDATES]),c=zod.z.enum([chunkRV53QWOB_js.f.JOB_INVITATIONS,chunkRV53QWOB_js.f.JOB_CONFIRMATIONS,chunkRV53QWOB_js.f.MESSAGES]),I=zod.z.object({category:a,enabled:zod.z.boolean()}),s=zod.z.object({category:c,enabled:zod.z.boolean()}),G=zod.z.object({preferences:zod.z.record(a,zod.z.boolean())}),u=zod.z.object({preferences:zod.z.record(c,zod.z.boolean())}),y=zod.z.object({preferences:zod.z.array(I).min(1).max(10)}),U=zod.z.object({preferences:zod.z.array(s).min(1).max(10)});exports.a=n;exports.b=N;exports.c=r;exports.d=T;exports.e=C;exports.f=A;exports.g=f;exports.h=P;exports.i=m;exports.j=L;exports.k=d;exports.l=I;exports.m=s;exports.n=G;exports.o=u;exports.p=y;exports.q=U;//# sourceMappingURL=chunk-2RR5GZKF.js.map
2
+ //# sourceMappingURL=chunk-2RR5GZKF.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/notification/notification.enums.ts","../src/notification/notification.schemas.ts"],"names":["NotificationPriority","NotificationChannel","NotificationType","NotificationResponseSchema","z","EXPO_TOKEN_REGEX","RegisterPushDeviceRequestSchema","RegisterPushDeviceResponseSchema","ListNotificationsQuerySchema","PaginationParamsSchema","value","ListNotificationsResponseSchema","PaginationResponseSchema","NotificationsUnreadCountResponseSchema","MarkNotificationReadResponseSchema","MarkAllNotificationsReadResponseSchema","HOST_CATEGORY","NotificationCategory","PRODUCER_CATEGORY","HostNotificationPreferenceItemSchema","ProducerNotificationPreferenceItemSchema","HostNotificationPreferencesResponseSchema","ProducerNotificationPreferencesResponseSchema","UpdateHostNotificationPreferencesRequestSchema","UpdateProducerNotificationPreferencesRequestSchema"],"mappings":"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","file":"chunk-J7KH6FYN.js","sourcesContent":["export const NotificationPriority = {\n LOW: 'LOW',\n NORMAL: 'NORMAL',\n HIGH: 'HIGH',\n URGENT: 'URGENT',\n} as const;\nexport type NotificationPriority = (typeof NotificationPriority)[keyof typeof NotificationPriority];\n\nexport const NotificationChannel = {\n IN_APP: 'IN_APP',\n EMAIL: 'EMAIL',\n SMS: 'SMS',\n PUSH: 'PUSH',\n} as const;\nexport type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];\n\nexport const NotificationType = {\n BOOKING_REQUESTED: 'BOOKING_REQUESTED',\n BOOKING_ACCEPTED: 'BOOKING_ACCEPTED',\n BOOKING_REJECTED: 'BOOKING_REJECTED',\n BOOKING_CONFIRMED: 'BOOKING_CONFIRMED',\n BOOKING_CANCELLED: 'BOOKING_CANCELLED',\n BOOKING_COMPLETED: 'BOOKING_COMPLETED',\n PAYMENT_FAILED: 'PAYMENT_FAILED',\n PAYMENT_RECEIVED: 'PAYMENT_RECEIVED',\n PAYOUT_PROCESSED: 'PAYOUT_PROCESSED',\n EVENT_GOING_LIVE: 'EVENT_GOING_LIVE',\n EVENT_CANCELLED: 'EVENT_CANCELLED',\n ENTITLEMENT_WITHDRAWN: 'ENTITLEMENT_WITHDRAWN',\n DISPUTE_OPENED: 'DISPUTE_OPENED',\n DISPUTE_RESOLVED: 'DISPUTE_RESOLVED',\n KYC_APPROVED: 'KYC_APPROVED',\n KYC_REJECTED: 'KYC_REJECTED',\n PRODUCER_VERIFIED: 'PRODUCER_VERIFIED',\n JOB_LISTING_NEW_INTEREST: 'JOB_LISTING_NEW_INTEREST',\n JOB_LISTING_IOI_REJECTED: 'JOB_LISTING_IOI_REJECTED',\n JOB_LISTING_IOI_SHORTLISTED: 'JOB_LISTING_IOI_SHORTLISTED',\n HIRING_THREAD_NEW_MESSAGE: 'HIRING_THREAD_NEW_MESSAGE',\n CREW_ASSIGNMENT_INVITED: 'CREW_ASSIGNMENT_INVITED',\n CREW_ASSIGNMENT_REJECTED: 'CREW_ASSIGNMENT_REJECTED',\n EVENT_RESCHEDULED: 'EVENT_RESCHEDULED',\n EVENT_CANCELLED_NO_SHOW: 'EVENT_CANCELLED_NO_SHOW',\n EVENT_FAILED_OUTAGE: 'EVENT_FAILED_OUTAGE',\n EVENT_RENAMED: 'EVENT_RENAMED',\n EVENT_DETAILS_UPDATED: 'EVENT_DETAILS_UPDATED',\n STREAM_DISCONNECTED: 'STREAM_DISCONNECTED',\n EVENT_ENDED: 'EVENT_ENDED',\n ACCOUNT_SECURITY: 'ACCOUNT_SECURITY',\n} as const;\nexport type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];\n","import { z } from 'zod';\nimport { NotificationType, NotificationPriority, NotificationChannel } from './notification.enums';\nimport { PaginationParamsSchema, PaginationResponseSchema } from '../common/common.schemas';\nimport { NotificationCategory } from '../user';\n\nexport const NotificationResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n type: z.enum(NotificationType),\n title: z.string(),\n body: z.string(),\n actionUrl: z.url().optional(),\n actionType: z.string().optional(),\n channels: z.array(z.enum(NotificationChannel)),\n isRead: z.boolean(),\n readAt: z.iso.datetime().optional(),\n deliveredAt: z.iso.datetime().optional(),\n priority: z.enum(NotificationPriority),\n metadata: z.record(z.string(), z.any()).optional(),\n createdAt: z.iso.datetime(),\n});\n\nconst EXPO_TOKEN_REGEX = /^ExponentPushToken\\[[A-Za-z0-9_-]{18,32}\\]$/;\n\nexport const RegisterPushDeviceRequestSchema = z.object({\n expoPushToken: z.string().regex(EXPO_TOKEN_REGEX),\n platform: z.enum(['IOS', 'ANDROID', 'UNKNOWN']),\n appVersion: z.string().max(24).optional(),\n deviceLabel: z.string().max(80).optional(),\n});\n\nexport const RegisterPushDeviceResponseSchema = z.object({\n deviceId: z.string(),\n registeredAt: z.iso.datetime(),\n});\n\n/** `GET /notifications` — paged in-app notification inbox for the authenticated user. */\nexport const ListNotificationsQuerySchema = PaginationParamsSchema.extend({\n isRead: z\n .enum(['true', 'false'])\n .optional()\n .transform((value) => (value === undefined ? undefined : value === 'true')),\n});\n\nexport const ListNotificationsResponseSchema = z.object({\n items: z.array(NotificationResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const NotificationsUnreadCountResponseSchema = z.object({\n count: z.number().int().nonnegative(),\n});\n\nexport const MarkNotificationReadResponseSchema = z.object({\n id: z.uuid(),\n isRead: z.literal(true),\n readAt: z.iso.datetime(),\n});\n\nexport const MarkAllNotificationsReadResponseSchema = z.object({\n markedCount: z.number().int().nonnegative(),\n});\n\nconst HOST_CATEGORY = z.enum([\n NotificationCategory.EVENT_REMINDERS,\n NotificationCategory.TICKET_PURCHASES,\n NotificationCategory.CREW_UPDATES,\n]);\nconst PRODUCER_CATEGORY = z.enum([\n NotificationCategory.JOB_INVITATIONS,\n NotificationCategory.JOB_CONFIRMATIONS,\n NotificationCategory.MESSAGES,\n]);\n\nexport const HostNotificationPreferenceItemSchema = z.object({\n category: HOST_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const ProducerNotificationPreferenceItemSchema = z.object({\n category: PRODUCER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const HostNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(HOST_CATEGORY, z.boolean()),\n});\n\nexport const ProducerNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(PRODUCER_CATEGORY, z.boolean()),\n});\n\nexport const UpdateHostNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(HostNotificationPreferenceItemSchema).min(1).max(10),\n});\n\nexport const UpdateProducerNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(ProducerNotificationPreferenceItemSchema).min(1).max(10),\n});\n"]}
1
+ {"version":3,"sources":["../src/notification/notification.enums.ts","../src/notification/notification.schemas.ts"],"names":["NotificationPriority","NotificationChannel","NotificationType","NotificationResponseSchema","z","EXPO_TOKEN_REGEX","RegisterPushDeviceRequestSchema","RegisterPushDeviceResponseSchema","ListNotificationsQuerySchema","PaginationParamsSchema","value","ListNotificationsResponseSchema","PaginationResponseSchema","NotificationsUnreadCountResponseSchema","MarkNotificationReadResponseSchema","MarkAllNotificationsReadResponseSchema","HOST_CATEGORY","NotificationCategory","PRODUCER_CATEGORY","HostNotificationPreferenceItemSchema","ProducerNotificationPreferenceItemSchema","HostNotificationPreferencesResponseSchema","ProducerNotificationPreferencesResponseSchema","UpdateHostNotificationPreferencesRequestSchema","UpdateProducerNotificationPreferencesRequestSchema"],"mappings":"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","file":"chunk-2RR5GZKF.js","sourcesContent":["export const NotificationPriority = {\n LOW: 'LOW',\n NORMAL: 'NORMAL',\n HIGH: 'HIGH',\n URGENT: 'URGENT',\n} as const;\nexport type NotificationPriority = (typeof NotificationPriority)[keyof typeof NotificationPriority];\n\nexport const NotificationChannel = {\n IN_APP: 'IN_APP',\n EMAIL: 'EMAIL',\n SMS: 'SMS',\n PUSH: 'PUSH',\n} as const;\nexport type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];\n\nexport const NotificationType = {\n BOOKING_REQUESTED: 'BOOKING_REQUESTED',\n BOOKING_ACCEPTED: 'BOOKING_ACCEPTED',\n BOOKING_REJECTED: 'BOOKING_REJECTED',\n BOOKING_CONFIRMED: 'BOOKING_CONFIRMED',\n BOOKING_CANCELLED: 'BOOKING_CANCELLED',\n BOOKING_COMPLETED: 'BOOKING_COMPLETED',\n PAYMENT_FAILED: 'PAYMENT_FAILED',\n PAYMENT_RECEIVED: 'PAYMENT_RECEIVED',\n PAYOUT_PROCESSED: 'PAYOUT_PROCESSED',\n EVENT_GOING_LIVE: 'EVENT_GOING_LIVE',\n EVENT_CANCELLED: 'EVENT_CANCELLED',\n ENTITLEMENT_WITHDRAWN: 'ENTITLEMENT_WITHDRAWN',\n DISPUTE_OPENED: 'DISPUTE_OPENED',\n DISPUTE_RESOLVED: 'DISPUTE_RESOLVED',\n KYC_APPROVED: 'KYC_APPROVED',\n KYC_REJECTED: 'KYC_REJECTED',\n PRODUCER_VERIFIED: 'PRODUCER_VERIFIED',\n JOB_LISTING_NEW_INTEREST: 'JOB_LISTING_NEW_INTEREST',\n JOB_LISTING_IOI_REJECTED: 'JOB_LISTING_IOI_REJECTED',\n JOB_LISTING_IOI_SHORTLISTED: 'JOB_LISTING_IOI_SHORTLISTED',\n HIRING_THREAD_NEW_MESSAGE: 'HIRING_THREAD_NEW_MESSAGE',\n CREW_ASSIGNMENT_INVITED: 'CREW_ASSIGNMENT_INVITED',\n CREW_ASSIGNMENT_REJECTED: 'CREW_ASSIGNMENT_REJECTED',\n EVENT_RESCHEDULED: 'EVENT_RESCHEDULED',\n EVENT_CANCELLED_NO_SHOW: 'EVENT_CANCELLED_NO_SHOW',\n EVENT_FAILED_OUTAGE: 'EVENT_FAILED_OUTAGE',\n EVENT_RENAMED: 'EVENT_RENAMED',\n EVENT_DETAILS_UPDATED: 'EVENT_DETAILS_UPDATED',\n STREAM_DISCONNECTED: 'STREAM_DISCONNECTED',\n EVENT_ENDED: 'EVENT_ENDED',\n ACCOUNT_SECURITY: 'ACCOUNT_SECURITY',\n} as const;\nexport type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];\n","import { z } from 'zod';\nimport { NotificationType, NotificationPriority, NotificationChannel } from './notification.enums';\nimport { PaginationParamsSchema, PaginationResponseSchema } from '../common/common.schemas';\nimport { NotificationCategory } from '../user';\n\nexport const NotificationResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n type: z.enum(NotificationType),\n title: z.string(),\n body: z.string(),\n actionUrl: z.url().optional(),\n actionType: z.string().optional(),\n channels: z.array(z.enum(NotificationChannel)),\n isRead: z.boolean(),\n readAt: z.iso.datetime().optional(),\n deliveredAt: z.iso.datetime().optional(),\n priority: z.enum(NotificationPriority),\n metadata: z.record(z.string(), z.any()).optional(),\n createdAt: z.iso.datetime(),\n});\n\nconst EXPO_TOKEN_REGEX = /^ExponentPushToken\\[[A-Za-z0-9_-]{18,32}\\]$/;\n\nexport const RegisterPushDeviceRequestSchema = z.object({\n expoPushToken: z.string().regex(EXPO_TOKEN_REGEX),\n platform: z.enum(['IOS', 'ANDROID', 'UNKNOWN']),\n appVersion: z.string().max(24).optional(),\n deviceLabel: z.string().max(80).optional(),\n});\n\nexport const RegisterPushDeviceResponseSchema = z.object({\n deviceId: z.string(),\n registeredAt: z.iso.datetime(),\n});\n\n/** `GET /notifications` — paged in-app notification inbox for the authenticated user. */\nexport const ListNotificationsQuerySchema = PaginationParamsSchema.extend({\n isRead: z\n .enum(['true', 'false'])\n .optional()\n .transform((value) => (value === undefined ? undefined : value === 'true')),\n});\n\nexport const ListNotificationsResponseSchema = z.object({\n items: z.array(NotificationResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const NotificationsUnreadCountResponseSchema = z.object({\n count: z.number().int().nonnegative(),\n});\n\nexport const MarkNotificationReadResponseSchema = z.object({\n id: z.uuid(),\n isRead: z.literal(true),\n readAt: z.iso.datetime(),\n});\n\nexport const MarkAllNotificationsReadResponseSchema = z.object({\n markedCount: z.number().int().nonnegative(),\n});\n\nconst HOST_CATEGORY = z.enum([\n NotificationCategory.EVENT_REMINDERS,\n NotificationCategory.TICKET_PURCHASES,\n NotificationCategory.CREW_UPDATES,\n]);\nconst PRODUCER_CATEGORY = z.enum([\n NotificationCategory.JOB_INVITATIONS,\n NotificationCategory.JOB_CONFIRMATIONS,\n NotificationCategory.MESSAGES,\n]);\n\nexport const HostNotificationPreferenceItemSchema = z.object({\n category: HOST_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const ProducerNotificationPreferenceItemSchema = z.object({\n category: PRODUCER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const HostNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(HOST_CATEGORY, z.boolean()),\n});\n\nexport const ProducerNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(PRODUCER_CATEGORY, z.boolean()),\n});\n\nexport const UpdateHostNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(HostNotificationPreferenceItemSchema).min(1).max(10),\n});\n\nexport const UpdateProducerNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(ProducerNotificationPreferenceItemSchema).min(1).max(10),\n});\n"]}
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkO3GYEMUB_js=require('./chunk-O3GYEMUB.js'),zod=require('zod');var Ae={TICKET_PURCHASE:"TICKET_PURCHASE",BOOKING_ESCROW:"BOOKING_ESCROW",ESCROW_RELEASE:"ESCROW_RELEASE",PLATFORM_FEE:"PLATFORM_FEE",PRODUCER_PAYOUT:"PRODUCER_PAYOUT",HOST_PAYOUT:"HOST_PAYOUT",REFUND:"REFUND"},he={PENDING:"PENDING",SUCCESS:"SUCCESS",FAILED:"FAILED",REVERSED:"REVERSED"},Re={PENDING:"PENDING",PROCESSING:"PROCESSING",COMPLETED:"COMPLETED",FAILED:"FAILED"},g={REQUIRES_PAYMENT:"REQUIRES_PAYMENT",PROCESSING:"PROCESSING",SUCCEEDED:"SUCCEEDED",FAILED:"FAILED",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED"},b={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",EXPIRED:"EXPIRED",REFUNDED:"REFUNDED"},x={REGISTERED:"REGISTERED",PUBLIC:"PUBLIC",EMAIL_MATCH:"EMAIL_MATCH",DOMAIN_MATCH:"DOMAIN_MATCH",USER_ID_MATCH:"USER_ID_MATCH",PHONE_MATCH:"PHONE_MATCH",NOT_ON_ALLOWLIST:"NOT_ON_ALLOWLIST"},T={NONE:"NONE",PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",REFUNDED:"REFUNDED",CANCELLED:"CANCELLED"},Ie={PENDING:"PENDING",SETTLED:"SETTLED",WAIVED:"WAIVED",VOIDED:"VOIDED",REFUNDED:"REFUNDED"},E={BUY_TICKET:"BUY_TICKET",COMPLETE_PAYMENT:"COMPLETE_PAYMENT",WATCH_NOW:"WATCH_NOW",WATCH_REPLAY:"WATCH_REPLAY",REGISTER_FREE:"REGISTER_FREE",WAITLIST:"WAITLIST",UNAVAILABLE:"UNAVAILABLE",REPLAY_PROCESSING:"REPLAY_PROCESSING"},P={REQUESTED:"REQUESTED",AUTHORIZED:"AUTHORIZED",SENT:"SENT",SETTLED:"SETTLED",FAILED:"FAILED",REVERSED:"REVERSED"};var s={INCLUDED:"INCLUDED",DISABLED:"DISABLED",PAID_SEPARATELY:"PAID_SEPARATELY"},m={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},l={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},y={SELF:"SELF",HIRE:"HIRE"},D={PHONE:"PHONE",WEB:"WEB"},Te={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},d={DRAFT:"DRAFT",SCHEDULED:"SCHEDULED",READY_FOR_TEST:"READY_FOR_TEST",LIVE:"LIVE",ENDED:"ENDED",REPLAY_READY:"REPLAY_READY",ARCHIVED:"ARCHIVED",CANCELLED:"CANCELLED",PAUSED:"PAUSED",FAILED:"FAILED"},r={ART:"ART",TECHNOLOGY:"TECHNOLOGY",SCIENCE:"SCIENCE",TRAVEL:"TRAVEL",HISTORY:"HISTORY",LITERATURE:"LITERATURE",COOKING:"COOKING",FITNESS:"FITNESS",PHOTOGRAPHY:"PHOTOGRAPHY",GARDENING:"GARDENING",EDUCATION:"EDUCATION",FASHION:"FASHION",MOVIES:"MOVIES",SPORTS:"SPORTS",POLITICS:"POLITICS",HEALTH:"HEALTH",GAMING:"GAMING",FINANCE:"FINANCE",NATURE:"NATURE",CONCERT:"CONCERT",FESTIVAL:"FESTIVAL",WEDDING:"WEDDING",CORPORATE:"CORPORATE",RELIGIOUS:"RELIGIOUS",BIRTHDAY:"BIRTHDAY",PARTY:"PARTY",OTHER:"OTHER"},v={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},Pe={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},f={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},A={UPCOMING:"UPCOMING",LIVE:"LIVE",RECOMMENDED:"RECOMMENDED"},h={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"},De={REGISTRATION:"REGISTRATION",REPLAY_PURCHASE:"REPLAY_PURCHASE"};var O=zod.z.object({title:zod.z.string().max(120),description:zod.z.string().max(2e3),category:zod.z.enum(r),scheduledStartAt:zod.z.iso.datetime(),scheduledEndAt:zod.z.iso.datetime(),venueLocation:zod.z.string(),visibility:zod.z.enum(m),accessModel:zod.z.enum(l),ticketPrice:zod.z.number().min(0).optional(),maxTickets:zod.z.number().min(1).optional(),timezone:zod.z.string().default("Africa/Lagos"),replayAccess:zod.z.enum(s),retentionDays:zod.z.number().default(30),tags:zod.z.array(zod.z.string()).optional(),geoRestrictions:zod.z.record(zod.z.string(),zod.z.any()).optional()}),je=O.partial(),U=zod.z.object({kind:zod.z.enum(E),price:chunkO3GYEMUB_js.h.optional()}),Me=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string(),category:zod.z.enum(r),coverImageUrl:zod.z.url().optional(),venueLocation:zod.z.string(),scheduledStartAt:zod.z.iso.datetime(),scheduledEndAt:zod.z.iso.datetime(),timezone:zod.z.string(),visibility:zod.z.enum(m),accessModel:zod.z.enum(l),ticketPrice:chunkO3GYEMUB_js.h.nullable(),maxTickets:zod.z.number().optional(),eventState:zod.z.enum(d),shareableUrl:zod.z.url(),hostId:zod.z.uuid(),isFeatured:zod.z.boolean(),replayAccess:zod.z.enum(s),replayAvailableUntil:zod.z.iso.datetime().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),publishedAt:zod.z.iso.datetime().optional(),liveStartedAt:zod.z.iso.datetime().optional(),liveEndedAt:zod.z.iso.datetime().optional()}),i=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),timezone:zod.z.string(),coverImageUrl:zod.z.url().nullable(),category:zod.z.enum(r),scheduledStartLocal:zod.z.string(),scheduledEndLocal:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),state:zod.z.enum(d),accessModel:zod.z.enum(l),ticketPrice:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),viewerCount:zod.z.number().int().min(0),cta:U.optional(),durationMinutes:zod.z.number().int().nonnegative().nullable().optional(),viewer:zod.z.object({registration:zod.z.enum(f),progressPct:zod.z.number().min(0).max(100).optional(),canResume:zod.z.boolean().optional()})}),Oe=zod.z.object({continueWatching:zod.z.array(i),liveNow:zod.z.array(i),upcoming:zod.z.array(i),recommended:zod.z.array(i),featured:i.nullable()}),Ue=chunkO3GYEMUB_js.g.extend({category:zod.z.enum(r).optional(),accessModel:zod.z.enum(l).optional(),section:zod.z.enum(A).optional(),q:zod.z.string().trim().max(80).optional().transform(o=>o&&o.length>0?o:void 0)}),k=zod.z.object({mode:zod.z.literal("AGGREGATE"),featured:i.nullable(),liveNow:zod.z.array(i),upcoming:zod.z.array(i),recommended:zod.z.array(i)}),_=chunkO3GYEMUB_js.k.extend({mode:zod.z.literal("SECTION"),section:zod.z.enum(A),items:zod.z.array(i)}),ke=zod.z.discriminatedUnion("mode",[k,_]),_e=chunkO3GYEMUB_js.k.extend({items:zod.z.array(i)}),we=zod.z.object({callbackUrl:zod.z.url().optional()}),Ve=zod.z.object({registration:zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid(),status:zod.z.enum(v),expiresAt:zod.z.iso.datetime().nullable()}),paymentIntent:zod.z.object({reference:zod.z.string(),amount:chunkO3GYEMUB_js.h,checkoutUrl:zod.z.url().optional()}).nullable()}),He=zod.z.object({positionSec:zod.z.number().int().min(0).max(1440*60),durationSec:zod.z.number().int().min(1).optional()}),w=zod.z.object({playbackUrl:zod.z.url(),expiresAt:zod.z.iso.datetime(),streamStartedAt:zod.z.iso.datetime(),dvrWindowSeconds:zod.z.number().int().positive()}),V=zod.z.object({kind:zod.z.literal("LIVE"),playbackUrl:zod.z.url(),token:zod.z.string(),expiresAt:zod.z.iso.datetime(),catchup:w.optional()}),H=zod.z.object({kind:zod.z.literal("REPLAY"),playbackUrl:zod.z.url(),expiresAt:zod.z.iso.datetime()}),Ye=zod.z.discriminatedUnion("kind",[V,H]),Y=i.extend({startsInSec:zod.z.number().int().optional(),liveViewerCount:zod.z.number().int().min(0).optional(),liveStartedAt:zod.z.iso.datetime().nullable().optional(),replayAvailableUntil:zod.z.iso.datetime().nullable().optional(),replayDurationSec:zod.z.number().int().min(0).nullable().optional(),watchedPct:zod.z.number().min(0).max(100).optional(),hasWatched:zod.z.boolean().optional()}),Fe=chunkO3GYEMUB_js.k.extend({tab:zod.z.enum(h),items:zod.z.array(Y)}),Ge=chunkO3GYEMUB_js.g.extend({tab:zod.z.enum(h),q:zod.z.string().trim().max(80).optional().transform(o=>o&&o.length>0?o:void 0)}),Be=zod.z.object({sessionId:zod.z.string()}),We=zod.z.object({ok:zod.z.literal(true)}),qe=zod.z.object({durationSec:zod.z.number().int().min(0)}),N=zod.z.number({error:o=>o.input===void 0||o.input===null?"Please provide how many days the replay stays available.":"Replay retention must be a valid number of days."}).int("Replay retention must be a whole number of days.").min(1,"Replay must be available for at least 1 day.").max(365,"Replay retention cannot exceed 365 days."),F=zod.z.number({error:o=>o.input===void 0||o.input===null?"Please set a price for the paid replay.":"Replay price must be a valid number."}).positive("Replay price must be greater than 0."),C=zod.z.discriminatedUnion("access",[zod.z.object({access:zod.z.literal(s.INCLUDED),retentionDays:N}),zod.z.object({access:zod.z.literal(s.PAID_SEPARATELY),retentionDays:N,price:F}),zod.z.object({access:zod.z.literal(s.DISABLED)})],{error:o=>o.input===void 0||o.input===null||typeof o.input=="object"&&o.input.access==null?"Please choose a replay access option.":"Invalid replay access option selected."}),G=zod.z.enum(chunkO3GYEMUB_js.f),B=zod.z.enum(r),L=zod.z.enum(m),W=zod.z.enum(["LIVE_EDGE","CATCHUP"]),q=zod.z.object({step:zod.z.literal(1),title:zod.z.string().min(3).max(120),description:zod.z.string().min(20).max(1200),category:B,scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),durationMinutes:zod.z.number().int().min(5).max(720),coverImageUrl:zod.z.any().optional(),timezone:zod.z.string(),previewClipUrl:zod.z.any().optional(),tags:zod.z.array(zod.z.string().min(1).max(30)).max(10).optional(),location:zod.z.string().max(120).optional()}),z=zod.z.object({step:zod.z.literal(2),paid:zod.z.literal(false),visibility:L,guestEmails:zod.z.array(zod.z.email()).max(500).optional(),replay:C}),K=zod.z.object({step:zod.z.literal(2),paid:zod.z.literal(true),visibility:L,guestEmails:zod.z.array(zod.z.email()).max(500).optional(),ticketPrice:zod.z.number().positive(),ticketCurrency:G,ticketLimit:zod.z.number().int().positive().nullable(),replay:C}),Q=zod.z.object({step:zod.z.literal(3),mode:zod.z.literal(y.SELF),streamingMode:zod.z.enum(D)}),$=zod.z.object({step:zod.z.literal(3),mode:zod.z.literal(y.HIRE),crewIds:zod.z.array(zod.z.uuid()).min(1).max(5).default([]),notes:zod.z.string().max(500).optional()}),ze=zod.z.object({deviceType:zod.z.string().max(50).optional(),mode:W.default("LIVE_EDGE").optional()}),Ke=zod.z.object({streamEnabled:zod.z.boolean()}).strict(),Qe=zod.z.union([q,z,K,Q,$]),R=zod.z.string().min(3).max(8),a=zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"must be YYYY-MM-DD"),$e=zod.z.object({from:a,to:a,eventId:zod.z.uuid().optional(),currency:R.optional()}).strict(),Xe=zod.z.object({from:a,to:a,currency:R.optional(),pageNumber:zod.z.coerce.number().int().min(1).optional(),pageSize:zod.z.coerce.number().int().min(1).max(100).optional(),search:zod.z.string().trim().min(1).max(100).optional()}).strict(),Ze=zod.z.object({from:a,to:a,granularity:zod.z.enum(["daily","weekly"]),currency:R.optional()}).strict(),Je=zod.z.object({from:a,to:a,gross:chunkO3GYEMUB_js.h,refunds:chunkO3GYEMUB_js.h,net:chunkO3GYEMUB_js.h,available:chunkO3GYEMUB_js.h,pending:chunkO3GYEMUB_js.h,ticketsSold:zod.z.number().int().nonnegative(),avgTicketPrice:chunkO3GYEMUB_js.h,previousPeriodDelta:zod.z.object({percentage:zod.z.number().nullable(),direction:chunkO3GYEMUB_js.j,gross:chunkO3GYEMUB_js.h}),revenueSplit:zod.z.object({hostShare:chunkO3GYEMUB_js.h,platformFee:chunkO3GYEMUB_js.h,crewSalaries:chunkO3GYEMUB_js.h})}).strict(),X=zod.z.object({eventId:zod.z.uuid(),eventTitle:zod.z.string(),gross:chunkO3GYEMUB_js.h,refunds:chunkO3GYEMUB_js.h,net:chunkO3GYEMUB_js.h,firstActivityAt:a,lastActivityAt:a,ticketsSold:zod.z.number().int().nonnegative(),status:zod.z.enum(["COMPLETED","LIVE","SCHEDULED"])}).strict(),et=zod.z.object({items:zod.z.array(X),...chunkO3GYEMUB_js.k.shape}).strict(),Z=zod.z.object({date:a,gross:chunkO3GYEMUB_js.h,refunds:chunkO3GYEMUB_js.h,net:chunkO3GYEMUB_js.h}).strict(),tt=zod.z.object({granularity:zod.z.enum(["daily","weekly"]),points:zod.z.array(Z)}).strict(),J=zod.z.enum(["ALL","LIVE","UPCOMING","PAST"]),ee=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),timezone:zod.z.string(),description:zod.z.string().nullable(),coverImageUrl:zod.z.url().nullable(),category:zod.z.enum(r),accessModel:zod.z.enum(l),ticketPrice:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),scheduledStartLocal:zod.z.string(),scheduledStart:zod.z.iso.datetime(),hostDisplayName:zod.z.string().nullable()}),nt=chunkO3GYEMUB_js.g.extend({status:J.default("ALL"),category:zod.z.enum(r).optional(),q:zod.z.string().trim().max(100).optional().transform(o=>o&&o.length>0?o:void 0)}),ot=chunkO3GYEMUB_js.k.extend({items:zod.z.array(ee)}),te=zod.z.object({kind:zod.z.literal("TRAILER"),trailerUrl:zod.z.string()}),ne=zod.z.object({kind:zod.z.literal("SLATE"),slate:zod.z.object({title:zod.z.string(),hostDisplayName:zod.z.string().nullable(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false})})}),oe=zod.z.discriminatedUnion("kind",[te,ne]),it=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),coverImageUrl:zod.z.url().nullable(),category:zod.z.enum(r),timezone:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),scheduledEndLocal:zod.z.iso.datetime({local:true,offset:false}),state:zod.z.enum(d),accessModel:zod.z.enum(l),visibility:zod.z.enum(m),ticketPrice:chunkO3GYEMUB_js.h.nullable(),replayAccess:zod.z.enum(s),replayAccessFee:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),hostBio:zod.z.string().nullable(),previewClipUrl:zod.z.string().nullable(),remainingTickets:zod.z.number().int().nullable(),liveStartedAt:zod.z.iso.datetime().nullable(),liveEndedAt:zod.z.iso.datetime().nullable(),replayAvailableUntil:zod.z.iso.datetime().nullable(),ingestSubstate:zod.z.enum(["AWAITING_INGEST","STREAMING"]).nullable(),awaitingIngestContent:oe.nullable()}),at=zod.z.object({playbackUrl:zod.z.url(),token:zod.z.string(),expiresAt:zod.z.iso.datetime()}),st=zod.z.object({retentionDays:zod.z.number().int().min(1).max(90)}),rt=zod.z.object({eventId:zod.z.uuid(),liveEndedAt:zod.z.iso.datetime(),retentionDays:zod.z.number().int().min(1).max(90),replayAvailableUntil:zod.z.iso.datetime()}),ct=zod.z.object({granularity:zod.z.enum(["daily"]).optional().default("daily"),from:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional()}),ie=zod.z.object({date:zod.z.string(),ticketsSold:zod.z.number().int().nonnegative(),revenue:chunkO3GYEMUB_js.h}),lt=zod.z.object({eventId:zod.z.uuid(),granularity:zod.z.enum(["daily"]),from:zod.z.string(),to:zod.z.string(),points:zod.z.array(ie)}),ae=zod.z.object({from:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional(),eventId:zod.z.uuid().optional()}),S=zod.z.object({count:zod.z.number().int().nonnegative(),pct:zod.z.number().min(0).max(1)}),se=zod.z.object({count:zod.z.number().int().nonnegative(),percentagePrev:zod.z.number().nullable(),direction:chunkO3GYEMUB_js.j}),ut=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),currency:zod.z.string(),summary:zod.z.object({totalViewers:se,uniqueViewers:zod.z.number().int().nonnegative(),liveSpenders:zod.z.number().int().nonnegative(),casualViewers:zod.z.number().int().nonnegative(),repeatViewers:zod.z.number().int().nonnegative(),newThisPeriod:zod.z.number().int().nonnegative()}),segments:zod.z.object({newViewers:S,returningViewers:S,highValueBuyers:S,casualViewers:S}),revenuePerViewer:zod.z.object({total:zod.z.number().int().nonnegative(),averageSpend:chunkO3GYEMUB_js.h,percentagePrev:zod.z.number().nullable(),direction:chunkO3GYEMUB_js.j,bands:zod.z.object({lowSpenders:zod.z.number().int().nonnegative(),midSpenders:zod.z.number().int().nonnegative(),highSpenders:zod.z.number().int().nonnegative()})})}),mt=zod.z.object({from:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional(),search:zod.z.string().trim().min(1).max(120).optional(),...chunkO3GYEMUB_js.g.shape}),re=zod.z.object({eventId:zod.z.uuid(),eventTitle:zod.z.string(),viewers:zod.z.number().int().nonnegative(),peakConcurrent:zod.z.number().int().nonnegative(),replays:zod.z.number().int().nonnegative()}),pt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),items:zod.z.array(re),...chunkO3GYEMUB_js.k.shape}),Et=zod.z.object({limit:zod.z.coerce.number().int().min(1).max(50).optional().default(10)}),ce=zod.z.object({userId:zod.z.uuid(),displayName:zod.z.string(),avatarKey:zod.z.string().nullable(),totalSpend:chunkO3GYEMUB_js.h,eventCount:zod.z.number().int().nonnegative()}),dt=zod.z.object({items:zod.z.array(ce)}),le=zod.z.object({kind:zod.z.enum(["TICKET_SOLD","REPLAY_SOLD"]),subjectType:zod.z.enum(["Event","PaymentIntent","ReplayPurchase","Booking"]),subjectId:zod.z.string(),occurredAt:zod.z.number(),payload:zod.z.record(zod.z.string(),zod.z.unknown())}),St=zod.z.object({items:zod.z.array(le),...chunkO3GYEMUB_js.k.shape}),gt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),items:zod.z.array(zod.z.object({country:zod.z.string(),viewerCount:zod.z.number().int().nonnegative()}))}),bt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),items:zod.z.array(zod.z.object({deviceType:zod.z.string(),viewerCount:zod.z.number().int().nonnegative()}))}),yt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),granularity:zod.z.enum(["daily"]),points:zod.z.array(zod.z.object({date:zod.z.string(),viewers:zod.z.number().int().nonnegative()}))}),At=ae.extend({granularity:zod.z.enum(["daily"]).optional().default("daily")});var Nt=zod.z.object({eventId:zod.z.uuid(),amount:zod.z.number().min(0)}),Ct=zod.z.object({authorizationUrl:zod.z.url(),reference:zod.z.string(),accessCode:zod.z.string().optional()}),Lt=zod.z.object({reference:zod.z.string(),checkoutUrl:zod.z.url().nullable(),status:zod.z.enum(g),expiresAt:zod.z.iso.datetime()}),jt=zod.z.object({reference:zod.z.string(),status:zod.z.enum(g),eventId:zod.z.uuid(),amount:chunkO3GYEMUB_js.h,paidAt:zod.z.iso.datetime().nullable()}),Mt=zod.z.object({email:zod.z.email()}),ue=zod.z.object({intent_id:zod.z.uuid(),user_id:zod.z.uuid(),event_id:zod.z.uuid()}).loose(),me=zod.z.object({authorization_code:zod.z.string(),bin:zod.z.string().nullish(),last4:zod.z.string().nullish(),exp_month:zod.z.string().nullish(),exp_year:zod.z.string().nullish(),channel:zod.z.string().nullish(),card_type:zod.z.string().nullish(),bank:zod.z.string().nullish(),country_code:zod.z.string().nullish(),brand:zod.z.string().nullish(),reusable:zod.z.boolean().nullish(),signature:zod.z.string().nullish(),account_name:zod.z.string().nullish(),receiver_bank_account_number:zod.z.string().nullish(),receiver_bank:zod.z.string().nullish()}).loose(),pe=zod.z.object({id:zod.z.number(),first_name:zod.z.string().nullish(),last_name:zod.z.string().nullish(),email:zod.z.email(),customer_code:zod.z.string(),phone:zod.z.string().nullish(),metadata:zod.z.unknown().nullish(),risk_action:zod.z.string().nullish(),international_format_phone:zod.z.string().nullish()}).loose(),Ee=zod.z.object({type:zod.z.string().nullish(),source:zod.z.string().nullish(),entry_point:zod.z.string().nullish(),identifier:zod.z.string().nullish()}).loose(),Ot=zod.z.object({event:zod.z.string(),data:zod.z.object({id:zod.z.number(),domain:zod.z.string().optional(),status:zod.z.string(),reference:zod.z.string(),amount:zod.z.number(),message:zod.z.string().nullish(),gateway_response:zod.z.string().nullish(),paid_at:zod.z.string().nullish(),paidAt:zod.z.string().nullish(),created_at:zod.z.string().nullish(),channel:zod.z.string().nullish(),currency:zod.z.string(),ip_address:zod.z.string().nullish(),fees:zod.z.number().nullish(),fees_breakdown:zod.z.unknown().nullish(),fees_split:zod.z.unknown().nullish(),log:zod.z.unknown().nullish(),order_id:zod.z.string().nullish(),requested_amount:zod.z.number().nullish(),pos_transaction_data:zod.z.unknown().nullish(),plan:zod.z.object({}).loose().optional(),subaccount:zod.z.object({}).loose().optional(),split:zod.z.object({}).loose().optional(),metadata:ue,authorization:me.optional(),customer:pe.optional(),source:Ee.optional()}).loose()}).loose(),Ut=zod.z.object({qualified:zod.z.boolean(),reason:zod.z.enum(x)}),kt=zod.z.object({reference:zod.z.null(),subtotal:chunkO3GYEMUB_js.h,platformFee:chunkO3GYEMUB_js.h,total:chunkO3GYEMUB_js.h,strategyId:zod.z.string(),expiresInSec:zod.z.number().int().positive()}),de=zod.z.object({kind:zod.z.literal("TRAILER"),trailerUrl:zod.z.url()}),Se=zod.z.object({kind:zod.z.literal("SLATE"),slate:zod.z.object({title:zod.z.string(),hostDisplayName:zod.z.string().nullable(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false})})}),ge=zod.z.discriminatedUnion("kind",[de,Se]),_t=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),coverImageUrl:zod.z.string().nullable(),category:zod.z.string(),timezone:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),scheduledEndLocal:zod.z.iso.datetime({local:true,offset:false}),state:zod.z.string(),accessModel:zod.z.string(),visibility:zod.z.string(),ticketPrice:chunkO3GYEMUB_js.h.nullable(),replayAccess:zod.z.enum(s),replayAccessFee:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),hostBio:zod.z.string().nullable(),previewClipUrl:zod.z.string().nullable(),remainingTickets:zod.z.number().int().nullable(),liveStartedAt:zod.z.iso.datetime().nullable(),liveEndedAt:zod.z.iso.datetime().nullable(),replayAvailableUntil:zod.z.iso.datetime().nullable(),ingestSubstate:zod.z.enum(["AWAITING_INGEST","STREAMING"]).nullable(),awaitingIngestContent:ge.nullable(),viewer:zod.z.object({entitlement:zod.z.enum(T),purchaseCta:zod.z.enum(E),activeIntentReference:zod.z.string().optional(),requiresAccessCheck:zod.z.boolean().optional()})}),wt=zod.z.object({url:zod.z.url(),expiresAt:zod.z.iso.datetime(),contentType:zod.z.string().min(1)}),be=zod.z.object({reference:zod.z.string(),amount:chunkO3GYEMUB_js.h,checkoutUrl:zod.z.string().optional()}),ye=zod.z.object({id:zod.z.string(),eventId:zod.z.string(),status:zod.z.enum(b),source:zod.z.enum(b),amount:chunkO3GYEMUB_js.h,paymentExpiresAt:zod.z.iso.datetime().nullable(),expiresAt:zod.z.iso.datetime().nullable(),paidAt:zod.z.iso.datetime().nullable()}),Vt=zod.z.object({replayPurchase:ye,payment:be.nullable()}),Ht=zod.z.object({bankCode:zod.z.string().trim().regex(/^\d{3,10}$/,"bankCode must be a 3\u201310 digit numeric string"),accountNumber:zod.z.string().trim().regex(/^\d{10}$/,"accountNumber must be a 10-digit NUBAN")}),Yt=zod.z.object({bankName:zod.z.string().nullable(),bankCode:zod.z.string().nullable(),accountNumberMasked:zod.z.string().nullable(),accountName:zod.z.string().nullable(),verifiedAt:zod.z.string().nullable(),updatedAt:zod.z.string().nullable()}),Ft=zod.z.object({pin:zod.z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits")}),Gt=o=>zod.z.object({status:zod.z.union([zod.z.boolean(),zod.z.string()]).optional(),message:zod.z.string().optional(),data:o}),Bt=zod.z.object({status:zod.z.union([zod.z.boolean(),zod.z.string()]).optional(),message:zod.z.string().optional(),data:zod.z.unknown().optional()}),j=zod.z.union([zod.z.number(),zod.z.string()]).transform(o=>BigInt(o)),M=zod.z.string(),Wt=zod.z.object({id:zod.z.string().min(1),status:zod.z.string().min(1),amount:j.optional(),currency:M.optional(),funding:zod.z.object({account_number:zod.z.string(),account_name:zod.z.string(),bank_name:zod.z.string(),expires_at:zod.z.string().optional()}).partial().optional()}),qt=zod.z.object({id:zod.z.string().optional(),transaction_id:zod.z.string().optional(),reference:zod.z.string().optional(),status:zod.z.string().min(1)}),zt=zod.z.object({id:zod.z.string().optional(),transfer_id:zod.z.string().optional(),status:zod.z.string().min(1),requires_otp:zod.z.boolean().optional()}),Kt=zod.z.object({id:zod.z.string().optional(),refund_id:zod.z.string().optional(),flag_id:zod.z.string().optional(),status:zod.z.string().min(1)}),Qt=zod.z.object({id:zod.z.string().min(1),status:zod.z.string().min(1),amount:j.optional(),currency:M.optional(),updated_at:zod.z.string().optional()}),$t=zod.z.object({id:zod.z.string(),reference:zod.z.string(),state:zod.z.enum(P),amount:chunkO3GYEMUB_js.h,bankName:zod.z.string().nullable(),accountNumberMasked:zod.z.string(),accountName:zod.z.string(),requestedAt:zod.z.string(),settledAt:zod.z.string().nullable(),failedAt:zod.z.string().nullable(),failureReason:zod.z.string().nullable()});exports.$=je;exports.$a=Et;exports.A=Lt;exports.Aa=W;exports.B=jt;exports.Ba=ze;exports.C=Mt;exports.Ca=Ke;exports.D=Ot;exports.Da=Qe;exports.E=Ut;exports.Ea=$e;exports.F=kt;exports.Fa=Xe;exports.G=de;exports.Ga=Ze;exports.H=Se;exports.Ha=Je;exports.I=ge;exports.Ia=X;exports.J=_t;exports.Ja=et;exports.K=wt;exports.Ka=Z;exports.L=be;exports.La=tt;exports.M=ye;exports.Ma=J;exports.N=Vt;exports.Na=ee;exports.O=Ht;exports.Oa=nt;exports.P=Yt;exports.Pa=ot;exports.Q=Ft;exports.Qa=it;exports.R=Gt;exports.Ra=at;exports.S=Bt;exports.Sa=st;exports.T=j;exports.Ta=rt;exports.U=Wt;exports.Ua=ct;exports.V=qt;exports.Va=ie;exports.W=zt;exports.Wa=lt;exports.X=Kt;exports.Xa=ae;exports.Y=Qt;exports.Ya=ut;exports.Z=$t;exports.Za=mt;exports._=O;exports._a=pt;exports.a=s;exports.aa=U;exports.ab=dt;exports.b=m;exports.ba=Me;exports.bb=St;exports.c=l;exports.ca=i;exports.cb=gt;exports.d=y;exports.da=Oe;exports.db=bt;exports.e=D;exports.ea=Ue;exports.eb=yt;exports.f=Te;exports.fa=k;exports.fb=At;exports.g=d;exports.ga=_;exports.h=r;exports.ha=ke;exports.i=v;exports.ia=_e;exports.j=Pe;exports.ja=we;exports.k=f;exports.ka=Ve;exports.l=A;exports.la=He;exports.m=h;exports.ma=w;exports.n=De;exports.na=V;exports.o=Ae;exports.oa=H;exports.p=he;exports.pa=Ye;exports.q=Re;exports.qa=Y;exports.r=g;exports.ra=Fe;exports.s=b;exports.sa=Ge;exports.t=x;exports.ta=Be;exports.u=T;exports.ua=We;exports.v=Ie;exports.va=qe;exports.w=E;exports.wa=C;exports.x=P;exports.xa=G;exports.y=Nt;exports.ya=B;exports.z=Ct;exports.za=L;//# sourceMappingURL=chunk-MMROBRAM.js.map
2
- //# sourceMappingURL=chunk-MMROBRAM.js.map
1
+ 'use strict';var chunkO3GYEMUB_js=require('./chunk-O3GYEMUB.js'),zod=require('zod');var Ae={TICKET_PURCHASE:"TICKET_PURCHASE",BOOKING_ESCROW:"BOOKING_ESCROW",ESCROW_RELEASE:"ESCROW_RELEASE",PLATFORM_FEE:"PLATFORM_FEE",PRODUCER_PAYOUT:"PRODUCER_PAYOUT",HOST_PAYOUT:"HOST_PAYOUT",REFUND:"REFUND"},he={PENDING:"PENDING",SUCCESS:"SUCCESS",FAILED:"FAILED",REVERSED:"REVERSED"},Re={PENDING:"PENDING",PROCESSING:"PROCESSING",COMPLETED:"COMPLETED",FAILED:"FAILED"},b={REQUIRES_PAYMENT:"REQUIRES_PAYMENT",PROCESSING:"PROCESSING",SUCCEEDED:"SUCCEEDED",FAILED:"FAILED",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED"},g={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",EXPIRED:"EXPIRED",REFUNDED:"REFUNDED"},T={REGISTERED:"REGISTERED",PUBLIC:"PUBLIC",EMAIL_MATCH:"EMAIL_MATCH",DOMAIN_MATCH:"DOMAIN_MATCH",USER_ID_MATCH:"USER_ID_MATCH",PHONE_MATCH:"PHONE_MATCH",NOT_ON_ALLOWLIST:"NOT_ON_ALLOWLIST"},x={NONE:"NONE",PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",REFUNDED:"REFUNDED",CANCELLED:"CANCELLED"},Ie={PENDING:"PENDING",SETTLED:"SETTLED",WAIVED:"WAIVED",VOIDED:"VOIDED",REFUNDED:"REFUNDED"},E={BUY_TICKET:"BUY_TICKET",COMPLETE_PAYMENT:"COMPLETE_PAYMENT",WATCH_NOW:"WATCH_NOW",WATCH_REPLAY:"WATCH_REPLAY",REGISTER_FREE:"REGISTER_FREE",WAITLIST:"WAITLIST",UNAVAILABLE:"UNAVAILABLE",REPLAY_PROCESSING:"REPLAY_PROCESSING"},P={REQUESTED:"REQUESTED",AUTHORIZED:"AUTHORIZED",SENT:"SENT",SETTLED:"SETTLED",FAILED:"FAILED",REVERSED:"REVERSED"};var s={INCLUDED:"INCLUDED",DISABLED:"DISABLED",PAID_SEPARATELY:"PAID_SEPARATELY"},m={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},l={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},y={SELF:"SELF",HIRE:"HIRE"},D={PHONE:"PHONE",WEB:"WEB"},xe={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},d={DRAFT:"DRAFT",SCHEDULED:"SCHEDULED",READY_FOR_TEST:"READY_FOR_TEST",LIVE:"LIVE",ENDED:"ENDED",REPLAY_READY:"REPLAY_READY",ARCHIVED:"ARCHIVED",CANCELLED:"CANCELLED",PAUSED:"PAUSED",FAILED:"FAILED"},r={ART:"ART",TECHNOLOGY:"TECHNOLOGY",SCIENCE:"SCIENCE",TRAVEL:"TRAVEL",HISTORY:"HISTORY",LITERATURE:"LITERATURE",COOKING:"COOKING",FITNESS:"FITNESS",PHOTOGRAPHY:"PHOTOGRAPHY",GARDENING:"GARDENING",EDUCATION:"EDUCATION",FASHION:"FASHION",MOVIES:"MOVIES",SPORTS:"SPORTS",POLITICS:"POLITICS",HEALTH:"HEALTH",GAMING:"GAMING",FINANCE:"FINANCE",NATURE:"NATURE",CONCERT:"CONCERT",FESTIVAL:"FESTIVAL",WEDDING:"WEDDING",CORPORATE:"CORPORATE",RELIGIOUS:"RELIGIOUS",BIRTHDAY:"BIRTHDAY",PARTY:"PARTY",OTHER:"OTHER"},v={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},Pe={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},f={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},A={UPCOMING:"UPCOMING",LIVE:"LIVE",RECOMMENDED:"RECOMMENDED"},h={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"},De={REGISTRATION:"REGISTRATION",REPLAY_PURCHASE:"REPLAY_PURCHASE"};var O=zod.z.object({title:zod.z.string().max(120),description:zod.z.string().max(2e3),category:zod.z.enum(r),scheduledStartAt:zod.z.iso.datetime(),scheduledEndAt:zod.z.iso.datetime(),venueLocation:zod.z.string(),visibility:zod.z.enum(m),accessModel:zod.z.enum(l),ticketPrice:zod.z.number().min(0).optional(),maxTickets:zod.z.number().min(1).optional(),timezone:zod.z.string().default("Africa/Lagos"),replayAccess:zod.z.enum(s),retentionDays:zod.z.number().default(30),tags:zod.z.array(zod.z.string()).optional(),geoRestrictions:zod.z.record(zod.z.string(),zod.z.any()).optional()}),je=O.partial(),U=zod.z.object({kind:zod.z.enum(E),price:chunkO3GYEMUB_js.h.optional()}),Me=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string(),category:zod.z.enum(r),coverImageUrl:zod.z.url().optional(),venueLocation:zod.z.string(),scheduledStartAt:zod.z.iso.datetime(),scheduledEndAt:zod.z.iso.datetime(),timezone:zod.z.string(),visibility:zod.z.enum(m),accessModel:zod.z.enum(l),ticketPrice:chunkO3GYEMUB_js.h.nullable(),maxTickets:zod.z.number().optional(),eventState:zod.z.enum(d),shareableUrl:zod.z.url(),hostId:zod.z.uuid(),isFeatured:zod.z.boolean(),replayAccess:zod.z.enum(s),replayAvailableUntil:zod.z.iso.datetime().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),publishedAt:zod.z.iso.datetime().optional(),liveStartedAt:zod.z.iso.datetime().optional(),liveEndedAt:zod.z.iso.datetime().optional()}),i=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),timezone:zod.z.string(),coverImageUrl:zod.z.url().nullable(),category:zod.z.enum(r),scheduledStartLocal:zod.z.string(),scheduledEndLocal:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),state:zod.z.enum(d),accessModel:zod.z.enum(l),ticketPrice:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),viewerCount:zod.z.number().int().min(0),cta:U.optional(),durationMinutes:zod.z.number().int().nonnegative().nullable().optional(),viewer:zod.z.object({registration:zod.z.enum(f),progressPct:zod.z.number().min(0).max(100).optional(),canResume:zod.z.boolean().optional()})}),Oe=zod.z.object({continueWatching:zod.z.array(i),liveNow:zod.z.array(i),upcoming:zod.z.array(i),recommended:zod.z.array(i),featured:i.nullable()}),Ue=chunkO3GYEMUB_js.g.extend({category:zod.z.enum(r).optional(),accessModel:zod.z.enum(l).optional(),section:zod.z.enum(A).optional(),q:zod.z.string().trim().max(80).optional().transform(o=>o&&o.length>0?o:void 0)}),k=zod.z.object({mode:zod.z.literal("AGGREGATE"),featured:i.nullable(),liveNow:zod.z.array(i),upcoming:zod.z.array(i),recommended:zod.z.array(i)}),_=chunkO3GYEMUB_js.k.extend({mode:zod.z.literal("SECTION"),section:zod.z.enum(A),items:zod.z.array(i)}),ke=zod.z.discriminatedUnion("mode",[k,_]),_e=chunkO3GYEMUB_js.k.extend({items:zod.z.array(i)}),we=zod.z.object({callbackUrl:zod.z.url().optional()}),Ve=zod.z.object({registration:zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid(),status:zod.z.enum(v),expiresAt:zod.z.iso.datetime().nullable()}),paymentIntent:zod.z.object({reference:zod.z.string(),amount:chunkO3GYEMUB_js.h,checkoutUrl:zod.z.url().optional()}).nullable()}),He=zod.z.object({positionSec:zod.z.number().int().min(0).max(1440*60),durationSec:zod.z.number().int().min(1).optional()}),w=zod.z.object({playbackUrl:zod.z.url(),expiresAt:zod.z.iso.datetime(),streamStartedAt:zod.z.iso.datetime(),dvrWindowSeconds:zod.z.number().int().positive()}),V=zod.z.object({kind:zod.z.literal("LIVE"),playbackUrl:zod.z.url(),token:zod.z.string(),expiresAt:zod.z.iso.datetime(),catchup:w.optional()}),H=zod.z.object({kind:zod.z.literal("REPLAY"),playbackUrl:zod.z.url(),expiresAt:zod.z.iso.datetime()}),Ye=zod.z.discriminatedUnion("kind",[V,H]),Y=i.extend({startsInSec:zod.z.number().int().optional(),liveViewerCount:zod.z.number().int().min(0).optional(),liveStartedAt:zod.z.iso.datetime().nullable().optional(),replayAvailableUntil:zod.z.iso.datetime().nullable().optional(),replayDurationSec:zod.z.number().int().min(0).nullable().optional(),watchedPct:zod.z.number().min(0).max(100).optional(),hasWatched:zod.z.boolean().optional()}),Fe=chunkO3GYEMUB_js.k.extend({tab:zod.z.enum(h),items:zod.z.array(Y)}),Ge=chunkO3GYEMUB_js.g.extend({tab:zod.z.enum(h),q:zod.z.string().trim().max(80).optional().transform(o=>o&&o.length>0?o:void 0)}),Be=zod.z.object({sessionId:zod.z.string()}),We=zod.z.object({ok:zod.z.literal(true)}),qe=zod.z.object({durationSec:zod.z.number().int().min(0)}),N=zod.z.number({error:o=>o.input===void 0||o.input===null?"Please provide how many days the replay stays available.":"Replay retention must be a valid number of days."}).int("Replay retention must be a whole number of days.").min(1,"Replay must be available for at least 1 day.").max(365,"Replay retention cannot exceed 365 days."),F=zod.z.number({error:o=>o.input===void 0||o.input===null?"Please set a price for the paid replay.":"Replay price must be a valid number."}).positive("Replay price must be greater than 0."),C=zod.z.discriminatedUnion("access",[zod.z.object({access:zod.z.literal(s.INCLUDED),retentionDays:N}),zod.z.object({access:zod.z.literal(s.PAID_SEPARATELY),retentionDays:N,price:F}),zod.z.object({access:zod.z.literal(s.DISABLED)})],{error:o=>o.input===void 0||o.input===null||typeof o.input=="object"&&o.input.access==null?"Please choose a replay access option.":"Invalid replay access option selected."}),G=zod.z.enum(chunkO3GYEMUB_js.f),B=zod.z.enum(r),L=zod.z.enum(m),W=zod.z.enum(["LIVE_EDGE","CATCHUP"]),q=zod.z.object({step:zod.z.literal(1),title:zod.z.string().min(3).max(120),description:zod.z.string().min(20).max(1200),category:B,scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),durationMinutes:zod.z.number().int().min(5).max(720),coverImageUrl:zod.z.any().optional(),timezone:zod.z.string(),previewClipUrl:zod.z.any().optional(),tags:zod.z.array(zod.z.string().min(1).max(30)).max(10).optional(),location:zod.z.string().max(120).optional()}),z=zod.z.object({step:zod.z.literal(2),paid:zod.z.literal(false),visibility:L,guestEmails:zod.z.array(zod.z.email()).max(500).optional(),replay:C}),K=zod.z.object({step:zod.z.literal(2),paid:zod.z.literal(true),visibility:L,guestEmails:zod.z.array(zod.z.email()).max(500).optional(),ticketPrice:zod.z.number().positive(),ticketCurrency:G,ticketLimit:zod.z.number().int().positive().nullable(),replay:C}),Q=zod.z.object({step:zod.z.literal(3),mode:zod.z.literal(y.SELF),streamingMode:zod.z.enum(D)}),$=zod.z.object({step:zod.z.literal(3),mode:zod.z.literal(y.HIRE),crewIds:zod.z.array(zod.z.uuid()).min(1).max(5).default([]),notes:zod.z.string().max(500).optional()}),ze=zod.z.object({deviceType:zod.z.string().max(50).optional(),mode:W.default("LIVE_EDGE").optional()}),Ke=zod.z.object({streamEnabled:zod.z.boolean()}).strict(),Qe=zod.z.union([q,z,K,Q,$]),R=zod.z.string().min(3).max(8),a=zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"must be YYYY-MM-DD"),$e=zod.z.object({from:a,to:a,eventId:zod.z.uuid().optional(),currency:R.optional()}).strict(),Xe=zod.z.object({from:a,to:a,currency:R.optional(),pageNumber:zod.z.coerce.number().int().min(1).optional(),pageSize:zod.z.coerce.number().int().min(1).max(100).optional(),search:zod.z.string().trim().min(1).max(100).optional()}).strict(),Ze=zod.z.object({from:a,to:a,granularity:zod.z.enum(["daily","weekly"]),currency:R.optional()}).strict(),Je=zod.z.object({from:a,to:a,gross:chunkO3GYEMUB_js.h,refunds:chunkO3GYEMUB_js.h,net:chunkO3GYEMUB_js.h,available:chunkO3GYEMUB_js.h,pending:chunkO3GYEMUB_js.h,ticketsSold:zod.z.number().int().nonnegative(),avgTicketPrice:chunkO3GYEMUB_js.h,previousPeriodDelta:zod.z.object({percentage:zod.z.number().nullable(),direction:chunkO3GYEMUB_js.j,gross:chunkO3GYEMUB_js.h}),revenueSplit:zod.z.object({hostShare:chunkO3GYEMUB_js.h,platformFee:chunkO3GYEMUB_js.h,crewSalaries:chunkO3GYEMUB_js.h})}).strict(),X=zod.z.object({eventId:zod.z.uuid(),eventTitle:zod.z.string(),gross:chunkO3GYEMUB_js.h,refunds:chunkO3GYEMUB_js.h,net:chunkO3GYEMUB_js.h,firstActivityAt:a,lastActivityAt:a,ticketsSold:zod.z.number().int().nonnegative(),status:zod.z.enum(["COMPLETED","LIVE","SCHEDULED"])}).strict(),et=zod.z.object({items:zod.z.array(X),...chunkO3GYEMUB_js.k.shape}).strict(),Z=zod.z.object({date:a,gross:chunkO3GYEMUB_js.h,refunds:chunkO3GYEMUB_js.h,net:chunkO3GYEMUB_js.h}).strict(),tt=zod.z.object({granularity:zod.z.enum(["daily","weekly"]),points:zod.z.array(Z)}).strict(),J=zod.z.enum(["ALL","LIVE","UPCOMING","PAST"]),ee=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),timezone:zod.z.string(),description:zod.z.string().nullable(),coverImageUrl:zod.z.url().nullable(),category:zod.z.enum(r),accessModel:zod.z.enum(l),ticketPrice:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),scheduledStartLocal:zod.z.string(),scheduledStart:zod.z.iso.datetime(),hostDisplayName:zod.z.string().nullable()}),nt=chunkO3GYEMUB_js.g.extend({status:J.default("ALL"),category:zod.z.enum(r).optional(),q:zod.z.string().trim().max(100).optional().transform(o=>o&&o.length>0?o:void 0)}),ot=chunkO3GYEMUB_js.k.extend({items:zod.z.array(ee)}),te=zod.z.object({kind:zod.z.literal("TRAILER"),trailerUrl:zod.z.string()}),ne=zod.z.object({kind:zod.z.literal("SLATE"),slate:zod.z.object({title:zod.z.string(),hostDisplayName:zod.z.string().nullable(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false})})}),oe=zod.z.discriminatedUnion("kind",[te,ne]),it=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),coverImageUrl:zod.z.url().nullable(),category:zod.z.enum(r),timezone:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),scheduledEndLocal:zod.z.iso.datetime({local:true,offset:false}),state:zod.z.enum(d),accessModel:zod.z.enum(l),visibility:zod.z.enum(m),ticketPrice:chunkO3GYEMUB_js.h.nullable(),replayAccess:zod.z.enum(s),replayAccessFee:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),hostBio:zod.z.string().nullable(),previewClipUrl:zod.z.string().nullable(),remainingTickets:zod.z.number().int().nullable(),liveStartedAt:zod.z.iso.datetime().nullable(),liveEndedAt:zod.z.iso.datetime().nullable(),replayAvailableUntil:zod.z.iso.datetime().nullable(),ingestSubstate:zod.z.enum(["AWAITING_INGEST","STREAMING"]).nullable(),awaitingIngestContent:oe.nullable()}),at=zod.z.object({playbackUrl:zod.z.url(),token:zod.z.string(),expiresAt:zod.z.iso.datetime()}),st=zod.z.object({retentionDays:zod.z.number().int().min(1).max(90)}),rt=zod.z.object({eventId:zod.z.uuid(),liveEndedAt:zod.z.iso.datetime(),retentionDays:zod.z.number().int().min(1).max(90),replayAvailableUntil:zod.z.iso.datetime()}),ct=zod.z.object({granularity:zod.z.enum(["daily"]).optional().default("daily"),from:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional()}),ie=zod.z.object({date:zod.z.string(),ticketsSold:zod.z.number().int().nonnegative(),revenue:chunkO3GYEMUB_js.h}),lt=zod.z.object({eventId:zod.z.uuid(),granularity:zod.z.enum(["daily"]),from:zod.z.string(),to:zod.z.string(),points:zod.z.array(ie)}),ae=zod.z.object({from:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional(),eventId:zod.z.uuid().optional()}),S=zod.z.object({count:zod.z.number().int().nonnegative(),pct:zod.z.number().min(0).max(1)}),se=zod.z.object({count:zod.z.number().int().nonnegative(),percentagePrev:zod.z.number().nullable(),direction:chunkO3GYEMUB_js.j}),ut=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),currency:zod.z.string(),summary:zod.z.object({totalViewers:se,uniqueViewers:zod.z.number().int().nonnegative(),liveSpenders:zod.z.number().int().nonnegative(),casualViewers:zod.z.number().int().nonnegative(),repeatViewers:zod.z.number().int().nonnegative(),newThisPeriod:zod.z.number().int().nonnegative()}),segments:zod.z.object({newViewers:S,returningViewers:S,highValueBuyers:S,casualViewers:S}),revenuePerViewer:zod.z.object({total:zod.z.number().int().nonnegative(),averageSpend:chunkO3GYEMUB_js.h,percentagePrev:zod.z.number().nullable(),direction:chunkO3GYEMUB_js.j,bands:zod.z.object({lowSpenders:zod.z.number().int().nonnegative(),midSpenders:zod.z.number().int().nonnegative(),highSpenders:zod.z.number().int().nonnegative()})})}),mt=zod.z.object({from:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional(),search:zod.z.string().trim().min(1).max(120).optional(),...chunkO3GYEMUB_js.g.shape}),re=zod.z.object({eventId:zod.z.uuid(),eventTitle:zod.z.string(),viewers:zod.z.number().int().nonnegative(),peakConcurrent:zod.z.number().int().nonnegative(),replays:zod.z.number().int().nonnegative()}),pt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),items:zod.z.array(re),...chunkO3GYEMUB_js.k.shape}),Et=zod.z.object({limit:zod.z.coerce.number().int().min(1).max(50).optional().default(10)}),ce=zod.z.object({userId:zod.z.uuid(),displayName:zod.z.string(),avatarKey:zod.z.string().nullable(),totalSpend:chunkO3GYEMUB_js.h,eventCount:zod.z.number().int().nonnegative()}),dt=zod.z.object({items:zod.z.array(ce)}),le=zod.z.object({kind:zod.z.enum(["TICKET_SOLD","REPLAY_SOLD"]),subjectType:zod.z.enum(["Event","PaymentIntent","ReplayPurchase","Booking"]),subjectId:zod.z.string(),occurredAt:zod.z.number(),payload:zod.z.record(zod.z.string(),zod.z.unknown())}),St=zod.z.object({items:zod.z.array(le),...chunkO3GYEMUB_js.k.shape}),bt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),items:zod.z.array(zod.z.object({country:zod.z.string(),viewerCount:zod.z.number().int().nonnegative()}))}),gt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),items:zod.z.array(zod.z.object({deviceType:zod.z.string(),viewerCount:zod.z.number().int().nonnegative()}))}),yt=zod.z.object({from:zod.z.iso.datetime(),to:zod.z.iso.datetime(),granularity:zod.z.enum(["daily"]),points:zod.z.array(zod.z.object({date:zod.z.string(),viewers:zod.z.number().int().nonnegative()}))}),At=ae.extend({granularity:zod.z.enum(["daily"]).optional().default("daily")});var Nt=zod.z.object({eventId:zod.z.uuid(),amount:zod.z.number().min(0)}),Ct=zod.z.object({authorizationUrl:zod.z.url(),reference:zod.z.string(),accessCode:zod.z.string().optional()}),Lt=zod.z.object({reference:zod.z.string(),checkoutUrl:zod.z.url().nullable(),status:zod.z.enum(b),expiresAt:zod.z.iso.datetime()}),jt=zod.z.object({reference:zod.z.string(),status:zod.z.enum(b),eventId:zod.z.uuid(),amount:chunkO3GYEMUB_js.h,paidAt:zod.z.iso.datetime().nullable()}),Mt=zod.z.object({email:zod.z.email()}),ue=zod.z.object({intent_id:zod.z.uuid(),user_id:zod.z.uuid(),event_id:zod.z.uuid()}).loose(),me=zod.z.object({authorization_code:zod.z.string(),bin:zod.z.string().nullish(),last4:zod.z.string().nullish(),exp_month:zod.z.string().nullish(),exp_year:zod.z.string().nullish(),channel:zod.z.string().nullish(),card_type:zod.z.string().nullish(),bank:zod.z.string().nullish(),country_code:zod.z.string().nullish(),brand:zod.z.string().nullish(),reusable:zod.z.boolean().nullish(),signature:zod.z.string().nullish(),account_name:zod.z.string().nullish(),receiver_bank_account_number:zod.z.string().nullish(),receiver_bank:zod.z.string().nullish()}).loose(),pe=zod.z.object({id:zod.z.number(),first_name:zod.z.string().nullish(),last_name:zod.z.string().nullish(),email:zod.z.email(),customer_code:zod.z.string(),phone:zod.z.string().nullish(),metadata:zod.z.unknown().nullish(),risk_action:zod.z.string().nullish(),international_format_phone:zod.z.string().nullish()}).loose(),Ee=zod.z.object({type:zod.z.string().nullish(),source:zod.z.string().nullish(),entry_point:zod.z.string().nullish(),identifier:zod.z.string().nullish()}).loose(),Ot=zod.z.object({event:zod.z.string(),data:zod.z.object({id:zod.z.number(),domain:zod.z.string().optional(),status:zod.z.string(),reference:zod.z.string(),amount:zod.z.number(),message:zod.z.string().nullish(),gateway_response:zod.z.string().nullish(),paid_at:zod.z.string().nullish(),paidAt:zod.z.string().nullish(),created_at:zod.z.string().nullish(),channel:zod.z.string().nullish(),currency:zod.z.string(),ip_address:zod.z.string().nullish(),fees:zod.z.number().nullish(),fees_breakdown:zod.z.unknown().nullish(),fees_split:zod.z.unknown().nullish(),log:zod.z.unknown().nullish(),order_id:zod.z.string().nullish(),requested_amount:zod.z.number().nullish(),pos_transaction_data:zod.z.unknown().nullish(),plan:zod.z.object({}).loose().optional(),subaccount:zod.z.object({}).loose().optional(),split:zod.z.object({}).loose().optional(),metadata:ue,authorization:me.optional(),customer:pe.optional(),source:Ee.optional()}).loose()}).loose(),Ut=zod.z.object({qualified:zod.z.boolean(),reason:zod.z.enum(T)}),kt=zod.z.object({reference:zod.z.null(),subtotal:chunkO3GYEMUB_js.h,platformFee:chunkO3GYEMUB_js.h,total:chunkO3GYEMUB_js.h,strategyId:zod.z.string(),expiresInSec:zod.z.number().int().positive()}),de=zod.z.object({kind:zod.z.literal("TRAILER"),trailerUrl:zod.z.url()}),Se=zod.z.object({kind:zod.z.literal("SLATE"),slate:zod.z.object({title:zod.z.string(),hostDisplayName:zod.z.string().nullable(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false})})}),be=zod.z.discriminatedUnion("kind",[de,Se]),_t=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),coverImageUrl:zod.z.string().nullable(),category:zod.z.string(),timezone:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),scheduledEndLocal:zod.z.iso.datetime({local:true,offset:false}),state:zod.z.string(),accessModel:zod.z.string(),visibility:zod.z.string(),ticketPrice:chunkO3GYEMUB_js.h.nullable(),replayAccess:zod.z.enum(s),replayAccessFee:chunkO3GYEMUB_js.h.nullable(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),hostBio:zod.z.string().nullable(),previewClipUrl:zod.z.string().nullable(),remainingTickets:zod.z.number().int().nullable(),liveStartedAt:zod.z.iso.datetime().nullable(),liveEndedAt:zod.z.iso.datetime().nullable(),replayAvailableUntil:zod.z.iso.datetime().nullable(),ingestSubstate:zod.z.enum(["AWAITING_INGEST","STREAMING"]).nullable(),awaitingIngestContent:be.nullable(),viewer:zod.z.object({entitlement:zod.z.enum(x),purchaseCta:zod.z.enum(E),activeIntentReference:zod.z.string().optional(),requiresAccessCheck:zod.z.boolean().optional()})}),wt=zod.z.object({url:zod.z.url(),expiresAt:zod.z.iso.datetime(),contentType:zod.z.string().min(1)}),ge=zod.z.object({reference:zod.z.string(),amount:chunkO3GYEMUB_js.h,checkoutUrl:zod.z.string().optional()}),ye=zod.z.object({id:zod.z.string(),eventId:zod.z.string(),status:zod.z.enum(g),source:zod.z.enum(g),amount:chunkO3GYEMUB_js.h,paymentExpiresAt:zod.z.iso.datetime().nullable(),expiresAt:zod.z.iso.datetime().nullable(),paidAt:zod.z.iso.datetime().nullable()}),Vt=zod.z.object({replayPurchase:ye,payment:ge.nullable()}),Ht=zod.z.object({bankCode:zod.z.string().trim().regex(/^\d{3,10}$/,"bankCode must be a 3\u201310 digit numeric string"),accountNumber:zod.z.string().trim().regex(/^\d{10}$/,"accountNumber must be a 10-digit NUBAN")}),Yt=zod.z.object({bankName:zod.z.string().nullable(),bankCode:zod.z.string().nullable(),accountNumberMasked:zod.z.string().nullable(),accountName:zod.z.string().nullable(),verifiedAt:zod.z.string().nullable(),updatedAt:zod.z.string().nullable()}),Ft=zod.z.object({}),Gt=o=>zod.z.object({status:zod.z.union([zod.z.boolean(),zod.z.string()]).optional(),message:zod.z.string().optional(),data:o}),Bt=zod.z.object({status:zod.z.union([zod.z.boolean(),zod.z.string()]).optional(),message:zod.z.string().optional(),data:zod.z.unknown().optional()}),j=zod.z.union([zod.z.number(),zod.z.string()]).transform(o=>BigInt(o)),M=zod.z.string(),Wt=zod.z.object({id:zod.z.string().min(1),status:zod.z.string().min(1),amount:j.optional(),currency:M.optional(),funding:zod.z.object({account_number:zod.z.string(),account_name:zod.z.string(),bank_name:zod.z.string(),expires_at:zod.z.string().optional()}).partial().optional()}),qt=zod.z.object({id:zod.z.string().optional(),transaction_id:zod.z.string().optional(),reference:zod.z.string().optional(),status:zod.z.string().min(1)}),zt=zod.z.object({id:zod.z.string().optional(),transfer_id:zod.z.string().optional(),status:zod.z.string().min(1),requires_otp:zod.z.boolean().optional()}),Kt=zod.z.object({id:zod.z.string().optional(),refund_id:zod.z.string().optional(),flag_id:zod.z.string().optional(),status:zod.z.string().min(1)}),Qt=zod.z.object({id:zod.z.string().min(1),status:zod.z.string().min(1),amount:j.optional(),currency:M.optional(),updated_at:zod.z.string().optional()}),$t=zod.z.object({id:zod.z.string(),reference:zod.z.string(),state:zod.z.enum(P),amount:chunkO3GYEMUB_js.h,bankName:zod.z.string().nullable(),accountNumberMasked:zod.z.string(),accountName:zod.z.string(),requestedAt:zod.z.string(),settledAt:zod.z.string().nullable(),failedAt:zod.z.string().nullable(),failureReason:zod.z.string().nullable()});exports.$=je;exports.$a=Et;exports.A=Lt;exports.Aa=W;exports.B=jt;exports.Ba=ze;exports.C=Mt;exports.Ca=Ke;exports.D=Ot;exports.Da=Qe;exports.E=Ut;exports.Ea=$e;exports.F=kt;exports.Fa=Xe;exports.G=de;exports.Ga=Ze;exports.H=Se;exports.Ha=Je;exports.I=be;exports.Ia=X;exports.J=_t;exports.Ja=et;exports.K=wt;exports.Ka=Z;exports.L=ge;exports.La=tt;exports.M=ye;exports.Ma=J;exports.N=Vt;exports.Na=ee;exports.O=Ht;exports.Oa=nt;exports.P=Yt;exports.Pa=ot;exports.Q=Ft;exports.Qa=it;exports.R=Gt;exports.Ra=at;exports.S=Bt;exports.Sa=st;exports.T=j;exports.Ta=rt;exports.U=Wt;exports.Ua=ct;exports.V=qt;exports.Va=ie;exports.W=zt;exports.Wa=lt;exports.X=Kt;exports.Xa=ae;exports.Y=Qt;exports.Ya=ut;exports.Z=$t;exports.Za=mt;exports._=O;exports._a=pt;exports.a=s;exports.aa=U;exports.ab=dt;exports.b=m;exports.ba=Me;exports.bb=St;exports.c=l;exports.ca=i;exports.cb=bt;exports.d=y;exports.da=Oe;exports.db=gt;exports.e=D;exports.ea=Ue;exports.eb=yt;exports.f=xe;exports.fa=k;exports.fb=At;exports.g=d;exports.ga=_;exports.h=r;exports.ha=ke;exports.i=v;exports.ia=_e;exports.j=Pe;exports.ja=we;exports.k=f;exports.ka=Ve;exports.l=A;exports.la=He;exports.m=h;exports.ma=w;exports.n=De;exports.na=V;exports.o=Ae;exports.oa=H;exports.p=he;exports.pa=Ye;exports.q=Re;exports.qa=Y;exports.r=b;exports.ra=Fe;exports.s=g;exports.sa=Ge;exports.t=T;exports.ta=Be;exports.u=x;exports.ua=We;exports.v=Ie;exports.va=qe;exports.w=E;exports.wa=C;exports.x=P;exports.xa=G;exports.y=Nt;exports.ya=B;exports.z=Ct;exports.za=L;//# sourceMappingURL=chunk-4GW5RNUF.js.map
2
+ //# sourceMappingURL=chunk-4GW5RNUF.js.map