@vrplatform/log 2.0.60 → 2.0.62
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 +80 -111
- package/build/module/tracking/types.d.ts +80 -111
- package/package.json +2 -1
- package/src/tracking/types.ts +86 -116
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Maybe } from '@finalytic/utils';
|
|
1
2
|
export type TrackProps<T extends TrackingEvent> = OptionalUser<{
|
|
2
3
|
groupId: string;
|
|
3
4
|
packageName: string;
|
|
@@ -5,6 +6,9 @@ export type TrackProps<T extends TrackingEvent> = OptionalUser<{
|
|
|
5
6
|
event: T;
|
|
6
7
|
properties: TrackingEventProps[T];
|
|
7
8
|
}>;
|
|
9
|
+
type MaybePartial<T> = {
|
|
10
|
+
[P in keyof T]?: Maybe<T[P]>;
|
|
11
|
+
};
|
|
8
12
|
export type IdentifyProps = {
|
|
9
13
|
userId: string;
|
|
10
14
|
traits?: {
|
|
@@ -103,11 +107,6 @@ export type TrackingEventProps = {
|
|
|
103
107
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
104
108
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
105
109
|
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
106
|
-
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
107
|
-
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
108
|
-
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
109
|
-
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
110
|
-
hyperline_subscription_voided: HyperlineSubscriptionVoidedProps;
|
|
111
110
|
hyperline_subscription_charged: HyperlineSubscriptionChargedProps;
|
|
112
111
|
hyperline_subscription_status_changed: HyperlineSubscriptionStatusChangedProps;
|
|
113
112
|
hyperline_customer_created: HyperlineCustomerCreatedProps;
|
|
@@ -141,44 +140,45 @@ export type TenantType = 'admin' | 'partner' | 'propertyManager';
|
|
|
141
140
|
export type TenantStatus = 'active' | 'inactive';
|
|
142
141
|
export type SubscriptionStatus = 'active' | 'cancelled' | 'draft' | 'errored' | 'paused' | 'pending' | 'voided';
|
|
143
142
|
export type OwnerStatementStatus = 'preview' | 'draft' | 'inReview' | 'void' | 'published' | 'posted';
|
|
143
|
+
export type TaxStatementStatus = 'draft' | 'ignored' | 'inReview' | 'ready' | 'submitted' | 'error';
|
|
144
144
|
export type PaymentMethodType = 'card' | 'direct_debit' | 'direct_debit_ach' | 'direct_debit_bacs' | 'transfer' | 'transfer_automated' | 'external';
|
|
145
|
-
type AccountInvitationAcceptedProps =
|
|
145
|
+
type AccountInvitationAcceptedProps = MaybePartial<{
|
|
146
146
|
userId: string;
|
|
147
147
|
userEmail: string;
|
|
148
148
|
userRole: 'owner' | 'user' | 'admin';
|
|
149
149
|
tenantId: string;
|
|
150
150
|
isNewUser: boolean;
|
|
151
151
|
}>;
|
|
152
|
-
type AccountPasswordResetCompletedProps =
|
|
152
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
153
153
|
userEmail: string;
|
|
154
154
|
}>;
|
|
155
|
-
type AccountPasswordResetFailedProps =
|
|
155
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
156
156
|
userEmail: string;
|
|
157
157
|
status: 'needs_second_factor' | 'needs_identifier' | 'needs_first_factor' | 'needs_new_password' | null | any;
|
|
158
158
|
}>;
|
|
159
|
-
type AccountPasswordResetRequestedProps =
|
|
159
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
160
160
|
userEmail: string;
|
|
161
161
|
}>;
|
|
162
|
-
type AccountSignedOutProps =
|
|
162
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
163
163
|
userId: string;
|
|
164
164
|
userEmail: string;
|
|
165
165
|
tenantId: string;
|
|
166
166
|
firstName: string;
|
|
167
167
|
lastName: string;
|
|
168
168
|
}>;
|
|
169
|
-
type AccountSigninCompletedProps =
|
|
169
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
170
170
|
firstName: string;
|
|
171
171
|
lastName: string;
|
|
172
172
|
userEmail: string;
|
|
173
173
|
}>;
|
|
174
|
-
type AccountSignupCodeCompletedProps =
|
|
174
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
175
175
|
firstName: string;
|
|
176
176
|
lastName: string;
|
|
177
177
|
userEmail: string;
|
|
178
178
|
companyName: string;
|
|
179
179
|
type: 'property_manager' | 'partner';
|
|
180
180
|
}>;
|
|
181
|
-
type AccountSignupCodeFailedProps =
|
|
181
|
+
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
182
182
|
firstName: string;
|
|
183
183
|
lastName: string;
|
|
184
184
|
userEmail: string;
|
|
@@ -186,21 +186,21 @@ type AccountSignupCodeFailedProps = Partial<{
|
|
|
186
186
|
type: 'property_manager' | 'partner';
|
|
187
187
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
188
188
|
}>;
|
|
189
|
-
type AccountSignupCodeRequestedProps =
|
|
189
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
190
190
|
firstName: string;
|
|
191
191
|
lastName: string;
|
|
192
192
|
userEmail: string;
|
|
193
193
|
companyName: string;
|
|
194
194
|
type: 'property_manager' | 'partner';
|
|
195
195
|
}>;
|
|
196
|
-
type AccountSignupCompletedProps =
|
|
196
|
+
type AccountSignupCompletedProps = MaybePartial<{
|
|
197
197
|
tenantId: string;
|
|
198
198
|
userEmail: string;
|
|
199
199
|
firstName: string;
|
|
200
200
|
lastName: string;
|
|
201
201
|
userId: string;
|
|
202
202
|
}>;
|
|
203
|
-
type AutomationCreatedProps =
|
|
203
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
204
204
|
automationId: string;
|
|
205
205
|
templateId: string;
|
|
206
206
|
type?: string | null;
|
|
@@ -209,7 +209,7 @@ type AutomationCreatedProps = Partial<{
|
|
|
209
209
|
userEmail: string;
|
|
210
210
|
tenantId: string;
|
|
211
211
|
}>;
|
|
212
|
-
type AutomationDeletedProps =
|
|
212
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
213
213
|
automationId: string;
|
|
214
214
|
templateId: string;
|
|
215
215
|
type?: string | null;
|
|
@@ -219,7 +219,7 @@ type AutomationDeletedProps = Partial<{
|
|
|
219
219
|
tenantId: string;
|
|
220
220
|
}>;
|
|
221
221
|
type AutomationUpdatedProps = any;
|
|
222
|
-
type ConnectionCreatedProps =
|
|
222
|
+
type ConnectionCreatedProps = MaybePartial<{
|
|
223
223
|
connectionId: string;
|
|
224
224
|
tenantId: string;
|
|
225
225
|
userId: string;
|
|
@@ -227,7 +227,7 @@ type ConnectionCreatedProps = Partial<{
|
|
|
227
227
|
appId: string;
|
|
228
228
|
type?: string;
|
|
229
229
|
}>;
|
|
230
|
-
type ConnectionDeletedProps =
|
|
230
|
+
type ConnectionDeletedProps = MaybePartial<{
|
|
231
231
|
connectionId: string;
|
|
232
232
|
tenantId: string;
|
|
233
233
|
type?: string;
|
|
@@ -235,32 +235,32 @@ type ConnectionDeletedProps = Partial<{
|
|
|
235
235
|
appId: string;
|
|
236
236
|
userEmail: string;
|
|
237
237
|
}>;
|
|
238
|
-
type ConnectionReconnectedProps =
|
|
238
|
+
type ConnectionReconnectedProps = MaybePartial<{
|
|
239
239
|
connectionId: string;
|
|
240
240
|
tenantId: string;
|
|
241
241
|
userId: string;
|
|
242
242
|
userEmail: string;
|
|
243
243
|
appId: string;
|
|
244
244
|
}>;
|
|
245
|
-
type ConnectionRequestedProps =
|
|
245
|
+
type ConnectionRequestedProps = MaybePartial<{
|
|
246
246
|
type: 'PMS' | 'Accounting';
|
|
247
247
|
website: string;
|
|
248
248
|
userId: string;
|
|
249
249
|
userEmail: string;
|
|
250
250
|
tenantId: string;
|
|
251
251
|
}>;
|
|
252
|
-
type GlOwnerStatementDownloadedProps =
|
|
252
|
+
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
253
253
|
ownerStatementId: string;
|
|
254
254
|
ownerStatementUrls: string[];
|
|
255
255
|
userType: 'owner' | 'property_manager';
|
|
256
256
|
}>;
|
|
257
|
-
type GlOwnerStatementPreviewOpenedProps =
|
|
257
|
+
type GlOwnerStatementPreviewOpenedProps = MaybePartial<{
|
|
258
258
|
ownerStatementStatus: string;
|
|
259
259
|
ownerStatementId: string;
|
|
260
260
|
ownerStatementUrls: string[];
|
|
261
261
|
userType: 'owner' | 'property_manager';
|
|
262
262
|
}>;
|
|
263
|
-
type HyperlineCustomerCreatedProps =
|
|
263
|
+
type HyperlineCustomerCreatedProps = MaybePartial<{
|
|
264
264
|
tenantId: string;
|
|
265
265
|
customerId: string;
|
|
266
266
|
billingEmail: string;
|
|
@@ -270,7 +270,7 @@ type HyperlineCustomerCreatedProps = Partial<{
|
|
|
270
270
|
vatNumber: string;
|
|
271
271
|
webhookEventType: 'customer.created';
|
|
272
272
|
}>;
|
|
273
|
-
type HyperlineCustomerUpdatedProps =
|
|
273
|
+
type HyperlineCustomerUpdatedProps = MaybePartial<{
|
|
274
274
|
tenantId: string;
|
|
275
275
|
customerId: string;
|
|
276
276
|
billingEmail: string;
|
|
@@ -280,7 +280,7 @@ type HyperlineCustomerUpdatedProps = Partial<{
|
|
|
280
280
|
vatNumber: string;
|
|
281
281
|
webhookEventType: 'customer.updated';
|
|
282
282
|
}>;
|
|
283
|
-
type HyperlineInvoiceErroredProps =
|
|
283
|
+
type HyperlineInvoiceErroredProps = MaybePartial<{
|
|
284
284
|
status: 'errored';
|
|
285
285
|
paymentMethodType: string;
|
|
286
286
|
invoiceId: string;
|
|
@@ -289,7 +289,7 @@ type HyperlineInvoiceErroredProps = Partial<{
|
|
|
289
289
|
customerId: string;
|
|
290
290
|
erroredAt: string;
|
|
291
291
|
}>;
|
|
292
|
-
type HyperlineInvoiceReadyProps =
|
|
292
|
+
type HyperlineInvoiceReadyProps = MaybePartial<{
|
|
293
293
|
status: 'ready';
|
|
294
294
|
paymentMethodType: string;
|
|
295
295
|
invoiceId: string;
|
|
@@ -300,7 +300,7 @@ type HyperlineInvoiceReadyProps = Partial<{
|
|
|
300
300
|
taxAmount: number;
|
|
301
301
|
readyAt: string;
|
|
302
302
|
}>;
|
|
303
|
-
type HyperlineInvoiceSettledProps =
|
|
303
|
+
type HyperlineInvoiceSettledProps = MaybePartial<{
|
|
304
304
|
status: 'settled';
|
|
305
305
|
paymentMethodType: string;
|
|
306
306
|
invoiceId: string;
|
|
@@ -311,7 +311,7 @@ type HyperlineInvoiceSettledProps = Partial<{
|
|
|
311
311
|
taxAmount: number;
|
|
312
312
|
settledAt: string;
|
|
313
313
|
}>;
|
|
314
|
-
type HyperlineInvoiceVoidedProps =
|
|
314
|
+
type HyperlineInvoiceVoidedProps = MaybePartial<{
|
|
315
315
|
status: 'voided';
|
|
316
316
|
paymentMethodType: string;
|
|
317
317
|
invoiceId: string;
|
|
@@ -320,7 +320,7 @@ type HyperlineInvoiceVoidedProps = Partial<{
|
|
|
320
320
|
customerId: string;
|
|
321
321
|
voidedAt: string;
|
|
322
322
|
}>;
|
|
323
|
-
type HyperlinePaymentMethodCreatedProps =
|
|
323
|
+
type HyperlinePaymentMethodCreatedProps = MaybePartial<{
|
|
324
324
|
tenantId: string;
|
|
325
325
|
subscriptionStartDate: string;
|
|
326
326
|
paymentMethodType: PaymentMethodType;
|
|
@@ -329,7 +329,7 @@ type HyperlinePaymentMethodCreatedProps = Partial<{
|
|
|
329
329
|
customerId: string;
|
|
330
330
|
webhookEventType: 'payment_method.created';
|
|
331
331
|
}>;
|
|
332
|
-
type HyperlinePaymentMethodDeletedProps =
|
|
332
|
+
type HyperlinePaymentMethodDeletedProps = MaybePartial<{
|
|
333
333
|
tenantId: string;
|
|
334
334
|
subscriptionStartDate: string;
|
|
335
335
|
paymentMethodType: PaymentMethodType;
|
|
@@ -338,7 +338,7 @@ type HyperlinePaymentMethodDeletedProps = Partial<{
|
|
|
338
338
|
customerId: string;
|
|
339
339
|
webhookEventType: 'payment_method.deleted';
|
|
340
340
|
}>;
|
|
341
|
-
type HyperlinePaymentMethodErroredProps =
|
|
341
|
+
type HyperlinePaymentMethodErroredProps = MaybePartial<{
|
|
342
342
|
tenantId: string;
|
|
343
343
|
subscriptionStartDate: string;
|
|
344
344
|
paymentMethodType: PaymentMethodType;
|
|
@@ -347,7 +347,7 @@ type HyperlinePaymentMethodErroredProps = Partial<{
|
|
|
347
347
|
customerId: string;
|
|
348
348
|
webhookEventType: 'payment_method.errored';
|
|
349
349
|
}>;
|
|
350
|
-
type HyperlineSubscriptionCancellationScheduledProps =
|
|
350
|
+
type HyperlineSubscriptionCancellationScheduledProps = MaybePartial<{
|
|
351
351
|
subscriptionId: string;
|
|
352
352
|
cancellationStrategy: 'charge_prorata' | 'charge_custom' | 'refund_prorata' | 'refund_custom' | 'end_of_period' | 'do_nothing';
|
|
353
353
|
cancelledAt: string;
|
|
@@ -356,7 +356,7 @@ type HyperlineSubscriptionCancellationScheduledProps = Partial<{
|
|
|
356
356
|
tenantId: string;
|
|
357
357
|
webhookEventType: 'subscription.cancellation_scheduled';
|
|
358
358
|
}>;
|
|
359
|
-
type HyperlineSubscriptionChargedProps =
|
|
359
|
+
type HyperlineSubscriptionChargedProps = MaybePartial<{
|
|
360
360
|
plan: string;
|
|
361
361
|
subscriptionId: string;
|
|
362
362
|
subscriptionStartDate: string;
|
|
@@ -364,7 +364,7 @@ type HyperlineSubscriptionChargedProps = Partial<{
|
|
|
364
364
|
paymentMethodType: string;
|
|
365
365
|
customerId: string;
|
|
366
366
|
}>;
|
|
367
|
-
type HyperlineSubscriptionCreatedProps =
|
|
367
|
+
type HyperlineSubscriptionCreatedProps = MaybePartial<{
|
|
368
368
|
trialStartDate: string;
|
|
369
369
|
plan: string;
|
|
370
370
|
subscriptionId: string;
|
|
@@ -373,7 +373,7 @@ type HyperlineSubscriptionCreatedProps = Partial<{
|
|
|
373
373
|
paymentMethodType: string;
|
|
374
374
|
customerId: string;
|
|
375
375
|
}>;
|
|
376
|
-
type HyperlineSubscriptionStatusChangedProps =
|
|
376
|
+
type HyperlineSubscriptionStatusChangedProps = MaybePartial<{
|
|
377
377
|
subscriptionId: string;
|
|
378
378
|
plan: string;
|
|
379
379
|
tenantId: string;
|
|
@@ -384,48 +384,7 @@ type HyperlineSubscriptionStatusChangedProps = Partial<{
|
|
|
384
384
|
mrr: number;
|
|
385
385
|
customerId: string;
|
|
386
386
|
}>;
|
|
387
|
-
type
|
|
388
|
-
subscriptionId: string;
|
|
389
|
-
subscriptionStatus: SubscriptionStatus;
|
|
390
|
-
plan: string;
|
|
391
|
-
tenantId: string;
|
|
392
|
-
webhookEventType: 'subscription.activated';
|
|
393
|
-
}>;
|
|
394
|
-
type HyperlineSubscriptionCancelledProps = Partial<{
|
|
395
|
-
subscriptionId: string;
|
|
396
|
-
subscriptionStatus: SubscriptionStatus;
|
|
397
|
-
plan: string;
|
|
398
|
-
trialEndAt: string;
|
|
399
|
-
subscriptionStartDate: string;
|
|
400
|
-
paymentMethodType: string;
|
|
401
|
-
mrr: number;
|
|
402
|
-
customerId: string;
|
|
403
|
-
tenantId: string;
|
|
404
|
-
webhookEventType: 'subscription.cancelled';
|
|
405
|
-
}>;
|
|
406
|
-
type HyperlineSubscriptionErroredProps = Partial<{
|
|
407
|
-
subscriptionId: string;
|
|
408
|
-
subscriptionStatus: SubscriptionStatus;
|
|
409
|
-
plan: string;
|
|
410
|
-
userId: string;
|
|
411
|
-
tenantId: string;
|
|
412
|
-
webhookEventType: 'subscription.errored';
|
|
413
|
-
}>;
|
|
414
|
-
type HyperlineSubscriptionPausedProps = Partial<{
|
|
415
|
-
subscriptionId: string;
|
|
416
|
-
subscriptionStatus: SubscriptionStatus;
|
|
417
|
-
plan: string;
|
|
418
|
-
tenantId: string;
|
|
419
|
-
webhookEventType: 'subscription.paused';
|
|
420
|
-
}>;
|
|
421
|
-
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
422
|
-
subscriptionId: string;
|
|
423
|
-
subscriptionStatus: SubscriptionStatus;
|
|
424
|
-
plan: string;
|
|
425
|
-
tenantId: string;
|
|
426
|
-
webhookEventType: 'subscription.voided';
|
|
427
|
-
}>;
|
|
428
|
-
type HyperlineTrialEndedProps = Partial<{
|
|
387
|
+
type HyperlineTrialEndedProps = MaybePartial<{
|
|
429
388
|
trialStartDate: string;
|
|
430
389
|
trialEndDate: string;
|
|
431
390
|
plan: string;
|
|
@@ -434,13 +393,13 @@ type HyperlineTrialEndedProps = Partial<{
|
|
|
434
393
|
subscriptionStatus: SubscriptionStatus;
|
|
435
394
|
paymentMethodType: PaymentMethodType;
|
|
436
395
|
}>;
|
|
437
|
-
type HyperlineTrialStartedProps =
|
|
396
|
+
type HyperlineTrialStartedProps = MaybePartial<{
|
|
438
397
|
tenantId: string;
|
|
439
398
|
subscriptionStatus: SubscriptionStatus;
|
|
440
399
|
trialUntil: string;
|
|
441
400
|
webhookEventType: 'payment_method.created';
|
|
442
401
|
}>;
|
|
443
|
-
type OwnerCreatedProps =
|
|
402
|
+
type OwnerCreatedProps = MaybePartial<{
|
|
444
403
|
userId: string;
|
|
445
404
|
tenantId: string;
|
|
446
405
|
ownerId: string;
|
|
@@ -448,7 +407,7 @@ type OwnerCreatedProps = Partial<{
|
|
|
448
407
|
withUserInvite: boolean;
|
|
449
408
|
userEmail: string;
|
|
450
409
|
}>;
|
|
451
|
-
type OwnerDeletedProps =
|
|
410
|
+
type OwnerDeletedProps = MaybePartial<{
|
|
452
411
|
userId: string;
|
|
453
412
|
tenantId: string;
|
|
454
413
|
ownerId: string;
|
|
@@ -456,18 +415,18 @@ type OwnerDeletedProps = Partial<{
|
|
|
456
415
|
listingId: string;
|
|
457
416
|
ownershipId: string;
|
|
458
417
|
}>;
|
|
459
|
-
type OwnerTaxInfoModalOpenedProps =
|
|
418
|
+
type OwnerTaxInfoModalOpenedProps = MaybePartial<{
|
|
460
419
|
flag: string;
|
|
461
420
|
}>;
|
|
462
|
-
type OwnerTaxInfoModalSubmittedProps =
|
|
421
|
+
type OwnerTaxInfoModalSubmittedProps = MaybePartial<{
|
|
463
422
|
flag: string;
|
|
464
423
|
}>;
|
|
465
|
-
type OwnerUpdatedProps =
|
|
424
|
+
type OwnerUpdatedProps = MaybePartial<{
|
|
466
425
|
userId: string;
|
|
467
426
|
tenantId: string;
|
|
468
427
|
ownerId: string;
|
|
469
428
|
}>;
|
|
470
|
-
type OwnershipCreatedProps =
|
|
429
|
+
type OwnershipCreatedProps = MaybePartial<{
|
|
471
430
|
ownershipId: string;
|
|
472
431
|
ownerId: string;
|
|
473
432
|
listingId: string;
|
|
@@ -475,7 +434,7 @@ type OwnershipCreatedProps = Partial<{
|
|
|
475
434
|
userEmail: string;
|
|
476
435
|
tenantId: string;
|
|
477
436
|
}>;
|
|
478
|
-
type OwnershipDeletedProps =
|
|
437
|
+
type OwnershipDeletedProps = MaybePartial<{
|
|
479
438
|
ownershipId: string;
|
|
480
439
|
ownerId: string;
|
|
481
440
|
listingId: string;
|
|
@@ -483,7 +442,7 @@ type OwnershipDeletedProps = Partial<{
|
|
|
483
442
|
userEmail: string;
|
|
484
443
|
tenantId: string;
|
|
485
444
|
}>;
|
|
486
|
-
type OwnershipUpdatedProps =
|
|
445
|
+
type OwnershipUpdatedProps = MaybePartial<{
|
|
487
446
|
ownershipId: string;
|
|
488
447
|
ownerId: string;
|
|
489
448
|
listingId: string;
|
|
@@ -495,18 +454,18 @@ type SetupAccountingConfigCompletedProps = any;
|
|
|
495
454
|
type SetupAccountingVersionCompletedProps = any;
|
|
496
455
|
type SetupClassesSetProps = any;
|
|
497
456
|
type SetupEntitiesSetProps = any;
|
|
498
|
-
type SetupListingImportedProps =
|
|
457
|
+
type SetupListingImportedProps = MaybePartial<{
|
|
499
458
|
appId: string;
|
|
500
459
|
}>;
|
|
501
|
-
type SetupOwnerImportedProps =
|
|
460
|
+
type SetupOwnerImportedProps = MaybePartial<{
|
|
502
461
|
appId: string;
|
|
503
462
|
}>;
|
|
504
|
-
type SetupReservationImportedProps =
|
|
463
|
+
type SetupReservationImportedProps = MaybePartial<{
|
|
505
464
|
appId: string;
|
|
506
465
|
}>;
|
|
507
466
|
type SetupVendorsSetProps = any;
|
|
508
|
-
type TaxStatementDownloadedProps =
|
|
509
|
-
taxStatementStatus?:
|
|
467
|
+
type TaxStatementDownloadedProps = MaybePartial<{
|
|
468
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
510
469
|
taxStatementId: string;
|
|
511
470
|
taxStatementUrl: string;
|
|
512
471
|
userType: string;
|
|
@@ -514,8 +473,8 @@ type TaxStatementDownloadedProps = Partial<{
|
|
|
514
473
|
userEmail: string;
|
|
515
474
|
tenantId: string;
|
|
516
475
|
}>;
|
|
517
|
-
type TaxStatementPreviewOpenedProps =
|
|
518
|
-
taxStatementStatus?:
|
|
476
|
+
type TaxStatementPreviewOpenedProps = MaybePartial<{
|
|
477
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
519
478
|
taxStatementId: string;
|
|
520
479
|
taxStatementUrl: string;
|
|
521
480
|
userType: string;
|
|
@@ -523,7 +482,7 @@ type TaxStatementPreviewOpenedProps = Partial<{
|
|
|
523
482
|
userEmail: string;
|
|
524
483
|
tenantId: string;
|
|
525
484
|
}>;
|
|
526
|
-
type TeamAddedProps =
|
|
485
|
+
type TeamAddedProps = MaybePartial<{
|
|
527
486
|
tenantId: string;
|
|
528
487
|
tenantName: string;
|
|
529
488
|
partnerId: string;
|
|
@@ -531,46 +490,46 @@ type TeamAddedProps = Partial<{
|
|
|
531
490
|
userId: string;
|
|
532
491
|
userEmail: string;
|
|
533
492
|
}>;
|
|
534
|
-
type TeamCanceledProps =
|
|
493
|
+
type TeamCanceledProps = MaybePartial<{
|
|
535
494
|
tenantId: string;
|
|
536
495
|
customerId: string;
|
|
537
496
|
subscriptionId: string;
|
|
538
497
|
feedback: string;
|
|
539
498
|
reason: string;
|
|
540
499
|
}>;
|
|
541
|
-
type TeamDeletedProps =
|
|
500
|
+
type TeamDeletedProps = MaybePartial<{
|
|
542
501
|
tenantId: string;
|
|
543
502
|
userId: string;
|
|
544
503
|
userEmail: string;
|
|
545
504
|
}>;
|
|
546
|
-
type TeamInfoUpdatedProps =
|
|
505
|
+
type TeamInfoUpdatedProps = MaybePartial<{
|
|
547
506
|
userId: string;
|
|
548
507
|
tenantId: string;
|
|
549
508
|
userEmail: string;
|
|
550
509
|
}>;
|
|
551
|
-
type TeamMemberRemovedProps =
|
|
510
|
+
type TeamMemberRemovedProps = MaybePartial<{
|
|
552
511
|
userId: string;
|
|
553
512
|
removedUserId: string;
|
|
554
513
|
tenantId: string;
|
|
555
514
|
userEmail: string;
|
|
556
515
|
}>;
|
|
557
|
-
type TeamReinstatedProps =
|
|
516
|
+
type TeamReinstatedProps = MaybePartial<{
|
|
558
517
|
tenantId: string;
|
|
559
518
|
subscriptionId: string;
|
|
560
519
|
}>;
|
|
561
|
-
type TestErrorProps =
|
|
520
|
+
type TestErrorProps = MaybePartial<{
|
|
562
521
|
userId: string;
|
|
563
522
|
tenantId: string;
|
|
564
523
|
[key: string]: any;
|
|
565
524
|
}>;
|
|
566
|
-
type TestEventProps =
|
|
525
|
+
type TestEventProps = MaybePartial<{
|
|
567
526
|
success: boolean;
|
|
568
527
|
[key: string]: any;
|
|
569
528
|
}>;
|
|
570
|
-
type UpdateRefreshAcceptedProps =
|
|
529
|
+
type UpdateRefreshAcceptedProps = MaybePartial<{
|
|
571
530
|
appName: string;
|
|
572
531
|
}>;
|
|
573
|
-
type OwnerStatementStatusChangedProps =
|
|
532
|
+
type OwnerStatementStatusChangedProps = MaybePartial<{
|
|
574
533
|
userId: string;
|
|
575
534
|
tenantId: string;
|
|
576
535
|
userEmail: string;
|
|
@@ -580,10 +539,20 @@ type OwnerStatementStatusChangedProps = Partial<{
|
|
|
580
539
|
startAt: string;
|
|
581
540
|
status: OwnerStatementStatus;
|
|
582
541
|
}>;
|
|
583
|
-
type ListingActivatedProps =
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
542
|
+
type ListingActivatedProps = MaybePartial<{
|
|
543
|
+
tenantId: string;
|
|
544
|
+
billingStatus: 'active' | 'inactive';
|
|
545
|
+
name: string;
|
|
546
|
+
vrpStatus: 'active' | 'disabled' | 'enabled' | 'inactive';
|
|
547
|
+
pmsStatus: string;
|
|
548
|
+
}>;
|
|
549
|
+
type ListingDeactivatedProps = ListingActivatedProps;
|
|
550
|
+
type ListingsReportedProps = MaybePartial<{
|
|
551
|
+
userId: string;
|
|
552
|
+
tenantId: string;
|
|
553
|
+
activeListings: number;
|
|
554
|
+
}>;
|
|
555
|
+
type IntercomConversationCreated = MaybePartial<{
|
|
587
556
|
userId: string;
|
|
588
557
|
tenantId: string;
|
|
589
558
|
userEmail: string;
|
|
@@ -595,14 +564,14 @@ type IntercomConversationCreated = Partial<{
|
|
|
595
564
|
submittedFrom: 'user' | 'admin';
|
|
596
565
|
}>;
|
|
597
566
|
type IntercomConversationReplied = IntercomConversationCreated;
|
|
598
|
-
type IntercomConversationClosed =
|
|
567
|
+
type IntercomConversationClosed = MaybePartial<{
|
|
599
568
|
userId: string;
|
|
600
569
|
tenantId: string;
|
|
601
570
|
userEmail: string;
|
|
602
571
|
conversationId: string;
|
|
603
572
|
createdAt: string;
|
|
604
573
|
}>;
|
|
605
|
-
type IntercomConversationRated =
|
|
574
|
+
type IntercomConversationRated = MaybePartial<{
|
|
606
575
|
userId: string;
|
|
607
576
|
tenantId: string;
|
|
608
577
|
userEmail: string;
|
|
@@ -611,7 +580,7 @@ type IntercomConversationRated = Partial<{
|
|
|
611
580
|
remark: string;
|
|
612
581
|
createdAt: string;
|
|
613
582
|
}>;
|
|
614
|
-
type MrrReportedProps =
|
|
583
|
+
type MrrReportedProps = MaybePartial<{
|
|
615
584
|
mrr: number;
|
|
616
585
|
subscriptionStatus: SubscriptionStatus;
|
|
617
586
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vrplatform/log",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.62",
|
|
4
4
|
"main": "build/main/index.js",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"serialize-error": "11.0.3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
+
"@finalytic/utils": "4.9.30",
|
|
26
27
|
"@biomejs/biome": "^1.9.4",
|
|
27
28
|
"@types/bun": "^1.1.14",
|
|
28
29
|
"typescript": "5.7.2"
|