@homespot-sdk/core 0.0.106 → 0.0.109
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/registration/client/client.gen.d.ts.map +1 -1
- package/dist/registration/client/client.gen.js +15 -19
- package/dist/registration/client/client.gen.js.map +1 -1
- package/dist/registration/client/index.d.ts.map +1 -1
- package/dist/registration/client/index.js +5 -15
- package/dist/registration/client/index.js.map +1 -1
- package/dist/registration/client/types.gen.d.ts.map +1 -1
- package/dist/registration/client/types.gen.js +1 -2
- package/dist/registration/client/types.gen.js.map +1 -1
- package/dist/registration/client/utils.gen.d.ts.map +1 -1
- package/dist/registration/client/utils.gen.js +24 -36
- package/dist/registration/client/utils.gen.js.map +1 -1
- package/dist/registration/client.gen.d.ts.map +1 -1
- package/dist/registration/client.gen.js +3 -6
- package/dist/registration/client.gen.js.map +1 -1
- package/dist/registration/core/auth.gen.d.ts.map +1 -1
- package/dist/registration/core/auth.gen.js +1 -5
- package/dist/registration/core/auth.gen.js.map +1 -1
- package/dist/registration/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/registration/core/bodySerializer.gen.js +3 -6
- package/dist/registration/core/bodySerializer.gen.js.map +1 -1
- package/dist/registration/core/params.gen.d.ts.map +1 -1
- package/dist/registration/core/params.gen.js +1 -5
- package/dist/registration/core/params.gen.js.map +1 -1
- package/dist/registration/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/registration/core/pathSerializer.gen.js +11 -20
- package/dist/registration/core/pathSerializer.gen.js.map +1 -1
- package/dist/registration/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/registration/core/queryKeySerializer.gen.js +6 -12
- package/dist/registration/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/registration/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/registration/core/serverSentEvents.gen.js +1 -5
- package/dist/registration/core/serverSentEvents.gen.js.map +1 -1
- package/dist/registration/core/types.gen.d.ts.map +1 -1
- package/dist/registration/core/types.gen.js +1 -2
- package/dist/registration/core/types.gen.js.map +1 -1
- package/dist/registration/core/utils.gen.d.ts.map +1 -1
- package/dist/registration/core/utils.gen.js +10 -16
- package/dist/registration/core/utils.gen.js.map +1 -1
- package/dist/registration/index.d.ts +2 -2
- package/dist/registration/index.d.ts.map +1 -1
- package/dist/registration/index.js +1 -22
- package/dist/registration/index.js.map +1 -1
- package/dist/registration/schemas.gen.d.ts +1045 -216
- package/dist/registration/schemas.gen.d.ts.map +1 -1
- package/dist/registration/schemas.gen.js +1116 -253
- package/dist/registration/schemas.gen.js.map +1 -1
- package/dist/registration/sdk.gen.d.ts +51 -19
- package/dist/registration/sdk.gen.d.ts.map +1 -1
- package/dist/registration/sdk.gen.js +276 -60
- package/dist/registration/sdk.gen.js.map +1 -1
- package/dist/registration/transformers.gen.d.ts +3 -2
- package/dist/registration/transformers.gen.d.ts.map +1 -1
- package/dist/registration/transformers.gen.js +28 -8
- package/dist/registration/transformers.gen.js.map +1 -1
- package/dist/registration/types.gen.d.ts +1023 -232
- package/dist/registration/types.gen.d.ts.map +1 -1
- package/dist/registration/types.gen.js +1 -2
- package/dist/registration/types.gen.js.map +1 -1
- package/dist/registration/zod.gen.d.ts +2824 -654
- package/dist/registration/zod.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.js +1337 -261
- package/dist/registration/zod.gen.js.map +1 -1
- package/dist/rem/client/client.gen.d.ts.map +1 -1
- package/dist/rem/client/client.gen.js +15 -19
- package/dist/rem/client/client.gen.js.map +1 -1
- package/dist/rem/client/index.d.ts.map +1 -1
- package/dist/rem/client/index.js +5 -15
- package/dist/rem/client/index.js.map +1 -1
- package/dist/rem/client/types.gen.d.ts.map +1 -1
- package/dist/rem/client/types.gen.js +1 -2
- package/dist/rem/client/types.gen.js.map +1 -1
- package/dist/rem/client/utils.gen.d.ts.map +1 -1
- package/dist/rem/client/utils.gen.js +24 -36
- package/dist/rem/client/utils.gen.js.map +1 -1
- package/dist/rem/client.gen.d.ts.map +1 -1
- package/dist/rem/client.gen.js +3 -6
- package/dist/rem/client.gen.js.map +1 -1
- package/dist/rem/core/auth.gen.d.ts.map +1 -1
- package/dist/rem/core/auth.gen.js +1 -5
- package/dist/rem/core/auth.gen.js.map +1 -1
- package/dist/rem/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/rem/core/bodySerializer.gen.js +3 -6
- package/dist/rem/core/bodySerializer.gen.js.map +1 -1
- package/dist/rem/core/params.gen.d.ts.map +1 -1
- package/dist/rem/core/params.gen.js +1 -5
- package/dist/rem/core/params.gen.js.map +1 -1
- package/dist/rem/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/rem/core/pathSerializer.gen.js +11 -20
- package/dist/rem/core/pathSerializer.gen.js.map +1 -1
- package/dist/rem/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/rem/core/queryKeySerializer.gen.js +6 -12
- package/dist/rem/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/rem/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/rem/core/serverSentEvents.gen.js +1 -5
- package/dist/rem/core/serverSentEvents.gen.js.map +1 -1
- package/dist/rem/core/types.gen.d.ts.map +1 -1
- package/dist/rem/core/types.gen.js +1 -2
- package/dist/rem/core/types.gen.js.map +1 -1
- package/dist/rem/core/utils.gen.d.ts.map +1 -1
- package/dist/rem/core/utils.gen.js +10 -16
- package/dist/rem/core/utils.gen.js.map +1 -1
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -54
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +215 -1044
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +250 -1120
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +19 -51
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +39 -329
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -3
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +4 -33
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +232 -1023
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/types.gen.js +1 -2
- package/dist/rem/types.gen.js.map +1 -1
- package/dist/rem/zod.gen.d.ts +654 -2824
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +257 -1343
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +13 -11
package/dist/rem/zod.gen.js
CHANGED
|
@@ -1,341 +1,102 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export const zPresignedUrlResponse = z.object({
|
|
4
|
+
originalName: z.string(),
|
|
5
|
+
key: z.string(),
|
|
6
|
+
url: z.string(),
|
|
7
|
+
});
|
|
8
|
+
export const zPresignedUrlsResponse = z.object({
|
|
9
|
+
data: z.array(zPresignedUrlResponse),
|
|
10
|
+
});
|
|
11
|
+
export const zMeasurementRequest = z.object({
|
|
12
|
+
totalArea: z.number().gte(1),
|
|
13
|
+
livingArea: z.optional(z.number()),
|
|
14
|
+
balconyArea: z.optional(z.number()),
|
|
15
|
+
});
|
|
16
|
+
export const zTitleAndDescriptionRequest = z.object({
|
|
17
|
+
title: z.optional(z.string()),
|
|
18
|
+
description: z.optional(z.record(z.string(), z.string())),
|
|
19
|
+
});
|
|
20
|
+
export const zAmenitiesRequest = z.object({
|
|
21
|
+
amenities: z.optional(z.array(z
|
|
11
22
|
.int()
|
|
12
23
|
.min(-2147483648, {
|
|
13
24
|
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
14
25
|
})
|
|
15
26
|
.max(2147483647, {
|
|
16
27
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
17
|
-
}),
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.bigint()
|
|
63
|
-
.min(BigInt('-9223372036854775808'), {
|
|
64
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
65
|
-
})
|
|
66
|
-
.max(BigInt('9223372036854775807'), {
|
|
67
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
68
|
-
})),
|
|
69
|
-
});
|
|
70
|
-
exports.zPriceRangeRequest = zod_1.z.object({
|
|
71
|
-
min: zod_1.z.optional(zod_1.z.number()),
|
|
72
|
-
max: zod_1.z.optional(zod_1.z.number()),
|
|
73
|
-
});
|
|
74
|
-
exports.zAssignToMemberRequest = zod_1.z.object({
|
|
75
|
-
memberId: zod_1.z.uuid(),
|
|
76
|
-
});
|
|
77
|
-
exports.zAddressRequest = zod_1.z.object({
|
|
78
|
-
country: zod_1.z.string().min(0).max(100),
|
|
79
|
-
city: zod_1.z.string().min(0).max(100),
|
|
80
|
-
district: zod_1.z.string().min(0).max(100),
|
|
81
|
-
subdistrict: zod_1.z.string().min(0).max(100),
|
|
82
|
-
street: zod_1.z.string().min(0).max(255),
|
|
83
|
-
});
|
|
84
|
-
exports.zCreateAgencyRequest = zod_1.z.object({
|
|
85
|
-
name: zod_1.z.string().min(1),
|
|
86
|
-
email: zod_1.z.email().min(1),
|
|
87
|
-
seats: zod_1.z
|
|
88
|
-
.int()
|
|
89
|
-
.min(-2147483648, {
|
|
90
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
91
|
-
})
|
|
92
|
-
.max(2147483647, {
|
|
93
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
94
|
-
}),
|
|
95
|
-
subDomain: zod_1.z.string().min(1),
|
|
96
|
-
phone: zod_1.z.string().min(1),
|
|
97
|
-
address: exports.zAddressRequest,
|
|
98
|
-
yearSince: zod_1.z
|
|
99
|
-
.int()
|
|
100
|
-
.min(-2147483648, {
|
|
101
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
102
|
-
})
|
|
103
|
-
.max(2147483647, {
|
|
104
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
105
|
-
}),
|
|
106
|
-
});
|
|
107
|
-
exports.zTransferFundsRequest = zod_1.z.object({
|
|
108
|
-
transferTo: zod_1.z.uuid(),
|
|
109
|
-
amount: zod_1.z.number(),
|
|
110
|
-
});
|
|
111
|
-
exports.zDepositFundsRequest = zod_1.z.object({
|
|
112
|
-
amount: zod_1.z.number(),
|
|
113
|
-
});
|
|
114
|
-
exports.zIdResponseInteger = zod_1.z.object({
|
|
115
|
-
id: zod_1.z
|
|
116
|
-
.int()
|
|
117
|
-
.min(-2147483648, {
|
|
118
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
119
|
-
})
|
|
120
|
-
.max(2147483647, {
|
|
121
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
122
|
-
}),
|
|
123
|
-
});
|
|
124
|
-
exports.zIdResponseLong = zod_1.z.object({
|
|
125
|
-
id: zod_1.z.coerce
|
|
126
|
-
.bigint()
|
|
127
|
-
.min(BigInt('-9223372036854775808'), {
|
|
128
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
129
|
-
})
|
|
130
|
-
.max(BigInt('9223372036854775807'), {
|
|
131
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
132
|
-
}),
|
|
133
|
-
});
|
|
134
|
-
exports.zInvitationDetailsRequest = zod_1.z.object({
|
|
135
|
-
email: zod_1.z.email(),
|
|
136
|
-
roleId: zod_1.z
|
|
137
|
-
.int()
|
|
138
|
-
.min(-2147483648, {
|
|
139
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
140
|
-
})
|
|
141
|
-
.max(2147483647, {
|
|
142
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
143
|
-
}),
|
|
144
|
-
});
|
|
145
|
-
exports.zInviteMemberRequest = zod_1.z.object({
|
|
146
|
-
emails: zod_1.z.array(exports.zInvitationDetailsRequest).min(1),
|
|
147
|
-
});
|
|
148
|
-
exports.zAuthRequest = zod_1.z.object({
|
|
149
|
-
sub: zod_1.z.optional(zod_1.z.string()),
|
|
150
|
-
agencyId: zod_1.z.optional(zod_1.z.uuid()),
|
|
151
|
-
});
|
|
152
|
-
exports.zIdResponseUuid = zod_1.z.object({
|
|
153
|
-
id: zod_1.z.uuid(),
|
|
154
|
-
});
|
|
155
|
-
exports.zPresignedUrlResponse = zod_1.z.object({
|
|
156
|
-
originalName: zod_1.z.string(),
|
|
157
|
-
key: zod_1.z.string(),
|
|
158
|
-
url: zod_1.z.string(),
|
|
159
|
-
});
|
|
160
|
-
exports.zPresignedUrlsResponse = zod_1.z.object({
|
|
161
|
-
data: zod_1.z.array(exports.zPresignedUrlResponse),
|
|
162
|
-
});
|
|
163
|
-
exports.zUploadAcknowledgmentResponse = zod_1.z.object({
|
|
164
|
-
success: zod_1.z.array(zod_1.z.string()),
|
|
165
|
-
fail: zod_1.z.array(zod_1.z.string()),
|
|
166
|
-
});
|
|
167
|
-
exports.zUserSummaryViewResponse = zod_1.z.object({
|
|
168
|
-
email: zod_1.z.string(),
|
|
169
|
-
firstName: zod_1.z.string(),
|
|
170
|
-
lastName: zod_1.z.string(),
|
|
171
|
-
});
|
|
172
|
-
exports.zPageMetadata = zod_1.z.object({
|
|
173
|
-
size: zod_1.z.optional(zod_1.z.coerce
|
|
174
|
-
.bigint()
|
|
175
|
-
.min(BigInt('-9223372036854775808'), {
|
|
176
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
177
|
-
})
|
|
178
|
-
.max(BigInt('9223372036854775807'), {
|
|
179
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
180
|
-
})),
|
|
181
|
-
number: zod_1.z.optional(zod_1.z.coerce
|
|
182
|
-
.bigint()
|
|
183
|
-
.min(BigInt('-9223372036854775808'), {
|
|
184
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
185
|
-
})
|
|
186
|
-
.max(BigInt('9223372036854775807'), {
|
|
187
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
188
|
-
})),
|
|
189
|
-
totalElements: zod_1.z.optional(zod_1.z.coerce
|
|
190
|
-
.bigint()
|
|
191
|
-
.min(BigInt('-9223372036854775808'), {
|
|
192
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
193
|
-
})
|
|
194
|
-
.max(BigInt('9223372036854775807'), {
|
|
195
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
196
|
-
})),
|
|
197
|
-
totalPages: zod_1.z.optional(zod_1.z.coerce
|
|
198
|
-
.bigint()
|
|
199
|
-
.min(BigInt('-9223372036854775808'), {
|
|
200
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
201
|
-
})
|
|
202
|
-
.max(BigInt('9223372036854775807'), {
|
|
203
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
204
|
-
})),
|
|
205
|
-
});
|
|
206
|
-
exports.zMemberViewResponse = zod_1.z.object({
|
|
207
|
-
userId: zod_1.z.string(),
|
|
208
|
-
firstName: zod_1.z.string(),
|
|
209
|
-
lastName: zod_1.z.string(),
|
|
210
|
-
phone: zod_1.z.optional(zod_1.z.string()),
|
|
211
|
-
email: zod_1.z.string(),
|
|
212
|
-
roleId: zod_1.z
|
|
213
|
-
.int()
|
|
214
|
-
.min(-2147483648, {
|
|
215
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
216
|
-
})
|
|
217
|
-
.max(2147483647, {
|
|
218
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
219
|
-
}),
|
|
220
|
-
roleName: zod_1.z.string(),
|
|
221
|
-
joinedAt: zod_1.z.iso.datetime(),
|
|
222
|
-
});
|
|
223
|
-
exports.zPagedModelMemberViewResponse = zod_1.z.object({
|
|
224
|
-
content: zod_1.z.optional(zod_1.z.array(exports.zMemberViewResponse)),
|
|
225
|
-
page: zod_1.z.optional(exports.zPageMetadata),
|
|
226
|
-
});
|
|
227
|
-
exports.zAddressViewResponse = zod_1.z.object({
|
|
228
|
-
country: zod_1.z.string(),
|
|
229
|
-
city: zod_1.z.string(),
|
|
230
|
-
district: zod_1.z.string(),
|
|
231
|
-
subdistrict: zod_1.z.string(),
|
|
232
|
-
street: zod_1.z.string(),
|
|
233
|
-
});
|
|
234
|
-
exports.zAgencyProfileResponse = zod_1.z.object({
|
|
235
|
-
name: zod_1.z.string(),
|
|
236
|
-
email: zod_1.z.string(),
|
|
237
|
-
seats: zod_1.z
|
|
238
|
-
.int()
|
|
239
|
-
.min(-2147483648, {
|
|
240
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
241
|
-
})
|
|
242
|
-
.max(2147483647, {
|
|
243
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
244
|
-
}),
|
|
245
|
-
subDomain: zod_1.z.string(),
|
|
246
|
-
phone: zod_1.z.string(),
|
|
247
|
-
address: exports.zAddressViewResponse,
|
|
248
|
-
yearSince: zod_1.z
|
|
249
|
-
.int()
|
|
250
|
-
.min(-2147483648, {
|
|
251
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
252
|
-
})
|
|
253
|
-
.max(2147483647, {
|
|
254
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
255
|
-
}),
|
|
256
|
-
});
|
|
257
|
-
exports.zSchemaEnum = zod_1.z.enum([
|
|
258
|
-
'NEW',
|
|
259
|
-
'ATTEMPTED_CONTACT',
|
|
260
|
-
'CONTACTED',
|
|
261
|
-
'DISQUALIFIED',
|
|
262
|
-
'CONVERTED',
|
|
263
|
-
'LOST',
|
|
28
|
+
}))),
|
|
29
|
+
});
|
|
30
|
+
export const zAddressRequest = z.object({
|
|
31
|
+
placeId: z.string().min(0).max(255),
|
|
32
|
+
cadastralCode: z.string().min(0).max(255),
|
|
33
|
+
fullName: z.string().min(0).max(500),
|
|
34
|
+
lat: z.number().gte(-90).lte(90),
|
|
35
|
+
lng: z.number().gte(-180).lte(180),
|
|
36
|
+
country: z.string().min(0).max(100),
|
|
37
|
+
city: z.string().min(0).max(100),
|
|
38
|
+
street: z.string().min(0).max(255),
|
|
39
|
+
});
|
|
40
|
+
export const zPhotoReorderRequest = z.object({
|
|
41
|
+
photos: z.array(z.string()).min(1),
|
|
42
|
+
});
|
|
43
|
+
export const zAddressResponse = z.object({
|
|
44
|
+
placeId: z.string(),
|
|
45
|
+
cadastralCode: z.string(),
|
|
46
|
+
fullAddressName: z.string(),
|
|
47
|
+
lat: z.number(),
|
|
48
|
+
lng: z.number(),
|
|
49
|
+
country: z.string(),
|
|
50
|
+
city: z.string(),
|
|
51
|
+
street: z.string(),
|
|
52
|
+
});
|
|
53
|
+
export const zMeasurementResponse = z.object({
|
|
54
|
+
totalArea: z.number(),
|
|
55
|
+
livingArea: z.optional(z.number()),
|
|
56
|
+
balconyArea: z.optional(z.number()),
|
|
57
|
+
});
|
|
58
|
+
export const zPhotosKeyUrlResponse = z.object({
|
|
59
|
+
key: z.optional(z.string()),
|
|
60
|
+
url: z.optional(z.string()),
|
|
61
|
+
});
|
|
62
|
+
export const zTypeEnum = z.enum([
|
|
63
|
+
'BEDROOM',
|
|
64
|
+
'BATHROOM',
|
|
65
|
+
'KITCHEN',
|
|
66
|
+
'LIVING_ROOM',
|
|
67
|
+
'GARAGE',
|
|
68
|
+
'BACKYARD',
|
|
69
|
+
'GYM',
|
|
70
|
+
'LAUNDRY',
|
|
71
|
+
'HOME_THEATRE',
|
|
72
|
+
'GAME_ROOM',
|
|
264
73
|
]);
|
|
265
|
-
|
|
266
|
-
|
|
74
|
+
export const zSpaceRequest = z.object({
|
|
75
|
+
type: zTypeEnum,
|
|
76
|
+
area: z.number(),
|
|
267
77
|
});
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
'ACTIVE',
|
|
271
|
-
'PAYMENT_FAILED',
|
|
272
|
-
'INACTIVE',
|
|
273
|
-
]);
|
|
274
|
-
exports.zAgencySummaryResponse = zod_1.z.object({
|
|
275
|
-
id: zod_1.z.uuid(),
|
|
276
|
-
owner: zod_1.z.string(),
|
|
277
|
-
name: zod_1.z.string(),
|
|
278
|
-
email: zod_1.z.string(),
|
|
279
|
-
seats: zod_1.z.string(),
|
|
280
|
-
subDomain: zod_1.z.string(),
|
|
281
|
-
phone: zod_1.z.string(),
|
|
282
|
-
website: zod_1.z.optional(zod_1.z.string()),
|
|
283
|
-
yearSince: zod_1.z.string(),
|
|
284
|
-
status: exports.zSchemaEnum2,
|
|
285
|
-
logo: zod_1.z.optional(zod_1.z.string()),
|
|
78
|
+
export const zSpacesRequest = z.object({
|
|
79
|
+
spaces: z.array(zSpaceRequest),
|
|
286
80
|
});
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
81
|
+
export const zSpaceResponse = z.object({
|
|
82
|
+
type: z.optional(zTypeEnum),
|
|
83
|
+
area: z.optional(z.number()),
|
|
290
84
|
});
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
'
|
|
296
|
-
'
|
|
297
|
-
'
|
|
298
|
-
'
|
|
299
|
-
'
|
|
300
|
-
'
|
|
301
|
-
'LEAD_READ_ALL',
|
|
302
|
-
'LEAD_WRITE_ALL',
|
|
85
|
+
/**
|
|
86
|
+
* property group being registered
|
|
87
|
+
*/
|
|
88
|
+
export const zGroupEnum = z.enum([
|
|
89
|
+
'HOUSE_GROUP',
|
|
90
|
+
'APARTMENT_GROUP',
|
|
91
|
+
'HOSPITALITY_GROUP',
|
|
92
|
+
'LAND_GROUP',
|
|
93
|
+
'BUSINESS_GROUP',
|
|
94
|
+
'STORAGE_GROUP',
|
|
303
95
|
]);
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
});
|
|
309
|
-
exports.zAgencyPrincipalDto = zod_1.z.object({
|
|
310
|
-
memberId: zod_1.z.optional(zod_1.z.uuid()),
|
|
311
|
-
permissions: zod_1.z.optional(zod_1.z.array(exports.zItemsEnum)),
|
|
312
|
-
isActive: zod_1.z.optional(zod_1.z.boolean()),
|
|
313
|
-
isOwner: zod_1.z.optional(zod_1.z.boolean()),
|
|
314
|
-
});
|
|
315
|
-
exports.zOrganizationSummaryViewResponse = zod_1.z.object({
|
|
316
|
-
agencyId: zod_1.z.uuid(),
|
|
317
|
-
isOwner: zod_1.z.boolean(),
|
|
318
|
-
agencyName: zod_1.z.string(),
|
|
319
|
-
subDomain: zod_1.z.string(),
|
|
320
|
-
roleId: zod_1.z.optional(zod_1.z
|
|
321
|
-
.int()
|
|
322
|
-
.min(-2147483648, {
|
|
323
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
324
|
-
})
|
|
325
|
-
.max(2147483647, {
|
|
326
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
327
|
-
})),
|
|
328
|
-
memberId: zod_1.z.uuid(),
|
|
329
|
-
roleName: zod_1.z.string(),
|
|
330
|
-
permissions: zod_1.z.array(exports.zItemsEnum),
|
|
331
|
-
status: exports.zSchemaEnum2,
|
|
332
|
-
});
|
|
333
|
-
exports.zUserContextViewResponse = zod_1.z.object({
|
|
334
|
-
user: exports.zUserSummaryViewResponse,
|
|
335
|
-
organizations: zod_1.z.array(exports.zOrganizationSummaryViewResponse),
|
|
336
|
-
});
|
|
337
|
-
exports.zRoleResponse = zod_1.z.object({
|
|
338
|
-
id: zod_1.z
|
|
96
|
+
export const zRegistrationProgressDto = z.object({
|
|
97
|
+
registrationId: z.uuid(),
|
|
98
|
+
pages: z.array(z.string()),
|
|
99
|
+
total: z
|
|
339
100
|
.int()
|
|
340
101
|
.min(-2147483648, {
|
|
341
102
|
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
@@ -343,26 +104,19 @@ exports.zRoleResponse = zod_1.z.object({
|
|
|
343
104
|
.max(2147483647, {
|
|
344
105
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
345
106
|
}),
|
|
346
|
-
|
|
347
|
-
description: zod_1.z.string(),
|
|
348
|
-
permissions: zod_1.z.array(exports.zItemsEnum),
|
|
107
|
+
group: zGroupEnum,
|
|
349
108
|
});
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
109
|
+
export const zTypeEnum2 = z.enum(['JPEG', 'JPG', 'PNG', 'WEBP']);
|
|
110
|
+
export const zPhotoRequest = z.object({
|
|
111
|
+
photo: z.string().min(0).max(255),
|
|
112
|
+
type: zTypeEnum2,
|
|
113
|
+
width: z.int().gte(10).lte(11000),
|
|
114
|
+
height: z.optional(z.int().gte(10).lte(11000)),
|
|
353
115
|
});
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
implied: zod_1.z.array(exports.zItemsEnum),
|
|
116
|
+
export const zPhotosRequest = z.object({
|
|
117
|
+
photos: z.array(zPhotoRequest).min(1).max(30),
|
|
357
118
|
});
|
|
358
|
-
|
|
359
|
-
exports.zListingTypeEnum = zod_1.z.enum([
|
|
360
|
-
'SALE',
|
|
361
|
-
'RENT',
|
|
362
|
-
'DAILY_RENT',
|
|
363
|
-
'PLEDGE',
|
|
364
|
-
]);
|
|
365
|
-
exports.zPropertyTypeEnum = zod_1.z.enum([
|
|
119
|
+
export const zDraftTypeEnum = z.enum([
|
|
366
120
|
'HOUSE',
|
|
367
121
|
'TOWN_HOUSE',
|
|
368
122
|
'COUNTRY_HOUSE',
|
|
@@ -384,28 +138,38 @@ exports.zPropertyTypeEnum = zod_1.z.enum([
|
|
|
384
138
|
'WAREHOUSE',
|
|
385
139
|
'GARAGE',
|
|
386
140
|
]);
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
});
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
141
|
+
export const zStartRegistrationRequest = z.object({
|
|
142
|
+
draftType: zDraftTypeEnum,
|
|
143
|
+
});
|
|
144
|
+
export const zAgencyStartRegistrationRequest = z.object({
|
|
145
|
+
draftType: zDraftTypeEnum,
|
|
146
|
+
ownerId: z.string().min(1),
|
|
147
|
+
});
|
|
148
|
+
export const zDraftCardResponse = z.object({
|
|
149
|
+
id: z.uuid(),
|
|
150
|
+
type: zDraftTypeEnum,
|
|
151
|
+
title: z.string(),
|
|
152
|
+
city: z.optional(z.string()),
|
|
153
|
+
street: z.optional(z.string()),
|
|
154
|
+
coverPhoto: z.optional(z.string()),
|
|
155
|
+
uploadDate: z.iso.datetime(),
|
|
156
|
+
});
|
|
157
|
+
export const zLanguageEnum = z.enum(['KA', 'EN', 'RU']);
|
|
158
|
+
export const zLangTextResponse = z.object({
|
|
159
|
+
language: zLanguageEnum,
|
|
160
|
+
text: z.string(),
|
|
161
|
+
});
|
|
162
|
+
export const zRegistrationDraftResponse = z.object({
|
|
163
|
+
propertyId: z.uuid(),
|
|
164
|
+
ownerId: z.string(),
|
|
165
|
+
type: zDraftTypeEnum,
|
|
166
|
+
title: z.string(),
|
|
167
|
+
description: z.array(zLangTextResponse),
|
|
168
|
+
measurements: z.optional(zMeasurementResponse),
|
|
169
|
+
address: z.optional(zAddressResponse),
|
|
170
|
+
spaces: z.array(zSpaceResponse),
|
|
171
|
+
photos: z.array(zPhotosKeyUrlResponse),
|
|
172
|
+
amenities: z.array(z
|
|
409
173
|
.int()
|
|
410
174
|
.min(-2147483648, {
|
|
411
175
|
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
@@ -413,1065 +177,215 @@ exports.zClientRequirementRequest = zod_1.z.object({
|
|
|
413
177
|
.max(2147483647, {
|
|
414
178
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
415
179
|
})),
|
|
416
|
-
|
|
180
|
+
pages: z.array(z.string()),
|
|
181
|
+
total: z
|
|
417
182
|
.int()
|
|
418
183
|
.min(-2147483648, {
|
|
419
184
|
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
420
185
|
})
|
|
421
186
|
.max(2147483647, {
|
|
422
187
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
423
|
-
})),
|
|
424
|
-
bathroomsMin: zod_1.z.optional(zod_1.z
|
|
425
|
-
.int()
|
|
426
|
-
.min(-2147483648, {
|
|
427
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
428
|
-
})
|
|
429
|
-
.max(2147483647, {
|
|
430
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
431
|
-
})),
|
|
432
|
-
bathroomsMax: zod_1.z.optional(zod_1.z
|
|
433
|
-
.int()
|
|
434
|
-
.min(-2147483648, {
|
|
435
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
436
|
-
})
|
|
437
|
-
.max(2147483647, {
|
|
438
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
439
|
-
})),
|
|
440
|
-
totalMin: zod_1.z.optional(zod_1.z.number()),
|
|
441
|
-
totalMax: zod_1.z.optional(zod_1.z.number()),
|
|
442
|
-
livingMin: zod_1.z.optional(zod_1.z.number()),
|
|
443
|
-
livingMax: zod_1.z.optional(zod_1.z.number()),
|
|
444
|
-
targetLocation: zod_1.z.optional(exports.zLocationRefRequest),
|
|
445
|
-
});
|
|
446
|
-
exports.zIntentResponse = zod_1.z.object({
|
|
447
|
-
id: zod_1.z.coerce
|
|
448
|
-
.bigint()
|
|
449
|
-
.min(BigInt('-9223372036854775808'), {
|
|
450
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
451
|
-
})
|
|
452
|
-
.max(BigInt('9223372036854775807'), {
|
|
453
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
454
|
-
}),
|
|
455
|
-
clientType: exports.zClientTypeEnum,
|
|
456
|
-
listingType: exports.zListingTypeEnum,
|
|
457
|
-
propertyType: exports.zPropertyTypeEnum,
|
|
458
|
-
priceMin: zod_1.z.optional(zod_1.z.number()),
|
|
459
|
-
priceMax: zod_1.z.optional(zod_1.z.number()),
|
|
460
|
-
regionId: zod_1.z.optional(zod_1.z.coerce
|
|
461
|
-
.bigint()
|
|
462
|
-
.min(BigInt('-9223372036854775808'), {
|
|
463
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
464
|
-
})
|
|
465
|
-
.max(BigInt('9223372036854775807'), {
|
|
466
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
467
|
-
})),
|
|
468
|
-
districtId: zod_1.z.optional(zod_1.z.coerce
|
|
469
|
-
.bigint()
|
|
470
|
-
.min(BigInt('-9223372036854775808'), {
|
|
471
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
472
|
-
})
|
|
473
|
-
.max(BigInt('9223372036854775807'), {
|
|
474
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
475
|
-
})),
|
|
476
|
-
subDistrictId: zod_1.z.optional(zod_1.z.coerce
|
|
477
|
-
.bigint()
|
|
478
|
-
.min(BigInt('-9223372036854775808'), {
|
|
479
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
480
|
-
})
|
|
481
|
-
.max(BigInt('9223372036854775807'), {
|
|
482
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
483
|
-
})),
|
|
484
|
-
streetId: zod_1.z.optional(zod_1.z.coerce
|
|
485
|
-
.bigint()
|
|
486
|
-
.min(BigInt('-9223372036854775808'), {
|
|
487
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
488
|
-
})
|
|
489
|
-
.max(BigInt('9223372036854775807'), {
|
|
490
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
491
|
-
})),
|
|
492
|
-
area: zod_1.z.optional(zod_1.z.number()),
|
|
493
|
-
numberOfRooms: zod_1.z.optional(zod_1.z
|
|
494
|
-
.int()
|
|
495
|
-
.min(-2147483648, {
|
|
496
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
497
|
-
})
|
|
498
|
-
.max(2147483647, {
|
|
499
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
500
|
-
})),
|
|
501
|
-
});
|
|
502
|
-
exports.zPropertyResponse = zod_1.z.object({
|
|
503
|
-
propertyId: zod_1.z.uuid(),
|
|
504
|
-
propertyType: exports.zPropertyTypeEnum,
|
|
505
|
-
});
|
|
506
|
-
exports.zRequirementResponse = zod_1.z.object({
|
|
507
|
-
id: zod_1.z.coerce
|
|
508
|
-
.bigint()
|
|
509
|
-
.min(BigInt('-9223372036854775808'), {
|
|
510
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
511
|
-
})
|
|
512
|
-
.max(BigInt('9223372036854775807'), {
|
|
513
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
514
|
-
}),
|
|
515
|
-
propertyType: zod_1.z.array(exports.zPropertyTypeEnum),
|
|
516
|
-
listingType: exports.zListingTypeEnum,
|
|
517
|
-
priceMin: zod_1.z.optional(zod_1.z.number()),
|
|
518
|
-
priceMax: zod_1.z.optional(zod_1.z.number()),
|
|
519
|
-
bedroomsMin: zod_1.z.optional(zod_1.z
|
|
520
|
-
.int()
|
|
521
|
-
.min(-2147483648, {
|
|
522
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
523
|
-
})
|
|
524
|
-
.max(2147483647, {
|
|
525
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
526
|
-
})),
|
|
527
|
-
bedroomsMax: zod_1.z.optional(zod_1.z
|
|
528
|
-
.int()
|
|
529
|
-
.min(-2147483648, {
|
|
530
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
531
|
-
})
|
|
532
|
-
.max(2147483647, {
|
|
533
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
534
|
-
})),
|
|
535
|
-
bathroomsMin: zod_1.z.optional(zod_1.z
|
|
536
|
-
.int()
|
|
537
|
-
.min(-2147483648, {
|
|
538
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
539
|
-
})
|
|
540
|
-
.max(2147483647, {
|
|
541
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
542
|
-
})),
|
|
543
|
-
bathroomsMax: zod_1.z.optional(zod_1.z
|
|
544
|
-
.int()
|
|
545
|
-
.min(-2147483648, {
|
|
546
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
547
|
-
})
|
|
548
|
-
.max(2147483647, {
|
|
549
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
550
|
-
})),
|
|
551
|
-
totalMin: zod_1.z.optional(zod_1.z.number()),
|
|
552
|
-
totalMax: zod_1.z.optional(zod_1.z.number()),
|
|
553
|
-
livingMin: zod_1.z.optional(zod_1.z.number()),
|
|
554
|
-
livingMax: zod_1.z.optional(zod_1.z.number()),
|
|
555
|
-
regionId: zod_1.z.optional(zod_1.z.coerce
|
|
556
|
-
.bigint()
|
|
557
|
-
.min(BigInt('-9223372036854775808'), {
|
|
558
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
559
|
-
})
|
|
560
|
-
.max(BigInt('9223372036854775807'), {
|
|
561
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
562
|
-
})),
|
|
563
|
-
districtId: zod_1.z.optional(zod_1.z.coerce
|
|
564
|
-
.bigint()
|
|
565
|
-
.min(BigInt('-9223372036854775808'), {
|
|
566
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
567
|
-
})
|
|
568
|
-
.max(BigInt('9223372036854775807'), {
|
|
569
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
570
|
-
})),
|
|
571
|
-
subDistrictId: zod_1.z.optional(zod_1.z.coerce
|
|
572
|
-
.bigint()
|
|
573
|
-
.min(BigInt('-9223372036854775808'), {
|
|
574
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
575
|
-
})
|
|
576
|
-
.max(BigInt('9223372036854775807'), {
|
|
577
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
578
|
-
})),
|
|
579
|
-
streetId: zod_1.z.optional(zod_1.z.coerce
|
|
580
|
-
.bigint()
|
|
581
|
-
.min(BigInt('-9223372036854775808'), {
|
|
582
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
583
|
-
})
|
|
584
|
-
.max(BigInt('9223372036854775807'), {
|
|
585
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
586
|
-
})),
|
|
587
|
-
});
|
|
588
|
-
exports.zGenderEnum = zod_1.z.enum(['MALE', 'FEMALE', 'UNKNOWN']);
|
|
589
|
-
exports.zContactInfoRequest = zod_1.z.object({
|
|
590
|
-
firstName: zod_1.z.optional(zod_1.z.string()),
|
|
591
|
-
lastName: zod_1.z.optional(zod_1.z.string()),
|
|
592
|
-
gender: zod_1.z.optional(exports.zGenderEnum),
|
|
593
|
-
email: zod_1.z.optional(zod_1.z.email()),
|
|
594
|
-
phone: zod_1.z.string().min(1),
|
|
595
|
-
});
|
|
596
|
-
exports.zCreateLeadRequest = zod_1.z.object({
|
|
597
|
-
contactInfo: exports.zContactInfoRequest,
|
|
598
|
-
note: zod_1.z.optional(zod_1.z.string().min(0).max(500)),
|
|
599
|
-
sourceUrl: zod_1.z.optional(zod_1.z.string()),
|
|
600
|
-
});
|
|
601
|
-
exports.zPriorityEnum = zod_1.z.enum(['CRITICAL', 'HIGH', 'MEDIUM', 'LOW']);
|
|
602
|
-
exports.zUpdatePriorityRequest = zod_1.z.object({
|
|
603
|
-
priority: zod_1.z.optional(exports.zPriorityEnum),
|
|
604
|
-
});
|
|
605
|
-
exports.zItemsEnum2 = zod_1.z.enum(['WHATSAPP', 'VIBER', 'PHONE_CALL']);
|
|
606
|
-
exports.zUpdateContactMethodsRequest = zod_1.z.object({
|
|
607
|
-
contactMethods: zod_1.z.array(exports.zItemsEnum2),
|
|
608
|
-
favoriteContactMethod: exports.zItemsEnum2,
|
|
609
|
-
});
|
|
610
|
-
exports.zCreateClientRequest = zod_1.z.object({
|
|
611
|
-
contactInfo: exports.zContactInfoRequest,
|
|
612
|
-
sourceUrl: zod_1.z.optional(zod_1.z.string()),
|
|
613
|
-
contactMethods: zod_1.z.array(exports.zItemsEnum2).min(1),
|
|
614
|
-
favoriteContactMethod: exports.zItemsEnum2,
|
|
615
|
-
priority: zod_1.z.optional(exports.zPriorityEnum),
|
|
616
|
-
});
|
|
617
|
-
exports.zTypeEnum = zod_1.z.enum([
|
|
618
|
-
'FACEBOOK',
|
|
619
|
-
'YOUTUBE',
|
|
620
|
-
'INSTAGRAM',
|
|
621
|
-
'TIKTOK',
|
|
622
|
-
'LINKEDIN',
|
|
623
|
-
]);
|
|
624
|
-
exports.zSocialMediaRequest = zod_1.z.object({
|
|
625
|
-
type: exports.zTypeEnum,
|
|
626
|
-
url: zod_1.z.optional(zod_1.z.string()),
|
|
627
|
-
});
|
|
628
|
-
exports.zSocialMediasRequest = zod_1.z.object({
|
|
629
|
-
data: zod_1.z.array(exports.zSocialMediaRequest).min(1).max(5),
|
|
630
|
-
});
|
|
631
|
-
exports.zTypeEnum2 = zod_1.z.enum(['JPEG', 'JPG', 'PNG', 'WEBP']);
|
|
632
|
-
exports.zPhotoRequest = zod_1.z.object({
|
|
633
|
-
photo: zod_1.z.string().min(0).max(255),
|
|
634
|
-
type: exports.zTypeEnum2,
|
|
635
|
-
width: zod_1.z.int().gte(10).lte(11000),
|
|
636
|
-
height: zod_1.z.optional(zod_1.z.int().gte(10).lte(11000)),
|
|
637
|
-
});
|
|
638
|
-
exports.zStatusEnum = zod_1.z.enum([
|
|
639
|
-
'PENDING',
|
|
640
|
-
'ACCEPTED',
|
|
641
|
-
'CANCELLED',
|
|
642
|
-
'EXPIRED',
|
|
643
|
-
]);
|
|
644
|
-
exports.zInvitationDetailsResponse = zod_1.z.object({
|
|
645
|
-
invitationId: zod_1.z.uuid(),
|
|
646
|
-
agencyId: zod_1.z.uuid(),
|
|
647
|
-
email: zod_1.z.string(),
|
|
648
|
-
status: exports.zStatusEnum,
|
|
649
|
-
agencyName: zod_1.z.string(),
|
|
650
|
-
agencyLogo: zod_1.z.optional(zod_1.z.string()),
|
|
651
|
-
});
|
|
652
|
-
exports.zInvitationViewResponse = zod_1.z.object({
|
|
653
|
-
invitationId: zod_1.z.uuid(),
|
|
654
|
-
email: zod_1.z.string(),
|
|
655
|
-
status: exports.zStatusEnum,
|
|
656
|
-
createdAt: zod_1.z.iso.datetime(),
|
|
657
|
-
expiresAt: zod_1.z.iso.datetime(),
|
|
658
|
-
acceptedAt: zod_1.z.optional(zod_1.z.iso.datetime()),
|
|
659
|
-
acceptedBy: zod_1.z.optional(zod_1.z.string()),
|
|
660
|
-
});
|
|
661
|
-
exports.zPagedModelInvitationViewResponse = zod_1.z.object({
|
|
662
|
-
content: zod_1.z.optional(zod_1.z.array(exports.zInvitationViewResponse)),
|
|
663
|
-
page: zod_1.z.optional(exports.zPageMetadata),
|
|
664
|
-
});
|
|
665
|
-
exports.zGroupEnum = zod_1.z.enum([
|
|
666
|
-
'AGENCY',
|
|
667
|
-
'INVITATION',
|
|
668
|
-
'ROLE',
|
|
669
|
-
'MEMBER',
|
|
670
|
-
'LEAD',
|
|
671
|
-
]);
|
|
672
|
-
exports.zGroupedPermissionsResponse = zod_1.z.object({
|
|
673
|
-
group: exports.zGroupEnum,
|
|
674
|
-
permissions: zod_1.z.array(exports.zPermissionResponse),
|
|
675
|
-
});
|
|
676
|
-
exports.zSourceTypeEnum = zod_1.z.enum([
|
|
677
|
-
'MY_HOME',
|
|
678
|
-
'SS',
|
|
679
|
-
'FACEBOOK',
|
|
680
|
-
'YOUTUBE',
|
|
681
|
-
'INSTAGRAM',
|
|
682
|
-
'TIKTOK',
|
|
683
|
-
'LINKEDIN',
|
|
684
|
-
'UNKNOWN',
|
|
685
|
-
]);
|
|
686
|
-
exports.zLeadProjectionResponse = zod_1.z.object({
|
|
687
|
-
id: zod_1.z.coerce
|
|
688
|
-
.bigint()
|
|
689
|
-
.min(BigInt('-9223372036854775808'), {
|
|
690
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
691
|
-
})
|
|
692
|
-
.max(BigInt('9223372036854775807'), {
|
|
693
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
694
|
-
}),
|
|
695
|
-
createdBy: zod_1.z.uuid(),
|
|
696
|
-
assignedTo: zod_1.z.optional(zod_1.z.uuid()),
|
|
697
|
-
status: exports.zSchemaEnum,
|
|
698
|
-
contactFullName: zod_1.z.optional(zod_1.z.string()),
|
|
699
|
-
contactGender: zod_1.z.optional(exports.zGenderEnum),
|
|
700
|
-
contactPhoneNumber: zod_1.z.string(),
|
|
701
|
-
contactEmail: zod_1.z.optional(zod_1.z.string()),
|
|
702
|
-
note: zod_1.z.optional(zod_1.z.string()),
|
|
703
|
-
sourceType: zod_1.z.optional(exports.zSourceTypeEnum),
|
|
704
|
-
sourceLink: zod_1.z.optional(zod_1.z.string()),
|
|
705
|
-
isSearching: zod_1.z.boolean(),
|
|
706
|
-
isListing: zod_1.z.boolean(),
|
|
707
|
-
intents: zod_1.z.optional(zod_1.z.array(exports.zIntentResponse)),
|
|
708
|
-
});
|
|
709
|
-
exports.zPagedModelLeadProjectionResponse = zod_1.z.object({
|
|
710
|
-
content: zod_1.z.optional(zod_1.z.array(exports.zLeadProjectionResponse)),
|
|
711
|
-
page: zod_1.z.optional(exports.zPageMetadata),
|
|
712
|
-
});
|
|
713
|
-
exports.zClientProjectionResponse = zod_1.z.object({
|
|
714
|
-
id: zod_1.z.coerce
|
|
715
|
-
.bigint()
|
|
716
|
-
.min(BigInt('-9223372036854775808'), {
|
|
717
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
718
|
-
})
|
|
719
|
-
.max(BigInt('9223372036854775807'), {
|
|
720
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
721
|
-
}),
|
|
722
|
-
createdBy: zod_1.z.uuid(),
|
|
723
|
-
leadId: zod_1.z.optional(zod_1.z.coerce
|
|
724
|
-
.bigint()
|
|
725
|
-
.min(BigInt('-9223372036854775808'), {
|
|
726
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
727
|
-
})
|
|
728
|
-
.max(BigInt('9223372036854775807'), {
|
|
729
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
730
|
-
})),
|
|
731
|
-
assignedTo: zod_1.z.optional(zod_1.z.uuid()),
|
|
732
|
-
contactFullName: zod_1.z.optional(zod_1.z.string()),
|
|
733
|
-
contactPhoneNumber: zod_1.z.string(),
|
|
734
|
-
contactGender: zod_1.z.optional(exports.zGenderEnum),
|
|
735
|
-
contactEmail: zod_1.z.optional(zod_1.z.string()),
|
|
736
|
-
sourceType: zod_1.z.optional(exports.zSourceTypeEnum),
|
|
737
|
-
sourceLink: zod_1.z.optional(zod_1.z.string()),
|
|
738
|
-
isSearching: zod_1.z.boolean(),
|
|
739
|
-
isListing: zod_1.z.boolean(),
|
|
740
|
-
contactMethods: zod_1.z.array(exports.zItemsEnum2),
|
|
741
|
-
favoriteContactMethod: zod_1.z.optional(exports.zItemsEnum2),
|
|
742
|
-
priority: zod_1.z.optional(exports.zPriorityEnum),
|
|
743
|
-
requirements: zod_1.z.optional(zod_1.z.array(exports.zRequirementResponse)),
|
|
744
|
-
properties: zod_1.z.optional(zod_1.z.array(exports.zPropertyResponse)),
|
|
745
|
-
});
|
|
746
|
-
exports.zPagedModelClientProjectionResponse = zod_1.z.object({
|
|
747
|
-
content: zod_1.z.optional(zod_1.z.array(exports.zClientProjectionResponse)),
|
|
748
|
-
page: zod_1.z.optional(exports.zPageMetadata),
|
|
749
|
-
});
|
|
750
|
-
exports.zRemoveRoleData = zod_1.z.object({
|
|
751
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
752
|
-
path: zod_1.z.object({
|
|
753
|
-
roleId: zod_1.z
|
|
754
|
-
.int()
|
|
755
|
-
.min(-2147483648, {
|
|
756
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
757
|
-
})
|
|
758
|
-
.max(2147483647, {
|
|
759
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
760
|
-
}),
|
|
761
|
-
}),
|
|
762
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
763
|
-
});
|
|
764
|
-
/**
|
|
765
|
-
* No Content
|
|
766
|
-
*/
|
|
767
|
-
exports.zRemoveRoleResponse = zod_1.z.void();
|
|
768
|
-
exports.zUpdateRoleData = zod_1.z.object({
|
|
769
|
-
body: exports.zRolesRequest,
|
|
770
|
-
path: zod_1.z.object({
|
|
771
|
-
roleId: zod_1.z
|
|
772
|
-
.int()
|
|
773
|
-
.min(-2147483648, {
|
|
774
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
775
|
-
})
|
|
776
|
-
.max(2147483647, {
|
|
777
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
778
|
-
}),
|
|
779
188
|
}),
|
|
780
|
-
|
|
189
|
+
group: zGroupEnum,
|
|
781
190
|
});
|
|
782
191
|
/**
|
|
783
|
-
*
|
|
784
|
-
*/
|
|
785
|
-
exports.zUpdateRoleResponse = zod_1.z.void();
|
|
786
|
-
exports.zAssignRoleData = zod_1.z.object({
|
|
787
|
-
body: exports.zAssignRoleRequest,
|
|
788
|
-
path: zod_1.z.object({
|
|
789
|
-
memberId: zod_1.z.uuid(),
|
|
790
|
-
}),
|
|
791
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
792
|
-
});
|
|
793
|
-
/**
|
|
794
|
-
* No Content
|
|
192
|
+
* property draft status
|
|
795
193
|
*/
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
* No Content
|
|
804
|
-
*/
|
|
805
|
-
exports.zAssignRoleBatchResponse = zod_1.z.void();
|
|
806
|
-
exports.zChangeStatusData = zod_1.z.object({
|
|
807
|
-
body: exports.zChangeStatusRequest,
|
|
808
|
-
path: zod_1.z.object({
|
|
809
|
-
leadId: zod_1.z.coerce
|
|
810
|
-
.bigint()
|
|
811
|
-
.min(BigInt('-9223372036854775808'), {
|
|
812
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
813
|
-
})
|
|
814
|
-
.max(BigInt('9223372036854775807'), {
|
|
815
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
816
|
-
}),
|
|
817
|
-
}),
|
|
818
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
819
|
-
});
|
|
820
|
-
/**
|
|
821
|
-
* No Content
|
|
822
|
-
*/
|
|
823
|
-
exports.zChangeStatusResponse = zod_1.z.void();
|
|
824
|
-
exports.zUpdateSourceData = zod_1.z.object({
|
|
825
|
-
body: exports.zSourceRequest,
|
|
826
|
-
path: zod_1.z.object({
|
|
827
|
-
leadId: zod_1.z.coerce
|
|
828
|
-
.bigint()
|
|
829
|
-
.min(BigInt('-9223372036854775808'), {
|
|
830
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
831
|
-
})
|
|
832
|
-
.max(BigInt('9223372036854775807'), {
|
|
833
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
834
|
-
}),
|
|
835
|
-
}),
|
|
836
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
837
|
-
});
|
|
838
|
-
/**
|
|
839
|
-
* No Content
|
|
840
|
-
*/
|
|
841
|
-
exports.zUpdateSourceResponse = zod_1.z.void();
|
|
842
|
-
exports.zUpdateNoteData = zod_1.z.object({
|
|
843
|
-
body: exports.zUpdateNoteRequest,
|
|
844
|
-
path: zod_1.z.object({
|
|
845
|
-
leadId: zod_1.z.coerce
|
|
846
|
-
.bigint()
|
|
847
|
-
.min(BigInt('-9223372036854775808'), {
|
|
848
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
849
|
-
})
|
|
850
|
-
.max(BigInt('9223372036854775807'), {
|
|
851
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
852
|
-
}),
|
|
853
|
-
}),
|
|
854
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
855
|
-
});
|
|
856
|
-
/**
|
|
857
|
-
* No Content
|
|
858
|
-
*/
|
|
859
|
-
exports.zUpdateNoteResponse = zod_1.z.void();
|
|
860
|
-
exports.zRemoveIntentData = zod_1.z.object({
|
|
861
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
862
|
-
path: zod_1.z.object({
|
|
863
|
-
leadId: zod_1.z.coerce
|
|
864
|
-
.bigint()
|
|
865
|
-
.min(BigInt('-9223372036854775808'), {
|
|
866
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
867
|
-
})
|
|
868
|
-
.max(BigInt('9223372036854775807'), {
|
|
869
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
870
|
-
}),
|
|
871
|
-
}),
|
|
872
|
-
query: zod_1.z.object({
|
|
873
|
-
intentId: zod_1.z.coerce
|
|
874
|
-
.bigint()
|
|
875
|
-
.min(BigInt('-9223372036854775808'), {
|
|
876
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
877
|
-
})
|
|
878
|
-
.max(BigInt('9223372036854775807'), {
|
|
879
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
880
|
-
}),
|
|
881
|
-
}),
|
|
882
|
-
});
|
|
883
|
-
/**
|
|
884
|
-
* No Content
|
|
885
|
-
*/
|
|
886
|
-
exports.zRemoveIntentResponse = zod_1.z.void();
|
|
887
|
-
exports.zAddIntentData = zod_1.z.object({
|
|
888
|
-
body: exports.zLeadIntentRequest,
|
|
889
|
-
path: zod_1.z.object({
|
|
890
|
-
leadId: zod_1.z.coerce
|
|
891
|
-
.bigint()
|
|
892
|
-
.min(BigInt('-9223372036854775808'), {
|
|
893
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
894
|
-
})
|
|
895
|
-
.max(BigInt('9223372036854775807'), {
|
|
896
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
897
|
-
}),
|
|
898
|
-
}),
|
|
899
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
900
|
-
});
|
|
901
|
-
/**
|
|
902
|
-
* No Content
|
|
903
|
-
*/
|
|
904
|
-
exports.zAddIntentResponse = zod_1.z.void();
|
|
905
|
-
exports.zUpdateIntentData = zod_1.z.object({
|
|
906
|
-
body: exports.zLeadIntentRequest,
|
|
907
|
-
path: zod_1.z.object({
|
|
908
|
-
leadId: zod_1.z.coerce
|
|
909
|
-
.bigint()
|
|
910
|
-
.min(BigInt('-9223372036854775808'), {
|
|
911
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
912
|
-
})
|
|
913
|
-
.max(BigInt('9223372036854775807'), {
|
|
914
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
915
|
-
}),
|
|
916
|
-
}),
|
|
917
|
-
query: zod_1.z.object({
|
|
918
|
-
intentId: zod_1.z.coerce
|
|
919
|
-
.bigint()
|
|
920
|
-
.min(BigInt('-9223372036854775808'), {
|
|
921
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
922
|
-
})
|
|
923
|
-
.max(BigInt('9223372036854775807'), {
|
|
924
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
925
|
-
}),
|
|
926
|
-
}),
|
|
927
|
-
});
|
|
928
|
-
/**
|
|
929
|
-
* No Content
|
|
930
|
-
*/
|
|
931
|
-
exports.zUpdateIntentResponse = zod_1.z.void();
|
|
932
|
-
exports.zUpdateContactInfoData = zod_1.z.object({
|
|
933
|
-
body: exports.zContactInfoRequest,
|
|
934
|
-
path: zod_1.z.object({
|
|
935
|
-
leadId: zod_1.z.coerce
|
|
936
|
-
.bigint()
|
|
937
|
-
.min(BigInt('-9223372036854775808'), {
|
|
938
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
939
|
-
})
|
|
940
|
-
.max(BigInt('9223372036854775807'), {
|
|
941
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
942
|
-
}),
|
|
943
|
-
}),
|
|
944
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
945
|
-
});
|
|
946
|
-
/**
|
|
947
|
-
* No Content
|
|
948
|
-
*/
|
|
949
|
-
exports.zUpdateContactInfoResponse = zod_1.z.void();
|
|
950
|
-
exports.zAssignToAgentData = zod_1.z.object({
|
|
951
|
-
body: exports.zAssignToMemberRequest,
|
|
952
|
-
path: zod_1.z.object({
|
|
953
|
-
leadId: zod_1.z.coerce
|
|
954
|
-
.bigint()
|
|
955
|
-
.min(BigInt('-9223372036854775808'), {
|
|
956
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
957
|
-
})
|
|
958
|
-
.max(BigInt('9223372036854775807'), {
|
|
959
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
960
|
-
}),
|
|
961
|
-
}),
|
|
962
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
963
|
-
});
|
|
964
|
-
/**
|
|
965
|
-
* No Content
|
|
966
|
-
*/
|
|
967
|
-
exports.zAssignToAgentResponse = zod_1.z.void();
|
|
968
|
-
exports.zUpdateSource1Data = zod_1.z.object({
|
|
969
|
-
body: exports.zSourceRequest,
|
|
970
|
-
path: zod_1.z.object({
|
|
971
|
-
clientId: zod_1.z.coerce
|
|
972
|
-
.bigint()
|
|
973
|
-
.min(BigInt('-9223372036854775808'), {
|
|
974
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
975
|
-
})
|
|
976
|
-
.max(BigInt('9223372036854775807'), {
|
|
977
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
978
|
-
}),
|
|
979
|
-
}),
|
|
980
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
981
|
-
});
|
|
982
|
-
/**
|
|
983
|
-
* No Content
|
|
984
|
-
*/
|
|
985
|
-
exports.zUpdateSource1Response = zod_1.z.void();
|
|
986
|
-
exports.zRemoveClientRequirementData = zod_1.z.object({
|
|
987
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
988
|
-
path: zod_1.z.object({
|
|
989
|
-
clientId: zod_1.z.coerce
|
|
990
|
-
.bigint()
|
|
991
|
-
.min(BigInt('-9223372036854775808'), {
|
|
992
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
993
|
-
})
|
|
994
|
-
.max(BigInt('9223372036854775807'), {
|
|
995
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
996
|
-
}),
|
|
997
|
-
}),
|
|
998
|
-
query: zod_1.z.object({
|
|
999
|
-
requirementId: zod_1.z.coerce
|
|
1000
|
-
.bigint()
|
|
1001
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1002
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1003
|
-
})
|
|
1004
|
-
.max(BigInt('9223372036854775807'), {
|
|
1005
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1006
|
-
}),
|
|
1007
|
-
}),
|
|
1008
|
-
});
|
|
1009
|
-
/**
|
|
1010
|
-
* No Content
|
|
1011
|
-
*/
|
|
1012
|
-
exports.zRemoveClientRequirementResponse = zod_1.z.void();
|
|
1013
|
-
exports.zAddClientRequirementData = zod_1.z.object({
|
|
1014
|
-
body: exports.zClientRequirementRequest,
|
|
1015
|
-
path: zod_1.z.object({
|
|
1016
|
-
clientId: zod_1.z.coerce
|
|
1017
|
-
.bigint()
|
|
1018
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1019
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1020
|
-
})
|
|
1021
|
-
.max(BigInt('9223372036854775807'), {
|
|
1022
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1023
|
-
}),
|
|
1024
|
-
}),
|
|
1025
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
194
|
+
export const zStatusEnum = z.enum([
|
|
195
|
+
'IN_REGISTRATION',
|
|
196
|
+
'PROCESSING',
|
|
197
|
+
'COMPLETED',
|
|
198
|
+
]);
|
|
199
|
+
export const zDraftStatusResponse = z.object({
|
|
200
|
+
status: zStatusEnum,
|
|
1026
201
|
});
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
exports.zUpdateClientRequirementData = zod_1.z.object({
|
|
1032
|
-
body: exports.zClientRequirementRequest,
|
|
1033
|
-
path: zod_1.z.object({
|
|
1034
|
-
clientId: zod_1.z.coerce
|
|
1035
|
-
.bigint()
|
|
1036
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1037
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1038
|
-
})
|
|
1039
|
-
.max(BigInt('9223372036854775807'), {
|
|
1040
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1041
|
-
}),
|
|
1042
|
-
}),
|
|
1043
|
-
query: zod_1.z.object({
|
|
1044
|
-
requirementId: zod_1.z.coerce
|
|
1045
|
-
.bigint()
|
|
1046
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1047
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1048
|
-
})
|
|
1049
|
-
.max(BigInt('9223372036854775807'), {
|
|
1050
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1051
|
-
}),
|
|
202
|
+
export const zRegisterSpacesData = z.object({
|
|
203
|
+
body: zSpacesRequest,
|
|
204
|
+
path: z.object({
|
|
205
|
+
draftId: z.uuid(),
|
|
1052
206
|
}),
|
|
207
|
+
query: z.optional(z.never()),
|
|
1053
208
|
});
|
|
1054
209
|
/**
|
|
1055
|
-
*
|
|
210
|
+
* OK
|
|
1056
211
|
*/
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
body:
|
|
1060
|
-
path:
|
|
1061
|
-
|
|
1062
|
-
.bigint()
|
|
1063
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1064
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1065
|
-
})
|
|
1066
|
-
.max(BigInt('9223372036854775807'), {
|
|
1067
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1068
|
-
}),
|
|
212
|
+
export const zRegisterSpacesResponse = zRegistrationProgressDto;
|
|
213
|
+
export const zRequestPresignedUrlsData = z.object({
|
|
214
|
+
body: zPhotosRequest,
|
|
215
|
+
path: z.object({
|
|
216
|
+
draftId: z.uuid(),
|
|
1069
217
|
}),
|
|
1070
|
-
query:
|
|
218
|
+
query: z.optional(z.never()),
|
|
1071
219
|
});
|
|
1072
220
|
/**
|
|
1073
|
-
*
|
|
221
|
+
* OK
|
|
1074
222
|
*/
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
body:
|
|
1078
|
-
path:
|
|
1079
|
-
|
|
1080
|
-
.bigint()
|
|
1081
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1082
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1083
|
-
})
|
|
1084
|
-
.max(BigInt('9223372036854775807'), {
|
|
1085
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1086
|
-
}),
|
|
223
|
+
export const zRequestPresignedUrlsResponse = zPresignedUrlsResponse;
|
|
224
|
+
export const zRegisterMeasurementsData = z.object({
|
|
225
|
+
body: zMeasurementRequest,
|
|
226
|
+
path: z.object({
|
|
227
|
+
draftId: z.uuid(),
|
|
1087
228
|
}),
|
|
1088
|
-
query:
|
|
229
|
+
query: z.optional(z.never()),
|
|
1089
230
|
});
|
|
1090
231
|
/**
|
|
1091
|
-
*
|
|
232
|
+
* OK
|
|
1092
233
|
*/
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
body:
|
|
1096
|
-
path:
|
|
1097
|
-
|
|
1098
|
-
.bigint()
|
|
1099
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1100
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1101
|
-
})
|
|
1102
|
-
.max(BigInt('9223372036854775807'), {
|
|
1103
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1104
|
-
}),
|
|
234
|
+
export const zRegisterMeasurementsResponse = zRegistrationProgressDto;
|
|
235
|
+
export const zRegisterDescriptionData = z.object({
|
|
236
|
+
body: zTitleAndDescriptionRequest,
|
|
237
|
+
path: z.object({
|
|
238
|
+
draftId: z.uuid(),
|
|
1105
239
|
}),
|
|
1106
|
-
query:
|
|
240
|
+
query: z.optional(z.never()),
|
|
1107
241
|
});
|
|
1108
242
|
/**
|
|
1109
|
-
*
|
|
243
|
+
* OK
|
|
1110
244
|
*/
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
body:
|
|
1114
|
-
path:
|
|
1115
|
-
|
|
1116
|
-
.bigint()
|
|
1117
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1118
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1119
|
-
})
|
|
1120
|
-
.max(BigInt('9223372036854775807'), {
|
|
1121
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1122
|
-
}),
|
|
245
|
+
export const zRegisterDescriptionResponse = zRegistrationProgressDto;
|
|
246
|
+
export const zRegisterAmenitiesData = z.object({
|
|
247
|
+
body: zAmenitiesRequest,
|
|
248
|
+
path: z.object({
|
|
249
|
+
draftId: z.uuid(),
|
|
1123
250
|
}),
|
|
1124
|
-
query:
|
|
251
|
+
query: z.optional(z.never()),
|
|
1125
252
|
});
|
|
1126
253
|
/**
|
|
1127
|
-
*
|
|
254
|
+
* OK
|
|
1128
255
|
*/
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
body:
|
|
1132
|
-
path:
|
|
1133
|
-
|
|
256
|
+
export const zRegisterAmenitiesResponse = zRegistrationProgressDto;
|
|
257
|
+
export const zRegisterAddressData = z.object({
|
|
258
|
+
body: zAddressRequest,
|
|
259
|
+
path: z.object({
|
|
260
|
+
draftId: z.uuid(),
|
|
1134
261
|
}),
|
|
1135
|
-
query:
|
|
262
|
+
query: z.optional(z.never()),
|
|
1136
263
|
});
|
|
1137
264
|
/**
|
|
1138
|
-
*
|
|
265
|
+
* OK
|
|
1139
266
|
*/
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
body:
|
|
1143
|
-
path:
|
|
1144
|
-
|
|
267
|
+
export const zRegisterAddressResponse = zRegistrationProgressDto;
|
|
268
|
+
export const zReorderPhotosData = z.object({
|
|
269
|
+
body: zPhotoReorderRequest,
|
|
270
|
+
path: z.object({
|
|
271
|
+
draftId: z.uuid(),
|
|
1145
272
|
}),
|
|
1146
|
-
query:
|
|
1147
|
-
});
|
|
1148
|
-
/**
|
|
1149
|
-
* No Content
|
|
1150
|
-
*/
|
|
1151
|
-
exports.zActivateAgencyResponse = zod_1.z.void();
|
|
1152
|
-
exports.zUpdateSocialUrlsData = zod_1.z.object({
|
|
1153
|
-
body: exports.zSocialMediasRequest,
|
|
1154
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1155
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1156
|
-
});
|
|
1157
|
-
/**
|
|
1158
|
-
* No Content
|
|
1159
|
-
*/
|
|
1160
|
-
exports.zUpdateSocialUrlsResponse = zod_1.z.void();
|
|
1161
|
-
exports.zTransferFundsData = zod_1.z.object({
|
|
1162
|
-
body: exports.zTransferFundsRequest,
|
|
1163
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1164
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1165
|
-
});
|
|
1166
|
-
/**
|
|
1167
|
-
* No Content
|
|
1168
|
-
*/
|
|
1169
|
-
exports.zTransferFundsResponse = zod_1.z.void();
|
|
1170
|
-
exports.zDepositFundsData = zod_1.z.object({
|
|
1171
|
-
body: exports.zDepositFundsRequest,
|
|
1172
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1173
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
273
|
+
query: z.optional(z.never()),
|
|
1174
274
|
});
|
|
1175
275
|
/**
|
|
1176
276
|
* No Content
|
|
1177
277
|
*/
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
body:
|
|
1181
|
-
path:
|
|
1182
|
-
query:
|
|
1183
|
-
page: zod_1.z.optional(zod_1.z.int().gte(0)).default(0),
|
|
1184
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(20),
|
|
1185
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
1186
|
-
})),
|
|
1187
|
-
});
|
|
1188
|
-
/**
|
|
1189
|
-
* OK
|
|
1190
|
-
*/
|
|
1191
|
-
exports.zListRolesResponse = exports.zPagedModelRoleResponse;
|
|
1192
|
-
exports.zCreateRoleData = zod_1.z.object({
|
|
1193
|
-
body: exports.zRolesRequest,
|
|
1194
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1195
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
278
|
+
export const zReorderPhotosResponse = z.void();
|
|
279
|
+
export const zStartRegistrationData = z.object({
|
|
280
|
+
body: zStartRegistrationRequest,
|
|
281
|
+
path: z.optional(z.never()),
|
|
282
|
+
query: z.optional(z.never()),
|
|
1196
283
|
});
|
|
1197
284
|
/**
|
|
1198
285
|
* Created
|
|
1199
286
|
*/
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
body:
|
|
1203
|
-
path:
|
|
1204
|
-
|
|
1205
|
-
status: zod_1.z.optional(exports.zSchemaEnum),
|
|
1206
|
-
isSearching: zod_1.z.optional(zod_1.z.boolean()),
|
|
1207
|
-
isListing: zod_1.z.optional(zod_1.z.boolean()),
|
|
1208
|
-
page: zod_1.z.optional(zod_1.z.int().gte(0)).default(0),
|
|
1209
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(20),
|
|
1210
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
1211
|
-
})),
|
|
1212
|
-
});
|
|
1213
|
-
/**
|
|
1214
|
-
* OK
|
|
1215
|
-
*/
|
|
1216
|
-
exports.zSearchLeadsResponse = exports.zPagedModelLeadProjectionResponse;
|
|
1217
|
-
exports.zCreateLeadData = zod_1.z.object({
|
|
1218
|
-
body: exports.zCreateLeadRequest,
|
|
1219
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1220
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1221
|
-
});
|
|
1222
|
-
/**
|
|
1223
|
-
* Created
|
|
1224
|
-
*/
|
|
1225
|
-
exports.zCreateLeadResponse = exports.zIdResponseLong;
|
|
1226
|
-
exports.zGetSentInvitationsData = zod_1.z.object({
|
|
1227
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
1228
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1229
|
-
query: zod_1.z.optional(zod_1.z.object({
|
|
1230
|
-
page: zod_1.z.optional(zod_1.z.int().gte(0)).default(0),
|
|
1231
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(10),
|
|
1232
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())).default(['createdAt,ASC']),
|
|
1233
|
-
})),
|
|
1234
|
-
});
|
|
1235
|
-
/**
|
|
1236
|
-
* OK
|
|
1237
|
-
*/
|
|
1238
|
-
exports.zGetSentInvitationsResponse = exports.zPagedModelInvitationViewResponse;
|
|
1239
|
-
exports.zSendInvitationData = zod_1.z.object({
|
|
1240
|
-
body: exports.zInviteMemberRequest,
|
|
1241
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1242
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1243
|
-
});
|
|
1244
|
-
exports.zAcceptInvitationData = zod_1.z.object({
|
|
1245
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
1246
|
-
path: zod_1.z.object({
|
|
1247
|
-
invitationId: zod_1.z.uuid(),
|
|
1248
|
-
}),
|
|
1249
|
-
query: zod_1.z.object({
|
|
1250
|
-
agencyId: zod_1.z.uuid(),
|
|
287
|
+
export const zStartRegistrationResponse = zRegistrationProgressDto;
|
|
288
|
+
export const zGetDraftData = z.object({
|
|
289
|
+
body: z.optional(z.never()),
|
|
290
|
+
path: z.object({
|
|
291
|
+
draftId: z.uuid(),
|
|
1251
292
|
}),
|
|
1252
|
-
|
|
1253
|
-
exports.zRequestPrincipleData = zod_1.z.object({
|
|
1254
|
-
body: exports.zAuthRequest,
|
|
1255
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1256
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
293
|
+
query: z.optional(z.never()),
|
|
1257
294
|
});
|
|
1258
295
|
/**
|
|
1259
296
|
* OK
|
|
1260
297
|
*/
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
body:
|
|
1264
|
-
path:
|
|
1265
|
-
|
|
1266
|
-
isSearching: zod_1.z.optional(zod_1.z.boolean()),
|
|
1267
|
-
isListing: zod_1.z.optional(zod_1.z.boolean()),
|
|
1268
|
-
page: zod_1.z.optional(zod_1.z.int().gte(0)).default(0),
|
|
1269
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(20),
|
|
1270
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
1271
|
-
})),
|
|
1272
|
-
});
|
|
1273
|
-
/**
|
|
1274
|
-
* OK
|
|
1275
|
-
*/
|
|
1276
|
-
exports.zSearchClientsResponse = exports.zPagedModelClientProjectionResponse;
|
|
1277
|
-
exports.zCreateClientData = zod_1.z.object({
|
|
1278
|
-
body: exports.zCreateClientRequest,
|
|
1279
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1280
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1281
|
-
});
|
|
1282
|
-
/**
|
|
1283
|
-
* Created
|
|
1284
|
-
*/
|
|
1285
|
-
exports.zCreateClientResponse = exports.zIdResponseLong;
|
|
1286
|
-
exports.zCreateAgencyData = zod_1.z.object({
|
|
1287
|
-
body: exports.zCreateAgencyRequest,
|
|
1288
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1289
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1290
|
-
});
|
|
1291
|
-
/**
|
|
1292
|
-
* Created
|
|
1293
|
-
*/
|
|
1294
|
-
exports.zCreateAgencyResponse = exports.zIdResponseUuid;
|
|
1295
|
-
exports.zGeneratePresignedUrlData = zod_1.z.object({
|
|
1296
|
-
body: exports.zPhotoRequest,
|
|
1297
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1298
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1299
|
-
});
|
|
1300
|
-
/**
|
|
1301
|
-
* OK
|
|
1302
|
-
*/
|
|
1303
|
-
exports.zGeneratePresignedUrlResponse = exports.zPresignedUrlsResponse;
|
|
1304
|
-
exports.zNotifyLogoUploadCompletionData = zod_1.z.object({
|
|
1305
|
-
body: exports.zPhotoRequest,
|
|
1306
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1307
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1308
|
-
});
|
|
1309
|
-
/**
|
|
1310
|
-
* OK
|
|
1311
|
-
*/
|
|
1312
|
-
exports.zNotifyLogoUploadCompletionResponse = exports.zUploadAcknowledgmentResponse;
|
|
1313
|
-
exports.zNotifyCoverUploadCompletionData = zod_1.z.object({
|
|
1314
|
-
body: exports.zPhotoRequest,
|
|
1315
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1316
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1317
|
-
});
|
|
1318
|
-
/**
|
|
1319
|
-
* OK
|
|
1320
|
-
*/
|
|
1321
|
-
exports.zNotifyCoverUploadCompletionResponse = exports.zUploadAcknowledgmentResponse;
|
|
1322
|
-
exports.zGetMeData = zod_1.z.object({
|
|
1323
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
1324
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1325
|
-
query: zod_1.z.optional(zod_1.z.never()),
|
|
1326
|
-
});
|
|
1327
|
-
/**
|
|
1328
|
-
* OK
|
|
1329
|
-
*/
|
|
1330
|
-
exports.zGetMeResponse = exports.zUserContextViewResponse;
|
|
1331
|
-
exports.zGetInvitationDetailsData = zod_1.z.object({
|
|
1332
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
1333
|
-
path: zod_1.z.object({
|
|
1334
|
-
invitationId: zod_1.z.uuid(),
|
|
1335
|
-
}),
|
|
1336
|
-
query: zod_1.z.object({
|
|
1337
|
-
agencyId: zod_1.z.uuid(),
|
|
298
|
+
export const zGetDraftResponse = zRegistrationDraftResponse;
|
|
299
|
+
export const zRestartRegistrationData = z.object({
|
|
300
|
+
body: zStartRegistrationRequest,
|
|
301
|
+
path: z.object({
|
|
302
|
+
draftId: z.uuid(),
|
|
1338
303
|
}),
|
|
304
|
+
query: z.optional(z.never()),
|
|
1339
305
|
});
|
|
1340
306
|
/**
|
|
1341
307
|
* OK
|
|
1342
308
|
*/
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
body:
|
|
1346
|
-
path:
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(10),
|
|
1351
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())).default(['name,ASC']),
|
|
1352
|
-
})),
|
|
309
|
+
export const zRestartRegistrationResponse = zRegistrationProgressDto;
|
|
310
|
+
export const zCompleteRegistrationData = z.object({
|
|
311
|
+
body: z.optional(z.never()),
|
|
312
|
+
path: z.object({
|
|
313
|
+
draftId: z.uuid(),
|
|
314
|
+
}),
|
|
315
|
+
query: z.optional(z.never()),
|
|
1353
316
|
});
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
exports.zGetAgencyBySubdomainData = zod_1.z.object({
|
|
1359
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
1360
|
-
path: zod_1.z.object({
|
|
1361
|
-
subDomain: zod_1.z.string(),
|
|
317
|
+
export const zNotifyPhotoUploadData = z.object({
|
|
318
|
+
body: zPhotosRequest,
|
|
319
|
+
path: z.object({
|
|
320
|
+
draftId: z.uuid(),
|
|
1362
321
|
}),
|
|
1363
|
-
query:
|
|
322
|
+
query: z.optional(z.never()),
|
|
1364
323
|
});
|
|
1365
324
|
/**
|
|
1366
325
|
* OK
|
|
1367
326
|
*/
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
body:
|
|
1371
|
-
path:
|
|
1372
|
-
query:
|
|
327
|
+
export const zNotifyPhotoUploadResponse = zRegistrationProgressDto;
|
|
328
|
+
export const zStartRegistrationForAgencyData = z.object({
|
|
329
|
+
body: zAgencyStartRegistrationRequest,
|
|
330
|
+
path: z.optional(z.never()),
|
|
331
|
+
query: z.optional(z.never()),
|
|
1373
332
|
});
|
|
1374
333
|
/**
|
|
1375
|
-
*
|
|
334
|
+
* Created
|
|
1376
335
|
*/
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
body:
|
|
1380
|
-
path:
|
|
1381
|
-
query:
|
|
1382
|
-
roleId: zod_1.z.optional(zod_1.z
|
|
1383
|
-
.int()
|
|
1384
|
-
.min(-2147483648, {
|
|
1385
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
1386
|
-
})
|
|
1387
|
-
.max(2147483647, {
|
|
1388
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1389
|
-
})),
|
|
1390
|
-
page: zod_1.z.optional(zod_1.z.int().gte(0)).default(0),
|
|
1391
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(10),
|
|
1392
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())).default(['joinedAt,DESC']),
|
|
1393
|
-
})),
|
|
336
|
+
export const zStartRegistrationForAgencyResponse = zRegistrationProgressDto;
|
|
337
|
+
export const zGetDraftsData = z.object({
|
|
338
|
+
body: z.optional(z.never()),
|
|
339
|
+
path: z.optional(z.never()),
|
|
340
|
+
query: z.optional(z.never()),
|
|
1394
341
|
});
|
|
1395
342
|
/**
|
|
1396
343
|
* OK
|
|
1397
344
|
*/
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
body:
|
|
1401
|
-
path:
|
|
1402
|
-
|
|
1403
|
-
.bigint()
|
|
1404
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1405
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1406
|
-
})
|
|
1407
|
-
.max(BigInt('9223372036854775807'), {
|
|
1408
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1409
|
-
}),
|
|
345
|
+
export const zGetDraftsResponse = z.array(zDraftCardResponse);
|
|
346
|
+
export const zGetDraftStatusData = z.object({
|
|
347
|
+
body: z.optional(z.never()),
|
|
348
|
+
path: z.object({
|
|
349
|
+
draftId: z.uuid(),
|
|
1410
350
|
}),
|
|
1411
|
-
query:
|
|
1412
|
-
});
|
|
1413
|
-
/**
|
|
1414
|
-
* OK
|
|
1415
|
-
*/
|
|
1416
|
-
exports.zGetLeadByIdResponse = exports.zLeadProjectionResponse;
|
|
1417
|
-
exports.zSearchMyLeadsData = zod_1.z.object({
|
|
1418
|
-
body: zod_1.z.optional(zod_1.z.never()),
|
|
1419
|
-
path: zod_1.z.optional(zod_1.z.never()),
|
|
1420
|
-
query: zod_1.z.optional(zod_1.z.object({
|
|
1421
|
-
status: zod_1.z.optional(exports.zSchemaEnum),
|
|
1422
|
-
isSearching: zod_1.z.optional(zod_1.z.boolean()),
|
|
1423
|
-
isListing: zod_1.z.optional(zod_1.z.boolean()),
|
|
1424
|
-
page: zod_1.z.optional(zod_1.z.int().gte(0)).default(0),
|
|
1425
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(20),
|
|
1426
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
1427
|
-
})),
|
|
351
|
+
query: z.optional(z.never()),
|
|
1428
352
|
});
|
|
1429
353
|
/**
|
|
1430
354
|
* OK
|
|
1431
355
|
*/
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
body:
|
|
1435
|
-
path:
|
|
1436
|
-
|
|
1437
|
-
.bigint()
|
|
1438
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1439
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1440
|
-
})
|
|
1441
|
-
.max(BigInt('9223372036854775807'), {
|
|
1442
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1443
|
-
}),
|
|
356
|
+
export const zGetDraftStatusResponse = zDraftStatusResponse;
|
|
357
|
+
export const zDeleteDraftData = z.object({
|
|
358
|
+
body: z.optional(z.never()),
|
|
359
|
+
path: z.object({
|
|
360
|
+
draftId: z.uuid(),
|
|
1444
361
|
}),
|
|
1445
|
-
query:
|
|
362
|
+
query: z.optional(z.never()),
|
|
1446
363
|
});
|
|
1447
364
|
/**
|
|
1448
|
-
*
|
|
365
|
+
* No Content
|
|
1449
366
|
*/
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
body:
|
|
1453
|
-
path:
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
page: zod_1.z.optional(zod_1.z.int().gte(0)).default(0),
|
|
1458
|
-
size: zod_1.z.optional(zod_1.z.int().gte(1)).default(20),
|
|
1459
|
-
sort: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
1460
|
-
})),
|
|
367
|
+
export const zDeleteDraftResponse = z.void();
|
|
368
|
+
export const zDeleteAllPhotosData = z.object({
|
|
369
|
+
body: z.optional(z.never()),
|
|
370
|
+
path: z.object({
|
|
371
|
+
draftId: z.uuid(),
|
|
372
|
+
}),
|
|
373
|
+
query: z.optional(z.never()),
|
|
1461
374
|
});
|
|
1462
375
|
/**
|
|
1463
|
-
*
|
|
376
|
+
* No Content
|
|
1464
377
|
*/
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
body:
|
|
1468
|
-
path:
|
|
1469
|
-
|
|
378
|
+
export const zDeleteAllPhotosResponse = z.void();
|
|
379
|
+
export const zDeletePhotoData = z.object({
|
|
380
|
+
body: z.optional(z.never()),
|
|
381
|
+
path: z.object({
|
|
382
|
+
draftId: z.uuid(),
|
|
383
|
+
photoKey: z.string(),
|
|
1470
384
|
}),
|
|
1471
|
-
query:
|
|
385
|
+
query: z.optional(z.never()),
|
|
1472
386
|
});
|
|
1473
387
|
/**
|
|
1474
|
-
*
|
|
388
|
+
* No Content
|
|
1475
389
|
*/
|
|
1476
|
-
|
|
390
|
+
export const zDeletePhotoResponse = z.void();
|
|
1477
391
|
//# sourceMappingURL=zod.gen.js.map
|