@livdot-tech/contracts 1.11.21 → 1.11.23

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 (68) hide show
  1. package/dist/auth/index.js +1 -1
  2. package/dist/auth/index.mjs +1 -1
  3. package/dist/booking/index.d.mts +75 -1
  4. package/dist/booking/index.d.ts +75 -1
  5. package/dist/booking/index.js +1 -1
  6. package/dist/booking/index.mjs +1 -1
  7. package/dist/{chunk-L3KEUJF7.mjs → chunk-5LO5B6I4.mjs} +2 -2
  8. package/dist/{chunk-L3KEUJF7.mjs.map → chunk-5LO5B6I4.mjs.map} +1 -1
  9. package/dist/chunk-CMQ36ZUU.js +2 -0
  10. package/dist/chunk-CMQ36ZUU.js.map +1 -0
  11. package/dist/{chunk-K5FMVZM6.mjs → chunk-FRKIW4XY.mjs} +2 -2
  12. package/dist/{chunk-K5FMVZM6.mjs.map → chunk-FRKIW4XY.mjs.map} +1 -1
  13. package/dist/{chunk-GK2CIHKT.js → chunk-GC3S2VCJ.js} +2 -2
  14. package/dist/chunk-GC3S2VCJ.js.map +1 -0
  15. package/dist/{chunk-T7XJMKJN.js → chunk-GSVMAZB3.js} +2 -2
  16. package/dist/{chunk-T7XJMKJN.js.map → chunk-GSVMAZB3.js.map} +1 -1
  17. package/dist/chunk-HTPPIZBE.mjs +2 -0
  18. package/dist/chunk-HTPPIZBE.mjs.map +1 -0
  19. package/dist/chunk-JMMNUUHO.mjs +2 -0
  20. package/dist/chunk-JMMNUUHO.mjs.map +1 -0
  21. package/dist/chunk-KK3YLEFV.js +2 -0
  22. package/dist/chunk-KK3YLEFV.js.map +1 -0
  23. package/dist/chunk-MAKIYFAD.mjs +2 -0
  24. package/dist/chunk-MAKIYFAD.mjs.map +1 -0
  25. package/dist/chunk-MMROBRAM.js +2 -0
  26. package/dist/chunk-MMROBRAM.js.map +1 -0
  27. package/dist/{chunk-2UZXINLZ.js → chunk-P3PKA6IF.js} +2 -2
  28. package/dist/{chunk-2UZXINLZ.js.map → chunk-P3PKA6IF.js.map} +1 -1
  29. package/dist/chunk-PCCOCHJN.mjs +2 -0
  30. package/dist/chunk-PCCOCHJN.mjs.map +1 -0
  31. package/dist/dispute/index.js +1 -1
  32. package/dist/dispute/index.mjs +1 -1
  33. package/dist/event/index.d.mts +99 -0
  34. package/dist/event/index.d.ts +99 -0
  35. package/dist/event/index.js +1 -1
  36. package/dist/event/index.mjs +1 -1
  37. package/dist/host/index.d.mts +79 -1
  38. package/dist/host/index.d.ts +79 -1
  39. package/dist/host/index.js +1 -1
  40. package/dist/host/index.mjs +1 -1
  41. package/dist/index.d.mts +3 -2
  42. package/dist/index.d.ts +3 -2
  43. package/dist/index.js +1 -1
  44. package/dist/index.mjs +1 -1
  45. package/dist/moment/index.d.mts +112 -0
  46. package/dist/moment/index.d.ts +112 -0
  47. package/dist/moment/index.js +2 -0
  48. package/dist/moment/index.js.map +1 -0
  49. package/dist/moment/index.mjs +2 -0
  50. package/dist/moment/index.mjs.map +1 -0
  51. package/dist/notification/index.js +1 -1
  52. package/dist/notification/index.mjs +1 -1
  53. package/dist/payment/index.js +1 -1
  54. package/dist/payment/index.mjs +1 -1
  55. package/dist/user/index.js +1 -1
  56. package/dist/user/index.mjs +1 -1
  57. package/package.json +1 -1
  58. package/dist/chunk-DJQVVYZA.mjs +0 -2
  59. package/dist/chunk-DJQVVYZA.mjs.map +0 -1
  60. package/dist/chunk-GK2CIHKT.js.map +0 -1
  61. package/dist/chunk-MFRAOZDF.mjs +0 -2
  62. package/dist/chunk-MFRAOZDF.mjs.map +0 -1
  63. package/dist/chunk-RMOFKGOI.js +0 -2
  64. package/dist/chunk-RMOFKGOI.js.map +0 -1
  65. package/dist/chunk-VDWCQLG6.mjs +0 -2
  66. package/dist/chunk-VDWCQLG6.mjs.map +0 -1
  67. package/dist/chunk-WYUQXTFQ.js +0 -2
  68. package/dist/chunk-WYUQXTFQ.js.map +0 -1
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkWMEFCQGU_js=require('../chunk-WMEFCQGU.js');require('../chunk-T7XJMKJN.js'),require('../chunk-QZMRMFXE.js'),require('../chunk-72SD46VJ.js'),require('../chunk-WYUQXTFQ.js'),require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkWMEFCQGU_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkWMEFCQGU_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkWMEFCQGU_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkWMEFCQGU_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.j}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkWMEFCQGU_js=require('../chunk-WMEFCQGU.js');require('../chunk-GSVMAZB3.js'),require('../chunk-QZMRMFXE.js'),require('../chunk-72SD46VJ.js'),require('../chunk-MMROBRAM.js'),require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkWMEFCQGU_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkWMEFCQGU_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkWMEFCQGU_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkWMEFCQGU_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.j}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{s as ChangePasswordRequestSchema,E as ConfirmPasswordSchema,K as DisableMfaBodySchema,J as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,G as MFA_ACTIONS,L as MfaChallengeBodySchema,M as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,F as ReauthTokenResponseSchema,I as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,H as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-CTFMAZYM.mjs';import'../chunk-L3KEUJF7.mjs';import'../chunk-5BJU6AZT.mjs';import'../chunk-IIVGG46P.mjs';import'../chunk-MFRAOZDF.mjs';import'../chunk-L4QDS3ET.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-CTFMAZYM.mjs';import'../chunk-5LO5B6I4.mjs';import'../chunk-5BJU6AZT.mjs';import'../chunk-IIVGG46P.mjs';import'../chunk-MAKIYFAD.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -203,6 +203,27 @@ declare const CreateMarketplaceBookingRequestSchema: z.ZodObject<{
203
203
  agreedAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
204
204
  scopeOfWork: z.ZodOptional<z.ZodString>;
205
205
  }, z.core.$strip>;
206
+ /**
207
+ * Assigned-event execution context on a booking.
208
+ * Schedule + go-live window for the linked event. Full readiness /
209
+ * streaming live on `GET /marketplace/producer/events/:id`.
210
+ *
211
+ * `requiredStartAt` / `requiredEndAt` are derived from the event
212
+ * schedule until `Booking.requiredStartAt` / `requiredEndAt` are written.
213
+ */
214
+ declare const MarketplaceBookingAssignedEventSchema: z.ZodObject<{
215
+ id: z.ZodUUID;
216
+ title: z.ZodString;
217
+ state: z.ZodString;
218
+ timezone: z.ZodString;
219
+ scheduledStart: z.ZodISODateTime;
220
+ scheduledStartLocal: z.ZodISODateTime;
221
+ scheduledEnd: z.ZodISODateTime;
222
+ scheduledEndLocal: z.ZodISODateTime;
223
+ requiredStartAt: z.ZodISODateTime;
224
+ requiredEndAt: z.ZodISODateTime;
225
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
226
+ }, z.core.$strip>;
206
227
  declare const MarketplaceBookingResponseSchema: z.ZodObject<{
207
228
  id: z.ZodUUID;
208
229
  eventId: z.ZodNullable<z.ZodUUID>;
@@ -244,6 +265,19 @@ declare const MarketplaceBookingResponseSchema: z.ZodObject<{
244
265
  scopeOfWork: z.ZodNullable<z.ZodString>;
245
266
  createdAt: z.ZodString;
246
267
  updatedAt: z.ZodString;
268
+ assignedEvent: z.ZodNullable<z.ZodObject<{
269
+ id: z.ZodUUID;
270
+ title: z.ZodString;
271
+ state: z.ZodString;
272
+ timezone: z.ZodString;
273
+ scheduledStart: z.ZodISODateTime;
274
+ scheduledStartLocal: z.ZodISODateTime;
275
+ scheduledEnd: z.ZodISODateTime;
276
+ scheduledEndLocal: z.ZodISODateTime;
277
+ requiredStartAt: z.ZodISODateTime;
278
+ requiredEndAt: z.ZodISODateTime;
279
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
280
+ }, z.core.$strip>>;
247
281
  }, z.core.$strip>;
248
282
  /** `POST /marketplace/bookings` — create acknowledgement */
249
283
  declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
@@ -289,6 +323,19 @@ declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
289
323
  scopeOfWork: z.ZodNullable<z.ZodString>;
290
324
  createdAt: z.ZodString;
291
325
  updatedAt: z.ZodString;
326
+ assignedEvent: z.ZodNullable<z.ZodObject<{
327
+ id: z.ZodUUID;
328
+ title: z.ZodString;
329
+ state: z.ZodString;
330
+ timezone: z.ZodString;
331
+ scheduledStart: z.ZodISODateTime;
332
+ scheduledStartLocal: z.ZodISODateTime;
333
+ scheduledEnd: z.ZodISODateTime;
334
+ scheduledEndLocal: z.ZodISODateTime;
335
+ requiredStartAt: z.ZodISODateTime;
336
+ requiredEndAt: z.ZodISODateTime;
337
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
338
+ }, z.core.$strip>>;
292
339
  }, z.core.$strip>;
293
340
  }, z.core.$strip>;
294
341
  /** `POST /marketplace/bookings/:id/transition` (host, producer, admin) */
@@ -353,6 +400,19 @@ declare const TransitionMarketplaceBookingResponseSchema: z.ZodObject<{
353
400
  scopeOfWork: z.ZodNullable<z.ZodString>;
354
401
  createdAt: z.ZodString;
355
402
  updatedAt: z.ZodString;
403
+ assignedEvent: z.ZodNullable<z.ZodObject<{
404
+ id: z.ZodUUID;
405
+ title: z.ZodString;
406
+ state: z.ZodString;
407
+ timezone: z.ZodString;
408
+ scheduledStart: z.ZodISODateTime;
409
+ scheduledStartLocal: z.ZodISODateTime;
410
+ scheduledEnd: z.ZodISODateTime;
411
+ scheduledEndLocal: z.ZodISODateTime;
412
+ requiredStartAt: z.ZodISODateTime;
413
+ requiredEndAt: z.ZodISODateTime;
414
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
415
+ }, z.core.$strip>>;
356
416
  }, z.core.$strip>;
357
417
  }, z.core.$strip>;
358
418
  /** `POST /marketplace/bookings/:id/complete` — dual-ack manual completion */
@@ -405,6 +465,19 @@ declare const CompleteMarketplaceBookingResponseSchema: z.ZodObject<{
405
465
  scopeOfWork: z.ZodNullable<z.ZodString>;
406
466
  createdAt: z.ZodString;
407
467
  updatedAt: z.ZodString;
468
+ assignedEvent: z.ZodNullable<z.ZodObject<{
469
+ id: z.ZodUUID;
470
+ title: z.ZodString;
471
+ state: z.ZodString;
472
+ timezone: z.ZodString;
473
+ scheduledStart: z.ZodISODateTime;
474
+ scheduledStartLocal: z.ZodISODateTime;
475
+ scheduledEnd: z.ZodISODateTime;
476
+ scheduledEndLocal: z.ZodISODateTime;
477
+ requiredStartAt: z.ZodISODateTime;
478
+ requiredEndAt: z.ZodISODateTime;
479
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
480
+ }, z.core.$strip>>;
408
481
  }, z.core.$strip>;
409
482
  hostAcked: z.ZodBoolean;
410
483
  producerAcked: z.ZodBoolean;
@@ -812,6 +885,7 @@ declare const MarketplaceProducerIndicationOfInterestInboxItemSchema: z.ZodObjec
812
885
  }, z.core.$strip>;
813
886
 
814
887
  type CreateMarketplaceBookingRequest = z.infer<typeof CreateMarketplaceBookingRequestSchema>;
888
+ type MarketplaceBookingAssignedEvent = z.infer<typeof MarketplaceBookingAssignedEventSchema>;
815
889
  type MarketplaceBookingResponse = z.infer<typeof MarketplaceBookingResponseSchema>;
816
890
  type CreateMarketplaceJobListingRequest = z.infer<typeof CreateMarketplaceJobListingRequestSchema>;
817
891
  type UpdateMarketplaceJobListingRequest = z.infer<typeof UpdateMarketplaceJobListingRequestSchema>;
@@ -2071,4 +2145,4 @@ type AcceptEventCrewAssignmentResponse = z.infer<typeof AcceptEventCrewAssignmen
2071
2145
  type ReplaceEventCrewAssignmentRequest = z.infer<typeof ReplaceEventCrewAssignmentRequestSchema>;
2072
2146
  type ReplaceEventCrewAssignmentResponse = z.infer<typeof ReplaceEventCrewAssignmentResponseSchema>;
2073
2147
 
2074
- export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentRequest, ReplaceEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentResponse, ReplaceEventCrewAssignmentResponseSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
2148
+ export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingAssignedEvent, MarketplaceBookingAssignedEventSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentRequest, ReplaceEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentResponse, ReplaceEventCrewAssignmentResponseSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
@@ -203,6 +203,27 @@ declare const CreateMarketplaceBookingRequestSchema: z.ZodObject<{
203
203
  agreedAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
204
204
  scopeOfWork: z.ZodOptional<z.ZodString>;
205
205
  }, z.core.$strip>;
206
+ /**
207
+ * Assigned-event execution context on a booking.
208
+ * Schedule + go-live window for the linked event. Full readiness /
209
+ * streaming live on `GET /marketplace/producer/events/:id`.
210
+ *
211
+ * `requiredStartAt` / `requiredEndAt` are derived from the event
212
+ * schedule until `Booking.requiredStartAt` / `requiredEndAt` are written.
213
+ */
214
+ declare const MarketplaceBookingAssignedEventSchema: z.ZodObject<{
215
+ id: z.ZodUUID;
216
+ title: z.ZodString;
217
+ state: z.ZodString;
218
+ timezone: z.ZodString;
219
+ scheduledStart: z.ZodISODateTime;
220
+ scheduledStartLocal: z.ZodISODateTime;
221
+ scheduledEnd: z.ZodISODateTime;
222
+ scheduledEndLocal: z.ZodISODateTime;
223
+ requiredStartAt: z.ZodISODateTime;
224
+ requiredEndAt: z.ZodISODateTime;
225
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
226
+ }, z.core.$strip>;
206
227
  declare const MarketplaceBookingResponseSchema: z.ZodObject<{
207
228
  id: z.ZodUUID;
208
229
  eventId: z.ZodNullable<z.ZodUUID>;
@@ -244,6 +265,19 @@ declare const MarketplaceBookingResponseSchema: z.ZodObject<{
244
265
  scopeOfWork: z.ZodNullable<z.ZodString>;
245
266
  createdAt: z.ZodString;
246
267
  updatedAt: z.ZodString;
268
+ assignedEvent: z.ZodNullable<z.ZodObject<{
269
+ id: z.ZodUUID;
270
+ title: z.ZodString;
271
+ state: z.ZodString;
272
+ timezone: z.ZodString;
273
+ scheduledStart: z.ZodISODateTime;
274
+ scheduledStartLocal: z.ZodISODateTime;
275
+ scheduledEnd: z.ZodISODateTime;
276
+ scheduledEndLocal: z.ZodISODateTime;
277
+ requiredStartAt: z.ZodISODateTime;
278
+ requiredEndAt: z.ZodISODateTime;
279
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
280
+ }, z.core.$strip>>;
247
281
  }, z.core.$strip>;
248
282
  /** `POST /marketplace/bookings` — create acknowledgement */
249
283
  declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
@@ -289,6 +323,19 @@ declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
289
323
  scopeOfWork: z.ZodNullable<z.ZodString>;
290
324
  createdAt: z.ZodString;
291
325
  updatedAt: z.ZodString;
326
+ assignedEvent: z.ZodNullable<z.ZodObject<{
327
+ id: z.ZodUUID;
328
+ title: z.ZodString;
329
+ state: z.ZodString;
330
+ timezone: z.ZodString;
331
+ scheduledStart: z.ZodISODateTime;
332
+ scheduledStartLocal: z.ZodISODateTime;
333
+ scheduledEnd: z.ZodISODateTime;
334
+ scheduledEndLocal: z.ZodISODateTime;
335
+ requiredStartAt: z.ZodISODateTime;
336
+ requiredEndAt: z.ZodISODateTime;
337
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
338
+ }, z.core.$strip>>;
292
339
  }, z.core.$strip>;
293
340
  }, z.core.$strip>;
294
341
  /** `POST /marketplace/bookings/:id/transition` (host, producer, admin) */
@@ -353,6 +400,19 @@ declare const TransitionMarketplaceBookingResponseSchema: z.ZodObject<{
353
400
  scopeOfWork: z.ZodNullable<z.ZodString>;
354
401
  createdAt: z.ZodString;
355
402
  updatedAt: z.ZodString;
403
+ assignedEvent: z.ZodNullable<z.ZodObject<{
404
+ id: z.ZodUUID;
405
+ title: z.ZodString;
406
+ state: z.ZodString;
407
+ timezone: z.ZodString;
408
+ scheduledStart: z.ZodISODateTime;
409
+ scheduledStartLocal: z.ZodISODateTime;
410
+ scheduledEnd: z.ZodISODateTime;
411
+ scheduledEndLocal: z.ZodISODateTime;
412
+ requiredStartAt: z.ZodISODateTime;
413
+ requiredEndAt: z.ZodISODateTime;
414
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
415
+ }, z.core.$strip>>;
356
416
  }, z.core.$strip>;
357
417
  }, z.core.$strip>;
358
418
  /** `POST /marketplace/bookings/:id/complete` — dual-ack manual completion */
@@ -405,6 +465,19 @@ declare const CompleteMarketplaceBookingResponseSchema: z.ZodObject<{
405
465
  scopeOfWork: z.ZodNullable<z.ZodString>;
406
466
  createdAt: z.ZodString;
407
467
  updatedAt: z.ZodString;
468
+ assignedEvent: z.ZodNullable<z.ZodObject<{
469
+ id: z.ZodUUID;
470
+ title: z.ZodString;
471
+ state: z.ZodString;
472
+ timezone: z.ZodString;
473
+ scheduledStart: z.ZodISODateTime;
474
+ scheduledStartLocal: z.ZodISODateTime;
475
+ scheduledEnd: z.ZodISODateTime;
476
+ scheduledEndLocal: z.ZodISODateTime;
477
+ requiredStartAt: z.ZodISODateTime;
478
+ requiredEndAt: z.ZodISODateTime;
479
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
480
+ }, z.core.$strip>>;
408
481
  }, z.core.$strip>;
409
482
  hostAcked: z.ZodBoolean;
410
483
  producerAcked: z.ZodBoolean;
@@ -812,6 +885,7 @@ declare const MarketplaceProducerIndicationOfInterestInboxItemSchema: z.ZodObjec
812
885
  }, z.core.$strip>;
813
886
 
814
887
  type CreateMarketplaceBookingRequest = z.infer<typeof CreateMarketplaceBookingRequestSchema>;
888
+ type MarketplaceBookingAssignedEvent = z.infer<typeof MarketplaceBookingAssignedEventSchema>;
815
889
  type MarketplaceBookingResponse = z.infer<typeof MarketplaceBookingResponseSchema>;
816
890
  type CreateMarketplaceJobListingRequest = z.infer<typeof CreateMarketplaceJobListingRequestSchema>;
817
891
  type UpdateMarketplaceJobListingRequest = z.infer<typeof UpdateMarketplaceJobListingRequestSchema>;
@@ -2071,4 +2145,4 @@ type AcceptEventCrewAssignmentResponse = z.infer<typeof AcceptEventCrewAssignmen
2071
2145
  type ReplaceEventCrewAssignmentRequest = z.infer<typeof ReplaceEventCrewAssignmentRequestSchema>;
2072
2146
  type ReplaceEventCrewAssignmentResponse = z.infer<typeof ReplaceEventCrewAssignmentResponseSchema>;
2073
2147
 
2074
- export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentRequest, ReplaceEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentResponse, ReplaceEventCrewAssignmentResponseSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
2148
+ export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingAssignedEvent, MarketplaceBookingAssignedEventSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentRequest, ReplaceEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentResponse, ReplaceEventCrewAssignmentResponseSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkRMOFKGOI_js=require('../chunk-RMOFKGOI.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunk72SD46VJ_js=require('../chunk-72SD46VJ.js');require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Ca}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkRMOFKGOI_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkRMOFKGOI_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkRMOFKGOI_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.za}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkRMOFKGOI_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkRMOFKGOI_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkRMOFKGOI_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Aa}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkRMOFKGOI_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Ba}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.xa}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Da}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkRMOFKGOI_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkRMOFKGOI_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkRMOFKGOI_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkRMOFKGOI_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkRMOFKGOI_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkRMOFKGOI_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkRMOFKGOI_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkRMOFKGOI_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 chunk72SD46VJ_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.c}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkCMQ36ZUU_js=require('../chunk-CMQ36ZUU.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunk72SD46VJ_js=require('../chunk-72SD46VJ.js');require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Da}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ta}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ua}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.na}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.sa}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ra}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.oa}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.pa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.qa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.H}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.I}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.J}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.x}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.z}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.wa}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.u}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.A}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.za}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Aa}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.va}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.y}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js._}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.O}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Ba}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Q}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.D}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Z}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.fa}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.C}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ja}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.S}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ca}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.da}});Object.defineProperty(exports,"MarketplaceBookingAssignedEventSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.s}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.t}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.W}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.X}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ea}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.V}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.R}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.N}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.M}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.G}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.T}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.U}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.K}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.$}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.aa}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ia}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ka}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ha}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ma}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.la}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ga}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.F}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.E}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Ca}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ya}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Ea}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.P}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.L}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.v}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.w}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.xa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.B}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ba}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkCMQ36ZUU_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 chunk72SD46VJ_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.c}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{Ca 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,ya as EventCrewAssignmentProducerSummarySchema,za as EventCrewAssignmentResponseSchema,ua as EventCrewAssignmentState,x as ForceCompleteMarketplaceBookingRequestSchema,Z as GetMarketplaceHiringThreadResponseSchema,N as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,Aa 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,Ba as RejectEventCrewAssignmentRequestSchema,xa as ReplaceEventCrewAssignmentRequestSchema,Da as ReplaceEventCrewAssignmentResponseSchema,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-DJQVVYZA.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-IIVGG46P.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{Da as AcceptEventCrewAssignmentResponseSchema,ta as AdminBookingAuditEntrySchema,ua as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,na as BookingAuditActorSchema,sa as BookingAuditAttachmentAddedDetailsSchema,ra as BookingAuditMessageSentDetailsSchema,oa as BookingAuditRequestMetadataSchema,pa as BookingAuditSnapshotSchema,qa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,H as CancelMarketplaceJobListingRequestSchema,I as CancelMarketplaceJobListingResponseSchema,J as CloseMarketplaceJobListingResponseSchema,x as CompleteMarketplaceBookingRequestSchema,z as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,wa as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,u as CreateMarketplaceBookingResponseSchema,A as CreateMarketplaceJobListingRequestSchema,za as EventCrewAssignmentProducerSummarySchema,Aa as EventCrewAssignmentResponseSchema,va as EventCrewAssignmentState,y as ForceCompleteMarketplaceBookingRequestSchema,_ as GetMarketplaceHiringThreadResponseSchema,O as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,Ba as ListEventCrewAssignmentsResponseSchema,Q as ListHostMarketplaceIndicationsQuerySchema,D as ListHostMarketplaceJobListingsQuerySchema,Y as ListMarketplaceHiringThreadMessagesQuerySchema,Z as ListMarketplaceHiringThreadMessagesResponseSchema,fa as ListMarketplaceHiringThreadsResponseSchema,C as ListMarketplaceJobListingsQuerySchema,ja as ListProducerJobsQuerySchema,S as ListProducerMarketplaceIndicationsQuerySchema,ca as MarkMarketplaceHiringThreadReadRequestSchema,da as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingAssignedEventSchema,t as MarketplaceBookingResponseSchema,W as MarketplaceHiringMessageAttachmentSchema,X as MarketplaceHiringMessageSchema,ea as MarketplaceHiringThreadInboxItemSchema,V as MarketplaceHiringThreadSchema,R as MarketplaceHostIndicationOfInterestInboxItemSchema,N as MarketplaceIndicationOfInterestHostItemSchema,M as MarketplaceIndicationOfInterestResponseSchema,G as MarketplaceJobListingResponseSchema,T as MarketplaceProducerIndicationOfInterestInboxItemSchema,U as MessageDeliveryStatus,K as OpenMarketplaceJobListingResponseSchema,$ as PostMarketplaceHiringThreadMessageRequestSchema,aa as PostMarketplaceHiringThreadMessageResponseSchema,ia as ProducerJobRowKindSchema,ka as ProducerJobRowSchema,ha as ProducerJobRowStatusSchema,ma as ProducerJobsTabCountsResponseSchema,la as ProducerJobsTabResponseSchema,ga as ProducerJobsTabSchema,F as PublishMarketplaceJobListingResponseSchema,E as PublishReadyJobListingSchema,Ca as RejectEventCrewAssignmentRequestSchema,ya as ReplaceEventCrewAssignmentRequestSchema,Ea as ReplaceEventCrewAssignmentResponseSchema,P as SortOrder,L as SubmitMarketplaceIndicationOfInterestRequestSchema,v as TransitionMarketplaceBookingRequestSchema,w as TransitionMarketplaceBookingResponseSchema,xa as UpdateEventCrewAssignmentRequestSchema,B as UpdateMarketplaceJobListingRequestSchema,ba 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-JMMNUUHO.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-IIVGG46P.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import {g as g$1,n,h as h$1,c,b as b$1,f,e}from'./chunk-5BJU6AZT.mjs';import {h}from'./chunk-MFRAOZDF.mjs';import {z}from'zod';var u=z.object({id:z.uuid(),userId:z.uuid(),businessName:z.string(),totalEvents:z.number(),totalSpent:z.number(),averageRating:z.number(),totalReviews:z.number().int().nonnegative(),defaultCurrency:z.string(),description:z.string().optional(),category:z.array(z.enum(h)),logoUrl:z.url().optional(),hasPin:z.boolean(),businessRegNumber:z.string().optional(),taxId:z.string().optional(),settlementBankCode:z.string().optional(),settlementAccountNumber:z.string().optional(),settlementAccountName:z.string().optional(),paystackSubaccountCode:z.string().optional(),createdAt:z.iso.datetime()}),d=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string(),bio:z.string(),yearsExperience:z.number().optional(),experienceLevel:z.enum(h$1),equipmentManifest:z.array(z.record(z.string(),z.any())),serviceCategories:z.array(n),equipmentItems:z.array(n),verificationStatus:z.enum(g$1),averageRating:z.number().positive().multipleOf(.01),totalReviews:z.number(),completionRate:z.number(),isAvailable:z.boolean(),hasPin:z.boolean(),createdAt:z.iso.datetime()}),R=z.object({id:z.uuid(),email:z.email().toLowerCase(),emailVerified:z.boolean(),emailVerifiedAt:z.iso.datetime().optional(),phoneNumber:z.string().optional(),firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),role:z.number().min(1).max(15),accountStatus:z.enum(b$1),kycStatus:z.enum(c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime(),eventCategory:z.array(z.enum(h)).optional()}),N=z.object({firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),phoneNumber:z.string().optional(),eventCategory:z.array(z.enum(h)).optional()}),v=z.object({businessName:z.string(),description:z.string().optional(),logoUrl:z.string().optional(),category:z.array(z.enum(h)).min(1)}),C=z.object({businessName:z.string().min(1).max(120).optional(),description:z.string().max(2e3).optional(),logoUrl:z.string().optional(),category:z.array(z.enum(h)).min(1).optional(),businessRegNumber:z.string().max(64).optional(),taxId:z.string().max(64).optional()}),P=z.object({companyName:z.string(),bio:z.string(),logoUrl:z.string().optional(),serviceCategoryIds:z.array(z.uuid()).optional(),serviceCategoryCodes:z.array(z.string().min(1).max(64)).optional(),equipmentItemIds:z.array(z.uuid()).optional(),equipmentItemCodes:z.array(z.string().min(1).max(64)).optional(),yearsExperience:z.number(),experienceLevel:z.enum(h$1),minFee:z.number(),maxFee:z.number(),isAvailable:z.boolean()}),E=z.object({pin:z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:z.string().trim().regex(/^\d{4,8}$/,"currentPin must be 4-8 digits").optional()}),g=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),b=z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(r=>!g.has(r),{message:"This display name is reserved"}),j=z.object({displayName:b}).strict(),A=z.object({preferredCurrency:z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=z.enum([f.LIVE_ALERTS,f.RECOMMENDATIONS,f.EVENT_REMINDERS]),y=z.object({category:l,enabled:z.boolean()}),U=z.object({preferences:z.array(y).min(1).max(10).refine(r=>new Set(r.map(p=>p.category)).size===r.length,{message:"Duplicate category in preferences"})}).strict(),I=z.object({category:z.enum(e),message:z.string().trim().min(10).max(2e3)}).strict(),q=z.object({id:z.uuid(),email:z.email(),emailVerified:z.boolean(),displayName:z.string().nullable(),avatarUrl:z.url().nullable(),roles:z.number().int(),preferredCurrency:z.string(),notificationsEnabledCount:z.number().int(),hasPushDevice:z.boolean()}),w=z.object({preferences:z.record(l,z.boolean())}),D=z.object({id:z.uuid()});export{u as a,d as b,R as c,N as d,v as e,C as f,P as g,E as h,g as i,b as j,j as k,A as l,y as m,U as n,I as o,q as p,w as q,D as r};//# sourceMappingURL=chunk-L3KEUJF7.mjs.map
2
- //# sourceMappingURL=chunk-L3KEUJF7.mjs.map
1
+ import {g as g$1,n,h as h$1,c,b as b$1,f,e}from'./chunk-5BJU6AZT.mjs';import {h}from'./chunk-MAKIYFAD.mjs';import {z}from'zod';var u=z.object({id:z.uuid(),userId:z.uuid(),businessName:z.string(),totalEvents:z.number(),totalSpent:z.number(),averageRating:z.number(),totalReviews:z.number().int().nonnegative(),defaultCurrency:z.string(),description:z.string().optional(),category:z.array(z.enum(h)),logoUrl:z.url().optional(),hasPin:z.boolean(),businessRegNumber:z.string().optional(),taxId:z.string().optional(),settlementBankCode:z.string().optional(),settlementAccountNumber:z.string().optional(),settlementAccountName:z.string().optional(),paystackSubaccountCode:z.string().optional(),createdAt:z.iso.datetime()}),d=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string(),bio:z.string(),yearsExperience:z.number().optional(),experienceLevel:z.enum(h$1),equipmentManifest:z.array(z.record(z.string(),z.any())),serviceCategories:z.array(n),equipmentItems:z.array(n),verificationStatus:z.enum(g$1),averageRating:z.number().positive().multipleOf(.01),totalReviews:z.number(),completionRate:z.number(),isAvailable:z.boolean(),hasPin:z.boolean(),createdAt:z.iso.datetime()}),R=z.object({id:z.uuid(),email:z.email().toLowerCase(),emailVerified:z.boolean(),emailVerifiedAt:z.iso.datetime().optional(),phoneNumber:z.string().optional(),firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),role:z.number().min(1).max(15),accountStatus:z.enum(b$1),kycStatus:z.enum(c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime(),eventCategory:z.array(z.enum(h)).optional()}),N=z.object({firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),phoneNumber:z.string().optional(),eventCategory:z.array(z.enum(h)).optional()}),v=z.object({businessName:z.string(),description:z.string().optional(),logoUrl:z.string().optional(),category:z.array(z.enum(h)).min(1)}),C=z.object({businessName:z.string().min(1).max(120).optional(),description:z.string().max(2e3).optional(),logoUrl:z.string().optional(),category:z.array(z.enum(h)).min(1).optional(),businessRegNumber:z.string().max(64).optional(),taxId:z.string().max(64).optional()}),P=z.object({companyName:z.string(),bio:z.string(),logoUrl:z.string().optional(),serviceCategoryIds:z.array(z.uuid()).optional(),serviceCategoryCodes:z.array(z.string().min(1).max(64)).optional(),equipmentItemIds:z.array(z.uuid()).optional(),equipmentItemCodes:z.array(z.string().min(1).max(64)).optional(),yearsExperience:z.number(),experienceLevel:z.enum(h$1),minFee:z.number(),maxFee:z.number(),isAvailable:z.boolean()}),E=z.object({pin:z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:z.string().trim().regex(/^\d{4,8}$/,"currentPin must be 4-8 digits").optional()}),g=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),b=z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(r=>!g.has(r),{message:"This display name is reserved"}),j=z.object({displayName:b}).strict(),A=z.object({preferredCurrency:z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=z.enum([f.LIVE_ALERTS,f.RECOMMENDATIONS,f.EVENT_REMINDERS]),y=z.object({category:l,enabled:z.boolean()}),U=z.object({preferences:z.array(y).min(1).max(10).refine(r=>new Set(r.map(p=>p.category)).size===r.length,{message:"Duplicate category in preferences"})}).strict(),I=z.object({category:z.enum(e),message:z.string().trim().min(10).max(2e3)}).strict(),q=z.object({id:z.uuid(),email:z.email(),emailVerified:z.boolean(),displayName:z.string().nullable(),avatarUrl:z.url().nullable(),roles:z.number().int(),preferredCurrency:z.string(),notificationsEnabledCount:z.number().int(),hasPushDevice:z.boolean()}),w=z.object({preferences:z.record(l,z.boolean())}),D=z.object({id:z.uuid()});export{u as a,d as b,R as c,N as d,v as e,C as f,P as g,E as h,g as i,b as j,j as k,A as l,y as m,U as n,I as o,q as p,w as q,D as r};//# sourceMappingURL=chunk-5LO5B6I4.mjs.map
2
+ //# sourceMappingURL=chunk-5LO5B6I4.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","USER_CATEGORY","NotificationCategory","NotificationPreferenceItemSchema","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"+HAYO,IAAMA,EAA4BC,CAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,CAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,EAAE,IAAA,EAAK,CACf,aAAcA,CAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,CAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,CAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,EAAE,MAAA,EAAO,CAExB,YAAA,CAAcA,CAAAA,CAAE,MAAA,EAAO,CAAE,KAAI,CAAE,WAAA,GAC/B,eAAA,CAAiBA,CAAAA,CAAE,QAAO,CAC1B,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GACxB,QAAA,CAAUA,CAAAA,CAAE,MAAMA,CAAAA,CAAE,IAAA,CAAKC,CAAa,CAAC,CAAA,CACvC,QAASD,CAAAA,CAAE,GAAA,GAAM,QAAA,EAAS,CAC1B,OAAQA,CAAAA,CAAE,OAAA,GACV,iBAAA,CAAmBA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACvC,MAAOA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAC3B,mBAAoBA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACxC,uBAAA,CAAyBA,EAAE,MAAA,EAAO,CAAE,UAAS,CAC7C,qBAAA,CAAuBA,EAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC3C,sBAAA,CAAwBA,CAAAA,CAAE,QAAO,CAAE,QAAA,GACnC,SAAA,CAAWA,CAAAA,CAAE,IAAI,QAAA,EACnB,CAAC,CAAA,CAEYE,CAAAA,CAAgCF,EAAE,MAAA,CAAO,CACpD,GAAIA,CAAAA,CAAE,IAAA,GAC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A,EAAI,CACtB,iBAAA,CAAmBA,EAAE,MAAA,EAAO,CAC5B,0BAA2BA,CAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAC1C,aAAA,CAAeA,CAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY4B,CAAAA,CAAwC5B,EAAE,MAAA,CAAO,CAC5D,YAAaA,CAAAA,CAAE,MAAA,CAAOmB,CAAAA,CAAenB,CAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,CAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,CAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-L3KEUJF7.mjs","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n /** 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":"+HAYO,IAAMA,EAA4BC,CAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,CAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,EAAE,IAAA,EAAK,CACf,aAAcA,CAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,CAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,CAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,EAAE,MAAA,EAAO,CAExB,YAAA,CAAcA,CAAAA,CAAE,MAAA,EAAO,CAAE,KAAI,CAAE,WAAA,GAC/B,eA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ducerExperienceLevel,\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"]}
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkFG6EV3WQ_js=require('./chunk-FG6EV3WQ.js'),chunkEAKBQ5VD_js=require('./chunk-EAKBQ5VD.js'),chunkO3GYEMUB_js=require('./chunk-O3GYEMUB.js'),zod=require('zod');var J=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.CLOSED],M=[...J,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 M.includes(i)?a:[...a,chunkFG6EV3WQ_js.b.IN_DISPUTE]}function ge(i,a){return F(i).includes(a)}function z(i,a){return a===chunkFG6EV3WQ_js.b.IN_DISPUTE&&!M.includes(i)?[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER]:H[W(i,a)]??[]}function Ee(i,a,S){return z(i,a).includes(S)}function Ie(i,a){return w.includes(a)}var Ae=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()}),Ce=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()}),De=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()}),Ne=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 m={ONSITE:"ONSITE",REMOTE:"REMOTE"},P={LOW:"LOW",MID:"MID",HIGH:"HIGH"};var y=zod.z.record(zod.z.string(),zod.z.unknown()),Pe=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"]});}),K=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),state:zod.z.string(),timezone:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),scheduledEnd:zod.z.iso.datetime(),scheduledEndLocal:zod.z.iso.datetime({local:true,offset:false}),requiredStartAt:zod.z.iso.datetime(),requiredEndAt:zod.z.iso.datetime(),goLiveEligibleAt:zod.z.iso.datetime().nullable()}),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:chunkO3GYEMUB_js.h.nullable(),scopeOfWork:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string(),assignedEvent:K.nullable()}),ye=zod.z.object({bookingId:zod.z.uuid(),booking:C}),V=zod.z.string().trim().min(5).max(500),ve=zod.z.object({targetState:zod.z.enum(chunkFG6EV3WQ_js.b),reason:V.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}),Be=zod.z.object({notes:zod.z.string().max(2e3).optional()}),je=zod.z.object({notes:zod.z.string().max(2e3).optional()}),Ge=zod.z.object({booking:C,hostAcked:zod.z.boolean(),producerAcked:zod.z.boolean(),completed:zod.z.boolean(),forced:zod.z.boolean().optional()}),Q=(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(m),notes:zod.z.string().max(2e3).optional(),compensation:zod.z.coerce.number().nonnegative().optional(),attachments:y.optional(),eventId:zod.z.uuid().optional()}),Y=N.superRefine(Q).superRefine(D),X=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(m),eventId:zod.z.uuid().optional()}),Z=X,Ue=N.partial().extend({saveAsDraft:zod.z.boolean().optional().default(false)}).superRefine(D).superRefine((i,a)=>{if(i.saveAsDraft)return;let S=Y.safeParse(i);S.success||a.addIssue({code:"custom",message:S.error.issues.map(q=>q.message).join("; ")});}),qe=N.partial().superRefine(D),Je=zod.z.object({...chunkO3GYEMUB_js.g.shape,location:zod.z.enum(m).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(P).optional(),matchMyAvailability:zod.z.enum(["true","false"]).optional().transform(i=>i==="true")}),$e=zod.z.object({...chunkO3GYEMUB_js.g.shape,state:zod.z.enum(chunkFG6EV3WQ_js.c).optional(),search:zod.z.string().trim().min(2).max(100).optional()}),He=Z.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"]});}),we=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(m),compensation:chunkO3GYEMUB_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()}),Fe=zod.z.object({reason:zod.z.string().trim().min(5).max(500).optional()}),ze=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("CANCELLED"),cancelledAt:zod.z.iso.datetime().nullable()}),Ke=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.SUSPENDED)}),Ve=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.OPEN)}),Qe=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:y.optional()}),v=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().nullable(),proposedAmount:chunkO3GYEMUB_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()}),ee=v.extend({producerCompanyName:zod.z.string().nullable()}),A={CREATED_AT:"createdAt",UPDATED_AT:"updatedAt",PROPOSED_AMOUNT:"proposedAmount"},T={ASC:"asc",DESC:"desc"},Ye=zod.z.object({...chunkO3GYEMUB_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(A).default(A.CREATED_AT),sortOrder:zod.z.enum(T).default(T.DESC)}),Xe=ee.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(m),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable()}),Ze=zod.z.object({...chunkO3GYEMUB_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(A).default(A.CREATED_AT),sortOrder:zod.z.enum(T).default(T.DESC)}),et=v.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(m),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable(),jobListingRequiredDate:zod.z.string().nullable(),jobListingCompensation:chunkO3GYEMUB_js.h.nullable()});var _={SENT:"SENT",DELIVERED:"DELIVERED",READ:"READ"};var te=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()}),oe=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(oe)}),at=chunkO3GYEMUB_js.g,ut=zod.z.object({messages:zod.z.array(O),...chunkO3GYEMUB_js.k.shape}),lt=zod.z.object({thread:te,messages:zod.z.array(O),...chunkO3GYEMUB_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()}),mt=zod.z.object({message:O}),dt=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()}),pt=zod.z.object({upToMessageId:zod.z.uuid().optional()}),gt=zod.z.object({markedCount:zod.z.number().int().nonnegative()}),ne=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"])}),Et=zod.z.object({items:zod.z.array(ne),...chunkO3GYEMUB_js.k.shape});var B=zod.z.enum(["APPLICATIONS","UPCOMING","LIVE","COMPLETED","JOB_INVITES"]),ie=zod.z.enum(["PENDING","SHORTLISTED","SELECTED","WITHDRAWN","REJECTED","CANCELLED","INVITED","NEGOTIATING","CONFIRMED","LIVE","COMPLETED","DISPUTED"]),re=zod.z.enum(["IOI","BOOKING","ASSIGNMENT"]),Rt=zod.z.object({tab:B,search:zod.z.string().trim().min(2).max(100).optional(),...chunkO3GYEMUB_js.g.shape}),se=zod.z.object({id:zod.z.uuid(),kind:re,eventName:zod.z.string(),date:zod.z.string().nullable(),role:zod.z.string(),payment:chunkO3GYEMUB_js.h.nullable(),status:ie,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()}),At=zod.z.object({tab:B,items:zod.z.array(se),...chunkO3GYEMUB_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 ae=zod.z.object({id:zod.z.string(),role:chunkO3GYEMUB_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()}),j=zod.z.record(zod.z.string(),zod.z.unknown()),ue=L.extend({beforeState:j.optional(),afterState:j.optional()}),le=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:ae};function b(i){return zod.z.object({...h,action:zod.z.literal(i),details:ue})}var me=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:le}),zod.z.object({...h,action:zod.z.literal(chunkFG6EV3WQ_js.g.ATTACHMENT_ADDED),details:ce})]),Lt=zod.z.object({items:zod.z.array(me),...chunkO3GYEMUB_js.k.shape});var G={DRAFT:"DRAFT",INVITED:"INVITED",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",EXPIRED:"EXPIRED"};var U=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:chunkO3GYEMUB_js.h,location:zod.z.enum(m),notes:zod.z.string().trim().max(2e3).optional()}),vt=U.extend({producerId:zod.z.uuid()}),_t=U.partial().refine(i=>Object.keys(i).length>0,{message:"At least one field is required"}),Bt=zod.z.object({producerId:zod.z.uuid(),role:zod.z.string().trim().min(1).max(120).optional(),responsibilities:zod.z.string().trim().min(1).max(5e3).optional(),requirements:zod.z.string().trim().min(1).max(5e3).optional(),compensation:chunkO3GYEMUB_js.h.optional(),location:zod.z.enum(m).optional(),notes:zod.z.string().trim().max(2e3).optional()}),de=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()}),x=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:chunkO3GYEMUB_js.h,location:zod.z.enum(m),notes:zod.z.string().nullable(),state:zod.z.enum(G),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:de.optional(),eventTitle:zod.z.string().optional(),eventScheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}).nullable().optional()}),jt=zod.z.object({items:zod.z.array(x)}),Gt=zod.z.object({reason:zod.z.string().trim().min(5).max(500)}),Ut=zod.z.object({assignment:x,bookingId:zod.z.uuid()}),qt=zod.z.object({assignment:x,replacedBookingId:zod.z.uuid()});exports.$=ct;exports.A=Ue;exports.Aa=x;exports.B=qe;exports.Ba=jt;exports.C=Je;exports.Ca=Gt;exports.D=$e;exports.Da=Ut;exports.E=He;exports.Ea=qt;exports.F=we;exports.G=We;exports.H=Fe;exports.I=ze;exports.J=Ke;exports.K=Ve;exports.L=Qe;exports.M=v;exports.N=ee;exports.O=A;exports.P=T;exports.Q=Ye;exports.R=Xe;exports.S=Ze;exports.T=et;exports.U=_;exports.V=te;exports.W=oe;exports.X=O;exports.Y=at;exports.Z=ut;exports._=lt;exports.a=J;exports.aa=mt;exports.b=$;exports.ba=dt;exports.c=H;exports.ca=pt;exports.d=w;exports.da=gt;exports.e=W;exports.ea=ne;exports.f=F;exports.fa=Et;exports.g=ge;exports.ga=B;exports.h=z;exports.ha=ie;exports.i=Ee;exports.ia=re;exports.j=Ie;exports.ja=Rt;exports.k=Ae;exports.ka=se;exports.l=Te;exports.la=At;exports.m=Ce;exports.ma=Tt;exports.n=De;exports.na=ae;exports.o=Ne;exports.oa=L;exports.p=m;exports.pa=j;exports.q=P;exports.qa=ue;exports.r=Pe;exports.ra=le;exports.s=K;exports.sa=ce;exports.t=C;exports.ta=me;exports.u=ye;exports.ua=Lt;exports.v=ve;exports.va=G;exports.w=_e;exports.wa=vt;exports.x=Be;exports.xa=_t;exports.y=je;exports.ya=Bt;exports.z=Ge;exports.za=de;//# sourceMappingURL=chunk-CMQ36ZUU.js.map
2
+ //# sourceMappingURL=chunk-CMQ36ZUU.js.map