@homespot-sdk/core 0.0.326 → 0.0.328
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 +263 -1
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +351 -1
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +7 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +30 -0
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +5 -1
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +228 -1
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +1469 -376
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +495 -1
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -2648,6 +2648,31 @@ export const PermissionResponseSchema = {
|
|
|
2648
2648
|
},
|
|
2649
2649
|
required: ['implied', 'permission'],
|
|
2650
2650
|
};
|
|
2651
|
+
export const ListingContactResponseUUIDSchema = {
|
|
2652
|
+
type: 'object',
|
|
2653
|
+
properties: {
|
|
2654
|
+
id: {
|
|
2655
|
+
type: 'string',
|
|
2656
|
+
format: 'uuid',
|
|
2657
|
+
},
|
|
2658
|
+
name: {
|
|
2659
|
+
type: 'string',
|
|
2660
|
+
},
|
|
2661
|
+
lastName: {
|
|
2662
|
+
type: 'string',
|
|
2663
|
+
},
|
|
2664
|
+
phone: {
|
|
2665
|
+
type: 'string',
|
|
2666
|
+
},
|
|
2667
|
+
email: {
|
|
2668
|
+
type: 'string',
|
|
2669
|
+
},
|
|
2670
|
+
profilePicture: {
|
|
2671
|
+
type: 'string',
|
|
2672
|
+
},
|
|
2673
|
+
},
|
|
2674
|
+
required: ['id'],
|
|
2675
|
+
};
|
|
2651
2676
|
export const InvitationDetailsResponseSchema = {
|
|
2652
2677
|
type: 'object',
|
|
2653
2678
|
properties: {
|
|
@@ -3203,6 +3228,31 @@ export const PropertyPageResponseSchema = {
|
|
|
3203
3228
|
'updatedAt',
|
|
3204
3229
|
],
|
|
3205
3230
|
};
|
|
3231
|
+
export const ListingContactResponseLongSchema = {
|
|
3232
|
+
type: 'object',
|
|
3233
|
+
properties: {
|
|
3234
|
+
id: {
|
|
3235
|
+
type: 'integer',
|
|
3236
|
+
format: 'int64',
|
|
3237
|
+
},
|
|
3238
|
+
name: {
|
|
3239
|
+
type: 'string',
|
|
3240
|
+
},
|
|
3241
|
+
lastName: {
|
|
3242
|
+
type: 'string',
|
|
3243
|
+
},
|
|
3244
|
+
phone: {
|
|
3245
|
+
type: 'string',
|
|
3246
|
+
},
|
|
3247
|
+
email: {
|
|
3248
|
+
type: 'string',
|
|
3249
|
+
},
|
|
3250
|
+
profilePicture: {
|
|
3251
|
+
type: 'string',
|
|
3252
|
+
},
|
|
3253
|
+
},
|
|
3254
|
+
required: ['id'],
|
|
3255
|
+
};
|
|
3206
3256
|
export const ContactAssignedSchema = {
|
|
3207
3257
|
properties: {
|
|
3208
3258
|
contactId: {
|
|
@@ -4372,7 +4422,7 @@ export const Client360ResponseSchema = {
|
|
|
4372
4422
|
interests: {
|
|
4373
4423
|
type: 'array',
|
|
4374
4424
|
items: {
|
|
4375
|
-
$ref: '#/components/schemas/
|
|
4425
|
+
$ref: '#/components/schemas/ContactInterestResponse',
|
|
4376
4426
|
},
|
|
4377
4427
|
},
|
|
4378
4428
|
properties: {
|
|
@@ -4437,6 +4487,45 @@ export const ContactInfoResponseSchema = {
|
|
|
4437
4487
|
},
|
|
4438
4488
|
required: ['gender', 'phoneNumber'],
|
|
4439
4489
|
};
|
|
4490
|
+
export const ContactInterestResponseSchema = {
|
|
4491
|
+
type: 'object',
|
|
4492
|
+
properties: {
|
|
4493
|
+
id: {
|
|
4494
|
+
type: 'integer',
|
|
4495
|
+
format: 'int64',
|
|
4496
|
+
},
|
|
4497
|
+
title: {
|
|
4498
|
+
type: 'string',
|
|
4499
|
+
},
|
|
4500
|
+
status: {
|
|
4501
|
+
type: 'string',
|
|
4502
|
+
enum: ['UNPUBLISHED', 'PUBLISHED', 'CLOSED'],
|
|
4503
|
+
},
|
|
4504
|
+
shareToken: {
|
|
4505
|
+
type: 'string',
|
|
4506
|
+
format: 'uuid',
|
|
4507
|
+
},
|
|
4508
|
+
createdAt: {
|
|
4509
|
+
type: 'string',
|
|
4510
|
+
format: 'date-time',
|
|
4511
|
+
},
|
|
4512
|
+
criteria: {
|
|
4513
|
+
$ref: '#/components/schemas/Criteria',
|
|
4514
|
+
},
|
|
4515
|
+
recommendations: {
|
|
4516
|
+
$ref: '#/components/schemas/RecommendationStats',
|
|
4517
|
+
},
|
|
4518
|
+
},
|
|
4519
|
+
required: [
|
|
4520
|
+
'createdAt',
|
|
4521
|
+
'criteria',
|
|
4522
|
+
'id',
|
|
4523
|
+
'recommendations',
|
|
4524
|
+
'shareToken',
|
|
4525
|
+
'status',
|
|
4526
|
+
'title',
|
|
4527
|
+
],
|
|
4528
|
+
};
|
|
4440
4529
|
export const ContactPropertyResponseSchema = {
|
|
4441
4530
|
type: 'object',
|
|
4442
4531
|
properties: {
|
|
@@ -4610,6 +4699,267 @@ export const PhoneDuplicateCheckResponseSchema = {
|
|
|
4610
4699
|
},
|
|
4611
4700
|
required: ['matches', 'policy'],
|
|
4612
4701
|
};
|
|
4702
|
+
export const CardSchema = {
|
|
4703
|
+
type: 'object',
|
|
4704
|
+
properties: {
|
|
4705
|
+
contactId: {
|
|
4706
|
+
type: 'integer',
|
|
4707
|
+
format: 'int64',
|
|
4708
|
+
},
|
|
4709
|
+
contactName: {
|
|
4710
|
+
type: 'string',
|
|
4711
|
+
},
|
|
4712
|
+
phoneNumber: {
|
|
4713
|
+
type: 'string',
|
|
4714
|
+
},
|
|
4715
|
+
priority: {
|
|
4716
|
+
type: 'string',
|
|
4717
|
+
enum: ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW'],
|
|
4718
|
+
},
|
|
4719
|
+
status: {
|
|
4720
|
+
type: 'string',
|
|
4721
|
+
enum: [
|
|
4722
|
+
'NEW',
|
|
4723
|
+
'ON_HOLD',
|
|
4724
|
+
'COLD',
|
|
4725
|
+
'WARM',
|
|
4726
|
+
'HOT',
|
|
4727
|
+
'WAITING_PAYMENT',
|
|
4728
|
+
'LOST',
|
|
4729
|
+
'WON',
|
|
4730
|
+
],
|
|
4731
|
+
},
|
|
4732
|
+
assignedTo: {
|
|
4733
|
+
$ref: '#/components/schemas/AssignedToResponse',
|
|
4734
|
+
},
|
|
4735
|
+
totalCommission: {
|
|
4736
|
+
type: 'number',
|
|
4737
|
+
},
|
|
4738
|
+
preview: {
|
|
4739
|
+
oneOf: [
|
|
4740
|
+
{
|
|
4741
|
+
$ref: '#/components/schemas/InterestPreview',
|
|
4742
|
+
},
|
|
4743
|
+
{
|
|
4744
|
+
$ref: '#/components/schemas/PropertyPreview',
|
|
4745
|
+
},
|
|
4746
|
+
],
|
|
4747
|
+
},
|
|
4748
|
+
},
|
|
4749
|
+
required: ['contactId', 'priority', 'status', 'totalCommission'],
|
|
4750
|
+
};
|
|
4751
|
+
export const ColumnSchema = {
|
|
4752
|
+
type: 'object',
|
|
4753
|
+
properties: {
|
|
4754
|
+
status: {
|
|
4755
|
+
type: 'string',
|
|
4756
|
+
enum: [
|
|
4757
|
+
'NEW',
|
|
4758
|
+
'ON_HOLD',
|
|
4759
|
+
'COLD',
|
|
4760
|
+
'WARM',
|
|
4761
|
+
'HOT',
|
|
4762
|
+
'WAITING_PAYMENT',
|
|
4763
|
+
'LOST',
|
|
4764
|
+
'WON',
|
|
4765
|
+
],
|
|
4766
|
+
},
|
|
4767
|
+
totalCommission: {
|
|
4768
|
+
type: 'number',
|
|
4769
|
+
},
|
|
4770
|
+
totalContacts: {
|
|
4771
|
+
type: 'integer',
|
|
4772
|
+
format: 'int64',
|
|
4773
|
+
},
|
|
4774
|
+
cards: {
|
|
4775
|
+
$ref: '#/components/schemas/PagedModelCard',
|
|
4776
|
+
},
|
|
4777
|
+
},
|
|
4778
|
+
required: ['cards', 'status', 'totalCommission', 'totalContacts'],
|
|
4779
|
+
};
|
|
4780
|
+
export const ContactKanbanResponseSchema = {
|
|
4781
|
+
type: 'object',
|
|
4782
|
+
properties: {
|
|
4783
|
+
columns: {
|
|
4784
|
+
type: 'array',
|
|
4785
|
+
items: {
|
|
4786
|
+
$ref: '#/components/schemas/Column',
|
|
4787
|
+
},
|
|
4788
|
+
},
|
|
4789
|
+
},
|
|
4790
|
+
required: ['columns'],
|
|
4791
|
+
};
|
|
4792
|
+
export const InterestPreviewSchema = {
|
|
4793
|
+
allOf: [
|
|
4794
|
+
{
|
|
4795
|
+
$ref: '#/components/schemas/Preview',
|
|
4796
|
+
},
|
|
4797
|
+
{
|
|
4798
|
+
type: 'object',
|
|
4799
|
+
properties: {
|
|
4800
|
+
interestId: {
|
|
4801
|
+
type: 'integer',
|
|
4802
|
+
format: 'int64',
|
|
4803
|
+
},
|
|
4804
|
+
listingType: {
|
|
4805
|
+
type: 'string',
|
|
4806
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
4807
|
+
},
|
|
4808
|
+
propertyTypes: {
|
|
4809
|
+
type: 'array',
|
|
4810
|
+
items: {
|
|
4811
|
+
type: 'string',
|
|
4812
|
+
enum: [
|
|
4813
|
+
'HOUSE',
|
|
4814
|
+
'TOWN_HOUSE',
|
|
4815
|
+
'COUNTRY_HOUSE',
|
|
4816
|
+
'VILLA',
|
|
4817
|
+
'COTTAGE',
|
|
4818
|
+
'APARTMENT',
|
|
4819
|
+
'DUPLEX',
|
|
4820
|
+
'TRIPLEX',
|
|
4821
|
+
'SEMI_BASEMENT',
|
|
4822
|
+
'ATTIC',
|
|
4823
|
+
'AGRICULTURAL_LAND',
|
|
4824
|
+
'RESIDENTIAL_LAND',
|
|
4825
|
+
'HOTEL_ROOM',
|
|
4826
|
+
'MOTEL_ROOM',
|
|
4827
|
+
'CO_LIVING_SPACE',
|
|
4828
|
+
'OFFICE',
|
|
4829
|
+
'COMMERCIAL_SPACE',
|
|
4830
|
+
'CO_WORKING_SPACE',
|
|
4831
|
+
'WAREHOUSE',
|
|
4832
|
+
'GARAGE',
|
|
4833
|
+
],
|
|
4834
|
+
},
|
|
4835
|
+
uniqueItems: true,
|
|
4836
|
+
},
|
|
4837
|
+
budget: {
|
|
4838
|
+
$ref: '#/components/schemas/RangeBigDecimal',
|
|
4839
|
+
},
|
|
4840
|
+
primaryLocation: {
|
|
4841
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
4842
|
+
},
|
|
4843
|
+
recommendationCount: {
|
|
4844
|
+
type: 'integer',
|
|
4845
|
+
format: 'int32',
|
|
4846
|
+
},
|
|
4847
|
+
},
|
|
4848
|
+
},
|
|
4849
|
+
],
|
|
4850
|
+
required: [
|
|
4851
|
+
'interestId',
|
|
4852
|
+
'listingType',
|
|
4853
|
+
'propertyTypes',
|
|
4854
|
+
'recommendationCount',
|
|
4855
|
+
],
|
|
4856
|
+
};
|
|
4857
|
+
export const ListingTypePriceSchema = {
|
|
4858
|
+
type: 'object',
|
|
4859
|
+
properties: {
|
|
4860
|
+
listingType: {
|
|
4861
|
+
type: 'string',
|
|
4862
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
4863
|
+
},
|
|
4864
|
+
price: {
|
|
4865
|
+
type: 'number',
|
|
4866
|
+
},
|
|
4867
|
+
},
|
|
4868
|
+
required: ['listingType', 'price'],
|
|
4869
|
+
};
|
|
4870
|
+
export const PagedModelCardSchema = {
|
|
4871
|
+
type: 'object',
|
|
4872
|
+
properties: {
|
|
4873
|
+
content: {
|
|
4874
|
+
type: 'array',
|
|
4875
|
+
items: {
|
|
4876
|
+
$ref: '#/components/schemas/Card',
|
|
4877
|
+
},
|
|
4878
|
+
},
|
|
4879
|
+
page: {
|
|
4880
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
4881
|
+
},
|
|
4882
|
+
},
|
|
4883
|
+
};
|
|
4884
|
+
export const PreviewSchema = {
|
|
4885
|
+
discriminator: {
|
|
4886
|
+
propertyName: 'type',
|
|
4887
|
+
mapping: {
|
|
4888
|
+
PROPERTY: '#/components/schemas/PropertyPreview',
|
|
4889
|
+
INTEREST: '#/components/schemas/InterestPreview',
|
|
4890
|
+
},
|
|
4891
|
+
},
|
|
4892
|
+
properties: {
|
|
4893
|
+
type: {
|
|
4894
|
+
type: 'string',
|
|
4895
|
+
},
|
|
4896
|
+
},
|
|
4897
|
+
required: ['type'],
|
|
4898
|
+
};
|
|
4899
|
+
export const PropertyPreviewSchema = {
|
|
4900
|
+
allOf: [
|
|
4901
|
+
{
|
|
4902
|
+
$ref: '#/components/schemas/Preview',
|
|
4903
|
+
},
|
|
4904
|
+
{
|
|
4905
|
+
type: 'object',
|
|
4906
|
+
properties: {
|
|
4907
|
+
propertyId: {
|
|
4908
|
+
type: 'integer',
|
|
4909
|
+
format: 'int64',
|
|
4910
|
+
},
|
|
4911
|
+
propertyType: {
|
|
4912
|
+
type: 'string',
|
|
4913
|
+
enum: [
|
|
4914
|
+
'HOUSE',
|
|
4915
|
+
'TOWN_HOUSE',
|
|
4916
|
+
'COUNTRY_HOUSE',
|
|
4917
|
+
'VILLA',
|
|
4918
|
+
'COTTAGE',
|
|
4919
|
+
'APARTMENT',
|
|
4920
|
+
'DUPLEX',
|
|
4921
|
+
'TRIPLEX',
|
|
4922
|
+
'SEMI_BASEMENT',
|
|
4923
|
+
'ATTIC',
|
|
4924
|
+
'AGRICULTURAL_LAND',
|
|
4925
|
+
'RESIDENTIAL_LAND',
|
|
4926
|
+
'HOTEL_ROOM',
|
|
4927
|
+
'MOTEL_ROOM',
|
|
4928
|
+
'CO_LIVING_SPACE',
|
|
4929
|
+
'OFFICE',
|
|
4930
|
+
'COMMERCIAL_SPACE',
|
|
4931
|
+
'CO_WORKING_SPACE',
|
|
4932
|
+
'WAREHOUSE',
|
|
4933
|
+
'GARAGE',
|
|
4934
|
+
],
|
|
4935
|
+
},
|
|
4936
|
+
state: {
|
|
4937
|
+
type: 'string',
|
|
4938
|
+
enum: [
|
|
4939
|
+
'IN_REGISTRATION',
|
|
4940
|
+
'UNLISTED',
|
|
4941
|
+
'LISTED_INTERNALLY',
|
|
4942
|
+
'LISTED',
|
|
4943
|
+
'CLOSED',
|
|
4944
|
+
],
|
|
4945
|
+
},
|
|
4946
|
+
title: {
|
|
4947
|
+
type: 'string',
|
|
4948
|
+
},
|
|
4949
|
+
coverUrl: {
|
|
4950
|
+
type: 'string',
|
|
4951
|
+
},
|
|
4952
|
+
listingTypes: {
|
|
4953
|
+
type: 'array',
|
|
4954
|
+
items: {
|
|
4955
|
+
$ref: '#/components/schemas/ListingTypePrice',
|
|
4956
|
+
},
|
|
4957
|
+
},
|
|
4958
|
+
},
|
|
4959
|
+
},
|
|
4960
|
+
],
|
|
4961
|
+
required: ['listingTypes', 'propertyId', 'propertyType', 'state'],
|
|
4962
|
+
};
|
|
4613
4963
|
export const AddressViewResponseSchema = {
|
|
4614
4964
|
type: 'object',
|
|
4615
4965
|
properties: {
|