@livdot-tech/contracts 1.12.1 → 1.12.2
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/README.md +49 -16
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +0 -16
- package/dist/booking/index.d.ts +0 -16
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat/index.mjs +1 -1
- package/dist/{chunk-5VUOLH4C.mjs → chunk-2F4L6JWU.mjs} +2 -2
- package/dist/{chunk-5VUOLH4C.mjs.map → chunk-2F4L6JWU.mjs.map} +1 -1
- package/dist/{chunk-HERMTRTU.mjs → chunk-4MPHRUOM.mjs} +2 -2
- package/dist/{chunk-HERMTRTU.mjs.map → chunk-4MPHRUOM.mjs.map} +1 -1
- package/dist/{chunk-IIVGG46P.mjs → chunk-4ST7YZ4Y.mjs} +2 -2
- package/dist/chunk-4ST7YZ4Y.mjs.map +1 -0
- package/dist/{chunk-O3GYEMUB.js → chunk-AURMG4OE.js} +2 -2
- package/dist/chunk-AURMG4OE.js.map +1 -0
- package/dist/{chunk-7AMIRVRK.js → chunk-CNRRUV43.js} +2 -2
- package/dist/{chunk-7AMIRVRK.js.map → chunk-CNRRUV43.js.map} +1 -1
- package/dist/{chunk-UZYTAEFE.mjs → chunk-EROENEN3.mjs} +2 -2
- package/dist/{chunk-UZYTAEFE.mjs.map → chunk-EROENEN3.mjs.map} +1 -1
- package/dist/{chunk-O4OCV3TH.js → chunk-GL5NJFPG.js} +2 -2
- package/dist/{chunk-O4OCV3TH.js.map → chunk-GL5NJFPG.js.map} +1 -1
- package/dist/{chunk-I5D5XNOR.js → chunk-H6AVKWBH.js} +2 -2
- package/dist/chunk-H6AVKWBH.js.map +1 -0
- package/dist/{chunk-WHTUXSF6.js → chunk-H73IGAU5.js} +2 -2
- package/dist/{chunk-WHTUXSF6.js.map → chunk-H73IGAU5.js.map} +1 -1
- package/dist/{chunk-JOTH5YEB.js → chunk-HO7F2NRN.js} +2 -2
- package/dist/{chunk-JOTH5YEB.js.map → chunk-HO7F2NRN.js.map} +1 -1
- package/dist/{chunk-H376TAY3.js → chunk-J4R24HRA.js} +2 -2
- package/dist/{chunk-H376TAY3.js.map → chunk-J4R24HRA.js.map} +1 -1
- package/dist/{chunk-2P4RID7B.mjs → chunk-LCZ6MCCP.mjs} +2 -2
- package/dist/{chunk-2P4RID7B.mjs.map → chunk-LCZ6MCCP.mjs.map} +1 -1
- package/dist/{chunk-F3XCNNNA.mjs → chunk-LKXAX3LA.mjs} +2 -2
- package/dist/chunk-LKXAX3LA.mjs.map +1 -0
- package/dist/{chunk-72SD46VJ.js → chunk-NEO7N2BC.js} +2 -2
- package/dist/chunk-NEO7N2BC.js.map +1 -0
- package/dist/chunk-QG3YVVPE.js +2 -0
- package/dist/chunk-QG3YVVPE.js.map +1 -0
- package/dist/{chunk-O2Q5ALYM.js → chunk-RQGOYA3W.js} +2 -2
- package/dist/{chunk-O2Q5ALYM.js.map → chunk-RQGOYA3W.js.map} +1 -1
- package/dist/{chunk-LHDKRATA.mjs → chunk-RVBMMF54.mjs} +2 -2
- package/dist/{chunk-LHDKRATA.mjs.map → chunk-RVBMMF54.mjs.map} +1 -1
- package/dist/{chunk-5UPZ7OLF.mjs → chunk-SAEMHLYR.mjs} +2 -2
- package/dist/{chunk-5UPZ7OLF.mjs.map → chunk-SAEMHLYR.mjs.map} +1 -1
- package/dist/{chunk-CNUH7SPO.mjs → chunk-TRSSJPPR.mjs} +2 -2
- package/dist/{chunk-CNUH7SPO.mjs.map → chunk-TRSSJPPR.mjs.map} +1 -1
- package/dist/{chunk-ZYLTIJXP.js → chunk-WBZKRPGW.js} +2 -2
- package/dist/{chunk-ZYLTIJXP.js.map → chunk-WBZKRPGW.js.map} +1 -1
- package/dist/chunk-WEOJRDDD.mjs +2 -0
- package/dist/chunk-WEOJRDDD.mjs.map +1 -0
- package/dist/{chunk-L4QDS3ET.mjs → chunk-YYWASIF5.mjs} +2 -2
- package/dist/chunk-YYWASIF5.mjs.map +1 -0
- package/dist/common/index.d.mts +1 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.js +1 -1
- package/dist/common/index.mjs +1 -1
- package/dist/dispute/index.js +1 -1
- package/dist/dispute/index.mjs +1 -1
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.js +1 -1
- package/dist/host/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/marketplace/index.d.mts +1 -0
- package/dist/marketplace/index.d.ts +1 -0
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/notification/index.d.mts +22 -3
- package/dist/notification/index.d.ts +22 -3
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +2 -0
- package/dist/user/index.d.ts +2 -0
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-72SD46VJ.js.map +0 -1
- package/dist/chunk-F3XCNNNA.mjs.map +0 -1
- package/dist/chunk-HTK4LWKI.mjs +0 -2
- package/dist/chunk-HTK4LWKI.mjs.map +0 -1
- package/dist/chunk-I5D5XNOR.js.map +0 -1
- package/dist/chunk-IIVGG46P.mjs.map +0 -1
- package/dist/chunk-L4QDS3ET.mjs.map +0 -1
- package/dist/chunk-O3GYEMUB.js.map +0 -1
- package/dist/chunk-RV53QWOB.js +0 -2
- package/dist/chunk-RV53QWOB.js.map +0 -1
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@ It is the single shared source for:
|
|
|
18
18
|
Only cross-stack contract artifacts.
|
|
19
19
|
Examples:
|
|
20
20
|
- `CreateEventRequest`
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
21
|
+
- `BookingState`
|
|
22
|
+
- `EventState`
|
|
23
23
|
- `ApiErrorCode`
|
|
24
24
|
- Zod schemas for payload validation
|
|
25
25
|
- shared auth/token payload shapes where applicable
|
|
@@ -41,11 +41,20 @@ The backend remains the authority on system behavior and API truth.
|
|
|
41
41
|
This repository defines the **contract shape**, not the implementation or business logic.
|
|
42
42
|
|
|
43
43
|
## Versioning
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
Releases are automated. `semantic-release` reads Conventional Commit messages on `main` and decides
|
|
45
|
+
the bump, writes `CHANGELOG.md`, tags, and publishes to npm. **Do not edit the `version` field in
|
|
46
|
+
`package.json` by hand** — CI owns it.
|
|
47
|
+
|
|
48
|
+
The commit prefix determines the bump:
|
|
49
|
+
- `fix:` → **PATCH**, backward-compatible fixes
|
|
50
|
+
- `feat:` → **MINOR**, backward-compatible additions
|
|
51
|
+
- `feat!:` or a `BREAKING CHANGE:` footer → **MAJOR**
|
|
52
|
+
|
|
53
|
+
Because the bump is derived from the commit message rather than from schema diffing, a breaking
|
|
54
|
+
change committed as `fix:` will ship as a patch. Field removals and renames must carry the breaking
|
|
55
|
+
marker.
|
|
56
|
+
|
|
57
|
+
Consumers pin a caret range and upgrade through review.
|
|
49
58
|
|
|
50
59
|
## Change Rules
|
|
51
60
|
Any contract change must be treated carefully because it can affect multiple codebases.
|
|
@@ -55,21 +64,45 @@ Before merging a change:
|
|
|
55
64
|
3. update version appropriately
|
|
56
65
|
4. document migration notes if consumers need code changes
|
|
57
66
|
|
|
58
|
-
##
|
|
67
|
+
## Structure
|
|
68
|
+
One folder per domain, each exporting `*.enums.ts`, `*.schemas.ts` and `*.types.ts` through an
|
|
69
|
+
`index.ts` barrel.
|
|
70
|
+
|
|
59
71
|
```text
|
|
60
72
|
src/
|
|
61
|
-
auth/
|
|
62
|
-
booking/
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
index.ts
|
|
73
|
+
auth/ user/ event/
|
|
74
|
+
booking/ marketplace/ joblisting/
|
|
75
|
+
host/ moment/ chat/
|
|
76
|
+
payment/ streaming/ dispute/
|
|
77
|
+
notification/ common/ errors/
|
|
78
|
+
index.ts # master barrel
|
|
68
79
|
```
|
|
69
80
|
|
|
81
|
+
`common/` holds `CurrencyEnum`, pagination, audit enums and `ResponseMessages`; `errors/` holds the
|
|
82
|
+
`ApiErrorCode` catalogue; `booking/` additionally owns `booking-state-machine.ts` — the valid
|
|
83
|
+
transitions, per-transition actor RBAC, and which target states require a `reason`.
|
|
84
|
+
|
|
85
|
+
Adding a domain means three edits: create the folder with its `index.ts`, re-export it from
|
|
86
|
+
`src/index.ts`, **and add it to the `entry` array in `tsup.config.ts`** — miss the last one and the
|
|
87
|
+
`@livdot-tech/contracts/<domain>` subpath resolves to nothing.
|
|
88
|
+
|
|
70
89
|
## Installation and Usage
|
|
71
90
|
|
|
72
|
-
|
|
91
|
+
```bash
|
|
92
|
+
npm install @livdot-tech/contracts zod
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
`zod` is a **peer dependency**, not bundled — the package has zero runtime dependencies, and keeping
|
|
96
|
+
Zod on the consumer side means there is only ever one Zod instance in play.
|
|
97
|
+
|
|
98
|
+
```ts
|
|
99
|
+
import { BookingState, CurrencyEnum } from '@livdot-tech/contracts';
|
|
100
|
+
import { VALID_BOOKING_TRANSITIONS } from '@livdot-tech/contracts/booking';
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
See [docs/README.md](./docs/README.md) for usage detail, [docs/ONBOARDING.md](./docs/ONBOARDING.md)
|
|
104
|
+
for setup, and [architecture/SAD.md](./architecture/SAD.md) plus
|
|
105
|
+
[architecture/decisions/](./architecture/decisions/) for the design decisions.
|
|
73
106
|
|
|
74
107
|
## Goal
|
|
75
108
|
|
package/dist/auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkRQGOYA3W_js=require('../chunk-RQGOYA3W.js');require('../chunk-CNRRUV43.js'),require('../chunk-QG3YVVPE.js'),require('../chunk-NEO7N2BC.js'),require('../chunk-GL5NJFPG.js'),require('../chunk-AURMG4OE.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.s}});Object.defineProperty(exports,"ConfirmPinSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.M}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.I}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.H}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkRQGOYA3W_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkRQGOYA3W_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkRQGOYA3W_js.E}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.J}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.K}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkRQGOYA3W_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.C}});Object.defineProperty(exports,"REAUTH_ACTIONS",{enumerable:true,get:function(){return chunkRQGOYA3W_js.L}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.N}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.G}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.F}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkRQGOYA3W_js.j}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{s as ChangePasswordRequestSchema,M as ConfirmPinSchema,I as DisableMfaBodySchema,H as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,E as MFA_ACTIONS,J as MfaChallengeBodySchema,K as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,L as REAUTH_ACTIONS,N as ReauthTokenResponseSchema,G as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,F as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-
|
|
1
|
+
export{s as ChangePasswordRequestSchema,M as ConfirmPinSchema,I as DisableMfaBodySchema,H as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,E as MFA_ACTIONS,J as MfaChallengeBodySchema,K as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,L as REAUTH_ACTIONS,N as ReauthTokenResponseSchema,G as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,F as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-TRSSJPPR.mjs';import'../chunk-SAEMHLYR.mjs';import'../chunk-WEOJRDDD.mjs';import'../chunk-4ST7YZ4Y.mjs';import'../chunk-RVBMMF54.mjs';import'../chunk-YYWASIF5.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/booking/index.d.mts
CHANGED
|
@@ -1261,16 +1261,6 @@ type MarketplaceHiringThreadPendingAttachment = z.infer<typeof MarketplaceHiring
|
|
|
1261
1261
|
type DeleteMarketplaceHiringThreadPendingAttachmentRequest = z.infer<typeof DeleteMarketplaceHiringThreadPendingAttachmentRequestSchema>;
|
|
1262
1262
|
type DeleteMarketplaceHiringThreadMessageAttachmentResponse = z.infer<typeof DeleteMarketplaceHiringThreadMessageAttachmentResponseSchema>;
|
|
1263
1263
|
|
|
1264
|
-
/**
|
|
1265
|
-
* `POST /reviews` — booking participant rates the counterparty once
|
|
1266
|
-
* service is complete (`SERVICE_COMPLETED` or `CLOSED`).
|
|
1267
|
-
*
|
|
1268
|
-
* - Host caller → rates the producer (required before fund release /
|
|
1269
|
-
* `SERVICE_COMPLETED → CLOSED`).
|
|
1270
|
-
* - Producer caller → rates the host (updates host `averageRating`).
|
|
1271
|
-
*
|
|
1272
|
-
* One review per `(bookingId, reviewerId)`.
|
|
1273
|
-
*/
|
|
1274
1264
|
declare const CreateMarketplaceReviewRequestSchema: z.ZodObject<{
|
|
1275
1265
|
bookingId: z.ZodUUID;
|
|
1276
1266
|
rating: z.ZodCoercedNumber<unknown>;
|
|
@@ -1287,17 +1277,11 @@ declare const MarketplaceReviewResponseSchema: z.ZodObject<{
|
|
|
1287
1277
|
createdAt: z.ZodISODateTime;
|
|
1288
1278
|
updatedAt: z.ZodISODateTime;
|
|
1289
1279
|
}, z.core.$strip>;
|
|
1290
|
-
/** Latest review snippet on public producer profile detail. */
|
|
1291
1280
|
declare const ProducerRecentReviewSchema: z.ZodObject<{
|
|
1292
1281
|
rating: z.ZodNumber;
|
|
1293
1282
|
comment: z.ZodNullable<z.ZodString>;
|
|
1294
1283
|
createdAt: z.ZodISODateTime;
|
|
1295
1284
|
}, z.core.$strip>;
|
|
1296
|
-
/**
|
|
1297
|
-
* `GET /marketplace/producers/:id/reviews` — paginated public reviews
|
|
1298
|
-
* for a marketplace-visible producer (privacy-safe snippets).
|
|
1299
|
-
* Alias of shared PaginationParamsSchema (pageNumber / pageSize).
|
|
1300
|
-
*/
|
|
1301
1285
|
declare const ListProducerReviewsQuerySchema: z.ZodObject<{
|
|
1302
1286
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1303
1287
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
package/dist/booking/index.d.ts
CHANGED
|
@@ -1261,16 +1261,6 @@ type MarketplaceHiringThreadPendingAttachment = z.infer<typeof MarketplaceHiring
|
|
|
1261
1261
|
type DeleteMarketplaceHiringThreadPendingAttachmentRequest = z.infer<typeof DeleteMarketplaceHiringThreadPendingAttachmentRequestSchema>;
|
|
1262
1262
|
type DeleteMarketplaceHiringThreadMessageAttachmentResponse = z.infer<typeof DeleteMarketplaceHiringThreadMessageAttachmentResponseSchema>;
|
|
1263
1263
|
|
|
1264
|
-
/**
|
|
1265
|
-
* `POST /reviews` — booking participant rates the counterparty once
|
|
1266
|
-
* service is complete (`SERVICE_COMPLETED` or `CLOSED`).
|
|
1267
|
-
*
|
|
1268
|
-
* - Host caller → rates the producer (required before fund release /
|
|
1269
|
-
* `SERVICE_COMPLETED → CLOSED`).
|
|
1270
|
-
* - Producer caller → rates the host (updates host `averageRating`).
|
|
1271
|
-
*
|
|
1272
|
-
* One review per `(bookingId, reviewerId)`.
|
|
1273
|
-
*/
|
|
1274
1264
|
declare const CreateMarketplaceReviewRequestSchema: z.ZodObject<{
|
|
1275
1265
|
bookingId: z.ZodUUID;
|
|
1276
1266
|
rating: z.ZodCoercedNumber<unknown>;
|
|
@@ -1287,17 +1277,11 @@ declare const MarketplaceReviewResponseSchema: z.ZodObject<{
|
|
|
1287
1277
|
createdAt: z.ZodISODateTime;
|
|
1288
1278
|
updatedAt: z.ZodISODateTime;
|
|
1289
1279
|
}, z.core.$strip>;
|
|
1290
|
-
/** Latest review snippet on public producer profile detail. */
|
|
1291
1280
|
declare const ProducerRecentReviewSchema: z.ZodObject<{
|
|
1292
1281
|
rating: z.ZodNumber;
|
|
1293
1282
|
comment: z.ZodNullable<z.ZodString>;
|
|
1294
1283
|
createdAt: z.ZodISODateTime;
|
|
1295
1284
|
}, z.core.$strip>;
|
|
1296
|
-
/**
|
|
1297
|
-
* `GET /marketplace/producers/:id/reviews` — paginated public reviews
|
|
1298
|
-
* for a marketplace-visible producer (privacy-safe snippets).
|
|
1299
|
-
* Alias of shared PaginationParamsSchema (pageNumber / pageSize).
|
|
1300
|
-
*/
|
|
1301
1285
|
declare const ListProducerReviewsQuerySchema: z.ZodObject<{
|
|
1302
1286
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1303
1287
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
package/dist/booking/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkWHTUXSF6_js=require('../chunk-WHTUXSF6.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunk72SD46VJ_js=require('../chunk-72SD46VJ.js');require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Ia}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.xa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ya}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkWHTUXSF6_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkWHTUXSF6_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkWHTUXSF6_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ra}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.wa}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.va}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.sa}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ta}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ua}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.H}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.I}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.J}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.x}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.z}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Aa}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.u}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.A}});Object.defineProperty(exports,"DeleteMarketplaceHiringThreadMessageAttachmentResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.fa}});Object.defineProperty(exports,"DeleteMarketplaceHiringThreadPendingAttachmentRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ea}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Da}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Ea}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkWHTUXSF6_js.za}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.y}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.aa}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkWHTUXSF6_js.O}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkWHTUXSF6_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkWHTUXSF6_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsQuerySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Ga}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Fa}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Q}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.D}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js._}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.$}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ja}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.C}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.na}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.S}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ga}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ha}});Object.defineProperty(exports,"MarketplaceBookingAssignedEventSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.s}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.t}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Y}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Z}});Object.defineProperty(exports,"MarketplaceHiringThreadAttachmentFileNameSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ia}});Object.defineProperty(exports,"MarketplaceHiringThreadPendingAttachmentSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.X}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.V}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.R}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.N}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.M}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.G}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.T}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkWHTUXSF6_js.U}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.K}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ba}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ca}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ma}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.oa}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.la}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.qa}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.pa}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.ka}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.F}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.E}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Ha}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Ca}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Ja}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkWHTUXSF6_js.P}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.L}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.v}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.w}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.Ba}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.B}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkWHTUXSF6_js.da}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkWHTUXSF6_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkWHTUXSF6_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkWHTUXSF6_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkWHTUXSF6_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkWHTUXSF6_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkWHTUXSF6_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkWHTUXSF6_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.c}});//# sourceMappingURL=index.js.map
|
|
1
|
+
'use strict';var chunkH73IGAU5_js=require('../chunk-H73IGAU5.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkNEO7N2BC_js=require('../chunk-NEO7N2BC.js');require('../chunk-AURMG4OE.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Ia}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.xa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ya}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkH73IGAU5_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkH73IGAU5_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkH73IGAU5_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ra}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.wa}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.va}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.sa}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ta}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ua}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.H}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.I}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.J}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.x}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.z}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Aa}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.u}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.A}});Object.defineProperty(exports,"DeleteMarketplaceHiringThreadMessageAttachmentResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.fa}});Object.defineProperty(exports,"DeleteMarketplaceHiringThreadPendingAttachmentRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ea}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Da}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Ea}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkH73IGAU5_js.za}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.y}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.aa}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkH73IGAU5_js.O}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkH73IGAU5_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkH73IGAU5_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsQuerySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Ga}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Fa}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Q}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.D}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js._}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.$}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ja}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.C}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.na}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.S}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ga}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ha}});Object.defineProperty(exports,"MarketplaceBookingAssignedEventSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.s}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.t}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Y}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Z}});Object.defineProperty(exports,"MarketplaceHiringThreadAttachmentFileNameSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ia}});Object.defineProperty(exports,"MarketplaceHiringThreadPendingAttachmentSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.X}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.V}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.R}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.N}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.M}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.G}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.T}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkH73IGAU5_js.U}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.K}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ba}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ca}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ma}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.oa}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.la}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.qa}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.pa}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.ka}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.F}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.E}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Ha}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Ca}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Ja}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkH73IGAU5_js.P}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.L}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.v}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.w}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.Ba}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.B}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkH73IGAU5_js.da}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkH73IGAU5_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkH73IGAU5_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkH73IGAU5_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkH73IGAU5_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkH73IGAU5_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkH73IGAU5_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkH73IGAU5_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkNEO7N2BC_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunkNEO7N2BC_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkNEO7N2BC_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunkNEO7N2BC_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkNEO7N2BC_js.c}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/booking/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Ia as AcceptEventCrewAssignmentResponseSchema,xa as AdminBookingAuditEntrySchema,ya as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ra as BookingAuditActorSchema,wa as BookingAuditAttachmentAddedDetailsSchema,va as BookingAuditMessageSentDetailsSchema,sa as BookingAuditRequestMetadataSchema,ta as BookingAuditSnapshotSchema,ua as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,H as CancelMarketplaceJobListingRequestSchema,I as CancelMarketplaceJobListingResponseSchema,J as CloseMarketplaceJobListingResponseSchema,x as CompleteMarketplaceBookingRequestSchema,z as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,Aa as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,u as CreateMarketplaceBookingResponseSchema,A as CreateMarketplaceJobListingRequestSchema,fa as DeleteMarketplaceHiringThreadMessageAttachmentResponseSchema,ea as DeleteMarketplaceHiringThreadPendingAttachmentRequestSchema,Da as EventCrewAssignmentProducerSummarySchema,Ea as EventCrewAssignmentResponseSchema,za as EventCrewAssignmentState,y as ForceCompleteMarketplaceBookingRequestSchema,aa as GetMarketplaceHiringThreadResponseSchema,O as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,Ga as ListEventCrewAssignmentsQuerySchema,Fa as ListEventCrewAssignmentsResponseSchema,Q as ListHostMarketplaceIndicationsQuerySchema,D as ListHostMarketplaceJobListingsQuerySchema,_ as ListMarketplaceHiringThreadMessagesQuerySchema,$ as ListMarketplaceHiringThreadMessagesResponseSchema,ja as ListMarketplaceHiringThreadsResponseSchema,C as ListMarketplaceJobListingsQuerySchema,na as ListProducerJobsQuerySchema,S as ListProducerMarketplaceIndicationsQuerySchema,ga as MarkMarketplaceHiringThreadReadRequestSchema,ha as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingAssignedEventSchema,t as MarketplaceBookingResponseSchema,Y as MarketplaceHiringMessageAttachmentSchema,Z as MarketplaceHiringMessageSchema,W as MarketplaceHiringThreadAttachmentFileNameSchema,ia as MarketplaceHiringThreadInboxItemSchema,X as MarketplaceHiringThreadPendingAttachmentSchema,V as MarketplaceHiringThreadSchema,R as MarketplaceHostIndicationOfInterestInboxItemSchema,N as MarketplaceIndicationOfInterestHostItemSchema,M as MarketplaceIndicationOfInterestResponseSchema,G as MarketplaceJobListingResponseSchema,T as MarketplaceProducerIndicationOfInterestInboxItemSchema,U as MessageDeliveryStatus,K as OpenMarketplaceJobListingResponseSchema,ba as PostMarketplaceHiringThreadMessageRequestSchema,ca as PostMarketplaceHiringThreadMessageResponseSchema,ma as ProducerJobRowKindSchema,oa as ProducerJobRowSchema,la as ProducerJobRowStatusSchema,qa as ProducerJobsTabCountsResponseSchema,pa as ProducerJobsTabResponseSchema,ka as ProducerJobsTabSchema,F as PublishMarketplaceJobListingResponseSchema,E as PublishReadyJobListingSchema,Ha as RejectEventCrewAssignmentRequestSchema,Ca as ReplaceEventCrewAssignmentRequestSchema,Ja as ReplaceEventCrewAssignmentResponseSchema,P as SortOrder,L as SubmitMarketplaceIndicationOfInterestRequestSchema,v as TransitionMarketplaceBookingRequestSchema,w as TransitionMarketplaceBookingResponseSchema,Ba as UpdateEventCrewAssignmentRequestSchema,B as UpdateMarketplaceJobListingRequestSchema,da as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-
|
|
1
|
+
export{Ia as AcceptEventCrewAssignmentResponseSchema,xa as AdminBookingAuditEntrySchema,ya as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ra as BookingAuditActorSchema,wa as BookingAuditAttachmentAddedDetailsSchema,va as BookingAuditMessageSentDetailsSchema,sa as BookingAuditRequestMetadataSchema,ta as BookingAuditSnapshotSchema,ua as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,H as CancelMarketplaceJobListingRequestSchema,I as CancelMarketplaceJobListingResponseSchema,J as CloseMarketplaceJobListingResponseSchema,x as CompleteMarketplaceBookingRequestSchema,z as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,Aa as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,u as CreateMarketplaceBookingResponseSchema,A as CreateMarketplaceJobListingRequestSchema,fa as DeleteMarketplaceHiringThreadMessageAttachmentResponseSchema,ea as DeleteMarketplaceHiringThreadPendingAttachmentRequestSchema,Da as EventCrewAssignmentProducerSummarySchema,Ea as EventCrewAssignmentResponseSchema,za as EventCrewAssignmentState,y as ForceCompleteMarketplaceBookingRequestSchema,aa as GetMarketplaceHiringThreadResponseSchema,O as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,Ga as ListEventCrewAssignmentsQuerySchema,Fa as ListEventCrewAssignmentsResponseSchema,Q as ListHostMarketplaceIndicationsQuerySchema,D as ListHostMarketplaceJobListingsQuerySchema,_ as ListMarketplaceHiringThreadMessagesQuerySchema,$ as ListMarketplaceHiringThreadMessagesResponseSchema,ja as ListMarketplaceHiringThreadsResponseSchema,C as ListMarketplaceJobListingsQuerySchema,na as ListProducerJobsQuerySchema,S as ListProducerMarketplaceIndicationsQuerySchema,ga as MarkMarketplaceHiringThreadReadRequestSchema,ha as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingAssignedEventSchema,t as MarketplaceBookingResponseSchema,Y as MarketplaceHiringMessageAttachmentSchema,Z as MarketplaceHiringMessageSchema,W as MarketplaceHiringThreadAttachmentFileNameSchema,ia as MarketplaceHiringThreadInboxItemSchema,X as MarketplaceHiringThreadPendingAttachmentSchema,V as MarketplaceHiringThreadSchema,R as MarketplaceHostIndicationOfInterestInboxItemSchema,N as MarketplaceIndicationOfInterestHostItemSchema,M as MarketplaceIndicationOfInterestResponseSchema,G as MarketplaceJobListingResponseSchema,T as MarketplaceProducerIndicationOfInterestInboxItemSchema,U as MessageDeliveryStatus,K as OpenMarketplaceJobListingResponseSchema,ba as PostMarketplaceHiringThreadMessageRequestSchema,ca as PostMarketplaceHiringThreadMessageResponseSchema,ma as ProducerJobRowKindSchema,oa as ProducerJobRowSchema,la as ProducerJobRowStatusSchema,qa as ProducerJobsTabCountsResponseSchema,pa as ProducerJobsTabResponseSchema,ka as ProducerJobsTabSchema,F as PublishMarketplaceJobListingResponseSchema,E as PublishReadyJobListingSchema,Ha as RejectEventCrewAssignmentRequestSchema,Ca as ReplaceEventCrewAssignmentRequestSchema,Ja as ReplaceEventCrewAssignmentResponseSchema,P as SortOrder,L as SubmitMarketplaceIndicationOfInterestRequestSchema,v as TransitionMarketplaceBookingRequestSchema,w as TransitionMarketplaceBookingResponseSchema,Ba as UpdateEventCrewAssignmentRequestSchema,B as UpdateMarketplaceJobListingRequestSchema,da as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-LCZ6MCCP.mjs';export{g as BookingAuditAction,a as BookingOrigin,e as BookingPaymentStatus,b as BookingState,f as BookingTransitionActor,d as IoiState,c as JobListingState}from'../chunk-B7B7YFFC.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,d as ListProducerReviewsQuerySchema,b as MarketplaceReviewResponseSchema,e as PagedProducerReviewsResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-4ST7YZ4Y.mjs';import'../chunk-YYWASIF5.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/chat/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkWBZKRPGW_js=require('../chunk-WBZKRPGW.js');require('../chunk-AURMG4OE.js');Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MAX_LENGTH",{enumerable:true,get:function(){return chunkWBZKRPGW_js.b}});Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MIN_LENGTH",{enumerable:true,get:function(){return chunkWBZKRPGW_js.a}});Object.defineProperty(exports,"CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS",{enumerable:true,get:function(){return chunkWBZKRPGW_js.d}});Object.defineProperty(exports,"CHAT_MODERATION_REASON_MAX_LENGTH",{enumerable:true,get:function(){return chunkWBZKRPGW_js.c}});Object.defineProperty(exports,"ChatCredentialsResponseSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.l}});Object.defineProperty(exports,"ChatHistoryResponseSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.g}});Object.defineProperty(exports,"ChatMessageSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.f}});Object.defineProperty(exports,"ChatMessageUserSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.e}});Object.defineProperty(exports,"ChatModerationDeleteRequestSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.i}});Object.defineProperty(exports,"ChatModerationMuteRequestSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.j}});Object.defineProperty(exports,"ChatMuteStateResponseSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.k}});Object.defineProperty(exports,"InProcessChatCredentialsSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.m}});Object.defineProperty(exports,"IvsChatCredentialsSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.n}});Object.defineProperty(exports,"PostChatMessageRequestSchema",{enumerable:true,get:function(){return chunkWBZKRPGW_js.h}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/chat/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,d as CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS,c as CHAT_MODERATION_REASON_MAX_LENGTH,l as ChatCredentialsResponseSchema,g as ChatHistoryResponseSchema,f as ChatMessageSchema,e as ChatMessageUserSchema,i as ChatModerationDeleteRequestSchema,j as ChatModerationMuteRequestSchema,k as ChatMuteStateResponseSchema,m as InProcessChatCredentialsSchema,n as IvsChatCredentialsSchema,h as PostChatMessageRequestSchema}from'../chunk-
|
|
1
|
+
export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,d as CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS,c as CHAT_MODERATION_REASON_MAX_LENGTH,l as ChatCredentialsResponseSchema,g as ChatHistoryResponseSchema,f as ChatMessageSchema,e as ChatMessageUserSchema,i as ChatModerationDeleteRequestSchema,j as ChatModerationMuteRequestSchema,k as ChatMuteStateResponseSchema,m as InProcessChatCredentialsSchema,n as IvsChatCredentialsSchema,h as PostChatMessageRequestSchema}from'../chunk-2F4L6JWU.mjs';import'../chunk-YYWASIF5.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {k}from'./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {k}from'./chunk-YYWASIF5.mjs';import t from'zod';var i=1,s=500,o=200,r=2880*60,a=t.object({id:t.string(),displayName:t.string(),colorHex:t.string().regex(/^#[0-9A-Fa-f]{6}$/)}),c=t.object({id:t.string(),body:t.string(),createdAt:t.iso.datetime(),user:a,deletedAt:t.iso.datetime().optional(),videoOffsetSec:t.number().int().nonnegative().optional()}),d=t.object({items:t.array(c),...k.shape}),g=t.object({body:t.string().trim().min(i).max(s),videoOffsetSec:t.number().int().min(0).max(r).optional()}),l=t.object({reason:t.string().trim().max(o).optional()}).strict(),S=t.object({until:t.iso.datetime().refine(n=>new Date(n).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t.string().trim().max(o).optional()}).strict(),x=t.object({eventId:t.string(),mutedUntil:t.iso.datetime().nullable()}),h=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()})]),b=t.object({kind:t.literal("in-process"),wsNamespace:t.string(),token:t.string(),eventRoomId:t.string()}),C=t.object({kind:t.literal("ivs"),roomIdentifier:t.string(),endpoint:t.string(),token:t.string(),tokenTtlSeconds:t.number().int()});export{i as a,s as b,o as c,r as d,a as e,c as f,d as g,g as h,l as i,S as j,x as k,h as l,b as m,C as n};//# sourceMappingURL=chunk-2F4L6JWU.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-2F4L6JWU.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/chat/chat.schemas.ts"],"names":["CHAT_MESSAGE_BODY_MIN_LENGTH","CHAT_MESSAGE_BODY_MAX_LENGTH","CHAT_MODERATION_REASON_MAX_LENGTH","CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS","ChatMessageUserSchema","z","ChatMessageSchema","ChatHistoryResponseSchema","PaginationResponseSchema","PostChatMessageRequestSchema","ChatModerationDeleteRequestSchema","ChatModerationMuteRequestSchema","value","ChatMuteStateResponseSchema","ChatCredentialsResponseSchema","InProcessChatCredentialsSchema","IvsChatCredentialsSchema"],"mappings":"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","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/chat/chat.schemas.ts"],"names":["CHAT_MESSAGE_BODY_MIN_LENGTH","CHAT_MESSAGE_BODY_MAX_LENGTH","CHAT_MODERATION_REASON_MAX_LENGTH","CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS","ChatMessageUserSchema","z","ChatMessageSchema","ChatHistoryResponseSchema","PaginationResponseSchema","PostChatMessageRequestSchema","ChatModerationDeleteRequestSchema","ChatModerationMuteRequestSchema","value","ChatMuteStateResponseSchema","ChatCredentialsResponseSchema","InProcessChatCredentialsSchema","IvsChatCredentialsSchema"],"mappings":"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","file":"chunk-2F4L6JWU.mjs","sourcesContent":["import z from 'zod';\nimport { PaginationResponseSchema } from '../common';\n\nexport const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;\nexport const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;\n\nexport const CHAT_MODERATION_REASON_MAX_LENGTH = 200;\n\n/**\n * Upper bound (seconds) for `videoOffsetSec` — 48 hours. Longer than\n * any realistic stream duration; anything above this is a bad-actor\n * or client-clock-skew signal and gets rejected at the wire.\n */\nexport const CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS = 48 * 60 * 60;\n\nexport const ChatMessageUserSchema = z.object({\n id: z.string(),\n displayName: z.string(),\n colorHex: z.string().regex(/^#[0-9A-Fa-f]{6}$/),\n});\n\nexport const ChatMessageSchema = z.object({\n id: z.string(),\n body: z.string(),\n createdAt: z.iso.datetime(),\n user: ChatMessageUserSchema,\n deletedAt: z.iso.datetime().optional(),\n /**\n * Seconds elapsed since the event's live stream started at the moment\n * the client posted the message. Set by the frontend from the local\n * player clock (`Math.floor(player.currentTime)`); omitted for\n * pre-LIVE or catch-up posts where the player wasn't playing.\n *\n * Consumers render chat during replay by filtering to\n * `videoOffsetSec <= currentPlayheadSec` and sorting by\n * `videoOffsetSec ASC` (falling back to `createdAt` for pre-live\n * messages).\n */\n videoOffsetSec: z.number().int().nonnegative().optional(),\n});\n\nexport const ChatHistoryResponseSchema = z.object({\n items: z.array(ChatMessageSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const PostChatMessageRequestSchema = z.object({\n body: z.string().trim().min(CHAT_MESSAGE_BODY_MIN_LENGTH).max(CHAT_MESSAGE_BODY_MAX_LENGTH),\n videoOffsetSec: z.number().int().min(0).max(CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS).optional(),\n});\n\nexport const ChatModerationDeleteRequestSchema = z\n .object({\n reason: z.string().trim().max(CHAT_MODERATION_REASON_MAX_LENGTH).optional(),\n })\n .strict();\n\nexport const ChatModerationMuteRequestSchema = z\n .object({\n /** Optional explicit future timestamp. Omit for the ~1y indefinite default. */\n until: z.iso\n .datetime()\n .refine((value) => new Date(value).getTime() > Date.now(), {\n message: 'until must be a future timestamp',\n })\n .optional(),\n reason: z.string().trim().max(CHAT_MODERATION_REASON_MAX_LENGTH).optional(),\n })\n .strict();\n\n/**\n * Public-shape response for `POST /chat/mute`. `mutedUntil` is the source\n * of truth (`null` = not muted). `mutedBy` is intentionally omitted —\n * moderation metadata stays out of the response surface.\n */\nexport const ChatMuteStateResponseSchema = z.object({\n eventId: z.string(),\n mutedUntil: z.iso.datetime().nullable(),\n});\n\nexport const ChatCredentialsResponseSchema = z.discriminatedUnion('kind', [\n z.object({\n kind: z.literal('in-process'),\n wsNamespace: z.string(),\n token: z.string(),\n eventRoomId: z.string(),\n }),\n z.object({\n kind: z.literal('ivs'),\n roomIdentifier: z.string(),\n endpoint: z.string(),\n token: z.string(),\n tokenTtlSeconds: z.number().int().positive(),\n }),\n]);\n\nexport const InProcessChatCredentialsSchema = z.object({\n kind: z.literal('in-process'),\n wsNamespace: z.string(),\n token: z.string(),\n eventRoomId: z.string(),\n});\nexport const IvsChatCredentialsSchema = z.object({\n kind: z.literal('ivs'),\n roomIdentifier: z.string(),\n endpoint: z.string(),\n token: z.string(),\n tokenTtlSeconds: z.number().int(),\n});\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {b}from'./chunk-B7B7YFFC.mjs';import {f as f$1}from'./chunk-5VUOLH4C.mjs';import {a,Aa,ya,za,d,e as e$1,g as g$1,Sa}from'./chunk-LHDKRATA.mjs';import {g,k as k$1,h as h$1}from'./chunk-L4QDS3ET.mjs';import e from'zod';var S=["last7d","last30d","last90d"];var le=e.object({range:e.enum([...S,"custom"]).optional(),start:e.iso.datetime().optional(),end:e.iso.datetime().optional()}),r=e.enum(["UPCOMING","LIVE","ENDED","DRAFTS"]),ce=e.object({q:e.string().trim().min(2).max(120),limit:e.coerce.number().int().min(1).max(10).default(10)}),ue=e.object({title:e.string().min(1).max(120).optional(),description:e.string().max(2e3).optional(),coverImageUrl:e.any().optional(),previewClipUrl:e.url().nullable().optional(),ticketPrice:e.string().optional(),category:za.optional(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}).optional(),durationMinutes:e.number().int().positive().optional(),tags:e.array(e.string()).optional(),location:e.string().max(255).optional(),accessModel:e.enum(["FREE","PAID"]).optional(),currency:ya.optional(),maxTickets:e.number().int().positive().nullable().optional(),visibility:Aa.optional(),guestEmails:e.array(e.email()).optional(),replayAccess:e.enum(a).optional(),replayWindow:e.number().int().positive().optional(),replayPrice:e.number().nonnegative().optional(),productionMode:e.enum(["SELF","HIRE"]).optional(),crewIds:e.array(e.uuid()).optional(),productionNotes:e.string().max(2e3).nullable().optional(),backupStreamEnabled:e.boolean().optional()}),me=e.object({tab:r,...g.shape}),v=e.object({eventId:e.string(),title:e.string(),date:e.iso.datetime(),ticketsSold:e.number(),plannedDurationMinutes:e.number().nullable(),revenue:e.object({currency:e.string(),value:e.string()}),status:e.enum(["ACTIVE","PAUSED","LIVE","ENDED","DRAFT","CANCELLED"])}),de=e.object({tab:r,rows:e.array(v),...k$1.shape}),be=e.object({upcoming:e.number(),live:e.number(),ended:e.number(),drafts:e.number()}),pe=e.object({title:e.string().min(3).max(120).optional()}),ge=e.object({tab:r,mode:e.enum(d).optional(),...g.shape}),Ee=e.object({id:e.uuid(),state:e.literal("DRAFT"),wizardStep:e.number().int().min(1).max(5).nullable()}),Se=e.object({id:e.uuid(),wizardStep:e.number().int().min(1).max(5).nullable(),streamingVerified:e.boolean().optional(),verificationToken:e.string().optional(),crewIds:e.array(e.uuid()).optional(),crewAssignments:e.array(e.object({id:e.uuid(),producerId:e.uuid(),role:e.string(),state:e.string(),compensation:h$1,location:e.string()})).optional()}),ve=e.object({id:e.uuid(),state:e.literal("SCHEDULED"),publishedAt:e.iso.datetime().nullable(),bookingIds:e.array(e.uuid())}),he=e.object({id:e.uuid(),state:e.literal("CANCELLED"),cancelledAt:e.iso.datetime().nullable()}),R=e.object({amount:h$1,deltaPct:e.number().nullable()}),T=e.object({count:e.number().int(),nextStartsAt:e.string().nullable()}),x=e.object({eventCount:e.number().int(),totalViewers:e.number().int()}),I=e.object({value:e.number().int(),deltaPct:e.number().nullable()}),C=e.object({eventId:e.uuid(),title:e.string(),viewers:e.number().int()}),j=e.object({eventId:e.uuid(),title:e.string(),scheduledStart:e.string(),canGoLive:e.boolean()}),h=e.object({kind:e.string(),subjectType:e.enum(["Event","Booking","PaymentIntent","ReplayPurchase"]),subjectId:e.string(),occurredAt:e.number().int(),payload:e.record(e.string(),e.unknown()),dedupeId:e.string()}),ye=e.object({range:e.object({start:e.string(),end:e.string(),preset:e.string().optional()}),kpis:e.object({totalRevenue:R,upcomingEvents:T,liveNow:x,totalViews:I}),live:e.array(C),upcoming:e.array(j),activity:e.array(h)}),Ae=e.object({items:e.array(h),...k$1.shape}),L=e.object({eventId:e.uuid(),title:e.string(),scheduledStart:e.string(),state:e.string()}),Re=e.object({hits:e.array(L)}),Te=e.object({count:e.number().int()}),xe=e.object({tab:r,items:e.array(v),...k$1.shape}),H=e.object({id:e.uuid(),hostId:e.uuid(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),previewClipUrl:e.string().nullable(),venueLocation:e.string().nullable(),scheduledStartLocal:e.string(),scheduledEndLocal:e.string(),scheduledEnd:e.iso.datetime(),scheduledStart:e.iso.datetime(),timezone:e.string(),expectedAudience:e.number().int().nullable(),plannedDurationMinutes:e.number().int().nullable(),visibility:e.string(),accessModel:e.string(),ticketPrice:h$1.nullable(),maxTickets:e.number().int().nullable(),allowlistData:e.array(e.string()),replayAccess:e.enum(a),replayAccessFee:h$1,retentionDays:e.number().int(),replayAvailableUntil:e.string().nullable(),shareableUrl:e.string().nullable(),state:e.string(),tags:e.array(e.string()),isFeatured:e.boolean(),createdAt:e.string(),updatedAt:e.string(),publishedAt:e.string().nullable(),liveStartedAt:e.string().nullable(),liveEndedAt:e.string().nullable(),cancelledAt:e.string().nullable(),cancelledReason:e.string().nullable(),category:e.string(),wizardStep:e.number().int().nullable(),productionMode:e.string().nullable(),productionNotes:e.string().nullable(),streamingMode:e.enum(e$1).nullable()}),Ie=H.extend({crewIds:e.array(e.uuid()),crewAssignments:e.array(e.object({id:e.uuid(),producerId:e.uuid(),role:e.string(),state:e.string(),compensation:h$1,location:e.string()})).optional().default([])}),D=e.enum(["EVENT_DETAILS","PRICING","CREW_ASSIGNED","STREAM_TESTED"]),N=e.enum(["PASS","WARN","FAIL"]),P=e.enum(["OPEN_WIZARD_STEP_1","OPEN_WIZARD_STEP_2","OPEN_WIZARD_STEP_3","OPEN_HIRE_CREW","REPLACE_CREW","RUN_STREAM_TEST"]),f=e.enum(["CHECKLIST_INCOMPLETE","BEFORE_WINDOW","AFTER_WINDOW","ALREADY_LIVE","NOT_OWNED"]),y=e.enum(["NOT_PROVISIONED","READY_FOR_TEST","LIVE","STREAM_TEST_FAILED","STREAM_TEST_SUCCESSFUL"]),l=e.enum(["SELF","HIRE"]),w=e.object({id:D,label:e.string(),state:N,detail:e.string().optional(),cta:P.optional()}),c=e.object({progress:e.number().min(0).max(1),items:e.array(w),canGoLive:e.boolean(),blockReason:f.optional()}),Ce=e.object({crewSearch:e.string().trim().min(2).max(100).optional(),crewState:e.enum(b).optional()}),A=e.object({bookingId:e.string(),producerProfileId:e.string(),displayName:e.string(),companyName:e.string(),producerAvatarUrl:e.url().nullable(),producerServiceCategoryLabels:e.array(e.string()),producerEquipmentLabels:e.array(e.string()),producerIsVerified:e.boolean(),role:e.string().nullable(),responsibilities:e.string().nullable(),state:e.enum(b),confirmedAt:e.iso.datetime().nullable()}),_=e.enum(["ACTIVE","PAST"]),je=e.object({phase:_.default("ACTIVE"),eventId:e.uuid().optional(),crewSearch:e.string().trim().min(2).max(100).optional(),crewState:e.enum(b).optional(),...g.shape}),k=A.extend({eventId:e.uuid(),eventTitle:e.string()}),O=e.object({eventId:e.uuid(),totalViewers:e.number().int().nonnegative(),uniqueViewers:e.number().int().nonnegative(),peakConcurrent:e.number().int().nonnegative(),registeredCount:e.number().int().nonnegative(),paidCount:e.number().int().nonnegative(),refundedCount:e.number().int().nonnegative(),returningViewerCount:e.number().int().nonnegative().nullable(),highValueBuyerCount:e.number().int().nonnegative().nullable(),grossRevenue:h$1,computedAt:e.iso.datetime(),byDeviceType:e.record(e.string(),e.number()).nullable()}),M=e.object({eventId:e.uuid(),totalReplayViewers:e.number().int().nonnegative(),completedViews:e.number().int().nonnegative(),avgWatchProgressPct:e.number().min(0).max(1).nullable(),totalWatchTimeSec:e.number().int().nonnegative(),activeReplayPurchases:e.number().int().nonnegative(),replayRevenue:h$1,computedAt:e.iso.datetime(),points:e.array(e.object({date:e.string(),viewsCount:e.number().int().nonnegative(),revenue:h$1}))}),U=e.object({audience:O.nullable(),replayPerformance:M.nullable()}),Le=e.object({items:e.array(k),...k$1.shape}),He=e.object({serverNow:e.iso.datetime(),event:e.object({id:e.string(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}),scheduledStart:e.iso.datetime({local:true,offset:false}),scheduledEndLocal:e.iso.datetime({local:true,offset:false}),scheduledEnd:e.iso.datetime(),timezone:e.string(),accessModel:e.string(),ticketPrice:h$1.nullable(),shareableUrl:e.string().nullable(),state:e.string(),visibility:e.string(),productionMode:l.nullable(),goLiveEligibleAt:e.iso.datetime().nullable(),replayAccess:e.enum(a),replayAccessFee:h$1,retentionDays:e.number().int(),replayAvailableUntil:e.string().nullable()}),ticketing:e.object({totalPayingCapacity:e.number().int().nullable(),ticketsSold:e.number().int(),revenue:h$1,liveRevenue:h$1,ticketRevenue:h$1,replayRevenue:h$1,hostShare:h$1,platformFee:h$1}),audience:e.object({registered:e.number().int(),watchingNow:e.number().int().nonnegative(),byCountry:e.record(e.string(),e.number().int()).nullable(),byTrafficSource:e.record(e.string(),e.number().int()).nullable()}),readiness:c,production:e.object({mode:l,streamingMode:e.enum(e$1).nullable(),crew:e.array(A),vacantCrewCount:e.number().int().nonnegative()}),streaming:e.object({status:y,serverUrl:e.string().nullable(),streamKey:e.string().nullable(),lastStreamTestAt:e.iso.datetime().nullable(),testAvailableAt:e.iso.datetime().nullable(),lastStreamTestFailedAt:e.iso.datetime().nullable(),lastStreamTestFailureReason:e.string().nullable()}),share:e.object({shareableUrl:e.string(),slug:e.string()}),postEvent:U.nullable()}),De=c,Ne=e.object({serverNow:e.iso.datetime(),bookingId:e.uuid(),event:e.object({id:e.uuid(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}),scheduledStart:e.iso.datetime(),scheduledEndLocal:e.iso.datetime({local:true,offset:false}),scheduledEnd:e.iso.datetime(),timezone:e.string(),state:e.string(),visibility:e.string(),productionMode:l.nullable(),goLiveEligibleAt:e.iso.datetime().nullable()}),readiness:c,streaming:e.object({status:y,serverUrl:e.string().nullable(),streamKey:e.null(),lastStreamTestAt:e.iso.datetime().nullable(),testAvailableAt:e.iso.datetime().nullable(),lastStreamTestFailedAt:e.iso.datetime().nullable(),lastStreamTestFailureReason:e.string().nullable()})}),Pe=e.object({shareableUrl:e.string(),slug:e.string(),copyText:e.string(),channelLinks:e.object({twitter:e.string(),facebook:e.string(),email:e.string(),embed:e.string()}),qrCodeDataUrl:e.string()}),V=e.enum(["PRE_LIVE","LIVE","ENDED"]),F=e.enum(["PROCESSING","READY","UNAVAILABLE"]),W=e.enum(["HEALTHY","DEGRADED","INGEST_DOWN"]),G=e.enum(["HOST_TERMINATED","HOST_TERMINATED_EARLY","AUTO_AFTER_SILENCE","AUTO_AT_SCHEDULED_END","ADMIN_FORCED"]),z=e.enum(["AUDIO_QUALITY","VIDEO_QUALITY","BITRATE_DROP","INGEST_DISCONNECTED","INGEST_RECONNECTED","RECORDING_FAILED","STREAM_DENIED"]),B=e.enum(["INFO","WARN","ERROR"]),K=e.object({id:e.string(),title:e.string(),scheduledStart:e.iso.datetime(),scheduledEnd:e.iso.datetime(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}),scheduledEndLocal:e.iso.datetime({local:true,offset:false}),state:e.enum(g$1),currency:e.string(),accessModel:e.string()}),Q=e.object({streamEnabled:e.boolean(),canGoLive:e.boolean(),canEndLive:e.boolean(),requiresReauthToEnd:e.boolean()}),Y=e.object({viewers:e.number().int(),peakViewers:e.number().int(),ticketsSold:e.number().int(),revenue:e.object({value:e.string(),currency:e.string()}),joinedTotal:e.number().int()}),q=e.object({bitrateKbps:e.number(),resolution:e.string(),latencyMs:e.number().nullable(),ingestHealth:W,lastSampleAt:e.iso.datetime()}),Z=e.object({bookingId:e.string(),producerProfileId:e.string(),displayName:e.string(),role:e.string().nullable(),online:e.boolean()}),J=e.object({id:e.string(),kind:z,severity:B,message:e.string(),startedAt:e.iso.datetime(),acknowledgedAt:e.iso.datetime().nullable()}),X=e.object({enabled:e.boolean(),socketNamespace:e.string(),backfill:e.array(f$1)}),$=e.object({endedAt:e.iso.datetime(),endedEarly:e.boolean(),endedReason:G,replayState:F,replayAvailableAt:e.iso.datetime().nullable()}),fe=e.object({serverNow:e.iso.datetime(),slice:V,event:K,controls:Q,metrics:Y,telemetry:q.nullable(),crew:e.array(Z),alerts:e.array(J),activity:e.array(e.never()),chat:X,ended:$.nullable(),livePreview:Sa.nullable()}),we=e.object({from:e.iso.datetime().optional(),to:e.iso.datetime().optional()}),ee=e.object({bucketStart:e.iso.datetime(),concurrentViewers:e.number().int().nonnegative(),chatMessages:e.number().int().nonnegative().nullable(),reactions:e.number().int().nonnegative().nullable(),bitrateKbps:e.number().int().nonnegative().nullable(),ingestHealth:e.enum(["HEALTHY","DEGRADED","INGEST_DOWN"]).nullable(),resolution:e.string().nullable()}),_e=e.object({eventId:e.uuid(),from:e.iso.datetime(),to:e.iso.datetime(),granularity:e.literal("minute"),buckets:e.array(ee)});export{Z as $,y as A,l as B,w as C,c as D,Ce as E,A as F,_ as G,je as H,k as I,O as J,M as K,U as L,Le as M,He as N,De as O,Ne as P,Pe as Q,V as R,F as S,W as T,G as U,z as V,B as W,K as X,Q as Y,Y as Z,q as _,S as a,J as aa,le as b,X as ba,r as c,$ as ca,ce as d,fe as da,ue as e,we as ea,me as f,ee as fa,v as g,_e as ga,de as h,be as i,pe as j,ge as k,Ee as l,Se as m,ve as n,he as o,ye as p,Ae as q,L as r,Re as s,Te as t,xe as u,H as v,Ie as w,D as x,N as y,f as z};//# sourceMappingURL=chunk-HERMTRTU.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {b}from'./chunk-B7B7YFFC.mjs';import {f as f$1}from'./chunk-2F4L6JWU.mjs';import {a,Aa,ya,za,d,e as e$1,g as g$1,Sa}from'./chunk-RVBMMF54.mjs';import {g,k as k$1,h as h$1}from'./chunk-YYWASIF5.mjs';import e from'zod';var S=["last7d","last30d","last90d"];var le=e.object({range:e.enum([...S,"custom"]).optional(),start:e.iso.datetime().optional(),end:e.iso.datetime().optional()}),r=e.enum(["UPCOMING","LIVE","ENDED","DRAFTS"]),ce=e.object({q:e.string().trim().min(2).max(120),limit:e.coerce.number().int().min(1).max(10).default(10)}),ue=e.object({title:e.string().min(1).max(120).optional(),description:e.string().max(2e3).optional(),coverImageUrl:e.any().optional(),previewClipUrl:e.url().nullable().optional(),ticketPrice:e.string().optional(),category:za.optional(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}).optional(),durationMinutes:e.number().int().positive().optional(),tags:e.array(e.string()).optional(),location:e.string().max(255).optional(),accessModel:e.enum(["FREE","PAID"]).optional(),currency:ya.optional(),maxTickets:e.number().int().positive().nullable().optional(),visibility:Aa.optional(),guestEmails:e.array(e.email()).optional(),replayAccess:e.enum(a).optional(),replayWindow:e.number().int().positive().optional(),replayPrice:e.number().nonnegative().optional(),productionMode:e.enum(["SELF","HIRE"]).optional(),crewIds:e.array(e.uuid()).optional(),productionNotes:e.string().max(2e3).nullable().optional(),backupStreamEnabled:e.boolean().optional()}),me=e.object({tab:r,...g.shape}),v=e.object({eventId:e.string(),title:e.string(),date:e.iso.datetime(),ticketsSold:e.number(),plannedDurationMinutes:e.number().nullable(),revenue:e.object({currency:e.string(),value:e.string()}),status:e.enum(["ACTIVE","PAUSED","LIVE","ENDED","DRAFT","CANCELLED"])}),de=e.object({tab:r,rows:e.array(v),...k$1.shape}),be=e.object({upcoming:e.number(),live:e.number(),ended:e.number(),drafts:e.number()}),pe=e.object({title:e.string().min(3).max(120).optional()}),ge=e.object({tab:r,mode:e.enum(d).optional(),...g.shape}),Ee=e.object({id:e.uuid(),state:e.literal("DRAFT"),wizardStep:e.number().int().min(1).max(5).nullable()}),Se=e.object({id:e.uuid(),wizardStep:e.number().int().min(1).max(5).nullable(),streamingVerified:e.boolean().optional(),verificationToken:e.string().optional(),crewIds:e.array(e.uuid()).optional(),crewAssignments:e.array(e.object({id:e.uuid(),producerId:e.uuid(),role:e.string(),state:e.string(),compensation:h$1,location:e.string()})).optional()}),ve=e.object({id:e.uuid(),state:e.literal("SCHEDULED"),publishedAt:e.iso.datetime().nullable(),bookingIds:e.array(e.uuid())}),he=e.object({id:e.uuid(),state:e.literal("CANCELLED"),cancelledAt:e.iso.datetime().nullable()}),R=e.object({amount:h$1,deltaPct:e.number().nullable()}),T=e.object({count:e.number().int(),nextStartsAt:e.string().nullable()}),x=e.object({eventCount:e.number().int(),totalViewers:e.number().int()}),I=e.object({value:e.number().int(),deltaPct:e.number().nullable()}),C=e.object({eventId:e.uuid(),title:e.string(),viewers:e.number().int()}),j=e.object({eventId:e.uuid(),title:e.string(),scheduledStart:e.string(),canGoLive:e.boolean()}),h=e.object({kind:e.string(),subjectType:e.enum(["Event","Booking","PaymentIntent","ReplayPurchase"]),subjectId:e.string(),occurredAt:e.number().int(),payload:e.record(e.string(),e.unknown()),dedupeId:e.string()}),ye=e.object({range:e.object({start:e.string(),end:e.string(),preset:e.string().optional()}),kpis:e.object({totalRevenue:R,upcomingEvents:T,liveNow:x,totalViews:I}),live:e.array(C),upcoming:e.array(j),activity:e.array(h)}),Ae=e.object({items:e.array(h),...k$1.shape}),L=e.object({eventId:e.uuid(),title:e.string(),scheduledStart:e.string(),state:e.string()}),Re=e.object({hits:e.array(L)}),Te=e.object({count:e.number().int()}),xe=e.object({tab:r,items:e.array(v),...k$1.shape}),H=e.object({id:e.uuid(),hostId:e.uuid(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),previewClipUrl:e.string().nullable(),venueLocation:e.string().nullable(),scheduledStartLocal:e.string(),scheduledEndLocal:e.string(),scheduledEnd:e.iso.datetime(),scheduledStart:e.iso.datetime(),timezone:e.string(),expectedAudience:e.number().int().nullable(),plannedDurationMinutes:e.number().int().nullable(),visibility:e.string(),accessModel:e.string(),ticketPrice:h$1.nullable(),maxTickets:e.number().int().nullable(),allowlistData:e.array(e.string()),replayAccess:e.enum(a),replayAccessFee:h$1,retentionDays:e.number().int(),replayAvailableUntil:e.string().nullable(),shareableUrl:e.string().nullable(),state:e.string(),tags:e.array(e.string()),isFeatured:e.boolean(),createdAt:e.string(),updatedAt:e.string(),publishedAt:e.string().nullable(),liveStartedAt:e.string().nullable(),liveEndedAt:e.string().nullable(),cancelledAt:e.string().nullable(),cancelledReason:e.string().nullable(),category:e.string(),wizardStep:e.number().int().nullable(),productionMode:e.string().nullable(),productionNotes:e.string().nullable(),streamingMode:e.enum(e$1).nullable()}),Ie=H.extend({crewIds:e.array(e.uuid()),crewAssignments:e.array(e.object({id:e.uuid(),producerId:e.uuid(),role:e.string(),state:e.string(),compensation:h$1,location:e.string()})).optional().default([])}),D=e.enum(["EVENT_DETAILS","PRICING","CREW_ASSIGNED","STREAM_TESTED"]),N=e.enum(["PASS","WARN","FAIL"]),P=e.enum(["OPEN_WIZARD_STEP_1","OPEN_WIZARD_STEP_2","OPEN_WIZARD_STEP_3","OPEN_HIRE_CREW","REPLACE_CREW","RUN_STREAM_TEST"]),f=e.enum(["CHECKLIST_INCOMPLETE","BEFORE_WINDOW","AFTER_WINDOW","ALREADY_LIVE","NOT_OWNED"]),y=e.enum(["NOT_PROVISIONED","READY_FOR_TEST","LIVE","STREAM_TEST_FAILED","STREAM_TEST_SUCCESSFUL"]),l=e.enum(["SELF","HIRE"]),w=e.object({id:D,label:e.string(),state:N,detail:e.string().optional(),cta:P.optional()}),c=e.object({progress:e.number().min(0).max(1),items:e.array(w),canGoLive:e.boolean(),blockReason:f.optional()}),Ce=e.object({crewSearch:e.string().trim().min(2).max(100).optional(),crewState:e.enum(b).optional()}),A=e.object({bookingId:e.string(),producerProfileId:e.string(),displayName:e.string(),companyName:e.string(),producerAvatarUrl:e.url().nullable(),producerServiceCategoryLabels:e.array(e.string()),producerEquipmentLabels:e.array(e.string()),producerIsVerified:e.boolean(),role:e.string().nullable(),responsibilities:e.string().nullable(),state:e.enum(b),confirmedAt:e.iso.datetime().nullable()}),_=e.enum(["ACTIVE","PAST"]),je=e.object({phase:_.default("ACTIVE"),eventId:e.uuid().optional(),crewSearch:e.string().trim().min(2).max(100).optional(),crewState:e.enum(b).optional(),...g.shape}),k=A.extend({eventId:e.uuid(),eventTitle:e.string()}),O=e.object({eventId:e.uuid(),totalViewers:e.number().int().nonnegative(),uniqueViewers:e.number().int().nonnegative(),peakConcurrent:e.number().int().nonnegative(),registeredCount:e.number().int().nonnegative(),paidCount:e.number().int().nonnegative(),refundedCount:e.number().int().nonnegative(),returningViewerCount:e.number().int().nonnegative().nullable(),highValueBuyerCount:e.number().int().nonnegative().nullable(),grossRevenue:h$1,computedAt:e.iso.datetime(),byDeviceType:e.record(e.string(),e.number()).nullable()}),M=e.object({eventId:e.uuid(),totalReplayViewers:e.number().int().nonnegative(),completedViews:e.number().int().nonnegative(),avgWatchProgressPct:e.number().min(0).max(1).nullable(),totalWatchTimeSec:e.number().int().nonnegative(),activeReplayPurchases:e.number().int().nonnegative(),replayRevenue:h$1,computedAt:e.iso.datetime(),points:e.array(e.object({date:e.string(),viewsCount:e.number().int().nonnegative(),revenue:h$1}))}),U=e.object({audience:O.nullable(),replayPerformance:M.nullable()}),Le=e.object({items:e.array(k),...k$1.shape}),He=e.object({serverNow:e.iso.datetime(),event:e.object({id:e.string(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}),scheduledStart:e.iso.datetime({local:true,offset:false}),scheduledEndLocal:e.iso.datetime({local:true,offset:false}),scheduledEnd:e.iso.datetime(),timezone:e.string(),accessModel:e.string(),ticketPrice:h$1.nullable(),shareableUrl:e.string().nullable(),state:e.string(),visibility:e.string(),productionMode:l.nullable(),goLiveEligibleAt:e.iso.datetime().nullable(),replayAccess:e.enum(a),replayAccessFee:h$1,retentionDays:e.number().int(),replayAvailableUntil:e.string().nullable()}),ticketing:e.object({totalPayingCapacity:e.number().int().nullable(),ticketsSold:e.number().int(),revenue:h$1,liveRevenue:h$1,ticketRevenue:h$1,replayRevenue:h$1,hostShare:h$1,platformFee:h$1}),audience:e.object({registered:e.number().int(),watchingNow:e.number().int().nonnegative(),byCountry:e.record(e.string(),e.number().int()).nullable(),byTrafficSource:e.record(e.string(),e.number().int()).nullable()}),readiness:c,production:e.object({mode:l,streamingMode:e.enum(e$1).nullable(),crew:e.array(A),vacantCrewCount:e.number().int().nonnegative()}),streaming:e.object({status:y,serverUrl:e.string().nullable(),streamKey:e.string().nullable(),lastStreamTestAt:e.iso.datetime().nullable(),testAvailableAt:e.iso.datetime().nullable(),lastStreamTestFailedAt:e.iso.datetime().nullable(),lastStreamTestFailureReason:e.string().nullable()}),share:e.object({shareableUrl:e.string(),slug:e.string()}),postEvent:U.nullable()}),De=c,Ne=e.object({serverNow:e.iso.datetime(),bookingId:e.uuid(),event:e.object({id:e.uuid(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}),scheduledStart:e.iso.datetime(),scheduledEndLocal:e.iso.datetime({local:true,offset:false}),scheduledEnd:e.iso.datetime(),timezone:e.string(),state:e.string(),visibility:e.string(),productionMode:l.nullable(),goLiveEligibleAt:e.iso.datetime().nullable()}),readiness:c,streaming:e.object({status:y,serverUrl:e.string().nullable(),streamKey:e.null(),lastStreamTestAt:e.iso.datetime().nullable(),testAvailableAt:e.iso.datetime().nullable(),lastStreamTestFailedAt:e.iso.datetime().nullable(),lastStreamTestFailureReason:e.string().nullable()})}),Pe=e.object({shareableUrl:e.string(),slug:e.string(),copyText:e.string(),channelLinks:e.object({twitter:e.string(),facebook:e.string(),email:e.string(),embed:e.string()}),qrCodeDataUrl:e.string()}),V=e.enum(["PRE_LIVE","LIVE","ENDED"]),F=e.enum(["PROCESSING","READY","UNAVAILABLE"]),W=e.enum(["HEALTHY","DEGRADED","INGEST_DOWN"]),G=e.enum(["HOST_TERMINATED","HOST_TERMINATED_EARLY","AUTO_AFTER_SILENCE","AUTO_AT_SCHEDULED_END","ADMIN_FORCED"]),z=e.enum(["AUDIO_QUALITY","VIDEO_QUALITY","BITRATE_DROP","INGEST_DISCONNECTED","INGEST_RECONNECTED","RECORDING_FAILED","STREAM_DENIED"]),B=e.enum(["INFO","WARN","ERROR"]),K=e.object({id:e.string(),title:e.string(),scheduledStart:e.iso.datetime(),scheduledEnd:e.iso.datetime(),scheduledStartLocal:e.iso.datetime({local:true,offset:false}),scheduledEndLocal:e.iso.datetime({local:true,offset:false}),state:e.enum(g$1),currency:e.string(),accessModel:e.string()}),Q=e.object({streamEnabled:e.boolean(),canGoLive:e.boolean(),canEndLive:e.boolean(),requiresReauthToEnd:e.boolean()}),Y=e.object({viewers:e.number().int(),peakViewers:e.number().int(),ticketsSold:e.number().int(),revenue:e.object({value:e.string(),currency:e.string()}),joinedTotal:e.number().int()}),q=e.object({bitrateKbps:e.number(),resolution:e.string(),latencyMs:e.number().nullable(),ingestHealth:W,lastSampleAt:e.iso.datetime()}),Z=e.object({bookingId:e.string(),producerProfileId:e.string(),displayName:e.string(),role:e.string().nullable(),online:e.boolean()}),J=e.object({id:e.string(),kind:z,severity:B,message:e.string(),startedAt:e.iso.datetime(),acknowledgedAt:e.iso.datetime().nullable()}),X=e.object({enabled:e.boolean(),socketNamespace:e.string(),backfill:e.array(f$1)}),$=e.object({endedAt:e.iso.datetime(),endedEarly:e.boolean(),endedReason:G,replayState:F,replayAvailableAt:e.iso.datetime().nullable()}),fe=e.object({serverNow:e.iso.datetime(),slice:V,event:K,controls:Q,metrics:Y,telemetry:q.nullable(),crew:e.array(Z),alerts:e.array(J),activity:e.array(e.never()),chat:X,ended:$.nullable(),livePreview:Sa.nullable()}),we=e.object({from:e.iso.datetime().optional(),to:e.iso.datetime().optional()}),ee=e.object({bucketStart:e.iso.datetime(),concurrentViewers:e.number().int().nonnegative(),chatMessages:e.number().int().nonnegative().nullable(),reactions:e.number().int().nonnegative().nullable(),bitrateKbps:e.number().int().nonnegative().nullable(),ingestHealth:e.enum(["HEALTHY","DEGRADED","INGEST_DOWN"]).nullable(),resolution:e.string().nullable()}),_e=e.object({eventId:e.uuid(),from:e.iso.datetime(),to:e.iso.datetime(),granularity:e.literal("minute"),buckets:e.array(ee)});export{Z as $,y as A,l as B,w as C,c as D,Ce as E,A as F,_ as G,je as H,k as I,O as J,M as K,U as L,Le as M,He as N,De as O,Ne as P,Pe as Q,V as R,F as S,W as T,G as U,z as V,B as W,K as X,Q as Y,Y as Z,q as _,S as a,J as aa,le as b,X as ba,r as c,$ as ca,ce as d,fe as da,ue as e,we as ea,me as f,ee as fa,v as g,_e as ga,de as h,be as i,pe as j,ge as k,Ee as l,Se as m,ve as n,he as o,ye as p,Ae as q,L as r,Re as s,Te as t,xe as u,H as v,Ie as w,D as x,N as y,f as z};//# sourceMappingURL=chunk-4MPHRUOM.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-4MPHRUOM.mjs.map
|