@homespot-sdk/core 0.0.354 → 0.0.356
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 +301 -19
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +354 -13
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +18 -12
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +69 -29
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +3 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +46 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +258 -69
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +563 -97
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +253 -53
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -191,10 +191,9 @@ export type AddressRequest = {
|
|
|
191
191
|
subdistrict: string;
|
|
192
192
|
street: string;
|
|
193
193
|
};
|
|
194
|
-
export type
|
|
194
|
+
export type AmendAgencyDetailsRequest = {
|
|
195
195
|
name: string;
|
|
196
196
|
email: string;
|
|
197
|
-
seats: number;
|
|
198
197
|
subdomain: string;
|
|
199
198
|
phone: string;
|
|
200
199
|
address: AddressRequest;
|
|
@@ -287,6 +286,20 @@ export type SubscriptionCheckoutResponse = {
|
|
|
287
286
|
agencyId?: string;
|
|
288
287
|
subscriptionId?: string;
|
|
289
288
|
};
|
|
289
|
+
export type ChangePlanRequest = {
|
|
290
|
+
plan: 'STARTER' | 'PRO' | 'ENTERPRISE';
|
|
291
|
+
billingCycle: 'MONTHLY' | 'ANNUAL';
|
|
292
|
+
};
|
|
293
|
+
export type CheckoutRequest = {
|
|
294
|
+
/**
|
|
295
|
+
* Required only when starting a new subscription
|
|
296
|
+
*/
|
|
297
|
+
plan?: 'STARTER' | 'PRO' | 'ENTERPRISE';
|
|
298
|
+
/**
|
|
299
|
+
* Required only when starting a new subscription
|
|
300
|
+
*/
|
|
301
|
+
billingCycle?: 'MONTHLY' | 'ANNUAL';
|
|
302
|
+
};
|
|
290
303
|
export type IdResponseInteger = {
|
|
291
304
|
id: number;
|
|
292
305
|
};
|
|
@@ -310,7 +323,7 @@ export type ConnectWhatsAppRequest = {
|
|
|
310
323
|
export type OauthConnectionResponse = {
|
|
311
324
|
agencyId: string;
|
|
312
325
|
userId: string;
|
|
313
|
-
provider: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
326
|
+
provider: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
|
|
314
327
|
status: 'ACTIVE' | 'REVOKED';
|
|
315
328
|
pagePicture?: string;
|
|
316
329
|
pageName?: string;
|
|
@@ -602,6 +615,15 @@ export type MemberPeekResponse = {
|
|
|
602
615
|
phone?: string;
|
|
603
616
|
email: string;
|
|
604
617
|
};
|
|
618
|
+
export type Participant = {
|
|
619
|
+
memberId: string;
|
|
620
|
+
firstName: string;
|
|
621
|
+
lastName: string;
|
|
622
|
+
photo?: string;
|
|
623
|
+
phone?: string;
|
|
624
|
+
email: string;
|
|
625
|
+
owner: boolean;
|
|
626
|
+
};
|
|
605
627
|
export type PropertyLink = {
|
|
606
628
|
propertyId: number;
|
|
607
629
|
contactId: number;
|
|
@@ -627,14 +649,13 @@ export type TaskDetailResponse = {
|
|
|
627
649
|
commissionType: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
628
650
|
commissionValue?: number;
|
|
629
651
|
expectedCloseDate?: Date;
|
|
630
|
-
owner?: MemberPeekResponse;
|
|
631
652
|
outcome?: 'WON' | 'LOST';
|
|
632
653
|
lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
633
654
|
closedAt?: Date;
|
|
634
655
|
createdBy?: string;
|
|
635
656
|
createdAt: Date;
|
|
636
657
|
contacts: Array<ContactLink>;
|
|
637
|
-
participants: Array<
|
|
658
|
+
participants: Array<Participant>;
|
|
638
659
|
interests: Array<InterestLink>;
|
|
639
660
|
properties: Array<PropertyLink>;
|
|
640
661
|
todoGroups: Array<TodoGroup>;
|
|
@@ -745,6 +766,60 @@ export type StageCardsResponse = {
|
|
|
745
766
|
members: Array<MemberPeekResponse>;
|
|
746
767
|
data: CursorPageTaskCardResponse;
|
|
747
768
|
};
|
|
769
|
+
export type SubscriptionResponse = {
|
|
770
|
+
subscriptionId: string;
|
|
771
|
+
plan: 'STARTER' | 'PRO' | 'ENTERPRISE';
|
|
772
|
+
billingCycle: 'MONTHLY' | 'ANNUAL';
|
|
773
|
+
/**
|
|
774
|
+
* Per-cycle price in minor units (tetri)
|
|
775
|
+
*/
|
|
776
|
+
priceMinorUnits: number;
|
|
777
|
+
currency: string;
|
|
778
|
+
seats: number;
|
|
779
|
+
monthlyContactLimit: number;
|
|
780
|
+
trialDays: number;
|
|
781
|
+
status: 'PENDING' | 'TRIALING' | 'ACTIVE' | 'PAST_DUE' | 'CANCELLED' | 'EXPIRED';
|
|
782
|
+
/**
|
|
783
|
+
* Whether the agency is currently entitled to the workspace
|
|
784
|
+
*/
|
|
785
|
+
live: boolean;
|
|
786
|
+
trialEndsAt?: Date;
|
|
787
|
+
paidThroughAt?: Date;
|
|
788
|
+
/**
|
|
789
|
+
* When the current entitlement ends, before grace; null while pending or once expired
|
|
790
|
+
*/
|
|
791
|
+
accessEndsAt?: Date;
|
|
792
|
+
pastDueSince?: Date;
|
|
793
|
+
lastChargedAt?: Date;
|
|
794
|
+
createdAt: Date;
|
|
795
|
+
activatedAt?: Date;
|
|
796
|
+
cancelledAt?: Date;
|
|
797
|
+
/**
|
|
798
|
+
* When the most recently issued checkout link stops being payable
|
|
799
|
+
*/
|
|
800
|
+
checkoutExpiresAt?: Date;
|
|
801
|
+
};
|
|
802
|
+
export type PaymentResponse = {
|
|
803
|
+
id: string;
|
|
804
|
+
subscriptionId: string;
|
|
805
|
+
flittPaymentId: string;
|
|
806
|
+
flittOrderId: string;
|
|
807
|
+
/**
|
|
808
|
+
* Flitt's verdict: approved / declined / reversed / expired …
|
|
809
|
+
*/
|
|
810
|
+
orderStatus: string;
|
|
811
|
+
tranType?: string;
|
|
812
|
+
/**
|
|
813
|
+
* What the platform did with it
|
|
814
|
+
*/
|
|
815
|
+
outcome: 'APPLIED' | 'TRIAL_STARTED' | 'DUPLICATE' | 'NOT_APPLIED_CANCELLED' | 'REJECTED_AMOUNT' | 'REJECTED_CURRENCY' | 'IGNORED_TRANSACTION_TYPE' | 'DECLINED' | 'REVERSED' | 'REVERSAL_IGNORED' | 'RECORDED';
|
|
816
|
+
amountMinorUnits?: number;
|
|
817
|
+
currency?: string;
|
|
818
|
+
responseCode?: string;
|
|
819
|
+
responseDescription?: string;
|
|
820
|
+
orderTime?: Date;
|
|
821
|
+
receivedAt: Date;
|
|
822
|
+
};
|
|
748
823
|
export type Bucket = {
|
|
749
824
|
count: number;
|
|
750
825
|
value: number;
|
|
@@ -803,7 +878,7 @@ export type Segment = {
|
|
|
803
878
|
share: number;
|
|
804
879
|
};
|
|
805
880
|
export type ChannelSeries = {
|
|
806
|
-
channel: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
881
|
+
channel: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK' | 'UNKNOWN';
|
|
807
882
|
points: Array<number>;
|
|
808
883
|
total: number;
|
|
809
884
|
};
|
|
@@ -1095,7 +1170,7 @@ export type ContactAssigned = {
|
|
|
1095
1170
|
contactName?: string;
|
|
1096
1171
|
from?: MemberId;
|
|
1097
1172
|
by?: MemberId;
|
|
1098
|
-
source?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
1173
|
+
source?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK' | 'UNKNOWN';
|
|
1099
1174
|
kind: 'CONTACT_ASSIGNED';
|
|
1100
1175
|
};
|
|
1101
1176
|
export type ContactId = {
|
|
@@ -1122,7 +1197,7 @@ export type MemberId = {
|
|
|
1122
1197
|
export type NewMessage = {
|
|
1123
1198
|
contactId?: ContactId;
|
|
1124
1199
|
conversationId?: ConversationId;
|
|
1125
|
-
channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
1200
|
+
channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
|
|
1126
1201
|
preview?: string;
|
|
1127
1202
|
displayName?: string;
|
|
1128
1203
|
kind: 'NEW_MESSAGE';
|
|
@@ -1145,15 +1220,39 @@ export type NotificationFeed = {
|
|
|
1145
1220
|
export type NotificationView = {
|
|
1146
1221
|
id: string;
|
|
1147
1222
|
seq: number;
|
|
1148
|
-
type: 'AGENT_COMMENTED' | 'TASK_COMMENTED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED';
|
|
1223
|
+
type: 'AGENT_COMMENTED' | 'TASK_COMMENTED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED' | 'SUBSCRIPTION_PAYMENT_FAILED' | 'SUBSCRIPTION_ENDING' | 'SUBSCRIPTION_EXPIRED' | 'SUBSCRIPTION_PAYMENT_REVERSED';
|
|
1149
1224
|
targetId?: string;
|
|
1150
|
-
payload: AgentCommented | ContactAssigned | ListingExpired | NewMessage | NewSeekerRating | TaskCommented;
|
|
1225
|
+
payload: AgentCommented | ContactAssigned | ListingExpired | NewMessage | NewSeekerRating | SubscriptionEnding | SubscriptionExpired | SubscriptionPaymentFailed | SubscriptionPaymentReversed | TaskCommented;
|
|
1151
1226
|
createdAt: Date;
|
|
1152
1227
|
read: boolean;
|
|
1153
1228
|
};
|
|
1154
1229
|
export type PropertyId = {
|
|
1155
1230
|
value?: number;
|
|
1156
1231
|
};
|
|
1232
|
+
export type SubscriptionEnding = {
|
|
1233
|
+
subscriptionId?: SubscriptionId;
|
|
1234
|
+
status?: 'PENDING' | 'TRIALING' | 'ACTIVE' | 'PAST_DUE' | 'CANCELLED' | 'EXPIRED';
|
|
1235
|
+
endsAt?: Date;
|
|
1236
|
+
kind: 'SUBSCRIPTION_ENDING';
|
|
1237
|
+
};
|
|
1238
|
+
export type SubscriptionExpired = {
|
|
1239
|
+
subscriptionId?: SubscriptionId;
|
|
1240
|
+
kind: 'SUBSCRIPTION_EXPIRED';
|
|
1241
|
+
};
|
|
1242
|
+
export type SubscriptionId = {
|
|
1243
|
+
value?: string;
|
|
1244
|
+
};
|
|
1245
|
+
export type SubscriptionPaymentFailed = {
|
|
1246
|
+
subscriptionId?: SubscriptionId;
|
|
1247
|
+
reason?: string;
|
|
1248
|
+
accessUntil?: Date;
|
|
1249
|
+
kind: 'SUBSCRIPTION_PAYMENT_FAILED';
|
|
1250
|
+
};
|
|
1251
|
+
export type SubscriptionPaymentReversed = {
|
|
1252
|
+
subscriptionId?: SubscriptionId;
|
|
1253
|
+
paymentId?: string;
|
|
1254
|
+
kind: 'SUBSCRIPTION_PAYMENT_REVERSED';
|
|
1255
|
+
};
|
|
1157
1256
|
export type TaskCommented = {
|
|
1158
1257
|
commentId?: CommentId;
|
|
1159
1258
|
taskId?: TaskId;
|
|
@@ -1179,6 +1278,11 @@ export type MemberViewResponse = {
|
|
|
1179
1278
|
roleId: number;
|
|
1180
1279
|
roleName: string;
|
|
1181
1280
|
joinedAt: Date;
|
|
1281
|
+
/**
|
|
1282
|
+
* ACTIVE, or INACTIVE for a removed member
|
|
1283
|
+
*/
|
|
1284
|
+
status: string;
|
|
1285
|
+
removedAt?: Date;
|
|
1182
1286
|
};
|
|
1183
1287
|
export type Pageable = {
|
|
1184
1288
|
page?: number;
|
|
@@ -1339,7 +1443,7 @@ export type InboxResponse = {
|
|
|
1339
1443
|
unreadCount?: number;
|
|
1340
1444
|
lastMessagePreview?: string;
|
|
1341
1445
|
direction?: 'INBOUND' | 'OUTBOUND';
|
|
1342
|
-
channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
1446
|
+
channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
|
|
1343
1447
|
contactId?: number;
|
|
1344
1448
|
isReachable?: boolean;
|
|
1345
1449
|
windowExpiresAt?: Date;
|
|
@@ -1403,7 +1507,7 @@ export type ContactGridResponse = {
|
|
|
1403
1507
|
title?: string;
|
|
1404
1508
|
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1405
1509
|
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
1406
|
-
sourceType?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
1510
|
+
sourceType?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK' | 'UNKNOWN';
|
|
1407
1511
|
sourceLink?: string;
|
|
1408
1512
|
isSearching: boolean;
|
|
1409
1513
|
isListing: boolean;
|
|
@@ -1474,7 +1578,7 @@ export type ContactPropertyResponse = {
|
|
|
1474
1578
|
listings: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
1475
1579
|
};
|
|
1476
1580
|
export type SourceResponse = {
|
|
1477
|
-
sourceType: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
1581
|
+
sourceType: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK' | 'UNKNOWN';
|
|
1478
1582
|
sourceLink?: string;
|
|
1479
1583
|
};
|
|
1480
1584
|
export type AssignedAgent = {
|
|
@@ -2497,7 +2601,7 @@ export type PutBoardByBoardIdRenameResponses = {
|
|
|
2497
2601
|
};
|
|
2498
2602
|
export type PutBoardByBoardIdRenameResponse = PutBoardByBoardIdRenameResponses[keyof PutBoardByBoardIdRenameResponses];
|
|
2499
2603
|
export type PutAgencyByAgencyIdDetailsData = {
|
|
2500
|
-
body:
|
|
2604
|
+
body: AmendAgencyDetailsRequest;
|
|
2501
2605
|
path: {
|
|
2502
2606
|
agencyId: string;
|
|
2503
2607
|
};
|
|
@@ -2511,21 +2615,6 @@ export type PutAgencyByAgencyIdDetailsResponses = {
|
|
|
2511
2615
|
204: void;
|
|
2512
2616
|
};
|
|
2513
2617
|
export type PutAgencyByAgencyIdDetailsResponse = PutAgencyByAgencyIdDetailsResponses[keyof PutAgencyByAgencyIdDetailsResponses];
|
|
2514
|
-
export type PutAgencyByAgencyIdActivateData = {
|
|
2515
|
-
body?: never;
|
|
2516
|
-
path: {
|
|
2517
|
-
agencyId: string;
|
|
2518
|
-
};
|
|
2519
|
-
query?: never;
|
|
2520
|
-
url: '/agency/{agencyId}/activate';
|
|
2521
|
-
};
|
|
2522
|
-
export type PutAgencyByAgencyIdActivateResponses = {
|
|
2523
|
-
/**
|
|
2524
|
-
* No Content
|
|
2525
|
-
*/
|
|
2526
|
-
204: void;
|
|
2527
|
-
};
|
|
2528
|
-
export type PutAgencyByAgencyIdActivateResponse = PutAgencyByAgencyIdActivateResponses[keyof PutAgencyByAgencyIdActivateResponses];
|
|
2529
2618
|
export type PutAgencySettingsInfoData = {
|
|
2530
2619
|
body: UpdateAgencyInfoRequest;
|
|
2531
2620
|
path?: never;
|
|
@@ -2846,6 +2935,19 @@ export type DeleteSubscriptionsResponses = {
|
|
|
2846
2935
|
204: void;
|
|
2847
2936
|
};
|
|
2848
2937
|
export type DeleteSubscriptionsResponse = DeleteSubscriptionsResponses[keyof DeleteSubscriptionsResponses];
|
|
2938
|
+
export type GetSubscriptionsData = {
|
|
2939
|
+
body?: never;
|
|
2940
|
+
path?: never;
|
|
2941
|
+
query?: never;
|
|
2942
|
+
url: '/subscriptions';
|
|
2943
|
+
};
|
|
2944
|
+
export type GetSubscriptionsResponses = {
|
|
2945
|
+
/**
|
|
2946
|
+
* OK
|
|
2947
|
+
*/
|
|
2948
|
+
200: SubscriptionResponse;
|
|
2949
|
+
};
|
|
2950
|
+
export type GetSubscriptionsResponse = GetSubscriptionsResponses[keyof GetSubscriptionsResponses];
|
|
2849
2951
|
export type PostSubscriptionsData = {
|
|
2850
2952
|
body: SubscribeRequest;
|
|
2851
2953
|
path?: never;
|
|
@@ -2859,6 +2961,45 @@ export type PostSubscriptionsResponses = {
|
|
|
2859
2961
|
201: SubscriptionCheckoutResponse;
|
|
2860
2962
|
};
|
|
2861
2963
|
export type PostSubscriptionsResponse = PostSubscriptionsResponses[keyof PostSubscriptionsResponses];
|
|
2964
|
+
export type PostSubscriptionsResumeData = {
|
|
2965
|
+
body?: never;
|
|
2966
|
+
path?: never;
|
|
2967
|
+
query?: never;
|
|
2968
|
+
url: '/subscriptions/resume';
|
|
2969
|
+
};
|
|
2970
|
+
export type PostSubscriptionsResumeResponses = {
|
|
2971
|
+
/**
|
|
2972
|
+
* No Content
|
|
2973
|
+
*/
|
|
2974
|
+
204: void;
|
|
2975
|
+
};
|
|
2976
|
+
export type PostSubscriptionsResumeResponse = PostSubscriptionsResumeResponses[keyof PostSubscriptionsResumeResponses];
|
|
2977
|
+
export type PostSubscriptionsPlanData = {
|
|
2978
|
+
body: ChangePlanRequest;
|
|
2979
|
+
path?: never;
|
|
2980
|
+
query?: never;
|
|
2981
|
+
url: '/subscriptions/plan';
|
|
2982
|
+
};
|
|
2983
|
+
export type PostSubscriptionsPlanResponses = {
|
|
2984
|
+
/**
|
|
2985
|
+
* Created
|
|
2986
|
+
*/
|
|
2987
|
+
201: SubscriptionCheckoutResponse;
|
|
2988
|
+
};
|
|
2989
|
+
export type PostSubscriptionsPlanResponse = PostSubscriptionsPlanResponses[keyof PostSubscriptionsPlanResponses];
|
|
2990
|
+
export type PostSubscriptionsCheckoutData = {
|
|
2991
|
+
body?: CheckoutRequest;
|
|
2992
|
+
path?: never;
|
|
2993
|
+
query?: never;
|
|
2994
|
+
url: '/subscriptions/checkout';
|
|
2995
|
+
};
|
|
2996
|
+
export type PostSubscriptionsCheckoutResponses = {
|
|
2997
|
+
/**
|
|
2998
|
+
* Created
|
|
2999
|
+
*/
|
|
3000
|
+
201: SubscriptionCheckoutResponse;
|
|
3001
|
+
};
|
|
3002
|
+
export type PostSubscriptionsCheckoutResponse = PostSubscriptionsCheckoutResponses[keyof PostSubscriptionsCheckoutResponses];
|
|
2862
3003
|
export type GetRolesData = {
|
|
2863
3004
|
body?: never;
|
|
2864
3005
|
path?: never;
|
|
@@ -2898,6 +3039,21 @@ export type PostRolesResponses = {
|
|
|
2898
3039
|
201: IdResponseInteger;
|
|
2899
3040
|
};
|
|
2900
3041
|
export type PostRolesResponse = PostRolesResponses[keyof PostRolesResponses];
|
|
3042
|
+
export type PostPublicWebhooksTiktokData = {
|
|
3043
|
+
body: string;
|
|
3044
|
+
headers?: {
|
|
3045
|
+
'Tiktok-Signature'?: string;
|
|
3046
|
+
};
|
|
3047
|
+
path?: never;
|
|
3048
|
+
query?: never;
|
|
3049
|
+
url: '/public/webhooks/tiktok';
|
|
3050
|
+
};
|
|
3051
|
+
export type PostPublicWebhooksTiktokResponses = {
|
|
3052
|
+
/**
|
|
3053
|
+
* OK
|
|
3054
|
+
*/
|
|
3055
|
+
200: unknown;
|
|
3056
|
+
};
|
|
2901
3057
|
export type PostPublicWebhooksTelegramData = {
|
|
2902
3058
|
body: string;
|
|
2903
3059
|
headers?: {
|
|
@@ -3574,7 +3730,7 @@ export type GetContactData = {
|
|
|
3574
3730
|
contactPhone?: string;
|
|
3575
3731
|
contactEmail?: string;
|
|
3576
3732
|
title?: string;
|
|
3577
|
-
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN'>;
|
|
3733
|
+
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK' | 'UNKNOWN'>;
|
|
3578
3734
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
3579
3735
|
createdFrom?: Date;
|
|
3580
3736
|
createdTo?: Date;
|
|
@@ -3726,32 +3882,6 @@ export type PostApiAdminSubscriptionsProvisionResponses = {
|
|
|
3726
3882
|
201: AdminProvisionResponse;
|
|
3727
3883
|
};
|
|
3728
3884
|
export type PostApiAdminSubscriptionsProvisionResponse = PostApiAdminSubscriptionsProvisionResponses[keyof PostApiAdminSubscriptionsProvisionResponses];
|
|
3729
|
-
export type GetAgencyData = {
|
|
3730
|
-
body?: never;
|
|
3731
|
-
path?: never;
|
|
3732
|
-
query?: never;
|
|
3733
|
-
url: '/agency';
|
|
3734
|
-
};
|
|
3735
|
-
export type GetAgencyResponses = {
|
|
3736
|
-
/**
|
|
3737
|
-
* OK
|
|
3738
|
-
*/
|
|
3739
|
-
200: AgencyProfileResponse;
|
|
3740
|
-
};
|
|
3741
|
-
export type GetAgencyResponse = GetAgencyResponses[keyof GetAgencyResponses];
|
|
3742
|
-
export type PostAgencyData = {
|
|
3743
|
-
body: CreateAgencyRequest;
|
|
3744
|
-
path?: never;
|
|
3745
|
-
query?: never;
|
|
3746
|
-
url: '/agency';
|
|
3747
|
-
};
|
|
3748
|
-
export type PostAgencyResponses = {
|
|
3749
|
-
/**
|
|
3750
|
-
* Created
|
|
3751
|
-
*/
|
|
3752
|
-
201: IdResponseUuid;
|
|
3753
|
-
};
|
|
3754
|
-
export type PostAgencyResponse = PostAgencyResponses[keyof PostAgencyResponses];
|
|
3755
3885
|
export type PatchTaskByTaskIdPositionData = {
|
|
3756
3886
|
body: PositionTaskRequest;
|
|
3757
3887
|
path: {
|
|
@@ -3868,6 +3998,19 @@ export type GetTaskBoardByBoardIdCardsResponses = {
|
|
|
3868
3998
|
200: StageCardsResponse;
|
|
3869
3999
|
};
|
|
3870
4000
|
export type GetTaskBoardByBoardIdCardsResponse = GetTaskBoardByBoardIdCardsResponses[keyof GetTaskBoardByBoardIdCardsResponses];
|
|
4001
|
+
export type GetSubscriptionsPaymentsData = {
|
|
4002
|
+
body?: never;
|
|
4003
|
+
path?: never;
|
|
4004
|
+
query?: never;
|
|
4005
|
+
url: '/subscriptions/payments';
|
|
4006
|
+
};
|
|
4007
|
+
export type GetSubscriptionsPaymentsResponses = {
|
|
4008
|
+
/**
|
|
4009
|
+
* OK
|
|
4010
|
+
*/
|
|
4011
|
+
200: Array<PaymentResponse>;
|
|
4012
|
+
};
|
|
4013
|
+
export type GetSubscriptionsPaymentsResponse = GetSubscriptionsPaymentsResponses[keyof GetSubscriptionsPaymentsResponses];
|
|
3871
4014
|
export type GetStatsPipelineCommissionData = {
|
|
3872
4015
|
body?: never;
|
|
3873
4016
|
path?: never;
|
|
@@ -4001,22 +4144,24 @@ export type GetPublicPermissionsResponses = {
|
|
|
4001
4144
|
200: Array<GroupedPermissionsResponse>;
|
|
4002
4145
|
};
|
|
4003
4146
|
export type GetPublicPermissionsResponse = GetPublicPermissionsResponses[keyof GetPublicPermissionsResponses];
|
|
4004
|
-
export type
|
|
4147
|
+
export type GetPublicOauthCallbackData = {
|
|
4005
4148
|
body?: never;
|
|
4006
4149
|
path?: never;
|
|
4007
|
-
query
|
|
4008
|
-
code
|
|
4009
|
-
state
|
|
4150
|
+
query?: {
|
|
4151
|
+
code?: string;
|
|
4152
|
+
state?: string;
|
|
4153
|
+
error?: string;
|
|
4154
|
+
error_description?: string;
|
|
4010
4155
|
};
|
|
4011
|
-
url: '/public/oauth/
|
|
4156
|
+
url: '/public/oauth/callback';
|
|
4012
4157
|
};
|
|
4013
|
-
export type
|
|
4158
|
+
export type GetPublicOauthCallbackResponses = {
|
|
4014
4159
|
/**
|
|
4015
4160
|
* OK
|
|
4016
4161
|
*/
|
|
4017
4162
|
200: unknown;
|
|
4018
4163
|
};
|
|
4019
|
-
export type
|
|
4164
|
+
export type GetPublicOauthTiktokAccountCallbackData = {
|
|
4020
4165
|
body?: never;
|
|
4021
4166
|
path?: never;
|
|
4022
4167
|
query?: {
|
|
@@ -4025,9 +4170,24 @@ export type GetPublicOauthCallbackData = {
|
|
|
4025
4170
|
error?: string;
|
|
4026
4171
|
error_description?: string;
|
|
4027
4172
|
};
|
|
4028
|
-
url: '/public/oauth/callback';
|
|
4173
|
+
url: '/public/oauth/tiktok/account/callback';
|
|
4029
4174
|
};
|
|
4030
|
-
export type
|
|
4175
|
+
export type GetPublicOauthTiktokAccountCallbackResponses = {
|
|
4176
|
+
/**
|
|
4177
|
+
* OK
|
|
4178
|
+
*/
|
|
4179
|
+
200: unknown;
|
|
4180
|
+
};
|
|
4181
|
+
export type GetPublicOauthGoogleCallbackData = {
|
|
4182
|
+
body?: never;
|
|
4183
|
+
path?: never;
|
|
4184
|
+
query: {
|
|
4185
|
+
code: string;
|
|
4186
|
+
state: string;
|
|
4187
|
+
};
|
|
4188
|
+
url: '/public/oauth/google/callback';
|
|
4189
|
+
};
|
|
4190
|
+
export type GetPublicOauthGoogleCallbackResponses = {
|
|
4031
4191
|
/**
|
|
4032
4192
|
* OK
|
|
4033
4193
|
*/
|
|
@@ -4169,7 +4329,7 @@ export type GetOauthResponse = GetOauthResponses[keyof GetOauthResponses];
|
|
|
4169
4329
|
export type DeleteOauthByChannelData = {
|
|
4170
4330
|
body?: never;
|
|
4171
4331
|
path: {
|
|
4172
|
-
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
4332
|
+
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
|
|
4173
4333
|
};
|
|
4174
4334
|
query?: never;
|
|
4175
4335
|
url: '/oauth/{channel}';
|
|
@@ -4183,7 +4343,7 @@ export type DeleteOauthByChannelResponses = {
|
|
|
4183
4343
|
export type GetOauthByChannelData = {
|
|
4184
4344
|
body?: never;
|
|
4185
4345
|
path: {
|
|
4186
|
-
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
4346
|
+
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
|
|
4187
4347
|
};
|
|
4188
4348
|
query?: never;
|
|
4189
4349
|
url: '/oauth/{channel}';
|
|
@@ -4198,7 +4358,7 @@ export type GetOauthByChannelResponse = GetOauthByChannelResponses[keyof GetOaut
|
|
|
4198
4358
|
export type GetOauthByChannelAuthorizeData = {
|
|
4199
4359
|
body?: never;
|
|
4200
4360
|
path: {
|
|
4201
|
-
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
|
|
4361
|
+
channel: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK';
|
|
4202
4362
|
};
|
|
4203
4363
|
query?: never;
|
|
4204
4364
|
url: '/oauth/{channel}/authorize';
|
|
@@ -4292,6 +4452,7 @@ export type GetMemberData = {
|
|
|
4292
4452
|
query?: {
|
|
4293
4453
|
roleId?: number;
|
|
4294
4454
|
permission?: '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';
|
|
4455
|
+
includeRemoved?: boolean;
|
|
4295
4456
|
/**
|
|
4296
4457
|
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
4297
4458
|
*/
|
|
@@ -4724,7 +4885,7 @@ export type GetContactGroupsData = {
|
|
|
4724
4885
|
contactPhone?: string;
|
|
4725
4886
|
contactEmail?: string;
|
|
4726
4887
|
title?: string;
|
|
4727
|
-
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN'>;
|
|
4888
|
+
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'TIKTOK' | 'UNKNOWN'>;
|
|
4728
4889
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
4729
4890
|
createdFrom?: Date;
|
|
4730
4891
|
createdTo?: Date;
|
|
@@ -4771,6 +4932,19 @@ export type GetBoardByBoardIdResponses = {
|
|
|
4771
4932
|
200: BoardResponse;
|
|
4772
4933
|
};
|
|
4773
4934
|
export type GetBoardByBoardIdResponse = GetBoardByBoardIdResponses[keyof GetBoardByBoardIdResponses];
|
|
4935
|
+
export type GetAgencyData = {
|
|
4936
|
+
body?: never;
|
|
4937
|
+
path?: never;
|
|
4938
|
+
query?: never;
|
|
4939
|
+
url: '/agency';
|
|
4940
|
+
};
|
|
4941
|
+
export type GetAgencyResponses = {
|
|
4942
|
+
/**
|
|
4943
|
+
* OK
|
|
4944
|
+
*/
|
|
4945
|
+
200: AgencyProfileResponse;
|
|
4946
|
+
};
|
|
4947
|
+
export type GetAgencyResponse = GetAgencyResponses[keyof GetAgencyResponses];
|
|
4774
4948
|
export type GetAgencyByAgencyIdOwnerData = {
|
|
4775
4949
|
body?: never;
|
|
4776
4950
|
path: {
|
|
@@ -4845,6 +5019,21 @@ export type DeleteTaskByTaskIdPropertyByPropertyIdResponses = {
|
|
|
4845
5019
|
204: void;
|
|
4846
5020
|
};
|
|
4847
5021
|
export type DeleteTaskByTaskIdPropertyByPropertyIdResponse = DeleteTaskByTaskIdPropertyByPropertyIdResponses[keyof DeleteTaskByTaskIdPropertyByPropertyIdResponses];
|
|
5022
|
+
export type DeleteTaskByTaskIdOwnerData = {
|
|
5023
|
+
body?: never;
|
|
5024
|
+
path: {
|
|
5025
|
+
taskId: string;
|
|
5026
|
+
};
|
|
5027
|
+
query?: never;
|
|
5028
|
+
url: '/task/{taskId}/owner';
|
|
5029
|
+
};
|
|
5030
|
+
export type DeleteTaskByTaskIdOwnerResponses = {
|
|
5031
|
+
/**
|
|
5032
|
+
* No Content
|
|
5033
|
+
*/
|
|
5034
|
+
204: void;
|
|
5035
|
+
};
|
|
5036
|
+
export type DeleteTaskByTaskIdOwnerResponse = DeleteTaskByTaskIdOwnerResponses[keyof DeleteTaskByTaskIdOwnerResponses];
|
|
4848
5037
|
export type DeleteTaskByTaskIdInterestByInterestIdData = {
|
|
4849
5038
|
body?: never;
|
|
4850
5039
|
path: {
|