@livdot-tech/contracts 1.5.7 → 1.5.8

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 (72) hide show
  1. package/dist/auth/index.d.mts +10 -1
  2. package/dist/auth/index.d.ts +10 -1
  3. package/dist/auth/index.js +1 -1
  4. package/dist/auth/index.mjs +1 -1
  5. package/dist/booking/index.d.mts +3 -116
  6. package/dist/booking/index.d.ts +3 -116
  7. package/dist/booking/index.js +1 -1
  8. package/dist/booking/index.mjs +1 -1
  9. package/dist/chunk-2SBD35GV.js +2 -0
  10. package/dist/chunk-2SBD35GV.js.map +1 -0
  11. package/dist/chunk-HDXG5AKS.mjs +2 -0
  12. package/dist/{chunk-XUOMVQVQ.mjs.map → chunk-HDXG5AKS.mjs.map} +1 -1
  13. package/dist/chunk-JCAWAKZN.mjs +2 -0
  14. package/dist/chunk-JCAWAKZN.mjs.map +1 -0
  15. package/dist/chunk-JXM7K5X5.js +2 -0
  16. package/dist/chunk-JXM7K5X5.js.map +1 -0
  17. package/dist/{chunk-2TQ3BI34.js → chunk-LEBP3RB5.js} +2 -2
  18. package/dist/{chunk-2TQ3BI34.js.map → chunk-LEBP3RB5.js.map} +1 -1
  19. package/dist/chunk-QGEYDED6.js +2 -0
  20. package/dist/chunk-QGEYDED6.js.map +1 -0
  21. package/dist/{chunk-PCFMRWWF.mjs → chunk-R6SQRDH7.mjs} +2 -2
  22. package/dist/chunk-R6SQRDH7.mjs.map +1 -0
  23. package/dist/{chunk-QK5JKCO4.js → chunk-TLH4NZ36.js} +2 -2
  24. package/dist/chunk-TLH4NZ36.js.map +1 -0
  25. package/dist/chunk-WQRHUUGO.mjs +2 -0
  26. package/dist/chunk-WQRHUUGO.mjs.map +1 -0
  27. package/dist/chunk-X7OLLQRF.mjs +2 -0
  28. package/dist/chunk-X7OLLQRF.mjs.map +1 -0
  29. package/dist/chunk-YYP6D3S5.js +2 -0
  30. package/dist/chunk-YYP6D3S5.js.map +1 -0
  31. package/dist/chunk-ZVAGI5CH.mjs +2 -0
  32. package/dist/chunk-ZVAGI5CH.mjs.map +1 -0
  33. package/dist/common/index.d.mts +28 -13
  34. package/dist/common/index.d.ts +28 -13
  35. package/dist/common/index.js +1 -1
  36. package/dist/common/index.mjs +1 -1
  37. package/dist/event/index.d.mts +195 -12
  38. package/dist/event/index.d.ts +195 -12
  39. package/dist/event/index.js +1 -1
  40. package/dist/event/index.mjs +1 -1
  41. package/dist/index.d.mts +339 -21
  42. package/dist/index.d.ts +339 -21
  43. package/dist/index.js +1 -1
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +1 -1
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/marketplace/index.d.mts +3 -61
  48. package/dist/marketplace/index.d.ts +3 -61
  49. package/dist/marketplace/index.js +1 -1
  50. package/dist/marketplace/index.mjs +1 -1
  51. package/dist/user/index.js +1 -1
  52. package/dist/user/index.mjs +1 -1
  53. package/package.json +1 -1
  54. package/dist/chunk-54FMKF33.js +0 -2
  55. package/dist/chunk-54FMKF33.js.map +0 -1
  56. package/dist/chunk-EGUWLSAA.mjs +0 -2
  57. package/dist/chunk-EGUWLSAA.mjs.map +0 -1
  58. package/dist/chunk-EJCFJL2F.mjs +0 -2
  59. package/dist/chunk-EJCFJL2F.mjs.map +0 -1
  60. package/dist/chunk-FE3AMYQL.mjs +0 -2
  61. package/dist/chunk-FE3AMYQL.mjs.map +0 -1
  62. package/dist/chunk-GKYB3J5L.js +0 -2
  63. package/dist/chunk-GKYB3J5L.js.map +0 -1
  64. package/dist/chunk-OZFSYIAL.js +0 -2
  65. package/dist/chunk-OZFSYIAL.js.map +0 -1
  66. package/dist/chunk-PCFMRWWF.mjs.map +0 -1
  67. package/dist/chunk-QK5JKCO4.js.map +0 -1
  68. package/dist/chunk-VRSJMPBY.js +0 -2
  69. package/dist/chunk-VRSJMPBY.js.map +0 -1
  70. package/dist/chunk-XUOMVQVQ.mjs +0 -2
  71. package/dist/chunk-Y3FL6AED.mjs +0 -2
  72. package/dist/chunk-Y3FL6AED.mjs.map +0 -1
@@ -191,6 +191,13 @@ declare const OauthLinkCompleteEmailRequestSchema: z.ZodObject<{
191
191
  linkHandoff: z.ZodString;
192
192
  email: z.ZodEmail;
193
193
  }, z.core.$strip>;
194
+ declare const ConfirmPasswordSchema: z.ZodObject<{
195
+ password: z.ZodString;
196
+ }, z.core.$strip>;
197
+ declare const ReauthTokenResponseSchema: z.ZodObject<{
198
+ reauthToken: z.ZodString;
199
+ expiresAt: z.ZodISODateTime;
200
+ }, z.core.$strip>;
194
201
 
195
202
  type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
196
203
  type LoginRequest = z.infer<typeof LoginRequestSchema>;
@@ -214,6 +221,8 @@ type OauthLinkSendOtpResponse = z.infer<typeof OauthLinkSendOtpResponseSchema>;
214
221
  type ProvidersListResponse = z.infer<typeof ProvidersListResponseSchema>;
215
222
  type ProvidersListItem = z.infer<typeof ProvidersListItemSchema>;
216
223
  type OauthLinkCompleteEmailRequest = z.infer<typeof OauthLinkCompleteEmailRequestSchema>;
224
+ type ConfirmPassword = z.infer<typeof ConfirmPasswordSchema>;
225
+ type ReauthTokenResponse = z.infer<typeof ReauthTokenResponseSchema>;
217
226
 
218
227
  declare const IdentityProvider: {
219
228
  readonly GOOGLE: "GOOGLE";
@@ -234,4 +243,4 @@ declare const OauthResolveKind: {
234
243
  };
235
244
  type OauthResolveKind = (typeof OauthResolveKind)[keyof typeof OauthResolveKind];
236
245
 
237
- export { type ChangePasswordRequest, ChangePasswordRequestSchema, type CognitoTokenPayload, CognitoTokenPayloadSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
246
+ export { type ChangePasswordRequest, ChangePasswordRequestSchema, type CognitoTokenPayload, CognitoTokenPayloadSchema, type ConfirmPassword, ConfirmPasswordSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, type ReauthTokenResponse, ReauthTokenResponseSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
@@ -191,6 +191,13 @@ declare const OauthLinkCompleteEmailRequestSchema: z.ZodObject<{
191
191
  linkHandoff: z.ZodString;
192
192
  email: z.ZodEmail;
193
193
  }, z.core.$strip>;
194
+ declare const ConfirmPasswordSchema: z.ZodObject<{
195
+ password: z.ZodString;
196
+ }, z.core.$strip>;
197
+ declare const ReauthTokenResponseSchema: z.ZodObject<{
198
+ reauthToken: z.ZodString;
199
+ expiresAt: z.ZodISODateTime;
200
+ }, z.core.$strip>;
194
201
 
195
202
  type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
196
203
  type LoginRequest = z.infer<typeof LoginRequestSchema>;
@@ -214,6 +221,8 @@ type OauthLinkSendOtpResponse = z.infer<typeof OauthLinkSendOtpResponseSchema>;
214
221
  type ProvidersListResponse = z.infer<typeof ProvidersListResponseSchema>;
215
222
  type ProvidersListItem = z.infer<typeof ProvidersListItemSchema>;
216
223
  type OauthLinkCompleteEmailRequest = z.infer<typeof OauthLinkCompleteEmailRequestSchema>;
224
+ type ConfirmPassword = z.infer<typeof ConfirmPasswordSchema>;
225
+ type ReauthTokenResponse = z.infer<typeof ReauthTokenResponseSchema>;
217
226
 
218
227
  declare const IdentityProvider: {
219
228
  readonly GOOGLE: "GOOGLE";
@@ -234,4 +243,4 @@ declare const OauthResolveKind: {
234
243
  };
235
244
  type OauthResolveKind = (typeof OauthResolveKind)[keyof typeof OauthResolveKind];
236
245
 
237
- export { type ChangePasswordRequest, ChangePasswordRequestSchema, type CognitoTokenPayload, CognitoTokenPayloadSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
246
+ export { type ChangePasswordRequest, ChangePasswordRequestSchema, type CognitoTokenPayload, CognitoTokenPayloadSchema, type ConfirmPassword, ConfirmPasswordSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, type LinkRequiredResponse, LinkRequiredResponseSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type LogoutRequestPayload, LogoutRequestSchema, type OauthDirectTokenRequest, OauthDirectTokenRequestSchema, type OauthExchangeRequest, OauthExchangeRequestSchema, type OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, type OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, type OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, type OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, type OauthStartQuery, OauthStartQuerySchema, type OauthStartResponse, OauthStartResponseSchema, type ProvidersListItem, ProvidersListItemSchema, type ProvidersListResponse, ProvidersListResponseSchema, type ReauthTokenResponse, ReauthTokenResponseSchema, type RefreshTokenRequest, RefreshTokenRequestSchema, type RegisterRequest, RegisterRequestSchema, type RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkQK5JKCO4_js=require('../chunk-QK5JKCO4.js');require('../chunk-2TQ3BI34.js'),require('../chunk-W2AXUTIW.js'),require('../chunk-VRSJMPBY.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.p}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.q}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.m}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.n}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkQK5JKCO4_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkQK5JKCO4_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.x}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.f}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.j}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.l}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.u}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.t}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.B}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.v}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.w}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.y}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkQK5JKCO4_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.r}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.s}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.z}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.A}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.k}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.d}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.e}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.h}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.o}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.g}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkQK5JKCO4_js.i}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkTLH4NZ36_js=require('../chunk-TLH4NZ36.js');require('../chunk-LEBP3RB5.js'),require('../chunk-W2AXUTIW.js'),require('../chunk-YYP6D3S5.js'),require('../chunk-QGEYDED6.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.p}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.q}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.C}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.m}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.n}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkTLH4NZ36_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkTLH4NZ36_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.x}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.f}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.j}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.l}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.u}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.t}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.B}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.v}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.w}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.y}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkTLH4NZ36_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.r}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.s}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.z}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.A}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.D}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.k}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.d}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.e}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.h}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.o}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.g}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkTLH4NZ36_js.i}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{p as ChangePasswordRequestSchema,q as CognitoTokenPayloadSchema,m as ForgotPasswordRequestSchema,n as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,f as LoginRequestSchema,j as LoginResponseSchema,l as LogoutRequestSchema,u as OauthDirectTokenRequestSchema,t as OauthExchangeRequestSchema,B as OauthLinkCompleteEmailRequestSchema,v as OauthLinkCompleteRequestSchema,w as OauthLinkSendOtpRequestSchema,y as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,r as OauthStartQuerySchema,s as OauthStartResponseSchema,z as ProvidersListItemSchema,A as ProvidersListResponseSchema,k as RefreshTokenRequestSchema,d as RegisterRequestSchema,e as RegisterResponseSchema,h as ResendOtpRequestSchema,o as ResetPasswordRequestSchema,g as VerifyOtpRequestSchema,i as VerifyOtpResponseSchema}from'../chunk-PCFMRWWF.mjs';import'../chunk-XUOMVQVQ.mjs';import'../chunk-EQVYSKSG.mjs';import'../chunk-EJCFJL2F.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{p as ChangePasswordRequestSchema,q as CognitoTokenPayloadSchema,C as ConfirmPasswordSchema,m as ForgotPasswordRequestSchema,n as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,f as LoginRequestSchema,j as LoginResponseSchema,l as LogoutRequestSchema,u as OauthDirectTokenRequestSchema,t as OauthExchangeRequestSchema,B as OauthLinkCompleteEmailRequestSchema,v as OauthLinkCompleteRequestSchema,w as OauthLinkSendOtpRequestSchema,y as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,r as OauthStartQuerySchema,s as OauthStartResponseSchema,z as ProvidersListItemSchema,A as ProvidersListResponseSchema,D as ReauthTokenResponseSchema,k as RefreshTokenRequestSchema,d as RegisterRequestSchema,e as RegisterResponseSchema,h as ResendOtpRequestSchema,o as ResetPasswordRequestSchema,g as VerifyOtpRequestSchema,i as VerifyOtpResponseSchema}from'../chunk-R6SQRDH7.mjs';import'../chunk-HDXG5AKS.mjs';import'../chunk-EQVYSKSG.mjs';import'../chunk-JCAWAKZN.mjs';import'../chunk-X7OLLQRF.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -266,48 +266,6 @@ declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
266
266
  updatedAt: z.ZodString;
267
267
  }, z.core.$strip>;
268
268
  }, z.core.$strip>;
269
- /** Shared `limit` / `cursor` for host-scoped marketplace list endpoints */
270
- declare const MarketplaceListPaginationQuerySchema: z.ZodObject<{
271
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
272
- cursor: z.ZodOptional<z.ZodUUID>;
273
- }, z.core.$strip>;
274
- /** `GET /marketplace/bookings` */
275
- declare const ListMarketplaceBookingsQuerySchema: z.ZodObject<{
276
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
277
- cursor: z.ZodOptional<z.ZodUUID>;
278
- }, z.core.$strip>;
279
- declare const ListMarketplaceBookingsResponseSchema: z.ZodObject<{
280
- bookings: z.ZodArray<z.ZodObject<{
281
- id: z.ZodUUID;
282
- eventId: z.ZodNullable<z.ZodUUID>;
283
- hostProfileId: z.ZodUUID;
284
- producerProfileId: z.ZodUUID;
285
- origin: z.ZodEnum<{
286
- readonly EVENT_DIRECT: "EVENT_DIRECT";
287
- readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
288
- readonly JOB_LISTING: "JOB_LISTING";
289
- }>;
290
- jobListingId: z.ZodNullable<z.ZodUUID>;
291
- sourceIoiId: z.ZodNullable<z.ZodUUID>;
292
- state: z.ZodEnum<{
293
- readonly REQUESTED: "REQUESTED";
294
- readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
295
- readonly IN_NEGOTIATION: "IN_NEGOTIATION";
296
- readonly ACCEPTED: "ACCEPTED";
297
- readonly REJECTED: "REJECTED";
298
- readonly CANCELLED: "CANCELLED";
299
- readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
300
- readonly CONFIRMED: "CONFIRMED";
301
- readonly IN_PROGRESS: "IN_PROGRESS";
302
- readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
303
- readonly IN_DISPUTE: "IN_DISPUTE";
304
- readonly CLOSED: "CLOSED";
305
- }>;
306
- createdAt: z.ZodString;
307
- updatedAt: z.ZodString;
308
- }, z.core.$strip>>;
309
- nextCursor: z.ZodNullable<z.ZodUUID>;
310
- }, z.core.$strip>;
311
269
  /** `POST /marketplace/bookings/:id/transition` (host, producer, admin) */
312
270
  declare const TransitionMarketplaceBookingRequestSchema: z.ZodObject<{
313
271
  targetState: z.ZodEnum<{
@@ -397,13 +355,8 @@ declare const ListMarketplaceJobListingsQuerySchema: z.ZodObject<{
397
355
  readonly ONSITE: "ONSITE";
398
356
  readonly REMOTE: "REMOTE";
399
357
  }>>;
400
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
401
- cursor: z.ZodOptional<z.ZodUUID>;
402
- }, z.core.$strip>;
403
- /** `GET /marketplace/job-listings/mine` */
404
- declare const ListMarketplaceJobListingsMineQuerySchema: z.ZodObject<{
405
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
406
- cursor: z.ZodOptional<z.ZodUUID>;
358
+ pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
359
+ pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
407
360
  }, z.core.$strip>;
408
361
  declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
409
362
  id: z.ZodUUID;
@@ -432,36 +385,6 @@ declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
432
385
  createdAt: z.ZodString;
433
386
  updatedAt: z.ZodString;
434
387
  }, z.core.$strip>;
435
- declare const ListMarketplaceJobListingsResponseSchema: z.ZodObject<{
436
- jobListings: z.ZodArray<z.ZodObject<{
437
- id: z.ZodUUID;
438
- hostProfileId: z.ZodUUID;
439
- eventId: z.ZodNullable<z.ZodUUID>;
440
- title: z.ZodString;
441
- notes: z.ZodNullable<z.ZodString>;
442
- description: z.ZodString;
443
- responsibilities: z.ZodString;
444
- requirements: z.ZodString;
445
- role: z.ZodString;
446
- requiredDate: z.ZodNullable<z.ZodString>;
447
- estimatedDurationHours: z.ZodNullable<z.ZodNumber>;
448
- location: z.ZodEnum<{
449
- readonly ONSITE: "ONSITE";
450
- readonly REMOTE: "REMOTE";
451
- }>;
452
- compensation: z.ZodNullable<z.ZodNumber>;
453
- attachments: z.ZodNullable<z.ZodUnknown>;
454
- state: z.ZodEnum<{
455
- readonly OPEN: "OPEN";
456
- readonly CLOSED: "CLOSED";
457
- readonly SUSPENDED: "SUSPENDED";
458
- }>;
459
- proposalCount: z.ZodNumber;
460
- createdAt: z.ZodString;
461
- updatedAt: z.ZodString;
462
- }, z.core.$strip>>;
463
- nextCursor: z.ZodNullable<z.ZodUUID>;
464
- }, z.core.$strip>;
465
388
  /** `POST .../indications-of-interest` */
466
389
  declare const SubmitMarketplaceIndicationOfInterestRequestSchema: z.ZodObject<{
467
390
  coverMessage: z.ZodOptional<z.ZodString>;
@@ -511,54 +434,18 @@ declare const MarketplaceIndicationOfInterestHostItemSchema: z.ZodObject<{
511
434
  updatedAt: z.ZodString;
512
435
  producerCompanyName: z.ZodNullable<z.ZodString>;
513
436
  }, z.core.$strip>;
514
- /** `GET .../indications-of-interest` (host review list) */
515
- declare const ListMarketplaceIndicationsOfInterestQuerySchema: z.ZodObject<{
516
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
517
- cursor: z.ZodOptional<z.ZodUUID>;
518
- }, z.core.$strip>;
519
- declare const ListMarketplaceIndicationsOfInterestResponseSchema: z.ZodObject<{
520
- indications: z.ZodArray<z.ZodObject<{
521
- id: z.ZodUUID;
522
- jobListingId: z.ZodUUID;
523
- producerProfileId: z.ZodUUID;
524
- coverMessage: z.ZodNullable<z.ZodString>;
525
- proposedAmount: z.ZodNullable<z.ZodNumber>;
526
- availabilityNotes: z.ZodNullable<z.ZodString>;
527
- state: z.ZodEnum<{
528
- readonly OPEN: "OPEN";
529
- readonly SHORTLISTED: "SHORTLISTED";
530
- readonly WITHDRAWN: "WITHDRAWN";
531
- readonly SELECTED: "SELECTED";
532
- readonly REJECTED: "REJECTED";
533
- }>;
534
- resultingBookingId: z.ZodNullable<z.ZodUUID>;
535
- withdrawnAt: z.ZodNullable<z.ZodString>;
536
- selectedAt: z.ZodNullable<z.ZodString>;
537
- createdAt: z.ZodString;
538
- updatedAt: z.ZodString;
539
- producerCompanyName: z.ZodNullable<z.ZodString>;
540
- }, z.core.$strip>>;
541
- nextCursor: z.ZodNullable<z.ZodUUID>;
542
- }, z.core.$strip>;
543
437
 
544
438
  type CreateMarketplaceBookingRequest = z.infer<typeof CreateMarketplaceBookingRequestSchema>;
545
439
  type MarketplaceBookingResponse = z.infer<typeof MarketplaceBookingResponseSchema>;
546
440
  type CreateMarketplaceJobListingRequest = z.infer<typeof CreateMarketplaceJobListingRequestSchema>;
547
441
  type UpdateMarketplaceJobListingRequest = z.infer<typeof UpdateMarketplaceJobListingRequestSchema>;
548
442
  type ListMarketplaceJobListingsQuery = z.infer<typeof ListMarketplaceJobListingsQuerySchema>;
549
- type ListMarketplaceJobListingsResponse = z.infer<typeof ListMarketplaceJobListingsResponseSchema>;
550
443
  type MarketplaceJobListingResponse = z.infer<typeof MarketplaceJobListingResponseSchema>;
551
444
  type SubmitMarketplaceIndicationOfInterestRequest = z.infer<typeof SubmitMarketplaceIndicationOfInterestRequestSchema>;
552
445
  type MarketplaceIndicationOfInterestResponse = z.infer<typeof MarketplaceIndicationOfInterestResponseSchema>;
553
446
  type CreateMarketplaceBookingResponse = z.infer<typeof CreateMarketplaceBookingResponseSchema>;
554
- type MarketplaceListPaginationQuery = z.infer<typeof MarketplaceListPaginationQuerySchema>;
555
- type ListMarketplaceBookingsQuery = z.infer<typeof ListMarketplaceBookingsQuerySchema>;
556
- type ListMarketplaceBookingsResponse = z.infer<typeof ListMarketplaceBookingsResponseSchema>;
557
- type ListMarketplaceJobListingsMineQuery = z.infer<typeof ListMarketplaceJobListingsMineQuerySchema>;
558
- type ListMarketplaceIndicationsOfInterestQuery = z.infer<typeof ListMarketplaceIndicationsOfInterestQuerySchema>;
559
- type ListMarketplaceIndicationsOfInterestResponse = z.infer<typeof ListMarketplaceIndicationsOfInterestResponseSchema>;
560
447
  type MarketplaceIndicationOfInterestHostItem = z.infer<typeof MarketplaceIndicationOfInterestHostItemSchema>;
561
448
  type TransitionMarketplaceBookingRequest = z.infer<typeof TransitionMarketplaceBookingRequestSchema>;
562
449
  type TransitionMarketplaceBookingResponse = z.infer<typeof TransitionMarketplaceBookingResponseSchema>;
563
450
 
564
- export { BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListMarketplaceBookingsQuery, ListMarketplaceBookingsQuerySchema, type ListMarketplaceBookingsResponse, ListMarketplaceBookingsResponseSchema, type ListMarketplaceIndicationsOfInterestQuery, ListMarketplaceIndicationsOfInterestQuerySchema, type ListMarketplaceIndicationsOfInterestResponse, ListMarketplaceIndicationsOfInterestResponseSchema, type ListMarketplaceJobListingsMineQuery, ListMarketplaceJobListingsMineQuerySchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListMarketplaceJobListingsResponse, ListMarketplaceJobListingsResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceListPaginationQuery, MarketplaceListPaginationQuerySchema, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
451
+ export { BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
@@ -266,48 +266,6 @@ declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
266
266
  updatedAt: z.ZodString;
267
267
  }, z.core.$strip>;
268
268
  }, z.core.$strip>;
269
- /** Shared `limit` / `cursor` for host-scoped marketplace list endpoints */
270
- declare const MarketplaceListPaginationQuerySchema: z.ZodObject<{
271
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
272
- cursor: z.ZodOptional<z.ZodUUID>;
273
- }, z.core.$strip>;
274
- /** `GET /marketplace/bookings` */
275
- declare const ListMarketplaceBookingsQuerySchema: z.ZodObject<{
276
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
277
- cursor: z.ZodOptional<z.ZodUUID>;
278
- }, z.core.$strip>;
279
- declare const ListMarketplaceBookingsResponseSchema: z.ZodObject<{
280
- bookings: z.ZodArray<z.ZodObject<{
281
- id: z.ZodUUID;
282
- eventId: z.ZodNullable<z.ZodUUID>;
283
- hostProfileId: z.ZodUUID;
284
- producerProfileId: z.ZodUUID;
285
- origin: z.ZodEnum<{
286
- readonly EVENT_DIRECT: "EVENT_DIRECT";
287
- readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
288
- readonly JOB_LISTING: "JOB_LISTING";
289
- }>;
290
- jobListingId: z.ZodNullable<z.ZodUUID>;
291
- sourceIoiId: z.ZodNullable<z.ZodUUID>;
292
- state: z.ZodEnum<{
293
- readonly REQUESTED: "REQUESTED";
294
- readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
295
- readonly IN_NEGOTIATION: "IN_NEGOTIATION";
296
- readonly ACCEPTED: "ACCEPTED";
297
- readonly REJECTED: "REJECTED";
298
- readonly CANCELLED: "CANCELLED";
299
- readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
300
- readonly CONFIRMED: "CONFIRMED";
301
- readonly IN_PROGRESS: "IN_PROGRESS";
302
- readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
303
- readonly IN_DISPUTE: "IN_DISPUTE";
304
- readonly CLOSED: "CLOSED";
305
- }>;
306
- createdAt: z.ZodString;
307
- updatedAt: z.ZodString;
308
- }, z.core.$strip>>;
309
- nextCursor: z.ZodNullable<z.ZodUUID>;
310
- }, z.core.$strip>;
311
269
  /** `POST /marketplace/bookings/:id/transition` (host, producer, admin) */
312
270
  declare const TransitionMarketplaceBookingRequestSchema: z.ZodObject<{
313
271
  targetState: z.ZodEnum<{
@@ -397,13 +355,8 @@ declare const ListMarketplaceJobListingsQuerySchema: z.ZodObject<{
397
355
  readonly ONSITE: "ONSITE";
398
356
  readonly REMOTE: "REMOTE";
399
357
  }>>;
400
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
401
- cursor: z.ZodOptional<z.ZodUUID>;
402
- }, z.core.$strip>;
403
- /** `GET /marketplace/job-listings/mine` */
404
- declare const ListMarketplaceJobListingsMineQuerySchema: z.ZodObject<{
405
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
406
- cursor: z.ZodOptional<z.ZodUUID>;
358
+ pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
359
+ pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
407
360
  }, z.core.$strip>;
408
361
  declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
409
362
  id: z.ZodUUID;
@@ -432,36 +385,6 @@ declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
432
385
  createdAt: z.ZodString;
433
386
  updatedAt: z.ZodString;
434
387
  }, z.core.$strip>;
435
- declare const ListMarketplaceJobListingsResponseSchema: z.ZodObject<{
436
- jobListings: z.ZodArray<z.ZodObject<{
437
- id: z.ZodUUID;
438
- hostProfileId: z.ZodUUID;
439
- eventId: z.ZodNullable<z.ZodUUID>;
440
- title: z.ZodString;
441
- notes: z.ZodNullable<z.ZodString>;
442
- description: z.ZodString;
443
- responsibilities: z.ZodString;
444
- requirements: z.ZodString;
445
- role: z.ZodString;
446
- requiredDate: z.ZodNullable<z.ZodString>;
447
- estimatedDurationHours: z.ZodNullable<z.ZodNumber>;
448
- location: z.ZodEnum<{
449
- readonly ONSITE: "ONSITE";
450
- readonly REMOTE: "REMOTE";
451
- }>;
452
- compensation: z.ZodNullable<z.ZodNumber>;
453
- attachments: z.ZodNullable<z.ZodUnknown>;
454
- state: z.ZodEnum<{
455
- readonly OPEN: "OPEN";
456
- readonly CLOSED: "CLOSED";
457
- readonly SUSPENDED: "SUSPENDED";
458
- }>;
459
- proposalCount: z.ZodNumber;
460
- createdAt: z.ZodString;
461
- updatedAt: z.ZodString;
462
- }, z.core.$strip>>;
463
- nextCursor: z.ZodNullable<z.ZodUUID>;
464
- }, z.core.$strip>;
465
388
  /** `POST .../indications-of-interest` */
466
389
  declare const SubmitMarketplaceIndicationOfInterestRequestSchema: z.ZodObject<{
467
390
  coverMessage: z.ZodOptional<z.ZodString>;
@@ -511,54 +434,18 @@ declare const MarketplaceIndicationOfInterestHostItemSchema: z.ZodObject<{
511
434
  updatedAt: z.ZodString;
512
435
  producerCompanyName: z.ZodNullable<z.ZodString>;
513
436
  }, z.core.$strip>;
514
- /** `GET .../indications-of-interest` (host review list) */
515
- declare const ListMarketplaceIndicationsOfInterestQuerySchema: z.ZodObject<{
516
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
517
- cursor: z.ZodOptional<z.ZodUUID>;
518
- }, z.core.$strip>;
519
- declare const ListMarketplaceIndicationsOfInterestResponseSchema: z.ZodObject<{
520
- indications: z.ZodArray<z.ZodObject<{
521
- id: z.ZodUUID;
522
- jobListingId: z.ZodUUID;
523
- producerProfileId: z.ZodUUID;
524
- coverMessage: z.ZodNullable<z.ZodString>;
525
- proposedAmount: z.ZodNullable<z.ZodNumber>;
526
- availabilityNotes: z.ZodNullable<z.ZodString>;
527
- state: z.ZodEnum<{
528
- readonly OPEN: "OPEN";
529
- readonly SHORTLISTED: "SHORTLISTED";
530
- readonly WITHDRAWN: "WITHDRAWN";
531
- readonly SELECTED: "SELECTED";
532
- readonly REJECTED: "REJECTED";
533
- }>;
534
- resultingBookingId: z.ZodNullable<z.ZodUUID>;
535
- withdrawnAt: z.ZodNullable<z.ZodString>;
536
- selectedAt: z.ZodNullable<z.ZodString>;
537
- createdAt: z.ZodString;
538
- updatedAt: z.ZodString;
539
- producerCompanyName: z.ZodNullable<z.ZodString>;
540
- }, z.core.$strip>>;
541
- nextCursor: z.ZodNullable<z.ZodUUID>;
542
- }, z.core.$strip>;
543
437
 
544
438
  type CreateMarketplaceBookingRequest = z.infer<typeof CreateMarketplaceBookingRequestSchema>;
545
439
  type MarketplaceBookingResponse = z.infer<typeof MarketplaceBookingResponseSchema>;
546
440
  type CreateMarketplaceJobListingRequest = z.infer<typeof CreateMarketplaceJobListingRequestSchema>;
547
441
  type UpdateMarketplaceJobListingRequest = z.infer<typeof UpdateMarketplaceJobListingRequestSchema>;
548
442
  type ListMarketplaceJobListingsQuery = z.infer<typeof ListMarketplaceJobListingsQuerySchema>;
549
- type ListMarketplaceJobListingsResponse = z.infer<typeof ListMarketplaceJobListingsResponseSchema>;
550
443
  type MarketplaceJobListingResponse = z.infer<typeof MarketplaceJobListingResponseSchema>;
551
444
  type SubmitMarketplaceIndicationOfInterestRequest = z.infer<typeof SubmitMarketplaceIndicationOfInterestRequestSchema>;
552
445
  type MarketplaceIndicationOfInterestResponse = z.infer<typeof MarketplaceIndicationOfInterestResponseSchema>;
553
446
  type CreateMarketplaceBookingResponse = z.infer<typeof CreateMarketplaceBookingResponseSchema>;
554
- type MarketplaceListPaginationQuery = z.infer<typeof MarketplaceListPaginationQuerySchema>;
555
- type ListMarketplaceBookingsQuery = z.infer<typeof ListMarketplaceBookingsQuerySchema>;
556
- type ListMarketplaceBookingsResponse = z.infer<typeof ListMarketplaceBookingsResponseSchema>;
557
- type ListMarketplaceJobListingsMineQuery = z.infer<typeof ListMarketplaceJobListingsMineQuerySchema>;
558
- type ListMarketplaceIndicationsOfInterestQuery = z.infer<typeof ListMarketplaceIndicationsOfInterestQuerySchema>;
559
- type ListMarketplaceIndicationsOfInterestResponse = z.infer<typeof ListMarketplaceIndicationsOfInterestResponseSchema>;
560
447
  type MarketplaceIndicationOfInterestHostItem = z.infer<typeof MarketplaceIndicationOfInterestHostItemSchema>;
561
448
  type TransitionMarketplaceBookingRequest = z.infer<typeof TransitionMarketplaceBookingRequestSchema>;
562
449
  type TransitionMarketplaceBookingResponse = z.infer<typeof TransitionMarketplaceBookingResponseSchema>;
563
450
 
564
- export { BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListMarketplaceBookingsQuery, ListMarketplaceBookingsQuerySchema, type ListMarketplaceBookingsResponse, ListMarketplaceBookingsResponseSchema, type ListMarketplaceIndicationsOfInterestQuery, ListMarketplaceIndicationsOfInterestQuerySchema, type ListMarketplaceIndicationsOfInterestResponse, ListMarketplaceIndicationsOfInterestResponseSchema, type ListMarketplaceJobListingsMineQuery, ListMarketplaceJobListingsMineQuerySchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListMarketplaceJobListingsResponse, ListMarketplaceJobListingsResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceListPaginationQuery, MarketplaceListPaginationQuerySchema, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
451
+ export { BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkOZFSYIAL_js=require('../chunk-OZFSYIAL.js');require('../chunk-L72M5DCH.js');Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkOZFSYIAL_js.g}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkOZFSYIAL_js.i}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkOZFSYIAL_js.j}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkOZFSYIAL_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkOZFSYIAL_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.s}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkOZFSYIAL_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkOZFSYIAL_js.f}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.r}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.q}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.t}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.y}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.A}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.G}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.w}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkOZFSYIAL_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.u}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkOZFSYIAL_js.c}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkOZFSYIAL_js.x}});Object.defineProperty(exports,"ListMarketplaceBookingsQuerySchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.C}});Object.defineProperty(exports,"ListMarketplaceBookingsResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.D}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestQuerySchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.P}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.Q}});Object.defineProperty(exports,"ListMarketplaceJobListingsMineQuerySchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.J}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.I}});Object.defineProperty(exports,"ListMarketplaceJobListingsResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.L}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.z}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.O}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.N}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.K}});Object.defineProperty(exports,"MarketplaceListPaginationQuerySchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.B}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.v}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.M}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.E}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.F}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkOZFSYIAL_js.H}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkOZFSYIAL_js.h}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkOZFSYIAL_js.k}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkOZFSYIAL_js.p}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkOZFSYIAL_js.o}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkOZFSYIAL_js.l}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkOZFSYIAL_js.n}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkOZFSYIAL_js.m}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkJXM7K5X5_js=require('../chunk-JXM7K5X5.js');require('../chunk-QGEYDED6.js'),require('../chunk-L72M5DCH.js');Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkJXM7K5X5_js.g}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkJXM7K5X5_js.i}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkJXM7K5X5_js.j}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkJXM7K5X5_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkJXM7K5X5_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.s}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkJXM7K5X5_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkJXM7K5X5_js.f}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.r}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.q}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.t}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.y}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.A}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.D}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.w}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkJXM7K5X5_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.u}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkJXM7K5X5_js.c}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkJXM7K5X5_js.x}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.F}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.z}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.J}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.I}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.G}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.v}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.H}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.B}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.C}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkJXM7K5X5_js.E}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkJXM7K5X5_js.h}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkJXM7K5X5_js.k}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkJXM7K5X5_js.p}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkJXM7K5X5_js.o}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkJXM7K5X5_js.l}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkJXM7K5X5_js.n}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkJXM7K5X5_js.m}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{g as BOOKING_TERMINAL_STATES,i as BOOKING_TRANSITION_ACTORS,j as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,a as BookingOrigin,e as BookingPaymentStatus,s as BookingResponseSchema,b as BookingState,f as BookingTransitionActor,r as ConfirmBookingRequestSchema,q as CreateBookingRequestSchema,t as CreateJobListingRequestSchema,y as CreateMarketplaceBookingRequestSchema,A as CreateMarketplaceBookingResponseSchema,G as CreateMarketplaceJobListingRequestSchema,w as IndicationOfInterestResponseSchema,d as IoiState,u as JobListingResponseSchema,c as JobListingState,x as JobLocation,C as ListMarketplaceBookingsQuerySchema,D as ListMarketplaceBookingsResponseSchema,P as ListMarketplaceIndicationsOfInterestQuerySchema,Q as ListMarketplaceIndicationsOfInterestResponseSchema,J as ListMarketplaceJobListingsMineQuerySchema,I as ListMarketplaceJobListingsQuerySchema,L as ListMarketplaceJobListingsResponseSchema,z as MarketplaceBookingResponseSchema,O as MarketplaceIndicationOfInterestHostItemSchema,N as MarketplaceIndicationOfInterestResponseSchema,K as MarketplaceJobListingResponseSchema,B as MarketplaceListPaginationQuerySchema,v as SubmitIndicationOfInterestRequestSchema,M as SubmitMarketplaceIndicationOfInterestRequestSchema,E as TransitionMarketplaceBookingRequestSchema,F as TransitionMarketplaceBookingResponseSchema,H as UpdateMarketplaceJobListingRequestSchema,h as VALID_BOOKING_TRANSITIONS,k as bookingTransitionKey,p as bookingTransitionRequiresReason,o as canActorPerformBookingTransition,l as getAllowedBookingTargetStates,n as getBookingTransitionActors,m as isValidBookingTransition}from'../chunk-Y3FL6AED.mjs';import'../chunk-GAZT5E62.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{g as BOOKING_TERMINAL_STATES,i as BOOKING_TRANSITION_ACTORS,j as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,a as BookingOrigin,e as BookingPaymentStatus,s as BookingResponseSchema,b as BookingState,f as BookingTransitionActor,r as ConfirmBookingRequestSchema,q as CreateBookingRequestSchema,t as CreateJobListingRequestSchema,y as CreateMarketplaceBookingRequestSchema,A as CreateMarketplaceBookingResponseSchema,D as CreateMarketplaceJobListingRequestSchema,w as IndicationOfInterestResponseSchema,d as IoiState,u as JobListingResponseSchema,c as JobListingState,x as JobLocation,F as ListMarketplaceJobListingsQuerySchema,z as MarketplaceBookingResponseSchema,J as MarketplaceIndicationOfInterestHostItemSchema,I as MarketplaceIndicationOfInterestResponseSchema,G as MarketplaceJobListingResponseSchema,v as SubmitIndicationOfInterestRequestSchema,H as SubmitMarketplaceIndicationOfInterestRequestSchema,B as TransitionMarketplaceBookingRequestSchema,C as TransitionMarketplaceBookingResponseSchema,E as UpdateMarketplaceJobListingRequestSchema,h as VALID_BOOKING_TRANSITIONS,k as bookingTransitionKey,p as bookingTransitionRequiresReason,o as canActorPerformBookingTransition,l as getAllowedBookingTargetStates,n as getBookingTransitionActors,m as isValidBookingTransition}from'../chunk-ZVAGI5CH.mjs';import'../chunk-X7OLLQRF.mjs';import'../chunk-GAZT5E62.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkW2AXUTIW_js=require('./chunk-W2AXUTIW.js'),chunkQGEYDED6_js=require('./chunk-QGEYDED6.js'),zod=require('zod');var r={NGN:"NGN"},p={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},a={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var h=zod.z.object({category:zod.z.enum(p).optional(),location:zod.z.string().optional(),minRate:zod.z.coerce.number().int().min(0).optional(),maxRate:zod.z.coerce.number().int().min(0).optional(),availabilityDate:zod.z.string().optional(),...chunkQGEYDED6_js.d.shape}),l=zod.z.object({id:zod.z.uuid(),name:zod.z.string(),category:zod.z.enum(a),notes:zod.z.string().nullable()}),c=zod.z.object({code:zod.z.string(),label:zod.z.string()}),m=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),mediaUrl:zod.z.url().nullable(),externalUrl:zod.z.url().nullable(),createdAt:zod.z.iso.datetime()}),s=zod.z.object({id:zod.z.uuid(),label:zod.z.string(),amount:zod.z.string(),currency:zod.z.enum(r),notes:zod.z.string().nullable()}),I=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string().nullable(),bio:zod.z.string().nullable(),yearsExperience:zod.z.number().int().nullable(),serviceAreas:zod.z.array(zod.z.string()),maxDistanceKm:zod.z.number().int().nullable(),isAvailable:zod.z.boolean(),averageRating:zod.z.string(),totalReviews:zod.z.number().int(),completionRate:zod.z.string(),equipmentManifest:zod.z.array(l),categories:zod.z.array(c),portfolio:zod.z.array(m),rateCard:zod.z.array(s),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()});var g=zod.z.object({name:zod.z.string().min(1).max(255),category:zod.z.enum(a),notes:zod.z.string().max(2e3).optional()}),y=zod.z.object({title:zod.z.string().min(1).max(255),description:zod.z.string().max(2e3).optional(),mediaUrl:zod.z.url().optional(),externalUrl:zod.z.url().optional()}),x=zod.z.object({label:zod.z.string().min(1).max(255),amount:zod.z.number().min(0),currency:zod.z.enum(r).default(r.NGN),notes:zod.z.string().max(2e3).optional()}),L=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string(),bio:zod.z.string(),logoUrl:zod.z.url().nullable(),experienceLevel:zod.z.enum(chunkW2AXUTIW_js.h),yearsExperience:zod.z.number().int().nullable(),serviceAreas:zod.z.array(zod.z.string()),maxDistanceKm:zod.z.number().int().nullable(),availabilityCalendar:zod.z.record(zod.z.string(),zod.z.unknown()).nullable(),verificationStatus:zod.z.enum(chunkW2AXUTIW_js.g),verificationReason:zod.z.string().nullable(),verifiedAt:zod.z.iso.datetime().nullable(),visibleInMarketplace:zod.z.boolean(),isAvailable:zod.z.boolean(),defaultCurrency:zod.z.enum(r),averageRating:zod.z.number(),totalReviews:zod.z.number().int(),completionRate:zod.z.number(),equipmentManifest:zod.z.array(l),categories:zod.z.array(c),portfolio:zod.z.array(m),rateCard:zod.z.array(s),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),N=zod.z.object({companyName:zod.z.string().min(1).max(120).optional(),bio:zod.z.string().min(1).max(2e3).optional(),logoUrl:zod.z.url().nullable().optional(),experienceLevel:zod.z.enum(chunkW2AXUTIW_js.h).optional(),yearsExperience:zod.z.number().int().min(0).optional(),serviceAreas:zod.z.array(zod.z.string()).optional(),maxDistanceKm:zod.z.number().int().min(0).nullable().optional(),availabilityCalendar:zod.z.record(zod.z.string(),zod.z.unknown()).nullable().optional(),isAvailable:zod.z.boolean().optional(),visibleInMarketplace:zod.z.boolean().optional(),equipmentManifest:zod.z.array(g).optional(),portfolio:zod.z.array(y).optional(),rateCard:zod.z.array(x).optional(),categoryCodes:zod.z.array(zod.z.string()).optional()}).refine(b=>Object.keys(b).length>0,{message:"At least one field is required"}),q=zod.z.object({verificationStatus:zod.z.literal(chunkW2AXUTIW_js.g.SUBMITTED)}),G=zod.z.object({view:zod.z.literal("workspace").optional()});var f=zod.z.string().trim().min(5,"Reason must be at least 5 characters"),D=zod.z.object({notes:zod.z.string().max(2e3).optional()}),d=zod.z.object({reason:f,notes:zod.z.string().max(2e3).optional()}),V=d,O=d;exports.a=r;exports.b=p;exports.c=a;exports.d=h;exports.e=l;exports.f=c;exports.g=m;exports.h=s;exports.i=I;exports.j=g;exports.k=y;exports.l=x;exports.m=L;exports.n=N;exports.o=q;exports.p=G;exports.q=D;exports.r=d;exports.s=V;exports.t=O;//# sourceMappingURL=chunk-2SBD35GV.js.map
2
+ //# sourceMappingURL=chunk-2SBD35GV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts","../src/marketplace/workspace.schemas.ts","../src/marketplace/verification.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","ListProducersQuerySchema","z","PaginationParamsSchema","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","WorkspaceEquipmentItemInputSchema","WorkspacePortfolioItemInputSchema","WorkspaceRateCardItemInputSchema","ProducerProfileWorkspaceSchema","ProducerExperienceLevel","ProducerVerificationStatus","UpsertProducerWorkspaceProfileSchema","data","SubmitProducerForVerificationSchema","GetProducerProfileQuerySchema","verificationReasonSchema","AdminApproveProducerVerificationSchema","AdminProducerVerificationReasonBodySchema","AdminRejectProducerVerificationSchema","AdminSuspendProducerVerificationSchema"],"mappings":"oIACO,IAAMA,CAAAA,CAAsB,CACjC,GAAA,CAAK,KACP,EAOaC,CAAAA,CAAsB,CACjC,MAAO,OAAA,CACP,QAAA,CAAU,WACV,KAAA,CAAO,OAAA,CACP,QAAS,SAAA,CACT,EAAA,CAAI,KACJ,SAAA,CAAW,WACb,EAIaC,CAAAA,CAAoB,CAC/B,MAAO,OAAA,CACP,KAAA,CAAO,QACP,QAAA,CAAU,UAAA,CACV,QAAS,SAAA,CACT,KAAA,CAAO,QACP,KAAA,CAAO,OACT,ECxBO,IAAMC,EAA2BC,KAAAA,CAAE,MAAA,CAAO,CAC/C,QAAA,CAAUA,KAAAA,CAAE,KAAKH,CAAmB,CAAA,CAAE,UAAS,CAC/C,QAAA,CAAUG,MAAE,MAAA,EAAO,CAAE,UAAS,CAC9B,OAAA,CAASA,MAAE,MAAA,CAAO,MAAA,GAAS,GAAA,EAAI,CAAE,IAAI,CAAC,CAAA,CAAE,UAAS,CACjD,OAAA,CAASA,MAAE,MAAA,CAAO,MAAA,GAAS,GAAA,EAAI,CAAE,IAAI,CAAC,CAAA,CAAE,UAAS,CACjD,gBAAA,CAAkBA,MAAE,MAAA,EAAO,CAAE,UAAS,CACtC,GAAGC,mBAAuB,KAC5B,CAAC,EAEYC,CAAAA,CAAwCF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. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency, ServiceCategoryCode } from './marketplace.enums';\nimport { PaginationParamsSchema } from '../common';\n\nexport const ListProducersQuerySchema = z.object({\n category: z.enum(ServiceCategoryCode).optional(),\n location: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n ...PaginationParamsSchema.shape,\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n code: z.string(),\n label: z.string(),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n serviceAreas: z.array(z.string()),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n categories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n","import { z } from 'zod';\nimport { ProducerExperienceLevel, ProducerVerificationStatus } from '../user/user.enums';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport {\n PublicProducerListCategorySchema,\n PublicProducerListEquipmentItemSchema,\n PublicProducerListPortfolioItemSchema,\n PublicProducerListRateCardItemSchema,\n} from './marketplace.schemas';\n\n/** Workspace equipment row (full manifest; public API uses the same shape). */\nexport const WorkspaceEquipmentItemInputSchema = z.object({\n name: z.string().min(1).max(255),\n category: z.enum(EquipmentCategory),\n notes: z.string().max(2000).optional(),\n});\n\nexport const WorkspacePortfolioItemInputSchema = z.object({\n title: z.string().min(1).max(255),\n description: z.string().max(2000).optional(),\n mediaUrl: z.url().optional(),\n externalUrl: z.url().optional(),\n});\n\nexport const WorkspaceRateCardItemInputSchema = z.object({\n label: z.string().min(1).max(255),\n amount: z.number().min(0),\n currency: z.enum(MarketplaceCurrency).default(MarketplaceCurrency.NGN),\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Authenticated producer workspace profile (owner view).\n * Includes verification workflow fields and raw availability; never returned on public routes.\n */\nexport const ProducerProfileWorkspaceSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.url().nullable(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n yearsExperience: z.number().int().nullable(),\n serviceAreas: z.array(z.string()),\n maxDistanceKm: z.number().int().nullable(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable(),\n verificationStatus: z.enum(ProducerVerificationStatus),\n verificationReason: z.string().nullable(),\n verifiedAt: z.iso.datetime().nullable(),\n visibleInMarketplace: z.boolean(),\n isAvailable: z.boolean(),\n defaultCurrency: z.enum(MarketplaceCurrency),\n averageRating: z.number(),\n totalReviews: z.number().int(),\n completionRate: z.number(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n categories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\n/** PATCH body for workspace profile updates (partial). */\nexport const UpsertProducerWorkspaceProfileSchema = z\n .object({\n companyName: z.string().min(1).max(120).optional(),\n bio: z.string().min(1).max(2000).optional(),\n logoUrl: z.url().nullable().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel).optional(),\n yearsExperience: z.number().int().min(0).optional(),\n serviceAreas: z.array(z.string()).optional(),\n maxDistanceKm: z.number().int().min(0).nullable().optional(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable().optional(),\n isAvailable: z.boolean().optional(),\n visibleInMarketplace: z.boolean().optional(),\n equipmentManifest: z.array(WorkspaceEquipmentItemInputSchema).optional(),\n portfolio: z.array(WorkspacePortfolioItemInputSchema).optional(),\n rateCard: z.array(WorkspaceRateCardItemInputSchema).optional(),\n categoryCodes: z.array(z.string()).optional(),\n })\n .refine((data) => Object.keys(data).length > 0, {\n message: 'At least one field is required',\n });\n\n/** POST body for submit-for-verification (explicit intent for signing). */\nexport const SubmitProducerForVerificationSchema = z.object({\n verificationStatus: z.literal(ProducerVerificationStatus.SUBMITTED),\n});\n\n/** Query for `GET /users/me/producer-profile` — `view=workspace` returns owner workspace shape. */\nexport const GetProducerProfileQuerySchema = z.object({\n view: z.literal('workspace').optional(),\n});\n","import { z } from 'zod';\n\nconst verificationReasonSchema = z.string().trim().min(5, 'Reason must be at least 5 characters');\n\n/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */\nexport const AdminApproveProducerVerificationSchema = z.object({\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Shared body for admin actions that require a decision reason.\n * `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.\n */\nexport const AdminProducerVerificationReasonBodySchema = z.object({\n reason: verificationReasonSchema,\n notes: z.string().max(2000).optional(),\n});\n\n/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */\nexport const AdminRejectProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n\n/** Admin suspends an approved producer (APPROVED → SUSPENDED). */\nexport const AdminSuspendProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n"]}
@@ -0,0 +1,2 @@
1
+ import {g as g$2,h as h$1,c,b,f,e}from'./chunk-EQVYSKSG.mjs';import {g as g$1}from'./chunk-JCAWAKZN.mjs';import {z}from'zod';var p=z.object({id:z.uuid(),userId:z.uuid(),businessName:z.string(),totalEvents:z.number(),totalSpent:z.number(),averageRating:z.number(),defaultCurrency:z.string(),description:z.string().optional(),category:z.array(z.enum(g$1)),logoUrl:z.url().optional(),businessRegNumber:z.string().optional(),taxId:z.string().optional(),settlementBankCode:z.string().optional(),settlementAccountNumber:z.string().optional(),settlementAccountName:z.string().optional(),paystackSubaccountCode:z.string().optional(),createdAt:z.iso.datetime()}),u=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string(),bio:z.string(),yearsExperience:z.number().optional(),experienceLevel:z.enum(h$1),equipmentManifest:z.array(z.record(z.string(),z.any())),serviceAreas:z.array(z.string()),verificationStatus:z.enum(g$2),averageRating:z.number().positive().multipleOf(.01),totalReviews:z.number(),completionRate:z.number(),isAvailable:z.boolean(),createdAt:z.iso.datetime()}),x=z.object({id:z.uuid(),email:z.email().toLowerCase(),emailVerified:z.boolean(),emailVerifiedAt:z.iso.datetime().optional(),phoneNumber:z.string().optional(),firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),role:z.number().min(1).max(15),accountStatus:z.enum(b),kycStatus:z.enum(c),hostProfile:p.optional(),producerProfile:u.optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}),S=z.object({firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),phoneNumber:z.string().optional(),eventCategory:z.array(z.enum(g$1)).optional()}),h=z.object({businessName:z.string(),description:z.string().optional(),logoUrl:z.string().optional(),category:z.array(z.enum(g$1)).min(1),pin:z.string().length(5)}),N=z.object({companyName:z.string(),bio:z.string(),logoUrl:z.string().optional(),serviceAreas:z.array(z.string()),yearsExperience:z.number(),experienceLevel:z.enum(h$1),minFee:z.number(),maxFee:z.number(),pin:z.string(),isAvailable:z.boolean()}),d=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),g=z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(t=>!d.has(t),{message:"This display name is reserved"}),v=z.object({displayName:g}).strict(),R=z.object({preferredCurrency:z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),m=z.object({category:z.enum(f),enabled:z.boolean()}),C=z.object({preferences:z.array(m).min(1).max(10).refine(t=>new Set(t.map(l=>l.category)).size===t.length,{message:"Duplicate category in preferences"})}).strict(),A=z.object({category:z.enum(e),message:z.string().trim().min(10).max(2e3)}).strict(),P=z.object({id:z.uuid(),email:z.email(),emailVerified:z.boolean(),displayName:z.string().nullable(),avatarUrl:z.url().nullable(),roles:z.number().int(),preferredCurrency:z.string(),notificationsEnabledCount:z.number().int()}),j=z.object({preferences:z.array(m)}),U=z.object({id:z.uuid()});export{p as a,u as b,x as c,S as d,h as e,N as f,d as g,g as h,v as i,R as j,m as k,C as l,A as m,P as n,j as o,U as p};//# sourceMappingURL=chunk-HDXG5AKS.mjs.map
2
+ //# sourceMappingURL=chunk-HDXG5AKS.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","CreateProducerProfileRequestSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","NotificationPreferenceItemSchema","NotificationCategory","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"6HAWO,IAAMA,CAAAA,CAA4BC,EAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,CAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,CAAAA,CAAE,IAAA,GACV,YAAA,CAAcA,CAAAA,CAAE,MAAA,EAAO,CACvB,YAAaA,CAAAA,CAAE,MAAA,EAAO,CACtB,UAAA,CAAYA,EAAE,MAAA,EAAO,CACrB,aAAA,CAAeA,CAAAA,CAAE,QAAO,CACxB,eAAA,CAAiBA,CAAAA,CAAE,MAAA,GACnB,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CAAE,UAAS,CACjC,QAAA,CAAUA,CAAAA,CAAE,KAAA,CAAMA,EAAE,IAAA,CAAKC,CAAa,CAAC,CAAA,CACvC,QAASD,CAAAA,CAAE,GAAA,EAAI,CAAE,QAAA,GACjB,iBAAA,CAAmBA,CAAAA,CAAE,MAAA,EAAO,CAAE,UAAS,CACvC,KAAA,CAAOA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAC3B,k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,CAAyBvB,CAAAA,CAAE,OAAO,CAC7C,EAAA,CAAIA,CAAAA,CAAE,IAAA,GACN,KAAA,CAAOA,CAAAA,CAAE,KAAA,EAAM,CACf,cAAeA,CAAAA,CAAE,OAAA,EAAQ,CACzB,WAAA,CAAaA,EAAE,MAAA,EAAO,CAAE,UAAS,CACjC,SAAA,CAAWA,EAAE,GAAA,EAAI,CAAE,QAAA,EAAS,CAC5B,MAAOA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,GAClB,iBAAA,CAAmBA,CAAAA,CAAE,MAAA,EAAO,CAC5B,0BAA2BA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EACxC,CAAC,CAAA,CAEYwB,CAAAA,CAAwCxB,CAAAA,CAAE,OAAO,CAC5D,WAAA,CAAaA,CAAAA,CAAE,KAAA,CAAMgB,CAAgC,CACvD,CAAC,CAAA,CAEYS,CAAAA,CAA6BzB,EAAE,MAAA,CAAO,CACjD,GAAIA,CAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-XUOMVQVQ.mjs","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceAreas: z.array(z.string()),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n pin: z.string().length(5),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceAreas: z.array(z.string()),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n pin: z.string(),\n isAvailable: z.boolean(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: z.enum(NotificationCategory),\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.array(NotificationPreferenceItemSchema),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
1
+ {"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","CreateProducerProfileRequestSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","NotificationPreferenceItemSchema","NotificationCategory","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"6HAWO,IAAMA,CAAAA,CAA4BC,EAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,CAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,CAAAA,CAAE,IAAA,GACV,YAAA,CAAcA,CAAAA,CAAE,MAAA,EAAO,CACvB,YAAaA,CAAAA,CAAE,MAAA,EAAO,CACtB,UAAA,CAAYA,EAAE,MAAA,EAAO,CACrB,aAAA,CAAeA,CAAAA,CAAE,QAAO,CACxB,eAAA,CAAiBA,CAAAA,CAAE,MAAA,GACnB,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CAAE,UAAS,CACjC,QAAA,CAAUA,CAAAA,CAAE,KAAA,CAAMA,EAAE,IAAA,CAAKC,GAAa,CAAC,CAAA,CACvC,QAASD,CAAAA,CAAE,GAAA,EAAI,CAAE,QAAA,GACjB,iBAAA,CAAmBA,CAAAA,CAAE,MAAA,EAAO,CAAE,UAAS,CACvC,KAAA,CAAOA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAC3B,kBAAA,CAAoBA,CAAAA,CAAE,QAAO,CAAE,QAAA,GAC/B,uBAAA,CAAyBA,CAAAA,CAAE,QAAO,CAAE,QAAA,EAAS,CAC7C,qBAAA,CAAuBA,EAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC3C,uBAAwBA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GACnC,SAAA,CAAWA,CAAAA,CAAE,GAAA,CAAI,QAAA,EACnB,CAAC,CAAA,CAEYE,CAAAA,CAAgCF,CAAAA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AAA,CAAmBA,CAAAA,CAAE,MAAA,EAAO,CAC5B,0BAA2BA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EACxC,CAAC,CAAA,CAEYwB,CAAAA,CAAwCxB,CAAAA,CAAE,OAAO,CAC5D,WAAA,CAAaA,CAAAA,CAAE,KAAA,CAAMgB,CAAgC,CACvD,CAAC,CAAA,CAEYS,CAAAA,CAA6BzB,EAAE,MAAA,CAAO,CACjD,GAAIA,CAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-HDXG5AKS.mjs","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceAreas: z.array(z.string()),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n pin: z.string().length(5),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceAreas: z.array(z.string()),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n pin: z.string(),\n isAvailable: z.boolean(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: z.enum(NotificationCategory),\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.array(NotificationPreferenceItemSchema),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
@@ -0,0 +1,2 @@
1
+ import {d as d$1,e}from'./chunk-X7OLLQRF.mjs';import {z as z$1}from'zod';var o={INCLUDED:"INCLUDED",DISABLED:"DISABLED",PAID_SEPARATELY:"PAID_SEPARATELY"},i={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},a={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},p={SELF:"SELF",HIRE:"HIRE"},L={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},r={DRAFT:"DRAFT",SCHEDULED:"SCHEDULED",READY_FOR_TEST:"READY_FOR_TEST",LIVE:"LIVE",ENDED:"ENDED",REPLAY_READY:"REPLAY_READY",ARCHIVED:"ARCHIVED",CANCELLED:"CANCELLED",FAILED:"FAILED"},n={ART:"ART",TECHNOLOGY:"TECHNOLOGY",SCIENCE:"SCIENCE",TRAVEL:"TRAVEL",HISTORY:"HISTORY",LITERATURE:"LITERATURE",COOKING:"COOKING",FITNESS:"FITNESS",PHOTOGRAPHY:"PHOTOGRAPHY",GARDENING:"GARDENING",EDUCATION:"EDUCATION",FASHION:"FASHION",MOVIES:"MOVIES",SPORTS:"SPORTS",POLITICS:"POLITICS",HEALTH:"HEALTH",GAMING:"GAMING",FINANCE:"FINANCE",NATURE:"NATURE",CONCERT:"CONCERT",FESTIVAL:"FESTIVAL",WEDDING:"WEDDING",CORPORATE:"CORPORATE",RELIGIOUS:"RELIGIOUS",OTHER:"OTHER"},l={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},h={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},m={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},E={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"},u={NGN:"NGN",USD:"USD",GBP:"GBP",EUR:"EUR"};var A=z$1.object({title:z$1.string().max(120),description:z$1.string().max(2e3),category:z$1.enum(n),scheduledStartAt:z$1.iso.datetime(),scheduledEndAt:z$1.iso.datetime(),venueLocation:z$1.string(),visibility:z$1.enum(i),accessModel:z$1.enum(a),ticketPrice:z$1.number().min(0).optional(),maxTickets:z$1.number().min(1).optional(),timezone:z$1.string().default("Africa/Lagos"),replayAccess:z$1.enum(o),retentionDays:z$1.number().default(30),tags:z$1.array(z$1.string()).optional(),geoRestrictions:z$1.record(z$1.string(),z$1.any()).optional()}),M=A.partial(),k=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string(),category:z$1.enum(n),coverImageUrl:z$1.url().optional(),venueLocation:z$1.string(),scheduledStartAt:z$1.iso.datetime(),scheduledEndAt:z$1.iso.datetime(),timezone:z$1.string(),visibility:z$1.enum(i),accessModel:z$1.enum(a),ticketPrice:z$1.number(),currency:z$1.string(),maxTickets:z$1.number().optional(),eventState:z$1.enum(r),shareableUrl:z$1.url(),hostId:z$1.uuid(),isFeatured:z$1.boolean(),replayAccess:z$1.enum(o),replayAvailableUntil:z$1.iso.datetime().optional(),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),publishedAt:z$1.iso.datetime().optional(),liveStartedAt:z$1.iso.datetime().optional(),liveEndedAt:z$1.iso.datetime().optional()}),t=z$1.object({id:z$1.uuid(),title:z$1.string(),coverImageUrl:z$1.string().nullable(),category:z$1.enum(n),scheduledStart:z$1.iso.datetime(),scheduledEnd:z$1.iso.datetime(),state:z$1.enum(r),accessModel:z$1.enum(a),ticketPrice:z$1.string().nullable(),currency:z$1.string(),isFeatured:z$1.boolean(),hostDisplayName:z$1.string().nullable(),viewerCount:z$1.number().int().min(0),viewer:z$1.object({registration:z$1.enum(m),progressPct:z$1.number().min(0).max(100).optional(),canResume:z$1.boolean().optional()})}),H=z$1.object({continueWatching:z$1.array(t),liveNow:z$1.array(t),featured:t.nullable(),upcoming:z$1.array(t),recommended:z$1.array(t)}),G=d$1.extend({q:z$1.string().trim().min(1).max(120).optional(),category:z$1.enum(n).optional(),state:z$1.enum(r).optional()}),F=z$1.object({items:z$1.array(t),...e.shape}),j=z$1.object({registration:z$1.object({id:z$1.uuid(),eventId:z$1.uuid(),status:z$1.enum(l),expiresAt:z$1.iso.datetime().nullable()}),paymentIntent:z$1.object({reference:z$1.string(),amount:z$1.string(),currency:z$1.string(),checkoutUrl:z$1.url().optional()}).nullable()}),w=z$1.object({positionSec:z$1.number().int().min(0).max(1440*60),durationSec:z$1.number().int().min(1).optional()}),R=z$1.object({kind:z$1.literal("LIVE"),playbackUrl:z$1.url(),token:z$1.string(),expiresAt:z$1.iso.datetime()}),I=z$1.object({kind:z$1.literal("REPLAY"),playbackUrl:z$1.url(),expiresAt:z$1.iso.datetime()}),Y=z$1.discriminatedUnion("kind",[R,I]),b=t.extend({startsInSec:z$1.number().int().optional(),liveViewerCount:z$1.number().int().min(0).optional(),liveStartedAt:z$1.iso.datetime().nullable().optional(),replayAvailableUntil:z$1.iso.datetime().nullable().optional(),replayDurationSec:z$1.number().int().min(0).nullable().optional(),watchedPct:z$1.number().min(0).max(100).optional(),hasWatched:z$1.boolean().optional()}),_=z$1.object({tab:z$1.enum(E),items:z$1.array(b),...e.shape}),B=z$1.object({tab:z$1.enum(E),...d$1.shape}),W=z$1.object({sessionId:z$1.string()}),q=z$1.object({ok:z$1.literal(true)}),z=z$1.object({durationSec:z$1.number().int().min(0)}),S=z$1.discriminatedUnion("access",[z$1.object({access:z$1.literal(o.INCLUDED),retentionDays:z$1.number().int().min(1).max(365)}),z$1.object({access:z$1.literal(o.PAID_SEPARATELY),retentionDays:z$1.number().int().min(1).max(365),price:z$1.number().positive()}),z$1.object({access:z$1.literal(o.DISABLED)})]),T=z$1.enum(u),x=z$1.enum(n),y=z$1.enum(i),d=z$1.enum(["IMMEDIATELY","AT_EVENT_START"]),g=z$1.object({step:z$1.literal(1),title:z$1.string().min(3).max(120),description:z$1.string().min(20).max(1200),category:x,scheduledStart:z$1.coerce.date(),durationMinutes:z$1.number().int().min(5).max(720),coverImageUrl:z$1.url().optional(),tags:z$1.array(z$1.string().min(1).max(30)).max(10).optional(),location:z$1.string().max(120).optional()}),v=z$1.object({step:z$1.literal(2),paid:z$1.literal(false),visibility:y,guestEmails:z$1.array(z$1.email()).max(500).optional(),accessStarts:d,replay:S}),N=z$1.object({step:z$1.literal(2),paid:z$1.literal(true),visibility:y,guestEmails:z$1.array(z$1.email()).max(500).optional(),ticketPrice:z$1.number().positive(),ticketCurrency:T,ticketLimit:z$1.number().int().positive().nullable(),accessStarts:d,replay:S}),D=z$1.object({step:z$1.literal(3),mode:z$1.literal(p.SELF)}),P=z$1.object({step:z$1.literal(3),mode:z$1.literal(p.HIRE),crewIds:z$1.array(z$1.uuid()).min(1).max(5),notes:z$1.string().max(500).optional()}),C=z$1.object({step:z$1.literal(4)}),K=z$1.union([g,v,N,D,P,C]);export{B as A,W as B,q as C,z as D,S as E,T as F,x as G,y as H,d as I,K as J,o as a,i as b,a as c,p as d,L as e,r as f,n as g,l as h,h as i,m as j,E as k,u as l,A as m,M as n,k as o,t as p,H as q,G as r,F as s,j as t,w as u,R as v,I as w,Y as x,b as y,_ as z};//# sourceMappingURL=chunk-JCAWAKZN.mjs.map
2
+ //# sourceMappingURL=chunk-JCAWAKZN.mjs.map