@vitalfit/sdk 0.0.45 → 0.0.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/dist/index.d.cts CHANGED
@@ -30,6 +30,9 @@ type Pagination<T> = {
30
30
  next: string | null;
31
31
  previous: string | null;
32
32
  };
33
+ type PaginatedTotal<T> = Pagination<T> & {
34
+ total: number;
35
+ };
33
36
  type UUIDModel = {
34
37
  id: string;
35
38
  };
@@ -317,6 +320,11 @@ type BranchInstructorInfo = {
317
320
  phone: string;
318
321
  instructorID: string;
319
322
  };
323
+ type InstructorsSummary = {
324
+ total: number;
325
+ actives: number;
326
+ blocked: number;
327
+ };
320
328
 
321
329
  interface Permission {
322
330
  created_at?: string;
@@ -376,6 +384,11 @@ type UpdateMembershipType = {
376
384
  name?: string;
377
385
  price?: number;
378
386
  };
387
+ type MembershipsSummary = {
388
+ total: number;
389
+ actives: number;
390
+ inactives: number;
391
+ };
379
392
 
380
393
  type BranchInfo = {
381
394
  address: string;
@@ -472,6 +485,14 @@ type UpdateBranchServicePrice = {
472
485
  price_for_member?: number;
473
486
  price_for_non_member?: number;
474
487
  };
488
+ type PaginatedServiceRequest = PaginationRequest & {
489
+ category?: string;
490
+ };
491
+ type ServicesSummary = {
492
+ total: number;
493
+ actives: number;
494
+ featured: number;
495
+ };
475
496
 
476
497
  type EquipmentCategory = 'Cardio' | 'Strength' | 'FreeWeight' | 'Functional' | 'Accessory';
477
498
  type Equipment = {
@@ -517,6 +538,9 @@ type BranchEquipmentInventory = {
517
538
  serial_number: string;
518
539
  status: EquipmentStatus;
519
540
  };
541
+ type PaginatedEquipmentRequest = PaginationRequest & {
542
+ category?: EquipmentCategory;
543
+ };
520
544
 
521
545
  declare class AuthService {
522
546
  private client;
@@ -570,7 +594,8 @@ declare class PaymentMethodService {
570
594
  declare class InstructorService {
571
595
  private client;
572
596
  constructor(client: Client);
573
- getInstructors({ search, identity_doc }: PaginatedInstructor, jwt: string): Promise<DataResponse<InstructorDataList[]>>;
597
+ getInstructors({ page, limit, search, identity_doc }: PaginatedInstructor, jwt: string): Promise<PaginatedTotal<InstructorDataList[]>>;
598
+ getSummary(jwt: string): Promise<DataResponse<InstructorsSummary>>;
574
599
  createInstructor(instructorData: Instructor, jwt: string): Promise<void>;
575
600
  getInstructorById(instructorId: string, jwt: string): Promise<DataResponse<InstructorData>>;
576
601
  updateInstructor(instructorId: string, instructorData: Instructor, jwt: string): Promise<void>;
@@ -608,8 +633,9 @@ declare class MarketingService {
608
633
  declare class MembershipService {
609
634
  private client;
610
635
  constructor(client: Client);
611
- createMembershipType(data: any, jwt: string): Promise<void>;
612
- getMembershipTypes(jwt: string): Promise<DataResponse<MembershipType[]>>;
636
+ createMembershipType(data: CreateMembershipType, jwt: string): Promise<void>;
637
+ getMembershipTypes(jwt: string, { page, limit, sort, search }: PaginationRequest): Promise<PaginatedTotal<MembershipType[]>>;
638
+ getSummary(jwt: string): Promise<DataResponse<MembershipsSummary>>;
613
639
  getMembershipTypeByID(membershipTypeId: string, jwt: string): Promise<DataResponse<MembershipType>>;
614
640
  updateMembershipType(membershipTypeId: string, data: UpdateMembershipType, jwt: string): Promise<void>;
615
641
  deleteMembershipType(membershipTypeId: string, jwt: string): Promise<void>;
@@ -625,7 +651,8 @@ declare class ProductsService {
625
651
  private client;
626
652
  constructor(client: Client);
627
653
  createService(data: CreateService, jwt: string): Promise<void>;
628
- getServices(jwt: string): Promise<DataResponse<ServiceFullDetail[]>>;
654
+ getServices(jwt: string, { page, limit, sort, search, category, }: PaginatedServiceRequest): Promise<PaginatedTotal<ServiceFullDetail[]>>;
655
+ getSummary(jwt: string): Promise<DataResponse<ServicesSummary>>;
629
656
  getServiceByID(serviceId: string, jwt: string): Promise<DataResponse<ServiceFullDetail>>;
630
657
  updateService(serviceId: string, data: UpdateServiceManual, jwt: string): Promise<void>;
631
658
  deleteService(serviceId: string, jwt: string): Promise<void>;
@@ -640,7 +667,7 @@ declare class ProductsService {
640
667
  declare class EquipmentService {
641
668
  private client;
642
669
  constructor(client: Client);
643
- getEquipment(jwt: string): Promise<DataResponse<Equipment[]>>;
670
+ getEquipment(jwt: string, { page, limit, sort, search, category, }: PaginatedEquipmentRequest): Promise<PaginatedTotal<Equipment[]>>;
644
671
  getEquipmentByID(equipmentId: string, jwt: string): Promise<DataResponse<EquipmentInfo>>;
645
672
  getBranchEquipmentByID(branchId: string, equipmentID: string, jwt: string): Promise<DataResponse<BranchEquipmentInventory>>;
646
673
  createEquipment(data: CreateEquipment, jwt: string): Promise<void>;
@@ -678,4 +705,4 @@ declare class VitalFit {
678
705
  version(): string;
679
706
  }
680
707
 
681
- export { APIError, type BankTransferConfig, type Banner, type BannerResponse, type BaseModel, type BranchDetails, type BranchEquipmentInventory, type BranchInfo, type BranchInstructorInfo, type BranchPaymentMethod, type BranchPaymentMethodInfo, type BranchPaymentVisibility, type BranchServicePrice, type BranchStatusCount, type ClientProfile, type CreateBanner, type CreateBranchEquipment, type CreateBranchPaymentMethod, type CreateBranchRequest, type CreateBranchServicePriceItem, type CreateEquipment, type CreateMembershipType, type CreatePaymentMethod, type CreateRole, type CreateService, type CreateServiceImage, type DataResponse, type Equipment, type EquipmentCategory, type EquipmentInfo, type EquipmentStatus, type Instructor, type InstructorData, type InstructorDataList, type LoginRequest, type LoginResponse, type MembershipType, type OperatingHour, type PaginatedBranch, type PaginatedInstructor, type Pagination, type PaginationBranchRequest, type PaginationRequest, type PagoMovilConfig, type PaymentConfiguration, type PaymentMethod, type PaymentMethodTypes, type Permission, type Role, type RoleResponse, type ServiceCategoryInfo, type ServiceFullDetail, type ServiceImageResponse, type SignUpRequest, type Specialty, type UUIDModel, type UpdateBanner, type UpdateBranchEquipmentDetails, type UpdateBranchPaymentMethod, type UpdateBranchRequest, type UpdateBranchServicePrice, type UpdateEquipment, type UpdateMembershipType, type UpdateOperatingHour, type UpdateServiceImageManual, type UpdateServiceManual, type User, type UserApiResponse, UserGender, type UserPaginationOptions, VitalFit, type ZelleConfig, isAPIError };
708
+ export { APIError, type BankTransferConfig, type Banner, type BannerResponse, type BaseModel, type BranchDetails, type BranchEquipmentInventory, type BranchInfo, type BranchInstructorInfo, type BranchPaymentMethod, type BranchPaymentMethodInfo, type BranchPaymentVisibility, type BranchServicePrice, type BranchStatusCount, type ClientProfile, type CreateBanner, type CreateBranchEquipment, type CreateBranchPaymentMethod, type CreateBranchRequest, type CreateBranchServicePriceItem, type CreateEquipment, type CreateMembershipType, type CreatePaymentMethod, type CreateRole, type CreateService, type CreateServiceImage, type DataResponse, type Equipment, type EquipmentCategory, type EquipmentInfo, type EquipmentStatus, type Instructor, type InstructorData, type InstructorDataList, type InstructorsSummary, type LoginRequest, type LoginResponse, type MembershipType, type MembershipsSummary, type OperatingHour, type PaginatedBranch, type PaginatedEquipmentRequest, type PaginatedInstructor, type PaginatedServiceRequest, type PaginatedTotal, type Pagination, type PaginationBranchRequest, type PaginationRequest, type PagoMovilConfig, type PaymentConfiguration, type PaymentMethod, type PaymentMethodTypes, type Permission, type Role, type RoleResponse, type ServiceCategoryInfo, type ServiceFullDetail, type ServiceImageResponse, type ServicesSummary, type SignUpRequest, type Specialty, type UUIDModel, type UpdateBanner, type UpdateBranchEquipmentDetails, type UpdateBranchPaymentMethod, type UpdateBranchRequest, type UpdateBranchServicePrice, type UpdateEquipment, type UpdateMembershipType, type UpdateOperatingHour, type UpdateServiceImageManual, type UpdateServiceManual, type User, type UserApiResponse, UserGender, type UserPaginationOptions, VitalFit, type ZelleConfig, isAPIError };
package/dist/index.d.ts CHANGED
@@ -30,6 +30,9 @@ type Pagination<T> = {
30
30
  next: string | null;
31
31
  previous: string | null;
32
32
  };
33
+ type PaginatedTotal<T> = Pagination<T> & {
34
+ total: number;
35
+ };
33
36
  type UUIDModel = {
34
37
  id: string;
35
38
  };
@@ -317,6 +320,11 @@ type BranchInstructorInfo = {
317
320
  phone: string;
318
321
  instructorID: string;
319
322
  };
323
+ type InstructorsSummary = {
324
+ total: number;
325
+ actives: number;
326
+ blocked: number;
327
+ };
320
328
 
321
329
  interface Permission {
322
330
  created_at?: string;
@@ -376,6 +384,11 @@ type UpdateMembershipType = {
376
384
  name?: string;
377
385
  price?: number;
378
386
  };
387
+ type MembershipsSummary = {
388
+ total: number;
389
+ actives: number;
390
+ inactives: number;
391
+ };
379
392
 
380
393
  type BranchInfo = {
381
394
  address: string;
@@ -472,6 +485,14 @@ type UpdateBranchServicePrice = {
472
485
  price_for_member?: number;
473
486
  price_for_non_member?: number;
474
487
  };
488
+ type PaginatedServiceRequest = PaginationRequest & {
489
+ category?: string;
490
+ };
491
+ type ServicesSummary = {
492
+ total: number;
493
+ actives: number;
494
+ featured: number;
495
+ };
475
496
 
476
497
  type EquipmentCategory = 'Cardio' | 'Strength' | 'FreeWeight' | 'Functional' | 'Accessory';
477
498
  type Equipment = {
@@ -517,6 +538,9 @@ type BranchEquipmentInventory = {
517
538
  serial_number: string;
518
539
  status: EquipmentStatus;
519
540
  };
541
+ type PaginatedEquipmentRequest = PaginationRequest & {
542
+ category?: EquipmentCategory;
543
+ };
520
544
 
521
545
  declare class AuthService {
522
546
  private client;
@@ -570,7 +594,8 @@ declare class PaymentMethodService {
570
594
  declare class InstructorService {
571
595
  private client;
572
596
  constructor(client: Client);
573
- getInstructors({ search, identity_doc }: PaginatedInstructor, jwt: string): Promise<DataResponse<InstructorDataList[]>>;
597
+ getInstructors({ page, limit, search, identity_doc }: PaginatedInstructor, jwt: string): Promise<PaginatedTotal<InstructorDataList[]>>;
598
+ getSummary(jwt: string): Promise<DataResponse<InstructorsSummary>>;
574
599
  createInstructor(instructorData: Instructor, jwt: string): Promise<void>;
575
600
  getInstructorById(instructorId: string, jwt: string): Promise<DataResponse<InstructorData>>;
576
601
  updateInstructor(instructorId: string, instructorData: Instructor, jwt: string): Promise<void>;
@@ -608,8 +633,9 @@ declare class MarketingService {
608
633
  declare class MembershipService {
609
634
  private client;
610
635
  constructor(client: Client);
611
- createMembershipType(data: any, jwt: string): Promise<void>;
612
- getMembershipTypes(jwt: string): Promise<DataResponse<MembershipType[]>>;
636
+ createMembershipType(data: CreateMembershipType, jwt: string): Promise<void>;
637
+ getMembershipTypes(jwt: string, { page, limit, sort, search }: PaginationRequest): Promise<PaginatedTotal<MembershipType[]>>;
638
+ getSummary(jwt: string): Promise<DataResponse<MembershipsSummary>>;
613
639
  getMembershipTypeByID(membershipTypeId: string, jwt: string): Promise<DataResponse<MembershipType>>;
614
640
  updateMembershipType(membershipTypeId: string, data: UpdateMembershipType, jwt: string): Promise<void>;
615
641
  deleteMembershipType(membershipTypeId: string, jwt: string): Promise<void>;
@@ -625,7 +651,8 @@ declare class ProductsService {
625
651
  private client;
626
652
  constructor(client: Client);
627
653
  createService(data: CreateService, jwt: string): Promise<void>;
628
- getServices(jwt: string): Promise<DataResponse<ServiceFullDetail[]>>;
654
+ getServices(jwt: string, { page, limit, sort, search, category, }: PaginatedServiceRequest): Promise<PaginatedTotal<ServiceFullDetail[]>>;
655
+ getSummary(jwt: string): Promise<DataResponse<ServicesSummary>>;
629
656
  getServiceByID(serviceId: string, jwt: string): Promise<DataResponse<ServiceFullDetail>>;
630
657
  updateService(serviceId: string, data: UpdateServiceManual, jwt: string): Promise<void>;
631
658
  deleteService(serviceId: string, jwt: string): Promise<void>;
@@ -640,7 +667,7 @@ declare class ProductsService {
640
667
  declare class EquipmentService {
641
668
  private client;
642
669
  constructor(client: Client);
643
- getEquipment(jwt: string): Promise<DataResponse<Equipment[]>>;
670
+ getEquipment(jwt: string, { page, limit, sort, search, category, }: PaginatedEquipmentRequest): Promise<PaginatedTotal<Equipment[]>>;
644
671
  getEquipmentByID(equipmentId: string, jwt: string): Promise<DataResponse<EquipmentInfo>>;
645
672
  getBranchEquipmentByID(branchId: string, equipmentID: string, jwt: string): Promise<DataResponse<BranchEquipmentInventory>>;
646
673
  createEquipment(data: CreateEquipment, jwt: string): Promise<void>;
@@ -678,4 +705,4 @@ declare class VitalFit {
678
705
  version(): string;
679
706
  }
680
707
 
681
- export { APIError, type BankTransferConfig, type Banner, type BannerResponse, type BaseModel, type BranchDetails, type BranchEquipmentInventory, type BranchInfo, type BranchInstructorInfo, type BranchPaymentMethod, type BranchPaymentMethodInfo, type BranchPaymentVisibility, type BranchServicePrice, type BranchStatusCount, type ClientProfile, type CreateBanner, type CreateBranchEquipment, type CreateBranchPaymentMethod, type CreateBranchRequest, type CreateBranchServicePriceItem, type CreateEquipment, type CreateMembershipType, type CreatePaymentMethod, type CreateRole, type CreateService, type CreateServiceImage, type DataResponse, type Equipment, type EquipmentCategory, type EquipmentInfo, type EquipmentStatus, type Instructor, type InstructorData, type InstructorDataList, type LoginRequest, type LoginResponse, type MembershipType, type OperatingHour, type PaginatedBranch, type PaginatedInstructor, type Pagination, type PaginationBranchRequest, type PaginationRequest, type PagoMovilConfig, type PaymentConfiguration, type PaymentMethod, type PaymentMethodTypes, type Permission, type Role, type RoleResponse, type ServiceCategoryInfo, type ServiceFullDetail, type ServiceImageResponse, type SignUpRequest, type Specialty, type UUIDModel, type UpdateBanner, type UpdateBranchEquipmentDetails, type UpdateBranchPaymentMethod, type UpdateBranchRequest, type UpdateBranchServicePrice, type UpdateEquipment, type UpdateMembershipType, type UpdateOperatingHour, type UpdateServiceImageManual, type UpdateServiceManual, type User, type UserApiResponse, UserGender, type UserPaginationOptions, VitalFit, type ZelleConfig, isAPIError };
708
+ export { APIError, type BankTransferConfig, type Banner, type BannerResponse, type BaseModel, type BranchDetails, type BranchEquipmentInventory, type BranchInfo, type BranchInstructorInfo, type BranchPaymentMethod, type BranchPaymentMethodInfo, type BranchPaymentVisibility, type BranchServicePrice, type BranchStatusCount, type ClientProfile, type CreateBanner, type CreateBranchEquipment, type CreateBranchPaymentMethod, type CreateBranchRequest, type CreateBranchServicePriceItem, type CreateEquipment, type CreateMembershipType, type CreatePaymentMethod, type CreateRole, type CreateService, type CreateServiceImage, type DataResponse, type Equipment, type EquipmentCategory, type EquipmentInfo, type EquipmentStatus, type Instructor, type InstructorData, type InstructorDataList, type InstructorsSummary, type LoginRequest, type LoginResponse, type MembershipType, type MembershipsSummary, type OperatingHour, type PaginatedBranch, type PaginatedEquipmentRequest, type PaginatedInstructor, type PaginatedServiceRequest, type PaginatedTotal, type Pagination, type PaginationBranchRequest, type PaginationRequest, type PagoMovilConfig, type PaymentConfiguration, type PaymentMethod, type PaymentMethodTypes, type Permission, type Role, type RoleResponse, type ServiceCategoryInfo, type ServiceFullDetail, type ServiceImageResponse, type ServicesSummary, type SignUpRequest, type Specialty, type UUIDModel, type UpdateBanner, type UpdateBranchEquipmentDetails, type UpdateBranchPaymentMethod, type UpdateBranchRequest, type UpdateBranchServicePrice, type UpdateEquipment, type UpdateMembershipType, type UpdateOperatingHour, type UpdateServiceImageManual, type UpdateServiceManual, type User, type UserApiResponse, UserGender, type UserPaginationOptions, VitalFit, type ZelleConfig, isAPIError };
package/dist/index.js CHANGED
@@ -148,6 +148,7 @@ var AuthService = class {
148
148
  this.client.setJWT(jwt);
149
149
  }
150
150
  async signUp(signUpData) {
151
+ signUpData.role_name = "client";
151
152
  const birthDateRegex = /^\d{4}-\d{2}-\d{2}$/;
152
153
  if (signUpData.role_name != "client") {
153
154
  throw new Error("Only clients can sign up using this method");
@@ -201,7 +202,7 @@ var AuthService = class {
201
202
  url: `/auth/activate/${token}`,
202
203
  data: {
203
204
  password,
204
- repeatPassword
205
+ confirm_password: repeatPassword
205
206
  }
206
207
  });
207
208
  }
@@ -406,6 +407,7 @@ var InstructorService = class {
406
407
  constructor(client) {
407
408
  this.client = client;
408
409
  this.getInstructors = this.getInstructors.bind(this);
410
+ this.getSummary = this.getSummary.bind(this);
409
411
  this.createInstructor = this.createInstructor.bind(this);
410
412
  this.getInstructorById = this.getInstructorById.bind(this);
411
413
  this.updateInstructor = this.updateInstructor.bind(this);
@@ -416,17 +418,26 @@ var InstructorService = class {
416
418
  this.removeBranchInstructor = this.removeBranchInstructor.bind(this);
417
419
  this.getBranchInstructors = this.getBranchInstructors.bind(this);
418
420
  }
419
- async getInstructors({ search, identity_doc }, jwt) {
421
+ async getInstructors({ page = 10, limit = 10, search, identity_doc }, jwt) {
420
422
  const response = await this.client.get({
421
423
  url: "/instructor",
422
424
  jwt,
423
425
  params: {
426
+ page,
427
+ limit,
424
428
  search,
425
429
  identity_doc
426
430
  }
427
431
  });
428
432
  return response;
429
433
  }
434
+ async getSummary(jwt) {
435
+ const response = await this.client.get({
436
+ url: "/instructor/summary",
437
+ jwt
438
+ });
439
+ return response;
440
+ }
430
441
  async createInstructor(instructorData, jwt) {
431
442
  await this.client.post({
432
443
  url: "/instructor",
@@ -624,41 +635,55 @@ var MembershipService = class {
624
635
  this.client = client;
625
636
  this.createMembershipType = this.createMembershipType.bind(this);
626
637
  this.getMembershipTypes = this.getMembershipTypes.bind(this);
638
+ this.getSummary = this.getSummary.bind(this);
627
639
  this.getMembershipTypeByID = this.getMembershipTypeByID.bind(this);
628
640
  this.updateMembershipType = this.updateMembershipType.bind(this);
629
641
  this.deleteMembershipType = this.deleteMembershipType.bind(this);
630
642
  }
631
643
  async createMembershipType(data, jwt) {
632
644
  await this.client.post({
633
- url: "/membership/types",
645
+ url: "/membership-plans",
634
646
  jwt,
635
647
  data
636
648
  });
637
649
  }
638
- async getMembershipTypes(jwt) {
650
+ async getMembershipTypes(jwt, { page = 10, limit = 10, sort = "desc", search }) {
651
+ const response = await this.client.get({
652
+ url: "/membership-plans",
653
+ jwt,
654
+ params: {
655
+ page,
656
+ limit,
657
+ sort,
658
+ search
659
+ }
660
+ });
661
+ return response;
662
+ }
663
+ async getSummary(jwt) {
639
664
  const response = await this.client.get({
640
- url: "/membership/types",
665
+ url: "/membership-plans/summary",
641
666
  jwt
642
667
  });
643
668
  return response;
644
669
  }
645
670
  async getMembershipTypeByID(membershipTypeId, jwt) {
646
671
  const response = await this.client.get({
647
- url: `/membership/types/${membershipTypeId}`,
672
+ url: `/membership-plans/${membershipTypeId}`,
648
673
  jwt
649
674
  });
650
675
  return response;
651
676
  }
652
677
  async updateMembershipType(membershipTypeId, data, jwt) {
653
678
  await this.client.put({
654
- url: `/membership/types/${membershipTypeId}`,
679
+ url: `/membership-plans/${membershipTypeId}`,
655
680
  jwt,
656
681
  data
657
682
  });
658
683
  }
659
684
  async deleteMembershipType(membershipTypeId, jwt) {
660
685
  await this.client.delete({
661
- url: `/membership/types/${membershipTypeId}`,
686
+ url: `/membership-plans/${membershipTypeId}`,
662
687
  jwt
663
688
  });
664
689
  }
@@ -687,6 +712,7 @@ var ProductsService = class {
687
712
  this.client = client;
688
713
  this.createService = this.createService.bind(this);
689
714
  this.getServices = this.getServices.bind(this);
715
+ this.getSummary = this.getSummary.bind(this);
690
716
  this.getServiceByID = this.getServiceByID.bind(this);
691
717
  this.updateService = this.updateService.bind(this);
692
718
  this.deleteService = this.deleteService.bind(this);
@@ -704,9 +730,29 @@ var ProductsService = class {
704
730
  data
705
731
  });
706
732
  }
707
- async getServices(jwt) {
733
+ async getServices(jwt, {
734
+ page = 10,
735
+ limit = 10,
736
+ sort = "desc",
737
+ search,
738
+ category
739
+ }) {
708
740
  const response = await this.client.get({
709
741
  url: "/services/all",
742
+ jwt,
743
+ params: {
744
+ page,
745
+ limit,
746
+ sort,
747
+ search,
748
+ category
749
+ }
750
+ });
751
+ return response;
752
+ }
753
+ async getSummary(jwt) {
754
+ const response = await this.client.get({
755
+ url: "/services/summary",
710
756
  jwt
711
757
  });
712
758
  return response;
@@ -792,10 +838,23 @@ var EquipmentService = class {
792
838
  this.removeBranchEquipment = this.removeBranchEquipment.bind(this);
793
839
  this.updateBranchEquipment = this.updateBranchEquipment.bind(this);
794
840
  }
795
- async getEquipment(jwt) {
841
+ async getEquipment(jwt, {
842
+ page = 10,
843
+ limit = 10,
844
+ sort = "desc",
845
+ search,
846
+ category
847
+ }) {
796
848
  const response = await this.client.get({
797
849
  url: "/equipment-types",
798
- jwt
850
+ jwt,
851
+ params: {
852
+ page,
853
+ limit,
854
+ sort,
855
+ search,
856
+ category
857
+ }
799
858
  });
800
859
  return response;
801
860
  }
@@ -906,7 +965,7 @@ var VitalFit = class _VitalFit {
906
965
  return _VitalFit.instance;
907
966
  }
908
967
  version() {
909
- return "0.0.45";
968
+ return "0.0.47";
910
969
  }
911
970
  };
912
971
  export {