@homespot-sdk/core 0.0.342 → 0.0.343

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.
@@ -1988,6 +1988,28 @@ export const CursorPageCommentViewSchema = {
1988
1988
  },
1989
1989
  },
1990
1990
  };
1991
+ export const AssignedToResponseSchema = {
1992
+ type: 'object',
1993
+ properties: {
1994
+ memberId: {
1995
+ type: 'string',
1996
+ format: 'uuid',
1997
+ },
1998
+ firstName: {
1999
+ type: 'string',
2000
+ },
2001
+ lastName: {
2002
+ type: 'string',
2003
+ },
2004
+ photo: {
2005
+ type: 'string',
2006
+ },
2007
+ email: {
2008
+ type: 'string',
2009
+ },
2010
+ },
2011
+ required: ['email', 'firstName', 'lastName', 'memberId'],
2012
+ };
1991
2013
  export const ContactLinkSchema = {
1992
2014
  type: 'object',
1993
2015
  properties: {
@@ -2087,30 +2109,88 @@ export const InterestLinkSchema = {
2087
2109
  title: {
2088
2110
  type: 'string',
2089
2111
  },
2112
+ propertyTypes: {
2113
+ type: 'array',
2114
+ items: {
2115
+ type: 'string',
2116
+ enum: [
2117
+ 'HOUSE',
2118
+ 'TOWN_HOUSE',
2119
+ 'COUNTRY_HOUSE',
2120
+ 'VILLA',
2121
+ 'COTTAGE',
2122
+ 'APARTMENT',
2123
+ 'DUPLEX',
2124
+ 'TRIPLEX',
2125
+ 'SEMI_BASEMENT',
2126
+ 'ATTIC',
2127
+ 'AGRICULTURAL_LAND',
2128
+ 'RESIDENTIAL_LAND',
2129
+ 'HOTEL_ROOM',
2130
+ 'MOTEL_ROOM',
2131
+ 'CO_LIVING_SPACE',
2132
+ 'OFFICE',
2133
+ 'COMMERCIAL_SPACE',
2134
+ 'CO_WORKING_SPACE',
2135
+ 'WAREHOUSE',
2136
+ 'GARAGE',
2137
+ ],
2138
+ },
2139
+ },
2140
+ listingType: {
2141
+ type: 'string',
2142
+ enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
2143
+ },
2090
2144
  },
2091
2145
  required: ['contactId', 'interestId'],
2092
2146
  };
2093
- export const ParticipantSchema = {
2147
+ export const LangTextResponseSchema = {
2094
2148
  type: 'object',
2095
2149
  properties: {
2096
- memberId: {
2150
+ language: {
2097
2151
  type: 'string',
2098
- format: 'uuid',
2152
+ enum: ['ka', 'en', 'ru'],
2099
2153
  },
2100
- firstName: {
2154
+ text: {
2101
2155
  type: 'string',
2102
2156
  },
2103
- lastName: {
2157
+ },
2158
+ required: ['language', 'text'],
2159
+ };
2160
+ export const ListingDetailsSchema = {
2161
+ type: 'object',
2162
+ properties: {
2163
+ type: {
2104
2164
  type: 'string',
2165
+ enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
2105
2166
  },
2106
- photo: {
2167
+ askingPrice: {
2168
+ type: 'number',
2169
+ },
2170
+ commissionType: {
2107
2171
  type: 'string',
2172
+ enum: ['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'],
2108
2173
  },
2109
- owner: {
2110
- type: 'boolean',
2174
+ commission: {
2175
+ type: 'number',
2176
+ },
2177
+ },
2178
+ };
2179
+ export const LocationResponseSchema = {
2180
+ type: 'object',
2181
+ properties: {
2182
+ id: {
2183
+ type: 'integer',
2184
+ format: 'int64',
2185
+ },
2186
+ names: {
2187
+ type: 'array',
2188
+ items: {
2189
+ $ref: '#/components/schemas/LangTextResponse',
2190
+ },
2111
2191
  },
2112
2192
  },
2113
- required: ['memberId', 'owner'],
2193
+ required: ['id', 'names'],
2114
2194
  };
2115
2195
  export const PropertyLinkSchema = {
2116
2196
  type: 'object',
@@ -2126,6 +2206,46 @@ export const PropertyLinkSchema = {
2126
2206
  title: {
2127
2207
  type: 'string',
2128
2208
  },
2209
+ type: {
2210
+ type: 'string',
2211
+ enum: [
2212
+ 'HOUSE',
2213
+ 'TOWN_HOUSE',
2214
+ 'COUNTRY_HOUSE',
2215
+ 'VILLA',
2216
+ 'COTTAGE',
2217
+ 'APARTMENT',
2218
+ 'DUPLEX',
2219
+ 'TRIPLEX',
2220
+ 'SEMI_BASEMENT',
2221
+ 'ATTIC',
2222
+ 'AGRICULTURAL_LAND',
2223
+ 'RESIDENTIAL_LAND',
2224
+ 'HOTEL_ROOM',
2225
+ 'MOTEL_ROOM',
2226
+ 'CO_LIVING_SPACE',
2227
+ 'OFFICE',
2228
+ 'COMMERCIAL_SPACE',
2229
+ 'CO_WORKING_SPACE',
2230
+ 'WAREHOUSE',
2231
+ 'GARAGE',
2232
+ ],
2233
+ },
2234
+ coverPhoto: {
2235
+ type: 'string',
2236
+ },
2237
+ location: {
2238
+ type: 'array',
2239
+ items: {
2240
+ $ref: '#/components/schemas/LocationResponse',
2241
+ },
2242
+ },
2243
+ listingDetails: {
2244
+ type: 'array',
2245
+ items: {
2246
+ $ref: '#/components/schemas/ListingDetails',
2247
+ },
2248
+ },
2129
2249
  },
2130
2250
  required: ['contactId', 'propertyId'],
2131
2251
  };
@@ -2177,9 +2297,8 @@ export const TaskDetailResponseSchema = {
2177
2297
  type: 'string',
2178
2298
  format: 'date',
2179
2299
  },
2180
- ownerId: {
2181
- type: 'string',
2182
- format: 'uuid',
2300
+ owner: {
2301
+ $ref: '#/components/schemas/AssignedToResponse',
2183
2302
  },
2184
2303
  outcome: {
2185
2304
  type: 'string',
@@ -2220,7 +2339,7 @@ export const TaskDetailResponseSchema = {
2220
2339
  participants: {
2221
2340
  type: 'array',
2222
2341
  items: {
2223
- $ref: '#/components/schemas/Participant',
2342
+ $ref: '#/components/schemas/AssignedToResponse',
2224
2343
  },
2225
2344
  },
2226
2345
  interests: {
@@ -2894,19 +3013,6 @@ export const DealTypePriceSchema = {
2894
3013
  },
2895
3014
  },
2896
3015
  };
2897
- export const LangTextResponseSchema = {
2898
- type: 'object',
2899
- properties: {
2900
- language: {
2901
- type: 'string',
2902
- enum: ['ka', 'en', 'ru'],
2903
- },
2904
- text: {
2905
- type: 'string',
2906
- },
2907
- },
2908
- required: ['language', 'text'],
2909
- };
2910
3016
  export const LocationCountSchema = {
2911
3017
  type: 'object',
2912
3018
  properties: {
@@ -2919,22 +3025,6 @@ export const LocationCountSchema = {
2919
3025
  },
2920
3026
  },
2921
3027
  };
2922
- export const LocationResponseSchema = {
2923
- type: 'object',
2924
- properties: {
2925
- id: {
2926
- type: 'integer',
2927
- format: 'int64',
2928
- },
2929
- names: {
2930
- type: 'array',
2931
- items: {
2932
- $ref: '#/components/schemas/LangTextResponse',
2933
- },
2934
- },
2935
- },
2936
- required: ['id', 'names'],
2937
- };
2938
3028
  export const SliceSchema = {
2939
3029
  type: 'object',
2940
3030
  properties: {
@@ -5082,28 +5172,6 @@ export const MeetingDetailViewSchema = {
5082
5172
  'type',
5083
5173
  ],
5084
5174
  };
5085
- export const AssignedToResponseSchema = {
5086
- type: 'object',
5087
- properties: {
5088
- memberId: {
5089
- type: 'string',
5090
- format: 'uuid',
5091
- },
5092
- firstName: {
5093
- type: 'string',
5094
- },
5095
- lastName: {
5096
- type: 'string',
5097
- },
5098
- photo: {
5099
- type: 'string',
5100
- },
5101
- email: {
5102
- type: 'string',
5103
- },
5104
- },
5105
- required: ['email', 'firstName', 'lastName', 'memberId'],
5106
- };
5107
5175
  export const ListingGridResponseSchema = {
5108
5176
  type: 'object',
5109
5177
  properties: {