@homespot-sdk/core 0.0.211 → 0.0.213
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/property/index.d.ts +2 -2
- package/dist/property/index.d.ts.map +1 -1
- package/dist/property/index.js +1 -1
- package/dist/property/index.js.map +1 -1
- package/dist/property/schemas.gen.d.ts +233 -233
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +280 -280
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/sdk.gen.d.ts +3 -2
- package/dist/property/sdk.gen.d.ts.map +1 -1
- package/dist/property/sdk.gen.js +16 -7
- package/dist/property/sdk.gen.js.map +1 -1
- package/dist/property/transformers.gen.d.ts +2 -2
- package/dist/property/transformers.gen.d.ts.map +1 -1
- package/dist/property/transformers.gen.js +9 -9
- package/dist/property/transformers.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +103 -91
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +604 -551
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +128 -123
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +151 -162
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +151 -172
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +4 -3
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +11 -6
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +93 -81
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +449 -229
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +89 -81
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
|
@@ -283,32 +283,6 @@ export declare const UploadAcknowledgmentResponseSchema: {
|
|
|
283
283
|
};
|
|
284
284
|
readonly required: readonly ["fail", "success"];
|
|
285
285
|
};
|
|
286
|
-
export declare const CreateListingRequestSchema: {
|
|
287
|
-
readonly type: "object";
|
|
288
|
-
readonly properties: {
|
|
289
|
-
readonly propertyId: {
|
|
290
|
-
readonly type: "string";
|
|
291
|
-
readonly format: "uuid";
|
|
292
|
-
};
|
|
293
|
-
readonly listingType: {
|
|
294
|
-
readonly $ref: "#/components/schemas/SchemaEnum3";
|
|
295
|
-
};
|
|
296
|
-
readonly price: {
|
|
297
|
-
readonly type: "number";
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
readonly required: readonly ["listingType", "price", "propertyId"];
|
|
301
|
-
};
|
|
302
|
-
export declare const IdResponseUUIDSchema: {
|
|
303
|
-
readonly type: "object";
|
|
304
|
-
readonly properties: {
|
|
305
|
-
readonly id: {
|
|
306
|
-
readonly type: "string";
|
|
307
|
-
readonly format: "uuid";
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
readonly required: readonly ["id"];
|
|
311
|
-
};
|
|
312
286
|
export declare const AddressRefSchema: {
|
|
313
287
|
readonly type: "object";
|
|
314
288
|
readonly properties: {
|
|
@@ -440,6 +414,32 @@ export declare const PropertyCreationRequestSchema: {
|
|
|
440
414
|
};
|
|
441
415
|
readonly required: readonly ["address", "amenities", "description", "draftId", "photoUrls", "propertyType", "spaces", "title", "totalArea"];
|
|
442
416
|
};
|
|
417
|
+
export declare const CreateListingRequestSchema: {
|
|
418
|
+
readonly type: "object";
|
|
419
|
+
readonly properties: {
|
|
420
|
+
readonly propertyId: {
|
|
421
|
+
readonly type: "string";
|
|
422
|
+
readonly format: "uuid";
|
|
423
|
+
};
|
|
424
|
+
readonly listingType: {
|
|
425
|
+
readonly $ref: "#/components/schemas/SchemaEnum3";
|
|
426
|
+
};
|
|
427
|
+
readonly price: {
|
|
428
|
+
readonly type: "number";
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
readonly required: readonly ["listingType", "price", "propertyId"];
|
|
432
|
+
};
|
|
433
|
+
export declare const IdResponseUUIDSchema: {
|
|
434
|
+
readonly type: "object";
|
|
435
|
+
readonly properties: {
|
|
436
|
+
readonly id: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
readonly format: "uuid";
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
readonly required: readonly ["id"];
|
|
442
|
+
};
|
|
443
443
|
export declare const UserPropertyQuotaResponseSchema: {
|
|
444
444
|
readonly type: "object";
|
|
445
445
|
readonly properties: {
|
|
@@ -454,7 +454,40 @@ export declare const UserPropertyQuotaResponseSchema: {
|
|
|
454
454
|
};
|
|
455
455
|
readonly required: readonly ["limit", "used"];
|
|
456
456
|
};
|
|
457
|
-
export declare const
|
|
457
|
+
export declare const AddressResponseSchema: {
|
|
458
|
+
readonly type: "object";
|
|
459
|
+
readonly properties: {
|
|
460
|
+
readonly regionId: {
|
|
461
|
+
readonly type: "integer";
|
|
462
|
+
readonly format: "int64";
|
|
463
|
+
};
|
|
464
|
+
readonly districtId: {
|
|
465
|
+
readonly type: "integer";
|
|
466
|
+
readonly format: "int64";
|
|
467
|
+
};
|
|
468
|
+
readonly subdistrictId: {
|
|
469
|
+
readonly type: "integer";
|
|
470
|
+
readonly format: "int64";
|
|
471
|
+
};
|
|
472
|
+
readonly streetId: {
|
|
473
|
+
readonly type: "integer";
|
|
474
|
+
readonly format: "int64";
|
|
475
|
+
};
|
|
476
|
+
readonly cadastreCode: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
};
|
|
479
|
+
readonly lat: {
|
|
480
|
+
readonly type: "number";
|
|
481
|
+
readonly format: "double";
|
|
482
|
+
};
|
|
483
|
+
readonly lng: {
|
|
484
|
+
readonly type: "number";
|
|
485
|
+
readonly format: "double";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
readonly required: readonly ["districtId", "lat", "lng", "regionId", "streetId", "subdistrictId"];
|
|
489
|
+
};
|
|
490
|
+
export declare const AmenityViewResponseSchema: {
|
|
458
491
|
readonly type: "object";
|
|
459
492
|
readonly properties: {
|
|
460
493
|
readonly id: {
|
|
@@ -473,35 +506,28 @@ export declare const AmenityCatalogDtoSchema: {
|
|
|
473
506
|
};
|
|
474
507
|
readonly required: readonly ["category", "id", "name"];
|
|
475
508
|
};
|
|
476
|
-
export declare const
|
|
509
|
+
export declare const ByAgencyResponseSchema: {
|
|
477
510
|
readonly type: "object";
|
|
478
511
|
readonly properties: {
|
|
479
|
-
readonly
|
|
480
|
-
readonly
|
|
481
|
-
|
|
482
|
-
readonly spaceType: {
|
|
483
|
-
readonly $ref: "#/components/schemas/SchemaEnum2";
|
|
512
|
+
readonly agencyId: {
|
|
513
|
+
readonly type: "string";
|
|
514
|
+
readonly format: "uuid";
|
|
484
515
|
};
|
|
485
|
-
readonly
|
|
486
|
-
readonly type: "
|
|
487
|
-
readonly
|
|
488
|
-
readonly $ref: "#/components/schemas/AmenityCatalogDto";
|
|
489
|
-
};
|
|
516
|
+
readonly agentId: {
|
|
517
|
+
readonly type: "string";
|
|
518
|
+
readonly format: "uuid";
|
|
490
519
|
};
|
|
491
520
|
};
|
|
492
|
-
readonly required: readonly ["
|
|
521
|
+
readonly required: readonly ["agencyId", "agentId"];
|
|
493
522
|
};
|
|
494
|
-
export declare const
|
|
523
|
+
export declare const ByOwnerResponseSchema: {
|
|
495
524
|
readonly type: "object";
|
|
496
525
|
readonly properties: {
|
|
497
|
-
readonly
|
|
498
|
-
readonly type: "
|
|
499
|
-
readonly items: {
|
|
500
|
-
readonly $ref: "#/components/schemas/GroupedAmenity";
|
|
501
|
-
};
|
|
526
|
+
readonly ownerId: {
|
|
527
|
+
readonly type: "string";
|
|
502
528
|
};
|
|
503
529
|
};
|
|
504
|
-
readonly required: readonly ["
|
|
530
|
+
readonly required: readonly ["ownerId"];
|
|
505
531
|
};
|
|
506
532
|
export declare const LangTextResponseSchema: {
|
|
507
533
|
readonly type: "object";
|
|
@@ -515,55 +541,71 @@ export declare const LangTextResponseSchema: {
|
|
|
515
541
|
};
|
|
516
542
|
readonly required: readonly ["language", "text"];
|
|
517
543
|
};
|
|
518
|
-
export declare const
|
|
544
|
+
export declare const ListedByResponseSchema: {
|
|
545
|
+
readonly oneOf: readonly [{
|
|
546
|
+
readonly $ref: "#/components/schemas/ByOwnerResponse";
|
|
547
|
+
}, {
|
|
548
|
+
readonly $ref: "#/components/schemas/ByAgencyResponse";
|
|
549
|
+
}];
|
|
550
|
+
};
|
|
551
|
+
export declare const ListingDetailResponseSchema: {
|
|
519
552
|
readonly type: "object";
|
|
520
553
|
readonly properties: {
|
|
521
|
-
readonly
|
|
554
|
+
readonly listingId: {
|
|
522
555
|
readonly type: "string";
|
|
523
556
|
readonly format: "uuid";
|
|
524
557
|
};
|
|
525
|
-
readonly
|
|
526
|
-
readonly $ref: "#/components/schemas/ItemsEnum";
|
|
527
|
-
};
|
|
528
|
-
readonly title: {
|
|
558
|
+
readonly propertyId: {
|
|
529
559
|
readonly type: "string";
|
|
560
|
+
readonly format: "uuid";
|
|
530
561
|
};
|
|
531
|
-
readonly
|
|
532
|
-
readonly
|
|
533
|
-
readonly format: "int64";
|
|
562
|
+
readonly listingType: {
|
|
563
|
+
readonly $ref: "#/components/schemas/SchemaEnum3";
|
|
534
564
|
};
|
|
535
|
-
readonly
|
|
536
|
-
readonly
|
|
537
|
-
readonly format: "int64";
|
|
565
|
+
readonly status: {
|
|
566
|
+
readonly $ref: "#/components/schemas/StatusEnum";
|
|
538
567
|
};
|
|
539
|
-
readonly
|
|
568
|
+
readonly price: {
|
|
569
|
+
readonly type: "number";
|
|
570
|
+
};
|
|
571
|
+
readonly property: {
|
|
572
|
+
readonly $ref: "#/components/schemas/PropertyDetailsResponse";
|
|
573
|
+
};
|
|
574
|
+
readonly listedBy: {
|
|
575
|
+
readonly $ref: "#/components/schemas/ListedByResponse";
|
|
576
|
+
};
|
|
577
|
+
readonly createdAt: {
|
|
540
578
|
readonly type: "string";
|
|
579
|
+
readonly format: "date-time";
|
|
541
580
|
};
|
|
542
|
-
readonly
|
|
581
|
+
readonly publishedAt: {
|
|
582
|
+
readonly type: "string";
|
|
583
|
+
readonly format: "date-time";
|
|
584
|
+
};
|
|
585
|
+
readonly expiresAt: {
|
|
543
586
|
readonly type: "string";
|
|
544
587
|
readonly format: "date-time";
|
|
545
588
|
};
|
|
546
589
|
};
|
|
547
|
-
readonly required: readonly ["
|
|
590
|
+
readonly required: readonly ["createdAt", "listedBy", "listingId", "listingType", "price", "property", "propertyId", "status"];
|
|
548
591
|
};
|
|
549
|
-
export declare const
|
|
592
|
+
export declare const MeasurementResponseSchema: {
|
|
550
593
|
readonly type: "object";
|
|
551
594
|
readonly properties: {
|
|
552
|
-
readonly
|
|
553
|
-
readonly type: "
|
|
554
|
-
readonly format: "
|
|
595
|
+
readonly totalArea: {
|
|
596
|
+
readonly type: "number";
|
|
597
|
+
readonly format: "double";
|
|
555
598
|
};
|
|
556
|
-
readonly
|
|
557
|
-
readonly
|
|
599
|
+
readonly livingArea: {
|
|
600
|
+
readonly type: "number";
|
|
601
|
+
readonly format: "double";
|
|
558
602
|
};
|
|
559
|
-
readonly
|
|
560
|
-
readonly type: "
|
|
561
|
-
readonly
|
|
562
|
-
readonly $ref: "#/components/schemas/LangTextResponse";
|
|
563
|
-
};
|
|
603
|
+
readonly balconyArea: {
|
|
604
|
+
readonly type: "number";
|
|
605
|
+
readonly format: "double";
|
|
564
606
|
};
|
|
565
607
|
};
|
|
566
|
-
readonly required: readonly ["
|
|
608
|
+
readonly required: readonly ["totalArea"];
|
|
567
609
|
};
|
|
568
610
|
export declare const PhotoResponseSchema: {
|
|
569
611
|
readonly type: "object";
|
|
@@ -589,27 +631,22 @@ export declare const PhotoResponseSchema: {
|
|
|
589
631
|
};
|
|
590
632
|
readonly required: readonly ["height", "id", "key", "url", "width"];
|
|
591
633
|
};
|
|
592
|
-
export declare const
|
|
634
|
+
export declare const PropertyDetailsResponseSchema: {
|
|
593
635
|
readonly type: "object";
|
|
594
636
|
readonly properties: {
|
|
595
|
-
readonly
|
|
596
|
-
readonly
|
|
597
|
-
readonly format: "uuid";
|
|
598
|
-
};
|
|
599
|
-
readonly name: {
|
|
600
|
-
readonly type: "string";
|
|
637
|
+
readonly propertyType: {
|
|
638
|
+
readonly $ref: "#/components/schemas/ItemsEnum";
|
|
601
639
|
};
|
|
602
|
-
readonly
|
|
603
|
-
readonly $ref: "#/components/schemas/
|
|
640
|
+
readonly address: {
|
|
641
|
+
readonly $ref: "#/components/schemas/AddressResponse";
|
|
604
642
|
};
|
|
605
|
-
readonly
|
|
606
|
-
readonly
|
|
607
|
-
readonly format: "double";
|
|
643
|
+
readonly measurement: {
|
|
644
|
+
readonly $ref: "#/components/schemas/MeasurementResponse";
|
|
608
645
|
};
|
|
609
|
-
readonly
|
|
646
|
+
readonly description: {
|
|
610
647
|
readonly type: "array";
|
|
611
648
|
readonly items: {
|
|
612
|
-
readonly $ref: "#/components/schemas/
|
|
649
|
+
readonly $ref: "#/components/schemas/LangTextResponse";
|
|
613
650
|
};
|
|
614
651
|
};
|
|
615
652
|
readonly amenities: {
|
|
@@ -617,21 +654,26 @@ export declare const SpaceViewResponseSchema: {
|
|
|
617
654
|
readonly items: {
|
|
618
655
|
readonly $ref: "#/components/schemas/AmenityViewResponse";
|
|
619
656
|
};
|
|
620
|
-
readonly uniqueItems: true;
|
|
621
657
|
};
|
|
622
|
-
readonly
|
|
658
|
+
readonly spaces: {
|
|
623
659
|
readonly type: "array";
|
|
624
660
|
readonly items: {
|
|
625
|
-
readonly $ref: "#/components/schemas/
|
|
661
|
+
readonly $ref: "#/components/schemas/PropertySpaceViewResponse";
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
readonly images: {
|
|
665
|
+
readonly type: "array";
|
|
666
|
+
readonly items: {
|
|
667
|
+
readonly $ref: "#/components/schemas/PhotoResponse";
|
|
626
668
|
};
|
|
627
669
|
};
|
|
628
670
|
};
|
|
629
|
-
readonly required: readonly ["amenities", "description", "
|
|
671
|
+
readonly required: readonly ["address", "amenities", "description", "images", "measurement", "propertyType", "spaces"];
|
|
630
672
|
};
|
|
631
|
-
export declare const
|
|
673
|
+
export declare const PropertySpaceViewResponseSchema: {
|
|
632
674
|
readonly type: "object";
|
|
633
675
|
readonly properties: {
|
|
634
|
-
readonly
|
|
676
|
+
readonly spaceId: {
|
|
635
677
|
readonly type: "string";
|
|
636
678
|
readonly format: "uuid";
|
|
637
679
|
};
|
|
@@ -645,43 +687,79 @@ export declare const SpaceEditorViewResponseSchema: {
|
|
|
645
687
|
readonly type: "number";
|
|
646
688
|
readonly format: "double";
|
|
647
689
|
};
|
|
648
|
-
readonly
|
|
690
|
+
readonly coverPhoto: {
|
|
649
691
|
readonly type: "string";
|
|
650
692
|
};
|
|
651
|
-
readonly
|
|
693
|
+
readonly photoCount: {
|
|
652
694
|
readonly type: "integer";
|
|
653
695
|
readonly format: "int32";
|
|
654
696
|
};
|
|
655
697
|
};
|
|
656
|
-
readonly required: readonly ["
|
|
698
|
+
readonly required: readonly ["name", "photoCount", "type"];
|
|
657
699
|
};
|
|
658
|
-
export declare const
|
|
700
|
+
export declare const AmenityCatalogDtoSchema: {
|
|
659
701
|
readonly type: "object";
|
|
660
702
|
readonly properties: {
|
|
661
|
-
readonly
|
|
703
|
+
readonly id: {
|
|
704
|
+
readonly type: "integer";
|
|
705
|
+
readonly format: "int32";
|
|
706
|
+
};
|
|
707
|
+
readonly category: {
|
|
708
|
+
readonly $ref: "#/components/schemas/CategoryEnum";
|
|
709
|
+
};
|
|
710
|
+
readonly name: {
|
|
662
711
|
readonly type: "array";
|
|
663
712
|
readonly items: {
|
|
664
|
-
readonly $ref: "#/components/schemas/
|
|
713
|
+
readonly $ref: "#/components/schemas/LangTextResponse";
|
|
665
714
|
};
|
|
666
715
|
};
|
|
667
|
-
|
|
668
|
-
|
|
716
|
+
};
|
|
717
|
+
readonly required: readonly ["category", "id", "name"];
|
|
718
|
+
};
|
|
719
|
+
export declare const GroupedAmenitySchema: {
|
|
720
|
+
readonly type: "object";
|
|
721
|
+
readonly properties: {
|
|
722
|
+
readonly propertyGroup: {
|
|
723
|
+
readonly $ref: "#/components/schemas/SchemaEnum";
|
|
724
|
+
};
|
|
725
|
+
readonly spaceType: {
|
|
726
|
+
readonly $ref: "#/components/schemas/SchemaEnum2";
|
|
727
|
+
};
|
|
728
|
+
readonly amenities: {
|
|
729
|
+
readonly type: "array";
|
|
730
|
+
readonly items: {
|
|
731
|
+
readonly $ref: "#/components/schemas/AmenityCatalogDto";
|
|
732
|
+
};
|
|
669
733
|
};
|
|
670
734
|
};
|
|
671
|
-
readonly required: readonly ["
|
|
735
|
+
readonly required: readonly ["amenities"];
|
|
672
736
|
};
|
|
673
|
-
export declare const
|
|
737
|
+
export declare const HomespotAmenitiesSchema: {
|
|
674
738
|
readonly type: "object";
|
|
675
739
|
readonly properties: {
|
|
676
|
-
readonly
|
|
677
|
-
readonly type: "
|
|
678
|
-
readonly
|
|
740
|
+
readonly data: {
|
|
741
|
+
readonly type: "array";
|
|
742
|
+
readonly items: {
|
|
743
|
+
readonly $ref: "#/components/schemas/GroupedAmenity";
|
|
744
|
+
};
|
|
679
745
|
};
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
746
|
+
};
|
|
747
|
+
readonly required: readonly ["data"];
|
|
748
|
+
};
|
|
749
|
+
export declare const PropertyCardViewResponseSchema: {
|
|
750
|
+
readonly type: "object";
|
|
751
|
+
readonly properties: {
|
|
752
|
+
readonly id: {
|
|
753
|
+
readonly type: "string";
|
|
754
|
+
readonly format: "uuid";
|
|
683
755
|
};
|
|
684
|
-
readonly
|
|
756
|
+
readonly type: {
|
|
757
|
+
readonly $ref: "#/components/schemas/ItemsEnum";
|
|
758
|
+
};
|
|
759
|
+
readonly title: {
|
|
760
|
+
readonly type: "string";
|
|
761
|
+
};
|
|
762
|
+
readonly districtId: {
|
|
685
763
|
readonly type: "integer";
|
|
686
764
|
readonly format: "int64";
|
|
687
765
|
};
|
|
@@ -689,54 +767,37 @@ export declare const AddressResponseSchema: {
|
|
|
689
767
|
readonly type: "integer";
|
|
690
768
|
readonly format: "int64";
|
|
691
769
|
};
|
|
692
|
-
readonly
|
|
770
|
+
readonly coverPhoto: {
|
|
693
771
|
readonly type: "string";
|
|
694
772
|
};
|
|
695
|
-
readonly
|
|
696
|
-
readonly type: "
|
|
697
|
-
readonly format: "
|
|
698
|
-
};
|
|
699
|
-
readonly lng: {
|
|
700
|
-
readonly type: "number";
|
|
701
|
-
readonly format: "double";
|
|
773
|
+
readonly uploadDate: {
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
readonly format: "date-time";
|
|
702
776
|
};
|
|
703
777
|
};
|
|
704
|
-
readonly required: readonly ["districtId", "
|
|
778
|
+
readonly required: readonly ["coverPhoto", "districtId", "id", "streetId", "title", "type", "uploadDate"];
|
|
705
779
|
};
|
|
706
|
-
export declare const
|
|
780
|
+
export declare const SpaceViewResponseSchema: {
|
|
707
781
|
readonly type: "object";
|
|
708
782
|
readonly properties: {
|
|
709
|
-
readonly
|
|
710
|
-
readonly type: "
|
|
711
|
-
readonly format: "
|
|
712
|
-
};
|
|
713
|
-
readonly livingArea: {
|
|
714
|
-
readonly type: "number";
|
|
715
|
-
readonly format: "double";
|
|
783
|
+
readonly spaceId: {
|
|
784
|
+
readonly type: "string";
|
|
785
|
+
readonly format: "uuid";
|
|
716
786
|
};
|
|
717
|
-
readonly
|
|
718
|
-
readonly type: "
|
|
719
|
-
readonly format: "double";
|
|
787
|
+
readonly name: {
|
|
788
|
+
readonly type: "string";
|
|
720
789
|
};
|
|
721
|
-
};
|
|
722
|
-
readonly required: readonly ["totalArea"];
|
|
723
|
-
};
|
|
724
|
-
export declare const PropertyEditorViewResponseSchema: {
|
|
725
|
-
readonly type: "object";
|
|
726
|
-
readonly properties: {
|
|
727
790
|
readonly type: {
|
|
728
|
-
readonly $ref: "#/components/schemas/
|
|
729
|
-
};
|
|
730
|
-
readonly measurement: {
|
|
731
|
-
readonly $ref: "#/components/schemas/MeasurementResponse";
|
|
791
|
+
readonly $ref: "#/components/schemas/TypeEnum2";
|
|
732
792
|
};
|
|
733
|
-
readonly
|
|
734
|
-
readonly
|
|
793
|
+
readonly area: {
|
|
794
|
+
readonly type: "number";
|
|
795
|
+
readonly format: "double";
|
|
735
796
|
};
|
|
736
|
-
readonly
|
|
797
|
+
readonly photos: {
|
|
737
798
|
readonly type: "array";
|
|
738
799
|
readonly items: {
|
|
739
|
-
readonly $ref: "#/components/schemas/
|
|
800
|
+
readonly $ref: "#/components/schemas/PhotoResponse";
|
|
740
801
|
};
|
|
741
802
|
};
|
|
742
803
|
readonly amenities: {
|
|
@@ -744,20 +805,21 @@ export declare const PropertyEditorViewResponseSchema: {
|
|
|
744
805
|
readonly items: {
|
|
745
806
|
readonly $ref: "#/components/schemas/AmenityViewResponse";
|
|
746
807
|
};
|
|
808
|
+
readonly uniqueItems: true;
|
|
747
809
|
};
|
|
748
|
-
readonly
|
|
810
|
+
readonly description: {
|
|
749
811
|
readonly type: "array";
|
|
750
812
|
readonly items: {
|
|
751
|
-
readonly $ref: "#/components/schemas/
|
|
813
|
+
readonly $ref: "#/components/schemas/LangTextResponse";
|
|
752
814
|
};
|
|
753
815
|
};
|
|
754
816
|
};
|
|
755
|
-
readonly required: readonly ["
|
|
817
|
+
readonly required: readonly ["amenities", "description", "name", "photos", "type"];
|
|
756
818
|
};
|
|
757
|
-
export declare const
|
|
819
|
+
export declare const SpaceEditorViewResponseSchema: {
|
|
758
820
|
readonly type: "object";
|
|
759
821
|
readonly properties: {
|
|
760
|
-
readonly
|
|
822
|
+
readonly id: {
|
|
761
823
|
readonly type: "string";
|
|
762
824
|
readonly format: "uuid";
|
|
763
825
|
};
|
|
@@ -771,99 +833,43 @@ export declare const PropertySpaceViewResponseSchema: {
|
|
|
771
833
|
readonly type: "number";
|
|
772
834
|
readonly format: "double";
|
|
773
835
|
};
|
|
774
|
-
readonly
|
|
836
|
+
readonly coverImage: {
|
|
775
837
|
readonly type: "string";
|
|
776
838
|
};
|
|
777
|
-
readonly
|
|
839
|
+
readonly imageCount: {
|
|
778
840
|
readonly type: "integer";
|
|
779
841
|
readonly format: "int32";
|
|
780
842
|
};
|
|
781
843
|
};
|
|
782
|
-
readonly required: readonly ["
|
|
783
|
-
};
|
|
784
|
-
export declare const ByAgencyResponseSchema: {
|
|
785
|
-
readonly type: "object";
|
|
786
|
-
readonly properties: {
|
|
787
|
-
readonly agencyId: {
|
|
788
|
-
readonly type: "string";
|
|
789
|
-
readonly format: "uuid";
|
|
790
|
-
};
|
|
791
|
-
readonly agentId: {
|
|
792
|
-
readonly type: "string";
|
|
793
|
-
readonly format: "uuid";
|
|
794
|
-
};
|
|
795
|
-
};
|
|
796
|
-
readonly required: readonly ["agencyId", "agentId"];
|
|
797
|
-
};
|
|
798
|
-
export declare const ByOwnerResponseSchema: {
|
|
799
|
-
readonly type: "object";
|
|
800
|
-
readonly properties: {
|
|
801
|
-
readonly ownerId: {
|
|
802
|
-
readonly type: "string";
|
|
803
|
-
};
|
|
804
|
-
};
|
|
805
|
-
readonly required: readonly ["ownerId"];
|
|
806
|
-
};
|
|
807
|
-
export declare const ListedByResponseSchema: {
|
|
808
|
-
readonly oneOf: readonly [{
|
|
809
|
-
readonly $ref: "#/components/schemas/ByOwnerResponse";
|
|
810
|
-
}, {
|
|
811
|
-
readonly $ref: "#/components/schemas/ByAgencyResponse";
|
|
812
|
-
}];
|
|
844
|
+
readonly required: readonly ["imageCount", "name", "type"];
|
|
813
845
|
};
|
|
814
|
-
export declare const
|
|
846
|
+
export declare const SpacesEditorViewResponseSchema: {
|
|
815
847
|
readonly type: "object";
|
|
816
848
|
readonly properties: {
|
|
817
|
-
readonly
|
|
818
|
-
readonly type: "
|
|
819
|
-
readonly
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
readonly type: "string";
|
|
823
|
-
readonly format: "uuid";
|
|
824
|
-
};
|
|
825
|
-
readonly listingType: {
|
|
826
|
-
readonly $ref: "#/components/schemas/SchemaEnum3";
|
|
827
|
-
};
|
|
828
|
-
readonly status: {
|
|
829
|
-
readonly $ref: "#/components/schemas/StatusEnum";
|
|
830
|
-
};
|
|
831
|
-
readonly price: {
|
|
832
|
-
readonly type: "number";
|
|
833
|
-
};
|
|
834
|
-
readonly property: {
|
|
835
|
-
readonly $ref: "#/components/schemas/PropertyDetailsResponse";
|
|
836
|
-
};
|
|
837
|
-
readonly listedBy: {
|
|
838
|
-
readonly $ref: "#/components/schemas/ListedByResponse";
|
|
839
|
-
};
|
|
840
|
-
readonly createdAt: {
|
|
841
|
-
readonly type: "string";
|
|
842
|
-
readonly format: "date-time";
|
|
843
|
-
};
|
|
844
|
-
readonly publishedAt: {
|
|
845
|
-
readonly type: "string";
|
|
846
|
-
readonly format: "date-time";
|
|
849
|
+
readonly spaces: {
|
|
850
|
+
readonly type: "array";
|
|
851
|
+
readonly items: {
|
|
852
|
+
readonly $ref: "#/components/schemas/SpaceEditorViewResponse";
|
|
853
|
+
};
|
|
847
854
|
};
|
|
848
|
-
readonly
|
|
849
|
-
readonly type: "
|
|
850
|
-
readonly format: "date-time";
|
|
855
|
+
readonly wasGrouped: {
|
|
856
|
+
readonly type: "boolean";
|
|
851
857
|
};
|
|
852
858
|
};
|
|
853
|
-
readonly required: readonly ["
|
|
859
|
+
readonly required: readonly ["spaces", "wasGrouped"];
|
|
854
860
|
};
|
|
855
|
-
export declare const
|
|
861
|
+
export declare const PropertyEditorViewResponseSchema: {
|
|
856
862
|
readonly type: "object";
|
|
857
863
|
readonly properties: {
|
|
858
|
-
readonly
|
|
864
|
+
readonly type: {
|
|
859
865
|
readonly $ref: "#/components/schemas/ItemsEnum";
|
|
860
866
|
};
|
|
861
|
-
readonly address: {
|
|
862
|
-
readonly $ref: "#/components/schemas/AddressResponse";
|
|
863
|
-
};
|
|
864
867
|
readonly measurement: {
|
|
865
868
|
readonly $ref: "#/components/schemas/MeasurementResponse";
|
|
866
869
|
};
|
|
870
|
+
readonly address: {
|
|
871
|
+
readonly $ref: "#/components/schemas/AddressResponse";
|
|
872
|
+
};
|
|
867
873
|
readonly description: {
|
|
868
874
|
readonly type: "array";
|
|
869
875
|
readonly items: {
|
|
@@ -882,14 +888,8 @@ export declare const PropertyDetailsResponseSchema: {
|
|
|
882
888
|
readonly $ref: "#/components/schemas/PropertySpaceViewResponse";
|
|
883
889
|
};
|
|
884
890
|
};
|
|
885
|
-
readonly images: {
|
|
886
|
-
readonly type: "array";
|
|
887
|
-
readonly items: {
|
|
888
|
-
readonly $ref: "#/components/schemas/PhotoResponse";
|
|
889
|
-
};
|
|
890
|
-
};
|
|
891
891
|
};
|
|
892
|
-
readonly required: readonly ["address", "amenities", "description", "
|
|
892
|
+
readonly required: readonly ["address", "amenities", "description", "measurement", "spaces", "type"];
|
|
893
893
|
};
|
|
894
894
|
export declare const ListingCardResponseSchema: {
|
|
895
895
|
readonly type: "object";
|
|
@@ -1018,12 +1018,12 @@ export declare const CategoryEnumSchema: {
|
|
|
1018
1018
|
readonly type: "string";
|
|
1019
1019
|
readonly enum: readonly ["CLIMATE_CONTROL", "ENTERTAINMENT", "OUTDOOR", "KITCHEN_APPLIANCES", "BATHROOM_APPLIANCES", "UTILITIES", "BUILDING", "LOCATION_FEATURES", "PARKING", "SECURITY"];
|
|
1020
1020
|
};
|
|
1021
|
-
export declare const TypeEnum2Schema: {
|
|
1022
|
-
readonly type: "string";
|
|
1023
|
-
readonly enum: readonly ["BEDROOM", "BATHROOM", "KITCHEN", "LIVING_ROOM", "GARAGE", "BACKYARD", "GYM", "LAUNDRY", "HOME_THEATRE", "GAME_ROOM", "UNCLASSIFIED", "OTHER"];
|
|
1024
|
-
};
|
|
1025
1021
|
export declare const StatusEnumSchema: {
|
|
1026
1022
|
readonly type: "string";
|
|
1027
1023
|
readonly enum: readonly ["ACTIVE", "PAUSED", "EXPIRED"];
|
|
1028
1024
|
};
|
|
1025
|
+
export declare const TypeEnum2Schema: {
|
|
1026
|
+
readonly type: "string";
|
|
1027
|
+
readonly enum: readonly ["BEDROOM", "BATHROOM", "KITCHEN", "LIVING_ROOM", "GARAGE", "BACKYARD", "GYM", "LAUNDRY", "HOME_THEATRE", "GAME_ROOM", "UNCLASSIFIED", "OTHER"];
|
|
1028
|
+
};
|
|
1029
1029
|
//# sourceMappingURL=schemas.gen.d.ts.map
|