@arsedizioni/ars-utils 18.2.371 → 18.2.373
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/clipper.common/common/definitions.d.ts +6 -0
- package/clipper.common/common/messages.d.ts +1 -0
- package/clipper.common/common/services/clipper.service.d.ts +29 -1
- package/esm2022/clipper.common/common/definitions.mjs +1 -1
- package/esm2022/clipper.common/common/messages.mjs +5 -3
- package/esm2022/clipper.common/common/services/clipper.service.mjs +59 -1
- package/esm2022/evolution.common/common/definitions.mjs +1 -1
- package/esm2022/evolution.common/common/services/evolution.service.mjs +18 -1
- package/evolution.common/common/definitions.d.ts +6 -0
- package/evolution.common/common/services/evolution.service.d.ts +11 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +62 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +17 -0
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -121,6 +121,7 @@ export interface ClipperUserInfo {
|
|
|
121
121
|
hasTeam: boolean;
|
|
122
122
|
channels: ClipperUserChannelInfo[];
|
|
123
123
|
firstChannelTrial: ClipperUserChannelInfo;
|
|
124
|
+
trialInfo?: ClipperUserTrialInfo | null;
|
|
124
125
|
}
|
|
125
126
|
export interface ClipperLoginResult extends LoginResult<ClipperUserInfo> {
|
|
126
127
|
settings?: ClipperChannelSettings[] | null;
|
|
@@ -444,6 +445,11 @@ export interface ClipperUserLink {
|
|
|
444
445
|
userName: string;
|
|
445
446
|
key: string;
|
|
446
447
|
}
|
|
448
|
+
export interface ClipperUserTrialInfo {
|
|
449
|
+
channelName: string;
|
|
450
|
+
expiringDate: Date;
|
|
451
|
+
remainingDocuments: number;
|
|
452
|
+
}
|
|
447
453
|
export interface ClipperArsEventInfo {
|
|
448
454
|
id: number;
|
|
449
455
|
location?: string | null;
|
|
@@ -12,6 +12,7 @@ export declare const ClipperMessages: {
|
|
|
12
12
|
DOCUMENT_NAVIGATED: string;
|
|
13
13
|
DOCUMENT_SELECTED: string;
|
|
14
14
|
DOCUMENT_SELECTED_INNER: string;
|
|
15
|
+
SETTINGS_CHANGED: string;
|
|
15
16
|
COMMAND_ARCHIVE_ADD: string;
|
|
16
17
|
COMMAND_CALENDAR_ADD: string;
|
|
17
18
|
COMMAND_WORKING_OPEN: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { OnDestroy, Signal } from '@angular/core';
|
|
2
2
|
import { ApiResult, FolderTree, NameValueItem } from '@arsedizioni/ars-utils/core';
|
|
3
|
+
import { RecoverPasswordDialogResult, ResetPasswordDialogResult } from '@arsedizioni/ars-utils/ui';
|
|
3
4
|
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
4
5
|
import { Subscription } from 'rxjs';
|
|
5
|
-
import { ClipperDashboard, ClipperDocumentInfo, ClipperDocumentStructure, ClipperDocumentUpdateStateParams, ClipperExportDocumentsParams, ClipperLoginInfo, ClipperLoginResult, ClipperModule, ClipperOTPInfo, ClipperQueryArsEventsParams, ClipperQueryArsEventsResult, ClipperReferencesSearchParams, ClipperSearchFacetsResult, ClipperSearchParams, ClipperSearchResult, ClipperSendDocumentsByEmailParams, ClipperTaxonomyParams, ClipperUserLink, ClipperUserSearch } from '../definitions';
|
|
6
|
+
import { ClipperDashboard, ClipperDashboardResult, ClipperDocumentInfo, ClipperDocumentStructure, ClipperDocumentUpdateStateParams, ClipperExportDocumentsParams, ClipperLoginInfo, ClipperLoginResult, ClipperModule, ClipperOTPInfo, ClipperQueryArsEventsParams, ClipperQueryArsEventsResult, ClipperReferencesSearchParams, ClipperSearchFacetsResult, ClipperSearchParams, ClipperSearchResult, ClipperSendDocumentsByEmailParams, ClipperTaxonomyParams, ClipperUserLink, ClipperUserSearch } from '../definitions';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ClipperService implements OnDestroy {
|
|
8
9
|
private httpClient;
|
|
@@ -202,6 +203,33 @@ export declare class ClipperService implements OnDestroy {
|
|
|
202
203
|
* @param id : the id to remove
|
|
203
204
|
*/
|
|
204
205
|
deleteSearch(id: number): import("rxjs").Observable<ApiResult<number>>;
|
|
206
|
+
/**
|
|
207
|
+
* Reset a user password
|
|
208
|
+
* @param params parameters
|
|
209
|
+
*/
|
|
210
|
+
resetPassword(params: any): import("rxjs").Observable<ApiResult<ResetPasswordDialogResult>>;
|
|
211
|
+
/**
|
|
212
|
+
* Recover password
|
|
213
|
+
* @param params parameters
|
|
214
|
+
*/
|
|
215
|
+
recoverPassword(params: any): import("rxjs").Observable<ApiResult<RecoverPasswordDialogResult>>;
|
|
216
|
+
/**
|
|
217
|
+
* Update settings
|
|
218
|
+
*/
|
|
219
|
+
updateSettings(params: any): import("rxjs").Observable<ApiResult<boolean>>;
|
|
220
|
+
/**
|
|
221
|
+
* Update channel state
|
|
222
|
+
* @param id: the channel id (1, 2, 3, 4)
|
|
223
|
+
*/
|
|
224
|
+
updateChannelState(id: number, enabled: boolean): import("rxjs").Observable<ApiResult<ClipperDashboardResult>>;
|
|
225
|
+
/**
|
|
226
|
+
* Get trial info
|
|
227
|
+
*/
|
|
228
|
+
private getTrialInfo;
|
|
229
|
+
/**
|
|
230
|
+
* Update trial info
|
|
231
|
+
*/
|
|
232
|
+
updateTrialInfo(): void;
|
|
205
233
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClipperService, never>;
|
|
206
234
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClipperService>;
|
|
207
235
|
}
|