@homespot-sdk/core 1.0.1 → 1.0.3
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 +87 -32
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +86 -34
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +18 -5
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +59 -5
- 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 +144 -11
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +111 -55
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +95 -11
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -229,6 +229,20 @@ export type RecolorStageRequest = {
|
|
|
229
229
|
export type ReorderStagesRequest = {
|
|
230
230
|
stageIds: Array<string>;
|
|
231
231
|
};
|
|
232
|
+
export type VideoRequest = {
|
|
233
|
+
title: string;
|
|
234
|
+
description?: string;
|
|
235
|
+
/**
|
|
236
|
+
* The video's object key in the guides bucket
|
|
237
|
+
*/
|
|
238
|
+
videoKey: string;
|
|
239
|
+
};
|
|
240
|
+
export type OrderRequest = {
|
|
241
|
+
/**
|
|
242
|
+
* Every video's id, first shown first
|
|
243
|
+
*/
|
|
244
|
+
ids: Array<string>;
|
|
245
|
+
};
|
|
232
246
|
export type AddressRequest = {
|
|
233
247
|
country: string;
|
|
234
248
|
city: string;
|
|
@@ -336,7 +350,7 @@ export type AttributionRequest = {
|
|
|
336
350
|
};
|
|
337
351
|
export type SubscribeRequest = {
|
|
338
352
|
/**
|
|
339
|
-
* PLUS or PRO to check out right away
|
|
353
|
+
* 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
354
|
*/
|
|
341
355
|
plan?: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
|
|
342
356
|
/**
|
|
@@ -803,6 +817,9 @@ export type AdminCheckoutResponse = {
|
|
|
803
817
|
checkoutUrl?: string;
|
|
804
818
|
subscriptionId?: string;
|
|
805
819
|
};
|
|
820
|
+
export type Created = {
|
|
821
|
+
id: string;
|
|
822
|
+
};
|
|
806
823
|
export type PositionTaskRequest = {
|
|
807
824
|
targetStageId: string;
|
|
808
825
|
/**
|
|
@@ -1154,9 +1171,13 @@ export type PlanResponse = {
|
|
|
1154
1171
|
*/
|
|
1155
1172
|
canManage: boolean;
|
|
1156
1173
|
/**
|
|
1157
|
-
* Present only during the trial
|
|
1174
|
+
* Present only during the trial, while its own AI allowance applies: from the card's verification to the first charge
|
|
1158
1175
|
*/
|
|
1159
1176
|
trial?: Trial;
|
|
1177
|
+
/**
|
|
1178
|
+
* Whether checking out the catalog's trial plan starts the trial: true until one of the agency's subscriptions has started
|
|
1179
|
+
*/
|
|
1180
|
+
trialAvailable: boolean;
|
|
1160
1181
|
/**
|
|
1161
1182
|
* The subscription access comes from; absent on Free
|
|
1162
1183
|
*/
|
|
@@ -1488,6 +1509,9 @@ export type CatalogResponse = {
|
|
|
1488
1509
|
* Enterprise's lowest monthly price; every deal is priced individually
|
|
1489
1510
|
*/
|
|
1490
1511
|
enterpriseFromMonthly: Amount;
|
|
1512
|
+
/**
|
|
1513
|
+
* What an agency's first checkout of the plan starts with: Flitt verifies the card and charges when the trial ends
|
|
1514
|
+
*/
|
|
1491
1515
|
trial: TrialOffer;
|
|
1492
1516
|
};
|
|
1493
1517
|
export type PlanOffer = {
|
|
@@ -1870,9 +1894,9 @@ export type NotificationFeed = {
|
|
|
1870
1894
|
export type NotificationView = {
|
|
1871
1895
|
id: string;
|
|
1872
1896
|
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' | '
|
|
1897
|
+
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
1898
|
targetId?: string;
|
|
1875
|
-
payload: AgentCommented | AiMessagesRunningLow | AiMessagesUsedUp | ChannelReauthRequired | ChannelTakenOver | ContactAssigned | DiscountEnding | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented
|
|
1899
|
+
payload: AgentCommented | AiMessagesRunningLow | AiMessagesUsedUp | ChannelReauthRequired | ChannelTakenOver | ContactAssigned | DiscountEnding | ListingExpired | MemberMentioned | NewMessage | NewSeekerRating | SocialPostCommented | SocialPostFailed | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented;
|
|
1876
1900
|
/**
|
|
1877
1901
|
* 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
1902
|
*/
|
|
@@ -1946,13 +1970,6 @@ export type TaskCommented = {
|
|
|
1946
1970
|
export type TaskId = {
|
|
1947
1971
|
value?: string;
|
|
1948
1972
|
};
|
|
1949
|
-
export type TrialEnded = {
|
|
1950
|
-
kind: 'TRIAL_ENDED';
|
|
1951
|
-
};
|
|
1952
|
-
export type TrialEnding = {
|
|
1953
|
-
endsAt?: Date;
|
|
1954
|
-
kind: 'TRIAL_ENDING';
|
|
1955
|
-
};
|
|
1956
1973
|
export type UnreadCount = {
|
|
1957
1974
|
count: number;
|
|
1958
1975
|
};
|
|
@@ -2157,6 +2174,23 @@ export type InboxResponse = {
|
|
|
2157
2174
|
memberLastName?: string;
|
|
2158
2175
|
memberPicture?: string;
|
|
2159
2176
|
};
|
|
2177
|
+
export type GuideVideoView = {
|
|
2178
|
+
id: string;
|
|
2179
|
+
title: string;
|
|
2180
|
+
description?: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* Plays straight from the guides bucket
|
|
2183
|
+
*/
|
|
2184
|
+
videoUrl: string;
|
|
2185
|
+
/**
|
|
2186
|
+
* When the user first played it; null if never
|
|
2187
|
+
*/
|
|
2188
|
+
startedAt?: Date;
|
|
2189
|
+
/**
|
|
2190
|
+
* When the user first watched past 80% of it; null if not yet
|
|
2191
|
+
*/
|
|
2192
|
+
finishedAt?: Date;
|
|
2193
|
+
};
|
|
2160
2194
|
export type Image = {
|
|
2161
2195
|
urls?: Array<string>;
|
|
2162
2196
|
kind: 'IMAGE';
|
|
@@ -3527,6 +3561,49 @@ export type PutBoardByBoardIdRenameResponses = {
|
|
|
3527
3561
|
204: void;
|
|
3528
3562
|
};
|
|
3529
3563
|
export type PutBoardByBoardIdRenameResponse = PutBoardByBoardIdRenameResponses[keyof PutBoardByBoardIdRenameResponses];
|
|
3564
|
+
export type DeleteApiAdminGuideVideosByIdData = {
|
|
3565
|
+
body?: never;
|
|
3566
|
+
path: {
|
|
3567
|
+
id: string;
|
|
3568
|
+
};
|
|
3569
|
+
query?: never;
|
|
3570
|
+
url: '/api/admin/guide-videos/{id}';
|
|
3571
|
+
};
|
|
3572
|
+
export type DeleteApiAdminGuideVideosByIdResponses = {
|
|
3573
|
+
/**
|
|
3574
|
+
* No Content
|
|
3575
|
+
*/
|
|
3576
|
+
204: void;
|
|
3577
|
+
};
|
|
3578
|
+
export type DeleteApiAdminGuideVideosByIdResponse = DeleteApiAdminGuideVideosByIdResponses[keyof DeleteApiAdminGuideVideosByIdResponses];
|
|
3579
|
+
export type PutApiAdminGuideVideosByIdData = {
|
|
3580
|
+
body: VideoRequest;
|
|
3581
|
+
path: {
|
|
3582
|
+
id: string;
|
|
3583
|
+
};
|
|
3584
|
+
query?: never;
|
|
3585
|
+
url: '/api/admin/guide-videos/{id}';
|
|
3586
|
+
};
|
|
3587
|
+
export type PutApiAdminGuideVideosByIdResponses = {
|
|
3588
|
+
/**
|
|
3589
|
+
* No Content
|
|
3590
|
+
*/
|
|
3591
|
+
204: void;
|
|
3592
|
+
};
|
|
3593
|
+
export type PutApiAdminGuideVideosByIdResponse = PutApiAdminGuideVideosByIdResponses[keyof PutApiAdminGuideVideosByIdResponses];
|
|
3594
|
+
export type PutApiAdminGuideVideosOrderData = {
|
|
3595
|
+
body: OrderRequest;
|
|
3596
|
+
path?: never;
|
|
3597
|
+
query?: never;
|
|
3598
|
+
url: '/api/admin/guide-videos/order';
|
|
3599
|
+
};
|
|
3600
|
+
export type PutApiAdminGuideVideosOrderResponses = {
|
|
3601
|
+
/**
|
|
3602
|
+
* No Content
|
|
3603
|
+
*/
|
|
3604
|
+
204: void;
|
|
3605
|
+
};
|
|
3606
|
+
export type PutApiAdminGuideVideosOrderResponse = PutApiAdminGuideVideosOrderResponses[keyof PutApiAdminGuideVideosOrderResponses];
|
|
3530
3607
|
export type PutAgencySettingsInfoData = {
|
|
3531
3608
|
body: UpdateAgencyInfoRequest;
|
|
3532
3609
|
path?: never;
|
|
@@ -4383,6 +4460,36 @@ export type PostInternalPrincipleResponses = {
|
|
|
4383
4460
|
200: AgencyPrincipalDto;
|
|
4384
4461
|
};
|
|
4385
4462
|
export type PostInternalPrincipleResponse = PostInternalPrincipleResponses[keyof PostInternalPrincipleResponses];
|
|
4463
|
+
export type PostGuideVideosByIdStartData = {
|
|
4464
|
+
body?: never;
|
|
4465
|
+
path: {
|
|
4466
|
+
id: string;
|
|
4467
|
+
};
|
|
4468
|
+
query?: never;
|
|
4469
|
+
url: '/guide-videos/{id}/start';
|
|
4470
|
+
};
|
|
4471
|
+
export type PostGuideVideosByIdStartResponses = {
|
|
4472
|
+
/**
|
|
4473
|
+
* No Content
|
|
4474
|
+
*/
|
|
4475
|
+
204: void;
|
|
4476
|
+
};
|
|
4477
|
+
export type PostGuideVideosByIdStartResponse = PostGuideVideosByIdStartResponses[keyof PostGuideVideosByIdStartResponses];
|
|
4478
|
+
export type PostGuideVideosByIdFinishData = {
|
|
4479
|
+
body?: never;
|
|
4480
|
+
path: {
|
|
4481
|
+
id: string;
|
|
4482
|
+
};
|
|
4483
|
+
query?: never;
|
|
4484
|
+
url: '/guide-videos/{id}/finish';
|
|
4485
|
+
};
|
|
4486
|
+
export type PostGuideVideosByIdFinishResponses = {
|
|
4487
|
+
/**
|
|
4488
|
+
* No Content
|
|
4489
|
+
*/
|
|
4490
|
+
204: void;
|
|
4491
|
+
};
|
|
4492
|
+
export type PostGuideVideosByIdFinishResponse = PostGuideVideosByIdFinishResponses[keyof PostGuideVideosByIdFinishResponses];
|
|
4386
4493
|
export type PostConversationsByConversationIdReadData = {
|
|
4387
4494
|
body?: never;
|
|
4388
4495
|
path: {
|
|
@@ -4988,6 +5095,19 @@ export type PostApiAdminSubscriptionsCheckoutResponses = {
|
|
|
4988
5095
|
201: AdminCheckoutResponse;
|
|
4989
5096
|
};
|
|
4990
5097
|
export type PostApiAdminSubscriptionsCheckoutResponse = PostApiAdminSubscriptionsCheckoutResponses[keyof PostApiAdminSubscriptionsCheckoutResponses];
|
|
5098
|
+
export type PostApiAdminGuideVideosData = {
|
|
5099
|
+
body: VideoRequest;
|
|
5100
|
+
path?: never;
|
|
5101
|
+
query?: never;
|
|
5102
|
+
url: '/api/admin/guide-videos';
|
|
5103
|
+
};
|
|
5104
|
+
export type PostApiAdminGuideVideosResponses = {
|
|
5105
|
+
/**
|
|
5106
|
+
* Created
|
|
5107
|
+
*/
|
|
5108
|
+
201: Created;
|
|
5109
|
+
};
|
|
5110
|
+
export type PostApiAdminGuideVideosResponse = PostApiAdminGuideVideosResponses[keyof PostApiAdminGuideVideosResponses];
|
|
4991
5111
|
export type PatchTaskByTaskIdPositionData = {
|
|
4992
5112
|
body: PositionTaskRequest;
|
|
4993
5113
|
path: {
|
|
@@ -5912,6 +6032,19 @@ export type GetInboxAgencyResponses = {
|
|
|
5912
6032
|
200: CursorPageInboxResponse;
|
|
5913
6033
|
};
|
|
5914
6034
|
export type GetInboxAgencyResponse = GetInboxAgencyResponses[keyof GetInboxAgencyResponses];
|
|
6035
|
+
export type GetGuideVideosData = {
|
|
6036
|
+
body?: never;
|
|
6037
|
+
path?: never;
|
|
6038
|
+
query?: never;
|
|
6039
|
+
url: '/guide-videos';
|
|
6040
|
+
};
|
|
6041
|
+
export type GetGuideVideosResponses = {
|
|
6042
|
+
/**
|
|
6043
|
+
* OK
|
|
6044
|
+
*/
|
|
6045
|
+
200: Array<GuideVideoView>;
|
|
6046
|
+
};
|
|
6047
|
+
export type GetGuideVideosResponse = GetGuideVideosResponses[keyof GetGuideVideosResponses];
|
|
5915
6048
|
export type GetConversationsByConversationIdUpdatesData = {
|
|
5916
6049
|
body?: never;
|
|
5917
6050
|
path: {
|