@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
package/src/tracking/types.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Maybe } from '@finalytic/utils';
|
|
2
|
+
|
|
1
3
|
export type TrackProps<T extends TrackingEvent> = OptionalUser<{
|
|
2
4
|
groupId: string;
|
|
3
5
|
packageName: string;
|
|
@@ -6,6 +8,8 @@ export type TrackProps<T extends TrackingEvent> = OptionalUser<{
|
|
|
6
8
|
properties: TrackingEventProps[T];
|
|
7
9
|
}>;
|
|
8
10
|
|
|
11
|
+
type MaybePartial<T> = { [P in keyof T]?: Maybe<T[P]> };
|
|
12
|
+
|
|
9
13
|
// const plan = [
|
|
10
14
|
// 'All-in-One VRP Subscription',
|
|
11
15
|
// 'Essentials VRP Subscription',
|
|
@@ -117,11 +121,6 @@ export type TrackingEventProps = {
|
|
|
117
121
|
hyperline_trial_ended: HyperlineTrialEndedProps;
|
|
118
122
|
hyperline_subscription_created: HyperlineSubscriptionCreatedProps;
|
|
119
123
|
hyperline_subscription_cancellation_scheduled: HyperlineSubscriptionCancellationScheduledProps;
|
|
120
|
-
hyperline_subscription_activated: HyperlineSubscriptionActivatedProps;
|
|
121
|
-
hyperline_subscription_cancelled: HyperlineSubscriptionCancelledProps;
|
|
122
|
-
hyperline_subscription_errored: HyperlineSubscriptionErroredProps;
|
|
123
|
-
hyperline_subscription_paused: HyperlineSubscriptionPausedProps;
|
|
124
|
-
hyperline_subscription_voided: HyperlineSubscriptionVoidedProps;
|
|
125
124
|
hyperline_subscription_charged: HyperlineSubscriptionChargedProps;
|
|
126
125
|
hyperline_subscription_status_changed: HyperlineSubscriptionStatusChangedProps;
|
|
127
126
|
hyperline_customer_created: HyperlineCustomerCreatedProps;
|
|
@@ -178,6 +177,13 @@ export type OwnerStatementStatus =
|
|
|
178
177
|
| 'void'
|
|
179
178
|
| 'published'
|
|
180
179
|
| 'posted';
|
|
180
|
+
export type TaxStatementStatus =
|
|
181
|
+
| 'draft'
|
|
182
|
+
| 'ignored'
|
|
183
|
+
| 'inReview'
|
|
184
|
+
| 'ready'
|
|
185
|
+
| 'submitted'
|
|
186
|
+
| 'error';
|
|
181
187
|
export type PaymentMethodType =
|
|
182
188
|
| 'card'
|
|
183
189
|
| 'direct_debit'
|
|
@@ -187,7 +193,7 @@ export type PaymentMethodType =
|
|
|
187
193
|
| 'transfer_automated'
|
|
188
194
|
| 'external';
|
|
189
195
|
|
|
190
|
-
type AccountInvitationAcceptedProps =
|
|
196
|
+
type AccountInvitationAcceptedProps = MaybePartial<{
|
|
191
197
|
userId: string;
|
|
192
198
|
userEmail: string;
|
|
193
199
|
userRole: 'owner' | 'user' | 'admin';
|
|
@@ -195,11 +201,11 @@ type AccountInvitationAcceptedProps = Partial<{
|
|
|
195
201
|
isNewUser: boolean;
|
|
196
202
|
}>;
|
|
197
203
|
|
|
198
|
-
type AccountPasswordResetCompletedProps =
|
|
204
|
+
type AccountPasswordResetCompletedProps = MaybePartial<{
|
|
199
205
|
userEmail: string;
|
|
200
206
|
}>;
|
|
201
207
|
|
|
202
|
-
type AccountPasswordResetFailedProps =
|
|
208
|
+
type AccountPasswordResetFailedProps = MaybePartial<{
|
|
203
209
|
userEmail: string;
|
|
204
210
|
status:
|
|
205
211
|
| 'needs_second_factor'
|
|
@@ -210,11 +216,11 @@ type AccountPasswordResetFailedProps = Partial<{
|
|
|
210
216
|
| any;
|
|
211
217
|
}>;
|
|
212
218
|
|
|
213
|
-
type AccountPasswordResetRequestedProps =
|
|
219
|
+
type AccountPasswordResetRequestedProps = MaybePartial<{
|
|
214
220
|
userEmail: string;
|
|
215
221
|
}>;
|
|
216
222
|
|
|
217
|
-
type AccountSignedOutProps =
|
|
223
|
+
type AccountSignedOutProps = MaybePartial<{
|
|
218
224
|
userId: string;
|
|
219
225
|
userEmail: string;
|
|
220
226
|
tenantId: string;
|
|
@@ -222,13 +228,13 @@ type AccountSignedOutProps = Partial<{
|
|
|
222
228
|
lastName: string;
|
|
223
229
|
}>;
|
|
224
230
|
|
|
225
|
-
type AccountSigninCompletedProps =
|
|
231
|
+
type AccountSigninCompletedProps = MaybePartial<{
|
|
226
232
|
firstName: string;
|
|
227
233
|
lastName: string;
|
|
228
234
|
userEmail: string;
|
|
229
235
|
}>;
|
|
230
236
|
|
|
231
|
-
type AccountSignupCodeCompletedProps =
|
|
237
|
+
type AccountSignupCodeCompletedProps = MaybePartial<{
|
|
232
238
|
firstName: string;
|
|
233
239
|
lastName: string;
|
|
234
240
|
userEmail: string;
|
|
@@ -236,7 +242,7 @@ type AccountSignupCodeCompletedProps = Partial<{
|
|
|
236
242
|
type: 'property_manager' | 'partner';
|
|
237
243
|
}>;
|
|
238
244
|
|
|
239
|
-
type AccountSignupCodeFailedProps =
|
|
245
|
+
type AccountSignupCodeFailedProps = MaybePartial<{
|
|
240
246
|
firstName: string;
|
|
241
247
|
lastName: string;
|
|
242
248
|
userEmail: string;
|
|
@@ -245,7 +251,7 @@ type AccountSignupCodeFailedProps = Partial<{
|
|
|
245
251
|
status: 'missing_requirements' | 'abandoned' | null | any;
|
|
246
252
|
}>;
|
|
247
253
|
|
|
248
|
-
type AccountSignupCodeRequestedProps =
|
|
254
|
+
type AccountSignupCodeRequestedProps = MaybePartial<{
|
|
249
255
|
firstName: string;
|
|
250
256
|
lastName: string;
|
|
251
257
|
userEmail: string;
|
|
@@ -253,7 +259,7 @@ type AccountSignupCodeRequestedProps = Partial<{
|
|
|
253
259
|
type: 'property_manager' | 'partner';
|
|
254
260
|
}>;
|
|
255
261
|
|
|
256
|
-
type AccountSignupCompletedProps =
|
|
262
|
+
type AccountSignupCompletedProps = MaybePartial<{
|
|
257
263
|
tenantId: string;
|
|
258
264
|
userEmail: string;
|
|
259
265
|
firstName: string;
|
|
@@ -261,7 +267,7 @@ type AccountSignupCompletedProps = Partial<{
|
|
|
261
267
|
userId: string;
|
|
262
268
|
}>;
|
|
263
269
|
|
|
264
|
-
type AutomationCreatedProps =
|
|
270
|
+
type AutomationCreatedProps = MaybePartial<{
|
|
265
271
|
automationId: string;
|
|
266
272
|
templateId: string;
|
|
267
273
|
type?: string | null;
|
|
@@ -271,7 +277,7 @@ type AutomationCreatedProps = Partial<{
|
|
|
271
277
|
tenantId: string;
|
|
272
278
|
}>;
|
|
273
279
|
|
|
274
|
-
type AutomationDeletedProps =
|
|
280
|
+
type AutomationDeletedProps = MaybePartial<{
|
|
275
281
|
automationId: string;
|
|
276
282
|
templateId: string;
|
|
277
283
|
type?: string | null;
|
|
@@ -283,7 +289,7 @@ type AutomationDeletedProps = Partial<{
|
|
|
283
289
|
|
|
284
290
|
type AutomationUpdatedProps = any;
|
|
285
291
|
|
|
286
|
-
type ConnectionCreatedProps =
|
|
292
|
+
type ConnectionCreatedProps = MaybePartial<{
|
|
287
293
|
connectionId: string;
|
|
288
294
|
tenantId: string;
|
|
289
295
|
userId: string;
|
|
@@ -292,7 +298,7 @@ type ConnectionCreatedProps = Partial<{
|
|
|
292
298
|
type?: string;
|
|
293
299
|
}>;
|
|
294
300
|
|
|
295
|
-
type ConnectionDeletedProps =
|
|
301
|
+
type ConnectionDeletedProps = MaybePartial<{
|
|
296
302
|
connectionId: string;
|
|
297
303
|
tenantId: string;
|
|
298
304
|
type?: string;
|
|
@@ -301,7 +307,7 @@ type ConnectionDeletedProps = Partial<{
|
|
|
301
307
|
userEmail: string;
|
|
302
308
|
}>;
|
|
303
309
|
|
|
304
|
-
type ConnectionReconnectedProps =
|
|
310
|
+
type ConnectionReconnectedProps = MaybePartial<{
|
|
305
311
|
connectionId: string;
|
|
306
312
|
tenantId: string;
|
|
307
313
|
userId: string;
|
|
@@ -309,7 +315,7 @@ type ConnectionReconnectedProps = Partial<{
|
|
|
309
315
|
appId: string;
|
|
310
316
|
}>;
|
|
311
317
|
|
|
312
|
-
type ConnectionRequestedProps =
|
|
318
|
+
type ConnectionRequestedProps = MaybePartial<{
|
|
313
319
|
type: 'PMS' | 'Accounting';
|
|
314
320
|
website: string;
|
|
315
321
|
userId: string;
|
|
@@ -317,20 +323,20 @@ type ConnectionRequestedProps = Partial<{
|
|
|
317
323
|
tenantId: string;
|
|
318
324
|
}>;
|
|
319
325
|
|
|
320
|
-
type GlOwnerStatementDownloadedProps =
|
|
326
|
+
type GlOwnerStatementDownloadedProps = MaybePartial<{
|
|
321
327
|
ownerStatementId: string;
|
|
322
328
|
ownerStatementUrls: string[];
|
|
323
329
|
userType: 'owner' | 'property_manager';
|
|
324
330
|
}>;
|
|
325
331
|
|
|
326
|
-
type GlOwnerStatementPreviewOpenedProps =
|
|
332
|
+
type GlOwnerStatementPreviewOpenedProps = MaybePartial<{
|
|
327
333
|
ownerStatementStatus: string;
|
|
328
334
|
ownerStatementId: string;
|
|
329
335
|
ownerStatementUrls: string[];
|
|
330
336
|
userType: 'owner' | 'property_manager';
|
|
331
337
|
}>;
|
|
332
338
|
|
|
333
|
-
type HyperlineCustomerCreatedProps =
|
|
339
|
+
type HyperlineCustomerCreatedProps = MaybePartial<{
|
|
334
340
|
tenantId: string;
|
|
335
341
|
customerId: string;
|
|
336
342
|
billingEmail: string;
|
|
@@ -341,7 +347,7 @@ type HyperlineCustomerCreatedProps = Partial<{
|
|
|
341
347
|
webhookEventType: 'customer.created';
|
|
342
348
|
}>;
|
|
343
349
|
|
|
344
|
-
type HyperlineCustomerUpdatedProps =
|
|
350
|
+
type HyperlineCustomerUpdatedProps = MaybePartial<{
|
|
345
351
|
tenantId: string;
|
|
346
352
|
customerId: string;
|
|
347
353
|
billingEmail: string;
|
|
@@ -352,7 +358,7 @@ type HyperlineCustomerUpdatedProps = Partial<{
|
|
|
352
358
|
webhookEventType: 'customer.updated';
|
|
353
359
|
}>;
|
|
354
360
|
|
|
355
|
-
type HyperlineInvoiceErroredProps =
|
|
361
|
+
type HyperlineInvoiceErroredProps = MaybePartial<{
|
|
356
362
|
status: 'errored';
|
|
357
363
|
paymentMethodType: string;
|
|
358
364
|
invoiceId: string;
|
|
@@ -362,7 +368,7 @@ type HyperlineInvoiceErroredProps = Partial<{
|
|
|
362
368
|
erroredAt: string;
|
|
363
369
|
}>;
|
|
364
370
|
|
|
365
|
-
type HyperlineInvoiceReadyProps =
|
|
371
|
+
type HyperlineInvoiceReadyProps = MaybePartial<{
|
|
366
372
|
status: 'ready';
|
|
367
373
|
paymentMethodType: string;
|
|
368
374
|
invoiceId: string;
|
|
@@ -374,7 +380,7 @@ type HyperlineInvoiceReadyProps = Partial<{
|
|
|
374
380
|
readyAt: string;
|
|
375
381
|
}>;
|
|
376
382
|
|
|
377
|
-
type HyperlineInvoiceSettledProps =
|
|
383
|
+
type HyperlineInvoiceSettledProps = MaybePartial<{
|
|
378
384
|
status: 'settled';
|
|
379
385
|
paymentMethodType: string;
|
|
380
386
|
invoiceId: string;
|
|
@@ -386,7 +392,7 @@ type HyperlineInvoiceSettledProps = Partial<{
|
|
|
386
392
|
settledAt: string;
|
|
387
393
|
}>;
|
|
388
394
|
|
|
389
|
-
type HyperlineInvoiceVoidedProps =
|
|
395
|
+
type HyperlineInvoiceVoidedProps = MaybePartial<{
|
|
390
396
|
status: 'voided';
|
|
391
397
|
paymentMethodType: string;
|
|
392
398
|
invoiceId: string;
|
|
@@ -396,7 +402,7 @@ type HyperlineInvoiceVoidedProps = Partial<{
|
|
|
396
402
|
voidedAt: string;
|
|
397
403
|
}>;
|
|
398
404
|
|
|
399
|
-
type HyperlinePaymentMethodCreatedProps =
|
|
405
|
+
type HyperlinePaymentMethodCreatedProps = MaybePartial<{
|
|
400
406
|
tenantId: string;
|
|
401
407
|
subscriptionStartDate: string;
|
|
402
408
|
paymentMethodType: PaymentMethodType;
|
|
@@ -406,7 +412,7 @@ type HyperlinePaymentMethodCreatedProps = Partial<{
|
|
|
406
412
|
webhookEventType: 'payment_method.created';
|
|
407
413
|
}>;
|
|
408
414
|
|
|
409
|
-
type HyperlinePaymentMethodDeletedProps =
|
|
415
|
+
type HyperlinePaymentMethodDeletedProps = MaybePartial<{
|
|
410
416
|
tenantId: string;
|
|
411
417
|
subscriptionStartDate: string;
|
|
412
418
|
paymentMethodType: PaymentMethodType;
|
|
@@ -416,7 +422,7 @@ type HyperlinePaymentMethodDeletedProps = Partial<{
|
|
|
416
422
|
webhookEventType: 'payment_method.deleted';
|
|
417
423
|
}>;
|
|
418
424
|
|
|
419
|
-
type HyperlinePaymentMethodErroredProps =
|
|
425
|
+
type HyperlinePaymentMethodErroredProps = MaybePartial<{
|
|
420
426
|
tenantId: string;
|
|
421
427
|
subscriptionStartDate: string;
|
|
422
428
|
paymentMethodType: PaymentMethodType;
|
|
@@ -426,7 +432,7 @@ type HyperlinePaymentMethodErroredProps = Partial<{
|
|
|
426
432
|
webhookEventType: 'payment_method.errored';
|
|
427
433
|
}>;
|
|
428
434
|
|
|
429
|
-
type HyperlineSubscriptionCancellationScheduledProps =
|
|
435
|
+
type HyperlineSubscriptionCancellationScheduledProps = MaybePartial<{
|
|
430
436
|
subscriptionId: string;
|
|
431
437
|
cancellationStrategy:
|
|
432
438
|
| 'charge_prorata'
|
|
@@ -442,7 +448,7 @@ type HyperlineSubscriptionCancellationScheduledProps = Partial<{
|
|
|
442
448
|
webhookEventType: 'subscription.cancellation_scheduled';
|
|
443
449
|
}>;
|
|
444
450
|
|
|
445
|
-
type HyperlineSubscriptionChargedProps =
|
|
451
|
+
type HyperlineSubscriptionChargedProps = MaybePartial<{
|
|
446
452
|
plan: string;
|
|
447
453
|
subscriptionId: string;
|
|
448
454
|
subscriptionStartDate: string;
|
|
@@ -451,7 +457,7 @@ type HyperlineSubscriptionChargedProps = Partial<{
|
|
|
451
457
|
customerId: string;
|
|
452
458
|
}>;
|
|
453
459
|
|
|
454
|
-
type HyperlineSubscriptionCreatedProps =
|
|
460
|
+
type HyperlineSubscriptionCreatedProps = MaybePartial<{
|
|
455
461
|
trialStartDate: string;
|
|
456
462
|
plan: string;
|
|
457
463
|
subscriptionId: string;
|
|
@@ -461,7 +467,7 @@ type HyperlineSubscriptionCreatedProps = Partial<{
|
|
|
461
467
|
customerId: string;
|
|
462
468
|
}>;
|
|
463
469
|
|
|
464
|
-
type HyperlineSubscriptionStatusChangedProps =
|
|
470
|
+
type HyperlineSubscriptionStatusChangedProps = MaybePartial<{
|
|
465
471
|
subscriptionId: string;
|
|
466
472
|
plan: string;
|
|
467
473
|
tenantId: string;
|
|
@@ -473,53 +479,7 @@ type HyperlineSubscriptionStatusChangedProps = Partial<{
|
|
|
473
479
|
customerId: string;
|
|
474
480
|
}>;
|
|
475
481
|
|
|
476
|
-
type
|
|
477
|
-
subscriptionId: string;
|
|
478
|
-
subscriptionStatus: SubscriptionStatus;
|
|
479
|
-
plan: string;
|
|
480
|
-
tenantId: string;
|
|
481
|
-
webhookEventType: 'subscription.activated';
|
|
482
|
-
}>;
|
|
483
|
-
|
|
484
|
-
type HyperlineSubscriptionCancelledProps = Partial<{
|
|
485
|
-
subscriptionId: string;
|
|
486
|
-
subscriptionStatus: SubscriptionStatus;
|
|
487
|
-
plan: string;
|
|
488
|
-
trialEndAt: string;
|
|
489
|
-
subscriptionStartDate: string;
|
|
490
|
-
paymentMethodType: string;
|
|
491
|
-
mrr: number;
|
|
492
|
-
customerId: string;
|
|
493
|
-
tenantId: string;
|
|
494
|
-
webhookEventType: 'subscription.cancelled';
|
|
495
|
-
}>;
|
|
496
|
-
|
|
497
|
-
type HyperlineSubscriptionErroredProps = Partial<{
|
|
498
|
-
subscriptionId: string;
|
|
499
|
-
subscriptionStatus: SubscriptionStatus;
|
|
500
|
-
plan: string;
|
|
501
|
-
userId: string;
|
|
502
|
-
tenantId: string;
|
|
503
|
-
webhookEventType: 'subscription.errored';
|
|
504
|
-
}>;
|
|
505
|
-
|
|
506
|
-
type HyperlineSubscriptionPausedProps = Partial<{
|
|
507
|
-
subscriptionId: string;
|
|
508
|
-
subscriptionStatus: SubscriptionStatus;
|
|
509
|
-
plan: string;
|
|
510
|
-
tenantId: string;
|
|
511
|
-
webhookEventType: 'subscription.paused';
|
|
512
|
-
}>;
|
|
513
|
-
|
|
514
|
-
type HyperlineSubscriptionVoidedProps = Partial<{
|
|
515
|
-
subscriptionId: string;
|
|
516
|
-
subscriptionStatus: SubscriptionStatus;
|
|
517
|
-
plan: string;
|
|
518
|
-
tenantId: string;
|
|
519
|
-
webhookEventType: 'subscription.voided';
|
|
520
|
-
}>;
|
|
521
|
-
|
|
522
|
-
type HyperlineTrialEndedProps = Partial<{
|
|
482
|
+
type HyperlineTrialEndedProps = MaybePartial<{
|
|
523
483
|
trialStartDate: string;
|
|
524
484
|
trialEndDate: string;
|
|
525
485
|
plan: string;
|
|
@@ -529,14 +489,14 @@ type HyperlineTrialEndedProps = Partial<{
|
|
|
529
489
|
paymentMethodType: PaymentMethodType;
|
|
530
490
|
}>;
|
|
531
491
|
|
|
532
|
-
type HyperlineTrialStartedProps =
|
|
492
|
+
type HyperlineTrialStartedProps = MaybePartial<{
|
|
533
493
|
tenantId: string;
|
|
534
494
|
subscriptionStatus: SubscriptionStatus;
|
|
535
495
|
trialUntil: string;
|
|
536
496
|
webhookEventType: 'payment_method.created';
|
|
537
497
|
}>;
|
|
538
498
|
|
|
539
|
-
type OwnerCreatedProps =
|
|
499
|
+
type OwnerCreatedProps = MaybePartial<{
|
|
540
500
|
userId: string;
|
|
541
501
|
tenantId: string;
|
|
542
502
|
ownerId: string;
|
|
@@ -552,7 +512,7 @@ type OwnerCreatedProps = Partial<{
|
|
|
552
512
|
userEmail: string;
|
|
553
513
|
}>;
|
|
554
514
|
|
|
555
|
-
type OwnerDeletedProps =
|
|
515
|
+
type OwnerDeletedProps = MaybePartial<{
|
|
556
516
|
userId: string;
|
|
557
517
|
tenantId: string;
|
|
558
518
|
ownerId: string;
|
|
@@ -561,21 +521,21 @@ type OwnerDeletedProps = Partial<{
|
|
|
561
521
|
ownershipId: string;
|
|
562
522
|
}>;
|
|
563
523
|
|
|
564
|
-
type OwnerTaxInfoModalOpenedProps =
|
|
524
|
+
type OwnerTaxInfoModalOpenedProps = MaybePartial<{
|
|
565
525
|
flag: string;
|
|
566
526
|
}>;
|
|
567
527
|
|
|
568
|
-
type OwnerTaxInfoModalSubmittedProps =
|
|
528
|
+
type OwnerTaxInfoModalSubmittedProps = MaybePartial<{
|
|
569
529
|
flag: string;
|
|
570
530
|
}>;
|
|
571
531
|
|
|
572
|
-
type OwnerUpdatedProps =
|
|
532
|
+
type OwnerUpdatedProps = MaybePartial<{
|
|
573
533
|
userId: string;
|
|
574
534
|
tenantId: string;
|
|
575
535
|
ownerId: string;
|
|
576
536
|
}>;
|
|
577
537
|
|
|
578
|
-
type OwnershipCreatedProps =
|
|
538
|
+
type OwnershipCreatedProps = MaybePartial<{
|
|
579
539
|
ownershipId: string;
|
|
580
540
|
ownerId: string;
|
|
581
541
|
listingId: string;
|
|
@@ -584,7 +544,7 @@ type OwnershipCreatedProps = Partial<{
|
|
|
584
544
|
tenantId: string;
|
|
585
545
|
}>;
|
|
586
546
|
|
|
587
|
-
type OwnershipDeletedProps =
|
|
547
|
+
type OwnershipDeletedProps = MaybePartial<{
|
|
588
548
|
ownershipId: string;
|
|
589
549
|
ownerId: string;
|
|
590
550
|
listingId: string;
|
|
@@ -593,7 +553,7 @@ type OwnershipDeletedProps = Partial<{
|
|
|
593
553
|
tenantId: string;
|
|
594
554
|
}>;
|
|
595
555
|
|
|
596
|
-
type OwnershipUpdatedProps =
|
|
556
|
+
type OwnershipUpdatedProps = MaybePartial<{
|
|
597
557
|
ownershipId: string;
|
|
598
558
|
ownerId: string;
|
|
599
559
|
listingId: string;
|
|
@@ -610,22 +570,22 @@ type SetupClassesSetProps = any;
|
|
|
610
570
|
|
|
611
571
|
type SetupEntitiesSetProps = any;
|
|
612
572
|
|
|
613
|
-
type SetupListingImportedProps =
|
|
573
|
+
type SetupListingImportedProps = MaybePartial<{
|
|
614
574
|
appId: string;
|
|
615
575
|
}>;
|
|
616
576
|
|
|
617
|
-
type SetupOwnerImportedProps =
|
|
577
|
+
type SetupOwnerImportedProps = MaybePartial<{
|
|
618
578
|
appId: string;
|
|
619
579
|
}>;
|
|
620
580
|
|
|
621
|
-
type SetupReservationImportedProps =
|
|
581
|
+
type SetupReservationImportedProps = MaybePartial<{
|
|
622
582
|
appId: string;
|
|
623
583
|
}>;
|
|
624
584
|
|
|
625
585
|
type SetupVendorsSetProps = any;
|
|
626
586
|
|
|
627
|
-
type TaxStatementDownloadedProps =
|
|
628
|
-
taxStatementStatus?:
|
|
587
|
+
type TaxStatementDownloadedProps = MaybePartial<{
|
|
588
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
629
589
|
taxStatementId: string;
|
|
630
590
|
taxStatementUrl: string;
|
|
631
591
|
userType: string;
|
|
@@ -634,8 +594,8 @@ type TaxStatementDownloadedProps = Partial<{
|
|
|
634
594
|
tenantId: string;
|
|
635
595
|
}>;
|
|
636
596
|
|
|
637
|
-
type TaxStatementPreviewOpenedProps =
|
|
638
|
-
taxStatementStatus?:
|
|
597
|
+
type TaxStatementPreviewOpenedProps = MaybePartial<{
|
|
598
|
+
taxStatementStatus?: TaxStatementStatus;
|
|
639
599
|
taxStatementId: string;
|
|
640
600
|
taxStatementUrl: string;
|
|
641
601
|
userType: string;
|
|
@@ -644,7 +604,7 @@ type TaxStatementPreviewOpenedProps = Partial<{
|
|
|
644
604
|
tenantId: string;
|
|
645
605
|
}>;
|
|
646
606
|
|
|
647
|
-
type TeamAddedProps =
|
|
607
|
+
type TeamAddedProps = MaybePartial<{
|
|
648
608
|
tenantId: string;
|
|
649
609
|
tenantName: string;
|
|
650
610
|
partnerId: string;
|
|
@@ -653,7 +613,7 @@ type TeamAddedProps = Partial<{
|
|
|
653
613
|
userEmail: string;
|
|
654
614
|
}>;
|
|
655
615
|
|
|
656
|
-
type TeamCanceledProps =
|
|
616
|
+
type TeamCanceledProps = MaybePartial<{
|
|
657
617
|
tenantId: string;
|
|
658
618
|
customerId: string;
|
|
659
619
|
subscriptionId: string;
|
|
@@ -661,46 +621,46 @@ type TeamCanceledProps = Partial<{
|
|
|
661
621
|
reason: string;
|
|
662
622
|
}>;
|
|
663
623
|
|
|
664
|
-
type TeamDeletedProps =
|
|
624
|
+
type TeamDeletedProps = MaybePartial<{
|
|
665
625
|
tenantId: string;
|
|
666
626
|
userId: string;
|
|
667
627
|
userEmail: string;
|
|
668
628
|
}>;
|
|
669
629
|
|
|
670
|
-
type TeamInfoUpdatedProps =
|
|
630
|
+
type TeamInfoUpdatedProps = MaybePartial<{
|
|
671
631
|
userId: string;
|
|
672
632
|
tenantId: string;
|
|
673
633
|
userEmail: string;
|
|
674
634
|
}>;
|
|
675
635
|
|
|
676
|
-
type TeamMemberRemovedProps =
|
|
636
|
+
type TeamMemberRemovedProps = MaybePartial<{
|
|
677
637
|
userId: string;
|
|
678
638
|
removedUserId: string;
|
|
679
639
|
tenantId: string;
|
|
680
640
|
userEmail: string;
|
|
681
641
|
}>;
|
|
682
642
|
|
|
683
|
-
type TeamReinstatedProps =
|
|
643
|
+
type TeamReinstatedProps = MaybePartial<{
|
|
684
644
|
tenantId: string;
|
|
685
645
|
subscriptionId: string;
|
|
686
646
|
}>;
|
|
687
647
|
|
|
688
|
-
type TestErrorProps =
|
|
648
|
+
type TestErrorProps = MaybePartial<{
|
|
689
649
|
userId: string;
|
|
690
650
|
tenantId: string;
|
|
691
651
|
[key: string]: any;
|
|
692
652
|
}>;
|
|
693
653
|
|
|
694
|
-
type TestEventProps =
|
|
654
|
+
type TestEventProps = MaybePartial<{
|
|
695
655
|
success: boolean;
|
|
696
656
|
[key: string]: any;
|
|
697
657
|
}>;
|
|
698
658
|
|
|
699
|
-
type UpdateRefreshAcceptedProps =
|
|
659
|
+
type UpdateRefreshAcceptedProps = MaybePartial<{
|
|
700
660
|
appName: string;
|
|
701
661
|
}>;
|
|
702
662
|
|
|
703
|
-
type OwnerStatementStatusChangedProps =
|
|
663
|
+
type OwnerStatementStatusChangedProps = MaybePartial<{
|
|
704
664
|
userId: string;
|
|
705
665
|
tenantId: string;
|
|
706
666
|
userEmail: string;
|
|
@@ -711,13 +671,23 @@ type OwnerStatementStatusChangedProps = Partial<{
|
|
|
711
671
|
status: OwnerStatementStatus;
|
|
712
672
|
}>;
|
|
713
673
|
|
|
714
|
-
type ListingActivatedProps =
|
|
674
|
+
type ListingActivatedProps = MaybePartial<{
|
|
675
|
+
tenantId: string;
|
|
676
|
+
billingStatus: 'active' | 'inactive';
|
|
677
|
+
name: string;
|
|
678
|
+
vrpStatus: 'active' | 'disabled' | 'enabled' | 'inactive';
|
|
679
|
+
pmsStatus: string;
|
|
680
|
+
}>;
|
|
715
681
|
|
|
716
|
-
type ListingDeactivatedProps =
|
|
682
|
+
type ListingDeactivatedProps = ListingActivatedProps;
|
|
717
683
|
|
|
718
|
-
type ListingsReportedProps =
|
|
684
|
+
type ListingsReportedProps = MaybePartial<{
|
|
685
|
+
userId: string;
|
|
686
|
+
tenantId: string;
|
|
687
|
+
activeListings: number;
|
|
688
|
+
}>;
|
|
719
689
|
|
|
720
|
-
type IntercomConversationCreated =
|
|
690
|
+
type IntercomConversationCreated = MaybePartial<{
|
|
721
691
|
userId: string;
|
|
722
692
|
tenantId: string;
|
|
723
693
|
userEmail: string;
|
|
@@ -731,7 +701,7 @@ type IntercomConversationCreated = Partial<{
|
|
|
731
701
|
|
|
732
702
|
type IntercomConversationReplied = IntercomConversationCreated;
|
|
733
703
|
|
|
734
|
-
type IntercomConversationClosed =
|
|
704
|
+
type IntercomConversationClosed = MaybePartial<{
|
|
735
705
|
userId: string;
|
|
736
706
|
tenantId: string;
|
|
737
707
|
userEmail: string;
|
|
@@ -739,7 +709,7 @@ type IntercomConversationClosed = Partial<{
|
|
|
739
709
|
createdAt: string;
|
|
740
710
|
}>;
|
|
741
711
|
|
|
742
|
-
type IntercomConversationRated =
|
|
712
|
+
type IntercomConversationRated = MaybePartial<{
|
|
743
713
|
userId: string;
|
|
744
714
|
tenantId: string;
|
|
745
715
|
userEmail: string;
|
|
@@ -749,7 +719,7 @@ type IntercomConversationRated = Partial<{
|
|
|
749
719
|
createdAt: string;
|
|
750
720
|
}>;
|
|
751
721
|
|
|
752
|
-
type MrrReportedProps =
|
|
722
|
+
type MrrReportedProps = MaybePartial<{
|
|
753
723
|
mrr: number;
|
|
754
724
|
subscriptionStatus: SubscriptionStatus;
|
|
755
725
|
}>;
|