@livdot-tech/contracts 1.0.0 → 1.1.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.
Files changed (107) hide show
  1. package/dist/auth/index.d.mts +225 -0
  2. package/dist/auth/index.d.ts +225 -0
  3. package/dist/auth/index.js +2 -0
  4. package/dist/auth/index.js.map +1 -0
  5. package/dist/auth/index.mjs +2 -0
  6. package/dist/auth/index.mjs.map +1 -0
  7. package/dist/booking/index.d.mts +294 -0
  8. package/dist/booking/index.d.ts +294 -0
  9. package/dist/booking/index.js +2 -0
  10. package/dist/booking/index.js.map +1 -0
  11. package/dist/booking/index.mjs +2 -0
  12. package/dist/booking/index.mjs.map +1 -0
  13. package/dist/chunk-3CP6L2MG.js +2 -0
  14. package/dist/chunk-3CP6L2MG.js.map +1 -0
  15. package/dist/chunk-4FNHHHYR.mjs +2 -0
  16. package/dist/chunk-4FNHHHYR.mjs.map +1 -0
  17. package/dist/chunk-6G6C3SHC.js +2 -0
  18. package/dist/chunk-6G6C3SHC.js.map +1 -0
  19. package/dist/chunk-6UTUVCOM.mjs +2 -0
  20. package/dist/chunk-6UTUVCOM.mjs.map +1 -0
  21. package/dist/chunk-726BT6I5.js +2 -0
  22. package/dist/chunk-726BT6I5.js.map +1 -0
  23. package/dist/chunk-CLWT3LEH.mjs +2 -0
  24. package/dist/chunk-CLWT3LEH.mjs.map +1 -0
  25. package/dist/chunk-F663RS3D.js +2 -0
  26. package/dist/chunk-F663RS3D.js.map +1 -0
  27. package/dist/chunk-FSQX27QM.mjs +2 -0
  28. package/dist/chunk-FSQX27QM.mjs.map +1 -0
  29. package/dist/chunk-I75WHCI2.js +2 -0
  30. package/dist/chunk-I75WHCI2.js.map +1 -0
  31. package/dist/chunk-JT7SH43N.js +2 -0
  32. package/dist/chunk-JT7SH43N.js.map +1 -0
  33. package/dist/chunk-MRGEHWW3.js +2 -0
  34. package/dist/chunk-MRGEHWW3.js.map +1 -0
  35. package/dist/chunk-OGZ42P7K.js +2 -0
  36. package/dist/chunk-OGZ42P7K.js.map +1 -0
  37. package/dist/chunk-PQC527QJ.mjs +2 -0
  38. package/dist/chunk-PQC527QJ.mjs.map +1 -0
  39. package/dist/chunk-Q3PSIS6S.mjs +2 -0
  40. package/dist/chunk-Q3PSIS6S.mjs.map +1 -0
  41. package/dist/chunk-Q4VUDG2H.js +2 -0
  42. package/dist/chunk-Q4VUDG2H.js.map +1 -0
  43. package/dist/chunk-QBA77JOP.mjs +2 -0
  44. package/dist/chunk-QBA77JOP.mjs.map +1 -0
  45. package/dist/chunk-SHD2H6WD.mjs +2 -0
  46. package/dist/chunk-SHD2H6WD.mjs.map +1 -0
  47. package/dist/chunk-SILY3VKG.js +2 -0
  48. package/dist/chunk-SILY3VKG.js.map +1 -0
  49. package/dist/chunk-TTDRYA7J.mjs +2 -0
  50. package/dist/chunk-TTDRYA7J.mjs.map +1 -0
  51. package/dist/chunk-WEET4HBJ.mjs +2 -0
  52. package/dist/chunk-WEET4HBJ.mjs.map +1 -0
  53. package/dist/common/index.d.mts +315 -0
  54. package/dist/common/index.d.ts +315 -0
  55. package/dist/common/index.js +2 -0
  56. package/dist/common/index.js.map +1 -0
  57. package/dist/common/index.mjs +2 -0
  58. package/dist/common/index.mjs.map +1 -0
  59. package/dist/dispute/index.d.mts +79 -0
  60. package/dist/dispute/index.d.ts +79 -0
  61. package/dist/dispute/index.js +2 -0
  62. package/dist/dispute/index.js.map +1 -0
  63. package/dist/dispute/index.mjs +2 -0
  64. package/dist/dispute/index.mjs.map +1 -0
  65. package/dist/errors/index.d.mts +67 -0
  66. package/dist/errors/index.d.ts +67 -0
  67. package/dist/errors/index.js +2 -0
  68. package/dist/errors/index.js.map +1 -0
  69. package/dist/errors/index.mjs +2 -0
  70. package/dist/errors/index.mjs.map +1 -0
  71. package/dist/event/index.d.mts +270 -0
  72. package/dist/event/index.d.ts +270 -0
  73. package/dist/event/index.js +2 -0
  74. package/dist/event/index.js.map +1 -0
  75. package/dist/event/index.mjs +2 -0
  76. package/dist/event/index.mjs.map +1 -0
  77. package/dist/index.d.mts +11 -0
  78. package/dist/index.d.ts +11 -0
  79. package/dist/index.js +2 -0
  80. package/dist/index.js.map +1 -0
  81. package/dist/index.mjs +2 -0
  82. package/dist/index.mjs.map +1 -0
  83. package/dist/notification/index.d.mts +113 -0
  84. package/dist/notification/index.d.ts +113 -0
  85. package/dist/notification/index.js +2 -0
  86. package/dist/notification/index.js.map +1 -0
  87. package/dist/notification/index.mjs +2 -0
  88. package/dist/notification/index.mjs.map +1 -0
  89. package/dist/payment/index.d.mts +119 -0
  90. package/dist/payment/index.d.ts +119 -0
  91. package/dist/payment/index.js +2 -0
  92. package/dist/payment/index.js.map +1 -0
  93. package/dist/payment/index.mjs +2 -0
  94. package/dist/payment/index.mjs.map +1 -0
  95. package/dist/streaming/index.d.mts +79 -0
  96. package/dist/streaming/index.d.ts +79 -0
  97. package/dist/streaming/index.js +2 -0
  98. package/dist/streaming/index.js.map +1 -0
  99. package/dist/streaming/index.mjs +2 -0
  100. package/dist/streaming/index.mjs.map +1 -0
  101. package/dist/user/index.d.mts +236 -0
  102. package/dist/user/index.d.ts +236 -0
  103. package/dist/user/index.js +2 -0
  104. package/dist/user/index.js.map +1 -0
  105. package/dist/user/index.mjs +2 -0
  106. package/dist/user/index.mjs.map +1 -0
  107. package/package.json +27 -5
@@ -0,0 +1,270 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const EventVisibility: {
4
+ readonly PUBLIC: "PUBLIC";
5
+ readonly SOFT_PRIVATE: "SOFT_PRIVATE";
6
+ readonly AUTH_PRIVATE: "AUTH_PRIVATE";
7
+ };
8
+ type EventVisibility = (typeof EventVisibility)[keyof typeof EventVisibility];
9
+ declare const EventAccessModel: {
10
+ readonly FREE: "FREE";
11
+ readonly PAID: "PAID";
12
+ };
13
+ type EventAccessModel = (typeof EventAccessModel)[keyof typeof EventAccessModel];
14
+ declare const EventState: {
15
+ readonly DRAFT: "DRAFT";
16
+ readonly SCHEDULED: "SCHEDULED";
17
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
18
+ readonly LIVE: "LIVE";
19
+ readonly ENDED: "ENDED";
20
+ readonly REPLAY_READY: "REPLAY_READY";
21
+ readonly ARCHIVED: "ARCHIVED";
22
+ readonly CANCELLED: "CANCELLED";
23
+ readonly FAILED: "FAILED";
24
+ };
25
+ type EventState = (typeof EventState)[keyof typeof EventState];
26
+ declare const EventCategory: {
27
+ readonly CONCERT: "CONCERT";
28
+ readonly FESTIVAL: "FESTIVAL";
29
+ readonly WEDDING: "WEDDING";
30
+ readonly CORPORATE: "CORPORATE";
31
+ readonly RELIGIOUS: "RELIGIOUS";
32
+ readonly OTHER: "OTHER";
33
+ };
34
+ type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
35
+
36
+ declare const CreateEventRequestSchema: z.ZodObject<{
37
+ title: z.ZodString;
38
+ description: z.ZodString;
39
+ category: z.ZodNativeEnum<{
40
+ readonly CONCERT: "CONCERT";
41
+ readonly FESTIVAL: "FESTIVAL";
42
+ readonly WEDDING: "WEDDING";
43
+ readonly CORPORATE: "CORPORATE";
44
+ readonly RELIGIOUS: "RELIGIOUS";
45
+ readonly OTHER: "OTHER";
46
+ }>;
47
+ scheduledStartAt: z.ZodString;
48
+ scheduledEndAt: z.ZodString;
49
+ venueLocation: z.ZodString;
50
+ visibility: z.ZodNativeEnum<{
51
+ readonly PUBLIC: "PUBLIC";
52
+ readonly SOFT_PRIVATE: "SOFT_PRIVATE";
53
+ readonly AUTH_PRIVATE: "AUTH_PRIVATE";
54
+ }>;
55
+ accessModel: z.ZodNativeEnum<{
56
+ readonly FREE: "FREE";
57
+ readonly PAID: "PAID";
58
+ }>;
59
+ ticketPrice: z.ZodOptional<z.ZodNumber>;
60
+ maxTickets: z.ZodOptional<z.ZodNumber>;
61
+ timezone: z.ZodDefault<z.ZodString>;
62
+ replayEnabled: z.ZodDefault<z.ZodBoolean>;
63
+ retentionDays: z.ZodDefault<z.ZodNumber>;
64
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
65
+ geoRestrictions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ title: string;
68
+ description: string;
69
+ category: "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
70
+ scheduledStartAt: string;
71
+ scheduledEndAt: string;
72
+ venueLocation: string;
73
+ visibility: "PUBLIC" | "SOFT_PRIVATE" | "AUTH_PRIVATE";
74
+ accessModel: "FREE" | "PAID";
75
+ timezone: string;
76
+ replayEnabled: boolean;
77
+ retentionDays: number;
78
+ ticketPrice?: number | undefined;
79
+ maxTickets?: number | undefined;
80
+ tags?: string[] | undefined;
81
+ geoRestrictions?: Record<string, any> | undefined;
82
+ }, {
83
+ title: string;
84
+ description: string;
85
+ category: "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
86
+ scheduledStartAt: string;
87
+ scheduledEndAt: string;
88
+ venueLocation: string;
89
+ visibility: "PUBLIC" | "SOFT_PRIVATE" | "AUTH_PRIVATE";
90
+ accessModel: "FREE" | "PAID";
91
+ ticketPrice?: number | undefined;
92
+ maxTickets?: number | undefined;
93
+ timezone?: string | undefined;
94
+ replayEnabled?: boolean | undefined;
95
+ retentionDays?: number | undefined;
96
+ tags?: string[] | undefined;
97
+ geoRestrictions?: Record<string, any> | undefined;
98
+ }>;
99
+ declare const UpdateEventRequestSchema: z.ZodObject<{
100
+ title: z.ZodOptional<z.ZodString>;
101
+ description: z.ZodOptional<z.ZodString>;
102
+ category: z.ZodOptional<z.ZodNativeEnum<{
103
+ readonly CONCERT: "CONCERT";
104
+ readonly FESTIVAL: "FESTIVAL";
105
+ readonly WEDDING: "WEDDING";
106
+ readonly CORPORATE: "CORPORATE";
107
+ readonly RELIGIOUS: "RELIGIOUS";
108
+ readonly OTHER: "OTHER";
109
+ }>>;
110
+ scheduledStartAt: z.ZodOptional<z.ZodString>;
111
+ scheduledEndAt: z.ZodOptional<z.ZodString>;
112
+ venueLocation: z.ZodOptional<z.ZodString>;
113
+ visibility: z.ZodOptional<z.ZodNativeEnum<{
114
+ readonly PUBLIC: "PUBLIC";
115
+ readonly SOFT_PRIVATE: "SOFT_PRIVATE";
116
+ readonly AUTH_PRIVATE: "AUTH_PRIVATE";
117
+ }>>;
118
+ accessModel: z.ZodOptional<z.ZodNativeEnum<{
119
+ readonly FREE: "FREE";
120
+ readonly PAID: "PAID";
121
+ }>>;
122
+ ticketPrice: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
123
+ maxTickets: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
124
+ timezone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
125
+ replayEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
126
+ retentionDays: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
127
+ tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
128
+ geoRestrictions: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ title?: string | undefined;
131
+ description?: string | undefined;
132
+ category?: "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER" | undefined;
133
+ scheduledStartAt?: string | undefined;
134
+ scheduledEndAt?: string | undefined;
135
+ venueLocation?: string | undefined;
136
+ visibility?: "PUBLIC" | "SOFT_PRIVATE" | "AUTH_PRIVATE" | undefined;
137
+ accessModel?: "FREE" | "PAID" | undefined;
138
+ ticketPrice?: number | undefined;
139
+ maxTickets?: number | undefined;
140
+ timezone?: string | undefined;
141
+ replayEnabled?: boolean | undefined;
142
+ retentionDays?: number | undefined;
143
+ tags?: string[] | undefined;
144
+ geoRestrictions?: Record<string, any> | undefined;
145
+ }, {
146
+ title?: string | undefined;
147
+ description?: string | undefined;
148
+ category?: "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER" | undefined;
149
+ scheduledStartAt?: string | undefined;
150
+ scheduledEndAt?: string | undefined;
151
+ venueLocation?: string | undefined;
152
+ visibility?: "PUBLIC" | "SOFT_PRIVATE" | "AUTH_PRIVATE" | undefined;
153
+ accessModel?: "FREE" | "PAID" | undefined;
154
+ ticketPrice?: number | undefined;
155
+ maxTickets?: number | undefined;
156
+ timezone?: string | undefined;
157
+ replayEnabled?: boolean | undefined;
158
+ retentionDays?: number | undefined;
159
+ tags?: string[] | undefined;
160
+ geoRestrictions?: Record<string, any> | undefined;
161
+ }>;
162
+ declare const EventResponseSchema: z.ZodObject<{
163
+ id: z.ZodString;
164
+ title: z.ZodString;
165
+ description: z.ZodString;
166
+ category: z.ZodNativeEnum<{
167
+ readonly CONCERT: "CONCERT";
168
+ readonly FESTIVAL: "FESTIVAL";
169
+ readonly WEDDING: "WEDDING";
170
+ readonly CORPORATE: "CORPORATE";
171
+ readonly RELIGIOUS: "RELIGIOUS";
172
+ readonly OTHER: "OTHER";
173
+ }>;
174
+ coverImageUrl: z.ZodOptional<z.ZodString>;
175
+ venueLocation: z.ZodString;
176
+ scheduledStartAt: z.ZodString;
177
+ scheduledEndAt: z.ZodString;
178
+ timezone: z.ZodString;
179
+ visibility: z.ZodNativeEnum<{
180
+ readonly PUBLIC: "PUBLIC";
181
+ readonly SOFT_PRIVATE: "SOFT_PRIVATE";
182
+ readonly AUTH_PRIVATE: "AUTH_PRIVATE";
183
+ }>;
184
+ accessModel: z.ZodNativeEnum<{
185
+ readonly FREE: "FREE";
186
+ readonly PAID: "PAID";
187
+ }>;
188
+ ticketPrice: z.ZodNumber;
189
+ currency: z.ZodString;
190
+ maxTickets: z.ZodOptional<z.ZodNumber>;
191
+ eventState: z.ZodNativeEnum<{
192
+ readonly DRAFT: "DRAFT";
193
+ readonly SCHEDULED: "SCHEDULED";
194
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
195
+ readonly LIVE: "LIVE";
196
+ readonly ENDED: "ENDED";
197
+ readonly REPLAY_READY: "REPLAY_READY";
198
+ readonly ARCHIVED: "ARCHIVED";
199
+ readonly CANCELLED: "CANCELLED";
200
+ readonly FAILED: "FAILED";
201
+ }>;
202
+ shareableUrl: z.ZodString;
203
+ hostId: z.ZodString;
204
+ isFeatured: z.ZodBoolean;
205
+ replayEnabled: z.ZodBoolean;
206
+ replayAvailableUntil: z.ZodOptional<z.ZodString>;
207
+ createdAt: z.ZodString;
208
+ updatedAt: z.ZodString;
209
+ publishedAt: z.ZodOptional<z.ZodString>;
210
+ liveStartedAt: z.ZodOptional<z.ZodString>;
211
+ liveEndedAt: z.ZodOptional<z.ZodString>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ title: string;
214
+ id: string;
215
+ createdAt: string;
216
+ updatedAt: string;
217
+ description: string;
218
+ category: "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
219
+ scheduledStartAt: string;
220
+ scheduledEndAt: string;
221
+ venueLocation: string;
222
+ visibility: "PUBLIC" | "SOFT_PRIVATE" | "AUTH_PRIVATE";
223
+ accessModel: "FREE" | "PAID";
224
+ ticketPrice: number;
225
+ timezone: string;
226
+ replayEnabled: boolean;
227
+ currency: string;
228
+ eventState: "DRAFT" | "SCHEDULED" | "READY_FOR_TEST" | "LIVE" | "ENDED" | "REPLAY_READY" | "ARCHIVED" | "CANCELLED" | "FAILED";
229
+ shareableUrl: string;
230
+ hostId: string;
231
+ isFeatured: boolean;
232
+ maxTickets?: number | undefined;
233
+ coverImageUrl?: string | undefined;
234
+ replayAvailableUntil?: string | undefined;
235
+ publishedAt?: string | undefined;
236
+ liveStartedAt?: string | undefined;
237
+ liveEndedAt?: string | undefined;
238
+ }, {
239
+ title: string;
240
+ id: string;
241
+ createdAt: string;
242
+ updatedAt: string;
243
+ description: string;
244
+ category: "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
245
+ scheduledStartAt: string;
246
+ scheduledEndAt: string;
247
+ venueLocation: string;
248
+ visibility: "PUBLIC" | "SOFT_PRIVATE" | "AUTH_PRIVATE";
249
+ accessModel: "FREE" | "PAID";
250
+ ticketPrice: number;
251
+ timezone: string;
252
+ replayEnabled: boolean;
253
+ currency: string;
254
+ eventState: "DRAFT" | "SCHEDULED" | "READY_FOR_TEST" | "LIVE" | "ENDED" | "REPLAY_READY" | "ARCHIVED" | "CANCELLED" | "FAILED";
255
+ shareableUrl: string;
256
+ hostId: string;
257
+ isFeatured: boolean;
258
+ maxTickets?: number | undefined;
259
+ coverImageUrl?: string | undefined;
260
+ replayAvailableUntil?: string | undefined;
261
+ publishedAt?: string | undefined;
262
+ liveStartedAt?: string | undefined;
263
+ liveEndedAt?: string | undefined;
264
+ }>;
265
+
266
+ type CreateEventRequest = z.infer<typeof CreateEventRequestSchema>;
267
+ type UpdateEventRequest = z.infer<typeof UpdateEventRequestSchema>;
268
+ type EventResponse = z.infer<typeof EventResponseSchema>;
269
+
270
+ export { type CreateEventRequest, CreateEventRequestSchema, EventAccessModel, EventCategory, type EventResponse, EventResponseSchema, EventState, EventVisibility, type UpdateEventRequest, UpdateEventRequestSchema };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunk3CP6L2MG_js=require('../chunk-3CP6L2MG.js');Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunk3CP6L2MG_js.e}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunk3CP6L2MG_js.b}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunk3CP6L2MG_js.d}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunk3CP6L2MG_js.g}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunk3CP6L2MG_js.c}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunk3CP6L2MG_js.a}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunk3CP6L2MG_js.f}});//# 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{e as CreateEventRequestSchema,b as EventAccessModel,d as EventCategory,g as EventResponseSchema,c as EventState,a as EventVisibility,f as UpdateEventRequestSchema}from'../chunk-Q3PSIS6S.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,11 @@
1
+ export { ApiError, ApiResponse, ApiResponseSchema, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, ResponseMessages } from './common/index.mjs';
2
+ export { CognitoTokenPayload, CognitoTokenPayloadSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.mjs';
3
+ export { AccountStatus, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.mjs';
4
+ export { CreateEventRequest, CreateEventRequestSchema, EventAccessModel, EventCategory, EventResponse, EventResponseSchema, EventState, EventVisibility, UpdateEventRequest, UpdateEventRequestSchema } from './event/index.mjs';
5
+ export { BookingOrigin, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.mjs';
6
+ export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.mjs';
7
+ export { InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PayoutResponse, PayoutResponseSchema, PayoutStatus, TransactionStatus, TransactionType } from './payment/index.mjs';
8
+ export { DisputeResponse, DisputeResponseSchema, DisputeStatus, DisputeType } from './dispute/index.mjs';
9
+ export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType } from './notification/index.mjs';
10
+ export { ApiErrorCode } from './errors/index.mjs';
11
+ import 'zod';
@@ -0,0 +1,11 @@
1
+ export { ApiError, ApiResponse, ApiResponseSchema, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, ResponseMessages } from './common/index.js';
2
+ export { CognitoTokenPayload, CognitoTokenPayloadSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.js';
3
+ export { AccountStatus, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.js';
4
+ export { CreateEventRequest, CreateEventRequestSchema, EventAccessModel, EventCategory, EventResponse, EventResponseSchema, EventState, EventVisibility, UpdateEventRequest, UpdateEventRequestSchema } from './event/index.js';
5
+ export { BookingOrigin, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.js';
6
+ export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.js';
7
+ export { InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PayoutResponse, PayoutResponseSchema, PayoutStatus, TransactionStatus, TransactionType } from './payment/index.js';
8
+ export { DisputeResponse, DisputeResponseSchema, DisputeStatus, DisputeType } from './dispute/index.js';
9
+ export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType } from './notification/index.js';
10
+ export { ApiErrorCode } from './errors/index.js';
11
+ import 'zod';
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkQ4VUDG2H_js=require('./chunk-Q4VUDG2H.js'),chunk726BT6I5_js=require('./chunk-726BT6I5.js'),chunkMRGEHWW3_js=require('./chunk-MRGEHWW3.js'),chunkI75WHCI2_js=require('./chunk-I75WHCI2.js'),chunk6G6C3SHC_js=require('./chunk-6G6C3SHC.js'),chunkF663RS3D_js=require('./chunk-F663RS3D.js'),chunkOGZ42P7K_js=require('./chunk-OGZ42P7K.js'),chunkJT7SH43N_js=require('./chunk-JT7SH43N.js'),chunk3CP6L2MG_js=require('./chunk-3CP6L2MG.js'),chunkSILY3VKG_js=require('./chunk-SILY3VKG.js');Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkQ4VUDG2H_js.d}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkQ4VUDG2H_js.e}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkQ4VUDG2H_js.f}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkQ4VUDG2H_js.c}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkQ4VUDG2H_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkQ4VUDG2H_js.a}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunk726BT6I5_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunk726BT6I5_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunk726BT6I5_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunk726BT6I5_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunk726BT6I5_js.e}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.m}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkMRGEHWW3_js.f}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkI75WHCI2_js.b}});Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkI75WHCI2_js.g}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunkI75WHCI2_js.i}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunkI75WHCI2_js.h}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkI75WHCI2_js.c}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunkI75WHCI2_js.j}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkI75WHCI2_js.d}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunkI75WHCI2_js.f}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunkI75WHCI2_js.e}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkI75WHCI2_js.a}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunk6G6C3SHC_js.a}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunk6G6C3SHC_js.g}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunk6G6C3SHC_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunk6G6C3SHC_js.f}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunk6G6C3SHC_js.e}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunk6G6C3SHC_js.h}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk6G6C3SHC_js.k}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunk6G6C3SHC_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunk6G6C3SHC_js.i}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunk6G6C3SHC_js.c}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk6G6C3SHC_js.j}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkF663RS3D_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkF663RS3D_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkF663RS3D_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkOGZ42P7K_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkOGZ42P7K_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkOGZ42P7K_js.a}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkJT7SH43N_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunk3CP6L2MG_js.e}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunk3CP6L2MG_js.b}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunk3CP6L2MG_js.d}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunk3CP6L2MG_js.g}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunk3CP6L2MG_js.c}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunk3CP6L2MG_js.a}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunk3CP6L2MG_js.f}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunkSILY3VKG_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunkSILY3VKG_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunkSILY3VKG_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunkSILY3VKG_js.c}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export{d as InitiatePaymentRequestSchema,e as InitiatePaymentResponseSchema,f as PayoutResponseSchema,c as PayoutStatus,b as TransactionStatus,a as TransactionType}from'./chunk-SHD2H6WD.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-6UTUVCOM.mjs';export{m 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-QBA77JOP.mjs';export{b as AccountStatus,g as CreateHostProfileRequestSchema,i as CreateProducerProfileRequestSchema,h as HostProfileResponseSchema,c as KycStatus,j as ProducerProfileResponseSchema,d as ProducerVerificationStatus,f as UpdateUserRequestSchema,e as UserResponseSchema,a as UserRole}from'./chunk-PQC527QJ.mjs';export{a as BookingOrigin,g as BookingResponseSchema,b as BookingState,f as ConfirmBookingRequestSchema,e as CreateBookingRequestSchema,h as CreateJobListingRequestSchema,k as IndicationOfInterestResponseSchema,d as IoiState,i as JobListingResponseSchema,c as JobListingState,j as SubmitIndicationOfInterestRequestSchema}from'./chunk-4FNHHHYR.mjs';export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'./chunk-WEET4HBJ.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-TTDRYA7J.mjs';export{a as ApiErrorCode}from'./chunk-FSQX27QM.mjs';export{e as CreateEventRequestSchema,b as EventAccessModel,d as EventCategory,g as EventResponseSchema,c as EventState,a as EventVisibility,f as UpdateEventRequestSchema}from'./chunk-Q3PSIS6S.mjs';export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-CLWT3LEH.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,113 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const NotificationPriority: {
4
+ readonly LOW: "low";
5
+ readonly NORMAL: "normal";
6
+ readonly HIGH: "high";
7
+ readonly URGENT: "urgent";
8
+ };
9
+ type NotificationPriority = (typeof NotificationPriority)[keyof typeof NotificationPriority];
10
+ declare const NotificationChannel: {
11
+ readonly IN_APP: "in_app";
12
+ readonly EMAIL: "email";
13
+ readonly SMS: "sms";
14
+ readonly PUSH: "push";
15
+ };
16
+ type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];
17
+ declare const NotificationType: {
18
+ readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
19
+ readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
20
+ readonly BOOKING_REJECTED: "BOOKING_REJECTED";
21
+ readonly BOOKING_CONFIRMED: "BOOKING_CONFIRMED";
22
+ readonly BOOKING_CANCELLED: "BOOKING_CANCELLED";
23
+ readonly BOOKING_COMPLETED: "BOOKING_COMPLETED";
24
+ readonly PAYMENT_RECEIVED: "PAYMENT_RECEIVED";
25
+ readonly PAYOUT_PROCESSED: "PAYOUT_PROCESSED";
26
+ readonly EVENT_GOING_LIVE: "EVENT_GOING_LIVE";
27
+ readonly EVENT_CANCELLED: "EVENT_CANCELLED";
28
+ readonly DISPUTE_OPENED: "DISPUTE_OPENED";
29
+ readonly DISPUTE_RESOLVED: "DISPUTE_RESOLVED";
30
+ readonly KYC_APPROVED: "KYC_APPROVED";
31
+ readonly KYC_REJECTED: "KYC_REJECTED";
32
+ readonly PRODUCER_VERIFIED: "PRODUCER_VERIFIED";
33
+ readonly JOB_LISTING_NEW_INTEREST: "JOB_LISTING_NEW_INTEREST";
34
+ };
35
+ type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
36
+
37
+ declare const NotificationResponseSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ userId: z.ZodString;
40
+ type: z.ZodNativeEnum<{
41
+ readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
42
+ readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
43
+ readonly BOOKING_REJECTED: "BOOKING_REJECTED";
44
+ readonly BOOKING_CONFIRMED: "BOOKING_CONFIRMED";
45
+ readonly BOOKING_CANCELLED: "BOOKING_CANCELLED";
46
+ readonly BOOKING_COMPLETED: "BOOKING_COMPLETED";
47
+ readonly PAYMENT_RECEIVED: "PAYMENT_RECEIVED";
48
+ readonly PAYOUT_PROCESSED: "PAYOUT_PROCESSED";
49
+ readonly EVENT_GOING_LIVE: "EVENT_GOING_LIVE";
50
+ readonly EVENT_CANCELLED: "EVENT_CANCELLED";
51
+ readonly DISPUTE_OPENED: "DISPUTE_OPENED";
52
+ readonly DISPUTE_RESOLVED: "DISPUTE_RESOLVED";
53
+ readonly KYC_APPROVED: "KYC_APPROVED";
54
+ readonly KYC_REJECTED: "KYC_REJECTED";
55
+ readonly PRODUCER_VERIFIED: "PRODUCER_VERIFIED";
56
+ readonly JOB_LISTING_NEW_INTEREST: "JOB_LISTING_NEW_INTEREST";
57
+ }>;
58
+ title: z.ZodString;
59
+ body: z.ZodString;
60
+ actionUrl: z.ZodOptional<z.ZodString>;
61
+ actionType: z.ZodOptional<z.ZodString>;
62
+ channels: z.ZodArray<z.ZodNativeEnum<{
63
+ readonly IN_APP: "in_app";
64
+ readonly EMAIL: "email";
65
+ readonly SMS: "sms";
66
+ readonly PUSH: "push";
67
+ }>, "many">;
68
+ isRead: z.ZodBoolean;
69
+ readAt: z.ZodOptional<z.ZodString>;
70
+ deliveredAt: z.ZodOptional<z.ZodString>;
71
+ priority: z.ZodNativeEnum<{
72
+ readonly LOW: "low";
73
+ readonly NORMAL: "normal";
74
+ readonly HIGH: "high";
75
+ readonly URGENT: "urgent";
76
+ }>;
77
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
78
+ createdAt: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
81
+ title: string;
82
+ id: string;
83
+ createdAt: string;
84
+ userId: string;
85
+ body: string;
86
+ channels: ("push" | "email" | "in_app" | "sms")[];
87
+ isRead: boolean;
88
+ priority: "low" | "normal" | "high" | "urgent";
89
+ actionUrl?: string | undefined;
90
+ actionType?: string | undefined;
91
+ readAt?: string | undefined;
92
+ deliveredAt?: string | undefined;
93
+ metadata?: Record<string, any> | undefined;
94
+ }, {
95
+ type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
96
+ title: string;
97
+ id: string;
98
+ createdAt: string;
99
+ userId: string;
100
+ body: string;
101
+ channels: ("push" | "email" | "in_app" | "sms")[];
102
+ isRead: boolean;
103
+ priority: "low" | "normal" | "high" | "urgent";
104
+ actionUrl?: string | undefined;
105
+ actionType?: string | undefined;
106
+ readAt?: string | undefined;
107
+ deliveredAt?: string | undefined;
108
+ metadata?: Record<string, any> | undefined;
109
+ }>;
110
+
111
+ type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
112
+
113
+ export { NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType };
@@ -0,0 +1,113 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const NotificationPriority: {
4
+ readonly LOW: "low";
5
+ readonly NORMAL: "normal";
6
+ readonly HIGH: "high";
7
+ readonly URGENT: "urgent";
8
+ };
9
+ type NotificationPriority = (typeof NotificationPriority)[keyof typeof NotificationPriority];
10
+ declare const NotificationChannel: {
11
+ readonly IN_APP: "in_app";
12
+ readonly EMAIL: "email";
13
+ readonly SMS: "sms";
14
+ readonly PUSH: "push";
15
+ };
16
+ type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];
17
+ declare const NotificationType: {
18
+ readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
19
+ readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
20
+ readonly BOOKING_REJECTED: "BOOKING_REJECTED";
21
+ readonly BOOKING_CONFIRMED: "BOOKING_CONFIRMED";
22
+ readonly BOOKING_CANCELLED: "BOOKING_CANCELLED";
23
+ readonly BOOKING_COMPLETED: "BOOKING_COMPLETED";
24
+ readonly PAYMENT_RECEIVED: "PAYMENT_RECEIVED";
25
+ readonly PAYOUT_PROCESSED: "PAYOUT_PROCESSED";
26
+ readonly EVENT_GOING_LIVE: "EVENT_GOING_LIVE";
27
+ readonly EVENT_CANCELLED: "EVENT_CANCELLED";
28
+ readonly DISPUTE_OPENED: "DISPUTE_OPENED";
29
+ readonly DISPUTE_RESOLVED: "DISPUTE_RESOLVED";
30
+ readonly KYC_APPROVED: "KYC_APPROVED";
31
+ readonly KYC_REJECTED: "KYC_REJECTED";
32
+ readonly PRODUCER_VERIFIED: "PRODUCER_VERIFIED";
33
+ readonly JOB_LISTING_NEW_INTEREST: "JOB_LISTING_NEW_INTEREST";
34
+ };
35
+ type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
36
+
37
+ declare const NotificationResponseSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ userId: z.ZodString;
40
+ type: z.ZodNativeEnum<{
41
+ readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
42
+ readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
43
+ readonly BOOKING_REJECTED: "BOOKING_REJECTED";
44
+ readonly BOOKING_CONFIRMED: "BOOKING_CONFIRMED";
45
+ readonly BOOKING_CANCELLED: "BOOKING_CANCELLED";
46
+ readonly BOOKING_COMPLETED: "BOOKING_COMPLETED";
47
+ readonly PAYMENT_RECEIVED: "PAYMENT_RECEIVED";
48
+ readonly PAYOUT_PROCESSED: "PAYOUT_PROCESSED";
49
+ readonly EVENT_GOING_LIVE: "EVENT_GOING_LIVE";
50
+ readonly EVENT_CANCELLED: "EVENT_CANCELLED";
51
+ readonly DISPUTE_OPENED: "DISPUTE_OPENED";
52
+ readonly DISPUTE_RESOLVED: "DISPUTE_RESOLVED";
53
+ readonly KYC_APPROVED: "KYC_APPROVED";
54
+ readonly KYC_REJECTED: "KYC_REJECTED";
55
+ readonly PRODUCER_VERIFIED: "PRODUCER_VERIFIED";
56
+ readonly JOB_LISTING_NEW_INTEREST: "JOB_LISTING_NEW_INTEREST";
57
+ }>;
58
+ title: z.ZodString;
59
+ body: z.ZodString;
60
+ actionUrl: z.ZodOptional<z.ZodString>;
61
+ actionType: z.ZodOptional<z.ZodString>;
62
+ channels: z.ZodArray<z.ZodNativeEnum<{
63
+ readonly IN_APP: "in_app";
64
+ readonly EMAIL: "email";
65
+ readonly SMS: "sms";
66
+ readonly PUSH: "push";
67
+ }>, "many">;
68
+ isRead: z.ZodBoolean;
69
+ readAt: z.ZodOptional<z.ZodString>;
70
+ deliveredAt: z.ZodOptional<z.ZodString>;
71
+ priority: z.ZodNativeEnum<{
72
+ readonly LOW: "low";
73
+ readonly NORMAL: "normal";
74
+ readonly HIGH: "high";
75
+ readonly URGENT: "urgent";
76
+ }>;
77
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
78
+ createdAt: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
81
+ title: string;
82
+ id: string;
83
+ createdAt: string;
84
+ userId: string;
85
+ body: string;
86
+ channels: ("push" | "email" | "in_app" | "sms")[];
87
+ isRead: boolean;
88
+ priority: "low" | "normal" | "high" | "urgent";
89
+ actionUrl?: string | undefined;
90
+ actionType?: string | undefined;
91
+ readAt?: string | undefined;
92
+ deliveredAt?: string | undefined;
93
+ metadata?: Record<string, any> | undefined;
94
+ }, {
95
+ type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
96
+ title: string;
97
+ id: string;
98
+ createdAt: string;
99
+ userId: string;
100
+ body: string;
101
+ channels: ("push" | "email" | "in_app" | "sms")[];
102
+ isRead: boolean;
103
+ priority: "low" | "normal" | "high" | "urgent";
104
+ actionUrl?: string | undefined;
105
+ actionType?: string | undefined;
106
+ readAt?: string | undefined;
107
+ deliveredAt?: string | undefined;
108
+ metadata?: Record<string, any> | undefined;
109
+ }>;
110
+
111
+ type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
112
+
113
+ export { NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkSILY3VKG_js=require('../chunk-SILY3VKG.js');Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunkSILY3VKG_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunkSILY3VKG_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunkSILY3VKG_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunkSILY3VKG_js.c}});//# 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{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'../chunk-CLWT3LEH.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}