@homespot-sdk/core 0.0.302 → 0.0.304
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/property/index.d.ts +2 -2
- package/dist/property/index.d.ts.map +1 -1
- package/dist/property/index.js +1 -1
- package/dist/property/index.js.map +1 -1
- package/dist/property/schemas.gen.d.ts +26 -0
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +47 -0
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/sdk.gen.d.ts +2 -1
- package/dist/property/sdk.gen.d.ts.map +1 -1
- package/dist/property/sdk.gen.js +9 -0
- package/dist/property/sdk.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +22 -0
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +66 -0
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +53 -0
- package/dist/property/zod.gen.js.map +1 -1
- 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 +311 -167
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +363 -184
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +15 -12
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +53 -38
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +6 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +50 -30
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +237 -126
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +508 -345
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +250 -126
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -107,25 +107,25 @@ export type LocationTargetRequest = {
|
|
|
107
107
|
export type CommentBodyRequest = {
|
|
108
108
|
body: string;
|
|
109
109
|
};
|
|
110
|
-
export type
|
|
111
|
-
|
|
112
|
-
};
|
|
113
|
-
export type ReprioritizeClientRequest = {
|
|
114
|
-
priority: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
115
|
-
};
|
|
116
|
-
export type RecordLostContactRequest = {
|
|
117
|
-
reason: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
118
|
-
};
|
|
119
|
-
export type UpdateContactPreferencesRequest = {
|
|
120
|
-
contactMethods: Array<'WHATSAPP' | 'VIBER' | 'PHONE_CALL'>;
|
|
121
|
-
favoriteContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
110
|
+
export type PhoneNumberRequest = {
|
|
111
|
+
phoneNumber: string;
|
|
122
112
|
};
|
|
123
|
-
export type
|
|
113
|
+
export type UpdateContactDetailsRequest = {
|
|
124
114
|
firstName?: string;
|
|
115
|
+
nullifyFirstName?: boolean;
|
|
125
116
|
lastName?: string;
|
|
117
|
+
nullifyLastName?: boolean;
|
|
126
118
|
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
127
119
|
email?: string;
|
|
128
|
-
|
|
120
|
+
nullifyEmail?: boolean;
|
|
121
|
+
contactMethods?: Array<'WHATSAPP' | 'VIBER' | 'PHONE_CALL'>;
|
|
122
|
+
favoriteContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
123
|
+
nullifyFavoriteContactMethod?: boolean;
|
|
124
|
+
status?: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'CLOSED';
|
|
125
|
+
priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
126
|
+
};
|
|
127
|
+
export type RecordLostContactRequest = {
|
|
128
|
+
reason: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
129
129
|
};
|
|
130
130
|
export type ReassignMemberRequest = {
|
|
131
131
|
memberId: string;
|
|
@@ -183,6 +183,22 @@ export type RateRecommendationItemRequest = {
|
|
|
183
183
|
decision: 'MAYBE' | 'DISLIKE' | 'LIKE' | 'VISIT';
|
|
184
184
|
note?: string;
|
|
185
185
|
};
|
|
186
|
+
export type SendMessageRequest = {
|
|
187
|
+
text: string;
|
|
188
|
+
};
|
|
189
|
+
export type ProblemDetail = {
|
|
190
|
+
type?: string;
|
|
191
|
+
title?: string;
|
|
192
|
+
status?: number;
|
|
193
|
+
detail?: string;
|
|
194
|
+
instance?: string;
|
|
195
|
+
properties?: {
|
|
196
|
+
[key: string]: unknown;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
export type SendMessageResponse = {
|
|
200
|
+
messageId?: string;
|
|
201
|
+
};
|
|
186
202
|
export type AttendeeRequest = {
|
|
187
203
|
role: 'ORGANIZER' | 'MEMBER' | 'OWNER' | 'CLIENT' | 'OTHER';
|
|
188
204
|
memberId?: string;
|
|
@@ -255,8 +271,15 @@ export type InterestId = {
|
|
|
255
271
|
export type IdResponseUuid = {
|
|
256
272
|
id: string;
|
|
257
273
|
};
|
|
274
|
+
export type ContactInfoRequest = {
|
|
275
|
+
firstName?: string;
|
|
276
|
+
lastName?: string;
|
|
277
|
+
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
278
|
+
email?: string;
|
|
279
|
+
};
|
|
258
280
|
export type OnboardClientRequest = {
|
|
259
281
|
contactInfo: ContactInfoRequest;
|
|
282
|
+
phoneNumber: string;
|
|
260
283
|
contactMethods: Array<'WHATSAPP' | 'VIBER' | 'PHONE_CALL'>;
|
|
261
284
|
favoriteContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
262
285
|
priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
@@ -451,11 +474,13 @@ export type WhitelabelResponse = {
|
|
|
451
474
|
export type OauthConnectionResponse = {
|
|
452
475
|
agencyId: string;
|
|
453
476
|
userId: string;
|
|
454
|
-
provider: '
|
|
477
|
+
provider: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
478
|
+
status: 'ACTIVE' | 'REVOKED';
|
|
455
479
|
pagePicture?: string;
|
|
456
480
|
pageName?: string;
|
|
457
481
|
createdAt: Date;
|
|
458
482
|
updatedAt: Date;
|
|
483
|
+
revokedAt?: Date;
|
|
459
484
|
};
|
|
460
485
|
export type MemberViewResponse = {
|
|
461
486
|
userId: string;
|
|
@@ -586,6 +611,57 @@ export type PagedModelInvitationViewResponse = {
|
|
|
586
611
|
content?: Array<InvitationViewResponse>;
|
|
587
612
|
page?: PageMetadata;
|
|
588
613
|
};
|
|
614
|
+
export type CursorPageInboxResponse = {
|
|
615
|
+
items?: Array<InboxResponse>;
|
|
616
|
+
nextCursor?: string;
|
|
617
|
+
hasNext?: boolean;
|
|
618
|
+
};
|
|
619
|
+
export type InboxResponse = {
|
|
620
|
+
conversationId?: string;
|
|
621
|
+
lastMessageAt?: Date;
|
|
622
|
+
unreadCount?: number;
|
|
623
|
+
lastMessagePreview?: string;
|
|
624
|
+
direction?: 'INBOUND' | 'OUTBOUND';
|
|
625
|
+
channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
626
|
+
contactId?: number;
|
|
627
|
+
isReachable?: boolean;
|
|
628
|
+
contactFirstName?: string;
|
|
629
|
+
contactLastName?: string;
|
|
630
|
+
managedBy?: string;
|
|
631
|
+
memberFirstName?: string;
|
|
632
|
+
memberLastName?: string;
|
|
633
|
+
memberPicture?: string;
|
|
634
|
+
};
|
|
635
|
+
export type CursorPageMessageView = {
|
|
636
|
+
items?: Array<MessageView>;
|
|
637
|
+
nextCursor?: string;
|
|
638
|
+
hasNext?: boolean;
|
|
639
|
+
};
|
|
640
|
+
export type MessageContent = {
|
|
641
|
+
'@type': string;
|
|
642
|
+
};
|
|
643
|
+
export type MessageView = {
|
|
644
|
+
id?: string;
|
|
645
|
+
direction?: 'INBOUND' | 'OUTBOUND';
|
|
646
|
+
content?: Text | Unsupported;
|
|
647
|
+
status?: 'RECEIVED' | 'PENDING' | 'SENT' | 'DELIVERED' | 'READ' | 'FAILED';
|
|
648
|
+
sentAt?: Date;
|
|
649
|
+
deliveredAt?: Date;
|
|
650
|
+
readAt?: Date;
|
|
651
|
+
failureReason?: string;
|
|
652
|
+
sentByMemberId?: string;
|
|
653
|
+
sentByFirstName?: string;
|
|
654
|
+
sentByLastName?: string;
|
|
655
|
+
sentByPicture?: string;
|
|
656
|
+
};
|
|
657
|
+
export type Text = Omit<MessageContent, '@type'> & {
|
|
658
|
+
body?: string;
|
|
659
|
+
'@type': 'Text';
|
|
660
|
+
};
|
|
661
|
+
export type Unsupported = Omit<MessageContent, '@type'> & {
|
|
662
|
+
kind?: string;
|
|
663
|
+
'@type': 'Unsupported';
|
|
664
|
+
};
|
|
589
665
|
export type ConstantInterestResponse = {
|
|
590
666
|
id: number;
|
|
591
667
|
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'>;
|
|
@@ -612,6 +688,7 @@ export type CommentView = {
|
|
|
612
688
|
authorId: string;
|
|
613
689
|
authorFirstName: string;
|
|
614
690
|
authorLastName: string;
|
|
691
|
+
sentByPicture?: string;
|
|
615
692
|
body: string;
|
|
616
693
|
createdAt: Date;
|
|
617
694
|
editedAt?: Date;
|
|
@@ -624,13 +701,13 @@ export type ContactGridResponse = {
|
|
|
624
701
|
id: number;
|
|
625
702
|
createdBy?: string;
|
|
626
703
|
assignedTo?: AssignedToResponse;
|
|
627
|
-
status: 'NEW' | 'ON_HOLD' | 'COLD' | '
|
|
704
|
+
status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'CLOSED';
|
|
628
705
|
priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
629
706
|
contactName?: string;
|
|
630
707
|
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
631
708
|
phoneNumber?: string;
|
|
632
709
|
email?: string;
|
|
633
|
-
sourceType?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'UNKNOWN';
|
|
710
|
+
sourceType?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
634
711
|
sourceLink?: string;
|
|
635
712
|
isSearching: boolean;
|
|
636
713
|
isListing: boolean;
|
|
@@ -641,11 +718,6 @@ export type PagedModelContactGridResponse = {
|
|
|
641
718
|
content?: Array<ContactGridResponse>;
|
|
642
719
|
page?: PageMetadata;
|
|
643
720
|
};
|
|
644
|
-
export type ActiveBoostResponse = {
|
|
645
|
-
tier: 'VIP' | 'VIP_PLUS' | 'SUPER_VIP';
|
|
646
|
-
activatedAt: Date;
|
|
647
|
-
expiresAt: Date;
|
|
648
|
-
};
|
|
649
721
|
export type AgreementResponse = {
|
|
650
722
|
agreement: 'EXCLUSIVE' | 'NON_EXCLUSIVE';
|
|
651
723
|
expiryDate?: Date;
|
|
@@ -673,10 +745,6 @@ export type Client360Response = {
|
|
|
673
745
|
interests: Array<ConstantInterestResponse>;
|
|
674
746
|
properties: Array<ContactPropertyResponse>;
|
|
675
747
|
};
|
|
676
|
-
export type ColoredListingResponse = {
|
|
677
|
-
activatedAt: Date;
|
|
678
|
-
expiresAt: Date;
|
|
679
|
-
};
|
|
680
748
|
export type CommunicationPreferenceResponse = {
|
|
681
749
|
preferredContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
682
750
|
contactMethods: Array<'WHATSAPP' | 'VIBER' | 'PHONE_CALL'>;
|
|
@@ -688,14 +756,6 @@ export type ContactInfoResponse = {
|
|
|
688
756
|
phoneNumber: string;
|
|
689
757
|
email?: string;
|
|
690
758
|
};
|
|
691
|
-
export type ContactListingsResponse = {
|
|
692
|
-
publicId: number;
|
|
693
|
-
listingId: string;
|
|
694
|
-
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
695
|
-
price: number;
|
|
696
|
-
deal?: DealResponse;
|
|
697
|
-
platformListings: Array<PlatformListingResponse>;
|
|
698
|
-
};
|
|
699
759
|
export type ContactPropertyResponse = {
|
|
700
760
|
publicId: number;
|
|
701
761
|
propertyId: string;
|
|
@@ -703,23 +763,7 @@ export type ContactPropertyResponse = {
|
|
|
703
763
|
state: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
704
764
|
details?: PropertyDetailsResponse;
|
|
705
765
|
agreement: AgreementResponse;
|
|
706
|
-
listings: Array<
|
|
707
|
-
};
|
|
708
|
-
export type DealResponse = {
|
|
709
|
-
type: 'FIXED_SALE' | 'FIXED_RENT' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
710
|
-
rate?: number;
|
|
711
|
-
fixedAmount?: number;
|
|
712
|
-
months?: number;
|
|
713
|
-
commission: number;
|
|
714
|
-
};
|
|
715
|
-
export type PlatformListingResponse = {
|
|
716
|
-
platformId: number;
|
|
717
|
-
platformType: 'SS' | 'MY_HOME';
|
|
718
|
-
uploadDate: Date;
|
|
719
|
-
expiryDate: Date;
|
|
720
|
-
renewedDate?: Date;
|
|
721
|
-
boost?: ActiveBoostResponse;
|
|
722
|
-
coloredListing?: ColoredListingResponse;
|
|
766
|
+
listings: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
723
767
|
};
|
|
724
768
|
export type PropertyDetailsResponse = {
|
|
725
769
|
title: string;
|
|
@@ -731,7 +775,7 @@ export type PropertyDetailsResponse = {
|
|
|
731
775
|
address: AddressResponse;
|
|
732
776
|
};
|
|
733
777
|
export type SourceResponse = {
|
|
734
|
-
sourceType: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'UNKNOWN';
|
|
778
|
+
sourceType: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
735
779
|
sourceLink?: string;
|
|
736
780
|
};
|
|
737
781
|
export type AssignedAgent = {
|
|
@@ -1156,36 +1200,36 @@ export type PutContactsByContactIdCommentsByCommentIdResponses = {
|
|
|
1156
1200
|
*/
|
|
1157
1201
|
200: unknown;
|
|
1158
1202
|
};
|
|
1159
|
-
export type
|
|
1160
|
-
body:
|
|
1203
|
+
export type PutContactByContactIdUpdatePhoneNumberData = {
|
|
1204
|
+
body: PhoneNumberRequest;
|
|
1161
1205
|
path: {
|
|
1162
1206
|
contactId: number;
|
|
1163
1207
|
};
|
|
1164
1208
|
query?: never;
|
|
1165
|
-
url: '/contact/{contactId}/update-
|
|
1209
|
+
url: '/contact/{contactId}/update-phone-number';
|
|
1166
1210
|
};
|
|
1167
|
-
export type
|
|
1211
|
+
export type PutContactByContactIdUpdatePhoneNumberResponses = {
|
|
1168
1212
|
/**
|
|
1169
1213
|
* No Content
|
|
1170
1214
|
*/
|
|
1171
1215
|
204: void;
|
|
1172
1216
|
};
|
|
1173
|
-
export type
|
|
1174
|
-
export type
|
|
1175
|
-
body:
|
|
1217
|
+
export type PutContactByContactIdUpdatePhoneNumberResponse = PutContactByContactIdUpdatePhoneNumberResponses[keyof PutContactByContactIdUpdatePhoneNumberResponses];
|
|
1218
|
+
export type PutContactByContactIdUpdateContactDetailsData = {
|
|
1219
|
+
body: UpdateContactDetailsRequest;
|
|
1176
1220
|
path: {
|
|
1177
1221
|
contactId: number;
|
|
1178
1222
|
};
|
|
1179
1223
|
query?: never;
|
|
1180
|
-
url: '/contact/{contactId}/
|
|
1224
|
+
url: '/contact/{contactId}/update-contact-details';
|
|
1181
1225
|
};
|
|
1182
|
-
export type
|
|
1226
|
+
export type PutContactByContactIdUpdateContactDetailsResponses = {
|
|
1183
1227
|
/**
|
|
1184
1228
|
* No Content
|
|
1185
1229
|
*/
|
|
1186
1230
|
204: void;
|
|
1187
1231
|
};
|
|
1188
|
-
export type
|
|
1232
|
+
export type PutContactByContactIdUpdateContactDetailsResponse = PutContactByContactIdUpdateContactDetailsResponses[keyof PutContactByContactIdUpdateContactDetailsResponses];
|
|
1189
1233
|
export type PutContactByContactIdLostData = {
|
|
1190
1234
|
body: RecordLostContactRequest;
|
|
1191
1235
|
path: {
|
|
@@ -1201,36 +1245,6 @@ export type PutContactByContactIdLostResponses = {
|
|
|
1201
1245
|
204: void;
|
|
1202
1246
|
};
|
|
1203
1247
|
export type PutContactByContactIdLostResponse = PutContactByContactIdLostResponses[keyof PutContactByContactIdLostResponses];
|
|
1204
|
-
export type PutContactByContactIdContactPreferencesData = {
|
|
1205
|
-
body: UpdateContactPreferencesRequest;
|
|
1206
|
-
path: {
|
|
1207
|
-
contactId: number;
|
|
1208
|
-
};
|
|
1209
|
-
query?: never;
|
|
1210
|
-
url: '/contact/{contactId}/contact-preferences';
|
|
1211
|
-
};
|
|
1212
|
-
export type PutContactByContactIdContactPreferencesResponses = {
|
|
1213
|
-
/**
|
|
1214
|
-
* No Content
|
|
1215
|
-
*/
|
|
1216
|
-
204: void;
|
|
1217
|
-
};
|
|
1218
|
-
export type PutContactByContactIdContactPreferencesResponse = PutContactByContactIdContactPreferencesResponses[keyof PutContactByContactIdContactPreferencesResponses];
|
|
1219
|
-
export type PutContactByContactIdContactInfoData = {
|
|
1220
|
-
body: ContactInfoRequest;
|
|
1221
|
-
path: {
|
|
1222
|
-
contactId: number;
|
|
1223
|
-
};
|
|
1224
|
-
query?: never;
|
|
1225
|
-
url: '/contact/{contactId}/contact-info';
|
|
1226
|
-
};
|
|
1227
|
-
export type PutContactByContactIdContactInfoResponses = {
|
|
1228
|
-
/**
|
|
1229
|
-
* No Content
|
|
1230
|
-
*/
|
|
1231
|
-
204: void;
|
|
1232
|
-
};
|
|
1233
|
-
export type PutContactByContactIdContactInfoResponse = PutContactByContactIdContactInfoResponses[keyof PutContactByContactIdContactInfoResponses];
|
|
1234
1248
|
export type PutContactByContactIdCloseData = {
|
|
1235
1249
|
body?: never;
|
|
1236
1250
|
path: {
|
|
@@ -1458,7 +1472,7 @@ export type PostRolesResponses = {
|
|
|
1458
1472
|
201: IdResponseInteger;
|
|
1459
1473
|
};
|
|
1460
1474
|
export type PostRolesResponse = PostRolesResponses[keyof PostRolesResponses];
|
|
1461
|
-
export type
|
|
1475
|
+
export type GetPublicWebhooksMetaData = {
|
|
1462
1476
|
body?: never;
|
|
1463
1477
|
path?: never;
|
|
1464
1478
|
query: {
|
|
@@ -1466,25 +1480,25 @@ export type GetPublicWebhookFbData = {
|
|
|
1466
1480
|
'hub.verify_token': string;
|
|
1467
1481
|
'hub.challenge': string;
|
|
1468
1482
|
};
|
|
1469
|
-
url: '/public/
|
|
1483
|
+
url: '/public/webhooks/meta';
|
|
1470
1484
|
};
|
|
1471
|
-
export type
|
|
1485
|
+
export type GetPublicWebhooksMetaResponses = {
|
|
1472
1486
|
/**
|
|
1473
1487
|
* OK
|
|
1474
1488
|
*/
|
|
1475
1489
|
200: string;
|
|
1476
1490
|
};
|
|
1477
|
-
export type
|
|
1478
|
-
export type
|
|
1491
|
+
export type GetPublicWebhooksMetaResponse = GetPublicWebhooksMetaResponses[keyof GetPublicWebhooksMetaResponses];
|
|
1492
|
+
export type PostPublicWebhooksMetaData = {
|
|
1479
1493
|
body: string;
|
|
1480
1494
|
headers?: {
|
|
1481
1495
|
'X-Hub-Signature-256'?: string;
|
|
1482
1496
|
};
|
|
1483
1497
|
path?: never;
|
|
1484
1498
|
query?: never;
|
|
1485
|
-
url: '/public/
|
|
1499
|
+
url: '/public/webhooks/meta';
|
|
1486
1500
|
};
|
|
1487
|
-
export type
|
|
1501
|
+
export type PostPublicWebhooksMetaResponses = {
|
|
1488
1502
|
/**
|
|
1489
1503
|
* OK
|
|
1490
1504
|
*/
|
|
@@ -1506,6 +1520,32 @@ export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse
|
|
|
1506
1520
|
204: void;
|
|
1507
1521
|
};
|
|
1508
1522
|
export type PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponse = PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses[keyof PostPublicRecomendationsByRecommendationsIdItemsByItemIdRateResponses];
|
|
1523
|
+
export type PostMessagingConversationsByConversationIdMessagesData = {
|
|
1524
|
+
body: SendMessageRequest;
|
|
1525
|
+
path: {
|
|
1526
|
+
conversationId: string;
|
|
1527
|
+
};
|
|
1528
|
+
query?: never;
|
|
1529
|
+
url: '/messaging/conversations/{conversationId}/messages';
|
|
1530
|
+
};
|
|
1531
|
+
export type PostMessagingConversationsByConversationIdMessagesErrors = {
|
|
1532
|
+
/**
|
|
1533
|
+
* Channel needs re-authorization
|
|
1534
|
+
*/
|
|
1535
|
+
409: ProblemDetail;
|
|
1536
|
+
/**
|
|
1537
|
+
* Free-form messaging window closed
|
|
1538
|
+
*/
|
|
1539
|
+
422: ProblemDetail;
|
|
1540
|
+
};
|
|
1541
|
+
export type PostMessagingConversationsByConversationIdMessagesError = PostMessagingConversationsByConversationIdMessagesErrors[keyof PostMessagingConversationsByConversationIdMessagesErrors];
|
|
1542
|
+
export type PostMessagingConversationsByConversationIdMessagesResponses = {
|
|
1543
|
+
/**
|
|
1544
|
+
* Message persisted and sent
|
|
1545
|
+
*/
|
|
1546
|
+
201: SendMessageResponse;
|
|
1547
|
+
};
|
|
1548
|
+
export type PostMessagingConversationsByConversationIdMessagesResponse = PostMessagingConversationsByConversationIdMessagesResponses[keyof PostMessagingConversationsByConversationIdMessagesResponses];
|
|
1509
1549
|
export type PostMemberPresignedUrlsData = {
|
|
1510
1550
|
body: PhotoRequest;
|
|
1511
1551
|
path?: never;
|
|
@@ -1863,7 +1903,7 @@ export type GetContactData = {
|
|
|
1863
1903
|
body?: never;
|
|
1864
1904
|
path?: never;
|
|
1865
1905
|
query?: {
|
|
1866
|
-
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | '
|
|
1906
|
+
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'CLOSED'>;
|
|
1867
1907
|
priorities?: Array<'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'>;
|
|
1868
1908
|
isSearching?: boolean;
|
|
1869
1909
|
isListing?: boolean;
|
|
@@ -1872,7 +1912,7 @@ export type GetContactData = {
|
|
|
1872
1912
|
contactName?: string;
|
|
1873
1913
|
contactPhone?: string;
|
|
1874
1914
|
contactEmail?: string;
|
|
1875
|
-
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'UNKNOWN'>;
|
|
1915
|
+
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN'>;
|
|
1876
1916
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
1877
1917
|
createdFrom?: Date;
|
|
1878
1918
|
createdTo?: Date;
|
|
@@ -2078,7 +2118,7 @@ export type GetPublicOauthGoogleCallbackResponses = {
|
|
|
2078
2118
|
*/
|
|
2079
2119
|
200: unknown;
|
|
2080
2120
|
};
|
|
2081
|
-
export type
|
|
2121
|
+
export type GetPublicOauthCallbackData = {
|
|
2082
2122
|
body?: never;
|
|
2083
2123
|
path?: never;
|
|
2084
2124
|
query?: {
|
|
@@ -2087,9 +2127,9 @@ export type GetPublicOauthFbCallbackData = {
|
|
|
2087
2127
|
error?: string;
|
|
2088
2128
|
error_description?: string;
|
|
2089
2129
|
};
|
|
2090
|
-
url: '/public/oauth/
|
|
2130
|
+
url: '/public/oauth/callback';
|
|
2091
2131
|
};
|
|
2092
|
-
export type
|
|
2132
|
+
export type GetPublicOauthCallbackResponses = {
|
|
2093
2133
|
/**
|
|
2094
2134
|
* OK
|
|
2095
2135
|
*/
|
|
@@ -2169,53 +2209,72 @@ export type GetPublicAgencySubdomainBySubDomainResponses = {
|
|
|
2169
2209
|
200: AgencySummaryResponse;
|
|
2170
2210
|
};
|
|
2171
2211
|
export type GetPublicAgencySubdomainBySubDomainResponse = GetPublicAgencySubdomainBySubDomainResponses[keyof GetPublicAgencySubdomainBySubDomainResponses];
|
|
2172
|
-
export type
|
|
2212
|
+
export type GetOauthData = {
|
|
2173
2213
|
body?: never;
|
|
2174
2214
|
path?: never;
|
|
2175
2215
|
query?: never;
|
|
2176
|
-
url: '/oauth
|
|
2216
|
+
url: '/oauth';
|
|
2177
2217
|
};
|
|
2178
|
-
export type
|
|
2218
|
+
export type GetOauthResponses = {
|
|
2179
2219
|
/**
|
|
2180
2220
|
* OK
|
|
2181
2221
|
*/
|
|
2182
|
-
200:
|
|
2183
|
-
[key: string]: string;
|
|
2184
|
-
};
|
|
2222
|
+
200: Array<OauthConnectionResponse>;
|
|
2185
2223
|
};
|
|
2186
|
-
export type
|
|
2187
|
-
export type
|
|
2224
|
+
export type GetOauthResponse = GetOauthResponses[keyof GetOauthResponses];
|
|
2225
|
+
export type DeleteOauthByChannelData = {
|
|
2188
2226
|
body?: never;
|
|
2189
|
-
path
|
|
2227
|
+
path: {
|
|
2228
|
+
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
2229
|
+
};
|
|
2190
2230
|
query?: never;
|
|
2191
|
-
url: '/oauth/
|
|
2231
|
+
url: '/oauth/{channel}';
|
|
2192
2232
|
};
|
|
2193
|
-
export type
|
|
2233
|
+
export type DeleteOauthByChannelResponses = {
|
|
2194
2234
|
/**
|
|
2195
2235
|
* OK
|
|
2196
2236
|
*/
|
|
2197
2237
|
200: unknown;
|
|
2198
2238
|
};
|
|
2199
|
-
export type
|
|
2239
|
+
export type GetOauthByChannelData = {
|
|
2200
2240
|
body?: never;
|
|
2201
|
-
path
|
|
2241
|
+
path: {
|
|
2242
|
+
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
2243
|
+
};
|
|
2202
2244
|
query?: never;
|
|
2203
|
-
url: '/oauth/
|
|
2245
|
+
url: '/oauth/{channel}';
|
|
2204
2246
|
};
|
|
2205
|
-
export type
|
|
2247
|
+
export type GetOauthByChannelResponses = {
|
|
2206
2248
|
/**
|
|
2207
2249
|
* OK
|
|
2208
2250
|
*/
|
|
2209
2251
|
200: OauthConnectionResponse;
|
|
2210
2252
|
};
|
|
2211
|
-
export type
|
|
2212
|
-
export type
|
|
2253
|
+
export type GetOauthByChannelResponse = GetOauthByChannelResponses[keyof GetOauthByChannelResponses];
|
|
2254
|
+
export type GetOauthByChannelAuthorizeData = {
|
|
2255
|
+
body?: never;
|
|
2256
|
+
path: {
|
|
2257
|
+
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
2258
|
+
};
|
|
2259
|
+
query?: never;
|
|
2260
|
+
url: '/oauth/{channel}/authorize';
|
|
2261
|
+
};
|
|
2262
|
+
export type GetOauthByChannelAuthorizeResponses = {
|
|
2263
|
+
/**
|
|
2264
|
+
* OK
|
|
2265
|
+
*/
|
|
2266
|
+
200: {
|
|
2267
|
+
[key: string]: string;
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
export type GetOauthByChannelAuthorizeResponse = GetOauthByChannelAuthorizeResponses[keyof GetOauthByChannelAuthorizeResponses];
|
|
2271
|
+
export type GetOauthGoogleAuthorizeData = {
|
|
2213
2272
|
body?: never;
|
|
2214
2273
|
path?: never;
|
|
2215
2274
|
query?: never;
|
|
2216
|
-
url: '/oauth/
|
|
2275
|
+
url: '/oauth/google/authorize';
|
|
2217
2276
|
};
|
|
2218
|
-
export type
|
|
2277
|
+
export type GetOauthGoogleAuthorizeResponses = {
|
|
2219
2278
|
/**
|
|
2220
2279
|
* OK
|
|
2221
2280
|
*/
|
|
@@ -2223,7 +2282,7 @@ export type GetOauthFbAuthorizeResponses = {
|
|
|
2223
2282
|
[key: string]: string;
|
|
2224
2283
|
};
|
|
2225
2284
|
};
|
|
2226
|
-
export type
|
|
2285
|
+
export type GetOauthGoogleAuthorizeResponse = GetOauthGoogleAuthorizeResponses[keyof GetOauthGoogleAuthorizeResponses];
|
|
2227
2286
|
export type GetMemberData = {
|
|
2228
2287
|
body?: never;
|
|
2229
2288
|
path?: never;
|
|
@@ -2387,6 +2446,58 @@ export type GetListingGroupsResponses = {
|
|
|
2387
2446
|
200: Array<GroupCount>;
|
|
2388
2447
|
};
|
|
2389
2448
|
export type GetListingGroupsResponse = GetListingGroupsResponses[keyof GetListingGroupsResponses];
|
|
2449
|
+
export type GetInboxData = {
|
|
2450
|
+
body?: never;
|
|
2451
|
+
path?: never;
|
|
2452
|
+
query?: {
|
|
2453
|
+
status?: 'OPEN' | 'RESOLVED';
|
|
2454
|
+
cursor?: string;
|
|
2455
|
+
limit?: number;
|
|
2456
|
+
};
|
|
2457
|
+
url: '/inbox';
|
|
2458
|
+
};
|
|
2459
|
+
export type GetInboxResponses = {
|
|
2460
|
+
/**
|
|
2461
|
+
* OK
|
|
2462
|
+
*/
|
|
2463
|
+
200: CursorPageInboxResponse;
|
|
2464
|
+
};
|
|
2465
|
+
export type GetInboxResponse = GetInboxResponses[keyof GetInboxResponses];
|
|
2466
|
+
export type GetInboxAgencyData = {
|
|
2467
|
+
body?: never;
|
|
2468
|
+
path?: never;
|
|
2469
|
+
query?: {
|
|
2470
|
+
status?: 'OPEN' | 'RESOLVED';
|
|
2471
|
+
cursor?: string;
|
|
2472
|
+
limit?: number;
|
|
2473
|
+
};
|
|
2474
|
+
url: '/inbox/agency';
|
|
2475
|
+
};
|
|
2476
|
+
export type GetInboxAgencyResponses = {
|
|
2477
|
+
/**
|
|
2478
|
+
* OK
|
|
2479
|
+
*/
|
|
2480
|
+
200: CursorPageInboxResponse;
|
|
2481
|
+
};
|
|
2482
|
+
export type GetInboxAgencyResponse = GetInboxAgencyResponses[keyof GetInboxAgencyResponses];
|
|
2483
|
+
export type GetConversationsByConversationIdMessagesData = {
|
|
2484
|
+
body?: never;
|
|
2485
|
+
path: {
|
|
2486
|
+
conversationId: string;
|
|
2487
|
+
};
|
|
2488
|
+
query?: {
|
|
2489
|
+
cursor?: string;
|
|
2490
|
+
limit?: number;
|
|
2491
|
+
};
|
|
2492
|
+
url: '/conversations/{conversationId}/messages';
|
|
2493
|
+
};
|
|
2494
|
+
export type GetConversationsByConversationIdMessagesResponses = {
|
|
2495
|
+
/**
|
|
2496
|
+
* OK
|
|
2497
|
+
*/
|
|
2498
|
+
200: CursorPageMessageView;
|
|
2499
|
+
};
|
|
2500
|
+
export type GetConversationsByConversationIdMessagesResponse = GetConversationsByConversationIdMessagesResponses[keyof GetConversationsByConversationIdMessagesResponses];
|
|
2390
2501
|
export type GetContactsByContactIdRecommendationsByRecommendationsIdData = {
|
|
2391
2502
|
body?: never;
|
|
2392
2503
|
path: {
|
|
@@ -2513,7 +2624,7 @@ export type GetContactGroupsData = {
|
|
|
2513
2624
|
path?: never;
|
|
2514
2625
|
query: {
|
|
2515
2626
|
groupBy: 'ASSIGNED_TO' | 'CREATED_BY' | 'PRIORITY' | 'STATUS' | 'SOURCE_TYPE' | 'IS_SEARCHING' | 'IS_LISTING' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
2516
|
-
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | '
|
|
2627
|
+
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'CLOSED'>;
|
|
2517
2628
|
priorities?: Array<'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'>;
|
|
2518
2629
|
isSearching?: boolean;
|
|
2519
2630
|
isListing?: boolean;
|
|
@@ -2522,7 +2633,7 @@ export type GetContactGroupsData = {
|
|
|
2522
2633
|
contactName?: string;
|
|
2523
2634
|
contactPhone?: string;
|
|
2524
2635
|
contactEmail?: string;
|
|
2525
|
-
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'UNKNOWN'>;
|
|
2636
|
+
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN'>;
|
|
2526
2637
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
2527
2638
|
createdFrom?: Date;
|
|
2528
2639
|
createdTo?: Date;
|