@livdot-tech/contracts 1.9.19 → 1.9.21
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 +15 -3
- package/dist/booking/index.d.ts +15 -3
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chat/index.d.mts +97 -0
- package/dist/chat/index.d.ts +97 -0
- package/dist/chat/index.js +2 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat/index.mjs +2 -0
- package/dist/chat/index.mjs.map +1 -0
- package/dist/chunk-3XLDX2QM.js +2 -0
- package/dist/chunk-3XLDX2QM.js.map +1 -0
- package/dist/chunk-5ENUSIHI.mjs +2 -0
- package/dist/chunk-5ENUSIHI.mjs.map +1 -0
- package/dist/chunk-5IA4SH4O.mjs +2 -0
- package/dist/chunk-5IA4SH4O.mjs.map +1 -0
- package/dist/{chunk-Y6ITJQ2G.js → chunk-6V6UXZSJ.js} +2 -2
- package/dist/{chunk-Y6ITJQ2G.js.map → chunk-6V6UXZSJ.js.map} +1 -1
- package/dist/chunk-7HBUII6V.js +2 -0
- package/dist/chunk-7HBUII6V.js.map +1 -0
- package/dist/chunk-AKSTHABP.mjs +2 -0
- package/dist/chunk-AKSTHABP.mjs.map +1 -0
- package/dist/chunk-BE5CKDK6.mjs +2 -0
- package/dist/chunk-BE5CKDK6.mjs.map +1 -0
- package/dist/{chunk-XGR3BQS3.mjs → chunk-DWMOEKLB.mjs} +2 -2
- package/dist/{chunk-XGR3BQS3.mjs.map → chunk-DWMOEKLB.mjs.map} +1 -1
- package/dist/chunk-FBNDTXPC.js +2 -0
- package/dist/chunk-FBNDTXPC.js.map +1 -0
- package/dist/chunk-GHFM22ZF.mjs +2 -0
- package/dist/chunk-GHFM22ZF.mjs.map +1 -0
- package/dist/chunk-GR74BEG3.js +2 -0
- package/dist/chunk-GR74BEG3.js.map +1 -0
- package/dist/chunk-JNU5CZVT.js +2 -0
- package/dist/chunk-JNU5CZVT.js.map +1 -0
- package/dist/chunk-JWVW5AP2.mjs +2 -0
- package/dist/chunk-JWVW5AP2.mjs.map +1 -0
- package/dist/chunk-LA63VYRR.js +2 -0
- package/dist/chunk-LA63VYRR.js.map +1 -0
- package/dist/chunk-OQMOTVY2.js +2 -0
- package/dist/chunk-OQMOTVY2.js.map +1 -0
- package/dist/chunk-PMTVFD4Q.mjs +2 -0
- package/dist/chunk-PMTVFD4Q.mjs.map +1 -0
- package/dist/chunk-QSHXY3NV.mjs +2 -0
- package/dist/chunk-QSHXY3NV.mjs.map +1 -0
- package/dist/chunk-YCHOYNMM.js +2 -0
- package/dist/chunk-YCHOYNMM.js.map +1 -0
- package/dist/event/index.d.mts +20 -0
- package/dist/event/index.d.ts +20 -0
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.d.mts +1102 -0
- package/dist/host/index.d.ts +1102 -0
- package/dist/host/index.js +2 -0
- package/dist/host/index.js.map +1 -0
- package/dist/host/index.mjs +2 -0
- package/dist/host/index.mjs.map +1 -0
- package/dist/index.d.mts +4 -765
- package/dist/index.d.ts +4 -765
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/marketplace/index.d.mts +4 -0
- package/dist/marketplace/index.d.ts +4 -0
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/notification/index.d.mts +12 -0
- package/dist/notification/index.d.ts +12 -0
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +36 -1
- package/dist/user/index.d.ts +36 -1
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-34PROUK4.js +0 -2
- package/dist/chunk-34PROUK4.js.map +0 -1
- package/dist/chunk-5XISW6DH.mjs +0 -2
- package/dist/chunk-5XISW6DH.mjs.map +0 -1
- package/dist/chunk-6J677OMF.mjs +0 -2
- package/dist/chunk-6J677OMF.mjs.map +0 -1
- package/dist/chunk-F4MRVOPL.js +0 -2
- package/dist/chunk-F4MRVOPL.js.map +0 -1
- package/dist/chunk-NZQAPPVC.mjs +0 -2
- package/dist/chunk-NZQAPPVC.mjs.map +0 -1
- package/dist/chunk-OEDCATQ5.js +0 -2
- package/dist/chunk-OEDCATQ5.js.map +0 -1
- package/dist/chunk-PNZG4T4L.js +0 -2
- package/dist/chunk-PNZG4T4L.js.map +0 -1
- package/dist/chunk-PX5BDO3K.mjs +0 -2
- package/dist/chunk-PX5BDO3K.mjs.map +0 -1
- package/dist/chunk-TMFSM6T4.js +0 -2
- package/dist/chunk-TMFSM6T4.js.map +0 -1
- package/dist/chunk-YDJOTD7W.mjs +0 -2
- package/dist/chunk-YDJOTD7W.mjs.map +0 -1
package/dist/auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk6V6UXZSJ_js=require('../chunk-6V6UXZSJ.js');require('../chunk-GR74BEG3.js'),require('../chunk-3XLDX2QM.js'),require('../chunk-TO3WFEGT.js'),require('../chunk-7HBUII6V.js'),require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.q}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.C}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.I}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.H}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.n}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.o}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.x}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.m}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.E}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.J}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.K}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.u}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.t}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.B}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.v}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.w}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.y}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.r}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.s}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.z}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.A}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.D}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.G}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.l}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.p}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.F}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.j}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{q as ChangePasswordRequestSchema,C as ConfirmPasswordSchema,I as DisableMfaBodySchema,H as EnableMfaBodySchema,n as ForgotPasswordRequestSchema,o as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,m as LogoutRequestSchema,E as MFA_ACTIONS,J as MfaChallengeBodySchema,K as MfaVerifyBodySchema,u as OauthDirectTokenRequestSchema,t as OauthExchangeRequestSchema,B as OauthLinkCompleteEmailRequestSchema,v as OauthLinkCompleteRequestSchema,w as OauthLinkSendOtpRequestSchema,y as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,r as OauthStartQuerySchema,s as OauthStartResponseSchema,d as PasswordSchema,z as ProvidersListItemSchema,A as ProvidersListResponseSchema,D as ReauthTokenResponseSchema,G as RecoveryCodeSchema,l as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,p as ResetPasswordRequestSchema,F as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-
|
|
1
|
+
export{q as ChangePasswordRequestSchema,C as ConfirmPasswordSchema,I as DisableMfaBodySchema,H as EnableMfaBodySchema,n as ForgotPasswordRequestSchema,o as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,m as LogoutRequestSchema,E as MFA_ACTIONS,J as MfaChallengeBodySchema,K as MfaVerifyBodySchema,u as OauthDirectTokenRequestSchema,t as OauthExchangeRequestSchema,B as OauthLinkCompleteEmailRequestSchema,v as OauthLinkCompleteRequestSchema,w as OauthLinkSendOtpRequestSchema,y as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,r as OauthStartQuerySchema,s as OauthStartResponseSchema,d as PasswordSchema,z as ProvidersListItemSchema,A as ProvidersListResponseSchema,D as ReauthTokenResponseSchema,G as RecoveryCodeSchema,l as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,p as ResetPasswordRequestSchema,F as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-DWMOEKLB.mjs';import'../chunk-PMTVFD4Q.mjs';import'../chunk-5ENUSIHI.mjs';import'../chunk-6DKE37U5.mjs';import'../chunk-QSHXY3NV.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/booking/index.d.mts
CHANGED
|
@@ -394,11 +394,13 @@ declare const CompleteMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
394
394
|
}, z.core.$strip>;
|
|
395
395
|
/** `POST /marketplace/job-listings` — publish immediately unless `saveAsDraft` */
|
|
396
396
|
declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
397
|
-
|
|
397
|
+
eventTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
398
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
398
399
|
description: z.ZodOptional<z.ZodString>;
|
|
399
400
|
responsibilities: z.ZodOptional<z.ZodString>;
|
|
400
401
|
requirements: z.ZodOptional<z.ZodString>;
|
|
401
402
|
role: z.ZodOptional<z.ZodString>;
|
|
403
|
+
requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
402
404
|
requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
|
|
403
405
|
estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
404
406
|
location: z.ZodOptional<z.ZodEnum<{
|
|
@@ -412,11 +414,13 @@ declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
|
412
414
|
saveAsDraft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
413
415
|
}, z.core.$strip>;
|
|
414
416
|
declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
415
|
-
|
|
417
|
+
eventTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
418
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
416
419
|
description: z.ZodOptional<z.ZodString>;
|
|
417
420
|
responsibilities: z.ZodOptional<z.ZodString>;
|
|
418
421
|
requirements: z.ZodOptional<z.ZodString>;
|
|
419
422
|
role: z.ZodOptional<z.ZodString>;
|
|
423
|
+
requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
420
424
|
requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
|
|
421
425
|
estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
422
426
|
location: z.ZodOptional<z.ZodEnum<{
|
|
@@ -445,20 +449,24 @@ declare const ListHostMarketplaceJobListingsQuerySchema: z.ZodObject<{
|
|
|
445
449
|
readonly CLOSED: "CLOSED";
|
|
446
450
|
readonly CANCELLED: "CANCELLED";
|
|
447
451
|
}>>;
|
|
452
|
+
search: z.ZodOptional<z.ZodString>;
|
|
448
453
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
449
454
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
450
455
|
}, z.core.$strip>;
|
|
451
456
|
/** Required persisted fields before a DRAFT job listing can be published */
|
|
452
457
|
declare const PublishReadyJobListingSchema: z.ZodObject<{
|
|
453
|
-
|
|
458
|
+
eventTitle: z.ZodOptional<z.ZodString>;
|
|
459
|
+
title: z.ZodOptional<z.ZodString>;
|
|
454
460
|
description: z.ZodString;
|
|
455
461
|
responsibilities: z.ZodString;
|
|
456
462
|
requirements: z.ZodString;
|
|
457
463
|
role: z.ZodString;
|
|
464
|
+
requiredCount: z.ZodCoercedNumber<unknown>;
|
|
458
465
|
location: z.ZodEnum<{
|
|
459
466
|
readonly ONSITE: "ONSITE";
|
|
460
467
|
readonly REMOTE: "REMOTE";
|
|
461
468
|
}>;
|
|
469
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
462
470
|
}, z.core.$strip>;
|
|
463
471
|
/** `POST /marketplace/job-listings/:id/publish` (host owner) */
|
|
464
472
|
declare const PublishMarketplaceJobListingResponseSchema: z.ZodObject<{
|
|
@@ -470,11 +478,13 @@ declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
|
|
|
470
478
|
hostProfileId: z.ZodUUID;
|
|
471
479
|
eventId: z.ZodNullable<z.ZodUUID>;
|
|
472
480
|
title: z.ZodString;
|
|
481
|
+
eventTitle: z.ZodNullable<z.ZodString>;
|
|
473
482
|
notes: z.ZodNullable<z.ZodString>;
|
|
474
483
|
description: z.ZodString;
|
|
475
484
|
responsibilities: z.ZodString;
|
|
476
485
|
requirements: z.ZodString;
|
|
477
486
|
role: z.ZodString;
|
|
487
|
+
requiredCount: z.ZodNumber;
|
|
478
488
|
requiredDate: z.ZodNullable<z.ZodString>;
|
|
479
489
|
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
480
490
|
location: z.ZodEnum<{
|
|
@@ -612,7 +622,9 @@ declare const MarketplaceHostIndicationOfInterestInboxItemSchema: z.ZodObject<{
|
|
|
612
622
|
updatedAt: z.ZodString;
|
|
613
623
|
producerCompanyName: z.ZodNullable<z.ZodString>;
|
|
614
624
|
producerDisplayName: z.ZodString;
|
|
625
|
+
producerAvatarUrl: z.ZodNullable<z.ZodURL>;
|
|
615
626
|
producerServiceCategoryLabels: z.ZodArray<z.ZodString>;
|
|
627
|
+
producerEquipmentLabels: z.ZodArray<z.ZodString>;
|
|
616
628
|
producerIsVerified: z.ZodBoolean;
|
|
617
629
|
jobListingTitle: z.ZodString;
|
|
618
630
|
jobListingRole: z.ZodString;
|
package/dist/booking/index.d.ts
CHANGED
|
@@ -394,11 +394,13 @@ declare const CompleteMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
|
394
394
|
}, z.core.$strip>;
|
|
395
395
|
/** `POST /marketplace/job-listings` — publish immediately unless `saveAsDraft` */
|
|
396
396
|
declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
397
|
-
|
|
397
|
+
eventTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
398
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
398
399
|
description: z.ZodOptional<z.ZodString>;
|
|
399
400
|
responsibilities: z.ZodOptional<z.ZodString>;
|
|
400
401
|
requirements: z.ZodOptional<z.ZodString>;
|
|
401
402
|
role: z.ZodOptional<z.ZodString>;
|
|
403
|
+
requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
402
404
|
requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
|
|
403
405
|
estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
404
406
|
location: z.ZodOptional<z.ZodEnum<{
|
|
@@ -412,11 +414,13 @@ declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
|
412
414
|
saveAsDraft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
413
415
|
}, z.core.$strip>;
|
|
414
416
|
declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
415
|
-
|
|
417
|
+
eventTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
418
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
416
419
|
description: z.ZodOptional<z.ZodString>;
|
|
417
420
|
responsibilities: z.ZodOptional<z.ZodString>;
|
|
418
421
|
requirements: z.ZodOptional<z.ZodString>;
|
|
419
422
|
role: z.ZodOptional<z.ZodString>;
|
|
423
|
+
requiredCount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
420
424
|
requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
|
|
421
425
|
estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
422
426
|
location: z.ZodOptional<z.ZodEnum<{
|
|
@@ -445,20 +449,24 @@ declare const ListHostMarketplaceJobListingsQuerySchema: z.ZodObject<{
|
|
|
445
449
|
readonly CLOSED: "CLOSED";
|
|
446
450
|
readonly CANCELLED: "CANCELLED";
|
|
447
451
|
}>>;
|
|
452
|
+
search: z.ZodOptional<z.ZodString>;
|
|
448
453
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
449
454
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
450
455
|
}, z.core.$strip>;
|
|
451
456
|
/** Required persisted fields before a DRAFT job listing can be published */
|
|
452
457
|
declare const PublishReadyJobListingSchema: z.ZodObject<{
|
|
453
|
-
|
|
458
|
+
eventTitle: z.ZodOptional<z.ZodString>;
|
|
459
|
+
title: z.ZodOptional<z.ZodString>;
|
|
454
460
|
description: z.ZodString;
|
|
455
461
|
responsibilities: z.ZodString;
|
|
456
462
|
requirements: z.ZodString;
|
|
457
463
|
role: z.ZodString;
|
|
464
|
+
requiredCount: z.ZodCoercedNumber<unknown>;
|
|
458
465
|
location: z.ZodEnum<{
|
|
459
466
|
readonly ONSITE: "ONSITE";
|
|
460
467
|
readonly REMOTE: "REMOTE";
|
|
461
468
|
}>;
|
|
469
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
462
470
|
}, z.core.$strip>;
|
|
463
471
|
/** `POST /marketplace/job-listings/:id/publish` (host owner) */
|
|
464
472
|
declare const PublishMarketplaceJobListingResponseSchema: z.ZodObject<{
|
|
@@ -470,11 +478,13 @@ declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
|
|
|
470
478
|
hostProfileId: z.ZodUUID;
|
|
471
479
|
eventId: z.ZodNullable<z.ZodUUID>;
|
|
472
480
|
title: z.ZodString;
|
|
481
|
+
eventTitle: z.ZodNullable<z.ZodString>;
|
|
473
482
|
notes: z.ZodNullable<z.ZodString>;
|
|
474
483
|
description: z.ZodString;
|
|
475
484
|
responsibilities: z.ZodString;
|
|
476
485
|
requirements: z.ZodString;
|
|
477
486
|
role: z.ZodString;
|
|
487
|
+
requiredCount: z.ZodNumber;
|
|
478
488
|
requiredDate: z.ZodNullable<z.ZodString>;
|
|
479
489
|
estimatedDurationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
480
490
|
location: z.ZodEnum<{
|
|
@@ -612,7 +622,9 @@ declare const MarketplaceHostIndicationOfInterestInboxItemSchema: z.ZodObject<{
|
|
|
612
622
|
updatedAt: z.ZodString;
|
|
613
623
|
producerCompanyName: z.ZodNullable<z.ZodString>;
|
|
614
624
|
producerDisplayName: z.ZodString;
|
|
625
|
+
producerAvatarUrl: z.ZodNullable<z.ZodURL>;
|
|
615
626
|
producerServiceCategoryLabels: z.ZodArray<z.ZodString>;
|
|
627
|
+
producerEquipmentLabels: z.ZodArray<z.ZodString>;
|
|
616
628
|
producerIsVerified: z.ZodBoolean;
|
|
617
629
|
jobListingTitle: z.ZodString;
|
|
618
630
|
jobListingRole: z.ZodString;
|
package/dist/booking/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkOQMOTVY2_js=require('../chunk-OQMOTVY2.js'),chunkLA63VYRR_js=require('../chunk-LA63VYRR.js');require('../chunk-EAKBQ5VD.js');var chunkTO3WFEGT_js=require('../chunk-TO3WFEGT.js');require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.ha}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.ia}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkOQMOTVY2_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkOQMOTVY2_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkOQMOTVY2_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.ba}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.ga}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.fa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.ca}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.da}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.ea}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.H}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.x}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.z}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.k}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.s}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.u}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.A}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.y}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.W}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkOQMOTVY2_js.M}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkOQMOTVY2_js.r}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.O}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.D}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.U}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.V}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.aa}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.C}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.Z}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js._}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.t}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.S}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.T}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.$}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.R}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.P}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.L}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.K}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.G}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkOQMOTVY2_js.Q}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.X}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.Y}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.F}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.E}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkOQMOTVY2_js.N}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.p}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.J}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.v}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.w}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkOQMOTVY2_js.B}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkOQMOTVY2_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkOQMOTVY2_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkOQMOTVY2_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkOQMOTVY2_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkOQMOTVY2_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkOQMOTVY2_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkOQMOTVY2_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkLA63VYRR_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkLA63VYRR_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkLA63VYRR_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkLA63VYRR_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkLA63VYRR_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkLA63VYRR_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkLA63VYRR_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkTO3WFEGT_js.a}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkTO3WFEGT_js.b}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkTO3WFEGT_js.c}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/booking/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{ha as AdminBookingAuditEntrySchema,ia as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ba as BookingAuditActorSchema,ga as BookingAuditAttachmentAddedDetailsSchema,fa as BookingAuditMessageSentDetailsSchema,ca as BookingAuditRequestMetadataSchema,da as BookingAuditSnapshotSchema,ea as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,H as CancelMarketplaceJobListingRequestSchema,I as CancelMarketplaceJobListingResponseSchema,x as CompleteMarketplaceBookingRequestSchema,z as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,n as CreateJobListingRequestSchema,s as CreateMarketplaceBookingRequestSchema,u as CreateMarketplaceBookingResponseSchema,A as CreateMarketplaceJobListingRequestSchema,y as ForceCompleteMarketplaceBookingRequestSchema,W as GetMarketplaceHiringThreadResponseSchema,M as HostIndicationOfInterestSortBy,q as IndicationOfInterestResponseSchema,o as JobListingResponseSchema,r as JobLocation,O as ListHostMarketplaceIndicationsQuerySchema,D as ListHostMarketplaceJobListingsQuerySchema,U as ListMarketplaceHiringThreadMessagesQuerySchema,V as ListMarketplaceHiringThreadMessagesResponseSchema,aa as ListMarketplaceHiringThreadsResponseSchema,C as ListMarketplaceJobListingsQuerySchema,Z as MarkMarketplaceHiringThreadReadRequestSchema,_ as MarkMarketplaceHiringThreadReadResponseSchema,t as MarketplaceBookingResponseSchema,S as MarketplaceHiringMessageAttachmentSchema,T as MarketplaceHiringMessageSchema,$ as MarketplaceHiringThreadInboxItemSchema,R as MarketplaceHiringThreadSchema,P as MarketplaceHostIndicationOfInterestInboxItemSchema,L as MarketplaceIndicationOfInterestHostItemSchema,K as MarketplaceIndicationOfInterestResponseSchema,G as MarketplaceJobListingResponseSchema,Q as MessageDeliveryStatus,X as PostMarketplaceHiringThreadMessageRequestSchema,Y as PostMarketplaceHiringThreadMessageResponseSchema,F as PublishMarketplaceJobListingResponseSchema,E as PublishReadyJobListingSchema,N as SortOrder,p as SubmitIndicationOfInterestRequestSchema,J as SubmitMarketplaceIndicationOfInterestRequestSchema,v as TransitionMarketplaceBookingRequestSchema,w as TransitionMarketplaceBookingResponseSchema,B as UpdateMarketplaceJobListingRequestSchema,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-AKSTHABP.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-JWVW5AP2.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,b as MarketplaceReviewResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-6DKE37U5.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
|
|
4
|
+
declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
|
|
5
|
+
declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
|
|
6
|
+
declare const ChatMessageUserSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
displayName: z.ZodString;
|
|
9
|
+
colorHex: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ChatMessageSchema: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
body: z.ZodString;
|
|
14
|
+
createdAt: z.ZodISODateTime;
|
|
15
|
+
user: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
displayName: z.ZodString;
|
|
18
|
+
colorHex: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const ChatHistoryResponseSchema: z.ZodObject<{
|
|
23
|
+
totalCount: z.ZodNumber;
|
|
24
|
+
pageNumber: z.ZodNumber;
|
|
25
|
+
pageSize: z.ZodNumber;
|
|
26
|
+
totalPages: z.ZodNumber;
|
|
27
|
+
hasPreviousPage: z.ZodBoolean;
|
|
28
|
+
hasNextPage: z.ZodBoolean;
|
|
29
|
+
items: z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
body: z.ZodString;
|
|
32
|
+
createdAt: z.ZodISODateTime;
|
|
33
|
+
user: z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
displayName: z.ZodString;
|
|
36
|
+
colorHex: z.ZodString;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
declare const PostChatMessageRequestSchema: z.ZodObject<{
|
|
42
|
+
body: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
|
|
45
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
declare const ChatModerationMuteRequestSchema: z.ZodObject<{
|
|
48
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
49
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
/**
|
|
52
|
+
* Public-shape response for `POST /chat/mute`. `mutedUntil` is the source
|
|
53
|
+
* of truth (`null` = not muted). `mutedBy` is intentionally omitted —
|
|
54
|
+
* moderation metadata stays out of the response surface.
|
|
55
|
+
*/
|
|
56
|
+
declare const ChatMuteStateResponseSchema: z.ZodObject<{
|
|
57
|
+
eventId: z.ZodString;
|
|
58
|
+
mutedUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
declare const ChatCredentialsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"in-process">;
|
|
62
|
+
wsNamespace: z.ZodString;
|
|
63
|
+
token: z.ZodString;
|
|
64
|
+
eventRoomId: z.ZodString;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
kind: z.ZodLiteral<"ivs">;
|
|
67
|
+
roomIdentifier: z.ZodString;
|
|
68
|
+
endpoint: z.ZodString;
|
|
69
|
+
token: z.ZodString;
|
|
70
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>], "kind">;
|
|
72
|
+
declare const InProcessChatCredentialsSchema: z.ZodObject<{
|
|
73
|
+
kind: z.ZodLiteral<"in-process">;
|
|
74
|
+
wsNamespace: z.ZodString;
|
|
75
|
+
token: z.ZodString;
|
|
76
|
+
eventRoomId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const IvsChatCredentialsSchema: z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"ivs">;
|
|
80
|
+
roomIdentifier: z.ZodString;
|
|
81
|
+
endpoint: z.ZodString;
|
|
82
|
+
token: z.ZodString;
|
|
83
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
|
|
86
|
+
type ChatMessageUser = z.infer<typeof ChatMessageUserSchema>;
|
|
87
|
+
type ChatMessage = z.infer<typeof ChatMessageSchema>;
|
|
88
|
+
type ChatHistoryResponse = z.infer<typeof ChatHistoryResponseSchema>;
|
|
89
|
+
type PostChatMessageRequest = z.infer<typeof PostChatMessageRequestSchema>;
|
|
90
|
+
type ChatModerationDeleteRequest = z.infer<typeof ChatModerationDeleteRequestSchema>;
|
|
91
|
+
type ChatModerationMuteRequest = z.infer<typeof ChatModerationMuteRequestSchema>;
|
|
92
|
+
type ChatMuteStateResponse = z.infer<typeof ChatMuteStateResponseSchema>;
|
|
93
|
+
type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
|
|
94
|
+
type IvsChatCredentials = z.infer<typeof IvsChatCredentialsSchema>;
|
|
95
|
+
type InProcessChatCredentials = z.infer<typeof InProcessChatCredentialsSchema>;
|
|
96
|
+
|
|
97
|
+
export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
|
|
4
|
+
declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
|
|
5
|
+
declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
|
|
6
|
+
declare const ChatMessageUserSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
displayName: z.ZodString;
|
|
9
|
+
colorHex: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ChatMessageSchema: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
body: z.ZodString;
|
|
14
|
+
createdAt: z.ZodISODateTime;
|
|
15
|
+
user: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
displayName: z.ZodString;
|
|
18
|
+
colorHex: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const ChatHistoryResponseSchema: z.ZodObject<{
|
|
23
|
+
totalCount: z.ZodNumber;
|
|
24
|
+
pageNumber: z.ZodNumber;
|
|
25
|
+
pageSize: z.ZodNumber;
|
|
26
|
+
totalPages: z.ZodNumber;
|
|
27
|
+
hasPreviousPage: z.ZodBoolean;
|
|
28
|
+
hasNextPage: z.ZodBoolean;
|
|
29
|
+
items: z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
body: z.ZodString;
|
|
32
|
+
createdAt: z.ZodISODateTime;
|
|
33
|
+
user: z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
displayName: z.ZodString;
|
|
36
|
+
colorHex: z.ZodString;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
declare const PostChatMessageRequestSchema: z.ZodObject<{
|
|
42
|
+
body: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
|
|
45
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
declare const ChatModerationMuteRequestSchema: z.ZodObject<{
|
|
48
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
49
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
/**
|
|
52
|
+
* Public-shape response for `POST /chat/mute`. `mutedUntil` is the source
|
|
53
|
+
* of truth (`null` = not muted). `mutedBy` is intentionally omitted —
|
|
54
|
+
* moderation metadata stays out of the response surface.
|
|
55
|
+
*/
|
|
56
|
+
declare const ChatMuteStateResponseSchema: z.ZodObject<{
|
|
57
|
+
eventId: z.ZodString;
|
|
58
|
+
mutedUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
declare const ChatCredentialsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"in-process">;
|
|
62
|
+
wsNamespace: z.ZodString;
|
|
63
|
+
token: z.ZodString;
|
|
64
|
+
eventRoomId: z.ZodString;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
kind: z.ZodLiteral<"ivs">;
|
|
67
|
+
roomIdentifier: z.ZodString;
|
|
68
|
+
endpoint: z.ZodString;
|
|
69
|
+
token: z.ZodString;
|
|
70
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>], "kind">;
|
|
72
|
+
declare const InProcessChatCredentialsSchema: z.ZodObject<{
|
|
73
|
+
kind: z.ZodLiteral<"in-process">;
|
|
74
|
+
wsNamespace: z.ZodString;
|
|
75
|
+
token: z.ZodString;
|
|
76
|
+
eventRoomId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const IvsChatCredentialsSchema: z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"ivs">;
|
|
80
|
+
roomIdentifier: z.ZodString;
|
|
81
|
+
endpoint: z.ZodString;
|
|
82
|
+
token: z.ZodString;
|
|
83
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
|
|
86
|
+
type ChatMessageUser = z.infer<typeof ChatMessageUserSchema>;
|
|
87
|
+
type ChatMessage = z.infer<typeof ChatMessageSchema>;
|
|
88
|
+
type ChatHistoryResponse = z.infer<typeof ChatHistoryResponseSchema>;
|
|
89
|
+
type PostChatMessageRequest = z.infer<typeof PostChatMessageRequestSchema>;
|
|
90
|
+
type ChatModerationDeleteRequest = z.infer<typeof ChatModerationDeleteRequestSchema>;
|
|
91
|
+
type ChatModerationMuteRequest = z.infer<typeof ChatModerationMuteRequestSchema>;
|
|
92
|
+
type ChatMuteStateResponse = z.infer<typeof ChatMuteStateResponseSchema>;
|
|
93
|
+
type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
|
|
94
|
+
type IvsChatCredentials = z.infer<typeof IvsChatCredentialsSchema>;
|
|
95
|
+
type InProcessChatCredentials = z.infer<typeof InProcessChatCredentialsSchema>;
|
|
96
|
+
|
|
97
|
+
export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkYCHOYNMM_js=require('../chunk-YCHOYNMM.js');require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MAX_LENGTH",{enumerable:true,get:function(){return chunkYCHOYNMM_js.b}});Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MIN_LENGTH",{enumerable:true,get:function(){return chunkYCHOYNMM_js.a}});Object.defineProperty(exports,"CHAT_MODERATION_REASON_MAX_LENGTH",{enumerable:true,get:function(){return chunkYCHOYNMM_js.c}});Object.defineProperty(exports,"ChatCredentialsResponseSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.k}});Object.defineProperty(exports,"ChatHistoryResponseSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.f}});Object.defineProperty(exports,"ChatMessageSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.e}});Object.defineProperty(exports,"ChatMessageUserSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.d}});Object.defineProperty(exports,"ChatModerationDeleteRequestSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.h}});Object.defineProperty(exports,"ChatModerationMuteRequestSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.i}});Object.defineProperty(exports,"ChatMuteStateResponseSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.j}});Object.defineProperty(exports,"InProcessChatCredentialsSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.l}});Object.defineProperty(exports,"IvsChatCredentialsSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.m}});Object.defineProperty(exports,"PostChatMessageRequestSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.g}});//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,c as CHAT_MODERATION_REASON_MAX_LENGTH,k as ChatCredentialsResponseSchema,f as ChatHistoryResponseSchema,e as ChatMessageSchema,d as ChatMessageUserSchema,h as ChatModerationDeleteRequestSchema,i as ChatModerationMuteRequestSchema,j as ChatMuteStateResponseSchema,l as InProcessChatCredentialsSchema,m as IvsChatCredentialsSchema,g as PostChatMessageRequestSchema}from'../chunk-5IA4SH4O.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkTO3WFEGT_js=require('./chunk-TO3WFEGT.js'),chunkDQG37GYU_js=require('./chunk-DQG37GYU.js'),zod=require('zod');var o={NGN:"NGN"},S={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},i={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var R=zod.z.object({category:zod.z.string().optional(),minRate:zod.z.coerce.number().int().min(0).optional(),maxRate:zod.z.coerce.number().int().min(0).optional(),availabilityDate:zod.z.string().optional(),search:zod.z.string().trim().min(2).max(100).optional(),...chunkDQG37GYU_js.d.shape}),n=zod.z.object({id:zod.z.uuid(),name:zod.z.string(),category:zod.z.enum(i),notes:zod.z.string().nullable()}),r=zod.z.object({id:zod.z.uuid(),code:zod.z.string(),label:zod.z.string()}),A=zod.z.object({items:zod.z.array(r)}),c=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),mediaUrl:zod.z.url().nullable(),externalUrl:zod.z.url().nullable(),createdAt:zod.z.iso.datetime()}),s=zod.z.object({id:zod.z.uuid(),label:zod.z.string(),amount:zod.z.string(),currency:zod.z.enum(o),notes:zod.z.string().nullable()}),D=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),displayName:zod.z.string(),avatarUrl:zod.z.url().nullable(),producerIsVerified:zod.z.boolean(),companyName:zod.z.string().nullable(),bio:zod.z.string().nullable(),yearsExperience:zod.z.number().int().nullable(),maxDistanceKm:zod.z.number().int().nullable(),isAvailable:zod.z.boolean(),averageRating:zod.z.string(),totalReviews:zod.z.number().int(),completionRate:zod.z.string(),equipmentManifest:zod.z.array(n),serviceCategories:zod.z.array(r),portfolio:zod.z.array(c),equipmentItems:zod.z.array(r),rateCard:zod.z.array(s),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),recentReviews:zod.z.array(chunkTO3WFEGT_js.c).optional()});var v={HOST:1,PRODUCER:2,VIEWER:4},h={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},L={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},k={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},U={BUG:"BUG",IDEA:"IDEA",GENERAL:"GENERAL"},V={EVENT_REMINDERS:"EVENT_REMINDERS",LIVE_ALERTS:"LIVE_ALERTS",RECOMMENDATIONS:"RECOMMENDATIONS"},l={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},p={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};var E=zod.z.object({name:zod.z.string().min(1).max(255),category:zod.z.enum(i),notes:zod.z.string().max(2e3).optional()}),b=zod.z.object({title:zod.z.string().min(1).max(255),description:zod.z.string().max(2e3).optional(),mediaUrl:zod.z.url().optional(),externalUrl:zod.z.url().optional()}),f=zod.z.object({label:zod.z.string().min(1).max(255),amount:zod.z.number().min(0),currency:zod.z.enum(o).default(o.NGN),notes:zod.z.string().max(2e3).optional()}),B=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string(),bio:zod.z.string(),logoUrl:zod.z.url().nullable(),experienceLevel:zod.z.enum(p),yearsExperience:zod.z.number().int().nullable(),maxDistanceKm:zod.z.number().int().nullable(),availabilityCalendar:zod.z.record(zod.z.string(),zod.z.unknown()).nullable(),verificationStatus:zod.z.enum(l),verificationReason:zod.z.string().nullable(),verifiedAt:zod.z.iso.datetime().nullable(),visibleInMarketplace:zod.z.boolean(),isAvailable:zod.z.boolean(),defaultCurrency:zod.z.enum(o),averageRating:zod.z.number(),totalReviews:zod.z.number().int(),completionRate:zod.z.number(),hasPin:zod.z.boolean(),equipmentManifest:zod.z.array(n),serviceCategories:zod.z.array(r),portfolio:zod.z.array(c),rateCard:zod.z.array(s),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),equipmentItems:zod.z.array(r)}),w=zod.z.object({companyName:zod.z.string().min(1).max(120).optional(),bio:zod.z.string().min(1).max(2e3).optional(),logoUrl:zod.z.url().nullable().optional(),experienceLevel:zod.z.enum(p).optional(),yearsExperience:zod.z.number().int().min(0).optional(),serviceAreas:zod.z.array(zod.z.string()).optional(),maxDistanceKm:zod.z.number().int().min(0).nullable().optional(),availabilityCalendar:zod.z.record(zod.z.string(),zod.z.unknown()).nullable().optional(),isAvailable:zod.z.boolean().optional(),visibleInMarketplace:zod.z.boolean().optional(),equipmentManifest:zod.z.array(E).optional(),portfolio:zod.z.array(b).optional(),rateCard:zod.z.array(f).optional(),equipmentItemIds:zod.z.array(zod.z.uuid()).optional(),equipmentItemCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),categoryCodes:zod.z.array(zod.z.string()).optional()}).refine(d=>Object.keys(d).length>0,{message:"At least one field is required"}),F=zod.z.object({verificationStatus:zod.z.literal(l.SUBMITTED)}),K=zod.z.object({view:zod.z.literal("workspace").optional()});var g=zod.z.string().trim().min(5,"Reason must be at least 5 characters"),H=zod.z.object({notes:zod.z.string().max(2e3).optional()}),y=zod.z.object({reason:g,notes:zod.z.string().max(2e3).optional()}),J=y,z=y;exports.A=y;exports.B=J;exports.C=z;exports.a=v;exports.b=h;exports.c=L;exports.d=k;exports.e=U;exports.f=V;exports.g=l;exports.h=p;exports.i=o;exports.j=S;exports.k=i;exports.l=R;exports.m=n;exports.n=r;exports.o=A;exports.p=c;exports.q=s;exports.r=D;exports.s=E;exports.t=b;exports.u=f;exports.v=B;exports.w=w;exports.x=F;exports.y=K;exports.z=H;//# sourceMappingURL=chunk-3XLDX2QM.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-3XLDX2QM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts","../src/user/user.enums.ts","../src/marketplace/workspace.schemas.ts","../src/marketplace/verification.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","ListProducersQuerySchema","z","PaginationParamsSchema","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","ServiceCategoryListResponseSchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","ProducerRecentReviewSchema","UserRole","AccountStatus","KycStatus","AdminScopeCode","FeedbackCategory","NotificationCategory","ProducerVerificationStatus","ProducerExperienceLevel","WorkspaceEquipmentItemInputSchema","WorkspacePortfolioItemInputSchema","WorkspaceRateCardItemInputSchema","ProducerProfileWorkspaceSchema","UpsertProducerWorkspaceProfileSchema","data","SubmitProducerForVerificationSchema","GetProducerProfileQuerySchema","verificationReasonSchema","AdminApproveProducerVerificationSchema","AdminProducerVerificationReasonBodySchema","AdminRejectProducerVerificationSchema","AdminSuspendProducerVerificationSchema"],"mappings":"oIACO,IAAMA,CAAAA,CAAsB,CACjC,GAAA,CAAK,KACP,CAAA,CAOaC,EAAsB,CACjC,KAAA,CAAO,OAAA,CACP,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,QACP,OAAA,CAAS,SAAA,CACT,EAAA,CAAI,IAAA,CACJ,SAAA,CAAW,WACb,EAIaC,CAAAA,CAAoB,CAC/B,KAAA,CAAO,OAAA,CACP,KAAA,CAAO,OAAA,CACP,SAAU,UAAA,CACV,OAAA,CAAS,SAAA,CACT,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sCAAsC,CAAA,CAGnF0B,CAAAA,CAAyC1B,KAAAA,CAAE,MAAA,CAAO,CAC7D,KAAA,CAAOA,KAAAA,CAAE,MAAA,GAAS,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,EAMY2B,CAAAA,CAA4C3B,KAAAA,CAAE,MAAA,CAAO,CAChE,MAAA,CAAQyB,CAAAA,CACR,MAAOzB,KAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,CAAA,CAGY4B,CAAAA,CAAwCD,CAAAA,CAGxCE,CAAAA,CAAyCF","file":"chunk-3XLDX2QM.js","sourcesContent":["/** ISO 4217 codes supported on marketplace rate cards. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport { PaginationParamsSchema } from '../common';\nimport { ProducerRecentReviewSchema } from '../booking/review.schemas';\n\nexport const ListProducersQuerySchema = z.object({\n category: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n /** Case-insensitive match on name, company, role/skill, or equipment */\n search: z.string().trim().min(2).max(100).optional(),\n ...PaginationParamsSchema.shape,\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n id: z.uuid(),\n code: z.string(),\n label: z.string(),\n});\n\nexport const ServiceCategoryListResponseSchema = z.object({\n items: z.array(PublicProducerListCategorySchema),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n displayName: z.string(),\n avatarUrl: z.url().nullable(),\n producerIsVerified: z.boolean(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n recentReviews: z.array(ProducerRecentReviewSchema).optional(),\n});\n","export const UserRole = {\n HOST: 1,\n PRODUCER: 2,\n VIEWER: 4,\n} as const;\nexport type UserRole = (typeof UserRole)[keyof typeof UserRole];\n\nexport const AccountStatus = {\n ACTIVE: 'ACTIVE',\n SUSPENDED: 'SUSPENDED',\n BANNED: 'BANNED',\n DELETED: 'DELETED',\n} as const;\nexport type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];\n\nexport const KycStatus = {\n PENDING: 'PENDING',\n SUBMITTED: 'SUBMITTED',\n VERIFIED: 'VERIFIED',\n REJECTED: 'REJECTED',\n} as const;\nexport type KycStatus = (typeof KycStatus)[keyof typeof KycStatus];\n\n/**\n * Enum for admin scope codes.\n */\nexport const AdminScopeCode = {\n TRUST: 'TRUST',\n FINANCIAL: 'FINANCIAL',\n LIVE_OPS: 'LIVE_OPS',\n AUDIT: 'AUDIT',\n} as const;\nexport type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];\n\nexport const FeedbackCategory = {\n BUG: 'BUG',\n IDEA: 'IDEA',\n GENERAL: 'GENERAL',\n} as const;\nexport type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];\n\nexport const NotificationCategory = {\n EVENT_REMINDERS: 'EVENT_REMINDERS',\n LIVE_ALERTS: 'LIVE_ALERTS',\n RECOMMENDATIONS: 'RECOMMENDATIONS',\n} as const;\nexport type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];\n\nexport const ProducerVerificationStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n REJECTED: 'REJECTED',\n SUBMITTED: 'SUBMITTED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type ProducerVerificationStatus =\n (typeof ProducerVerificationStatus)[keyof typeof ProducerVerificationStatus];\n\nexport const ProducerExperienceLevel = {\n BEGINNER: 'BEGINNER',\n INTERMEDIATE: 'INTERMEDIATE',\n EXPERT: 'EXPERT',\n} as const;\nexport type ProducerExperienceLevel =\n (typeof ProducerExperienceLevel)[keyof typeof ProducerExperienceLevel];\n","import { z } from 'zod';\nimport { ProducerExperienceLevel, ProducerVerificationStatus } from '../user/user.enums';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport {\n PublicProducerListCategorySchema,\n PublicProducerListEquipmentItemSchema,\n PublicProducerListPortfolioItemSchema,\n PublicProducerListRateCardItemSchema,\n} from './marketplace.schemas';\n\n/** Workspace equipment row (full manifest; public API uses the same shape). */\nexport const WorkspaceEquipmentItemInputSchema = z.object({\n name: z.string().min(1).max(255),\n category: z.enum(EquipmentCategory),\n notes: z.string().max(2000).optional(),\n});\n\nexport const WorkspacePortfolioItemInputSchema = z.object({\n title: z.string().min(1).max(255),\n description: z.string().max(2000).optional(),\n mediaUrl: z.url().optional(),\n externalUrl: z.url().optional(),\n});\n\nexport const WorkspaceRateCardItemInputSchema = z.object({\n label: z.string().min(1).max(255),\n amount: z.number().min(0),\n currency: z.enum(MarketplaceCurrency).default(MarketplaceCurrency.NGN),\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Authenticated producer workspace profile (owner view).\n * Includes verification workflow fields and raw availability; never returned on public routes.\n */\nexport const ProducerProfileWorkspaceSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.url().nullable(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable(),\n verificationStatus: z.enum(ProducerVerificationStatus),\n verificationReason: z.string().nullable(),\n verifiedAt: z.iso.datetime().nullable(),\n visibleInMarketplace: z.boolean(),\n isAvailable: z.boolean(),\n defaultCurrency: z.enum(MarketplaceCurrency),\n averageRating: z.number(),\n totalReviews: z.number().int(),\n completionRate: z.number(),\n hasPin: z.boolean(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n});\n\n/** PATCH body for workspace profile updates (partial). */\nexport const UpsertProducerWorkspaceProfileSchema = z\n .object({\n companyName: z.string().min(1).max(120).optional(),\n bio: z.string().min(1).max(2000).optional(),\n logoUrl: z.url().nullable().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel).optional(),\n yearsExperience: z.number().int().min(0).optional(),\n serviceAreas: z.array(z.string()).optional(),\n maxDistanceKm: z.number().int().min(0).nullable().optional(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable().optional(),\n isAvailable: z.boolean().optional(),\n visibleInMarketplace: z.boolean().optional(),\n equipmentManifest: z.array(WorkspaceEquipmentItemInputSchema).optional(),\n portfolio: z.array(WorkspacePortfolioItemInputSchema).optional(),\n rateCard: z.array(WorkspaceRateCardItemInputSchema).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n categoryCodes: z.array(z.string()).optional(),\n })\n .refine((data) => Object.keys(data).length > 0, {\n message: 'At least one field is required',\n });\n\n/** POST body for submit-for-verification (explicit intent for signing). */\nexport const SubmitProducerForVerificationSchema = z.object({\n verificationStatus: z.literal(ProducerVerificationStatus.SUBMITTED),\n});\n\n/** Query for `GET /users/me/producer-profile` — `view=workspace` returns owner workspace shape. */\nexport const GetProducerProfileQuerySchema = z.object({\n view: z.literal('workspace').optional(),\n});\n","import { z } from 'zod';\n\nconst verificationReasonSchema = z.string().trim().min(5, 'Reason must be at least 5 characters');\n\n/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */\nexport const AdminApproveProducerVerificationSchema = z.object({\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Shared body for admin actions that require a decision reason.\n * `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.\n */\nexport const AdminProducerVerificationReasonBodySchema = z.object({\n reason: verificationReasonSchema,\n notes: z.string().max(2000).optional(),\n});\n\n/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */\nexport const AdminRejectProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n\n/** Admin suspends an approved producer (APPROVED → SUSPENDED). */\nexport const AdminSuspendProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {c as c$1}from'./chunk-6DKE37U5.mjs';import {d}from'./chunk-KPEKHJVS.mjs';import {z as z$1}from'zod';var o={NGN:"NGN"},S={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},i={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var R=z$1.object({category:z$1.string().optional(),minRate:z$1.coerce.number().int().min(0).optional(),maxRate:z$1.coerce.number().int().min(0).optional(),availabilityDate:z$1.string().optional(),search:z$1.string().trim().min(2).max(100).optional(),...d.shape}),n=z$1.object({id:z$1.uuid(),name:z$1.string(),category:z$1.enum(i),notes:z$1.string().nullable()}),r=z$1.object({id:z$1.uuid(),code:z$1.string(),label:z$1.string()}),A=z$1.object({items:z$1.array(r)}),c=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string().nullable(),mediaUrl:z$1.url().nullable(),externalUrl:z$1.url().nullable(),createdAt:z$1.iso.datetime()}),s=z$1.object({id:z$1.uuid(),label:z$1.string(),amount:z$1.string(),currency:z$1.enum(o),notes:z$1.string().nullable()}),D=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),displayName:z$1.string(),avatarUrl:z$1.url().nullable(),producerIsVerified:z$1.boolean(),companyName:z$1.string().nullable(),bio:z$1.string().nullable(),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),isAvailable:z$1.boolean(),averageRating:z$1.string(),totalReviews:z$1.number().int(),completionRate:z$1.string(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),equipmentItems:z$1.array(r),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),recentReviews:z$1.array(c$1).optional()});var v={HOST:1,PRODUCER:2,VIEWER:4},h={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},L={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},k={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},U={BUG:"BUG",IDEA:"IDEA",GENERAL:"GENERAL"},V={EVENT_REMINDERS:"EVENT_REMINDERS",LIVE_ALERTS:"LIVE_ALERTS",RECOMMENDATIONS:"RECOMMENDATIONS"},l={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},p={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};var E=z$1.object({name:z$1.string().min(1).max(255),category:z$1.enum(i),notes:z$1.string().max(2e3).optional()}),b=z$1.object({title:z$1.string().min(1).max(255),description:z$1.string().max(2e3).optional(),mediaUrl:z$1.url().optional(),externalUrl:z$1.url().optional()}),f=z$1.object({label:z$1.string().min(1).max(255),amount:z$1.number().min(0),currency:z$1.enum(o).default(o.NGN),notes:z$1.string().max(2e3).optional()}),B=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),companyName:z$1.string(),bio:z$1.string(),logoUrl:z$1.url().nullable(),experienceLevel:z$1.enum(p),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable(),verificationStatus:z$1.enum(l),verificationReason:z$1.string().nullable(),verifiedAt:z$1.iso.datetime().nullable(),visibleInMarketplace:z$1.boolean(),isAvailable:z$1.boolean(),defaultCurrency:z$1.enum(o),averageRating:z$1.number(),totalReviews:z$1.number().int(),completionRate:z$1.number(),hasPin:z$1.boolean(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),equipmentItems:z$1.array(r)}),w=z$1.object({companyName:z$1.string().min(1).max(120).optional(),bio:z$1.string().min(1).max(2e3).optional(),logoUrl:z$1.url().nullable().optional(),experienceLevel:z$1.enum(p).optional(),yearsExperience:z$1.number().int().min(0).optional(),serviceAreas:z$1.array(z$1.string()).optional(),maxDistanceKm:z$1.number().int().min(0).nullable().optional(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable().optional(),isAvailable:z$1.boolean().optional(),visibleInMarketplace:z$1.boolean().optional(),equipmentManifest:z$1.array(E).optional(),portfolio:z$1.array(b).optional(),rateCard:z$1.array(f).optional(),equipmentItemIds:z$1.array(z$1.uuid()).optional(),equipmentItemCodes:z$1.array(z$1.string().min(1).max(64)).optional(),categoryCodes:z$1.array(z$1.string()).optional()}).refine(d=>Object.keys(d).length>0,{message:"At least one field is required"}),F=z$1.object({verificationStatus:z$1.literal(l.SUBMITTED)}),K=z$1.object({view:z$1.literal("workspace").optional()});var g=z$1.string().trim().min(5,"Reason must be at least 5 characters"),H=z$1.object({notes:z$1.string().max(2e3).optional()}),y=z$1.object({reason:g,notes:z$1.string().max(2e3).optional()}),J=y,z=y;export{y as A,J as B,z as C,v as a,h as b,L as c,k as d,U as e,V as f,l as g,p as h,o as i,S as j,i as k,R as l,n as m,r as n,A as o,c as p,s as q,D as r,E as s,b as t,f as u,B as v,w,F as x,K as y,H as z};//# sourceMappingURL=chunk-5ENUSIHI.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-5ENUSIHI.mjs.map
|