@posiwise/common-services 0.1.49 → 0.1.50

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.
@@ -7,7 +7,7 @@ export declare class CommonService {
7
7
  constructor(api: MainApiHttpService);
8
8
  addContactUsMessage(data: any): import("rxjs").Observable<any>;
9
9
  getIncidents(paging?: Paging): import("rxjs").Observable<any>;
10
- getIncidentsAdmin(paging?: Paging, subsriptionId?: number): import("rxjs").Observable<any>;
10
+ getIncidentsAdmin(paging?: Paging, subscriptionId?: number): import("rxjs").Observable<any>;
11
11
  addIncident(data: any): import("rxjs").Observable<any>;
12
12
  editIncident(id: any, data: any): import("rxjs").Observable<any>;
13
13
  getIncidentById(id: number, subscription_id: any): import("rxjs").Observable<any>;
@@ -9,6 +9,7 @@ export declare class PermissionService {
9
9
  constructor(api: MainApiHttpService);
10
10
  setCurrentSubscription(subscription: any): void;
11
11
  isGranted(permissionName: string, productKey?: any, permission_key?: any, productSlug?: any): boolean;
12
+ private getFormattedPermissionName;
12
13
  getPermissionTreeDataByRole(data: any): {
13
14
  permissions: any[];
14
15
  grantedPermissionNames: string[];
@@ -34,6 +35,7 @@ export declare class PermissionService {
34
35
  * Any Product Admin of the product being the master product
35
36
  */
36
37
  isUserSubscriptionSuperAdmin(product?: any): boolean;
38
+ isUserMasterSubscriptionSuperAdmin(product?: any): boolean;
37
39
  /**
38
40
  * Any Product Admin of the product being the master product
39
41
  */
@@ -17,7 +17,7 @@ export declare class SentryErrorHandler implements ErrorHandler {
17
17
  extractOriginalError(error: any, incomingError: any): void;
18
18
  handleNonHttpErrorResponse(error: any): void;
19
19
  errorMessageFormatter(error: any): void;
20
- sentryIntilization(error: any, incomingError: any): void;
20
+ sentryInitialization(error: any, incomingError: any): void;
21
21
  private logToSentry;
22
22
  private scopeWithSentry;
23
23
  private handleNonStandardError;
@@ -27,7 +27,7 @@ export declare class SubscriptionService {
27
27
  updateCardDetails(data: {
28
28
  [key: string]: string;
29
29
  }, subscription_id: number): import("rxjs").Observable<any>;
30
- getEnterpriseInsight(subscriptionId: number): import("rxjs").Observable<any>;
30
+ getEnterpriseInsight(subscriptionId: number, starting_at?: string, ending_at?: string): import("rxjs").Observable<any>;
31
31
  postSubscriptionCredential(data: any): import("rxjs").Observable<any>;
32
32
  editSubscriptionCredential(id: number, data: any): import("rxjs").Observable<any>;
33
33
  getAllSubscriptionCredentials(subscription_id: number, paging?: Paging): import("rxjs").Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/common-services",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11",