@livdot-tech/contracts 1.10.8 → 1.10.10
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.d.mts +33 -1
- package/dist/auth/index.d.ts +33 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +73 -32
- package/dist/booking/index.d.ts +73 -32
- 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-6H4NYHH4.js +2 -0
- package/dist/chunk-6H4NYHH4.js.map +1 -0
- package/dist/chunk-7H6A4YYD.mjs +2 -0
- package/dist/chunk-7H6A4YYD.mjs.map +1 -0
- package/dist/{chunk-ZTFSP2ZQ.js → chunk-A3IKOGAK.js} +2 -2
- package/dist/chunk-A3IKOGAK.js.map +1 -0
- package/dist/{chunk-ETFQEH55.js → chunk-CCZSH6ME.js} +2 -2
- package/dist/{chunk-ETFQEH55.js.map → chunk-CCZSH6ME.js.map} +1 -1
- package/dist/chunk-CKQCXUKQ.mjs +2 -0
- package/dist/chunk-CKQCXUKQ.mjs.map +1 -0
- package/dist/chunk-I6HPDLZN.js +2 -0
- package/dist/chunk-I6HPDLZN.js.map +1 -0
- package/dist/chunk-IUX4KIIB.js +2 -0
- package/dist/chunk-IUX4KIIB.js.map +1 -0
- package/dist/chunk-JAXYGUGV.mjs +2 -0
- package/dist/{chunk-TYWI6DUG.mjs.map → chunk-JAXYGUGV.mjs.map} +1 -1
- package/dist/{chunk-SXTCI5FT.mjs → chunk-JGSCE4ZN.mjs} +2 -2
- package/dist/chunk-JGSCE4ZN.mjs.map +1 -0
- package/dist/chunk-LJKS4LZM.mjs +2 -0
- package/dist/chunk-LJKS4LZM.mjs.map +1 -0
- package/dist/chunk-LO5G3F5R.js +2 -0
- package/dist/chunk-LO5G3F5R.js.map +1 -0
- package/dist/{chunk-7RT42BX4.mjs → chunk-Q6R2XA6P.mjs} +2 -2
- package/dist/{chunk-7RT42BX4.mjs.map → chunk-Q6R2XA6P.mjs.map} +1 -1
- package/dist/{chunk-7YS6PWN2.js → chunk-RHTD5JVD.js} +2 -2
- package/dist/{chunk-7YS6PWN2.js.map → chunk-RHTD5JVD.js.map} +1 -1
- package/dist/chunk-RJM6V6QI.mjs +2 -0
- package/dist/chunk-RJM6V6QI.mjs.map +1 -0
- package/dist/chunk-SRR4VCQI.js +2 -0
- package/dist/chunk-SRR4VCQI.js.map +1 -0
- package/dist/chunk-VMOQFNTN.mjs +2 -0
- package/dist/chunk-VMOQFNTN.mjs.map +1 -0
- package/dist/chunk-XUOEYI5V.js +2 -0
- package/dist/chunk-XUOEYI5V.js.map +1 -0
- package/dist/chunk-YJA2B2Q3.mjs +2 -0
- package/dist/chunk-YJA2B2Q3.mjs.map +1 -0
- package/dist/chunk-YTLWHVXO.js +2 -0
- package/dist/chunk-YTLWHVXO.js.map +1 -0
- package/dist/chunk-ZIL43F6X.mjs +2 -0
- package/dist/chunk-ZIL43F6X.mjs.map +1 -0
- package/dist/common/index.d.mts +11 -1
- package/dist/common/index.d.ts +11 -1
- 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.d.mts +293 -37
- package/dist/event/index.d.ts +293 -37
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.d.mts +189 -32
- package/dist/host/index.d.ts +189 -32
- package/dist/host/index.js +1 -1
- package/dist/host/index.mjs +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/notification/index.d.mts +29 -1
- package/dist/notification/index.d.ts +29 -1
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.d.mts +1 -27
- package/dist/payment/index.d.ts +1 -27
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +11 -18
- package/dist/user/index.d.ts +11 -18
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3SHK4ITU.mjs +0 -2
- package/dist/chunk-3SHK4ITU.mjs.map +0 -1
- package/dist/chunk-3WTCAK7N.mjs +0 -2
- package/dist/chunk-3WTCAK7N.mjs.map +0 -1
- package/dist/chunk-77LGN2JF.mjs +0 -2
- package/dist/chunk-77LGN2JF.mjs.map +0 -1
- package/dist/chunk-CXAGRSLF.js +0 -2
- package/dist/chunk-CXAGRSLF.js.map +0 -1
- package/dist/chunk-DZGS3V6J.mjs +0 -2
- package/dist/chunk-DZGS3V6J.mjs.map +0 -1
- package/dist/chunk-G5GZSJ2W.js +0 -2
- package/dist/chunk-G5GZSJ2W.js.map +0 -1
- package/dist/chunk-HV4RKWLR.mjs +0 -2
- package/dist/chunk-HV4RKWLR.mjs.map +0 -1
- package/dist/chunk-JSRHSYSZ.js +0 -2
- package/dist/chunk-JSRHSYSZ.js.map +0 -1
- package/dist/chunk-KPZJSJXV.js +0 -2
- package/dist/chunk-KPZJSJXV.js.map +0 -1
- package/dist/chunk-OMZGPS3Z.mjs +0 -2
- package/dist/chunk-OMZGPS3Z.mjs.map +0 -1
- package/dist/chunk-OZH3L7VZ.mjs +0 -2
- package/dist/chunk-OZH3L7VZ.mjs.map +0 -1
- package/dist/chunk-QBFGU5IU.js +0 -2
- package/dist/chunk-QBFGU5IU.js.map +0 -1
- package/dist/chunk-RGF7ST6H.mjs +0 -2
- package/dist/chunk-RGF7ST6H.mjs.map +0 -1
- package/dist/chunk-SXTCI5FT.mjs.map +0 -1
- package/dist/chunk-TYWI6DUG.mjs +0 -2
- package/dist/chunk-UI6KNLNA.js +0 -2
- package/dist/chunk-UI6KNLNA.js.map +0 -1
- package/dist/chunk-WL5TJRQ5.js +0 -2
- package/dist/chunk-WL5TJRQ5.js.map +0 -1
- package/dist/chunk-ZCZEJEWV.js +0 -2
- package/dist/chunk-ZCZEJEWV.js.map +0 -1
- package/dist/chunk-ZTFSP2ZQ.js.map +0 -1
package/dist/event/index.d.mts
CHANGED
|
@@ -2140,35 +2140,142 @@ declare const HostEarningsTimeseriesQuerySchema: z.ZodObject<{
|
|
|
2140
2140
|
}>;
|
|
2141
2141
|
currency: z.ZodOptional<z.ZodString>;
|
|
2142
2142
|
}, z.core.$strict>;
|
|
2143
|
+
/**
|
|
2144
|
+
* Earnings summary card. Each money field is a MoneyDto per
|
|
2145
|
+
* MONEY_MULTI_CURRENCY.md §4 (amount + currency colocated). The
|
|
2146
|
+
* previously-top-level `currency` is gone — every amount carries its
|
|
2147
|
+
* unit so the FE never has to remember which currency applies where.
|
|
2148
|
+
*/
|
|
2143
2149
|
declare const HostEarningsSummaryResponseSchema: z.ZodObject<{
|
|
2144
2150
|
from: z.ZodString;
|
|
2145
2151
|
to: z.ZodString;
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
+
gross: z.ZodObject<{
|
|
2153
|
+
amountMinor: z.ZodString;
|
|
2154
|
+
currency: z.ZodEnum<{
|
|
2155
|
+
readonly NGN: "NGN";
|
|
2156
|
+
readonly USD: "USD";
|
|
2157
|
+
readonly GBP: "GBP";
|
|
2158
|
+
readonly EUR: "EUR";
|
|
2159
|
+
}>;
|
|
2160
|
+
}, z.core.$strip>;
|
|
2161
|
+
refunds: z.ZodObject<{
|
|
2162
|
+
amountMinor: z.ZodString;
|
|
2163
|
+
currency: z.ZodEnum<{
|
|
2164
|
+
readonly NGN: "NGN";
|
|
2165
|
+
readonly USD: "USD";
|
|
2166
|
+
readonly GBP: "GBP";
|
|
2167
|
+
readonly EUR: "EUR";
|
|
2168
|
+
}>;
|
|
2169
|
+
}, z.core.$strip>;
|
|
2170
|
+
net: z.ZodObject<{
|
|
2171
|
+
amountMinor: z.ZodString;
|
|
2172
|
+
currency: z.ZodEnum<{
|
|
2173
|
+
readonly NGN: "NGN";
|
|
2174
|
+
readonly USD: "USD";
|
|
2175
|
+
readonly GBP: "GBP";
|
|
2176
|
+
readonly EUR: "EUR";
|
|
2177
|
+
}>;
|
|
2178
|
+
}, z.core.$strip>;
|
|
2179
|
+
available: z.ZodObject<{
|
|
2180
|
+
amountMinor: z.ZodString;
|
|
2181
|
+
currency: z.ZodEnum<{
|
|
2182
|
+
readonly NGN: "NGN";
|
|
2183
|
+
readonly USD: "USD";
|
|
2184
|
+
readonly GBP: "GBP";
|
|
2185
|
+
readonly EUR: "EUR";
|
|
2186
|
+
}>;
|
|
2187
|
+
}, z.core.$strip>;
|
|
2188
|
+
pending: z.ZodObject<{
|
|
2189
|
+
amountMinor: z.ZodString;
|
|
2190
|
+
currency: z.ZodEnum<{
|
|
2191
|
+
readonly NGN: "NGN";
|
|
2192
|
+
readonly USD: "USD";
|
|
2193
|
+
readonly GBP: "GBP";
|
|
2194
|
+
readonly EUR: "EUR";
|
|
2195
|
+
}>;
|
|
2196
|
+
}, z.core.$strip>;
|
|
2152
2197
|
ticketsSold: z.ZodNumber;
|
|
2153
|
-
|
|
2198
|
+
avgTicketPrice: z.ZodObject<{
|
|
2199
|
+
amountMinor: z.ZodString;
|
|
2200
|
+
currency: z.ZodEnum<{
|
|
2201
|
+
readonly NGN: "NGN";
|
|
2202
|
+
readonly USD: "USD";
|
|
2203
|
+
readonly GBP: "GBP";
|
|
2204
|
+
readonly EUR: "EUR";
|
|
2205
|
+
}>;
|
|
2206
|
+
}, z.core.$strip>;
|
|
2154
2207
|
previousPeriodDelta: z.ZodObject<{
|
|
2155
2208
|
percentage: z.ZodNullable<z.ZodNumber>;
|
|
2156
|
-
|
|
2157
|
-
|
|
2209
|
+
gross: z.ZodObject<{
|
|
2210
|
+
amountMinor: z.ZodString;
|
|
2211
|
+
currency: z.ZodEnum<{
|
|
2212
|
+
readonly NGN: "NGN";
|
|
2213
|
+
readonly USD: "USD";
|
|
2214
|
+
readonly GBP: "GBP";
|
|
2215
|
+
readonly EUR: "EUR";
|
|
2216
|
+
}>;
|
|
2217
|
+
}, z.core.$strip>;
|
|
2158
2218
|
}, z.core.$strip>;
|
|
2159
2219
|
revenueSplit: z.ZodObject<{
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2220
|
+
hostShare: z.ZodObject<{
|
|
2221
|
+
amountMinor: z.ZodString;
|
|
2222
|
+
currency: z.ZodEnum<{
|
|
2223
|
+
readonly NGN: "NGN";
|
|
2224
|
+
readonly USD: "USD";
|
|
2225
|
+
readonly GBP: "GBP";
|
|
2226
|
+
readonly EUR: "EUR";
|
|
2227
|
+
}>;
|
|
2228
|
+
}, z.core.$strip>;
|
|
2229
|
+
platformFee: z.ZodObject<{
|
|
2230
|
+
amountMinor: z.ZodString;
|
|
2231
|
+
currency: z.ZodEnum<{
|
|
2232
|
+
readonly NGN: "NGN";
|
|
2233
|
+
readonly USD: "USD";
|
|
2234
|
+
readonly GBP: "GBP";
|
|
2235
|
+
readonly EUR: "EUR";
|
|
2236
|
+
}>;
|
|
2237
|
+
}, z.core.$strip>;
|
|
2238
|
+
crewSalaries: z.ZodObject<{
|
|
2239
|
+
amountMinor: z.ZodString;
|
|
2240
|
+
currency: z.ZodEnum<{
|
|
2241
|
+
readonly NGN: "NGN";
|
|
2242
|
+
readonly USD: "USD";
|
|
2243
|
+
readonly GBP: "GBP";
|
|
2244
|
+
readonly EUR: "EUR";
|
|
2245
|
+
}>;
|
|
2246
|
+
}, z.core.$strip>;
|
|
2163
2247
|
}, z.core.$strip>;
|
|
2164
2248
|
}, z.core.$strict>;
|
|
2165
2249
|
declare const HostEarningsBreakdownItemSchema: z.ZodObject<{
|
|
2166
2250
|
eventId: z.ZodUUID;
|
|
2167
2251
|
eventTitle: z.ZodString;
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2252
|
+
gross: z.ZodObject<{
|
|
2253
|
+
amountMinor: z.ZodString;
|
|
2254
|
+
currency: z.ZodEnum<{
|
|
2255
|
+
readonly NGN: "NGN";
|
|
2256
|
+
readonly USD: "USD";
|
|
2257
|
+
readonly GBP: "GBP";
|
|
2258
|
+
readonly EUR: "EUR";
|
|
2259
|
+
}>;
|
|
2260
|
+
}, z.core.$strip>;
|
|
2261
|
+
refunds: z.ZodObject<{
|
|
2262
|
+
amountMinor: z.ZodString;
|
|
2263
|
+
currency: z.ZodEnum<{
|
|
2264
|
+
readonly NGN: "NGN";
|
|
2265
|
+
readonly USD: "USD";
|
|
2266
|
+
readonly GBP: "GBP";
|
|
2267
|
+
readonly EUR: "EUR";
|
|
2268
|
+
}>;
|
|
2269
|
+
}, z.core.$strip>;
|
|
2270
|
+
net: z.ZodObject<{
|
|
2271
|
+
amountMinor: z.ZodString;
|
|
2272
|
+
currency: z.ZodEnum<{
|
|
2273
|
+
readonly NGN: "NGN";
|
|
2274
|
+
readonly USD: "USD";
|
|
2275
|
+
readonly GBP: "GBP";
|
|
2276
|
+
readonly EUR: "EUR";
|
|
2277
|
+
}>;
|
|
2278
|
+
}, z.core.$strip>;
|
|
2172
2279
|
firstActivityAt: z.ZodString;
|
|
2173
2280
|
lastActivityAt: z.ZodString;
|
|
2174
2281
|
ticketsSold: z.ZodNumber;
|
|
@@ -2188,10 +2295,33 @@ declare const HostEarningsBreakdownResponseSchema: z.ZodObject<{
|
|
|
2188
2295
|
items: z.ZodArray<z.ZodObject<{
|
|
2189
2296
|
eventId: z.ZodUUID;
|
|
2190
2297
|
eventTitle: z.ZodString;
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2298
|
+
gross: z.ZodObject<{
|
|
2299
|
+
amountMinor: z.ZodString;
|
|
2300
|
+
currency: z.ZodEnum<{
|
|
2301
|
+
readonly NGN: "NGN";
|
|
2302
|
+
readonly USD: "USD";
|
|
2303
|
+
readonly GBP: "GBP";
|
|
2304
|
+
readonly EUR: "EUR";
|
|
2305
|
+
}>;
|
|
2306
|
+
}, z.core.$strip>;
|
|
2307
|
+
refunds: z.ZodObject<{
|
|
2308
|
+
amountMinor: z.ZodString;
|
|
2309
|
+
currency: z.ZodEnum<{
|
|
2310
|
+
readonly NGN: "NGN";
|
|
2311
|
+
readonly USD: "USD";
|
|
2312
|
+
readonly GBP: "GBP";
|
|
2313
|
+
readonly EUR: "EUR";
|
|
2314
|
+
}>;
|
|
2315
|
+
}, z.core.$strip>;
|
|
2316
|
+
net: z.ZodObject<{
|
|
2317
|
+
amountMinor: z.ZodString;
|
|
2318
|
+
currency: z.ZodEnum<{
|
|
2319
|
+
readonly NGN: "NGN";
|
|
2320
|
+
readonly USD: "USD";
|
|
2321
|
+
readonly GBP: "GBP";
|
|
2322
|
+
readonly EUR: "EUR";
|
|
2323
|
+
}>;
|
|
2324
|
+
}, z.core.$strip>;
|
|
2195
2325
|
firstActivityAt: z.ZodString;
|
|
2196
2326
|
lastActivityAt: z.ZodString;
|
|
2197
2327
|
ticketsSold: z.ZodNumber;
|
|
@@ -2204,21 +2334,73 @@ declare const HostEarningsBreakdownResponseSchema: z.ZodObject<{
|
|
|
2204
2334
|
}, z.core.$strict>;
|
|
2205
2335
|
declare const HostEarningsTimeseriesPointSchema: z.ZodObject<{
|
|
2206
2336
|
date: z.ZodString;
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2337
|
+
gross: z.ZodObject<{
|
|
2338
|
+
amountMinor: z.ZodString;
|
|
2339
|
+
currency: z.ZodEnum<{
|
|
2340
|
+
readonly NGN: "NGN";
|
|
2341
|
+
readonly USD: "USD";
|
|
2342
|
+
readonly GBP: "GBP";
|
|
2343
|
+
readonly EUR: "EUR";
|
|
2344
|
+
}>;
|
|
2345
|
+
}, z.core.$strip>;
|
|
2346
|
+
refunds: z.ZodObject<{
|
|
2347
|
+
amountMinor: z.ZodString;
|
|
2348
|
+
currency: z.ZodEnum<{
|
|
2349
|
+
readonly NGN: "NGN";
|
|
2350
|
+
readonly USD: "USD";
|
|
2351
|
+
readonly GBP: "GBP";
|
|
2352
|
+
readonly EUR: "EUR";
|
|
2353
|
+
}>;
|
|
2354
|
+
}, z.core.$strip>;
|
|
2355
|
+
net: z.ZodObject<{
|
|
2356
|
+
amountMinor: z.ZodString;
|
|
2357
|
+
currency: z.ZodEnum<{
|
|
2358
|
+
readonly NGN: "NGN";
|
|
2359
|
+
readonly USD: "USD";
|
|
2360
|
+
readonly GBP: "GBP";
|
|
2361
|
+
readonly EUR: "EUR";
|
|
2362
|
+
}>;
|
|
2363
|
+
}, z.core.$strip>;
|
|
2210
2364
|
}, z.core.$strict>;
|
|
2365
|
+
/**
|
|
2366
|
+
* Top-level `currency` dropped — each point's MoneyDto carries its
|
|
2367
|
+
* unit (spec §4). Callers rendering a chart title still get the
|
|
2368
|
+
* currency via `points[i].gross.currency`.
|
|
2369
|
+
*/
|
|
2211
2370
|
declare const HostEarningsTimeseriesResponseSchema: z.ZodObject<{
|
|
2212
2371
|
granularity: z.ZodEnum<{
|
|
2213
2372
|
daily: "daily";
|
|
2214
2373
|
weekly: "weekly";
|
|
2215
2374
|
}>;
|
|
2216
|
-
currency: z.ZodString;
|
|
2217
2375
|
points: z.ZodArray<z.ZodObject<{
|
|
2218
2376
|
date: z.ZodString;
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2377
|
+
gross: z.ZodObject<{
|
|
2378
|
+
amountMinor: z.ZodString;
|
|
2379
|
+
currency: z.ZodEnum<{
|
|
2380
|
+
readonly NGN: "NGN";
|
|
2381
|
+
readonly USD: "USD";
|
|
2382
|
+
readonly GBP: "GBP";
|
|
2383
|
+
readonly EUR: "EUR";
|
|
2384
|
+
}>;
|
|
2385
|
+
}, z.core.$strip>;
|
|
2386
|
+
refunds: z.ZodObject<{
|
|
2387
|
+
amountMinor: z.ZodString;
|
|
2388
|
+
currency: z.ZodEnum<{
|
|
2389
|
+
readonly NGN: "NGN";
|
|
2390
|
+
readonly USD: "USD";
|
|
2391
|
+
readonly GBP: "GBP";
|
|
2392
|
+
readonly EUR: "EUR";
|
|
2393
|
+
}>;
|
|
2394
|
+
}, z.core.$strip>;
|
|
2395
|
+
net: z.ZodObject<{
|
|
2396
|
+
amountMinor: z.ZodString;
|
|
2397
|
+
currency: z.ZodEnum<{
|
|
2398
|
+
readonly NGN: "NGN";
|
|
2399
|
+
readonly USD: "USD";
|
|
2400
|
+
readonly GBP: "GBP";
|
|
2401
|
+
readonly EUR: "EUR";
|
|
2402
|
+
}>;
|
|
2403
|
+
}, z.core.$strip>;
|
|
2222
2404
|
}, z.core.$strict>>;
|
|
2223
2405
|
}, z.core.$strict>;
|
|
2224
2406
|
declare const PublicEventStatusSchema: z.ZodEnum<{
|
|
@@ -2383,8 +2565,20 @@ declare const HostEventTicketSalesTimelineQuerySchema: z.ZodObject<{
|
|
|
2383
2565
|
declare const HostEventTicketSalesTimelinePointSchema: z.ZodObject<{
|
|
2384
2566
|
date: z.ZodString;
|
|
2385
2567
|
ticketsSold: z.ZodNumber;
|
|
2386
|
-
|
|
2568
|
+
revenue: z.ZodObject<{
|
|
2569
|
+
amountMinor: z.ZodString;
|
|
2570
|
+
currency: z.ZodEnum<{
|
|
2571
|
+
readonly NGN: "NGN";
|
|
2572
|
+
readonly USD: "USD";
|
|
2573
|
+
readonly GBP: "GBP";
|
|
2574
|
+
readonly EUR: "EUR";
|
|
2575
|
+
}>;
|
|
2576
|
+
}, z.core.$strip>;
|
|
2387
2577
|
}, z.core.$strip>;
|
|
2578
|
+
/**
|
|
2579
|
+
* Top-level `currency` dropped — every point's revenue MoneyDto carries
|
|
2580
|
+
* its own unit per MONEY_MULTI_CURRENCY.md §4.
|
|
2581
|
+
*/
|
|
2388
2582
|
declare const HostEventTicketSalesTimelineResponseSchema: z.ZodObject<{
|
|
2389
2583
|
eventId: z.ZodUUID;
|
|
2390
2584
|
granularity: z.ZodEnum<{
|
|
@@ -2392,11 +2586,18 @@ declare const HostEventTicketSalesTimelineResponseSchema: z.ZodObject<{
|
|
|
2392
2586
|
}>;
|
|
2393
2587
|
from: z.ZodString;
|
|
2394
2588
|
to: z.ZodString;
|
|
2395
|
-
currency: z.ZodString;
|
|
2396
2589
|
points: z.ZodArray<z.ZodObject<{
|
|
2397
2590
|
date: z.ZodString;
|
|
2398
2591
|
ticketsSold: z.ZodNumber;
|
|
2399
|
-
|
|
2592
|
+
revenue: z.ZodObject<{
|
|
2593
|
+
amountMinor: z.ZodString;
|
|
2594
|
+
currency: z.ZodEnum<{
|
|
2595
|
+
readonly NGN: "NGN";
|
|
2596
|
+
readonly USD: "USD";
|
|
2597
|
+
readonly GBP: "GBP";
|
|
2598
|
+
readonly EUR: "EUR";
|
|
2599
|
+
}>;
|
|
2600
|
+
}, z.core.$strip>;
|
|
2400
2601
|
}, z.core.$strip>>;
|
|
2401
2602
|
}, z.core.$strip>;
|
|
2402
2603
|
declare const HostAudienceQuerySchema: z.ZodObject<{
|
|
@@ -2408,10 +2609,15 @@ declare const HostAudienceSummaryResponseSchema: z.ZodObject<{
|
|
|
2408
2609
|
to: z.ZodISODateTime;
|
|
2409
2610
|
currency: z.ZodString;
|
|
2410
2611
|
summary: z.ZodObject<{
|
|
2411
|
-
totalViewers: z.
|
|
2612
|
+
totalViewers: z.ZodObject<{
|
|
2613
|
+
count: z.ZodNumber;
|
|
2614
|
+
percentagePrev: z.ZodNullable<z.ZodNumber>;
|
|
2615
|
+
}, z.core.$strip>;
|
|
2412
2616
|
uniqueViewers: z.ZodNumber;
|
|
2413
2617
|
liveSpenders: z.ZodNumber;
|
|
2414
2618
|
casualViewers: z.ZodNumber;
|
|
2619
|
+
repeatViewers: z.ZodNumber;
|
|
2620
|
+
newThisPeriod: z.ZodNumber;
|
|
2415
2621
|
}, z.core.$strip>;
|
|
2416
2622
|
segments: z.ZodObject<{
|
|
2417
2623
|
newViewers: z.ZodObject<{
|
|
@@ -2432,21 +2638,69 @@ declare const HostAudienceSummaryResponseSchema: z.ZodObject<{
|
|
|
2432
2638
|
}, z.core.$strip>;
|
|
2433
2639
|
}, z.core.$strip>;
|
|
2434
2640
|
revenuePerViewer: z.ZodObject<{
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2641
|
+
total: z.ZodNumber;
|
|
2642
|
+
averageSpend: z.ZodObject<{
|
|
2643
|
+
amountMinor: z.ZodString;
|
|
2644
|
+
currency: z.ZodEnum<{
|
|
2645
|
+
readonly NGN: "NGN";
|
|
2646
|
+
readonly USD: "USD";
|
|
2647
|
+
readonly GBP: "GBP";
|
|
2648
|
+
readonly EUR: "EUR";
|
|
2649
|
+
}>;
|
|
2650
|
+
}, z.core.$strip>;
|
|
2651
|
+
percentagePrev: z.ZodNullable<z.ZodNumber>;
|
|
2652
|
+
bands: z.ZodObject<{
|
|
2653
|
+
lowSpenders: z.ZodNumber;
|
|
2654
|
+
midSpenders: z.ZodNumber;
|
|
2655
|
+
highSpenders: z.ZodNumber;
|
|
2656
|
+
}, z.core.$strip>;
|
|
2438
2657
|
}, z.core.$strip>;
|
|
2439
2658
|
}, z.core.$strip>;
|
|
2659
|
+
declare const HostAudienceEngagementQuerySchema: z.ZodObject<{
|
|
2660
|
+
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2661
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2662
|
+
from: z.ZodOptional<z.ZodString>;
|
|
2663
|
+
to: z.ZodOptional<z.ZodString>;
|
|
2664
|
+
search: z.ZodOptional<z.ZodString>;
|
|
2665
|
+
}, z.core.$strip>;
|
|
2666
|
+
declare const HostAudienceEngagementResponseSchema: z.ZodObject<{
|
|
2667
|
+
totalCount: z.ZodNumber;
|
|
2668
|
+
pageNumber: z.ZodNumber;
|
|
2669
|
+
pageSize: z.ZodNumber;
|
|
2670
|
+
totalPages: z.ZodNumber;
|
|
2671
|
+
hasPreviousPage: z.ZodBoolean;
|
|
2672
|
+
hasNextPage: z.ZodBoolean;
|
|
2673
|
+
from: z.ZodISODateTime;
|
|
2674
|
+
to: z.ZodISODateTime;
|
|
2675
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2676
|
+
eventId: z.ZodUUID;
|
|
2677
|
+
eventTitle: z.ZodString;
|
|
2678
|
+
viewers: z.ZodNumber;
|
|
2679
|
+
peakConcurrent: z.ZodNumber;
|
|
2680
|
+
replays: z.ZodNumber;
|
|
2681
|
+
}, z.core.$strip>>;
|
|
2682
|
+
}, z.core.$strip>;
|
|
2440
2683
|
declare const HostAudienceTopViewersQuerySchema: z.ZodObject<{
|
|
2441
2684
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
2442
2685
|
}, z.core.$strip>;
|
|
2686
|
+
/**
|
|
2687
|
+
* `currency` is intentionally omitted at the response level — each
|
|
2688
|
+
* item carries its own `MoneyDto` per MONEY_MULTI_CURRENCY.md §4.
|
|
2689
|
+
*/
|
|
2443
2690
|
declare const HostAudienceTopViewersResponseSchema: z.ZodObject<{
|
|
2444
|
-
currency: z.ZodString;
|
|
2445
2691
|
items: z.ZodArray<z.ZodObject<{
|
|
2446
2692
|
userId: z.ZodUUID;
|
|
2447
2693
|
displayName: z.ZodString;
|
|
2448
2694
|
avatarKey: z.ZodNullable<z.ZodString>;
|
|
2449
|
-
|
|
2695
|
+
totalSpend: z.ZodObject<{
|
|
2696
|
+
amountMinor: z.ZodString;
|
|
2697
|
+
currency: z.ZodEnum<{
|
|
2698
|
+
readonly NGN: "NGN";
|
|
2699
|
+
readonly USD: "USD";
|
|
2700
|
+
readonly GBP: "GBP";
|
|
2701
|
+
readonly EUR: "EUR";
|
|
2702
|
+
}>;
|
|
2703
|
+
}, z.core.$strip>;
|
|
2450
2704
|
eventCount: z.ZodNumber;
|
|
2451
2705
|
}, z.core.$strip>>;
|
|
2452
2706
|
}, z.core.$strip>;
|
|
@@ -2561,7 +2815,9 @@ type HostAudienceDevicesResponse = z.infer<typeof HostAudienceDevicesResponseSch
|
|
|
2561
2815
|
type HostAudienceViewerActivityQuery = z.infer<typeof HostAudienceViewerActivityQuerySchema>;
|
|
2562
2816
|
type HostAudienceViewerActivityResponse = z.infer<typeof HostAudienceViewerActivityResponseSchema>;
|
|
2563
2817
|
type HostAudienceActivityFeedResponse = z.infer<typeof HostAudienceActivityFeedResponseSchema>;
|
|
2818
|
+
type HostAudienceEngagementQuery = z.infer<typeof HostAudienceEngagementQuerySchema>;
|
|
2819
|
+
type HostAudienceEngagementResponse = z.infer<typeof HostAudienceEngagementResponseSchema>;
|
|
2564
2820
|
type HostEventTicketSalesTimelineResponse = z.infer<typeof HostEventTicketSalesTimelineResponseSchema>;
|
|
2565
2821
|
type HostEventTicketSalesTimelinePoint = z.infer<typeof HostEventTicketSalesTimelinePointSchema>;
|
|
2566
2822
|
|
|
2567
|
-
export { type Category, CategorySchema, type CreateEventRequest, CreateEventRequestSchema, type Currency, CurrencySchema, type DiscoverAggregateResponse, DiscoverAggregateResponseSchema, DiscoverEvents, type DiscoverResponse, DiscoverResponseSchema, type DiscoverSectionResponse, DiscoverSectionResponseSchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EntitlementKind, EventAccessModel, EventAllowListType, type EventCard, type EventCardCta, EventCardCtaSchema, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type HostAudienceActivityFeedResponse, HostAudienceActivityFeedResponseSchema, type HostAudienceDevicesResponse, HostAudienceDevicesResponseSchema, type HostAudienceGeoResponse, HostAudienceGeoResponseSchema, type HostAudienceQuery, HostAudienceQuerySchema, type HostAudienceSummaryResponse, HostAudienceSummaryResponseSchema, type HostAudienceTopViewersQuery, HostAudienceTopViewersQuerySchema, type HostAudienceTopViewersResponse, HostAudienceTopViewersResponseSchema, type HostAudienceViewerActivityQuery, HostAudienceViewerActivityQuerySchema, type HostAudienceViewerActivityResponse, HostAudienceViewerActivityResponseSchema, type HostEarningsBreakdownItem, HostEarningsBreakdownItemSchema, type HostEarningsBreakdownQuery, HostEarningsBreakdownQuerySchema, type HostEarningsBreakdownResponse, HostEarningsBreakdownResponseSchema, type HostEarningsSummaryQuery, HostEarningsSummaryQuerySchema, type HostEarningsSummaryResponse, HostEarningsSummaryResponseSchema, type HostEarningsTimeseriesPoint, HostEarningsTimeseriesPointSchema, type HostEarningsTimeseriesQuery, HostEarningsTimeseriesQuerySchema, type HostEarningsTimeseriesResponse, HostEarningsTimeseriesResponseSchema, type HostEventTicketSalesTimeline, type HostEventTicketSalesTimelinePoint, HostEventTicketSalesTimelinePointSchema, HostEventTicketSalesTimelineQuerySchema, type HostEventTicketSalesTimelineResponse, HostEventTicketSalesTimelineResponseSchema, type HostEventWizardPatch, HostEventWizardPatchSchema, type HostLivePreview, HostLivePreviewSchema, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PatchReplayPeriodRequest, PatchReplayPeriodRequestSchema, type PatchReplayPeriodResponse, PatchReplayPeriodResponseSchema, type PatchStreamControlRequest, PatchStreamControlRequestSchema, type PlaybackResponse, PlaybackResponseSchema, type PublicEventCard, PublicEventCardSchema, PublicEventStatusSchema, type PublicEventsQuery, PublicEventsQuerySchema, type PublicEventsResponse, PublicEventsResponseSchema, type RegisterForEventRequest, RegisterForEventRequestSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type Replay, type ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionRequest, StartViewingSessionRequestSchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, type Visibility, VisibilitySchema };
|
|
2823
|
+
export { type Category, CategorySchema, type CreateEventRequest, CreateEventRequestSchema, type Currency, CurrencySchema, type DiscoverAggregateResponse, DiscoverAggregateResponseSchema, DiscoverEvents, type DiscoverResponse, DiscoverResponseSchema, type DiscoverSectionResponse, DiscoverSectionResponseSchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EntitlementKind, EventAccessModel, EventAllowListType, type EventCard, type EventCardCta, EventCardCtaSchema, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type HostAudienceActivityFeedResponse, HostAudienceActivityFeedResponseSchema, type HostAudienceDevicesResponse, HostAudienceDevicesResponseSchema, type HostAudienceEngagementQuery, HostAudienceEngagementQuerySchema, type HostAudienceEngagementResponse, HostAudienceEngagementResponseSchema, type HostAudienceGeoResponse, HostAudienceGeoResponseSchema, type HostAudienceQuery, HostAudienceQuerySchema, type HostAudienceSummaryResponse, HostAudienceSummaryResponseSchema, type HostAudienceTopViewersQuery, HostAudienceTopViewersQuerySchema, type HostAudienceTopViewersResponse, HostAudienceTopViewersResponseSchema, type HostAudienceViewerActivityQuery, HostAudienceViewerActivityQuerySchema, type HostAudienceViewerActivityResponse, HostAudienceViewerActivityResponseSchema, type HostEarningsBreakdownItem, HostEarningsBreakdownItemSchema, type HostEarningsBreakdownQuery, HostEarningsBreakdownQuerySchema, type HostEarningsBreakdownResponse, HostEarningsBreakdownResponseSchema, type HostEarningsSummaryQuery, HostEarningsSummaryQuerySchema, type HostEarningsSummaryResponse, HostEarningsSummaryResponseSchema, type HostEarningsTimeseriesPoint, HostEarningsTimeseriesPointSchema, type HostEarningsTimeseriesQuery, HostEarningsTimeseriesQuerySchema, type HostEarningsTimeseriesResponse, HostEarningsTimeseriesResponseSchema, type HostEventTicketSalesTimeline, type HostEventTicketSalesTimelinePoint, HostEventTicketSalesTimelinePointSchema, HostEventTicketSalesTimelineQuerySchema, type HostEventTicketSalesTimelineResponse, HostEventTicketSalesTimelineResponseSchema, type HostEventWizardPatch, HostEventWizardPatchSchema, type HostLivePreview, HostLivePreviewSchema, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PatchReplayPeriodRequest, PatchReplayPeriodRequestSchema, type PatchReplayPeriodResponse, PatchReplayPeriodResponseSchema, type PatchStreamControlRequest, PatchStreamControlRequestSchema, type PlaybackResponse, PlaybackResponseSchema, type PublicEventCard, PublicEventCardSchema, PublicEventStatusSchema, type PublicEventsQuery, PublicEventsQuerySchema, type PublicEventsResponse, PublicEventsResponseSchema, type RegisterForEventRequest, RegisterForEventRequestSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type Replay, type ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionRequest, StartViewingSessionRequestSchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, type Visibility, VisibilitySchema };
|