@doolehealth/service-lib 0.0.4 → 0.0.6

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.
Files changed (90) hide show
  1. package/README.md +112 -13
  2. package/esm2022/lib/configuration.mjs +1 -1
  3. package/esm2022/lib/models/notifications/notification-options.mjs +192 -0
  4. package/esm2022/lib/models/shared-care-plan.mjs +223 -0
  5. package/esm2022/lib/models/user.mjs +1 -1
  6. package/esm2022/lib/service-lib.component.mjs +5 -5
  7. package/esm2022/lib/service-lib.module.mjs +4 -4
  8. package/esm2022/lib/services/analytics.service.mjs +20 -11
  9. package/esm2022/lib/services/api-endpoints.service.mjs +22 -6
  10. package/esm2022/lib/services/authentication.service.mjs +74 -52
  11. package/esm2022/lib/services/change-endpoints.service.mjs +46 -22
  12. package/esm2022/lib/services/date.service.mjs +106 -45
  13. package/esm2022/lib/services/doole.service.mjs +658 -221
  14. package/esm2022/lib/services/encryption.service.mjs +3 -3
  15. package/esm2022/lib/services/error.service.mjs +3 -3
  16. package/esm2022/lib/services/events.service.mjs +5 -5
  17. package/esm2022/lib/services/firebase/auth/firebase-auth.service.mjs +154 -0
  18. package/esm2022/lib/services/firebase/auth/firebase-profile.model.mjs +7 -0
  19. package/esm2022/lib/services/health.service.mjs +303 -0
  20. package/esm2022/lib/services/highcharts.service.mjs +37 -67
  21. package/esm2022/lib/services/http.service.mjs +14 -14
  22. package/esm2022/lib/services/language.model.mjs +3 -0
  23. package/esm2022/lib/services/language.service.mjs +6 -6
  24. package/esm2022/lib/services/loading.service.mjs +3 -3
  25. package/esm2022/lib/services/logging.service.mjs +4 -4
  26. package/esm2022/lib/services/navigation.service.mjs +108 -9
  27. package/esm2022/lib/services/network.service.mjs +7 -7
  28. package/esm2022/lib/services/notification.service.mjs +10 -96
  29. package/esm2022/lib/services/opentok.service.mjs +10 -7
  30. package/esm2022/lib/services/permission.service.mjs +94 -0
  31. package/esm2022/lib/services/roles.service.mjs +9 -8
  32. package/esm2022/lib/services/shared-care-plan/shared-care-plan.service.mjs +103 -0
  33. package/esm2022/lib/services/storage.service.mjs +3 -3
  34. package/esm2022/lib/services/token.service.mjs +7 -7
  35. package/esm2022/lib/utils/chatParameters.mjs +17 -0
  36. package/esm2022/lib/utils/data-store.mjs +62 -0
  37. package/esm2022/lib/utils/query-string-parameters.mjs +11 -0
  38. package/esm2022/lib/utils/url-builder.mjs +15 -0
  39. package/esm2022/public-api.mjs +8 -9
  40. package/fesm2022/doolehealth-service-lib.mjs +2055 -1228
  41. package/fesm2022/doolehealth-service-lib.mjs.map +1 -1
  42. package/lib/configuration.d.ts +4 -2
  43. package/lib/{util → models/notifications}/notification-options.d.ts +0 -32
  44. package/lib/models/shared-care-plan.d.ts +206 -0
  45. package/lib/models/user.d.ts +2 -0
  46. package/lib/service-lib.component.d.ts +1 -1
  47. package/lib/services/analytics.service.d.ts +6 -3
  48. package/lib/services/api-endpoints.service.d.ts +3 -0
  49. package/lib/services/authentication.service.d.ts +27 -25
  50. package/lib/services/change-endpoints.service.d.ts +1 -0
  51. package/lib/services/date.service.d.ts +15 -8
  52. package/lib/services/doole.service.d.ts +64 -23
  53. package/lib/services/{auth → firebase/auth}/firebase-auth.service.d.ts +1 -1
  54. package/lib/services/{auth → firebase/auth}/firebase-profile.model.d.ts +1 -1
  55. package/lib/services/health.service.d.ts +49 -0
  56. package/lib/services/highcharts.service.d.ts +1 -2
  57. package/lib/services/http.service.d.ts +1 -1
  58. package/lib/services/language.service.d.ts +1 -1
  59. package/lib/services/navigation.service.d.ts +6 -1
  60. package/lib/services/notification.service.d.ts +2 -7
  61. package/lib/services/permission.service.d.ts +33 -0
  62. package/lib/services/roles.service.d.ts +3 -2
  63. package/lib/services/shared-care-plan/shared-care-plan.service.d.ts +20 -0
  64. package/lib/{util → utils}/data-store.d.ts +3 -1
  65. package/package.json +2 -15
  66. package/public-api.d.ts +7 -8
  67. package/esm2022/lib/services/auth/firebase-auth.service.mjs +0 -155
  68. package/esm2022/lib/services/auth/firebase-profile.model.mjs +0 -7
  69. package/esm2022/lib/services/pusher/pusher-alarm.service.mjs +0 -39
  70. package/esm2022/lib/services/pusher/pusher-challenge-notifications.service.mjs +0 -110
  71. package/esm2022/lib/services/pusher/pusher-connection.service.mjs +0 -73
  72. package/esm2022/lib/services/pusher/pusher-message.service.mjs +0 -27
  73. package/esm2022/lib/services/pusher/pusher-notification.service.mjs +0 -116
  74. package/esm2022/lib/util/chatParameters.mjs +0 -17
  75. package/esm2022/lib/util/data-store.mjs +0 -54
  76. package/esm2022/lib/util/environment.mjs +0 -29
  77. package/esm2022/lib/util/language.model.mjs +0 -3
  78. package/esm2022/lib/util/notification-options.mjs +0 -245
  79. package/esm2022/lib/util/query-string-parameters.mjs +0 -11
  80. package/esm2022/lib/util/url-builder.mjs +0 -15
  81. package/lib/services/pusher/pusher-alarm.service.d.ts +0 -16
  82. package/lib/services/pusher/pusher-challenge-notifications.service.d.ts +0 -40
  83. package/lib/services/pusher/pusher-connection.service.d.ts +0 -24
  84. package/lib/services/pusher/pusher-message.service.d.ts +0 -13
  85. package/lib/services/pusher/pusher-notification.service.d.ts +0 -32
  86. package/lib/util/environment.d.ts +0 -18
  87. /package/lib/{util → services}/language.model.d.ts +0 -0
  88. /package/lib/{util → utils}/chatParameters.d.ts +0 -0
  89. /package/lib/{util → utils}/query-string-parameters.d.ts +0 -0
  90. /package/lib/{util → utils}/url-builder.d.ts +0 -0
@@ -2,8 +2,10 @@ import { InjectionToken } from '@angular/core';
2
2
  export interface Configuracion {
3
3
  LIST_ENPOINT: Array<any>;
4
4
  INDEX: number;
5
- API_DOOLE_ENDPOINT: string;
6
- DOOLE_ENDPOINT: string;
5
+ API_PROD_ENDPOINT: string;
6
+ PROD_ENDPOINT: string;
7
+ API_PRE_ENDPOINT: string;
8
+ PRE_ENDPOINT: string;
7
9
  API_ENDPOINT_DEV: string;
8
10
  ENDPOINT_DEV: string;
9
11
  appleAppId: string;
@@ -111,35 +111,3 @@ export declare class NotificationOptions {
111
111
  isOnApp(opt: any, json: any): boolean;
112
112
  isOnMail(opt: any, json: any): boolean;
113
113
  }
114
- export declare enum ContentTypePath {
115
- Advices = "/advices",
116
- AdvicesDetail = "/advices-detail",
117
- Agenda = "/agenda",
118
- AgendaAppointment = "/agenda/list-appointment",
119
- AgendaDetail = "/agenda/detail",
120
- Challenges = "/profile/challenges",
121
- ChallengesDetail = "/home/health-path/detail",
122
- Diets = "/journal",
123
- DietsDetail = "/journal/diets-detail",
124
- Exercises = "/exercices",
125
- ExercisesDetail = "/exercices/exercices-detail",
126
- Forms = "/tracking",
127
- FormDetail = "/tracking/form",
128
- Games = "/journal",// '/games'
129
- GamesDetail = "/journal/games-detail",
130
- Goals = "/profile/goals",
131
- Home = "/home",
132
- MedicalProcedure = "/procedures",
133
- MedicalTest = "/document-detail",
134
- Medication = "/jounal/",
135
- MedicationDetail = "/drugs-detail",// Medication Plan
136
- Message = "/contact/chat/conversation",
137
- Monitoring = "/activity-goal",
138
- News = "/news",
139
- NewsDetail = "/new-detail",
140
- ReminderDetail = "/agenda/reminder/",
141
- Tracking = "/tracking",
142
- InformedConsent = "/informed-consent",
143
- MedicalDirectory = "/medical-directory",
144
- Bookings = "/bookings"
145
- }
@@ -0,0 +1,206 @@
1
+ export declare enum ContentType {
2
+ ADVICE = "App\\Advice",
3
+ AGENDA = "App\\Agenda",
4
+ DIET = "App\\Diet",
5
+ GAMES = "App\\Game",
6
+ MEDICATIONS_PLAN = "App\\MedicationPlan",
7
+ MESSAGE = "App\\Message",
8
+ NEW = "App\\News",
9
+ REMINDER = "App\\Reminder",
10
+ EXERCISE = "App\\Exercise",
11
+ PROCEDURE = "App\\MedicalProcedure",
12
+ DIAGNOSTIC_TEST = "App\\DiagnosticTest",
13
+ LEVEL_ACCOMPLISHMENT = "App\\LevelAccomplishment"
14
+ }
15
+ export declare enum ContentTypePath {
16
+ Advices = "/tracking/advices",
17
+ AdvicesDetail = "/tracking/advices/advices-detail",
18
+ Agenda = "/agenda",
19
+ AgendaDetail = "/agenda/detail",
20
+ Challenges = "/tracking/profile/goals",
21
+ ChallengesDetail = "/home/health-path/detail",
22
+ Diets = "/tracking/journal",
23
+ DietsDetail = "/tracking/journal/diets-detail",
24
+ Exercises = "/tracking/exercices",
25
+ ExercisesDetail = "/tracking/exercices/exercices-detail",
26
+ Forms = "/tracking/form-list",
27
+ FormDetail = "/tracking/form",
28
+ Games = "/tracking/games",
29
+ GamesDetail = "/tracking/games/games-detail",
30
+ Goals = "/tracking/profile/goals",
31
+ Home = "/home",
32
+ LifestyleHabits = "/tracking/lifestyle-habits",
33
+ MedicalProcedure = "/tracking/procedures",
34
+ MedicalTest = "/document-detail",
35
+ Medication = "/tracking/medication/",
36
+ MedicationDetail = "/drugs-detail",// Medication Plan
37
+ Message = "/contact/chat/conversation",
38
+ Monitoring = "/tracking/monitoring",
39
+ News = "/tracking/news",
40
+ NewsDetail = "/tracking/news/new-detail",
41
+ ReminderDetail = "/agenda/reminder",
42
+ Testimonials = "/tracking/testimonials",
43
+ Tracking = "/tracking",
44
+ InformedConsent = "/tracking/informed-consent"
45
+ }
46
+ export declare enum ContentTypeIcons {
47
+ Goals = "assets/images/shared-care-plan/goals.png",
48
+ LifestyleHabits = "assets/images/shared-care-plan/lifestyle.png",
49
+ Forms = "assets/images/shared-care-plan/forms.png",
50
+ Medication = "assets/images/shared-care-plan/medication.png",
51
+ MedicalProcedure = "assets/images/shared-care-plan/medicalProcedure.png",
52
+ Monitoring = "assets/images/shared-care-plan/healthcharts.png",
53
+ InformedConsent = "assets/images/shared-care-plan/news.png",
54
+ News = "assets/images/shared-care-plan/news.png",
55
+ Advices = "assets/images/shared-care-plan/advices.png",
56
+ Exercises = "assets/images/shared-care-plan/exercises.png",
57
+ Diets = "assets/images/shared-care-plan/diets.png",
58
+ Testimonials = "assets/images/shared-care-plan/testimonials.png",
59
+ Games = "assets/images/shared-care-plan/games.png",
60
+ buttonMeditalTest = "assets/images/shared-care-plan/flask.svg",
61
+ buttomTodayDrug = "assets/images/shared-care-plan/drug.svg",
62
+ buttomHealthCharts = "assets/images/shared-care-plan/medical.svg"
63
+ }
64
+ export declare enum ContentTypeTranslatedName {
65
+ Goals = "goals.goals",
66
+ LifestyleHabits = "lifestyle.header",
67
+ Medication = "setting.subtitle_medication",
68
+ Forms = "setting.subtitle_form",
69
+ Monitoring = "shared_care_plan.monitoring",
70
+ MedicalProcedure = "shared_care_plan.medical_procedure",
71
+ InformedConsent = "shared_care_plan.informed_consent",
72
+ News = "setting.subtitle_news",
73
+ Advices = "setting.subtitle_advices",
74
+ Exercises = "exercices.header",
75
+ Diets = "setting.subtitle_diets",
76
+ Testimonials = "setting.testimonials",
77
+ Games = "setting.subtitle_games",
78
+ addButtonMeditaltest = "shared_care_plan.addButton.MedicalTest",
79
+ addButtonTodayDrug = "shared_care_plan.addButton.Medication",
80
+ addButtonHealthCharts = "shared_care_plan.addButton.HealthCharts"
81
+ }
82
+ export interface ContentComponent {
83
+ img?: string;
84
+ icon?: string;
85
+ title: string;
86
+ description?: string;
87
+ type: string;
88
+ state?: string | boolean;
89
+ routerlink?: string | any;
90
+ }
91
+ export interface SharedCarePlan extends ContentComponent {
92
+ boolean_state?: boolean;
93
+ }
94
+ export interface SCPContentType {
95
+ [x: string]: any;
96
+ [id: number]: SharedCarePlan;
97
+ }
98
+ export declare const ListContentType: SCPContentType;
99
+ export declare function setStatusContentType(status: any, content: SharedCarePlan): void;
100
+ /**
101
+ * Goals of Shared care Plan
102
+ */
103
+ export declare enum GoalStateName {
104
+ APPROVED = "shared_care_plan.goal_state.approved",
105
+ REJECTED = "shared_care_plan.goal_state.rejected",
106
+ PENDING = "shared_care_plan.goal_state.pending"
107
+ }
108
+ export declare enum GoalStateColor {
109
+ APPROVED = "#2ECC71",
110
+ REJECTED = "#E81111",
111
+ PENDING = "#FF8412"
112
+ }
113
+ export declare enum GoalStateIcons {
114
+ APPROVED = "assets/icons/shared-care-plan/approved-icon.svg",
115
+ REJECTED = "assets/icons/shared-care-plan/rejected-icon.svg",
116
+ PENDING = "assets/icons/shared-care-plan/pending-icon.svg"
117
+ }
118
+ export declare enum GoalStateType {
119
+ APPROVED = "approved",
120
+ REJECTED = "rejected",
121
+ PENDING = "pending",
122
+ DECLINED = "declined",
123
+ ACCEPTED = "accepted"
124
+ }
125
+ export declare class GoalState {
126
+ icon: string;
127
+ color: string;
128
+ name: string;
129
+ state?: string;
130
+ constructor(state: any);
131
+ setGoalState(state: any): void;
132
+ }
133
+ export interface SharedCarePlanGoal extends SharedCarePlan {
134
+ id?: string | number;
135
+ date: string;
136
+ percentage: string | number;
137
+ is_new_content: boolean;
138
+ }
139
+ /**
140
+ * LifeStyle of Shared care Plan
141
+ */
142
+ export declare const ListSCPLifeStyle: SharedCarePlanLifeStyle[];
143
+ export interface SharedCarePlanLifeStyle {
144
+ img?: string;
145
+ textHeader?: string;
146
+ title: string;
147
+ description?: string;
148
+ type: string;
149
+ id?: string | number;
150
+ routerlink?: string | any;
151
+ state?: string;
152
+ accepted?: boolean;
153
+ traduction?: string;
154
+ frequency?: string;
155
+ isAnswers?: string;
156
+ hasFormAnswered?: string;
157
+ score?: string;
158
+ subtitle?: string;
159
+ }
160
+ export interface medication extends SharedCarePlanLifeStyle {
161
+ from?: string;
162
+ to?: string;
163
+ accepted?: boolean;
164
+ model_id?: string;
165
+ model?: string;
166
+ form_id?: string;
167
+ showAlert?: boolean;
168
+ lastdata?: string;
169
+ date?: string;
170
+ canViewFormAnswered?: string;
171
+ }
172
+ export declare enum ACCESS_TYPE {
173
+ IFRAME = "iframe",
174
+ APP = "app",
175
+ WINDOW = "windows-app"
176
+ }
177
+ export interface SharedCarePlanPrescribedApps {
178
+ id?: number;
179
+ icon: string;
180
+ title: string;
181
+ description: string;
182
+ instructions?: string;
183
+ iframe_url: string;
184
+ id_pkg?: string;
185
+ access_type?: string;
186
+ configurations?: any;
187
+ }
188
+ /**
189
+ * Medical Procedure of Shared care Plan
190
+ */
191
+ export interface SharedCarePlanProcedure extends SharedCarePlan {
192
+ id?: string | number;
193
+ date: string;
194
+ staff?: string | any;
195
+ department?: string;
196
+ img?: string;
197
+ description?: string;
198
+ }
199
+ /**Medical test of Shared care Plan */
200
+ export interface AddButtonComponent {
201
+ id?: string | number;
202
+ title: string;
203
+ icon?: string;
204
+ type?: string;
205
+ }
206
+ export declare const AddButtonList: AddButtonComponent[];
@@ -44,6 +44,7 @@ export interface Game {
44
44
  type?: string;
45
45
  url?: string;
46
46
  image?: string;
47
+ scheduled_date?: string;
47
48
  }
48
49
  export interface Drug {
49
50
  id?: number;
@@ -96,6 +97,7 @@ export interface FamilyUnit {
96
97
  age?: string;
97
98
  thumbnail?: string;
98
99
  family_relationship?: string;
100
+ birthdate?: string;
99
101
  }
100
102
  export interface Mentoring {
101
103
  age?: string;
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class ServiceLibComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceLibComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<ServiceLibComponent, "dev-service-lib", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ServiceLibComponent, "lib-service-lib", never, {}, {}, never, never, false, never>;
5
5
  }
@@ -1,16 +1,19 @@
1
- import { Platform } from '@ionic/angular';
2
1
  import { Environment } from '../configuration';
2
+ import { Router } from '@angular/router';
3
+ import "@capacitor-community/firebase-analytics";
4
+ import { Platform } from '@ionic/angular';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class AnalyticsService {
5
7
  private environment;
6
8
  platform: Platform;
9
+ private router;
7
10
  analyticsEnabled: boolean;
8
- constructor(environment: Environment, platform: Platform);
11
+ constructor(environment: Environment, platform: Platform, router: Router);
9
12
  initFb(): Promise<void>;
10
13
  setUserId(userId: any): () => Promise<void>;
11
14
  setProperty(property: any, value: any): () => Promise<void>;
12
15
  logEvent(name: string, params: Object): () => Promise<void>;
13
- setScreenName(screenName: any, nameOverride?: any): Promise<void>;
16
+ setScreenName(screenName: any, nameOverride?: any): void;
14
17
  toggleAnalytics(): Promise<() => Promise<void>>;
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<AnalyticsService, never>;
16
19
  static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsService>;
@@ -6,8 +6,11 @@ export declare class ApiEndpointsService {
6
6
  private createUrl;
7
7
  private createUrlWithQueryParameters;
8
8
  getEndpoint: (action: any) => string;
9
+ getDooleEndpoint: (action: any) => string;
9
10
  getEndpointWithParameters: (action: any, parameters: any) => string;
10
11
  private createUrlWithPathVariables;
12
+ setIndexEndPointLocalstorage(endpoint: any): void;
13
+ getIndexEndPointLocalstorage(): number;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiEndpointsService, never>;
12
15
  static ɵprov: i0.ɵɵInjectableDeclaration<ApiEndpointsService>;
13
16
  }
@@ -10,16 +10,17 @@ import { TokenService } from './token.service';
10
10
  import { ChangeEndpointsService } from './change-endpoints.service';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class User {
13
- condicion_legal?: boolean;
13
+ condicion_legal: boolean;
14
14
  image: any;
15
- idPatient?: string;
15
+ idPatient: string;
16
16
  idUser: string;
17
17
  first_name: string;
18
18
  secret: string;
19
19
  roles: any;
20
- familyUnit?: string;
20
+ familyUnit: string;
21
21
  name: string;
22
22
  listFamilyUnit: FamilyUnit[];
23
+ selectedCaregiverResponsible: any;
23
24
  constructor(idUser: string, secret: string, name: string, first_name: string, image: string);
24
25
  }
25
26
  export declare class AuthenticationService {
@@ -34,25 +35,25 @@ export declare class AuthenticationService {
34
35
  private injector;
35
36
  private endpoints;
36
37
  isAuthenticated: BehaviorSubject<boolean>;
37
- user?: User;
38
+ user: User;
38
39
  isRecovery: boolean;
39
- action?: string;
40
- id_user?: string;
41
- data?: Array<any>;
42
- email?: string;
40
+ action: string;
41
+ id_user: string;
42
+ emergencyNumber: string;
43
+ data: Array<any>;
44
+ email: string;
43
45
  agendaUser: any[];
44
- tiene_email?: boolean;
45
- deviceToken?: string;
46
- devicePlatform?: string;
47
- voipDeviceToken?: string;
48
- voipDevicePlatform?: string;
49
- dietsAndAdvices?: [];
50
- isFamily?: boolean;
51
- version_app?: string;
52
- private indexEndPoint?;
46
+ tiene_email: boolean;
47
+ deviceToken: string;
48
+ devicePlatform: string;
49
+ voipDeviceToken: string;
50
+ voipDevicePlatform: string;
51
+ dietsAndAdvices: [];
52
+ isFamily: boolean;
53
+ private indexEndPoint;
53
54
  private tokens;
54
55
  showingSignInAlert: boolean;
55
- outlet?: RouterOutlet;
56
+ outlet: RouterOutlet;
56
57
  constructor(platformId: object, http: HttpClient, tokenService: TokenService, api: ApiEndpointsService, platform: Platform, firebaseAuth: AngularFireAuth, router: Router, alertController: AlertController, injector: Injector, endpoints: ChangeEndpointsService);
57
58
  getIndexEndPoint(): void;
58
59
  getAuthToken(): any;
@@ -64,6 +65,7 @@ export declare class AuthenticationService {
64
65
  }): Observable<any>;
65
66
  setUser(): void;
66
67
  setUserLocalstorage(user: any): void;
68
+ setEmergencyNumberLocalStorage(number: any): void;
67
69
  setFamilyUnitLocalstorage(familyUnit: []): void;
68
70
  getFamilyUnitLocalstorage(id: any): Promise<User>;
69
71
  setFamilyUnit(user: any): Promise<void>;
@@ -71,11 +73,11 @@ export declare class AuthenticationService {
71
73
  setUserFamilyId(id: any): Promise<void>;
72
74
  getShowIntroLocalstorage(): Promise<any>;
73
75
  setShowIntroLocalstorage(): Promise<void>;
76
+ setCanceledHealthConnectLocalstorage(mostrar: string): void;
77
+ setShowHealthConnectLocalstorage(): Promise<void>;
74
78
  setTwoFactor(tfCenter: any): void;
75
- getTwoFactor(): boolean;
76
79
  logout1(): Promise<void>;
77
80
  logout(allDevices?: any): Observable<any>;
78
- getAllTokenDevices(): void;
79
81
  increaseNumloginFailed(): void;
80
82
  increaseNumFPAIOFailed(): void;
81
83
  getNumloginFailed(): number;
@@ -87,17 +89,17 @@ export declare class AuthenticationService {
87
89
  post(endpt: any, items: any): Observable<any>;
88
90
  throwError(error: any): void;
89
91
  registerDevice(token: any, platform: any): import("rxjs").Subscription;
90
- saveAllTokenDevices(token: any): void;
91
92
  showIntro(): Promise<boolean>;
93
+ getShowHealthConnectLocalstorage(): Promise<any>;
92
94
  postAPIbiometric(params: Object): Observable<any>;
93
95
  putAPIbiometric(id: any, params: Object): Observable<any>;
94
96
  deleteAPIbiometric(id: Object): Observable<any>;
95
97
  redirectLogin(): void;
96
98
  redirectUnauthenticated(): Promise<void>;
97
- getShowHealthConnectLocalstorage(): Promise<any>;
98
- setShowHealthConnectLocalstorage(): Promise<void>;
99
- setCanceledHealthConnectLocalstorage(mostrar: string): void;
100
- getCanceledHealthConnectLocalstorage(): boolean;
99
+ getShowGoogleFitLocalstorage(): Promise<any>;
100
+ setShowGoogleFitLocalstorage(): Promise<void>;
101
+ setCanceledGoogleFitLocalstorage(mostrar: string): void;
102
+ getCanceledGoogleFitLocalstorage(): boolean;
101
103
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationService, never>;
102
104
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationService>;
103
105
  }
@@ -30,6 +30,7 @@ export declare class ChangeEndpointsService {
30
30
  addEndPoint(): Promise<void>;
31
31
  setEndPoint(index: any): void;
32
32
  setIndexEndPointLocalstorage(endpoint: any): void;
33
+ getApiEndpointRegex(currentEnv: any): RegExp | null;
33
34
  getIndexEndPointLocalstorage(): number;
34
35
  getEndpointIndexObservable(): import("rxjs").Observable<number>;
35
36
  setDefaultEndPoint(): void;
@@ -12,39 +12,47 @@ export declare class DateService {
12
12
  getDateFormat3(): string;
13
13
  getLongFormat(): string;
14
14
  getMonthViewDayHeader(date: Date): string;
15
- formatSelectedDate(date: any): any;
15
+ formatSelectedDate(date: any): string;
16
16
  getformatSelectedDate(): string;
17
- getLocale(): string;
17
+ getFormatSelectedDate2(): string;
18
+ getLocale(): "pt" | "ca-ES" | "en-US" | "es-ES" | "sv-SE" | "no-NO";
18
19
  getStartingDayWeek(): string;
19
- getStartingDayMonth(): number;
20
+ getStartingDayMonth(): string;
20
21
  'dd/MM/y': any;
21
22
  ddMMy(): string;
22
23
  getShortDateFormat(): string;
23
24
  ddMMyyyyFormat(date: any): string;
25
+ ddMMyyyyFormatES(date: any): string;
24
26
  ddMMyFormat(date: any): string;
27
+ ddMMyEuroFormat(date: any): string;
25
28
  ddMMMyyyformat(date: any): string;
26
29
  MMMMyyyyFormat(date: any): string;
27
30
  getDayMonthYearFormat(date: any): string;
28
31
  selectedDateFormat(date: string): string;
32
+ selectedDateFormat2(date: string): string;
29
33
  ddMMyyyyHHmm(date: any): string;
30
- formatDateLongFormat(date?: any): any;
31
- yyyyMMddHHmm(date?: any): any;
34
+ formatDateLongFormat(date?: any): string;
35
+ yyyyMMddHHmm(date?: any): string;
32
36
  yyyyMMddHHmmFormat(): string;
37
+ yyyyMMddTHHmmssSSSZFormat(date?: any): string;
33
38
  getLongDateFormat(): string;
34
39
  getDatetimeControlFormat(): string;
35
40
  getDayMonthFormat(): string;
36
41
  getDayDotMonthFormat(): string;
37
42
  getSelectedWeek(date: string): string;
38
43
  getSelectedWeekFullDay(date: string): string;
39
- formatDate(date?: any): any;
44
+ formatDate(date?: any): string;
45
+ getFormatTime(date: any): string;
46
+ getDateMonDay(date: any): string;
47
+ transformDateyyyyMMdd(date: any): string;
40
48
  ddMMyyyy(date: any): string;
41
49
  highchartsDatesFornmat(): {};
42
50
  yyyyMMddFormat(date: any): string;
43
- yyyyMMddTHHmmssSSSZFormat(date?: any): string;
44
51
  convert12to24format(time: any): string;
45
52
  format24h(time: any): any;
46
53
  isAmericanFormat(): boolean;
47
54
  getTimeFormat(): string;
55
+ getTimeFormat2(): string;
48
56
  isToday(mDate: Date): boolean;
49
57
  transformDate(date: any, format: any): string;
50
58
  getCalendarDay(epoch: number): string;
@@ -52,7 +60,6 @@ export declare class DateService {
52
60
  getCalendarDayTime(epoch: number): string;
53
61
  formatEpoch(epoch: any): string;
54
62
  getToday(): string;
55
- getTomorrow(): string;
56
63
  getCurrentTime(): string;
57
64
  static ɵfac: i0.ɵɵFactoryDeclaration<DateService, never>;
58
65
  static ɵprov: i0.ɵɵInjectableDeclaration<DateService>;