@homespot-sdk/core 1.0.2 → 1.0.5
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 +134 -112
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +142 -112
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +22 -10
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +80 -43
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +13 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +223 -89
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +188 -570
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +164 -79
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -14,6 +14,8 @@ export const ThemeRequestSchema = {
|
|
|
14
14
|
primaryColor: {
|
|
15
15
|
type: 'integer',
|
|
16
16
|
format: 'int32',
|
|
17
|
+
maximum: 360,
|
|
18
|
+
minimum: 0,
|
|
17
19
|
},
|
|
18
20
|
},
|
|
19
21
|
required: ['primaryColor'],
|
|
@@ -40,89 +42,59 @@ export const SocialMediasRequestSchema = {
|
|
|
40
42
|
$ref: '#/components/schemas/SocialMediaRequest',
|
|
41
43
|
},
|
|
42
44
|
maxItems: 6,
|
|
43
|
-
minItems:
|
|
45
|
+
minItems: 0,
|
|
44
46
|
},
|
|
45
47
|
},
|
|
46
48
|
required: ['data'],
|
|
47
49
|
};
|
|
48
|
-
export const
|
|
50
|
+
export const UpdateFeaturedMembersRequestSchema = {
|
|
49
51
|
type: 'object',
|
|
50
52
|
properties: {
|
|
51
|
-
|
|
53
|
+
memberIds: {
|
|
52
54
|
type: 'array',
|
|
53
55
|
items: {
|
|
54
|
-
|
|
56
|
+
type: 'string',
|
|
57
|
+
format: 'uuid',
|
|
55
58
|
},
|
|
56
|
-
maxItems:
|
|
57
|
-
minItems:
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
required: ['data'],
|
|
61
|
-
};
|
|
62
|
-
export const TextRequestSchema = {
|
|
63
|
-
type: 'object',
|
|
64
|
-
properties: {
|
|
65
|
-
language: {
|
|
66
|
-
type: 'string',
|
|
67
|
-
enum: ['ka', 'en', 'ru'],
|
|
68
|
-
},
|
|
69
|
-
text: {
|
|
70
|
-
type: 'string',
|
|
59
|
+
maxItems: 50,
|
|
60
|
+
minItems: 0,
|
|
71
61
|
},
|
|
72
62
|
},
|
|
73
|
-
required: ['
|
|
63
|
+
required: ['memberIds'],
|
|
74
64
|
};
|
|
75
|
-
export const
|
|
65
|
+
export const EstablishedYearRequestSchema = {
|
|
76
66
|
type: 'object',
|
|
77
67
|
properties: {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
body: {
|
|
82
|
-
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
68
|
+
year: {
|
|
69
|
+
type: 'integer',
|
|
70
|
+
format: 'int32',
|
|
83
71
|
},
|
|
84
72
|
},
|
|
85
|
-
required: ['
|
|
73
|
+
required: ['year'],
|
|
86
74
|
};
|
|
87
|
-
export const
|
|
75
|
+
export const UpdateWhitelabelContentRequestSchema = {
|
|
88
76
|
type: 'object',
|
|
89
77
|
properties: {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
name: {
|
|
94
|
-
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
95
|
-
},
|
|
96
|
-
status: {
|
|
97
|
-
$ref: '#/components/schemas/MultiLangTextRequest',
|
|
78
|
+
content: {
|
|
79
|
+
type: 'object',
|
|
80
|
+
additionalProperties: {},
|
|
98
81
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
export const UpdateFeaturedMembersRequestSchema = {
|
|
103
|
-
type: 'object',
|
|
104
|
-
properties: {
|
|
105
|
-
memberIds: {
|
|
106
|
-
type: 'array',
|
|
107
|
-
items: {
|
|
108
|
-
type: 'string',
|
|
109
|
-
format: 'uuid',
|
|
110
|
-
},
|
|
111
|
-
maxItems: 50,
|
|
112
|
-
minItems: 0,
|
|
82
|
+
contentVersion: {
|
|
83
|
+
type: 'integer',
|
|
84
|
+
format: 'int32',
|
|
113
85
|
},
|
|
114
86
|
},
|
|
115
|
-
required: ['
|
|
87
|
+
required: ['content', 'contentVersion'],
|
|
116
88
|
};
|
|
117
|
-
export const
|
|
89
|
+
export const WhitelabelContentSavedResponseSchema = {
|
|
118
90
|
type: 'object',
|
|
119
91
|
properties: {
|
|
120
|
-
|
|
92
|
+
contentVersion: {
|
|
121
93
|
type: 'integer',
|
|
122
94
|
format: 'int32',
|
|
123
95
|
},
|
|
124
96
|
},
|
|
125
|
-
required: ['
|
|
97
|
+
required: ['contentVersion'],
|
|
126
98
|
};
|
|
127
99
|
export const VerifyPhoneRequestSchema = {
|
|
128
100
|
type: 'object',
|
|
@@ -777,6 +749,44 @@ export const ReorderStagesRequestSchema = {
|
|
|
777
749
|
},
|
|
778
750
|
required: ['stageIds'],
|
|
779
751
|
};
|
|
752
|
+
export const VideoRequestSchema = {
|
|
753
|
+
type: 'object',
|
|
754
|
+
properties: {
|
|
755
|
+
title: {
|
|
756
|
+
type: 'string',
|
|
757
|
+
maxLength: 200,
|
|
758
|
+
minLength: 0,
|
|
759
|
+
},
|
|
760
|
+
description: {
|
|
761
|
+
type: 'string',
|
|
762
|
+
maxLength: 2000,
|
|
763
|
+
minLength: 0,
|
|
764
|
+
},
|
|
765
|
+
videoKey: {
|
|
766
|
+
type: 'string',
|
|
767
|
+
description: "The video's object key in the guides bucket",
|
|
768
|
+
example: 'HomeSpot_Guide01_Contact_Registration_KA.mp4',
|
|
769
|
+
maxLength: 1024,
|
|
770
|
+
minLength: 0,
|
|
771
|
+
pattern: '^(?!https?://)[^/].*$',
|
|
772
|
+
},
|
|
773
|
+
},
|
|
774
|
+
required: ['title', 'videoKey'],
|
|
775
|
+
};
|
|
776
|
+
export const OrderRequestSchema = {
|
|
777
|
+
type: 'object',
|
|
778
|
+
properties: {
|
|
779
|
+
ids: {
|
|
780
|
+
type: 'array',
|
|
781
|
+
description: "Every video's id, first shown first",
|
|
782
|
+
items: {
|
|
783
|
+
type: 'string',
|
|
784
|
+
format: 'uuid',
|
|
785
|
+
},
|
|
786
|
+
},
|
|
787
|
+
},
|
|
788
|
+
required: ['ids'],
|
|
789
|
+
};
|
|
780
790
|
export const AddressRequestSchema = {
|
|
781
791
|
type: 'object',
|
|
782
792
|
properties: {
|
|
@@ -942,6 +952,19 @@ export const PlanLimitResponseSchema = {
|
|
|
942
952
|
},
|
|
943
953
|
required: ['limit'],
|
|
944
954
|
};
|
|
955
|
+
export const WhitelabelImageResponseSchema = {
|
|
956
|
+
type: 'object',
|
|
957
|
+
properties: {
|
|
958
|
+
id: {
|
|
959
|
+
type: 'string',
|
|
960
|
+
format: 'uuid',
|
|
961
|
+
},
|
|
962
|
+
url: {
|
|
963
|
+
type: 'string',
|
|
964
|
+
},
|
|
965
|
+
},
|
|
966
|
+
required: ['id', 'url'],
|
|
967
|
+
};
|
|
945
968
|
export const ConnectLinkResponseSchema = {
|
|
946
969
|
type: 'object',
|
|
947
970
|
properties: {
|
|
@@ -2599,6 +2622,16 @@ export const AdminCheckoutResponseSchema = {
|
|
|
2599
2622
|
},
|
|
2600
2623
|
},
|
|
2601
2624
|
};
|
|
2625
|
+
export const CreatedSchema = {
|
|
2626
|
+
type: 'object',
|
|
2627
|
+
properties: {
|
|
2628
|
+
id: {
|
|
2629
|
+
type: 'string',
|
|
2630
|
+
format: 'uuid',
|
|
2631
|
+
},
|
|
2632
|
+
},
|
|
2633
|
+
required: ['id'],
|
|
2634
|
+
};
|
|
2602
2635
|
export const PositionTaskRequestSchema = {
|
|
2603
2636
|
type: 'object',
|
|
2604
2637
|
properties: {
|
|
@@ -5534,46 +5567,6 @@ export const MemberResponseSchema = {
|
|
|
5534
5567
|
},
|
|
5535
5568
|
required: ['email', 'firstName', 'lastName', 'memberId'],
|
|
5536
5569
|
};
|
|
5537
|
-
export const ReviewResponseSchema = {
|
|
5538
|
-
type: 'object',
|
|
5539
|
-
properties: {
|
|
5540
|
-
quote: {
|
|
5541
|
-
type: 'array',
|
|
5542
|
-
items: {
|
|
5543
|
-
$ref: '#/components/schemas/LangTextResponse',
|
|
5544
|
-
},
|
|
5545
|
-
},
|
|
5546
|
-
name: {
|
|
5547
|
-
type: 'array',
|
|
5548
|
-
items: {
|
|
5549
|
-
$ref: '#/components/schemas/LangTextResponse',
|
|
5550
|
-
},
|
|
5551
|
-
},
|
|
5552
|
-
status: {
|
|
5553
|
-
type: 'array',
|
|
5554
|
-
items: {
|
|
5555
|
-
$ref: '#/components/schemas/LangTextResponse',
|
|
5556
|
-
},
|
|
5557
|
-
},
|
|
5558
|
-
},
|
|
5559
|
-
};
|
|
5560
|
-
export const SegmentResponseSchema = {
|
|
5561
|
-
type: 'object',
|
|
5562
|
-
properties: {
|
|
5563
|
-
title: {
|
|
5564
|
-
type: 'array',
|
|
5565
|
-
items: {
|
|
5566
|
-
$ref: '#/components/schemas/LangTextResponse',
|
|
5567
|
-
},
|
|
5568
|
-
},
|
|
5569
|
-
body: {
|
|
5570
|
-
type: 'array',
|
|
5571
|
-
items: {
|
|
5572
|
-
$ref: '#/components/schemas/LangTextResponse',
|
|
5573
|
-
},
|
|
5574
|
-
},
|
|
5575
|
-
},
|
|
5576
|
-
};
|
|
5577
5570
|
export const SocialLinkResponseSchema = {
|
|
5578
5571
|
type: 'object',
|
|
5579
5572
|
properties: {
|
|
@@ -5603,33 +5596,32 @@ export const WhitelabelResponseSchema = {
|
|
|
5603
5596
|
coverUrl: {
|
|
5604
5597
|
type: 'string',
|
|
5605
5598
|
},
|
|
5606
|
-
|
|
5607
|
-
|
|
5599
|
+
content: {
|
|
5600
|
+
type: 'object',
|
|
5601
|
+
additionalProperties: {},
|
|
5602
|
+
description: "The site's text and layout, as the frontend last saved them; empty until then",
|
|
5603
|
+
},
|
|
5604
|
+
contentVersion: {
|
|
5605
|
+
type: 'integer',
|
|
5606
|
+
format: 'int32',
|
|
5607
|
+
description: 'Sent back with the next content save',
|
|
5608
|
+
},
|
|
5609
|
+
images: {
|
|
5610
|
+
type: 'object',
|
|
5611
|
+
additionalProperties: {
|
|
5612
|
+
type: 'string',
|
|
5613
|
+
},
|
|
5614
|
+
description: 'The URL of each image the content can point at, by image id',
|
|
5608
5615
|
},
|
|
5609
5616
|
stats: {
|
|
5610
5617
|
$ref: '#/components/schemas/AgencyStatsResponse',
|
|
5611
5618
|
},
|
|
5612
|
-
ourTeam: {
|
|
5613
|
-
$ref: '#/components/schemas/SegmentResponse',
|
|
5614
|
-
},
|
|
5615
5619
|
members: {
|
|
5616
5620
|
type: 'array',
|
|
5617
5621
|
items: {
|
|
5618
5622
|
$ref: '#/components/schemas/MemberResponse',
|
|
5619
5623
|
},
|
|
5620
5624
|
},
|
|
5621
|
-
review: {
|
|
5622
|
-
$ref: '#/components/schemas/SegmentResponse',
|
|
5623
|
-
},
|
|
5624
|
-
reviews: {
|
|
5625
|
-
type: 'array',
|
|
5626
|
-
items: {
|
|
5627
|
-
$ref: '#/components/schemas/ReviewResponse',
|
|
5628
|
-
},
|
|
5629
|
-
},
|
|
5630
|
-
contactUs: {
|
|
5631
|
-
$ref: '#/components/schemas/SegmentResponse',
|
|
5632
|
-
},
|
|
5633
5625
|
agencyInfo: {
|
|
5634
5626
|
$ref: '#/components/schemas/AgencyContactInfoResponse',
|
|
5635
5627
|
},
|
|
@@ -5643,7 +5635,15 @@ export const WhitelabelResponseSchema = {
|
|
|
5643
5635
|
type: 'string',
|
|
5644
5636
|
},
|
|
5645
5637
|
},
|
|
5646
|
-
required: [
|
|
5638
|
+
required: [
|
|
5639
|
+
'content',
|
|
5640
|
+
'contentVersion',
|
|
5641
|
+
'images',
|
|
5642
|
+
'members',
|
|
5643
|
+
'name',
|
|
5644
|
+
'stats',
|
|
5645
|
+
'theme',
|
|
5646
|
+
],
|
|
5647
5647
|
};
|
|
5648
5648
|
export const AgreementResponseSchema = {
|
|
5649
5649
|
type: 'object',
|
|
@@ -7673,6 +7673,36 @@ export const InboxResponseSchema = {
|
|
|
7673
7673
|
},
|
|
7674
7674
|
},
|
|
7675
7675
|
};
|
|
7676
|
+
export const GuideVideoViewSchema = {
|
|
7677
|
+
type: 'object',
|
|
7678
|
+
properties: {
|
|
7679
|
+
id: {
|
|
7680
|
+
type: 'string',
|
|
7681
|
+
format: 'uuid',
|
|
7682
|
+
},
|
|
7683
|
+
title: {
|
|
7684
|
+
type: 'string',
|
|
7685
|
+
},
|
|
7686
|
+
description: {
|
|
7687
|
+
type: 'string',
|
|
7688
|
+
},
|
|
7689
|
+
videoUrl: {
|
|
7690
|
+
type: 'string',
|
|
7691
|
+
description: 'Plays straight from the guides bucket',
|
|
7692
|
+
},
|
|
7693
|
+
startedAt: {
|
|
7694
|
+
type: 'string',
|
|
7695
|
+
format: 'date-time',
|
|
7696
|
+
description: 'When the user first played it; null if never',
|
|
7697
|
+
},
|
|
7698
|
+
finishedAt: {
|
|
7699
|
+
type: 'string',
|
|
7700
|
+
format: 'date-time',
|
|
7701
|
+
description: 'When the user first watched past 80% of it; null if not yet',
|
|
7702
|
+
},
|
|
7703
|
+
},
|
|
7704
|
+
required: ['id', 'title', 'videoUrl'],
|
|
7705
|
+
};
|
|
7676
7706
|
export const ImageSchema = {
|
|
7677
7707
|
properties: {
|
|
7678
7708
|
urls: {
|