@livdot-tech/contracts 1.11.3 → 1.11.5

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 (81) hide show
  1. package/dist/auth/index.js +1 -1
  2. package/dist/auth/index.mjs +1 -1
  3. package/dist/booking/index.d.mts +28 -4
  4. package/dist/booking/index.d.ts +28 -4
  5. package/dist/booking/index.js +1 -1
  6. package/dist/booking/index.mjs +1 -1
  7. package/dist/{chunk-ESK5VMVW.mjs → chunk-2CVLT7RO.mjs} +2 -2
  8. package/dist/{chunk-ESK5VMVW.mjs.map → chunk-2CVLT7RO.mjs.map} +1 -1
  9. package/dist/{chunk-B6LAL2YJ.mjs → chunk-6B5WBKKB.mjs} +2 -2
  10. package/dist/{chunk-B6LAL2YJ.mjs.map → chunk-6B5WBKKB.mjs.map} +1 -1
  11. package/dist/chunk-C3IZKBL2.mjs +2 -0
  12. package/dist/chunk-C3IZKBL2.mjs.map +1 -0
  13. package/dist/{chunk-X6XWQGGL.js → chunk-CMQ2CLPC.js} +2 -2
  14. package/dist/{chunk-X6XWQGGL.js.map → chunk-CMQ2CLPC.js.map} +1 -1
  15. package/dist/{chunk-VJL6Z42G.js → chunk-EHIZAQ4M.js} +2 -2
  16. package/dist/{chunk-VJL6Z42G.js.map → chunk-EHIZAQ4M.js.map} +1 -1
  17. package/dist/{chunk-LLN7SZX3.mjs → chunk-GQ3PZWZ7.mjs} +2 -2
  18. package/dist/chunk-GQ3PZWZ7.mjs.map +1 -0
  19. package/dist/{chunk-QG45YPMB.mjs → chunk-INCJR5IC.mjs} +2 -2
  20. package/dist/{chunk-QG45YPMB.mjs.map → chunk-INCJR5IC.mjs.map} +1 -1
  21. package/dist/{chunk-IR4E7GOJ.mjs → chunk-KZ2OWUX4.mjs} +2 -2
  22. package/dist/{chunk-IR4E7GOJ.mjs.map → chunk-KZ2OWUX4.mjs.map} +1 -1
  23. package/dist/chunk-L26MD3EM.mjs +2 -0
  24. package/dist/chunk-L26MD3EM.mjs.map +1 -0
  25. package/dist/chunk-MIKZYUHT.mjs +2 -0
  26. package/dist/chunk-MIKZYUHT.mjs.map +1 -0
  27. package/dist/chunk-MVQEFN65.js +2 -0
  28. package/dist/chunk-MVQEFN65.js.map +1 -0
  29. package/dist/chunk-NPBSMBUF.js +2 -0
  30. package/dist/chunk-NPBSMBUF.js.map +1 -0
  31. package/dist/{chunk-KVUWS2EV.mjs → chunk-O4FQLJ2O.mjs} +2 -2
  32. package/dist/{chunk-KVUWS2EV.mjs.map → chunk-O4FQLJ2O.mjs.map} +1 -1
  33. package/dist/{chunk-UFQCZR62.js → chunk-Q223XBEP.js} +2 -2
  34. package/dist/{chunk-UFQCZR62.js.map → chunk-Q223XBEP.js.map} +1 -1
  35. package/dist/{chunk-4IYM4HMZ.js → chunk-U3FLBXU4.js} +2 -2
  36. package/dist/chunk-U3FLBXU4.js.map +1 -0
  37. package/dist/chunk-UG5VXYDU.js +2 -0
  38. package/dist/chunk-UG5VXYDU.js.map +1 -0
  39. package/dist/{chunk-X6D4JWNX.js → chunk-YQUSRVW6.js} +2 -2
  40. package/dist/{chunk-X6D4JWNX.js.map → chunk-YQUSRVW6.js.map} +1 -1
  41. package/dist/{chunk-6SYK27ES.js → chunk-ZESZOTEG.js} +2 -2
  42. package/dist/{chunk-6SYK27ES.js.map → chunk-ZESZOTEG.js.map} +1 -1
  43. package/dist/dispute/index.js +1 -1
  44. package/dist/dispute/index.mjs +1 -1
  45. package/dist/event/index.d.mts +39 -1
  46. package/dist/event/index.d.ts +39 -1
  47. package/dist/event/index.js +1 -1
  48. package/dist/event/index.mjs +1 -1
  49. package/dist/host/index.d.mts +11 -7
  50. package/dist/host/index.d.ts +11 -7
  51. package/dist/host/index.js +1 -1
  52. package/dist/host/index.mjs +1 -1
  53. package/dist/index.d.mts +1 -1
  54. package/dist/index.d.ts +1 -1
  55. package/dist/index.js +1 -1
  56. package/dist/index.mjs +1 -1
  57. package/dist/marketplace/index.js +1 -1
  58. package/dist/marketplace/index.mjs +1 -1
  59. package/dist/notification/index.js +1 -1
  60. package/dist/notification/index.mjs +1 -1
  61. package/dist/payment/index.d.mts +10 -8
  62. package/dist/payment/index.d.ts +10 -8
  63. package/dist/payment/index.js +1 -1
  64. package/dist/payment/index.mjs +1 -1
  65. package/dist/user/index.js +1 -1
  66. package/dist/user/index.mjs +1 -1
  67. package/package.json +1 -1
  68. package/dist/chunk-35L6V26P.mjs +0 -2
  69. package/dist/chunk-35L6V26P.mjs.map +0 -1
  70. package/dist/chunk-4IYM4HMZ.js.map +0 -1
  71. package/dist/chunk-CS53SHRW.js +0 -2
  72. package/dist/chunk-CS53SHRW.js.map +0 -1
  73. package/dist/chunk-EITXVMRX.js +0 -2
  74. package/dist/chunk-EITXVMRX.js.map +0 -1
  75. package/dist/chunk-LLN7SZX3.mjs.map +0 -1
  76. package/dist/chunk-NH4QT6YO.js +0 -2
  77. package/dist/chunk-NH4QT6YO.js.map +0 -1
  78. package/dist/chunk-O563NPZQ.mjs +0 -2
  79. package/dist/chunk-O563NPZQ.mjs.map +0 -1
  80. package/dist/chunk-YIHYVYZT.mjs +0 -2
  81. package/dist/chunk-YIHYVYZT.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkX6XWQGGL_js=require('../chunk-X6XWQGGL.js');require('../chunk-6SYK27ES.js'),require('../chunk-UFQCZR62.js'),require('../chunk-CS53SHRW.js'),require('../chunk-EITXVMRX.js'),require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkX6XWQGGL_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkX6XWQGGL_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkX6XWQGGL_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkX6XWQGGL_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkX6XWQGGL_js.j}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkCMQ2CLPC_js=require('../chunk-CMQ2CLPC.js');require('../chunk-ZESZOTEG.js'),require('../chunk-Q223XBEP.js'),require('../chunk-MVQEFN65.js'),require('../chunk-NPBSMBUF.js'),require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_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-QG45YPMB.mjs';import'../chunk-ESK5VMVW.mjs';import'../chunk-IR4E7GOJ.mjs';import'../chunk-O563NPZQ.mjs';import'../chunk-YIHYVYZT.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
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-INCJR5IC.mjs';import'../chunk-2CVLT7RO.mjs';import'../chunk-KZ2OWUX4.mjs';import'../chunk-L26MD3EM.mjs';import'../chunk-C3IZKBL2.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1096,9 +1096,33 @@ declare const ProducerRecentReviewSchema: z.ZodObject<{
1096
1096
  comment: z.ZodNullable<z.ZodString>;
1097
1097
  createdAt: z.ZodISODateTime;
1098
1098
  }, z.core.$strip>;
1099
+ /**
1100
+ * `GET /marketplace/producers/:id/reviews` — paginated public reviews
1101
+ * for a marketplace-visible producer (privacy-safe snippets).
1102
+ * Alias of shared PaginationParamsSchema (pageNumber / pageSize).
1103
+ */
1104
+ declare const ListProducerReviewsQuerySchema: z.ZodObject<{
1105
+ pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1106
+ pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1107
+ }, z.core.$strip>;
1108
+ declare const PagedProducerReviewsResponseSchema: z.ZodObject<{
1109
+ totalCount: z.ZodNumber;
1110
+ pageNumber: z.ZodNumber;
1111
+ pageSize: z.ZodNumber;
1112
+ totalPages: z.ZodNumber;
1113
+ hasPreviousPage: z.ZodBoolean;
1114
+ hasNextPage: z.ZodBoolean;
1115
+ items: z.ZodArray<z.ZodObject<{
1116
+ rating: z.ZodNumber;
1117
+ comment: z.ZodNullable<z.ZodString>;
1118
+ createdAt: z.ZodISODateTime;
1119
+ }, z.core.$strip>>;
1120
+ }, z.core.$strip>;
1099
1121
  type CreateMarketplaceReviewRequest = z.infer<typeof CreateMarketplaceReviewRequestSchema>;
1100
1122
  type MarketplaceReviewResponse = z.infer<typeof MarketplaceReviewResponseSchema>;
1101
1123
  type ProducerRecentReview = z.infer<typeof ProducerRecentReviewSchema>;
1124
+ type ListProducerReviewsQuery = z.infer<typeof ListProducerReviewsQuerySchema>;
1125
+ type PagedProducerReviewsResponse = z.infer<typeof PagedProducerReviewsResponseSchema>;
1102
1126
 
1103
1127
  /** Crew dashboard "My Jobs" tabs — mirrors host `GET /host/events?tab=`. */
1104
1128
  declare const ProducerJobsTabSchema: z.ZodEnum<{
@@ -1833,7 +1857,7 @@ declare const EventCrewAssignmentResponseSchema: z.ZodObject<{
1833
1857
  producerIsVerified: z.ZodBoolean;
1834
1858
  }, z.core.$strip>>;
1835
1859
  eventTitle: z.ZodOptional<z.ZodString>;
1836
- eventScheduledStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1860
+ eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1837
1861
  }, z.core.$strip>;
1838
1862
  declare const ListEventCrewAssignmentsResponseSchema: z.ZodObject<{
1839
1863
  items: z.ZodArray<z.ZodObject<{
@@ -1880,7 +1904,7 @@ declare const ListEventCrewAssignmentsResponseSchema: z.ZodObject<{
1880
1904
  producerIsVerified: z.ZodBoolean;
1881
1905
  }, z.core.$strip>>;
1882
1906
  eventTitle: z.ZodOptional<z.ZodString>;
1883
- eventScheduledStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1907
+ eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1884
1908
  }, z.core.$strip>>;
1885
1909
  }, z.core.$strip>;
1886
1910
  /** `POST /marketplace/crew-assignments/:id/reject` */
@@ -1932,7 +1956,7 @@ declare const AcceptEventCrewAssignmentResponseSchema: z.ZodObject<{
1932
1956
  producerIsVerified: z.ZodBoolean;
1933
1957
  }, z.core.$strip>>;
1934
1958
  eventTitle: z.ZodOptional<z.ZodString>;
1935
- eventScheduledStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1959
+ eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1936
1960
  }, z.core.$strip>;
1937
1961
  bookingId: z.ZodUUID;
1938
1962
  }, z.core.$strip>;
@@ -1944,4 +1968,4 @@ type ListEventCrewAssignmentsResponse = z.infer<typeof ListEventCrewAssignmentsR
1944
1968
  type RejectEventCrewAssignmentRequest = z.infer<typeof RejectEventCrewAssignmentRequestSchema>;
1945
1969
  type AcceptEventCrewAssignmentResponse = z.infer<typeof AcceptEventCrewAssignmentResponseSchema>;
1946
1970
 
1947
- export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
1971
+ export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
@@ -1096,9 +1096,33 @@ declare const ProducerRecentReviewSchema: z.ZodObject<{
1096
1096
  comment: z.ZodNullable<z.ZodString>;
1097
1097
  createdAt: z.ZodISODateTime;
1098
1098
  }, z.core.$strip>;
1099
+ /**
1100
+ * `GET /marketplace/producers/:id/reviews` — paginated public reviews
1101
+ * for a marketplace-visible producer (privacy-safe snippets).
1102
+ * Alias of shared PaginationParamsSchema (pageNumber / pageSize).
1103
+ */
1104
+ declare const ListProducerReviewsQuerySchema: z.ZodObject<{
1105
+ pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1106
+ pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1107
+ }, z.core.$strip>;
1108
+ declare const PagedProducerReviewsResponseSchema: z.ZodObject<{
1109
+ totalCount: z.ZodNumber;
1110
+ pageNumber: z.ZodNumber;
1111
+ pageSize: z.ZodNumber;
1112
+ totalPages: z.ZodNumber;
1113
+ hasPreviousPage: z.ZodBoolean;
1114
+ hasNextPage: z.ZodBoolean;
1115
+ items: z.ZodArray<z.ZodObject<{
1116
+ rating: z.ZodNumber;
1117
+ comment: z.ZodNullable<z.ZodString>;
1118
+ createdAt: z.ZodISODateTime;
1119
+ }, z.core.$strip>>;
1120
+ }, z.core.$strip>;
1099
1121
  type CreateMarketplaceReviewRequest = z.infer<typeof CreateMarketplaceReviewRequestSchema>;
1100
1122
  type MarketplaceReviewResponse = z.infer<typeof MarketplaceReviewResponseSchema>;
1101
1123
  type ProducerRecentReview = z.infer<typeof ProducerRecentReviewSchema>;
1124
+ type ListProducerReviewsQuery = z.infer<typeof ListProducerReviewsQuerySchema>;
1125
+ type PagedProducerReviewsResponse = z.infer<typeof PagedProducerReviewsResponseSchema>;
1102
1126
 
1103
1127
  /** Crew dashboard "My Jobs" tabs — mirrors host `GET /host/events?tab=`. */
1104
1128
  declare const ProducerJobsTabSchema: z.ZodEnum<{
@@ -1833,7 +1857,7 @@ declare const EventCrewAssignmentResponseSchema: z.ZodObject<{
1833
1857
  producerIsVerified: z.ZodBoolean;
1834
1858
  }, z.core.$strip>>;
1835
1859
  eventTitle: z.ZodOptional<z.ZodString>;
1836
- eventScheduledStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1860
+ eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1837
1861
  }, z.core.$strip>;
1838
1862
  declare const ListEventCrewAssignmentsResponseSchema: z.ZodObject<{
1839
1863
  items: z.ZodArray<z.ZodObject<{
@@ -1880,7 +1904,7 @@ declare const ListEventCrewAssignmentsResponseSchema: z.ZodObject<{
1880
1904
  producerIsVerified: z.ZodBoolean;
1881
1905
  }, z.core.$strip>>;
1882
1906
  eventTitle: z.ZodOptional<z.ZodString>;
1883
- eventScheduledStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1907
+ eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1884
1908
  }, z.core.$strip>>;
1885
1909
  }, z.core.$strip>;
1886
1910
  /** `POST /marketplace/crew-assignments/:id/reject` */
@@ -1932,7 +1956,7 @@ declare const AcceptEventCrewAssignmentResponseSchema: z.ZodObject<{
1932
1956
  producerIsVerified: z.ZodBoolean;
1933
1957
  }, z.core.$strip>>;
1934
1958
  eventTitle: z.ZodOptional<z.ZodString>;
1935
- eventScheduledStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1959
+ eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1936
1960
  }, z.core.$strip>;
1937
1961
  bookingId: z.ZodUUID;
1938
1962
  }, z.core.$strip>;
@@ -1944,4 +1968,4 @@ type ListEventCrewAssignmentsResponse = z.infer<typeof ListEventCrewAssignmentsR
1944
1968
  type RejectEventCrewAssignmentRequest = z.infer<typeof RejectEventCrewAssignmentRequestSchema>;
1945
1969
  type AcceptEventCrewAssignmentResponse = z.infer<typeof AcceptEventCrewAssignmentResponseSchema>;
1946
1970
 
1947
- export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
1971
+ export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk4IYM4HMZ_js=require('../chunk-4IYM4HMZ.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkCS53SHRW_js=require('../chunk-CS53SHRW.js');require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.Ba}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.xa}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.za}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.Aa}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunk4IYM4HMZ_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkCS53SHRW_js.a}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkCS53SHRW_js.b}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkCS53SHRW_js.c}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkU3FLBXU4_js=require('../chunk-U3FLBXU4.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkMVQEFN65_js=require('../chunk-MVQEFN65.js');require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Ba}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkU3FLBXU4_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkU3FLBXU4_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkU3FLBXU4_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.xa}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkU3FLBXU4_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkU3FLBXU4_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkU3FLBXU4_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.za}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkU3FLBXU4_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Aa}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkU3FLBXU4_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkU3FLBXU4_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkU3FLBXU4_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkU3FLBXU4_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkU3FLBXU4_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkU3FLBXU4_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkU3FLBXU4_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkU3FLBXU4_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.c}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{Ba as AcceptEventCrewAssignmentResponseSchema,sa as AdminBookingAuditEntrySchema,ta as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ma as BookingAuditActorSchema,ra as BookingAuditAttachmentAddedDetailsSchema,qa as BookingAuditMessageSentDetailsSchema,na as BookingAuditRequestMetadataSchema,oa as BookingAuditSnapshotSchema,pa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,G as CancelMarketplaceJobListingRequestSchema,H as CancelMarketplaceJobListingResponseSchema,I as CloseMarketplaceJobListingResponseSchema,w as CompleteMarketplaceBookingRequestSchema,y as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,va as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,t as CreateMarketplaceBookingResponseSchema,z as CreateMarketplaceJobListingRequestSchema,xa as EventCrewAssignmentProducerSummarySchema,ya as EventCrewAssignmentResponseSchema,ua as EventCrewAssignmentState,x as ForceCompleteMarketplaceBookingRequestSchema,Z as GetMarketplaceHiringThreadResponseSchema,N as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,za as ListEventCrewAssignmentsResponseSchema,P as ListHostMarketplaceIndicationsQuerySchema,C as ListHostMarketplaceJobListingsQuerySchema,X as ListMarketplaceHiringThreadMessagesQuerySchema,Y as ListMarketplaceHiringThreadMessagesResponseSchema,ea as ListMarketplaceHiringThreadsResponseSchema,B as ListMarketplaceJobListingsQuerySchema,ia as ListProducerJobsQuerySchema,R as ListProducerMarketplaceIndicationsQuerySchema,ba as MarkMarketplaceHiringThreadReadRequestSchema,ca as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingResponseSchema,V as MarketplaceHiringMessageAttachmentSchema,W as MarketplaceHiringMessageSchema,da as MarketplaceHiringThreadInboxItemSchema,U as MarketplaceHiringThreadSchema,Q as MarketplaceHostIndicationOfInterestInboxItemSchema,M as MarketplaceIndicationOfInterestHostItemSchema,L as MarketplaceIndicationOfInterestResponseSchema,F as MarketplaceJobListingResponseSchema,S as MarketplaceProducerIndicationOfInterestInboxItemSchema,T as MessageDeliveryStatus,J as OpenMarketplaceJobListingResponseSchema,_ as PostMarketplaceHiringThreadMessageRequestSchema,$ as PostMarketplaceHiringThreadMessageResponseSchema,ha as ProducerJobRowKindSchema,ja as ProducerJobRowSchema,ga as ProducerJobRowStatusSchema,la as ProducerJobsTabCountsResponseSchema,ka as ProducerJobsTabResponseSchema,fa as ProducerJobsTabSchema,E as PublishMarketplaceJobListingResponseSchema,D as PublishReadyJobListingSchema,Aa as RejectEventCrewAssignmentRequestSchema,O as SortOrder,K as SubmitMarketplaceIndicationOfInterestRequestSchema,u as TransitionMarketplaceBookingRequestSchema,v as TransitionMarketplaceBookingResponseSchema,wa as UpdateEventCrewAssignmentRequestSchema,A as UpdateMarketplaceJobListingRequestSchema,aa as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-LLN7SZX3.mjs';export{g as BookingAuditAction,a as BookingOrigin,e as BookingPaymentStatus,b as BookingState,f as BookingTransitionActor,d as IoiState,c as JobListingState}from'../chunk-B7B7YFFC.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,b as MarketplaceReviewResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-O563NPZQ.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{Ba as AcceptEventCrewAssignmentResponseSchema,sa as AdminBookingAuditEntrySchema,ta as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ma as BookingAuditActorSchema,ra as BookingAuditAttachmentAddedDetailsSchema,qa as BookingAuditMessageSentDetailsSchema,na as BookingAuditRequestMetadataSchema,oa as BookingAuditSnapshotSchema,pa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,G as CancelMarketplaceJobListingRequestSchema,H as CancelMarketplaceJobListingResponseSchema,I as CloseMarketplaceJobListingResponseSchema,w as CompleteMarketplaceBookingRequestSchema,y as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,va as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,t as CreateMarketplaceBookingResponseSchema,z as CreateMarketplaceJobListingRequestSchema,xa as EventCrewAssignmentProducerSummarySchema,ya as EventCrewAssignmentResponseSchema,ua as EventCrewAssignmentState,x as ForceCompleteMarketplaceBookingRequestSchema,Z as GetMarketplaceHiringThreadResponseSchema,N as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,za as ListEventCrewAssignmentsResponseSchema,P as ListHostMarketplaceIndicationsQuerySchema,C as ListHostMarketplaceJobListingsQuerySchema,X as ListMarketplaceHiringThreadMessagesQuerySchema,Y as ListMarketplaceHiringThreadMessagesResponseSchema,ea as ListMarketplaceHiringThreadsResponseSchema,B as ListMarketplaceJobListingsQuerySchema,ia as ListProducerJobsQuerySchema,R as ListProducerMarketplaceIndicationsQuerySchema,ba as MarkMarketplaceHiringThreadReadRequestSchema,ca as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingResponseSchema,V as MarketplaceHiringMessageAttachmentSchema,W as MarketplaceHiringMessageSchema,da as MarketplaceHiringThreadInboxItemSchema,U as MarketplaceHiringThreadSchema,Q as MarketplaceHostIndicationOfInterestInboxItemSchema,M as MarketplaceIndicationOfInterestHostItemSchema,L as MarketplaceIndicationOfInterestResponseSchema,F as MarketplaceJobListingResponseSchema,S as MarketplaceProducerIndicationOfInterestInboxItemSchema,T as MessageDeliveryStatus,J as OpenMarketplaceJobListingResponseSchema,_ as PostMarketplaceHiringThreadMessageRequestSchema,$ as PostMarketplaceHiringThreadMessageResponseSchema,ha as ProducerJobRowKindSchema,ja as ProducerJobRowSchema,ga as ProducerJobRowStatusSchema,la as ProducerJobsTabCountsResponseSchema,ka as ProducerJobsTabResponseSchema,fa as ProducerJobsTabSchema,E as PublishMarketplaceJobListingResponseSchema,D as PublishReadyJobListingSchema,Aa as RejectEventCrewAssignmentRequestSchema,O as SortOrder,K as SubmitMarketplaceIndicationOfInterestRequestSchema,u as TransitionMarketplaceBookingRequestSchema,v as TransitionMarketplaceBookingResponseSchema,wa as UpdateEventCrewAssignmentRequestSchema,A as UpdateMarketplaceJobListingRequestSchema,aa as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-GQ3PZWZ7.mjs';export{g as BookingAuditAction,a as BookingOrigin,e as BookingPaymentStatus,b as BookingState,f as BookingTransitionActor,d as IoiState,c as JobListingState}from'../chunk-B7B7YFFC.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,d as ListProducerReviewsQuerySchema,b as MarketplaceReviewResponseSchema,e as PagedProducerReviewsResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-L26MD3EM.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import {g as g$2,n,h,c,b as b$1,f,e}from'./chunk-IR4E7GOJ.mjs';import {g as g$1}from'./chunk-YIHYVYZT.mjs';import {z}from'zod';var u=z.object({id:z.uuid(),userId:z.uuid(),businessName:z.string(),totalEvents:z.number(),totalSpent:z.number(),averageRating:z.number(),defaultCurrency:z.string(),description:z.string().optional(),category:z.array(z.enum(g$1)),logoUrl:z.url().optional(),hasPin:z.boolean(),businessRegNumber:z.string().optional(),taxId:z.string().optional(),settlementBankCode:z.string().optional(),settlementAccountNumber:z.string().optional(),settlementAccountName:z.string().optional(),paystackSubaccountCode:z.string().optional(),createdAt:z.iso.datetime()}),d=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string(),bio:z.string(),yearsExperience:z.number().optional(),experienceLevel:z.enum(h),equipmentManifest:z.array(z.record(z.string(),z.any())),serviceCategories:z.array(n),equipmentItems:z.array(n),verificationStatus:z.enum(g$2),averageRating:z.number().positive().multipleOf(.01),totalReviews:z.number(),completionRate:z.number(),isAvailable:z.boolean(),hasPin:z.boolean(),createdAt:z.iso.datetime()}),N=z.object({id:z.uuid(),email:z.email().toLowerCase(),emailVerified:z.boolean(),emailVerifiedAt:z.iso.datetime().optional(),phoneNumber:z.string().optional(),firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),role:z.number().min(1).max(15),accountStatus:z.enum(b$1),kycStatus:z.enum(c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime(),eventCategory:z.array(z.enum(g$1)).optional()}),R=z.object({firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),phoneNumber:z.string().optional(),eventCategory:z.array(z.enum(g$1)).optional()}),v=z.object({businessName:z.string(),description:z.string().optional(),logoUrl:z.string().optional(),category:z.array(z.enum(g$1)).min(1)}),C=z.object({businessName:z.string().min(1).max(120).optional(),description:z.string().max(2e3).optional(),logoUrl:z.string().optional(),category:z.array(z.enum(g$1)).min(1).optional(),businessRegNumber:z.string().max(64).optional(),taxId:z.string().max(64).optional()}),P=z.object({companyName:z.string(),bio:z.string(),logoUrl:z.string().optional(),serviceCategoryIds:z.array(z.uuid()).optional(),serviceCategoryCodes:z.array(z.string().min(1).max(64)).optional(),equipmentItemIds:z.array(z.uuid()).optional(),equipmentItemCodes:z.array(z.string().min(1).max(64)).optional(),yearsExperience:z.number(),experienceLevel:z.enum(h),minFee:z.number(),maxFee:z.number(),isAvailable:z.boolean()}),E=z.object({pin:z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:z.string().trim().regex(/^\d{4,8}$/,"currentPin must be 4-8 digits").optional()}),g=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),b=z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(r=>!g.has(r),{message:"This display name is reserved"}),j=z.object({displayName:b}).strict(),A=z.object({preferredCurrency:z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=z.enum([f.LIVE_ALERTS,f.RECOMMENDATIONS,f.EVENT_REMINDERS]),y=z.object({category:l,enabled:z.boolean()}),U=z.object({preferences:z.array(y).min(1).max(10).refine(r=>new Set(r.map(p=>p.category)).size===r.length,{message:"Duplicate category in preferences"})}).strict(),I=z.object({category:z.enum(e),message:z.string().trim().min(10).max(2e3)}).strict(),q=z.object({id:z.uuid(),email:z.email(),emailVerified:z.boolean(),displayName:z.string().nullable(),avatarUrl:z.url().nullable(),roles:z.number().int(),preferredCurrency:z.string(),notificationsEnabledCount:z.number().int(),hasPushDevice:z.boolean()}),w=z.object({preferences:z.record(l,z.boolean())}),D=z.object({id:z.uuid()});export{u as a,d as b,N as c,R as d,v as e,C as f,P as g,E as h,g as i,b as j,j as k,A as l,y as m,U as n,I as o,q as p,w as q,D as r};//# sourceMappingURL=chunk-ESK5VMVW.mjs.map
2
- //# sourceMappingURL=chunk-ESK5VMVW.mjs.map
1
+ import {g as g$2,n,h,c,b as b$1,f,e}from'./chunk-KZ2OWUX4.mjs';import {g as g$1}from'./chunk-C3IZKBL2.mjs';import {z}from'zod';var u=z.object({id:z.uuid(),userId:z.uuid(),businessName:z.string(),totalEvents:z.number(),totalSpent:z.number(),averageRating:z.number(),defaultCurrency:z.string(),description:z.string().optional(),category:z.array(z.enum(g$1)),logoUrl:z.url().optional(),hasPin:z.boolean(),businessRegNumber:z.string().optional(),taxId:z.string().optional(),settlementBankCode:z.string().optional(),settlementAccountNumber:z.string().optional(),settlementAccountName:z.string().optional(),paystackSubaccountCode:z.string().optional(),createdAt:z.iso.datetime()}),d=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string(),bio:z.string(),yearsExperience:z.number().optional(),experienceLevel:z.enum(h),equipmentManifest:z.array(z.record(z.string(),z.any())),serviceCategories:z.array(n),equipmentItems:z.array(n),verificationStatus:z.enum(g$2),averageRating:z.number().positive().multipleOf(.01),totalReviews:z.number(),completionRate:z.number(),isAvailable:z.boolean(),hasPin:z.boolean(),createdAt:z.iso.datetime()}),N=z.object({id:z.uuid(),email:z.email().toLowerCase(),emailVerified:z.boolean(),emailVerifiedAt:z.iso.datetime().optional(),phoneNumber:z.string().optional(),firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),role:z.number().min(1).max(15),accountStatus:z.enum(b$1),kycStatus:z.enum(c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime(),eventCategory:z.array(z.enum(g$1)).optional()}),R=z.object({firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),phoneNumber:z.string().optional(),eventCategory:z.array(z.enum(g$1)).optional()}),v=z.object({businessName:z.string(),description:z.string().optional(),logoUrl:z.string().optional(),category:z.array(z.enum(g$1)).min(1)}),C=z.object({businessName:z.string().min(1).max(120).optional(),description:z.string().max(2e3).optional(),logoUrl:z.string().optional(),category:z.array(z.enum(g$1)).min(1).optional(),businessRegNumber:z.string().max(64).optional(),taxId:z.string().max(64).optional()}),P=z.object({companyName:z.string(),bio:z.string(),logoUrl:z.string().optional(),serviceCategoryIds:z.array(z.uuid()).optional(),serviceCategoryCodes:z.array(z.string().min(1).max(64)).optional(),equipmentItemIds:z.array(z.uuid()).optional(),equipmentItemCodes:z.array(z.string().min(1).max(64)).optional(),yearsExperience:z.number(),experienceLevel:z.enum(h),minFee:z.number(),maxFee:z.number(),isAvailable:z.boolean()}),E=z.object({pin:z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:z.string().trim().regex(/^\d{4,8}$/,"currentPin must be 4-8 digits").optional()}),g=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),b=z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(r=>!g.has(r),{message:"This display name is reserved"}),j=z.object({displayName:b}).strict(),A=z.object({preferredCurrency:z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=z.enum([f.LIVE_ALERTS,f.RECOMMENDATIONS,f.EVENT_REMINDERS]),y=z.object({category:l,enabled:z.boolean()}),U=z.object({preferences:z.array(y).min(1).max(10).refine(r=>new Set(r.map(p=>p.category)).size===r.length,{message:"Duplicate category in preferences"})}).strict(),I=z.object({category:z.enum(e),message:z.string().trim().min(10).max(2e3)}).strict(),q=z.object({id:z.uuid(),email:z.email(),emailVerified:z.boolean(),displayName:z.string().nullable(),avatarUrl:z.url().nullable(),roles:z.number().int(),preferredCurrency:z.string(),notificationsEnabledCount:z.number().int(),hasPushDevice:z.boolean()}),w=z.object({preferences:z.record(l,z.boolean())}),D=z.object({id:z.uuid()});export{u as a,d as b,N as c,R as d,v as e,C as f,P as g,E as h,g as i,b as j,j as k,A as l,y as m,U as n,I as o,q as p,w as q,D as r};//# sourceMappingURL=chunk-2CVLT7RO.mjs.map
2
+ //# sourceMappingURL=chunk-2CVLT7RO.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","USER_CATEGORY","NotificationCategory","NotificationPreferenceItemSchema","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"+HAYO,IAAMA,EAA4BC,CAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,CAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,EAAE,IAAA,EAAK,CACf,aAAcA,CAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,CAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,CAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,EAAE,MAAA,EAAO,CACxB,gBAAiBA,CAAAA,CAAE,MAAA,GACnB,WAAA,CAAaA,CAAAA,CAAE,QAAO,CAAE,QAAA,GACxB,QAAA,CAAUA,CAAAA,CAAE,KAAA,CAAMA,CAAAA,CAAE,IAAA,CAAKC,GAAa,CAAC,CAAA,CACvC,OAAA,CAASD,EAAE,GAAA,EAAI,CAAE,UAAS,CAC1B,MAAA,CAAQA,EAAE,OAAA,EAAQ,CAClB,kBAAmBA,CAAAA,CAAE,MAAA,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AI,CAC7C,CAAC,EACA,MAAA,EAAO,CAEG2B,EAAyB3B,CAAAA,CAAE,MAAA,CAAO,CAC7C,EAAA,CAAIA,CAAAA,CAAE,IAAA,EAAK,CACX,KAAA,CAAOA,CAAAA,CAAE,OAAM,CACf,aAAA,CAAeA,EAAE,OAAA,EAAQ,CACzB,YAAaA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACjC,SAAA,CAAWA,EAAE,GAAA,EAAI,CAAE,UAAS,CAC5B,KAAA,CAAOA,EAAE,MAAA,EAAO,CAAE,KAAI,CACtB,iBAAA,CAAmBA,EAAE,MAAA,EAAO,CAC5B,0BAA2BA,CAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAC1C,aAAA,CAAeA,CAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY4B,CAAAA,CAAwC5B,EAAE,MAAA,CAAO,CAC5D,YAAaA,CAAAA,CAAE,MAAA,CAAOmB,CAAAA,CAAenB,CAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,CAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,CAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-ESK5VMVW.mjs","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n hasPin: z.boolean(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n hasPin: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n});\n\nexport const UpdateHostProfileRequestSchema = z.object({\n businessName: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1).optional(),\n businessRegNumber: z.string().max(64).optional(),\n taxId: z.string().max(64).optional(),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceCategoryIds: z.array(z.uuid()).optional(),\n serviceCategoryCodes: z.array(z.string().min(1).max(64)).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n isAvailable: z.boolean(),\n});\n\nexport const SetProfilePinSchema = z.object({\n pin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'pin must be 4-8 digits'),\n currentPin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'currentPin must be 4-8 digits')\n .optional(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\nconst USER_CATEGORY = z.enum([\n NotificationCategory.LIVE_ALERTS,\n NotificationCategory.RECOMMENDATIONS,\n NotificationCategory.EVENT_REMINDERS,\n]);\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: USER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n hasPushDevice: z.boolean(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.record(USER_CATEGORY, z.boolean()),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
1
+ {"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","USER_CATEGORY","NotificationCategory","NotificationPreferenceItemSchema","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"+HAYO,IAAMA,EAA4BC,CAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,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A,EACR,CAAC","file":"chunk-2CVLT7RO.mjs","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n hasPin: z.boolean(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n hasPin: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n});\n\nexport const UpdateHostProfileRequestSchema = z.object({\n businessName: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1).optional(),\n businessRegNumber: z.string().max(64).optional(),\n taxId: z.string().max(64).optional(),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceCategoryIds: z.array(z.uuid()).optional(),\n serviceCategoryCodes: z.array(z.string().min(1).max(64)).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n isAvailable: z.boolean(),\n});\n\nexport const SetProfilePinSchema = z.object({\n pin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'pin must be 4-8 digits'),\n currentPin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'currentPin must be 4-8 digits')\n .optional(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\nconst USER_CATEGORY = z.enum([\n NotificationCategory.LIVE_ALERTS,\n NotificationCategory.RECOMMENDATIONS,\n NotificationCategory.EVENT_REMINDERS,\n]);\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: USER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n hasPushDevice: z.boolean(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.record(USER_CATEGORY, z.boolean()),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
@@ -1,2 +1,2 @@
1
- import {m as m$1}from'./chunk-YIHYVYZT.mjs';import {k}from'./chunk-PAUYI2FU.mjs';import {z}from'zod';var n={SERVICE_NOT_DELIVERED:"SERVICE_NOT_DELIVERED",QUALITY_ISSUE:"QUALITY_ISSUE",PAYMENT_DISPUTE:"PAYMENT_DISPUTE",CANCELLATION_DISPUTE:"CANCELLATION_DISPUTE",OTHER:"OTHER"},s={OPEN:"OPEN",UNDER_REVIEW:"UNDER_REVIEW",RESOLVED:"RESOLVED",CLOSED:"CLOSED"};var l=z.object({id:z.uuid(),transactionId:z.uuid(),eventId:z.uuid().optional(),bookingId:z.uuid().optional(),userId:z.uuid(),disputeType:z.enum(n),reason:z.string(),amountInDispute:z.number(),disputeStatus:z.enum(s),resolution:z.string().optional(),reportedAt:z.iso.datetime(),slaDeadline:z.iso.datetime(),resolvedAt:z.iso.datetime().optional(),createdAt:z.iso.datetime()}),p=500,r=z.enum(["EVENT_DID_NOT_RUN","POOR_QUALITY","ACCESS_ISSUE","OTHER"]),t=z.enum(["OPEN","RESOLVED_CUSTOMER","RESOLVED_HOST","EXPIRED"]),a=z.enum(["REFUNDED","DENIED","PARTIAL_REFUND"]),u=z.enum(m$1),I=z.object({entitlementKind:u,reason:r,detail:z.string().trim().min(1).max(p).optional()}).strict(),m=z.object({id:z.uuid(),entitlementId:z.string(),eventId:z.uuid(),userId:z.uuid(),reason:r,detail:z.string().nullable(),state:t,resolvedAt:z.iso.datetime().nullable(),resolutionOutcome:a.nullable(),correlationId:z.string(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}).strict(),R=z.object({state:t.optional(),pageNumber:z.coerce.number().int().min(1).optional(),pageSize:z.coerce.number().int().min(1).max(100).optional()}).strict(),T=z.object({state:t.optional(),eventId:z.uuid().optional(),pageNumber:z.coerce.number().int().min(1).optional(),pageSize:z.coerce.number().int().min(1).max(100).optional()}).strict(),x=z.object({outcome:a,refundId:z.string().min(1).max(100).optional(),resolutionNote:z.string().trim().max(500).optional()}).strict(),A=z.object({items:z.array(m),...k.shape}).strict(),O=z.object({viewerId:z.uuid(),reason:z.string().min(1).max(500).optional()}),N=z.object({eventId:z.uuid(),viewerIds:z.array(z.uuid())});export{n as a,s as b,l as c,p as d,r as e,t as f,a as g,I as h,m as i,R as j,T as k,x as l,A as m,O as n,N as o};//# sourceMappingURL=chunk-B6LAL2YJ.mjs.map
2
- //# sourceMappingURL=chunk-B6LAL2YJ.mjs.map
1
+ import {m as m$1}from'./chunk-C3IZKBL2.mjs';import {k}from'./chunk-PAUYI2FU.mjs';import {z}from'zod';var n={SERVICE_NOT_DELIVERED:"SERVICE_NOT_DELIVERED",QUALITY_ISSUE:"QUALITY_ISSUE",PAYMENT_DISPUTE:"PAYMENT_DISPUTE",CANCELLATION_DISPUTE:"CANCELLATION_DISPUTE",OTHER:"OTHER"},s={OPEN:"OPEN",UNDER_REVIEW:"UNDER_REVIEW",RESOLVED:"RESOLVED",CLOSED:"CLOSED"};var l=z.object({id:z.uuid(),transactionId:z.uuid(),eventId:z.uuid().optional(),bookingId:z.uuid().optional(),userId:z.uuid(),disputeType:z.enum(n),reason:z.string(),amountInDispute:z.number(),disputeStatus:z.enum(s),resolution:z.string().optional(),reportedAt:z.iso.datetime(),slaDeadline:z.iso.datetime(),resolvedAt:z.iso.datetime().optional(),createdAt:z.iso.datetime()}),p=500,r=z.enum(["EVENT_DID_NOT_RUN","POOR_QUALITY","ACCESS_ISSUE","OTHER"]),t=z.enum(["OPEN","RESOLVED_CUSTOMER","RESOLVED_HOST","EXPIRED"]),a=z.enum(["REFUNDED","DENIED","PARTIAL_REFUND"]),u=z.enum(m$1),I=z.object({entitlementKind:u,reason:r,detail:z.string().trim().min(1).max(p).optional()}).strict(),m=z.object({id:z.uuid(),entitlementId:z.string(),eventId:z.uuid(),userId:z.uuid(),reason:r,detail:z.string().nullable(),state:t,resolvedAt:z.iso.datetime().nullable(),resolutionOutcome:a.nullable(),correlationId:z.string(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}).strict(),R=z.object({state:t.optional(),pageNumber:z.coerce.number().int().min(1).optional(),pageSize:z.coerce.number().int().min(1).max(100).optional()}).strict(),T=z.object({state:t.optional(),eventId:z.uuid().optional(),pageNumber:z.coerce.number().int().min(1).optional(),pageSize:z.coerce.number().int().min(1).max(100).optional()}).strict(),x=z.object({outcome:a,refundId:z.string().min(1).max(100).optional(),resolutionNote:z.string().trim().max(500).optional()}).strict(),A=z.object({items:z.array(m),...k.shape}).strict(),O=z.object({viewerId:z.uuid(),reason:z.string().min(1).max(500).optional()}),N=z.object({eventId:z.uuid(),viewerIds:z.array(z.uuid())});export{n as a,s as b,l as c,p as d,r as e,t as f,a as g,I as h,m as i,R as j,T as k,x as l,A as m,O as n,N as o};//# sourceMappingURL=chunk-6B5WBKKB.mjs.map
2
+ //# sourceMappingURL=chunk-6B5WBKKB.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/dispute/dispute.enums.ts","../src/dispute/dispute.schemas.ts"],"names":["DisputeType","DisputeStatus","DisputeResponseSchema","z","DISPUTE_DETAIL_MAX_LENGTH","DisputeReasonSchema","DisputeStateSchema","DisputeOutcomeSchema","EntitlementKindSchema","EntitlementKind","OpenDisputeRequestSchema","AdminDisputeResponseSchema","MyDisputesQuerySchema","AdminDisputesQuerySchema","ResolveDisputeRequestSchema","PagedDisputesResponseSchema","PaginationResponseSchema","AdminRevokeViewerPlaybackSchema","AdminRevokedViewersResponseSchema"],"mappings":"qGAAO,IAAMA,CAAAA,CAAc,CACzB,qBAAA,CAAuB,uBAAA,CACvB,cAAe,eAAA,CACf,eAAA,CAAiB,kBACjB,oBAAA,CAAsB,sBAAA,CACtB,MAAO,OACT,CAAA,CAGaC,EAAgB,CAC3B,IAAA,CAAM,OACN,YAAA,CAAc,cAAA,CACd,QAAA,CAAU,UAAA,CACV,MAAA,CAAQ,QACV,ECTO,IAAMC,EAAwBC,CAAAA,CAAE,MAAA,CAAO,CAC5C,EAAA,CAAIA,CAAAA,CAAE,MAAK,CACX,aAAA,CAAeA,EAAE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,MAAA,EAAO,CAEGW,EAA8BX,CAAAA,CACxC,MAAA,CAAO,CACN,OAAA,CAASI,CAAAA,CACT,SAAUJ,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,IAAI,GAAG,CAAA,CAAE,UAAS,CAC9C,cAAA,CAAgBA,EAAE,MAAA,EAAO,CAAE,MAAK,CAAE,GAAA,CAAI,GAAG,CAAA,CAAE,QAAA,EAC7C,CAAC,CAAA,CACA,QAAO,CAEGY,CAAAA,CAA8BZ,CAAAA,CACxC,MAAA,CAAO,CACN,KAAA,CAAOA,EAAE,KAAA,CAAMQ,CAA0B,EACzC,GAAGK,CAAAA,CAAyB,KAC9B,CAAC,CAAA,CACA,QAAO,CAEGC,CAAAA,CAAkCd,EAAE,MAAA,CAAO,CACtD,SAAUA,CAAAA,CAAE,IAAA,GACZ,MAAA,CAAQA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,CAAC,EAAE,GAAA,CAAI,GAAG,EAAE,QAAA,EACrC,CAAC,CAAA,CAEYe,CAAAA,CAAoCf,EAAE,MAAA,CAAO,CACxD,QAASA,CAAAA,CAAE,IAAA,GACX,SAAA,CAAWA,CAAAA,CAAE,MAAMA,CAAAA,CAAE,IAAA,EAAM,CAC7B,CAAC","file":"chunk-B6LAL2YJ.mjs","sourcesContent":["export const DisputeType = {\n SERVICE_NOT_DELIVERED: 'SERVICE_NOT_DELIVERED',\n QUALITY_ISSUE: 'QUALITY_ISSUE',\n PAYMENT_DISPUTE: 'PAYMENT_DISPUTE',\n CANCELLATION_DISPUTE: 'CANCELLATION_DISPUTE',\n OTHER: 'OTHER',\n} as const;\nexport type DisputeType = (typeof DisputeType)[keyof typeof DisputeType];\n\nexport const DisputeStatus = {\n OPEN: 'OPEN',\n UNDER_REVIEW: 'UNDER_REVIEW',\n RESOLVED: 'RESOLVED',\n CLOSED: 'CLOSED',\n} as const;\nexport type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];\n","import { z } from 'zod';\nimport { DisputeType, DisputeStatus } from './dispute.enums';\nimport { EntitlementKind } from '../event';\nimport { PaginationResponseSchema } from '../common';\n\nexport const DisputeResponseSchema = z.object({\n id: z.uuid(),\n transactionId: z.uuid(),\n eventId: z.uuid().optional(),\n bookingId: z.uuid().optional(),\n userId: z.uuid(),\n disputeType: z.enum(DisputeType),\n reason: z.string(),\n amountInDispute: z.number(),\n disputeStatus: z.enum(DisputeStatus),\n resolution: z.string().optional(),\n reportedAt: z.iso.datetime(),\n slaDeadline: z.iso.datetime(),\n resolvedAt: z.iso.datetime().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const DISPUTE_DETAIL_MAX_LENGTH = 500;\n\nexport const DisputeReasonSchema = z.enum([\n 'EVENT_DID_NOT_RUN',\n 'POOR_QUALITY',\n 'ACCESS_ISSUE',\n 'OTHER',\n]);\n\n// Mirrors Prisma `DisputeState` enum.\nexport const DisputeStateSchema = z.enum(['OPEN', 'RESOLVED_CUSTOMER', 'RESOLVED_HOST', 'EXPIRED']);\n\n// Mirrors Prisma `DisputeOutcome` enum.\nexport const DisputeOutcomeSchema = z.enum(['REFUNDED', 'DENIED', 'PARTIAL_REFUND']);\n\nconst EntitlementKindSchema = z.enum(EntitlementKind);\n\nexport const OpenDisputeRequestSchema = z\n .object({\n entitlementKind: EntitlementKindSchema,\n reason: DisputeReasonSchema,\n detail: z.string().trim().min(1).max(DISPUTE_DETAIL_MAX_LENGTH).optional(),\n })\n .strict();\n\nexport const AdminDisputeResponseSchema = z\n .object({\n id: z.uuid(),\n entitlementId: z.string(),\n eventId: z.uuid(),\n userId: z.uuid(),\n reason: DisputeReasonSchema,\n detail: z.string().nullable(),\n state: DisputeStateSchema,\n resolvedAt: z.iso.datetime().nullable(),\n resolutionOutcome: DisputeOutcomeSchema.nullable(),\n correlationId: z.string(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n })\n .strict();\n\nexport const MyDisputesQuerySchema = z\n .object({\n state: DisputeStateSchema.optional(),\n pageNumber: z.coerce.number().int().min(1).optional(),\n pageSize: z.coerce.number().int().min(1).max(100).optional(),\n })\n .strict();\n\nexport const AdminDisputesQuerySchema = z\n .object({\n state: DisputeStateSchema.optional(),\n eventId: z.uuid().optional(),\n pageNumber: z.coerce.number().int().min(1).optional(),\n pageSize: z.coerce.number().int().min(1).max(100).optional(),\n })\n .strict();\n\nexport const ResolveDisputeRequestSchema = z\n .object({\n outcome: DisputeOutcomeSchema,\n refundId: z.string().min(1).max(100).optional(),\n resolutionNote: z.string().trim().max(500).optional(),\n })\n .strict();\n\nexport const PagedDisputesResponseSchema = z\n .object({\n items: z.array(AdminDisputeResponseSchema),\n ...PaginationResponseSchema.shape,\n })\n .strict();\n\nexport const AdminRevokeViewerPlaybackSchema = z.object({\n viewerId: z.uuid(),\n reason: z.string().min(1).max(500).optional(),\n});\n\nexport const AdminRevokedViewersResponseSchema = z.object({\n eventId: z.uuid(),\n viewerIds: z.array(z.uuid()),\n});\n"]}
1
+ {"version":3,"sources":["../src/dispute/dispute.enums.ts","../src/dispute/dispute.schemas.ts"],"names":["DisputeType","DisputeStatus","DisputeResponseSchema","z","DISPUTE_DETAIL_MAX_LENGTH","DisputeReasonSchema","DisputeStateSchema","DisputeOutcomeSchema","EntitlementKindSchema","EntitlementKind","OpenDisputeRequestSchema","AdminDisputeResponseSchema","MyDisputesQuerySchema","AdminDisputesQuerySchema","ResolveDisputeRequestSchema","PagedDisputesResponseSchema","PaginationResponseSchema","AdminRevokeViewerPlaybackSchema","AdminRevokedViewersResponseSchema"],"mappings":"qGAAO,IAAMA,CAAAA,CAAc,CACzB,qBAAA,CAAuB,uBAAA,CACvB,cAAe,eAAA,CACf,eAAA,CAAiB,kBACjB,oBAAA,CAAsB,sBAAA,CACtB,MAAO,OACT,CAAA,CAGaC,EAAgB,CAC3B,IAAA,CAAM,OACN,YAAA,CAAc,cAAA,CACd,QAAA,CAAU,UAAA,CACV,MAAA,CAAQ,QACV,EC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,CAAO,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,IAAI,CAAC,CAAA,CAAE,IAAI,GAAG,CAAA,CAAE,UACpD,CAAC,EACA,MAAA,EAAO,CAEGW,EAA8BX,CAAAA,CACxC,MAAA,CAAO,CACN,OAAA,CAASI,CAAAA,CACT,SAAUJ,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,IAAI,GAAG,CAAA,CAAE,UAAS,CAC9C,cAAA,CAAgBA,EAAE,MAAA,EAAO,CAAE,MAAK,CAAE,GAAA,CAAI,GAAG,CAAA,CAAE,QAAA,EAC7C,CAAC,CAAA,CACA,QAAO,CAEGY,CAAAA,CAA8BZ,CAAAA,CACxC,MAAA,CAAO,CACN,KAAA,CAAOA,EAAE,KAAA,CAAMQ,CAA0B,EACzC,GAAGK,CAAAA,CAAyB,KAC9B,CAAC,CAAA,CACA,QAAO,CAEGC,CAAAA,CAAkCd,EAAE,MAAA,CAAO,CACtD,SAAUA,CAAAA,CAAE,IAAA,GACZ,MAAA,CAAQA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,CAAC,EAAE,GAAA,CAAI,GAAG,EAAE,QAAA,EACrC,CAAC,CAAA,CAEYe,CAAAA,CAAoCf,EAAE,MAAA,CAAO,CACxD,QAASA,CAAAA,CAAE,IAAA,GACX,SAAA,CAAWA,CAAAA,CAAE,MAAMA,CAAAA,CAAE,IAAA,EAAM,CAC7B,CAAC","file":"chunk-6B5WBKKB.mjs","sourcesContent":["export const DisputeType = {\n SERVICE_NOT_DELIVERED: 'SERVICE_NOT_DELIVERED',\n QUALITY_ISSUE: 'QUALITY_ISSUE',\n PAYMENT_DISPUTE: 'PAYMENT_DISPUTE',\n CANCELLATION_DISPUTE: 'CANCELLATION_DISPUTE',\n OTHER: 'OTHER',\n} as const;\nexport type DisputeType = (typeof DisputeType)[keyof typeof DisputeType];\n\nexport const DisputeStatus = {\n OPEN: 'OPEN',\n UNDER_REVIEW: 'UNDER_REVIEW',\n RESOLVED: 'RESOLVED',\n CLOSED: 'CLOSED',\n} as const;\nexport type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];\n","import { z } from 'zod';\nimport { DisputeType, DisputeStatus } from './dispute.enums';\nimport { EntitlementKind } from '../event';\nimport { PaginationResponseSchema } from '../common';\n\nexport const DisputeResponseSchema = z.object({\n id: z.uuid(),\n transactionId: z.uuid(),\n eventId: z.uuid().optional(),\n bookingId: z.uuid().optional(),\n userId: z.uuid(),\n disputeType: z.enum(DisputeType),\n reason: z.string(),\n amountInDispute: z.number(),\n disputeStatus: z.enum(DisputeStatus),\n resolution: z.string().optional(),\n reportedAt: z.iso.datetime(),\n slaDeadline: z.iso.datetime(),\n resolvedAt: z.iso.datetime().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const DISPUTE_DETAIL_MAX_LENGTH = 500;\n\nexport const DisputeReasonSchema = z.enum([\n 'EVENT_DID_NOT_RUN',\n 'POOR_QUALITY',\n 'ACCESS_ISSUE',\n 'OTHER',\n]);\n\n// Mirrors Prisma `DisputeState` enum.\nexport const DisputeStateSchema = z.enum(['OPEN', 'RESOLVED_CUSTOMER', 'RESOLVED_HOST', 'EXPIRED']);\n\n// Mirrors Prisma `DisputeOutcome` enum.\nexport const DisputeOutcomeSchema = z.enum(['REFUNDED', 'DENIED', 'PARTIAL_REFUND']);\n\nconst EntitlementKindSchema = z.enum(EntitlementKind);\n\nexport const OpenDisputeRequestSchema = z\n .object({\n entitlementKind: EntitlementKindSchema,\n reason: DisputeReasonSchema,\n detail: z.string().trim().min(1).max(DISPUTE_DETAIL_MAX_LENGTH).optional(),\n })\n .strict();\n\nexport const AdminDisputeResponseSchema = z\n .object({\n id: z.uuid(),\n entitlementId: z.string(),\n eventId: z.uuid(),\n userId: z.uuid(),\n reason: DisputeReasonSchema,\n detail: z.string().nullable(),\n state: DisputeStateSchema,\n resolvedAt: z.iso.datetime().nullable(),\n resolutionOutcome: DisputeOutcomeSchema.nullable(),\n correlationId: z.string(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n })\n .strict();\n\nexport const MyDisputesQuerySchema = z\n .object({\n state: DisputeStateSchema.optional(),\n pageNumber: z.coerce.number().int().min(1).optional(),\n pageSize: z.coerce.number().int().min(1).max(100).optional(),\n })\n .strict();\n\nexport const AdminDisputesQuerySchema = z\n .object({\n state: DisputeStateSchema.optional(),\n eventId: z.uuid().optional(),\n pageNumber: z.coerce.number().int().min(1).optional(),\n pageSize: z.coerce.number().int().min(1).max(100).optional(),\n })\n .strict();\n\nexport const ResolveDisputeRequestSchema = z\n .object({\n outcome: DisputeOutcomeSchema,\n refundId: z.string().min(1).max(100).optional(),\n resolutionNote: z.string().trim().max(500).optional(),\n })\n .strict();\n\nexport const PagedDisputesResponseSchema = z\n .object({\n items: z.array(AdminDisputeResponseSchema),\n ...PaginationResponseSchema.shape,\n })\n .strict();\n\nexport const AdminRevokeViewerPlaybackSchema = z.object({\n viewerId: z.uuid(),\n reason: z.string().min(1).max(500).optional(),\n});\n\nexport const AdminRevokedViewersResponseSchema = z.object({\n eventId: z.uuid(),\n viewerIds: z.array(z.uuid()),\n});\n"]}
@@ -0,0 +1,2 @@
1
+ import {h as h$1,g as g$1,k as k$1,f as f$1,j as j$1}from'./chunk-PAUYI2FU.mjs';import {z as z$1}from'zod';var Se={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"},ye={PENDING:"PENDING",SUCCESS:"SUCCESS",FAILED:"FAILED",REVERSED:"REVERSED"},ge={PENDING:"PENDING",PROCESSING:"PROCESSING",COMPLETED:"COMPLETED",FAILED:"FAILED"},S={REQUIRES_PAYMENT:"REQUIRES_PAYMENT",PROCESSING:"PROCESSING",SUCCEEDED:"SUCCEEDED",FAILED:"FAILED",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED"},y={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"},be={PENDING:"PENDING",SETTLED:"SETTLED",WAIVED:"WAIVED",VOIDED:"VOIDED",REFUNDED:"REFUNDED"},p={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"},D={REQUESTED:"REQUESTED",AUTHORIZED:"AUTHORIZED",SENT:"SENT",SETTLED:"SETTLED",FAILED:"FAILED",REVERSED:"REVERSED"};var r={INCLUDED:"INCLUDED",DISABLED:"DISABLED",PAID_SEPARATELY:"PAID_SEPARATELY"},E={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},l={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},g={SELF:"SELF",HIRE:"HIRE"},he={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},b={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"},c={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"},P={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},Re={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},v={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},A={UPCOMING:"UPCOMING",LIVE:"LIVE",RECOMMENDED:"RECOMMENDED"},h={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"},Ie={REGISTRATION:"REGISTRATION",REPLAY_PURCHASE:"REPLAY_PURCHASE"};var O=z$1.object({title:z$1.string().max(120),description:z$1.string().max(2e3),category:z$1.enum(c),scheduledStartAt:z$1.iso.datetime(),scheduledEndAt:z$1.iso.datetime(),venueLocation:z$1.string(),visibility:z$1.enum(E),accessModel:z$1.enum(l),ticketPrice:z$1.number().min(0).optional(),maxTickets:z$1.number().min(1).optional(),timezone:z$1.string().default("Africa/Lagos"),replayAccess:z$1.enum(r),retentionDays:z$1.number().default(30),tags:z$1.array(z$1.string()).optional(),geoRestrictions:z$1.record(z$1.string(),z$1.any()).optional()}),fe=O.partial(),_=z$1.object({kind:z$1.enum(p),price:h$1.optional()}),Ce=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string(),category:z$1.enum(c),coverImageUrl:z$1.url().optional(),venueLocation:z$1.string(),scheduledStartAt:z$1.iso.datetime(),scheduledEndAt:z$1.iso.datetime(),timezone:z$1.string(),visibility:z$1.enum(E),accessModel:z$1.enum(l),ticketPrice:h$1.nullable(),maxTickets:z$1.number().optional(),eventState:z$1.enum(b),shareableUrl:z$1.url(),hostId:z$1.uuid(),isFeatured:z$1.boolean(),replayAccess:z$1.enum(r),replayAvailableUntil:z$1.iso.datetime().optional(),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),publishedAt:z$1.iso.datetime().optional(),liveStartedAt:z$1.iso.datetime().optional(),liveEndedAt:z$1.iso.datetime().optional()}),i=z$1.object({id:z$1.uuid(),title:z$1.string(),timezone:z$1.string(),coverImageUrl:z$1.url().nullable(),category:z$1.enum(c),scheduledStartLocal:z$1.string(),scheduledEndLocal:z$1.string(),scheduledStart:z$1.iso.datetime(),scheduledEnd:z$1.iso.datetime(),state:z$1.enum(b),accessModel:z$1.enum(l),ticketPrice:h$1.nullable(),isFeatured:z$1.boolean(),hostDisplayName:z$1.string().nullable(),viewerCount:z$1.number().int().min(0),cta:_.optional(),durationMinutes:z$1.number().int().nonnegative().nullable().optional(),viewer:z$1.object({registration:z$1.enum(v),progressPct:z$1.number().min(0).max(100).optional(),canResume:z$1.boolean().optional()})}),Ne=z$1.object({continueWatching:z$1.array(i),liveNow:z$1.array(i),upcoming:z$1.array(i),recommended:z$1.array(i)}),Le=g$1.extend({category:z$1.enum(c).optional(),accessModel:z$1.enum(l).optional(),section:z$1.enum(A).optional(),q:z$1.string().trim().max(80).optional().transform(o=>o&&o.length>0?o:void 0)}),M=z$1.object({mode:z$1.literal("AGGREGATE"),featured:i.nullable(),liveNow:z$1.array(i),upcoming:z$1.array(i),recommended:z$1.array(i)}),U=k$1.extend({mode:z$1.literal("SECTION"),section:z$1.enum(A),items:z$1.array(i)}),je=z$1.discriminatedUnion("mode",[M,U]),Oe=k$1.extend({items:z$1.array(i)}),_e=z$1.object({callbackUrl:z$1.url().optional()}),Me=z$1.object({registration:z$1.object({id:z$1.uuid(),eventId:z$1.uuid(),status:z$1.enum(P),expiresAt:z$1.iso.datetime().nullable()}),paymentIntent:z$1.object({reference:z$1.string(),amount:h$1,checkoutUrl:z$1.url().optional()}).nullable()}),Ue=z$1.object({positionSec:z$1.number().int().min(0).max(1440*60),durationSec:z$1.number().int().min(1).optional()}),k=z$1.object({playbackUrl:z$1.url(),expiresAt:z$1.iso.datetime(),streamStartedAt:z$1.iso.datetime(),dvrWindowSeconds:z$1.number().int().positive()}),V=z$1.object({kind:z$1.literal("LIVE"),playbackUrl:z$1.url(),token:z$1.string(),expiresAt:z$1.iso.datetime(),catchup:k.optional()}),w=z$1.object({kind:z$1.literal("REPLAY"),playbackUrl:z$1.url(),expiresAt:z$1.iso.datetime()}),ke=z$1.discriminatedUnion("kind",[V,w]),H=i.extend({startsInSec:z$1.number().int().optional(),liveViewerCount:z$1.number().int().min(0).optional(),liveStartedAt:z$1.iso.datetime().nullable().optional(),replayAvailableUntil:z$1.iso.datetime().nullable().optional(),replayDurationSec:z$1.number().int().min(0).nullable().optional(),watchedPct:z$1.number().min(0).max(100).optional(),hasWatched:z$1.boolean().optional()}),Ve=k$1.extend({tab:z$1.enum(h),items:z$1.array(H)}),we=g$1.extend({tab:z$1.enum(h),q:z$1.string().trim().max(80).optional().transform(o=>o&&o.length>0?o:void 0)}),He=z$1.object({sessionId:z$1.string()}),Ye=z$1.object({ok:z$1.literal(true)}),Fe=z$1.object({durationSec:z$1.number().int().min(0)}),f=z$1.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."),Y=z$1.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=z$1.discriminatedUnion("access",[z$1.object({access:z$1.literal(r.INCLUDED),retentionDays:f}),z$1.object({access:z$1.literal(r.PAID_SEPARATELY),retentionDays:f,price:Y}),z$1.object({access:z$1.literal(r.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."}),F=z$1.enum(f$1),G=z$1.enum(c),N=z$1.enum(E),B=z$1.enum(["LIVE_EDGE","CATCHUP"]),W=z$1.object({step:z$1.literal(1),title:z$1.string().min(3).max(120),description:z$1.string().min(20).max(1200),category:G,scheduledStartLocal:z$1.iso.datetime({local:true,offset:false}),durationMinutes:z$1.number().int().min(5).max(720),coverImageUrl:z$1.any().optional(),timezone:z$1.string(),previewClipUrl:z$1.any().optional(),tags:z$1.array(z$1.string().min(1).max(30)).max(10).optional(),location:z$1.string().max(120).optional()}),q=z$1.object({step:z$1.literal(2),paid:z$1.literal(false),visibility:N,guestEmails:z$1.array(z$1.email()).max(500).optional(),replay:C}),K=z$1.object({step:z$1.literal(2),paid:z$1.literal(true),visibility:N,guestEmails:z$1.array(z$1.email()).max(500).optional(),ticketPrice:z$1.number().positive(),ticketCurrency:F,ticketLimit:z$1.number().int().positive().nullable(),replay:C}),Q=z$1.object({step:z$1.literal(3),mode:z$1.literal(g.SELF)}),z=z$1.object({step:z$1.literal(3),mode:z$1.literal(g.HIRE),crewIds:z$1.array(z$1.uuid()).max(5).default([]),notes:z$1.string().max(500).optional()}),Ge=z$1.object({deviceType:z$1.string().max(50).optional(),mode:B.default("LIVE_EDGE").optional()}),Be=z$1.object({streamEnabled:z$1.boolean()}).strict(),We=z$1.union([W,q,K,Q,z]),R=z$1.string().min(3).max(8),a=z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"must be YYYY-MM-DD"),qe=z$1.object({from:a,to:a,eventId:z$1.uuid().optional(),currency:R.optional()}).strict(),Ke=z$1.object({from:a,to:a,currency:R.optional(),pageNumber:z$1.coerce.number().int().min(1).optional(),pageSize:z$1.coerce.number().int().min(1).max(100).optional(),search:z$1.string().trim().min(1).max(100).optional()}).strict(),Qe=z$1.object({from:a,to:a,granularity:z$1.enum(["daily","weekly"]),currency:R.optional()}).strict(),ze=z$1.object({from:a,to:a,gross:h$1,refunds:h$1,net:h$1,available:h$1,pending:h$1,ticketsSold:z$1.number().int().nonnegative(),avgTicketPrice:h$1,previousPeriodDelta:z$1.object({percentage:z$1.number().nullable(),direction:j$1,gross:h$1}),revenueSplit:z$1.object({hostShare:h$1,platformFee:h$1,crewSalaries:h$1})}).strict(),$=z$1.object({eventId:z$1.uuid(),eventTitle:z$1.string(),gross:h$1,refunds:h$1,net:h$1,firstActivityAt:a,lastActivityAt:a,ticketsSold:z$1.number().int().nonnegative(),status:z$1.enum(["COMPLETED","LIVE","SCHEDULED"])}).strict(),$e=z$1.object({items:z$1.array($),...k$1.shape}).strict(),X=z$1.object({date:a,gross:h$1,refunds:h$1,net:h$1}).strict(),Xe=z$1.object({granularity:z$1.enum(["daily","weekly"]),points:z$1.array(X)}).strict(),Z=z$1.enum(["ALL","LIVE","UPCOMING","PAST"]),J=z$1.object({id:z$1.uuid(),title:z$1.string(),timezone:z$1.string(),description:z$1.string().nullable(),coverImageUrl:z$1.url().nullable(),category:z$1.enum(c),accessModel:z$1.enum(l),ticketPrice:h$1.nullable(),isFeatured:z$1.boolean(),scheduledStartLocal:z$1.string(),scheduledStart:z$1.iso.datetime(),hostDisplayName:z$1.string().nullable()}),Ze=g$1.extend({status:Z.default("ALL"),category:z$1.enum(c).optional(),q:z$1.string().trim().max(100).optional().transform(o=>o&&o.length>0?o:void 0)}),Je=k$1.extend({items:z$1.array(J)}),et=z$1.object({playbackUrl:z$1.url(),token:z$1.string(),expiresAt:z$1.iso.datetime()}),tt=z$1.object({retentionDays:z$1.number().int().min(1).max(90)}),nt=z$1.object({eventId:z$1.uuid(),liveEndedAt:z$1.iso.datetime(),retentionDays:z$1.number().int().min(1).max(90),replayAvailableUntil:z$1.iso.datetime()}),ot=z$1.object({granularity:z$1.enum(["daily"]).optional().default("daily"),from:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional()}),ee=z$1.object({date:z$1.string(),ticketsSold:z$1.number().int().nonnegative(),revenue:h$1}),it=z$1.object({eventId:z$1.uuid(),granularity:z$1.enum(["daily"]),from:z$1.string(),to:z$1.string(),points:z$1.array(ee)}),te=z$1.object({from:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional()}),d=z$1.object({count:z$1.number().int().nonnegative(),pct:z$1.number().min(0).max(1)}),ne=z$1.object({count:z$1.number().int().nonnegative(),percentagePrev:z$1.number().nullable(),direction:j$1}),at=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),currency:z$1.string(),summary:z$1.object({totalViewers:ne,uniqueViewers:z$1.number().int().nonnegative(),liveSpenders:z$1.number().int().nonnegative(),casualViewers:z$1.number().int().nonnegative(),repeatViewers:z$1.number().int().nonnegative(),newThisPeriod:z$1.number().int().nonnegative()}),segments:z$1.object({newViewers:d,returningViewers:d,highValueBuyers:d,casualViewers:d}),revenuePerViewer:z$1.object({total:z$1.number().int().nonnegative(),averageSpend:h$1,percentagePrev:z$1.number().nullable(),direction:j$1,bands:z$1.object({lowSpenders:z$1.number().int().nonnegative(),midSpenders:z$1.number().int().nonnegative(),highSpenders:z$1.number().int().nonnegative()})})}),st=z$1.object({from:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional(),search:z$1.string().trim().min(1).max(120).optional(),...g$1.shape}),oe=z$1.object({eventId:z$1.uuid(),eventTitle:z$1.string(),viewers:z$1.number().int().nonnegative(),peakConcurrent:z$1.number().int().nonnegative(),replays:z$1.number().int().nonnegative()}),rt=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),items:z$1.array(oe),...k$1.shape}),ct=z$1.object({limit:z$1.coerce.number().int().min(1).max(50).optional().default(10)}),ie=z$1.object({userId:z$1.uuid(),displayName:z$1.string(),avatarKey:z$1.string().nullable(),totalSpend:h$1,eventCount:z$1.number().int().nonnegative()}),lt=z$1.object({items:z$1.array(ie)}),ae=z$1.object({kind:z$1.enum(["TICKET_SOLD","REPLAY_SOLD"]),subjectType:z$1.enum(["Event","PaymentIntent","ReplayPurchase","Booking"]),subjectId:z$1.string(),occurredAt:z$1.number(),payload:z$1.record(z$1.string(),z$1.unknown())}),ut=z$1.object({items:z$1.array(ae),...k$1.shape}),mt=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),items:z$1.array(z$1.object({country:z$1.string(),viewerCount:z$1.number().int().nonnegative()}))}),pt=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),items:z$1.array(z$1.object({deviceType:z$1.string(),viewerCount:z$1.number().int().nonnegative()}))}),Et=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),granularity:z$1.enum(["daily"]),points:z$1.array(z$1.object({date:z$1.string(),viewers:z$1.number().int().nonnegative()}))}),dt=te.extend({granularity:z$1.enum(["daily"]).optional().default("daily")});var Tt=z$1.object({eventId:z$1.uuid(),amount:z$1.number().min(0)}),Dt=z$1.object({authorizationUrl:z$1.url(),reference:z$1.string(),accessCode:z$1.string().optional()}),Pt=z$1.object({reference:z$1.string(),checkoutUrl:z$1.url().nullable(),status:z$1.enum(S),expiresAt:z$1.iso.datetime()}),vt=z$1.object({reference:z$1.string(),status:z$1.enum(S),eventId:z$1.uuid(),amount:h$1,paidAt:z$1.iso.datetime().nullable()}),ft=z$1.object({email:z$1.email()}),se=z$1.object({intent_id:z$1.uuid(),user_id:z$1.uuid(),event_id:z$1.uuid()}).loose(),re=z$1.object({authorization_code:z$1.string(),bin:z$1.string().nullish(),last4:z$1.string().nullish(),exp_month:z$1.string().nullish(),exp_year:z$1.string().nullish(),channel:z$1.string().nullish(),card_type:z$1.string().nullish(),bank:z$1.string().nullish(),country_code:z$1.string().nullish(),brand:z$1.string().nullish(),reusable:z$1.boolean().nullish(),signature:z$1.string().nullish(),account_name:z$1.string().nullish(),receiver_bank_account_number:z$1.string().nullish(),receiver_bank:z$1.string().nullish()}).loose(),ce=z$1.object({id:z$1.number(),first_name:z$1.string().nullish(),last_name:z$1.string().nullish(),email:z$1.email(),customer_code:z$1.string(),phone:z$1.string().nullish(),metadata:z$1.unknown().nullish(),risk_action:z$1.string().nullish(),international_format_phone:z$1.string().nullish()}).loose(),le=z$1.object({type:z$1.string().nullish(),source:z$1.string().nullish(),entry_point:z$1.string().nullish(),identifier:z$1.string().nullish()}).loose(),Ct=z$1.object({event:z$1.string(),data:z$1.object({id:z$1.number(),domain:z$1.string().optional(),status:z$1.string(),reference:z$1.string(),amount:z$1.number(),message:z$1.string().nullish(),gateway_response:z$1.string().nullish(),paid_at:z$1.string().nullish(),paidAt:z$1.string().nullish(),created_at:z$1.string().nullish(),channel:z$1.string().nullish(),currency:z$1.string(),ip_address:z$1.string().nullish(),fees:z$1.number().nullish(),fees_breakdown:z$1.unknown().nullish(),fees_split:z$1.unknown().nullish(),log:z$1.unknown().nullish(),order_id:z$1.string().nullish(),requested_amount:z$1.number().nullish(),pos_transaction_data:z$1.unknown().nullish(),plan:z$1.object({}).loose().optional(),subaccount:z$1.object({}).loose().optional(),split:z$1.object({}).loose().optional(),metadata:se,authorization:re.optional(),customer:ce.optional(),source:le.optional()}).loose()}).loose(),Nt=z$1.object({qualified:z$1.boolean(),reason:z$1.enum(x)}),Lt=z$1.object({reference:z$1.null(),subtotal:h$1,platformFee:h$1,total:h$1,strategyId:z$1.string(),expiresInSec:z$1.number().int().positive()}),ue=z$1.object({kind:z$1.literal("TRAILER"),trailerUrl:z$1.url()}),me=z$1.object({kind:z$1.literal("SLATE"),slate:z$1.object({title:z$1.string(),hostDisplayName:z$1.string().nullable(),scheduledStartLocal:z$1.iso.datetime({local:true,offset:false})})}),pe=z$1.discriminatedUnion("kind",[ue,me]),jt=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string().nullable(),coverImageUrl:z$1.string().nullable(),category:z$1.string(),timezone:z$1.string(),scheduledStart:z$1.string(),scheduledEnd:z$1.string(),scheduledStartLocal:z$1.iso.datetime({local:true,offset:false}),scheduledEndLocal:z$1.iso.datetime({local:true,offset:false}),state:z$1.string(),accessModel:z$1.string(),visibility:z$1.string(),ticketPrice:h$1.nullable(),replayAccess:z$1.enum(r),replayAccessFee:h$1.nullable(),isFeatured:z$1.boolean(),hostDisplayName:z$1.string().nullable(),hostBio:z$1.string().nullable(),previewClipUrl:z$1.string().nullable(),remainingTickets:z$1.number().int().nullable(),liveStartedAt:z$1.iso.datetime().nullable(),liveEndedAt:z$1.iso.datetime().nullable(),replayAvailableUntil:z$1.iso.datetime().nullable(),ingestSubstate:z$1.enum(["AWAITING_INGEST","STREAMING"]).nullable(),awaitingIngestContent:pe.nullable(),viewer:z$1.object({entitlement:z$1.enum(T),purchaseCta:z$1.enum(p),activeIntentReference:z$1.string().optional(),requiresAccessCheck:z$1.boolean().optional()})}),Ot=z$1.object({url:z$1.url(),expiresAt:z$1.iso.datetime(),contentType:z$1.string().min(1)}),Ee=z$1.object({reference:z$1.string(),amount:h$1,checkoutUrl:z$1.string().optional()}),de=z$1.object({id:z$1.string(),eventId:z$1.string(),status:z$1.enum(y),source:z$1.enum(y),amount:h$1,paymentExpiresAt:z$1.iso.datetime().nullable(),expiresAt:z$1.iso.datetime().nullable(),paidAt:z$1.iso.datetime().nullable()}),_t=z$1.object({replayPurchase:de,payment:Ee.nullable()}),Mt=z$1.object({bankCode:z$1.string().trim().regex(/^\d{3,10}$/,"bankCode must be a 3\u201310 digit numeric string"),accountNumber:z$1.string().trim().regex(/^\d{10}$/,"accountNumber must be a 10-digit NUBAN")}),Ut=z$1.object({bankName:z$1.string().nullable(),bankCode:z$1.string().nullable(),accountNumberMasked:z$1.string().nullable(),accountName:z$1.string().nullable(),verifiedAt:z$1.string().nullable(),updatedAt:z$1.string().nullable()}),kt=z$1.object({pin:z$1.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits")}),Vt=o=>z$1.object({status:z$1.union([z$1.boolean(),z$1.string()]).optional(),message:z$1.string().optional(),data:o}),wt=z$1.object({status:z$1.union([z$1.boolean(),z$1.string()]).optional(),message:z$1.string().optional(),data:z$1.unknown().optional()}),L=z$1.union([z$1.number(),z$1.string()]).transform(o=>BigInt(o)),j=z$1.string(),Ht=z$1.object({id:z$1.string().min(1),status:z$1.string().min(1),amount:L.optional(),currency:j.optional(),funding:z$1.object({account_number:z$1.string(),account_name:z$1.string(),bank_name:z$1.string(),expires_at:z$1.string().optional()}).partial().optional()}),Yt=z$1.object({id:z$1.string().optional(),transaction_id:z$1.string().optional(),reference:z$1.string().optional(),status:z$1.string().min(1)}),Ft=z$1.object({id:z$1.string().optional(),transfer_id:z$1.string().optional(),status:z$1.string().min(1),requires_otp:z$1.boolean().optional()}),Gt=z$1.object({id:z$1.string().optional(),refund_id:z$1.string().optional(),flag_id:z$1.string().optional(),status:z$1.string().min(1)}),Bt=z$1.object({id:z$1.string().min(1),status:z$1.string().min(1),amount:L.optional(),currency:j.optional(),updated_at:z$1.string().optional()}),Wt=z$1.object({id:z$1.string(),reference:z$1.string(),state:z$1.enum(D),amount:h$1,bankName:z$1.string().nullable(),accountNumberMasked:z$1.string(),accountName:z$1.string(),requestedAt:z$1.string(),settledAt:z$1.string().nullable(),failedAt:z$1.string().nullable(),failureReason:z$1.string().nullable()});export{_ as $,ut as $a,vt as A,Ge as Aa,ft as B,Be as Ba,Ct as C,We as Ca,Nt as D,qe as Da,Lt as E,Ke as Ea,ue as F,Qe as Fa,me as G,ze as Ga,pe as H,$ as Ha,jt as I,$e as Ia,Ot as J,X as Ja,Ee as K,Xe as Ka,de as L,Z as La,_t as M,J as Ma,Mt as N,Ze as Na,Ut as O,Je as Oa,kt as P,et as Pa,Vt as Q,tt as Qa,wt as R,nt as Ra,L as S,ot as Sa,Ht as T,ee as Ta,Yt as U,it as Ua,Ft as V,te as Va,Gt as W,at as Wa,Bt as X,st as Xa,Wt as Y,rt as Ya,O as Z,ct as Za,fe as _,lt as _a,r as a,Ce as aa,mt as ab,E as b,i as ba,pt as bb,l as c,Ne as ca,Et as cb,g as d,Le as da,dt as db,he as e,M as ea,b as f,U as fa,c as g,je as ga,P as h,Oe as ha,Re as i,_e as ia,v as j,Me as ja,A as k,Ue as ka,h as l,k as la,Ie as m,V as ma,Se as n,w as na,ye as o,ke as oa,ge as p,H as pa,S as q,Ve as qa,y as r,we as ra,x as s,He as sa,T as t,Ye as ta,be as u,Fe as ua,p as v,C as va,D as w,F as wa,Tt as x,G as xa,Dt as y,N as ya,Pt as z,B as za};//# sourceMappingURL=chunk-C3IZKBL2.mjs.map
2
+ //# sourceMappingURL=chunk-C3IZKBL2.mjs.map