@vrplatform/log 2.0.0-alpha.45 → 2.0.0-alpha.47
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/log/index.spec.d.ts +0 -0
- package/build/main/log/index.spec.js +2 -0
- package/build/main/log/index.spec.js.map +1 -0
- package/build/main/tracking/types.d.ts +73 -76
- package/build/module/log/index.spec.d.ts +0 -0
- package/build/module/log/index.spec.js +2 -0
- package/build/module/log/index.spec.js.map +1 -0
- package/build/module/tracking/types.d.ts +73 -76
- package/package.json +20 -22
- package/src/tracking/types.ts +265 -266
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.spec.js","sourceRoot":"src/","sources":["log/index.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,82 +1,7 @@
|
|
|
1
1
|
export type TrackProps = OptionalUser<{
|
|
2
2
|
groupId: string;
|
|
3
|
-
event: TrackingEvent;
|
|
4
|
-
properties: Record<string, string | number | boolean | null | undefined>;
|
|
5
3
|
timestamp?: Date;
|
|
6
|
-
}
|
|
7
|
-
export type IdentifyProps = {
|
|
8
|
-
userId: string;
|
|
9
|
-
traits?: {
|
|
10
|
-
id?: string;
|
|
11
|
-
email?: string;
|
|
12
|
-
avatar?: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
firstName?: string;
|
|
15
|
-
lastName?: string;
|
|
16
|
-
createdAt?: string;
|
|
17
|
-
country?: string;
|
|
18
|
-
isSuperAdmin?: boolean;
|
|
19
|
-
isVrpAdmin?: boolean;
|
|
20
|
-
isPartnerAdmin?: boolean;
|
|
21
|
-
isTeamAdmin?: boolean;
|
|
22
|
-
role?: UserRole;
|
|
23
|
-
[key: string]: string | number | boolean | null | undefined;
|
|
24
|
-
};
|
|
25
|
-
disableGeoip?: boolean;
|
|
26
|
-
timestamp?: Date;
|
|
27
|
-
};
|
|
28
|
-
export type GroupProps = OptionalUser<{
|
|
29
|
-
groupId: string;
|
|
30
|
-
traits: {
|
|
31
|
-
name: string;
|
|
32
|
-
type?: TenantType;
|
|
33
|
-
avatar?: string;
|
|
34
|
-
createdAt?: string;
|
|
35
|
-
partner?: string;
|
|
36
|
-
partnerId?: string;
|
|
37
|
-
billingCustomerId?: string;
|
|
38
|
-
billingSubscriptionStatus?: string;
|
|
39
|
-
status?: TenantStatus;
|
|
40
|
-
isOnboarding?: boolean;
|
|
41
|
-
accountingPartner?: string;
|
|
42
|
-
billingPartner?: string;
|
|
43
|
-
pms?: string;
|
|
44
|
-
apps?: string;
|
|
45
|
-
accountingSoftware?: string;
|
|
46
|
-
activeListings?: number;
|
|
47
|
-
mrr?: number;
|
|
48
|
-
plan?: string;
|
|
49
|
-
paymentMethodType?: string;
|
|
50
|
-
[key: string]: string | number | boolean | null | undefined;
|
|
51
|
-
};
|
|
52
|
-
timestamp?: Date;
|
|
53
|
-
}>;
|
|
54
|
-
export type UserRole = 'super-admin' | 'vrp-admin' | 'partner-admin' | 'team-admin' | 'admin' | 'owner' | 'user';
|
|
55
|
-
export type TenantType = 'admin' | 'partner' | 'propertyManager';
|
|
56
|
-
export type TenantStatus = 'active' | 'inactive';
|
|
57
|
-
type OptionalUser<T> = T & ({
|
|
58
|
-
userId: string;
|
|
59
|
-
anonymousId?: string;
|
|
60
|
-
} | {
|
|
61
|
-
userId?: string;
|
|
62
|
-
anonymousId: string;
|
|
63
|
-
});
|
|
64
|
-
type AuthEvent = 'account_signin_completed' | 'account_signup_code_requested' | 'account_signup_code_completed' | 'account_signup_code_failed' | 'account_signup_completed' | 'account_password_reset_requested' | 'account_password_reset_failed' | 'account_password_reset_completed' | 'account_invitation_accepted' | 'account_signed_out';
|
|
65
|
-
type TeamEvent = 'team_added' | 'team_info_updated' | 'team_deleted' | 'team_member_removed';
|
|
66
|
-
type ConnectionEvent = 'connection_created' | 'connection_reconnected' | 'connection_deleted' | 'connection_requested';
|
|
67
|
-
type OwnershipEvent = 'ownership_created' | 'ownership_updated' | 'ownership_deleted';
|
|
68
|
-
type OwnerEvent = 'owner_created' | 'owner_updated' | 'owner_deleted' | 'owner_tax_info_modal_opened' | 'owner_tax_info_modal_submitted';
|
|
69
|
-
type SetupEvent = 'setup_classes_set' | 'setup_accounting_version_completed' | 'setup_accounting_config_completed' | 'setup_owner_imported' | 'setup_listing_imported';
|
|
70
|
-
type AutomationEvent = 'automation_created' | 'automation_updated' | 'automation_deleted';
|
|
71
|
-
type TaxStatementEvent = 'tax_statement_preview_opened' | 'tax_statement_downloaded';
|
|
72
|
-
type GLOwnerStatementEvent = 'gl_owner_statement_preview_opened' | 'gl_owner_statement_downloaded';
|
|
73
|
-
type HyperlineEvent = 'hyperline_invoice_ready' | 'hyperline_invoice_settled' | 'hyperline_trial_started' | 'hyperline_trial_ended' | 'hyperline_subscription_activated' | 'hyperline_subscription_cancelled' | 'hyperline_subscription_created' | 'hyperline_subscription_errored' | 'hyperline_subscription_paused' | 'hyperline_subscription_voided' | 'hyperline_subscription_charged' | 'hyperline_customer_created' | 'hyperline_customer_updated' | 'hyperline_payment_method_created' | 'hyperline_payment_method_errored' | 'hyperline_payment_method_deleted';
|
|
74
|
-
type ListingEvent = 'listing_activated' | 'listing_deactivated';
|
|
75
|
-
type ReportEvent = 'listings_reported';
|
|
76
|
-
type UserEvent = 'update_refresh_accepted' | 'owner_statement_opened';
|
|
77
|
-
type TestEvent = 'test_event' | 'test_error';
|
|
78
|
-
export type TrackingEvent = AuthEvent | TeamEvent | ConnectionEvent | OwnershipEvent | OwnerEvent | SetupEvent | AutomationEvent | TaxStatementEvent | GLOwnerStatementEvent | HyperlineEvent | UserEvent | ListingEvent | ReportEvent | TestEvent;
|
|
79
|
-
export type TrackingProps = {
|
|
4
|
+
} & ({
|
|
80
5
|
event: 'account_invitation_accepted';
|
|
81
6
|
properties: AccountInvitationAcceptedProps;
|
|
82
7
|
} | {
|
|
@@ -268,7 +193,79 @@ export type TrackingProps = {
|
|
|
268
193
|
} | {
|
|
269
194
|
event: 'listings_reported';
|
|
270
195
|
properties: ListingsReported;
|
|
196
|
+
})>;
|
|
197
|
+
export type IdentifyProps = {
|
|
198
|
+
userId: string;
|
|
199
|
+
traits?: {
|
|
200
|
+
id?: string;
|
|
201
|
+
email?: string;
|
|
202
|
+
avatar?: string;
|
|
203
|
+
name?: string;
|
|
204
|
+
firstName?: string;
|
|
205
|
+
lastName?: string;
|
|
206
|
+
createdAt?: string;
|
|
207
|
+
country?: string;
|
|
208
|
+
isSuperAdmin?: boolean;
|
|
209
|
+
isVrpAdmin?: boolean;
|
|
210
|
+
isPartnerAdmin?: boolean;
|
|
211
|
+
isTeamAdmin?: boolean;
|
|
212
|
+
role?: UserRole;
|
|
213
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
214
|
+
};
|
|
215
|
+
disableGeoip?: boolean;
|
|
216
|
+
timestamp?: Date;
|
|
271
217
|
};
|
|
218
|
+
export type GroupProps = OptionalUser<{
|
|
219
|
+
groupId: string;
|
|
220
|
+
traits?: {
|
|
221
|
+
name?: string;
|
|
222
|
+
type?: TenantType;
|
|
223
|
+
avatar?: string;
|
|
224
|
+
createdAt?: string;
|
|
225
|
+
partner?: string;
|
|
226
|
+
partnerId?: string;
|
|
227
|
+
billingCustomerId?: string;
|
|
228
|
+
billingSubscriptionStatus?: string;
|
|
229
|
+
status?: TenantStatus;
|
|
230
|
+
isOnboarding?: boolean;
|
|
231
|
+
accountingPartner?: string;
|
|
232
|
+
billingPartner?: string;
|
|
233
|
+
pms?: string;
|
|
234
|
+
apps?: string;
|
|
235
|
+
accountingSoftware?: string;
|
|
236
|
+
activeListings?: number;
|
|
237
|
+
mrr?: number;
|
|
238
|
+
plan?: string;
|
|
239
|
+
paymentMethodType?: string;
|
|
240
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
241
|
+
};
|
|
242
|
+
timestamp?: Date;
|
|
243
|
+
}>;
|
|
244
|
+
export type UserRole = 'super-admin' | 'vrp-admin' | 'partner-admin' | 'team-admin' | 'admin' | 'owner' | 'user';
|
|
245
|
+
export type TenantType = 'admin' | 'partner' | 'propertyManager';
|
|
246
|
+
export type TenantStatus = 'active' | 'inactive';
|
|
247
|
+
type OptionalUser<T> = T & ({
|
|
248
|
+
userId: string;
|
|
249
|
+
anonymousId?: string;
|
|
250
|
+
} | {
|
|
251
|
+
userId?: string;
|
|
252
|
+
anonymousId: string;
|
|
253
|
+
});
|
|
254
|
+
type AuthEvent = 'account_signin_completed' | 'account_signup_code_requested' | 'account_signup_code_completed' | 'account_signup_code_failed' | 'account_signup_completed' | 'account_password_reset_requested' | 'account_password_reset_failed' | 'account_password_reset_completed' | 'account_invitation_accepted' | 'account_signed_out';
|
|
255
|
+
type TeamEvent = 'team_added' | 'team_info_updated' | 'team_deleted' | 'team_member_removed';
|
|
256
|
+
type ConnectionEvent = 'connection_created' | 'connection_reconnected' | 'connection_deleted' | 'connection_requested';
|
|
257
|
+
type OwnershipEvent = 'ownership_created' | 'ownership_updated' | 'ownership_deleted';
|
|
258
|
+
type OwnerEvent = 'owner_created' | 'owner_updated' | 'owner_deleted' | 'owner_tax_info_modal_opened' | 'owner_tax_info_modal_submitted';
|
|
259
|
+
type SetupEvent = 'setup_classes_set' | 'setup_accounting_version_completed' | 'setup_accounting_config_completed' | 'setup_owner_imported' | 'setup_listing_imported';
|
|
260
|
+
type AutomationEvent = 'automation_created' | 'automation_updated' | 'automation_deleted';
|
|
261
|
+
type TaxStatementEvent = 'tax_statement_preview_opened' | 'tax_statement_downloaded';
|
|
262
|
+
type GLOwnerStatementEvent = 'gl_owner_statement_preview_opened' | 'gl_owner_statement_downloaded';
|
|
263
|
+
type HyperlineEvent = 'hyperline_invoice_ready' | 'hyperline_invoice_settled' | 'hyperline_trial_started' | 'hyperline_trial_ended' | 'hyperline_subscription_activated' | 'hyperline_subscription_cancelled' | 'hyperline_subscription_created' | 'hyperline_subscription_errored' | 'hyperline_subscription_paused' | 'hyperline_subscription_voided' | 'hyperline_subscription_charged' | 'hyperline_customer_created' | 'hyperline_customer_updated' | 'hyperline_payment_method_created' | 'hyperline_payment_method_errored' | 'hyperline_payment_method_deleted';
|
|
264
|
+
type ListingEvent = 'listing_activated' | 'listing_deactivated';
|
|
265
|
+
type ReportEvent = 'listings_reported';
|
|
266
|
+
type UserEvent = 'update_refresh_accepted' | 'owner_statement_opened';
|
|
267
|
+
type TestEvent = 'test_event' | 'test_error';
|
|
268
|
+
export type TrackingEvent = AuthEvent | TeamEvent | ConnectionEvent | OwnershipEvent | OwnerEvent | SetupEvent | AutomationEvent | TaxStatementEvent | GLOwnerStatementEvent | HyperlineEvent | UserEvent | ListingEvent | ReportEvent | TestEvent;
|
|
272
269
|
type AccountInvitationAcceptedProps = {
|
|
273
270
|
userId: string;
|
|
274
271
|
userEmail: string;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.spec.js","sourceRoot":"src/","sources":["log/index.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,82 +1,7 @@
|
|
|
1
1
|
export type TrackProps = OptionalUser<{
|
|
2
2
|
groupId: string;
|
|
3
|
-
event: TrackingEvent;
|
|
4
|
-
properties: Record<string, string | number | boolean | null | undefined>;
|
|
5
3
|
timestamp?: Date;
|
|
6
|
-
}
|
|
7
|
-
export type IdentifyProps = {
|
|
8
|
-
userId: string;
|
|
9
|
-
traits?: {
|
|
10
|
-
id?: string;
|
|
11
|
-
email?: string;
|
|
12
|
-
avatar?: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
firstName?: string;
|
|
15
|
-
lastName?: string;
|
|
16
|
-
createdAt?: string;
|
|
17
|
-
country?: string;
|
|
18
|
-
isSuperAdmin?: boolean;
|
|
19
|
-
isVrpAdmin?: boolean;
|
|
20
|
-
isPartnerAdmin?: boolean;
|
|
21
|
-
isTeamAdmin?: boolean;
|
|
22
|
-
role?: UserRole;
|
|
23
|
-
[key: string]: string | number | boolean | null | undefined;
|
|
24
|
-
};
|
|
25
|
-
disableGeoip?: boolean;
|
|
26
|
-
timestamp?: Date;
|
|
27
|
-
};
|
|
28
|
-
export type GroupProps = OptionalUser<{
|
|
29
|
-
groupId: string;
|
|
30
|
-
traits: {
|
|
31
|
-
name: string;
|
|
32
|
-
type?: TenantType;
|
|
33
|
-
avatar?: string;
|
|
34
|
-
createdAt?: string;
|
|
35
|
-
partner?: string;
|
|
36
|
-
partnerId?: string;
|
|
37
|
-
billingCustomerId?: string;
|
|
38
|
-
billingSubscriptionStatus?: string;
|
|
39
|
-
status?: TenantStatus;
|
|
40
|
-
isOnboarding?: boolean;
|
|
41
|
-
accountingPartner?: string;
|
|
42
|
-
billingPartner?: string;
|
|
43
|
-
pms?: string;
|
|
44
|
-
apps?: string;
|
|
45
|
-
accountingSoftware?: string;
|
|
46
|
-
activeListings?: number;
|
|
47
|
-
mrr?: number;
|
|
48
|
-
plan?: string;
|
|
49
|
-
paymentMethodType?: string;
|
|
50
|
-
[key: string]: string | number | boolean | null | undefined;
|
|
51
|
-
};
|
|
52
|
-
timestamp?: Date;
|
|
53
|
-
}>;
|
|
54
|
-
export type UserRole = 'super-admin' | 'vrp-admin' | 'partner-admin' | 'team-admin' | 'admin' | 'owner' | 'user';
|
|
55
|
-
export type TenantType = 'admin' | 'partner' | 'propertyManager';
|
|
56
|
-
export type TenantStatus = 'active' | 'inactive';
|
|
57
|
-
type OptionalUser<T> = T & ({
|
|
58
|
-
userId: string;
|
|
59
|
-
anonymousId?: string;
|
|
60
|
-
} | {
|
|
61
|
-
userId?: string;
|
|
62
|
-
anonymousId: string;
|
|
63
|
-
});
|
|
64
|
-
type AuthEvent = 'account_signin_completed' | 'account_signup_code_requested' | 'account_signup_code_completed' | 'account_signup_code_failed' | 'account_signup_completed' | 'account_password_reset_requested' | 'account_password_reset_failed' | 'account_password_reset_completed' | 'account_invitation_accepted' | 'account_signed_out';
|
|
65
|
-
type TeamEvent = 'team_added' | 'team_info_updated' | 'team_deleted' | 'team_member_removed';
|
|
66
|
-
type ConnectionEvent = 'connection_created' | 'connection_reconnected' | 'connection_deleted' | 'connection_requested';
|
|
67
|
-
type OwnershipEvent = 'ownership_created' | 'ownership_updated' | 'ownership_deleted';
|
|
68
|
-
type OwnerEvent = 'owner_created' | 'owner_updated' | 'owner_deleted' | 'owner_tax_info_modal_opened' | 'owner_tax_info_modal_submitted';
|
|
69
|
-
type SetupEvent = 'setup_classes_set' | 'setup_accounting_version_completed' | 'setup_accounting_config_completed' | 'setup_owner_imported' | 'setup_listing_imported';
|
|
70
|
-
type AutomationEvent = 'automation_created' | 'automation_updated' | 'automation_deleted';
|
|
71
|
-
type TaxStatementEvent = 'tax_statement_preview_opened' | 'tax_statement_downloaded';
|
|
72
|
-
type GLOwnerStatementEvent = 'gl_owner_statement_preview_opened' | 'gl_owner_statement_downloaded';
|
|
73
|
-
type HyperlineEvent = 'hyperline_invoice_ready' | 'hyperline_invoice_settled' | 'hyperline_trial_started' | 'hyperline_trial_ended' | 'hyperline_subscription_activated' | 'hyperline_subscription_cancelled' | 'hyperline_subscription_created' | 'hyperline_subscription_errored' | 'hyperline_subscription_paused' | 'hyperline_subscription_voided' | 'hyperline_subscription_charged' | 'hyperline_customer_created' | 'hyperline_customer_updated' | 'hyperline_payment_method_created' | 'hyperline_payment_method_errored' | 'hyperline_payment_method_deleted';
|
|
74
|
-
type ListingEvent = 'listing_activated' | 'listing_deactivated';
|
|
75
|
-
type ReportEvent = 'listings_reported';
|
|
76
|
-
type UserEvent = 'update_refresh_accepted' | 'owner_statement_opened';
|
|
77
|
-
type TestEvent = 'test_event' | 'test_error';
|
|
78
|
-
export type TrackingEvent = AuthEvent | TeamEvent | ConnectionEvent | OwnershipEvent | OwnerEvent | SetupEvent | AutomationEvent | TaxStatementEvent | GLOwnerStatementEvent | HyperlineEvent | UserEvent | ListingEvent | ReportEvent | TestEvent;
|
|
79
|
-
export type TrackingProps = {
|
|
4
|
+
} & ({
|
|
80
5
|
event: 'account_invitation_accepted';
|
|
81
6
|
properties: AccountInvitationAcceptedProps;
|
|
82
7
|
} | {
|
|
@@ -268,7 +193,79 @@ export type TrackingProps = {
|
|
|
268
193
|
} | {
|
|
269
194
|
event: 'listings_reported';
|
|
270
195
|
properties: ListingsReported;
|
|
196
|
+
})>;
|
|
197
|
+
export type IdentifyProps = {
|
|
198
|
+
userId: string;
|
|
199
|
+
traits?: {
|
|
200
|
+
id?: string;
|
|
201
|
+
email?: string;
|
|
202
|
+
avatar?: string;
|
|
203
|
+
name?: string;
|
|
204
|
+
firstName?: string;
|
|
205
|
+
lastName?: string;
|
|
206
|
+
createdAt?: string;
|
|
207
|
+
country?: string;
|
|
208
|
+
isSuperAdmin?: boolean;
|
|
209
|
+
isVrpAdmin?: boolean;
|
|
210
|
+
isPartnerAdmin?: boolean;
|
|
211
|
+
isTeamAdmin?: boolean;
|
|
212
|
+
role?: UserRole;
|
|
213
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
214
|
+
};
|
|
215
|
+
disableGeoip?: boolean;
|
|
216
|
+
timestamp?: Date;
|
|
271
217
|
};
|
|
218
|
+
export type GroupProps = OptionalUser<{
|
|
219
|
+
groupId: string;
|
|
220
|
+
traits?: {
|
|
221
|
+
name?: string;
|
|
222
|
+
type?: TenantType;
|
|
223
|
+
avatar?: string;
|
|
224
|
+
createdAt?: string;
|
|
225
|
+
partner?: string;
|
|
226
|
+
partnerId?: string;
|
|
227
|
+
billingCustomerId?: string;
|
|
228
|
+
billingSubscriptionStatus?: string;
|
|
229
|
+
status?: TenantStatus;
|
|
230
|
+
isOnboarding?: boolean;
|
|
231
|
+
accountingPartner?: string;
|
|
232
|
+
billingPartner?: string;
|
|
233
|
+
pms?: string;
|
|
234
|
+
apps?: string;
|
|
235
|
+
accountingSoftware?: string;
|
|
236
|
+
activeListings?: number;
|
|
237
|
+
mrr?: number;
|
|
238
|
+
plan?: string;
|
|
239
|
+
paymentMethodType?: string;
|
|
240
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
241
|
+
};
|
|
242
|
+
timestamp?: Date;
|
|
243
|
+
}>;
|
|
244
|
+
export type UserRole = 'super-admin' | 'vrp-admin' | 'partner-admin' | 'team-admin' | 'admin' | 'owner' | 'user';
|
|
245
|
+
export type TenantType = 'admin' | 'partner' | 'propertyManager';
|
|
246
|
+
export type TenantStatus = 'active' | 'inactive';
|
|
247
|
+
type OptionalUser<T> = T & ({
|
|
248
|
+
userId: string;
|
|
249
|
+
anonymousId?: string;
|
|
250
|
+
} | {
|
|
251
|
+
userId?: string;
|
|
252
|
+
anonymousId: string;
|
|
253
|
+
});
|
|
254
|
+
type AuthEvent = 'account_signin_completed' | 'account_signup_code_requested' | 'account_signup_code_completed' | 'account_signup_code_failed' | 'account_signup_completed' | 'account_password_reset_requested' | 'account_password_reset_failed' | 'account_password_reset_completed' | 'account_invitation_accepted' | 'account_signed_out';
|
|
255
|
+
type TeamEvent = 'team_added' | 'team_info_updated' | 'team_deleted' | 'team_member_removed';
|
|
256
|
+
type ConnectionEvent = 'connection_created' | 'connection_reconnected' | 'connection_deleted' | 'connection_requested';
|
|
257
|
+
type OwnershipEvent = 'ownership_created' | 'ownership_updated' | 'ownership_deleted';
|
|
258
|
+
type OwnerEvent = 'owner_created' | 'owner_updated' | 'owner_deleted' | 'owner_tax_info_modal_opened' | 'owner_tax_info_modal_submitted';
|
|
259
|
+
type SetupEvent = 'setup_classes_set' | 'setup_accounting_version_completed' | 'setup_accounting_config_completed' | 'setup_owner_imported' | 'setup_listing_imported';
|
|
260
|
+
type AutomationEvent = 'automation_created' | 'automation_updated' | 'automation_deleted';
|
|
261
|
+
type TaxStatementEvent = 'tax_statement_preview_opened' | 'tax_statement_downloaded';
|
|
262
|
+
type GLOwnerStatementEvent = 'gl_owner_statement_preview_opened' | 'gl_owner_statement_downloaded';
|
|
263
|
+
type HyperlineEvent = 'hyperline_invoice_ready' | 'hyperline_invoice_settled' | 'hyperline_trial_started' | 'hyperline_trial_ended' | 'hyperline_subscription_activated' | 'hyperline_subscription_cancelled' | 'hyperline_subscription_created' | 'hyperline_subscription_errored' | 'hyperline_subscription_paused' | 'hyperline_subscription_voided' | 'hyperline_subscription_charged' | 'hyperline_customer_created' | 'hyperline_customer_updated' | 'hyperline_payment_method_created' | 'hyperline_payment_method_errored' | 'hyperline_payment_method_deleted';
|
|
264
|
+
type ListingEvent = 'listing_activated' | 'listing_deactivated';
|
|
265
|
+
type ReportEvent = 'listings_reported';
|
|
266
|
+
type UserEvent = 'update_refresh_accepted' | 'owner_statement_opened';
|
|
267
|
+
type TestEvent = 'test_event' | 'test_error';
|
|
268
|
+
export type TrackingEvent = AuthEvent | TeamEvent | ConnectionEvent | OwnershipEvent | OwnerEvent | SetupEvent | AutomationEvent | TaxStatementEvent | GLOwnerStatementEvent | HyperlineEvent | UserEvent | ListingEvent | ReportEvent | TestEvent;
|
|
272
269
|
type AccountInvitationAcceptedProps = {
|
|
273
270
|
userId: string;
|
|
274
271
|
userEmail: string;
|
package/package.json
CHANGED
|
@@ -1,31 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vrplatform/log",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
4
|
-
"main": "
|
|
3
|
+
"version": "2.0.0-alpha.47",
|
|
4
|
+
"main": "build/main/index.js",
|
|
5
5
|
"publishConfig": {
|
|
6
|
-
"access": "public"
|
|
7
|
-
"main": "build/main/index.js",
|
|
8
|
-
"typings": "build/main/index.d.ts",
|
|
9
|
-
"module": "build/module/index.js"
|
|
6
|
+
"access": "public"
|
|
10
7
|
},
|
|
11
8
|
"description": "Finalytic cf",
|
|
12
9
|
"repository": "https://github.com/finalytic/ecosystem",
|
|
13
10
|
"license": "UNLICENSED",
|
|
14
11
|
"keywords": [],
|
|
15
|
-
"scripts": {
|
|
16
|
-
"pub": "bun run build && npm version patch --no-commit-hooks --no-git-tag-version && npm publish --no-git-checks",
|
|
17
|
-
"pub:alpha": "bun run build && npm version prerelease --no-commit-hooks --no-git-tag-version && npm publish --no-git-checks --tag alpha",
|
|
18
|
-
"build": "bun build:main & bun build:module",
|
|
19
|
-
"build:main": "tsc -b tsconfig.main.json",
|
|
20
|
-
"build:module": "tsc -b tsconfig.esm.json",
|
|
21
|
-
"typecheck": "tsc --noEmit",
|
|
22
|
-
"lint": "biome check .",
|
|
23
|
-
"lint:fix": "biome check --apply-unsafe --skip-errors .",
|
|
24
|
-
"pre-commit": "echo precommit",
|
|
25
|
-
"pre-push": "bun typecheck && bun lint",
|
|
26
|
-
"post-merge": "bun i",
|
|
27
|
-
"prepare": "husky"
|
|
28
|
-
},
|
|
29
12
|
"files": [
|
|
30
13
|
"build/main",
|
|
31
14
|
"build/module",
|
|
@@ -49,5 +32,20 @@
|
|
|
49
32
|
},
|
|
50
33
|
"trustedDependencies": [
|
|
51
34
|
"@biomejs/biome"
|
|
52
|
-
]
|
|
53
|
-
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"pub": "bun run build && pnpm version patch --no-commit-hooks --no-git-tag-version && pnpm publish --no-git-checks",
|
|
38
|
+
"pub:alpha": "bun run build && pnpm version prerelease --no-commit-hooks --no-git-tag-version && pnpm publish --no-git-checks --tag alpha",
|
|
39
|
+
"build": "bun build:main & bun build:module",
|
|
40
|
+
"build:main": "tsc -b tsconfig.main.json",
|
|
41
|
+
"build:module": "tsc -b tsconfig.esm.json",
|
|
42
|
+
"typecheck": "tsc --noEmit",
|
|
43
|
+
"lint": "biome check .",
|
|
44
|
+
"lint:fix": "biome check --apply-unsafe --skip-errors .",
|
|
45
|
+
"pre-commit": "echo precommit",
|
|
46
|
+
"pre-push": "bun typecheck && bun lint",
|
|
47
|
+
"post-merge": "bun i"
|
|
48
|
+
},
|
|
49
|
+
"typings": "build/main/index.d.ts",
|
|
50
|
+
"module": "build/module/index.js"
|
|
51
|
+
}
|
package/src/tracking/types.ts
CHANGED
|
@@ -1,9 +1,266 @@
|
|
|
1
|
-
export type TrackProps = OptionalUser<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export type TrackProps = OptionalUser<
|
|
2
|
+
{
|
|
3
|
+
groupId: string;
|
|
4
|
+
timestamp?: Date;
|
|
5
|
+
} & (
|
|
6
|
+
| {
|
|
7
|
+
event: 'account_invitation_accepted';
|
|
8
|
+
properties: AccountInvitationAcceptedProps;
|
|
9
|
+
}
|
|
10
|
+
| {
|
|
11
|
+
event: 'account_password_reset_completed';
|
|
12
|
+
properties: AccountPasswordResetCompletedProps;
|
|
13
|
+
}
|
|
14
|
+
| {
|
|
15
|
+
event: 'account_password_reset_failed';
|
|
16
|
+
properties: AccountPasswordResetFailedProps;
|
|
17
|
+
}
|
|
18
|
+
| {
|
|
19
|
+
event: 'account_password_reset_requested';
|
|
20
|
+
properties: AccountPasswordResetRequestedProps;
|
|
21
|
+
}
|
|
22
|
+
| {
|
|
23
|
+
event: 'account_signed_out';
|
|
24
|
+
properties: AccountSignedOutProps;
|
|
25
|
+
}
|
|
26
|
+
| {
|
|
27
|
+
event: 'account_signin_completed';
|
|
28
|
+
properties: AccountSigninCompletedProps;
|
|
29
|
+
}
|
|
30
|
+
| {
|
|
31
|
+
event: 'account_signup_code_completed';
|
|
32
|
+
properties: AccountSignupCodeCompletedProps;
|
|
33
|
+
}
|
|
34
|
+
| {
|
|
35
|
+
event: 'account_signup_code_failed';
|
|
36
|
+
properties: AccountSignupCodeFailedProps;
|
|
37
|
+
}
|
|
38
|
+
| {
|
|
39
|
+
event: 'account_signup_code_requested';
|
|
40
|
+
properties: AccountSignupCodeRequestedProps;
|
|
41
|
+
}
|
|
42
|
+
| {
|
|
43
|
+
event: 'account_signup_completed';
|
|
44
|
+
properties: AccountSignupCompletedProps;
|
|
45
|
+
}
|
|
46
|
+
| {
|
|
47
|
+
event: 'automation_created';
|
|
48
|
+
properties: AutomationCreatedProps;
|
|
49
|
+
}
|
|
50
|
+
| {
|
|
51
|
+
event: 'automation_deleted';
|
|
52
|
+
properties: AutomationDeletedProps;
|
|
53
|
+
}
|
|
54
|
+
| {
|
|
55
|
+
event: 'automation_updated';
|
|
56
|
+
properties: AutomationUpdated;
|
|
57
|
+
}
|
|
58
|
+
| {
|
|
59
|
+
event: 'connection_created';
|
|
60
|
+
properties: ConnectionCreatedProps;
|
|
61
|
+
}
|
|
62
|
+
| {
|
|
63
|
+
event: 'connection_deleted';
|
|
64
|
+
properties: ConnectionDeletedProps;
|
|
65
|
+
}
|
|
66
|
+
| {
|
|
67
|
+
event: 'connection_reconnected';
|
|
68
|
+
properties: ConnectionReconnectedProps;
|
|
69
|
+
}
|
|
70
|
+
| {
|
|
71
|
+
event: 'connection_requested';
|
|
72
|
+
properties: ConnectionRequestedProps;
|
|
73
|
+
}
|
|
74
|
+
| {
|
|
75
|
+
event: 'gl_owner_statement_downloaded';
|
|
76
|
+
properties: GlOwnerStatementDownloadedProps;
|
|
77
|
+
}
|
|
78
|
+
| {
|
|
79
|
+
event: 'gl_owner_statement_preview_opened';
|
|
80
|
+
properties: GlOwnerStatementPreviewOpenedProps;
|
|
81
|
+
}
|
|
82
|
+
| {
|
|
83
|
+
event: 'hyperline_customer_created';
|
|
84
|
+
properties: HyperlineCustomerCreatedProps;
|
|
85
|
+
}
|
|
86
|
+
| {
|
|
87
|
+
event: 'hyperline_customer_updated';
|
|
88
|
+
properties: HyperlineCustomerUpdatedProps;
|
|
89
|
+
}
|
|
90
|
+
| {
|
|
91
|
+
event: 'hyperline_invoice_ready';
|
|
92
|
+
properties: HyperlineInvoiceReadyProps;
|
|
93
|
+
}
|
|
94
|
+
| {
|
|
95
|
+
event: 'hyperline_invoice_settled';
|
|
96
|
+
properties: HyperlineInvoiceSettledProps;
|
|
97
|
+
}
|
|
98
|
+
| {
|
|
99
|
+
event: 'hyperline_payment_method_created';
|
|
100
|
+
properties: HyperlinePaymentMethodCreatedProps;
|
|
101
|
+
}
|
|
102
|
+
| {
|
|
103
|
+
event: 'hyperline_payment_method_deleted';
|
|
104
|
+
properties: HyperlinePaymentMethodDeletedProps;
|
|
105
|
+
}
|
|
106
|
+
| {
|
|
107
|
+
event: 'hyperline_payment_method_errored';
|
|
108
|
+
properties: HyperlinePaymentMethodErroredProps;
|
|
109
|
+
}
|
|
110
|
+
| {
|
|
111
|
+
event: 'hyperline_subscription_activated';
|
|
112
|
+
properties: HyperlineSubscriptionActivatedProps;
|
|
113
|
+
}
|
|
114
|
+
| {
|
|
115
|
+
event: 'hyperline_subscription_cancelled';
|
|
116
|
+
properties: HyperlineSubscriptionCancelledProps;
|
|
117
|
+
}
|
|
118
|
+
| {
|
|
119
|
+
event: 'hyperline_subscription_charged';
|
|
120
|
+
properties: HyperlineSubscriptionChargedProps;
|
|
121
|
+
}
|
|
122
|
+
| {
|
|
123
|
+
event: 'hyperline_subscription_created';
|
|
124
|
+
properties: HyperlineSubscriptionCreatedProps;
|
|
125
|
+
}
|
|
126
|
+
| {
|
|
127
|
+
event: 'hyperline_subscription_errored';
|
|
128
|
+
properties: HyperlineSubscriptionErroredProps;
|
|
129
|
+
}
|
|
130
|
+
| {
|
|
131
|
+
event: 'hyperline_subscription_paused';
|
|
132
|
+
properties: HyperlineSubscriptionPausedProps;
|
|
133
|
+
}
|
|
134
|
+
| {
|
|
135
|
+
event: 'hyperline_subscription_voided';
|
|
136
|
+
properties: HyperlineSubscriptionVoidedProps;
|
|
137
|
+
}
|
|
138
|
+
| {
|
|
139
|
+
event: 'hyperline_trial_ended';
|
|
140
|
+
properties: HyperlineTrialEndedProps;
|
|
141
|
+
}
|
|
142
|
+
| {
|
|
143
|
+
event: 'hyperline_trial_started';
|
|
144
|
+
properties: HyperlineTrialStartedProps;
|
|
145
|
+
}
|
|
146
|
+
| {
|
|
147
|
+
event: 'owner_created';
|
|
148
|
+
properties: OwnerCreatedProps;
|
|
149
|
+
}
|
|
150
|
+
| {
|
|
151
|
+
event: 'owner_deleted';
|
|
152
|
+
properties: OwnerDeletedProps;
|
|
153
|
+
}
|
|
154
|
+
| {
|
|
155
|
+
event: 'owner_tax_info_modal_opened';
|
|
156
|
+
properties: OwnerTaxInfoModalOpenedProps;
|
|
157
|
+
}
|
|
158
|
+
| {
|
|
159
|
+
event: 'owner_tax_info_modal_submitted';
|
|
160
|
+
properties: OwnerTaxInfoModalSubmittedProps;
|
|
161
|
+
}
|
|
162
|
+
| {
|
|
163
|
+
event: 'owner_updated';
|
|
164
|
+
properties: OwnerUpdatedProps;
|
|
165
|
+
}
|
|
166
|
+
| {
|
|
167
|
+
event: 'ownership_created';
|
|
168
|
+
properties: OwnershipCreatedProps;
|
|
169
|
+
}
|
|
170
|
+
| {
|
|
171
|
+
event: 'ownership_deleted';
|
|
172
|
+
properties: OwnershipDeletedProps;
|
|
173
|
+
}
|
|
174
|
+
| {
|
|
175
|
+
event: 'ownership_updated';
|
|
176
|
+
properties: OwnershipUpdatedProps;
|
|
177
|
+
}
|
|
178
|
+
| {
|
|
179
|
+
event: 'setup_accounting_config_completed';
|
|
180
|
+
properties: SetupAccountingConfigCompleted;
|
|
181
|
+
}
|
|
182
|
+
| {
|
|
183
|
+
event: 'setup_accounting_version_completed';
|
|
184
|
+
properties: SetupAccountingVersionCompleted;
|
|
185
|
+
}
|
|
186
|
+
| {
|
|
187
|
+
event: 'setup_classes_set';
|
|
188
|
+
properties: SetupClassesSet;
|
|
189
|
+
}
|
|
190
|
+
| {
|
|
191
|
+
event: 'setup_entities_set';
|
|
192
|
+
properties: SetupEntitiesSet;
|
|
193
|
+
}
|
|
194
|
+
| {
|
|
195
|
+
event: 'setup_listing_imported';
|
|
196
|
+
properties: SetupListingImportedProps;
|
|
197
|
+
}
|
|
198
|
+
| {
|
|
199
|
+
event: 'setup_owner_imported';
|
|
200
|
+
properties: SetupOwnerImportedProps;
|
|
201
|
+
}
|
|
202
|
+
| {
|
|
203
|
+
event: 'setup_reservation_imported';
|
|
204
|
+
properties: SetupReservationImportedProps;
|
|
205
|
+
}
|
|
206
|
+
| {
|
|
207
|
+
event: 'setup_vendors_set';
|
|
208
|
+
properties: SetupVendorsSet;
|
|
209
|
+
}
|
|
210
|
+
| {
|
|
211
|
+
event: 'tax_statement_downloaded';
|
|
212
|
+
properties: TaxStatementDownloadedProps;
|
|
213
|
+
}
|
|
214
|
+
| {
|
|
215
|
+
event: 'tax_statement_preview_opened';
|
|
216
|
+
properties: TaxStatementPreviewOpenedProps;
|
|
217
|
+
}
|
|
218
|
+
| {
|
|
219
|
+
event: 'team_added';
|
|
220
|
+
properties: TeamAddedProps;
|
|
221
|
+
}
|
|
222
|
+
| {
|
|
223
|
+
event: 'team_deleted';
|
|
224
|
+
properties: TeamDeletedProps;
|
|
225
|
+
}
|
|
226
|
+
| {
|
|
227
|
+
event: 'team_info_updated';
|
|
228
|
+
properties: TeamInfoUpdatedProps;
|
|
229
|
+
}
|
|
230
|
+
| {
|
|
231
|
+
event: 'team_member_removed';
|
|
232
|
+
properties: TeamMemberRemovedProps;
|
|
233
|
+
}
|
|
234
|
+
| {
|
|
235
|
+
event: 'test_error';
|
|
236
|
+
properties: TestErrorProps;
|
|
237
|
+
}
|
|
238
|
+
| {
|
|
239
|
+
event: 'test_event';
|
|
240
|
+
properties: TestEventProps;
|
|
241
|
+
}
|
|
242
|
+
| {
|
|
243
|
+
event: 'user_forced_reloaded';
|
|
244
|
+
properties: UserForcedReloadedProps;
|
|
245
|
+
}
|
|
246
|
+
| {
|
|
247
|
+
event: 'owner_statement_opened';
|
|
248
|
+
properties: OwnerStatementOpenedProps;
|
|
249
|
+
}
|
|
250
|
+
| {
|
|
251
|
+
event: 'listing_activated';
|
|
252
|
+
properties: ListingActivated;
|
|
253
|
+
}
|
|
254
|
+
| {
|
|
255
|
+
event: 'listing_deactivated';
|
|
256
|
+
properties: ListingDeactivated;
|
|
257
|
+
}
|
|
258
|
+
| {
|
|
259
|
+
event: 'listings_reported';
|
|
260
|
+
properties: ListingsReported;
|
|
261
|
+
}
|
|
262
|
+
)
|
|
263
|
+
>;
|
|
7
264
|
|
|
8
265
|
export type IdentifyProps = {
|
|
9
266
|
userId: string;
|
|
@@ -29,8 +286,8 @@ export type IdentifyProps = {
|
|
|
29
286
|
|
|
30
287
|
export type GroupProps = OptionalUser<{
|
|
31
288
|
groupId: string;
|
|
32
|
-
traits
|
|
33
|
-
name
|
|
289
|
+
traits?: {
|
|
290
|
+
name?: string;
|
|
34
291
|
type?: TenantType;
|
|
35
292
|
avatar?: string;
|
|
36
293
|
createdAt?: string;
|
|
@@ -172,264 +429,6 @@ export type TrackingEvent =
|
|
|
172
429
|
| ReportEvent
|
|
173
430
|
| TestEvent;
|
|
174
431
|
|
|
175
|
-
export type TrackingProps =
|
|
176
|
-
| {
|
|
177
|
-
event: 'account_invitation_accepted';
|
|
178
|
-
properties: AccountInvitationAcceptedProps;
|
|
179
|
-
}
|
|
180
|
-
| {
|
|
181
|
-
event: 'account_password_reset_completed';
|
|
182
|
-
properties: AccountPasswordResetCompletedProps;
|
|
183
|
-
}
|
|
184
|
-
| {
|
|
185
|
-
event: 'account_password_reset_failed';
|
|
186
|
-
properties: AccountPasswordResetFailedProps;
|
|
187
|
-
}
|
|
188
|
-
| {
|
|
189
|
-
event: 'account_password_reset_requested';
|
|
190
|
-
properties: AccountPasswordResetRequestedProps;
|
|
191
|
-
}
|
|
192
|
-
| {
|
|
193
|
-
event: 'account_signed_out';
|
|
194
|
-
properties: AccountSignedOutProps;
|
|
195
|
-
}
|
|
196
|
-
| {
|
|
197
|
-
event: 'account_signin_completed';
|
|
198
|
-
properties: AccountSigninCompletedProps;
|
|
199
|
-
}
|
|
200
|
-
| {
|
|
201
|
-
event: 'account_signup_code_completed';
|
|
202
|
-
properties: AccountSignupCodeCompletedProps;
|
|
203
|
-
}
|
|
204
|
-
| {
|
|
205
|
-
event: 'account_signup_code_failed';
|
|
206
|
-
properties: AccountSignupCodeFailedProps;
|
|
207
|
-
}
|
|
208
|
-
| {
|
|
209
|
-
event: 'account_signup_code_requested';
|
|
210
|
-
properties: AccountSignupCodeRequestedProps;
|
|
211
|
-
}
|
|
212
|
-
| {
|
|
213
|
-
event: 'account_signup_completed';
|
|
214
|
-
properties: AccountSignupCompletedProps;
|
|
215
|
-
}
|
|
216
|
-
| {
|
|
217
|
-
event: 'automation_created';
|
|
218
|
-
properties: AutomationCreatedProps;
|
|
219
|
-
}
|
|
220
|
-
| {
|
|
221
|
-
event: 'automation_deleted';
|
|
222
|
-
properties: AutomationDeletedProps;
|
|
223
|
-
}
|
|
224
|
-
| {
|
|
225
|
-
event: 'automation_updated';
|
|
226
|
-
properties: AutomationUpdated;
|
|
227
|
-
}
|
|
228
|
-
| {
|
|
229
|
-
event: 'connection_created';
|
|
230
|
-
properties: ConnectionCreatedProps;
|
|
231
|
-
}
|
|
232
|
-
| {
|
|
233
|
-
event: 'connection_deleted';
|
|
234
|
-
properties: ConnectionDeletedProps;
|
|
235
|
-
}
|
|
236
|
-
| {
|
|
237
|
-
event: 'connection_reconnected';
|
|
238
|
-
properties: ConnectionReconnectedProps;
|
|
239
|
-
}
|
|
240
|
-
| {
|
|
241
|
-
event: 'connection_requested';
|
|
242
|
-
properties: ConnectionRequestedProps;
|
|
243
|
-
}
|
|
244
|
-
| {
|
|
245
|
-
event: 'gl_owner_statement_downloaded';
|
|
246
|
-
properties: GlOwnerStatementDownloadedProps;
|
|
247
|
-
}
|
|
248
|
-
| {
|
|
249
|
-
event: 'gl_owner_statement_preview_opened';
|
|
250
|
-
properties: GlOwnerStatementPreviewOpenedProps;
|
|
251
|
-
}
|
|
252
|
-
| {
|
|
253
|
-
event: 'hyperline_customer_created';
|
|
254
|
-
properties: HyperlineCustomerCreatedProps;
|
|
255
|
-
}
|
|
256
|
-
| {
|
|
257
|
-
event: 'hyperline_customer_updated';
|
|
258
|
-
properties: HyperlineCustomerUpdatedProps;
|
|
259
|
-
}
|
|
260
|
-
| {
|
|
261
|
-
event: 'hyperline_invoice_ready';
|
|
262
|
-
properties: HyperlineInvoiceReadyProps;
|
|
263
|
-
}
|
|
264
|
-
| {
|
|
265
|
-
event: 'hyperline_invoice_settled';
|
|
266
|
-
properties: HyperlineInvoiceSettledProps;
|
|
267
|
-
}
|
|
268
|
-
| {
|
|
269
|
-
event: 'hyperline_payment_method_created';
|
|
270
|
-
properties: HyperlinePaymentMethodCreatedProps;
|
|
271
|
-
}
|
|
272
|
-
| {
|
|
273
|
-
event: 'hyperline_payment_method_deleted';
|
|
274
|
-
properties: HyperlinePaymentMethodDeletedProps;
|
|
275
|
-
}
|
|
276
|
-
| {
|
|
277
|
-
event: 'hyperline_payment_method_errored';
|
|
278
|
-
properties: HyperlinePaymentMethodErroredProps;
|
|
279
|
-
}
|
|
280
|
-
| {
|
|
281
|
-
event: 'hyperline_subscription_activated';
|
|
282
|
-
properties: HyperlineSubscriptionActivatedProps;
|
|
283
|
-
}
|
|
284
|
-
| {
|
|
285
|
-
event: 'hyperline_subscription_cancelled';
|
|
286
|
-
properties: HyperlineSubscriptionCancelledProps;
|
|
287
|
-
}
|
|
288
|
-
| {
|
|
289
|
-
event: 'hyperline_subscription_charged';
|
|
290
|
-
properties: HyperlineSubscriptionChargedProps;
|
|
291
|
-
}
|
|
292
|
-
| {
|
|
293
|
-
event: 'hyperline_subscription_created';
|
|
294
|
-
properties: HyperlineSubscriptionCreatedProps;
|
|
295
|
-
}
|
|
296
|
-
| {
|
|
297
|
-
event: 'hyperline_subscription_errored';
|
|
298
|
-
properties: HyperlineSubscriptionErroredProps;
|
|
299
|
-
}
|
|
300
|
-
| {
|
|
301
|
-
event: 'hyperline_subscription_paused';
|
|
302
|
-
properties: HyperlineSubscriptionPausedProps;
|
|
303
|
-
}
|
|
304
|
-
| {
|
|
305
|
-
event: 'hyperline_subscription_voided';
|
|
306
|
-
properties: HyperlineSubscriptionVoidedProps;
|
|
307
|
-
}
|
|
308
|
-
| {
|
|
309
|
-
event: 'hyperline_trial_ended';
|
|
310
|
-
properties: HyperlineTrialEndedProps;
|
|
311
|
-
}
|
|
312
|
-
| {
|
|
313
|
-
event: 'hyperline_trial_started';
|
|
314
|
-
properties: HyperlineTrialStartedProps;
|
|
315
|
-
}
|
|
316
|
-
| {
|
|
317
|
-
event: 'owner_created';
|
|
318
|
-
properties: OwnerCreatedProps;
|
|
319
|
-
}
|
|
320
|
-
| {
|
|
321
|
-
event: 'owner_deleted';
|
|
322
|
-
properties: OwnerDeletedProps;
|
|
323
|
-
}
|
|
324
|
-
| {
|
|
325
|
-
event: 'owner_tax_info_modal_opened';
|
|
326
|
-
properties: OwnerTaxInfoModalOpenedProps;
|
|
327
|
-
}
|
|
328
|
-
| {
|
|
329
|
-
event: 'owner_tax_info_modal_submitted';
|
|
330
|
-
properties: OwnerTaxInfoModalSubmittedProps;
|
|
331
|
-
}
|
|
332
|
-
| {
|
|
333
|
-
event: 'owner_updated';
|
|
334
|
-
properties: OwnerUpdatedProps;
|
|
335
|
-
}
|
|
336
|
-
| {
|
|
337
|
-
event: 'ownership_created';
|
|
338
|
-
properties: OwnershipCreatedProps;
|
|
339
|
-
}
|
|
340
|
-
| {
|
|
341
|
-
event: 'ownership_deleted';
|
|
342
|
-
properties: OwnershipDeletedProps;
|
|
343
|
-
}
|
|
344
|
-
| {
|
|
345
|
-
event: 'ownership_updated';
|
|
346
|
-
properties: OwnershipUpdatedProps;
|
|
347
|
-
}
|
|
348
|
-
| {
|
|
349
|
-
event: 'setup_accounting_config_completed';
|
|
350
|
-
properties: SetupAccountingConfigCompleted;
|
|
351
|
-
}
|
|
352
|
-
| {
|
|
353
|
-
event: 'setup_accounting_version_completed';
|
|
354
|
-
properties: SetupAccountingVersionCompleted;
|
|
355
|
-
}
|
|
356
|
-
| {
|
|
357
|
-
event: 'setup_classes_set';
|
|
358
|
-
properties: SetupClassesSet;
|
|
359
|
-
}
|
|
360
|
-
| {
|
|
361
|
-
event: 'setup_entities_set';
|
|
362
|
-
properties: SetupEntitiesSet;
|
|
363
|
-
}
|
|
364
|
-
| {
|
|
365
|
-
event: 'setup_listing_imported';
|
|
366
|
-
properties: SetupListingImportedProps;
|
|
367
|
-
}
|
|
368
|
-
| {
|
|
369
|
-
event: 'setup_owner_imported';
|
|
370
|
-
properties: SetupOwnerImportedProps;
|
|
371
|
-
}
|
|
372
|
-
| {
|
|
373
|
-
event: 'setup_reservation_imported';
|
|
374
|
-
properties: SetupReservationImportedProps;
|
|
375
|
-
}
|
|
376
|
-
| {
|
|
377
|
-
event: 'setup_vendors_set';
|
|
378
|
-
properties: SetupVendorsSet;
|
|
379
|
-
}
|
|
380
|
-
| {
|
|
381
|
-
event: 'tax_statement_downloaded';
|
|
382
|
-
properties: TaxStatementDownloadedProps;
|
|
383
|
-
}
|
|
384
|
-
| {
|
|
385
|
-
event: 'tax_statement_preview_opened';
|
|
386
|
-
properties: TaxStatementPreviewOpenedProps;
|
|
387
|
-
}
|
|
388
|
-
| {
|
|
389
|
-
event: 'team_added';
|
|
390
|
-
properties: TeamAddedProps;
|
|
391
|
-
}
|
|
392
|
-
| {
|
|
393
|
-
event: 'team_deleted';
|
|
394
|
-
properties: TeamDeletedProps;
|
|
395
|
-
}
|
|
396
|
-
| {
|
|
397
|
-
event: 'team_info_updated';
|
|
398
|
-
properties: TeamInfoUpdatedProps;
|
|
399
|
-
}
|
|
400
|
-
| {
|
|
401
|
-
event: 'team_member_removed';
|
|
402
|
-
properties: TeamMemberRemovedProps;
|
|
403
|
-
}
|
|
404
|
-
| {
|
|
405
|
-
event: 'test_error';
|
|
406
|
-
properties: TestErrorProps;
|
|
407
|
-
}
|
|
408
|
-
| {
|
|
409
|
-
event: 'test_event';
|
|
410
|
-
properties: TestEventProps;
|
|
411
|
-
}
|
|
412
|
-
| {
|
|
413
|
-
event: 'user_forced_reloaded';
|
|
414
|
-
properties: UserForcedReloadedProps;
|
|
415
|
-
}
|
|
416
|
-
| {
|
|
417
|
-
event: 'owner_statement_opened';
|
|
418
|
-
properties: OwnerStatementOpenedProps;
|
|
419
|
-
}
|
|
420
|
-
| {
|
|
421
|
-
event: 'listing_activated';
|
|
422
|
-
properties: ListingActivated;
|
|
423
|
-
}
|
|
424
|
-
| {
|
|
425
|
-
event: 'listing_deactivated';
|
|
426
|
-
properties: ListingDeactivated;
|
|
427
|
-
}
|
|
428
|
-
| {
|
|
429
|
-
event: 'listings_reported';
|
|
430
|
-
properties: ListingsReported;
|
|
431
|
-
};
|
|
432
|
-
|
|
433
432
|
type AccountInvitationAcceptedProps = {
|
|
434
433
|
userId: string;
|
|
435
434
|
userEmail: string;
|