@vrplatform/log 2.0.81 → 2.0.83
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 +63 -44
- package/build/module/tracking/types.d.ts +63 -44
- package/package.json +1 -1
- package/src/tracking/index.ts +3 -3
- package/src/tracking/types.ts +103 -60
|
@@ -57,12 +57,15 @@ 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_account_settings_set: OnboardingAccountSettingsSetProps;
|
|
66
|
+
onboarding_completed: OnboardingCompletedProps;
|
|
67
|
+
account_signed_out: AccountSignedOutProps;
|
|
68
|
+
account_signin_completed: AccountSigninCompletedProps;
|
|
66
69
|
account_password_reset_requested: AccountPasswordResetRequestedProps;
|
|
67
70
|
account_password_reset_failed: AccountPasswordResetFailedProps;
|
|
68
71
|
account_password_reset_completed: AccountPasswordResetCompletedProps;
|
|
@@ -152,49 +155,30 @@ type AccountInvitationAcceptedProps = MaybePartial<{
|
|
|
152
155
|
tenantId: string;
|
|
153
156
|
isNewUser: boolean;
|
|
154
157
|
}>;
|
|
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;
|
|
158
|
+
type AccountSignupStartedProps = MaybePartial<{
|
|
159
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
161
160
|
}>;
|
|
162
|
-
type
|
|
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;
|
|
176
|
-
}>;
|
|
177
|
-
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
161
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
178
162
|
firstName: string;
|
|
179
163
|
lastName: string;
|
|
180
164
|
userEmail: string;
|
|
181
165
|
companyName: string;
|
|
182
|
-
type: 'property_manager' | 'partner';
|
|
166
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
183
167
|
}>;
|
|
184
168
|
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
185
169
|
firstName: string;
|
|
186
170
|
lastName: string;
|
|
187
171
|
userEmail: string;
|
|
188
172
|
companyName: string;
|
|
189
|
-
type: 'property_manager' | 'partner';
|
|
173
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
190
174
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
191
175
|
}>;
|
|
192
|
-
type
|
|
176
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
193
177
|
firstName: string;
|
|
194
178
|
lastName: string;
|
|
195
179
|
userEmail: string;
|
|
196
180
|
companyName: string;
|
|
197
|
-
type: 'property_manager' | 'partner';
|
|
181
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
198
182
|
}>;
|
|
199
183
|
type AccountSignupCompletedProps = MaybePartial<{
|
|
200
184
|
tenantId: string;
|
|
@@ -203,25 +187,18 @@ type AccountSignupCompletedProps = MaybePartial<{
|
|
|
203
187
|
lastName: string;
|
|
204
188
|
userId: string;
|
|
205
189
|
}>;
|
|
206
|
-
type
|
|
207
|
-
automationId: string;
|
|
208
|
-
templateId: string;
|
|
209
|
-
type?: string | null;
|
|
210
|
-
uniqueRef: string;
|
|
211
|
-
userId: string;
|
|
212
|
-
userEmail: string;
|
|
190
|
+
type OnboardingAccountSettingsSetProps = MaybePartial<{
|
|
213
191
|
tenantId: string;
|
|
214
|
-
}>;
|
|
215
|
-
type AutomationDeletedProps = MaybePartial<{
|
|
216
|
-
automationId: string;
|
|
217
|
-
templateId: string;
|
|
218
|
-
type?: string | null;
|
|
219
|
-
uniqueRef: string;
|
|
220
192
|
userId: string;
|
|
221
|
-
|
|
193
|
+
start: Date;
|
|
194
|
+
country: string;
|
|
195
|
+
currency: string;
|
|
196
|
+
}>;
|
|
197
|
+
type OnboardingCompletedProps = MaybePartial<{
|
|
222
198
|
tenantId: string;
|
|
199
|
+
userId: string;
|
|
200
|
+
listingId: string | null;
|
|
223
201
|
}>;
|
|
224
|
-
type AutomationUpdatedProps = any;
|
|
225
202
|
type ConnectionCreatedProps = MaybePartial<{
|
|
226
203
|
connectionId: string;
|
|
227
204
|
tenantId: string;
|
|
@@ -252,6 +229,47 @@ type ConnectionRequestedProps = MaybePartial<{
|
|
|
252
229
|
userEmail: string;
|
|
253
230
|
tenantId: string;
|
|
254
231
|
}>;
|
|
232
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
233
|
+
userEmail: string;
|
|
234
|
+
}>;
|
|
235
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
236
|
+
userEmail: string;
|
|
237
|
+
status: 'needs_second_factor' | 'needs_identifier' | 'needs_first_factor' | 'needs_new_password' | null | any;
|
|
238
|
+
}>;
|
|
239
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
240
|
+
userEmail: string;
|
|
241
|
+
}>;
|
|
242
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
243
|
+
userId: string;
|
|
244
|
+
userEmail: string;
|
|
245
|
+
tenantId: string;
|
|
246
|
+
firstName: string;
|
|
247
|
+
lastName: string;
|
|
248
|
+
}>;
|
|
249
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
250
|
+
firstName: string;
|
|
251
|
+
lastName: string;
|
|
252
|
+
userEmail: string;
|
|
253
|
+
}>;
|
|
254
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
255
|
+
automationId: string;
|
|
256
|
+
templateId: string;
|
|
257
|
+
type?: string | null;
|
|
258
|
+
uniqueRef: string;
|
|
259
|
+
userId: string;
|
|
260
|
+
userEmail: string;
|
|
261
|
+
tenantId: string;
|
|
262
|
+
}>;
|
|
263
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
264
|
+
automationId: string;
|
|
265
|
+
templateId: string;
|
|
266
|
+
type?: string | null;
|
|
267
|
+
uniqueRef: string;
|
|
268
|
+
userId: string;
|
|
269
|
+
userEmail: string;
|
|
270
|
+
tenantId: string;
|
|
271
|
+
}>;
|
|
272
|
+
type AutomationUpdatedProps = any;
|
|
255
273
|
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
256
274
|
ownerStatementId: string;
|
|
257
275
|
ownerStatementUrls: string[];
|
|
@@ -593,6 +611,7 @@ type IntercomConversationRated = MaybePartial<{
|
|
|
593
611
|
}>;
|
|
594
612
|
type MrrReportedProps = MaybePartial<{
|
|
595
613
|
mrr: number;
|
|
614
|
+
mrrAlt: number;
|
|
596
615
|
listings?: number;
|
|
597
616
|
subscriptionStatus: SubscriptionStatus;
|
|
598
617
|
}>;
|
|
@@ -57,12 +57,15 @@ 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_account_settings_set: OnboardingAccountSettingsSetProps;
|
|
66
|
+
onboarding_completed: OnboardingCompletedProps;
|
|
67
|
+
account_signed_out: AccountSignedOutProps;
|
|
68
|
+
account_signin_completed: AccountSigninCompletedProps;
|
|
66
69
|
account_password_reset_requested: AccountPasswordResetRequestedProps;
|
|
67
70
|
account_password_reset_failed: AccountPasswordResetFailedProps;
|
|
68
71
|
account_password_reset_completed: AccountPasswordResetCompletedProps;
|
|
@@ -152,49 +155,30 @@ type AccountInvitationAcceptedProps = MaybePartial<{
|
|
|
152
155
|
tenantId: string;
|
|
153
156
|
isNewUser: boolean;
|
|
154
157
|
}>;
|
|
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;
|
|
158
|
+
type AccountSignupStartedProps = MaybePartial<{
|
|
159
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
161
160
|
}>;
|
|
162
|
-
type
|
|
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;
|
|
176
|
-
}>;
|
|
177
|
-
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
161
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
178
162
|
firstName: string;
|
|
179
163
|
lastName: string;
|
|
180
164
|
userEmail: string;
|
|
181
165
|
companyName: string;
|
|
182
|
-
type: 'property_manager' | 'partner';
|
|
166
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
183
167
|
}>;
|
|
184
168
|
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
185
169
|
firstName: string;
|
|
186
170
|
lastName: string;
|
|
187
171
|
userEmail: string;
|
|
188
172
|
companyName: string;
|
|
189
|
-
type: 'property_manager' | 'partner';
|
|
173
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
190
174
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
191
175
|
}>;
|
|
192
|
-
type
|
|
176
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
193
177
|
firstName: string;
|
|
194
178
|
lastName: string;
|
|
195
179
|
userEmail: string;
|
|
196
180
|
companyName: string;
|
|
197
|
-
type: 'property_manager' | 'partner';
|
|
181
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
198
182
|
}>;
|
|
199
183
|
type AccountSignupCompletedProps = MaybePartial<{
|
|
200
184
|
tenantId: string;
|
|
@@ -203,25 +187,18 @@ type AccountSignupCompletedProps = MaybePartial<{
|
|
|
203
187
|
lastName: string;
|
|
204
188
|
userId: string;
|
|
205
189
|
}>;
|
|
206
|
-
type
|
|
207
|
-
automationId: string;
|
|
208
|
-
templateId: string;
|
|
209
|
-
type?: string | null;
|
|
210
|
-
uniqueRef: string;
|
|
211
|
-
userId: string;
|
|
212
|
-
userEmail: string;
|
|
190
|
+
type OnboardingAccountSettingsSetProps = MaybePartial<{
|
|
213
191
|
tenantId: string;
|
|
214
|
-
}>;
|
|
215
|
-
type AutomationDeletedProps = MaybePartial<{
|
|
216
|
-
automationId: string;
|
|
217
|
-
templateId: string;
|
|
218
|
-
type?: string | null;
|
|
219
|
-
uniqueRef: string;
|
|
220
192
|
userId: string;
|
|
221
|
-
|
|
193
|
+
start: Date;
|
|
194
|
+
country: string;
|
|
195
|
+
currency: string;
|
|
196
|
+
}>;
|
|
197
|
+
type OnboardingCompletedProps = MaybePartial<{
|
|
222
198
|
tenantId: string;
|
|
199
|
+
userId: string;
|
|
200
|
+
listingId: string | null;
|
|
223
201
|
}>;
|
|
224
|
-
type AutomationUpdatedProps = any;
|
|
225
202
|
type ConnectionCreatedProps = MaybePartial<{
|
|
226
203
|
connectionId: string;
|
|
227
204
|
tenantId: string;
|
|
@@ -252,6 +229,47 @@ type ConnectionRequestedProps = MaybePartial<{
|
|
|
252
229
|
userEmail: string;
|
|
253
230
|
tenantId: string;
|
|
254
231
|
}>;
|
|
232
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
233
|
+
userEmail: string;
|
|
234
|
+
}>;
|
|
235
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
236
|
+
userEmail: string;
|
|
237
|
+
status: 'needs_second_factor' | 'needs_identifier' | 'needs_first_factor' | 'needs_new_password' | null | any;
|
|
238
|
+
}>;
|
|
239
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
240
|
+
userEmail: string;
|
|
241
|
+
}>;
|
|
242
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
243
|
+
userId: string;
|
|
244
|
+
userEmail: string;
|
|
245
|
+
tenantId: string;
|
|
246
|
+
firstName: string;
|
|
247
|
+
lastName: string;
|
|
248
|
+
}>;
|
|
249
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
250
|
+
firstName: string;
|
|
251
|
+
lastName: string;
|
|
252
|
+
userEmail: string;
|
|
253
|
+
}>;
|
|
254
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
255
|
+
automationId: string;
|
|
256
|
+
templateId: string;
|
|
257
|
+
type?: string | null;
|
|
258
|
+
uniqueRef: string;
|
|
259
|
+
userId: string;
|
|
260
|
+
userEmail: string;
|
|
261
|
+
tenantId: string;
|
|
262
|
+
}>;
|
|
263
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
264
|
+
automationId: string;
|
|
265
|
+
templateId: string;
|
|
266
|
+
type?: string | null;
|
|
267
|
+
uniqueRef: string;
|
|
268
|
+
userId: string;
|
|
269
|
+
userEmail: string;
|
|
270
|
+
tenantId: string;
|
|
271
|
+
}>;
|
|
272
|
+
type AutomationUpdatedProps = any;
|
|
255
273
|
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
256
274
|
ownerStatementId: string;
|
|
257
275
|
ownerStatementUrls: string[];
|
|
@@ -593,6 +611,7 @@ type IntercomConversationRated = MaybePartial<{
|
|
|
593
611
|
}>;
|
|
594
612
|
type MrrReportedProps = MaybePartial<{
|
|
595
613
|
mrr: number;
|
|
614
|
+
mrrAlt: number;
|
|
596
615
|
listings?: number;
|
|
597
616
|
subscriptionStatus: SubscriptionStatus;
|
|
598
617
|
}>;
|
package/package.json
CHANGED
package/src/tracking/index.ts
CHANGED
|
@@ -124,9 +124,9 @@ export type UseTracking = {
|
|
|
124
124
|
HASURA_GRAPHQL_ADMIN_SECRET?: string;
|
|
125
125
|
HASURA_ADMIN_SECRET?: string;
|
|
126
126
|
MIXPANEL_TOKEN?: string;
|
|
127
|
-
MIXPANEL_USER?: string;
|
|
128
|
-
MIXPANEL_PASSWORD?: string;
|
|
129
|
-
MIXPANEL_PROJECT_ID?: string;
|
|
127
|
+
MIXPANEL_USER?: string; // only needed for track(..., _import = true)
|
|
128
|
+
MIXPANEL_PASSWORD?: string; // only needed for track(..., _import = true)
|
|
129
|
+
MIXPANEL_PROJECT_ID?: string; // only needed for track(..., _import = true)
|
|
130
130
|
} & LogBindings;
|
|
131
131
|
debugging?: boolean;
|
|
132
132
|
};
|
package/src/tracking/types.ts
CHANGED
|
@@ -69,14 +69,39 @@ 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_account_settings_set
|
|
82
|
+
8. onboarding_completed
|
|
83
|
+
9. hyperline_trial_started
|
|
84
|
+
10. owner_created
|
|
85
|
+
11. ownership_created
|
|
86
|
+
12. page view - owner statement
|
|
87
|
+
13. hyperline_invoice_ready
|
|
88
|
+
14. hyperline_invoice_settled
|
|
89
|
+
*/
|
|
90
|
+
|
|
72
91
|
export type TrackingEventProps = {
|
|
92
|
+
// Signup/Onboarding Funnel
|
|
73
93
|
account_invitation_accepted: AccountInvitationAcceptedProps;
|
|
74
|
-
|
|
75
|
-
account_signin_completed: AccountSigninCompletedProps;
|
|
94
|
+
account_signup_started: AccountSignupStartedProps;
|
|
76
95
|
account_signup_code_requested: AccountSignupCodeRequestedProps;
|
|
77
|
-
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
78
96
|
account_signup_code_failed: AccountSignupCodeFailedProps;
|
|
97
|
+
account_signup_code_completed: AccountSignupCodeCompletedProps;
|
|
79
98
|
account_signup_completed: AccountSignupCompletedProps;
|
|
99
|
+
onboarding_account_settings_set: OnboardingAccountSettingsSetProps;
|
|
100
|
+
onboarding_completed: OnboardingCompletedProps;
|
|
101
|
+
|
|
102
|
+
// Other Events
|
|
103
|
+
account_signed_out: AccountSignedOutProps;
|
|
104
|
+
account_signin_completed: AccountSigninCompletedProps;
|
|
80
105
|
account_password_reset_requested: AccountPasswordResetRequestedProps;
|
|
81
106
|
account_password_reset_failed: AccountPasswordResetFailedProps;
|
|
82
107
|
account_password_reset_completed: AccountPasswordResetCompletedProps;
|
|
@@ -196,12 +221,7 @@ export type PaymentMethodType =
|
|
|
196
221
|
| 'transfer_automated'
|
|
197
222
|
| 'external';
|
|
198
223
|
|
|
199
|
-
//
|
|
200
|
-
// type GLOnboardingRoleChoosedProps = MaybePartial<{
|
|
201
|
-
// userRole: 'owner' | 'propertyManager' | 'partner';
|
|
202
|
-
// }>;
|
|
203
|
-
|
|
204
|
-
/* Legacy & Other Events */
|
|
224
|
+
// Signup/Onboarding Funnel
|
|
205
225
|
|
|
206
226
|
type AccountInvitationAcceptedProps = MaybePartial<{
|
|
207
227
|
userId: string;
|
|
@@ -211,45 +231,16 @@ type AccountInvitationAcceptedProps = MaybePartial<{
|
|
|
211
231
|
isNewUser: boolean;
|
|
212
232
|
}>;
|
|
213
233
|
|
|
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;
|
|
234
|
+
type AccountSignupStartedProps = MaybePartial<{
|
|
235
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
231
236
|
}>;
|
|
232
237
|
|
|
233
|
-
type
|
|
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;
|
|
245
|
-
}>;
|
|
246
|
-
|
|
247
|
-
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
238
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
248
239
|
firstName: string;
|
|
249
240
|
lastName: string;
|
|
250
241
|
userEmail: string;
|
|
251
242
|
companyName: string;
|
|
252
|
-
type: 'property_manager' | 'partner';
|
|
243
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
253
244
|
}>;
|
|
254
245
|
|
|
255
246
|
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
@@ -257,16 +248,16 @@ type AccountSignupCodeFailedProps = MaybePartial<{
|
|
|
257
248
|
lastName: string;
|
|
258
249
|
userEmail: string;
|
|
259
250
|
companyName: string;
|
|
260
|
-
type: 'property_manager' | 'partner';
|
|
251
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
261
252
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
262
253
|
}>;
|
|
263
254
|
|
|
264
|
-
type
|
|
255
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
265
256
|
firstName: string;
|
|
266
257
|
lastName: string;
|
|
267
258
|
userEmail: string;
|
|
268
259
|
companyName: string;
|
|
269
|
-
type: 'property_manager' | 'partner';
|
|
260
|
+
type: 'owner' | 'property_manager' | 'partner';
|
|
270
261
|
}>;
|
|
271
262
|
|
|
272
263
|
type AccountSignupCompletedProps = MaybePartial<{
|
|
@@ -277,27 +268,21 @@ type AccountSignupCompletedProps = MaybePartial<{
|
|
|
277
268
|
userId: string;
|
|
278
269
|
}>;
|
|
279
270
|
|
|
280
|
-
type
|
|
281
|
-
automationId: string;
|
|
282
|
-
templateId: string;
|
|
283
|
-
type?: string | null;
|
|
284
|
-
uniqueRef: string;
|
|
285
|
-
userId: string;
|
|
286
|
-
userEmail: string;
|
|
271
|
+
type OnboardingAccountSettingsSetProps = MaybePartial<{
|
|
287
272
|
tenantId: string;
|
|
273
|
+
userId: string;
|
|
274
|
+
start: Date;
|
|
275
|
+
country: string;
|
|
276
|
+
currency: string;
|
|
288
277
|
}>;
|
|
289
278
|
|
|
290
|
-
type
|
|
291
|
-
automationId: string;
|
|
292
|
-
templateId: string;
|
|
293
|
-
type?: string | null;
|
|
294
|
-
uniqueRef: string;
|
|
295
|
-
userId: string;
|
|
296
|
-
userEmail: string;
|
|
279
|
+
type OnboardingCompletedProps = MaybePartial<{
|
|
297
280
|
tenantId: string;
|
|
281
|
+
userId: string;
|
|
282
|
+
listingId: string | null; // null if skipped
|
|
298
283
|
}>;
|
|
299
284
|
|
|
300
|
-
|
|
285
|
+
// Connection Events
|
|
301
286
|
|
|
302
287
|
type ConnectionCreatedProps = MaybePartial<{
|
|
303
288
|
connectionId: string;
|
|
@@ -333,6 +318,63 @@ type ConnectionRequestedProps = MaybePartial<{
|
|
|
333
318
|
tenantId: string;
|
|
334
319
|
}>;
|
|
335
320
|
|
|
321
|
+
// Other Events
|
|
322
|
+
|
|
323
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
324
|
+
userEmail: string;
|
|
325
|
+
}>;
|
|
326
|
+
|
|
327
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
328
|
+
userEmail: string;
|
|
329
|
+
status:
|
|
330
|
+
| 'needs_second_factor'
|
|
331
|
+
| 'needs_identifier'
|
|
332
|
+
| 'needs_first_factor'
|
|
333
|
+
| 'needs_new_password'
|
|
334
|
+
| null
|
|
335
|
+
| any;
|
|
336
|
+
}>;
|
|
337
|
+
|
|
338
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
339
|
+
userEmail: string;
|
|
340
|
+
}>;
|
|
341
|
+
|
|
342
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
343
|
+
userId: string;
|
|
344
|
+
userEmail: string;
|
|
345
|
+
tenantId: string;
|
|
346
|
+
firstName: string;
|
|
347
|
+
lastName: string;
|
|
348
|
+
}>;
|
|
349
|
+
|
|
350
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
351
|
+
firstName: string;
|
|
352
|
+
lastName: string;
|
|
353
|
+
userEmail: string;
|
|
354
|
+
}>;
|
|
355
|
+
|
|
356
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
357
|
+
automationId: string;
|
|
358
|
+
templateId: string;
|
|
359
|
+
type?: string | null;
|
|
360
|
+
uniqueRef: string;
|
|
361
|
+
userId: string;
|
|
362
|
+
userEmail: string;
|
|
363
|
+
tenantId: string;
|
|
364
|
+
}>;
|
|
365
|
+
|
|
366
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
367
|
+
automationId: string;
|
|
368
|
+
templateId: string;
|
|
369
|
+
type?: string | null;
|
|
370
|
+
uniqueRef: string;
|
|
371
|
+
userId: string;
|
|
372
|
+
userEmail: string;
|
|
373
|
+
tenantId: string;
|
|
374
|
+
}>;
|
|
375
|
+
|
|
376
|
+
type AutomationUpdatedProps = any;
|
|
377
|
+
|
|
336
378
|
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
337
379
|
ownerStatementId: string;
|
|
338
380
|
ownerStatementUrls: string[];
|
|
@@ -742,6 +784,7 @@ type IntercomConversationRated = MaybePartial<{
|
|
|
742
784
|
|
|
743
785
|
type MrrReportedProps = MaybePartial<{
|
|
744
786
|
mrr: number;
|
|
787
|
+
mrrAlt: number;
|
|
745
788
|
listings?: number;
|
|
746
789
|
subscriptionStatus: SubscriptionStatus;
|
|
747
790
|
}>;
|