@leavittsoftware/lg-core-typescript 5.1372.0 → 5.1374.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"api4.leavitt.com.js","sourceRoot":"","sources":["api4.leavitt.com.ts"],"names":[],"mappings":"AAo5BA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;IACZ,6CAAS,CAAA;IACT,yCAAO,CAAA;AACX,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAID,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,2DAAO,CAAA;IACP,yDAAM,CAAA;AACV,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
1
+ {"version":3,"file":"api4.leavitt.com.js","sourceRoot":"","sources":["api4.leavitt.com.ts"],"names":[],"mappings":"AA09BA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;IACZ,6CAAS,CAAA;IACT,yCAAO,CAAA;AACX,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAID,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,2DAAO,CAAA;IACP,yDAAM,CAAA;AACV,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
@@ -471,6 +471,13 @@ export interface GroupMemberDto {
471
471
  GroupId: number;
472
472
  }
473
473
 
474
+ export interface IPersonDetails {
475
+ CompanyName?: string | null ;
476
+ FullName?: string | null ;
477
+ PersonId?: number | null ;
478
+ ProfilePictureCdnFileName?: string | null ;
479
+ }
480
+
474
481
  export interface ReorderDto {
475
482
  Entities: Array<Partial<SequenceDto>>;
476
483
  }
@@ -518,6 +525,26 @@ export interface AddGoogleHealthIntegrationDto {
518
525
  RedirectUri: string;
519
526
  }
520
527
 
528
+ export interface ChallengeEffectiveMemberDto {
529
+ EffectiveMembers: Array<Partial<ChallengeEffectivePersonMemberDto>>;
530
+ Name?: string | null ;
531
+ }
532
+
533
+ export interface ChallengeEffectivePersonMemberDto {
534
+ FullName?: string | null ;
535
+ Id: number;
536
+ InvitedBy?: Partial<ChallengeEffectivePersonMemberInviterDto> | null ;
537
+ ProfilePictureCdnFileName?: string | null ;
538
+ }
539
+
540
+ export interface ChallengeEffectivePersonMemberInviterDto {
541
+ AcceptedDate?: string | null ;
542
+ FullName?: string | null ;
543
+ Id: number;
544
+ ProfilePictureCdnFileName?: string | null ;
545
+ Relationship?: string | null ;
546
+ }
547
+
521
548
  export interface FitnessActivityTotalsDto {
522
549
  AprilTotal: number;
523
550
  AugustTotal: number;
@@ -576,11 +603,17 @@ export interface FitnessSiteStatusChallengeDto {
576
603
  IsActive?: boolean;
577
604
  IsDev?: boolean;
578
605
  Milestones: Array<Partial<FitnessSiteStatusMilestoneDto>>;
606
+ MyProgress: Partial<FitnessSiteStatusMyProgressDto>;
579
607
  Name: string;
580
608
  QualifyingActivities: Array<Partial<FitnessSiteStatusQualifyingActivityDto>>;
581
609
  StartDate: string;
582
610
  }
583
611
 
612
+ export interface FitnessSiteStatusMyProgressDto {
613
+ EarnedDistance: number;
614
+ Rank: number;
615
+ }
616
+
584
617
  export interface FitnessSiteStatusDto {
585
618
  ActivityTypes: Array<Partial<FitnessSiteStatusActivityTypeDto>>;
586
619
  CurrentWeight: number;
@@ -588,7 +621,6 @@ export interface FitnessSiteStatusDto {
588
621
  FitnessChallenges: Array<Partial<FitnessSiteStatusChallengeDto>>;
589
622
  GoalMinutes: number;
590
623
  IsGoogleHealthSyncEnabled?: boolean;
591
- IsRegisteredMember?: boolean;
592
624
  MinutesThisMonth: number;
593
625
  OverallRank: number;
594
626
  RecentActivities: Array<string>;
@@ -622,6 +654,29 @@ export interface FitnessSiteStatusSelfieDto {
622
654
  PreviewSizes?: string | null ;
623
655
  }
624
656
 
657
+ export interface GetMyQualifyingActivityBreakdownDto {
658
+ ActivityDistanceUnitType: DistanceUnitTypeString;
659
+ ActivityTypeDistance: number;
660
+ EarnedDistance: number;
661
+ EarnedDistanceUnitType: DistanceUnitTypeString;
662
+ Icon: string;
663
+ Id: number;
664
+ Name: string;
665
+ }
666
+
667
+ export interface IndividualChallengeLeaderboardDto extends IPersonDetails {
668
+ EarnedDistance: number;
669
+ Milestones: Array<Partial<IndividualChallengeLeaderboardMilestoneDto>>;
670
+ Rank?: number | null ;
671
+ }
672
+
673
+ export interface IndividualChallengeLeaderboardMilestoneDto {
674
+ Completed?: boolean;
675
+ HasSelfie?: boolean;
676
+ Id: number;
677
+ Name: string;
678
+ }
679
+
625
680
  export interface InviteLeavittFitInviteeDto {
626
681
  Email: string;
627
682
  FirstName: string;
@@ -639,6 +694,21 @@ export interface ReimbursementEligibilityDto {
639
694
  TotalMinutes?: number | null ;
640
695
  }
641
696
 
697
+ export interface TeamChallengeLeaderboardDto {
698
+ CompanyDarkMarkUrl?: string | null ;
699
+ CompanyId: number;
700
+ CompanyMarkUrl?: string | null ;
701
+ CompanyName?: string | null ;
702
+ EarnedDistance: number;
703
+ People: Array<Partial<IndividualChallengeLeaderboardDto>>;
704
+ Rank: number;
705
+ }
706
+
707
+ export interface Top5ChallengeParticipantsDto extends IPersonDetails {
708
+ EarnedDistance: number;
709
+ Rank: number;
710
+ }
711
+
642
712
  export interface UpdateWeightDto {
643
713
  WeightInPounds: number;
644
714
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "5.1372.0",
3
+ "version": "5.1374.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.typescript.js",
6
6
  "files": [