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