@livdot-tech/contracts 1.11.14 → 1.11.16

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 (91) hide show
  1. package/dist/auth/index.js +1 -1
  2. package/dist/auth/index.mjs +1 -1
  3. package/dist/booking/index.js +1 -1
  4. package/dist/booking/index.mjs +1 -1
  5. package/dist/chat/index.d.mts +10 -1
  6. package/dist/chat/index.d.ts +10 -1
  7. package/dist/chat/index.js +1 -1
  8. package/dist/chat/index.mjs +1 -1
  9. package/dist/{chunk-PN2BNA6L.mjs → chunk-3GRU2QY2.mjs} +2 -2
  10. package/dist/{chunk-PN2BNA6L.mjs.map → chunk-3GRU2QY2.mjs.map} +1 -1
  11. package/dist/{chunk-TPEL6PL7.js → chunk-62J2YERL.js} +2 -2
  12. package/dist/{chunk-TPEL6PL7.js.map → chunk-62J2YERL.js.map} +1 -1
  13. package/dist/{chunk-DWFDZJGV.js → chunk-6SDVUWDK.js} +2 -2
  14. package/dist/{chunk-DWFDZJGV.js.map → chunk-6SDVUWDK.js.map} +1 -1
  15. package/dist/{chunk-6DWMO2IJ.mjs → chunk-AFHPPDY5.mjs} +2 -2
  16. package/dist/chunk-AFHPPDY5.mjs.map +1 -0
  17. package/dist/{chunk-HO7POUXZ.js → chunk-AHKBIVL2.js} +2 -2
  18. package/dist/{chunk-HO7POUXZ.js.map → chunk-AHKBIVL2.js.map} +1 -1
  19. package/dist/{chunk-EC7CB75Z.mjs → chunk-CEFLZP7Z.mjs} +2 -2
  20. package/dist/{chunk-EC7CB75Z.mjs.map → chunk-CEFLZP7Z.mjs.map} +1 -1
  21. package/dist/{chunk-JPTEPX6P.js → chunk-EYYN73UK.js} +2 -2
  22. package/dist/{chunk-JPTEPX6P.js.map → chunk-EYYN73UK.js.map} +1 -1
  23. package/dist/{chunk-URMWKVBY.mjs → chunk-GES7ZVB4.mjs} +2 -2
  24. package/dist/{chunk-URMWKVBY.mjs.map → chunk-GES7ZVB4.mjs.map} +1 -1
  25. package/dist/{chunk-PVVPURYV.mjs → chunk-HUUFOX77.mjs} +2 -2
  26. package/dist/{chunk-PVVPURYV.mjs.map → chunk-HUUFOX77.mjs.map} +1 -1
  27. package/dist/chunk-J3JVMRBC.js +2 -0
  28. package/dist/chunk-J3JVMRBC.js.map +1 -0
  29. package/dist/{chunk-MYRGUNQ4.js → chunk-JDURRFYB.js} +2 -2
  30. package/dist/{chunk-MYRGUNQ4.js.map → chunk-JDURRFYB.js.map} +1 -1
  31. package/dist/{chunk-EMTO3FNQ.mjs → chunk-M3F2FI4M.mjs} +2 -2
  32. package/dist/{chunk-EMTO3FNQ.mjs.map → chunk-M3F2FI4M.mjs.map} +1 -1
  33. package/dist/chunk-MADZSJ55.mjs +2 -0
  34. package/dist/chunk-MADZSJ55.mjs.map +1 -0
  35. package/dist/{chunk-ORDM2W6R.js → chunk-NZONR6QG.js} +2 -2
  36. package/dist/chunk-NZONR6QG.js.map +1 -0
  37. package/dist/chunk-RUNVE7DS.js +2 -0
  38. package/dist/chunk-RUNVE7DS.js.map +1 -0
  39. package/dist/{chunk-B7O2NN3X.mjs → chunk-TH35UAKL.mjs} +2 -2
  40. package/dist/{chunk-B7O2NN3X.mjs.map → chunk-TH35UAKL.mjs.map} +1 -1
  41. package/dist/{chunk-PAUYI2FU.mjs → chunk-TIVS5L4Q.mjs} +2 -2
  42. package/dist/chunk-TIVS5L4Q.mjs.map +1 -0
  43. package/dist/{chunk-X4MIPWKH.js → chunk-U5WMJEXE.js} +2 -2
  44. package/dist/{chunk-X4MIPWKH.js.map → chunk-U5WMJEXE.js.map} +1 -1
  45. package/dist/chunk-US4H7HB4.mjs +2 -0
  46. package/dist/chunk-US4H7HB4.mjs.map +1 -0
  47. package/dist/{chunk-URFS7U34.mjs → chunk-VK3CYFOR.mjs} +2 -2
  48. package/dist/{chunk-URFS7U34.mjs.map → chunk-VK3CYFOR.mjs.map} +1 -1
  49. package/dist/{chunk-X4NLB6G5.js → chunk-Y7LGLL7F.js} +2 -2
  50. package/dist/chunk-Y7LGLL7F.js.map +1 -0
  51. package/dist/{chunk-XGBDJE5X.js → chunk-YSZFQCNZ.js} +2 -2
  52. package/dist/{chunk-XGBDJE5X.js.map → chunk-YSZFQCNZ.js.map} +1 -1
  53. package/dist/common/index.d.mts +8 -0
  54. package/dist/common/index.d.ts +8 -0
  55. package/dist/common/index.js +1 -1
  56. package/dist/common/index.mjs +1 -1
  57. package/dist/dispute/index.js +1 -1
  58. package/dist/dispute/index.mjs +1 -1
  59. package/dist/event/index.d.mts +110 -1
  60. package/dist/event/index.d.ts +110 -1
  61. package/dist/event/index.js +1 -1
  62. package/dist/event/index.mjs +1 -1
  63. package/dist/host/index.d.mts +3 -1
  64. package/dist/host/index.d.ts +3 -1
  65. package/dist/host/index.js +1 -1
  66. package/dist/host/index.mjs +1 -1
  67. package/dist/index.d.mts +2 -2
  68. package/dist/index.d.ts +2 -2
  69. package/dist/index.js +1 -1
  70. package/dist/index.mjs +1 -1
  71. package/dist/marketplace/index.js +1 -1
  72. package/dist/marketplace/index.mjs +1 -1
  73. package/dist/notification/index.js +1 -1
  74. package/dist/notification/index.mjs +1 -1
  75. package/dist/payment/index.js +1 -1
  76. package/dist/payment/index.mjs +1 -1
  77. package/dist/user/index.js +1 -1
  78. package/dist/user/index.mjs +1 -1
  79. package/package.json +1 -1
  80. package/dist/chunk-6DWMO2IJ.mjs.map +0 -1
  81. package/dist/chunk-7BWECLAF.js +0 -2
  82. package/dist/chunk-7BWECLAF.js.map +0 -1
  83. package/dist/chunk-JGK6ENB3.mjs +0 -2
  84. package/dist/chunk-JGK6ENB3.mjs.map +0 -1
  85. package/dist/chunk-ORDM2W6R.js.map +0 -1
  86. package/dist/chunk-PAUYI2FU.mjs.map +0 -1
  87. package/dist/chunk-Q22UWX74.mjs +0 -2
  88. package/dist/chunk-Q22UWX74.mjs.map +0 -1
  89. package/dist/chunk-W5MCRFFN.js +0 -2
  90. package/dist/chunk-W5MCRFFN.js.map +0 -1
  91. package/dist/chunk-X4NLB6G5.js.map +0 -1
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkX4MIPWKH_js=require('../chunk-X4MIPWKH.js');require('../chunk-TPEL6PL7.js'),require('../chunk-JPTEPX6P.js'),require('../chunk-MYRGUNQ4.js'),require('../chunk-W5MCRFFN.js'),require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkX4MIPWKH_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkX4MIPWKH_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkX4MIPWKH_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkX4MIPWKH_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.j}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkU5WMJEXE_js=require('../chunk-U5WMJEXE.js');require('../chunk-62J2YERL.js'),require('../chunk-EYYN73UK.js'),require('../chunk-JDURRFYB.js'),require('../chunk-J3JVMRBC.js'),require('../chunk-NZONR6QG.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkU5WMJEXE_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkU5WMJEXE_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkU5WMJEXE_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkU5WMJEXE_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkU5WMJEXE_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-EC7CB75Z.mjs';import'../chunk-PVVPURYV.mjs';import'../chunk-PN2BNA6L.mjs';import'../chunk-B7O2NN3X.mjs';import'../chunk-Q22UWX74.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-CEFLZP7Z.mjs';import'../chunk-HUUFOX77.mjs';import'../chunk-3GRU2QY2.mjs';import'../chunk-TH35UAKL.mjs';import'../chunk-US4H7HB4.mjs';import'../chunk-TIVS5L4Q.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkDWFDZJGV_js=require('../chunk-DWFDZJGV.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkMYRGUNQ4_js=require('../chunk-MYRGUNQ4.js');require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Ba}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkDWFDZJGV_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkDWFDZJGV_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkDWFDZJGV_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.xa}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkDWFDZJGV_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkDWFDZJGV_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkDWFDZJGV_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.za}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkDWFDZJGV_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Aa}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkDWFDZJGV_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkDWFDZJGV_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkDWFDZJGV_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkDWFDZJGV_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkDWFDZJGV_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkDWFDZJGV_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkDWFDZJGV_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkDWFDZJGV_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 chunkMYRGUNQ4_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.c}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunk6SDVUWDK_js=require('../chunk-6SDVUWDK.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkJDURRFYB_js=require('../chunk-JDURRFYB.js');require('../chunk-NZONR6QG.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Ba}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunk6SDVUWDK_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunk6SDVUWDK_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunk6SDVUWDK_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.xa}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunk6SDVUWDK_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunk6SDVUWDK_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunk6SDVUWDK_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.za}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunk6SDVUWDK_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Aa}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunk6SDVUWDK_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunk6SDVUWDK_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunk6SDVUWDK_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunk6SDVUWDK_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunk6SDVUWDK_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunk6SDVUWDK_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunk6SDVUWDK_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunk6SDVUWDK_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 chunkJDURRFYB_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkJDURRFYB_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-URFS7U34.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-B7O2NN3X.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-VK3CYFOR.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-TH35UAKL.mjs';import'../chunk-TIVS5L4Q.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -3,6 +3,12 @@ import z from 'zod';
3
3
  declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
4
4
  declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
5
5
  declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
6
+ /**
7
+ * Upper bound (seconds) for `videoOffsetSec` — 48 hours. Longer than
8
+ * any realistic stream duration; anything above this is a bad-actor
9
+ * or client-clock-skew signal and gets rejected at the wire.
10
+ */
11
+ declare const CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS: number;
6
12
  declare const ChatMessageUserSchema: z.ZodObject<{
7
13
  id: z.ZodString;
8
14
  displayName: z.ZodString;
@@ -18,6 +24,7 @@ declare const ChatMessageSchema: z.ZodObject<{
18
24
  colorHex: z.ZodString;
19
25
  }, z.core.$strip>;
20
26
  deletedAt: z.ZodOptional<z.ZodISODateTime>;
27
+ videoOffsetSec: z.ZodOptional<z.ZodNumber>;
21
28
  }, z.core.$strip>;
22
29
  declare const ChatHistoryResponseSchema: z.ZodObject<{
23
30
  totalCount: z.ZodNumber;
@@ -36,10 +43,12 @@ declare const ChatHistoryResponseSchema: z.ZodObject<{
36
43
  colorHex: z.ZodString;
37
44
  }, z.core.$strip>;
38
45
  deletedAt: z.ZodOptional<z.ZodISODateTime>;
46
+ videoOffsetSec: z.ZodOptional<z.ZodNumber>;
39
47
  }, z.core.$strip>>;
40
48
  }, z.core.$strip>;
41
49
  declare const PostChatMessageRequestSchema: z.ZodObject<{
42
50
  body: z.ZodString;
51
+ videoOffsetSec: z.ZodOptional<z.ZodNumber>;
43
52
  }, z.core.$strip>;
44
53
  declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
45
54
  reason: z.ZodOptional<z.ZodString>;
@@ -94,4 +103,4 @@ type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
94
103
  type IvsChatCredentials = z.infer<typeof IvsChatCredentialsSchema>;
95
104
  type InProcessChatCredentials = z.infer<typeof InProcessChatCredentialsSchema>;
96
105
 
97
- export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
106
+ export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
@@ -3,6 +3,12 @@ import z from 'zod';
3
3
  declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
4
4
  declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
5
5
  declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
6
+ /**
7
+ * Upper bound (seconds) for `videoOffsetSec` — 48 hours. Longer than
8
+ * any realistic stream duration; anything above this is a bad-actor
9
+ * or client-clock-skew signal and gets rejected at the wire.
10
+ */
11
+ declare const CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS: number;
6
12
  declare const ChatMessageUserSchema: z.ZodObject<{
7
13
  id: z.ZodString;
8
14
  displayName: z.ZodString;
@@ -18,6 +24,7 @@ declare const ChatMessageSchema: z.ZodObject<{
18
24
  colorHex: z.ZodString;
19
25
  }, z.core.$strip>;
20
26
  deletedAt: z.ZodOptional<z.ZodISODateTime>;
27
+ videoOffsetSec: z.ZodOptional<z.ZodNumber>;
21
28
  }, z.core.$strip>;
22
29
  declare const ChatHistoryResponseSchema: z.ZodObject<{
23
30
  totalCount: z.ZodNumber;
@@ -36,10 +43,12 @@ declare const ChatHistoryResponseSchema: z.ZodObject<{
36
43
  colorHex: z.ZodString;
37
44
  }, z.core.$strip>;
38
45
  deletedAt: z.ZodOptional<z.ZodISODateTime>;
46
+ videoOffsetSec: z.ZodOptional<z.ZodNumber>;
39
47
  }, z.core.$strip>>;
40
48
  }, z.core.$strip>;
41
49
  declare const PostChatMessageRequestSchema: z.ZodObject<{
42
50
  body: z.ZodString;
51
+ videoOffsetSec: z.ZodOptional<z.ZodNumber>;
43
52
  }, z.core.$strip>;
44
53
  declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
45
54
  reason: z.ZodOptional<z.ZodString>;
@@ -94,4 +103,4 @@ type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
94
103
  type IvsChatCredentials = z.infer<typeof IvsChatCredentialsSchema>;
95
104
  type InProcessChatCredentials = z.infer<typeof InProcessChatCredentialsSchema>;
96
105
 
97
- export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
106
+ export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk7BWECLAF_js=require('../chunk-7BWECLAF.js');require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MAX_LENGTH",{enumerable:true,get:function(){return chunk7BWECLAF_js.b}});Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MIN_LENGTH",{enumerable:true,get:function(){return chunk7BWECLAF_js.a}});Object.defineProperty(exports,"CHAT_MODERATION_REASON_MAX_LENGTH",{enumerable:true,get:function(){return chunk7BWECLAF_js.c}});Object.defineProperty(exports,"ChatCredentialsResponseSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.k}});Object.defineProperty(exports,"ChatHistoryResponseSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.f}});Object.defineProperty(exports,"ChatMessageSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.e}});Object.defineProperty(exports,"ChatMessageUserSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.d}});Object.defineProperty(exports,"ChatModerationDeleteRequestSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.h}});Object.defineProperty(exports,"ChatModerationMuteRequestSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.i}});Object.defineProperty(exports,"ChatMuteStateResponseSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.j}});Object.defineProperty(exports,"InProcessChatCredentialsSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.l}});Object.defineProperty(exports,"IvsChatCredentialsSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.m}});Object.defineProperty(exports,"PostChatMessageRequestSchema",{enumerable:true,get:function(){return chunk7BWECLAF_js.g}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkRUNVE7DS_js=require('../chunk-RUNVE7DS.js');require('../chunk-NZONR6QG.js');Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MAX_LENGTH",{enumerable:true,get:function(){return chunkRUNVE7DS_js.b}});Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MIN_LENGTH",{enumerable:true,get:function(){return chunkRUNVE7DS_js.a}});Object.defineProperty(exports,"CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS",{enumerable:true,get:function(){return chunkRUNVE7DS_js.d}});Object.defineProperty(exports,"CHAT_MODERATION_REASON_MAX_LENGTH",{enumerable:true,get:function(){return chunkRUNVE7DS_js.c}});Object.defineProperty(exports,"ChatCredentialsResponseSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.l}});Object.defineProperty(exports,"ChatHistoryResponseSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.g}});Object.defineProperty(exports,"ChatMessageSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.f}});Object.defineProperty(exports,"ChatMessageUserSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.e}});Object.defineProperty(exports,"ChatModerationDeleteRequestSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.i}});Object.defineProperty(exports,"ChatModerationMuteRequestSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.j}});Object.defineProperty(exports,"ChatMuteStateResponseSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.k}});Object.defineProperty(exports,"InProcessChatCredentialsSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.m}});Object.defineProperty(exports,"IvsChatCredentialsSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.n}});Object.defineProperty(exports,"PostChatMessageRequestSchema",{enumerable:true,get:function(){return chunkRUNVE7DS_js.h}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,c as CHAT_MODERATION_REASON_MAX_LENGTH,k as ChatCredentialsResponseSchema,f as ChatHistoryResponseSchema,e as ChatMessageSchema,d as ChatMessageUserSchema,h as ChatModerationDeleteRequestSchema,i as ChatModerationMuteRequestSchema,j as ChatMuteStateResponseSchema,l as InProcessChatCredentialsSchema,m as IvsChatCredentialsSchema,g as PostChatMessageRequestSchema}from'../chunk-JGK6ENB3.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,d as CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS,c as CHAT_MODERATION_REASON_MAX_LENGTH,l as ChatCredentialsResponseSchema,g as ChatHistoryResponseSchema,f as ChatMessageSchema,e as ChatMessageUserSchema,i as ChatModerationDeleteRequestSchema,j as ChatModerationMuteRequestSchema,k as ChatMuteStateResponseSchema,m as InProcessChatCredentialsSchema,n as IvsChatCredentialsSchema,h as PostChatMessageRequestSchema}from'../chunk-MADZSJ55.mjs';import'../chunk-TIVS5L4Q.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import {c as c$1}from'./chunk-B7O2NN3X.mjs';import {g}from'./chunk-PAUYI2FU.mjs';import {z as z$1}from'zod';var o={NGN:"NGN"},I={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},i={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var R=z$1.object({category:z$1.string().optional(),minRate:z$1.coerce.number().int().min(0).optional(),maxRate:z$1.coerce.number().int().min(0).optional(),availabilityDate:z$1.string().optional(),search:z$1.string().trim().min(2).max(100).optional(),...g.shape}),n=z$1.object({id:z$1.uuid(),name:z$1.string(),category:z$1.enum(i),notes:z$1.string().nullable()}),r=z$1.object({id:z$1.uuid(),code:z$1.string(),label:z$1.string()}),A=z$1.object({items:z$1.array(r)}),c=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string().nullable(),mediaUrl:z$1.url().nullable(),externalUrl:z$1.url().nullable(),createdAt:z$1.iso.datetime()}),s=z$1.object({id:z$1.uuid(),label:z$1.string(),amount:z$1.string(),currency:z$1.enum(o),notes:z$1.string().nullable()}),T=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),displayName:z$1.string(),avatarUrl:z$1.url().nullable(),producerIsVerified:z$1.boolean(),companyName:z$1.string().nullable(),bio:z$1.string().nullable(),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),isAvailable:z$1.boolean(),averageRating:z$1.string(),totalReviews:z$1.number().int(),completionRate:z$1.string(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),equipmentItems:z$1.array(r),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),recentReviews:z$1.array(c$1).optional()});var v={HOST:1,PRODUCER:2,VIEWER:4},U={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},h={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},L={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},k={BUG:"BUG",IDEA:"IDEA",GENERAL:"GENERAL"},V={EVENT_REMINDERS:"EVENT_REMINDERS",LIVE_ALERTS:"LIVE_ALERTS",RECOMMENDATIONS:"RECOMMENDATIONS",JOB_INVITATIONS:"JOB_INVITATIONS",JOB_CONFIRMATIONS:"JOB_CONFIRMATIONS",MESSAGES:"MESSAGES",TICKET_PURCHASES:"TICKET_PURCHASES",CREW_UPDATES:"CREW_UPDATES"},l={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},p={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};var d=z$1.object({name:z$1.string().min(1).max(255),category:z$1.enum(i),notes:z$1.string().max(2e3).optional()}),S=z$1.object({title:z$1.string().min(1).max(255),description:z$1.string().max(2e3).optional(),mediaUrl:z$1.url().optional(),externalUrl:z$1.url().optional()}),b=z$1.object({label:z$1.string().min(1).max(255),amount:z$1.number().min(0),currency:z$1.enum(o).default(o.NGN),notes:z$1.string().max(2e3).optional()}),B=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),companyName:z$1.string(),bio:z$1.string(),logoUrl:z$1.url().nullable(),experienceLevel:z$1.enum(p),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable(),verificationStatus:z$1.enum(l),verificationReason:z$1.string().nullable(),verifiedAt:z$1.iso.datetime().nullable(),visibleInMarketplace:z$1.boolean(),isAvailable:z$1.boolean(),defaultCurrency:z$1.enum(o),averageRating:z$1.number(),totalReviews:z$1.number().int(),completionRate:z$1.number(),hasPin:z$1.boolean(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),equipmentItems:z$1.array(r)}),_=z$1.object({companyName:z$1.string().min(1).max(120).optional(),bio:z$1.string().min(1).max(2e3).optional(),logoUrl:z$1.url().nullable().optional(),experienceLevel:z$1.enum(p).optional(),yearsExperience:z$1.number().int().min(0).optional(),serviceAreas:z$1.array(z$1.string()).optional(),maxDistanceKm:z$1.number().int().min(0).nullable().optional(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable().optional(),isAvailable:z$1.boolean().optional(),visibleInMarketplace:z$1.boolean().optional(),equipmentManifest:z$1.array(d).optional(),portfolio:z$1.array(S).optional(),rateCard:z$1.array(b).optional(),equipmentItemIds:z$1.array(z$1.uuid()).optional(),equipmentItemCodes:z$1.array(z$1.string().min(1).max(64)).optional(),categoryCodes:z$1.array(z$1.string()).optional()}).refine(y=>Object.keys(y).length>0,{message:"At least one field is required"}),F=z$1.object({verificationStatus:z$1.literal(l.SUBMITTED)}),w=z$1.object({view:z$1.literal("workspace").optional()});var f=z$1.string().trim().min(5,"Reason must be at least 5 characters"),J=z$1.object({notes:z$1.string().max(2e3).optional()}),E=z$1.object({reason:f,notes:z$1.string().max(2e3).optional()}),H=E,z=E;export{E as A,H as B,z as C,v as a,U as b,h as c,L as d,k as e,V as f,l as g,p as h,o as i,I as j,i as k,R as l,n as m,r as n,A as o,c as p,s as q,T as r,d as s,S as t,b as u,B as v,_ as w,F as x,w as y,J as z};//# sourceMappingURL=chunk-PN2BNA6L.mjs.map
2
- //# sourceMappingURL=chunk-PN2BNA6L.mjs.map
1
+ import {c as c$1}from'./chunk-TH35UAKL.mjs';import {g}from'./chunk-TIVS5L4Q.mjs';import {z as z$1}from'zod';var o={NGN:"NGN"},I={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},i={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var R=z$1.object({category:z$1.string().optional(),minRate:z$1.coerce.number().int().min(0).optional(),maxRate:z$1.coerce.number().int().min(0).optional(),availabilityDate:z$1.string().optional(),search:z$1.string().trim().min(2).max(100).optional(),...g.shape}),n=z$1.object({id:z$1.uuid(),name:z$1.string(),category:z$1.enum(i),notes:z$1.string().nullable()}),r=z$1.object({id:z$1.uuid(),code:z$1.string(),label:z$1.string()}),A=z$1.object({items:z$1.array(r)}),c=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string().nullable(),mediaUrl:z$1.url().nullable(),externalUrl:z$1.url().nullable(),createdAt:z$1.iso.datetime()}),s=z$1.object({id:z$1.uuid(),label:z$1.string(),amount:z$1.string(),currency:z$1.enum(o),notes:z$1.string().nullable()}),T=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),displayName:z$1.string(),avatarUrl:z$1.url().nullable(),producerIsVerified:z$1.boolean(),companyName:z$1.string().nullable(),bio:z$1.string().nullable(),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),isAvailable:z$1.boolean(),averageRating:z$1.string(),totalReviews:z$1.number().int(),completionRate:z$1.string(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),equipmentItems:z$1.array(r),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),recentReviews:z$1.array(c$1).optional()});var v={HOST:1,PRODUCER:2,VIEWER:4},U={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},h={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},L={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},k={BUG:"BUG",IDEA:"IDEA",GENERAL:"GENERAL"},V={EVENT_REMINDERS:"EVENT_REMINDERS",LIVE_ALERTS:"LIVE_ALERTS",RECOMMENDATIONS:"RECOMMENDATIONS",JOB_INVITATIONS:"JOB_INVITATIONS",JOB_CONFIRMATIONS:"JOB_CONFIRMATIONS",MESSAGES:"MESSAGES",TICKET_PURCHASES:"TICKET_PURCHASES",CREW_UPDATES:"CREW_UPDATES"},l={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},p={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};var d=z$1.object({name:z$1.string().min(1).max(255),category:z$1.enum(i),notes:z$1.string().max(2e3).optional()}),S=z$1.object({title:z$1.string().min(1).max(255),description:z$1.string().max(2e3).optional(),mediaUrl:z$1.url().optional(),externalUrl:z$1.url().optional()}),b=z$1.object({label:z$1.string().min(1).max(255),amount:z$1.number().min(0),currency:z$1.enum(o).default(o.NGN),notes:z$1.string().max(2e3).optional()}),B=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),companyName:z$1.string(),bio:z$1.string(),logoUrl:z$1.url().nullable(),experienceLevel:z$1.enum(p),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable(),verificationStatus:z$1.enum(l),verificationReason:z$1.string().nullable(),verifiedAt:z$1.iso.datetime().nullable(),visibleInMarketplace:z$1.boolean(),isAvailable:z$1.boolean(),defaultCurrency:z$1.enum(o),averageRating:z$1.number(),totalReviews:z$1.number().int(),completionRate:z$1.number(),hasPin:z$1.boolean(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),equipmentItems:z$1.array(r)}),_=z$1.object({companyName:z$1.string().min(1).max(120).optional(),bio:z$1.string().min(1).max(2e3).optional(),logoUrl:z$1.url().nullable().optional(),experienceLevel:z$1.enum(p).optional(),yearsExperience:z$1.number().int().min(0).optional(),serviceAreas:z$1.array(z$1.string()).optional(),maxDistanceKm:z$1.number().int().min(0).nullable().optional(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable().optional(),isAvailable:z$1.boolean().optional(),visibleInMarketplace:z$1.boolean().optional(),equipmentManifest:z$1.array(d).optional(),portfolio:z$1.array(S).optional(),rateCard:z$1.array(b).optional(),equipmentItemIds:z$1.array(z$1.uuid()).optional(),equipmentItemCodes:z$1.array(z$1.string().min(1).max(64)).optional(),categoryCodes:z$1.array(z$1.string()).optional()}).refine(y=>Object.keys(y).length>0,{message:"At least one field is required"}),F=z$1.object({verificationStatus:z$1.literal(l.SUBMITTED)}),w=z$1.object({view:z$1.literal("workspace").optional()});var f=z$1.string().trim().min(5,"Reason must be at least 5 characters"),J=z$1.object({notes:z$1.string().max(2e3).optional()}),E=z$1.object({reason:f,notes:z$1.string().max(2e3).optional()}),H=E,z=E;export{E as A,H as B,z as C,v as a,U as b,h as c,L as d,k as e,V as f,l as g,p as h,o as i,I as j,i as k,R as l,n as m,r as n,A as o,c as p,s as q,T as r,d as s,S as t,b as u,B as v,_ as w,F as x,w as y,J as z};//# sourceMappingURL=chunk-3GRU2QY2.mjs.map
2
+ //# sourceMappingURL=chunk-3GRU2QY2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts","../src/user/user.enums.ts","../src/marketplace/workspace.schemas.ts","../src/marketplace/verification.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","ListProducersQuerySchema","z","PaginationParamsSchema","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","ServiceCategoryListResponseSchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","ProducerRecentReviewSchema","UserRole","AccountStatus","KycStatus","AdminScopeCode","FeedbackCategory","NotificationCategory","ProducerVerificationStatus","ProducerExperienceLevel","WorkspaceEquipmentItemInputSchema","WorkspacePortfolioItemInputSchema","WorkspaceRateCardItemInputSchema","ProducerProfileWorkspaceSchema","UpsertProducerWorkspaceProfileSchema","data","SubmitProducerForVerificationSchema","GetProducerProfileQuerySchema","verificationReasonSchema","AdminApproveProducerVerificationSchema","AdminProducerVerificationReasonBodySchema","AdminRejectProducerVerificationSchema","AdminSuspendProducerVerificationSchema"],"mappings":"4GACO,IAAMA,CAAAA,CAAsB,CACjC,GAAA,CAAK,KACP,CAAA,CAOaC,EAAsB,CACjC,KAAA,CAAO,OAAA,CACP,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,QACP,OAAA,CAAS,SAAA,CACT,EAAA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,GAAAA,CAAE,OAAO,CAC1D,kBAAA,CAAoBA,GAAAA,CAAE,OAAA,CAAQe,CAAAA,CAA2B,SAAS,CACpE,CAAC,CAAA,CAGYS,CAAAA,CAAgCxB,GAAAA,CAAE,MAAA,CAAO,CACpD,IAAA,CAAMA,IAAE,OAAA,CAAQ,WAAW,CAAA,CAAE,QAAA,EAC/B,CAAC,EC9FD,IAAMyB,CAAAA,CAA2BzB,IAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAI,CAAA,CAAG,sCAAsC,CAAA,CAGnF0B,CAAAA,CAAyC1B,GAAAA,CAAE,MAAA,CAAO,CAC7D,KAAA,CAAOA,GAAAA,CAAE,QAAO,CAAE,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,CAAA,CAMY2B,CAAAA,CAA4C3B,GAAAA,CAAE,MAAA,CAAO,CAChE,MAAA,CAAQyB,CAAAA,CACR,MAAOzB,GAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,CAAA,CAGY4B,CAAAA,CAAwCD,CAAAA,CAGxCE,CAAAA,CAAyCF","file":"chunk-PN2BNA6L.mjs","sourcesContent":["/** ISO 4217 codes supported on marketplace rate cards. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport { PaginationParamsSchema } from '../common';\nimport { ProducerRecentReviewSchema } from '../booking/review.schemas';\n\nexport const ListProducersQuerySchema = z.object({\n category: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n /** Case-insensitive match on name, company, role/skill, or equipment */\n search: z.string().trim().min(2).max(100).optional(),\n ...PaginationParamsSchema.shape,\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n id: z.uuid(),\n code: z.string(),\n label: z.string(),\n});\n\nexport const ServiceCategoryListResponseSchema = z.object({\n items: z.array(PublicProducerListCategorySchema),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n displayName: z.string(),\n avatarUrl: z.url().nullable(),\n producerIsVerified: z.boolean(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n recentReviews: z.array(ProducerRecentReviewSchema).optional(),\n});\n","export const UserRole = {\n HOST: 1,\n PRODUCER: 2,\n VIEWER: 4,\n} as const;\nexport type UserRole = (typeof UserRole)[keyof typeof UserRole];\n\nexport const AccountStatus = {\n ACTIVE: 'ACTIVE',\n SUSPENDED: 'SUSPENDED',\n BANNED: 'BANNED',\n DELETED: 'DELETED',\n} as const;\nexport type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];\n\nexport const KycStatus = {\n PENDING: 'PENDING',\n SUBMITTED: 'SUBMITTED',\n VERIFIED: 'VERIFIED',\n REJECTED: 'REJECTED',\n} as const;\nexport type KycStatus = (typeof KycStatus)[keyof typeof KycStatus];\n\n/**\n * Enum for admin scope codes.\n */\nexport const AdminScopeCode = {\n TRUST: 'TRUST',\n FINANCIAL: 'FINANCIAL',\n LIVE_OPS: 'LIVE_OPS',\n AUDIT: 'AUDIT',\n} as const;\nexport type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];\n\nexport const FeedbackCategory = {\n BUG: 'BUG',\n IDEA: 'IDEA',\n GENERAL: 'GENERAL',\n} as const;\nexport type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];\n\nexport const NotificationCategory = {\n EVENT_REMINDERS: 'EVENT_REMINDERS',\n LIVE_ALERTS: 'LIVE_ALERTS',\n RECOMMENDATIONS: 'RECOMMENDATIONS',\n JOB_INVITATIONS: 'JOB_INVITATIONS',\n JOB_CONFIRMATIONS: 'JOB_CONFIRMATIONS',\n MESSAGES: 'MESSAGES',\n TICKET_PURCHASES: 'TICKET_PURCHASES',\n CREW_UPDATES: 'CREW_UPDATES',\n} as const;\nexport type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];\n\nexport const ProducerVerificationStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n REJECTED: 'REJECTED',\n SUBMITTED: 'SUBMITTED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type ProducerVerificationStatus =\n (typeof ProducerVerificationStatus)[keyof typeof ProducerVerificationStatus];\n\nexport const ProducerExperienceLevel = {\n BEGINNER: 'BEGINNER',\n INTERMEDIATE: 'INTERMEDIATE',\n EXPERT: 'EXPERT',\n} as const;\nexport type ProducerExperienceLevel =\n (typeof ProducerExperienceLevel)[keyof typeof ProducerExperienceLevel];\n","import { z } from 'zod';\nimport { ProducerExperienceLevel, ProducerVerificationStatus } from '../user/user.enums';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport {\n PublicProducerListCategorySchema,\n PublicProducerListEquipmentItemSchema,\n PublicProducerListPortfolioItemSchema,\n PublicProducerListRateCardItemSchema,\n} from './marketplace.schemas';\n\n/** Workspace equipment row (full manifest; public API uses the same shape). */\nexport const WorkspaceEquipmentItemInputSchema = z.object({\n name: z.string().min(1).max(255),\n category: z.enum(EquipmentCategory),\n notes: z.string().max(2000).optional(),\n});\n\nexport const WorkspacePortfolioItemInputSchema = z.object({\n title: z.string().min(1).max(255),\n description: z.string().max(2000).optional(),\n mediaUrl: z.url().optional(),\n externalUrl: z.url().optional(),\n});\n\nexport const WorkspaceRateCardItemInputSchema = z.object({\n label: z.string().min(1).max(255),\n amount: z.number().min(0),\n currency: z.enum(MarketplaceCurrency).default(MarketplaceCurrency.NGN),\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Authenticated producer workspace profile (owner view).\n * Includes verification workflow fields and raw availability; never returned on public routes.\n */\nexport const ProducerProfileWorkspaceSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.url().nullable(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable(),\n verificationStatus: z.enum(ProducerVerificationStatus),\n verificationReason: z.string().nullable(),\n verifiedAt: z.iso.datetime().nullable(),\n visibleInMarketplace: z.boolean(),\n isAvailable: z.boolean(),\n defaultCurrency: z.enum(MarketplaceCurrency),\n averageRating: z.number(),\n totalReviews: z.number().int(),\n completionRate: z.number(),\n hasPin: z.boolean(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n});\n\n/** PATCH body for workspace profile updates (partial). */\nexport const UpsertProducerWorkspaceProfileSchema = z\n .object({\n companyName: z.string().min(1).max(120).optional(),\n bio: z.string().min(1).max(2000).optional(),\n logoUrl: z.url().nullable().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel).optional(),\n yearsExperience: z.number().int().min(0).optional(),\n serviceAreas: z.array(z.string()).optional(),\n maxDistanceKm: z.number().int().min(0).nullable().optional(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable().optional(),\n isAvailable: z.boolean().optional(),\n visibleInMarketplace: z.boolean().optional(),\n equipmentManifest: z.array(WorkspaceEquipmentItemInputSchema).optional(),\n portfolio: z.array(WorkspacePortfolioItemInputSchema).optional(),\n rateCard: z.array(WorkspaceRateCardItemInputSchema).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n categoryCodes: z.array(z.string()).optional(),\n })\n .refine((data) => Object.keys(data).length > 0, {\n message: 'At least one field is required',\n });\n\n/** POST body for submit-for-verification (explicit intent for signing). */\nexport const SubmitProducerForVerificationSchema = z.object({\n verificationStatus: z.literal(ProducerVerificationStatus.SUBMITTED),\n});\n\n/** Query for `GET /users/me/producer-profile` — `view=workspace` returns owner workspace shape. */\nexport const GetProducerProfileQuerySchema = z.object({\n view: z.literal('workspace').optional(),\n});\n","import { z } from 'zod';\n\nconst verificationReasonSchema = z.string().trim().min(5, 'Reason must be at least 5 characters');\n\n/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */\nexport const AdminApproveProducerVerificationSchema = z.object({\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Shared body for admin actions that require a decision reason.\n * `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.\n */\nexport const AdminProducerVerificationReasonBodySchema = z.object({\n reason: verificationReasonSchema,\n notes: z.string().max(2000).optional(),\n});\n\n/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */\nexport const AdminRejectProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n\n/** Admin suspends an approved producer (APPROVED → SUSPENDED). */\nexport const AdminSuspendProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n"]}
1
+ {"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts","../src/user/user.enums.ts","../src/marketplace/workspace.schemas.ts","../src/marketplace/verification.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","ListProducersQuerySchema","z","PaginationParamsSchema","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","ServiceCategoryListResponseSchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","ProducerRecentReviewSchema","UserRole","AccountStatus","KycStatus","AdminScopeCode","FeedbackCategory","NotificationCategory","ProducerVerificationStatus","ProducerExperienceLevel","WorkspaceEquipmentItemInputSchema","WorkspacePortfolioItemInputSchema","WorkspaceRateCardItemInputSchema","ProducerProfileWorkspaceSchema","UpsertProducerWorkspaceProfileSchema","data","SubmitProducerForVerificationSchema","GetProducerProfileQuerySchema","verificationReasonSchema","AdminApproveProducerVerificationSchema","AdminProducerVerificationReasonBodySchema","AdminRejectProducerVerificationSchema","AdminSuspendProducerVerificationSchema"],"mappings":"4GACO,IAAMA,CAAAA,CAAsB,CACjC,GAAA,CAAK,KACP,CAAA,CAOaC,EAAsB,CACjC,KAAA,CAAO,OAAA,CACP,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,QACP,OAAA,CAAS,SAAA,CACT,EAAA,CAAI,IAAA,CACJ,SAAA,CAAW,WACb,CAAA,CAIaC,CAAAA,CAAoB,CAC/B,KAAA,CAAO,OAAA,CACP,KAAA,CAAO,OAAA,CACP,QAAA,CAAU,WACV,OAAA,CAAS,SAAA,CACT,KAAA,CAAO,OAAA,CACP,KAAA,CAAO,OACT,ECvBO,IAAMC,CAAAA,CAA2BC,IAAE,MAAA,CAAO,CAC/C,QAAA,CAAUA,GAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC9B,OAAA,CAASA,GAAAA,CAAE,MAAA,CAAO,MAAA,EAAO,CAAE,GAAA,GAAM,GAAA,CAAI,CAAC,CAAA,CAAE,QAAA,EAAS,CACjD,OAAA,CAASA,IAAE,MAAA,CAAO,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,QAAA,EAAS,CACjD,gBAAA,CAAkBA,GAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAEtC,MAAA,CAAQA,GAAAA,CAAE,MAAA,EAAO,CAAE,IAAA,GAAO,GAAA,CAAI,CAAC,CAAA,CAAE,GAAA,CAAI,GAAG,CAAA,CAAE,UAAS,CACnD,GAAGC,CAAAA,CAAuB,KAC5B,CAAC,CAAA,CAEYC,EAAwCF,GAAAA,CAAE,MAAA,CAAO,CAC5D,EAAA,CAAIA,GAAAA,CAAE,IAAA,EAAK,CACX,IAAA,CAAMA,GAAAA,CAAE,MAAA,EAAO,CACf,QAAA,CAAUA,GAAAA,CAAE,IAAA,CAAKF,CAAiB,CAAA,CACl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AChE,aAAA,CAAeA,GAAAA,CAAE,KAAA,CAAMA,GAAAA,CAAE,MAAA,EAAQ,CAAA,CAAE,QAAA,EACrC,CAAC,CAAA,CACA,MAAA,CAAQsB,GAAS,MAAA,CAAO,IAAA,CAAKA,CAAI,CAAA,CAAE,MAAA,CAAS,CAAA,CAAG,CAC9C,OAAA,CAAS,gCACX,CAAC,CAAA,CAGUC,CAAAA,CAAsCvB,GAAAA,CAAE,OAAO,CAC1D,kBAAA,CAAoBA,GAAAA,CAAE,OAAA,CAAQe,CAAAA,CAA2B,SAAS,CACpE,CAAC,CAAA,CAGYS,CAAAA,CAAgCxB,GAAAA,CAAE,MAAA,CAAO,CACpD,IAAA,CAAMA,IAAE,OAAA,CAAQ,WAAW,CAAA,CAAE,QAAA,EAC/B,CAAC,EC9FD,IAAMyB,CAAAA,CAA2BzB,IAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAI,CAAA,CAAG,sCAAsC,CAAA,CAGnF0B,CAAAA,CAAyC1B,GAAAA,CAAE,MAAA,CAAO,CAC7D,KAAA,CAAOA,GAAAA,CAAE,QAAO,CAAE,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,CAAA,CAMY2B,CAAAA,CAA4C3B,GAAAA,CAAE,MAAA,CAAO,CAChE,MAAA,CAAQyB,CAAAA,CACR,MAAOzB,GAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,CAAA,CAGY4B,CAAAA,CAAwCD,CAAAA,CAGxCE,CAAAA,CAAyCF","file":"chunk-3GRU2QY2.mjs","sourcesContent":["/** ISO 4217 codes supported on marketplace rate cards. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport { PaginationParamsSchema } from '../common';\nimport { ProducerRecentReviewSchema } from '../booking/review.schemas';\n\nexport const ListProducersQuerySchema = z.object({\n category: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n /** Case-insensitive match on name, company, role/skill, or equipment */\n search: z.string().trim().min(2).max(100).optional(),\n ...PaginationParamsSchema.shape,\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n id: z.uuid(),\n code: z.string(),\n label: z.string(),\n});\n\nexport const ServiceCategoryListResponseSchema = z.object({\n items: z.array(PublicProducerListCategorySchema),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n displayName: z.string(),\n avatarUrl: z.url().nullable(),\n producerIsVerified: z.boolean(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n recentReviews: z.array(ProducerRecentReviewSchema).optional(),\n});\n","export const UserRole = {\n HOST: 1,\n PRODUCER: 2,\n VIEWER: 4,\n} as const;\nexport type UserRole = (typeof UserRole)[keyof typeof UserRole];\n\nexport const AccountStatus = {\n ACTIVE: 'ACTIVE',\n SUSPENDED: 'SUSPENDED',\n BANNED: 'BANNED',\n DELETED: 'DELETED',\n} as const;\nexport type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];\n\nexport const KycStatus = {\n PENDING: 'PENDING',\n SUBMITTED: 'SUBMITTED',\n VERIFIED: 'VERIFIED',\n REJECTED: 'REJECTED',\n} as const;\nexport type KycStatus = (typeof KycStatus)[keyof typeof KycStatus];\n\n/**\n * Enum for admin scope codes.\n */\nexport const AdminScopeCode = {\n TRUST: 'TRUST',\n FINANCIAL: 'FINANCIAL',\n LIVE_OPS: 'LIVE_OPS',\n AUDIT: 'AUDIT',\n} as const;\nexport type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];\n\nexport const FeedbackCategory = {\n BUG: 'BUG',\n IDEA: 'IDEA',\n GENERAL: 'GENERAL',\n} as const;\nexport type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];\n\nexport const NotificationCategory = {\n EVENT_REMINDERS: 'EVENT_REMINDERS',\n LIVE_ALERTS: 'LIVE_ALERTS',\n RECOMMENDATIONS: 'RECOMMENDATIONS',\n JOB_INVITATIONS: 'JOB_INVITATIONS',\n JOB_CONFIRMATIONS: 'JOB_CONFIRMATIONS',\n MESSAGES: 'MESSAGES',\n TICKET_PURCHASES: 'TICKET_PURCHASES',\n CREW_UPDATES: 'CREW_UPDATES',\n} as const;\nexport type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];\n\nexport const ProducerVerificationStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n REJECTED: 'REJECTED',\n SUBMITTED: 'SUBMITTED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type ProducerVerificationStatus =\n (typeof ProducerVerificationStatus)[keyof typeof ProducerVerificationStatus];\n\nexport const ProducerExperienceLevel = {\n BEGINNER: 'BEGINNER',\n INTERMEDIATE: 'INTERMEDIATE',\n EXPERT: 'EXPERT',\n} as const;\nexport type ProducerExperienceLevel =\n (typeof ProducerExperienceLevel)[keyof typeof ProducerExperienceLevel];\n","import { z } from 'zod';\nimport { ProducerExperienceLevel, ProducerVerificationStatus } from '../user/user.enums';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport {\n PublicProducerListCategorySchema,\n PublicProducerListEquipmentItemSchema,\n PublicProducerListPortfolioItemSchema,\n PublicProducerListRateCardItemSchema,\n} from './marketplace.schemas';\n\n/** Workspace equipment row (full manifest; public API uses the same shape). */\nexport const WorkspaceEquipmentItemInputSchema = z.object({\n name: z.string().min(1).max(255),\n category: z.enum(EquipmentCategory),\n notes: z.string().max(2000).optional(),\n});\n\nexport const WorkspacePortfolioItemInputSchema = z.object({\n title: z.string().min(1).max(255),\n description: z.string().max(2000).optional(),\n mediaUrl: z.url().optional(),\n externalUrl: z.url().optional(),\n});\n\nexport const WorkspaceRateCardItemInputSchema = z.object({\n label: z.string().min(1).max(255),\n amount: z.number().min(0),\n currency: z.enum(MarketplaceCurrency).default(MarketplaceCurrency.NGN),\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Authenticated producer workspace profile (owner view).\n * Includes verification workflow fields and raw availability; never returned on public routes.\n */\nexport const ProducerProfileWorkspaceSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.url().nullable(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable(),\n verificationStatus: z.enum(ProducerVerificationStatus),\n verificationReason: z.string().nullable(),\n verifiedAt: z.iso.datetime().nullable(),\n visibleInMarketplace: z.boolean(),\n isAvailable: z.boolean(),\n defaultCurrency: z.enum(MarketplaceCurrency),\n averageRating: z.number(),\n totalReviews: z.number().int(),\n completionRate: z.number(),\n hasPin: z.boolean(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n});\n\n/** PATCH body for workspace profile updates (partial). */\nexport const UpsertProducerWorkspaceProfileSchema = z\n .object({\n companyName: z.string().min(1).max(120).optional(),\n bio: z.string().min(1).max(2000).optional(),\n logoUrl: z.url().nullable().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel).optional(),\n yearsExperience: z.number().int().min(0).optional(),\n serviceAreas: z.array(z.string()).optional(),\n maxDistanceKm: z.number().int().min(0).nullable().optional(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable().optional(),\n isAvailable: z.boolean().optional(),\n visibleInMarketplace: z.boolean().optional(),\n equipmentManifest: z.array(WorkspaceEquipmentItemInputSchema).optional(),\n portfolio: z.array(WorkspacePortfolioItemInputSchema).optional(),\n rateCard: z.array(WorkspaceRateCardItemInputSchema).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n categoryCodes: z.array(z.string()).optional(),\n })\n .refine((data) => Object.keys(data).length > 0, {\n message: 'At least one field is required',\n });\n\n/** POST body for submit-for-verification (explicit intent for signing). */\nexport const SubmitProducerForVerificationSchema = z.object({\n verificationStatus: z.literal(ProducerVerificationStatus.SUBMITTED),\n});\n\n/** Query for `GET /users/me/producer-profile` — `view=workspace` returns owner workspace shape. */\nexport const GetProducerProfileQuerySchema = z.object({\n view: z.literal('workspace').optional(),\n});\n","import { z } from 'zod';\n\nconst verificationReasonSchema = z.string().trim().min(5, 'Reason must be at least 5 characters');\n\n/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */\nexport const AdminApproveProducerVerificationSchema = z.object({\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Shared body for admin actions that require a decision reason.\n * `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.\n */\nexport const AdminProducerVerificationReasonBodySchema = z.object({\n reason: verificationReasonSchema,\n notes: z.string().max(2000).optional(),\n});\n\n/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */\nexport const AdminRejectProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n\n/** Admin suspends an approved producer (APPROVED → SUSPENDED). */\nexport const AdminSuspendProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n"]}
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkJPTEPX6P_js=require('./chunk-JPTEPX6P.js'),chunkW5MCRFFN_js=require('./chunk-W5MCRFFN.js'),zod=require('zod');var u=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),businessName:zod.z.string(),totalEvents:zod.z.number(),totalSpent:zod.z.number(),averageRating:zod.z.number(),totalReviews:zod.z.number().int().nonnegative(),defaultCurrency:zod.z.string(),description:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkW5MCRFFN_js.g)),logoUrl:zod.z.url().optional(),hasPin:zod.z.boolean(),businessRegNumber:zod.z.string().optional(),taxId:zod.z.string().optional(),settlementBankCode:zod.z.string().optional(),settlementAccountNumber:zod.z.string().optional(),settlementAccountName:zod.z.string().optional(),paystackSubaccountCode:zod.z.string().optional(),createdAt:zod.z.iso.datetime()}),d=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string(),bio:zod.z.string(),yearsExperience:zod.z.number().optional(),experienceLevel:zod.z.enum(chunkJPTEPX6P_js.h),equipmentManifest:zod.z.array(zod.z.record(zod.z.string(),zod.z.any())),serviceCategories:zod.z.array(chunkJPTEPX6P_js.n),equipmentItems:zod.z.array(chunkJPTEPX6P_js.n),verificationStatus:zod.z.enum(chunkJPTEPX6P_js.g),averageRating:zod.z.number().positive().multipleOf(.01),totalReviews:zod.z.number(),completionRate:zod.z.number(),isAvailable:zod.z.boolean(),hasPin:zod.z.boolean(),createdAt:zod.z.iso.datetime()}),R=zod.z.object({id:zod.z.uuid(),email:zod.z.email().toLowerCase(),emailVerified:zod.z.boolean(),emailVerifiedAt:zod.z.iso.datetime().optional(),phoneNumber:zod.z.string().optional(),firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),role:zod.z.number().min(1).max(15),accountStatus:zod.z.enum(chunkJPTEPX6P_js.b),kycStatus:zod.z.enum(chunkJPTEPX6P_js.c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),eventCategory:zod.z.array(zod.z.enum(chunkW5MCRFFN_js.g)).optional()}),N=zod.z.object({firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),phoneNumber:zod.z.string().optional(),eventCategory:zod.z.array(zod.z.enum(chunkW5MCRFFN_js.g)).optional()}),v=zod.z.object({businessName:zod.z.string(),description:zod.z.string().optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkW5MCRFFN_js.g)).min(1)}),C=zod.z.object({businessName:zod.z.string().min(1).max(120).optional(),description:zod.z.string().max(2e3).optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkW5MCRFFN_js.g)).min(1).optional(),businessRegNumber:zod.z.string().max(64).optional(),taxId:zod.z.string().max(64).optional()}),P=zod.z.object({companyName:zod.z.string(),bio:zod.z.string(),logoUrl:zod.z.string().optional(),serviceCategoryIds:zod.z.array(zod.z.uuid()).optional(),serviceCategoryCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),equipmentItemIds:zod.z.array(zod.z.uuid()).optional(),equipmentItemCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),yearsExperience:zod.z.number(),experienceLevel:zod.z.enum(chunkJPTEPX6P_js.h),minFee:zod.z.number(),maxFee:zod.z.number(),isAvailable:zod.z.boolean()}),E=zod.z.object({pin:zod.z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:zod.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=zod.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=zod.z.object({displayName:b}).strict(),A=zod.z.object({preferredCurrency:zod.z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=zod.z.enum([chunkJPTEPX6P_js.f.LIVE_ALERTS,chunkJPTEPX6P_js.f.RECOMMENDATIONS,chunkJPTEPX6P_js.f.EVENT_REMINDERS]),y=zod.z.object({category:l,enabled:zod.z.boolean()}),U=zod.z.object({preferences:zod.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=zod.z.object({category:zod.z.enum(chunkJPTEPX6P_js.e),message:zod.z.string().trim().min(10).max(2e3)}).strict(),q=zod.z.object({id:zod.z.uuid(),email:zod.z.email(),emailVerified:zod.z.boolean(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.url().nullable(),roles:zod.z.number().int(),preferredCurrency:zod.z.string(),notificationsEnabledCount:zod.z.number().int(),hasPushDevice:zod.z.boolean()}),w=zod.z.object({preferences:zod.z.record(l,zod.z.boolean())}),D=zod.z.object({id:zod.z.uuid()});exports.a=u;exports.b=d;exports.c=R;exports.d=N;exports.e=v;exports.f=C;exports.g=P;exports.h=E;exports.i=g;exports.j=b;exports.k=j;exports.l=A;exports.m=y;exports.n=U;exports.o=I;exports.p=q;exports.q=w;exports.r=D;//# sourceMappingURL=chunk-TPEL6PL7.js.map
2
- //# sourceMappingURL=chunk-TPEL6PL7.js.map
1
+ 'use strict';var chunkEYYN73UK_js=require('./chunk-EYYN73UK.js'),chunkJ3JVMRBC_js=require('./chunk-J3JVMRBC.js'),zod=require('zod');var u=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),businessName:zod.z.string(),totalEvents:zod.z.number(),totalSpent:zod.z.number(),averageRating:zod.z.number(),totalReviews:zod.z.number().int().nonnegative(),defaultCurrency:zod.z.string(),description:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkJ3JVMRBC_js.g)),logoUrl:zod.z.url().optional(),hasPin:zod.z.boolean(),businessRegNumber:zod.z.string().optional(),taxId:zod.z.string().optional(),settlementBankCode:zod.z.string().optional(),settlementAccountNumber:zod.z.string().optional(),settlementAccountName:zod.z.string().optional(),paystackSubaccountCode:zod.z.string().optional(),createdAt:zod.z.iso.datetime()}),d=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string(),bio:zod.z.string(),yearsExperience:zod.z.number().optional(),experienceLevel:zod.z.enum(chunkEYYN73UK_js.h),equipmentManifest:zod.z.array(zod.z.record(zod.z.string(),zod.z.any())),serviceCategories:zod.z.array(chunkEYYN73UK_js.n),equipmentItems:zod.z.array(chunkEYYN73UK_js.n),verificationStatus:zod.z.enum(chunkEYYN73UK_js.g),averageRating:zod.z.number().positive().multipleOf(.01),totalReviews:zod.z.number(),completionRate:zod.z.number(),isAvailable:zod.z.boolean(),hasPin:zod.z.boolean(),createdAt:zod.z.iso.datetime()}),R=zod.z.object({id:zod.z.uuid(),email:zod.z.email().toLowerCase(),emailVerified:zod.z.boolean(),emailVerifiedAt:zod.z.iso.datetime().optional(),phoneNumber:zod.z.string().optional(),firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),role:zod.z.number().min(1).max(15),accountStatus:zod.z.enum(chunkEYYN73UK_js.b),kycStatus:zod.z.enum(chunkEYYN73UK_js.c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),eventCategory:zod.z.array(zod.z.enum(chunkJ3JVMRBC_js.g)).optional()}),N=zod.z.object({firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),phoneNumber:zod.z.string().optional(),eventCategory:zod.z.array(zod.z.enum(chunkJ3JVMRBC_js.g)).optional()}),v=zod.z.object({businessName:zod.z.string(),description:zod.z.string().optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkJ3JVMRBC_js.g)).min(1)}),C=zod.z.object({businessName:zod.z.string().min(1).max(120).optional(),description:zod.z.string().max(2e3).optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkJ3JVMRBC_js.g)).min(1).optional(),businessRegNumber:zod.z.string().max(64).optional(),taxId:zod.z.string().max(64).optional()}),P=zod.z.object({companyName:zod.z.string(),bio:zod.z.string(),logoUrl:zod.z.string().optional(),serviceCategoryIds:zod.z.array(zod.z.uuid()).optional(),serviceCategoryCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),equipmentItemIds:zod.z.array(zod.z.uuid()).optional(),equipmentItemCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),yearsExperience:zod.z.number(),experienceLevel:zod.z.enum(chunkEYYN73UK_js.h),minFee:zod.z.number(),maxFee:zod.z.number(),isAvailable:zod.z.boolean()}),E=zod.z.object({pin:zod.z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:zod.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=zod.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=zod.z.object({displayName:b}).strict(),A=zod.z.object({preferredCurrency:zod.z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=zod.z.enum([chunkEYYN73UK_js.f.LIVE_ALERTS,chunkEYYN73UK_js.f.RECOMMENDATIONS,chunkEYYN73UK_js.f.EVENT_REMINDERS]),y=zod.z.object({category:l,enabled:zod.z.boolean()}),U=zod.z.object({preferences:zod.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=zod.z.object({category:zod.z.enum(chunkEYYN73UK_js.e),message:zod.z.string().trim().min(10).max(2e3)}).strict(),q=zod.z.object({id:zod.z.uuid(),email:zod.z.email(),emailVerified:zod.z.boolean(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.url().nullable(),roles:zod.z.number().int(),preferredCurrency:zod.z.string(),notificationsEnabledCount:zod.z.number().int(),hasPushDevice:zod.z.boolean()}),w=zod.z.object({preferences:zod.z.record(l,zod.z.boolean())}),D=zod.z.object({id:zod.z.uuid()});exports.a=u;exports.b=d;exports.c=R;exports.d=N;exports.e=v;exports.f=C;exports.g=P;exports.h=E;exports.i=g;exports.j=b;exports.k=j;exports.l=A;exports.m=y;exports.n=U;exports.o=I;exports.p=q;exports.q=w;exports.r=D;//# sourceMappingURL=chunk-62J2YERL.js.map
2
+ //# sourceMappingURL=chunk-62J2YERL.js.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":"oIAYO,IAAMA,EAA4BC,KAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,KAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,MAAE,IAAA,EAAK,CACf,aAAcA,KAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,KAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,KAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,MAAE,MAAA,EAAO,CAExB,YAAA,CAAcA,KAAAA,CAAE,MAAA,EAAO,CAAE,KAAI,CAAE,WAAA,GAC/B,eAAA,CAAiBA,KAAAA,CAAE,QAAO,CAC1B,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GACxB,QAAA,CAAUA,KAAAA,CAAE,MAAMA,KAAAA,CAAE,IAAA,CAAKC,kBAAa,CAAC,CAAA,CACvC,QAASD,KAAAA,C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,CACA,MAAA,GAEUE,CAAAA,CAA4BzB,KAAAA,CACtC,OAAO,CACN,QAAA,CAAUA,MAAE,IAAA,CAAK0B,kBAAgB,EACjC,OAAA,CAAS1B,KAAAA,CAAE,QAAO,CAAE,IAAA,GAAO,GAAA,CAAI,EAAE,CAAA,CAAE,GAAA,CAAI,GAAI,CAC7C,CAAC,CAAA,CACA,MAAA,GAEU2B,CAAAA,CAAyB3B,KAAAA,CAAE,OAAO,CAC7C,EAAA,CAAIA,KAAAA,CAAE,IAAA,EAAK,CACX,KAAA,CAAOA,MAAE,KAAA,EAAM,CACf,cAAeA,KAAAA,CAAE,OAAA,GACjB,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACjC,UAAWA,KAAAA,CAAE,GAAA,GAAM,QAAA,EAAS,CAC5B,MAAOA,KAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CACtB,iBAAA,CAAmBA,MAAE,MAAA,EAAO,CAC5B,0BAA2BA,KAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAC1C,aAAA,CAAeA,KAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY4B,CAAAA,CAAwC5B,MAAE,MAAA,CAAO,CAC5D,YAAaA,KAAAA,CAAE,MAAA,CAAOmB,CAAAA,CAAenB,KAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,KAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,KAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-TPEL6PL7.js","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 /** Count of producer→host marketplace reviews reflected in `averageRating`. */\n totalReviews: z.number().int().nonnegative(),\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":"oIAYO,IAAMA,EAA4BC,KAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,KAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,MAAE,IAAA,EAAK,CACf,aAAcA,KAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,KAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,KAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,MAAE,MAAA,EAAO,CAExB,YAAA,CAAcA,KAAAA,CAAE,MAAA,EAAO,CAAE,KAAI,CAAE,WAAA,GAC/B,eAAA,CAAiBA,KAAAA,CAAE,QAAO,CAC1B,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GACxB,QAAA,CAAUA,KAAAA,CAAE,MAAMA,KAAAA,CAAE,IAAA,CAAKC,kBAAa,CAAC,CAAA,CACvC,QAASD,KAAAA,CAAE,GAAA,GAAM,QAAA,EAAS,CAC1B,OAAQA,KAAAA,CAAE,OAAA,GACV,iBAAA,CAAmBA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACvC,MAAOA,KAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAC3B,mBAAoBA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACxC,uBAAA,CAAyBA,MAAE,MAAA,EAAO,CAAE,UAAS,CAC7C,qBAAA,CAAuBA,MAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC3C,sBAAA,CAAwBA,KAAAA,CAAE,QAAO,CAAE,QAAA,GACnC,SAAA,CAAWA,KAAAA,CAAE,IAAI,QAAA,EACnB,CAAC,CAAA,CAEYE,CAAAA,CA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AE,GAAA,GAAM,QAAA,EAAS,CAC5B,MAAOA,KAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CACtB,iBAAA,CAAmBA,MAAE,MAAA,EAAO,CAC5B,0BAA2BA,KAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAC1C,aAAA,CAAeA,KAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY4B,CAAAA,CAAwC5B,MAAE,MAAA,CAAO,CAC5D,YAAaA,KAAAA,CAAE,MAAA,CAAOmB,CAAAA,CAAenB,KAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,KAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,KAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-62J2YERL.js","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 /** Count of producer→host marketplace reviews reflected in `averageRating`. */\n totalReviews: z.number().int().nonnegative(),\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
- 'use strict';var chunkFG6EV3WQ_js=require('./chunk-FG6EV3WQ.js'),chunkEAKBQ5VD_js=require('./chunk-EAKBQ5VD.js'),chunkORDM2W6R_js=require('./chunk-ORDM2W6R.js'),zod=require('zod');var q=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.CLOSED],k=[...q,chunkFG6EV3WQ_js.b.IN_DISPUTE],$={[chunkFG6EV3WQ_js.b.DRAFT]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.REQUESTED]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE]:[chunkFG6EV3WQ_js.b.IN_NEGOTIATION,chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_NEGOTIATION]:[chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.ACCEPTED]:[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.CONFIRMED]:[chunkFG6EV3WQ_js.b.IN_PROGRESS,chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_PROGRESS]:[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.IN_DISPUTE]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.REJECTED]:[],[chunkFG6EV3WQ_js.b.CANCELLED]:[],[chunkFG6EV3WQ_js.b.CLOSED]:[]},H={[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.IN_PROGRESS}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.IN_DISPUTE}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.HOST]},w=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.IN_DISPUTE];function W(i,a){return `${i}->${a}`}function F(i){let a=$[i]??[];return k.includes(i)?a:[...a,chunkFG6EV3WQ_js.b.IN_DISPUTE]}function pe(i,a){return F(i).includes(a)}function z(i,a){return a===chunkFG6EV3WQ_js.b.IN_DISPUTE&&!k.includes(i)?[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER]:H[W(i,a)]??[]}function ge(i,a,S){return z(i,a).includes(S)}function Ee(i,a){return w.includes(a)}var Re=zod.z.object({origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),producerId:zod.z.uuid(),agreedAmount:zod.z.number().min(0)}),Te=zod.z.object({escrowReference:zod.z.string()}),Ae=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().optional(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),quotedPrice:zod.z.number(),currency:zod.z.string(),scopeOfWork:zod.z.record(zod.z.string(),zod.z.any()).optional(),requiredStartAt:zod.z.iso.datetime(),requiredEndAt:zod.z.iso.datetime(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),paymentStatus:zod.z.enum(chunkFG6EV3WQ_js.e),escrowReference:zod.z.string().optional(),completedAt:zod.z.iso.datetime().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),Ce=zod.z.object({title:zod.z.string().max(255),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().positive().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional()}),De=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().optional(),title:zod.z.string(),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().nullable().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number(),createdAt:zod.z.iso.datetime()});var d={ONSITE:"ONSITE",REMOTE:"REMOTE"},M={LOW:"LOW",MID:"MID",HIGH:"HIGH"};var P=zod.z.record(zod.z.string(),zod.z.unknown()),Me=zod.z.object({producerId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),jobListingId:zod.z.uuid().optional(),sourceIoiId:zod.z.uuid().optional(),agreedAmount:zod.z.coerce.number().nonnegative().optional(),scopeOfWork:zod.z.string().max(5e3).optional()}).superRefine((i,a)=>{i.origin===chunkFG6EV3WQ_js.a.EVENT_DIRECT&&!i.eventId&&a.addIssue({code:"custom",message:"eventId is required when origin is EVENT_DIRECT",path:["eventId"]}),i.origin===chunkFG6EV3WQ_js.a.MARKETPLACE_DIRECT&&(i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is MARKETPLACE_DIRECT",path:["eventId"]}),i.sourceIoiId&&a.addIssue({code:"custom",message:"sourceIoiId must not be set when origin is MARKETPLACE_DIRECT",path:["sourceIoiId"]})),i.origin===chunkFG6EV3WQ_js.a.JOB_LISTING&&(i.sourceIoiId||a.addIssue({code:"custom",message:"sourceIoiId is required when origin is JOB_LISTING",path:["sourceIoiId"]}),i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is JOB_LISTING",path:["eventId"]})),i.sourceIoiId&&i.origin!==chunkFG6EV3WQ_js.a.JOB_LISTING&&a.addIssue({code:"custom",message:"sourceIoiId is only allowed when origin is JOB_LISTING",path:["sourceIoiId"]});}),C=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().nullable(),eventLinked:zod.z.boolean(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),jobListingId:zod.z.uuid().nullable(),sourceIoiId:zod.z.uuid().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.b),agreedAmount:chunkORDM2W6R_js.h.nullable(),scopeOfWork:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),Pe=zod.z.object({bookingId:zod.z.uuid(),booking:C}),K=zod.z.string().trim().min(5).max(500),ye=zod.z.object({targetState:zod.z.enum(chunkFG6EV3WQ_js.b),reason:K.optional()}).superRefine((i,a)=>{(i.targetState===chunkFG6EV3WQ_js.b.REJECTED||i.targetState===chunkFG6EV3WQ_js.b.CANCELLED||i.targetState===chunkFG6EV3WQ_js.b.IN_DISPUTE)&&i.reason===void 0&&a.addIssue({code:"custom",message:"reason is required for this transition",path:["reason"]});}),_e=zod.z.object({booking:C}),ve=zod.z.object({notes:zod.z.string().max(2e3).optional()}),Be=zod.z.object({notes:zod.z.string().max(2e3).optional()}),je=zod.z.object({booking:C,hostAcked:zod.z.boolean(),producerAcked:zod.z.boolean(),completed:zod.z.boolean(),forced:zod.z.boolean().optional()}),V=(i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required when eventId is not provided",path:["eventTitle"]});},D=(i,a)=>{i.requiredDateLocal!==void 0&&!i.timezone?.trim()&&a.addIssue({code:"custom",message:"timezone is required when requiredDateLocal is provided",path:["timezone"]});},N=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),requiredDateLocal:zod.z.iso.datetime({local:true,offset:false}).optional(),timezone:zod.z.string().min(1).optional(),requiredDate:zod.z.iso.datetime().optional(),estimatedDurationMinutes:zod.z.coerce.number().int().positive().optional(),location:zod.z.enum(d),notes:zod.z.string().max(2e3).optional(),compensation:zod.z.coerce.number().nonnegative().optional(),attachments:P.optional(),eventId:zod.z.uuid().optional()}),Q=N.superRefine(V).superRefine(D),Y=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),location:zod.z.enum(d),eventId:zod.z.uuid().optional()}),X=Y,Ge=N.partial().extend({saveAsDraft:zod.z.boolean().optional().default(false)}).superRefine(D).superRefine((i,a)=>{if(i.saveAsDraft)return;let S=Q.safeParse(i);S.success||a.addIssue({code:"custom",message:S.error.issues.map(J=>J.message).join("; ")});}),Ue=N.partial().superRefine(D),Je=zod.z.object({...chunkORDM2W6R_js.g.shape,location:zod.z.enum(d).optional(),search:zod.z.string().trim().min(2).max(100).optional(),roles:zod.z.string().trim().min(1).max(500).optional(),requiredDateFrom:zod.z.string().optional(),requiredDateTo:zod.z.string().optional(),minCompensation:zod.z.coerce.number().int().min(0).optional(),maxCompensation:zod.z.coerce.number().int().min(0).optional(),compensationTier:zod.z.enum(M).optional(),matchMyAvailability:zod.z.enum(["true","false"]).optional().transform(i=>i==="true")}),qe=zod.z.object({...chunkORDM2W6R_js.g.shape,state:zod.z.enum(chunkFG6EV3WQ_js.c).optional(),search:zod.z.string().trim().min(2).max(100).optional()}),$e=X.superRefine((i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required for standalone job listings",path:["eventTitle"]});}),He=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("OPEN")}),we=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().nullable(),title:zod.z.string(),eventTitle:zod.z.string().nullable(),notes:zod.z.string().nullable(),description:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),role:zod.z.string(),requiredCount:zod.z.number().int().min(1),requiredDate:zod.z.string().nullable(),requiredDateLocal:zod.z.string().nullable(),timezone:zod.z.string().nullable(),estimatedDurationMinutes:zod.z.number().int().nullable(),location:zod.z.enum(d),compensation:chunkORDM2W6R_js.h.nullable(),attachments:zod.z.unknown().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number().int(),cancelledAt:zod.z.string().nullable(),cancelledReason:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),We=zod.z.object({reason:zod.z.string().trim().min(5).max(500).optional()}),Fe=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("CANCELLED"),cancelledAt:zod.z.iso.datetime().nullable()}),ze=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.SUSPENDED)}),Ke=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.OPEN)}),Ve=zod.z.object({coverMessage:zod.z.string().min(1).max(2e3).optional(),proposedAmount:zod.z.coerce.number().nonnegative().optional(),availabilityNotes:zod.z.string().max(2e3).optional(),attachments:P.optional()}),y=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().nullable(),proposedAmount:chunkORDM2W6R_js.h.nullable(),availabilityNotes:zod.z.string().nullable(),state:zod.z.enum(chunkEAKBQ5VD_js.a),resultingBookingId:zod.z.uuid().nullable(),withdrawnAt:zod.z.string().nullable(),selectedAt:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),Z=y.extend({producerCompanyName:zod.z.string().nullable()}),T={CREATED_AT:"createdAt",UPDATED_AT:"updatedAt",PROPOSED_AMOUNT:"proposedAmount"},A={ASC:"asc",DESC:"desc"},Qe=zod.z.object({...chunkORDM2W6R_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(T).default(T.CREATED_AT),sortOrder:zod.z.enum(A).default(A.DESC)}),Ye=Z.extend({producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.url().nullable(),producerServiceCategoryLabels:zod.z.array(zod.z.string()),producerEquipmentLabels:zod.z.array(zod.z.string()),producerIsVerified:zod.z.boolean(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(d),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable()}),Xe=zod.z.object({...chunkORDM2W6R_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(T).default(T.CREATED_AT),sortOrder:zod.z.enum(A).default(A.DESC)}),Ze=y.extend({hostBusinessName:zod.z.string().nullable(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(d),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable(),jobListingRequiredDate:zod.z.string().nullable(),jobListingCompensation:chunkORDM2W6R_js.h.nullable()});var _={SENT:"SENT",DELIVERED:"DELIVERED",READ:"READ"};var ee=zod.z.object({id:zod.z.uuid(),bookingId:zod.z.uuid(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),te=zod.z.object({id:zod.z.uuid(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int(),createdAt:zod.z.string()}),O=zod.z.object({id:zod.z.uuid(),threadId:zod.z.uuid(),senderUserId:zod.z.uuid(),body:zod.z.string(),sentAt:zod.z.string(),deliveryStatus:zod.z.enum(_),readAt:zod.z.string().nullable(),attachments:zod.z.array(te)}),st=chunkORDM2W6R_js.g,at=zod.z.object({messages:zod.z.array(O),...chunkORDM2W6R_js.k.shape}),ut=zod.z.object({thread:ee,messages:zod.z.array(O),...chunkORDM2W6R_js.k.shape}),ct=zod.z.object({body:zod.z.string().trim().min(1).max(5e3),attachments:zod.z.array(zod.z.object({url:zod.z.string().url(),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()})).max(10).optional()}),lt=zod.z.object({message:O}),mt=zod.z.object({url:zod.z.url(),key:zod.z.string().min(1),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()}),dt=zod.z.object({upToMessageId:zod.z.uuid().optional()}),pt=zod.z.object({markedCount:zod.z.number().int().nonnegative()}),oe=zod.z.object({threadId:zod.z.uuid(),bookingId:zod.z.uuid(),title:zod.z.string(),lastMessagePreview:zod.z.string().nullable(),lastMessageAt:zod.z.string().nullable(),lastSenderUserId:zod.z.uuid().nullable(),lastSenderDisplayName:zod.z.string().nullable(),unreadCount:zod.z.number().int().nonnegative(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),producerProfileId:zod.z.uuid(),producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.string().nullable(),hostProfileId:zod.z.uuid(),hostDisplayName:zod.z.string(),hostAvatarUrl:zod.z.string().nullable(),counterpartyDisplayName:zod.z.string(),counterpartyAvatarUrl:zod.z.string().nullable(),counterpartyRole:zod.z.enum(["HOST","PRODUCER"])}),gt=zod.z.object({items:zod.z.array(oe),...chunkORDM2W6R_js.k.shape});var v=zod.z.enum(["APPLICATIONS","UPCOMING","LIVE","COMPLETED","JOB_INVITES"]),ne=zod.z.enum(["PENDING","SHORTLISTED","SELECTED","WITHDRAWN","REJECTED","CANCELLED","INVITED","NEGOTIATING","CONFIRMED","LIVE","COMPLETED","DISPUTED"]),ie=zod.z.enum(["IOI","BOOKING","ASSIGNMENT"]),bt=zod.z.object({tab:v,search:zod.z.string().trim().min(2).max(100).optional(),...chunkORDM2W6R_js.g.shape}),re=zod.z.object({id:zod.z.uuid(),kind:ie,eventName:zod.z.string(),date:zod.z.string().nullable(),role:zod.z.string(),payment:chunkORDM2W6R_js.h.nullable(),status:ne,statusCode:zod.z.string(),jobListingId:zod.z.uuid().nullable(),bookingId:zod.z.uuid().nullable(),ioiId:zod.z.uuid().nullable(),eventId:zod.z.uuid().nullable(),assignmentId:zod.z.uuid().nullable().optional()}),Rt=zod.z.object({tab:v,items:zod.z.array(re),...chunkORDM2W6R_js.k.shape}),Tt=zod.z.object({applications:zod.z.number().int().nonnegative(),upcoming:zod.z.number().int().nonnegative(),live:zod.z.number().int().nonnegative(),completed:zod.z.number().int().nonnegative(),jobInvites:zod.z.number().int().nonnegative()});var se=zod.z.object({id:zod.z.string(),role:chunkORDM2W6R_js.b}),L=zod.z.object({reason:zod.z.string().optional(),ipAddress:zod.z.string().optional(),userAgent:zod.z.string().optional(),traceId:zod.z.string().optional()}),B=zod.z.record(zod.z.string(),zod.z.unknown()),ae=L.extend({beforeState:B.optional(),afterState:B.optional()}),ue=L.extend({messageId:zod.z.string(),bodyPreview:zod.z.string(),attachmentCount:zod.z.number().int().nonnegative().optional()}),ce=L.extend({messageId:zod.z.string(),attachmentId:zod.z.string(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int().nonnegative()}),h={timestamp:zod.z.string().datetime(),actor:se};function b(i){return zod.z.object({...h,action:zod.z.literal(i),details:ae})}var le=zod.z.discriminatedUnion("action",[b(chunkFG6EV3WQ_js.g.STATE_CHANGED),b(chunkFG6EV3WQ_js.g.TERMS_MODIFIED),b(chunkFG6EV3WQ_js.g.BOOKING_CREATED),b(chunkFG6EV3WQ_js.g.BOOKING_COMPLETED),b(chunkFG6EV3WQ_js.g.BOOKING_CANCELLED),b(chunkFG6EV3WQ_js.g.BOOKING_ACCEPTED),b(chunkFG6EV3WQ_js.g.BOOKING_REJECTED),zod.z.object({...h,action:zod.z.literal(chunkFG6EV3WQ_js.g.MESSAGE_SENT),details:ue}),zod.z.object({...h,action:zod.z.literal(chunkFG6EV3WQ_js.g.ATTACHMENT_ADDED),details:ce})]),ht=zod.z.object({items:zod.z.array(le),...chunkORDM2W6R_js.k.shape});var j={DRAFT:"DRAFT",INVITED:"INVITED",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",EXPIRED:"EXPIRED"};var G=zod.z.object({role:zod.z.string().trim().min(1).max(120),responsibilities:zod.z.string().trim().min(1).max(5e3),requirements:zod.z.string().trim().min(1).max(5e3),compensation:chunkORDM2W6R_js.h,location:zod.z.enum(d),notes:zod.z.string().trim().max(2e3).optional()}),yt=G.extend({producerId:zod.z.uuid()}),_t=G.partial().refine(i=>Object.keys(i).length>0,{message:"At least one field is required"}),me=zod.z.object({id:zod.z.uuid(),companyName:zod.z.string(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.string().nullable(),producerIsVerified:zod.z.boolean()}),U=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),role:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),compensation:chunkORDM2W6R_js.h,location:zod.z.enum(d),notes:zod.z.string().nullable(),state:zod.z.enum(j),bookingId:zod.z.uuid().nullable(),invitedAt:zod.z.iso.datetime().nullable(),respondedAt:zod.z.iso.datetime().nullable(),rejectReason:zod.z.string().nullable(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),producer:me.optional(),eventTitle:zod.z.string().optional(),eventScheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}).nullable().optional()}),vt=zod.z.object({items:zod.z.array(U)}),Bt=zod.z.object({reason:zod.z.string().trim().min(5).max(500)}),jt=zod.z.object({assignment:U,bookingId:zod.z.uuid()});exports.$=lt;exports.A=Ue;exports.Aa=Bt;exports.B=Je;exports.Ba=jt;exports.C=qe;exports.D=$e;exports.E=He;exports.F=we;exports.G=We;exports.H=Fe;exports.I=ze;exports.J=Ke;exports.K=Ve;exports.L=y;exports.M=Z;exports.N=T;exports.O=A;exports.P=Qe;exports.Q=Ye;exports.R=Xe;exports.S=Ze;exports.T=_;exports.U=ee;exports.V=te;exports.W=O;exports.X=st;exports.Y=at;exports.Z=ut;exports._=ct;exports.a=q;exports.aa=mt;exports.b=$;exports.ba=dt;exports.c=H;exports.ca=pt;exports.d=w;exports.da=oe;exports.e=W;exports.ea=gt;exports.f=F;exports.fa=v;exports.g=pe;exports.ga=ne;exports.h=z;exports.ha=ie;exports.i=ge;exports.ia=bt;exports.j=Ee;exports.ja=re;exports.k=Re;exports.ka=Rt;exports.l=Te;exports.la=Tt;exports.m=Ae;exports.ma=se;exports.n=Ce;exports.na=L;exports.o=De;exports.oa=B;exports.p=d;exports.pa=ae;exports.q=M;exports.qa=ue;exports.r=Me;exports.ra=ce;exports.s=C;exports.sa=le;exports.t=Pe;exports.ta=ht;exports.u=ye;exports.ua=j;exports.v=_e;exports.va=yt;exports.w=ve;exports.wa=_t;exports.x=Be;exports.xa=me;exports.y=je;exports.ya=U;exports.z=Ge;exports.za=vt;//# sourceMappingURL=chunk-DWFDZJGV.js.map
2
- //# sourceMappingURL=chunk-DWFDZJGV.js.map
1
+ 'use strict';var chunkFG6EV3WQ_js=require('./chunk-FG6EV3WQ.js'),chunkEAKBQ5VD_js=require('./chunk-EAKBQ5VD.js'),chunkNZONR6QG_js=require('./chunk-NZONR6QG.js'),zod=require('zod');var q=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.CLOSED],k=[...q,chunkFG6EV3WQ_js.b.IN_DISPUTE],$={[chunkFG6EV3WQ_js.b.DRAFT]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.REQUESTED]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE]:[chunkFG6EV3WQ_js.b.IN_NEGOTIATION,chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_NEGOTIATION]:[chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.ACCEPTED]:[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.CONFIRMED]:[chunkFG6EV3WQ_js.b.IN_PROGRESS,chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_PROGRESS]:[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.IN_DISPUTE]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.REJECTED]:[],[chunkFG6EV3WQ_js.b.CANCELLED]:[],[chunkFG6EV3WQ_js.b.CLOSED]:[]},H={[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.IN_PROGRESS}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.IN_DISPUTE}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.HOST]},w=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.IN_DISPUTE];function W(i,a){return `${i}->${a}`}function F(i){let a=$[i]??[];return k.includes(i)?a:[...a,chunkFG6EV3WQ_js.b.IN_DISPUTE]}function pe(i,a){return F(i).includes(a)}function z(i,a){return a===chunkFG6EV3WQ_js.b.IN_DISPUTE&&!k.includes(i)?[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER]:H[W(i,a)]??[]}function ge(i,a,S){return z(i,a).includes(S)}function Ee(i,a){return w.includes(a)}var Re=zod.z.object({origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),producerId:zod.z.uuid(),agreedAmount:zod.z.number().min(0)}),Te=zod.z.object({escrowReference:zod.z.string()}),Ae=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().optional(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),quotedPrice:zod.z.number(),currency:zod.z.string(),scopeOfWork:zod.z.record(zod.z.string(),zod.z.any()).optional(),requiredStartAt:zod.z.iso.datetime(),requiredEndAt:zod.z.iso.datetime(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),paymentStatus:zod.z.enum(chunkFG6EV3WQ_js.e),escrowReference:zod.z.string().optional(),completedAt:zod.z.iso.datetime().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),Ce=zod.z.object({title:zod.z.string().max(255),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().positive().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional()}),De=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().optional(),title:zod.z.string(),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().nullable().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number(),createdAt:zod.z.iso.datetime()});var d={ONSITE:"ONSITE",REMOTE:"REMOTE"},M={LOW:"LOW",MID:"MID",HIGH:"HIGH"};var P=zod.z.record(zod.z.string(),zod.z.unknown()),Me=zod.z.object({producerId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),jobListingId:zod.z.uuid().optional(),sourceIoiId:zod.z.uuid().optional(),agreedAmount:zod.z.coerce.number().nonnegative().optional(),scopeOfWork:zod.z.string().max(5e3).optional()}).superRefine((i,a)=>{i.origin===chunkFG6EV3WQ_js.a.EVENT_DIRECT&&!i.eventId&&a.addIssue({code:"custom",message:"eventId is required when origin is EVENT_DIRECT",path:["eventId"]}),i.origin===chunkFG6EV3WQ_js.a.MARKETPLACE_DIRECT&&(i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is MARKETPLACE_DIRECT",path:["eventId"]}),i.sourceIoiId&&a.addIssue({code:"custom",message:"sourceIoiId must not be set when origin is MARKETPLACE_DIRECT",path:["sourceIoiId"]})),i.origin===chunkFG6EV3WQ_js.a.JOB_LISTING&&(i.sourceIoiId||a.addIssue({code:"custom",message:"sourceIoiId is required when origin is JOB_LISTING",path:["sourceIoiId"]}),i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is JOB_LISTING",path:["eventId"]})),i.sourceIoiId&&i.origin!==chunkFG6EV3WQ_js.a.JOB_LISTING&&a.addIssue({code:"custom",message:"sourceIoiId is only allowed when origin is JOB_LISTING",path:["sourceIoiId"]});}),C=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().nullable(),eventLinked:zod.z.boolean(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),jobListingId:zod.z.uuid().nullable(),sourceIoiId:zod.z.uuid().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.b),agreedAmount:chunkNZONR6QG_js.h.nullable(),scopeOfWork:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),Pe=zod.z.object({bookingId:zod.z.uuid(),booking:C}),K=zod.z.string().trim().min(5).max(500),ye=zod.z.object({targetState:zod.z.enum(chunkFG6EV3WQ_js.b),reason:K.optional()}).superRefine((i,a)=>{(i.targetState===chunkFG6EV3WQ_js.b.REJECTED||i.targetState===chunkFG6EV3WQ_js.b.CANCELLED||i.targetState===chunkFG6EV3WQ_js.b.IN_DISPUTE)&&i.reason===void 0&&a.addIssue({code:"custom",message:"reason is required for this transition",path:["reason"]});}),_e=zod.z.object({booking:C}),ve=zod.z.object({notes:zod.z.string().max(2e3).optional()}),Be=zod.z.object({notes:zod.z.string().max(2e3).optional()}),je=zod.z.object({booking:C,hostAcked:zod.z.boolean(),producerAcked:zod.z.boolean(),completed:zod.z.boolean(),forced:zod.z.boolean().optional()}),V=(i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required when eventId is not provided",path:["eventTitle"]});},D=(i,a)=>{i.requiredDateLocal!==void 0&&!i.timezone?.trim()&&a.addIssue({code:"custom",message:"timezone is required when requiredDateLocal is provided",path:["timezone"]});},N=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),requiredDateLocal:zod.z.iso.datetime({local:true,offset:false}).optional(),timezone:zod.z.string().min(1).optional(),requiredDate:zod.z.iso.datetime().optional(),estimatedDurationMinutes:zod.z.coerce.number().int().positive().optional(),location:zod.z.enum(d),notes:zod.z.string().max(2e3).optional(),compensation:zod.z.coerce.number().nonnegative().optional(),attachments:P.optional(),eventId:zod.z.uuid().optional()}),Q=N.superRefine(V).superRefine(D),Y=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),location:zod.z.enum(d),eventId:zod.z.uuid().optional()}),X=Y,Ge=N.partial().extend({saveAsDraft:zod.z.boolean().optional().default(false)}).superRefine(D).superRefine((i,a)=>{if(i.saveAsDraft)return;let S=Q.safeParse(i);S.success||a.addIssue({code:"custom",message:S.error.issues.map(J=>J.message).join("; ")});}),Ue=N.partial().superRefine(D),Je=zod.z.object({...chunkNZONR6QG_js.g.shape,location:zod.z.enum(d).optional(),search:zod.z.string().trim().min(2).max(100).optional(),roles:zod.z.string().trim().min(1).max(500).optional(),requiredDateFrom:zod.z.string().optional(),requiredDateTo:zod.z.string().optional(),minCompensation:zod.z.coerce.number().int().min(0).optional(),maxCompensation:zod.z.coerce.number().int().min(0).optional(),compensationTier:zod.z.enum(M).optional(),matchMyAvailability:zod.z.enum(["true","false"]).optional().transform(i=>i==="true")}),qe=zod.z.object({...chunkNZONR6QG_js.g.shape,state:zod.z.enum(chunkFG6EV3WQ_js.c).optional(),search:zod.z.string().trim().min(2).max(100).optional()}),$e=X.superRefine((i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required for standalone job listings",path:["eventTitle"]});}),He=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("OPEN")}),we=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().nullable(),title:zod.z.string(),eventTitle:zod.z.string().nullable(),notes:zod.z.string().nullable(),description:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),role:zod.z.string(),requiredCount:zod.z.number().int().min(1),requiredDate:zod.z.string().nullable(),requiredDateLocal:zod.z.string().nullable(),timezone:zod.z.string().nullable(),estimatedDurationMinutes:zod.z.number().int().nullable(),location:zod.z.enum(d),compensation:chunkNZONR6QG_js.h.nullable(),attachments:zod.z.unknown().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number().int(),cancelledAt:zod.z.string().nullable(),cancelledReason:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),We=zod.z.object({reason:zod.z.string().trim().min(5).max(500).optional()}),Fe=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("CANCELLED"),cancelledAt:zod.z.iso.datetime().nullable()}),ze=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.SUSPENDED)}),Ke=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.OPEN)}),Ve=zod.z.object({coverMessage:zod.z.string().min(1).max(2e3).optional(),proposedAmount:zod.z.coerce.number().nonnegative().optional(),availabilityNotes:zod.z.string().max(2e3).optional(),attachments:P.optional()}),y=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().nullable(),proposedAmount:chunkNZONR6QG_js.h.nullable(),availabilityNotes:zod.z.string().nullable(),state:zod.z.enum(chunkEAKBQ5VD_js.a),resultingBookingId:zod.z.uuid().nullable(),withdrawnAt:zod.z.string().nullable(),selectedAt:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),Z=y.extend({producerCompanyName:zod.z.string().nullable()}),T={CREATED_AT:"createdAt",UPDATED_AT:"updatedAt",PROPOSED_AMOUNT:"proposedAmount"},A={ASC:"asc",DESC:"desc"},Qe=zod.z.object({...chunkNZONR6QG_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(T).default(T.CREATED_AT),sortOrder:zod.z.enum(A).default(A.DESC)}),Ye=Z.extend({producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.url().nullable(),producerServiceCategoryLabels:zod.z.array(zod.z.string()),producerEquipmentLabels:zod.z.array(zod.z.string()),producerIsVerified:zod.z.boolean(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(d),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable()}),Xe=zod.z.object({...chunkNZONR6QG_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(T).default(T.CREATED_AT),sortOrder:zod.z.enum(A).default(A.DESC)}),Ze=y.extend({hostBusinessName:zod.z.string().nullable(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(d),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable(),jobListingRequiredDate:zod.z.string().nullable(),jobListingCompensation:chunkNZONR6QG_js.h.nullable()});var _={SENT:"SENT",DELIVERED:"DELIVERED",READ:"READ"};var ee=zod.z.object({id:zod.z.uuid(),bookingId:zod.z.uuid(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),te=zod.z.object({id:zod.z.uuid(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int(),createdAt:zod.z.string()}),O=zod.z.object({id:zod.z.uuid(),threadId:zod.z.uuid(),senderUserId:zod.z.uuid(),body:zod.z.string(),sentAt:zod.z.string(),deliveryStatus:zod.z.enum(_),readAt:zod.z.string().nullable(),attachments:zod.z.array(te)}),st=chunkNZONR6QG_js.g,at=zod.z.object({messages:zod.z.array(O),...chunkNZONR6QG_js.k.shape}),ut=zod.z.object({thread:ee,messages:zod.z.array(O),...chunkNZONR6QG_js.k.shape}),ct=zod.z.object({body:zod.z.string().trim().min(1).max(5e3),attachments:zod.z.array(zod.z.object({url:zod.z.string().url(),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()})).max(10).optional()}),lt=zod.z.object({message:O}),mt=zod.z.object({url:zod.z.url(),key:zod.z.string().min(1),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()}),dt=zod.z.object({upToMessageId:zod.z.uuid().optional()}),pt=zod.z.object({markedCount:zod.z.number().int().nonnegative()}),oe=zod.z.object({threadId:zod.z.uuid(),bookingId:zod.z.uuid(),title:zod.z.string(),lastMessagePreview:zod.z.string().nullable(),lastMessageAt:zod.z.string().nullable(),lastSenderUserId:zod.z.uuid().nullable(),lastSenderDisplayName:zod.z.string().nullable(),unreadCount:zod.z.number().int().nonnegative(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),producerProfileId:zod.z.uuid(),producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.string().nullable(),hostProfileId:zod.z.uuid(),hostDisplayName:zod.z.string(),hostAvatarUrl:zod.z.string().nullable(),counterpartyDisplayName:zod.z.string(),counterpartyAvatarUrl:zod.z.string().nullable(),counterpartyRole:zod.z.enum(["HOST","PRODUCER"])}),gt=zod.z.object({items:zod.z.array(oe),...chunkNZONR6QG_js.k.shape});var v=zod.z.enum(["APPLICATIONS","UPCOMING","LIVE","COMPLETED","JOB_INVITES"]),ne=zod.z.enum(["PENDING","SHORTLISTED","SELECTED","WITHDRAWN","REJECTED","CANCELLED","INVITED","NEGOTIATING","CONFIRMED","LIVE","COMPLETED","DISPUTED"]),ie=zod.z.enum(["IOI","BOOKING","ASSIGNMENT"]),bt=zod.z.object({tab:v,search:zod.z.string().trim().min(2).max(100).optional(),...chunkNZONR6QG_js.g.shape}),re=zod.z.object({id:zod.z.uuid(),kind:ie,eventName:zod.z.string(),date:zod.z.string().nullable(),role:zod.z.string(),payment:chunkNZONR6QG_js.h.nullable(),status:ne,statusCode:zod.z.string(),jobListingId:zod.z.uuid().nullable(),bookingId:zod.z.uuid().nullable(),ioiId:zod.z.uuid().nullable(),eventId:zod.z.uuid().nullable(),assignmentId:zod.z.uuid().nullable().optional()}),Rt=zod.z.object({tab:v,items:zod.z.array(re),...chunkNZONR6QG_js.k.shape}),Tt=zod.z.object({applications:zod.z.number().int().nonnegative(),upcoming:zod.z.number().int().nonnegative(),live:zod.z.number().int().nonnegative(),completed:zod.z.number().int().nonnegative(),jobInvites:zod.z.number().int().nonnegative()});var se=zod.z.object({id:zod.z.string(),role:chunkNZONR6QG_js.b}),L=zod.z.object({reason:zod.z.string().optional(),ipAddress:zod.z.string().optional(),userAgent:zod.z.string().optional(),traceId:zod.z.string().optional()}),B=zod.z.record(zod.z.string(),zod.z.unknown()),ae=L.extend({beforeState:B.optional(),afterState:B.optional()}),ue=L.extend({messageId:zod.z.string(),bodyPreview:zod.z.string(),attachmentCount:zod.z.number().int().nonnegative().optional()}),ce=L.extend({messageId:zod.z.string(),attachmentId:zod.z.string(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int().nonnegative()}),h={timestamp:zod.z.string().datetime(),actor:se};function b(i){return zod.z.object({...h,action:zod.z.literal(i),details:ae})}var le=zod.z.discriminatedUnion("action",[b(chunkFG6EV3WQ_js.g.STATE_CHANGED),b(chunkFG6EV3WQ_js.g.TERMS_MODIFIED),b(chunkFG6EV3WQ_js.g.BOOKING_CREATED),b(chunkFG6EV3WQ_js.g.BOOKING_COMPLETED),b(chunkFG6EV3WQ_js.g.BOOKING_CANCELLED),b(chunkFG6EV3WQ_js.g.BOOKING_ACCEPTED),b(chunkFG6EV3WQ_js.g.BOOKING_REJECTED),zod.z.object({...h,action:zod.z.literal(chunkFG6EV3WQ_js.g.MESSAGE_SENT),details:ue}),zod.z.object({...h,action:zod.z.literal(chunkFG6EV3WQ_js.g.ATTACHMENT_ADDED),details:ce})]),ht=zod.z.object({items:zod.z.array(le),...chunkNZONR6QG_js.k.shape});var j={DRAFT:"DRAFT",INVITED:"INVITED",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",EXPIRED:"EXPIRED"};var G=zod.z.object({role:zod.z.string().trim().min(1).max(120),responsibilities:zod.z.string().trim().min(1).max(5e3),requirements:zod.z.string().trim().min(1).max(5e3),compensation:chunkNZONR6QG_js.h,location:zod.z.enum(d),notes:zod.z.string().trim().max(2e3).optional()}),yt=G.extend({producerId:zod.z.uuid()}),_t=G.partial().refine(i=>Object.keys(i).length>0,{message:"At least one field is required"}),me=zod.z.object({id:zod.z.uuid(),companyName:zod.z.string(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.string().nullable(),producerIsVerified:zod.z.boolean()}),U=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),role:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),compensation:chunkNZONR6QG_js.h,location:zod.z.enum(d),notes:zod.z.string().nullable(),state:zod.z.enum(j),bookingId:zod.z.uuid().nullable(),invitedAt:zod.z.iso.datetime().nullable(),respondedAt:zod.z.iso.datetime().nullable(),rejectReason:zod.z.string().nullable(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),producer:me.optional(),eventTitle:zod.z.string().optional(),eventScheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}).nullable().optional()}),vt=zod.z.object({items:zod.z.array(U)}),Bt=zod.z.object({reason:zod.z.string().trim().min(5).max(500)}),jt=zod.z.object({assignment:U,bookingId:zod.z.uuid()});exports.$=lt;exports.A=Ue;exports.Aa=Bt;exports.B=Je;exports.Ba=jt;exports.C=qe;exports.D=$e;exports.E=He;exports.F=we;exports.G=We;exports.H=Fe;exports.I=ze;exports.J=Ke;exports.K=Ve;exports.L=y;exports.M=Z;exports.N=T;exports.O=A;exports.P=Qe;exports.Q=Ye;exports.R=Xe;exports.S=Ze;exports.T=_;exports.U=ee;exports.V=te;exports.W=O;exports.X=st;exports.Y=at;exports.Z=ut;exports._=ct;exports.a=q;exports.aa=mt;exports.b=$;exports.ba=dt;exports.c=H;exports.ca=pt;exports.d=w;exports.da=oe;exports.e=W;exports.ea=gt;exports.f=F;exports.fa=v;exports.g=pe;exports.ga=ne;exports.h=z;exports.ha=ie;exports.i=ge;exports.ia=bt;exports.j=Ee;exports.ja=re;exports.k=Re;exports.ka=Rt;exports.l=Te;exports.la=Tt;exports.m=Ae;exports.ma=se;exports.n=Ce;exports.na=L;exports.o=De;exports.oa=B;exports.p=d;exports.pa=ae;exports.q=M;exports.qa=ue;exports.r=Me;exports.ra=ce;exports.s=C;exports.sa=le;exports.t=Pe;exports.ta=ht;exports.u=ye;exports.ua=j;exports.v=_e;exports.va=yt;exports.w=ve;exports.wa=_t;exports.x=Be;exports.xa=me;exports.y=je;exports.ya=U;exports.z=Ge;exports.za=vt;//# sourceMappingURL=chunk-6SDVUWDK.js.map
2
+ //# sourceMappingURL=chunk-6SDVUWDK.js.map