@vrplatform/log 2.0.80 → 2.0.82
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/build/main/tracking/types.d.ts +69 -43
- package/build/module/tracking/types.d.ts +69 -43
- package/package.json +1 -1
- package/src/tracking/types.ts +117 -59
|
@@ -57,12 +57,16 @@ export type GroupProps = OptionalUser<{
|
|
|
57
57
|
}>;
|
|
58
58
|
export type TrackingEventProps = {
|
|
59
59
|
account_invitation_accepted: AccountInvitationAcceptedProps;
|
|
60
|
-
|
|
61
|
-
account_signin_completed: AccountSigninCompletedProps;
|
|
60
|
+
account_signup_started: AccountSignupStartedProps;
|
|
62
61
|
account_signup_code_requested: AccountSignupCodeRequestedProps;
|
|
63
|
-
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
64
62
|
account_signup_code_failed: AccountSignupCodeFailedProps;
|
|
63
|
+
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
65
64
|
account_signup_completed: AccountSignupCompletedProps;
|
|
65
|
+
onboarding_owner_statement_settings_set: OnboardingOwnerStatementSettingsSetProps;
|
|
66
|
+
onboarding_billing_settings_set: OnboardingBillingSettingsSetProps;
|
|
67
|
+
onboarding_completed: OnboardingCompletedProps;
|
|
68
|
+
account_signed_out: AccountSignedOutProps;
|
|
69
|
+
account_signin_completed: AccountSigninCompletedProps;
|
|
66
70
|
account_password_reset_requested: AccountPasswordResetRequestedProps;
|
|
67
71
|
account_password_reset_failed: AccountPasswordResetFailedProps;
|
|
68
72
|
account_password_reset_completed: AccountPasswordResetCompletedProps;
|
|
@@ -152,49 +156,30 @@ type AccountInvitationAcceptedProps = MaybePartial<{
|
|
|
152
156
|
tenantId: string;
|
|
153
157
|
isNewUser: boolean;
|
|
154
158
|
}>;
|
|
155
|
-
type
|
|
156
|
-
|
|
157
|
-
}>;
|
|
158
|
-
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
159
|
-
userEmail: string;
|
|
160
|
-
status: 'needs_second_factor' | 'needs_identifier' | 'needs_first_factor' | 'needs_new_password' | null | any;
|
|
161
|
-
}>;
|
|
162
|
-
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
163
|
-
userEmail: string;
|
|
164
|
-
}>;
|
|
165
|
-
type AccountSignedOutProps = MaybePartial<{
|
|
166
|
-
userId: string;
|
|
167
|
-
userEmail: string;
|
|
168
|
-
tenantId: string;
|
|
169
|
-
firstName: string;
|
|
170
|
-
lastName: string;
|
|
171
|
-
}>;
|
|
172
|
-
type AccountSigninCompletedProps = MaybePartial<{
|
|
173
|
-
firstName: string;
|
|
174
|
-
lastName: string;
|
|
175
|
-
userEmail: string;
|
|
159
|
+
type AccountSignupStartedProps = MaybePartial<{
|
|
160
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
176
161
|
}>;
|
|
177
|
-
type
|
|
162
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
178
163
|
firstName: string;
|
|
179
164
|
lastName: string;
|
|
180
165
|
userEmail: string;
|
|
181
166
|
companyName: string;
|
|
182
|
-
type: 'property_manager' | 'partner';
|
|
167
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
183
168
|
}>;
|
|
184
169
|
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
185
170
|
firstName: string;
|
|
186
171
|
lastName: string;
|
|
187
172
|
userEmail: string;
|
|
188
173
|
companyName: string;
|
|
189
|
-
type: 'property_manager' | 'partner';
|
|
174
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
190
175
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
191
176
|
}>;
|
|
192
|
-
type
|
|
177
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
193
178
|
firstName: string;
|
|
194
179
|
lastName: string;
|
|
195
180
|
userEmail: string;
|
|
196
181
|
companyName: string;
|
|
197
|
-
type: 'property_manager' | 'partner';
|
|
182
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
198
183
|
}>;
|
|
199
184
|
type AccountSignupCompletedProps = MaybePartial<{
|
|
200
185
|
tenantId: string;
|
|
@@ -203,25 +188,23 @@ type AccountSignupCompletedProps = MaybePartial<{
|
|
|
203
188
|
lastName: string;
|
|
204
189
|
userId: string;
|
|
205
190
|
}>;
|
|
206
|
-
type
|
|
207
|
-
automationId: string;
|
|
208
|
-
templateId: string;
|
|
209
|
-
type?: string | null;
|
|
210
|
-
uniqueRef: string;
|
|
211
|
-
userId: string;
|
|
212
|
-
userEmail: string;
|
|
191
|
+
type OnboardingOwnerStatementSettingsSetProps = MaybePartial<{
|
|
213
192
|
tenantId: string;
|
|
193
|
+
userId: string;
|
|
194
|
+
start: Date;
|
|
195
|
+
country: string;
|
|
196
|
+
currency: string;
|
|
214
197
|
}>;
|
|
215
|
-
type
|
|
216
|
-
|
|
217
|
-
templateId: string;
|
|
218
|
-
type?: string | null;
|
|
219
|
-
uniqueRef: string;
|
|
198
|
+
type OnboardingBillingSettingsSetProps = MaybePartial<{
|
|
199
|
+
tenantId: string;
|
|
220
200
|
userId: string;
|
|
221
|
-
|
|
201
|
+
paymentMethod: 'card' | 'direct_debit';
|
|
202
|
+
}>;
|
|
203
|
+
type OnboardingCompletedProps = MaybePartial<{
|
|
222
204
|
tenantId: string;
|
|
205
|
+
userId: string;
|
|
206
|
+
listingId: string | null;
|
|
223
207
|
}>;
|
|
224
|
-
type AutomationUpdatedProps = any;
|
|
225
208
|
type ConnectionCreatedProps = MaybePartial<{
|
|
226
209
|
connectionId: string;
|
|
227
210
|
tenantId: string;
|
|
@@ -252,6 +235,47 @@ type ConnectionRequestedProps = MaybePartial<{
|
|
|
252
235
|
userEmail: string;
|
|
253
236
|
tenantId: string;
|
|
254
237
|
}>;
|
|
238
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
239
|
+
userEmail: string;
|
|
240
|
+
}>;
|
|
241
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
242
|
+
userEmail: string;
|
|
243
|
+
status: 'needs_second_factor' | 'needs_identifier' | 'needs_first_factor' | 'needs_new_password' | null | any;
|
|
244
|
+
}>;
|
|
245
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
246
|
+
userEmail: string;
|
|
247
|
+
}>;
|
|
248
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
249
|
+
userId: string;
|
|
250
|
+
userEmail: string;
|
|
251
|
+
tenantId: string;
|
|
252
|
+
firstName: string;
|
|
253
|
+
lastName: string;
|
|
254
|
+
}>;
|
|
255
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
256
|
+
firstName: string;
|
|
257
|
+
lastName: string;
|
|
258
|
+
userEmail: string;
|
|
259
|
+
}>;
|
|
260
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
261
|
+
automationId: string;
|
|
262
|
+
templateId: string;
|
|
263
|
+
type?: string | null;
|
|
264
|
+
uniqueRef: string;
|
|
265
|
+
userId: string;
|
|
266
|
+
userEmail: string;
|
|
267
|
+
tenantId: string;
|
|
268
|
+
}>;
|
|
269
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
270
|
+
automationId: string;
|
|
271
|
+
templateId: string;
|
|
272
|
+
type?: string | null;
|
|
273
|
+
uniqueRef: string;
|
|
274
|
+
userId: string;
|
|
275
|
+
userEmail: string;
|
|
276
|
+
tenantId: string;
|
|
277
|
+
}>;
|
|
278
|
+
type AutomationUpdatedProps = any;
|
|
255
279
|
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
256
280
|
ownerStatementId: string;
|
|
257
281
|
ownerStatementUrls: string[];
|
|
@@ -593,6 +617,8 @@ type IntercomConversationRated = MaybePartial<{
|
|
|
593
617
|
}>;
|
|
594
618
|
type MrrReportedProps = MaybePartial<{
|
|
595
619
|
mrr: number;
|
|
620
|
+
mrrAlt: number;
|
|
621
|
+
listings?: number;
|
|
596
622
|
subscriptionStatus: SubscriptionStatus;
|
|
597
623
|
}>;
|
|
598
624
|
export {};
|
|
@@ -57,12 +57,16 @@ export type GroupProps = OptionalUser<{
|
|
|
57
57
|
}>;
|
|
58
58
|
export type TrackingEventProps = {
|
|
59
59
|
account_invitation_accepted: AccountInvitationAcceptedProps;
|
|
60
|
-
|
|
61
|
-
account_signin_completed: AccountSigninCompletedProps;
|
|
60
|
+
account_signup_started: AccountSignupStartedProps;
|
|
62
61
|
account_signup_code_requested: AccountSignupCodeRequestedProps;
|
|
63
|
-
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
64
62
|
account_signup_code_failed: AccountSignupCodeFailedProps;
|
|
63
|
+
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
65
64
|
account_signup_completed: AccountSignupCompletedProps;
|
|
65
|
+
onboarding_owner_statement_settings_set: OnboardingOwnerStatementSettingsSetProps;
|
|
66
|
+
onboarding_billing_settings_set: OnboardingBillingSettingsSetProps;
|
|
67
|
+
onboarding_completed: OnboardingCompletedProps;
|
|
68
|
+
account_signed_out: AccountSignedOutProps;
|
|
69
|
+
account_signin_completed: AccountSigninCompletedProps;
|
|
66
70
|
account_password_reset_requested: AccountPasswordResetRequestedProps;
|
|
67
71
|
account_password_reset_failed: AccountPasswordResetFailedProps;
|
|
68
72
|
account_password_reset_completed: AccountPasswordResetCompletedProps;
|
|
@@ -152,49 +156,30 @@ type AccountInvitationAcceptedProps = MaybePartial<{
|
|
|
152
156
|
tenantId: string;
|
|
153
157
|
isNewUser: boolean;
|
|
154
158
|
}>;
|
|
155
|
-
type
|
|
156
|
-
|
|
157
|
-
}>;
|
|
158
|
-
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
159
|
-
userEmail: string;
|
|
160
|
-
status: 'needs_second_factor' | 'needs_identifier' | 'needs_first_factor' | 'needs_new_password' | null | any;
|
|
161
|
-
}>;
|
|
162
|
-
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
163
|
-
userEmail: string;
|
|
164
|
-
}>;
|
|
165
|
-
type AccountSignedOutProps = MaybePartial<{
|
|
166
|
-
userId: string;
|
|
167
|
-
userEmail: string;
|
|
168
|
-
tenantId: string;
|
|
169
|
-
firstName: string;
|
|
170
|
-
lastName: string;
|
|
171
|
-
}>;
|
|
172
|
-
type AccountSigninCompletedProps = MaybePartial<{
|
|
173
|
-
firstName: string;
|
|
174
|
-
lastName: string;
|
|
175
|
-
userEmail: string;
|
|
159
|
+
type AccountSignupStartedProps = MaybePartial<{
|
|
160
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
176
161
|
}>;
|
|
177
|
-
type
|
|
162
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
178
163
|
firstName: string;
|
|
179
164
|
lastName: string;
|
|
180
165
|
userEmail: string;
|
|
181
166
|
companyName: string;
|
|
182
|
-
type: 'property_manager' | 'partner';
|
|
167
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
183
168
|
}>;
|
|
184
169
|
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
185
170
|
firstName: string;
|
|
186
171
|
lastName: string;
|
|
187
172
|
userEmail: string;
|
|
188
173
|
companyName: string;
|
|
189
|
-
type: 'property_manager' | 'partner';
|
|
174
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
190
175
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
191
176
|
}>;
|
|
192
|
-
type
|
|
177
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
193
178
|
firstName: string;
|
|
194
179
|
lastName: string;
|
|
195
180
|
userEmail: string;
|
|
196
181
|
companyName: string;
|
|
197
|
-
type: 'property_manager' | 'partner';
|
|
182
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
198
183
|
}>;
|
|
199
184
|
type AccountSignupCompletedProps = MaybePartial<{
|
|
200
185
|
tenantId: string;
|
|
@@ -203,25 +188,23 @@ type AccountSignupCompletedProps = MaybePartial<{
|
|
|
203
188
|
lastName: string;
|
|
204
189
|
userId: string;
|
|
205
190
|
}>;
|
|
206
|
-
type
|
|
207
|
-
automationId: string;
|
|
208
|
-
templateId: string;
|
|
209
|
-
type?: string | null;
|
|
210
|
-
uniqueRef: string;
|
|
211
|
-
userId: string;
|
|
212
|
-
userEmail: string;
|
|
191
|
+
type OnboardingOwnerStatementSettingsSetProps = MaybePartial<{
|
|
213
192
|
tenantId: string;
|
|
193
|
+
userId: string;
|
|
194
|
+
start: Date;
|
|
195
|
+
country: string;
|
|
196
|
+
currency: string;
|
|
214
197
|
}>;
|
|
215
|
-
type
|
|
216
|
-
|
|
217
|
-
templateId: string;
|
|
218
|
-
type?: string | null;
|
|
219
|
-
uniqueRef: string;
|
|
198
|
+
type OnboardingBillingSettingsSetProps = MaybePartial<{
|
|
199
|
+
tenantId: string;
|
|
220
200
|
userId: string;
|
|
221
|
-
|
|
201
|
+
paymentMethod: 'card' | 'direct_debit';
|
|
202
|
+
}>;
|
|
203
|
+
type OnboardingCompletedProps = MaybePartial<{
|
|
222
204
|
tenantId: string;
|
|
205
|
+
userId: string;
|
|
206
|
+
listingId: string | null;
|
|
223
207
|
}>;
|
|
224
|
-
type AutomationUpdatedProps = any;
|
|
225
208
|
type ConnectionCreatedProps = MaybePartial<{
|
|
226
209
|
connectionId: string;
|
|
227
210
|
tenantId: string;
|
|
@@ -252,6 +235,47 @@ type ConnectionRequestedProps = MaybePartial<{
|
|
|
252
235
|
userEmail: string;
|
|
253
236
|
tenantId: string;
|
|
254
237
|
}>;
|
|
238
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
239
|
+
userEmail: string;
|
|
240
|
+
}>;
|
|
241
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
242
|
+
userEmail: string;
|
|
243
|
+
status: 'needs_second_factor' | 'needs_identifier' | 'needs_first_factor' | 'needs_new_password' | null | any;
|
|
244
|
+
}>;
|
|
245
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
246
|
+
userEmail: string;
|
|
247
|
+
}>;
|
|
248
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
249
|
+
userId: string;
|
|
250
|
+
userEmail: string;
|
|
251
|
+
tenantId: string;
|
|
252
|
+
firstName: string;
|
|
253
|
+
lastName: string;
|
|
254
|
+
}>;
|
|
255
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
256
|
+
firstName: string;
|
|
257
|
+
lastName: string;
|
|
258
|
+
userEmail: string;
|
|
259
|
+
}>;
|
|
260
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
261
|
+
automationId: string;
|
|
262
|
+
templateId: string;
|
|
263
|
+
type?: string | null;
|
|
264
|
+
uniqueRef: string;
|
|
265
|
+
userId: string;
|
|
266
|
+
userEmail: string;
|
|
267
|
+
tenantId: string;
|
|
268
|
+
}>;
|
|
269
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
270
|
+
automationId: string;
|
|
271
|
+
templateId: string;
|
|
272
|
+
type?: string | null;
|
|
273
|
+
uniqueRef: string;
|
|
274
|
+
userId: string;
|
|
275
|
+
userEmail: string;
|
|
276
|
+
tenantId: string;
|
|
277
|
+
}>;
|
|
278
|
+
type AutomationUpdatedProps = any;
|
|
255
279
|
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
256
280
|
ownerStatementId: string;
|
|
257
281
|
ownerStatementUrls: string[];
|
|
@@ -593,6 +617,8 @@ type IntercomConversationRated = MaybePartial<{
|
|
|
593
617
|
}>;
|
|
594
618
|
type MrrReportedProps = MaybePartial<{
|
|
595
619
|
mrr: number;
|
|
620
|
+
mrrAlt: number;
|
|
621
|
+
listings?: number;
|
|
596
622
|
subscriptionStatus: SubscriptionStatus;
|
|
597
623
|
}>;
|
|
598
624
|
export {};
|
package/package.json
CHANGED
package/src/tracking/types.ts
CHANGED
|
@@ -69,14 +69,47 @@ export type GroupProps = OptionalUser<{
|
|
|
69
69
|
};
|
|
70
70
|
}>;
|
|
71
71
|
|
|
72
|
+
/* Onboarding Funnel
|
|
73
|
+
0. account_invitation_accepted
|
|
74
|
+
1. account_signup_started
|
|
75
|
+
2. account_signup_code_requested
|
|
76
|
+
2a. account_signup_code_failed
|
|
77
|
+
2b. account_signup_code_requested
|
|
78
|
+
3. account_signup_code_completed
|
|
79
|
+
4. account_signup_completed
|
|
80
|
+
5. connection_created
|
|
81
|
+
6. onboarding_owner_statement_settings_set
|
|
82
|
+
7. onboarding_billing_settings_set
|
|
83
|
+
8. onboarding_completed
|
|
84
|
+
-> First OwnerStatement Funnel starts here!
|
|
85
|
+
9. hyperline_trial_started
|
|
86
|
+
10. hyperline_invoice_ready
|
|
87
|
+
11. hyperline_invoice_settled
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
/* First OwnerStatement Funnel
|
|
91
|
+
1. owner_created
|
|
92
|
+
2. ownership_created
|
|
93
|
+
2a. "Setup 1st Listing on Management Commission"???
|
|
94
|
+
2aa. "Add an expense (optional)"???
|
|
95
|
+
3. owner_statement_status_changed
|
|
96
|
+
*/
|
|
97
|
+
|
|
72
98
|
export type TrackingEventProps = {
|
|
99
|
+
// Signup/Onboarding Funnel
|
|
73
100
|
account_invitation_accepted: AccountInvitationAcceptedProps;
|
|
74
|
-
|
|
75
|
-
account_signin_completed: AccountSigninCompletedProps;
|
|
101
|
+
account_signup_started: AccountSignupStartedProps;
|
|
76
102
|
account_signup_code_requested: AccountSignupCodeRequestedProps;
|
|
77
|
-
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
78
103
|
account_signup_code_failed: AccountSignupCodeFailedProps;
|
|
104
|
+
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
79
105
|
account_signup_completed: AccountSignupCompletedProps;
|
|
106
|
+
onboarding_owner_statement_settings_set: OnboardingOwnerStatementSettingsSetProps;
|
|
107
|
+
onboarding_billing_settings_set: OnboardingBillingSettingsSetProps;
|
|
108
|
+
onboarding_completed: OnboardingCompletedProps;
|
|
109
|
+
|
|
110
|
+
// Other Events
|
|
111
|
+
account_signed_out: AccountSignedOutProps;
|
|
112
|
+
account_signin_completed: AccountSigninCompletedProps;
|
|
80
113
|
account_password_reset_requested: AccountPasswordResetRequestedProps;
|
|
81
114
|
account_password_reset_failed: AccountPasswordResetFailedProps;
|
|
82
115
|
account_password_reset_completed: AccountPasswordResetCompletedProps;
|
|
@@ -196,12 +229,7 @@ export type PaymentMethodType =
|
|
|
196
229
|
| 'transfer_automated'
|
|
197
230
|
| 'external';
|
|
198
231
|
|
|
199
|
-
//
|
|
200
|
-
// type GLOnboardingRoleChoosedProps = MaybePartial<{
|
|
201
|
-
// userRole: 'owner' | 'propertyManager' | 'partner';
|
|
202
|
-
// }>;
|
|
203
|
-
|
|
204
|
-
/* Legacy & Other Events */
|
|
232
|
+
// Signup/Onboarding Funnel
|
|
205
233
|
|
|
206
234
|
type AccountInvitationAcceptedProps = MaybePartial<{
|
|
207
235
|
userId: string;
|
|
@@ -211,45 +239,16 @@ type AccountInvitationAcceptedProps = MaybePartial<{
|
|
|
211
239
|
isNewUser: boolean;
|
|
212
240
|
}>;
|
|
213
241
|
|
|
214
|
-
type
|
|
215
|
-
|
|
216
|
-
}>;
|
|
217
|
-
|
|
218
|
-
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
219
|
-
userEmail: string;
|
|
220
|
-
status:
|
|
221
|
-
| 'needs_second_factor'
|
|
222
|
-
| 'needs_identifier'
|
|
223
|
-
| 'needs_first_factor'
|
|
224
|
-
| 'needs_new_password'
|
|
225
|
-
| null
|
|
226
|
-
| any;
|
|
227
|
-
}>;
|
|
228
|
-
|
|
229
|
-
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
230
|
-
userEmail: string;
|
|
231
|
-
}>;
|
|
232
|
-
|
|
233
|
-
type AccountSignedOutProps = MaybePartial<{
|
|
234
|
-
userId: string;
|
|
235
|
-
userEmail: string;
|
|
236
|
-
tenantId: string;
|
|
237
|
-
firstName: string;
|
|
238
|
-
lastName: string;
|
|
239
|
-
}>;
|
|
240
|
-
|
|
241
|
-
type AccountSigninCompletedProps = MaybePartial<{
|
|
242
|
-
firstName: string;
|
|
243
|
-
lastName: string;
|
|
244
|
-
userEmail: string;
|
|
242
|
+
type AccountSignupStartedProps = MaybePartial<{
|
|
243
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
245
244
|
}>;
|
|
246
245
|
|
|
247
|
-
type
|
|
246
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
248
247
|
firstName: string;
|
|
249
248
|
lastName: string;
|
|
250
249
|
userEmail: string;
|
|
251
250
|
companyName: string;
|
|
252
|
-
type: 'property_manager' | 'partner';
|
|
251
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
253
252
|
}>;
|
|
254
253
|
|
|
255
254
|
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
@@ -257,16 +256,16 @@ type AccountSignupCodeFailedProps = MaybePartial<{
|
|
|
257
256
|
lastName: string;
|
|
258
257
|
userEmail: string;
|
|
259
258
|
companyName: string;
|
|
260
|
-
type: 'property_manager' | 'partner';
|
|
259
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
261
260
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
262
261
|
}>;
|
|
263
262
|
|
|
264
|
-
type
|
|
263
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
265
264
|
firstName: string;
|
|
266
265
|
lastName: string;
|
|
267
266
|
userEmail: string;
|
|
268
267
|
companyName: string;
|
|
269
|
-
type: 'property_manager' | 'partner';
|
|
268
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
270
269
|
}>;
|
|
271
270
|
|
|
272
271
|
type AccountSignupCompletedProps = MaybePartial<{
|
|
@@ -277,27 +276,27 @@ type AccountSignupCompletedProps = MaybePartial<{
|
|
|
277
276
|
userId: string;
|
|
278
277
|
}>;
|
|
279
278
|
|
|
280
|
-
type
|
|
281
|
-
automationId: string;
|
|
282
|
-
templateId: string;
|
|
283
|
-
type?: string | null;
|
|
284
|
-
uniqueRef: string;
|
|
285
|
-
userId: string;
|
|
286
|
-
userEmail: string;
|
|
279
|
+
type OnboardingOwnerStatementSettingsSetProps = MaybePartial<{
|
|
287
280
|
tenantId: string;
|
|
281
|
+
userId: string;
|
|
282
|
+
start: Date;
|
|
283
|
+
country: string;
|
|
284
|
+
currency: string;
|
|
288
285
|
}>;
|
|
289
286
|
|
|
290
|
-
type
|
|
291
|
-
|
|
292
|
-
templateId: string;
|
|
293
|
-
type?: string | null;
|
|
294
|
-
uniqueRef: string;
|
|
287
|
+
type OnboardingBillingSettingsSetProps = MaybePartial<{
|
|
288
|
+
tenantId: string;
|
|
295
289
|
userId: string;
|
|
296
|
-
|
|
290
|
+
paymentMethod: 'card' | 'direct_debit';
|
|
291
|
+
}>;
|
|
292
|
+
|
|
293
|
+
type OnboardingCompletedProps = MaybePartial<{
|
|
297
294
|
tenantId: string;
|
|
295
|
+
userId: string;
|
|
296
|
+
listingId: string | null; // null if skipped
|
|
298
297
|
}>;
|
|
299
298
|
|
|
300
|
-
|
|
299
|
+
// Connection Events
|
|
301
300
|
|
|
302
301
|
type ConnectionCreatedProps = MaybePartial<{
|
|
303
302
|
connectionId: string;
|
|
@@ -333,6 +332,63 @@ type ConnectionRequestedProps = MaybePartial<{
|
|
|
333
332
|
tenantId: string;
|
|
334
333
|
}>;
|
|
335
334
|
|
|
335
|
+
// Other Events
|
|
336
|
+
|
|
337
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
338
|
+
userEmail: string;
|
|
339
|
+
}>;
|
|
340
|
+
|
|
341
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
342
|
+
userEmail: string;
|
|
343
|
+
status:
|
|
344
|
+
| 'needs_second_factor'
|
|
345
|
+
| 'needs_identifier'
|
|
346
|
+
| 'needs_first_factor'
|
|
347
|
+
| 'needs_new_password'
|
|
348
|
+
| null
|
|
349
|
+
| any;
|
|
350
|
+
}>;
|
|
351
|
+
|
|
352
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
353
|
+
userEmail: string;
|
|
354
|
+
}>;
|
|
355
|
+
|
|
356
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
357
|
+
userId: string;
|
|
358
|
+
userEmail: string;
|
|
359
|
+
tenantId: string;
|
|
360
|
+
firstName: string;
|
|
361
|
+
lastName: string;
|
|
362
|
+
}>;
|
|
363
|
+
|
|
364
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
365
|
+
firstName: string;
|
|
366
|
+
lastName: string;
|
|
367
|
+
userEmail: string;
|
|
368
|
+
}>;
|
|
369
|
+
|
|
370
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
371
|
+
automationId: string;
|
|
372
|
+
templateId: string;
|
|
373
|
+
type?: string | null;
|
|
374
|
+
uniqueRef: string;
|
|
375
|
+
userId: string;
|
|
376
|
+
userEmail: string;
|
|
377
|
+
tenantId: string;
|
|
378
|
+
}>;
|
|
379
|
+
|
|
380
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
381
|
+
automationId: string;
|
|
382
|
+
templateId: string;
|
|
383
|
+
type?: string | null;
|
|
384
|
+
uniqueRef: string;
|
|
385
|
+
userId: string;
|
|
386
|
+
userEmail: string;
|
|
387
|
+
tenantId: string;
|
|
388
|
+
}>;
|
|
389
|
+
|
|
390
|
+
type AutomationUpdatedProps = any;
|
|
391
|
+
|
|
336
392
|
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
337
393
|
ownerStatementId: string;
|
|
338
394
|
ownerStatementUrls: string[];
|
|
@@ -742,5 +798,7 @@ type IntercomConversationRated = MaybePartial<{
|
|
|
742
798
|
|
|
743
799
|
type MrrReportedProps = MaybePartial<{
|
|
744
800
|
mrr: number;
|
|
801
|
+
mrrAlt: number;
|
|
802
|
+
listings?: number;
|
|
745
803
|
subscriptionStatus: SubscriptionStatus;
|
|
746
804
|
}>;
|