@livdot-tech/contracts 1.11.11 → 1.11.13

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 (51) 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 +38 -7
  4. package/dist/booking/index.d.ts +38 -7
  5. package/dist/booking/index.js +1 -1
  6. package/dist/booking/index.mjs +1 -1
  7. package/dist/{chunk-O4FQLJ2O.mjs → chunk-42U3KNVH.mjs} +2 -2
  8. package/dist/{chunk-O4FQLJ2O.mjs.map → chunk-42U3KNVH.mjs.map} +1 -1
  9. package/dist/{chunk-L26MD3EM.mjs → chunk-B7O2NN3X.mjs} +2 -2
  10. package/dist/chunk-B7O2NN3X.mjs.map +1 -0
  11. package/dist/chunk-DWFDZJGV.js +2 -0
  12. package/dist/chunk-DWFDZJGV.js.map +1 -0
  13. package/dist/{chunk-INCJR5IC.mjs → chunk-EC7CB75Z.mjs} +2 -2
  14. package/dist/{chunk-INCJR5IC.mjs.map → chunk-EC7CB75Z.mjs.map} +1 -1
  15. package/dist/{chunk-Q223XBEP.js → chunk-JPTEPX6P.js} +2 -2
  16. package/dist/{chunk-Q223XBEP.js.map → chunk-JPTEPX6P.js.map} +1 -1
  17. package/dist/{chunk-MVQEFN65.js → chunk-MYRGUNQ4.js} +2 -2
  18. package/dist/chunk-MYRGUNQ4.js.map +1 -0
  19. package/dist/{chunk-KZ2OWUX4.mjs → chunk-PN2BNA6L.mjs} +2 -2
  20. package/dist/{chunk-KZ2OWUX4.mjs.map → chunk-PN2BNA6L.mjs.map} +1 -1
  21. package/dist/chunk-PVVPURYV.mjs +2 -0
  22. package/dist/chunk-PVVPURYV.mjs.map +1 -0
  23. package/dist/chunk-TPEL6PL7.js +2 -0
  24. package/dist/chunk-TPEL6PL7.js.map +1 -0
  25. package/dist/chunk-URFS7U34.mjs +2 -0
  26. package/dist/chunk-URFS7U34.mjs.map +1 -0
  27. package/dist/{chunk-CMQ2CLPC.js → chunk-X4MIPWKH.js} +2 -2
  28. package/dist/{chunk-CMQ2CLPC.js.map → chunk-X4MIPWKH.js.map} +1 -1
  29. package/dist/{chunk-EHIZAQ4M.js → chunk-YWRIAUWJ.js} +2 -2
  30. package/dist/{chunk-EHIZAQ4M.js.map → chunk-YWRIAUWJ.js.map} +1 -1
  31. package/dist/index.js +1 -1
  32. package/dist/index.mjs +1 -1
  33. package/dist/marketplace/index.js +1 -1
  34. package/dist/marketplace/index.mjs +1 -1
  35. package/dist/notification/index.js +1 -1
  36. package/dist/notification/index.mjs +1 -1
  37. package/dist/user/index.d.mts +2 -0
  38. package/dist/user/index.d.ts +2 -0
  39. package/dist/user/index.js +1 -1
  40. package/dist/user/index.mjs +1 -1
  41. package/package.json +1 -1
  42. package/dist/chunk-46C4WZYK.mjs +0 -2
  43. package/dist/chunk-46C4WZYK.mjs.map +0 -1
  44. package/dist/chunk-6X34AE7I.js +0 -2
  45. package/dist/chunk-6X34AE7I.js.map +0 -1
  46. package/dist/chunk-GQ3PZWZ7.mjs +0 -2
  47. package/dist/chunk-GQ3PZWZ7.mjs.map +0 -1
  48. package/dist/chunk-L26MD3EM.mjs.map +0 -1
  49. package/dist/chunk-MVQEFN65.js.map +0 -1
  50. package/dist/chunk-U3FLBXU4.js +0 -2
  51. package/dist/chunk-U3FLBXU4.js.map +0 -1
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkCMQ2CLPC_js=require('../chunk-CMQ2CLPC.js');require('../chunk-6X34AE7I.js'),require('../chunk-Q223XBEP.js'),require('../chunk-MVQEFN65.js'),require('../chunk-W5MCRFFN.js'),require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkCMQ2CLPC_js.j}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkX4MIPWKH_js=require('../chunk-X4MIPWKH.js');require('../chunk-TPEL6PL7.js'),require('../chunk-JPTEPX6P.js'),require('../chunk-MYRGUNQ4.js'),require('../chunk-W5MCRFFN.js'),require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkX4MIPWKH_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkX4MIPWKH_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkX4MIPWKH_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkX4MIPWKH_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkX4MIPWKH_js.j}});//# sourceMappingURL=index.js.map
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-INCJR5IC.mjs';import'../chunk-46C4WZYK.mjs';import'../chunk-KZ2OWUX4.mjs';import'../chunk-L26MD3EM.mjs';import'../chunk-Q22UWX74.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{s as ChangePasswordRequestSchema,E as ConfirmPasswordSchema,K as DisableMfaBodySchema,J as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,G as MFA_ACTIONS,L as MfaChallengeBodySchema,M as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,F as ReauthTokenResponseSchema,I as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,H as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-EC7CB75Z.mjs';import'../chunk-PVVPURYV.mjs';import'../chunk-PN2BNA6L.mjs';import'../chunk-B7O2NN3X.mjs';import'../chunk-Q22UWX74.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -136,10 +136,6 @@ declare const BookingResponseSchema: z.ZodObject<{
136
136
  }>;
137
137
  escrowReference: z.ZodOptional<z.ZodString>;
138
138
  completedAt: z.ZodOptional<z.ZodISODateTime>;
139
- hostRating: z.ZodOptional<z.ZodNumber>;
140
- hostReview: z.ZodOptional<z.ZodString>;
141
- producerRating: z.ZodOptional<z.ZodNumber>;
142
- producerReview: z.ZodOptional<z.ZodString>;
143
139
  createdAt: z.ZodISODateTime;
144
140
  updatedAt: z.ZodISODateTime;
145
141
  }, z.core.$strip>;
@@ -424,6 +420,8 @@ declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
424
420
  requirements: z.ZodOptional<z.ZodString>;
425
421
  role: z.ZodOptional<z.ZodString>;
426
422
  requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
423
+ requiredDateLocal: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
424
+ timezone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
427
425
  requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
428
426
  estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
429
427
  location: z.ZodOptional<z.ZodEnum<{
@@ -444,6 +442,8 @@ declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
444
442
  requirements: z.ZodOptional<z.ZodString>;
445
443
  role: z.ZodOptional<z.ZodString>;
446
444
  requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
445
+ requiredDateLocal: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
446
+ timezone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
447
447
  requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
448
448
  estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
449
449
  location: z.ZodOptional<z.ZodEnum<{
@@ -524,6 +524,8 @@ declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
524
524
  role: z.ZodString;
525
525
  requiredCount: z.ZodNumber;
526
526
  requiredDate: z.ZodNullable<z.ZodString>;
527
+ requiredDateLocal: z.ZodNullable<z.ZodString>;
528
+ timezone: z.ZodNullable<z.ZodString>;
527
529
  estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
528
530
  location: z.ZodEnum<{
529
531
  readonly ONSITE: "ONSITE";
@@ -1020,6 +1022,18 @@ declare const MarketplaceHiringThreadInboxItemSchema: z.ZodObject<{
1020
1022
  readonly CLOSED: "CLOSED";
1021
1023
  readonly AWAITING_PRODUCER_RECONFIRM: "AWAITING_PRODUCER_RECONFIRM";
1022
1024
  }>;
1025
+ producerProfileId: z.ZodUUID;
1026
+ producerDisplayName: z.ZodString;
1027
+ producerAvatarUrl: z.ZodNullable<z.ZodString>;
1028
+ hostProfileId: z.ZodUUID;
1029
+ hostDisplayName: z.ZodString;
1030
+ hostAvatarUrl: z.ZodNullable<z.ZodString>;
1031
+ counterpartyDisplayName: z.ZodString;
1032
+ counterpartyAvatarUrl: z.ZodNullable<z.ZodString>;
1033
+ counterpartyRole: z.ZodEnum<{
1034
+ HOST: "HOST";
1035
+ PRODUCER: "PRODUCER";
1036
+ }>;
1023
1037
  }, z.core.$strip>;
1024
1038
  declare const ListMarketplaceHiringThreadsResponseSchema: z.ZodObject<{
1025
1039
  totalCount: z.ZodNumber;
@@ -1053,6 +1067,18 @@ declare const ListMarketplaceHiringThreadsResponseSchema: z.ZodObject<{
1053
1067
  readonly CLOSED: "CLOSED";
1054
1068
  readonly AWAITING_PRODUCER_RECONFIRM: "AWAITING_PRODUCER_RECONFIRM";
1055
1069
  }>;
1070
+ producerProfileId: z.ZodUUID;
1071
+ producerDisplayName: z.ZodString;
1072
+ producerAvatarUrl: z.ZodNullable<z.ZodString>;
1073
+ hostProfileId: z.ZodUUID;
1074
+ hostDisplayName: z.ZodString;
1075
+ hostAvatarUrl: z.ZodNullable<z.ZodString>;
1076
+ counterpartyDisplayName: z.ZodString;
1077
+ counterpartyAvatarUrl: z.ZodNullable<z.ZodString>;
1078
+ counterpartyRole: z.ZodEnum<{
1079
+ HOST: "HOST";
1080
+ PRODUCER: "PRODUCER";
1081
+ }>;
1056
1082
  }, z.core.$strip>>;
1057
1083
  }, z.core.$strip>;
1058
1084
 
@@ -1070,9 +1096,14 @@ type ListMarketplaceHiringThreadsResponse = z.infer<typeof ListMarketplaceHiring
1070
1096
  type UploadMarketplaceHiringThreadAttachmentResponse = z.infer<typeof UploadMarketplaceHiringThreadAttachmentResponseSchema>;
1071
1097
 
1072
1098
  /**
1073
- * `POST /reviews` — host rates producer once service is complete.
1074
- * Reviewable when booking is `SERVICE_COMPLETED` or `CLOSED`.
1075
- * Host review is required before `SERVICE_COMPLETED → CLOSED` (fund release).
1099
+ * `POST /reviews` — booking participant rates the counterparty once
1100
+ * service is complete (`SERVICE_COMPLETED` or `CLOSED`).
1101
+ *
1102
+ * - Host caller → rates the producer (required before fund release /
1103
+ * `SERVICE_COMPLETED → CLOSED`).
1104
+ * - Producer caller → rates the host (updates host `averageRating`).
1105
+ *
1106
+ * One review per `(bookingId, reviewerId)`.
1076
1107
  */
1077
1108
  declare const CreateMarketplaceReviewRequestSchema: z.ZodObject<{
1078
1109
  bookingId: z.ZodUUID;
@@ -136,10 +136,6 @@ declare const BookingResponseSchema: z.ZodObject<{
136
136
  }>;
137
137
  escrowReference: z.ZodOptional<z.ZodString>;
138
138
  completedAt: z.ZodOptional<z.ZodISODateTime>;
139
- hostRating: z.ZodOptional<z.ZodNumber>;
140
- hostReview: z.ZodOptional<z.ZodString>;
141
- producerRating: z.ZodOptional<z.ZodNumber>;
142
- producerReview: z.ZodOptional<z.ZodString>;
143
139
  createdAt: z.ZodISODateTime;
144
140
  updatedAt: z.ZodISODateTime;
145
141
  }, z.core.$strip>;
@@ -424,6 +420,8 @@ declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
424
420
  requirements: z.ZodOptional<z.ZodString>;
425
421
  role: z.ZodOptional<z.ZodString>;
426
422
  requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
423
+ requiredDateLocal: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
424
+ timezone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
427
425
  requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
428
426
  estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
429
427
  location: z.ZodOptional<z.ZodEnum<{
@@ -444,6 +442,8 @@ declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
444
442
  requirements: z.ZodOptional<z.ZodString>;
445
443
  role: z.ZodOptional<z.ZodString>;
446
444
  requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
445
+ requiredDateLocal: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
446
+ timezone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
447
447
  requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
448
448
  estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
449
449
  location: z.ZodOptional<z.ZodEnum<{
@@ -524,6 +524,8 @@ declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
524
524
  role: z.ZodString;
525
525
  requiredCount: z.ZodNumber;
526
526
  requiredDate: z.ZodNullable<z.ZodString>;
527
+ requiredDateLocal: z.ZodNullable<z.ZodString>;
528
+ timezone: z.ZodNullable<z.ZodString>;
527
529
  estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
528
530
  location: z.ZodEnum<{
529
531
  readonly ONSITE: "ONSITE";
@@ -1020,6 +1022,18 @@ declare const MarketplaceHiringThreadInboxItemSchema: z.ZodObject<{
1020
1022
  readonly CLOSED: "CLOSED";
1021
1023
  readonly AWAITING_PRODUCER_RECONFIRM: "AWAITING_PRODUCER_RECONFIRM";
1022
1024
  }>;
1025
+ producerProfileId: z.ZodUUID;
1026
+ producerDisplayName: z.ZodString;
1027
+ producerAvatarUrl: z.ZodNullable<z.ZodString>;
1028
+ hostProfileId: z.ZodUUID;
1029
+ hostDisplayName: z.ZodString;
1030
+ hostAvatarUrl: z.ZodNullable<z.ZodString>;
1031
+ counterpartyDisplayName: z.ZodString;
1032
+ counterpartyAvatarUrl: z.ZodNullable<z.ZodString>;
1033
+ counterpartyRole: z.ZodEnum<{
1034
+ HOST: "HOST";
1035
+ PRODUCER: "PRODUCER";
1036
+ }>;
1023
1037
  }, z.core.$strip>;
1024
1038
  declare const ListMarketplaceHiringThreadsResponseSchema: z.ZodObject<{
1025
1039
  totalCount: z.ZodNumber;
@@ -1053,6 +1067,18 @@ declare const ListMarketplaceHiringThreadsResponseSchema: z.ZodObject<{
1053
1067
  readonly CLOSED: "CLOSED";
1054
1068
  readonly AWAITING_PRODUCER_RECONFIRM: "AWAITING_PRODUCER_RECONFIRM";
1055
1069
  }>;
1070
+ producerProfileId: z.ZodUUID;
1071
+ producerDisplayName: z.ZodString;
1072
+ producerAvatarUrl: z.ZodNullable<z.ZodString>;
1073
+ hostProfileId: z.ZodUUID;
1074
+ hostDisplayName: z.ZodString;
1075
+ hostAvatarUrl: z.ZodNullable<z.ZodString>;
1076
+ counterpartyDisplayName: z.ZodString;
1077
+ counterpartyAvatarUrl: z.ZodNullable<z.ZodString>;
1078
+ counterpartyRole: z.ZodEnum<{
1079
+ HOST: "HOST";
1080
+ PRODUCER: "PRODUCER";
1081
+ }>;
1056
1082
  }, z.core.$strip>>;
1057
1083
  }, z.core.$strip>;
1058
1084
 
@@ -1070,9 +1096,14 @@ type ListMarketplaceHiringThreadsResponse = z.infer<typeof ListMarketplaceHiring
1070
1096
  type UploadMarketplaceHiringThreadAttachmentResponse = z.infer<typeof UploadMarketplaceHiringThreadAttachmentResponseSchema>;
1071
1097
 
1072
1098
  /**
1073
- * `POST /reviews` — host rates producer once service is complete.
1074
- * Reviewable when booking is `SERVICE_COMPLETED` or `CLOSED`.
1075
- * Host review is required before `SERVICE_COMPLETED → CLOSED` (fund release).
1099
+ * `POST /reviews` — booking participant rates the counterparty once
1100
+ * service is complete (`SERVICE_COMPLETED` or `CLOSED`).
1101
+ *
1102
+ * - Host caller → rates the producer (required before fund release /
1103
+ * `SERVICE_COMPLETED → CLOSED`).
1104
+ * - Producer caller → rates the host (updates host `averageRating`).
1105
+ *
1106
+ * One review per `(bookingId, reviewerId)`.
1076
1107
  */
1077
1108
  declare const CreateMarketplaceReviewRequestSchema: z.ZodObject<{
1078
1109
  bookingId: z.ZodUUID;
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkU3FLBXU4_js=require('../chunk-U3FLBXU4.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkMVQEFN65_js=require('../chunk-MVQEFN65.js');require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Ba}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkU3FLBXU4_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkU3FLBXU4_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkU3FLBXU4_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.xa}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkU3FLBXU4_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkU3FLBXU4_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkU3FLBXU4_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.za}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkU3FLBXU4_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.Aa}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkU3FLBXU4_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkU3FLBXU4_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkU3FLBXU4_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkU3FLBXU4_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkU3FLBXU4_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkU3FLBXU4_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkU3FLBXU4_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkU3FLBXU4_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkU3FLBXU4_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkMVQEFN65_js.c}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkDWFDZJGV_js=require('../chunk-DWFDZJGV.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkMYRGUNQ4_js=require('../chunk-MYRGUNQ4.js');require('../chunk-ORDM2W6R.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Ba}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkDWFDZJGV_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkDWFDZJGV_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkDWFDZJGV_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.xa}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkDWFDZJGV_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkDWFDZJGV_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkDWFDZJGV_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.za}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkDWFDZJGV_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.Aa}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkDWFDZJGV_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkDWFDZJGV_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkDWFDZJGV_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkDWFDZJGV_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkDWFDZJGV_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkDWFDZJGV_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkDWFDZJGV_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkDWFDZJGV_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkDWFDZJGV_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkMYRGUNQ4_js.c}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{Ba as AcceptEventCrewAssignmentResponseSchema,sa as AdminBookingAuditEntrySchema,ta as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ma as BookingAuditActorSchema,ra as BookingAuditAttachmentAddedDetailsSchema,qa as BookingAuditMessageSentDetailsSchema,na as BookingAuditRequestMetadataSchema,oa as BookingAuditSnapshotSchema,pa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,G as CancelMarketplaceJobListingRequestSchema,H as CancelMarketplaceJobListingResponseSchema,I as CloseMarketplaceJobListingResponseSchema,w as CompleteMarketplaceBookingRequestSchema,y as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,va as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,t as CreateMarketplaceBookingResponseSchema,z as CreateMarketplaceJobListingRequestSchema,xa as EventCrewAssignmentProducerSummarySchema,ya as EventCrewAssignmentResponseSchema,ua as EventCrewAssignmentState,x as ForceCompleteMarketplaceBookingRequestSchema,Z as GetMarketplaceHiringThreadResponseSchema,N as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,za as ListEventCrewAssignmentsResponseSchema,P as ListHostMarketplaceIndicationsQuerySchema,C as ListHostMarketplaceJobListingsQuerySchema,X as ListMarketplaceHiringThreadMessagesQuerySchema,Y as ListMarketplaceHiringThreadMessagesResponseSchema,ea as ListMarketplaceHiringThreadsResponseSchema,B as ListMarketplaceJobListingsQuerySchema,ia as ListProducerJobsQuerySchema,R as ListProducerMarketplaceIndicationsQuerySchema,ba as MarkMarketplaceHiringThreadReadRequestSchema,ca as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingResponseSchema,V as MarketplaceHiringMessageAttachmentSchema,W as MarketplaceHiringMessageSchema,da as MarketplaceHiringThreadInboxItemSchema,U as MarketplaceHiringThreadSchema,Q as MarketplaceHostIndicationOfInterestInboxItemSchema,M as MarketplaceIndicationOfInterestHostItemSchema,L as MarketplaceIndicationOfInterestResponseSchema,F as MarketplaceJobListingResponseSchema,S as MarketplaceProducerIndicationOfInterestInboxItemSchema,T as MessageDeliveryStatus,J as OpenMarketplaceJobListingResponseSchema,_ as PostMarketplaceHiringThreadMessageRequestSchema,$ as PostMarketplaceHiringThreadMessageResponseSchema,ha as ProducerJobRowKindSchema,ja as ProducerJobRowSchema,ga as ProducerJobRowStatusSchema,la as ProducerJobsTabCountsResponseSchema,ka as ProducerJobsTabResponseSchema,fa as ProducerJobsTabSchema,E as PublishMarketplaceJobListingResponseSchema,D as PublishReadyJobListingSchema,Aa as RejectEventCrewAssignmentRequestSchema,O as SortOrder,K as SubmitMarketplaceIndicationOfInterestRequestSchema,u as TransitionMarketplaceBookingRequestSchema,v as TransitionMarketplaceBookingResponseSchema,wa as UpdateEventCrewAssignmentRequestSchema,A as UpdateMarketplaceJobListingRequestSchema,aa as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-GQ3PZWZ7.mjs';export{g as BookingAuditAction,a as BookingOrigin,e as BookingPaymentStatus,b as BookingState,f as BookingTransitionActor,d as IoiState,c as JobListingState}from'../chunk-B7B7YFFC.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,d as ListProducerReviewsQuerySchema,b as MarketplaceReviewResponseSchema,e as PagedProducerReviewsResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-L26MD3EM.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{Ba as AcceptEventCrewAssignmentResponseSchema,sa as AdminBookingAuditEntrySchema,ta as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ma as BookingAuditActorSchema,ra as BookingAuditAttachmentAddedDetailsSchema,qa as BookingAuditMessageSentDetailsSchema,na as BookingAuditRequestMetadataSchema,oa as BookingAuditSnapshotSchema,pa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,G as CancelMarketplaceJobListingRequestSchema,H as CancelMarketplaceJobListingResponseSchema,I as CloseMarketplaceJobListingResponseSchema,w as CompleteMarketplaceBookingRequestSchema,y as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,va as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,t as CreateMarketplaceBookingResponseSchema,z as CreateMarketplaceJobListingRequestSchema,xa as EventCrewAssignmentProducerSummarySchema,ya as EventCrewAssignmentResponseSchema,ua as EventCrewAssignmentState,x as ForceCompleteMarketplaceBookingRequestSchema,Z as GetMarketplaceHiringThreadResponseSchema,N as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,za as ListEventCrewAssignmentsResponseSchema,P as ListHostMarketplaceIndicationsQuerySchema,C as ListHostMarketplaceJobListingsQuerySchema,X as ListMarketplaceHiringThreadMessagesQuerySchema,Y as ListMarketplaceHiringThreadMessagesResponseSchema,ea as ListMarketplaceHiringThreadsResponseSchema,B as ListMarketplaceJobListingsQuerySchema,ia as ListProducerJobsQuerySchema,R as ListProducerMarketplaceIndicationsQuerySchema,ba as MarkMarketplaceHiringThreadReadRequestSchema,ca as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingResponseSchema,V as MarketplaceHiringMessageAttachmentSchema,W as MarketplaceHiringMessageSchema,da as MarketplaceHiringThreadInboxItemSchema,U as MarketplaceHiringThreadSchema,Q as MarketplaceHostIndicationOfInterestInboxItemSchema,M as MarketplaceIndicationOfInterestHostItemSchema,L as MarketplaceIndicationOfInterestResponseSchema,F as MarketplaceJobListingResponseSchema,S as MarketplaceProducerIndicationOfInterestInboxItemSchema,T as MessageDeliveryStatus,J as OpenMarketplaceJobListingResponseSchema,_ as PostMarketplaceHiringThreadMessageRequestSchema,$ as PostMarketplaceHiringThreadMessageResponseSchema,ha as ProducerJobRowKindSchema,ja as ProducerJobRowSchema,ga as ProducerJobRowStatusSchema,la as ProducerJobsTabCountsResponseSchema,ka as ProducerJobsTabResponseSchema,fa as ProducerJobsTabSchema,E as PublishMarketplaceJobListingResponseSchema,D as PublishReadyJobListingSchema,Aa as RejectEventCrewAssignmentRequestSchema,O as SortOrder,K as SubmitMarketplaceIndicationOfInterestRequestSchema,u as TransitionMarketplaceBookingRequestSchema,v as TransitionMarketplaceBookingResponseSchema,wa as UpdateEventCrewAssignmentRequestSchema,A as UpdateMarketplaceJobListingRequestSchema,aa as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-URFS7U34.mjs';export{g as BookingAuditAction,a as BookingOrigin,e as BookingPaymentStatus,b as BookingState,f as BookingTransitionActor,d as IoiState,c as JobListingState}from'../chunk-B7B7YFFC.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,d as ListProducerReviewsQuerySchema,b as MarketplaceReviewResponseSchema,e as PagedProducerReviewsResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-B7O2NN3X.mjs';import'../chunk-PAUYI2FU.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import {f as f$1}from'./chunk-KZ2OWUX4.mjs';import {g,k}from'./chunk-PAUYI2FU.mjs';import {z}from'zod';var n={LOW:"LOW",NORMAL:"NORMAL",HIGH:"HIGH",URGENT:"URGENT"},N={IN_APP:"IN_APP",EMAIL:"EMAIL",SMS:"SMS",PUSH:"PUSH"},r={BOOKING_REQUESTED:"BOOKING_REQUESTED",BOOKING_ACCEPTED:"BOOKING_ACCEPTED",BOOKING_REJECTED:"BOOKING_REJECTED",BOOKING_CONFIRMED:"BOOKING_CONFIRMED",BOOKING_CANCELLED:"BOOKING_CANCELLED",BOOKING_COMPLETED:"BOOKING_COMPLETED",PAYMENT_FAILED:"PAYMENT_FAILED",PAYMENT_RECEIVED:"PAYMENT_RECEIVED",PAYOUT_PROCESSED:"PAYOUT_PROCESSED",EVENT_GOING_LIVE:"EVENT_GOING_LIVE",EVENT_CANCELLED:"EVENT_CANCELLED",ENTITLEMENT_WITHDRAWN:"ENTITLEMENT_WITHDRAWN",DISPUTE_OPENED:"DISPUTE_OPENED",DISPUTE_RESOLVED:"DISPUTE_RESOLVED",KYC_APPROVED:"KYC_APPROVED",KYC_REJECTED:"KYC_REJECTED",PRODUCER_VERIFIED:"PRODUCER_VERIFIED",JOB_LISTING_NEW_INTEREST:"JOB_LISTING_NEW_INTEREST",JOB_LISTING_IOI_REJECTED:"JOB_LISTING_IOI_REJECTED",HIRING_THREAD_NEW_MESSAGE:"HIRING_THREAD_NEW_MESSAGE",CREW_ASSIGNMENT_INVITED:"CREW_ASSIGNMENT_INVITED",CREW_ASSIGNMENT_REJECTED:"CREW_ASSIGNMENT_REJECTED",EVENT_RESCHEDULED:"EVENT_RESCHEDULED",EVENT_CANCELLED_NO_SHOW:"EVENT_CANCELLED_NO_SHOW",EVENT_FAILED_OUTAGE:"EVENT_FAILED_OUTAGE",EVENT_RENAMED:"EVENT_RENAMED",EVENT_DETAILS_UPDATED:"EVENT_DETAILS_UPDATED",STREAM_DISCONNECTED:"STREAM_DISCONNECTED",EVENT_ENDED:"EVENT_ENDED",ACCOUNT_SECURITY:"ACCOUNT_SECURITY"};var T=z.object({id:z.uuid(),userId:z.uuid(),type:z.enum(r),title:z.string(),body:z.string(),actionUrl:z.url().optional(),actionType:z.string().optional(),channels:z.array(z.enum(N)),isRead:z.boolean(),readAt:z.iso.datetime().optional(),deliveredAt:z.iso.datetime().optional(),priority:z.enum(n),metadata:z.record(z.string(),z.any()).optional(),createdAt:z.iso.datetime()}),_=/^ExponentPushToken\[[A-Za-z0-9_-]{18,32}\]$/,C=z.object({expoPushToken:z.string().regex(_),platform:z.enum(["IOS","ANDROID","UNKNOWN"]),appVersion:z.string().max(24).optional(),deviceLabel:z.string().max(80).optional()}),A=z.object({deviceId:z.string(),registeredAt:z.iso.datetime()}),f=g.extend({isRead:z.enum(["true","false"]).optional().transform(t=>t===void 0?void 0:t==="true")}),P=z.object({items:z.array(T),...k.shape}),m=z.object({count:z.number().int().nonnegative()}),d=z.object({id:z.uuid(),isRead:z.literal(true),readAt:z.iso.datetime()}),L=z.object({markedCount:z.number().int().nonnegative()}),a=z.enum([f$1.EVENT_REMINDERS,f$1.TICKET_PURCHASES,f$1.CREW_UPDATES]),c=z.enum([f$1.JOB_INVITATIONS,f$1.JOB_CONFIRMATIONS,f$1.MESSAGES]),s=z.object({category:a,enabled:z.boolean()}),I=z.object({category:c,enabled:z.boolean()}),G=z.object({preferences:z.record(a,z.boolean())}),u=z.object({preferences:z.record(c,z.boolean())}),y=z.object({preferences:z.array(s).min(1).max(10)}),U=z.object({preferences:z.array(I).min(1).max(10)});export{n as a,N as b,r as c,T as d,C as e,A as f,f as g,P as h,m as i,d as j,L as k,s as l,I as m,G as n,u as o,y as p,U as q};//# sourceMappingURL=chunk-O4FQLJ2O.mjs.map
2
- //# sourceMappingURL=chunk-O4FQLJ2O.mjs.map
1
+ import {f as f$1}from'./chunk-PN2BNA6L.mjs';import {g,k}from'./chunk-PAUYI2FU.mjs';import {z}from'zod';var n={LOW:"LOW",NORMAL:"NORMAL",HIGH:"HIGH",URGENT:"URGENT"},N={IN_APP:"IN_APP",EMAIL:"EMAIL",SMS:"SMS",PUSH:"PUSH"},r={BOOKING_REQUESTED:"BOOKING_REQUESTED",BOOKING_ACCEPTED:"BOOKING_ACCEPTED",BOOKING_REJECTED:"BOOKING_REJECTED",BOOKING_CONFIRMED:"BOOKING_CONFIRMED",BOOKING_CANCELLED:"BOOKING_CANCELLED",BOOKING_COMPLETED:"BOOKING_COMPLETED",PAYMENT_FAILED:"PAYMENT_FAILED",PAYMENT_RECEIVED:"PAYMENT_RECEIVED",PAYOUT_PROCESSED:"PAYOUT_PROCESSED",EVENT_GOING_LIVE:"EVENT_GOING_LIVE",EVENT_CANCELLED:"EVENT_CANCELLED",ENTITLEMENT_WITHDRAWN:"ENTITLEMENT_WITHDRAWN",DISPUTE_OPENED:"DISPUTE_OPENED",DISPUTE_RESOLVED:"DISPUTE_RESOLVED",KYC_APPROVED:"KYC_APPROVED",KYC_REJECTED:"KYC_REJECTED",PRODUCER_VERIFIED:"PRODUCER_VERIFIED",JOB_LISTING_NEW_INTEREST:"JOB_LISTING_NEW_INTEREST",JOB_LISTING_IOI_REJECTED:"JOB_LISTING_IOI_REJECTED",HIRING_THREAD_NEW_MESSAGE:"HIRING_THREAD_NEW_MESSAGE",CREW_ASSIGNMENT_INVITED:"CREW_ASSIGNMENT_INVITED",CREW_ASSIGNMENT_REJECTED:"CREW_ASSIGNMENT_REJECTED",EVENT_RESCHEDULED:"EVENT_RESCHEDULED",EVENT_CANCELLED_NO_SHOW:"EVENT_CANCELLED_NO_SHOW",EVENT_FAILED_OUTAGE:"EVENT_FAILED_OUTAGE",EVENT_RENAMED:"EVENT_RENAMED",EVENT_DETAILS_UPDATED:"EVENT_DETAILS_UPDATED",STREAM_DISCONNECTED:"STREAM_DISCONNECTED",EVENT_ENDED:"EVENT_ENDED",ACCOUNT_SECURITY:"ACCOUNT_SECURITY"};var T=z.object({id:z.uuid(),userId:z.uuid(),type:z.enum(r),title:z.string(),body:z.string(),actionUrl:z.url().optional(),actionType:z.string().optional(),channels:z.array(z.enum(N)),isRead:z.boolean(),readAt:z.iso.datetime().optional(),deliveredAt:z.iso.datetime().optional(),priority:z.enum(n),metadata:z.record(z.string(),z.any()).optional(),createdAt:z.iso.datetime()}),_=/^ExponentPushToken\[[A-Za-z0-9_-]{18,32}\]$/,C=z.object({expoPushToken:z.string().regex(_),platform:z.enum(["IOS","ANDROID","UNKNOWN"]),appVersion:z.string().max(24).optional(),deviceLabel:z.string().max(80).optional()}),A=z.object({deviceId:z.string(),registeredAt:z.iso.datetime()}),f=g.extend({isRead:z.enum(["true","false"]).optional().transform(t=>t===void 0?void 0:t==="true")}),P=z.object({items:z.array(T),...k.shape}),m=z.object({count:z.number().int().nonnegative()}),d=z.object({id:z.uuid(),isRead:z.literal(true),readAt:z.iso.datetime()}),L=z.object({markedCount:z.number().int().nonnegative()}),a=z.enum([f$1.EVENT_REMINDERS,f$1.TICKET_PURCHASES,f$1.CREW_UPDATES]),c=z.enum([f$1.JOB_INVITATIONS,f$1.JOB_CONFIRMATIONS,f$1.MESSAGES]),s=z.object({category:a,enabled:z.boolean()}),I=z.object({category:c,enabled:z.boolean()}),G=z.object({preferences:z.record(a,z.boolean())}),u=z.object({preferences:z.record(c,z.boolean())}),y=z.object({preferences:z.array(s).min(1).max(10)}),U=z.object({preferences:z.array(I).min(1).max(10)});export{n as a,N as b,r as c,T as d,C as e,A as f,f as g,P as h,m as i,d as j,L as k,s as l,I as m,G as n,u as o,y as p,U as q};//# sourceMappingURL=chunk-42U3KNVH.mjs.map
2
+ //# sourceMappingURL=chunk-42U3KNVH.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/notification/notification.enums.ts","../src/notification/notification.schemas.ts"],"names":["NotificationPriority","NotificationChannel","NotificationType","NotificationResponseSchema","z","EXPO_TOKEN_REGEX","RegisterPushDeviceRequestSchema","RegisterPushDeviceResponseSchema","ListNotificationsQuerySchema","PaginationParamsSchema","value","ListNotificationsResponseSchema","PaginationResponseSchema","NotificationsUnreadCountResponseSchema","MarkNotificationReadResponseSchema","MarkAllNotificationsReadResponseSchema","HOST_CATEGORY","NotificationCategory","PRODUCER_CATEGORY","HostNotificationPreferenceItemSchema","ProducerNotificationPreferenceItemSchema","HostNotificationPreferencesResponseSchema","ProducerNotificationPreferencesResponseSchema","UpdateHostNotificationPreferencesRequestSchema","UpdateProducerNotificationPreferencesRequestSchema"],"mappings":"uGAAO,IAAMA,CAAAA,CAAuB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CACV,QAASd,CAAAA,CAAE,OAAA,EACb,CAAC,CAAA,CAEYiB,CAAAA,CAA4CjB,EAAE,MAAA,CAAO,CAChE,WAAA,CAAaA,CAAAA,CAAE,MAAA,CAAOY,CAAAA,CAAeZ,EAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEYkB,EAAgDlB,CAAAA,CAAE,MAAA,CAAO,CACpE,WAAA,CAAaA,CAAAA,CAAE,MAAA,CAAOc,EAAmBd,CAAAA,CAAE,OAAA,EAAS,CACtD,CAAC,CAAA,CAEYmB,EAAiDnB,CAAAA,CAAE,MAAA,CAAO,CACrE,WAAA,CAAaA,CAAAA,CAAE,KAAA,CAAMe,CAAoC,CAAA,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,GAAA,CAAI,EAAE,CAC1E,CAAC,CAAA,CAEYK,CAAAA,CAAqDpB,CAAAA,CAAE,MAAA,CAAO,CACzE,WAAA,CAAaA,CAAAA,CAAE,KAAA,CAAMgB,CAAwC,CAAA,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,GAAA,CAAI,EAAE,CAC9E,CAAC","file":"chunk-O4FQLJ2O.mjs","sourcesContent":["export const NotificationPriority = {\n LOW: 'LOW',\n NORMAL: 'NORMAL',\n HIGH: 'HIGH',\n URGENT: 'URGENT',\n} as const;\nexport type NotificationPriority = (typeof NotificationPriority)[keyof typeof NotificationPriority];\n\nexport const NotificationChannel = {\n IN_APP: 'IN_APP',\n EMAIL: 'EMAIL',\n SMS: 'SMS',\n PUSH: 'PUSH',\n} as const;\nexport type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];\n\nexport const NotificationType = {\n BOOKING_REQUESTED: 'BOOKING_REQUESTED',\n BOOKING_ACCEPTED: 'BOOKING_ACCEPTED',\n BOOKING_REJECTED: 'BOOKING_REJECTED',\n BOOKING_CONFIRMED: 'BOOKING_CONFIRMED',\n BOOKING_CANCELLED: 'BOOKING_CANCELLED',\n BOOKING_COMPLETED: 'BOOKING_COMPLETED',\n PAYMENT_FAILED: 'PAYMENT_FAILED',\n PAYMENT_RECEIVED: 'PAYMENT_RECEIVED',\n PAYOUT_PROCESSED: 'PAYOUT_PROCESSED',\n EVENT_GOING_LIVE: 'EVENT_GOING_LIVE',\n EVENT_CANCELLED: 'EVENT_CANCELLED',\n ENTITLEMENT_WITHDRAWN: 'ENTITLEMENT_WITHDRAWN',\n DISPUTE_OPENED: 'DISPUTE_OPENED',\n DISPUTE_RESOLVED: 'DISPUTE_RESOLVED',\n KYC_APPROVED: 'KYC_APPROVED',\n KYC_REJECTED: 'KYC_REJECTED',\n PRODUCER_VERIFIED: 'PRODUCER_VERIFIED',\n JOB_LISTING_NEW_INTEREST: 'JOB_LISTING_NEW_INTEREST',\n JOB_LISTING_IOI_REJECTED: 'JOB_LISTING_IOI_REJECTED',\n HIRING_THREAD_NEW_MESSAGE: 'HIRING_THREAD_NEW_MESSAGE',\n CREW_ASSIGNMENT_INVITED: 'CREW_ASSIGNMENT_INVITED',\n CREW_ASSIGNMENT_REJECTED: 'CREW_ASSIGNMENT_REJECTED',\n EVENT_RESCHEDULED: 'EVENT_RESCHEDULED',\n EVENT_CANCELLED_NO_SHOW: 'EVENT_CANCELLED_NO_SHOW',\n EVENT_FAILED_OUTAGE: 'EVENT_FAILED_OUTAGE',\n EVENT_RENAMED: 'EVENT_RENAMED',\n EVENT_DETAILS_UPDATED: 'EVENT_DETAILS_UPDATED',\n STREAM_DISCONNECTED: 'STREAM_DISCONNECTED',\n EVENT_ENDED: 'EVENT_ENDED',\n ACCOUNT_SECURITY: 'ACCOUNT_SECURITY',\n} as const;\nexport type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];\n","import { z } from 'zod';\nimport { NotificationType, NotificationPriority, NotificationChannel } from './notification.enums';\nimport { PaginationParamsSchema, PaginationResponseSchema } from '../common/common.schemas';\nimport { NotificationCategory } from '../user';\n\nexport const NotificationResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n type: z.enum(NotificationType),\n title: z.string(),\n body: z.string(),\n actionUrl: z.url().optional(),\n actionType: z.string().optional(),\n channels: z.array(z.enum(NotificationChannel)),\n isRead: z.boolean(),\n readAt: z.iso.datetime().optional(),\n deliveredAt: z.iso.datetime().optional(),\n priority: z.enum(NotificationPriority),\n metadata: z.record(z.string(), z.any()).optional(),\n createdAt: z.iso.datetime(),\n});\n\nconst EXPO_TOKEN_REGEX = /^ExponentPushToken\\[[A-Za-z0-9_-]{18,32}\\]$/;\n\nexport const RegisterPushDeviceRequestSchema = z.object({\n expoPushToken: z.string().regex(EXPO_TOKEN_REGEX),\n platform: z.enum(['IOS', 'ANDROID', 'UNKNOWN']),\n appVersion: z.string().max(24).optional(),\n deviceLabel: z.string().max(80).optional(),\n});\n\nexport const RegisterPushDeviceResponseSchema = z.object({\n deviceId: z.string(),\n registeredAt: z.iso.datetime(),\n});\n\n/** `GET /notifications` — paged in-app notification inbox for the authenticated user. */\nexport const ListNotificationsQuerySchema = PaginationParamsSchema.extend({\n isRead: z\n .enum(['true', 'false'])\n .optional()\n .transform((value) => (value === undefined ? undefined : value === 'true')),\n});\n\nexport const ListNotificationsResponseSchema = z.object({\n items: z.array(NotificationResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const NotificationsUnreadCountResponseSchema = z.object({\n count: z.number().int().nonnegative(),\n});\n\nexport const MarkNotificationReadResponseSchema = z.object({\n id: z.uuid(),\n isRead: z.literal(true),\n readAt: z.iso.datetime(),\n});\n\nexport const MarkAllNotificationsReadResponseSchema = z.object({\n markedCount: z.number().int().nonnegative(),\n});\n\nconst HOST_CATEGORY = z.enum([\n NotificationCategory.EVENT_REMINDERS,\n NotificationCategory.TICKET_PURCHASES,\n NotificationCategory.CREW_UPDATES,\n]);\nconst PRODUCER_CATEGORY = z.enum([\n NotificationCategory.JOB_INVITATIONS,\n NotificationCategory.JOB_CONFIRMATIONS,\n NotificationCategory.MESSAGES,\n]);\n\nexport const HostNotificationPreferenceItemSchema = z.object({\n category: HOST_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const ProducerNotificationPreferenceItemSchema = z.object({\n category: PRODUCER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const HostNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(HOST_CATEGORY, z.boolean()),\n});\n\nexport const ProducerNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(PRODUCER_CATEGORY, z.boolean()),\n});\n\nexport const UpdateHostNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(HostNotificationPreferenceItemSchema).min(1).max(10),\n});\n\nexport const UpdateProducerNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(ProducerNotificationPreferenceItemSchema).min(1).max(10),\n});\n"]}
1
+ {"version":3,"sources":["../src/notification/notification.enums.ts","../src/notification/notification.schemas.ts"],"names":["NotificationPriority","NotificationChannel","NotificationType","NotificationResponseSchema","z","EXPO_TOKEN_REGEX","RegisterPushDeviceRequestSchema","RegisterPushDeviceResponseSchema","ListNotificationsQuerySchema","PaginationParamsSchema","value","ListNotificationsResponseSchema","PaginationResponseSchema","NotificationsUnreadCountResponseSchema","MarkNotificationReadResponseSchema","MarkAllNotificationsReadResponseSchema","HOST_CATEGORY","NotificationCategory","PRODUCER_CATEGORY","HostNotificationPreferenceItemSchema","ProducerNotificationPreferenceItemSchema","HostNotificationPreferencesResponseSchema","ProducerNotificationPreferencesResponseSchema","UpdateHostNotificationPreferencesRequestSchema","UpdateProducerNotificationPreferencesRequestSchema"],"mappings":"uGAAO,IAAMA,CAAAA,CAAuB,CAClC,GAAA,CAAK,KAAA,CACL,OAAQ,QAAA,CACR,IAAA,CAAM,MAAA,CACN,MAAA,CAAQ,QACV,CAAA,CAGaC,EAAsB,CACjC,MAAA,CAAQ,QAAA,CACR,KAAA,CAAO,OAAA,CACP,GAAA,CAAK,MACL,IAAA,CAAM,MACR,CAAA,CAGaC,CAAAA,CAAmB,CAC9B,iBAAA,CAAmB,oBACnB,gBAAA,CAAkB,kBAAA,CAClB,iBAAkB,kBA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CAAE,OAAA,EAAS,CACtD,CAAC,CAAA,CAEYmB,EAAiDnB,CAAAA,CAAE,MAAA,CAAO,CACrE,WAAA,CAAaA,CAAAA,CAAE,KAAA,CAAMe,CAAoC,CAAA,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,GAAA,CAAI,EAAE,CAC1E,CAAC,CAAA,CAEYK,CAAAA,CAAqDpB,CAAAA,CAAE,MAAA,CAAO,CACzE,WAAA,CAAaA,CAAAA,CAAE,KAAA,CAAMgB,CAAwC,CAAA,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,GAAA,CAAI,EAAE,CAC9E,CAAC","file":"chunk-42U3KNVH.mjs","sourcesContent":["export const NotificationPriority = {\n LOW: 'LOW',\n NORMAL: 'NORMAL',\n HIGH: 'HIGH',\n URGENT: 'URGENT',\n} as const;\nexport type NotificationPriority = (typeof NotificationPriority)[keyof typeof NotificationPriority];\n\nexport const NotificationChannel = {\n IN_APP: 'IN_APP',\n EMAIL: 'EMAIL',\n SMS: 'SMS',\n PUSH: 'PUSH',\n} as const;\nexport type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];\n\nexport const NotificationType = {\n BOOKING_REQUESTED: 'BOOKING_REQUESTED',\n BOOKING_ACCEPTED: 'BOOKING_ACCEPTED',\n BOOKING_REJECTED: 'BOOKING_REJECTED',\n BOOKING_CONFIRMED: 'BOOKING_CONFIRMED',\n BOOKING_CANCELLED: 'BOOKING_CANCELLED',\n BOOKING_COMPLETED: 'BOOKING_COMPLETED',\n PAYMENT_FAILED: 'PAYMENT_FAILED',\n PAYMENT_RECEIVED: 'PAYMENT_RECEIVED',\n PAYOUT_PROCESSED: 'PAYOUT_PROCESSED',\n EVENT_GOING_LIVE: 'EVENT_GOING_LIVE',\n EVENT_CANCELLED: 'EVENT_CANCELLED',\n ENTITLEMENT_WITHDRAWN: 'ENTITLEMENT_WITHDRAWN',\n DISPUTE_OPENED: 'DISPUTE_OPENED',\n DISPUTE_RESOLVED: 'DISPUTE_RESOLVED',\n KYC_APPROVED: 'KYC_APPROVED',\n KYC_REJECTED: 'KYC_REJECTED',\n PRODUCER_VERIFIED: 'PRODUCER_VERIFIED',\n JOB_LISTING_NEW_INTEREST: 'JOB_LISTING_NEW_INTEREST',\n JOB_LISTING_IOI_REJECTED: 'JOB_LISTING_IOI_REJECTED',\n HIRING_THREAD_NEW_MESSAGE: 'HIRING_THREAD_NEW_MESSAGE',\n CREW_ASSIGNMENT_INVITED: 'CREW_ASSIGNMENT_INVITED',\n CREW_ASSIGNMENT_REJECTED: 'CREW_ASSIGNMENT_REJECTED',\n EVENT_RESCHEDULED: 'EVENT_RESCHEDULED',\n EVENT_CANCELLED_NO_SHOW: 'EVENT_CANCELLED_NO_SHOW',\n EVENT_FAILED_OUTAGE: 'EVENT_FAILED_OUTAGE',\n EVENT_RENAMED: 'EVENT_RENAMED',\n EVENT_DETAILS_UPDATED: 'EVENT_DETAILS_UPDATED',\n STREAM_DISCONNECTED: 'STREAM_DISCONNECTED',\n EVENT_ENDED: 'EVENT_ENDED',\n ACCOUNT_SECURITY: 'ACCOUNT_SECURITY',\n} as const;\nexport type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];\n","import { z } from 'zod';\nimport { NotificationType, NotificationPriority, NotificationChannel } from './notification.enums';\nimport { PaginationParamsSchema, PaginationResponseSchema } from '../common/common.schemas';\nimport { NotificationCategory } from '../user';\n\nexport const NotificationResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n type: z.enum(NotificationType),\n title: z.string(),\n body: z.string(),\n actionUrl: z.url().optional(),\n actionType: z.string().optional(),\n channels: z.array(z.enum(NotificationChannel)),\n isRead: z.boolean(),\n readAt: z.iso.datetime().optional(),\n deliveredAt: z.iso.datetime().optional(),\n priority: z.enum(NotificationPriority),\n metadata: z.record(z.string(), z.any()).optional(),\n createdAt: z.iso.datetime(),\n});\n\nconst EXPO_TOKEN_REGEX = /^ExponentPushToken\\[[A-Za-z0-9_-]{18,32}\\]$/;\n\nexport const RegisterPushDeviceRequestSchema = z.object({\n expoPushToken: z.string().regex(EXPO_TOKEN_REGEX),\n platform: z.enum(['IOS', 'ANDROID', 'UNKNOWN']),\n appVersion: z.string().max(24).optional(),\n deviceLabel: z.string().max(80).optional(),\n});\n\nexport const RegisterPushDeviceResponseSchema = z.object({\n deviceId: z.string(),\n registeredAt: z.iso.datetime(),\n});\n\n/** `GET /notifications` — paged in-app notification inbox for the authenticated user. */\nexport const ListNotificationsQuerySchema = PaginationParamsSchema.extend({\n isRead: z\n .enum(['true', 'false'])\n .optional()\n .transform((value) => (value === undefined ? undefined : value === 'true')),\n});\n\nexport const ListNotificationsResponseSchema = z.object({\n items: z.array(NotificationResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const NotificationsUnreadCountResponseSchema = z.object({\n count: z.number().int().nonnegative(),\n});\n\nexport const MarkNotificationReadResponseSchema = z.object({\n id: z.uuid(),\n isRead: z.literal(true),\n readAt: z.iso.datetime(),\n});\n\nexport const MarkAllNotificationsReadResponseSchema = z.object({\n markedCount: z.number().int().nonnegative(),\n});\n\nconst HOST_CATEGORY = z.enum([\n NotificationCategory.EVENT_REMINDERS,\n NotificationCategory.TICKET_PURCHASES,\n NotificationCategory.CREW_UPDATES,\n]);\nconst PRODUCER_CATEGORY = z.enum([\n NotificationCategory.JOB_INVITATIONS,\n NotificationCategory.JOB_CONFIRMATIONS,\n NotificationCategory.MESSAGES,\n]);\n\nexport const HostNotificationPreferenceItemSchema = z.object({\n category: HOST_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const ProducerNotificationPreferenceItemSchema = z.object({\n category: PRODUCER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const HostNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(HOST_CATEGORY, z.boolean()),\n});\n\nexport const ProducerNotificationPreferencesResponseSchema = z.object({\n preferences: z.record(PRODUCER_CATEGORY, z.boolean()),\n});\n\nexport const UpdateHostNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(HostNotificationPreferenceItemSchema).min(1).max(10),\n});\n\nexport const UpdateProducerNotificationPreferencesRequestSchema = z.object({\n preferences: z.array(ProducerNotificationPreferenceItemSchema).min(1).max(10),\n});\n"]}
@@ -1,2 +1,2 @@
1
- import {k,g}from'./chunk-PAUYI2FU.mjs';import {z}from'zod';var n=z.object({bookingId:z.uuid(),rating:z.coerce.number().int().min(1).max(5),comment:z.string().max(500).optional()}),c=z.object({id:z.uuid(),bookingId:z.uuid(),reviewerId:z.uuid(),revieweeId:z.uuid(),rating:z.number().int().min(1).max(5),comment:z.string().nullable(),helpfulCount:z.number().int().nonnegative(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}),i=z.object({rating:z.number().int().min(1).max(5),comment:z.string().nullable(),createdAt:z.iso.datetime()}),s=g,p=z.object({items:z.array(i),...k.shape});export{n as a,c as b,i as c,s as d,p as e};//# sourceMappingURL=chunk-L26MD3EM.mjs.map
2
- //# sourceMappingURL=chunk-L26MD3EM.mjs.map
1
+ import {k,g}from'./chunk-PAUYI2FU.mjs';import {z}from'zod';var n=z.object({bookingId:z.uuid(),rating:z.coerce.number().int().min(1).max(5),comment:z.string().max(500).optional()}),c=z.object({id:z.uuid(),bookingId:z.uuid(),reviewerId:z.uuid(),revieweeId:z.uuid(),rating:z.number().int().min(1).max(5),comment:z.string().nullable(),helpfulCount:z.number().int().nonnegative(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}),i=z.object({rating:z.number().int().min(1).max(5),comment:z.string().nullable(),createdAt:z.iso.datetime()}),s=g,p=z.object({items:z.array(i),...k.shape});export{n as a,c as b,i as c,s as d,p as e};//# sourceMappingURL=chunk-B7O2NN3X.mjs.map
2
+ //# sourceMappingURL=chunk-B7O2NN3X.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/booking/review.schemas.ts"],"names":["CreateMarketplaceReviewRequestSchema","z","MarketplaceReviewResponseSchema","ProducerRecentReviewSchema","ListProducerReviewsQuerySchema","Pagin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I,QAAA,EACnB,CAAC,CAAA,CAOYG,CAAAA,CAAiCC,CAAAA,CAEjCC,CAAAA,CAAqCL,CAAAA,CAAE,OAAO,CACzD,KAAA,CAAOA,CAAAA,CAAE,KAAA,CAAME,CAA0B,CAAA,CACzC,GAAGI,CAAAA,CAAyB,KAC9B,CAAC","file":"chunk-B7O2NN3X.mjs","sourcesContent":["import { z } from 'zod';\nimport { PaginationParamsSchema, PaginationResponseSchema } from '../common/common.schemas';\n\n/**\n * `POST /reviews` — booking participant rates the counterparty once\n * service is complete (`SERVICE_COMPLETED` or `CLOSED`).\n *\n * - Host caller → rates the producer (required before fund release /\n * `SERVICE_COMPLETED → CLOSED`).\n * - Producer caller → rates the host (updates host `averageRating`).\n *\n * One review per `(bookingId, reviewerId)`.\n */\nexport const CreateMarketplaceReviewRequestSchema = z.object({\n bookingId: z.uuid(),\n rating: z.coerce.number().int().min(1).max(5),\n comment: z.string().max(500).optional(),\n});\n\nexport const MarketplaceReviewResponseSchema = z.object({\n id: z.uuid(),\n bookingId: z.uuid(),\n reviewerId: z.uuid(),\n revieweeId: z.uuid(),\n rating: z.number().int().min(1).max(5),\n comment: z.string().nullable(),\n helpfulCount: z.number().int().nonnegative(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\n/** Latest review snippet on public producer profile detail. */\nexport const ProducerRecentReviewSchema = z.object({\n rating: z.number().int().min(1).max(5),\n comment: z.string().nullable(),\n createdAt: z.iso.datetime(),\n});\n\n/**\n * `GET /marketplace/producers/:id/reviews` — paginated public reviews\n * for a marketplace-visible producer (privacy-safe snippets).\n * Alias of shared PaginationParamsSchema (pageNumber / pageSize).\n */\nexport const ListProducerReviewsQuerySchema = PaginationParamsSchema;\n\nexport const PagedProducerReviewsResponseSchema = z.object({\n items: z.array(ProducerRecentReviewSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport type CreateMarketplaceReviewRequest = z.infer<typeof CreateMarketplaceReviewRequestSchema>;\nexport type MarketplaceReviewResponse = z.infer<typeof MarketplaceReviewResponseSchema>;\nexport type ProducerRecentReview = z.infer<typeof ProducerRecentReviewSchema>;\nexport type ListProducerReviewsQuery = z.infer<typeof ListProducerReviewsQuerySchema>;\nexport type PagedProducerReviewsResponse = z.infer<typeof PagedProducerReviewsResponseSchema>;\n"]}
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkFG6EV3WQ_js=require('./chunk-FG6EV3WQ.js'),chunkEAKBQ5VD_js=require('./chunk-EAKBQ5VD.js'),chunkORDM2W6R_js=require('./chunk-ORDM2W6R.js'),zod=require('zod');var q=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.CLOSED],k=[...q,chunkFG6EV3WQ_js.b.IN_DISPUTE],$={[chunkFG6EV3WQ_js.b.DRAFT]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.REQUESTED]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE]:[chunkFG6EV3WQ_js.b.IN_NEGOTIATION,chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_NEGOTIATION]:[chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.ACCEPTED]:[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.CONFIRMED]:[chunkFG6EV3WQ_js.b.IN_PROGRESS,chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_PROGRESS]:[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.IN_DISPUTE]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.REJECTED]:[],[chunkFG6EV3WQ_js.b.CANCELLED]:[],[chunkFG6EV3WQ_js.b.CLOSED]:[]},H={[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.IN_PROGRESS}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.IN_DISPUTE}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.HOST]},w=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.IN_DISPUTE];function W(i,a){return `${i}->${a}`}function F(i){let a=$[i]??[];return k.includes(i)?a:[...a,chunkFG6EV3WQ_js.b.IN_DISPUTE]}function pe(i,a){return F(i).includes(a)}function z(i,a){return a===chunkFG6EV3WQ_js.b.IN_DISPUTE&&!k.includes(i)?[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER]:H[W(i,a)]??[]}function ge(i,a,S){return z(i,a).includes(S)}function Ee(i,a){return w.includes(a)}var Re=zod.z.object({origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),producerId:zod.z.uuid(),agreedAmount:zod.z.number().min(0)}),Te=zod.z.object({escrowReference:zod.z.string()}),Ae=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().optional(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),quotedPrice:zod.z.number(),currency:zod.z.string(),scopeOfWork:zod.z.record(zod.z.string(),zod.z.any()).optional(),requiredStartAt:zod.z.iso.datetime(),requiredEndAt:zod.z.iso.datetime(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),paymentStatus:zod.z.enum(chunkFG6EV3WQ_js.e),escrowReference:zod.z.string().optional(),completedAt:zod.z.iso.datetime().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),Ce=zod.z.object({title:zod.z.string().max(255),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().positive().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional()}),De=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().optional(),title:zod.z.string(),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().nullable().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number(),createdAt:zod.z.iso.datetime()});var d={ONSITE:"ONSITE",REMOTE:"REMOTE"},M={LOW:"LOW",MID:"MID",HIGH:"HIGH"};var P=zod.z.record(zod.z.string(),zod.z.unknown()),Me=zod.z.object({producerId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),jobListingId:zod.z.uuid().optional(),sourceIoiId:zod.z.uuid().optional(),agreedAmount:zod.z.coerce.number().nonnegative().optional(),scopeOfWork:zod.z.string().max(5e3).optional()}).superRefine((i,a)=>{i.origin===chunkFG6EV3WQ_js.a.EVENT_DIRECT&&!i.eventId&&a.addIssue({code:"custom",message:"eventId is required when origin is EVENT_DIRECT",path:["eventId"]}),i.origin===chunkFG6EV3WQ_js.a.MARKETPLACE_DIRECT&&(i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is MARKETPLACE_DIRECT",path:["eventId"]}),i.sourceIoiId&&a.addIssue({code:"custom",message:"sourceIoiId must not be set when origin is MARKETPLACE_DIRECT",path:["sourceIoiId"]})),i.origin===chunkFG6EV3WQ_js.a.JOB_LISTING&&(i.sourceIoiId||a.addIssue({code:"custom",message:"sourceIoiId is required when origin is JOB_LISTING",path:["sourceIoiId"]}),i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is JOB_LISTING",path:["eventId"]})),i.sourceIoiId&&i.origin!==chunkFG6EV3WQ_js.a.JOB_LISTING&&a.addIssue({code:"custom",message:"sourceIoiId is only allowed when origin is JOB_LISTING",path:["sourceIoiId"]});}),C=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().nullable(),eventLinked:zod.z.boolean(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),jobListingId:zod.z.uuid().nullable(),sourceIoiId:zod.z.uuid().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.b),agreedAmount:chunkORDM2W6R_js.h.nullable(),scopeOfWork:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),Pe=zod.z.object({bookingId:zod.z.uuid(),booking:C}),K=zod.z.string().trim().min(5).max(500),ye=zod.z.object({targetState:zod.z.enum(chunkFG6EV3WQ_js.b),reason:K.optional()}).superRefine((i,a)=>{(i.targetState===chunkFG6EV3WQ_js.b.REJECTED||i.targetState===chunkFG6EV3WQ_js.b.CANCELLED||i.targetState===chunkFG6EV3WQ_js.b.IN_DISPUTE)&&i.reason===void 0&&a.addIssue({code:"custom",message:"reason is required for this transition",path:["reason"]});}),_e=zod.z.object({booking:C}),ve=zod.z.object({notes:zod.z.string().max(2e3).optional()}),Be=zod.z.object({notes:zod.z.string().max(2e3).optional()}),je=zod.z.object({booking:C,hostAcked:zod.z.boolean(),producerAcked:zod.z.boolean(),completed:zod.z.boolean(),forced:zod.z.boolean().optional()}),V=(i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required when eventId is not provided",path:["eventTitle"]});},D=(i,a)=>{i.requiredDateLocal!==void 0&&!i.timezone?.trim()&&a.addIssue({code:"custom",message:"timezone is required when requiredDateLocal is provided",path:["timezone"]});},N=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),requiredDateLocal:zod.z.iso.datetime({local:true,offset:false}).optional(),timezone:zod.z.string().min(1).optional(),requiredDate:zod.z.iso.datetime().optional(),estimatedDurationMinutes:zod.z.coerce.number().int().positive().optional(),location:zod.z.enum(d),notes:zod.z.string().max(2e3).optional(),compensation:zod.z.coerce.number().nonnegative().optional(),attachments:P.optional(),eventId:zod.z.uuid().optional()}),Q=N.superRefine(V).superRefine(D),Y=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),location:zod.z.enum(d),eventId:zod.z.uuid().optional()}),X=Y,Ge=N.partial().extend({saveAsDraft:zod.z.boolean().optional().default(false)}).superRefine(D).superRefine((i,a)=>{if(i.saveAsDraft)return;let S=Q.safeParse(i);S.success||a.addIssue({code:"custom",message:S.error.issues.map(J=>J.message).join("; ")});}),Ue=N.partial().superRefine(D),Je=zod.z.object({...chunkORDM2W6R_js.g.shape,location:zod.z.enum(d).optional(),search:zod.z.string().trim().min(2).max(100).optional(),roles:zod.z.string().trim().min(1).max(500).optional(),requiredDateFrom:zod.z.string().optional(),requiredDateTo:zod.z.string().optional(),minCompensation:zod.z.coerce.number().int().min(0).optional(),maxCompensation:zod.z.coerce.number().int().min(0).optional(),compensationTier:zod.z.enum(M).optional(),matchMyAvailability:zod.z.enum(["true","false"]).optional().transform(i=>i==="true")}),qe=zod.z.object({...chunkORDM2W6R_js.g.shape,state:zod.z.enum(chunkFG6EV3WQ_js.c).optional(),search:zod.z.string().trim().min(2).max(100).optional()}),$e=X.superRefine((i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required for standalone job listings",path:["eventTitle"]});}),He=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("OPEN")}),we=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().nullable(),title:zod.z.string(),eventTitle:zod.z.string().nullable(),notes:zod.z.string().nullable(),description:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),role:zod.z.string(),requiredCount:zod.z.number().int().min(1),requiredDate:zod.z.string().nullable(),requiredDateLocal:zod.z.string().nullable(),timezone:zod.z.string().nullable(),estimatedDurationMinutes:zod.z.number().int().nullable(),location:zod.z.enum(d),compensation:chunkORDM2W6R_js.h.nullable(),attachments:zod.z.unknown().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number().int(),cancelledAt:zod.z.string().nullable(),cancelledReason:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),We=zod.z.object({reason:zod.z.string().trim().min(5).max(500).optional()}),Fe=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("CANCELLED"),cancelledAt:zod.z.iso.datetime().nullable()}),ze=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.SUSPENDED)}),Ke=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.OPEN)}),Ve=zod.z.object({coverMessage:zod.z.string().min(1).max(2e3).optional(),proposedAmount:zod.z.coerce.number().nonnegative().optional(),availabilityNotes:zod.z.string().max(2e3).optional(),attachments:P.optional()}),y=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().nullable(),proposedAmount:chunkORDM2W6R_js.h.nullable(),availabilityNotes:zod.z.string().nullable(),state:zod.z.enum(chunkEAKBQ5VD_js.a),resultingBookingId:zod.z.uuid().nullable(),withdrawnAt:zod.z.string().nullable(),selectedAt:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),Z=y.extend({producerCompanyName:zod.z.string().nullable()}),T={CREATED_AT:"createdAt",UPDATED_AT:"updatedAt",PROPOSED_AMOUNT:"proposedAmount"},A={ASC:"asc",DESC:"desc"},Qe=zod.z.object({...chunkORDM2W6R_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(T).default(T.CREATED_AT),sortOrder:zod.z.enum(A).default(A.DESC)}),Ye=Z.extend({producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.url().nullable(),producerServiceCategoryLabels:zod.z.array(zod.z.string()),producerEquipmentLabels:zod.z.array(zod.z.string()),producerIsVerified:zod.z.boolean(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(d),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable()}),Xe=zod.z.object({...chunkORDM2W6R_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(T).default(T.CREATED_AT),sortOrder:zod.z.enum(A).default(A.DESC)}),Ze=y.extend({hostBusinessName:zod.z.string().nullable(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(d),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable(),jobListingRequiredDate:zod.z.string().nullable(),jobListingCompensation:chunkORDM2W6R_js.h.nullable()});var _={SENT:"SENT",DELIVERED:"DELIVERED",READ:"READ"};var ee=zod.z.object({id:zod.z.uuid(),bookingId:zod.z.uuid(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),te=zod.z.object({id:zod.z.uuid(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int(),createdAt:zod.z.string()}),O=zod.z.object({id:zod.z.uuid(),threadId:zod.z.uuid(),senderUserId:zod.z.uuid(),body:zod.z.string(),sentAt:zod.z.string(),deliveryStatus:zod.z.enum(_),readAt:zod.z.string().nullable(),attachments:zod.z.array(te)}),st=chunkORDM2W6R_js.g,at=zod.z.object({messages:zod.z.array(O),...chunkORDM2W6R_js.k.shape}),ut=zod.z.object({thread:ee,messages:zod.z.array(O),...chunkORDM2W6R_js.k.shape}),ct=zod.z.object({body:zod.z.string().trim().min(1).max(5e3),attachments:zod.z.array(zod.z.object({url:zod.z.string().url(),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()})).max(10).optional()}),lt=zod.z.object({message:O}),mt=zod.z.object({url:zod.z.url(),key:zod.z.string().min(1),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()}),dt=zod.z.object({upToMessageId:zod.z.uuid().optional()}),pt=zod.z.object({markedCount:zod.z.number().int().nonnegative()}),oe=zod.z.object({threadId:zod.z.uuid(),bookingId:zod.z.uuid(),title:zod.z.string(),lastMessagePreview:zod.z.string().nullable(),lastMessageAt:zod.z.string().nullable(),lastSenderUserId:zod.z.uuid().nullable(),lastSenderDisplayName:zod.z.string().nullable(),unreadCount:zod.z.number().int().nonnegative(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),producerProfileId:zod.z.uuid(),producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.string().nullable(),hostProfileId:zod.z.uuid(),hostDisplayName:zod.z.string(),hostAvatarUrl:zod.z.string().nullable(),counterpartyDisplayName:zod.z.string(),counterpartyAvatarUrl:zod.z.string().nullable(),counterpartyRole:zod.z.enum(["HOST","PRODUCER"])}),gt=zod.z.object({items:zod.z.array(oe),...chunkORDM2W6R_js.k.shape});var v=zod.z.enum(["APPLICATIONS","UPCOMING","LIVE","COMPLETED","JOB_INVITES"]),ne=zod.z.enum(["PENDING","SHORTLISTED","SELECTED","WITHDRAWN","REJECTED","CANCELLED","INVITED","NEGOTIATING","CONFIRMED","LIVE","COMPLETED","DISPUTED"]),ie=zod.z.enum(["IOI","BOOKING","ASSIGNMENT"]),bt=zod.z.object({tab:v,search:zod.z.string().trim().min(2).max(100).optional(),...chunkORDM2W6R_js.g.shape}),re=zod.z.object({id:zod.z.uuid(),kind:ie,eventName:zod.z.string(),date:zod.z.string().nullable(),role:zod.z.string(),payment:chunkORDM2W6R_js.h.nullable(),status:ne,statusCode:zod.z.string(),jobListingId:zod.z.uuid().nullable(),bookingId:zod.z.uuid().nullable(),ioiId:zod.z.uuid().nullable(),eventId:zod.z.uuid().nullable(),assignmentId:zod.z.uuid().nullable().optional()}),Rt=zod.z.object({tab:v,items:zod.z.array(re),...chunkORDM2W6R_js.k.shape}),Tt=zod.z.object({applications:zod.z.number().int().nonnegative(),upcoming:zod.z.number().int().nonnegative(),live:zod.z.number().int().nonnegative(),completed:zod.z.number().int().nonnegative(),jobInvites:zod.z.number().int().nonnegative()});var se=zod.z.object({id:zod.z.string(),role:chunkORDM2W6R_js.b}),L=zod.z.object({reason:zod.z.string().optional(),ipAddress:zod.z.string().optional(),userAgent:zod.z.string().optional(),traceId:zod.z.string().optional()}),B=zod.z.record(zod.z.string(),zod.z.unknown()),ae=L.extend({beforeState:B.optional(),afterState:B.optional()}),ue=L.extend({messageId:zod.z.string(),bodyPreview:zod.z.string(),attachmentCount:zod.z.number().int().nonnegative().optional()}),ce=L.extend({messageId:zod.z.string(),attachmentId:zod.z.string(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int().nonnegative()}),h={timestamp:zod.z.string().datetime(),actor:se};function b(i){return zod.z.object({...h,action:zod.z.literal(i),details:ae})}var le=zod.z.discriminatedUnion("action",[b(chunkFG6EV3WQ_js.g.STATE_CHANGED),b(chunkFG6EV3WQ_js.g.TERMS_MODIFIED),b(chunkFG6EV3WQ_js.g.BOOKING_CREATED),b(chunkFG6EV3WQ_js.g.BOOKING_COMPLETED),b(chunkFG6EV3WQ_js.g.BOOKING_CANCELLED),b(chunkFG6EV3WQ_js.g.BOOKING_ACCEPTED),b(chunkFG6EV3WQ_js.g.BOOKING_REJECTED),zod.z.object({...h,action:zod.z.literal(chunkFG6EV3WQ_js.g.MESSAGE_SENT),details:ue}),zod.z.object({...h,action:zod.z.literal(chunkFG6EV3WQ_js.g.ATTACHMENT_ADDED),details:ce})]),ht=zod.z.object({items:zod.z.array(le),...chunkORDM2W6R_js.k.shape});var j={DRAFT:"DRAFT",INVITED:"INVITED",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",EXPIRED:"EXPIRED"};var G=zod.z.object({role:zod.z.string().trim().min(1).max(120),responsibilities:zod.z.string().trim().min(1).max(5e3),requirements:zod.z.string().trim().min(1).max(5e3),compensation:chunkORDM2W6R_js.h,location:zod.z.enum(d),notes:zod.z.string().trim().max(2e3).optional()}),yt=G.extend({producerId:zod.z.uuid()}),_t=G.partial().refine(i=>Object.keys(i).length>0,{message:"At least one field is required"}),me=zod.z.object({id:zod.z.uuid(),companyName:zod.z.string(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.string().nullable(),producerIsVerified:zod.z.boolean()}),U=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),role:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),compensation:chunkORDM2W6R_js.h,location:zod.z.enum(d),notes:zod.z.string().nullable(),state:zod.z.enum(j),bookingId:zod.z.uuid().nullable(),invitedAt:zod.z.iso.datetime().nullable(),respondedAt:zod.z.iso.datetime().nullable(),rejectReason:zod.z.string().nullable(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),producer:me.optional(),eventTitle:zod.z.string().optional(),eventScheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}).nullable().optional()}),vt=zod.z.object({items:zod.z.array(U)}),Bt=zod.z.object({reason:zod.z.string().trim().min(5).max(500)}),jt=zod.z.object({assignment:U,bookingId:zod.z.uuid()});exports.$=lt;exports.A=Ue;exports.Aa=Bt;exports.B=Je;exports.Ba=jt;exports.C=qe;exports.D=$e;exports.E=He;exports.F=we;exports.G=We;exports.H=Fe;exports.I=ze;exports.J=Ke;exports.K=Ve;exports.L=y;exports.M=Z;exports.N=T;exports.O=A;exports.P=Qe;exports.Q=Ye;exports.R=Xe;exports.S=Ze;exports.T=_;exports.U=ee;exports.V=te;exports.W=O;exports.X=st;exports.Y=at;exports.Z=ut;exports._=ct;exports.a=q;exports.aa=mt;exports.b=$;exports.ba=dt;exports.c=H;exports.ca=pt;exports.d=w;exports.da=oe;exports.e=W;exports.ea=gt;exports.f=F;exports.fa=v;exports.g=pe;exports.ga=ne;exports.h=z;exports.ha=ie;exports.i=ge;exports.ia=bt;exports.j=Ee;exports.ja=re;exports.k=Re;exports.ka=Rt;exports.l=Te;exports.la=Tt;exports.m=Ae;exports.ma=se;exports.n=Ce;exports.na=L;exports.o=De;exports.oa=B;exports.p=d;exports.pa=ae;exports.q=M;exports.qa=ue;exports.r=Me;exports.ra=ce;exports.s=C;exports.sa=le;exports.t=Pe;exports.ta=ht;exports.u=ye;exports.ua=j;exports.v=_e;exports.va=yt;exports.w=ve;exports.wa=_t;exports.x=Be;exports.xa=me;exports.y=je;exports.ya=U;exports.z=Ge;exports.za=vt;//# sourceMappingURL=chunk-DWFDZJGV.js.map
2
+ //# sourceMappingURL=chunk-DWFDZJGV.js.map