@homespot-sdk/core 1.0.1 → 1.0.2
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 +1 -1
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/schemas.gen.d.ts +9 -32
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +8 -34
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +11 -11
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +2 -55
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +1 -11
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -336,7 +336,7 @@ export type AttributionRequest = {
|
|
|
336
336
|
};
|
|
337
337
|
export type SubscribeRequest = {
|
|
338
338
|
/**
|
|
339
|
-
* PLUS or PRO to check out right away
|
|
339
|
+
* PLUS or PRO to check out right away (PRO starts with the trial: the card is verified, and charged when it ends); FREE or absent to start on Free only
|
|
340
340
|
*/
|
|
341
341
|
plan?: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
342
342
|
/**
|
|
@@ -1154,9 +1154,13 @@ export type PlanResponse = {
|
|
|
1154
1154
|
*/
|
|
1155
1155
|
canManage: boolean;
|
|
1156
1156
|
/**
|
|
1157
|
-
* Present only during the trial
|
|
1157
|
+
* Present only during the trial, while its own AI allowance applies: from the card's verification to the first charge
|
|
1158
1158
|
*/
|
|
1159
1159
|
trial?: Trial;
|
|
1160
|
+
/**
|
|
1161
|
+
* Whether checking out the catalog's trial plan starts the trial: true until one of the agency's subscriptions has started
|
|
1162
|
+
*/
|
|
1163
|
+
trialAvailable: boolean;
|
|
1160
1164
|
/**
|
|
1161
1165
|
* The subscription access comes from; absent on Free
|
|
1162
1166
|
*/
|
|
@@ -1488,6 +1492,9 @@ export type CatalogResponse = {
|
|
|
1488
1492
|
* Enterprise's lowest monthly price; every deal is priced individually
|
|
1489
1493
|
*/
|
|
1490
1494
|
enterpriseFromMonthly: Amount;
|
|
1495
|
+
/**
|
|
1496
|
+
* What an agency's first checkout of the plan starts with: Flitt verifies the card and charges when the trial ends
|
|
1497
|
+
*/
|
|
1491
1498
|
trial: TrialOffer;
|
|
1492
1499
|
};
|
|
1493
1500
|
export type PlanOffer = {
|
|
@@ -1870,9 +1877,9 @@ export type NotificationFeed = {
|
|
|
1870
1877
|
export type NotificationView = {
|
|
1871
1878
|
id: string;
|
|
1872
1879
|
seq: number;
|
|
1873
|
-
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' | '
|
|
1880
|
+
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' | 'DISCOUNT_ENDING' | 'AI_MESSAGES_RUNNING_LOW' | 'AI_MESSAGES_USED_UP' | 'CHANNEL_REAUTH_REQUIRED' | 'CHANNEL_TAKEN_OVER' | 'SOCIAL_POST_FAILED' | 'SOCIAL_POST_COMMENTED';
|
|
1874
1881
|
targetId?: string;
|
|
1875
|
-
payload: AgentCommented | AiMessagesRunningLow | AiMessagesUsedUp | ChannelReauthRequired | ChannelTakenOver | ContactAssigned | DiscountEnding | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented
|
|
1882
|
+
payload: AgentCommented | AiMessagesRunningLow | AiMessagesUsedUp | ChannelReauthRequired | ChannelTakenOver | ContactAssigned | DiscountEnding | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented;
|
|
1876
1883
|
/**
|
|
1877
1884
|
* 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
|
|
1878
1885
|
*/
|
|
@@ -1946,13 +1953,6 @@ export type TaskCommented = {
|
|
|
1946
1953
|
export type TaskId = {
|
|
1947
1954
|
value?: string;
|
|
1948
1955
|
};
|
|
1949
|
-
export type TrialEnded = {
|
|
1950
|
-
kind: 'TRIAL_ENDED';
|
|
1951
|
-
};
|
|
1952
|
-
export type TrialEnding = {
|
|
1953
|
-
endsAt?: Date;
|
|
1954
|
-
kind: 'TRIAL_ENDING';
|
|
1955
|
-
};
|
|
1956
1956
|
export type UnreadCount = {
|
|
1957
1957
|
count: number;
|
|
1958
1958
|
};
|