@zyacreatives/shared 2.5.50 → 2.5.52
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/schemas/brand.d.ts +134 -109
- package/dist/schemas/brand.js +49 -112
- package/dist/schemas/common.d.ts +25 -0
- package/dist/schemas/common.js +30 -1
- package/dist/schemas/creative.d.ts +224 -150
- package/dist/schemas/creative.js +91 -170
- package/dist/schemas/investor.d.ts +362 -261
- package/dist/schemas/investor.js +111 -211
- package/dist/schemas/job-application.d.ts +6 -6
- package/dist/schemas/notification.d.ts +12 -12
- package/dist/schemas/project.d.ts +20 -20
- package/dist/schemas/user.d.ts +272 -1086
- package/dist/schemas/user.js +132 -247
- package/package.json +1 -1
- package/src/schemas/brand.ts +73 -129
- package/src/schemas/common.ts +32 -0
- package/src/schemas/creative.ts +118 -187
- package/src/schemas/investor.ts +154 -278
- package/src/schemas/user.ts +190 -409
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
/**
|
|
3
|
+
* --------------------------------
|
|
4
|
+
* SHAPE
|
|
5
|
+
* --------------------------------
|
|
6
|
+
*/
|
|
7
|
+
declare const InvestorShape: z.ZodObject<{
|
|
8
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
9
|
+
location: z.ZodDefault<z.ZodString>;
|
|
10
|
+
experienceLevel: z.ZodEnum<{
|
|
8
11
|
"0-1 year": "0-1 year";
|
|
9
12
|
"1-3 years": "1-3 years";
|
|
10
13
|
"3-5 years": "3-5 years";
|
|
11
14
|
"5+ years": "5+ years";
|
|
12
|
-
}
|
|
13
|
-
investorType: z.
|
|
15
|
+
}>;
|
|
16
|
+
investorType: z.ZodEnum<{
|
|
14
17
|
"Angel Investor": "Angel Investor";
|
|
15
18
|
"Venture Capitalist": "Venture Capitalist";
|
|
16
19
|
"Private Equity Firm": "Private Equity Firm";
|
|
@@ -21,16 +24,16 @@ export declare const MinimalInvestorEntitySchema: z.ZodObject<{
|
|
|
21
24
|
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
22
25
|
Government: "Government";
|
|
23
26
|
"Social Impact Investor": "Social Impact Investor";
|
|
24
|
-
}
|
|
25
|
-
investmentSize: z.
|
|
27
|
+
}>;
|
|
28
|
+
investmentSize: z.ZodEnum<{
|
|
26
29
|
"Under 5k USD": "Under 5k USD";
|
|
27
30
|
"5k - 25k USD": "5k - 25k USD";
|
|
28
31
|
"25k - 100k USD": "25k - 100k USD";
|
|
29
32
|
"100k - 500k USD": "100k - 500k USD";
|
|
30
33
|
"500k - 1M USD": "500k - 1M USD";
|
|
31
34
|
"1M+ USD": "1M+ USD";
|
|
32
|
-
}
|
|
33
|
-
geographicFocus: z.
|
|
35
|
+
}>;
|
|
36
|
+
geographicFocus: z.ZodEnum<{
|
|
34
37
|
Africa: "Africa";
|
|
35
38
|
Asia: "Asia";
|
|
36
39
|
Europe: "Europe";
|
|
@@ -42,25 +45,65 @@ export declare const MinimalInvestorEntitySchema: z.ZodObject<{
|
|
|
42
45
|
"United States (US)": "United States (US)";
|
|
43
46
|
Global: "Global";
|
|
44
47
|
Other: "Other";
|
|
45
|
-
}
|
|
46
|
-
websiteURL: z.
|
|
47
|
-
disciplines: z.
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
}>;
|
|
49
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
50
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
51
|
+
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
52
|
+
url: z.ZodURL;
|
|
53
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
54
|
+
readonly INSTAGRAM: "Instagram";
|
|
55
|
+
readonly LINKEDIN: "LinkedIn";
|
|
56
|
+
readonly TWITTER: "Twitter";
|
|
57
|
+
readonly YOUTUBE: "Youtube";
|
|
58
|
+
readonly PORTFOLIO: "Portfolio Website";
|
|
59
|
+
readonly GENERIC_WEBSITE: "Generic Website";
|
|
60
|
+
}>>;
|
|
61
|
+
}, z.core.$strip>>>;
|
|
62
|
+
achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
63
|
+
title: z.ZodString;
|
|
64
|
+
link: z.ZodOptional<z.ZodURL>;
|
|
65
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
}, z.core.$strip>>>;
|
|
50
67
|
}, z.core.$strip>;
|
|
51
|
-
export type
|
|
68
|
+
export type InvestorShapeType = z.infer<typeof InvestorShape>;
|
|
69
|
+
/**
|
|
70
|
+
* --------------------------------
|
|
71
|
+
* ENTITY (DTO)
|
|
72
|
+
* --------------------------------
|
|
73
|
+
*/
|
|
52
74
|
export declare const InvestorEntitySchema: z.ZodObject<{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
75
|
+
createdAt: z.ZodISODateTime;
|
|
76
|
+
updatedAt: z.ZodISODateTime;
|
|
77
|
+
version: z.ZodInt;
|
|
78
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
79
|
+
location: z.ZodDefault<z.ZodString>;
|
|
80
|
+
experienceLevel: z.ZodEnum<{
|
|
58
81
|
"0-1 year": "0-1 year";
|
|
59
82
|
"1-3 years": "1-3 years";
|
|
60
83
|
"3-5 years": "3-5 years";
|
|
61
84
|
"5+ years": "5+ years";
|
|
62
|
-
}
|
|
63
|
-
|
|
85
|
+
}>;
|
|
86
|
+
investorType: z.ZodEnum<{
|
|
87
|
+
"Angel Investor": "Angel Investor";
|
|
88
|
+
"Venture Capitalist": "Venture Capitalist";
|
|
89
|
+
"Private Equity Firm": "Private Equity Firm";
|
|
90
|
+
"Venture Debt Provider": "Venture Debt Provider";
|
|
91
|
+
Bank: "Bank";
|
|
92
|
+
"Convertible Note Investor": "Convertible Note Investor";
|
|
93
|
+
"Revenue Based Financing Investor": "Revenue Based Financing Investor";
|
|
94
|
+
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
95
|
+
Government: "Government";
|
|
96
|
+
"Social Impact Investor": "Social Impact Investor";
|
|
97
|
+
}>;
|
|
98
|
+
investmentSize: z.ZodEnum<{
|
|
99
|
+
"Under 5k USD": "Under 5k USD";
|
|
100
|
+
"5k - 25k USD": "5k - 25k USD";
|
|
101
|
+
"25k - 100k USD": "25k - 100k USD";
|
|
102
|
+
"100k - 500k USD": "100k - 500k USD";
|
|
103
|
+
"500k - 1M USD": "500k - 1M USD";
|
|
104
|
+
"1M+ USD": "1M+ USD";
|
|
105
|
+
}>;
|
|
106
|
+
geographicFocus: z.ZodEnum<{
|
|
64
107
|
Africa: "Africa";
|
|
65
108
|
Asia: "Asia";
|
|
66
109
|
Europe: "Europe";
|
|
@@ -72,62 +115,47 @@ export declare const InvestorEntitySchema: z.ZodObject<{
|
|
|
72
115
|
"United States (US)": "United States (US)";
|
|
73
116
|
Global: "Global";
|
|
74
117
|
Other: "Other";
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"500k - 1M USD": "500k - 1M USD";
|
|
82
|
-
"1M+ USD": "1M+ USD";
|
|
83
|
-
}>>;
|
|
84
|
-
investorType: z.ZodOptional<z.ZodEnum<{
|
|
85
|
-
"Angel Investor": "Angel Investor";
|
|
86
|
-
"Venture Capitalist": "Venture Capitalist";
|
|
87
|
-
"Private Equity Firm": "Private Equity Firm";
|
|
88
|
-
"Venture Debt Provider": "Venture Debt Provider";
|
|
89
|
-
Bank: "Bank";
|
|
90
|
-
"Convertible Note Investor": "Convertible Note Investor";
|
|
91
|
-
"Revenue Based Financing Investor": "Revenue Based Financing Investor";
|
|
92
|
-
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
93
|
-
Government: "Government";
|
|
94
|
-
"Social Impact Investor": "Social Impact Investor";
|
|
95
|
-
}>>;
|
|
96
|
-
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
97
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
98
|
-
url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
|
|
99
|
-
type: z.ZodEnum<{
|
|
118
|
+
}>;
|
|
119
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
120
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
121
|
+
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
122
|
+
url: z.ZodURL;
|
|
123
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
100
124
|
readonly INSTAGRAM: "Instagram";
|
|
101
125
|
readonly LINKEDIN: "LinkedIn";
|
|
102
126
|
readonly TWITTER: "Twitter";
|
|
103
127
|
readonly YOUTUBE: "Youtube";
|
|
104
128
|
readonly PORTFOLIO: "Portfolio Website";
|
|
105
129
|
readonly GENERIC_WEBSITE: "Generic Website";
|
|
106
|
-
}
|
|
130
|
+
}>>;
|
|
107
131
|
}, z.core.$strip>>>;
|
|
108
|
-
achievements: z.
|
|
132
|
+
achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
109
133
|
title: z.ZodString;
|
|
110
|
-
link: z.ZodOptional<z.
|
|
111
|
-
year: z.ZodOptional<z.
|
|
134
|
+
link: z.ZodOptional<z.ZodURL>;
|
|
135
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
112
136
|
}, z.core.$strip>>>;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
116
|
-
version: z.ZodInt;
|
|
137
|
+
id: z.ZodCUID2;
|
|
138
|
+
userId: z.ZodCUID2;
|
|
117
139
|
}, z.core.$strip>;
|
|
118
140
|
export type InvestorEntity = z.infer<typeof InvestorEntitySchema>;
|
|
119
|
-
|
|
141
|
+
/**
|
|
142
|
+
* Minimal version = derived, not duplicated
|
|
143
|
+
*/
|
|
144
|
+
export declare const MinimalInvestorEntitySchema: z.ZodObject<{
|
|
120
145
|
id: z.ZodCUID2;
|
|
146
|
+
createdAt: z.ZodISODateTime;
|
|
121
147
|
userId: z.ZodCUID2;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
148
|
+
updatedAt: z.ZodISODateTime;
|
|
149
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
150
|
+
location: z.ZodDefault<z.ZodString>;
|
|
151
|
+
experienceLevel: z.ZodEnum<{
|
|
125
152
|
"0-1 year": "0-1 year";
|
|
126
153
|
"1-3 years": "1-3 years";
|
|
127
154
|
"3-5 years": "3-5 years";
|
|
128
155
|
"5+ years": "5+ years";
|
|
129
|
-
}
|
|
130
|
-
|
|
156
|
+
}>;
|
|
157
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
158
|
+
investorType: z.ZodEnum<{
|
|
131
159
|
"Angel Investor": "Angel Investor";
|
|
132
160
|
"Venture Capitalist": "Venture Capitalist";
|
|
133
161
|
"Private Equity Firm": "Private Equity Firm";
|
|
@@ -138,16 +166,16 @@ export declare const InvestorWithUserEntitySchema: z.ZodObject<{
|
|
|
138
166
|
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
139
167
|
Government: "Government";
|
|
140
168
|
"Social Impact Investor": "Social Impact Investor";
|
|
141
|
-
}
|
|
142
|
-
investmentSize: z.
|
|
169
|
+
}>;
|
|
170
|
+
investmentSize: z.ZodEnum<{
|
|
143
171
|
"Under 5k USD": "Under 5k USD";
|
|
144
172
|
"5k - 25k USD": "5k - 25k USD";
|
|
145
173
|
"25k - 100k USD": "25k - 100k USD";
|
|
146
174
|
"100k - 500k USD": "100k - 500k USD";
|
|
147
175
|
"500k - 1M USD": "500k - 1M USD";
|
|
148
176
|
"1M+ USD": "1M+ USD";
|
|
149
|
-
}
|
|
150
|
-
geographicFocus: z.
|
|
177
|
+
}>;
|
|
178
|
+
geographicFocus: z.ZodEnum<{
|
|
151
179
|
Africa: "Africa";
|
|
152
180
|
Asia: "Asia";
|
|
153
181
|
Europe: "Europe";
|
|
@@ -159,40 +187,30 @@ export declare const InvestorWithUserEntitySchema: z.ZodObject<{
|
|
|
159
187
|
"United States (US)": "United States (US)";
|
|
160
188
|
Global: "Global";
|
|
161
189
|
Other: "Other";
|
|
162
|
-
}
|
|
163
|
-
websiteURL: z.
|
|
164
|
-
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
166
|
-
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
167
|
-
user: z.ZodObject<{
|
|
168
|
-
email: z.ZodEmail;
|
|
169
|
-
username: z.ZodOptional<z.ZodString>;
|
|
170
|
-
id: z.ZodCUID2;
|
|
171
|
-
name: z.ZodOptional<z.ZodString>;
|
|
172
|
-
image: z.ZodOptional<z.ZodString>;
|
|
173
|
-
role: z.ZodEnum<{
|
|
174
|
-
CREATIVE: "CREATIVE";
|
|
175
|
-
BRAND: "BRAND";
|
|
176
|
-
INVESTOR: "INVESTOR";
|
|
177
|
-
ADMIN: "ADMIN";
|
|
178
|
-
}>;
|
|
179
|
-
}, z.core.$strip>;
|
|
190
|
+
}>;
|
|
191
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
180
192
|
}, z.core.$strip>;
|
|
181
|
-
export type
|
|
193
|
+
export type MinimalInvestorEntity = z.infer<typeof MinimalInvestorEntitySchema>;
|
|
194
|
+
/**
|
|
195
|
+
* --------------------------------
|
|
196
|
+
* INPUT DTOs
|
|
197
|
+
* --------------------------------
|
|
198
|
+
*/
|
|
182
199
|
export declare const CreateInvestorProfileInputSchema: z.ZodObject<{
|
|
183
|
-
|
|
200
|
+
location: z.ZodDefault<z.ZodString>;
|
|
184
201
|
experienceLevel: z.ZodEnum<{
|
|
185
202
|
"0-1 year": "0-1 year";
|
|
186
203
|
"1-3 years": "1-3 years";
|
|
187
204
|
"3-5 years": "3-5 years";
|
|
188
205
|
"5+ years": "5+ years";
|
|
189
206
|
}>;
|
|
190
|
-
|
|
207
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
208
|
+
disciplineSlugs: z.ZodArray<z.ZodString>;
|
|
191
209
|
}, z.core.$strip>;
|
|
192
210
|
export type CreateInvestorInput = z.infer<typeof CreateInvestorProfileInputSchema>;
|
|
193
211
|
export declare const UpdateInvestorProfileInputSchema: z.ZodObject<{
|
|
194
|
-
bio: z.ZodOptional<z.ZodString
|
|
195
|
-
|
|
212
|
+
bio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
213
|
+
location: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
196
214
|
experienceLevel: z.ZodOptional<z.ZodEnum<{
|
|
197
215
|
"0-1 year": "0-1 year";
|
|
198
216
|
"1-3 years": "1-3 years";
|
|
@@ -211,7 +229,6 @@ export declare const UpdateInvestorProfileInputSchema: z.ZodObject<{
|
|
|
211
229
|
Government: "Government";
|
|
212
230
|
"Social Impact Investor": "Social Impact Investor";
|
|
213
231
|
}>>;
|
|
214
|
-
disciplineSlugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
215
232
|
investmentSize: z.ZodOptional<z.ZodEnum<{
|
|
216
233
|
"Under 5k USD": "Under 5k USD";
|
|
217
234
|
"5k - 25k USD": "5k - 25k USD";
|
|
@@ -233,70 +250,80 @@ export declare const UpdateInvestorProfileInputSchema: z.ZodObject<{
|
|
|
233
250
|
Global: "Global";
|
|
234
251
|
Other: "Other";
|
|
235
252
|
}>>;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
253
|
+
websiteURL: z.ZodOptional<z.ZodDefault<z.ZodURL>>;
|
|
254
|
+
disciplines: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
255
|
+
links: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
256
|
+
url: z.ZodURL;
|
|
257
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
239
258
|
readonly INSTAGRAM: "Instagram";
|
|
240
259
|
readonly LINKEDIN: "LinkedIn";
|
|
241
260
|
readonly TWITTER: "Twitter";
|
|
242
261
|
readonly YOUTUBE: "Youtube";
|
|
243
262
|
readonly PORTFOLIO: "Portfolio Website";
|
|
244
263
|
readonly GENERIC_WEBSITE: "Generic Website";
|
|
245
|
-
}
|
|
246
|
-
}, z.core.$strip
|
|
247
|
-
achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
264
|
+
}>>;
|
|
265
|
+
}, z.core.$strip>>>>;
|
|
266
|
+
achievements: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
248
267
|
title: z.ZodString;
|
|
249
|
-
link: z.ZodOptional<z.
|
|
250
|
-
year: z.ZodOptional<z.
|
|
251
|
-
}, z.core.$strip
|
|
252
|
-
|
|
268
|
+
link: z.ZodOptional<z.ZodURL>;
|
|
269
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
270
|
+
}, z.core.$strip>>>>;
|
|
271
|
+
disciplineSlugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
272
|
version: z.ZodInt;
|
|
254
273
|
}, z.core.$strip>;
|
|
255
274
|
export type UpdateInvestorInput = z.infer<typeof UpdateInvestorProfileInputSchema>;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
"1-3 years": "1-3 years";
|
|
262
|
-
"3-5 years": "3-5 years";
|
|
263
|
-
"5+ years": "5+ years";
|
|
264
|
-
}>>>;
|
|
265
|
-
location: z.ZodOptional<z.ZodString>;
|
|
266
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
267
|
-
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
268
|
-
perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
269
|
-
}, z.core.$strip>;
|
|
270
|
-
export type ListInvestorsInput = z.infer<typeof ListInvestorsInputSchema>;
|
|
271
|
-
export declare const SearchInvestorInputSchema: z.ZodObject<{
|
|
272
|
-
string: z.ZodString;
|
|
273
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
274
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
275
|
-
}, z.core.$strip>;
|
|
276
|
-
export type SearchInvestorInput = z.infer<typeof SearchInvestorInputSchema>;
|
|
275
|
+
/**
|
|
276
|
+
* --------------------------------
|
|
277
|
+
* GET / SEARCH
|
|
278
|
+
* --------------------------------
|
|
279
|
+
*/
|
|
277
280
|
export declare const GetInvestorParamsSchema: z.ZodObject<{
|
|
278
281
|
value: z.ZodCUID2;
|
|
279
282
|
}, z.core.$strip>;
|
|
280
|
-
export type GetInvestorParams = z.infer<typeof GetInvestorParamsSchema>;
|
|
281
283
|
export declare const GetInvestorQuerySchema: z.ZodObject<{
|
|
282
284
|
by: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
283
285
|
id: "id";
|
|
284
286
|
userId: "userId";
|
|
285
287
|
}>>>;
|
|
286
288
|
}, z.core.$strip>;
|
|
287
|
-
|
|
289
|
+
/**
|
|
290
|
+
* --------------------------------
|
|
291
|
+
* OUTPUT
|
|
292
|
+
* --------------------------------
|
|
293
|
+
*/
|
|
288
294
|
export declare const CreateInvestorOutputSchema: z.ZodObject<{
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
295
|
+
createdAt: z.ZodISODateTime;
|
|
296
|
+
updatedAt: z.ZodISODateTime;
|
|
297
|
+
version: z.ZodInt;
|
|
298
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
299
|
+
location: z.ZodDefault<z.ZodString>;
|
|
300
|
+
experienceLevel: z.ZodEnum<{
|
|
294
301
|
"0-1 year": "0-1 year";
|
|
295
302
|
"1-3 years": "1-3 years";
|
|
296
303
|
"3-5 years": "3-5 years";
|
|
297
304
|
"5+ years": "5+ years";
|
|
298
|
-
}
|
|
299
|
-
|
|
305
|
+
}>;
|
|
306
|
+
investorType: z.ZodEnum<{
|
|
307
|
+
"Angel Investor": "Angel Investor";
|
|
308
|
+
"Venture Capitalist": "Venture Capitalist";
|
|
309
|
+
"Private Equity Firm": "Private Equity Firm";
|
|
310
|
+
"Venture Debt Provider": "Venture Debt Provider";
|
|
311
|
+
Bank: "Bank";
|
|
312
|
+
"Convertible Note Investor": "Convertible Note Investor";
|
|
313
|
+
"Revenue Based Financing Investor": "Revenue Based Financing Investor";
|
|
314
|
+
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
315
|
+
Government: "Government";
|
|
316
|
+
"Social Impact Investor": "Social Impact Investor";
|
|
317
|
+
}>;
|
|
318
|
+
investmentSize: z.ZodEnum<{
|
|
319
|
+
"Under 5k USD": "Under 5k USD";
|
|
320
|
+
"5k - 25k USD": "5k - 25k USD";
|
|
321
|
+
"25k - 100k USD": "25k - 100k USD";
|
|
322
|
+
"100k - 500k USD": "100k - 500k USD";
|
|
323
|
+
"500k - 1M USD": "500k - 1M USD";
|
|
324
|
+
"1M+ USD": "1M+ USD";
|
|
325
|
+
}>;
|
|
326
|
+
geographicFocus: z.ZodEnum<{
|
|
300
327
|
Africa: "Africa";
|
|
301
328
|
Asia: "Asia";
|
|
302
329
|
Europe: "Europe";
|
|
@@ -308,62 +335,61 @@ export declare const CreateInvestorOutputSchema: z.ZodObject<{
|
|
|
308
335
|
"United States (US)": "United States (US)";
|
|
309
336
|
Global: "Global";
|
|
310
337
|
Other: "Other";
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
"500k - 1M USD": "500k - 1M USD";
|
|
318
|
-
"1M+ USD": "1M+ USD";
|
|
319
|
-
}>>;
|
|
320
|
-
investorType: z.ZodOptional<z.ZodEnum<{
|
|
321
|
-
"Angel Investor": "Angel Investor";
|
|
322
|
-
"Venture Capitalist": "Venture Capitalist";
|
|
323
|
-
"Private Equity Firm": "Private Equity Firm";
|
|
324
|
-
"Venture Debt Provider": "Venture Debt Provider";
|
|
325
|
-
Bank: "Bank";
|
|
326
|
-
"Convertible Note Investor": "Convertible Note Investor";
|
|
327
|
-
"Revenue Based Financing Investor": "Revenue Based Financing Investor";
|
|
328
|
-
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
329
|
-
Government: "Government";
|
|
330
|
-
"Social Impact Investor": "Social Impact Investor";
|
|
331
|
-
}>>;
|
|
332
|
-
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
333
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
334
|
-
url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
|
|
335
|
-
type: z.ZodEnum<{
|
|
338
|
+
}>;
|
|
339
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
340
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
341
|
+
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
342
|
+
url: z.ZodURL;
|
|
343
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
336
344
|
readonly INSTAGRAM: "Instagram";
|
|
337
345
|
readonly LINKEDIN: "LinkedIn";
|
|
338
346
|
readonly TWITTER: "Twitter";
|
|
339
347
|
readonly YOUTUBE: "Youtube";
|
|
340
348
|
readonly PORTFOLIO: "Portfolio Website";
|
|
341
349
|
readonly GENERIC_WEBSITE: "Generic Website";
|
|
342
|
-
}
|
|
350
|
+
}>>;
|
|
343
351
|
}, z.core.$strip>>>;
|
|
344
|
-
achievements: z.
|
|
352
|
+
achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
345
353
|
title: z.ZodString;
|
|
346
|
-
link: z.ZodOptional<z.
|
|
347
|
-
year: z.ZodOptional<z.
|
|
354
|
+
link: z.ZodOptional<z.ZodURL>;
|
|
355
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
348
356
|
}, z.core.$strip>>>;
|
|
349
|
-
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
350
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
351
|
-
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
352
|
-
version: z.ZodInt;
|
|
353
|
-
}, z.core.$strip>;
|
|
354
|
-
export type CreateInvestorOutput = z.infer<typeof CreateInvestorOutputSchema>;
|
|
355
|
-
export declare const GetInvestorOutputSchema: z.ZodObject<{
|
|
356
357
|
id: z.ZodCUID2;
|
|
357
358
|
userId: z.ZodCUID2;
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
}, z.core.$strip>;
|
|
360
|
+
export declare const GetInvestorOutputSchema: z.ZodObject<{
|
|
361
|
+
createdAt: z.ZodISODateTime;
|
|
362
|
+
updatedAt: z.ZodISODateTime;
|
|
363
|
+
version: z.ZodInt;
|
|
364
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
365
|
+
location: z.ZodDefault<z.ZodString>;
|
|
366
|
+
experienceLevel: z.ZodEnum<{
|
|
361
367
|
"0-1 year": "0-1 year";
|
|
362
368
|
"1-3 years": "1-3 years";
|
|
363
369
|
"3-5 years": "3-5 years";
|
|
364
370
|
"5+ years": "5+ years";
|
|
365
|
-
}
|
|
366
|
-
|
|
371
|
+
}>;
|
|
372
|
+
investorType: z.ZodEnum<{
|
|
373
|
+
"Angel Investor": "Angel Investor";
|
|
374
|
+
"Venture Capitalist": "Venture Capitalist";
|
|
375
|
+
"Private Equity Firm": "Private Equity Firm";
|
|
376
|
+
"Venture Debt Provider": "Venture Debt Provider";
|
|
377
|
+
Bank: "Bank";
|
|
378
|
+
"Convertible Note Investor": "Convertible Note Investor";
|
|
379
|
+
"Revenue Based Financing Investor": "Revenue Based Financing Investor";
|
|
380
|
+
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
381
|
+
Government: "Government";
|
|
382
|
+
"Social Impact Investor": "Social Impact Investor";
|
|
383
|
+
}>;
|
|
384
|
+
investmentSize: z.ZodEnum<{
|
|
385
|
+
"Under 5k USD": "Under 5k USD";
|
|
386
|
+
"5k - 25k USD": "5k - 25k USD";
|
|
387
|
+
"25k - 100k USD": "25k - 100k USD";
|
|
388
|
+
"100k - 500k USD": "100k - 500k USD";
|
|
389
|
+
"500k - 1M USD": "500k - 1M USD";
|
|
390
|
+
"1M+ USD": "1M+ USD";
|
|
391
|
+
}>;
|
|
392
|
+
geographicFocus: z.ZodEnum<{
|
|
367
393
|
Africa: "Africa";
|
|
368
394
|
Asia: "Asia";
|
|
369
395
|
Europe: "Europe";
|
|
@@ -375,16 +401,41 @@ export declare const GetInvestorOutputSchema: z.ZodObject<{
|
|
|
375
401
|
"United States (US)": "United States (US)";
|
|
376
402
|
Global: "Global";
|
|
377
403
|
Other: "Other";
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
404
|
+
}>;
|
|
405
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
406
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
407
|
+
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
408
|
+
url: z.ZodURL;
|
|
409
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
410
|
+
readonly INSTAGRAM: "Instagram";
|
|
411
|
+
readonly LINKEDIN: "LinkedIn";
|
|
412
|
+
readonly TWITTER: "Twitter";
|
|
413
|
+
readonly YOUTUBE: "Youtube";
|
|
414
|
+
readonly PORTFOLIO: "Portfolio Website";
|
|
415
|
+
readonly GENERIC_WEBSITE: "Generic Website";
|
|
416
|
+
}>>;
|
|
417
|
+
}, z.core.$strip>>>;
|
|
418
|
+
achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
419
|
+
title: z.ZodString;
|
|
420
|
+
link: z.ZodOptional<z.ZodURL>;
|
|
421
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
422
|
+
}, z.core.$strip>>>;
|
|
423
|
+
id: z.ZodCUID2;
|
|
424
|
+
userId: z.ZodCUID2;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
export declare const UpdateInvestorOutputSchema: z.ZodObject<{
|
|
427
|
+
createdAt: z.ZodISODateTime;
|
|
428
|
+
updatedAt: z.ZodISODateTime;
|
|
429
|
+
version: z.ZodInt;
|
|
430
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
431
|
+
location: z.ZodDefault<z.ZodString>;
|
|
432
|
+
experienceLevel: z.ZodEnum<{
|
|
433
|
+
"0-1 year": "0-1 year";
|
|
434
|
+
"1-3 years": "1-3 years";
|
|
435
|
+
"3-5 years": "3-5 years";
|
|
436
|
+
"5+ years": "5+ years";
|
|
437
|
+
}>;
|
|
438
|
+
investorType: z.ZodEnum<{
|
|
388
439
|
"Angel Investor": "Angel Investor";
|
|
389
440
|
"Venture Capitalist": "Venture Capitalist";
|
|
390
441
|
"Private Equity Firm": "Private Equity Firm";
|
|
@@ -395,42 +446,92 @@ export declare const GetInvestorOutputSchema: z.ZodObject<{
|
|
|
395
446
|
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
396
447
|
Government: "Government";
|
|
397
448
|
"Social Impact Investor": "Social Impact Investor";
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
449
|
+
}>;
|
|
450
|
+
investmentSize: z.ZodEnum<{
|
|
451
|
+
"Under 5k USD": "Under 5k USD";
|
|
452
|
+
"5k - 25k USD": "5k - 25k USD";
|
|
453
|
+
"25k - 100k USD": "25k - 100k USD";
|
|
454
|
+
"100k - 500k USD": "100k - 500k USD";
|
|
455
|
+
"500k - 1M USD": "500k - 1M USD";
|
|
456
|
+
"1M+ USD": "1M+ USD";
|
|
457
|
+
}>;
|
|
458
|
+
geographicFocus: z.ZodEnum<{
|
|
459
|
+
Africa: "Africa";
|
|
460
|
+
Asia: "Asia";
|
|
461
|
+
Europe: "Europe";
|
|
462
|
+
"North America": "North America";
|
|
463
|
+
"South America": "South America";
|
|
464
|
+
"Middle East": "Middle East";
|
|
465
|
+
Oceania: "Oceania";
|
|
466
|
+
"United Kingdom (UK)": "United Kingdom (UK)";
|
|
467
|
+
"United States (US)": "United States (US)";
|
|
468
|
+
Global: "Global";
|
|
469
|
+
Other: "Other";
|
|
470
|
+
}>;
|
|
471
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
472
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
473
|
+
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
474
|
+
url: z.ZodURL;
|
|
475
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
403
476
|
readonly INSTAGRAM: "Instagram";
|
|
404
477
|
readonly LINKEDIN: "LinkedIn";
|
|
405
478
|
readonly TWITTER: "Twitter";
|
|
406
479
|
readonly YOUTUBE: "Youtube";
|
|
407
480
|
readonly PORTFOLIO: "Portfolio Website";
|
|
408
481
|
readonly GENERIC_WEBSITE: "Generic Website";
|
|
409
|
-
}
|
|
482
|
+
}>>;
|
|
410
483
|
}, z.core.$strip>>>;
|
|
411
|
-
achievements: z.
|
|
484
|
+
achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
412
485
|
title: z.ZodString;
|
|
413
|
-
link: z.ZodOptional<z.
|
|
414
|
-
year: z.ZodOptional<z.
|
|
486
|
+
link: z.ZodOptional<z.ZodURL>;
|
|
487
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
415
488
|
}, z.core.$strip>>>;
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
419
|
-
version: z.ZodInt;
|
|
489
|
+
id: z.ZodCUID2;
|
|
490
|
+
userId: z.ZodCUID2;
|
|
420
491
|
}, z.core.$strip>;
|
|
492
|
+
export type CreateInvestorOutput = z.infer<typeof CreateInvestorOutputSchema>;
|
|
421
493
|
export type GetInvestorOutput = z.infer<typeof GetInvestorOutputSchema>;
|
|
422
|
-
export
|
|
494
|
+
export type UpdateInvestorOutput = z.infer<typeof UpdateInvestorOutputSchema>;
|
|
495
|
+
/**
|
|
496
|
+
* --------------------------------
|
|
497
|
+
* ENTITY WITH USER
|
|
498
|
+
* --------------------------------
|
|
499
|
+
*/
|
|
500
|
+
export declare const InvestorWithUserEntitySchema: z.ZodObject<{
|
|
423
501
|
id: z.ZodCUID2;
|
|
502
|
+
createdAt: z.ZodISODateTime;
|
|
424
503
|
userId: z.ZodCUID2;
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
504
|
+
updatedAt: z.ZodISODateTime;
|
|
505
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
506
|
+
location: z.ZodDefault<z.ZodString>;
|
|
507
|
+
experienceLevel: z.ZodEnum<{
|
|
428
508
|
"0-1 year": "0-1 year";
|
|
429
509
|
"1-3 years": "1-3 years";
|
|
430
510
|
"3-5 years": "3-5 years";
|
|
431
511
|
"5+ years": "5+ years";
|
|
432
|
-
}
|
|
433
|
-
|
|
512
|
+
}>;
|
|
513
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
514
|
+
investorType: z.ZodEnum<{
|
|
515
|
+
"Angel Investor": "Angel Investor";
|
|
516
|
+
"Venture Capitalist": "Venture Capitalist";
|
|
517
|
+
"Private Equity Firm": "Private Equity Firm";
|
|
518
|
+
"Venture Debt Provider": "Venture Debt Provider";
|
|
519
|
+
Bank: "Bank";
|
|
520
|
+
"Convertible Note Investor": "Convertible Note Investor";
|
|
521
|
+
"Revenue Based Financing Investor": "Revenue Based Financing Investor";
|
|
522
|
+
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
523
|
+
Government: "Government";
|
|
524
|
+
"Social Impact Investor": "Social Impact Investor";
|
|
525
|
+
}>;
|
|
526
|
+
investmentSize: z.ZodEnum<{
|
|
527
|
+
"Under 5k USD": "Under 5k USD";
|
|
528
|
+
"5k - 25k USD": "5k - 25k USD";
|
|
529
|
+
"25k - 100k USD": "25k - 100k USD";
|
|
530
|
+
"100k - 500k USD": "100k - 500k USD";
|
|
531
|
+
"500k - 1M USD": "500k - 1M USD";
|
|
532
|
+
"1M+ USD": "1M+ USD";
|
|
533
|
+
}>;
|
|
534
|
+
geographicFocus: z.ZodEnum<{
|
|
434
535
|
Africa: "Africa";
|
|
435
536
|
Asia: "Asia";
|
|
436
537
|
Europe: "Europe";
|
|
@@ -442,63 +543,65 @@ export declare const UpdateInvestorOutputSchema: z.ZodObject<{
|
|
|
442
543
|
"United States (US)": "United States (US)";
|
|
443
544
|
Global: "Global";
|
|
444
545
|
Other: "Other";
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
"Venture Debt Provider": "Venture Debt Provider";
|
|
459
|
-
Bank: "Bank";
|
|
460
|
-
"Convertible Note Investor": "Convertible Note Investor";
|
|
461
|
-
"Revenue Based Financing Investor": "Revenue Based Financing Investor";
|
|
462
|
-
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
463
|
-
Government: "Government";
|
|
464
|
-
"Social Impact Investor": "Social Impact Investor";
|
|
465
|
-
}>>;
|
|
466
|
-
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
467
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
468
|
-
url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
|
|
469
|
-
type: z.ZodEnum<{
|
|
470
|
-
readonly INSTAGRAM: "Instagram";
|
|
471
|
-
readonly LINKEDIN: "LinkedIn";
|
|
472
|
-
readonly TWITTER: "Twitter";
|
|
473
|
-
readonly YOUTUBE: "Youtube";
|
|
474
|
-
readonly PORTFOLIO: "Portfolio Website";
|
|
475
|
-
readonly GENERIC_WEBSITE: "Generic Website";
|
|
546
|
+
}>;
|
|
547
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
548
|
+
user: z.ZodObject<{
|
|
549
|
+
email: z.ZodEmail;
|
|
550
|
+
username: z.ZodDefault<z.ZodString>;
|
|
551
|
+
id: z.ZodCUID2;
|
|
552
|
+
name: z.ZodDefault<z.ZodString>;
|
|
553
|
+
image: z.ZodDefault<z.ZodString>;
|
|
554
|
+
role: z.ZodEnum<{
|
|
555
|
+
CREATIVE: "CREATIVE";
|
|
556
|
+
BRAND: "BRAND";
|
|
557
|
+
INVESTOR: "INVESTOR";
|
|
558
|
+
ADMIN: "ADMIN";
|
|
476
559
|
}>;
|
|
477
|
-
}, z.core.$strip
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
560
|
+
}, z.core.$strip>;
|
|
561
|
+
}, z.core.$strip>;
|
|
562
|
+
export type InvestorWithUserEntity = z.infer<typeof InvestorWithUserEntitySchema>;
|
|
563
|
+
/**
|
|
564
|
+
* --------------------------------
|
|
565
|
+
* LIST / SEARCH
|
|
566
|
+
* --------------------------------
|
|
567
|
+
*/
|
|
568
|
+
export declare const ListInvestorsInputSchema: z.ZodObject<{
|
|
569
|
+
query: z.ZodDefault<z.ZodString>;
|
|
483
570
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
571
|
+
experienceLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
572
|
+
"0-1 year": "0-1 year";
|
|
573
|
+
"1-3 years": "1-3 years";
|
|
574
|
+
"3-5 years": "3-5 years";
|
|
575
|
+
"5+ years": "5+ years";
|
|
576
|
+
}>>>;
|
|
577
|
+
location: z.ZodOptional<z.ZodString>;
|
|
578
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
579
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
580
|
+
perPage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
487
581
|
}, z.core.$strip>;
|
|
488
|
-
export type
|
|
582
|
+
export type ListInvestorsInput = z.infer<typeof ListInvestorsInputSchema>;
|
|
583
|
+
export declare const SearchInvestorInputSchema: z.ZodObject<{
|
|
584
|
+
string: z.ZodString;
|
|
585
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
586
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
export type SearchInvestorInput = z.infer<typeof SearchInvestorInputSchema>;
|
|
489
589
|
export declare const SearchInvestorOutputSchema: z.ZodObject<{
|
|
490
590
|
investors: z.ZodArray<z.ZodObject<{
|
|
491
591
|
id: z.ZodCUID2;
|
|
592
|
+
createdAt: z.ZodISODateTime;
|
|
492
593
|
userId: z.ZodCUID2;
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
594
|
+
updatedAt: z.ZodISODateTime;
|
|
595
|
+
bio: z.ZodDefault<z.ZodString>;
|
|
596
|
+
location: z.ZodDefault<z.ZodString>;
|
|
597
|
+
experienceLevel: z.ZodEnum<{
|
|
496
598
|
"0-1 year": "0-1 year";
|
|
497
599
|
"1-3 years": "1-3 years";
|
|
498
600
|
"3-5 years": "3-5 years";
|
|
499
601
|
"5+ years": "5+ years";
|
|
500
|
-
}
|
|
501
|
-
|
|
602
|
+
}>;
|
|
603
|
+
disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
604
|
+
investorType: z.ZodEnum<{
|
|
502
605
|
"Angel Investor": "Angel Investor";
|
|
503
606
|
"Venture Capitalist": "Venture Capitalist";
|
|
504
607
|
"Private Equity Firm": "Private Equity Firm";
|
|
@@ -509,16 +612,16 @@ export declare const SearchInvestorOutputSchema: z.ZodObject<{
|
|
|
509
612
|
"Corporate Venture Capitalist": "Corporate Venture Capitalist";
|
|
510
613
|
Government: "Government";
|
|
511
614
|
"Social Impact Investor": "Social Impact Investor";
|
|
512
|
-
}
|
|
513
|
-
investmentSize: z.
|
|
615
|
+
}>;
|
|
616
|
+
investmentSize: z.ZodEnum<{
|
|
514
617
|
"Under 5k USD": "Under 5k USD";
|
|
515
618
|
"5k - 25k USD": "5k - 25k USD";
|
|
516
619
|
"25k - 100k USD": "25k - 100k USD";
|
|
517
620
|
"100k - 500k USD": "100k - 500k USD";
|
|
518
621
|
"500k - 1M USD": "500k - 1M USD";
|
|
519
622
|
"1M+ USD": "1M+ USD";
|
|
520
|
-
}
|
|
521
|
-
geographicFocus: z.
|
|
623
|
+
}>;
|
|
624
|
+
geographicFocus: z.ZodEnum<{
|
|
522
625
|
Africa: "Africa";
|
|
523
626
|
Asia: "Asia";
|
|
524
627
|
Europe: "Europe";
|
|
@@ -530,17 +633,14 @@ export declare const SearchInvestorOutputSchema: z.ZodObject<{
|
|
|
530
633
|
"United States (US)": "United States (US)";
|
|
531
634
|
Global: "Global";
|
|
532
635
|
Other: "Other";
|
|
533
|
-
}
|
|
534
|
-
websiteURL: z.
|
|
535
|
-
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
536
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
537
|
-
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
636
|
+
}>;
|
|
637
|
+
websiteURL: z.ZodDefault<z.ZodURL>;
|
|
538
638
|
user: z.ZodObject<{
|
|
539
639
|
email: z.ZodEmail;
|
|
540
|
-
username: z.
|
|
640
|
+
username: z.ZodDefault<z.ZodString>;
|
|
541
641
|
id: z.ZodCUID2;
|
|
542
|
-
name: z.
|
|
543
|
-
image: z.
|
|
642
|
+
name: z.ZodDefault<z.ZodString>;
|
|
643
|
+
image: z.ZodDefault<z.ZodString>;
|
|
544
644
|
role: z.ZodEnum<{
|
|
545
645
|
CREATIVE: "CREATIVE";
|
|
546
646
|
BRAND: "BRAND";
|
|
@@ -549,6 +649,7 @@ export declare const SearchInvestorOutputSchema: z.ZodObject<{
|
|
|
549
649
|
}>;
|
|
550
650
|
}, z.core.$strip>;
|
|
551
651
|
}, z.core.$strip>>;
|
|
552
|
-
nextCursor: z.
|
|
652
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
553
653
|
}, z.core.$strip>;
|
|
554
654
|
export type SearchInvestorOutput = z.infer<typeof SearchInvestorOutputSchema>;
|
|
655
|
+
export {};
|