@livdot-tech/contracts 1.3.2 → 1.4.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/chunk-RXQ2VPMW.js +2 -0
- package/dist/chunk-RXQ2VPMW.js.map +1 -0
- package/dist/chunk-U36JHPMK.mjs +2 -0
- package/dist/chunk-U36JHPMK.mjs.map +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/marketplace/index.d.mts +198 -0
- package/dist/marketplace/index.d.ts +198 -0
- package/dist/marketplace/index.js +2 -0
- package/dist/marketplace/index.js.map +1 -0
- package/dist/marketplace/index.mjs +2 -0
- package/dist/marketplace/index.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var zod=require('zod');var t={NGN:"NGN"},r={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},o={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var i=50,a=20,d=zod.z.object({category:zod.z.enum(r).optional(),location:zod.z.string().optional(),minRate:zod.z.coerce.number().int().min(0).optional(),maxRate:zod.z.coerce.number().int().min(0).optional(),availabilityDate:zod.z.string().optional(),limit:zod.z.coerce.number().int().min(1).max(i).default(a),cursor:zod.z.string().max(2048).optional()}),n=zod.z.object({id:zod.z.uuid(),name:zod.z.string(),category:zod.z.enum(o),notes:zod.z.string().nullable()}),c=zod.z.object({code:zod.z.string(),label:zod.z.string()}),l=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),mediaUrl:zod.z.url().nullable(),externalUrl:zod.z.url().nullable(),createdAt:zod.z.iso.datetime()}),s=zod.z.object({id:zod.z.uuid(),label:zod.z.string(),amount:zod.z.string(),currency:zod.z.enum(t),notes:zod.z.string().nullable()}),u=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string().nullable(),bio:zod.z.string().nullable(),yearsExperience:zod.z.number().int().nullable(),serviceAreas:zod.z.array(zod.z.string()),maxDistanceKm:zod.z.number().int().nullable(),isAvailable:zod.z.boolean(),averageRating:zod.z.string(),totalReviews:zod.z.number().int(),completionRate:zod.z.string(),equipmentManifest:zod.z.array(n),categories:zod.z.array(c),portfolio:zod.z.array(l),rateCard:zod.z.array(s),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime()}),y=zod.z.object({producers:zod.z.array(u),nextCursor:zod.z.uuid().nullable()});exports.a=t;exports.b=r;exports.c=o;exports.d=d;exports.e=n;exports.f=c;exports.g=l;exports.h=s;exports.i=u;exports.j=y;//# sourceMappingURL=chunk-RXQ2VPMW.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-RXQ2VPMW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","MARKETPLACE_MAX_PAGE_SIZE","MARKETPLACE_DEFAULT_PAGE_SIZE","ListProducersQuerySchema","z","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","ListProducersResponseSchema"],"mappings":"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","file":"chunk-RXQ2VPMW.js","sourcesContent":["/** ISO 4217 codes supported on marketplace rate cards. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency, ServiceCategoryCode } from './marketplace.enums';\n\nconst MARKETPLACE_MAX_PAGE_SIZE = 50;\nconst MARKETPLACE_DEFAULT_PAGE_SIZE = 20;\n\n/**\n * Query params for `GET /marketplace/producers`.\n * Pagination: `cursor` is the bare `ProducerProfile.id` from the prior page's\n * `nextCursor` (ordering is `createdAt DESC`, then `id DESC`).\n */\nexport const ListProducersQuerySchema = z.object({\n category: z.enum(ServiceCategoryCode).optional(),\n location: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n limit: z.coerce\n .number()\n .int()\n .min(1)\n .max(MARKETPLACE_MAX_PAGE_SIZE)\n .default(MARKETPLACE_DEFAULT_PAGE_SIZE),\n cursor: z.string().max(2048).optional(),\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n code: z.string(),\n label: z.string(),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n serviceAreas: z.array(z.string()),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n categories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const ListProducersResponseSchema = z.object({\n producers: z.array(PublicProducerListItemSchema),\n nextCursor: z.uuid().nullable(),\n});\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {z}from'zod';var t={NGN:"NGN"},r={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},o={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var i=50,a=20,d=z.object({category:z.enum(r).optional(),location:z.string().optional(),minRate:z.coerce.number().int().min(0).optional(),maxRate:z.coerce.number().int().min(0).optional(),availabilityDate:z.string().optional(),limit:z.coerce.number().int().min(1).max(i).default(a),cursor:z.string().max(2048).optional()}),n=z.object({id:z.uuid(),name:z.string(),category:z.enum(o),notes:z.string().nullable()}),c=z.object({code:z.string(),label:z.string()}),l=z.object({id:z.uuid(),title:z.string(),description:z.string().nullable(),mediaUrl:z.url().nullable(),externalUrl:z.url().nullable(),createdAt:z.iso.datetime()}),s=z.object({id:z.uuid(),label:z.string(),amount:z.string(),currency:z.enum(t),notes:z.string().nullable()}),u=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string().nullable(),bio:z.string().nullable(),yearsExperience:z.number().int().nullable(),serviceAreas:z.array(z.string()),maxDistanceKm:z.number().int().nullable(),isAvailable:z.boolean(),averageRating:z.string(),totalReviews:z.number().int(),completionRate:z.string(),equipmentManifest:z.array(n),categories:z.array(c),portfolio:z.array(l),rateCard:z.array(s),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}),y=z.object({producers:z.array(u),nextCursor:z.uuid().nullable()});export{t as a,r as b,o as c,d,n as e,c as f,l as g,s as h,u as i,y as j};//# sourceMappingURL=chunk-U36JHPMK.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-U36JHPMK.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","MARKETPLACE_MAX_PAGE_SIZE","MARKETPLACE_DEFAULT_PAGE_SIZE","ListProducersQuerySchema","z","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","ListProducersResponseSchema"],"mappings":"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","file":"chunk-U36JHPMK.mjs","sourcesContent":["/** ISO 4217 codes supported on marketplace rate cards. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency, ServiceCategoryCode } from './marketplace.enums';\n\nconst MARKETPLACE_MAX_PAGE_SIZE = 50;\nconst MARKETPLACE_DEFAULT_PAGE_SIZE = 20;\n\n/**\n * Query params for `GET /marketplace/producers`.\n * Pagination: `cursor` is the bare `ProducerProfile.id` from the prior page's\n * `nextCursor` (ordering is `createdAt DESC`, then `id DESC`).\n */\nexport const ListProducersQuerySchema = z.object({\n category: z.enum(ServiceCategoryCode).optional(),\n location: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n limit: z.coerce\n .number()\n .int()\n .min(1)\n .max(MARKETPLACE_MAX_PAGE_SIZE)\n .default(MARKETPLACE_DEFAULT_PAGE_SIZE),\n cursor: z.string().max(2048).optional(),\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n code: z.string(),\n label: z.string(),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n serviceAreas: z.array(z.string()),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n categories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const ListProducersResponseSchema = z.object({\n producers: z.array(PublicProducerListItemSchema),\n nextCursor: z.uuid().nullable(),\n});\n"]}
|
package/dist/index.d.mts
CHANGED
|
@@ -5,6 +5,7 @@ export { CreateEventRequest, CreateEventRequestSchema, EndViewingSessionResponse
|
|
|
5
5
|
export { BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.mjs';
|
|
6
6
|
export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.mjs';
|
|
7
7
|
export { InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PayoutResponse, PayoutResponseSchema, PayoutStatus, TransactionStatus, TransactionType } from './payment/index.mjs';
|
|
8
|
+
export { EquipmentCategory, ListProducersQuery, ListProducersQuerySchema, ListProducersResponse, ListProducersResponseSchema, MarketplaceCurrency, PublicProducerListCategory, PublicProducerListCategorySchema, PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, PublicProducerListItem, PublicProducerListItemSchema, PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode } from './marketplace/index.mjs';
|
|
8
9
|
export { DisputeResponse, DisputeResponseSchema, DisputeStatus, DisputeType } from './dispute/index.mjs';
|
|
9
10
|
export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType } from './notification/index.mjs';
|
|
10
11
|
export { JobInterestState } from './joblisting/index.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { CreateEventRequest, CreateEventRequestSchema, EndViewingSessionResponse
|
|
|
5
5
|
export { BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.js';
|
|
6
6
|
export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.js';
|
|
7
7
|
export { InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PayoutResponse, PayoutResponseSchema, PayoutStatus, TransactionStatus, TransactionType } from './payment/index.js';
|
|
8
|
+
export { EquipmentCategory, ListProducersQuery, ListProducersQuerySchema, ListProducersResponse, ListProducersResponseSchema, MarketplaceCurrency, PublicProducerListCategory, PublicProducerListCategorySchema, PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, PublicProducerListItem, PublicProducerListItemSchema, PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode } from './marketplace/index.js';
|
|
8
9
|
export { DisputeResponse, DisputeResponseSchema, DisputeStatus, DisputeType } from './dispute/index.js';
|
|
9
10
|
export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType } from './notification/index.js';
|
|
10
11
|
export { JobInterestState } from './joblisting/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunk4YYJEPT6_js=require('./chunk-4YYJEPT6.js'),chunkDAQYQHNR_js=require('./chunk-DAQYQHNR.js'),chunkC7FWAE4X_js=require('./chunk-C7FWAE4X.js'),chunk26JAML7N_js=require('./chunk-26JAML7N.js'),chunkUNCRGZ3F_js=require('./chunk-UNCRGZ3F.js'),chunkVPAZHULG_js=require('./chunk-VPAZHULG.js'),chunkGKYB3J5L_js=require('./chunk-GKYB3J5L.js'),chunkZOBM5OSW_js=require('./chunk-ZOBM5OSW.js'),chunkJT7SH43N_js=require('./chunk-JT7SH43N.js'),chunkI62TAYOH_js=require('./chunk-I62TAYOH.js'),chunkUZZ46ZPG_js=require('./chunk-UZZ46ZPG.js');Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.d}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.e}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.f}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.c}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkDAQYQHNR_js.a}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.f}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.d}});Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.k}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.l}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.g}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.c}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.f}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.e}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.j}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.i}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.a}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkVPAZHULG_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkVPAZHULG_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.i}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkVPAZHULG_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.c}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.k}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkJT7SH43N_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.j}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.z}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkI62TAYOH_js.b}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkI62TAYOH_js.c}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.m}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkI62TAYOH_js.e}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.l}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkI62TAYOH_js.d}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkI62TAYOH_js.a}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.u}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.w}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.v}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.i}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.q}});Object.defineProperty(exports,"PaginationCursorSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.o}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.t}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.r}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkI62TAYOH_js.g}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkI62TAYOH_js.f}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.p}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.x}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.k}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.s}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.n}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkI62TAYOH_js.h}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.y}});Object.defineProperty(exports,"JobInterestState",{enumerable:true,get:function(){return chunkUZZ46ZPG_js.a}});//# sourceMappingURL=index.js.map
|
|
1
|
+
'use strict';var chunkRXQ2VPMW_js=require('./chunk-RXQ2VPMW.js'),chunk4YYJEPT6_js=require('./chunk-4YYJEPT6.js'),chunkC7FWAE4X_js=require('./chunk-C7FWAE4X.js'),chunkDAQYQHNR_js=require('./chunk-DAQYQHNR.js'),chunk26JAML7N_js=require('./chunk-26JAML7N.js'),chunkUNCRGZ3F_js=require('./chunk-UNCRGZ3F.js'),chunkVPAZHULG_js=require('./chunk-VPAZHULG.js'),chunkGKYB3J5L_js=require('./chunk-GKYB3J5L.js'),chunkZOBM5OSW_js=require('./chunk-ZOBM5OSW.js'),chunkJT7SH43N_js=require('./chunk-JT7SH43N.js'),chunkI62TAYOH_js=require('./chunk-I62TAYOH.js'),chunkUZZ46ZPG_js=require('./chunk-UZZ46ZPG.js');Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.c}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.a}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.b}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.d}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.e}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.f}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.c}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkDAQYQHNR_js.a}});Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.f}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.d}});Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.k}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.l}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.g}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.c}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.f}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.e}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.j}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.i}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkUNCRGZ3F_js.a}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkVPAZHULG_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkVPAZHULG_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.i}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkVPAZHULG_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.c}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.k}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkJT7SH43N_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.j}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.z}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkI62TAYOH_js.b}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkI62TAYOH_js.c}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.m}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkI62TAYOH_js.e}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.l}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkI62TAYOH_js.d}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkI62TAYOH_js.a}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.u}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.w}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.v}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.i}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.q}});Object.defineProperty(exports,"PaginationCursorSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.o}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.t}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.r}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkI62TAYOH_js.g}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkI62TAYOH_js.f}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.p}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.x}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.k}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.s}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.n}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkI62TAYOH_js.h}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkI62TAYOH_js.y}});Object.defineProperty(exports,"JobInterestState",{enumerable:true,get:function(){return chunkUZZ46ZPG_js.a}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-SA4F4CDG.mjs';export{d as
|
|
1
|
+
export{c as EquipmentCategory,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode}from'./chunk-U36JHPMK.mjs';export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-SA4F4CDG.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{d as InitiatePaymentRequestSchema,e as InitiatePaymentResponseSchema,f as PayoutResponseSchema,c as PayoutStatus,b as TransactionStatus,a as TransactionType}from'./chunk-ZWWSPLKF.mjs';export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'./chunk-HKU2VYQL.mjs';export{b as AccountStatus,d as AdminScopeCode,k as CreateHostProfileRequestSchema,l as CreateProducerProfileRequestSchema,g as HostProfileResponseSchema,c as KycStatus,f as ProducerExperienceLevel,h as ProducerProfileResponseSchema,e as ProducerVerificationStatus,j as UpdateUserRequestSchema,i as UserResponseSchema,a as UserRole}from'./chunk-JY2QSZFF.mjs';export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,k as SubmitIndicationOfInterestRequestSchema}from'./chunk-SOOB6WM6.mjs';export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'./chunk-FE3AMYQL.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{a as ApiErrorCode}from'./chunk-FSQX27QM.mjs';export{j as CreateEventRequestSchema,z as EndViewingSessionResponseSchema,b as EventAccessModel,c as EventAllowListType,m as EventCardSchema,e as EventCategory,l as EventResponseSchema,d as EventState,a as EventVisibility,u as MyEventCardSchema,w as MyEventsQuerySchema,v as MyEventsResponseSchema,i as MyEventsTabSchema,q as PagedEventsResponseSchema,o as PaginationCursorSchema,t as PlaybackResponseSchema,r as RegisterForEventResponseSchema,g as RegistrationScope,f as RegistrationStatus,p as SearchEventsQuerySchema,x as StartViewingSessionResponseSchema,k as UpdateEventRequestSchema,s as UpdateWatchProgressRequestSchema,n as ViewerHomeResponseSchema,h as ViewerRegistrationView,y as ViewingSessionHeartbeatResponseSchema}from'./chunk-2HCYHD66.mjs';export{a as JobInterestState}from'./chunk-Y5QIEJG2.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/** ISO 4217 codes supported on marketplace rate cards. */
|
|
4
|
+
declare const MarketplaceCurrency: {
|
|
5
|
+
readonly NGN: "NGN";
|
|
6
|
+
};
|
|
7
|
+
type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];
|
|
8
|
+
/**
|
|
9
|
+
* Known service category codes for producer capability filters.
|
|
10
|
+
* Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.
|
|
11
|
+
*/
|
|
12
|
+
declare const ServiceCategoryCode: {
|
|
13
|
+
readonly SOUND: "sound";
|
|
14
|
+
readonly LIGHTING: "lighting";
|
|
15
|
+
readonly VIDEO: "video";
|
|
16
|
+
readonly STAGING: "staging";
|
|
17
|
+
readonly AV: "av";
|
|
18
|
+
readonly LOGISTICS: "logistics";
|
|
19
|
+
};
|
|
20
|
+
type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];
|
|
21
|
+
/** Equipment manifest categories on public producer listings. */
|
|
22
|
+
declare const EquipmentCategory: {
|
|
23
|
+
readonly AUDIO: "audio";
|
|
24
|
+
readonly VIDEO: "video";
|
|
25
|
+
readonly LIGHTING: "lighting";
|
|
26
|
+
readonly STAGING: "staging";
|
|
27
|
+
readonly POWER: "power";
|
|
28
|
+
readonly OTHER: "other";
|
|
29
|
+
};
|
|
30
|
+
type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Query params for `GET /marketplace/producers`.
|
|
34
|
+
* Pagination: `cursor` is the bare `ProducerProfile.id` from the prior page's
|
|
35
|
+
* `nextCursor` (ordering is `createdAt DESC`, then `id DESC`).
|
|
36
|
+
*/
|
|
37
|
+
declare const ListProducersQuerySchema: z.ZodObject<{
|
|
38
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
readonly SOUND: "sound";
|
|
40
|
+
readonly LIGHTING: "lighting";
|
|
41
|
+
readonly VIDEO: "video";
|
|
42
|
+
readonly STAGING: "staging";
|
|
43
|
+
readonly AV: "av";
|
|
44
|
+
readonly LOGISTICS: "logistics";
|
|
45
|
+
}>>;
|
|
46
|
+
location: z.ZodOptional<z.ZodString>;
|
|
47
|
+
minRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
48
|
+
maxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
49
|
+
availabilityDate: z.ZodOptional<z.ZodString>;
|
|
50
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
51
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
declare const PublicProducerListEquipmentItemSchema: z.ZodObject<{
|
|
54
|
+
id: z.ZodUUID;
|
|
55
|
+
name: z.ZodString;
|
|
56
|
+
category: z.ZodEnum<{
|
|
57
|
+
readonly AUDIO: "audio";
|
|
58
|
+
readonly VIDEO: "video";
|
|
59
|
+
readonly LIGHTING: "lighting";
|
|
60
|
+
readonly STAGING: "staging";
|
|
61
|
+
readonly POWER: "power";
|
|
62
|
+
readonly OTHER: "other";
|
|
63
|
+
}>;
|
|
64
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
declare const PublicProducerListCategorySchema: z.ZodObject<{
|
|
67
|
+
code: z.ZodString;
|
|
68
|
+
label: z.ZodString;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
declare const PublicProducerListPortfolioItemSchema: z.ZodObject<{
|
|
71
|
+
id: z.ZodUUID;
|
|
72
|
+
title: z.ZodString;
|
|
73
|
+
description: z.ZodNullable<z.ZodString>;
|
|
74
|
+
mediaUrl: z.ZodNullable<z.ZodURL>;
|
|
75
|
+
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
76
|
+
createdAt: z.ZodISODateTime;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const PublicProducerListRateCardItemSchema: z.ZodObject<{
|
|
79
|
+
id: z.ZodUUID;
|
|
80
|
+
label: z.ZodString;
|
|
81
|
+
amount: z.ZodString;
|
|
82
|
+
currency: z.ZodEnum<{
|
|
83
|
+
readonly NGN: "NGN";
|
|
84
|
+
}>;
|
|
85
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
/** One element of `ListProducersResponse.producers`. */
|
|
88
|
+
declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
89
|
+
id: z.ZodUUID;
|
|
90
|
+
userId: z.ZodUUID;
|
|
91
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
92
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
93
|
+
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
94
|
+
serviceAreas: z.ZodArray<z.ZodString>;
|
|
95
|
+
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
96
|
+
isAvailable: z.ZodBoolean;
|
|
97
|
+
averageRating: z.ZodString;
|
|
98
|
+
totalReviews: z.ZodNumber;
|
|
99
|
+
completionRate: z.ZodString;
|
|
100
|
+
equipmentManifest: z.ZodArray<z.ZodObject<{
|
|
101
|
+
id: z.ZodUUID;
|
|
102
|
+
name: z.ZodString;
|
|
103
|
+
category: z.ZodEnum<{
|
|
104
|
+
readonly AUDIO: "audio";
|
|
105
|
+
readonly VIDEO: "video";
|
|
106
|
+
readonly LIGHTING: "lighting";
|
|
107
|
+
readonly STAGING: "staging";
|
|
108
|
+
readonly POWER: "power";
|
|
109
|
+
readonly OTHER: "other";
|
|
110
|
+
}>;
|
|
111
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
114
|
+
code: z.ZodString;
|
|
115
|
+
label: z.ZodString;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
portfolio: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodUUID;
|
|
119
|
+
title: z.ZodString;
|
|
120
|
+
description: z.ZodNullable<z.ZodString>;
|
|
121
|
+
mediaUrl: z.ZodNullable<z.ZodURL>;
|
|
122
|
+
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
123
|
+
createdAt: z.ZodISODateTime;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
rateCard: z.ZodArray<z.ZodObject<{
|
|
126
|
+
id: z.ZodUUID;
|
|
127
|
+
label: z.ZodString;
|
|
128
|
+
amount: z.ZodString;
|
|
129
|
+
currency: z.ZodEnum<{
|
|
130
|
+
readonly NGN: "NGN";
|
|
131
|
+
}>;
|
|
132
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
createdAt: z.ZodISODateTime;
|
|
135
|
+
updatedAt: z.ZodISODateTime;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
declare const ListProducersResponseSchema: z.ZodObject<{
|
|
138
|
+
producers: z.ZodArray<z.ZodObject<{
|
|
139
|
+
id: z.ZodUUID;
|
|
140
|
+
userId: z.ZodUUID;
|
|
141
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
142
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
143
|
+
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
144
|
+
serviceAreas: z.ZodArray<z.ZodString>;
|
|
145
|
+
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
146
|
+
isAvailable: z.ZodBoolean;
|
|
147
|
+
averageRating: z.ZodString;
|
|
148
|
+
totalReviews: z.ZodNumber;
|
|
149
|
+
completionRate: z.ZodString;
|
|
150
|
+
equipmentManifest: z.ZodArray<z.ZodObject<{
|
|
151
|
+
id: z.ZodUUID;
|
|
152
|
+
name: z.ZodString;
|
|
153
|
+
category: z.ZodEnum<{
|
|
154
|
+
readonly AUDIO: "audio";
|
|
155
|
+
readonly VIDEO: "video";
|
|
156
|
+
readonly LIGHTING: "lighting";
|
|
157
|
+
readonly STAGING: "staging";
|
|
158
|
+
readonly POWER: "power";
|
|
159
|
+
readonly OTHER: "other";
|
|
160
|
+
}>;
|
|
161
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
164
|
+
code: z.ZodString;
|
|
165
|
+
label: z.ZodString;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
portfolio: z.ZodArray<z.ZodObject<{
|
|
168
|
+
id: z.ZodUUID;
|
|
169
|
+
title: z.ZodString;
|
|
170
|
+
description: z.ZodNullable<z.ZodString>;
|
|
171
|
+
mediaUrl: z.ZodNullable<z.ZodURL>;
|
|
172
|
+
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
173
|
+
createdAt: z.ZodISODateTime;
|
|
174
|
+
}, z.core.$strip>>;
|
|
175
|
+
rateCard: z.ZodArray<z.ZodObject<{
|
|
176
|
+
id: z.ZodUUID;
|
|
177
|
+
label: z.ZodString;
|
|
178
|
+
amount: z.ZodString;
|
|
179
|
+
currency: z.ZodEnum<{
|
|
180
|
+
readonly NGN: "NGN";
|
|
181
|
+
}>;
|
|
182
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
createdAt: z.ZodISODateTime;
|
|
185
|
+
updatedAt: z.ZodISODateTime;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
|
|
190
|
+
type ListProducersQuery = z.infer<typeof ListProducersQuerySchema>;
|
|
191
|
+
type PublicProducerListEquipmentItem = z.infer<typeof PublicProducerListEquipmentItemSchema>;
|
|
192
|
+
type PublicProducerListCategory = z.infer<typeof PublicProducerListCategorySchema>;
|
|
193
|
+
type PublicProducerListPortfolioItem = z.infer<typeof PublicProducerListPortfolioItemSchema>;
|
|
194
|
+
type PublicProducerListRateCardItem = z.infer<typeof PublicProducerListRateCardItemSchema>;
|
|
195
|
+
type PublicProducerListItem = z.infer<typeof PublicProducerListItemSchema>;
|
|
196
|
+
type ListProducersResponse = z.infer<typeof ListProducersResponseSchema>;
|
|
197
|
+
|
|
198
|
+
export { EquipmentCategory, type ListProducersQuery, ListProducersQuerySchema, type ListProducersResponse, ListProducersResponseSchema, MarketplaceCurrency, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode };
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/** ISO 4217 codes supported on marketplace rate cards. */
|
|
4
|
+
declare const MarketplaceCurrency: {
|
|
5
|
+
readonly NGN: "NGN";
|
|
6
|
+
};
|
|
7
|
+
type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];
|
|
8
|
+
/**
|
|
9
|
+
* Known service category codes for producer capability filters.
|
|
10
|
+
* Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.
|
|
11
|
+
*/
|
|
12
|
+
declare const ServiceCategoryCode: {
|
|
13
|
+
readonly SOUND: "sound";
|
|
14
|
+
readonly LIGHTING: "lighting";
|
|
15
|
+
readonly VIDEO: "video";
|
|
16
|
+
readonly STAGING: "staging";
|
|
17
|
+
readonly AV: "av";
|
|
18
|
+
readonly LOGISTICS: "logistics";
|
|
19
|
+
};
|
|
20
|
+
type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];
|
|
21
|
+
/** Equipment manifest categories on public producer listings. */
|
|
22
|
+
declare const EquipmentCategory: {
|
|
23
|
+
readonly AUDIO: "audio";
|
|
24
|
+
readonly VIDEO: "video";
|
|
25
|
+
readonly LIGHTING: "lighting";
|
|
26
|
+
readonly STAGING: "staging";
|
|
27
|
+
readonly POWER: "power";
|
|
28
|
+
readonly OTHER: "other";
|
|
29
|
+
};
|
|
30
|
+
type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Query params for `GET /marketplace/producers`.
|
|
34
|
+
* Pagination: `cursor` is the bare `ProducerProfile.id` from the prior page's
|
|
35
|
+
* `nextCursor` (ordering is `createdAt DESC`, then `id DESC`).
|
|
36
|
+
*/
|
|
37
|
+
declare const ListProducersQuerySchema: z.ZodObject<{
|
|
38
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
readonly SOUND: "sound";
|
|
40
|
+
readonly LIGHTING: "lighting";
|
|
41
|
+
readonly VIDEO: "video";
|
|
42
|
+
readonly STAGING: "staging";
|
|
43
|
+
readonly AV: "av";
|
|
44
|
+
readonly LOGISTICS: "logistics";
|
|
45
|
+
}>>;
|
|
46
|
+
location: z.ZodOptional<z.ZodString>;
|
|
47
|
+
minRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
48
|
+
maxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
49
|
+
availabilityDate: z.ZodOptional<z.ZodString>;
|
|
50
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
51
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
declare const PublicProducerListEquipmentItemSchema: z.ZodObject<{
|
|
54
|
+
id: z.ZodUUID;
|
|
55
|
+
name: z.ZodString;
|
|
56
|
+
category: z.ZodEnum<{
|
|
57
|
+
readonly AUDIO: "audio";
|
|
58
|
+
readonly VIDEO: "video";
|
|
59
|
+
readonly LIGHTING: "lighting";
|
|
60
|
+
readonly STAGING: "staging";
|
|
61
|
+
readonly POWER: "power";
|
|
62
|
+
readonly OTHER: "other";
|
|
63
|
+
}>;
|
|
64
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
declare const PublicProducerListCategorySchema: z.ZodObject<{
|
|
67
|
+
code: z.ZodString;
|
|
68
|
+
label: z.ZodString;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
declare const PublicProducerListPortfolioItemSchema: z.ZodObject<{
|
|
71
|
+
id: z.ZodUUID;
|
|
72
|
+
title: z.ZodString;
|
|
73
|
+
description: z.ZodNullable<z.ZodString>;
|
|
74
|
+
mediaUrl: z.ZodNullable<z.ZodURL>;
|
|
75
|
+
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
76
|
+
createdAt: z.ZodISODateTime;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const PublicProducerListRateCardItemSchema: z.ZodObject<{
|
|
79
|
+
id: z.ZodUUID;
|
|
80
|
+
label: z.ZodString;
|
|
81
|
+
amount: z.ZodString;
|
|
82
|
+
currency: z.ZodEnum<{
|
|
83
|
+
readonly NGN: "NGN";
|
|
84
|
+
}>;
|
|
85
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
/** One element of `ListProducersResponse.producers`. */
|
|
88
|
+
declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
89
|
+
id: z.ZodUUID;
|
|
90
|
+
userId: z.ZodUUID;
|
|
91
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
92
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
93
|
+
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
94
|
+
serviceAreas: z.ZodArray<z.ZodString>;
|
|
95
|
+
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
96
|
+
isAvailable: z.ZodBoolean;
|
|
97
|
+
averageRating: z.ZodString;
|
|
98
|
+
totalReviews: z.ZodNumber;
|
|
99
|
+
completionRate: z.ZodString;
|
|
100
|
+
equipmentManifest: z.ZodArray<z.ZodObject<{
|
|
101
|
+
id: z.ZodUUID;
|
|
102
|
+
name: z.ZodString;
|
|
103
|
+
category: z.ZodEnum<{
|
|
104
|
+
readonly AUDIO: "audio";
|
|
105
|
+
readonly VIDEO: "video";
|
|
106
|
+
readonly LIGHTING: "lighting";
|
|
107
|
+
readonly STAGING: "staging";
|
|
108
|
+
readonly POWER: "power";
|
|
109
|
+
readonly OTHER: "other";
|
|
110
|
+
}>;
|
|
111
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
114
|
+
code: z.ZodString;
|
|
115
|
+
label: z.ZodString;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
portfolio: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodUUID;
|
|
119
|
+
title: z.ZodString;
|
|
120
|
+
description: z.ZodNullable<z.ZodString>;
|
|
121
|
+
mediaUrl: z.ZodNullable<z.ZodURL>;
|
|
122
|
+
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
123
|
+
createdAt: z.ZodISODateTime;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
rateCard: z.ZodArray<z.ZodObject<{
|
|
126
|
+
id: z.ZodUUID;
|
|
127
|
+
label: z.ZodString;
|
|
128
|
+
amount: z.ZodString;
|
|
129
|
+
currency: z.ZodEnum<{
|
|
130
|
+
readonly NGN: "NGN";
|
|
131
|
+
}>;
|
|
132
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
createdAt: z.ZodISODateTime;
|
|
135
|
+
updatedAt: z.ZodISODateTime;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
declare const ListProducersResponseSchema: z.ZodObject<{
|
|
138
|
+
producers: z.ZodArray<z.ZodObject<{
|
|
139
|
+
id: z.ZodUUID;
|
|
140
|
+
userId: z.ZodUUID;
|
|
141
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
142
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
143
|
+
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
144
|
+
serviceAreas: z.ZodArray<z.ZodString>;
|
|
145
|
+
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
146
|
+
isAvailable: z.ZodBoolean;
|
|
147
|
+
averageRating: z.ZodString;
|
|
148
|
+
totalReviews: z.ZodNumber;
|
|
149
|
+
completionRate: z.ZodString;
|
|
150
|
+
equipmentManifest: z.ZodArray<z.ZodObject<{
|
|
151
|
+
id: z.ZodUUID;
|
|
152
|
+
name: z.ZodString;
|
|
153
|
+
category: z.ZodEnum<{
|
|
154
|
+
readonly AUDIO: "audio";
|
|
155
|
+
readonly VIDEO: "video";
|
|
156
|
+
readonly LIGHTING: "lighting";
|
|
157
|
+
readonly STAGING: "staging";
|
|
158
|
+
readonly POWER: "power";
|
|
159
|
+
readonly OTHER: "other";
|
|
160
|
+
}>;
|
|
161
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
164
|
+
code: z.ZodString;
|
|
165
|
+
label: z.ZodString;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
portfolio: z.ZodArray<z.ZodObject<{
|
|
168
|
+
id: z.ZodUUID;
|
|
169
|
+
title: z.ZodString;
|
|
170
|
+
description: z.ZodNullable<z.ZodString>;
|
|
171
|
+
mediaUrl: z.ZodNullable<z.ZodURL>;
|
|
172
|
+
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
173
|
+
createdAt: z.ZodISODateTime;
|
|
174
|
+
}, z.core.$strip>>;
|
|
175
|
+
rateCard: z.ZodArray<z.ZodObject<{
|
|
176
|
+
id: z.ZodUUID;
|
|
177
|
+
label: z.ZodString;
|
|
178
|
+
amount: z.ZodString;
|
|
179
|
+
currency: z.ZodEnum<{
|
|
180
|
+
readonly NGN: "NGN";
|
|
181
|
+
}>;
|
|
182
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
createdAt: z.ZodISODateTime;
|
|
185
|
+
updatedAt: z.ZodISODateTime;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
|
|
190
|
+
type ListProducersQuery = z.infer<typeof ListProducersQuerySchema>;
|
|
191
|
+
type PublicProducerListEquipmentItem = z.infer<typeof PublicProducerListEquipmentItemSchema>;
|
|
192
|
+
type PublicProducerListCategory = z.infer<typeof PublicProducerListCategorySchema>;
|
|
193
|
+
type PublicProducerListPortfolioItem = z.infer<typeof PublicProducerListPortfolioItemSchema>;
|
|
194
|
+
type PublicProducerListRateCardItem = z.infer<typeof PublicProducerListRateCardItemSchema>;
|
|
195
|
+
type PublicProducerListItem = z.infer<typeof PublicProducerListItemSchema>;
|
|
196
|
+
type ListProducersResponse = z.infer<typeof ListProducersResponseSchema>;
|
|
197
|
+
|
|
198
|
+
export { EquipmentCategory, type ListProducersQuery, ListProducersQuerySchema, type ListProducersResponse, ListProducersResponseSchema, MarketplaceCurrency, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkRXQ2VPMW_js=require('../chunk-RXQ2VPMW.js');Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.c}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.a}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunkRXQ2VPMW_js.b}});//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export{c as EquipmentCategory,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode}from'../chunk-U36JHPMK.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|