@posiwise/user-module 0.0.154 → 0.0.156

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/user-module",
3
- "version": "0.0.154",
3
+ "version": "0.0.156",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.2.0",
6
6
  "@angular/common": "^21.2.6",
@@ -85,6 +85,14 @@ declare class AccountDetailsComponent extends AppBaseComponent implements OnInit
85
85
  showApiToken: boolean;
86
86
  showApiClientId: boolean;
87
87
  refreshingTokens: boolean;
88
+ updatingScope: boolean;
89
+ connections: {
90
+ id: number;
91
+ client_name: string;
92
+ created_at: string;
93
+ expires_at: string;
94
+ }[];
95
+ loadingConnections: boolean;
88
96
  constructor(fb: UntypedFormBuilder, modalService: NgbModal, authService: AuthService, geoService: GeoService, profileService: ProfileService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
89
97
  ngOnInit(): void;
90
98
  handleAddressChange(_event: any): void;
@@ -105,6 +113,8 @@ declare class AccountDetailsComponent extends AppBaseComponent implements OnInit
105
113
  onImageSelection(event: any): void;
106
114
  sendMailToResetPassword(): void;
107
115
  getRegion(countryId: number | string): void;
116
+ loadConnections(): void;
117
+ deregisterConnection(id: number): void;
108
118
  private getForms;
109
119
  private passwordMatcher;
110
120
  dataURLtoBlob(dataUrl: string): Blob;
@@ -116,6 +126,9 @@ declare class AccountDetailsComponent extends AppBaseComponent implements OnInit
116
126
  toggleApiClientIdVisibility(): void;
117
127
  refreshApiTokens(): void;
118
128
  private performTokenRefresh;
129
+ get currentApiTokenScope(): string;
130
+ changeApiTokenScope(scope: string): void;
131
+ private performScopeUpdate;
119
132
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountDetailsComponent, never>;
120
133
  static ɵcmp: i0.ɵɵComponentDeclaration<AccountDetailsComponent, "pw-account-details", never, {}, {}, never, never, false, never>;
121
134
  }