@homespot-sdk/core 0.0.367 → 0.0.368

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.
@@ -759,7 +759,7 @@ export type AdminCheckoutRequest = {
759
759
  * AI messages the agency shares each month; 0 means no AI
760
760
  */
761
761
  aiMessages: number;
762
- features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
762
+ features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING' | 'UNBRANDED_POSTS'>;
763
763
  /**
764
764
  * Free-trial days; 0 charges immediately
765
765
  */
@@ -796,7 +796,7 @@ export type OrganizationSummaryViewResponse = {
796
796
  profilePictureUrl?: string;
797
797
  roleName: string;
798
798
  permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT' | 'MANAGE_BOARD' | 'MANAGE_DEAL' | 'DELETE_DEAL'>;
799
- status: 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE' | 'SUSPENDED';
799
+ status: 'NEW' | 'ACTIVE' | 'SUSPENDED';
800
800
  phone: string;
801
801
  isPhoneVerified: boolean;
802
802
  /**
@@ -1079,7 +1079,7 @@ export type SubscriptionResponse = {
1079
1079
  * AI messages the agency shares each month; 0 means no AI
1080
1080
  */
1081
1081
  aiMessages: number;
1082
- features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
1082
+ features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING' | 'UNBRANDED_POSTS'>;
1083
1083
  trialDays: number;
1084
1084
  status: 'PENDING' | 'TRIALING' | 'ACTIVE' | 'PAST_DUE' | 'CANCELLED' | 'EXPIRED' | 'SUPERSEDED';
1085
1085
  /**
@@ -1135,7 +1135,7 @@ export type PlanResponse = {
1135
1135
  activeListings: Usage;
1136
1136
  aiMessages: AiMessages;
1137
1137
  boards: Usage;
1138
- features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
1138
+ features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING' | 'UNBRANDED_POSTS'>;
1139
1139
  };
1140
1140
  export type Trial = {
1141
1141
  endsAt: Date;
@@ -1470,7 +1470,7 @@ export type PlanOffer = {
1470
1470
  * A month's AI messages, shared by the whole agency
1471
1471
  */
1472
1472
  aiMessages: number;
1473
- features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING'>;
1473
+ features: Array<'SOCIAL_POSTS' | 'AGENCY_BRANDING' | 'UNBRANDED_POSTS'>;
1474
1474
  };
1475
1475
  export type TrialOffer = {
1476
1476
  days: number;
@@ -1510,7 +1510,7 @@ export type AgencySummaryResponse = {
1510
1510
  subdomain: string;
1511
1511
  phone: string;
1512
1512
  establishedYear?: number;
1513
- status: 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE' | 'SUSPENDED';
1513
+ status: 'NEW' | 'ACTIVE' | 'SUSPENDED';
1514
1514
  logo?: string;
1515
1515
  theme?: number;
1516
1516
  };
@@ -1759,6 +1759,12 @@ export type ChannelReauthRequired = {
1759
1759
  displayName?: string;
1760
1760
  kind: 'CHANNEL_REAUTH_REQUIRED';
1761
1761
  };
1762
+ export type ChannelTakenOver = {
1763
+ connectionId?: ConnectionId;
1764
+ channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
1765
+ displayName?: string;
1766
+ kind: 'CHANNEL_TAKEN_OVER';
1767
+ };
1762
1768
  export type CommentId = {
1763
1769
  value?: string;
1764
1770
  };
@@ -1834,9 +1840,9 @@ export type NotificationFeed = {
1834
1840
  export type NotificationView = {
1835
1841
  id: string;
1836
1842
  seq: number;
1837
- type: 'AGENT_COMMENTED' | 'TASK_COMMENTED' | 'MEMBER_MENTIONED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED' | 'SUBSCRIPTION_PAYMENT_FAILED' | 'SUBSCRIPTION_ENDING' | 'SUBSCRIPTION_EXPIRED' | 'SUBSCRIPTION_PAYMENT_REVERSED' | 'TRIAL_ENDING' | 'TRIAL_ENDED' | 'DISCOUNT_ENDING' | 'AI_MESSAGES_RUNNING_LOW' | 'AI_MESSAGES_USED_UP' | 'CHANNEL_REAUTH_REQUIRED' | 'SOCIAL_POST_FAILED' | 'SOCIAL_POST_COMMENTED';
1843
+ type: 'AGENT_COMMENTED' | 'TASK_COMMENTED' | 'MEMBER_MENTIONED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED' | 'SUBSCRIPTION_PAYMENT_FAILED' | 'SUBSCRIPTION_ENDING' | 'SUBSCRIPTION_EXPIRED' | 'SUBSCRIPTION_PAYMENT_REVERSED' | 'TRIAL_ENDING' | 'TRIAL_ENDED' | 'DISCOUNT_ENDING' | 'AI_MESSAGES_RUNNING_LOW' | 'AI_MESSAGES_USED_UP' | 'CHANNEL_REAUTH_REQUIRED' | 'CHANNEL_TAKEN_OVER' | 'SOCIAL_POST_FAILED' | 'SOCIAL_POST_COMMENTED';
1838
1844
  targetId?: string;
1839
- payload: AgentCommented | AiMessagesRunningLow | AiMessagesUsedUp | ChannelReauthRequired | ContactAssigned | DiscountEnding | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented | TrialEnded | TrialEnding;
1845
+ payload: AgentCommented | AiMessagesRunningLow | AiMessagesUsedUp | ChannelReauthRequired | ChannelTakenOver | ContactAssigned | DiscountEnding | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented | TrialEnded | TrialEnding;
1840
1846
  /**
1841
1847
  * How many times this came while unread; the payload is the latest. For SOCIAL_POST_COMMENTED: the new comments on the post since its notification was last read. Starts again at 1 once read
1842
1848
  */
@@ -2170,7 +2176,7 @@ export type CursorPageMessageView = {
2170
2176
  export type ComposerLimits = {
2171
2177
  maxPhotos: number;
2172
2178
  /**
2173
- * In Unicode code points: an emoji counts once, as [...text].length counts in JavaScript (text.length counts it twice)
2179
+ * 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)
2174
2180
  */
2175
2181
  maxCaptionLength: number;
2176
2182
  /**
@@ -2204,6 +2210,10 @@ export type ComposerPreview = {
2204
2210
  * 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
2205
2211
  */
2206
2212
  caption: string;
2213
+ /**
2214
+ * 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
2215
+ */
2216
+ credit?: string;
2207
2217
  /**
2208
2218
  * The property group whose template the caption came from: the one an Edit template opens
2209
2219
  */
@@ -5335,7 +5345,7 @@ export type GetPublicAgencyData = {
5335
5345
  body?: never;
5336
5346
  path?: never;
5337
5347
  query?: {
5338
- status?: 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE' | 'SUSPENDED';
5348
+ status?: 'NEW' | 'ACTIVE' | 'SUSPENDED';
5339
5349
  /**
5340
5350
  * Zero-based page index (0..N)
5341
5351
  */