@livdot-tech/contracts 1.11.23 → 1.11.25
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.
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +40 -4
- package/dist/booking/index.d.ts +40 -4
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chunk-JC552E6N.js +2 -0
- package/dist/{chunk-GSVMAZB3.js.map → chunk-JC552E6N.js.map} +1 -1
- package/dist/chunk-MEJ7GH5D.js +2 -0
- package/dist/chunk-MEJ7GH5D.js.map +1 -0
- package/dist/chunk-U645QCJ5.mjs +2 -0
- package/dist/chunk-U645QCJ5.mjs.map +1 -0
- package/dist/chunk-Z7RBWA2B.mjs +2 -0
- package/dist/{chunk-5LO5B6I4.mjs.map → chunk-Z7RBWA2B.mjs.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/user/index.d.mts +1 -1
- package/dist/user/index.d.ts +1 -1
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5LO5B6I4.mjs +0 -2
- package/dist/chunk-CMQ36ZUU.js +0 -2
- package/dist/chunk-CMQ36ZUU.js.map +0 -1
- package/dist/chunk-GSVMAZB3.js +0 -2
- package/dist/chunk-JMMNUUHO.mjs +0 -2
- package/dist/chunk-JMMNUUHO.mjs.map +0 -1
package/dist/auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkWMEFCQGU_js=require('../chunk-WMEFCQGU.js');require('../chunk-
|
|
1
|
+
'use strict';var chunkWMEFCQGU_js=require('../chunk-WMEFCQGU.js');require('../chunk-JC552E6N.js'),require('../chunk-QZMRMFXE.js'),require('../chunk-72SD46VJ.js'),require('../chunk-MMROBRAM.js'),require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkWMEFCQGU_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkWMEFCQGU_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkWMEFCQGU_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkWMEFCQGU_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.j}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{s as ChangePasswordRequestSchema,E as ConfirmPasswordSchema,K as DisableMfaBodySchema,J as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,G as MFA_ACTIONS,L as MfaChallengeBodySchema,M as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,F as ReauthTokenResponseSchema,I as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,H as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-CTFMAZYM.mjs';import'../chunk-
|
|
1
|
+
export{s as ChangePasswordRequestSchema,E as ConfirmPasswordSchema,K as DisableMfaBodySchema,J as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,G as MFA_ACTIONS,L as MfaChallengeBodySchema,M as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,F as ReauthTokenResponseSchema,I as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,H as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-CTFMAZYM.mjs';import'../chunk-Z7RBWA2B.mjs';import'../chunk-5BJU6AZT.mjs';import'../chunk-IIVGG46P.mjs';import'../chunk-MAKIYFAD.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/booking/index.d.mts
CHANGED
|
@@ -263,6 +263,15 @@ declare const MarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
263
263
|
}>;
|
|
264
264
|
}, z.core.$strip>>;
|
|
265
265
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
266
|
+
role: z.ZodNullable<z.ZodString>;
|
|
267
|
+
description: z.ZodNullable<z.ZodString>;
|
|
268
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
269
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
270
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
271
|
+
readonly ONSITE: "ONSITE";
|
|
272
|
+
readonly REMOTE: "REMOTE";
|
|
273
|
+
}>>;
|
|
274
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
266
275
|
createdAt: z.ZodString;
|
|
267
276
|
updatedAt: z.ZodString;
|
|
268
277
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -321,6 +330,15 @@ declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
321
330
|
}>;
|
|
322
331
|
}, z.core.$strip>>;
|
|
323
332
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
333
|
+
role: z.ZodNullable<z.ZodString>;
|
|
334
|
+
description: z.ZodNullable<z.ZodString>;
|
|
335
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
336
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
337
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
338
|
+
readonly ONSITE: "ONSITE";
|
|
339
|
+
readonly REMOTE: "REMOTE";
|
|
340
|
+
}>>;
|
|
341
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
324
342
|
createdAt: z.ZodString;
|
|
325
343
|
updatedAt: z.ZodString;
|
|
326
344
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -398,6 +416,15 @@ declare const TransitionMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
398
416
|
}>;
|
|
399
417
|
}, z.core.$strip>>;
|
|
400
418
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
419
|
+
role: z.ZodNullable<z.ZodString>;
|
|
420
|
+
description: z.ZodNullable<z.ZodString>;
|
|
421
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
422
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
423
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
424
|
+
readonly ONSITE: "ONSITE";
|
|
425
|
+
readonly REMOTE: "REMOTE";
|
|
426
|
+
}>>;
|
|
427
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
401
428
|
createdAt: z.ZodString;
|
|
402
429
|
updatedAt: z.ZodString;
|
|
403
430
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -463,6 +490,15 @@ declare const CompleteMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
463
490
|
}>;
|
|
464
491
|
}, z.core.$strip>>;
|
|
465
492
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
493
|
+
role: z.ZodNullable<z.ZodString>;
|
|
494
|
+
description: z.ZodNullable<z.ZodString>;
|
|
495
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
496
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
497
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
498
|
+
readonly ONSITE: "ONSITE";
|
|
499
|
+
readonly REMOTE: "REMOTE";
|
|
500
|
+
}>>;
|
|
501
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
466
502
|
createdAt: z.ZodString;
|
|
467
503
|
updatedAt: z.ZodString;
|
|
468
504
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -1023,7 +1059,7 @@ declare const GetMarketplaceHiringThreadResponseSchema: z.ZodObject<{
|
|
|
1023
1059
|
}, z.core.$strip>>;
|
|
1024
1060
|
}, z.core.$strip>;
|
|
1025
1061
|
declare const PostMarketplaceHiringThreadMessageRequestSchema: z.ZodObject<{
|
|
1026
|
-
body: z.ZodString
|
|
1062
|
+
body: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1027
1063
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1028
1064
|
url: z.ZodString;
|
|
1029
1065
|
mimeType: z.ZodString;
|
|
@@ -1054,9 +1090,9 @@ declare const PostMarketplaceHiringThreadMessageResponseSchema: z.ZodObject<{
|
|
|
1054
1090
|
}, z.core.$strip>;
|
|
1055
1091
|
/**
|
|
1056
1092
|
* `POST /marketplace/bookings/:bookingId/thread/attachments`
|
|
1057
|
-
* Multipart
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1093
|
+
* Multipart upload for hiring-thread chat (images, PDF, Word, MP4).
|
|
1094
|
+
* FE uploads first, then posts `{ url, mimeType, sizeBytes }` via WS
|
|
1095
|
+
* `hiring_thread.message.post` (body optional when attachments present).
|
|
1060
1096
|
*/
|
|
1061
1097
|
declare const UploadMarketplaceHiringThreadAttachmentResponseSchema: z.ZodObject<{
|
|
1062
1098
|
url: z.ZodURL;
|
package/dist/booking/index.d.ts
CHANGED
|
@@ -263,6 +263,15 @@ declare const MarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
263
263
|
}>;
|
|
264
264
|
}, z.core.$strip>>;
|
|
265
265
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
266
|
+
role: z.ZodNullable<z.ZodString>;
|
|
267
|
+
description: z.ZodNullable<z.ZodString>;
|
|
268
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
269
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
270
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
271
|
+
readonly ONSITE: "ONSITE";
|
|
272
|
+
readonly REMOTE: "REMOTE";
|
|
273
|
+
}>>;
|
|
274
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
266
275
|
createdAt: z.ZodString;
|
|
267
276
|
updatedAt: z.ZodString;
|
|
268
277
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -321,6 +330,15 @@ declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
321
330
|
}>;
|
|
322
331
|
}, z.core.$strip>>;
|
|
323
332
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
333
|
+
role: z.ZodNullable<z.ZodString>;
|
|
334
|
+
description: z.ZodNullable<z.ZodString>;
|
|
335
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
336
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
337
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
338
|
+
readonly ONSITE: "ONSITE";
|
|
339
|
+
readonly REMOTE: "REMOTE";
|
|
340
|
+
}>>;
|
|
341
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
324
342
|
createdAt: z.ZodString;
|
|
325
343
|
updatedAt: z.ZodString;
|
|
326
344
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -398,6 +416,15 @@ declare const TransitionMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
398
416
|
}>;
|
|
399
417
|
}, z.core.$strip>>;
|
|
400
418
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
419
|
+
role: z.ZodNullable<z.ZodString>;
|
|
420
|
+
description: z.ZodNullable<z.ZodString>;
|
|
421
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
422
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
423
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
424
|
+
readonly ONSITE: "ONSITE";
|
|
425
|
+
readonly REMOTE: "REMOTE";
|
|
426
|
+
}>>;
|
|
427
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
401
428
|
createdAt: z.ZodString;
|
|
402
429
|
updatedAt: z.ZodString;
|
|
403
430
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -463,6 +490,15 @@ declare const CompleteMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
463
490
|
}>;
|
|
464
491
|
}, z.core.$strip>>;
|
|
465
492
|
scopeOfWork: z.ZodNullable<z.ZodString>;
|
|
493
|
+
role: z.ZodNullable<z.ZodString>;
|
|
494
|
+
description: z.ZodNullable<z.ZodString>;
|
|
495
|
+
responsibilities: z.ZodNullable<z.ZodString>;
|
|
496
|
+
requirements: z.ZodNullable<z.ZodString>;
|
|
497
|
+
location: z.ZodNullable<z.ZodEnum<{
|
|
498
|
+
readonly ONSITE: "ONSITE";
|
|
499
|
+
readonly REMOTE: "REMOTE";
|
|
500
|
+
}>>;
|
|
501
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
466
502
|
createdAt: z.ZodString;
|
|
467
503
|
updatedAt: z.ZodString;
|
|
468
504
|
assignedEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -1023,7 +1059,7 @@ declare const GetMarketplaceHiringThreadResponseSchema: z.ZodObject<{
|
|
|
1023
1059
|
}, z.core.$strip>>;
|
|
1024
1060
|
}, z.core.$strip>;
|
|
1025
1061
|
declare const PostMarketplaceHiringThreadMessageRequestSchema: z.ZodObject<{
|
|
1026
|
-
body: z.ZodString
|
|
1062
|
+
body: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1027
1063
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1028
1064
|
url: z.ZodString;
|
|
1029
1065
|
mimeType: z.ZodString;
|
|
@@ -1054,9 +1090,9 @@ declare const PostMarketplaceHiringThreadMessageResponseSchema: z.ZodObject<{
|
|
|
1054
1090
|
}, z.core.$strip>;
|
|
1055
1091
|
/**
|
|
1056
1092
|
* `POST /marketplace/bookings/:bookingId/thread/attachments`
|
|
1057
|
-
* Multipart
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1093
|
+
* Multipart upload for hiring-thread chat (images, PDF, Word, MP4).
|
|
1094
|
+
* FE uploads first, then posts `{ url, mimeType, sizeBytes }` via WS
|
|
1095
|
+
* `hiring_thread.message.post` (body optional when attachments present).
|
|
1060
1096
|
*/
|
|
1061
1097
|
declare const UploadMarketplaceHiringThreadAttachmentResponseSchema: z.ZodObject<{
|
|
1062
1098
|
url: z.ZodURL;
|
package/dist/booking/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkCMQ36ZUU_js=require('../chunk-CMQ36ZUU.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunk72SD46VJ_js=require('../chunk-72SD46VJ.js');require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Da}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ta}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ua}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.na}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.sa}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ra}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.oa}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.pa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.qa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.H}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.I}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.J}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.x}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.z}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.wa}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.u}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.A}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.za}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Aa}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.va}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.y}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js._}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.O}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Ba}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Q}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.D}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Z}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.fa}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.C}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ja}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.S}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ca}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.da}});Object.defineProperty(exports,"MarketplaceBookingAssignedEventSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.s}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.t}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.W}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.X}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ea}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.V}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.R}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.N}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.M}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.G}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.T}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.U}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.K}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.$}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.aa}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ia}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ka}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ha}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ma}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.la}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ga}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.F}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.E}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Ca}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ya}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.Ea}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.P}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.L}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.v}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.w}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.xa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.B}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.ba}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkCMQ36ZUU_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.c}});//# sourceMappingURL=index.js.map
|
|
1
|
+
'use strict';var chunkMEJ7GH5D_js=require('../chunk-MEJ7GH5D.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunk72SD46VJ_js=require('../chunk-72SD46VJ.js');require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Da}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ta}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ua}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.na}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.sa}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ra}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.oa}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.pa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.qa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.H}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.I}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.J}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.x}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.z}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.wa}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.u}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.A}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.za}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Aa}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.va}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.y}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js._}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.O}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Ba}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Q}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.D}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Z}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.fa}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.C}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ja}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.S}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ca}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.da}});Object.defineProperty(exports,"MarketplaceBookingAssignedEventSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.s}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.t}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.W}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.X}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ea}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.V}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.R}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.N}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.M}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.G}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.T}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.U}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.K}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.$}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.aa}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ia}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ka}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ha}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ma}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.la}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ga}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.F}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.E}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Ca}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ya}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.Ea}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.P}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.L}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.v}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.w}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.xa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.B}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.ba}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkMEJ7GH5D_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.c}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/booking/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Da as AcceptEventCrewAssignmentResponseSchema,ta as AdminBookingAuditEntrySchema,ua as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,na as BookingAuditActorSchema,sa as BookingAuditAttachmentAddedDetailsSchema,ra as BookingAuditMessageSentDetailsSchema,oa as BookingAuditRequestMetadataSchema,pa as BookingAuditSnapshotSchema,qa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,H as CancelMarketplaceJobListingRequestSchema,I as CancelMarketplaceJobListingResponseSchema,J as CloseMarketplaceJobListingResponseSchema,x as CompleteMarketplaceBookingRequestSchema,z as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,wa as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,u as CreateMarketplaceBookingResponseSchema,A as CreateMarketplaceJobListingRequestSchema,za as EventCrewAssignmentProducerSummarySchema,Aa as EventCrewAssignmentResponseSchema,va as EventCrewAssignmentState,y as ForceCompleteMarketplaceBookingRequestSchema,_ as GetMarketplaceHiringThreadResponseSchema,O as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,Ba as ListEventCrewAssignmentsResponseSchema,Q as ListHostMarketplaceIndicationsQuerySchema,D as ListHostMarketplaceJobListingsQuerySchema,Y as ListMarketplaceHiringThreadMessagesQuerySchema,Z as ListMarketplaceHiringThreadMessagesResponseSchema,fa as ListMarketplaceHiringThreadsResponseSchema,C as ListMarketplaceJobListingsQuerySchema,ja as ListProducerJobsQuerySchema,S as ListProducerMarketplaceIndicationsQuerySchema,ca as MarkMarketplaceHiringThreadReadRequestSchema,da as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingAssignedEventSchema,t as MarketplaceBookingResponseSchema,W as MarketplaceHiringMessageAttachmentSchema,X as MarketplaceHiringMessageSchema,ea as MarketplaceHiringThreadInboxItemSchema,V as MarketplaceHiringThreadSchema,R as MarketplaceHostIndicationOfInterestInboxItemSchema,N as MarketplaceIndicationOfInterestHostItemSchema,M as MarketplaceIndicationOfInterestResponseSchema,G as MarketplaceJobListingResponseSchema,T as MarketplaceProducerIndicationOfInterestInboxItemSchema,U as MessageDeliveryStatus,K as OpenMarketplaceJobListingResponseSchema,$ as PostMarketplaceHiringThreadMessageRequestSchema,aa as PostMarketplaceHiringThreadMessageResponseSchema,ia as ProducerJobRowKindSchema,ka as ProducerJobRowSchema,ha as ProducerJobRowStatusSchema,ma as ProducerJobsTabCountsResponseSchema,la as ProducerJobsTabResponseSchema,ga as ProducerJobsTabSchema,F as PublishMarketplaceJobListingResponseSchema,E as PublishReadyJobListingSchema,Ca as RejectEventCrewAssignmentRequestSchema,ya as ReplaceEventCrewAssignmentRequestSchema,Ea as ReplaceEventCrewAssignmentResponseSchema,P as SortOrder,L as SubmitMarketplaceIndicationOfInterestRequestSchema,v as TransitionMarketplaceBookingRequestSchema,w as TransitionMarketplaceBookingResponseSchema,xa as UpdateEventCrewAssignmentRequestSchema,B as UpdateMarketplaceJobListingRequestSchema,ba as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-
|
|
1
|
+
export{Da as AcceptEventCrewAssignmentResponseSchema,ta as AdminBookingAuditEntrySchema,ua as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,na as BookingAuditActorSchema,sa as BookingAuditAttachmentAddedDetailsSchema,ra as BookingAuditMessageSentDetailsSchema,oa as BookingAuditRequestMetadataSchema,pa as BookingAuditSnapshotSchema,qa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,H as CancelMarketplaceJobListingRequestSchema,I as CancelMarketplaceJobListingResponseSchema,J as CloseMarketplaceJobListingResponseSchema,x as CompleteMarketplaceBookingRequestSchema,z as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,wa as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,u as CreateMarketplaceBookingResponseSchema,A as CreateMarketplaceJobListingRequestSchema,za as EventCrewAssignmentProducerSummarySchema,Aa as EventCrewAssignmentResponseSchema,va as EventCrewAssignmentState,y as ForceCompleteMarketplaceBookingRequestSchema,_ as GetMarketplaceHiringThreadResponseSchema,O as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,Ba as ListEventCrewAssignmentsResponseSchema,Q as ListHostMarketplaceIndicationsQuerySchema,D as ListHostMarketplaceJobListingsQuerySchema,Y as ListMarketplaceHiringThreadMessagesQuerySchema,Z as ListMarketplaceHiringThreadMessagesResponseSchema,fa as ListMarketplaceHiringThreadsResponseSchema,C as ListMarketplaceJobListingsQuerySchema,ja as ListProducerJobsQuerySchema,S as ListProducerMarketplaceIndicationsQuerySchema,ca as MarkMarketplaceHiringThreadReadRequestSchema,da as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingAssignedEventSchema,t as MarketplaceBookingResponseSchema,W as MarketplaceHiringMessageAttachmentSchema,X as MarketplaceHiringMessageSchema,ea as MarketplaceHiringThreadInboxItemSchema,V as MarketplaceHiringThreadSchema,R as MarketplaceHostIndicationOfInterestInboxItemSchema,N as MarketplaceIndicationOfInterestHostItemSchema,M as MarketplaceIndicationOfInterestResponseSchema,G as MarketplaceJobListingResponseSchema,T as MarketplaceProducerIndicationOfInterestInboxItemSchema,U as MessageDeliveryStatus,K as OpenMarketplaceJobListingResponseSchema,$ as PostMarketplaceHiringThreadMessageRequestSchema,aa as PostMarketplaceHiringThreadMessageResponseSchema,ia as ProducerJobRowKindSchema,ka as ProducerJobRowSchema,ha as ProducerJobRowStatusSchema,ma as ProducerJobsTabCountsResponseSchema,la as ProducerJobsTabResponseSchema,ga as ProducerJobsTabSchema,F as PublishMarketplaceJobListingResponseSchema,E as PublishReadyJobListingSchema,Ca as RejectEventCrewAssignmentRequestSchema,ya as ReplaceEventCrewAssignmentRequestSchema,Ea as ReplaceEventCrewAssignmentResponseSchema,P as SortOrder,L as SubmitMarketplaceIndicationOfInterestRequestSchema,v as TransitionMarketplaceBookingRequestSchema,w as TransitionMarketplaceBookingResponseSchema,xa as UpdateEventCrewAssignmentRequestSchema,B as UpdateMarketplaceJobListingRequestSchema,ba as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-U645QCJ5.mjs';export{g as BookingAuditAction,a as BookingOrigin,e as BookingPaymentStatus,b as BookingState,f as BookingTransitionActor,d as IoiState,c as JobListingState}from'../chunk-B7B7YFFC.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,d as ListProducerReviewsQuerySchema,b as MarketplaceReviewResponseSchema,e as PagedProducerReviewsResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-IIVGG46P.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkQZMRMFXE_js=require('./chunk-QZMRMFXE.js'),chunkMMROBRAM_js=require('./chunk-MMROBRAM.js'),zod=require('zod');var u=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),businessName:zod.z.string(),totalEvents:zod.z.number(),totalSpent:zod.z.number(),averageRating:zod.z.number(),totalReviews:zod.z.number().int().nonnegative(),defaultCurrency:zod.z.string(),description:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkMMROBRAM_js.h)),logoUrl:zod.z.url().optional(),hasPin:zod.z.boolean(),businessRegNumber:zod.z.string().optional(),taxId:zod.z.string().optional(),settlementBankCode:zod.z.string().optional(),settlementAccountNumber:zod.z.string().optional(),settlementAccountName:zod.z.string().optional(),paystackSubaccountCode:zod.z.string().optional(),createdAt:zod.z.iso.datetime()}),d=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string(),bio:zod.z.string(),yearsExperience:zod.z.number().optional(),experienceLevel:zod.z.enum(chunkQZMRMFXE_js.h),equipmentManifest:zod.z.array(zod.z.record(zod.z.string(),zod.z.any())),serviceCategories:zod.z.array(chunkQZMRMFXE_js.n),equipmentItems:zod.z.array(chunkQZMRMFXE_js.n),verificationStatus:zod.z.enum(chunkQZMRMFXE_js.g),averageRating:zod.z.number().positive().multipleOf(.01),totalReviews:zod.z.number(),completionRate:zod.z.number(),isAvailable:zod.z.boolean(),hasPin:zod.z.boolean(),createdAt:zod.z.iso.datetime()}),R=zod.z.object({id:zod.z.uuid(),email:zod.z.email().toLowerCase(),emailVerified:zod.z.boolean(),emailVerifiedAt:zod.z.iso.datetime().optional(),phoneNumber:zod.z.string().optional(),firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),roles:zod.z.number().min(1).max(15),accountStatus:zod.z.enum(chunkQZMRMFXE_js.b),kycStatus:zod.z.enum(chunkQZMRMFXE_js.c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),eventCategory:zod.z.array(zod.z.enum(chunkMMROBRAM_js.h)).optional()}),N=zod.z.object({firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),phoneNumber:zod.z.string().optional(),eventCategory:zod.z.array(zod.z.enum(chunkMMROBRAM_js.h)).optional()}),v=zod.z.object({businessName:zod.z.string(),description:zod.z.string().optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkMMROBRAM_js.h)).min(1)}),C=zod.z.object({businessName:zod.z.string().min(1).max(120).optional(),description:zod.z.string().max(2e3).optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkMMROBRAM_js.h)).min(1).optional(),businessRegNumber:zod.z.string().max(64).optional(),taxId:zod.z.string().max(64).optional()}),P=zod.z.object({companyName:zod.z.string(),bio:zod.z.string(),logoUrl:zod.z.string().optional(),serviceCategoryIds:zod.z.array(zod.z.uuid()).optional(),serviceCategoryCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),equipmentItemIds:zod.z.array(zod.z.uuid()).optional(),equipmentItemCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),yearsExperience:zod.z.number(),experienceLevel:zod.z.enum(chunkQZMRMFXE_js.h),minFee:zod.z.number(),maxFee:zod.z.number(),isAvailable:zod.z.boolean()}),E=zod.z.object({pin:zod.z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:zod.z.string().trim().regex(/^\d{4,8}$/,"currentPin must be 4-8 digits").optional()}),g=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),b=zod.z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(r=>!g.has(r),{message:"This display name is reserved"}),j=zod.z.object({displayName:b}).strict(),A=zod.z.object({preferredCurrency:zod.z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=zod.z.enum([chunkQZMRMFXE_js.f.LIVE_ALERTS,chunkQZMRMFXE_js.f.RECOMMENDATIONS,chunkQZMRMFXE_js.f.EVENT_REMINDERS]),y=zod.z.object({category:l,enabled:zod.z.boolean()}),U=zod.z.object({preferences:zod.z.array(y).min(1).max(10).refine(r=>new Set(r.map(p=>p.category)).size===r.length,{message:"Duplicate category in preferences"})}).strict(),I=zod.z.object({category:zod.z.enum(chunkQZMRMFXE_js.e),message:zod.z.string().trim().min(10).max(2e3)}).strict(),q=zod.z.object({id:zod.z.uuid(),email:zod.z.email(),emailVerified:zod.z.boolean(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.url().nullable(),roles:zod.z.number().int(),preferredCurrency:zod.z.string(),notificationsEnabledCount:zod.z.number().int(),hasPushDevice:zod.z.boolean()}),w=zod.z.object({preferences:zod.z.record(l,zod.z.boolean())}),D=zod.z.object({id:zod.z.uuid()});exports.a=u;exports.b=d;exports.c=R;exports.d=N;exports.e=v;exports.f=C;exports.g=P;exports.h=E;exports.i=g;exports.j=b;exports.k=j;exports.l=A;exports.m=y;exports.n=U;exports.o=I;exports.p=q;exports.q=w;exports.r=D;//# sourceMappingURL=chunk-JC552E6N.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-JC552E6N.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","USER_CATEGORY","NotificationCategory","NotificationPreferenceItemSchema","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"oIAYO,IAAMA,EAA4BC,KAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,KAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,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AAA,CAAOmB,CAAAA,CAAenB,KAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,KAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,KAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-GSVMAZB3.js","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n /** Count of producer→host marketplace reviews reflected in `averageRating`. */\n totalReviews: z.number().int().nonnegative(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n hasPin: z.boolean(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n hasPin: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n});\n\nexport const UpdateHostProfileRequestSchema = z.object({\n businessName: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1).optional(),\n businessRegNumber: z.string().max(64).optional(),\n taxId: z.string().max(64).optional(),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceCategoryIds: z.array(z.uuid()).optional(),\n serviceCategoryCodes: z.array(z.string().min(1).max(64)).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n isAvailable: z.boolean(),\n});\n\nexport const SetProfilePinSchema = z.object({\n pin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'pin must be 4-8 digits'),\n currentPin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'currentPin must be 4-8 digits')\n .optional(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\nconst USER_CATEGORY = z.enum([\n NotificationCategory.LIVE_ALERTS,\n NotificationCategory.RECOMMENDATIONS,\n NotificationCategory.EVENT_REMINDERS,\n]);\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: USER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n hasPushDevice: z.boolean(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.record(USER_CATEGORY, z.boolean()),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","USER_CATEGORY","NotificationCategory","NotificationPreferenceItemSchema","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"oIAYO,IAAMA,EAA4BC,KAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,KAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,MAAE,IAAA,EAAK,CACf,aAAcA,KAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,KAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,KAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,MAAE,MAAA,EAAO,CAExB,YAAA,CAAcA,KAAAA,CAAE,MAAA,EAAO,CAAE,KAAI,CAAE,WAAA,GAC/B,eAAA,CAAiBA,KAAAA,CAAE,QAAO,CAC1B,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GACxB,QAAA,CAAUA,KAAAA,CAAE,MAAMA,KAAAA,CAAE,IAAA,CAAKC,kBAAa,CAAC,CAAA,CACvC,QAASD,KAAAA,CAAE,GAAA,GAAM,QAAA,EAAS,CAC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zB,KAAAA,CACtC,OAAO,CACN,QAAA,CAAUA,MAAE,IAAA,CAAK0B,kBAAgB,EACjC,OAAA,CAAS1B,KAAAA,CAAE,QAAO,CAAE,IAAA,GAAO,GAAA,CAAI,EAAE,CAAA,CAAE,GAAA,CAAI,GAAI,CAC7C,CAAC,CAAA,CACA,MAAA,GAEU2B,CAAAA,CAAyB3B,KAAAA,CAAE,OAAO,CAC7C,EAAA,CAAIA,KAAAA,CAAE,IAAA,EAAK,CACX,KAAA,CAAOA,MAAE,KAAA,EAAM,CACf,cAAeA,KAAAA,CAAE,OAAA,GACjB,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACjC,UAAWA,KAAAA,CAAE,GAAA,GAAM,QAAA,EAAS,CAC5B,MAAOA,KAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CACtB,iBAAA,CAAmBA,MAAE,MAAA,EAAO,CAC5B,0BAA2BA,KAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAC1C,aAAA,CAAeA,KAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY4B,CAAAA,CAAwC5B,MAAE,MAAA,CAAO,CAC5D,YAAaA,KAAAA,CAAE,MAAA,CAAOmB,CAAAA,CAAenB,KAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,KAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,KAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-JC552E6N.js","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n /** Count of producer→host marketplace reviews reflected in `averageRating`. */\n totalReviews: z.number().int().nonnegative(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n hasPin: z.boolean(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n hasPin: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n roles: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n});\n\nexport const UpdateHostProfileRequestSchema = z.object({\n businessName: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1).optional(),\n businessRegNumber: z.string().max(64).optional(),\n taxId: z.string().max(64).optional(),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceCategoryIds: z.array(z.uuid()).optional(),\n serviceCategoryCodes: z.array(z.string().min(1).max(64)).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n isAvailable: z.boolean(),\n});\n\nexport const SetProfilePinSchema = z.object({\n pin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'pin must be 4-8 digits'),\n currentPin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'currentPin must be 4-8 digits')\n .optional(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\nconst USER_CATEGORY = z.enum([\n NotificationCategory.LIVE_ALERTS,\n NotificationCategory.RECOMMENDATIONS,\n NotificationCategory.EVENT_REMINDERS,\n]);\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: USER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n hasPushDevice: z.boolean(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.record(USER_CATEGORY, z.boolean()),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkFG6EV3WQ_js=require('./chunk-FG6EV3WQ.js'),chunkEAKBQ5VD_js=require('./chunk-EAKBQ5VD.js'),chunkO3GYEMUB_js=require('./chunk-O3GYEMUB.js'),zod=require('zod');var J=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.CLOSED],M=[...J,chunkFG6EV3WQ_js.b.IN_DISPUTE],$={[chunkFG6EV3WQ_js.b.DRAFT]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.REQUESTED]:[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE]:[chunkFG6EV3WQ_js.b.IN_NEGOTIATION,chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_NEGOTIATION]:[chunkFG6EV3WQ_js.b.ACCEPTED,chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.ACCEPTED]:[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.CONFIRMED]:[chunkFG6EV3WQ_js.b.IN_PROGRESS,chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM]:[chunkFG6EV3WQ_js.b.CONFIRMED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.IN_PROGRESS]:[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED,chunkFG6EV3WQ_js.b.CANCELLED],[chunkFG6EV3WQ_js.b.SERVICE_COMPLETED]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.IN_DISPUTE]:[chunkFG6EV3WQ_js.b.CLOSED],[chunkFG6EV3WQ_js.b.REJECTED]:[],[chunkFG6EV3WQ_js.b.CANCELLED]:[],[chunkFG6EV3WQ_js.b.CLOSED]:[]},H={[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.DRAFT}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.REQUESTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RESPONSE}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.ACCEPTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.REJECTED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.IN_NEGOTIATION}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.ACCEPTED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_ESCROW_FUNDING}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.IN_PROGRESS}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.CONFIRMED}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CONFIRMED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.AWAITING_PRODUCER_RECONFIRM}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}`]:[chunkFG6EV3WQ_js.f.PRODUCER,chunkFG6EV3WQ_js.f.SYSTEM,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.IN_PROGRESS}->${chunkFG6EV3WQ_js.b.CANCELLED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN],[`${chunkFG6EV3WQ_js.b.SERVICE_COMPLETED}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.SYSTEM],[`${chunkFG6EV3WQ_js.b.IN_DISPUTE}->${chunkFG6EV3WQ_js.b.CLOSED}`]:[chunkFG6EV3WQ_js.f.ADMIN,chunkFG6EV3WQ_js.f.HOST]},w=[chunkFG6EV3WQ_js.b.REJECTED,chunkFG6EV3WQ_js.b.CANCELLED,chunkFG6EV3WQ_js.b.IN_DISPUTE];function F(i,a){return `${i}->${a}`}function W(i){let a=$[i]??[];return M.includes(i)?a:[...a,chunkFG6EV3WQ_js.b.IN_DISPUTE]}function ge(i,a){return W(i).includes(a)}function z(i,a){return a===chunkFG6EV3WQ_js.b.IN_DISPUTE&&!M.includes(i)?[chunkFG6EV3WQ_js.f.HOST,chunkFG6EV3WQ_js.f.PRODUCER]:H[F(i,a)]??[]}function Ee(i,a,b){return z(i,a).includes(b)}function Ie(i,a){return w.includes(a)}var Ae=zod.z.object({origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),producerId:zod.z.uuid(),agreedAmount:zod.z.number().min(0)}),Te=zod.z.object({escrowReference:zod.z.string()}),Ce=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().optional(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),quotedPrice:zod.z.number(),currency:zod.z.string(),scopeOfWork:zod.z.record(zod.z.string(),zod.z.any()).optional(),requiredStartAt:zod.z.iso.datetime(),requiredEndAt:zod.z.iso.datetime(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),paymentStatus:zod.z.enum(chunkFG6EV3WQ_js.e),escrowReference:zod.z.string().optional(),completedAt:zod.z.iso.datetime().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),De=zod.z.object({title:zod.z.string().max(255),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().positive().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional()}),Ne=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().optional(),title:zod.z.string(),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationMinutes:zod.z.number().int().nullable().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number(),createdAt:zod.z.iso.datetime()});var c={ONSITE:"ONSITE",REMOTE:"REMOTE"},P={LOW:"LOW",MID:"MID",HIGH:"HIGH"};var y=zod.z.record(zod.z.string(),zod.z.unknown()),Pe=zod.z.object({producerId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),eventId:zod.z.uuid().optional(),jobListingId:zod.z.uuid().optional(),sourceIoiId:zod.z.uuid().optional(),agreedAmount:zod.z.coerce.number().nonnegative().optional(),scopeOfWork:zod.z.string().max(5e3).optional()}).superRefine((i,a)=>{i.origin===chunkFG6EV3WQ_js.a.EVENT_DIRECT&&!i.eventId&&a.addIssue({code:"custom",message:"eventId is required when origin is EVENT_DIRECT",path:["eventId"]}),i.origin===chunkFG6EV3WQ_js.a.MARKETPLACE_DIRECT&&(i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is MARKETPLACE_DIRECT",path:["eventId"]}),i.sourceIoiId&&a.addIssue({code:"custom",message:"sourceIoiId must not be set when origin is MARKETPLACE_DIRECT",path:["sourceIoiId"]})),i.origin===chunkFG6EV3WQ_js.a.JOB_LISTING&&(i.sourceIoiId||a.addIssue({code:"custom",message:"sourceIoiId is required when origin is JOB_LISTING",path:["sourceIoiId"]}),i.eventId&&a.addIssue({code:"custom",message:"eventId must not be set when origin is JOB_LISTING",path:["eventId"]})),i.sourceIoiId&&i.origin!==chunkFG6EV3WQ_js.a.JOB_LISTING&&a.addIssue({code:"custom",message:"sourceIoiId is only allowed when origin is JOB_LISTING",path:["sourceIoiId"]});}),K=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),state:zod.z.string(),timezone:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}),scheduledEnd:zod.z.iso.datetime(),scheduledEndLocal:zod.z.iso.datetime({local:true,offset:false}),requiredStartAt:zod.z.iso.datetime(),requiredEndAt:zod.z.iso.datetime(),goLiveEligibleAt:zod.z.iso.datetime().nullable()}),C=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().nullable(),eventLinked:zod.z.boolean(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),origin:zod.z.enum(chunkFG6EV3WQ_js.a),jobListingId:zod.z.uuid().nullable(),sourceIoiId:zod.z.uuid().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.b),agreedAmount:chunkO3GYEMUB_js.h.nullable(),scopeOfWork:zod.z.string().nullable(),role:zod.z.string().nullable(),description:zod.z.string().nullable(),responsibilities:zod.z.string().nullable(),requirements:zod.z.string().nullable(),location:zod.z.enum(c).nullable(),notes:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string(),assignedEvent:K.nullable()}),ye=zod.z.object({bookingId:zod.z.uuid(),booking:C}),V=zod.z.string().trim().min(5).max(500),ve=zod.z.object({targetState:zod.z.enum(chunkFG6EV3WQ_js.b),reason:V.optional()}).superRefine((i,a)=>{(i.targetState===chunkFG6EV3WQ_js.b.REJECTED||i.targetState===chunkFG6EV3WQ_js.b.CANCELLED||i.targetState===chunkFG6EV3WQ_js.b.IN_DISPUTE)&&i.reason===void 0&&a.addIssue({code:"custom",message:"reason is required for this transition",path:["reason"]});}),_e=zod.z.object({booking:C}),Be=zod.z.object({notes:zod.z.string().max(2e3).optional()}),je=zod.z.object({notes:zod.z.string().max(2e3).optional()}),Ue=zod.z.object({booking:C,hostAcked:zod.z.boolean(),producerAcked:zod.z.boolean(),completed:zod.z.boolean(),forced:zod.z.boolean().optional()}),Q=(i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required when eventId is not provided",path:["eventTitle"]});},D=(i,a)=>{i.requiredDateLocal!==void 0&&!i.timezone?.trim()&&a.addIssue({code:"custom",message:"timezone is required when requiredDateLocal is provided",path:["timezone"]});},N=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),requiredDateLocal:zod.z.iso.datetime({local:true,offset:false}).optional(),timezone:zod.z.string().min(1).optional(),requiredDate:zod.z.iso.datetime().optional(),estimatedDurationMinutes:zod.z.coerce.number().int().positive().optional(),location:zod.z.enum(c),notes:zod.z.string().max(2e3).optional(),compensation:zod.z.coerce.number().nonnegative().optional(),attachments:y.optional(),eventId:zod.z.uuid().optional()}),Y=N.superRefine(Q).superRefine(D),X=zod.z.object({eventTitle:zod.z.string().min(1).max(200).optional(),title:zod.z.string().min(1).max(200).optional(),description:zod.z.string().min(1).max(5e3),responsibilities:zod.z.string().min(1),requirements:zod.z.string().min(1),role:zod.z.string().min(1).max(120),requiredCount:zod.z.coerce.number().int().min(1),location:zod.z.enum(c),eventId:zod.z.uuid().optional()}),Z=X,Ge=N.partial().extend({saveAsDraft:zod.z.boolean().optional().default(false)}).superRefine(D).superRefine((i,a)=>{if(i.saveAsDraft)return;let b=Y.safeParse(i);b.success||a.addIssue({code:"custom",message:b.error.issues.map(q=>q.message).join("; ")});}),qe=N.partial().superRefine(D),Je=zod.z.object({...chunkO3GYEMUB_js.g.shape,location:zod.z.enum(c).optional(),search:zod.z.string().trim().min(2).max(100).optional(),roles:zod.z.string().trim().min(1).max(500).optional(),requiredDateFrom:zod.z.string().optional(),requiredDateTo:zod.z.string().optional(),minCompensation:zod.z.coerce.number().int().min(0).optional(),maxCompensation:zod.z.coerce.number().int().min(0).optional(),compensationTier:zod.z.enum(P).optional(),matchMyAvailability:zod.z.enum(["true","false"]).optional().transform(i=>i==="true")}),$e=zod.z.object({...chunkO3GYEMUB_js.g.shape,state:zod.z.enum(chunkFG6EV3WQ_js.c).optional(),search:zod.z.string().trim().min(2).max(100).optional()}),He=Z.superRefine((i,a)=>{if(i.eventId)return;i.eventTitle?.trim()||i.title?.trim()||a.addIssue({code:"custom",message:"eventTitle is required for standalone job listings",path:["eventTitle"]});}),we=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("OPEN")}),Fe=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().nullable(),title:zod.z.string(),eventTitle:zod.z.string().nullable(),notes:zod.z.string().nullable(),description:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),role:zod.z.string(),requiredCount:zod.z.number().int().min(1),requiredDate:zod.z.string().nullable(),requiredDateLocal:zod.z.string().nullable(),timezone:zod.z.string().nullable(),estimatedDurationMinutes:zod.z.number().int().nullable(),location:zod.z.enum(c),compensation:chunkO3GYEMUB_js.h.nullable(),attachments:zod.z.unknown().nullable(),state:zod.z.enum(chunkFG6EV3WQ_js.c),proposalCount:zod.z.number().int(),cancelledAt:zod.z.string().nullable(),cancelledReason:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),We=zod.z.object({reason:zod.z.string().trim().min(5).max(500).optional()}),ze=zod.z.object({id:zod.z.uuid(),state:zod.z.literal("CANCELLED"),cancelledAt:zod.z.iso.datetime().nullable()}),Ke=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.SUSPENDED)}),Ve=zod.z.object({id:zod.z.uuid(),state:zod.z.literal(chunkFG6EV3WQ_js.c.OPEN)}),Qe=zod.z.object({coverMessage:zod.z.string().min(1).max(2e3).optional(),proposedAmount:zod.z.coerce.number().nonnegative().optional(),availabilityNotes:zod.z.string().max(2e3).optional(),attachments:y.optional()}),v=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().nullable(),proposedAmount:chunkO3GYEMUB_js.h.nullable(),availabilityNotes:zod.z.string().nullable(),state:zod.z.enum(chunkEAKBQ5VD_js.a),resultingBookingId:zod.z.uuid().nullable(),withdrawnAt:zod.z.string().nullable(),selectedAt:zod.z.string().nullable(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),ee=v.extend({producerCompanyName:zod.z.string().nullable()}),A={CREATED_AT:"createdAt",UPDATED_AT:"updatedAt",PROPOSED_AMOUNT:"proposedAmount"},T={ASC:"asc",DESC:"desc"},Ye=zod.z.object({...chunkO3GYEMUB_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(A).default(A.CREATED_AT),sortOrder:zod.z.enum(T).default(T.DESC)}),Xe=ee.extend({producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.url().nullable(),producerServiceCategoryLabels:zod.z.array(zod.z.string()),producerEquipmentLabels:zod.z.array(zod.z.string()),producerIsVerified:zod.z.boolean(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(c),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable()}),Ze=zod.z.object({...chunkO3GYEMUB_js.g.shape,jobListingId:zod.z.uuid().optional(),state:zod.z.enum(chunkEAKBQ5VD_js.a).optional(),search:zod.z.string().trim().min(2).max(100).optional(),sortBy:zod.z.enum(A).default(A.CREATED_AT),sortOrder:zod.z.enum(T).default(T.DESC)}),et=v.extend({hostBusinessName:zod.z.string().nullable(),jobListingTitle:zod.z.string(),jobListingRole:zod.z.string(),jobListingState:zod.z.enum(chunkFG6EV3WQ_js.c),jobListingLocation:zod.z.enum(c),jobListingEventId:zod.z.uuid().nullable(),jobListingEventTitle:zod.z.string().nullable(),jobListingRequiredDate:zod.z.string().nullable(),jobListingCompensation:chunkO3GYEMUB_js.h.nullable()});var _={SENT:"SENT",DELIVERED:"DELIVERED",READ:"READ"};var te=zod.z.object({id:zod.z.uuid(),bookingId:zod.z.uuid(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),oe=zod.z.object({id:zod.z.uuid(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int(),createdAt:zod.z.string()}),h=zod.z.object({id:zod.z.uuid(),threadId:zod.z.uuid(),senderUserId:zod.z.uuid(),body:zod.z.string(),sentAt:zod.z.string(),deliveryStatus:zod.z.enum(_),readAt:zod.z.string().nullable(),attachments:zod.z.array(oe)}),at=chunkO3GYEMUB_js.g,lt=zod.z.object({messages:zod.z.array(h),...chunkO3GYEMUB_js.k.shape}),ut=zod.z.object({thread:te,messages:zod.z.array(h),...chunkO3GYEMUB_js.k.shape}),ct=zod.z.object({body:zod.z.string().trim().max(5e3).optional().default(""),attachments:zod.z.array(zod.z.object({url:zod.z.string().url(),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()})).max(10).optional()}).refine(i=>i.body.length>0||(i.attachments?.length??0)>0,{message:"Either a non-empty body or at least one attachment is required",path:["body"]}),mt=zod.z.object({message:h}),dt=zod.z.object({url:zod.z.url(),key:zod.z.string().min(1),mimeType:zod.z.string().min(1).max(120),sizeBytes:zod.z.number().int().positive()}),pt=zod.z.object({upToMessageId:zod.z.uuid().optional()}),gt=zod.z.object({markedCount:zod.z.number().int().nonnegative()}),ne=zod.z.object({threadId:zod.z.uuid(),bookingId:zod.z.uuid(),title:zod.z.string(),lastMessagePreview:zod.z.string().nullable(),lastMessageAt:zod.z.string().nullable(),lastSenderUserId:zod.z.uuid().nullable(),lastSenderDisplayName:zod.z.string().nullable(),unreadCount:zod.z.number().int().nonnegative(),bookingState:zod.z.enum(chunkFG6EV3WQ_js.b),producerProfileId:zod.z.uuid(),producerDisplayName:zod.z.string(),producerAvatarUrl:zod.z.string().nullable(),hostProfileId:zod.z.uuid(),hostDisplayName:zod.z.string(),hostAvatarUrl:zod.z.string().nullable(),counterpartyDisplayName:zod.z.string(),counterpartyAvatarUrl:zod.z.string().nullable(),counterpartyRole:zod.z.enum(["HOST","PRODUCER"])}),Et=zod.z.object({items:zod.z.array(ne),...chunkO3GYEMUB_js.k.shape});var B=zod.z.enum(["APPLICATIONS","UPCOMING","LIVE","COMPLETED","JOB_INVITES"]),ie=zod.z.enum(["PENDING","SHORTLISTED","SELECTED","WITHDRAWN","REJECTED","CANCELLED","INVITED","NEGOTIATING","CONFIRMED","LIVE","COMPLETED","DISPUTED"]),re=zod.z.enum(["IOI","BOOKING","ASSIGNMENT"]),Rt=zod.z.object({tab:B,search:zod.z.string().trim().min(2).max(100).optional(),...chunkO3GYEMUB_js.g.shape}),se=zod.z.object({id:zod.z.uuid(),kind:re,eventName:zod.z.string(),date:zod.z.string().nullable(),role:zod.z.string(),payment:chunkO3GYEMUB_js.h.nullable(),status:ie,statusCode:zod.z.string(),jobListingId:zod.z.uuid().nullable(),bookingId:zod.z.uuid().nullable(),ioiId:zod.z.uuid().nullable(),eventId:zod.z.uuid().nullable(),assignmentId:zod.z.uuid().nullable().optional()}),At=zod.z.object({tab:B,items:zod.z.array(se),...chunkO3GYEMUB_js.k.shape}),Tt=zod.z.object({applications:zod.z.number().int().nonnegative(),upcoming:zod.z.number().int().nonnegative(),live:zod.z.number().int().nonnegative(),completed:zod.z.number().int().nonnegative(),jobInvites:zod.z.number().int().nonnegative()});var ae=zod.z.object({id:zod.z.string(),role:chunkO3GYEMUB_js.b}),L=zod.z.object({reason:zod.z.string().optional(),ipAddress:zod.z.string().optional(),userAgent:zod.z.string().optional(),traceId:zod.z.string().optional()}),j=zod.z.record(zod.z.string(),zod.z.unknown()),le=L.extend({beforeState:j.optional(),afterState:j.optional()}),ue=L.extend({messageId:zod.z.string(),bodyPreview:zod.z.string(),attachmentCount:zod.z.number().int().nonnegative().optional()}),ce=L.extend({messageId:zod.z.string(),attachmentId:zod.z.string(),url:zod.z.string(),mimeType:zod.z.string(),sizeBytes:zod.z.number().int().nonnegative()}),O={timestamp:zod.z.string().datetime(),actor:ae};function S(i){return zod.z.object({...O,action:zod.z.literal(i),details:le})}var me=zod.z.discriminatedUnion("action",[S(chunkFG6EV3WQ_js.g.STATE_CHANGED),S(chunkFG6EV3WQ_js.g.TERMS_MODIFIED),S(chunkFG6EV3WQ_js.g.BOOKING_CREATED),S(chunkFG6EV3WQ_js.g.BOOKING_COMPLETED),S(chunkFG6EV3WQ_js.g.BOOKING_CANCELLED),S(chunkFG6EV3WQ_js.g.BOOKING_ACCEPTED),S(chunkFG6EV3WQ_js.g.BOOKING_REJECTED),zod.z.object({...O,action:zod.z.literal(chunkFG6EV3WQ_js.g.MESSAGE_SENT),details:ue}),zod.z.object({...O,action:zod.z.literal(chunkFG6EV3WQ_js.g.ATTACHMENT_ADDED),details:ce})]),Lt=zod.z.object({items:zod.z.array(me),...chunkO3GYEMUB_js.k.shape});var U={DRAFT:"DRAFT",INVITED:"INVITED",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",EXPIRED:"EXPIRED"};var G=zod.z.object({role:zod.z.string().trim().min(1).max(120),responsibilities:zod.z.string().trim().min(1).max(5e3),requirements:zod.z.string().trim().min(1).max(5e3),compensation:chunkO3GYEMUB_js.h,location:zod.z.enum(c),notes:zod.z.string().trim().max(2e3).optional()}),vt=G.extend({producerId:zod.z.uuid()}),_t=G.partial().refine(i=>Object.keys(i).length>0,{message:"At least one field is required"}),Bt=zod.z.object({producerId:zod.z.uuid(),role:zod.z.string().trim().min(1).max(120).optional(),responsibilities:zod.z.string().trim().min(1).max(5e3).optional(),requirements:zod.z.string().trim().min(1).max(5e3).optional(),compensation:chunkO3GYEMUB_js.h.optional(),location:zod.z.enum(c).optional(),notes:zod.z.string().trim().max(2e3).optional()}),de=zod.z.object({id:zod.z.uuid(),companyName:zod.z.string(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.string().nullable(),producerIsVerified:zod.z.boolean()}),x=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid(),hostId:zod.z.uuid(),producerId:zod.z.uuid(),role:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),compensation:chunkO3GYEMUB_js.h,location:zod.z.enum(c),notes:zod.z.string().nullable(),state:zod.z.enum(U),bookingId:zod.z.uuid().nullable(),invitedAt:zod.z.iso.datetime().nullable(),respondedAt:zod.z.iso.datetime().nullable(),rejectReason:zod.z.string().nullable(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),producer:de.optional(),eventTitle:zod.z.string().optional(),eventScheduledStartLocal:zod.z.iso.datetime({local:true,offset:false}).nullable().optional()}),jt=zod.z.object({items:zod.z.array(x)}),Ut=zod.z.object({reason:zod.z.string().trim().min(5).max(500)}),Gt=zod.z.object({assignment:x,bookingId:zod.z.uuid()}),qt=zod.z.object({assignment:x,replacedBookingId:zod.z.uuid()});exports.$=ct;exports.A=Ge;exports.Aa=x;exports.B=qe;exports.Ba=jt;exports.C=Je;exports.Ca=Ut;exports.D=$e;exports.Da=Gt;exports.E=He;exports.Ea=qt;exports.F=we;exports.G=Fe;exports.H=We;exports.I=ze;exports.J=Ke;exports.K=Ve;exports.L=Qe;exports.M=v;exports.N=ee;exports.O=A;exports.P=T;exports.Q=Ye;exports.R=Xe;exports.S=Ze;exports.T=et;exports.U=_;exports.V=te;exports.W=oe;exports.X=h;exports.Y=at;exports.Z=lt;exports._=ut;exports.a=J;exports.aa=mt;exports.b=$;exports.ba=dt;exports.c=H;exports.ca=pt;exports.d=w;exports.da=gt;exports.e=F;exports.ea=ne;exports.f=W;exports.fa=Et;exports.g=ge;exports.ga=B;exports.h=z;exports.ha=ie;exports.i=Ee;exports.ia=re;exports.j=Ie;exports.ja=Rt;exports.k=Ae;exports.ka=se;exports.l=Te;exports.la=At;exports.m=Ce;exports.ma=Tt;exports.n=De;exports.na=ae;exports.o=Ne;exports.oa=L;exports.p=c;exports.pa=j;exports.q=P;exports.qa=le;exports.r=Pe;exports.ra=ue;exports.s=K;exports.sa=ce;exports.t=C;exports.ta=me;exports.u=ye;exports.ua=Lt;exports.v=ve;exports.va=U;exports.w=_e;exports.wa=vt;exports.x=Be;exports.xa=_t;exports.y=je;exports.ya=Bt;exports.z=Ue;exports.za=de;//# sourceMappingURL=chunk-MEJ7GH5D.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-MEJ7GH5D.js.map
|