@homespot-sdk/core 0.0.367 → 0.0.369
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 +56 -8
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +57 -7
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +2 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +5 -0
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +43 -10
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +112 -16
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +56 -25
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -2526,7 +2526,7 @@ export const AdminCheckoutRequestSchema = {
|
|
|
2526
2526
|
type: 'array',
|
|
2527
2527
|
items: {
|
|
2528
2528
|
type: 'string',
|
|
2529
|
-
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING'],
|
|
2529
|
+
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING', 'UNBRANDED_POSTS'],
|
|
2530
2530
|
},
|
|
2531
2531
|
uniqueItems: true,
|
|
2532
2532
|
},
|
|
@@ -2643,7 +2643,7 @@ export const OrganizationSummaryViewResponseSchema = {
|
|
|
2643
2643
|
},
|
|
2644
2644
|
status: {
|
|
2645
2645
|
type: 'string',
|
|
2646
|
-
enum: ['NEW', 'ACTIVE', '
|
|
2646
|
+
enum: ['NEW', 'ACTIVE', 'SUSPENDED'],
|
|
2647
2647
|
},
|
|
2648
2648
|
phone: {
|
|
2649
2649
|
type: 'string',
|
|
@@ -3900,7 +3900,7 @@ export const SubscriptionResponseSchema = {
|
|
|
3900
3900
|
type: 'array',
|
|
3901
3901
|
items: {
|
|
3902
3902
|
type: 'string',
|
|
3903
|
-
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING'],
|
|
3903
|
+
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING', 'UNBRANDED_POSTS'],
|
|
3904
3904
|
},
|
|
3905
3905
|
uniqueItems: true,
|
|
3906
3906
|
},
|
|
@@ -4042,7 +4042,7 @@ export const PlanResponseSchema = {
|
|
|
4042
4042
|
type: 'array',
|
|
4043
4043
|
items: {
|
|
4044
4044
|
type: 'string',
|
|
4045
|
-
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING'],
|
|
4045
|
+
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING', 'UNBRANDED_POSTS'],
|
|
4046
4046
|
},
|
|
4047
4047
|
uniqueItems: true,
|
|
4048
4048
|
},
|
|
@@ -5251,7 +5251,7 @@ export const PlanOfferSchema = {
|
|
|
5251
5251
|
type: 'array',
|
|
5252
5252
|
items: {
|
|
5253
5253
|
type: 'string',
|
|
5254
|
-
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING'],
|
|
5254
|
+
enum: ['SOCIAL_POSTS', 'AGENCY_BRANDING', 'UNBRANDED_POSTS'],
|
|
5255
5255
|
},
|
|
5256
5256
|
uniqueItems: true,
|
|
5257
5257
|
},
|
|
@@ -5402,7 +5402,7 @@ export const AgencySummaryResponseSchema = {
|
|
|
5402
5402
|
},
|
|
5403
5403
|
status: {
|
|
5404
5404
|
type: 'string',
|
|
5405
|
-
enum: ['NEW', 'ACTIVE', '
|
|
5405
|
+
enum: ['NEW', 'ACTIVE', 'SUSPENDED'],
|
|
5406
5406
|
},
|
|
5407
5407
|
logo: {
|
|
5408
5408
|
type: 'string',
|
|
@@ -6175,6 +6175,25 @@ export const ChannelReauthRequiredSchema = {
|
|
|
6175
6175
|
},
|
|
6176
6176
|
required: ['kind'],
|
|
6177
6177
|
};
|
|
6178
|
+
export const ChannelTakenOverSchema = {
|
|
6179
|
+
properties: {
|
|
6180
|
+
connectionId: {
|
|
6181
|
+
$ref: '#/components/schemas/ConnectionId',
|
|
6182
|
+
},
|
|
6183
|
+
channelType: {
|
|
6184
|
+
type: 'string',
|
|
6185
|
+
enum: ['FACEBOOK', 'INSTAGRAM', 'WHATSAPP', 'TIKTOK'],
|
|
6186
|
+
},
|
|
6187
|
+
displayName: {
|
|
6188
|
+
type: 'string',
|
|
6189
|
+
},
|
|
6190
|
+
kind: {
|
|
6191
|
+
type: 'string',
|
|
6192
|
+
enum: ['CHANNEL_TAKEN_OVER'],
|
|
6193
|
+
},
|
|
6194
|
+
},
|
|
6195
|
+
required: ['kind'],
|
|
6196
|
+
};
|
|
6178
6197
|
export const CommentIdSchema = {
|
|
6179
6198
|
type: 'object',
|
|
6180
6199
|
properties: {
|
|
@@ -6414,6 +6433,7 @@ export const NotificationContentSchema = {
|
|
|
6414
6433
|
AI_MESSAGES_RUNNING_LOW: '#/components/schemas/AiMessagesRunningLow',
|
|
6415
6434
|
AI_MESSAGES_USED_UP: '#/components/schemas/AiMessagesUsedUp',
|
|
6416
6435
|
CHANNEL_REAUTH_REQUIRED: '#/components/schemas/ChannelReauthRequired',
|
|
6436
|
+
CHANNEL_TAKEN_OVER: '#/components/schemas/ChannelTakenOver',
|
|
6417
6437
|
SOCIAL_POST_FAILED: '#/components/schemas/SocialPostFailed',
|
|
6418
6438
|
SOCIAL_POST_COMMENTED: '#/components/schemas/SocialPostCommented',
|
|
6419
6439
|
},
|
|
@@ -6465,6 +6485,7 @@ export const NotificationViewSchema = {
|
|
|
6465
6485
|
'AI_MESSAGES_RUNNING_LOW',
|
|
6466
6486
|
'AI_MESSAGES_USED_UP',
|
|
6467
6487
|
'CHANNEL_REAUTH_REQUIRED',
|
|
6488
|
+
'CHANNEL_TAKEN_OVER',
|
|
6468
6489
|
'SOCIAL_POST_FAILED',
|
|
6469
6490
|
'SOCIAL_POST_COMMENTED',
|
|
6470
6491
|
],
|
|
@@ -6486,6 +6507,9 @@ export const NotificationViewSchema = {
|
|
|
6486
6507
|
{
|
|
6487
6508
|
$ref: '#/components/schemas/ChannelReauthRequired',
|
|
6488
6509
|
},
|
|
6510
|
+
{
|
|
6511
|
+
$ref: '#/components/schemas/ChannelTakenOver',
|
|
6512
|
+
},
|
|
6489
6513
|
{
|
|
6490
6514
|
$ref: '#/components/schemas/ContactAssigned',
|
|
6491
6515
|
},
|
|
@@ -7805,7 +7829,7 @@ export const ComposerLimitsSchema = {
|
|
|
7805
7829
|
maxCaptionLength: {
|
|
7806
7830
|
type: 'integer',
|
|
7807
7831
|
format: 'int32',
|
|
7808
|
-
description: 'In Unicode code points: an emoji counts once, as [...text].length counts in JavaScript (text.length counts it twice)
|
|
7832
|
+
description: "Of the agent's text, with room left for the credit when there is one. In Unicode code points: an emoji counts once, as [...text].length counts in JavaScript (text.length counts it twice)",
|
|
7809
7833
|
},
|
|
7810
7834
|
maxHashtags: {
|
|
7811
7835
|
type: 'integer',
|
|
@@ -7858,6 +7882,10 @@ export const ComposerPreviewSchema = {
|
|
|
7858
7882
|
type: 'string',
|
|
7859
7883
|
description: "The agency's text for the property's group (HomeSpot's until it writes one), filled in from the listing; a line with a fact the listing lacks is left out",
|
|
7860
7884
|
},
|
|
7885
|
+
credit: {
|
|
7886
|
+
type: 'string',
|
|
7887
|
+
description: "HomeSpot's line, which publishing adds under the text on a plan without UNBRANDED_POSTS (Free and Plus): show it under the text box, where the agent can't edit it, and don't send it with the caption. Null on a plan that can take it out (Pro): there it is in the caption, as text",
|
|
7888
|
+
},
|
|
7861
7889
|
group: {
|
|
7862
7890
|
type: 'string',
|
|
7863
7891
|
description: 'The property group whose template the caption came from: the one an Edit template opens',
|
|
@@ -8746,6 +8774,28 @@ export const TodoTemplateResponseSchema = {
|
|
|
8746
8774
|
},
|
|
8747
8775
|
required: ['position', 'templateId', 'title'],
|
|
8748
8776
|
};
|
|
8777
|
+
export const StageTaskCountResponseSchema = {
|
|
8778
|
+
type: 'object',
|
|
8779
|
+
properties: {
|
|
8780
|
+
stageId: {
|
|
8781
|
+
type: 'string',
|
|
8782
|
+
format: 'uuid',
|
|
8783
|
+
},
|
|
8784
|
+
open: {
|
|
8785
|
+
type: 'integer',
|
|
8786
|
+
format: 'int64',
|
|
8787
|
+
},
|
|
8788
|
+
won: {
|
|
8789
|
+
type: 'integer',
|
|
8790
|
+
format: 'int64',
|
|
8791
|
+
},
|
|
8792
|
+
lost: {
|
|
8793
|
+
type: 'integer',
|
|
8794
|
+
format: 'int64',
|
|
8795
|
+
},
|
|
8796
|
+
},
|
|
8797
|
+
required: ['lost', 'open', 'stageId', 'won'],
|
|
8798
|
+
};
|
|
8749
8799
|
export const AddressViewResponseSchema = {
|
|
8750
8800
|
type: 'object',
|
|
8751
8801
|
properties: {
|