@homespot-sdk/core 0.0.306 → 0.0.308
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 +242 -87
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +251 -94
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +8 -3
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +38 -10
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +5 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +43 -16
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +187 -62
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +408 -83
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +228 -47
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -185,22 +185,6 @@ export type RateRecommendationItemRequest = {
|
|
|
185
185
|
decision: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
|
|
186
186
|
note?: string;
|
|
187
187
|
};
|
|
188
|
-
export type SendMessageRequest = {
|
|
189
|
-
text: string;
|
|
190
|
-
};
|
|
191
|
-
export type ProblemDetail = {
|
|
192
|
-
type?: string;
|
|
193
|
-
title?: string;
|
|
194
|
-
status?: number;
|
|
195
|
-
detail?: string;
|
|
196
|
-
instance?: string;
|
|
197
|
-
properties?: {
|
|
198
|
-
[key: string]: unknown;
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
export type SendMessageResponse = {
|
|
202
|
-
messageId?: string;
|
|
203
|
-
};
|
|
204
188
|
export type AttendeeRequest = {
|
|
205
189
|
role: 'ORGANIZER' | 'MEMBER' | 'OWNER' | 'CLIENT' | 'OTHER';
|
|
206
190
|
memberId?: string;
|
|
@@ -249,6 +233,22 @@ export type AgencyPrincipalDto = {
|
|
|
249
233
|
isActive?: boolean;
|
|
250
234
|
isOwner?: boolean;
|
|
251
235
|
};
|
|
236
|
+
export type SendMessageRequest = {
|
|
237
|
+
text: string;
|
|
238
|
+
};
|
|
239
|
+
export type ProblemDetail = {
|
|
240
|
+
type?: string;
|
|
241
|
+
title?: string;
|
|
242
|
+
status?: number;
|
|
243
|
+
detail?: string;
|
|
244
|
+
instance?: string;
|
|
245
|
+
properties?: {
|
|
246
|
+
[key: string]: unknown;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
export type IdResponseUuid = {
|
|
250
|
+
id: string;
|
|
251
|
+
};
|
|
252
252
|
export type CreateClientRecommendationsRequest = {
|
|
253
253
|
title: string;
|
|
254
254
|
interestId: number;
|
|
@@ -270,9 +270,6 @@ export type AddDealRequest = {
|
|
|
270
270
|
export type InterestId = {
|
|
271
271
|
value?: number;
|
|
272
272
|
};
|
|
273
|
-
export type IdResponseUuid = {
|
|
274
|
-
id: string;
|
|
275
|
-
};
|
|
276
273
|
export type ContactInfoRequest = {
|
|
277
274
|
firstName?: string;
|
|
278
275
|
lastName?: string;
|
|
@@ -485,6 +482,47 @@ export type OauthConnectionResponse = {
|
|
|
485
482
|
updatedAt: Date;
|
|
486
483
|
revokedAt?: Date;
|
|
487
484
|
};
|
|
485
|
+
export type ContactId = {
|
|
486
|
+
value?: number;
|
|
487
|
+
};
|
|
488
|
+
export type ConversationId = {
|
|
489
|
+
value?: string;
|
|
490
|
+
};
|
|
491
|
+
export type CursorPageNotificationView = {
|
|
492
|
+
items?: Array<NotificationView>;
|
|
493
|
+
nextCursor?: string;
|
|
494
|
+
hasNext?: boolean;
|
|
495
|
+
};
|
|
496
|
+
export type NewContact = Omit<NotificationPayload, 'kind'> & {
|
|
497
|
+
contactId?: ContactId;
|
|
498
|
+
contactName?: string;
|
|
499
|
+
kind: 'NewContact';
|
|
500
|
+
};
|
|
501
|
+
export type NewMessage = Omit<NotificationPayload, 'kind'> & {
|
|
502
|
+
conversationId?: ConversationId;
|
|
503
|
+
preview?: string;
|
|
504
|
+
senderName?: string;
|
|
505
|
+
kind: 'NewMessage';
|
|
506
|
+
};
|
|
507
|
+
export type NotificationFeed = {
|
|
508
|
+
unreadCount: number;
|
|
509
|
+
notifications: CursorPageNotificationView;
|
|
510
|
+
};
|
|
511
|
+
export type NotificationPayload = {
|
|
512
|
+
kind: string;
|
|
513
|
+
};
|
|
514
|
+
export type NotificationView = {
|
|
515
|
+
id: string;
|
|
516
|
+
seq: number;
|
|
517
|
+
type: 'NEW_MESSAGE' | 'NEW_CONTACT';
|
|
518
|
+
targetId?: string;
|
|
519
|
+
payload: NewContact | NewMessage;
|
|
520
|
+
createdAt: Date;
|
|
521
|
+
read: boolean;
|
|
522
|
+
};
|
|
523
|
+
export type UnreadCount = {
|
|
524
|
+
count: number;
|
|
525
|
+
};
|
|
488
526
|
export type MemberViewResponse = {
|
|
489
527
|
userId: string;
|
|
490
528
|
memberId: string;
|
|
@@ -635,36 +673,44 @@ export type InboxResponse = {
|
|
|
635
673
|
memberLastName?: string;
|
|
636
674
|
memberPicture?: string;
|
|
637
675
|
};
|
|
638
|
-
export type CursorPageMessageView = {
|
|
639
|
-
items?: Array<MessageView>;
|
|
640
|
-
nextCursor?: string;
|
|
641
|
-
hasNext?: boolean;
|
|
642
|
-
};
|
|
643
676
|
export type MessageContent = {
|
|
644
677
|
'@type': string;
|
|
645
678
|
};
|
|
646
679
|
export type MessageView = {
|
|
647
|
-
id
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
readAt?: Date;
|
|
680
|
+
id: string;
|
|
681
|
+
seq: number;
|
|
682
|
+
direction: 'INBOUND' | 'OUTBOUND';
|
|
683
|
+
content: Text | Unsupported;
|
|
684
|
+
status: 'RECEIVED' | 'PENDING' | 'SENT' | 'FAILED';
|
|
685
|
+
sentAt: Date;
|
|
654
686
|
failureReason?: string;
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
687
|
+
sentBy?: SentBy;
|
|
688
|
+
};
|
|
689
|
+
export type SentBy = {
|
|
690
|
+
memberId?: string;
|
|
691
|
+
firstName?: string;
|
|
692
|
+
lastName?: string;
|
|
693
|
+
picture?: string;
|
|
659
694
|
};
|
|
660
695
|
export type Text = Omit<MessageContent, '@type'> & {
|
|
661
696
|
body?: string;
|
|
662
697
|
'@type': 'Text';
|
|
663
698
|
};
|
|
699
|
+
export type ThreadUpdates = {
|
|
700
|
+
customerReadUpTo?: Date;
|
|
701
|
+
messages?: Array<MessageView>;
|
|
702
|
+
nextSeq?: number;
|
|
703
|
+
hasMore?: boolean;
|
|
704
|
+
};
|
|
664
705
|
export type Unsupported = Omit<MessageContent, '@type'> & {
|
|
665
706
|
kind?: string;
|
|
666
707
|
'@type': 'Unsupported';
|
|
667
708
|
};
|
|
709
|
+
export type CursorPageMessageView = {
|
|
710
|
+
items?: Array<MessageView>;
|
|
711
|
+
nextCursor?: string;
|
|
712
|
+
hasNext?: boolean;
|
|
713
|
+
};
|
|
668
714
|
export type ConstantInterestResponse = {
|
|
669
715
|
id: number;
|
|
670
716
|
propertyTypes: Array<'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE'>;
|
|
@@ -1525,32 +1571,21 @@ export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse
|
|
|
1525
1571
|
204: void;
|
|
1526
1572
|
};
|
|
1527
1573
|
export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse = PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses[keyof PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses];
|
|
1528
|
-
export type
|
|
1529
|
-
body
|
|
1530
|
-
path
|
|
1531
|
-
|
|
1574
|
+
export type PostNotificationsReadData = {
|
|
1575
|
+
body?: never;
|
|
1576
|
+
path?: never;
|
|
1577
|
+
query?: {
|
|
1578
|
+
target?: string;
|
|
1532
1579
|
};
|
|
1533
|
-
|
|
1534
|
-
url: '/messaging/conversations/{conversationId}/messages';
|
|
1580
|
+
url: '/notifications/read';
|
|
1535
1581
|
};
|
|
1536
|
-
export type
|
|
1537
|
-
/**
|
|
1538
|
-
* Channel needs re-authorization
|
|
1539
|
-
*/
|
|
1540
|
-
409: ProblemDetail;
|
|
1582
|
+
export type PostNotificationsReadResponses = {
|
|
1541
1583
|
/**
|
|
1542
|
-
*
|
|
1543
|
-
*/
|
|
1544
|
-
422: ProblemDetail;
|
|
1545
|
-
};
|
|
1546
|
-
export type PostMessagingConversationsByConversationIdMessagesError = PostMessagingConversationsByConversationIdMessagesErrors[keyof PostMessagingConversationsByConversationIdMessagesErrors];
|
|
1547
|
-
export type PostMessagingConversationsByConversationIdMessagesResponses = {
|
|
1548
|
-
/**
|
|
1549
|
-
* Message persisted and sent
|
|
1584
|
+
* No Content
|
|
1550
1585
|
*/
|
|
1551
|
-
|
|
1586
|
+
204: void;
|
|
1552
1587
|
};
|
|
1553
|
-
export type
|
|
1588
|
+
export type PostNotificationsReadResponse = PostNotificationsReadResponses[keyof PostNotificationsReadResponses];
|
|
1554
1589
|
export type PostMemberPresignedUrlsData = {
|
|
1555
1590
|
body: PhotoRequest;
|
|
1556
1591
|
path?: never;
|
|
@@ -1687,6 +1722,50 @@ export type PostInternalPrincipleResponses = {
|
|
|
1687
1722
|
200: AgencyPrincipalDto;
|
|
1688
1723
|
};
|
|
1689
1724
|
export type PostInternalPrincipleResponse = PostInternalPrincipleResponses[keyof PostInternalPrincipleResponses];
|
|
1725
|
+
export type GetConversationsByConversationIdMessagesData = {
|
|
1726
|
+
body?: never;
|
|
1727
|
+
path: {
|
|
1728
|
+
conversationId: string;
|
|
1729
|
+
};
|
|
1730
|
+
query?: {
|
|
1731
|
+
cursor?: string;
|
|
1732
|
+
limit?: number;
|
|
1733
|
+
};
|
|
1734
|
+
url: '/conversations/{conversationId}/messages';
|
|
1735
|
+
};
|
|
1736
|
+
export type GetConversationsByConversationIdMessagesResponses = {
|
|
1737
|
+
/**
|
|
1738
|
+
* OK
|
|
1739
|
+
*/
|
|
1740
|
+
200: CursorPageMessageView;
|
|
1741
|
+
};
|
|
1742
|
+
export type GetConversationsByConversationIdMessagesResponse = GetConversationsByConversationIdMessagesResponses[keyof GetConversationsByConversationIdMessagesResponses];
|
|
1743
|
+
export type PostConversationsByConversationIdMessagesData = {
|
|
1744
|
+
body: SendMessageRequest;
|
|
1745
|
+
path: {
|
|
1746
|
+
conversationId: string;
|
|
1747
|
+
};
|
|
1748
|
+
query?: never;
|
|
1749
|
+
url: '/conversations/{conversationId}/messages';
|
|
1750
|
+
};
|
|
1751
|
+
export type PostConversationsByConversationIdMessagesErrors = {
|
|
1752
|
+
/**
|
|
1753
|
+
* Channel needs re-authorization
|
|
1754
|
+
*/
|
|
1755
|
+
409: ProblemDetail;
|
|
1756
|
+
/**
|
|
1757
|
+
* Free-form messaging window closed
|
|
1758
|
+
*/
|
|
1759
|
+
422: ProblemDetail;
|
|
1760
|
+
};
|
|
1761
|
+
export type PostConversationsByConversationIdMessagesError = PostConversationsByConversationIdMessagesErrors[keyof PostConversationsByConversationIdMessagesErrors];
|
|
1762
|
+
export type PostConversationsByConversationIdMessagesResponses = {
|
|
1763
|
+
/**
|
|
1764
|
+
* Message persisted and sent
|
|
1765
|
+
*/
|
|
1766
|
+
201: IdResponseUuid;
|
|
1767
|
+
};
|
|
1768
|
+
export type PostConversationsByConversationIdMessagesResponse = PostConversationsByConversationIdMessagesResponses[keyof PostConversationsByConversationIdMessagesResponses];
|
|
1690
1769
|
export type PostContactsByContactIdRecommendationsData = {
|
|
1691
1770
|
body: CreateClientRecommendationsRequest;
|
|
1692
1771
|
path: {
|
|
@@ -2288,6 +2367,35 @@ export type GetOauthGoogleAuthorizeResponses = {
|
|
|
2288
2367
|
};
|
|
2289
2368
|
};
|
|
2290
2369
|
export type GetOauthGoogleAuthorizeResponse = GetOauthGoogleAuthorizeResponses[keyof GetOauthGoogleAuthorizeResponses];
|
|
2370
|
+
export type GetNotificationsData = {
|
|
2371
|
+
body?: never;
|
|
2372
|
+
path?: never;
|
|
2373
|
+
query?: {
|
|
2374
|
+
cursor?: string;
|
|
2375
|
+
limit?: number;
|
|
2376
|
+
};
|
|
2377
|
+
url: '/notifications';
|
|
2378
|
+
};
|
|
2379
|
+
export type GetNotificationsResponses = {
|
|
2380
|
+
/**
|
|
2381
|
+
* OK
|
|
2382
|
+
*/
|
|
2383
|
+
200: NotificationFeed;
|
|
2384
|
+
};
|
|
2385
|
+
export type GetNotificationsResponse = GetNotificationsResponses[keyof GetNotificationsResponses];
|
|
2386
|
+
export type GetNotificationsUnreadCountData = {
|
|
2387
|
+
body?: never;
|
|
2388
|
+
path?: never;
|
|
2389
|
+
query?: never;
|
|
2390
|
+
url: '/notifications/unread-count';
|
|
2391
|
+
};
|
|
2392
|
+
export type GetNotificationsUnreadCountResponses = {
|
|
2393
|
+
/**
|
|
2394
|
+
* OK
|
|
2395
|
+
*/
|
|
2396
|
+
200: UnreadCount;
|
|
2397
|
+
};
|
|
2398
|
+
export type GetNotificationsUnreadCountResponse = GetNotificationsUnreadCountResponses[keyof GetNotificationsUnreadCountResponses];
|
|
2291
2399
|
export type GetMemberData = {
|
|
2292
2400
|
body?: never;
|
|
2293
2401
|
path?: never;
|
|
@@ -2468,6 +2576,23 @@ export type GetInboxResponses = {
|
|
|
2468
2576
|
200: CursorPageInboxResponse;
|
|
2469
2577
|
};
|
|
2470
2578
|
export type GetInboxResponse = GetInboxResponses[keyof GetInboxResponses];
|
|
2579
|
+
export type GetInboxContactByContactIdData = {
|
|
2580
|
+
body?: never;
|
|
2581
|
+
path: {
|
|
2582
|
+
contactId: number;
|
|
2583
|
+
};
|
|
2584
|
+
query?: {
|
|
2585
|
+
status?: 'OPEN' | 'RESOLVED';
|
|
2586
|
+
};
|
|
2587
|
+
url: '/inbox/contact/{contactId}';
|
|
2588
|
+
};
|
|
2589
|
+
export type GetInboxContactByContactIdResponses = {
|
|
2590
|
+
/**
|
|
2591
|
+
* OK
|
|
2592
|
+
*/
|
|
2593
|
+
200: Array<InboxResponse>;
|
|
2594
|
+
};
|
|
2595
|
+
export type GetInboxContactByContactIdResponse = GetInboxContactByContactIdResponses[keyof GetInboxContactByContactIdResponses];
|
|
2471
2596
|
export type GetInboxAgencyData = {
|
|
2472
2597
|
body?: never;
|
|
2473
2598
|
path?: never;
|
|
@@ -2485,24 +2610,24 @@ export type GetInboxAgencyResponses = {
|
|
|
2485
2610
|
200: CursorPageInboxResponse;
|
|
2486
2611
|
};
|
|
2487
2612
|
export type GetInboxAgencyResponse = GetInboxAgencyResponses[keyof GetInboxAgencyResponses];
|
|
2488
|
-
export type
|
|
2613
|
+
export type GetConversationsByConversationIdUpdatesData = {
|
|
2489
2614
|
body?: never;
|
|
2490
2615
|
path: {
|
|
2491
2616
|
conversationId: string;
|
|
2492
2617
|
};
|
|
2493
2618
|
query?: {
|
|
2494
|
-
|
|
2619
|
+
after?: number;
|
|
2495
2620
|
limit?: number;
|
|
2496
2621
|
};
|
|
2497
|
-
url: '/conversations/{conversationId}/
|
|
2622
|
+
url: '/conversations/{conversationId}/updates';
|
|
2498
2623
|
};
|
|
2499
|
-
export type
|
|
2624
|
+
export type GetConversationsByConversationIdUpdatesResponses = {
|
|
2500
2625
|
/**
|
|
2501
2626
|
* OK
|
|
2502
2627
|
*/
|
|
2503
|
-
200:
|
|
2628
|
+
200: ThreadUpdates;
|
|
2504
2629
|
};
|
|
2505
|
-
export type
|
|
2630
|
+
export type GetConversationsByConversationIdUpdatesResponse = GetConversationsByConversationIdUpdatesResponses[keyof GetConversationsByConversationIdUpdatesResponses];
|
|
2506
2631
|
export type GetContactsByContactIdRecommendationsByRecommendationsIdData = {
|
|
2507
2632
|
body?: never;
|
|
2508
2633
|
path: {
|