@livdot-tech/contracts 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/index.d.mts +23 -13
- package/dist/auth/index.d.ts +23 -13
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +25 -6
- package/dist/booking/index.d.ts +25 -6
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chunk-6GDUDLP2.js +2 -0
- package/dist/chunk-6GDUDLP2.js.map +1 -0
- package/dist/chunk-6ZN2TPBZ.js +2 -0
- package/dist/chunk-6ZN2TPBZ.js.map +1 -0
- package/dist/chunk-C2QIE2HZ.js +2 -0
- package/dist/chunk-C2QIE2HZ.js.map +1 -0
- package/dist/chunk-CIV62KPR.mjs +2 -0
- package/dist/chunk-CIV62KPR.mjs.map +1 -0
- package/dist/{chunk-SHD2H6WD.mjs → chunk-DF4E66H2.mjs} +2 -2
- package/dist/{chunk-SHD2H6WD.mjs.map → chunk-DF4E66H2.mjs.map} +1 -1
- package/dist/{chunk-SILY3VKG.js → chunk-GY7PCU2T.js} +2 -2
- package/dist/{chunk-SILY3VKG.js.map → chunk-GY7PCU2T.js.map} +1 -1
- package/dist/{chunk-CLWT3LEH.mjs → chunk-HI6UMYA4.mjs} +2 -2
- package/dist/{chunk-CLWT3LEH.mjs.map → chunk-HI6UMYA4.mjs.map} +1 -1
- package/dist/{chunk-OGZ42P7K.js → chunk-IJ2PAFAX.js} +2 -2
- package/dist/{chunk-OGZ42P7K.js.map → chunk-IJ2PAFAX.js.map} +1 -1
- package/dist/{chunk-TTDRYA7J.mjs → chunk-NSBUBEZK.mjs} +2 -2
- package/dist/{chunk-TTDRYA7J.mjs.map → chunk-NSBUBEZK.mjs.map} +1 -1
- package/dist/chunk-PHGWWUP2.mjs +2 -0
- package/dist/chunk-PHGWWUP2.mjs.map +1 -0
- package/dist/chunk-T7C4AYVD.mjs +2 -0
- package/dist/chunk-T7C4AYVD.mjs.map +1 -0
- package/dist/chunk-UDHBQDRU.js +2 -0
- package/dist/chunk-UDHBQDRU.js.map +1 -0
- package/dist/chunk-UZZ46ZPG.js +2 -0
- package/dist/chunk-UZZ46ZPG.js.map +1 -0
- package/dist/chunk-WCT4N7NS.mjs +2 -0
- package/dist/chunk-WCT4N7NS.mjs.map +1 -0
- package/dist/chunk-Y5QIEJG2.mjs +2 -0
- package/dist/chunk-Y5QIEJG2.mjs.map +1 -0
- package/dist/{chunk-Q4VUDG2H.js → chunk-ZFINSMCH.js} +2 -2
- package/dist/{chunk-Q4VUDG2H.js.map → chunk-ZFINSMCH.js.map} +1 -1
- package/dist/dispute/index.d.mts +12 -12
- package/dist/dispute/index.d.ts +12 -12
- package/dist/dispute/index.js +1 -1
- package/dist/dispute/index.mjs +1 -1
- package/dist/event/index.d.mts +117 -27
- package/dist/event/index.d.ts +117 -27
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/joblisting/index.d.mts +13 -0
- package/dist/joblisting/index.d.ts +13 -0
- package/dist/joblisting/index.js +2 -0
- package/dist/joblisting/index.js.map +1 -0
- package/dist/joblisting/index.mjs +2 -0
- package/dist/joblisting/index.mjs.map +1 -0
- package/dist/notification/index.d.mts +22 -22
- package/dist/notification/index.d.ts +22 -22
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.d.mts +16 -16
- package/dist/payment/index.d.ts +16 -16
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +309 -118
- package/dist/user/index.d.ts +309 -118
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3CP6L2MG.js +0 -2
- package/dist/chunk-3CP6L2MG.js.map +0 -1
- package/dist/chunk-4FNHHHYR.mjs +0 -2
- package/dist/chunk-4FNHHHYR.mjs.map +0 -1
- package/dist/chunk-6G6C3SHC.js +0 -2
- package/dist/chunk-6G6C3SHC.js.map +0 -1
- package/dist/chunk-I75WHCI2.js +0 -2
- package/dist/chunk-I75WHCI2.js.map +0 -1
- package/dist/chunk-MRGEHWW3.js +0 -2
- package/dist/chunk-MRGEHWW3.js.map +0 -1
- package/dist/chunk-PQC527QJ.mjs +0 -2
- package/dist/chunk-PQC527QJ.mjs.map +0 -1
- package/dist/chunk-Q3PSIS6S.mjs +0 -2
- package/dist/chunk-Q3PSIS6S.mjs.map +0 -1
- package/dist/chunk-QBA77JOP.mjs +0 -2
- package/dist/chunk-QBA77JOP.mjs.map +0 -1
package/dist/user/index.d.mts
CHANGED
|
@@ -4,85 +4,348 @@ declare const UserRole: {
|
|
|
4
4
|
readonly HOST: 1;
|
|
5
5
|
readonly PRODUCER: 2;
|
|
6
6
|
readonly VIEWER: 4;
|
|
7
|
-
readonly ADMIN: 8;
|
|
8
7
|
};
|
|
9
8
|
type UserRole = (typeof UserRole)[keyof typeof UserRole];
|
|
10
9
|
declare const AccountStatus: {
|
|
11
|
-
readonly ACTIVE: "
|
|
12
|
-
readonly SUSPENDED: "
|
|
13
|
-
readonly
|
|
10
|
+
readonly ACTIVE: "ACTIVE";
|
|
11
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
12
|
+
readonly BANNED: "BANNED";
|
|
13
|
+
readonly DELETED: "DELETED";
|
|
14
14
|
};
|
|
15
15
|
type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];
|
|
16
16
|
declare const KycStatus: {
|
|
17
|
-
readonly PENDING: "
|
|
18
|
-
readonly SUBMITTED: "
|
|
19
|
-
readonly VERIFIED: "
|
|
20
|
-
readonly REJECTED: "
|
|
17
|
+
readonly PENDING: "PENDING";
|
|
18
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
19
|
+
readonly VERIFIED: "VERIFIED";
|
|
20
|
+
readonly REJECTED: "REJECTED";
|
|
21
21
|
};
|
|
22
22
|
type KycStatus = (typeof KycStatus)[keyof typeof KycStatus];
|
|
23
|
+
/**
|
|
24
|
+
* Enum for admin scope codes.
|
|
25
|
+
*/
|
|
26
|
+
declare const AdminScopeCode: {
|
|
27
|
+
readonly TRUST: "TRUST";
|
|
28
|
+
readonly FINANCIAL: "FINANCIAL";
|
|
29
|
+
readonly LIVE_OPS: "LIVE_OPS";
|
|
30
|
+
readonly AUDIT: "AUDIT";
|
|
31
|
+
};
|
|
32
|
+
type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];
|
|
23
33
|
declare const ProducerVerificationStatus: {
|
|
24
|
-
readonly PENDING: "
|
|
25
|
-
readonly
|
|
26
|
-
readonly REJECTED: "
|
|
34
|
+
readonly PENDING: "PENDING";
|
|
35
|
+
readonly APPROVED: "APPROVED";
|
|
36
|
+
readonly REJECTED: "REJECTED";
|
|
37
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
38
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
27
39
|
};
|
|
28
40
|
type ProducerVerificationStatus = (typeof ProducerVerificationStatus)[keyof typeof ProducerVerificationStatus];
|
|
29
41
|
|
|
42
|
+
declare const HostProfileResponseSchema: z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
userId: z.ZodString;
|
|
45
|
+
businessName: z.ZodString;
|
|
46
|
+
totalEvents: z.ZodNumber;
|
|
47
|
+
totalSpent: z.ZodNumber;
|
|
48
|
+
averageRating: z.ZodNumber;
|
|
49
|
+
defaultCurrency: z.ZodString;
|
|
50
|
+
businessRegNumber: z.ZodOptional<z.ZodString>;
|
|
51
|
+
taxId: z.ZodOptional<z.ZodString>;
|
|
52
|
+
settlementBankCode: z.ZodOptional<z.ZodString>;
|
|
53
|
+
settlementAccountNumber: z.ZodOptional<z.ZodString>;
|
|
54
|
+
settlementAccountName: z.ZodOptional<z.ZodString>;
|
|
55
|
+
paystackSubaccountCode: z.ZodOptional<z.ZodString>;
|
|
56
|
+
createdAt: z.ZodString;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
id: string;
|
|
59
|
+
userId: string;
|
|
60
|
+
businessName: string;
|
|
61
|
+
totalEvents: number;
|
|
62
|
+
totalSpent: number;
|
|
63
|
+
averageRating: number;
|
|
64
|
+
defaultCurrency: string;
|
|
65
|
+
createdAt: string;
|
|
66
|
+
businessRegNumber?: string | undefined;
|
|
67
|
+
taxId?: string | undefined;
|
|
68
|
+
settlementBankCode?: string | undefined;
|
|
69
|
+
settlementAccountNumber?: string | undefined;
|
|
70
|
+
settlementAccountName?: string | undefined;
|
|
71
|
+
paystackSubaccountCode?: string | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
id: string;
|
|
74
|
+
userId: string;
|
|
75
|
+
businessName: string;
|
|
76
|
+
totalEvents: number;
|
|
77
|
+
totalSpent: number;
|
|
78
|
+
averageRating: number;
|
|
79
|
+
defaultCurrency: string;
|
|
80
|
+
createdAt: string;
|
|
81
|
+
businessRegNumber?: string | undefined;
|
|
82
|
+
taxId?: string | undefined;
|
|
83
|
+
settlementBankCode?: string | undefined;
|
|
84
|
+
settlementAccountNumber?: string | undefined;
|
|
85
|
+
settlementAccountName?: string | undefined;
|
|
86
|
+
paystackSubaccountCode?: string | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
declare const ProducerProfileResponseSchema: z.ZodObject<{
|
|
89
|
+
id: z.ZodString;
|
|
90
|
+
userId: z.ZodString;
|
|
91
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
92
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
93
|
+
yearsExperience: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
95
|
+
serviceAreas: z.ZodArray<z.ZodString, "many">;
|
|
96
|
+
verificationStatus: z.ZodNativeEnum<{
|
|
97
|
+
readonly PENDING: "PENDING";
|
|
98
|
+
readonly APPROVED: "APPROVED";
|
|
99
|
+
readonly REJECTED: "REJECTED";
|
|
100
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
101
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
102
|
+
}>;
|
|
103
|
+
averageRating: z.ZodNumber;
|
|
104
|
+
totalReviews: z.ZodNumber;
|
|
105
|
+
completionRate: z.ZodNumber;
|
|
106
|
+
isAvailable: z.ZodBoolean;
|
|
107
|
+
createdAt: z.ZodString;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
id: string;
|
|
110
|
+
userId: string;
|
|
111
|
+
averageRating: number;
|
|
112
|
+
createdAt: string;
|
|
113
|
+
equipmentManifest: Record<string, any>[];
|
|
114
|
+
serviceAreas: string[];
|
|
115
|
+
verificationStatus: "SUSPENDED" | "PENDING" | "SUBMITTED" | "REJECTED" | "APPROVED";
|
|
116
|
+
totalReviews: number;
|
|
117
|
+
completionRate: number;
|
|
118
|
+
isAvailable: boolean;
|
|
119
|
+
companyName?: string | undefined;
|
|
120
|
+
bio?: string | undefined;
|
|
121
|
+
yearsExperience?: number | undefined;
|
|
122
|
+
}, {
|
|
123
|
+
id: string;
|
|
124
|
+
userId: string;
|
|
125
|
+
averageRating: number;
|
|
126
|
+
createdAt: string;
|
|
127
|
+
equipmentManifest: Record<string, any>[];
|
|
128
|
+
serviceAreas: string[];
|
|
129
|
+
verificationStatus: "SUSPENDED" | "PENDING" | "SUBMITTED" | "REJECTED" | "APPROVED";
|
|
130
|
+
totalReviews: number;
|
|
131
|
+
completionRate: number;
|
|
132
|
+
isAvailable: boolean;
|
|
133
|
+
companyName?: string | undefined;
|
|
134
|
+
bio?: string | undefined;
|
|
135
|
+
yearsExperience?: number | undefined;
|
|
136
|
+
}>;
|
|
30
137
|
declare const UserResponseSchema: z.ZodObject<{
|
|
31
138
|
id: z.ZodString;
|
|
32
139
|
email: z.ZodString;
|
|
140
|
+
emailVerified: z.ZodBoolean;
|
|
141
|
+
emailVerifiedAt: z.ZodOptional<z.ZodString>;
|
|
33
142
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
34
143
|
firstName: z.ZodOptional<z.ZodString>;
|
|
35
144
|
lastName: z.ZodOptional<z.ZodString>;
|
|
36
145
|
displayName: z.ZodOptional<z.ZodString>;
|
|
37
146
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
38
|
-
|
|
39
|
-
readonly HOST: 1;
|
|
40
|
-
readonly PRODUCER: 2;
|
|
41
|
-
readonly VIEWER: 4;
|
|
42
|
-
readonly ADMIN: 8;
|
|
43
|
-
}>;
|
|
147
|
+
role: z.ZodNumber;
|
|
44
148
|
accountStatus: z.ZodNativeEnum<{
|
|
45
|
-
readonly ACTIVE: "
|
|
46
|
-
readonly SUSPENDED: "
|
|
47
|
-
readonly
|
|
149
|
+
readonly ACTIVE: "ACTIVE";
|
|
150
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
151
|
+
readonly BANNED: "BANNED";
|
|
152
|
+
readonly DELETED: "DELETED";
|
|
48
153
|
}>;
|
|
49
154
|
kycStatus: z.ZodNativeEnum<{
|
|
50
|
-
readonly PENDING: "
|
|
51
|
-
readonly SUBMITTED: "
|
|
52
|
-
readonly VERIFIED: "
|
|
53
|
-
readonly REJECTED: "
|
|
155
|
+
readonly PENDING: "PENDING";
|
|
156
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
157
|
+
readonly VERIFIED: "VERIFIED";
|
|
158
|
+
readonly REJECTED: "REJECTED";
|
|
54
159
|
}>;
|
|
55
|
-
|
|
160
|
+
hostProfile: z.ZodOptional<z.ZodObject<{
|
|
161
|
+
id: z.ZodString;
|
|
162
|
+
userId: z.ZodString;
|
|
163
|
+
businessName: z.ZodString;
|
|
164
|
+
totalEvents: z.ZodNumber;
|
|
165
|
+
totalSpent: z.ZodNumber;
|
|
166
|
+
averageRating: z.ZodNumber;
|
|
167
|
+
defaultCurrency: z.ZodString;
|
|
168
|
+
businessRegNumber: z.ZodOptional<z.ZodString>;
|
|
169
|
+
taxId: z.ZodOptional<z.ZodString>;
|
|
170
|
+
settlementBankCode: z.ZodOptional<z.ZodString>;
|
|
171
|
+
settlementAccountNumber: z.ZodOptional<z.ZodString>;
|
|
172
|
+
settlementAccountName: z.ZodOptional<z.ZodString>;
|
|
173
|
+
paystackSubaccountCode: z.ZodOptional<z.ZodString>;
|
|
174
|
+
createdAt: z.ZodString;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
id: string;
|
|
177
|
+
userId: string;
|
|
178
|
+
businessName: string;
|
|
179
|
+
totalEvents: number;
|
|
180
|
+
totalSpent: number;
|
|
181
|
+
averageRating: number;
|
|
182
|
+
defaultCurrency: string;
|
|
183
|
+
createdAt: string;
|
|
184
|
+
businessRegNumber?: string | undefined;
|
|
185
|
+
taxId?: string | undefined;
|
|
186
|
+
settlementBankCode?: string | undefined;
|
|
187
|
+
settlementAccountNumber?: string | undefined;
|
|
188
|
+
settlementAccountName?: string | undefined;
|
|
189
|
+
paystackSubaccountCode?: string | undefined;
|
|
190
|
+
}, {
|
|
191
|
+
id: string;
|
|
192
|
+
userId: string;
|
|
193
|
+
businessName: string;
|
|
194
|
+
totalEvents: number;
|
|
195
|
+
totalSpent: number;
|
|
196
|
+
averageRating: number;
|
|
197
|
+
defaultCurrency: string;
|
|
198
|
+
createdAt: string;
|
|
199
|
+
businessRegNumber?: string | undefined;
|
|
200
|
+
taxId?: string | undefined;
|
|
201
|
+
settlementBankCode?: string | undefined;
|
|
202
|
+
settlementAccountNumber?: string | undefined;
|
|
203
|
+
settlementAccountName?: string | undefined;
|
|
204
|
+
paystackSubaccountCode?: string | undefined;
|
|
205
|
+
}>>;
|
|
206
|
+
producerProfile: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
id: z.ZodString;
|
|
208
|
+
userId: z.ZodString;
|
|
209
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
210
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
211
|
+
yearsExperience: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
213
|
+
serviceAreas: z.ZodArray<z.ZodString, "many">;
|
|
214
|
+
verificationStatus: z.ZodNativeEnum<{
|
|
215
|
+
readonly PENDING: "PENDING";
|
|
216
|
+
readonly APPROVED: "APPROVED";
|
|
217
|
+
readonly REJECTED: "REJECTED";
|
|
218
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
219
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
220
|
+
}>;
|
|
221
|
+
averageRating: z.ZodNumber;
|
|
222
|
+
totalReviews: z.ZodNumber;
|
|
223
|
+
completionRate: z.ZodNumber;
|
|
224
|
+
isAvailable: z.ZodBoolean;
|
|
225
|
+
createdAt: z.ZodString;
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
id: string;
|
|
228
|
+
userId: string;
|
|
229
|
+
averageRating: number;
|
|
230
|
+
createdAt: string;
|
|
231
|
+
equipmentManifest: Record<string, any>[];
|
|
232
|
+
serviceAreas: string[];
|
|
233
|
+
verificationStatus: "SUSPENDED" | "PENDING" | "SUBMITTED" | "REJECTED" | "APPROVED";
|
|
234
|
+
totalReviews: number;
|
|
235
|
+
completionRate: number;
|
|
236
|
+
isAvailable: boolean;
|
|
237
|
+
companyName?: string | undefined;
|
|
238
|
+
bio?: string | undefined;
|
|
239
|
+
yearsExperience?: number | undefined;
|
|
240
|
+
}, {
|
|
241
|
+
id: string;
|
|
242
|
+
userId: string;
|
|
243
|
+
averageRating: number;
|
|
244
|
+
createdAt: string;
|
|
245
|
+
equipmentManifest: Record<string, any>[];
|
|
246
|
+
serviceAreas: string[];
|
|
247
|
+
verificationStatus: "SUSPENDED" | "PENDING" | "SUBMITTED" | "REJECTED" | "APPROVED";
|
|
248
|
+
totalReviews: number;
|
|
249
|
+
completionRate: number;
|
|
250
|
+
isAvailable: boolean;
|
|
251
|
+
companyName?: string | undefined;
|
|
252
|
+
bio?: string | undefined;
|
|
253
|
+
yearsExperience?: number | undefined;
|
|
254
|
+
}>>;
|
|
56
255
|
createdAt: z.ZodString;
|
|
57
256
|
updatedAt: z.ZodString;
|
|
58
257
|
}, "strip", z.ZodTypeAny, {
|
|
59
258
|
id: string;
|
|
60
|
-
email: string;
|
|
61
|
-
roles: 1 | 2 | 4 | 8;
|
|
62
|
-
accountStatus: "active" | "suspended" | "deactivated";
|
|
63
|
-
kycStatus: "pending" | "submitted" | "verified" | "rejected";
|
|
64
259
|
createdAt: string;
|
|
260
|
+
email: string;
|
|
261
|
+
emailVerified: boolean;
|
|
262
|
+
role: number;
|
|
263
|
+
accountStatus: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETED";
|
|
264
|
+
kycStatus: "PENDING" | "SUBMITTED" | "VERIFIED" | "REJECTED";
|
|
65
265
|
updatedAt: string;
|
|
266
|
+
emailVerifiedAt?: string | undefined;
|
|
66
267
|
phoneNumber?: string | undefined;
|
|
67
268
|
firstName?: string | undefined;
|
|
68
269
|
lastName?: string | undefined;
|
|
69
270
|
displayName?: string | undefined;
|
|
70
271
|
avatarUrl?: string | undefined;
|
|
71
|
-
|
|
272
|
+
hostProfile?: {
|
|
273
|
+
id: string;
|
|
274
|
+
userId: string;
|
|
275
|
+
businessName: string;
|
|
276
|
+
totalEvents: number;
|
|
277
|
+
totalSpent: number;
|
|
278
|
+
averageRating: number;
|
|
279
|
+
defaultCurrency: string;
|
|
280
|
+
createdAt: string;
|
|
281
|
+
businessRegNumber?: string | undefined;
|
|
282
|
+
taxId?: string | undefined;
|
|
283
|
+
settlementBankCode?: string | undefined;
|
|
284
|
+
settlementAccountNumber?: string | undefined;
|
|
285
|
+
settlementAccountName?: string | undefined;
|
|
286
|
+
paystackSubaccountCode?: string | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
producerProfile?: {
|
|
289
|
+
id: string;
|
|
290
|
+
userId: string;
|
|
291
|
+
averageRating: number;
|
|
292
|
+
createdAt: string;
|
|
293
|
+
equipmentManifest: Record<string, any>[];
|
|
294
|
+
serviceAreas: string[];
|
|
295
|
+
verificationStatus: "SUSPENDED" | "PENDING" | "SUBMITTED" | "REJECTED" | "APPROVED";
|
|
296
|
+
totalReviews: number;
|
|
297
|
+
completionRate: number;
|
|
298
|
+
isAvailable: boolean;
|
|
299
|
+
companyName?: string | undefined;
|
|
300
|
+
bio?: string | undefined;
|
|
301
|
+
yearsExperience?: number | undefined;
|
|
302
|
+
} | undefined;
|
|
72
303
|
}, {
|
|
73
304
|
id: string;
|
|
74
|
-
email: string;
|
|
75
|
-
roles: 1 | 2 | 4 | 8;
|
|
76
|
-
accountStatus: "active" | "suspended" | "deactivated";
|
|
77
|
-
kycStatus: "pending" | "submitted" | "verified" | "rejected";
|
|
78
305
|
createdAt: string;
|
|
306
|
+
email: string;
|
|
307
|
+
emailVerified: boolean;
|
|
308
|
+
role: number;
|
|
309
|
+
accountStatus: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETED";
|
|
310
|
+
kycStatus: "PENDING" | "SUBMITTED" | "VERIFIED" | "REJECTED";
|
|
79
311
|
updatedAt: string;
|
|
312
|
+
emailVerifiedAt?: string | undefined;
|
|
80
313
|
phoneNumber?: string | undefined;
|
|
81
314
|
firstName?: string | undefined;
|
|
82
315
|
lastName?: string | undefined;
|
|
83
316
|
displayName?: string | undefined;
|
|
84
317
|
avatarUrl?: string | undefined;
|
|
85
|
-
|
|
318
|
+
hostProfile?: {
|
|
319
|
+
id: string;
|
|
320
|
+
userId: string;
|
|
321
|
+
businessName: string;
|
|
322
|
+
totalEvents: number;
|
|
323
|
+
totalSpent: number;
|
|
324
|
+
averageRating: number;
|
|
325
|
+
defaultCurrency: string;
|
|
326
|
+
createdAt: string;
|
|
327
|
+
businessRegNumber?: string | undefined;
|
|
328
|
+
taxId?: string | undefined;
|
|
329
|
+
settlementBankCode?: string | undefined;
|
|
330
|
+
settlementAccountNumber?: string | undefined;
|
|
331
|
+
settlementAccountName?: string | undefined;
|
|
332
|
+
paystackSubaccountCode?: string | undefined;
|
|
333
|
+
} | undefined;
|
|
334
|
+
producerProfile?: {
|
|
335
|
+
id: string;
|
|
336
|
+
userId: string;
|
|
337
|
+
averageRating: number;
|
|
338
|
+
createdAt: string;
|
|
339
|
+
equipmentManifest: Record<string, any>[];
|
|
340
|
+
serviceAreas: string[];
|
|
341
|
+
verificationStatus: "SUSPENDED" | "PENDING" | "SUBMITTED" | "REJECTED" | "APPROVED";
|
|
342
|
+
totalReviews: number;
|
|
343
|
+
completionRate: number;
|
|
344
|
+
isAvailable: boolean;
|
|
345
|
+
companyName?: string | undefined;
|
|
346
|
+
bio?: string | undefined;
|
|
347
|
+
yearsExperience?: number | undefined;
|
|
348
|
+
} | undefined;
|
|
86
349
|
}>;
|
|
87
350
|
declare const UpdateUserRequestSchema: z.ZodObject<{
|
|
88
351
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -104,57 +367,32 @@ declare const UpdateUserRequestSchema: z.ZodObject<{
|
|
|
104
367
|
avatarUrl?: string | undefined;
|
|
105
368
|
}>;
|
|
106
369
|
declare const CreateHostProfileRequestSchema: z.ZodObject<{
|
|
107
|
-
businessName: z.
|
|
108
|
-
businessRegNumber: z.
|
|
370
|
+
businessName: z.ZodString;
|
|
371
|
+
businessRegNumber: z.ZodString;
|
|
109
372
|
taxId: z.ZodOptional<z.ZodString>;
|
|
110
373
|
defaultCurrency: z.ZodDefault<z.ZodString>;
|
|
111
374
|
settlementBankCode: z.ZodOptional<z.ZodString>;
|
|
112
375
|
settlementAccountNumber: z.ZodOptional<z.ZodString>;
|
|
113
376
|
settlementAccountName: z.ZodOptional<z.ZodString>;
|
|
114
377
|
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
businessName: string;
|
|
115
379
|
defaultCurrency: string;
|
|
116
|
-
|
|
117
|
-
businessRegNumber?: string | undefined;
|
|
380
|
+
businessRegNumber: string;
|
|
118
381
|
taxId?: string | undefined;
|
|
119
382
|
settlementBankCode?: string | undefined;
|
|
120
383
|
settlementAccountNumber?: string | undefined;
|
|
121
384
|
settlementAccountName?: string | undefined;
|
|
122
385
|
}, {
|
|
123
|
-
businessName
|
|
124
|
-
businessRegNumber
|
|
125
|
-
taxId?: string | undefined;
|
|
386
|
+
businessName: string;
|
|
387
|
+
businessRegNumber: string;
|
|
126
388
|
defaultCurrency?: string | undefined;
|
|
389
|
+
taxId?: string | undefined;
|
|
127
390
|
settlementBankCode?: string | undefined;
|
|
128
391
|
settlementAccountNumber?: string | undefined;
|
|
129
392
|
settlementAccountName?: string | undefined;
|
|
130
393
|
}>;
|
|
131
|
-
declare const HostProfileResponseSchema: z.ZodObject<{
|
|
132
|
-
id: z.ZodString;
|
|
133
|
-
userId: z.ZodString;
|
|
134
|
-
businessName: z.ZodString;
|
|
135
|
-
totalEvents: z.ZodNumber;
|
|
136
|
-
totalSpent: z.ZodNumber;
|
|
137
|
-
averageRating: z.ZodNumber;
|
|
138
|
-
createdAt: z.ZodString;
|
|
139
|
-
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
id: string;
|
|
141
|
-
createdAt: string;
|
|
142
|
-
businessName: string;
|
|
143
|
-
userId: string;
|
|
144
|
-
totalEvents: number;
|
|
145
|
-
totalSpent: number;
|
|
146
|
-
averageRating: number;
|
|
147
|
-
}, {
|
|
148
|
-
id: string;
|
|
149
|
-
createdAt: string;
|
|
150
|
-
businessName: string;
|
|
151
|
-
userId: string;
|
|
152
|
-
totalEvents: number;
|
|
153
|
-
totalSpent: number;
|
|
154
|
-
averageRating: number;
|
|
155
|
-
}>;
|
|
156
394
|
declare const CreateProducerProfileRequestSchema: z.ZodObject<{
|
|
157
|
-
companyName: z.
|
|
395
|
+
companyName: z.ZodString;
|
|
158
396
|
bio: z.ZodOptional<z.ZodString>;
|
|
159
397
|
yearsExperience: z.ZodOptional<z.ZodNumber>;
|
|
160
398
|
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
@@ -162,69 +400,22 @@ declare const CreateProducerProfileRequestSchema: z.ZodObject<{
|
|
|
162
400
|
serviceAreas: z.ZodArray<z.ZodString, "many">;
|
|
163
401
|
maxDistanceKm: z.ZodOptional<z.ZodNumber>;
|
|
164
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
+
companyName: string;
|
|
165
404
|
equipmentManifest: Record<string, any>[];
|
|
166
405
|
serviceAreas: string[];
|
|
167
|
-
companyName?: string | undefined;
|
|
168
406
|
bio?: string | undefined;
|
|
169
407
|
yearsExperience?: number | undefined;
|
|
170
408
|
rateCard?: Record<string, any> | undefined;
|
|
171
409
|
maxDistanceKm?: number | undefined;
|
|
172
410
|
}, {
|
|
411
|
+
companyName: string;
|
|
173
412
|
equipmentManifest: Record<string, any>[];
|
|
174
413
|
serviceAreas: string[];
|
|
175
|
-
companyName?: string | undefined;
|
|
176
414
|
bio?: string | undefined;
|
|
177
415
|
yearsExperience?: number | undefined;
|
|
178
416
|
rateCard?: Record<string, any> | undefined;
|
|
179
417
|
maxDistanceKm?: number | undefined;
|
|
180
418
|
}>;
|
|
181
|
-
declare const ProducerProfileResponseSchema: z.ZodObject<{
|
|
182
|
-
id: z.ZodString;
|
|
183
|
-
userId: z.ZodString;
|
|
184
|
-
companyName: z.ZodOptional<z.ZodString>;
|
|
185
|
-
bio: z.ZodOptional<z.ZodString>;
|
|
186
|
-
yearsExperience: z.ZodOptional<z.ZodNumber>;
|
|
187
|
-
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
188
|
-
serviceAreas: z.ZodArray<z.ZodString, "many">;
|
|
189
|
-
verificationStatus: z.ZodNativeEnum<{
|
|
190
|
-
readonly PENDING: "pending";
|
|
191
|
-
readonly VERIFIED: "verified";
|
|
192
|
-
readonly REJECTED: "rejected";
|
|
193
|
-
}>;
|
|
194
|
-
averageRating: z.ZodNumber;
|
|
195
|
-
totalReviews: z.ZodNumber;
|
|
196
|
-
completionRate: z.ZodNumber;
|
|
197
|
-
isAvailable: z.ZodBoolean;
|
|
198
|
-
createdAt: z.ZodString;
|
|
199
|
-
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
id: string;
|
|
201
|
-
createdAt: string;
|
|
202
|
-
userId: string;
|
|
203
|
-
averageRating: number;
|
|
204
|
-
equipmentManifest: Record<string, any>[];
|
|
205
|
-
serviceAreas: string[];
|
|
206
|
-
verificationStatus: "pending" | "verified" | "rejected";
|
|
207
|
-
totalReviews: number;
|
|
208
|
-
completionRate: number;
|
|
209
|
-
isAvailable: boolean;
|
|
210
|
-
companyName?: string | undefined;
|
|
211
|
-
bio?: string | undefined;
|
|
212
|
-
yearsExperience?: number | undefined;
|
|
213
|
-
}, {
|
|
214
|
-
id: string;
|
|
215
|
-
createdAt: string;
|
|
216
|
-
userId: string;
|
|
217
|
-
averageRating: number;
|
|
218
|
-
equipmentManifest: Record<string, any>[];
|
|
219
|
-
serviceAreas: string[];
|
|
220
|
-
verificationStatus: "pending" | "verified" | "rejected";
|
|
221
|
-
totalReviews: number;
|
|
222
|
-
completionRate: number;
|
|
223
|
-
isAvailable: boolean;
|
|
224
|
-
companyName?: string | undefined;
|
|
225
|
-
bio?: string | undefined;
|
|
226
|
-
yearsExperience?: number | undefined;
|
|
227
|
-
}>;
|
|
228
419
|
|
|
229
420
|
type UserResponse = z.infer<typeof UserResponseSchema>;
|
|
230
421
|
type UpdateUserRequest = z.infer<typeof UpdateUserRequestSchema>;
|
|
@@ -233,4 +424,4 @@ type HostProfileResponse = z.infer<typeof HostProfileResponseSchema>;
|
|
|
233
424
|
type CreateProducerProfileRequest = z.infer<typeof CreateProducerProfileRequestSchema>;
|
|
234
425
|
type ProducerProfileResponse = z.infer<typeof ProducerProfileResponseSchema>;
|
|
235
426
|
|
|
236
|
-
export { AccountStatus, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type HostProfileResponse, HostProfileResponseSchema, KycStatus, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, type UpdateUserRequest, UpdateUserRequestSchema, type UserResponse, UserResponseSchema, UserRole };
|
|
427
|
+
export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type HostProfileResponse, HostProfileResponseSchema, KycStatus, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, type UpdateUserRequest, UpdateUserRequestSchema, type UserResponse, UserResponseSchema, UserRole };
|