@zyacreatives/shared 1.1.4 → 1.2.1

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.
@@ -3,12 +3,47 @@ export declare const BrandEntitySchema: z.ZodObject<{
3
3
  id: z.ZodCUID2;
4
4
  userId: z.ZodCUID2;
5
5
  brandName: z.ZodString;
6
- searchVector: z.ZodOptional<z.ZodString>;
7
6
  bio: z.ZodOptional<z.ZodString>;
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ createdAt: z.ZodString;
9
+ updatedAt: z.ZodString;
10
+ }, z.core.$strip>;
11
+ export declare const BrandWithUserEntitySchema: z.ZodObject<{
12
+ id: z.ZodCUID2;
13
+ userId: z.ZodCUID2;
14
+ brandName: z.ZodString;
15
+ bio: z.ZodOptional<z.ZodString>;
16
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ createdAt: z.ZodString;
18
+ updatedAt: z.ZodString;
19
+ user: z.ZodObject<{
20
+ id: z.ZodCUID2;
21
+ username: z.ZodOptional<z.ZodString>;
22
+ email: z.ZodString;
23
+ name: z.ZodOptional<z.ZodString>;
24
+ image: z.ZodOptional<z.ZodString>;
25
+ role: z.ZodEnum<{
26
+ CREATIVE: "CREATIVE";
27
+ BRAND: "BRAND";
28
+ INVESTOR: "INVESTOR";
29
+ ADMIN: "ADMIN";
30
+ }>;
31
+ }, z.core.$strip>;
32
+ disciplines: z.ZodArray<z.ZodString>;
33
+ }, z.core.$strip>;
34
+ export declare const ListBrandsInputSchema: z.ZodObject<{
35
+ query: z.ZodOptional<z.ZodString>;
8
36
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ experienceLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
38
+ "0-1 year": "0-1 year";
39
+ "1-3 years": "1-3 years";
40
+ "3-5 years": "3-5 years";
41
+ "5+ years": "5+ years";
42
+ }>>>;
43
+ location: z.ZodOptional<z.ZodString>;
9
44
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
- createdAt: z.ZodISODateTime;
11
- updatedAt: z.ZodISODateTime;
45
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
46
+ perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
12
47
  }, z.core.$strip>;
13
48
  export declare const CreateBrandProfileSchema: z.ZodObject<{
14
49
  brandName: z.ZodString;
@@ -33,29 +68,25 @@ export declare const CreateBrandEndpointResponseSchema: z.ZodObject<{
33
68
  id: z.ZodCUID2;
34
69
  userId: z.ZodCUID2;
35
70
  brandName: z.ZodString;
36
- searchVector: z.ZodOptional<z.ZodString>;
37
71
  bio: z.ZodOptional<z.ZodString>;
38
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
72
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
40
- createdAt: z.ZodISODateTime;
41
- updatedAt: z.ZodISODateTime;
73
+ createdAt: z.ZodString;
74
+ updatedAt: z.ZodString;
42
75
  }, z.core.$strip>;
43
76
  export declare const GetBrandEndpointResponseSchema: z.ZodObject<{
44
77
  id: z.ZodCUID2;
45
78
  userId: z.ZodCUID2;
46
79
  brandName: z.ZodString;
47
- searchVector: z.ZodOptional<z.ZodString>;
48
80
  bio: z.ZodOptional<z.ZodString>;
49
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
81
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
- createdAt: z.ZodISODateTime;
52
- updatedAt: z.ZodISODateTime;
82
+ createdAt: z.ZodString;
83
+ updatedAt: z.ZodString;
53
84
  user: z.ZodObject<{
54
85
  id: z.ZodCUID2;
86
+ username: z.ZodOptional<z.ZodString>;
87
+ email: z.ZodString;
55
88
  name: z.ZodOptional<z.ZodString>;
56
- email: z.ZodEmail;
57
89
  image: z.ZodOptional<z.ZodString>;
58
- username: z.ZodOptional<z.ZodString>;
59
90
  role: z.ZodEnum<{
60
91
  CREATIVE: "CREATIVE";
61
92
  BRAND: "BRAND";
@@ -68,21 +99,8 @@ export declare const UpdateBrandEndpointResponseSchema: z.ZodObject<{
68
99
  id: z.ZodCUID2;
69
100
  userId: z.ZodCUID2;
70
101
  brandName: z.ZodString;
71
- searchVector: z.ZodOptional<z.ZodString>;
72
102
  bio: z.ZodOptional<z.ZodString>;
73
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
103
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
- createdAt: z.ZodISODateTime;
76
- updatedAt: z.ZodISODateTime;
104
+ createdAt: z.ZodString;
105
+ updatedAt: z.ZodString;
77
106
  }, z.core.$strip>;
78
- export type CreateBrandDto = z.infer<typeof CreateBrandProfileSchema> & {
79
- userId: string;
80
- };
81
- export type UpdateBrandDto = z.infer<typeof UpdateBrandProfileSchema> & {
82
- userId: string;
83
- };
84
- export type GetBrandParams = z.infer<typeof GetBrandParamsSchema>;
85
- export type GetBrandQuery = z.infer<typeof GetBrandQuerySchema>;
86
- export type CreateBrandEndpointResponse = z.infer<typeof CreateBrandEndpointResponseSchema>;
87
- export type GetBrandEndpointResponse = z.infer<typeof GetBrandEndpointResponseSchema>;
88
- export type UpdateBrandEndpointResponse = z.infer<typeof UpdateBrandEndpointResponseSchema>;
@@ -1,36 +1,68 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateBrandEndpointResponseSchema = exports.GetBrandEndpointResponseSchema = exports.CreateBrandEndpointResponseSchema = exports.GetBrandQuerySchema = exports.GetBrandParamsSchema = exports.UpdateBrandProfileSchema = exports.CreateBrandProfileSchema = exports.BrandEntitySchema = void 0;
3
+ exports.UpdateBrandEndpointResponseSchema = exports.GetBrandEndpointResponseSchema = exports.CreateBrandEndpointResponseSchema = exports.GetBrandQuerySchema = exports.GetBrandParamsSchema = exports.UpdateBrandProfileSchema = exports.CreateBrandProfileSchema = exports.ListBrandsInputSchema = exports.BrandWithUserEntitySchema = exports.BrandEntitySchema = void 0;
4
4
  const zod_openapi_1 = require("@hono/zod-openapi");
5
5
  const common_1 = require("./common");
6
6
  const user_1 = require("./user");
7
+ const constants_1 = require("../constants");
7
8
  exports.BrandEntitySchema = zod_openapi_1.z
8
9
  .object({
9
- id: zod_openapi_1.z.cuid2().openapi({ example: "cksd0v6q0000s9a5y8z7p3x9" }),
10
- userId: zod_openapi_1.z.cuid2().openapi({ example: "cksd0v6q0000s9a5y8z7p3x9" }),
11
- brandName: zod_openapi_1.z.string().min(1).openapi({ example: "Acme Creative Studio" }),
12
- searchVector: zod_openapi_1.z.string().optional(),
13
- bio: zod_openapi_1.z.string().optional().openapi({
14
- example: "A creative studio specializing in product design.",
15
- }),
16
- disciplines: zod_openapi_1.z
17
- .array(zod_openapi_1.z.string())
10
+ id: zod_openapi_1.z.cuid2().openapi({ example: "brd_cksd0v6q0000s9a5y8z7p3x9" }),
11
+ userId: zod_openapi_1.z.cuid2().openapi({ example: "user_owner_123" }),
12
+ brandName: zod_openapi_1.z.string().openapi({ example: "TechInnovate Inc." }),
13
+ bio: zod_openapi_1.z
14
+ .string()
18
15
  .optional()
19
- .openapi({
20
- example: ["graphic-design", "branding"],
21
- }),
16
+ .openapi({ example: "Leading software development firm focused on AI." }),
22
17
  tags: zod_openapi_1.z
23
18
  .array(zod_openapi_1.z.string())
24
19
  .optional()
25
- .openapi({ example: ["branding", "design", "marketing"] }),
26
- createdAt: zod_openapi_1.z.iso
20
+ .openapi({ example: ["technology", "saas", "startup"] }),
21
+ createdAt: zod_openapi_1.z
22
+ .string()
27
23
  .datetime()
28
24
  .openapi({ example: "2025-10-13T09:00:00.000Z" }),
29
- updatedAt: zod_openapi_1.z.iso
25
+ updatedAt: zod_openapi_1.z
26
+ .string()
30
27
  .datetime()
31
28
  .openapi({ example: "2025-10-13T09:00:00.000Z" }),
32
29
  })
33
30
  .openapi("BrandEntity");
31
+ exports.BrandWithUserEntitySchema = exports.BrandEntitySchema.extend({
32
+ user: user_1.MinimalUserSchema,
33
+ disciplines: zod_openapi_1.z
34
+ .array(zod_openapi_1.z.string())
35
+ .openapi({ example: ["Marketing", "Product Development"] }),
36
+ }).openapi("BrandWithUserEntity");
37
+ exports.ListBrandsInputSchema = zod_openapi_1.z
38
+ .object({
39
+ query: zod_openapi_1.z.string().optional().openapi({ example: "AI software brand" }),
40
+ disciplines: zod_openapi_1.z
41
+ .array(zod_openapi_1.z.string())
42
+ .optional()
43
+ .openapi({ example: ["design", "marketing"] }),
44
+ experienceLevels: zod_openapi_1.z
45
+ .array(zod_openapi_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)))
46
+ .optional()
47
+ .openapi({
48
+ description: "Filter based on the required experience level of partners.",
49
+ }),
50
+ location: zod_openapi_1.z.string().optional().openapi({ example: "San Francisco" }),
51
+ tags: zod_openapi_1.z
52
+ .array(zod_openapi_1.z.string())
53
+ .optional()
54
+ .openapi({ example: ["fintech", "remote"] }),
55
+ page: zod_openapi_1.z.number().int().min(1).default(1).optional().openapi({ example: 1 }),
56
+ perPage: zod_openapi_1.z
57
+ .number()
58
+ .int()
59
+ .min(1)
60
+ .max(100)
61
+ .default(20)
62
+ .optional()
63
+ .openapi({ example: 20 }),
64
+ })
65
+ .openapi("ListBrandsInput");
34
66
  exports.CreateBrandProfileSchema = zod_openapi_1.z
35
67
  .object({
36
68
  brandName: zod_openapi_1.z
@@ -1,18 +1,81 @@
1
1
  import { z } from "@hono/zod-openapi";
2
+ export declare const BaseCreativeEntitySchema: z.ZodObject<{
3
+ id: z.ZodCUID2;
4
+ userId: z.ZodCUID2;
5
+ bio: z.ZodOptional<z.ZodString>;
6
+ location: z.ZodOptional<z.ZodString>;
7
+ experienceLevel: z.ZodOptional<z.ZodEnum<{
8
+ "0-1 year": "0-1 year";
9
+ "1-3 years": "1-3 years";
10
+ "3-5 years": "3-5 years";
11
+ "5+ years": "5+ years";
12
+ }>>;
13
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ user: z.ZodOptional<z.ZodAny>;
16
+ createdAt: z.ZodISODateTime;
17
+ updatedAt: z.ZodISODateTime;
18
+ }, z.core.$strip>;
2
19
  export declare const CreativeEntitySchema: z.ZodObject<{
3
20
  id: z.ZodCUID2;
4
21
  userId: z.ZodCUID2;
5
22
  bio: z.ZodOptional<z.ZodString>;
6
23
  location: z.ZodOptional<z.ZodString>;
7
- searchVector: z.ZodOptional<z.ZodString>;
8
24
  experienceLevel: z.ZodOptional<z.ZodEnum<{
9
- [x: string]: string;
25
+ "0-1 year": "0-1 year";
26
+ "1-3 years": "1-3 years";
27
+ "3-5 years": "3-5 years";
28
+ "5+ years": "5+ years";
10
29
  }>>;
11
30
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
31
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ user: z.ZodOptional<z.ZodAny>;
13
33
  createdAt: z.ZodISODateTime;
14
34
  updatedAt: z.ZodISODateTime;
15
35
  }, z.core.$strip>;
36
+ export declare const CreativeWithUserEntitySchema: z.ZodObject<{
37
+ id: z.ZodCUID2;
38
+ userId: z.ZodCUID2;
39
+ bio: z.ZodOptional<z.ZodString>;
40
+ location: z.ZodOptional<z.ZodString>;
41
+ experienceLevel: z.ZodOptional<z.ZodEnum<{
42
+ "0-1 year": "0-1 year";
43
+ "1-3 years": "1-3 years";
44
+ "3-5 years": "3-5 years";
45
+ "5+ years": "5+ years";
46
+ }>>;
47
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
+ disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
+ createdAt: z.ZodISODateTime;
50
+ updatedAt: z.ZodISODateTime;
51
+ user: z.ZodObject<{
52
+ id: z.ZodCUID2;
53
+ username: z.ZodOptional<z.ZodString>;
54
+ email: z.ZodString;
55
+ name: z.ZodOptional<z.ZodString>;
56
+ image: z.ZodOptional<z.ZodString>;
57
+ role: z.ZodEnum<{
58
+ CREATIVE: "CREATIVE";
59
+ BRAND: "BRAND";
60
+ INVESTOR: "INVESTOR";
61
+ ADMIN: "ADMIN";
62
+ }>;
63
+ }, z.core.$strip>;
64
+ }, z.core.$strip>;
65
+ export declare const ListCreativesInputSchema: z.ZodObject<{
66
+ query: z.ZodOptional<z.ZodString>;
67
+ disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
+ experienceLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
69
+ "0-1 year": "0-1 year";
70
+ "1-3 years": "1-3 years";
71
+ "3-5 years": "3-5 years";
72
+ "5+ years": "5+ years";
73
+ }>>>;
74
+ location: z.ZodOptional<z.ZodString>;
75
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
76
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
77
+ perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
78
+ }, z.core.$strip>;
16
79
  export declare const CreateCreativeProfileSchema: z.ZodObject<{
17
80
  experienceLevel: z.ZodDefault<z.ZodEnum<{
18
81
  readonly YEAR_0_1: "0-1 year";
@@ -50,12 +113,15 @@ export declare const CreateCreativeEndpointResponseSchema: z.ZodObject<{
50
113
  userId: z.ZodCUID2;
51
114
  bio: z.ZodOptional<z.ZodString>;
52
115
  location: z.ZodOptional<z.ZodString>;
53
- searchVector: z.ZodOptional<z.ZodString>;
54
116
  experienceLevel: z.ZodOptional<z.ZodEnum<{
55
- [x: string]: string;
117
+ "0-1 year": "0-1 year";
118
+ "1-3 years": "1-3 years";
119
+ "3-5 years": "3-5 years";
120
+ "5+ years": "5+ years";
56
121
  }>>;
57
122
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
123
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
+ user: z.ZodOptional<z.ZodAny>;
59
125
  createdAt: z.ZodISODateTime;
60
126
  updatedAt: z.ZodISODateTime;
61
127
  }, z.core.$strip>;
@@ -64,9 +130,11 @@ export declare const GetCreativeEndpointResponseSchema: z.ZodObject<{
64
130
  userId: z.ZodCUID2;
65
131
  bio: z.ZodOptional<z.ZodString>;
66
132
  location: z.ZodOptional<z.ZodString>;
67
- searchVector: z.ZodOptional<z.ZodString>;
68
133
  experienceLevel: z.ZodOptional<z.ZodEnum<{
69
- [x: string]: string;
134
+ "0-1 year": "0-1 year";
135
+ "1-3 years": "1-3 years";
136
+ "3-5 years": "3-5 years";
137
+ "5+ years": "5+ years";
70
138
  }>>;
71
139
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
140
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -74,10 +142,10 @@ export declare const GetCreativeEndpointResponseSchema: z.ZodObject<{
74
142
  updatedAt: z.ZodISODateTime;
75
143
  user: z.ZodObject<{
76
144
  id: z.ZodCUID2;
145
+ username: z.ZodOptional<z.ZodString>;
146
+ email: z.ZodString;
77
147
  name: z.ZodOptional<z.ZodString>;
78
- email: z.ZodEmail;
79
148
  image: z.ZodOptional<z.ZodString>;
80
- username: z.ZodOptional<z.ZodString>;
81
149
  role: z.ZodEnum<{
82
150
  CREATIVE: "CREATIVE";
83
151
  BRAND: "BRAND";
@@ -91,23 +159,15 @@ export declare const UpdateCreativeEndpointResponseSchema: z.ZodObject<{
91
159
  userId: z.ZodCUID2;
92
160
  bio: z.ZodOptional<z.ZodString>;
93
161
  location: z.ZodOptional<z.ZodString>;
94
- searchVector: z.ZodOptional<z.ZodString>;
95
162
  experienceLevel: z.ZodOptional<z.ZodEnum<{
96
- [x: string]: string;
163
+ "0-1 year": "0-1 year";
164
+ "1-3 years": "1-3 years";
165
+ "3-5 years": "3-5 years";
166
+ "5+ years": "5+ years";
97
167
  }>>;
98
168
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
99
169
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
170
+ user: z.ZodOptional<z.ZodAny>;
100
171
  createdAt: z.ZodISODateTime;
101
172
  updatedAt: z.ZodISODateTime;
102
173
  }, z.core.$strip>;
103
- export type CreateCreativeDto = z.infer<typeof CreateCreativeProfileSchema> & {
104
- userId: string;
105
- };
106
- export type UpdateCreativeDto = z.infer<typeof UpdateCreativeProfileSchema> & {
107
- userId: string;
108
- };
109
- export type GetCreativeParams = z.infer<typeof GetCreativeParamsSchema>;
110
- export type GetCreativeQuery = z.infer<typeof GetCreativeQuerySchema>;
111
- export type CreateCreativeEndpointResponse = z.infer<typeof CreateCreativeEndpointResponseSchema>;
112
- export type GetCreativeEndpointResponse = z.infer<typeof GetCreativeEndpointResponseSchema>;
113
- export type UpdateCreativeEndpointResponse = z.infer<typeof UpdateCreativeEndpointResponseSchema>;
@@ -1,32 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateCreativeEndpointResponseSchema = exports.GetCreativeEndpointResponseSchema = exports.CreateCreativeEndpointResponseSchema = exports.GetCreativeQuerySchema = exports.GetCreativeParamsSchema = exports.UpdateCreativeProfileSchema = exports.CreateCreativeProfileSchema = exports.CreativeEntitySchema = void 0;
3
+ exports.UpdateCreativeEndpointResponseSchema = exports.GetCreativeEndpointResponseSchema = exports.CreateCreativeEndpointResponseSchema = exports.GetCreativeQuerySchema = exports.GetCreativeParamsSchema = exports.UpdateCreativeProfileSchema = exports.CreateCreativeProfileSchema = exports.ListCreativesInputSchema = exports.CreativeWithUserEntitySchema = exports.CreativeEntitySchema = exports.BaseCreativeEntitySchema = void 0;
4
4
  const zod_openapi_1 = require("@hono/zod-openapi");
5
5
  const constants_1 = require("../constants");
6
6
  const common_1 = require("./common");
7
7
  const user_1 = require("./user");
8
- exports.CreativeEntitySchema = zod_openapi_1.z
8
+ exports.BaseCreativeEntitySchema = zod_openapi_1.z
9
9
  .object({
10
- id: zod_openapi_1.z.cuid2().openapi({ example: "cksd0v6q0000s9a5y8z7p3x9" }),
11
- userId: zod_openapi_1.z.cuid2().openapi({ example: "cksd0v6q0000s9a5y8z7p3x9" }),
12
- bio: zod_openapi_1.z
13
- .string()
14
- .optional()
15
- .openapi({ example: "Passionate visual artist." }),
16
- location: zod_openapi_1.z.string().optional().openapi({ example: "Lagos, Nigeria" }),
17
- searchVector: zod_openapi_1.z.string().optional(),
10
+ id: zod_openapi_1.z.cuid2().openapi({ example: "cre_cksd0v6q0000s9a5y8z7p3x9" }),
11
+ userId: zod_openapi_1.z.cuid2().openapi({ example: "user_abc123" }),
12
+ bio: zod_openapi_1.z.string().optional().openapi({
13
+ example: "A multi-disciplinary designer specializing in brand identity.",
14
+ }),
15
+ location: zod_openapi_1.z.string().optional().openapi({ example: "London, UK" }),
18
16
  experienceLevel: zod_openapi_1.z
19
17
  .enum(Object.values(constants_1.EXPERIENCE_LEVELS))
20
18
  .optional()
21
- .openapi({ example: "1-3 years" }),
19
+ .openapi({ example: "SENIOR" }),
22
20
  tags: zod_openapi_1.z
23
21
  .array(zod_openapi_1.z.string())
24
22
  .optional()
25
- .openapi({ example: ["digital-art", "illustration"] }),
23
+ .openapi({ example: ["branding", "typography", "UX"] }),
26
24
  disciplines: zod_openapi_1.z
27
25
  .array(zod_openapi_1.z.string())
28
26
  .optional()
29
- .openapi({ example: ["painting", "animation"] }),
27
+ .openapi({ example: ["Design", "Art Direction"] }),
28
+ user: zod_openapi_1.z.any().optional(),
30
29
  createdAt: zod_openapi_1.z.iso
31
30
  .datetime()
32
31
  .openapi({ example: "2025-10-13T09:00:00.000Z" }),
@@ -34,7 +33,38 @@ exports.CreativeEntitySchema = zod_openapi_1.z
34
33
  .datetime()
35
34
  .openapi({ example: "2025-10-13T09:00:00.000Z" }),
36
35
  })
37
- .openapi("CreativeEntity");
36
+ .openapi("BaseCreativeEntity");
37
+ exports.CreativeEntitySchema = exports.BaseCreativeEntitySchema.openapi("CreativeEntity");
38
+ exports.CreativeWithUserEntitySchema = exports.CreativeEntitySchema.extend({
39
+ user: user_1.MinimalUserSchema,
40
+ }).openapi("CreativeWithUserEntity");
41
+ exports.ListCreativesInputSchema = zod_openapi_1.z
42
+ .object({
43
+ query: zod_openapi_1.z.string().optional().openapi({ example: "logo designer" }),
44
+ disciplines: zod_openapi_1.z
45
+ .array(zod_openapi_1.z.string())
46
+ .optional()
47
+ .openapi({ example: ["branding", "web design"] }),
48
+ experienceLevels: zod_openapi_1.z
49
+ .array(zod_openapi_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)))
50
+ .optional()
51
+ .openapi({ example: ["SENIOR", "EXPERT"] }),
52
+ location: zod_openapi_1.z.string().optional().openapi({ example: "Los Angeles" }),
53
+ tags: zod_openapi_1.z
54
+ .array(zod_openapi_1.z.string())
55
+ .optional()
56
+ .openapi({ example: ["Figma", "AI"] }),
57
+ page: zod_openapi_1.z.number().int().min(1).default(1).optional().openapi({ example: 1 }),
58
+ perPage: zod_openapi_1.z
59
+ .number()
60
+ .int()
61
+ .min(1)
62
+ .max(100)
63
+ .default(20)
64
+ .optional()
65
+ .openapi({ example: 20 }),
66
+ })
67
+ .openapi("ListCreativesInput");
38
68
  exports.CreateCreativeProfileSchema = zod_openapi_1.z
39
69
  .object({
40
70
  experienceLevel: zod_openapi_1.z