@posiwise/common-services 0.1.40 → 0.1.41
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/esm2022/lib/ab-test.service.mjs +1 -1
- package/esm2022/lib/ahoy.service.mjs +1 -1
- package/esm2022/lib/auth.service.mjs +1 -1
- package/esm2022/lib/base-http.service.mjs +2 -2
- package/esm2022/lib/common-services.interface.mjs +1 -1
- package/esm2022/lib/common.service.mjs +1 -1
- package/esm2022/lib/custom-preloading.service.mjs +1 -1
- package/esm2022/lib/dashboard.service.mjs +1 -1
- package/esm2022/lib/data.service.mjs +1 -1
- package/esm2022/lib/date-formatter.service.mjs +9 -4
- package/esm2022/lib/effects/user.effects.mjs +1 -1
- package/esm2022/lib/geo.service.mjs +1 -1
- package/esm2022/lib/google-analytics.service.mjs +13 -9
- package/esm2022/lib/group.service.mjs +1 -1
- package/esm2022/lib/hopscotch.service.mjs +1 -1
- package/esm2022/lib/link-loader.service.mjs +1 -1
- package/esm2022/lib/mailbox.service.mjs +1 -1
- package/esm2022/lib/notification.service.mjs +1 -1
- package/esm2022/lib/permission.service.mjs +4 -4
- package/esm2022/lib/product.service.mjs +1 -1
- package/esm2022/lib/profile.service.mjs +1 -1
- package/esm2022/lib/qualification.service.mjs +1 -1
- package/esm2022/lib/script-loader.service.mjs +5 -4
- package/esm2022/lib/sentry.service.mjs +127 -108
- package/esm2022/lib/socket.service.mjs +1 -1
- package/esm2022/lib/subscription.service.mjs +4 -4
- package/esm2022/lib/tag.service.mjs +1 -1
- package/esm2022/lib/tips.service.mjs +1 -1
- package/esm2022/lib/toast.service.mjs +1 -1
- package/esm2022/lib/user.service.mjs +1 -1
- package/esm2022/lib/validation.service.mjs +2 -2
- package/fesm2022/posiwise-common-services.mjs +158 -129
- package/fesm2022/posiwise-common-services.mjs.map +1 -1
- package/lib/ab-test.service.d.ts +1 -1
- package/lib/ahoy.service.d.ts +3 -3
- package/lib/auth.service.d.ts +10 -10
- package/lib/base-http.service.d.ts +1 -1
- package/lib/common-services.interface.d.ts +2 -3
- package/lib/common.service.d.ts +1 -1
- package/lib/custom-preloading.service.d.ts +1 -1
- package/lib/dashboard.service.d.ts +1 -1
- package/lib/data.service.d.ts +1 -1
- package/lib/effects/user.effects.d.ts +2 -2
- package/lib/geo.service.d.ts +3 -3
- package/lib/google-analytics.service.d.ts +4 -3
- package/lib/group.service.d.ts +5 -5
- package/lib/hopscotch.service.d.ts +3 -3
- package/lib/link-loader.service.d.ts +2 -2
- package/lib/mailbox.service.d.ts +3 -3
- package/lib/notification.service.d.ts +4 -4
- package/lib/permission.service.d.ts +1 -1
- package/lib/product.service.d.ts +2 -2
- package/lib/profile.service.d.ts +4 -4
- package/lib/qualification.service.d.ts +2 -2
- package/lib/script-loader.service.d.ts +1 -1
- package/lib/sentry.service.d.ts +9 -1
- package/lib/socket.service.d.ts +2 -2
- package/lib/subscription.service.d.ts +1 -1
- package/lib/tag.service.d.ts +1 -1
- package/lib/tips.service.d.ts +1 -1
- package/lib/toast.service.d.ts +1 -1
- package/lib/user.service.d.ts +4 -4
- package/lib/validation.service.d.ts +1 -1
- package/package.json +1 -1
package/lib/ab-test.service.d.ts
CHANGED
package/lib/ahoy.service.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { Paging } from '@posiwise/common-utilities';
|
|
|
5
5
|
import { AhoyEventResponse, AhoyMessageResponse, AhoyVersionResponse, AhoyVisitResponse, RequestParams, TrackEventResponse } from './common-services.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AhoyService {
|
|
8
|
-
private http;
|
|
8
|
+
private readonly http;
|
|
9
9
|
injector: Injector;
|
|
10
|
-
private ahoy;
|
|
11
|
-
private toast;
|
|
10
|
+
private readonly ahoy;
|
|
11
|
+
private readonly toast;
|
|
12
12
|
constructor(http: HttpClient, injector: Injector);
|
|
13
13
|
getAhoyEvents(params: RequestParams, service: any, paging: Paging): Observable<AhoyEventResponse>;
|
|
14
14
|
getAhoyMessages(params: RequestParams, service: any, paging: Paging): Observable<AhoyMessageResponse>;
|
package/lib/auth.service.d.ts
CHANGED
|
@@ -9,17 +9,17 @@ import { IntegrationsApiHttpService } from './integrations-api-http.service';
|
|
|
9
9
|
import { SignUpValues } from './common-services.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class AuthService {
|
|
12
|
-
private localStorage;
|
|
13
|
-
private router;
|
|
14
|
-
private http;
|
|
15
|
-
private userService;
|
|
16
|
-
private toastr;
|
|
17
|
-
private appConfigService;
|
|
18
|
-
private integrationsApi;
|
|
19
|
-
private document;
|
|
20
|
-
private platformSubject;
|
|
12
|
+
private readonly localStorage;
|
|
13
|
+
private readonly router;
|
|
14
|
+
private readonly http;
|
|
15
|
+
private readonly userService;
|
|
16
|
+
private readonly toastr;
|
|
17
|
+
private readonly appConfigService;
|
|
18
|
+
private readonly integrationsApi;
|
|
19
|
+
private readonly document;
|
|
20
|
+
private readonly platformSubject;
|
|
21
21
|
platform$: import("rxjs").Observable<string>;
|
|
22
|
-
private twitterEndpoint;
|
|
22
|
+
private readonly twitterEndpoint;
|
|
23
23
|
auth_token: string;
|
|
24
24
|
header_key: string;
|
|
25
25
|
platform: string;
|
|
@@ -6,7 +6,7 @@ export declare abstract class BaseHttpService {
|
|
|
6
6
|
http: HttpClient;
|
|
7
7
|
injector: Injector;
|
|
8
8
|
protected baseUrl: string;
|
|
9
|
-
private toast;
|
|
9
|
+
private readonly toast;
|
|
10
10
|
abstract getConfig(): void;
|
|
11
11
|
constructor(http: HttpClient, injector: Injector);
|
|
12
12
|
get<T>(url: any): Observable<any>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Paging } from '@posiwise/common-utilities';
|
|
2
|
-
import { User } from '@posiwise/common-utilities';
|
|
1
|
+
import { Paging, User } from '@posiwise/common-utilities';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
|
-
export interface
|
|
3
|
+
export interface ProfileData {
|
|
5
4
|
id?: number;
|
|
6
5
|
send_marketing_emails?: string[];
|
|
7
6
|
avatar?: string;
|
package/lib/common.service.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { MainApiHttpService } from './main-api-http.service';
|
|
|
3
3
|
import { GetFaqParams } from './common-services.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CommonService {
|
|
6
|
-
private api;
|
|
6
|
+
private readonly api;
|
|
7
7
|
constructor(api: MainApiHttpService);
|
|
8
8
|
addContactUsMessage(data: any): import("rxjs").Observable<any>;
|
|
9
9
|
getIncidents(paging?: Paging): import("rxjs").Observable<any>;
|
|
@@ -3,7 +3,7 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { PermissionService } from './permission.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CustomPreloadingStrategy implements PreloadingStrategy {
|
|
6
|
-
private permission;
|
|
6
|
+
private readonly permission;
|
|
7
7
|
constructor(permission: PermissionService);
|
|
8
8
|
preload(route: Route, load: () => Observable<string>): Observable<string>;
|
|
9
9
|
private checkModulePermission;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MainApiHttpService } from './main-api-http.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class DashboardService {
|
|
4
|
-
private api;
|
|
4
|
+
private readonly api;
|
|
5
5
|
constructor(api: MainApiHttpService);
|
|
6
6
|
search(keyword: string, subscriptionId: number): import("rxjs").Observable<any>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, never>;
|
package/lib/data.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class DataService {
|
|
3
|
-
private messageSource;
|
|
3
|
+
private readonly messageSource;
|
|
4
4
|
currentMessage: import("rxjs").Observable<number>;
|
|
5
5
|
changeMessage(message: number): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
@@ -3,8 +3,8 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { UserService } from '../user.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class UserEffects {
|
|
6
|
-
private userService;
|
|
7
|
-
private actions$;
|
|
6
|
+
private readonly userService;
|
|
7
|
+
private readonly actions$;
|
|
8
8
|
constructor(userService: UserService);
|
|
9
9
|
loadUser$: Observable<Action>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserEffects, never>;
|
package/lib/geo.service.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { CookieService } from 'ngx-cookie';
|
|
|
2
2
|
import { MainApiHttpService } from './main-api-http.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GeoService {
|
|
5
|
-
private api;
|
|
6
|
-
private cookieService;
|
|
7
|
-
private url;
|
|
5
|
+
private readonly api;
|
|
6
|
+
private readonly cookieService;
|
|
7
|
+
private readonly url;
|
|
8
8
|
constructor(api: MainApiHttpService, cookieService: CookieService);
|
|
9
9
|
getCountries(): import("rxjs").Observable<any>;
|
|
10
10
|
getRegions(countryId: any): import("rxjs").Observable<any>;
|
|
@@ -3,14 +3,15 @@ import { AppConfigService } from '@posiwise/app-config-service';
|
|
|
3
3
|
import { ScriptLoaderService } from './script-loader.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class GoogleAnalyticsService {
|
|
6
|
-
private router;
|
|
7
|
-
private scriptLoader;
|
|
8
|
-
private appConfigService;
|
|
6
|
+
private readonly router;
|
|
7
|
+
private readonly scriptLoader;
|
|
8
|
+
private readonly appConfigService;
|
|
9
9
|
private static trackingId;
|
|
10
10
|
private subscription;
|
|
11
11
|
constructor(router: Router, scriptLoader: ScriptLoaderService, appConfigService: AppConfigService);
|
|
12
12
|
private isGaAvailable;
|
|
13
13
|
loadGScript(): Promise<void>;
|
|
14
|
+
pushArgumentsGA(): void;
|
|
14
15
|
subscribe(): void;
|
|
15
16
|
/**
|
|
16
17
|
* Emit google analytics event
|
package/lib/group.service.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { Paging } from '@posiwise/common-utilities';
|
|
|
2
2
|
import { MainApiHttpService } from './main-api-http.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GroupService {
|
|
5
|
-
private api;
|
|
5
|
+
private readonly api;
|
|
6
6
|
ADMIN_PATH: string;
|
|
7
|
-
private subscription_endpoint;
|
|
8
|
-
private group_communications_endpoint;
|
|
9
|
-
private group_definitions_endpoint;
|
|
10
|
-
private groups_endpoint;
|
|
7
|
+
private readonly subscription_endpoint;
|
|
8
|
+
private readonly group_communications_endpoint;
|
|
9
|
+
private readonly group_definitions_endpoint;
|
|
10
|
+
private readonly groups_endpoint;
|
|
11
11
|
constructor(api: MainApiHttpService);
|
|
12
12
|
getById(id: any): import("rxjs").Observable<any>;
|
|
13
13
|
updateAgent(id: number, agent_id: number, data: any): import("rxjs").Observable<any>;
|
|
@@ -13,9 +13,9 @@ interface TourStep {
|
|
|
13
13
|
showPrevButton?: boolean;
|
|
14
14
|
}
|
|
15
15
|
export declare class HopscotchService {
|
|
16
|
-
private scriptLoader;
|
|
17
|
-
private tipService;
|
|
18
|
-
private tour;
|
|
16
|
+
private readonly scriptLoader;
|
|
17
|
+
private readonly tipService;
|
|
18
|
+
private readonly tour;
|
|
19
19
|
constructor(scriptLoader: ScriptLoaderService, tipService: TipsService);
|
|
20
20
|
initializeTour(tourId: string, steps: TourStep[], tip_data: any, subscription_id?: number): void;
|
|
21
21
|
endTour(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RendererFactory2 } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LinkService {
|
|
4
|
-
private rendererFactory;
|
|
5
|
-
private document;
|
|
4
|
+
private readonly rendererFactory;
|
|
5
|
+
private readonly document;
|
|
6
6
|
constructor(rendererFactory: RendererFactory2, document: any);
|
|
7
7
|
/**
|
|
8
8
|
* Inject the State into the bottom of the <head>
|
package/lib/mailbox.service.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MainApiHttpService } from './main-api-http.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MailBoxService {
|
|
4
|
-
private http;
|
|
5
|
-
private endpoint;
|
|
6
|
-
private checkUnreadCountSubject;
|
|
4
|
+
private readonly http;
|
|
5
|
+
private readonly endpoint;
|
|
6
|
+
private readonly checkUnreadCountSubject;
|
|
7
7
|
totalUnreadCount$: import("rxjs").Observable<number>;
|
|
8
8
|
constructor(http: MainApiHttpService);
|
|
9
9
|
getMessages(conversation_id: any, page_number?: number, page_size?: number): import("rxjs").Observable<any>;
|
|
@@ -3,12 +3,12 @@ import { WebsocketService } from './socket.service';
|
|
|
3
3
|
import { CustomToastService } from './toast.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NotificationService {
|
|
6
|
-
private api;
|
|
7
|
-
private toastrService;
|
|
8
|
-
private socketService;
|
|
6
|
+
private readonly api;
|
|
7
|
+
private readonly toastrService;
|
|
8
|
+
private readonly socketService;
|
|
9
9
|
endpoint: string;
|
|
10
10
|
constructor(api: MainApiHttpService, toastrService: CustomToastService, socketService: WebsocketService);
|
|
11
|
-
private notificationSubject$;
|
|
11
|
+
private readonly notificationSubject$;
|
|
12
12
|
getNotifications(): import("rxjs").Observable<any>;
|
|
13
13
|
getDismissedNotifications(): import("rxjs").Observable<any>;
|
|
14
14
|
showNotifications(data: any): void;
|
|
@@ -2,7 +2,7 @@ import { User } from '@posiwise/common-utilities';
|
|
|
2
2
|
import { MainApiHttpService } from './main-api-http.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PermissionService {
|
|
5
|
-
private api;
|
|
5
|
+
private readonly api;
|
|
6
6
|
static selectedProduct: any;
|
|
7
7
|
static selectedSubscription: any;
|
|
8
8
|
user: User;
|
package/lib/product.service.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { Paging } from '@posiwise/common-utilities';
|
|
|
2
2
|
import { MainApiHttpService } from './main-api-http.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ProductService {
|
|
5
|
-
private api;
|
|
6
|
-
private endpoint;
|
|
5
|
+
private readonly api;
|
|
6
|
+
private readonly endpoint;
|
|
7
7
|
constructor(api: MainApiHttpService);
|
|
8
8
|
deleteProduct(id: number, subscription_id: number): import("rxjs").Observable<any>;
|
|
9
9
|
updateProduct(data: any, id: number): import("rxjs").Observable<any>;
|
package/lib/profile.service.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MainApiHttpService } from './main-api-http.service';
|
|
2
|
-
import { AddProjectPicturesData,
|
|
2
|
+
import { AddProjectPicturesData, ProfileData } from './common-services.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ProfileService {
|
|
5
|
-
private api;
|
|
6
|
-
private endpoint;
|
|
5
|
+
private readonly api;
|
|
6
|
+
private readonly endpoint;
|
|
7
7
|
constructor(api: MainApiHttpService);
|
|
8
|
-
updateUserProfile(user:
|
|
8
|
+
updateUserProfile(user: ProfileData): import("rxjs").Observable<any>;
|
|
9
9
|
getUserProfile(slug: string): import("rxjs").Observable<any>;
|
|
10
10
|
getUserObject(objectType: string, slug: string): import("rxjs").Observable<any>;
|
|
11
11
|
getProjects(slug: string): import("rxjs").Observable<any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MainApiHttpService } from './main-api-http.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class QualificationService {
|
|
4
|
-
private api;
|
|
5
|
-
private endPoint;
|
|
4
|
+
private readonly api;
|
|
5
|
+
private readonly endPoint;
|
|
6
6
|
constructor(api: MainApiHttpService);
|
|
7
7
|
addQualifications(data: any): import("rxjs").Observable<any>;
|
|
8
8
|
updateQualifications(id: number, data: any): import("rxjs").Observable<any>;
|
package/lib/sentry.service.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { User } from '@posiwise/common-utilities';
|
|
|
4
4
|
import { AppConfigService } from '@posiwise/app-config-service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SentryErrorHandler implements ErrorHandler {
|
|
7
|
-
private appConfigService;
|
|
7
|
+
private readonly appConfigService;
|
|
8
8
|
private static user;
|
|
9
9
|
private static sentryInitialized;
|
|
10
10
|
constructor(appConfigService: AppConfigService);
|
|
@@ -13,7 +13,15 @@ export declare class SentryErrorHandler implements ErrorHandler {
|
|
|
13
13
|
initializeUser(user: Partial<User>): void;
|
|
14
14
|
private handlePromiseRejection;
|
|
15
15
|
handleError(incomingError: HttpErrorResponse | Error): void;
|
|
16
|
+
handleExceptionError(incomingError: any): void;
|
|
17
|
+
extractOriginalError(error: any, incomingError: any): void;
|
|
18
|
+
handleNonHttpErrorResponse(error: any): void;
|
|
19
|
+
errorMessageFormatter(error: any): void;
|
|
20
|
+
sentryIntilization(error: any, incomingError: any): void;
|
|
16
21
|
private logToSentry;
|
|
22
|
+
private scopeWithSentry;
|
|
23
|
+
private handleNonStandardError;
|
|
24
|
+
private handleUnlabeledEvent;
|
|
17
25
|
private logToConsole;
|
|
18
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SentryErrorHandler, never>;
|
|
19
27
|
static ɵprov: i0.ɵɵInjectableDeclaration<SentryErrorHandler>;
|
package/lib/socket.service.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { AppConfigService } from '@posiwise/app-config-service';
|
|
|
3
3
|
import { AuthService } from './auth.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class WebsocketService {
|
|
6
|
-
private appConfigService;
|
|
7
|
-
private authService;
|
|
6
|
+
private readonly appConfigService;
|
|
7
|
+
private readonly authService;
|
|
8
8
|
private webSocketSubject;
|
|
9
9
|
webSocket$: Observable<any>;
|
|
10
10
|
constructor(appConfigService: AppConfigService, authService: AuthService);
|
|
@@ -2,7 +2,7 @@ import { Paging, Subscription } from '@posiwise/common-utilities';
|
|
|
2
2
|
import { MainApiHttpService } from './main-api-http.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SubscriptionService {
|
|
5
|
-
private api;
|
|
5
|
+
private readonly api;
|
|
6
6
|
endpoint: string;
|
|
7
7
|
constructor(api: MainApiHttpService);
|
|
8
8
|
getById(id: number): import("rxjs").Observable<any>;
|
package/lib/tag.service.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Paging } from '@posiwise/common-utilities';
|
|
|
2
2
|
import { MainApiHttpService } from './main-api-http.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TagService {
|
|
5
|
-
private api;
|
|
5
|
+
private readonly api;
|
|
6
6
|
ADMIN_TAG_PATH: string;
|
|
7
7
|
ADMIN_TAG_CATEGORIES_PATH: string;
|
|
8
8
|
ADMIN_PATH: string;
|
package/lib/tips.service.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Paging } from '@posiwise/common-utilities';
|
|
|
2
2
|
import { MainApiHttpService } from './main-api-http.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TipsService {
|
|
5
|
-
private api;
|
|
5
|
+
private readonly api;
|
|
6
6
|
endpoint: string;
|
|
7
7
|
constructor(api: MainApiHttpService);
|
|
8
8
|
getAll(subscription_id: number, paging?: Paging): import("rxjs").Observable<any>;
|
package/lib/toast.service.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IndividualConfig, ToastrService } from 'ngx-toastr';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CustomToastService {
|
|
4
|
-
private toastr;
|
|
4
|
+
private readonly toastr;
|
|
5
5
|
constructor(toastr: ToastrService);
|
|
6
6
|
success(message: string, title?: string, options?: Partial<IndividualConfig>): void;
|
|
7
7
|
error(message: string, title?: string, options?: Partial<IndividualConfig>): void;
|
package/lib/user.service.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ import { Paging, User } from '@posiwise/common-utilities';
|
|
|
6
6
|
import { MainApiHttpService } from './main-api-http.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class UserService {
|
|
9
|
-
private api;
|
|
10
|
-
private store;
|
|
11
|
-
private router;
|
|
12
|
-
private endpoint;
|
|
9
|
+
private readonly api;
|
|
10
|
+
private readonly store;
|
|
11
|
+
private readonly router;
|
|
12
|
+
private readonly endpoint;
|
|
13
13
|
constructor(api: MainApiHttpService, store: Store<AppState>, router: Router);
|
|
14
14
|
getUserState(): Observable<UserState>;
|
|
15
15
|
getUserInfo(): Observable<User>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ValidationService {
|
|
4
|
-
static CustomValidatorPatterns: {
|
|
4
|
+
static readonly CustomValidatorPatterns: {
|
|
5
5
|
StrongPassword: RegExp;
|
|
6
6
|
Year: string;
|
|
7
7
|
};
|