@livdot-tech/contracts 1.5.2 → 1.5.3

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.
@@ -292,7 +292,7 @@ declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
292
292
  responsibilities: z.ZodString;
293
293
  requirements: z.ZodString;
294
294
  role: z.ZodString;
295
- requiredDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
295
+ requiredDate: z.ZodOptional<z.ZodISODateTime>;
296
296
  estimatedDurationHours: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
297
297
  location: z.ZodEnum<{
298
298
  readonly ONSITE: "ONSITE";
@@ -309,7 +309,7 @@ declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
309
309
  responsibilities: z.ZodOptional<z.ZodString>;
310
310
  requirements: z.ZodOptional<z.ZodString>;
311
311
  role: z.ZodOptional<z.ZodString>;
312
- requiredDate: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
312
+ requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
313
313
  estimatedDurationHours: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
314
314
  location: z.ZodOptional<z.ZodEnum<{
315
315
  readonly ONSITE: "ONSITE";
@@ -292,7 +292,7 @@ declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
292
292
  responsibilities: z.ZodString;
293
293
  requirements: z.ZodString;
294
294
  role: z.ZodString;
295
- requiredDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
295
+ requiredDate: z.ZodOptional<z.ZodISODateTime>;
296
296
  estimatedDurationHours: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
297
297
  location: z.ZodEnum<{
298
298
  readonly ONSITE: "ONSITE";
@@ -309,7 +309,7 @@ declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
309
309
  responsibilities: z.ZodOptional<z.ZodString>;
310
310
  requirements: z.ZodOptional<z.ZodString>;
311
311
  role: z.ZodOptional<z.ZodString>;
312
- requiredDate: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
312
+ requiredDate: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
313
313
  estimatedDurationHours: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
314
314
  location: z.ZodOptional<z.ZodEnum<{
315
315
  readonly ONSITE: "ONSITE";
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkKICL5AD3_js=require('../chunk-KICL5AD3.js');require('../chunk-L72M5DCH.js');Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkKICL5AD3_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkKICL5AD3_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkKICL5AD3_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.i}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.p}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.t}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkKICL5AD3_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkKICL5AD3_js.c}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkKICL5AD3_js.m}});Object.defineProperty(exports,"ListMarketplaceBookingsQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.r}});Object.defineProperty(exports,"ListMarketplaceBookingsResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.s}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.C}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.D}});Object.defineProperty(exports,"ListMarketplaceJobListingsMineQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.w}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.v}});Object.defineProperty(exports,"ListMarketplaceJobListingsResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.y}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.o}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.B}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.A}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.x}});Object.defineProperty(exports,"MarketplaceListPaginationQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.q}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.k}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.z}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.u}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunk5Q4UOZ7K_js=require('../chunk-5Q4UOZ7K.js');require('../chunk-L72M5DCH.js');Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.i}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.p}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.t}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.c}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.m}});Object.defineProperty(exports,"ListMarketplaceBookingsQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.r}});Object.defineProperty(exports,"ListMarketplaceBookingsResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.s}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.C}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.D}});Object.defineProperty(exports,"ListMarketplaceJobListingsMineQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.w}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.v}});Object.defineProperty(exports,"ListMarketplaceJobListingsResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.y}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.o}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.B}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.A}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.x}});Object.defineProperty(exports,"MarketplaceListPaginationQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.q}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.k}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.z}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.u}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,n as CreateMarketplaceBookingRequestSchema,p as CreateMarketplaceBookingResponseSchema,t as CreateMarketplaceJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,m as JobLocation,r as ListMarketplaceBookingsQuerySchema,s as ListMarketplaceBookingsResponseSchema,C as ListMarketplaceIndicationsOfInterestQuerySchema,D as ListMarketplaceIndicationsOfInterestResponseSchema,w as ListMarketplaceJobListingsMineQuerySchema,v as ListMarketplaceJobListingsQuerySchema,y as ListMarketplaceJobListingsResponseSchema,o as MarketplaceBookingResponseSchema,B as MarketplaceIndicationOfInterestHostItemSchema,A as MarketplaceIndicationOfInterestResponseSchema,x as MarketplaceJobListingResponseSchema,q as MarketplaceListPaginationQuerySchema,k as SubmitIndicationOfInterestRequestSchema,z as SubmitMarketplaceIndicationOfInterestRequestSchema,u as UpdateMarketplaceJobListingRequestSchema}from'../chunk-YLDZUVLQ.mjs';import'../chunk-GAZT5E62.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,n as CreateMarketplaceBookingRequestSchema,p as CreateMarketplaceBookingResponseSchema,t as CreateMarketplaceJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,m as JobLocation,r as ListMarketplaceBookingsQuerySchema,s as ListMarketplaceBookingsResponseSchema,C as ListMarketplaceIndicationsOfInterestQuerySchema,D as ListMarketplaceIndicationsOfInterestResponseSchema,w as ListMarketplaceJobListingsMineQuerySchema,v as ListMarketplaceJobListingsQuerySchema,y as ListMarketplaceJobListingsResponseSchema,o as MarketplaceBookingResponseSchema,B as MarketplaceIndicationOfInterestHostItemSchema,A as MarketplaceIndicationOfInterestResponseSchema,x as MarketplaceJobListingResponseSchema,q as MarketplaceListPaginationQuerySchema,k as SubmitIndicationOfInterestRequestSchema,z as SubmitMarketplaceIndicationOfInterestRequestSchema,u as UpdateMarketplaceJobListingRequestSchema}from'../chunk-H3FA574X.mjs';import'../chunk-GAZT5E62.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkL72M5DCH_js=require('./chunk-L72M5DCH.js'),zod=require('zod');var o={EVENT_DIRECT:"EVENT_DIRECT",MARKETPLACE_DIRECT:"MARKETPLACE_DIRECT",JOB_LISTING:"JOB_LISTING"},n={REQUESTED:"REQUESTED",AWAITING_PRODUCER_RESPONSE:"AWAITING_PRODUCER_RESPONSE",IN_NEGOTIATION:"IN_NEGOTIATION",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",AWAITING_ESCROW_FUNDING:"AWAITING_ESCROW_FUNDING",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",SERVICE_COMPLETED:"SERVICE_COMPLETED",IN_DISPUTE:"IN_DISPUTE",CLOSED:"CLOSED"},i={OPEN:"OPEN",CLOSED:"CLOSED",SUSPENDED:"SUSPENDED"},u={OPEN:"OPEN",WITHDRAWN:"WITHDRAWN",SELECTED:"SELECTED",REJECTED:"REJECTED"},c={PENDING:"PENDING",ESCROW_FUNDED:"ESCROW_FUNDED",RELEASED:"RELEASED",REFUNDED:"REFUNDED",FAILED:"FAILED"};var R=zod.z.object({origin:zod.z.enum(o),eventId:zod.z.uuid().optional(),producerId:zod.z.uuid(),agreedAmount:zod.z.number().min(0),serviceDetails:zod.z.object({requiredDate:zod.z.iso.datetime(),location:zod.z.string(),eventType:zod.z.string(),estimatedDurationHrs:zod.z.number(),notes:zod.z.string().optional()}).optional()}),D=zod.z.object({escrowReference:zod.z.string()}),k=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(n),paymentStatus:zod.z.enum(c),escrowReference:zod.z.string().optional(),completedAt:zod.z.iso.datetime().optional(),hostRating:zod.z.number().optional(),hostReview:zod.z.string().optional(),producerRating:zod.z.number().optional(),producerReview:zod.z.string().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),x=zod.z.object({title:zod.z.string().max(255),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationHrs:zod.z.number().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional()}),L=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(),estimatedDurationHrs:zod.z.number().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional(),state:zod.z.enum(i),proposalCount:zod.z.number(),createdAt:zod.z.iso.datetime()}),N=zod.z.object({coverMessage:zod.z.string().optional(),proposedAmount:zod.z.number().min(0).optional(),availabilityNotes:zod.z.string().optional()}),f=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().optional(),proposedAmount:zod.z.number().optional(),state:zod.z.enum(u),createdAt:zod.z.iso.datetime()});var r={ONSITE:"ONSITE",REMOTE:"REMOTE"};var p=zod.z.record(zod.z.string(),zod.z.unknown()),M=zod.z.object({producerId:zod.z.uuid(),origin:zod.z.enum(o),eventId:zod.z.uuid().optional(),jobListingId:zod.z.uuid().optional(),agreedAmount:zod.z.coerce.number().nonnegative().optional(),scopeOfWork:zod.z.string().max(5e3).optional()}),l=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().nullable(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),origin:zod.z.enum(o),jobListingId:zod.z.uuid().nullable(),sourceIoiId:zod.z.uuid().nullable(),state:zod.z.enum(n),createdAt:zod.z.string(),updatedAt:zod.z.string()}),P=zod.z.object({bookingId:zod.z.uuid(),booking:l}),a=zod.z.object({limit:zod.z.coerce.number().int().min(1).max(50).optional(),cursor:zod.z.uuid().optional()}),B=a,J=zod.z.object({bookings:zod.z.array(l),nextCursor:zod.z.uuid().nullable()}),d=zod.z.object({title:zod.z.string().min(1).max(200),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),requiredDate:zod.z.coerce.date().optional(),estimatedDurationHours:zod.z.coerce.number().int().positive().optional(),location:zod.z.enum(r),notes:zod.z.string().max(2e3).optional(),compensation:zod.z.coerce.number().nonnegative().optional(),attachments:p.optional(),eventId:zod.z.uuid().optional()}),j=d,_=d.partial(),v=zod.z.object({...a.shape,location:zod.z.enum(r).optional()}),q=a,m=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().nullable(),title:zod.z.string(),notes:zod.z.string().nullable(),description:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),role:zod.z.string(),requiredDate:zod.z.string().nullable(),estimatedDurationHours:zod.z.number().int().nullable(),location:zod.z.enum(r),compensation:zod.z.number().nullable(),attachments:zod.z.unknown().nullable(),state:zod.z.enum(i),proposalCount:zod.z.number().int(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),U=zod.z.object({jobListings:zod.z.array(m),nextCursor:zod.z.uuid().nullable()}),G=zod.z.object({coverMessage:zod.z.string().min(1).max(2e3).optional(),proposedAmount:zod.z.coerce.number().nonnegative().optional(),availabilityNotes:zod.z.string().max(2e3).optional(),attachments:p.optional()}),g=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().nullable(),proposedAmount:zod.z.number().nullable(),availabilityNotes:zod.z.string().nullable(),state:zod.z.enum(chunkL72M5DCH_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()}),E=g.extend({producerCompanyName:zod.z.string().nullable()}),W=a,F=zod.z.object({indications:zod.z.array(E),nextCursor:zod.z.uuid().nullable()});exports.A=g;exports.B=E;exports.C=W;exports.D=F;exports.a=o;exports.b=n;exports.c=i;exports.d=u;exports.e=c;exports.f=R;exports.g=D;exports.h=k;exports.i=x;exports.j=L;exports.k=N;exports.l=f;exports.m=r;exports.n=M;exports.o=l;exports.p=P;exports.q=a;exports.r=B;exports.s=J;exports.t=j;exports.u=_;exports.v=v;exports.w=q;exports.x=m;exports.y=U;exports.z=G;//# sourceMappingURL=chunk-KICL5AD3.js.map
2
- //# sourceMappingURL=chunk-KICL5AD3.js.map
1
+ 'use strict';var chunkL72M5DCH_js=require('./chunk-L72M5DCH.js'),zod=require('zod');var o={EVENT_DIRECT:"EVENT_DIRECT",MARKETPLACE_DIRECT:"MARKETPLACE_DIRECT",JOB_LISTING:"JOB_LISTING"},n={REQUESTED:"REQUESTED",AWAITING_PRODUCER_RESPONSE:"AWAITING_PRODUCER_RESPONSE",IN_NEGOTIATION:"IN_NEGOTIATION",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",AWAITING_ESCROW_FUNDING:"AWAITING_ESCROW_FUNDING",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",SERVICE_COMPLETED:"SERVICE_COMPLETED",IN_DISPUTE:"IN_DISPUTE",CLOSED:"CLOSED"},i={OPEN:"OPEN",CLOSED:"CLOSED",SUSPENDED:"SUSPENDED"},u={OPEN:"OPEN",WITHDRAWN:"WITHDRAWN",SELECTED:"SELECTED",REJECTED:"REJECTED"},p={PENDING:"PENDING",ESCROW_FUNDED:"ESCROW_FUNDED",RELEASED:"RELEASED",REFUNDED:"REFUNDED",FAILED:"FAILED"};var R=zod.z.object({origin:zod.z.enum(o),eventId:zod.z.uuid().optional(),producerId:zod.z.uuid(),agreedAmount:zod.z.number().min(0),serviceDetails:zod.z.object({requiredDate:zod.z.iso.datetime(),location:zod.z.string(),eventType:zod.z.string(),estimatedDurationHrs:zod.z.number(),notes:zod.z.string().optional()}).optional()}),D=zod.z.object({escrowReference:zod.z.string()}),k=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(n),paymentStatus:zod.z.enum(p),escrowReference:zod.z.string().optional(),completedAt:zod.z.iso.datetime().optional(),hostRating:zod.z.number().optional(),hostReview:zod.z.string().optional(),producerRating:zod.z.number().optional(),producerReview:zod.z.string().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),x=zod.z.object({title:zod.z.string().max(255),description:zod.z.string(),requiredDate:zod.z.iso.datetime(),estimatedDurationHrs:zod.z.number().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional()}),L=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(),estimatedDurationHrs:zod.z.number().optional(),location:zod.z.string(),budgetRangeMin:zod.z.number().optional(),budgetRangeMax:zod.z.number().optional(),state:zod.z.enum(i),proposalCount:zod.z.number(),createdAt:zod.z.iso.datetime()}),N=zod.z.object({coverMessage:zod.z.string().optional(),proposedAmount:zod.z.number().min(0).optional(),availabilityNotes:zod.z.string().optional()}),f=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().optional(),proposedAmount:zod.z.number().optional(),state:zod.z.enum(u),createdAt:zod.z.iso.datetime()});var r={ONSITE:"ONSITE",REMOTE:"REMOTE"};var c=zod.z.record(zod.z.string(),zod.z.unknown()),M=zod.z.object({producerId:zod.z.uuid(),origin:zod.z.enum(o),eventId:zod.z.uuid().optional(),jobListingId:zod.z.uuid().optional(),agreedAmount:zod.z.coerce.number().nonnegative().optional(),scopeOfWork:zod.z.string().max(5e3).optional()}),l=zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid().nullable(),hostProfileId:zod.z.uuid(),producerProfileId:zod.z.uuid(),origin:zod.z.enum(o),jobListingId:zod.z.uuid().nullable(),sourceIoiId:zod.z.uuid().nullable(),state:zod.z.enum(n),createdAt:zod.z.string(),updatedAt:zod.z.string()}),P=zod.z.object({bookingId:zod.z.uuid(),booking:l}),a=zod.z.object({limit:zod.z.coerce.number().int().min(1).max(50).optional(),cursor:zod.z.uuid().optional()}),B=a,J=zod.z.object({bookings:zod.z.array(l),nextCursor:zod.z.uuid().nullable()}),d=zod.z.object({title:zod.z.string().min(1).max(200),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),requiredDate:zod.z.iso.datetime().optional(),estimatedDurationHours:zod.z.coerce.number().int().positive().optional(),location:zod.z.enum(r),notes:zod.z.string().max(2e3).optional(),compensation:zod.z.coerce.number().nonnegative().optional(),attachments:c.optional(),eventId:zod.z.uuid().optional()}),j=d,_=d.partial(),v=zod.z.object({...a.shape,location:zod.z.enum(r).optional()}),q=a,m=zod.z.object({id:zod.z.uuid(),hostProfileId:zod.z.uuid(),eventId:zod.z.uuid().nullable(),title:zod.z.string(),notes:zod.z.string().nullable(),description:zod.z.string(),responsibilities:zod.z.string(),requirements:zod.z.string(),role:zod.z.string(),requiredDate:zod.z.string().nullable(),estimatedDurationHours:zod.z.number().int().nullable(),location:zod.z.enum(r),compensation:zod.z.number().nullable(),attachments:zod.z.unknown().nullable(),state:zod.z.enum(i),proposalCount:zod.z.number().int(),createdAt:zod.z.string(),updatedAt:zod.z.string()}),U=zod.z.object({jobListings:zod.z.array(m),nextCursor:zod.z.uuid().nullable()}),G=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:c.optional()}),g=zod.z.object({id:zod.z.uuid(),jobListingId:zod.z.uuid(),producerProfileId:zod.z.uuid(),coverMessage:zod.z.string().nullable(),proposedAmount:zod.z.number().nullable(),availabilityNotes:zod.z.string().nullable(),state:zod.z.enum(chunkL72M5DCH_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()}),E=g.extend({producerCompanyName:zod.z.string().nullable()}),W=a,F=zod.z.object({indications:zod.z.array(E),nextCursor:zod.z.uuid().nullable()});exports.A=g;exports.B=E;exports.C=W;exports.D=F;exports.a=o;exports.b=n;exports.c=i;exports.d=u;exports.e=p;exports.f=R;exports.g=D;exports.h=k;exports.i=x;exports.j=L;exports.k=N;exports.l=f;exports.m=r;exports.n=M;exports.o=l;exports.p=P;exports.q=a;exports.r=B;exports.s=J;exports.t=j;exports.u=_;exports.v=v;exports.w=q;exports.x=m;exports.y=U;exports.z=G;//# sourceMappingURL=chunk-5Q4UOZ7K.js.map
2
+ //# sourceMappingURL=chunk-5Q4UOZ7K.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/booking/booking.enums.ts","../src/booking/booking.schemas.ts","../src/booking/hiring.enums.ts","../src/booking/hiring.schemas.ts"],"names":["BookingOrigin","BookingState","JobListingState","IoiState","BookingPaymentStatus","CreateBookingRequestSchema","z","ConfirmBookingRequestSchema","BookingResponseSchema","CreateJobListingRequestSchema","JobListingResponseSchema","SubmitIndicationOfInterestRequestSchema","IndicationOfInterestResponseSchema","JobLocation","jsonRecordSchema","CreateMarketplaceBookingRequestSchema","MarketplaceBookingResponseSchema","CreateMarketplaceBookingResponseSchema","MarketplaceListPaginationQuerySchema","ListMarketplaceBookingsQuerySchema","ListMarketplaceBookingsResponseSchema","MarketplaceJobListingBodySchema","CreateMarketplaceJobListingRequestSchema","UpdateMarketplaceJobListingRequestSchema","ListMarketplaceJobListingsQuerySchema","ListMarketplaceJobListingsMineQuerySchema","MarketplaceJobListingResponseSchema","ListMarketplaceJobListingsResponseSchema","SubmitMarketplaceIndicationOfInterestRequestSchema","MarketplaceIndicationOfInterestResponseSchema","JobInterestState","MarketplaceIndicationOfInterestHostItemSchema","ListMarketplaceIndicationsOfInterestQuerySchema","ListMarketplaceIndicationsOfInterestResponseSchema"],"mappings":"oFAAO,IAAMA,CAAAA,CAAgB,CAC3B,YAAA,CAAc,cAAA,CACd,kBAAA,CAAoB,oBAAA,CACpB,WAAA,CAAa,aACf,CAAA,CAGaC,CAAAA,CAAe,CAC1B,SAAA,CAAW,WAAA,CACX,0BAAA,CAA4B,4BAAA,CAC5B,cAAA,CAAgB,gBAAA,CAChB,QAAA,CAAU,UAAA,CACV,QAAA,CAAU,UAAA,CACV,SAAA,CAAW,WAAA,CACX,uBAAA,CAAyB,yBAAA,CACzB,SAAA,CAAW,WAAA,CACX,WAAA,CAAa,aAAA,CACb,kBAAmB,mBAAA,CACnB,UAAA,CAAY,YAAA,CACZ,MAAA,CAAQ,QACV,CAAA,CAGaC,CAAAA,CAAkB,CAC7B,IAAA,CAAM,MAAA,CACN,MAAA,CAAQ,QAAA,CACR,SAAA,CAAW,WACb,CAAA,CAGaC,CAAAA,CAAW,CACtB,IAAA,CAAM,MAAA,CACN,SAAA,CAAW,WAAA,CACX,QAAA,CAAU,UAAA,CACV,QAAA,CAAU,UACZ,CAAA,CAMaC,CAAAA,CAAuB,CAClC,OAAA,CAAS,SAAA,CACT,cAAe,eAAA,CACf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IRECT: 'MARKETPLACE_DIRECT',\n JOB_LISTING: 'JOB_LISTING',\n} as const;\nexport type BookingOrigin = (typeof BookingOrigin)[keyof typeof BookingOrigin];\n\nexport const BookingState = {\n REQUESTED: 'REQUESTED',\n AWAITING_PRODUCER_RESPONSE: 'AWAITING_PRODUCER_RESPONSE',\n IN_NEGOTIATION: 'IN_NEGOTIATION',\n ACCEPTED: 'ACCEPTED',\n REJECTED: 'REJECTED',\n CANCELLED: 'CANCELLED',\n AWAITING_ESCROW_FUNDING: 'AWAITING_ESCROW_FUNDING',\n CONFIRMED: 'CONFIRMED',\n IN_PROGRESS: 'IN_PROGRESS',\n SERVICE_COMPLETED: 'SERVICE_COMPLETED',\n IN_DISPUTE: 'IN_DISPUTE',\n CLOSED: 'CLOSED',\n} as const;\nexport type BookingState = (typeof BookingState)[keyof typeof BookingState];\n\nexport const JobListingState = {\n OPEN: 'OPEN',\n CLOSED: 'CLOSED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type JobListingState = (typeof JobListingState)[keyof typeof JobListingState];\n\nexport const IoiState = {\n OPEN: 'OPEN',\n WITHDRAWN: 'WITHDRAWN',\n SELECTED: 'SELECTED',\n REJECTED: 'REJECTED',\n} as const;\nexport type IoiState = (typeof IoiState)[keyof typeof IoiState];\n\n/**\n * Enum for booking payment status.\n */\nexport const BookingPaymentStatus = {\n PENDING: 'PENDING',\n ESCROW_FUNDED: 'ESCROW_FUNDED',\n RELEASED: 'RELEASED',\n REFUNDED: 'REFUNDED',\n FAILED: 'FAILED',\n} as const;\nexport type BookingPaymentStatus = (typeof BookingPaymentStatus)[keyof typeof BookingPaymentStatus];\n","import { z } from 'zod';\nimport {\n BookingOrigin,\n BookingState,\n JobListingState,\n IoiState,\n BookingPaymentStatus,\n} from './booking.enums';\n\nexport const CreateBookingRequestSchema = z.object({\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n producerId: z.uuid(),\n agreedAmount: z.number().min(0),\n serviceDetails: z\n .object({\n requiredDate: z.iso.datetime(),\n location: z.string(),\n eventType: z.string(),\n estimatedDurationHrs: z.number(),\n notes: z.string().optional(),\n })\n .optional(),\n});\n\nexport const ConfirmBookingRequestSchema = z.object({\n escrowReference: z.string(),\n});\n\nexport const BookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().optional(),\n hostId: z.uuid(),\n producerId: z.uuid(),\n quotedPrice: z.number(),\n currency: z.string(),\n scopeOfWork: z.record(z.string(), z.any()).optional(),\n requiredStartAt: z.iso.datetime(),\n requiredEndAt: z.iso.datetime(),\n bookingState: z.enum(BookingState),\n paymentStatus: z.enum(BookingPaymentStatus),\n escrowReference: z.string().optional(),\n completedAt: z.iso.datetime().optional(),\n hostRating: z.number().optional(),\n hostReview: z.string().optional(),\n producerRating: z.number().optional(),\n producerReview: z.string().optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const CreateJobListingRequestSchema = z.object({\n title: z.string().max(255),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n});\n\nexport const JobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().optional(),\n title: z.string(),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n state: z.enum(JobListingState),\n proposalCount: z.number(),\n createdAt: z.iso.datetime(),\n});\n\nexport const SubmitIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().optional(),\n proposedAmount: z.number().min(0).optional(),\n availabilityNotes: z.string().optional(),\n});\n\nexport const IndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().optional(),\n proposedAmount: z.number().optional(),\n state: z.enum(IoiState),\n createdAt: z.iso.datetime(),\n});\n","export const JobLocation = {\n ONSITE: 'ONSITE',\n REMOTE: 'REMOTE',\n} as const;\nexport type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];\n","import { z } from 'zod';\nimport { JobInterestState } from '../joblisting/listing.enum';\nimport { BookingOrigin, BookingState, JobListingState } from './booking.enums';\nimport { JobLocation } from './hiring.enums';\n\nconst jsonRecordSchema = z.record(z.string(), z.unknown());\n\n/** `POST /marketplace/bookings` */\nexport const CreateMarketplaceBookingRequestSchema = z.object({\n producerId: z.uuid(),\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n jobListingId: z.uuid().optional(),\n agreedAmount: z.coerce.number().nonnegative().optional(),\n scopeOfWork: z.string().max(5000).optional(),\n});\n\nexport const MarketplaceBookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().nullable(),\n hostProfileId: z.uuid(),\n producerProfileId: z.uuid(),\n origin: z.enum(BookingOrigin),\n jobListingId: z.uuid().nullable(),\n sourceIoiId: z.uuid().nullable(),\n state: z.enum(BookingState),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** `POST /marketplace/bookings` — create acknowledgement */\nexport const CreateMarketplaceBookingResponseSchema = z.object({\n bookingId: z.uuid(),\n booking: MarketplaceBookingResponseSchema,\n});\n\n/** Shared `limit` / `cursor` for host-scoped marketplace list endpoints */\nexport const MarketplaceListPaginationQuerySchema = z.object({\n limit: z.coerce.number().int().min(1).max(50).optional(),\n cursor: z.uuid().optional(),\n});\n\n/** `GET /marketplace/bookings` */\nexport const ListMarketplaceBookingsQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceBookingsResponseSchema = z.object({\n bookings: z.array(MarketplaceBookingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\nconst MarketplaceJobListingBodySchema = z.object({\n title: z.string().min(1).max(200),\n description: z.string().min(1).max(5000),\n responsibilities: z.string().min(1),\n requirements: z.string().min(1),\n role: z.string().min(1).max(120),\n requiredDate: z.coerce.date().optional(),\n estimatedDurationHours: z.coerce.number().int().positive().optional(),\n location: z.enum(JobLocation),\n notes: z.string().max(2000).optional(),\n compensation: z.coerce.number().nonnegative().optional(),\n attachments: jsonRecordSchema.optional(),\n eventId: z.uuid().optional(),\n});\n\n/** `POST /marketplace/job-listings` */\nexport const CreateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema;\n\nexport const UpdateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema.partial();\n\nexport const ListMarketplaceJobListingsQuerySchema = z.object({\n ...MarketplaceListPaginationQuerySchema.shape,\n location: z.enum(JobLocation).optional(),\n});\n\n/** `GET /marketplace/job-listings/mine` */\nexport const ListMarketplaceJobListingsMineQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const MarketplaceJobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().nullable(),\n title: z.string(),\n notes: z.string().nullable(),\n description: z.string(),\n responsibilities: z.string(),\n requirements: z.string(),\n role: z.string(),\n requiredDate: z.string().nullable(),\n estimatedDurationHours: z.number().int().nullable(),\n location: z.enum(JobLocation),\n compensation: z.number().nullable(),\n attachments: z.unknown().nullable(),\n state: z.enum(JobListingState),\n proposalCount: z.number().int(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\nexport const ListMarketplaceJobListingsResponseSchema = z.object({\n jobListings: z.array(MarketplaceJobListingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\n/** `POST .../indications-of-interest` */\nexport const SubmitMarketplaceIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().min(1).max(2000).optional(),\n proposedAmount: z.coerce.number().nonnegative().optional(),\n availabilityNotes: z.string().max(2000).optional(),\n attachments: jsonRecordSchema.optional(),\n});\n\nexport const MarketplaceIndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().nullable(),\n proposedAmount: z.number().nullable(),\n availabilityNotes: z.string().nullable(),\n state: z.enum(JobInterestState),\n resultingBookingId: z.uuid().nullable(),\n withdrawnAt: z.string().nullable(),\n selectedAt: z.string().nullable(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** Host review row — IoI plus producer display label */\nexport const MarketplaceIndicationOfInterestHostItemSchema =\n MarketplaceIndicationOfInterestResponseSchema.extend({\n producerCompanyName: z.string().nullable(),\n });\n\n/** `GET .../indications-of-interest` (host review list) */\nexport const ListMarketplaceIndicationsOfInterestQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceIndicationsOfInterestResponseSchema = z.object({\n indications: z.array(MarketplaceIndicationOfInterestHostItemSchema),\n nextCursor: z.uuid().nullable(),\n});\n"]}
1
+ {"version":3,"sources":["../src/booking/booking.enums.ts","../src/booking/booking.schemas.ts","../src/booking/hiring.enums.ts","../src/booking/hiring.schemas.ts"],"names":["BookingOrigin","BookingState","JobListingState","IoiState","BookingPaymentStatus","CreateBookingRequestSchema","z","ConfirmBookingRequestSchema","BookingResponseSchema","CreateJobListingRequestSchema","JobListingResponseSchema","SubmitIndicationOfInterestRequestSchema","IndicationOfInterestResponseSchema","JobLocation","jsonRecordSchema","CreateMarketplaceBookingRequestSchema","MarketplaceBookingResponseSchema","CreateMarketplaceBookingResponseSchema","MarketplaceListPaginationQuerySchema","ListMarketplaceBookingsQuerySchema","ListMarketplaceBookingsResponseSchema","MarketplaceJobListingBodySchema","CreateMarketplaceJobListingRequestSchema","UpdateMarketplaceJobListingRequestSchema","ListMarketplaceJobListingsQuerySchema","ListMarketplaceJobListingsMineQuerySchema","MarketplaceJobListingResponseSchema","ListMarketplaceJobListingsResponseSchema","SubmitMarketplaceIndicationOfInterestRequestSchema","MarketplaceIndicationOfInterestResponseSchema","JobInterestState","MarketplaceIndicationOfInterestHostItemSchema","ListMarketplaceIndicationsOfInterestQuerySchema","ListMarketplaceIndicationsOfInterestResponseSchema"],"mappings":"oFAAO,IAAMA,CAAAA,C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,KAAAA,CAAE,IAAA,EAAK,CAAE,QAAA,EAAS,CACtC,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACjC,UAAA,CAAYA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAChC,SAAA,CAAWA,KAAAA,CAAE,MAAA,EAAO,CACpB,SAAA,CAAWA,KAAAA,CAAE,MAAA,EACf,CAAC,CAAA,CAGYyB,EACXF,CAAAA,CAA8C,MAAA,CAAO,CACnD,mBAAA,CAAqBvB,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAClC,CAAC,CAAA,CAGU0B,CAAAA,CAAkDd,CAAAA,CAElDe,CAAAA,CAAqD3B,KAAAA,CAAE,MAAA,CAAO,CACzE,WAAA,CAAaA,KAAAA,CAAE,KAAA,CAAMyB,CAA6C,CAAA,CAClE,UAAA,CAAYzB,KAAAA,CAAE,IAAA,EAAK,CAAE,QAAA,EACvB,CAAC","file":"chunk-5Q4UOZ7K.js","sourcesContent":["export const BookingOrigin = {\n EVENT_DIRECT: 'EVENT_DIRECT',\n MARKETPLACE_DIRECT: 'MARKETPLACE_DIRECT',\n JOB_LISTING: 'JOB_LISTING',\n} as const;\nexport type BookingOrigin = (typeof BookingOrigin)[keyof typeof BookingOrigin];\n\nexport const BookingState = {\n REQUESTED: 'REQUESTED',\n AWAITING_PRODUCER_RESPONSE: 'AWAITING_PRODUCER_RESPONSE',\n IN_NEGOTIATION: 'IN_NEGOTIATION',\n ACCEPTED: 'ACCEPTED',\n REJECTED: 'REJECTED',\n CANCELLED: 'CANCELLED',\n AWAITING_ESCROW_FUNDING: 'AWAITING_ESCROW_FUNDING',\n CONFIRMED: 'CONFIRMED',\n IN_PROGRESS: 'IN_PROGRESS',\n SERVICE_COMPLETED: 'SERVICE_COMPLETED',\n IN_DISPUTE: 'IN_DISPUTE',\n CLOSED: 'CLOSED',\n} as const;\nexport type BookingState = (typeof BookingState)[keyof typeof BookingState];\n\nexport const JobListingState = {\n OPEN: 'OPEN',\n CLOSED: 'CLOSED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type JobListingState = (typeof JobListingState)[keyof typeof JobListingState];\n\nexport const IoiState = {\n OPEN: 'OPEN',\n WITHDRAWN: 'WITHDRAWN',\n SELECTED: 'SELECTED',\n REJECTED: 'REJECTED',\n} as const;\nexport type IoiState = (typeof IoiState)[keyof typeof IoiState];\n\n/**\n * Enum for booking payment status.\n */\nexport const BookingPaymentStatus = {\n PENDING: 'PENDING',\n ESCROW_FUNDED: 'ESCROW_FUNDED',\n RELEASED: 'RELEASED',\n REFUNDED: 'REFUNDED',\n FAILED: 'FAILED',\n} as const;\nexport type BookingPaymentStatus = (typeof BookingPaymentStatus)[keyof typeof BookingPaymentStatus];\n","import { z } from 'zod';\nimport {\n BookingOrigin,\n BookingState,\n JobListingState,\n IoiState,\n BookingPaymentStatus,\n} from './booking.enums';\n\nexport const CreateBookingRequestSchema = z.object({\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n producerId: z.uuid(),\n agreedAmount: z.number().min(0),\n serviceDetails: z\n .object({\n requiredDate: z.iso.datetime(),\n location: z.string(),\n eventType: z.string(),\n estimatedDurationHrs: z.number(),\n notes: z.string().optional(),\n })\n .optional(),\n});\n\nexport const ConfirmBookingRequestSchema = z.object({\n escrowReference: z.string(),\n});\n\nexport const BookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().optional(),\n hostId: z.uuid(),\n producerId: z.uuid(),\n quotedPrice: z.number(),\n currency: z.string(),\n scopeOfWork: z.record(z.string(), z.any()).optional(),\n requiredStartAt: z.iso.datetime(),\n requiredEndAt: z.iso.datetime(),\n bookingState: z.enum(BookingState),\n paymentStatus: z.enum(BookingPaymentStatus),\n escrowReference: z.string().optional(),\n completedAt: z.iso.datetime().optional(),\n hostRating: z.number().optional(),\n hostReview: z.string().optional(),\n producerRating: z.number().optional(),\n producerReview: z.string().optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const CreateJobListingRequestSchema = z.object({\n title: z.string().max(255),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n});\n\nexport const JobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().optional(),\n title: z.string(),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n state: z.enum(JobListingState),\n proposalCount: z.number(),\n createdAt: z.iso.datetime(),\n});\n\nexport const SubmitIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().optional(),\n proposedAmount: z.number().min(0).optional(),\n availabilityNotes: z.string().optional(),\n});\n\nexport const IndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().optional(),\n proposedAmount: z.number().optional(),\n state: z.enum(IoiState),\n createdAt: z.iso.datetime(),\n});\n","export const JobLocation = {\n ONSITE: 'ONSITE',\n REMOTE: 'REMOTE',\n} as const;\nexport type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];\n","import { z } from 'zod';\nimport { JobInterestState } from '../joblisting/listing.enum';\nimport { BookingOrigin, BookingState, JobListingState } from './booking.enums';\nimport { JobLocation } from './hiring.enums';\n\nconst jsonRecordSchema = z.record(z.string(), z.unknown());\n\n/** `POST /marketplace/bookings` */\nexport const CreateMarketplaceBookingRequestSchema = z.object({\n producerId: z.uuid(),\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n jobListingId: z.uuid().optional(),\n agreedAmount: z.coerce.number().nonnegative().optional(),\n scopeOfWork: z.string().max(5000).optional(),\n});\n\nexport const MarketplaceBookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().nullable(),\n hostProfileId: z.uuid(),\n producerProfileId: z.uuid(),\n origin: z.enum(BookingOrigin),\n jobListingId: z.uuid().nullable(),\n sourceIoiId: z.uuid().nullable(),\n state: z.enum(BookingState),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** `POST /marketplace/bookings` — create acknowledgement */\nexport const CreateMarketplaceBookingResponseSchema = z.object({\n bookingId: z.uuid(),\n booking: MarketplaceBookingResponseSchema,\n});\n\n/** Shared `limit` / `cursor` for host-scoped marketplace list endpoints */\nexport const MarketplaceListPaginationQuerySchema = z.object({\n limit: z.coerce.number().int().min(1).max(50).optional(),\n cursor: z.uuid().optional(),\n});\n\n/** `GET /marketplace/bookings` */\nexport const ListMarketplaceBookingsQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceBookingsResponseSchema = z.object({\n bookings: z.array(MarketplaceBookingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\nconst MarketplaceJobListingBodySchema = z.object({\n title: z.string().min(1).max(200),\n description: z.string().min(1).max(5000),\n responsibilities: z.string().min(1),\n requirements: z.string().min(1),\n role: z.string().min(1).max(120),\n requiredDate: z.iso.datetime().optional(),\n estimatedDurationHours: z.coerce.number().int().positive().optional(),\n location: z.enum(JobLocation),\n notes: z.string().max(2000).optional(),\n compensation: z.coerce.number().nonnegative().optional(),\n attachments: jsonRecordSchema.optional(),\n eventId: z.uuid().optional(),\n});\n\n/** `POST /marketplace/job-listings` */\nexport const CreateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema;\n\nexport const UpdateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema.partial();\n\nexport const ListMarketplaceJobListingsQuerySchema = z.object({\n ...MarketplaceListPaginationQuerySchema.shape,\n location: z.enum(JobLocation).optional(),\n});\n\n/** `GET /marketplace/job-listings/mine` */\nexport const ListMarketplaceJobListingsMineQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const MarketplaceJobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().nullable(),\n title: z.string(),\n notes: z.string().nullable(),\n description: z.string(),\n responsibilities: z.string(),\n requirements: z.string(),\n role: z.string(),\n requiredDate: z.string().nullable(),\n estimatedDurationHours: z.number().int().nullable(),\n location: z.enum(JobLocation),\n compensation: z.number().nullable(),\n attachments: z.unknown().nullable(),\n state: z.enum(JobListingState),\n proposalCount: z.number().int(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\nexport const ListMarketplaceJobListingsResponseSchema = z.object({\n jobListings: z.array(MarketplaceJobListingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\n/** `POST .../indications-of-interest` */\nexport const SubmitMarketplaceIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().min(1).max(2000).optional(),\n proposedAmount: z.coerce.number().nonnegative().optional(),\n availabilityNotes: z.string().max(2000).optional(),\n attachments: jsonRecordSchema.optional(),\n});\n\nexport const MarketplaceIndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().nullable(),\n proposedAmount: z.number().nullable(),\n availabilityNotes: z.string().nullable(),\n state: z.enum(JobInterestState),\n resultingBookingId: z.uuid().nullable(),\n withdrawnAt: z.string().nullable(),\n selectedAt: z.string().nullable(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** Host review row — IoI plus producer display label */\nexport const MarketplaceIndicationOfInterestHostItemSchema =\n MarketplaceIndicationOfInterestResponseSchema.extend({\n producerCompanyName: z.string().nullable(),\n });\n\n/** `GET .../indications-of-interest` (host review list) */\nexport const ListMarketplaceIndicationsOfInterestQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceIndicationsOfInterestResponseSchema = z.object({\n indications: z.array(MarketplaceIndicationOfInterestHostItemSchema),\n nextCursor: z.uuid().nullable(),\n});\n"]}
@@ -1,2 +1,2 @@
1
- import {a as a$1}from'./chunk-GAZT5E62.mjs';import {z}from'zod';var o={EVENT_DIRECT:"EVENT_DIRECT",MARKETPLACE_DIRECT:"MARKETPLACE_DIRECT",JOB_LISTING:"JOB_LISTING"},n={REQUESTED:"REQUESTED",AWAITING_PRODUCER_RESPONSE:"AWAITING_PRODUCER_RESPONSE",IN_NEGOTIATION:"IN_NEGOTIATION",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",AWAITING_ESCROW_FUNDING:"AWAITING_ESCROW_FUNDING",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",SERVICE_COMPLETED:"SERVICE_COMPLETED",IN_DISPUTE:"IN_DISPUTE",CLOSED:"CLOSED"},i={OPEN:"OPEN",CLOSED:"CLOSED",SUSPENDED:"SUSPENDED"},u={OPEN:"OPEN",WITHDRAWN:"WITHDRAWN",SELECTED:"SELECTED",REJECTED:"REJECTED"},c={PENDING:"PENDING",ESCROW_FUNDED:"ESCROW_FUNDED",RELEASED:"RELEASED",REFUNDED:"REFUNDED",FAILED:"FAILED"};var R=z.object({origin:z.enum(o),eventId:z.uuid().optional(),producerId:z.uuid(),agreedAmount:z.number().min(0),serviceDetails:z.object({requiredDate:z.iso.datetime(),location:z.string(),eventType:z.string(),estimatedDurationHrs:z.number(),notes:z.string().optional()}).optional()}),D=z.object({escrowReference:z.string()}),k=z.object({id:z.uuid(),eventId:z.uuid().optional(),hostId:z.uuid(),producerId:z.uuid(),quotedPrice:z.number(),currency:z.string(),scopeOfWork:z.record(z.string(),z.any()).optional(),requiredStartAt:z.iso.datetime(),requiredEndAt:z.iso.datetime(),bookingState:z.enum(n),paymentStatus:z.enum(c),escrowReference:z.string().optional(),completedAt:z.iso.datetime().optional(),hostRating:z.number().optional(),hostReview:z.string().optional(),producerRating:z.number().optional(),producerReview:z.string().optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}),x=z.object({title:z.string().max(255),description:z.string(),requiredDate:z.iso.datetime(),estimatedDurationHrs:z.number().optional(),location:z.string(),budgetRangeMin:z.number().optional(),budgetRangeMax:z.number().optional()}),L=z.object({id:z.uuid(),hostProfileId:z.uuid(),eventId:z.uuid().optional(),title:z.string(),description:z.string(),requiredDate:z.iso.datetime(),estimatedDurationHrs:z.number().optional(),location:z.string(),budgetRangeMin:z.number().optional(),budgetRangeMax:z.number().optional(),state:z.enum(i),proposalCount:z.number(),createdAt:z.iso.datetime()}),N=z.object({coverMessage:z.string().optional(),proposedAmount:z.number().min(0).optional(),availabilityNotes:z.string().optional()}),f=z.object({id:z.uuid(),jobListingId:z.uuid(),producerProfileId:z.uuid(),coverMessage:z.string().optional(),proposedAmount:z.number().optional(),state:z.enum(u),createdAt:z.iso.datetime()});var r={ONSITE:"ONSITE",REMOTE:"REMOTE"};var p=z.record(z.string(),z.unknown()),M=z.object({producerId:z.uuid(),origin:z.enum(o),eventId:z.uuid().optional(),jobListingId:z.uuid().optional(),agreedAmount:z.coerce.number().nonnegative().optional(),scopeOfWork:z.string().max(5e3).optional()}),l=z.object({id:z.uuid(),eventId:z.uuid().nullable(),hostProfileId:z.uuid(),producerProfileId:z.uuid(),origin:z.enum(o),jobListingId:z.uuid().nullable(),sourceIoiId:z.uuid().nullable(),state:z.enum(n),createdAt:z.string(),updatedAt:z.string()}),P=z.object({bookingId:z.uuid(),booking:l}),a=z.object({limit:z.coerce.number().int().min(1).max(50).optional(),cursor:z.uuid().optional()}),B=a,J=z.object({bookings:z.array(l),nextCursor:z.uuid().nullable()}),d=z.object({title:z.string().min(1).max(200),description:z.string().min(1).max(5e3),responsibilities:z.string().min(1),requirements:z.string().min(1),role:z.string().min(1).max(120),requiredDate:z.coerce.date().optional(),estimatedDurationHours:z.coerce.number().int().positive().optional(),location:z.enum(r),notes:z.string().max(2e3).optional(),compensation:z.coerce.number().nonnegative().optional(),attachments:p.optional(),eventId:z.uuid().optional()}),j=d,_=d.partial(),v=z.object({...a.shape,location:z.enum(r).optional()}),q=a,m=z.object({id:z.uuid(),hostProfileId:z.uuid(),eventId:z.uuid().nullable(),title:z.string(),notes:z.string().nullable(),description:z.string(),responsibilities:z.string(),requirements:z.string(),role:z.string(),requiredDate:z.string().nullable(),estimatedDurationHours:z.number().int().nullable(),location:z.enum(r),compensation:z.number().nullable(),attachments:z.unknown().nullable(),state:z.enum(i),proposalCount:z.number().int(),createdAt:z.string(),updatedAt:z.string()}),U=z.object({jobListings:z.array(m),nextCursor:z.uuid().nullable()}),G=z.object({coverMessage:z.string().min(1).max(2e3).optional(),proposedAmount:z.coerce.number().nonnegative().optional(),availabilityNotes:z.string().max(2e3).optional(),attachments:p.optional()}),g=z.object({id:z.uuid(),jobListingId:z.uuid(),producerProfileId:z.uuid(),coverMessage:z.string().nullable(),proposedAmount:z.number().nullable(),availabilityNotes:z.string().nullable(),state:z.enum(a$1),resultingBookingId:z.uuid().nullable(),withdrawnAt:z.string().nullable(),selectedAt:z.string().nullable(),createdAt:z.string(),updatedAt:z.string()}),E=g.extend({producerCompanyName:z.string().nullable()}),W=a,F=z.object({indications:z.array(E),nextCursor:z.uuid().nullable()});export{g as A,E as B,W as C,F as D,o as a,n as b,i as c,u as d,c as e,R as f,D as g,k as h,x as i,L as j,N as k,f as l,r as m,M as n,l as o,P as p,a as q,B as r,J as s,j as t,_ as u,v,q as w,m as x,U as y,G as z};//# sourceMappingURL=chunk-YLDZUVLQ.mjs.map
2
- //# sourceMappingURL=chunk-YLDZUVLQ.mjs.map
1
+ import {a as a$1}from'./chunk-GAZT5E62.mjs';import {z}from'zod';var o={EVENT_DIRECT:"EVENT_DIRECT",MARKETPLACE_DIRECT:"MARKETPLACE_DIRECT",JOB_LISTING:"JOB_LISTING"},n={REQUESTED:"REQUESTED",AWAITING_PRODUCER_RESPONSE:"AWAITING_PRODUCER_RESPONSE",IN_NEGOTIATION:"IN_NEGOTIATION",ACCEPTED:"ACCEPTED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",AWAITING_ESCROW_FUNDING:"AWAITING_ESCROW_FUNDING",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",SERVICE_COMPLETED:"SERVICE_COMPLETED",IN_DISPUTE:"IN_DISPUTE",CLOSED:"CLOSED"},i={OPEN:"OPEN",CLOSED:"CLOSED",SUSPENDED:"SUSPENDED"},u={OPEN:"OPEN",WITHDRAWN:"WITHDRAWN",SELECTED:"SELECTED",REJECTED:"REJECTED"},p={PENDING:"PENDING",ESCROW_FUNDED:"ESCROW_FUNDED",RELEASED:"RELEASED",REFUNDED:"REFUNDED",FAILED:"FAILED"};var R=z.object({origin:z.enum(o),eventId:z.uuid().optional(),producerId:z.uuid(),agreedAmount:z.number().min(0),serviceDetails:z.object({requiredDate:z.iso.datetime(),location:z.string(),eventType:z.string(),estimatedDurationHrs:z.number(),notes:z.string().optional()}).optional()}),D=z.object({escrowReference:z.string()}),k=z.object({id:z.uuid(),eventId:z.uuid().optional(),hostId:z.uuid(),producerId:z.uuid(),quotedPrice:z.number(),currency:z.string(),scopeOfWork:z.record(z.string(),z.any()).optional(),requiredStartAt:z.iso.datetime(),requiredEndAt:z.iso.datetime(),bookingState:z.enum(n),paymentStatus:z.enum(p),escrowReference:z.string().optional(),completedAt:z.iso.datetime().optional(),hostRating:z.number().optional(),hostReview:z.string().optional(),producerRating:z.number().optional(),producerReview:z.string().optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}),x=z.object({title:z.string().max(255),description:z.string(),requiredDate:z.iso.datetime(),estimatedDurationHrs:z.number().optional(),location:z.string(),budgetRangeMin:z.number().optional(),budgetRangeMax:z.number().optional()}),L=z.object({id:z.uuid(),hostProfileId:z.uuid(),eventId:z.uuid().optional(),title:z.string(),description:z.string(),requiredDate:z.iso.datetime(),estimatedDurationHrs:z.number().optional(),location:z.string(),budgetRangeMin:z.number().optional(),budgetRangeMax:z.number().optional(),state:z.enum(i),proposalCount:z.number(),createdAt:z.iso.datetime()}),N=z.object({coverMessage:z.string().optional(),proposedAmount:z.number().min(0).optional(),availabilityNotes:z.string().optional()}),f=z.object({id:z.uuid(),jobListingId:z.uuid(),producerProfileId:z.uuid(),coverMessage:z.string().optional(),proposedAmount:z.number().optional(),state:z.enum(u),createdAt:z.iso.datetime()});var r={ONSITE:"ONSITE",REMOTE:"REMOTE"};var c=z.record(z.string(),z.unknown()),M=z.object({producerId:z.uuid(),origin:z.enum(o),eventId:z.uuid().optional(),jobListingId:z.uuid().optional(),agreedAmount:z.coerce.number().nonnegative().optional(),scopeOfWork:z.string().max(5e3).optional()}),l=z.object({id:z.uuid(),eventId:z.uuid().nullable(),hostProfileId:z.uuid(),producerProfileId:z.uuid(),origin:z.enum(o),jobListingId:z.uuid().nullable(),sourceIoiId:z.uuid().nullable(),state:z.enum(n),createdAt:z.string(),updatedAt:z.string()}),P=z.object({bookingId:z.uuid(),booking:l}),a=z.object({limit:z.coerce.number().int().min(1).max(50).optional(),cursor:z.uuid().optional()}),B=a,J=z.object({bookings:z.array(l),nextCursor:z.uuid().nullable()}),d=z.object({title:z.string().min(1).max(200),description:z.string().min(1).max(5e3),responsibilities:z.string().min(1),requirements:z.string().min(1),role:z.string().min(1).max(120),requiredDate:z.iso.datetime().optional(),estimatedDurationHours:z.coerce.number().int().positive().optional(),location:z.enum(r),notes:z.string().max(2e3).optional(),compensation:z.coerce.number().nonnegative().optional(),attachments:c.optional(),eventId:z.uuid().optional()}),j=d,_=d.partial(),v=z.object({...a.shape,location:z.enum(r).optional()}),q=a,m=z.object({id:z.uuid(),hostProfileId:z.uuid(),eventId:z.uuid().nullable(),title:z.string(),notes:z.string().nullable(),description:z.string(),responsibilities:z.string(),requirements:z.string(),role:z.string(),requiredDate:z.string().nullable(),estimatedDurationHours:z.number().int().nullable(),location:z.enum(r),compensation:z.number().nullable(),attachments:z.unknown().nullable(),state:z.enum(i),proposalCount:z.number().int(),createdAt:z.string(),updatedAt:z.string()}),U=z.object({jobListings:z.array(m),nextCursor:z.uuid().nullable()}),G=z.object({coverMessage:z.string().min(1).max(2e3).optional(),proposedAmount:z.coerce.number().nonnegative().optional(),availabilityNotes:z.string().max(2e3).optional(),attachments:c.optional()}),g=z.object({id:z.uuid(),jobListingId:z.uuid(),producerProfileId:z.uuid(),coverMessage:z.string().nullable(),proposedAmount:z.number().nullable(),availabilityNotes:z.string().nullable(),state:z.enum(a$1),resultingBookingId:z.uuid().nullable(),withdrawnAt:z.string().nullable(),selectedAt:z.string().nullable(),createdAt:z.string(),updatedAt:z.string()}),E=g.extend({producerCompanyName:z.string().nullable()}),W=a,F=z.object({indications:z.array(E),nextCursor:z.uuid().nullable()});export{g as A,E as B,W as C,F as D,o as a,n as b,i as c,u as d,p as e,R as f,D as g,k as h,x as i,L as j,N as k,f as l,r as m,M as n,l as o,P as p,a as q,B as r,J as s,j as t,_ as u,v,q as w,m as x,U as y,G as z};//# sourceMappingURL=chunk-H3FA574X.mjs.map
2
+ //# sourceMappingURL=chunk-H3FA574X.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/booking/booking.enums.ts","../src/booking/booking.schemas.ts","../src/booking/hiring.enums.ts","../src/booking/hiring.schemas.ts"],"names":["BookingOrigin","BookingState","JobListingState","IoiState","BookingPaymentStatus","CreateBookingRequestSchema","z","ConfirmBookingRequestSchema","BookingResponseSchema","CreateJobListingRequestSchema","JobListingResponseSchema","SubmitIndicationOfInterestRequestSchema","IndicationOfInterestResponseSchema","JobLocation","jsonRecordSchema","CreateMarketplaceBookingRequestSchema","MarketplaceBookingResponseSchema","CreateMarketplaceBookingResponseSchema","MarketplaceListPaginationQuerySchema","ListMarketplaceBookingsQuerySchema","ListMarketplaceBookingsResponseSchema","MarketplaceJobListingBodySchema","CreateMarketplaceJobListingRequestSchema","UpdateMarketplaceJobListingRequestSchema","ListMarketplaceJobListingsQuerySchema","ListMarketplaceJobListingsMineQuerySchema","MarketplaceJobListingResponseSchema","ListMarketplaceJobListingsResponseSchema","SubmitMarketplaceIndicationOfInterestRequestSchema","MarketplaceIndicationOfInterestResponseSchema","JobInterestState","MarketplaceIndicationOfInterestHostItemSchema","ListMarketplaceIndicationsOfInterestQueryS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AAOA,CAAAA,CAAE,KAAKwB,GAAgB,CAAA,CAC9B,kBAAA,CAAoBxB,CAAAA,CAAE,IAAA,EAAK,CAAE,QAAA,EAAS,CACtC,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACjC,UAAA,CAAYA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAChC,SAAA,CAAWA,CAAAA,CAAE,MAAA,EAAO,CACpB,SAAA,CAAWA,CAAAA,CAAE,MAAA,EACf,CAAC,CAAA,CAGYyB,EACXF,CAAAA,CAA8C,MAAA,CAAO,CACnD,mBAAA,CAAqBvB,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAClC,CAAC,CAAA,CAGU0B,CAAAA,CAAkDd,CAAAA,CAElDe,CAAAA,CAAqD3B,CAAAA,CAAE,MAAA,CAAO,CACzE,WAAA,CAAaA,CAAAA,CAAE,KAAA,CAAMyB,CAA6C,CAAA,CAClE,UAAA,CAAYzB,CAAAA,CAAE,IAAA,EAAK,CAAE,QAAA,EACvB,CAAC","file":"chunk-YLDZUVLQ.mjs","sourcesContent":["export const BookingOrigin = {\n EVENT_DIRECT: 'EVENT_DIRECT',\n MARKETPLACE_DIRECT: 'MARKETPLACE_DIRECT',\n JOB_LISTING: 'JOB_LISTING',\n} as const;\nexport type BookingOrigin = (typeof BookingOrigin)[keyof typeof BookingOrigin];\n\nexport const BookingState = {\n REQUESTED: 'REQUESTED',\n AWAITING_PRODUCER_RESPONSE: 'AWAITING_PRODUCER_RESPONSE',\n IN_NEGOTIATION: 'IN_NEGOTIATION',\n ACCEPTED: 'ACCEPTED',\n REJECTED: 'REJECTED',\n CANCELLED: 'CANCELLED',\n AWAITING_ESCROW_FUNDING: 'AWAITING_ESCROW_FUNDING',\n CONFIRMED: 'CONFIRMED',\n IN_PROGRESS: 'IN_PROGRESS',\n SERVICE_COMPLETED: 'SERVICE_COMPLETED',\n IN_DISPUTE: 'IN_DISPUTE',\n CLOSED: 'CLOSED',\n} as const;\nexport type BookingState = (typeof BookingState)[keyof typeof BookingState];\n\nexport const JobListingState = {\n OPEN: 'OPEN',\n CLOSED: 'CLOSED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type JobListingState = (typeof JobListingState)[keyof typeof JobListingState];\n\nexport const IoiState = {\n OPEN: 'OPEN',\n WITHDRAWN: 'WITHDRAWN',\n SELECTED: 'SELECTED',\n REJECTED: 'REJECTED',\n} as const;\nexport type IoiState = (typeof IoiState)[keyof typeof IoiState];\n\n/**\n * Enum for booking payment status.\n */\nexport const BookingPaymentStatus = {\n PENDING: 'PENDING',\n ESCROW_FUNDED: 'ESCROW_FUNDED',\n RELEASED: 'RELEASED',\n REFUNDED: 'REFUNDED',\n FAILED: 'FAILED',\n} as const;\nexport type BookingPaymentStatus = (typeof BookingPaymentStatus)[keyof typeof BookingPaymentStatus];\n","import { z } from 'zod';\nimport {\n BookingOrigin,\n BookingState,\n JobListingState,\n IoiState,\n BookingPaymentStatus,\n} from './booking.enums';\n\nexport const CreateBookingRequestSchema = z.object({\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n producerId: z.uuid(),\n agreedAmount: z.number().min(0),\n serviceDetails: z\n .object({\n requiredDate: z.iso.datetime(),\n location: z.string(),\n eventType: z.string(),\n estimatedDurationHrs: z.number(),\n notes: z.string().optional(),\n })\n .optional(),\n});\n\nexport const ConfirmBookingRequestSchema = z.object({\n escrowReference: z.string(),\n});\n\nexport const BookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().optional(),\n hostId: z.uuid(),\n producerId: z.uuid(),\n quotedPrice: z.number(),\n currency: z.string(),\n scopeOfWork: z.record(z.string(), z.any()).optional(),\n requiredStartAt: z.iso.datetime(),\n requiredEndAt: z.iso.datetime(),\n bookingState: z.enum(BookingState),\n paymentStatus: z.enum(BookingPaymentStatus),\n escrowReference: z.string().optional(),\n completedAt: z.iso.datetime().optional(),\n hostRating: z.number().optional(),\n hostReview: z.string().optional(),\n producerRating: z.number().optional(),\n producerReview: z.string().optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const CreateJobListingRequestSchema = z.object({\n title: z.string().max(255),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n});\n\nexport const JobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().optional(),\n title: z.string(),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n state: z.enum(JobListingState),\n proposalCount: z.number(),\n createdAt: z.iso.datetime(),\n});\n\nexport const SubmitIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().optional(),\n proposedAmount: z.number().min(0).optional(),\n availabilityNotes: z.string().optional(),\n});\n\nexport const IndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().optional(),\n proposedAmount: z.number().optional(),\n state: z.enum(IoiState),\n createdAt: z.iso.datetime(),\n});\n","export const JobLocation = {\n ONSITE: 'ONSITE',\n REMOTE: 'REMOTE',\n} as const;\nexport type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];\n","import { z } from 'zod';\nimport { JobInterestState } from '../joblisting/listing.enum';\nimport { BookingOrigin, BookingState, JobListingState } from './booking.enums';\nimport { JobLocation } from './hiring.enums';\n\nconst jsonRecordSchema = z.record(z.string(), z.unknown());\n\n/** `POST /marketplace/bookings` */\nexport const CreateMarketplaceBookingRequestSchema = z.object({\n producerId: z.uuid(),\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n jobListingId: z.uuid().optional(),\n agreedAmount: z.coerce.number().nonnegative().optional(),\n scopeOfWork: z.string().max(5000).optional(),\n});\n\nexport const MarketplaceBookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().nullable(),\n hostProfileId: z.uuid(),\n producerProfileId: z.uuid(),\n origin: z.enum(BookingOrigin),\n jobListingId: z.uuid().nullable(),\n sourceIoiId: z.uuid().nullable(),\n state: z.enum(BookingState),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** `POST /marketplace/bookings` — create acknowledgement */\nexport const CreateMarketplaceBookingResponseSchema = z.object({\n bookingId: z.uuid(),\n booking: MarketplaceBookingResponseSchema,\n});\n\n/** Shared `limit` / `cursor` for host-scoped marketplace list endpoints */\nexport const MarketplaceListPaginationQuerySchema = z.object({\n limit: z.coerce.number().int().min(1).max(50).optional(),\n cursor: z.uuid().optional(),\n});\n\n/** `GET /marketplace/bookings` */\nexport const ListMarketplaceBookingsQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceBookingsResponseSchema = z.object({\n bookings: z.array(MarketplaceBookingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\nconst MarketplaceJobListingBodySchema = z.object({\n title: z.string().min(1).max(200),\n description: z.string().min(1).max(5000),\n responsibilities: z.string().min(1),\n requirements: z.string().min(1),\n role: z.string().min(1).max(120),\n requiredDate: z.coerce.date().optional(),\n estimatedDurationHours: z.coerce.number().int().positive().optional(),\n location: z.enum(JobLocation),\n notes: z.string().max(2000).optional(),\n compensation: z.coerce.number().nonnegative().optional(),\n attachments: jsonRecordSchema.optional(),\n eventId: z.uuid().optional(),\n});\n\n/** `POST /marketplace/job-listings` */\nexport const CreateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema;\n\nexport const UpdateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema.partial();\n\nexport const ListMarketplaceJobListingsQuerySchema = z.object({\n ...MarketplaceListPaginationQuerySchema.shape,\n location: z.enum(JobLocation).optional(),\n});\n\n/** `GET /marketplace/job-listings/mine` */\nexport const ListMarketplaceJobListingsMineQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const MarketplaceJobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().nullable(),\n title: z.string(),\n notes: z.string().nullable(),\n description: z.string(),\n responsibilities: z.string(),\n requirements: z.string(),\n role: z.string(),\n requiredDate: z.string().nullable(),\n estimatedDurationHours: z.number().int().nullable(),\n location: z.enum(JobLocation),\n compensation: z.number().nullable(),\n attachments: z.unknown().nullable(),\n state: z.enum(JobListingState),\n proposalCount: z.number().int(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\nexport const ListMarketplaceJobListingsResponseSchema = z.object({\n jobListings: z.array(MarketplaceJobListingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\n/** `POST .../indications-of-interest` */\nexport const SubmitMarketplaceIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().min(1).max(2000).optional(),\n proposedAmount: z.coerce.number().nonnegative().optional(),\n availabilityNotes: z.string().max(2000).optional(),\n attachments: jsonRecordSchema.optional(),\n});\n\nexport const MarketplaceIndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().nullable(),\n proposedAmount: z.number().nullable(),\n availabilityNotes: z.string().nullable(),\n state: z.enum(JobInterestState),\n resultingBookingId: z.uuid().nullable(),\n withdrawnAt: z.string().nullable(),\n selectedAt: z.string().nullable(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** Host review row — IoI plus producer display label */\nexport const MarketplaceIndicationOfInterestHostItemSchema =\n MarketplaceIndicationOfInterestResponseSchema.extend({\n producerCompanyName: z.string().nullable(),\n });\n\n/** `GET .../indications-of-interest` (host review list) */\nexport const ListMarketplaceIndicationsOfInterestQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceIndicationsOfInterestResponseSchema = z.object({\n indications: z.array(MarketplaceIndicationOfInterestHostItemSchema),\n nextCursor: z.uuid().nullable(),\n});\n"]}
1
+ {"version":3,"sources":["../src/booking/booking.enums.ts","../src/booking/booking.schemas.ts","../src/booking/hiring.enums.ts","../src/booking/hiring.schemas.ts"],"names":["BookingOrigin","BookingState","JobListingState","IoiState","BookingPaymentStatus","CreateBookingRequestSchema","z","ConfirmBookingRequestSchema","BookingResponseSchema","CreateJobListingRequestSchema","JobListingResponseSchema","SubmitIndicationOfInterestRequestSchema","IndicationOfInterestResponseSchema","JobLocation","jsonRecordSchema","CreateMarketplaceBookingRequestSchema","MarketplaceBookingResponseSchema","CreateMarketplaceBookingResponseSchema","MarketplaceListPaginationQuerySchema","ListMarketplaceBookingsQuerySchema","ListMarketplaceBookingsResponseSchema","MarketplaceJobListingBodySchema","CreateMarketplaceJobListingRequestSchema","UpdateMarketplaceJobListingRequestSchema","ListMarketplaceJobListingsQuerySchema","ListMarketplaceJobListingsMineQuerySchema","MarketplaceJobListingResponseSchema","ListMarketplaceJobListingsResponseSchema","SubmitMarketplaceIndicationOfInterestRequestSchema","MarketplaceIndicationOfInterestResponseSchema","JobInterestState","MarketplaceIndicationOfInterestHostItemSchema","ListMarketplaceIndicationsOfInterestQuerySchema","ListMarketplaceIndicationsOfInterestResponseSchema"],"mappings":"gEAAO,IAAMA,CAAAA,CAAgB,CAC3B,YAAA,CAAc,cAAA,CACd,kBAAA,CAAoB,oBAAA,CACpB,WAAA,CAAa,aACf,CAAA,CAGaC,CAAAA,CAAe,CAC1B,SAAA,CAAW,WAAA,CACX,0BAAA,CAA4B,4BAAA,CAC5B,cAAA,CAAgB,gBAAA,CAChB,QAAA,CAAU,UAAA,CACV,QAAA,CAAU,UAAA,CACV,SAAA,CAAW,WAAA,CACX,uBAAA,CAAyB,yBAAA,CACzB,SAAA,CAAW,WAAA,CACX,WAAA,CAAa,aAAA,CACb,kBAAmB,mBAAA,CACnB,UAAA,CAAY,YAAA,CACZ,MAAA,CAAQ,QACV,CAAA,CAGaC,CAAAA,CAAkB,CAC7B,IAAA,CAAM,MAAA,CACN,MAAA,CAAQ,QAAA,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AAA,CAAaA,CAAAA,CAAE,KAAA,CAAMyB,CAA6C,CAAA,CAClE,UAAA,CAAYzB,CAAAA,CAAE,IAAA,EAAK,CAAE,QAAA,EACvB,CAAC","file":"chunk-H3FA574X.mjs","sourcesContent":["export const BookingOrigin = {\n EVENT_DIRECT: 'EVENT_DIRECT',\n MARKETPLACE_DIRECT: 'MARKETPLACE_DIRECT',\n JOB_LISTING: 'JOB_LISTING',\n} as const;\nexport type BookingOrigin = (typeof BookingOrigin)[keyof typeof BookingOrigin];\n\nexport const BookingState = {\n REQUESTED: 'REQUESTED',\n AWAITING_PRODUCER_RESPONSE: 'AWAITING_PRODUCER_RESPONSE',\n IN_NEGOTIATION: 'IN_NEGOTIATION',\n ACCEPTED: 'ACCEPTED',\n REJECTED: 'REJECTED',\n CANCELLED: 'CANCELLED',\n AWAITING_ESCROW_FUNDING: 'AWAITING_ESCROW_FUNDING',\n CONFIRMED: 'CONFIRMED',\n IN_PROGRESS: 'IN_PROGRESS',\n SERVICE_COMPLETED: 'SERVICE_COMPLETED',\n IN_DISPUTE: 'IN_DISPUTE',\n CLOSED: 'CLOSED',\n} as const;\nexport type BookingState = (typeof BookingState)[keyof typeof BookingState];\n\nexport const JobListingState = {\n OPEN: 'OPEN',\n CLOSED: 'CLOSED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type JobListingState = (typeof JobListingState)[keyof typeof JobListingState];\n\nexport const IoiState = {\n OPEN: 'OPEN',\n WITHDRAWN: 'WITHDRAWN',\n SELECTED: 'SELECTED',\n REJECTED: 'REJECTED',\n} as const;\nexport type IoiState = (typeof IoiState)[keyof typeof IoiState];\n\n/**\n * Enum for booking payment status.\n */\nexport const BookingPaymentStatus = {\n PENDING: 'PENDING',\n ESCROW_FUNDED: 'ESCROW_FUNDED',\n RELEASED: 'RELEASED',\n REFUNDED: 'REFUNDED',\n FAILED: 'FAILED',\n} as const;\nexport type BookingPaymentStatus = (typeof BookingPaymentStatus)[keyof typeof BookingPaymentStatus];\n","import { z } from 'zod';\nimport {\n BookingOrigin,\n BookingState,\n JobListingState,\n IoiState,\n BookingPaymentStatus,\n} from './booking.enums';\n\nexport const CreateBookingRequestSchema = z.object({\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n producerId: z.uuid(),\n agreedAmount: z.number().min(0),\n serviceDetails: z\n .object({\n requiredDate: z.iso.datetime(),\n location: z.string(),\n eventType: z.string(),\n estimatedDurationHrs: z.number(),\n notes: z.string().optional(),\n })\n .optional(),\n});\n\nexport const ConfirmBookingRequestSchema = z.object({\n escrowReference: z.string(),\n});\n\nexport const BookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().optional(),\n hostId: z.uuid(),\n producerId: z.uuid(),\n quotedPrice: z.number(),\n currency: z.string(),\n scopeOfWork: z.record(z.string(), z.any()).optional(),\n requiredStartAt: z.iso.datetime(),\n requiredEndAt: z.iso.datetime(),\n bookingState: z.enum(BookingState),\n paymentStatus: z.enum(BookingPaymentStatus),\n escrowReference: z.string().optional(),\n completedAt: z.iso.datetime().optional(),\n hostRating: z.number().optional(),\n hostReview: z.string().optional(),\n producerRating: z.number().optional(),\n producerReview: z.string().optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const CreateJobListingRequestSchema = z.object({\n title: z.string().max(255),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n});\n\nexport const JobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().optional(),\n title: z.string(),\n description: z.string(),\n requiredDate: z.iso.datetime(),\n estimatedDurationHrs: z.number().optional(),\n location: z.string(),\n budgetRangeMin: z.number().optional(),\n budgetRangeMax: z.number().optional(),\n state: z.enum(JobListingState),\n proposalCount: z.number(),\n createdAt: z.iso.datetime(),\n});\n\nexport const SubmitIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().optional(),\n proposedAmount: z.number().min(0).optional(),\n availabilityNotes: z.string().optional(),\n});\n\nexport const IndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().optional(),\n proposedAmount: z.number().optional(),\n state: z.enum(IoiState),\n createdAt: z.iso.datetime(),\n});\n","export const JobLocation = {\n ONSITE: 'ONSITE',\n REMOTE: 'REMOTE',\n} as const;\nexport type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];\n","import { z } from 'zod';\nimport { JobInterestState } from '../joblisting/listing.enum';\nimport { BookingOrigin, BookingState, JobListingState } from './booking.enums';\nimport { JobLocation } from './hiring.enums';\n\nconst jsonRecordSchema = z.record(z.string(), z.unknown());\n\n/** `POST /marketplace/bookings` */\nexport const CreateMarketplaceBookingRequestSchema = z.object({\n producerId: z.uuid(),\n origin: z.enum(BookingOrigin),\n eventId: z.uuid().optional(),\n jobListingId: z.uuid().optional(),\n agreedAmount: z.coerce.number().nonnegative().optional(),\n scopeOfWork: z.string().max(5000).optional(),\n});\n\nexport const MarketplaceBookingResponseSchema = z.object({\n id: z.uuid(),\n eventId: z.uuid().nullable(),\n hostProfileId: z.uuid(),\n producerProfileId: z.uuid(),\n origin: z.enum(BookingOrigin),\n jobListingId: z.uuid().nullable(),\n sourceIoiId: z.uuid().nullable(),\n state: z.enum(BookingState),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** `POST /marketplace/bookings` — create acknowledgement */\nexport const CreateMarketplaceBookingResponseSchema = z.object({\n bookingId: z.uuid(),\n booking: MarketplaceBookingResponseSchema,\n});\n\n/** Shared `limit` / `cursor` for host-scoped marketplace list endpoints */\nexport const MarketplaceListPaginationQuerySchema = z.object({\n limit: z.coerce.number().int().min(1).max(50).optional(),\n cursor: z.uuid().optional(),\n});\n\n/** `GET /marketplace/bookings` */\nexport const ListMarketplaceBookingsQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceBookingsResponseSchema = z.object({\n bookings: z.array(MarketplaceBookingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\nconst MarketplaceJobListingBodySchema = z.object({\n title: z.string().min(1).max(200),\n description: z.string().min(1).max(5000),\n responsibilities: z.string().min(1),\n requirements: z.string().min(1),\n role: z.string().min(1).max(120),\n requiredDate: z.iso.datetime().optional(),\n estimatedDurationHours: z.coerce.number().int().positive().optional(),\n location: z.enum(JobLocation),\n notes: z.string().max(2000).optional(),\n compensation: z.coerce.number().nonnegative().optional(),\n attachments: jsonRecordSchema.optional(),\n eventId: z.uuid().optional(),\n});\n\n/** `POST /marketplace/job-listings` */\nexport const CreateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema;\n\nexport const UpdateMarketplaceJobListingRequestSchema = MarketplaceJobListingBodySchema.partial();\n\nexport const ListMarketplaceJobListingsQuerySchema = z.object({\n ...MarketplaceListPaginationQuerySchema.shape,\n location: z.enum(JobLocation).optional(),\n});\n\n/** `GET /marketplace/job-listings/mine` */\nexport const ListMarketplaceJobListingsMineQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const MarketplaceJobListingResponseSchema = z.object({\n id: z.uuid(),\n hostProfileId: z.uuid(),\n eventId: z.uuid().nullable(),\n title: z.string(),\n notes: z.string().nullable(),\n description: z.string(),\n responsibilities: z.string(),\n requirements: z.string(),\n role: z.string(),\n requiredDate: z.string().nullable(),\n estimatedDurationHours: z.number().int().nullable(),\n location: z.enum(JobLocation),\n compensation: z.number().nullable(),\n attachments: z.unknown().nullable(),\n state: z.enum(JobListingState),\n proposalCount: z.number().int(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\nexport const ListMarketplaceJobListingsResponseSchema = z.object({\n jobListings: z.array(MarketplaceJobListingResponseSchema),\n nextCursor: z.uuid().nullable(),\n});\n\n/** `POST .../indications-of-interest` */\nexport const SubmitMarketplaceIndicationOfInterestRequestSchema = z.object({\n coverMessage: z.string().min(1).max(2000).optional(),\n proposedAmount: z.coerce.number().nonnegative().optional(),\n availabilityNotes: z.string().max(2000).optional(),\n attachments: jsonRecordSchema.optional(),\n});\n\nexport const MarketplaceIndicationOfInterestResponseSchema = z.object({\n id: z.uuid(),\n jobListingId: z.uuid(),\n producerProfileId: z.uuid(),\n coverMessage: z.string().nullable(),\n proposedAmount: z.number().nullable(),\n availabilityNotes: z.string().nullable(),\n state: z.enum(JobInterestState),\n resultingBookingId: z.uuid().nullable(),\n withdrawnAt: z.string().nullable(),\n selectedAt: z.string().nullable(),\n createdAt: z.string(),\n updatedAt: z.string(),\n});\n\n/** Host review row — IoI plus producer display label */\nexport const MarketplaceIndicationOfInterestHostItemSchema =\n MarketplaceIndicationOfInterestResponseSchema.extend({\n producerCompanyName: z.string().nullable(),\n });\n\n/** `GET .../indications-of-interest` (host review list) */\nexport const ListMarketplaceIndicationsOfInterestQuerySchema = MarketplaceListPaginationQuerySchema;\n\nexport const ListMarketplaceIndicationsOfInterestResponseSchema = z.object({\n indications: z.array(MarketplaceIndicationOfInterestHostItemSchema),\n nextCursor: z.uuid().nullable(),\n});\n"]}
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk4YYJEPT6_js=require('./chunk-4YYJEPT6.js'),chunk54FMKF33_js=require('./chunk-54FMKF33.js'),chunkC3LOLFNN_js=require('./chunk-C3LOLFNN.js'),chunkC7FWAE4X_js=require('./chunk-C7FWAE4X.js'),chunk5ROSQD5N_js=require('./chunk-5ROSQD5N.js'),chunk2TQ3BI34_js=require('./chunk-2TQ3BI34.js'),chunkW2AXUTIW_js=require('./chunk-W2AXUTIW.js'),chunkKICL5AD3_js=require('./chunk-KICL5AD3.js'),chunkGKYB3J5L_js=require('./chunk-GKYB3J5L.js'),chunkZOBM5OSW_js=require('./chunk-ZOBM5OSW.js'),chunkHZF6DJHM_js=require('./chunk-HZF6DJHM.js'),chunkVRSJMPBY_js=require('./chunk-VRSJMPBY.js');require('./chunk-I2GAQT6S.js');var chunkL72M5DCH_js=require('./chunk-L72M5DCH.js'),t=require('zod');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var t__default=/*#__PURE__*/_interopDefault(t);var r=50,n=100,s=1,i=500,e=200,a=t__default.default.object({id:t__default.default.string(),displayName:t__default.default.string(),colorHex:t__default.default.string().regex(/^#[0-9A-Fa-f]{6}$/)}),m=t__default.default.object({id:t__default.default.string(),body:t__default.default.string(),createdAt:t__default.default.iso.datetime(),user:a,deletedAt:t__default.default.iso.datetime().optional()}),io=t__default.default.object({items:t__default.default.array(m),nextCursor:t__default.default.string().nullable()}),ao=t__default.default.object({cursor:t__default.default.string().optional(),limit:t__default.default.coerce.number().int().min(1).max(n).default(r).optional()}),mo=t__default.default.object({body:t__default.default.string().trim().min(s).max(i)}),po=t__default.default.object({reason:t__default.default.string().trim().max(e).optional()}).strict(),co=t__default.default.object({until:t__default.default.iso.datetime().refine(o=>new Date(o).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t__default.default.string().trim().max(e).optional()}).strict(),xo=t__default.default.object({eventId:t__default.default.string(),mutedUntil:t__default.default.iso.datetime().nullable()}),lo=t__default.default.discriminatedUnion("kind",[t__default.default.object({kind:t__default.default.literal("in-process"),wsNamespace:t__default.default.string(),token:t__default.default.string(),eventRoomId:t__default.default.string()}),t__default.default.object({kind:t__default.default.literal("ivs"),roomIdentifier:t__default.default.string(),endpoint:t__default.default.string(),token:t__default.default.string(),tokenTtlSeconds:t__default.default.number().int().positive()})]);Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});Object.defineProperty(exports,"AdminApproveProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.r}});Object.defineProperty(exports,"AdminProducerVerificationReasonBodySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.s}});Object.defineProperty(exports,"AdminRejectProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.t}});Object.defineProperty(exports,"AdminSuspendProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.u}});Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunk54FMKF33_js.c}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.q}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunk54FMKF33_js.a}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.n}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunk54FMKF33_js.b}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.p}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.o}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.k}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.l}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.m}});Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.o}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.q}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkC3LOLFNN_js.f}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.m}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkC3LOLFNN_js.i}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.g}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.j}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.k}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.d}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.l}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.c}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.p}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.h}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.r}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.n}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.t}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.u}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.w}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.v}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.e}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkC3LOLFNN_js.a}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.s}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.f}});Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.f}});Object.defineProperty(exports,"DisplayNameSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.h}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.a}});Object.defineProperty(exports,"NotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.k}});Object.defineProperty(exports,"NotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.o}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.b}});Object.defineProperty(exports,"RESERVED_DISPLAY_NAMES",{enumerable:true,get:function(){return chunk2TQ3BI34_js.g}});Object.defineProperty(exports,"SendFeedbackRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.m}});Object.defineProperty(exports,"SendFeedbackResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.p}});Object.defineProperty(exports,"UpdateNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.l}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.d}});Object.defineProperty(exports,"UpdateViewerCurrencyRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.j}});Object.defineProperty(exports,"UpdateViewerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.i}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.c}});Object.defineProperty(exports,"ViewerMeResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.n}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkW2AXUTIW_js.d}});Object.defineProperty(exports,"FeedbackCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.e}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.c}});Object.defineProperty(exports,"NotificationCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.f}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkW2AXUTIW_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.g}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkW2AXUTIW_js.a}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkKICL5AD3_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkKICL5AD3_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkKICL5AD3_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.i}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.p}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.t}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkKICL5AD3_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkKICL5AD3_js.c}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkKICL5AD3_js.m}});Object.defineProperty(exports,"ListMarketplaceBookingsQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.r}});Object.defineProperty(exports,"ListMarketplaceBookingsResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.s}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.C}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.D}});Object.defineProperty(exports,"ListMarketplaceJobListingsMineQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.w}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.v}});Object.defineProperty(exports,"ListMarketplaceJobListingsResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.y}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.o}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.B}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.A}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.x}});Object.defineProperty(exports,"MarketplaceListPaginationQuerySchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.q}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.k}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.z}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkKICL5AD3_js.u}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkHZF6DJHM_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.k}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.C}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkVRSJMPBY_js.c}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkVRSJMPBY_js.d}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.n}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkVRSJMPBY_js.f}});Object.defineProperty(exports,"EventReplayAccess",{enumerable:true,get:function(){return chunkVRSJMPBY_js.a}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.m}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkVRSJMPBY_js.e}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkVRSJMPBY_js.b}});Object.defineProperty(exports,"LivePlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.u}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.x}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.z}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.y}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.j}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.r}});Object.defineProperty(exports,"PaginationCursorSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.p}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.w}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.s}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkVRSJMPBY_js.h}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkVRSJMPBY_js.g}});Object.defineProperty(exports,"ReplayPlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.v}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.q}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.A}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.l}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.t}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.o}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkVRSJMPBY_js.i}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.B}});Object.defineProperty(exports,"JobInterestState",{enumerable:true,get:function(){return chunkL72M5DCH_js.a}});exports.CHAT_HISTORY_DEFAULT_LIMIT=r;exports.CHAT_HISTORY_MAX_LIMIT=n;exports.CHAT_MESSAGE_BODY_MAX_LENGTH=i;exports.CHAT_MESSAGE_BODY_MIN_LENGTH=s;exports.CHAT_MODERATION_REASON_MAX_LENGTH=e;exports.ChatCredentialsResponseSchema=lo;exports.ChatHistoryQuerySchema=ao;exports.ChatHistoryResponseSchema=io;exports.ChatMessageSchema=m;exports.ChatMessageUserSchema=a;exports.ChatModerationDeleteRequestSchema=po;exports.ChatModerationMuteRequestSchema=co;exports.ChatMuteStateResponseSchema=xo;exports.PostChatMessageRequestSchema=mo;//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunk54FMKF33_js=require('./chunk-54FMKF33.js'),chunk4YYJEPT6_js=require('./chunk-4YYJEPT6.js'),chunkC3LOLFNN_js=require('./chunk-C3LOLFNN.js'),chunkC7FWAE4X_js=require('./chunk-C7FWAE4X.js'),chunk5ROSQD5N_js=require('./chunk-5ROSQD5N.js'),chunk2TQ3BI34_js=require('./chunk-2TQ3BI34.js'),chunkW2AXUTIW_js=require('./chunk-W2AXUTIW.js'),chunk5Q4UOZ7K_js=require('./chunk-5Q4UOZ7K.js'),chunkGKYB3J5L_js=require('./chunk-GKYB3J5L.js'),chunkZOBM5OSW_js=require('./chunk-ZOBM5OSW.js'),chunkHZF6DJHM_js=require('./chunk-HZF6DJHM.js'),chunkVRSJMPBY_js=require('./chunk-VRSJMPBY.js');require('./chunk-I2GAQT6S.js');var chunkL72M5DCH_js=require('./chunk-L72M5DCH.js'),t=require('zod');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var t__default=/*#__PURE__*/_interopDefault(t);var r=50,n=100,s=1,i=500,e=200,a=t__default.default.object({id:t__default.default.string(),displayName:t__default.default.string(),colorHex:t__default.default.string().regex(/^#[0-9A-Fa-f]{6}$/)}),m=t__default.default.object({id:t__default.default.string(),body:t__default.default.string(),createdAt:t__default.default.iso.datetime(),user:a,deletedAt:t__default.default.iso.datetime().optional()}),io=t__default.default.object({items:t__default.default.array(m),nextCursor:t__default.default.string().nullable()}),ao=t__default.default.object({cursor:t__default.default.string().optional(),limit:t__default.default.coerce.number().int().min(1).max(n).default(r).optional()}),mo=t__default.default.object({body:t__default.default.string().trim().min(s).max(i)}),po=t__default.default.object({reason:t__default.default.string().trim().max(e).optional()}).strict(),co=t__default.default.object({until:t__default.default.iso.datetime().refine(o=>new Date(o).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t__default.default.string().trim().max(e).optional()}).strict(),xo=t__default.default.object({eventId:t__default.default.string(),mutedUntil:t__default.default.iso.datetime().nullable()}),lo=t__default.default.discriminatedUnion("kind",[t__default.default.object({kind:t__default.default.literal("in-process"),wsNamespace:t__default.default.string(),token:t__default.default.string(),eventRoomId:t__default.default.string()}),t__default.default.object({kind:t__default.default.literal("ivs"),roomIdentifier:t__default.default.string(),endpoint:t__default.default.string(),token:t__default.default.string(),tokenTtlSeconds:t__default.default.number().int().positive()})]);Object.defineProperty(exports,"AdminApproveProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.r}});Object.defineProperty(exports,"AdminProducerVerificationReasonBodySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.s}});Object.defineProperty(exports,"AdminRejectProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.t}});Object.defineProperty(exports,"AdminSuspendProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.u}});Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunk54FMKF33_js.c}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.q}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunk54FMKF33_js.a}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.n}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunk54FMKF33_js.b}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.p}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.o}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.k}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.l}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.m}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.o}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.q}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkC3LOLFNN_js.f}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.m}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkC3LOLFNN_js.i}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.g}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.j}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.k}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.d}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.l}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.c}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.p}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.h}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.r}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.n}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.t}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.u}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.w}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.v}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.e}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkC3LOLFNN_js.a}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.s}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.f}});Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.f}});Object.defineProperty(exports,"DisplayNameSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.h}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.a}});Object.defineProperty(exports,"NotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.k}});Object.defineProperty(exports,"NotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.o}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.b}});Object.defineProperty(exports,"RESERVED_DISPLAY_NAMES",{enumerable:true,get:function(){return chunk2TQ3BI34_js.g}});Object.defineProperty(exports,"SendFeedbackRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.m}});Object.defineProperty(exports,"SendFeedbackResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.p}});Object.defineProperty(exports,"UpdateNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.l}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.d}});Object.defineProperty(exports,"UpdateViewerCurrencyRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.j}});Object.defineProperty(exports,"UpdateViewerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.i}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.c}});Object.defineProperty(exports,"ViewerMeResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.n}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkW2AXUTIW_js.d}});Object.defineProperty(exports,"FeedbackCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.e}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.c}});Object.defineProperty(exports,"NotificationCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.f}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkW2AXUTIW_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.g}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkW2AXUTIW_js.a}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.i}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.p}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.t}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.c}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.m}});Object.defineProperty(exports,"ListMarketplaceBookingsQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.r}});Object.defineProperty(exports,"ListMarketplaceBookingsResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.s}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.C}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.D}});Object.defineProperty(exports,"ListMarketplaceJobListingsMineQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.w}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.v}});Object.defineProperty(exports,"ListMarketplaceJobListingsResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.y}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.o}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.B}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.A}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.x}});Object.defineProperty(exports,"MarketplaceListPaginationQuerySchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.q}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.k}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.z}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk5Q4UOZ7K_js.u}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkHZF6DJHM_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.k}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.C}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkVRSJMPBY_js.c}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkVRSJMPBY_js.d}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.n}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkVRSJMPBY_js.f}});Object.defineProperty(exports,"EventReplayAccess",{enumerable:true,get:function(){return chunkVRSJMPBY_js.a}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.m}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkVRSJMPBY_js.e}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkVRSJMPBY_js.b}});Object.defineProperty(exports,"LivePlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.u}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.x}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.z}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.y}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.j}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.r}});Object.defineProperty(exports,"PaginationCursorSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.p}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.w}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.s}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkVRSJMPBY_js.h}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkVRSJMPBY_js.g}});Object.defineProperty(exports,"ReplayPlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.v}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.q}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.A}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.l}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.t}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.o}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkVRSJMPBY_js.i}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.B}});Object.defineProperty(exports,"JobInterestState",{enumerable:true,get:function(){return chunkL72M5DCH_js.a}});exports.CHAT_HISTORY_DEFAULT_LIMIT=r;exports.CHAT_HISTORY_MAX_LIMIT=n;exports.CHAT_MESSAGE_BODY_MAX_LENGTH=i;exports.CHAT_MESSAGE_BODY_MIN_LENGTH=s;exports.CHAT_MODERATION_REASON_MAX_LENGTH=e;exports.ChatCredentialsResponseSchema=lo;exports.ChatHistoryQuerySchema=ao;exports.ChatHistoryResponseSchema=io;exports.ChatMessageSchema=m;exports.ChatMessageUserSchema=a;exports.ChatModerationDeleteRequestSchema=po;exports.ChatModerationMuteRequestSchema=co;exports.ChatMuteStateResponseSchema=xo;exports.PostChatMessageRequestSchema=mo;//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-SA4F4CDG.mjs';export{r as AdminApproveProducerVerificationSchema,s as AdminProducerVerificationReasonBodySchema,t as AdminRejectProducerVerificationSchema,u as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'./chunk-EGUWLSAA.mjs';export{o as AccessCheckRequestSchema,q as AccessCheckResponseSchema,f as AccessReason,m as CreatePurchaseResponseSchema,i as CtaMode,g as EntitlementStatus,j as InitiatePaymentRequestSchema,k as InitiatePaymentResponseSchema,d as PaymentStatus,l as PayoutResponseSchema,c as PayoutStatus,p as PaystackWebhookSchema,h as PlatformChargeStatus,r as PricingQuoteResponseSchema,n as PurchaseStatusResponseSchema,t as ReceiptUrlResponseSchema,u as ReplayPurchasePaymentSchema,w as ReplayPurchaseResponseSchema,v as ReplayPurchaseRowSchema,e as ReplayPurchaseStatus,b as TransactionStatus,a as TransactionType,s as ViewerEventDetailResponseSchema}from'./chunk-MRWDLMMZ.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'./chunk-CBORZPGZ.mjs';export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,h as DisplayNameSchema,a as HostProfileResponseSchema,k as NotificationPreferenceItemSchema,o as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,g as RESERVED_DISPLAY_NAMES,m as SendFeedbackRequestSchema,p as SendFeedbackResponseSchema,l as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,j as UpdateViewerCurrencyRequestSchema,i as UpdateViewerProfileRequestSchema,c as UserResponseSchema,n as ViewerMeResponseSchema}from'./chunk-XUOMVQVQ.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'./chunk-EQVYSKSG.mjs';export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,n as CreateMarketplaceBookingRequestSchema,p as CreateMarketplaceBookingResponseSchema,t as CreateMarketplaceJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,m as JobLocation,r as ListMarketplaceBookingsQuerySchema,s as ListMarketplaceBookingsResponseSchema,C as ListMarketplaceIndicationsOfInterestQuerySchema,D as ListMarketplaceIndicationsOfInterestResponseSchema,w as ListMarketplaceJobListingsMineQuerySchema,v as ListMarketplaceJobListingsQuerySchema,y as ListMarketplaceJobListingsResponseSchema,o as MarketplaceBookingResponseSchema,B as MarketplaceIndicationOfInterestHostItemSchema,A as MarketplaceIndicationOfInterestResponseSchema,x as MarketplaceJobListingResponseSchema,q as MarketplaceListPaginationQuerySchema,k as SubmitIndicationOfInterestRequestSchema,z as SubmitMarketplaceIndicationOfInterestRequestSchema,u as UpdateMarketplaceJobListingRequestSchema}from'./chunk-YLDZUVLQ.mjs';export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'./chunk-FE3AMYQL.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{a as ApiErrorCode}from'./chunk-VGS23C2E.mjs';export{k as CreateEventRequestSchema,C as EndViewingSessionResponseSchema,c as EventAccessModel,d as EventAllowListType,n as EventCardSchema,f as EventCategory,a as EventReplayAccess,m as EventResponseSchema,e as EventState,b as EventVisibility,u as LivePlaybackSchema,x as MyEventCardSchema,z as MyEventsQuerySchema,y as MyEventsResponseSchema,j as MyEventsTabSchema,r as PagedEventsResponseSchema,p as PaginationCursorSchema,w as PlaybackResponseSchema,s as RegisterForEventResponseSchema,h as RegistrationScope,g as RegistrationStatus,v as ReplayPlaybackSchema,q as SearchEventsQuerySchema,A as StartViewingSessionResponseSchema,l as UpdateEventRequestSchema,t as UpdateWatchProgressRequestSchema,o as ViewerHomeResponseSchema,i as ViewerRegistrationView,B as ViewingSessionHeartbeatResponseSchema}from'./chunk-EJCFJL2F.mjs';import'./chunk-AZM7HX3M.mjs';export{a as JobInterestState}from'./chunk-GAZT5E62.mjs';import t from'zod';var r=50,n=100,s=1,i=500,e=200,a=t.object({id:t.string(),displayName:t.string(),colorHex:t.string().regex(/^#[0-9A-Fa-f]{6}$/)}),m=t.object({id:t.string(),body:t.string(),createdAt:t.iso.datetime(),user:a,deletedAt:t.iso.datetime().optional()}),io=t.object({items:t.array(m),nextCursor:t.string().nullable()}),ao=t.object({cursor:t.string().optional(),limit:t.coerce.number().int().min(1).max(n).default(r).optional()}),mo=t.object({body:t.string().trim().min(s).max(i)}),po=t.object({reason:t.string().trim().max(e).optional()}).strict(),co=t.object({until:t.iso.datetime().refine(o=>new Date(o).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t.string().trim().max(e).optional()}).strict(),xo=t.object({eventId:t.string(),mutedUntil:t.iso.datetime().nullable()}),lo=t.discriminatedUnion("kind",[t.object({kind:t.literal("in-process"),wsNamespace:t.string(),token:t.string(),eventRoomId:t.string()}),t.object({kind:t.literal("ivs"),roomIdentifier:t.string(),endpoint:t.string(),token:t.string(),tokenTtlSeconds:t.number().int().positive()})]);export{r as CHAT_HISTORY_DEFAULT_LIMIT,n as CHAT_HISTORY_MAX_LIMIT,i as CHAT_MESSAGE_BODY_MAX_LENGTH,s as CHAT_MESSAGE_BODY_MIN_LENGTH,e as CHAT_MODERATION_REASON_MAX_LENGTH,lo as ChatCredentialsResponseSchema,ao as ChatHistoryQuerySchema,io as ChatHistoryResponseSchema,m as ChatMessageSchema,a as ChatMessageUserSchema,po as ChatModerationDeleteRequestSchema,co as ChatModerationMuteRequestSchema,xo as ChatMuteStateResponseSchema,mo as PostChatMessageRequestSchema};//# sourceMappingURL=index.mjs.map
1
+ export{r as AdminApproveProducerVerificationSchema,s as AdminProducerVerificationReasonBodySchema,t as AdminRejectProducerVerificationSchema,u as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'./chunk-EGUWLSAA.mjs';export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-SA4F4CDG.mjs';export{o as AccessCheckRequestSchema,q as AccessCheckResponseSchema,f as AccessReason,m as CreatePurchaseResponseSchema,i as CtaMode,g as EntitlementStatus,j as InitiatePaymentRequestSchema,k as InitiatePaymentResponseSchema,d as PaymentStatus,l as PayoutResponseSchema,c as PayoutStatus,p as PaystackWebhookSchema,h as PlatformChargeStatus,r as PricingQuoteResponseSchema,n as PurchaseStatusResponseSchema,t as ReceiptUrlResponseSchema,u as ReplayPurchasePaymentSchema,w as ReplayPurchaseResponseSchema,v as ReplayPurchaseRowSchema,e as ReplayPurchaseStatus,b as TransactionStatus,a as TransactionType,s as ViewerEventDetailResponseSchema}from'./chunk-MRWDLMMZ.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'./chunk-CBORZPGZ.mjs';export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,h as DisplayNameSchema,a as HostProfileResponseSchema,k as NotificationPreferenceItemSchema,o as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,g as RESERVED_DISPLAY_NAMES,m as SendFeedbackRequestSchema,p as SendFeedbackResponseSchema,l as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,j as UpdateViewerCurrencyRequestSchema,i as UpdateViewerProfileRequestSchema,c as UserResponseSchema,n as ViewerMeResponseSchema}from'./chunk-XUOMVQVQ.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'./chunk-EQVYSKSG.mjs';export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,n as CreateMarketplaceBookingRequestSchema,p as CreateMarketplaceBookingResponseSchema,t as CreateMarketplaceJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,m as JobLocation,r as ListMarketplaceBookingsQuerySchema,s as ListMarketplaceBookingsResponseSchema,C as ListMarketplaceIndicationsOfInterestQuerySchema,D as ListMarketplaceIndicationsOfInterestResponseSchema,w as ListMarketplaceJobListingsMineQuerySchema,v as ListMarketplaceJobListingsQuerySchema,y as ListMarketplaceJobListingsResponseSchema,o as MarketplaceBookingResponseSchema,B as MarketplaceIndicationOfInterestHostItemSchema,A as MarketplaceIndicationOfInterestResponseSchema,x as MarketplaceJobListingResponseSchema,q as MarketplaceListPaginationQuerySchema,k as SubmitIndicationOfInterestRequestSchema,z as SubmitMarketplaceIndicationOfInterestRequestSchema,u as UpdateMarketplaceJobListingRequestSchema}from'./chunk-H3FA574X.mjs';export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'./chunk-FE3AMYQL.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{a as ApiErrorCode}from'./chunk-VGS23C2E.mjs';export{k as CreateEventRequestSchema,C as EndViewingSessionResponseSchema,c as EventAccessModel,d as EventAllowListType,n as EventCardSchema,f as EventCategory,a as EventReplayAccess,m as EventResponseSchema,e as EventState,b as EventVisibility,u as LivePlaybackSchema,x as MyEventCardSchema,z as MyEventsQuerySchema,y as MyEventsResponseSchema,j as MyEventsTabSchema,r as PagedEventsResponseSchema,p as PaginationCursorSchema,w as PlaybackResponseSchema,s as RegisterForEventResponseSchema,h as RegistrationScope,g as RegistrationStatus,v as ReplayPlaybackSchema,q as SearchEventsQuerySchema,A as StartViewingSessionResponseSchema,l as UpdateEventRequestSchema,t as UpdateWatchProgressRequestSchema,o as ViewerHomeResponseSchema,i as ViewerRegistrationView,B as ViewingSessionHeartbeatResponseSchema}from'./chunk-EJCFJL2F.mjs';import'./chunk-AZM7HX3M.mjs';export{a as JobInterestState}from'./chunk-GAZT5E62.mjs';import t from'zod';var r=50,n=100,s=1,i=500,e=200,a=t.object({id:t.string(),displayName:t.string(),colorHex:t.string().regex(/^#[0-9A-Fa-f]{6}$/)}),m=t.object({id:t.string(),body:t.string(),createdAt:t.iso.datetime(),user:a,deletedAt:t.iso.datetime().optional()}),io=t.object({items:t.array(m),nextCursor:t.string().nullable()}),ao=t.object({cursor:t.string().optional(),limit:t.coerce.number().int().min(1).max(n).default(r).optional()}),mo=t.object({body:t.string().trim().min(s).max(i)}),po=t.object({reason:t.string().trim().max(e).optional()}).strict(),co=t.object({until:t.iso.datetime().refine(o=>new Date(o).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t.string().trim().max(e).optional()}).strict(),xo=t.object({eventId:t.string(),mutedUntil:t.iso.datetime().nullable()}),lo=t.discriminatedUnion("kind",[t.object({kind:t.literal("in-process"),wsNamespace:t.string(),token:t.string(),eventRoomId:t.string()}),t.object({kind:t.literal("ivs"),roomIdentifier:t.string(),endpoint:t.string(),token:t.string(),tokenTtlSeconds:t.number().int().positive()})]);export{r as CHAT_HISTORY_DEFAULT_LIMIT,n as CHAT_HISTORY_MAX_LIMIT,i as CHAT_MESSAGE_BODY_MAX_LENGTH,s as CHAT_MESSAGE_BODY_MIN_LENGTH,e as CHAT_MODERATION_REASON_MAX_LENGTH,lo as ChatCredentialsResponseSchema,ao as ChatHistoryQuerySchema,io as ChatHistoryResponseSchema,m as ChatMessageSchema,a as ChatMessageUserSchema,po as ChatModerationDeleteRequestSchema,co as ChatModerationMuteRequestSchema,xo as ChatMuteStateResponseSchema,mo as PostChatMessageRequestSchema};//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livdot-tech/contracts",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Shared API contracts for the LivDot platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",