@livdot-tech/contracts 1.4.3 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +300 -1
- package/dist/booking/index.d.ts +300 -1
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chunk-2TQ3BI34.js +2 -0
- package/dist/chunk-2TQ3BI34.js.map +1 -0
- package/dist/{chunk-P7DO3CDH.js → chunk-54FMKF33.js} +2 -2
- package/dist/{chunk-P7DO3CDH.js.map → chunk-54FMKF33.js.map} +1 -1
- package/dist/{chunk-JH4NWBFP.js → chunk-5ROSQD5N.js} +2 -2
- package/dist/{chunk-JH4NWBFP.js.map → chunk-5ROSQD5N.js.map} +1 -1
- package/dist/chunk-6AKXCLBT.mjs +2 -0
- package/dist/chunk-6AKXCLBT.mjs.map +1 -0
- package/dist/chunk-AZM7HX3M.mjs +2 -0
- package/dist/chunk-AZM7HX3M.mjs.map +1 -0
- package/dist/chunk-C3LOLFNN.js +2 -0
- package/dist/chunk-C3LOLFNN.js.map +1 -0
- package/dist/{chunk-J46D3YKA.mjs → chunk-CBORZPGZ.mjs} +2 -2
- package/dist/{chunk-J46D3YKA.mjs.map → chunk-CBORZPGZ.mjs.map} +1 -1
- package/dist/chunk-EGUWLSAA.mjs +2 -0
- package/dist/{chunk-G55BEBMB.mjs.map → chunk-EGUWLSAA.mjs.map} +1 -1
- package/dist/chunk-EJCFJL2F.mjs +2 -0
- package/dist/chunk-EJCFJL2F.mjs.map +1 -0
- package/dist/chunk-EQVYSKSG.mjs +2 -0
- package/dist/chunk-EQVYSKSG.mjs.map +1 -0
- package/dist/{chunk-Y5QIEJG2.mjs → chunk-GAZT5E62.mjs} +2 -2
- package/dist/{chunk-Y5QIEJG2.mjs.map → chunk-GAZT5E62.mjs.map} +1 -1
- package/dist/chunk-I2GAQT6S.js +2 -0
- package/dist/chunk-I2GAQT6S.js.map +1 -0
- package/dist/{chunk-UZZ46ZPG.js → chunk-L72M5DCH.js} +2 -2
- package/dist/{chunk-UZZ46ZPG.js.map → chunk-L72M5DCH.js.map} +1 -1
- package/dist/chunk-MRWDLMMZ.mjs +2 -0
- package/dist/chunk-MRWDLMMZ.mjs.map +1 -0
- package/dist/chunk-THFSRA6W.js +2 -0
- package/dist/chunk-THFSRA6W.js.map +1 -0
- package/dist/chunk-VRSJMPBY.js +2 -0
- package/dist/chunk-VRSJMPBY.js.map +1 -0
- package/dist/chunk-W2AXUTIW.js +2 -0
- package/dist/chunk-W2AXUTIW.js.map +1 -0
- package/dist/chunk-XUOMVQVQ.mjs +2 -0
- package/dist/chunk-XUOMVQVQ.mjs.map +1 -0
- package/dist/event/index.d.mts +22 -4
- package/dist/event/index.d.ts +22 -4
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/index.d.mts +88 -5
- package/dist/index.d.ts +88 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/joblisting/index.js +1 -1
- package/dist/joblisting/index.mjs +1 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/payment/index.d.mts +81 -1
- package/dist/payment/index.d.ts +81 -1
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +80 -1
- package/dist/user/index.d.ts +80 -1
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2N4M7ZID.mjs +0 -2
- package/dist/chunk-2N4M7ZID.mjs.map +0 -1
- package/dist/chunk-ACXVPMYP.mjs +0 -2
- package/dist/chunk-ACXVPMYP.mjs.map +0 -1
- package/dist/chunk-G55BEBMB.mjs +0 -2
- package/dist/chunk-HDCQKBMZ.js +0 -2
- package/dist/chunk-HDCQKBMZ.js.map +0 -1
- package/dist/chunk-PI4KQRG6.js +0 -2
- package/dist/chunk-PI4KQRG6.js.map +0 -1
- package/dist/chunk-QIDNKMGT.mjs +0 -2
- package/dist/chunk-QIDNKMGT.mjs.map +0 -1
- package/dist/chunk-SKUIUOTZ.js +0 -2
- package/dist/chunk-SKUIUOTZ.js.map +0 -1
- package/dist/chunk-SOOB6WM6.mjs +0 -2
- package/dist/chunk-SOOB6WM6.mjs.map +0 -1
- package/dist/chunk-VPAZHULG.js +0 -2
- package/dist/chunk-VPAZHULG.js.map +0 -1
- package/dist/chunk-VSYDI3WD.js +0 -2
- package/dist/chunk-VSYDI3WD.js.map +0 -1
- package/dist/chunk-ZWZOFVZ3.mjs +0 -2
- package/dist/chunk-ZWZOFVZ3.mjs.map +0 -1
package/dist/auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk5ROSQD5N_js=require('../chunk-5ROSQD5N.js');require('../chunk-2TQ3BI34.js'),require('../chunk-W2AXUTIW.js'),require('../chunk-VRSJMPBY.js');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}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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';import'../chunk-XUOMVQVQ.mjs';import'../chunk-EQVYSKSG.mjs';import'../chunk-EJCFJL2F.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/booking/index.d.mts
CHANGED
|
@@ -162,4 +162,303 @@ type JobListingResponse = z.infer<typeof JobListingResponseSchema>;
|
|
|
162
162
|
type SubmitIndicationOfInterestRequest = z.infer<typeof SubmitIndicationOfInterestRequestSchema>;
|
|
163
163
|
type IndicationOfInterestResponse = z.infer<typeof IndicationOfInterestResponseSchema>;
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
declare const JobLocation: {
|
|
166
|
+
readonly ONSITE: "ONSITE";
|
|
167
|
+
readonly REMOTE: "REMOTE";
|
|
168
|
+
};
|
|
169
|
+
type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];
|
|
170
|
+
|
|
171
|
+
/** `POST /marketplace/bookings` */
|
|
172
|
+
declare const CreateMarketplaceBookingRequestSchema: z.ZodObject<{
|
|
173
|
+
producerId: z.ZodUUID;
|
|
174
|
+
origin: z.ZodEnum<{
|
|
175
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
176
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
177
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
178
|
+
}>;
|
|
179
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
180
|
+
jobListingId: z.ZodOptional<z.ZodUUID>;
|
|
181
|
+
agreedAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
182
|
+
scopeOfWork: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strip>;
|
|
184
|
+
declare const MarketplaceBookingResponseSchema: z.ZodObject<{
|
|
185
|
+
id: z.ZodUUID;
|
|
186
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
187
|
+
hostProfileId: z.ZodUUID;
|
|
188
|
+
producerProfileId: z.ZodUUID;
|
|
189
|
+
origin: z.ZodEnum<{
|
|
190
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
191
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
192
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
193
|
+
}>;
|
|
194
|
+
jobListingId: z.ZodNullable<z.ZodUUID>;
|
|
195
|
+
sourceIoiId: z.ZodNullable<z.ZodUUID>;
|
|
196
|
+
state: z.ZodEnum<{
|
|
197
|
+
readonly REQUESTED: "REQUESTED";
|
|
198
|
+
readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
|
|
199
|
+
readonly IN_NEGOTIATION: "IN_NEGOTIATION";
|
|
200
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
201
|
+
readonly REJECTED: "REJECTED";
|
|
202
|
+
readonly CANCELLED: "CANCELLED";
|
|
203
|
+
readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
|
|
204
|
+
readonly CONFIRMED: "CONFIRMED";
|
|
205
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
206
|
+
readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
|
|
207
|
+
readonly IN_DISPUTE: "IN_DISPUTE";
|
|
208
|
+
readonly CLOSED: "CLOSED";
|
|
209
|
+
}>;
|
|
210
|
+
createdAt: z.ZodString;
|
|
211
|
+
updatedAt: z.ZodString;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
/** `POST /marketplace/bookings` — create acknowledgement */
|
|
214
|
+
declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
215
|
+
bookingId: z.ZodUUID;
|
|
216
|
+
booking: z.ZodObject<{
|
|
217
|
+
id: z.ZodUUID;
|
|
218
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
219
|
+
hostProfileId: z.ZodUUID;
|
|
220
|
+
producerProfileId: z.ZodUUID;
|
|
221
|
+
origin: z.ZodEnum<{
|
|
222
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
223
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
224
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
225
|
+
}>;
|
|
226
|
+
jobListingId: z.ZodNullable<z.ZodUUID>;
|
|
227
|
+
sourceIoiId: z.ZodNullable<z.ZodUUID>;
|
|
228
|
+
state: z.ZodEnum<{
|
|
229
|
+
readonly REQUESTED: "REQUESTED";
|
|
230
|
+
readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
|
|
231
|
+
readonly IN_NEGOTIATION: "IN_NEGOTIATION";
|
|
232
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
233
|
+
readonly REJECTED: "REJECTED";
|
|
234
|
+
readonly CANCELLED: "CANCELLED";
|
|
235
|
+
readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
|
|
236
|
+
readonly CONFIRMED: "CONFIRMED";
|
|
237
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
238
|
+
readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
|
|
239
|
+
readonly IN_DISPUTE: "IN_DISPUTE";
|
|
240
|
+
readonly CLOSED: "CLOSED";
|
|
241
|
+
}>;
|
|
242
|
+
createdAt: z.ZodString;
|
|
243
|
+
updatedAt: z.ZodString;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
declare const ListMarketplaceBookingsResponseSchema: z.ZodObject<{
|
|
247
|
+
bookings: z.ZodArray<z.ZodObject<{
|
|
248
|
+
id: z.ZodUUID;
|
|
249
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
250
|
+
hostProfileId: z.ZodUUID;
|
|
251
|
+
producerProfileId: z.ZodUUID;
|
|
252
|
+
origin: z.ZodEnum<{
|
|
253
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
254
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
255
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
256
|
+
}>;
|
|
257
|
+
jobListingId: z.ZodNullable<z.ZodUUID>;
|
|
258
|
+
sourceIoiId: z.ZodNullable<z.ZodUUID>;
|
|
259
|
+
state: z.ZodEnum<{
|
|
260
|
+
readonly REQUESTED: "REQUESTED";
|
|
261
|
+
readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
|
|
262
|
+
readonly IN_NEGOTIATION: "IN_NEGOTIATION";
|
|
263
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
264
|
+
readonly REJECTED: "REJECTED";
|
|
265
|
+
readonly CANCELLED: "CANCELLED";
|
|
266
|
+
readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
|
|
267
|
+
readonly CONFIRMED: "CONFIRMED";
|
|
268
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
269
|
+
readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
|
|
270
|
+
readonly IN_DISPUTE: "IN_DISPUTE";
|
|
271
|
+
readonly CLOSED: "CLOSED";
|
|
272
|
+
}>;
|
|
273
|
+
createdAt: z.ZodString;
|
|
274
|
+
updatedAt: z.ZodString;
|
|
275
|
+
}, z.core.$strip>>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
/** `POST /marketplace/job-listings` */
|
|
278
|
+
declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
279
|
+
title: z.ZodString;
|
|
280
|
+
description: z.ZodString;
|
|
281
|
+
responsibilities: z.ZodString;
|
|
282
|
+
requirements: z.ZodString;
|
|
283
|
+
role: z.ZodString;
|
|
284
|
+
requiredDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
285
|
+
estimatedDurationHours: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
286
|
+
location: z.ZodEnum<{
|
|
287
|
+
readonly ONSITE: "ONSITE";
|
|
288
|
+
readonly REMOTE: "REMOTE";
|
|
289
|
+
}>;
|
|
290
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
291
|
+
compensation: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
292
|
+
attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
293
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
296
|
+
title: z.ZodOptional<z.ZodString>;
|
|
297
|
+
description: z.ZodOptional<z.ZodString>;
|
|
298
|
+
responsibilities: z.ZodOptional<z.ZodString>;
|
|
299
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
300
|
+
role: z.ZodOptional<z.ZodString>;
|
|
301
|
+
requiredDate: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
302
|
+
estimatedDurationHours: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
303
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
readonly ONSITE: "ONSITE";
|
|
305
|
+
readonly REMOTE: "REMOTE";
|
|
306
|
+
}>>;
|
|
307
|
+
notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
308
|
+
compensation: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
309
|
+
attachments: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
310
|
+
eventId: z.ZodOptional<z.ZodOptional<z.ZodUUID>>;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
declare const ListMarketplaceJobListingsQuerySchema: z.ZodObject<{
|
|
313
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
314
|
+
cursor: z.ZodOptional<z.ZodUUID>;
|
|
315
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
316
|
+
readonly ONSITE: "ONSITE";
|
|
317
|
+
readonly REMOTE: "REMOTE";
|
|
318
|
+
}>>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
|
|
321
|
+
id: z.ZodUUID;
|
|
322
|
+
hostProfileId: z.ZodUUID;
|
|
323
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
324
|
+
title: z.ZodString;
|
|
325
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
326
|
+
description: z.ZodString;
|
|
327
|
+
responsibilities: z.ZodString;
|
|
328
|
+
requirements: z.ZodString;
|
|
329
|
+
role: z.ZodString;
|
|
330
|
+
requiredDate: z.ZodNullable<z.ZodString>;
|
|
331
|
+
estimatedDurationHours: z.ZodNullable<z.ZodNumber>;
|
|
332
|
+
location: z.ZodEnum<{
|
|
333
|
+
readonly ONSITE: "ONSITE";
|
|
334
|
+
readonly REMOTE: "REMOTE";
|
|
335
|
+
}>;
|
|
336
|
+
compensation: z.ZodNullable<z.ZodNumber>;
|
|
337
|
+
attachments: z.ZodNullable<z.ZodUnknown>;
|
|
338
|
+
state: z.ZodEnum<{
|
|
339
|
+
readonly OPEN: "OPEN";
|
|
340
|
+
readonly CLOSED: "CLOSED";
|
|
341
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
342
|
+
}>;
|
|
343
|
+
proposalCount: z.ZodNumber;
|
|
344
|
+
createdAt: z.ZodString;
|
|
345
|
+
updatedAt: z.ZodString;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
declare const ListMarketplaceJobListingsResponseSchema: z.ZodObject<{
|
|
348
|
+
jobListings: z.ZodArray<z.ZodObject<{
|
|
349
|
+
id: z.ZodUUID;
|
|
350
|
+
hostProfileId: z.ZodUUID;
|
|
351
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
352
|
+
title: z.ZodString;
|
|
353
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
354
|
+
description: z.ZodString;
|
|
355
|
+
responsibilities: z.ZodString;
|
|
356
|
+
requirements: z.ZodString;
|
|
357
|
+
role: z.ZodString;
|
|
358
|
+
requiredDate: z.ZodNullable<z.ZodString>;
|
|
359
|
+
estimatedDurationHours: z.ZodNullable<z.ZodNumber>;
|
|
360
|
+
location: z.ZodEnum<{
|
|
361
|
+
readonly ONSITE: "ONSITE";
|
|
362
|
+
readonly REMOTE: "REMOTE";
|
|
363
|
+
}>;
|
|
364
|
+
compensation: z.ZodNullable<z.ZodNumber>;
|
|
365
|
+
attachments: z.ZodNullable<z.ZodUnknown>;
|
|
366
|
+
state: z.ZodEnum<{
|
|
367
|
+
readonly OPEN: "OPEN";
|
|
368
|
+
readonly CLOSED: "CLOSED";
|
|
369
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
370
|
+
}>;
|
|
371
|
+
proposalCount: z.ZodNumber;
|
|
372
|
+
createdAt: z.ZodString;
|
|
373
|
+
updatedAt: z.ZodString;
|
|
374
|
+
}, z.core.$strip>>;
|
|
375
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
/** `POST .../indications-of-interest` */
|
|
378
|
+
declare const SubmitMarketplaceIndicationOfInterestRequestSchema: z.ZodObject<{
|
|
379
|
+
coverMessage: z.ZodOptional<z.ZodString>;
|
|
380
|
+
proposedAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
381
|
+
availabilityNotes: z.ZodOptional<z.ZodString>;
|
|
382
|
+
attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
383
|
+
}, z.core.$strip>;
|
|
384
|
+
declare const MarketplaceIndicationOfInterestResponseSchema: z.ZodObject<{
|
|
385
|
+
id: z.ZodUUID;
|
|
386
|
+
jobListingId: z.ZodUUID;
|
|
387
|
+
producerProfileId: z.ZodUUID;
|
|
388
|
+
coverMessage: z.ZodNullable<z.ZodString>;
|
|
389
|
+
proposedAmount: z.ZodNullable<z.ZodNumber>;
|
|
390
|
+
availabilityNotes: z.ZodNullable<z.ZodString>;
|
|
391
|
+
state: z.ZodEnum<{
|
|
392
|
+
readonly OPEN: "OPEN";
|
|
393
|
+
readonly SHORTLISTED: "SHORTLISTED";
|
|
394
|
+
readonly WITHDRAWN: "WITHDRAWN";
|
|
395
|
+
readonly SELECTED: "SELECTED";
|
|
396
|
+
readonly REJECTED: "REJECTED";
|
|
397
|
+
}>;
|
|
398
|
+
resultingBookingId: z.ZodNullable<z.ZodUUID>;
|
|
399
|
+
withdrawnAt: z.ZodNullable<z.ZodString>;
|
|
400
|
+
selectedAt: z.ZodNullable<z.ZodString>;
|
|
401
|
+
createdAt: z.ZodString;
|
|
402
|
+
updatedAt: z.ZodString;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
/** Host review row — IoI plus producer display label */
|
|
405
|
+
declare const MarketplaceIndicationOfInterestHostItemSchema: z.ZodObject<{
|
|
406
|
+
id: z.ZodUUID;
|
|
407
|
+
jobListingId: z.ZodUUID;
|
|
408
|
+
producerProfileId: z.ZodUUID;
|
|
409
|
+
coverMessage: z.ZodNullable<z.ZodString>;
|
|
410
|
+
proposedAmount: z.ZodNullable<z.ZodNumber>;
|
|
411
|
+
availabilityNotes: z.ZodNullable<z.ZodString>;
|
|
412
|
+
state: z.ZodEnum<{
|
|
413
|
+
readonly OPEN: "OPEN";
|
|
414
|
+
readonly SHORTLISTED: "SHORTLISTED";
|
|
415
|
+
readonly WITHDRAWN: "WITHDRAWN";
|
|
416
|
+
readonly SELECTED: "SELECTED";
|
|
417
|
+
readonly REJECTED: "REJECTED";
|
|
418
|
+
}>;
|
|
419
|
+
resultingBookingId: z.ZodNullable<z.ZodUUID>;
|
|
420
|
+
withdrawnAt: z.ZodNullable<z.ZodString>;
|
|
421
|
+
selectedAt: z.ZodNullable<z.ZodString>;
|
|
422
|
+
createdAt: z.ZodString;
|
|
423
|
+
updatedAt: z.ZodString;
|
|
424
|
+
producerCompanyName: z.ZodNullable<z.ZodString>;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
declare const ListMarketplaceIndicationsOfInterestResponseSchema: z.ZodObject<{
|
|
427
|
+
indications: z.ZodArray<z.ZodObject<{
|
|
428
|
+
id: z.ZodUUID;
|
|
429
|
+
jobListingId: z.ZodUUID;
|
|
430
|
+
producerProfileId: z.ZodUUID;
|
|
431
|
+
coverMessage: z.ZodNullable<z.ZodString>;
|
|
432
|
+
proposedAmount: z.ZodNullable<z.ZodNumber>;
|
|
433
|
+
availabilityNotes: z.ZodNullable<z.ZodString>;
|
|
434
|
+
state: z.ZodEnum<{
|
|
435
|
+
readonly OPEN: "OPEN";
|
|
436
|
+
readonly SHORTLISTED: "SHORTLISTED";
|
|
437
|
+
readonly WITHDRAWN: "WITHDRAWN";
|
|
438
|
+
readonly SELECTED: "SELECTED";
|
|
439
|
+
readonly REJECTED: "REJECTED";
|
|
440
|
+
}>;
|
|
441
|
+
resultingBookingId: z.ZodNullable<z.ZodUUID>;
|
|
442
|
+
withdrawnAt: z.ZodNullable<z.ZodString>;
|
|
443
|
+
selectedAt: z.ZodNullable<z.ZodString>;
|
|
444
|
+
createdAt: z.ZodString;
|
|
445
|
+
updatedAt: z.ZodString;
|
|
446
|
+
producerCompanyName: z.ZodNullable<z.ZodString>;
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
|
|
450
|
+
type CreateMarketplaceBookingRequest = z.infer<typeof CreateMarketplaceBookingRequestSchema>;
|
|
451
|
+
type MarketplaceBookingResponse = z.infer<typeof MarketplaceBookingResponseSchema>;
|
|
452
|
+
type CreateMarketplaceJobListingRequest = z.infer<typeof CreateMarketplaceJobListingRequestSchema>;
|
|
453
|
+
type UpdateMarketplaceJobListingRequest = z.infer<typeof UpdateMarketplaceJobListingRequestSchema>;
|
|
454
|
+
type ListMarketplaceJobListingsQuery = z.infer<typeof ListMarketplaceJobListingsQuerySchema>;
|
|
455
|
+
type ListMarketplaceJobListingsResponse = z.infer<typeof ListMarketplaceJobListingsResponseSchema>;
|
|
456
|
+
type MarketplaceJobListingResponse = z.infer<typeof MarketplaceJobListingResponseSchema>;
|
|
457
|
+
type SubmitMarketplaceIndicationOfInterestRequest = z.infer<typeof SubmitMarketplaceIndicationOfInterestRequestSchema>;
|
|
458
|
+
type MarketplaceIndicationOfInterestResponse = z.infer<typeof MarketplaceIndicationOfInterestResponseSchema>;
|
|
459
|
+
type CreateMarketplaceBookingResponse = z.infer<typeof CreateMarketplaceBookingResponseSchema>;
|
|
460
|
+
type ListMarketplaceBookingsResponse = z.infer<typeof ListMarketplaceBookingsResponseSchema>;
|
|
461
|
+
type ListMarketplaceIndicationsOfInterestResponse = z.infer<typeof ListMarketplaceIndicationsOfInterestResponseSchema>;
|
|
462
|
+
type MarketplaceIndicationOfInterestHostItem = z.infer<typeof MarketplaceIndicationOfInterestHostItemSchema>;
|
|
463
|
+
|
|
464
|
+
export { BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListMarketplaceBookingsResponse, ListMarketplaceBookingsResponseSchema, type ListMarketplaceIndicationsOfInterestResponse, ListMarketplaceIndicationsOfInterestResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListMarketplaceJobListingsResponse, ListMarketplaceJobListingsResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema };
|
package/dist/booking/index.d.ts
CHANGED
|
@@ -162,4 +162,303 @@ type JobListingResponse = z.infer<typeof JobListingResponseSchema>;
|
|
|
162
162
|
type SubmitIndicationOfInterestRequest = z.infer<typeof SubmitIndicationOfInterestRequestSchema>;
|
|
163
163
|
type IndicationOfInterestResponse = z.infer<typeof IndicationOfInterestResponseSchema>;
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
declare const JobLocation: {
|
|
166
|
+
readonly ONSITE: "ONSITE";
|
|
167
|
+
readonly REMOTE: "REMOTE";
|
|
168
|
+
};
|
|
169
|
+
type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];
|
|
170
|
+
|
|
171
|
+
/** `POST /marketplace/bookings` */
|
|
172
|
+
declare const CreateMarketplaceBookingRequestSchema: z.ZodObject<{
|
|
173
|
+
producerId: z.ZodUUID;
|
|
174
|
+
origin: z.ZodEnum<{
|
|
175
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
176
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
177
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
178
|
+
}>;
|
|
179
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
180
|
+
jobListingId: z.ZodOptional<z.ZodUUID>;
|
|
181
|
+
agreedAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
182
|
+
scopeOfWork: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strip>;
|
|
184
|
+
declare const MarketplaceBookingResponseSchema: z.ZodObject<{
|
|
185
|
+
id: z.ZodUUID;
|
|
186
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
187
|
+
hostProfileId: z.ZodUUID;
|
|
188
|
+
producerProfileId: z.ZodUUID;
|
|
189
|
+
origin: z.ZodEnum<{
|
|
190
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
191
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
192
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
193
|
+
}>;
|
|
194
|
+
jobListingId: z.ZodNullable<z.ZodUUID>;
|
|
195
|
+
sourceIoiId: z.ZodNullable<z.ZodUUID>;
|
|
196
|
+
state: z.ZodEnum<{
|
|
197
|
+
readonly REQUESTED: "REQUESTED";
|
|
198
|
+
readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
|
|
199
|
+
readonly IN_NEGOTIATION: "IN_NEGOTIATION";
|
|
200
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
201
|
+
readonly REJECTED: "REJECTED";
|
|
202
|
+
readonly CANCELLED: "CANCELLED";
|
|
203
|
+
readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
|
|
204
|
+
readonly CONFIRMED: "CONFIRMED";
|
|
205
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
206
|
+
readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
|
|
207
|
+
readonly IN_DISPUTE: "IN_DISPUTE";
|
|
208
|
+
readonly CLOSED: "CLOSED";
|
|
209
|
+
}>;
|
|
210
|
+
createdAt: z.ZodString;
|
|
211
|
+
updatedAt: z.ZodString;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
/** `POST /marketplace/bookings` — create acknowledgement */
|
|
214
|
+
declare const CreateMarketplaceBookingResponseSchema: z.ZodObject<{
|
|
215
|
+
bookingId: z.ZodUUID;
|
|
216
|
+
booking: z.ZodObject<{
|
|
217
|
+
id: z.ZodUUID;
|
|
218
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
219
|
+
hostProfileId: z.ZodUUID;
|
|
220
|
+
producerProfileId: z.ZodUUID;
|
|
221
|
+
origin: z.ZodEnum<{
|
|
222
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
223
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
224
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
225
|
+
}>;
|
|
226
|
+
jobListingId: z.ZodNullable<z.ZodUUID>;
|
|
227
|
+
sourceIoiId: z.ZodNullable<z.ZodUUID>;
|
|
228
|
+
state: z.ZodEnum<{
|
|
229
|
+
readonly REQUESTED: "REQUESTED";
|
|
230
|
+
readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
|
|
231
|
+
readonly IN_NEGOTIATION: "IN_NEGOTIATION";
|
|
232
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
233
|
+
readonly REJECTED: "REJECTED";
|
|
234
|
+
readonly CANCELLED: "CANCELLED";
|
|
235
|
+
readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
|
|
236
|
+
readonly CONFIRMED: "CONFIRMED";
|
|
237
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
238
|
+
readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
|
|
239
|
+
readonly IN_DISPUTE: "IN_DISPUTE";
|
|
240
|
+
readonly CLOSED: "CLOSED";
|
|
241
|
+
}>;
|
|
242
|
+
createdAt: z.ZodString;
|
|
243
|
+
updatedAt: z.ZodString;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
declare const ListMarketplaceBookingsResponseSchema: z.ZodObject<{
|
|
247
|
+
bookings: z.ZodArray<z.ZodObject<{
|
|
248
|
+
id: z.ZodUUID;
|
|
249
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
250
|
+
hostProfileId: z.ZodUUID;
|
|
251
|
+
producerProfileId: z.ZodUUID;
|
|
252
|
+
origin: z.ZodEnum<{
|
|
253
|
+
readonly EVENT_DIRECT: "EVENT_DIRECT";
|
|
254
|
+
readonly MARKETPLACE_DIRECT: "MARKETPLACE_DIRECT";
|
|
255
|
+
readonly JOB_LISTING: "JOB_LISTING";
|
|
256
|
+
}>;
|
|
257
|
+
jobListingId: z.ZodNullable<z.ZodUUID>;
|
|
258
|
+
sourceIoiId: z.ZodNullable<z.ZodUUID>;
|
|
259
|
+
state: z.ZodEnum<{
|
|
260
|
+
readonly REQUESTED: "REQUESTED";
|
|
261
|
+
readonly AWAITING_PRODUCER_RESPONSE: "AWAITING_PRODUCER_RESPONSE";
|
|
262
|
+
readonly IN_NEGOTIATION: "IN_NEGOTIATION";
|
|
263
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
264
|
+
readonly REJECTED: "REJECTED";
|
|
265
|
+
readonly CANCELLED: "CANCELLED";
|
|
266
|
+
readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING";
|
|
267
|
+
readonly CONFIRMED: "CONFIRMED";
|
|
268
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
269
|
+
readonly SERVICE_COMPLETED: "SERVICE_COMPLETED";
|
|
270
|
+
readonly IN_DISPUTE: "IN_DISPUTE";
|
|
271
|
+
readonly CLOSED: "CLOSED";
|
|
272
|
+
}>;
|
|
273
|
+
createdAt: z.ZodString;
|
|
274
|
+
updatedAt: z.ZodString;
|
|
275
|
+
}, z.core.$strip>>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
/** `POST /marketplace/job-listings` */
|
|
278
|
+
declare const CreateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
279
|
+
title: z.ZodString;
|
|
280
|
+
description: z.ZodString;
|
|
281
|
+
responsibilities: z.ZodString;
|
|
282
|
+
requirements: z.ZodString;
|
|
283
|
+
role: z.ZodString;
|
|
284
|
+
requiredDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
285
|
+
estimatedDurationHours: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
286
|
+
location: z.ZodEnum<{
|
|
287
|
+
readonly ONSITE: "ONSITE";
|
|
288
|
+
readonly REMOTE: "REMOTE";
|
|
289
|
+
}>;
|
|
290
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
291
|
+
compensation: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
292
|
+
attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
293
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
declare const UpdateMarketplaceJobListingRequestSchema: z.ZodObject<{
|
|
296
|
+
title: z.ZodOptional<z.ZodString>;
|
|
297
|
+
description: z.ZodOptional<z.ZodString>;
|
|
298
|
+
responsibilities: z.ZodOptional<z.ZodString>;
|
|
299
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
300
|
+
role: z.ZodOptional<z.ZodString>;
|
|
301
|
+
requiredDate: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
302
|
+
estimatedDurationHours: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
303
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
readonly ONSITE: "ONSITE";
|
|
305
|
+
readonly REMOTE: "REMOTE";
|
|
306
|
+
}>>;
|
|
307
|
+
notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
308
|
+
compensation: z.ZodOptional<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
309
|
+
attachments: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
310
|
+
eventId: z.ZodOptional<z.ZodOptional<z.ZodUUID>>;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
declare const ListMarketplaceJobListingsQuerySchema: z.ZodObject<{
|
|
313
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
314
|
+
cursor: z.ZodOptional<z.ZodUUID>;
|
|
315
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
316
|
+
readonly ONSITE: "ONSITE";
|
|
317
|
+
readonly REMOTE: "REMOTE";
|
|
318
|
+
}>>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
declare const MarketplaceJobListingResponseSchema: z.ZodObject<{
|
|
321
|
+
id: z.ZodUUID;
|
|
322
|
+
hostProfileId: z.ZodUUID;
|
|
323
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
324
|
+
title: z.ZodString;
|
|
325
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
326
|
+
description: z.ZodString;
|
|
327
|
+
responsibilities: z.ZodString;
|
|
328
|
+
requirements: z.ZodString;
|
|
329
|
+
role: z.ZodString;
|
|
330
|
+
requiredDate: z.ZodNullable<z.ZodString>;
|
|
331
|
+
estimatedDurationHours: z.ZodNullable<z.ZodNumber>;
|
|
332
|
+
location: z.ZodEnum<{
|
|
333
|
+
readonly ONSITE: "ONSITE";
|
|
334
|
+
readonly REMOTE: "REMOTE";
|
|
335
|
+
}>;
|
|
336
|
+
compensation: z.ZodNullable<z.ZodNumber>;
|
|
337
|
+
attachments: z.ZodNullable<z.ZodUnknown>;
|
|
338
|
+
state: z.ZodEnum<{
|
|
339
|
+
readonly OPEN: "OPEN";
|
|
340
|
+
readonly CLOSED: "CLOSED";
|
|
341
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
342
|
+
}>;
|
|
343
|
+
proposalCount: z.ZodNumber;
|
|
344
|
+
createdAt: z.ZodString;
|
|
345
|
+
updatedAt: z.ZodString;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
declare const ListMarketplaceJobListingsResponseSchema: z.ZodObject<{
|
|
348
|
+
jobListings: z.ZodArray<z.ZodObject<{
|
|
349
|
+
id: z.ZodUUID;
|
|
350
|
+
hostProfileId: z.ZodUUID;
|
|
351
|
+
eventId: z.ZodNullable<z.ZodUUID>;
|
|
352
|
+
title: z.ZodString;
|
|
353
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
354
|
+
description: z.ZodString;
|
|
355
|
+
responsibilities: z.ZodString;
|
|
356
|
+
requirements: z.ZodString;
|
|
357
|
+
role: z.ZodString;
|
|
358
|
+
requiredDate: z.ZodNullable<z.ZodString>;
|
|
359
|
+
estimatedDurationHours: z.ZodNullable<z.ZodNumber>;
|
|
360
|
+
location: z.ZodEnum<{
|
|
361
|
+
readonly ONSITE: "ONSITE";
|
|
362
|
+
readonly REMOTE: "REMOTE";
|
|
363
|
+
}>;
|
|
364
|
+
compensation: z.ZodNullable<z.ZodNumber>;
|
|
365
|
+
attachments: z.ZodNullable<z.ZodUnknown>;
|
|
366
|
+
state: z.ZodEnum<{
|
|
367
|
+
readonly OPEN: "OPEN";
|
|
368
|
+
readonly CLOSED: "CLOSED";
|
|
369
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
370
|
+
}>;
|
|
371
|
+
proposalCount: z.ZodNumber;
|
|
372
|
+
createdAt: z.ZodString;
|
|
373
|
+
updatedAt: z.ZodString;
|
|
374
|
+
}, z.core.$strip>>;
|
|
375
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
/** `POST .../indications-of-interest` */
|
|
378
|
+
declare const SubmitMarketplaceIndicationOfInterestRequestSchema: z.ZodObject<{
|
|
379
|
+
coverMessage: z.ZodOptional<z.ZodString>;
|
|
380
|
+
proposedAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
381
|
+
availabilityNotes: z.ZodOptional<z.ZodString>;
|
|
382
|
+
attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
383
|
+
}, z.core.$strip>;
|
|
384
|
+
declare const MarketplaceIndicationOfInterestResponseSchema: z.ZodObject<{
|
|
385
|
+
id: z.ZodUUID;
|
|
386
|
+
jobListingId: z.ZodUUID;
|
|
387
|
+
producerProfileId: z.ZodUUID;
|
|
388
|
+
coverMessage: z.ZodNullable<z.ZodString>;
|
|
389
|
+
proposedAmount: z.ZodNullable<z.ZodNumber>;
|
|
390
|
+
availabilityNotes: z.ZodNullable<z.ZodString>;
|
|
391
|
+
state: z.ZodEnum<{
|
|
392
|
+
readonly OPEN: "OPEN";
|
|
393
|
+
readonly SHORTLISTED: "SHORTLISTED";
|
|
394
|
+
readonly WITHDRAWN: "WITHDRAWN";
|
|
395
|
+
readonly SELECTED: "SELECTED";
|
|
396
|
+
readonly REJECTED: "REJECTED";
|
|
397
|
+
}>;
|
|
398
|
+
resultingBookingId: z.ZodNullable<z.ZodUUID>;
|
|
399
|
+
withdrawnAt: z.ZodNullable<z.ZodString>;
|
|
400
|
+
selectedAt: z.ZodNullable<z.ZodString>;
|
|
401
|
+
createdAt: z.ZodString;
|
|
402
|
+
updatedAt: z.ZodString;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
/** Host review row — IoI plus producer display label */
|
|
405
|
+
declare const MarketplaceIndicationOfInterestHostItemSchema: z.ZodObject<{
|
|
406
|
+
id: z.ZodUUID;
|
|
407
|
+
jobListingId: z.ZodUUID;
|
|
408
|
+
producerProfileId: z.ZodUUID;
|
|
409
|
+
coverMessage: z.ZodNullable<z.ZodString>;
|
|
410
|
+
proposedAmount: z.ZodNullable<z.ZodNumber>;
|
|
411
|
+
availabilityNotes: z.ZodNullable<z.ZodString>;
|
|
412
|
+
state: z.ZodEnum<{
|
|
413
|
+
readonly OPEN: "OPEN";
|
|
414
|
+
readonly SHORTLISTED: "SHORTLISTED";
|
|
415
|
+
readonly WITHDRAWN: "WITHDRAWN";
|
|
416
|
+
readonly SELECTED: "SELECTED";
|
|
417
|
+
readonly REJECTED: "REJECTED";
|
|
418
|
+
}>;
|
|
419
|
+
resultingBookingId: z.ZodNullable<z.ZodUUID>;
|
|
420
|
+
withdrawnAt: z.ZodNullable<z.ZodString>;
|
|
421
|
+
selectedAt: z.ZodNullable<z.ZodString>;
|
|
422
|
+
createdAt: z.ZodString;
|
|
423
|
+
updatedAt: z.ZodString;
|
|
424
|
+
producerCompanyName: z.ZodNullable<z.ZodString>;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
declare const ListMarketplaceIndicationsOfInterestResponseSchema: z.ZodObject<{
|
|
427
|
+
indications: z.ZodArray<z.ZodObject<{
|
|
428
|
+
id: z.ZodUUID;
|
|
429
|
+
jobListingId: z.ZodUUID;
|
|
430
|
+
producerProfileId: z.ZodUUID;
|
|
431
|
+
coverMessage: z.ZodNullable<z.ZodString>;
|
|
432
|
+
proposedAmount: z.ZodNullable<z.ZodNumber>;
|
|
433
|
+
availabilityNotes: z.ZodNullable<z.ZodString>;
|
|
434
|
+
state: z.ZodEnum<{
|
|
435
|
+
readonly OPEN: "OPEN";
|
|
436
|
+
readonly SHORTLISTED: "SHORTLISTED";
|
|
437
|
+
readonly WITHDRAWN: "WITHDRAWN";
|
|
438
|
+
readonly SELECTED: "SELECTED";
|
|
439
|
+
readonly REJECTED: "REJECTED";
|
|
440
|
+
}>;
|
|
441
|
+
resultingBookingId: z.ZodNullable<z.ZodUUID>;
|
|
442
|
+
withdrawnAt: z.ZodNullable<z.ZodString>;
|
|
443
|
+
selectedAt: z.ZodNullable<z.ZodString>;
|
|
444
|
+
createdAt: z.ZodString;
|
|
445
|
+
updatedAt: z.ZodString;
|
|
446
|
+
producerCompanyName: z.ZodNullable<z.ZodString>;
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
|
|
450
|
+
type CreateMarketplaceBookingRequest = z.infer<typeof CreateMarketplaceBookingRequestSchema>;
|
|
451
|
+
type MarketplaceBookingResponse = z.infer<typeof MarketplaceBookingResponseSchema>;
|
|
452
|
+
type CreateMarketplaceJobListingRequest = z.infer<typeof CreateMarketplaceJobListingRequestSchema>;
|
|
453
|
+
type UpdateMarketplaceJobListingRequest = z.infer<typeof UpdateMarketplaceJobListingRequestSchema>;
|
|
454
|
+
type ListMarketplaceJobListingsQuery = z.infer<typeof ListMarketplaceJobListingsQuerySchema>;
|
|
455
|
+
type ListMarketplaceJobListingsResponse = z.infer<typeof ListMarketplaceJobListingsResponseSchema>;
|
|
456
|
+
type MarketplaceJobListingResponse = z.infer<typeof MarketplaceJobListingResponseSchema>;
|
|
457
|
+
type SubmitMarketplaceIndicationOfInterestRequest = z.infer<typeof SubmitMarketplaceIndicationOfInterestRequestSchema>;
|
|
458
|
+
type MarketplaceIndicationOfInterestResponse = z.infer<typeof MarketplaceIndicationOfInterestResponseSchema>;
|
|
459
|
+
type CreateMarketplaceBookingResponse = z.infer<typeof CreateMarketplaceBookingResponseSchema>;
|
|
460
|
+
type ListMarketplaceBookingsResponse = z.infer<typeof ListMarketplaceBookingsResponseSchema>;
|
|
461
|
+
type ListMarketplaceIndicationsOfInterestResponse = z.infer<typeof ListMarketplaceIndicationsOfInterestResponseSchema>;
|
|
462
|
+
type MarketplaceIndicationOfInterestHostItem = z.infer<typeof MarketplaceIndicationOfInterestHostItemSchema>;
|
|
463
|
+
|
|
464
|
+
export { BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListMarketplaceBookingsResponse, ListMarketplaceBookingsResponseSchema, type ListMarketplaceIndicationsOfInterestResponse, ListMarketplaceIndicationsOfInterestResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListMarketplaceJobListingsResponse, ListMarketplaceJobListingsResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema };
|
package/dist/booking/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkTHFSRA6W_js=require('../chunk-THFSRA6W.js');require('../chunk-L72M5DCH.js');Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkTHFSRA6W_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkTHFSRA6W_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkTHFSRA6W_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.i}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.p}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.r}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkTHFSRA6W_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkTHFSRA6W_js.c}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkTHFSRA6W_js.m}});Object.defineProperty(exports,"ListMarketplaceBookingsResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.q}});Object.defineProperty(exports,"ListMarketplaceIndicationsOfInterestResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.z}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.t}});Object.defineProperty(exports,"ListMarketplaceJobListingsResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.v}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.o}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.y}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.x}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.u}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.k}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.w}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkTHFSRA6W_js.s}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/booking/index.mjs
CHANGED
|
@@ -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,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,k as SubmitIndicationOfInterestRequestSchema}from'../chunk-
|
|
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,r as CreateMarketplaceJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,m as JobLocation,q as ListMarketplaceBookingsResponseSchema,z as ListMarketplaceIndicationsOfInterestResponseSchema,t as ListMarketplaceJobListingsQuerySchema,v as ListMarketplaceJobListingsResponseSchema,o as MarketplaceBookingResponseSchema,y as MarketplaceIndicationOfInterestHostItemSchema,x as MarketplaceIndicationOfInterestResponseSchema,u as MarketplaceJobListingResponseSchema,k as SubmitIndicationOfInterestRequestSchema,w as SubmitMarketplaceIndicationOfInterestRequestSchema,s as UpdateMarketplaceJobListingRequestSchema}from'../chunk-6AKXCLBT.mjs';import'../chunk-GAZT5E62.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|