@homespot-sdk/core 0.0.326 → 0.0.327
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 +201 -1
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +289 -1
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +5 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +20 -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 +177 -1
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +1382 -372
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +445 -1
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -4372,7 +4372,7 @@ export const Client360ResponseSchema = {
|
|
|
4372
4372
|
interests: {
|
|
4373
4373
|
type: 'array',
|
|
4374
4374
|
items: {
|
|
4375
|
-
$ref: '#/components/schemas/
|
|
4375
|
+
$ref: '#/components/schemas/ContactInterestResponse',
|
|
4376
4376
|
},
|
|
4377
4377
|
},
|
|
4378
4378
|
properties: {
|
|
@@ -4437,6 +4437,45 @@ export const ContactInfoResponseSchema = {
|
|
|
4437
4437
|
},
|
|
4438
4438
|
required: ['gender', 'phoneNumber'],
|
|
4439
4439
|
};
|
|
4440
|
+
export const ContactInterestResponseSchema = {
|
|
4441
|
+
type: 'object',
|
|
4442
|
+
properties: {
|
|
4443
|
+
id: {
|
|
4444
|
+
type: 'integer',
|
|
4445
|
+
format: 'int64',
|
|
4446
|
+
},
|
|
4447
|
+
title: {
|
|
4448
|
+
type: 'string',
|
|
4449
|
+
},
|
|
4450
|
+
status: {
|
|
4451
|
+
type: 'string',
|
|
4452
|
+
enum: ['UNPUBLISHED', 'PUBLISHED', 'CLOSED'],
|
|
4453
|
+
},
|
|
4454
|
+
shareToken: {
|
|
4455
|
+
type: 'string',
|
|
4456
|
+
format: 'uuid',
|
|
4457
|
+
},
|
|
4458
|
+
createdAt: {
|
|
4459
|
+
type: 'string',
|
|
4460
|
+
format: 'date-time',
|
|
4461
|
+
},
|
|
4462
|
+
criteria: {
|
|
4463
|
+
$ref: '#/components/schemas/Criteria',
|
|
4464
|
+
},
|
|
4465
|
+
recommendations: {
|
|
4466
|
+
$ref: '#/components/schemas/RecommendationStats',
|
|
4467
|
+
},
|
|
4468
|
+
},
|
|
4469
|
+
required: [
|
|
4470
|
+
'createdAt',
|
|
4471
|
+
'criteria',
|
|
4472
|
+
'id',
|
|
4473
|
+
'recommendations',
|
|
4474
|
+
'shareToken',
|
|
4475
|
+
'status',
|
|
4476
|
+
'title',
|
|
4477
|
+
],
|
|
4478
|
+
};
|
|
4440
4479
|
export const ContactPropertyResponseSchema = {
|
|
4441
4480
|
type: 'object',
|
|
4442
4481
|
properties: {
|
|
@@ -4610,6 +4649,255 @@ export const PhoneDuplicateCheckResponseSchema = {
|
|
|
4610
4649
|
},
|
|
4611
4650
|
required: ['matches', 'policy'],
|
|
4612
4651
|
};
|
|
4652
|
+
export const CardSchema = {
|
|
4653
|
+
type: 'object',
|
|
4654
|
+
properties: {
|
|
4655
|
+
contactId: {
|
|
4656
|
+
type: 'integer',
|
|
4657
|
+
format: 'int64',
|
|
4658
|
+
},
|
|
4659
|
+
contactName: {
|
|
4660
|
+
type: 'string',
|
|
4661
|
+
},
|
|
4662
|
+
phoneNumber: {
|
|
4663
|
+
type: 'string',
|
|
4664
|
+
},
|
|
4665
|
+
priority: {
|
|
4666
|
+
type: 'string',
|
|
4667
|
+
enum: ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW'],
|
|
4668
|
+
},
|
|
4669
|
+
status: {
|
|
4670
|
+
type: 'string',
|
|
4671
|
+
enum: [
|
|
4672
|
+
'NEW',
|
|
4673
|
+
'ON_HOLD',
|
|
4674
|
+
'COLD',
|
|
4675
|
+
'WARM',
|
|
4676
|
+
'HOT',
|
|
4677
|
+
'WAITING_PAYMENT',
|
|
4678
|
+
'LOST',
|
|
4679
|
+
'WON',
|
|
4680
|
+
],
|
|
4681
|
+
},
|
|
4682
|
+
assignedTo: {
|
|
4683
|
+
$ref: '#/components/schemas/AssignedToResponse',
|
|
4684
|
+
},
|
|
4685
|
+
totalCommission: {
|
|
4686
|
+
type: 'number',
|
|
4687
|
+
},
|
|
4688
|
+
preview: {
|
|
4689
|
+
oneOf: [
|
|
4690
|
+
{
|
|
4691
|
+
$ref: '#/components/schemas/InterestPreview',
|
|
4692
|
+
},
|
|
4693
|
+
{
|
|
4694
|
+
$ref: '#/components/schemas/PropertyPreview',
|
|
4695
|
+
},
|
|
4696
|
+
],
|
|
4697
|
+
},
|
|
4698
|
+
},
|
|
4699
|
+
required: ['contactId', 'priority', 'status', 'totalCommission'],
|
|
4700
|
+
};
|
|
4701
|
+
export const ColumnSchema = {
|
|
4702
|
+
type: 'object',
|
|
4703
|
+
properties: {
|
|
4704
|
+
status: {
|
|
4705
|
+
type: 'string',
|
|
4706
|
+
enum: [
|
|
4707
|
+
'NEW',
|
|
4708
|
+
'ON_HOLD',
|
|
4709
|
+
'COLD',
|
|
4710
|
+
'WARM',
|
|
4711
|
+
'HOT',
|
|
4712
|
+
'WAITING_PAYMENT',
|
|
4713
|
+
'LOST',
|
|
4714
|
+
'WON',
|
|
4715
|
+
],
|
|
4716
|
+
},
|
|
4717
|
+
totalCommission: {
|
|
4718
|
+
type: 'number',
|
|
4719
|
+
},
|
|
4720
|
+
totalContacts: {
|
|
4721
|
+
type: 'integer',
|
|
4722
|
+
format: 'int64',
|
|
4723
|
+
},
|
|
4724
|
+
cards: {
|
|
4725
|
+
$ref: '#/components/schemas/PagedModelCard',
|
|
4726
|
+
},
|
|
4727
|
+
},
|
|
4728
|
+
required: ['cards', 'status', 'totalCommission', 'totalContacts'],
|
|
4729
|
+
};
|
|
4730
|
+
export const ContactKanbanResponseSchema = {
|
|
4731
|
+
type: 'object',
|
|
4732
|
+
properties: {
|
|
4733
|
+
columns: {
|
|
4734
|
+
type: 'array',
|
|
4735
|
+
items: {
|
|
4736
|
+
$ref: '#/components/schemas/Column',
|
|
4737
|
+
},
|
|
4738
|
+
},
|
|
4739
|
+
},
|
|
4740
|
+
required: ['columns'],
|
|
4741
|
+
};
|
|
4742
|
+
export const InterestPreviewSchema = {
|
|
4743
|
+
allOf: [
|
|
4744
|
+
{
|
|
4745
|
+
$ref: '#/components/schemas/Preview',
|
|
4746
|
+
},
|
|
4747
|
+
{
|
|
4748
|
+
type: 'object',
|
|
4749
|
+
properties: {
|
|
4750
|
+
interestId: {
|
|
4751
|
+
type: 'integer',
|
|
4752
|
+
format: 'int64',
|
|
4753
|
+
},
|
|
4754
|
+
listingType: {
|
|
4755
|
+
type: 'string',
|
|
4756
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
4757
|
+
},
|
|
4758
|
+
propertyTypes: {
|
|
4759
|
+
type: 'array',
|
|
4760
|
+
items: {
|
|
4761
|
+
type: 'string',
|
|
4762
|
+
enum: [
|
|
4763
|
+
'HOUSE',
|
|
4764
|
+
'TOWN_HOUSE',
|
|
4765
|
+
'COUNTRY_HOUSE',
|
|
4766
|
+
'VILLA',
|
|
4767
|
+
'COTTAGE',
|
|
4768
|
+
'APARTMENT',
|
|
4769
|
+
'DUPLEX',
|
|
4770
|
+
'TRIPLEX',
|
|
4771
|
+
'SEMI_BASEMENT',
|
|
4772
|
+
'ATTIC',
|
|
4773
|
+
'AGRICULTURAL_LAND',
|
|
4774
|
+
'RESIDENTIAL_LAND',
|
|
4775
|
+
'HOTEL_ROOM',
|
|
4776
|
+
'MOTEL_ROOM',
|
|
4777
|
+
'CO_LIVING_SPACE',
|
|
4778
|
+
'OFFICE',
|
|
4779
|
+
'COMMERCIAL_SPACE',
|
|
4780
|
+
'CO_WORKING_SPACE',
|
|
4781
|
+
'WAREHOUSE',
|
|
4782
|
+
'GARAGE',
|
|
4783
|
+
],
|
|
4784
|
+
},
|
|
4785
|
+
uniqueItems: true,
|
|
4786
|
+
},
|
|
4787
|
+
budget: {
|
|
4788
|
+
$ref: '#/components/schemas/RangeBigDecimal',
|
|
4789
|
+
},
|
|
4790
|
+
primaryLocation: {
|
|
4791
|
+
$ref: '#/components/schemas/LocationResponse',
|
|
4792
|
+
},
|
|
4793
|
+
recommendationCount: {
|
|
4794
|
+
type: 'integer',
|
|
4795
|
+
format: 'int32',
|
|
4796
|
+
},
|
|
4797
|
+
},
|
|
4798
|
+
},
|
|
4799
|
+
],
|
|
4800
|
+
required: [
|
|
4801
|
+
'interestId',
|
|
4802
|
+
'listingType',
|
|
4803
|
+
'propertyTypes',
|
|
4804
|
+
'recommendationCount',
|
|
4805
|
+
],
|
|
4806
|
+
};
|
|
4807
|
+
export const PagedModelCardSchema = {
|
|
4808
|
+
type: 'object',
|
|
4809
|
+
properties: {
|
|
4810
|
+
content: {
|
|
4811
|
+
type: 'array',
|
|
4812
|
+
items: {
|
|
4813
|
+
$ref: '#/components/schemas/Card',
|
|
4814
|
+
},
|
|
4815
|
+
},
|
|
4816
|
+
page: {
|
|
4817
|
+
$ref: '#/components/schemas/PageMetadata',
|
|
4818
|
+
},
|
|
4819
|
+
},
|
|
4820
|
+
};
|
|
4821
|
+
export const PreviewSchema = {
|
|
4822
|
+
discriminator: {
|
|
4823
|
+
propertyName: 'type',
|
|
4824
|
+
mapping: {
|
|
4825
|
+
PROPERTY: '#/components/schemas/PropertyPreview',
|
|
4826
|
+
INTEREST: '#/components/schemas/InterestPreview',
|
|
4827
|
+
},
|
|
4828
|
+
},
|
|
4829
|
+
properties: {
|
|
4830
|
+
type: {
|
|
4831
|
+
type: 'string',
|
|
4832
|
+
},
|
|
4833
|
+
},
|
|
4834
|
+
required: ['type'],
|
|
4835
|
+
};
|
|
4836
|
+
export const PropertyPreviewSchema = {
|
|
4837
|
+
allOf: [
|
|
4838
|
+
{
|
|
4839
|
+
$ref: '#/components/schemas/Preview',
|
|
4840
|
+
},
|
|
4841
|
+
{
|
|
4842
|
+
type: 'object',
|
|
4843
|
+
properties: {
|
|
4844
|
+
propertyId: {
|
|
4845
|
+
type: 'integer',
|
|
4846
|
+
format: 'int64',
|
|
4847
|
+
},
|
|
4848
|
+
propertyType: {
|
|
4849
|
+
type: 'string',
|
|
4850
|
+
enum: [
|
|
4851
|
+
'HOUSE',
|
|
4852
|
+
'TOWN_HOUSE',
|
|
4853
|
+
'COUNTRY_HOUSE',
|
|
4854
|
+
'VILLA',
|
|
4855
|
+
'COTTAGE',
|
|
4856
|
+
'APARTMENT',
|
|
4857
|
+
'DUPLEX',
|
|
4858
|
+
'TRIPLEX',
|
|
4859
|
+
'SEMI_BASEMENT',
|
|
4860
|
+
'ATTIC',
|
|
4861
|
+
'AGRICULTURAL_LAND',
|
|
4862
|
+
'RESIDENTIAL_LAND',
|
|
4863
|
+
'HOTEL_ROOM',
|
|
4864
|
+
'MOTEL_ROOM',
|
|
4865
|
+
'CO_LIVING_SPACE',
|
|
4866
|
+
'OFFICE',
|
|
4867
|
+
'COMMERCIAL_SPACE',
|
|
4868
|
+
'CO_WORKING_SPACE',
|
|
4869
|
+
'WAREHOUSE',
|
|
4870
|
+
'GARAGE',
|
|
4871
|
+
],
|
|
4872
|
+
},
|
|
4873
|
+
state: {
|
|
4874
|
+
type: 'string',
|
|
4875
|
+
enum: [
|
|
4876
|
+
'IN_REGISTRATION',
|
|
4877
|
+
'UNLISTED',
|
|
4878
|
+
'LISTED_INTERNALLY',
|
|
4879
|
+
'LISTED',
|
|
4880
|
+
'CLOSED',
|
|
4881
|
+
],
|
|
4882
|
+
},
|
|
4883
|
+
title: {
|
|
4884
|
+
type: 'string',
|
|
4885
|
+
},
|
|
4886
|
+
coverUrl: {
|
|
4887
|
+
type: 'string',
|
|
4888
|
+
},
|
|
4889
|
+
listingTypes: {
|
|
4890
|
+
type: 'array',
|
|
4891
|
+
items: {
|
|
4892
|
+
type: 'string',
|
|
4893
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
4894
|
+
},
|
|
4895
|
+
},
|
|
4896
|
+
},
|
|
4897
|
+
},
|
|
4898
|
+
],
|
|
4899
|
+
required: ['listingTypes', 'propertyId', 'propertyType', 'state'],
|
|
4900
|
+
};
|
|
4613
4901
|
export const AddressViewResponseSchema = {
|
|
4614
4902
|
type: 'object',
|
|
4615
4903
|
properties: {
|