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