@homespot-sdk/core 0.0.222 → 0.0.224
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/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +310 -52
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +353 -78
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +15 -4
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +69 -4
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +3 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +35 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +351 -38
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +1994 -1236
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +791 -391
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -220,6 +220,22 @@ export const BatchAssignRoleRequestSchema = {
|
|
|
220
220
|
},
|
|
221
221
|
required: ['memberIds', 'roleId'],
|
|
222
222
|
};
|
|
223
|
+
export const RescheduleRequestSchema = {
|
|
224
|
+
type: 'object',
|
|
225
|
+
properties: {
|
|
226
|
+
start: {
|
|
227
|
+
type: 'string',
|
|
228
|
+
format: 'date-time',
|
|
229
|
+
},
|
|
230
|
+
durationMinutes: {
|
|
231
|
+
type: 'integer',
|
|
232
|
+
format: 'int32',
|
|
233
|
+
maximum: 480,
|
|
234
|
+
minimum: 15,
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
required: ['start'],
|
|
238
|
+
};
|
|
223
239
|
export const RecordSourceRequestSchema = {
|
|
224
240
|
type: 'object',
|
|
225
241
|
properties: {
|
|
@@ -252,10 +268,10 @@ export const IntentRequestSchema = {
|
|
|
252
268
|
$ref: '#/components/schemas/ClientTypeEnum',
|
|
253
269
|
},
|
|
254
270
|
listingType: {
|
|
255
|
-
$ref: '#/components/schemas/
|
|
271
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
256
272
|
},
|
|
257
273
|
propertyType: {
|
|
258
|
-
$ref: '#/components/schemas/
|
|
274
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
259
275
|
},
|
|
260
276
|
price: {
|
|
261
277
|
$ref: '#/components/schemas/PriceRangeRequest',
|
|
@@ -356,7 +372,7 @@ export const AgreementRequestSchema = {
|
|
|
356
372
|
type: 'object',
|
|
357
373
|
properties: {
|
|
358
374
|
type: {
|
|
359
|
-
$ref: '#/components/schemas/
|
|
375
|
+
$ref: '#/components/schemas/SchemaEnum5',
|
|
360
376
|
},
|
|
361
377
|
expiresAt: {
|
|
362
378
|
type: 'string',
|
|
@@ -379,13 +395,13 @@ export const CaptureInterestRequestSchema = {
|
|
|
379
395
|
propertyTypes: {
|
|
380
396
|
type: 'array',
|
|
381
397
|
items: {
|
|
382
|
-
$ref: '#/components/schemas/
|
|
398
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
383
399
|
},
|
|
384
400
|
minItems: 1,
|
|
385
401
|
uniqueItems: true,
|
|
386
402
|
},
|
|
387
403
|
listingType: {
|
|
388
|
-
$ref: '#/components/schemas/
|
|
404
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
389
405
|
},
|
|
390
406
|
priceMin: {
|
|
391
407
|
type: 'number',
|
|
@@ -512,7 +528,7 @@ export const PhotoRequestSchema = {
|
|
|
512
528
|
minLength: 0,
|
|
513
529
|
},
|
|
514
530
|
type: {
|
|
515
|
-
$ref: '#/components/schemas/
|
|
531
|
+
$ref: '#/components/schemas/TypeEnum2',
|
|
516
532
|
},
|
|
517
533
|
width: {
|
|
518
534
|
type: 'integer',
|
|
@@ -634,6 +650,95 @@ export const RateRecommendationItemRequestSchema = {
|
|
|
634
650
|
},
|
|
635
651
|
required: ['decision'],
|
|
636
652
|
};
|
|
653
|
+
export const AttendeeRequestSchema = {
|
|
654
|
+
type: 'object',
|
|
655
|
+
properties: {
|
|
656
|
+
role: {
|
|
657
|
+
$ref: '#/components/schemas/RoleEnum',
|
|
658
|
+
},
|
|
659
|
+
memberId: {
|
|
660
|
+
type: 'string',
|
|
661
|
+
format: 'uuid',
|
|
662
|
+
},
|
|
663
|
+
clientId: {
|
|
664
|
+
type: 'integer',
|
|
665
|
+
format: 'int64',
|
|
666
|
+
},
|
|
667
|
+
email: {
|
|
668
|
+
type: 'string',
|
|
669
|
+
format: 'email',
|
|
670
|
+
},
|
|
671
|
+
name: {
|
|
672
|
+
type: 'string',
|
|
673
|
+
},
|
|
674
|
+
},
|
|
675
|
+
required: ['role'],
|
|
676
|
+
};
|
|
677
|
+
export const CreateMeetingRequestSchema = {
|
|
678
|
+
type: 'object',
|
|
679
|
+
properties: {
|
|
680
|
+
propertyId: {
|
|
681
|
+
type: 'integer',
|
|
682
|
+
format: 'int64',
|
|
683
|
+
},
|
|
684
|
+
attendees: {
|
|
685
|
+
type: 'array',
|
|
686
|
+
items: {
|
|
687
|
+
$ref: '#/components/schemas/AttendeeRequest',
|
|
688
|
+
},
|
|
689
|
+
maxItems: 10,
|
|
690
|
+
minItems: 0,
|
|
691
|
+
},
|
|
692
|
+
start: {
|
|
693
|
+
type: 'string',
|
|
694
|
+
format: 'date-time',
|
|
695
|
+
},
|
|
696
|
+
durationMinutes: {
|
|
697
|
+
type: 'integer',
|
|
698
|
+
format: 'int32',
|
|
699
|
+
maximum: 480,
|
|
700
|
+
minimum: 15,
|
|
701
|
+
},
|
|
702
|
+
title: {
|
|
703
|
+
type: 'string',
|
|
704
|
+
maxLength: 255,
|
|
705
|
+
minLength: 0,
|
|
706
|
+
},
|
|
707
|
+
description: {
|
|
708
|
+
type: 'string',
|
|
709
|
+
maxLength: 1000,
|
|
710
|
+
minLength: 0,
|
|
711
|
+
},
|
|
712
|
+
location: {
|
|
713
|
+
type: 'string',
|
|
714
|
+
maxLength: 500,
|
|
715
|
+
minLength: 0,
|
|
716
|
+
},
|
|
717
|
+
inviteStrategy: {
|
|
718
|
+
$ref: '#/components/schemas/InviteStrategyEnum',
|
|
719
|
+
},
|
|
720
|
+
setReminders: {
|
|
721
|
+
type: 'boolean',
|
|
722
|
+
},
|
|
723
|
+
},
|
|
724
|
+
required: ['attendees', 'inviteStrategy', 'start', 'title'],
|
|
725
|
+
};
|
|
726
|
+
export const MeetingResponseSchema = {
|
|
727
|
+
type: 'object',
|
|
728
|
+
properties: {
|
|
729
|
+
meetingId: {
|
|
730
|
+
type: 'string',
|
|
731
|
+
format: 'uuid',
|
|
732
|
+
},
|
|
733
|
+
googleEventId: {
|
|
734
|
+
type: 'string',
|
|
735
|
+
},
|
|
736
|
+
calendarLink: {
|
|
737
|
+
type: 'string',
|
|
738
|
+
},
|
|
739
|
+
},
|
|
740
|
+
required: ['meetingId'],
|
|
741
|
+
};
|
|
637
742
|
export const LeadIdSchema = {
|
|
638
743
|
type: 'object',
|
|
639
744
|
properties: {
|
|
@@ -823,7 +928,7 @@ export const ImportedPropertyDraftSchema = {
|
|
|
823
928
|
$ref: '#/components/schemas/ContactSummary',
|
|
824
929
|
},
|
|
825
930
|
listingType: {
|
|
826
|
-
$ref: '#/components/schemas/
|
|
931
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
827
932
|
},
|
|
828
933
|
askingPrice: {
|
|
829
934
|
type: 'number',
|
|
@@ -896,7 +1001,7 @@ export const PropertyCreationRequestSchema = {
|
|
|
896
1001
|
format: 'int64',
|
|
897
1002
|
},
|
|
898
1003
|
propertyType: {
|
|
899
|
-
$ref: '#/components/schemas/
|
|
1004
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
900
1005
|
},
|
|
901
1006
|
address: {
|
|
902
1007
|
$ref: '#/components/schemas/AddressRef',
|
|
@@ -1003,7 +1108,7 @@ export const ExternalListingPublishRequestSchema = {
|
|
|
1003
1108
|
type: 'object',
|
|
1004
1109
|
properties: {
|
|
1005
1110
|
platform: {
|
|
1006
|
-
$ref: '#/components/schemas/
|
|
1111
|
+
$ref: '#/components/schemas/SchemaEnum8',
|
|
1007
1112
|
},
|
|
1008
1113
|
listingId: {
|
|
1009
1114
|
type: 'integer',
|
|
@@ -1016,14 +1121,14 @@ export const ExternalListingBoostRequestSchema = {
|
|
|
1016
1121
|
type: 'object',
|
|
1017
1122
|
properties: {
|
|
1018
1123
|
platform: {
|
|
1019
|
-
$ref: '#/components/schemas/
|
|
1124
|
+
$ref: '#/components/schemas/SchemaEnum8',
|
|
1020
1125
|
},
|
|
1021
1126
|
listingId: {
|
|
1022
1127
|
type: 'integer',
|
|
1023
1128
|
format: 'int64',
|
|
1024
1129
|
},
|
|
1025
1130
|
tier: {
|
|
1026
|
-
$ref: '#/components/schemas/
|
|
1131
|
+
$ref: '#/components/schemas/SchemaEnum9',
|
|
1027
1132
|
},
|
|
1028
1133
|
numberOfDays: {
|
|
1029
1134
|
type: 'integer',
|
|
@@ -1196,6 +1301,12 @@ export const RoleResponseSchema = {
|
|
|
1196
1301
|
name: {
|
|
1197
1302
|
type: 'string',
|
|
1198
1303
|
},
|
|
1304
|
+
isSystem: {
|
|
1305
|
+
type: 'boolean',
|
|
1306
|
+
},
|
|
1307
|
+
isOwner: {
|
|
1308
|
+
type: 'boolean',
|
|
1309
|
+
},
|
|
1199
1310
|
description: {
|
|
1200
1311
|
type: 'string',
|
|
1201
1312
|
},
|
|
@@ -1317,7 +1428,7 @@ export const RecommendationsCardViewSchema = {
|
|
|
1317
1428
|
format: 'uuid',
|
|
1318
1429
|
},
|
|
1319
1430
|
listingType: {
|
|
1320
|
-
$ref: '#/components/schemas/
|
|
1431
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
1321
1432
|
},
|
|
1322
1433
|
price: {
|
|
1323
1434
|
type: 'number',
|
|
@@ -1331,7 +1442,7 @@ export const RecommendationsCardViewSchema = {
|
|
|
1331
1442
|
format: 'uuid',
|
|
1332
1443
|
},
|
|
1333
1444
|
type: {
|
|
1334
|
-
$ref: '#/components/schemas/
|
|
1445
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
1335
1446
|
},
|
|
1336
1447
|
coverPhoto: {
|
|
1337
1448
|
type: 'string',
|
|
@@ -1730,6 +1841,137 @@ export const MemberViewResponseSchema = {
|
|
|
1730
1841
|
'userId',
|
|
1731
1842
|
],
|
|
1732
1843
|
};
|
|
1844
|
+
export const ClientIdSchema = {
|
|
1845
|
+
type: 'object',
|
|
1846
|
+
properties: {
|
|
1847
|
+
value: {
|
|
1848
|
+
type: 'integer',
|
|
1849
|
+
format: 'int64',
|
|
1850
|
+
},
|
|
1851
|
+
},
|
|
1852
|
+
};
|
|
1853
|
+
export const ListingGridViewSchema = {
|
|
1854
|
+
type: 'object',
|
|
1855
|
+
properties: {
|
|
1856
|
+
id: {
|
|
1857
|
+
$ref: '#/components/schemas/PropertyId',
|
|
1858
|
+
},
|
|
1859
|
+
clientId: {
|
|
1860
|
+
$ref: '#/components/schemas/ClientId',
|
|
1861
|
+
},
|
|
1862
|
+
propertyType: {
|
|
1863
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
1864
|
+
},
|
|
1865
|
+
regionId: {
|
|
1866
|
+
type: 'integer',
|
|
1867
|
+
format: 'int64',
|
|
1868
|
+
},
|
|
1869
|
+
districtId: {
|
|
1870
|
+
type: 'integer',
|
|
1871
|
+
format: 'int64',
|
|
1872
|
+
},
|
|
1873
|
+
subdistrictId: {
|
|
1874
|
+
type: 'integer',
|
|
1875
|
+
format: 'int64',
|
|
1876
|
+
},
|
|
1877
|
+
streetId: {
|
|
1878
|
+
type: 'integer',
|
|
1879
|
+
format: 'int64',
|
|
1880
|
+
},
|
|
1881
|
+
cover: {
|
|
1882
|
+
type: 'string',
|
|
1883
|
+
},
|
|
1884
|
+
agreementType: {
|
|
1885
|
+
$ref: '#/components/schemas/SchemaEnum5',
|
|
1886
|
+
},
|
|
1887
|
+
agreementExpiresAt: {
|
|
1888
|
+
type: 'string',
|
|
1889
|
+
format: 'date',
|
|
1890
|
+
},
|
|
1891
|
+
propertyState: {
|
|
1892
|
+
$ref: '#/components/schemas/SchemaEnum4',
|
|
1893
|
+
},
|
|
1894
|
+
createdAt: {
|
|
1895
|
+
type: 'string',
|
|
1896
|
+
format: 'date-time',
|
|
1897
|
+
},
|
|
1898
|
+
listingType: {
|
|
1899
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
1900
|
+
},
|
|
1901
|
+
price: {
|
|
1902
|
+
type: 'number',
|
|
1903
|
+
},
|
|
1904
|
+
commissionType: {
|
|
1905
|
+
$ref: '#/components/schemas/CommissionTypeEnum',
|
|
1906
|
+
},
|
|
1907
|
+
commission: {
|
|
1908
|
+
type: 'number',
|
|
1909
|
+
},
|
|
1910
|
+
platforms: {
|
|
1911
|
+
type: 'array',
|
|
1912
|
+
items: {
|
|
1913
|
+
$ref: '#/components/schemas/PlatformView',
|
|
1914
|
+
},
|
|
1915
|
+
},
|
|
1916
|
+
},
|
|
1917
|
+
};
|
|
1918
|
+
export const PagedModelListingGridViewSchema = {
|
|
1919
|
+
type: 'object',
|
|
1920
|
+
properties: {
|
|
1921
|
+
content: {
|
|
1922
|
+
type: 'array',
|
|
1923
|
+
items: {
|
|
1924
|
+
$ref: '#/components/schemas/ListingGridView',
|
|
1925
|
+
},
|
|
1926
|
+
},
|
|
1927
|
+
page: {
|
|
1928
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
1929
|
+
},
|
|
1930
|
+
},
|
|
1931
|
+
};
|
|
1932
|
+
export const PlatformViewSchema = {
|
|
1933
|
+
type: 'object',
|
|
1934
|
+
properties: {
|
|
1935
|
+
platform: {
|
|
1936
|
+
$ref: '#/components/schemas/SchemaEnum8',
|
|
1937
|
+
},
|
|
1938
|
+
expiresAt: {
|
|
1939
|
+
type: 'string',
|
|
1940
|
+
format: 'date',
|
|
1941
|
+
},
|
|
1942
|
+
tier: {
|
|
1943
|
+
$ref: '#/components/schemas/SchemaEnum9',
|
|
1944
|
+
},
|
|
1945
|
+
boostExpiresAt: {
|
|
1946
|
+
type: 'string',
|
|
1947
|
+
format: 'date',
|
|
1948
|
+
},
|
|
1949
|
+
},
|
|
1950
|
+
};
|
|
1951
|
+
export const PropertyIdSchema = {
|
|
1952
|
+
type: 'object',
|
|
1953
|
+
properties: {
|
|
1954
|
+
value: {
|
|
1955
|
+
type: 'integer',
|
|
1956
|
+
format: 'int64',
|
|
1957
|
+
},
|
|
1958
|
+
},
|
|
1959
|
+
};
|
|
1960
|
+
export const GroupCountSchema = {
|
|
1961
|
+
type: 'object',
|
|
1962
|
+
properties: {
|
|
1963
|
+
groupKey: {
|
|
1964
|
+
type: 'string',
|
|
1965
|
+
},
|
|
1966
|
+
label: {
|
|
1967
|
+
type: 'string',
|
|
1968
|
+
},
|
|
1969
|
+
count: {
|
|
1970
|
+
type: 'integer',
|
|
1971
|
+
format: 'int64',
|
|
1972
|
+
},
|
|
1973
|
+
},
|
|
1974
|
+
};
|
|
1733
1975
|
export const IntentResponseSchema = {
|
|
1734
1976
|
type: 'object',
|
|
1735
1977
|
properties: {
|
|
@@ -1741,10 +1983,10 @@ export const IntentResponseSchema = {
|
|
|
1741
1983
|
$ref: '#/components/schemas/ClientTypeEnum',
|
|
1742
1984
|
},
|
|
1743
1985
|
listingType: {
|
|
1744
|
-
$ref: '#/components/schemas/
|
|
1986
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
1745
1987
|
},
|
|
1746
1988
|
propertyType: {
|
|
1747
|
-
$ref: '#/components/schemas/
|
|
1989
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
1748
1990
|
},
|
|
1749
1991
|
priceMin: {
|
|
1750
1992
|
type: 'number',
|
|
@@ -1801,7 +2043,7 @@ export const LeadGridResponseSchema = {
|
|
|
1801
2043
|
type: 'string',
|
|
1802
2044
|
},
|
|
1803
2045
|
status: {
|
|
1804
|
-
$ref: '#/components/schemas/
|
|
2046
|
+
$ref: '#/components/schemas/SchemaEnum11',
|
|
1805
2047
|
},
|
|
1806
2048
|
contactFullName: {
|
|
1807
2049
|
type: 'string',
|
|
@@ -1819,7 +2061,7 @@ export const LeadGridResponseSchema = {
|
|
|
1819
2061
|
type: 'string',
|
|
1820
2062
|
},
|
|
1821
2063
|
sourceType: {
|
|
1822
|
-
$ref: '#/components/schemas/
|
|
2064
|
+
$ref: '#/components/schemas/SchemaEnum12',
|
|
1823
2065
|
},
|
|
1824
2066
|
sourceLink: {
|
|
1825
2067
|
type: 'string',
|
|
@@ -1942,7 +2184,7 @@ export const ClientGridResponseSchema = {
|
|
|
1942
2184
|
type: 'string',
|
|
1943
2185
|
},
|
|
1944
2186
|
sourceType: {
|
|
1945
|
-
$ref: '#/components/schemas/
|
|
2187
|
+
$ref: '#/components/schemas/SchemaEnum12',
|
|
1946
2188
|
},
|
|
1947
2189
|
sourceLink: {
|
|
1948
2190
|
type: 'string',
|
|
@@ -1994,7 +2236,7 @@ export const ActiveBoostResponseSchema = {
|
|
|
1994
2236
|
type: 'object',
|
|
1995
2237
|
properties: {
|
|
1996
2238
|
tier: {
|
|
1997
|
-
$ref: '#/components/schemas/
|
|
2239
|
+
$ref: '#/components/schemas/SchemaEnum9',
|
|
1998
2240
|
},
|
|
1999
2241
|
activatedAt: {
|
|
2000
2242
|
type: 'string',
|
|
@@ -2011,7 +2253,7 @@ export const AgreementResponseSchema = {
|
|
|
2011
2253
|
type: 'object',
|
|
2012
2254
|
properties: {
|
|
2013
2255
|
agreement: {
|
|
2014
|
-
$ref: '#/components/schemas/
|
|
2256
|
+
$ref: '#/components/schemas/SchemaEnum5',
|
|
2015
2257
|
},
|
|
2016
2258
|
expiryDate: {
|
|
2017
2259
|
type: 'string',
|
|
@@ -2123,12 +2365,12 @@ export const ClientInterestResponseSchema = {
|
|
|
2123
2365
|
propertyTypes: {
|
|
2124
2366
|
type: 'array',
|
|
2125
2367
|
items: {
|
|
2126
|
-
$ref: '#/components/schemas/
|
|
2368
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
2127
2369
|
},
|
|
2128
2370
|
uniqueItems: true,
|
|
2129
2371
|
},
|
|
2130
2372
|
listingType: {
|
|
2131
|
-
$ref: '#/components/schemas/
|
|
2373
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
2132
2374
|
},
|
|
2133
2375
|
priceMin: {
|
|
2134
2376
|
type: 'number',
|
|
@@ -2189,7 +2431,7 @@ export const ClientListingsResponseSchema = {
|
|
|
2189
2431
|
format: 'uuid',
|
|
2190
2432
|
},
|
|
2191
2433
|
listingType: {
|
|
2192
|
-
$ref: '#/components/schemas/
|
|
2434
|
+
$ref: '#/components/schemas/SchemaEnum7',
|
|
2193
2435
|
},
|
|
2194
2436
|
price: {
|
|
2195
2437
|
type: 'number',
|
|
@@ -2224,10 +2466,10 @@ export const ClientPropertyResponseSchema = {
|
|
|
2224
2466
|
format: 'uuid',
|
|
2225
2467
|
},
|
|
2226
2468
|
type: {
|
|
2227
|
-
$ref: '#/components/schemas/
|
|
2469
|
+
$ref: '#/components/schemas/SchemaEnum6',
|
|
2228
2470
|
},
|
|
2229
2471
|
state: {
|
|
2230
|
-
$ref: '#/components/schemas/
|
|
2472
|
+
$ref: '#/components/schemas/SchemaEnum4',
|
|
2231
2473
|
},
|
|
2232
2474
|
details: {
|
|
2233
2475
|
$ref: '#/components/schemas/PropertyDetailsResponse',
|
|
@@ -2330,7 +2572,7 @@ export const PlatformListingResponseSchema = {
|
|
|
2330
2572
|
format: 'int64',
|
|
2331
2573
|
},
|
|
2332
2574
|
platformType: {
|
|
2333
|
-
$ref: '#/components/schemas/
|
|
2575
|
+
$ref: '#/components/schemas/SchemaEnum8',
|
|
2334
2576
|
},
|
|
2335
2577
|
uploadDate: {
|
|
2336
2578
|
type: 'string',
|
|
@@ -2388,7 +2630,7 @@ export const SourceResponseSchema = {
|
|
|
2388
2630
|
type: 'object',
|
|
2389
2631
|
properties: {
|
|
2390
2632
|
sourceType: {
|
|
2391
|
-
$ref: '#/components/schemas/
|
|
2633
|
+
$ref: '#/components/schemas/SchemaEnum12',
|
|
2392
2634
|
},
|
|
2393
2635
|
sourceLink: {
|
|
2394
2636
|
type: 'string',
|
|
@@ -2480,40 +2722,20 @@ export const SchemaEnum3Schema = {
|
|
|
2480
2722
|
],
|
|
2481
2723
|
};
|
|
2482
2724
|
export const SchemaEnum4Schema = {
|
|
2483
|
-
type: 'string',
|
|
2484
|
-
enum: ['NEW', 'ON_HOLD', 'LOST', 'CONVERTED'],
|
|
2485
|
-
};
|
|
2486
|
-
export const TypeEnumSchema = {
|
|
2487
|
-
type: 'string',
|
|
2488
|
-
enum: ['FACEBOOK', 'YOUTUBE', 'INSTAGRAM', 'TIKTOK', 'LINKEDIN'],
|
|
2489
|
-
};
|
|
2490
|
-
export const LanguageEnumSchema = {
|
|
2491
|
-
type: 'string',
|
|
2492
|
-
enum: ['ka', 'en', 'ru'],
|
|
2493
|
-
};
|
|
2494
|
-
export const ReasonEnumSchema = {
|
|
2495
2725
|
type: 'string',
|
|
2496
2726
|
enum: [
|
|
2497
|
-
'
|
|
2498
|
-
'
|
|
2499
|
-
'
|
|
2500
|
-
'
|
|
2501
|
-
'
|
|
2502
|
-
'CHANGED_PLANS',
|
|
2503
|
-
'OUT_OF_BUDGET',
|
|
2504
|
-
'SPAM',
|
|
2505
|
-
'OTHER',
|
|
2727
|
+
'IN_REGISTRATION',
|
|
2728
|
+
'UNLISTED',
|
|
2729
|
+
'LISTED_INTERNALLY',
|
|
2730
|
+
'LISTED',
|
|
2731
|
+
'CLOSED',
|
|
2506
2732
|
],
|
|
2507
2733
|
};
|
|
2508
|
-
export const
|
|
2509
|
-
type: 'string',
|
|
2510
|
-
enum: ['LISTING', 'SEEKING'],
|
|
2511
|
-
};
|
|
2512
|
-
export const ListingTypeEnumSchema = {
|
|
2734
|
+
export const SchemaEnum5Schema = {
|
|
2513
2735
|
type: 'string',
|
|
2514
|
-
enum: ['
|
|
2736
|
+
enum: ['EXCLUSIVE', 'NON_EXCLUSIVE'],
|
|
2515
2737
|
};
|
|
2516
|
-
export const
|
|
2738
|
+
export const SchemaEnum6Schema = {
|
|
2517
2739
|
type: 'string',
|
|
2518
2740
|
enum: [
|
|
2519
2741
|
'HOUSE',
|
|
@@ -2538,13 +2760,80 @@ export const PropertyTypeEnumSchema = {
|
|
|
2538
2760
|
'GARAGE',
|
|
2539
2761
|
],
|
|
2540
2762
|
};
|
|
2541
|
-
export const
|
|
2763
|
+
export const SchemaEnum7Schema = {
|
|
2542
2764
|
type: 'string',
|
|
2543
|
-
enum: ['
|
|
2765
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
2544
2766
|
};
|
|
2545
|
-
export const
|
|
2767
|
+
export const SchemaEnum8Schema = {
|
|
2546
2768
|
type: 'string',
|
|
2547
|
-
enum: ['
|
|
2769
|
+
enum: ['SS', 'MY_HOME'],
|
|
2770
|
+
};
|
|
2771
|
+
export const SchemaEnum9Schema = {
|
|
2772
|
+
type: 'string',
|
|
2773
|
+
enum: ['VIP', 'VIP_PLUS', 'SUPER_VIP'],
|
|
2774
|
+
};
|
|
2775
|
+
export const SchemaEnum10Schema = {
|
|
2776
|
+
type: 'string',
|
|
2777
|
+
enum: [
|
|
2778
|
+
'STATE',
|
|
2779
|
+
'PROPERTY_TYPE',
|
|
2780
|
+
'LISTING_TYPE',
|
|
2781
|
+
'REGION',
|
|
2782
|
+
'PLATFORM',
|
|
2783
|
+
'BOOST_TIER',
|
|
2784
|
+
'CREATED_AT_DAY',
|
|
2785
|
+
'CREATED_AT_WEEK',
|
|
2786
|
+
'CREATED_AT_MONTH',
|
|
2787
|
+
],
|
|
2788
|
+
};
|
|
2789
|
+
export const SchemaEnum11Schema = {
|
|
2790
|
+
type: 'string',
|
|
2791
|
+
enum: ['NEW', 'ON_HOLD', 'LOST', 'CONVERTED'],
|
|
2792
|
+
};
|
|
2793
|
+
export const SchemaEnum12Schema = {
|
|
2794
|
+
type: 'string',
|
|
2795
|
+
enum: ['MY_HOME', 'SS', 'HOME_SPOT', 'UNKNOWN'],
|
|
2796
|
+
};
|
|
2797
|
+
export const SchemaEnum13Schema = {
|
|
2798
|
+
type: 'string',
|
|
2799
|
+
enum: [
|
|
2800
|
+
'ASSIGNED_TO',
|
|
2801
|
+
'STATUS',
|
|
2802
|
+
'SOURCE_TYPE',
|
|
2803
|
+
'CREATED_AT_DAY',
|
|
2804
|
+
'CREATED_AT_WEEK',
|
|
2805
|
+
'CREATED_AT_MONTH',
|
|
2806
|
+
],
|
|
2807
|
+
};
|
|
2808
|
+
export const TypeEnumSchema = {
|
|
2809
|
+
type: 'string',
|
|
2810
|
+
enum: ['FACEBOOK', 'YOUTUBE', 'INSTAGRAM', 'TIKTOK', 'LINKEDIN'],
|
|
2811
|
+
};
|
|
2812
|
+
export const LanguageEnumSchema = {
|
|
2813
|
+
type: 'string',
|
|
2814
|
+
enum: ['ka', 'en', 'ru'],
|
|
2815
|
+
};
|
|
2816
|
+
export const ReasonEnumSchema = {
|
|
2817
|
+
type: 'string',
|
|
2818
|
+
enum: [
|
|
2819
|
+
'NOT_WORKING_WITH_AGENTS',
|
|
2820
|
+
'NOT_RESPONDING',
|
|
2821
|
+
'ALREADY_SOLD',
|
|
2822
|
+
'COULD_NOT_NEGOTIATE_PRICE',
|
|
2823
|
+
'CHOSE_ANOTHER_AGENCY',
|
|
2824
|
+
'CHANGED_PLANS',
|
|
2825
|
+
'OUT_OF_BUDGET',
|
|
2826
|
+
'SPAM',
|
|
2827
|
+
'OTHER',
|
|
2828
|
+
],
|
|
2829
|
+
};
|
|
2830
|
+
export const ClientTypeEnumSchema = {
|
|
2831
|
+
type: 'string',
|
|
2832
|
+
enum: ['LISTING', 'SEEKING'],
|
|
2833
|
+
};
|
|
2834
|
+
export const GenderEnumSchema = {
|
|
2835
|
+
type: 'string',
|
|
2836
|
+
enum: ['MALE', 'FEMALE', 'UNKNOWN'],
|
|
2548
2837
|
};
|
|
2549
2838
|
export const PriorityEnumSchema = {
|
|
2550
2839
|
type: 'string',
|
|
@@ -2554,17 +2843,17 @@ export const ItemsEnumSchema = {
|
|
|
2554
2843
|
type: 'string',
|
|
2555
2844
|
enum: ['WHATSAPP', 'VIBER', 'PHONE_CALL'],
|
|
2556
2845
|
};
|
|
2557
|
-
export const
|
|
2846
|
+
export const TypeEnum2Schema = {
|
|
2558
2847
|
type: 'string',
|
|
2559
2848
|
enum: ['JPEG', 'JPG', 'PNG', 'WEBP'],
|
|
2560
2849
|
};
|
|
2561
|
-
export const
|
|
2850
|
+
export const RoleEnumSchema = {
|
|
2562
2851
|
type: 'string',
|
|
2563
|
-
enum: ['
|
|
2852
|
+
enum: ['ORGANIZER', 'AGENT', 'OWNER', 'CLIENT'],
|
|
2564
2853
|
};
|
|
2565
|
-
export const
|
|
2854
|
+
export const InviteStrategyEnumSchema = {
|
|
2566
2855
|
type: 'string',
|
|
2567
|
-
enum: ['
|
|
2856
|
+
enum: ['NONE', 'AGENT_ONLY', 'ALL_PARTICIPANTS'],
|
|
2568
2857
|
};
|
|
2569
2858
|
export const CommissionTypeEnumSchema = {
|
|
2570
2859
|
type: 'string',
|
|
@@ -2590,20 +2879,6 @@ export const StatusEnum2Schema = {
|
|
|
2590
2879
|
type: 'string',
|
|
2591
2880
|
enum: ['PENDING', 'ACCEPTED', 'CANCELLED', 'EXPIRED'],
|
|
2592
2881
|
};
|
|
2593
|
-
export const SourceTypeEnumSchema = {
|
|
2594
|
-
type: 'string',
|
|
2595
|
-
enum: ['MY_HOME', 'SS', 'HOME_SPOT', 'UNKNOWN'],
|
|
2596
|
-
};
|
|
2597
|
-
export const StateEnumSchema = {
|
|
2598
|
-
type: 'string',
|
|
2599
|
-
enum: [
|
|
2600
|
-
'IN_REGISTRATION',
|
|
2601
|
-
'UNLISTED',
|
|
2602
|
-
'LISTED_INTERNALLY',
|
|
2603
|
-
'LISTED',
|
|
2604
|
-
'CLOSED',
|
|
2605
|
-
],
|
|
2606
|
-
};
|
|
2607
2882
|
export const StatusEnum3Schema = {
|
|
2608
2883
|
type: 'string',
|
|
2609
2884
|
enum: ['ACTIVE', 'INACTIVE', 'NOT_FOUND'],
|