@livdot-tech/contracts 1.4.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/chunk-2TQ3BI34.js +2 -0
- package/dist/chunk-2TQ3BI34.js.map +1 -0
- package/dist/chunk-54FMKF33.js +2 -0
- package/dist/chunk-54FMKF33.js.map +1 -0
- package/dist/{chunk-JH4NWBFP.js → chunk-5ROSQD5N.js} +2 -2
- package/dist/{chunk-JH4NWBFP.js.map → chunk-5ROSQD5N.js.map} +1 -1
- package/dist/chunk-C3LOLFNN.js +2 -0
- package/dist/chunk-C3LOLFNN.js.map +1 -0
- package/dist/{chunk-J46D3YKA.mjs → chunk-CBORZPGZ.mjs} +2 -2
- package/dist/{chunk-J46D3YKA.mjs.map → chunk-CBORZPGZ.mjs.map} +1 -1
- package/dist/chunk-EGUWLSAA.mjs +2 -0
- package/dist/chunk-EGUWLSAA.mjs.map +1 -0
- package/dist/chunk-EJCFJL2F.mjs +2 -0
- package/dist/chunk-EJCFJL2F.mjs.map +1 -0
- package/dist/chunk-EQVYSKSG.mjs +2 -0
- package/dist/chunk-EQVYSKSG.mjs.map +1 -0
- package/dist/chunk-HZF6DJHM.js +2 -0
- package/dist/chunk-HZF6DJHM.js.map +1 -0
- package/dist/chunk-MRWDLMMZ.mjs +2 -0
- package/dist/chunk-MRWDLMMZ.mjs.map +1 -0
- package/dist/chunk-VGS23C2E.mjs +2 -0
- package/dist/chunk-VGS23C2E.mjs.map +1 -0
- package/dist/chunk-VRSJMPBY.js +2 -0
- package/dist/chunk-VRSJMPBY.js.map +1 -0
- package/dist/chunk-W2AXUTIW.js +2 -0
- package/dist/chunk-W2AXUTIW.js.map +1 -0
- package/dist/chunk-XUOMVQVQ.mjs +2 -0
- package/dist/chunk-XUOMVQVQ.mjs.map +1 -0
- package/dist/errors/index.d.mts +2 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +1 -1
- package/dist/errors/index.mjs +1 -1
- package/dist/event/index.d.mts +22 -4
- package/dist/event/index.d.ts +22 -4
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/index.d.mts +88 -5
- package/dist/index.d.ts +88 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/marketplace/index.d.mts +29 -1
- package/dist/marketplace/index.d.ts +29 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/payment/index.d.mts +81 -1
- package/dist/payment/index.d.ts +81 -1
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +80 -1
- package/dist/user/index.d.ts +80 -1
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2N4M7ZID.mjs +0 -2
- package/dist/chunk-2N4M7ZID.mjs.map +0 -1
- package/dist/chunk-5BXYTOQW.js +0 -2
- package/dist/chunk-5BXYTOQW.js.map +0 -1
- package/dist/chunk-ACXVPMYP.mjs +0 -2
- package/dist/chunk-ACXVPMYP.mjs.map +0 -1
- package/dist/chunk-FSQX27QM.mjs +0 -2
- package/dist/chunk-FSQX27QM.mjs.map +0 -1
- package/dist/chunk-HDCQKBMZ.js +0 -2
- package/dist/chunk-HDCQKBMZ.js.map +0 -1
- package/dist/chunk-JT7SH43N.js +0 -2
- package/dist/chunk-JT7SH43N.js.map +0 -1
- package/dist/chunk-LNIXM4TD.mjs +0 -2
- package/dist/chunk-LNIXM4TD.mjs.map +0 -1
- package/dist/chunk-PI4KQRG6.js +0 -2
- package/dist/chunk-PI4KQRG6.js.map +0 -1
- package/dist/chunk-QIDNKMGT.mjs +0 -2
- package/dist/chunk-QIDNKMGT.mjs.map +0 -1
- package/dist/chunk-SKUIUOTZ.js +0 -2
- package/dist/chunk-SKUIUOTZ.js.map +0 -1
- package/dist/chunk-VSYDI3WD.js +0 -2
- package/dist/chunk-VSYDI3WD.js.map +0 -1
- package/dist/chunk-ZWZOFVZ3.mjs +0 -2
- package/dist/chunk-ZWZOFVZ3.mjs.map +0 -1
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
1
|
+
{"version":3,"sources":["../src/chat/chat.schemas.ts"],"names":["CHAT_HISTORY_DEFAULT_LIMIT","CHAT_HISTORY_MAX_LIMIT","CHAT_MESSAGE_BODY_MIN_LENGTH","CHAT_MESSAGE_BODY_MAX_LENGTH","CHAT_MODERATION_REASON_MAX_LENGTH","ChatMessageUserSchema","z","ChatMessageSchema","ChatHistoryResponseSchema","ChatHistoryQuerySchema","PostChatMessageRequestSchema","ChatModerationDeleteRequestSchema","ChatModerationMuteRequestSchema","value","ChatMuteStateResponseSchema","ChatCredentialsResponseSchema"],"mappings":"m9IAEO,IAAMA,CAAAA,CAA6B,EAAA,CAC7BC,CAAAA,CAAyB,GAAA,CAEzBC,CAAAA,CAA+B,CAAA,CAC/BC,CAAAA,CAA+B,GAAA,CAE/BC,CAAAA,CAAoC,GAAA,CAEpCC,CAAAA,CAAwBC,CAAAA,CAAE,MAAA,CAAO,CAC5C,EAAA,CAAIA,CAAAA,CAAE,MAAA,EAAO,CACb,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CACtB,QAAA,CAAUA,CAAAA,CAAE,MAAA,GAAS,KAAA,CAAM,mBAAmB,CAChD,CAAC,CAAA,CAEYC,CAAAA,CAAoBD,CAAAA,CAAE,MAAA,CAAO,CACxC,EAAA,CAAIA,CAAAA,CAAE,MAAA,EAAO,CACb,IAAA,CAAMA,CAAAA,CAAE,MAAA,EAAO,CACf,SAAA,CAAWA,CAAAA,CAAE,GAAA,CAAI,QAAA,EAAS,CAC1B,IAAA,CAAMD,CAAAA,CACN,SAAA,CAAWC,CAAAA,CAAE,GAAA,CAAI,QAAA,EAAS,CAAE,QAAA,EAC9B,CAAC,EAEYE,EAAAA,CAA4BF,CAAAA,CAAE,MAAA,CAAO,CAChD,KAAA,CAAOA,CAAAA,CAAE,KAAA,CAAMC,CAAiB,CAAA,CAChC,UAAA,CAAYD,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EACzB,CAAC,CAAA,CAEYG,EAAAA,CAAyBH,CAAAA,CAAE,MAAA,CAAO,CAC7C,MAAA,CAAQA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC5B,KAAA,CAAOA,CAAAA,CAAE,MAAA,CACN,MAAA,EAAO,CACP,KAAI,CACJ,GAAA,CAAI,CAAC,CAAA,CACL,GAAA,CAAIL,CAAsB,CAAA,CAC1B,OAAA,CAAQD,CAA0B,CAAA,CAClC,QAAA,EACL,CAAC,CAAA,CACYU,EAAAA,CAA+BJ,CAAAA,CAAE,OAAO,CACnD,IAAA,CAAMA,CAAAA,CAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAIJ,CAA4B,CAAA,CAAE,GAAA,CAAIC,CAA4B,CAC5F,CAAC,CAAA,CAEYQ,EAAAA,CAAoCL,EAC9C,MAAA,CAAO,CACN,MAAA,CAAQA,CAAAA,CAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAIF,CAAiC,CAAA,CAAE,QAAA,EACnE,CAAC,CAAA,CACA,MAAA,EAAO,CAEGQ,EAAAA,CAAkCN,CAAAA,CAC5C,MAAA,CAAO,CAEN,KAAA,CAAOA,CAAAA,CAAE,GAAA,CACN,QAAA,EAAS,CACT,MAAA,CAAQO,CAAAA,EAAU,IAAI,IAAA,CAAKA,CAAK,CAAA,CAAE,SAAQ,CAAI,IAAA,CAAK,GAAA,EAAI,CAAG,CACzD,OAAA,CAAS,kCACX,CAAC,CAAA,CACA,QAAA,EAAS,CACZ,MAAA,CAAQP,CAAAA,CAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAIF,CAAiC,CAAA,CAAE,QAAA,EACnE,CAAC,CAAA,CACA,MAAA,EAAO,CAOGU,EAAAA,CAA8BR,CAAAA,CAAE,MAAA,CAAO,CAClD,OAAA,CAASA,CAAAA,CAAE,QAAO,CAClB,UAAA,CAAYA,CAAAA,CAAE,GAAA,CAAI,QAAA,EAAS,CAAE,QAAA,EAC/B,CAAC,CAAA,CAEYS,EAAAA,CAAgCT,CAAAA,CAAE,kBAAA,CAAmB,MAAA,CAAQ,CACxEA,CAAAA,CAAE,MAAA,CAAO,CACP,IAAA,CAAMA,CAAAA,CAAE,OAAA,CAAQ,YAAY,CAAA,CAC5B,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CACtB,KAAA,CAAOA,CAAAA,CAAE,MAAA,EAAO,CAChB,WAAA,CAAaA,EAAE,MAAA,EACjB,CAAC,CAAA,CACDA,CAAAA,CAAE,MAAA,CAAO,CACP,IAAA,CAAMA,CAAAA,CAAE,OAAA,CAAQ,KAAK,CAAA,CACrB,cAAA,CAAgBA,CAAAA,CAAE,MAAA,EAAO,CACzB,SAAUA,CAAAA,CAAE,MAAA,EAAO,CACnB,KAAA,CAAOA,CAAAA,CAAE,MAAA,EAAO,CAChB,eAAA,CAAiBA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,QAAA,EACpC,CAAC,CACH,CAAC","file":"index.mjs","sourcesContent":["import z from 'zod';\n\nexport const CHAT_HISTORY_DEFAULT_LIMIT = 50;\nexport const CHAT_HISTORY_MAX_LIMIT = 100;\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\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\nexport const ChatHistoryResponseSchema = z.object({\n items: z.array(ChatMessageSchema),\n nextCursor: z.string().nullable(),\n});\n\nexport const ChatHistoryQuerySchema = z.object({\n cursor: z.string().optional(),\n limit: z.coerce\n .number()\n .int()\n .min(1)\n .max(CHAT_HISTORY_MAX_LIMIT)\n .default(CHAT_HISTORY_DEFAULT_LIMIT)\n .optional(),\n});\nexport const PostChatMessageRequestSchema = z.object({\n body: z.string().trim().min(CHAT_MESSAGE_BODY_MIN_LENGTH).max(CHAT_MESSAGE_BODY_MAX_LENGTH),\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"]}
|
|
@@ -356,4 +356,32 @@ type WorkspacePortfolioItemInput = z.infer<typeof WorkspacePortfolioItemInputSch
|
|
|
356
356
|
type WorkspaceRateCardItemInput = z.infer<typeof WorkspaceRateCardItemInputSchema>;
|
|
357
357
|
type GetProducerProfileQuery = z.infer<typeof GetProducerProfileQuerySchema>;
|
|
358
358
|
|
|
359
|
-
|
|
359
|
+
/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */
|
|
360
|
+
declare const AdminApproveProducerVerificationSchema: z.ZodObject<{
|
|
361
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, z.core.$strip>;
|
|
363
|
+
/**
|
|
364
|
+
* Shared body for admin actions that require a decision reason.
|
|
365
|
+
* `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.
|
|
366
|
+
*/
|
|
367
|
+
declare const AdminProducerVerificationReasonBodySchema: z.ZodObject<{
|
|
368
|
+
reason: z.ZodString;
|
|
369
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */
|
|
372
|
+
declare const AdminRejectProducerVerificationSchema: z.ZodObject<{
|
|
373
|
+
reason: z.ZodString;
|
|
374
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strip>;
|
|
376
|
+
/** Admin suspends an approved producer (APPROVED → SUSPENDED). */
|
|
377
|
+
declare const AdminSuspendProducerVerificationSchema: z.ZodObject<{
|
|
378
|
+
reason: z.ZodString;
|
|
379
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
380
|
+
}, z.core.$strip>;
|
|
381
|
+
|
|
382
|
+
type AdminApproveProducerVerification = z.infer<typeof AdminApproveProducerVerificationSchema>;
|
|
383
|
+
type AdminProducerVerificationReasonBody = z.infer<typeof AdminProducerVerificationReasonBodySchema>;
|
|
384
|
+
type AdminRejectProducerVerification = z.infer<typeof AdminRejectProducerVerificationSchema>;
|
|
385
|
+
type AdminSuspendProducerVerification = z.infer<typeof AdminSuspendProducerVerificationSchema>;
|
|
386
|
+
|
|
387
|
+
export { type AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, type AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, type AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, type AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, type GetProducerProfileQuery, GetProducerProfileQuerySchema, type ListProducersQuery, ListProducersQuerySchema, type ListProducersResponse, ListProducersResponseSchema, MarketplaceCurrency, type ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, type SubmitProducerForVerification, SubmitProducerForVerificationSchema, type UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, type WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, type WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, type WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema };
|
|
@@ -356,4 +356,32 @@ type WorkspacePortfolioItemInput = z.infer<typeof WorkspacePortfolioItemInputSch
|
|
|
356
356
|
type WorkspaceRateCardItemInput = z.infer<typeof WorkspaceRateCardItemInputSchema>;
|
|
357
357
|
type GetProducerProfileQuery = z.infer<typeof GetProducerProfileQuerySchema>;
|
|
358
358
|
|
|
359
|
-
|
|
359
|
+
/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */
|
|
360
|
+
declare const AdminApproveProducerVerificationSchema: z.ZodObject<{
|
|
361
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, z.core.$strip>;
|
|
363
|
+
/**
|
|
364
|
+
* Shared body for admin actions that require a decision reason.
|
|
365
|
+
* `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.
|
|
366
|
+
*/
|
|
367
|
+
declare const AdminProducerVerificationReasonBodySchema: z.ZodObject<{
|
|
368
|
+
reason: z.ZodString;
|
|
369
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */
|
|
372
|
+
declare const AdminRejectProducerVerificationSchema: z.ZodObject<{
|
|
373
|
+
reason: z.ZodString;
|
|
374
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strip>;
|
|
376
|
+
/** Admin suspends an approved producer (APPROVED → SUSPENDED). */
|
|
377
|
+
declare const AdminSuspendProducerVerificationSchema: z.ZodObject<{
|
|
378
|
+
reason: z.ZodString;
|
|
379
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
380
|
+
}, z.core.$strip>;
|
|
381
|
+
|
|
382
|
+
type AdminApproveProducerVerification = z.infer<typeof AdminApproveProducerVerificationSchema>;
|
|
383
|
+
type AdminProducerVerificationReasonBody = z.infer<typeof AdminProducerVerificationReasonBodySchema>;
|
|
384
|
+
type AdminRejectProducerVerification = z.infer<typeof AdminRejectProducerVerificationSchema>;
|
|
385
|
+
type AdminSuspendProducerVerification = z.infer<typeof AdminSuspendProducerVerificationSchema>;
|
|
386
|
+
|
|
387
|
+
export { type AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, type AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, type AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, type AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, type GetProducerProfileQuery, GetProducerProfileQuerySchema, type ListProducersQuery, ListProducersQuerySchema, type ListProducersResponse, ListProducersResponseSchema, MarketplaceCurrency, type ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, type SubmitProducerForVerification, SubmitProducerForVerificationSchema, type UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, type WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, type WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, type WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk54FMKF33_js=require('../chunk-54FMKF33.js');require('../chunk-W2AXUTIW.js');Object.defineProperty(exports,"AdminApproveProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.r}});Object.defineProperty(exports,"AdminProducerVerificationReasonBodySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.s}});Object.defineProperty(exports,"AdminRejectProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.t}});Object.defineProperty(exports,"AdminSuspendProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.u}});Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunk54FMKF33_js.c}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.q}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunk54FMKF33_js.a}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.n}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunk54FMKF33_js.b}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.p}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.o}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.k}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.l}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.m}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'../chunk-
|
|
1
|
+
export{r as AdminApproveProducerVerificationSchema,s as AdminProducerVerificationReasonBodySchema,t as AdminRejectProducerVerificationSchema,u as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'../chunk-EGUWLSAA.mjs';import'../chunk-EQVYSKSG.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/payment/index.d.mts
CHANGED
|
@@ -33,6 +33,13 @@ declare const PaymentStatus: {
|
|
|
33
33
|
readonly REFUNDED: "REFUNDED";
|
|
34
34
|
};
|
|
35
35
|
type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
|
|
36
|
+
declare const ReplayPurchaseStatus: {
|
|
37
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
38
|
+
readonly ACTIVE: "ACTIVE";
|
|
39
|
+
readonly EXPIRED: "EXPIRED";
|
|
40
|
+
readonly REFUNDED: "REFUNDED";
|
|
41
|
+
};
|
|
42
|
+
type ReplayPurchaseStatus = (typeof ReplayPurchaseStatus)[keyof typeof ReplayPurchaseStatus];
|
|
36
43
|
declare const AccessReason: {
|
|
37
44
|
readonly REGISTERED: "REGISTERED";
|
|
38
45
|
readonly PUBLIC: "PUBLIC";
|
|
@@ -51,6 +58,14 @@ declare const EntitlementStatus: {
|
|
|
51
58
|
readonly CANCELLED: "CANCELLED";
|
|
52
59
|
};
|
|
53
60
|
type EntitlementStatus = (typeof EntitlementStatus)[keyof typeof EntitlementStatus];
|
|
61
|
+
declare const PlatformChargeStatus: {
|
|
62
|
+
readonly PENDING: "PENDING";
|
|
63
|
+
readonly SETTLED: "SETTLED";
|
|
64
|
+
readonly WAIVED: "WAIVED";
|
|
65
|
+
readonly VOIDED: "VOIDED";
|
|
66
|
+
readonly REFUNDED: "REFUNDED";
|
|
67
|
+
};
|
|
68
|
+
type PlatformChargeStatus = (typeof PlatformChargeStatus)[keyof typeof PlatformChargeStatus];
|
|
54
69
|
declare const CtaMode: {
|
|
55
70
|
readonly BUY_TICKET: "BUY_TICKET";
|
|
56
71
|
readonly COMPLETE_PAYMENT: "COMPLETE_PAYMENT";
|
|
@@ -201,6 +216,67 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
|
|
|
201
216
|
requiresAccessCheck: z.ZodOptional<z.ZodBoolean>;
|
|
202
217
|
}, z.core.$strip>;
|
|
203
218
|
}, z.core.$strip>;
|
|
219
|
+
declare const ReceiptUrlResponseSchema: z.ZodObject<{
|
|
220
|
+
url: z.ZodURL;
|
|
221
|
+
expiresAt: z.ZodISODateTime;
|
|
222
|
+
contentType: z.ZodString;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
declare const ReplayPurchasePaymentSchema: z.ZodObject<{
|
|
225
|
+
reference: z.ZodString;
|
|
226
|
+
amount: z.ZodString;
|
|
227
|
+
currency: z.ZodString;
|
|
228
|
+
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
231
|
+
id: z.ZodString;
|
|
232
|
+
eventId: z.ZodString;
|
|
233
|
+
status: z.ZodEnum<{
|
|
234
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
235
|
+
readonly ACTIVE: "ACTIVE";
|
|
236
|
+
readonly EXPIRED: "EXPIRED";
|
|
237
|
+
readonly REFUNDED: "REFUNDED";
|
|
238
|
+
}>;
|
|
239
|
+
source: z.ZodEnum<{
|
|
240
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
241
|
+
readonly ACTIVE: "ACTIVE";
|
|
242
|
+
readonly EXPIRED: "EXPIRED";
|
|
243
|
+
readonly REFUNDED: "REFUNDED";
|
|
244
|
+
}>;
|
|
245
|
+
amount: z.ZodString;
|
|
246
|
+
currency: z.ZodString;
|
|
247
|
+
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
248
|
+
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
249
|
+
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
declare const ReplayPurchaseResponseSchema: z.ZodObject<{
|
|
252
|
+
replayPurchase: z.ZodObject<{
|
|
253
|
+
id: z.ZodString;
|
|
254
|
+
eventId: z.ZodString;
|
|
255
|
+
status: z.ZodEnum<{
|
|
256
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
257
|
+
readonly ACTIVE: "ACTIVE";
|
|
258
|
+
readonly EXPIRED: "EXPIRED";
|
|
259
|
+
readonly REFUNDED: "REFUNDED";
|
|
260
|
+
}>;
|
|
261
|
+
source: z.ZodEnum<{
|
|
262
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
263
|
+
readonly ACTIVE: "ACTIVE";
|
|
264
|
+
readonly EXPIRED: "EXPIRED";
|
|
265
|
+
readonly REFUNDED: "REFUNDED";
|
|
266
|
+
}>;
|
|
267
|
+
amount: z.ZodString;
|
|
268
|
+
currency: z.ZodString;
|
|
269
|
+
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
270
|
+
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
271
|
+
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
payment: z.ZodNullable<z.ZodObject<{
|
|
274
|
+
reference: z.ZodString;
|
|
275
|
+
amount: z.ZodString;
|
|
276
|
+
currency: z.ZodString;
|
|
277
|
+
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
}, z.core.$strip>;
|
|
204
280
|
|
|
205
281
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
206
282
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
@@ -211,5 +287,9 @@ type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
|
|
|
211
287
|
type PaystackWebhook = z.infer<typeof PaystackWebhookSchema>;
|
|
212
288
|
type AccessCheckResponse = z.infer<typeof AccessCheckResponseSchema>;
|
|
213
289
|
type PricingQuoteResponse = z.infer<typeof PricingQuoteResponseSchema>;
|
|
290
|
+
type ReceiptUrlResponse = z.infer<typeof ReceiptUrlResponseSchema>;
|
|
291
|
+
type ReplayPurchasePayment = z.infer<typeof ReplayPurchasePaymentSchema>;
|
|
292
|
+
type ReplayPurchaseRow = z.infer<typeof ReplayPurchaseRowSchema>;
|
|
293
|
+
type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
|
|
214
294
|
|
|
215
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
|
|
295
|
+
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
|
package/dist/payment/index.d.ts
CHANGED
|
@@ -33,6 +33,13 @@ declare const PaymentStatus: {
|
|
|
33
33
|
readonly REFUNDED: "REFUNDED";
|
|
34
34
|
};
|
|
35
35
|
type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
|
|
36
|
+
declare const ReplayPurchaseStatus: {
|
|
37
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
38
|
+
readonly ACTIVE: "ACTIVE";
|
|
39
|
+
readonly EXPIRED: "EXPIRED";
|
|
40
|
+
readonly REFUNDED: "REFUNDED";
|
|
41
|
+
};
|
|
42
|
+
type ReplayPurchaseStatus = (typeof ReplayPurchaseStatus)[keyof typeof ReplayPurchaseStatus];
|
|
36
43
|
declare const AccessReason: {
|
|
37
44
|
readonly REGISTERED: "REGISTERED";
|
|
38
45
|
readonly PUBLIC: "PUBLIC";
|
|
@@ -51,6 +58,14 @@ declare const EntitlementStatus: {
|
|
|
51
58
|
readonly CANCELLED: "CANCELLED";
|
|
52
59
|
};
|
|
53
60
|
type EntitlementStatus = (typeof EntitlementStatus)[keyof typeof EntitlementStatus];
|
|
61
|
+
declare const PlatformChargeStatus: {
|
|
62
|
+
readonly PENDING: "PENDING";
|
|
63
|
+
readonly SETTLED: "SETTLED";
|
|
64
|
+
readonly WAIVED: "WAIVED";
|
|
65
|
+
readonly VOIDED: "VOIDED";
|
|
66
|
+
readonly REFUNDED: "REFUNDED";
|
|
67
|
+
};
|
|
68
|
+
type PlatformChargeStatus = (typeof PlatformChargeStatus)[keyof typeof PlatformChargeStatus];
|
|
54
69
|
declare const CtaMode: {
|
|
55
70
|
readonly BUY_TICKET: "BUY_TICKET";
|
|
56
71
|
readonly COMPLETE_PAYMENT: "COMPLETE_PAYMENT";
|
|
@@ -201,6 +216,67 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
|
|
|
201
216
|
requiresAccessCheck: z.ZodOptional<z.ZodBoolean>;
|
|
202
217
|
}, z.core.$strip>;
|
|
203
218
|
}, z.core.$strip>;
|
|
219
|
+
declare const ReceiptUrlResponseSchema: z.ZodObject<{
|
|
220
|
+
url: z.ZodURL;
|
|
221
|
+
expiresAt: z.ZodISODateTime;
|
|
222
|
+
contentType: z.ZodString;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
declare const ReplayPurchasePaymentSchema: z.ZodObject<{
|
|
225
|
+
reference: z.ZodString;
|
|
226
|
+
amount: z.ZodString;
|
|
227
|
+
currency: z.ZodString;
|
|
228
|
+
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
declare const ReplayPurchaseRowSchema: z.ZodObject<{
|
|
231
|
+
id: z.ZodString;
|
|
232
|
+
eventId: z.ZodString;
|
|
233
|
+
status: z.ZodEnum<{
|
|
234
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
235
|
+
readonly ACTIVE: "ACTIVE";
|
|
236
|
+
readonly EXPIRED: "EXPIRED";
|
|
237
|
+
readonly REFUNDED: "REFUNDED";
|
|
238
|
+
}>;
|
|
239
|
+
source: z.ZodEnum<{
|
|
240
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
241
|
+
readonly ACTIVE: "ACTIVE";
|
|
242
|
+
readonly EXPIRED: "EXPIRED";
|
|
243
|
+
readonly REFUNDED: "REFUNDED";
|
|
244
|
+
}>;
|
|
245
|
+
amount: z.ZodString;
|
|
246
|
+
currency: z.ZodString;
|
|
247
|
+
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
248
|
+
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
249
|
+
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
declare const ReplayPurchaseResponseSchema: z.ZodObject<{
|
|
252
|
+
replayPurchase: z.ZodObject<{
|
|
253
|
+
id: z.ZodString;
|
|
254
|
+
eventId: z.ZodString;
|
|
255
|
+
status: z.ZodEnum<{
|
|
256
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
257
|
+
readonly ACTIVE: "ACTIVE";
|
|
258
|
+
readonly EXPIRED: "EXPIRED";
|
|
259
|
+
readonly REFUNDED: "REFUNDED";
|
|
260
|
+
}>;
|
|
261
|
+
source: z.ZodEnum<{
|
|
262
|
+
readonly PENDING_PAYMENT: "PENDING_PAYMENT";
|
|
263
|
+
readonly ACTIVE: "ACTIVE";
|
|
264
|
+
readonly EXPIRED: "EXPIRED";
|
|
265
|
+
readonly REFUNDED: "REFUNDED";
|
|
266
|
+
}>;
|
|
267
|
+
amount: z.ZodString;
|
|
268
|
+
currency: z.ZodString;
|
|
269
|
+
paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
270
|
+
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
271
|
+
paidAt: z.ZodNullable<z.ZodISODateTime>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
payment: z.ZodNullable<z.ZodObject<{
|
|
274
|
+
reference: z.ZodString;
|
|
275
|
+
amount: z.ZodString;
|
|
276
|
+
currency: z.ZodString;
|
|
277
|
+
checkoutUrl: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
}, z.core.$strip>;
|
|
204
280
|
|
|
205
281
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
206
282
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
@@ -211,5 +287,9 @@ type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
|
|
|
211
287
|
type PaystackWebhook = z.infer<typeof PaystackWebhookSchema>;
|
|
212
288
|
type AccessCheckResponse = z.infer<typeof AccessCheckResponseSchema>;
|
|
213
289
|
type PricingQuoteResponse = z.infer<typeof PricingQuoteResponseSchema>;
|
|
290
|
+
type ReceiptUrlResponse = z.infer<typeof ReceiptUrlResponseSchema>;
|
|
291
|
+
type ReplayPurchasePayment = z.infer<typeof ReplayPurchasePaymentSchema>;
|
|
292
|
+
type ReplayPurchaseRow = z.infer<typeof ReplayPurchaseRowSchema>;
|
|
293
|
+
type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
|
|
214
294
|
|
|
215
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
|
|
295
|
+
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
|
package/dist/payment/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkC3LOLFNN_js=require('../chunk-C3LOLFNN.js');Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.o}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.q}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkC3LOLFNN_js.f}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.m}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkC3LOLFNN_js.i}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.g}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.j}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.k}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.d}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.l}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.c}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.p}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.h}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.r}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.n}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.t}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.u}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.w}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.v}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.e}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkC3LOLFNN_js.a}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.s}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/payment/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{o as AccessCheckRequestSchema,q as AccessCheckResponseSchema,f as AccessReason,m as CreatePurchaseResponseSchema,i as CtaMode,g as EntitlementStatus,j as InitiatePaymentRequestSchema,k as InitiatePaymentResponseSchema,d as PaymentStatus,l as PayoutResponseSchema,c as PayoutStatus,p as PaystackWebhookSchema,h as PlatformChargeStatus,r as PricingQuoteResponseSchema,n as PurchaseStatusResponseSchema,t as ReceiptUrlResponseSchema,u as ReplayPurchasePaymentSchema,w as ReplayPurchaseResponseSchema,v as ReplayPurchaseRowSchema,e as ReplayPurchaseStatus,b as TransactionStatus,a as TransactionType,s as ViewerEventDetailResponseSchema}from'../chunk-MRWDLMMZ.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/user/index.d.mts
CHANGED
|
@@ -30,6 +30,18 @@ declare const AdminScopeCode: {
|
|
|
30
30
|
readonly AUDIT: "AUDIT";
|
|
31
31
|
};
|
|
32
32
|
type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];
|
|
33
|
+
declare const FeedbackCategory: {
|
|
34
|
+
readonly BUG: "BUG";
|
|
35
|
+
readonly IDEA: "IDEA";
|
|
36
|
+
readonly GENERAL: "GENERAL";
|
|
37
|
+
};
|
|
38
|
+
type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];
|
|
39
|
+
declare const NotificationCategory: {
|
|
40
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
41
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
42
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
43
|
+
};
|
|
44
|
+
type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
|
|
33
45
|
declare const ProducerVerificationStatus: {
|
|
34
46
|
readonly PENDING: "PENDING";
|
|
35
47
|
readonly APPROVED: "APPROVED";
|
|
@@ -296,6 +308,64 @@ declare const CreateProducerProfileRequestSchema: z.ZodObject<{
|
|
|
296
308
|
pin: z.ZodString;
|
|
297
309
|
isAvailable: z.ZodBoolean;
|
|
298
310
|
}, z.core.$strip>;
|
|
311
|
+
declare const RESERVED_DISPLAY_NAMES: ReadonlySet<string>;
|
|
312
|
+
/** Handle constraints — see viewer-settings.md §3.1. */
|
|
313
|
+
declare const DisplayNameSchema: z.ZodString;
|
|
314
|
+
declare const UpdateViewerProfileRequestSchema: z.ZodObject<{
|
|
315
|
+
displayName: z.ZodString;
|
|
316
|
+
}, z.core.$strict>;
|
|
317
|
+
declare const UpdateViewerCurrencyRequestSchema: z.ZodObject<{
|
|
318
|
+
preferredCurrency: z.ZodString;
|
|
319
|
+
}, z.core.$strict>;
|
|
320
|
+
declare const NotificationPreferenceItemSchema: z.ZodObject<{
|
|
321
|
+
category: z.ZodEnum<{
|
|
322
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
323
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
324
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
325
|
+
}>;
|
|
326
|
+
enabled: z.ZodBoolean;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
329
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
330
|
+
category: z.ZodEnum<{
|
|
331
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
332
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
333
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
334
|
+
}>;
|
|
335
|
+
enabled: z.ZodBoolean;
|
|
336
|
+
}, z.core.$strip>>;
|
|
337
|
+
}, z.core.$strict>;
|
|
338
|
+
declare const SendFeedbackRequestSchema: z.ZodObject<{
|
|
339
|
+
category: z.ZodEnum<{
|
|
340
|
+
readonly BUG: "BUG";
|
|
341
|
+
readonly IDEA: "IDEA";
|
|
342
|
+
readonly GENERAL: "GENERAL";
|
|
343
|
+
}>;
|
|
344
|
+
message: z.ZodString;
|
|
345
|
+
}, z.core.$strict>;
|
|
346
|
+
declare const ViewerMeResponseSchema: z.ZodObject<{
|
|
347
|
+
id: z.ZodUUID;
|
|
348
|
+
email: z.ZodEmail;
|
|
349
|
+
emailVerified: z.ZodBoolean;
|
|
350
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
351
|
+
avatarUrl: z.ZodNullable<z.ZodURL>;
|
|
352
|
+
roles: z.ZodNumber;
|
|
353
|
+
preferredCurrency: z.ZodString;
|
|
354
|
+
notificationsEnabledCount: z.ZodNumber;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
declare const NotificationPreferencesResponseSchema: z.ZodObject<{
|
|
357
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
358
|
+
category: z.ZodEnum<{
|
|
359
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
360
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
361
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
362
|
+
}>;
|
|
363
|
+
enabled: z.ZodBoolean;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
}, z.core.$strip>;
|
|
366
|
+
declare const SendFeedbackResponseSchema: z.ZodObject<{
|
|
367
|
+
id: z.ZodUUID;
|
|
368
|
+
}, z.core.$strip>;
|
|
299
369
|
|
|
300
370
|
type UserResponse = z.infer<typeof UserResponseSchema>;
|
|
301
371
|
type UpdateUserRequest = z.infer<typeof UpdateUserRequestSchema>;
|
|
@@ -303,5 +373,14 @@ type CreateHostProfileRequest = z.infer<typeof CreateHostProfileRequestSchema>;
|
|
|
303
373
|
type HostProfileResponse = z.infer<typeof HostProfileResponseSchema>;
|
|
304
374
|
type CreateProducerProfileRequest = z.infer<typeof CreateProducerProfileRequestSchema>;
|
|
305
375
|
type ProducerProfileResponse = z.infer<typeof ProducerProfileResponseSchema>;
|
|
376
|
+
type DisplayName = z.infer<typeof DisplayNameSchema>;
|
|
377
|
+
type UpdateViewerProfileRequest = z.infer<typeof UpdateViewerProfileRequestSchema>;
|
|
378
|
+
type UpdateViewerCurrencyRequest = z.infer<typeof UpdateViewerCurrencyRequestSchema>;
|
|
379
|
+
type NotificationPreferenceItem = z.infer<typeof NotificationPreferenceItemSchema>;
|
|
380
|
+
type SendFeedbackRequest = z.infer<typeof SendFeedbackRequestSchema>;
|
|
381
|
+
type SendFeedbackResponse = z.infer<typeof SendFeedbackResponseSchema>;
|
|
382
|
+
type ViewerMeResponse = z.infer<typeof ViewerMeResponseSchema>;
|
|
383
|
+
type NotificationPreferencesResponse = z.infer<typeof NotificationPreferencesResponseSchema>;
|
|
384
|
+
type UpdateNotificationPreferencesRequest = z.infer<typeof UpdateNotificationPreferencesRequestSchema>;
|
|
306
385
|
|
|
307
|
-
export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, type UpdateUserRequest, UpdateUserRequestSchema, type UserResponse, UserResponseSchema, UserRole };
|
|
386
|
+
export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type DisplayName, DisplayNameSchema, FeedbackCategory, type HostProfileResponse, HostProfileResponseSchema, KycStatus, NotificationCategory, type NotificationPreferenceItem, NotificationPreferenceItemSchema, type NotificationPreferencesResponse, NotificationPreferencesResponseSchema, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, RESERVED_DISPLAY_NAMES, type SendFeedbackRequest, SendFeedbackRequestSchema, type SendFeedbackResponse, SendFeedbackResponseSchema, type UpdateNotificationPreferencesRequest, UpdateNotificationPreferencesRequestSchema, type UpdateUserRequest, UpdateUserRequestSchema, type UpdateViewerCurrencyRequest, UpdateViewerCurrencyRequestSchema, type UpdateViewerProfileRequest, UpdateViewerProfileRequestSchema, type UserResponse, UserResponseSchema, UserRole, type ViewerMeResponse, ViewerMeResponseSchema };
|
package/dist/user/index.d.ts
CHANGED
|
@@ -30,6 +30,18 @@ declare const AdminScopeCode: {
|
|
|
30
30
|
readonly AUDIT: "AUDIT";
|
|
31
31
|
};
|
|
32
32
|
type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];
|
|
33
|
+
declare const FeedbackCategory: {
|
|
34
|
+
readonly BUG: "BUG";
|
|
35
|
+
readonly IDEA: "IDEA";
|
|
36
|
+
readonly GENERAL: "GENERAL";
|
|
37
|
+
};
|
|
38
|
+
type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];
|
|
39
|
+
declare const NotificationCategory: {
|
|
40
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
41
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
42
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
43
|
+
};
|
|
44
|
+
type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
|
|
33
45
|
declare const ProducerVerificationStatus: {
|
|
34
46
|
readonly PENDING: "PENDING";
|
|
35
47
|
readonly APPROVED: "APPROVED";
|
|
@@ -296,6 +308,64 @@ declare const CreateProducerProfileRequestSchema: z.ZodObject<{
|
|
|
296
308
|
pin: z.ZodString;
|
|
297
309
|
isAvailable: z.ZodBoolean;
|
|
298
310
|
}, z.core.$strip>;
|
|
311
|
+
declare const RESERVED_DISPLAY_NAMES: ReadonlySet<string>;
|
|
312
|
+
/** Handle constraints — see viewer-settings.md §3.1. */
|
|
313
|
+
declare const DisplayNameSchema: z.ZodString;
|
|
314
|
+
declare const UpdateViewerProfileRequestSchema: z.ZodObject<{
|
|
315
|
+
displayName: z.ZodString;
|
|
316
|
+
}, z.core.$strict>;
|
|
317
|
+
declare const UpdateViewerCurrencyRequestSchema: z.ZodObject<{
|
|
318
|
+
preferredCurrency: z.ZodString;
|
|
319
|
+
}, z.core.$strict>;
|
|
320
|
+
declare const NotificationPreferenceItemSchema: z.ZodObject<{
|
|
321
|
+
category: z.ZodEnum<{
|
|
322
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
323
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
324
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
325
|
+
}>;
|
|
326
|
+
enabled: z.ZodBoolean;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
329
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
330
|
+
category: z.ZodEnum<{
|
|
331
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
332
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
333
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
334
|
+
}>;
|
|
335
|
+
enabled: z.ZodBoolean;
|
|
336
|
+
}, z.core.$strip>>;
|
|
337
|
+
}, z.core.$strict>;
|
|
338
|
+
declare const SendFeedbackRequestSchema: z.ZodObject<{
|
|
339
|
+
category: z.ZodEnum<{
|
|
340
|
+
readonly BUG: "BUG";
|
|
341
|
+
readonly IDEA: "IDEA";
|
|
342
|
+
readonly GENERAL: "GENERAL";
|
|
343
|
+
}>;
|
|
344
|
+
message: z.ZodString;
|
|
345
|
+
}, z.core.$strict>;
|
|
346
|
+
declare const ViewerMeResponseSchema: z.ZodObject<{
|
|
347
|
+
id: z.ZodUUID;
|
|
348
|
+
email: z.ZodEmail;
|
|
349
|
+
emailVerified: z.ZodBoolean;
|
|
350
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
351
|
+
avatarUrl: z.ZodNullable<z.ZodURL>;
|
|
352
|
+
roles: z.ZodNumber;
|
|
353
|
+
preferredCurrency: z.ZodString;
|
|
354
|
+
notificationsEnabledCount: z.ZodNumber;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
declare const NotificationPreferencesResponseSchema: z.ZodObject<{
|
|
357
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
358
|
+
category: z.ZodEnum<{
|
|
359
|
+
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
360
|
+
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
361
|
+
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
362
|
+
}>;
|
|
363
|
+
enabled: z.ZodBoolean;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
}, z.core.$strip>;
|
|
366
|
+
declare const SendFeedbackResponseSchema: z.ZodObject<{
|
|
367
|
+
id: z.ZodUUID;
|
|
368
|
+
}, z.core.$strip>;
|
|
299
369
|
|
|
300
370
|
type UserResponse = z.infer<typeof UserResponseSchema>;
|
|
301
371
|
type UpdateUserRequest = z.infer<typeof UpdateUserRequestSchema>;
|
|
@@ -303,5 +373,14 @@ type CreateHostProfileRequest = z.infer<typeof CreateHostProfileRequestSchema>;
|
|
|
303
373
|
type HostProfileResponse = z.infer<typeof HostProfileResponseSchema>;
|
|
304
374
|
type CreateProducerProfileRequest = z.infer<typeof CreateProducerProfileRequestSchema>;
|
|
305
375
|
type ProducerProfileResponse = z.infer<typeof ProducerProfileResponseSchema>;
|
|
376
|
+
type DisplayName = z.infer<typeof DisplayNameSchema>;
|
|
377
|
+
type UpdateViewerProfileRequest = z.infer<typeof UpdateViewerProfileRequestSchema>;
|
|
378
|
+
type UpdateViewerCurrencyRequest = z.infer<typeof UpdateViewerCurrencyRequestSchema>;
|
|
379
|
+
type NotificationPreferenceItem = z.infer<typeof NotificationPreferenceItemSchema>;
|
|
380
|
+
type SendFeedbackRequest = z.infer<typeof SendFeedbackRequestSchema>;
|
|
381
|
+
type SendFeedbackResponse = z.infer<typeof SendFeedbackResponseSchema>;
|
|
382
|
+
type ViewerMeResponse = z.infer<typeof ViewerMeResponseSchema>;
|
|
383
|
+
type NotificationPreferencesResponse = z.infer<typeof NotificationPreferencesResponseSchema>;
|
|
384
|
+
type UpdateNotificationPreferencesRequest = z.infer<typeof UpdateNotificationPreferencesRequestSchema>;
|
|
306
385
|
|
|
307
|
-
export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, type UpdateUserRequest, UpdateUserRequestSchema, type UserResponse, UserResponseSchema, UserRole };
|
|
386
|
+
export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type DisplayName, DisplayNameSchema, FeedbackCategory, type HostProfileResponse, HostProfileResponseSchema, KycStatus, NotificationCategory, type NotificationPreferenceItem, NotificationPreferenceItemSchema, type NotificationPreferencesResponse, NotificationPreferencesResponseSchema, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, RESERVED_DISPLAY_NAMES, type SendFeedbackRequest, SendFeedbackRequestSchema, type SendFeedbackResponse, SendFeedbackResponseSchema, type UpdateNotificationPreferencesRequest, UpdateNotificationPreferencesRequestSchema, type UpdateUserRequest, UpdateUserRequestSchema, type UpdateViewerCurrencyRequest, UpdateViewerCurrencyRequestSchema, type UpdateViewerProfileRequest, UpdateViewerProfileRequestSchema, type UserResponse, UserResponseSchema, UserRole, type ViewerMeResponse, ViewerMeResponseSchema };
|
package/dist/user/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk2TQ3BI34_js=require('../chunk-2TQ3BI34.js'),chunkW2AXUTIW_js=require('../chunk-W2AXUTIW.js');require('../chunk-VRSJMPBY.js');Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.f}});Object.defineProperty(exports,"DisplayNameSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.h}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.a}});Object.defineProperty(exports,"NotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.k}});Object.defineProperty(exports,"NotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.o}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.b}});Object.defineProperty(exports,"RESERVED_DISPLAY_NAMES",{enumerable:true,get:function(){return chunk2TQ3BI34_js.g}});Object.defineProperty(exports,"SendFeedbackRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.m}});Object.defineProperty(exports,"SendFeedbackResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.p}});Object.defineProperty(exports,"UpdateNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.l}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.d}});Object.defineProperty(exports,"UpdateViewerCurrencyRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.j}});Object.defineProperty(exports,"UpdateViewerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.i}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.c}});Object.defineProperty(exports,"ViewerMeResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.n}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkW2AXUTIW_js.d}});Object.defineProperty(exports,"FeedbackCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.e}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.c}});Object.defineProperty(exports,"NotificationCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.f}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkW2AXUTIW_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.g}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkW2AXUTIW_js.a}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/user/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,a as HostProfileResponseSchema,b as ProducerProfileResponseSchema,d as UpdateUserRequestSchema,c as UserResponseSchema}from'../chunk-
|
|
1
|
+
export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,h as DisplayNameSchema,a as HostProfileResponseSchema,k as NotificationPreferenceItemSchema,o as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,g as RESERVED_DISPLAY_NAMES,m as SendFeedbackRequestSchema,p as SendFeedbackResponseSchema,l as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,j as UpdateViewerCurrencyRequestSchema,i as UpdateViewerProfileRequestSchema,c as UserResponseSchema,n as ViewerMeResponseSchema}from'../chunk-XUOMVQVQ.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'../chunk-EQVYSKSG.mjs';import'../chunk-EJCFJL2F.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
package/dist/chunk-2N4M7ZID.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {z}from'zod';var a={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},n={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},y={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},i={DRAFT:"DRAFT",SCHEDULED:"SCHEDULED",READY_FOR_TEST:"READY_FOR_TEST",LIVE:"LIVE",ENDED:"ENDED",REPLAY_READY:"REPLAY_READY",ARCHIVED:"ARCHIVED",CANCELLED:"CANCELLED",FAILED:"FAILED"},o={ART:"ART",TECHNOLOGY:"TECHNOLOGY",SCIENCE:"SCIENCE",TRAVEL:"TRAVEL",HISTORY:"HISTORY",LITERATURE:"LITERATURE",COOKING:"COOKING",FITNESS:"FITNESS",PHOTOGRAPHY:"PHOTOGRAPHY",GARDENING:"GARDENING",EDUCATION:"EDUCATION",FASHION:"FASHION",MOVIES:"MOVIES",SPORTS:"SPORTS",POLITICS:"POLITICS",HEALTH:"HEALTH",GAMING:"GAMING",FINANCE:"FINANCE",NATURE:"NATURE",CONCERT:"CONCERT",FESTIVAL:"FESTIVAL",WEDDING:"WEDDING",CORPORATE:"CORPORATE",RELIGIOUS:"RELIGIOUS",OTHER:"OTHER"},s={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},A={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},E={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},r={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"};var c=50,l=20,p=z.object({title:z.string().max(120),description:z.string().max(2e3),category:z.enum(o),scheduledStartAt:z.iso.datetime(),scheduledEndAt:z.iso.datetime(),venueLocation:z.string(),visibility:z.enum(a),accessModel:z.enum(n),ticketPrice:z.number().min(0).optional(),maxTickets:z.number().min(1).optional(),timezone:z.string().default("Africa/Lagos"),replayEnabled:z.boolean().default(true),retentionDays:z.number().default(30),tags:z.array(z.string()).optional(),geoRestrictions:z.record(z.string(),z.any()).optional()}),T=p.partial(),g=z.object({id:z.uuid(),title:z.string(),description:z.string(),category:z.enum(o),coverImageUrl:z.url().optional(),venueLocation:z.string(),scheduledStartAt:z.iso.datetime(),scheduledEndAt:z.iso.datetime(),timezone:z.string(),visibility:z.enum(a),accessModel:z.enum(n),ticketPrice:z.number(),currency:z.string(),maxTickets:z.number().optional(),eventState:z.enum(i),shareableUrl:z.url(),hostId:z.uuid(),isFeatured:z.boolean(),replayEnabled:z.boolean(),replayAvailableUntil:z.iso.datetime().optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime(),publishedAt:z.iso.datetime().optional(),liveStartedAt:z.iso.datetime().optional(),liveEndedAt:z.iso.datetime().optional()}),t=z.object({id:z.uuid(),title:z.string(),coverImageUrl:z.string().nullable(),category:z.enum(o),scheduledStart:z.iso.datetime(),scheduledEnd:z.iso.datetime(),state:z.enum(i),accessModel:z.enum(n),ticketPrice:z.string().nullable(),currency:z.string(),isFeatured:z.boolean(),hostDisplayName:z.string().nullable(),viewerCount:z.number().int().min(0),viewer:z.object({registration:z.enum(E),progressPct:z.number().min(0).max(100).optional(),canResume:z.boolean().optional()})}),N=z.object({continueWatching:z.array(t),liveNow:z.array(t),featured:t.nullable(),upcoming:z.array(t),recommended:z.array(t)}),m=z.object({cursor:z.string().optional(),limit:z.coerce.number().int().min(1).max(c).default(l)}),v=m.extend({q:z.string().trim().min(1).max(120).optional(),category:z.enum(o).optional(),state:z.enum(i).optional()}),x=z.object({items:z.array(t),nextCursor:z.string().nullable()}),C=z.object({registration:z.object({id:z.uuid(),eventId:z.uuid(),status:z.enum(s),expiresAt:z.iso.datetime().nullable()}),paymentIntent:z.object({reference:z.string(),amount:z.string(),currency:z.string(),checkoutUrl:z.url().optional()}).nullable()}),D=z.object({positionSec:z.number().int().min(0).max(1440*60),durationSec:z.number().int().min(1).optional()}),u=z.object({kind:z.literal("LIVE"),playbackUrl:z.url(),token:z.string(),expiresAt:z.iso.datetime()}),S=z.object({kind:z.literal("REPLAY"),playbackUrl:z.url(),expiresAt:z.iso.datetime()}),P=z.discriminatedUnion("kind",[u,S]),d=t.extend({startsInSec:z.number().int().optional(),liveViewerCount:z.number().int().min(0).optional(),liveStartedAt:z.iso.datetime().nullable().optional(),replayAvailableUntil:z.iso.datetime().nullable().optional(),replayDurationSec:z.number().int().min(0).nullable().optional(),watchedPct:z.number().min(0).max(100).optional(),hasWatched:z.boolean().optional()}),L=z.object({tab:z.enum(r),items:z.array(d),nextCursor:z.string().nullable()}),O=z.object({tab:z.enum(r),cursor:z.string().optional(),limit:z.coerce.number().int().min(1).max(c).default(l)}),V=z.object({sessionId:z.string()}),h=z.object({ok:z.literal(true)}),f=z.object({durationSec:z.number().int().min(0)});export{h as A,f as B,a,n as b,y as c,i as d,o as e,s as f,A as g,E as h,r as i,p as j,T as k,g as l,t as m,N as n,m as o,v as p,x as q,C as r,D as s,u as t,S as u,P as v,d as w,L as x,O as y,V as z};//# sourceMappingURL=chunk-2N4M7ZID.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-2N4M7ZID.mjs.map
|