@arsedizioni/ars-utils 18.2.334 → 18.2.335
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 +1 -4
- package/clipper.common/common/services/clipper.service.d.ts +2 -2
- package/core/definitions.d.ts +1 -9
- package/esm2022/clipper.common/common/definitions.mjs +1 -1
- package/esm2022/clipper.common/common/services/clipper.service.mjs +3 -3
- package/esm2022/core/definitions.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +2 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
|
|
2
|
-
import { LoginResult,
|
|
2
|
+
import { LoginResult, NameValueItem } from '@arsedizioni/ars-utils/core';
|
|
3
3
|
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
4
4
|
import { Signal } from '@angular/core';
|
|
5
5
|
export declare enum ClipperSelectionMode {
|
|
@@ -125,9 +125,6 @@ export interface ClipperUserInfo {
|
|
|
125
125
|
export interface ClipperLoginResult extends LoginResult<ClipperUserInfo> {
|
|
126
126
|
settings?: ClipperChannelSettings[] | null;
|
|
127
127
|
}
|
|
128
|
-
export interface ClipperLoginResult2 extends LoginResult2<ClipperUserInfo> {
|
|
129
|
-
settings?: ClipperChannelSettings[] | null;
|
|
130
|
-
}
|
|
131
128
|
export interface ClipperLoginInfo {
|
|
132
129
|
context: ClipperUserInfo;
|
|
133
130
|
complianceContext?: any | null;
|
|
@@ -2,7 +2,7 @@ import { OnDestroy, Signal } from '@angular/core';
|
|
|
2
2
|
import { ApiResult, FolderTree, NameValueItem } from '@arsedizioni/ars-utils/core';
|
|
3
3
|
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
4
4
|
import { Observable, Subscription } from 'rxjs';
|
|
5
|
-
import { ClipperDashboard, ClipperDocumentInfo, ClipperDocumentStructure, ClipperDocumentUpdateStateParams, ClipperExportDocumentsParams, ClipperLoginInfo, ClipperLoginResult,
|
|
5
|
+
import { ClipperDashboard, ClipperDocumentInfo, ClipperDocumentStructure, ClipperDocumentUpdateStateParams, ClipperExportDocumentsParams, ClipperLoginInfo, ClipperLoginResult, ClipperModule, ClipperOTPInfo, ClipperQueryArsEventsParams, ClipperQueryArsEventsResult, ClipperReferencesSearchParams, ClipperSearchFacetsResult, ClipperSearchParams, ClipperSearchResult, ClipperSendDocumentsByEmailParams, ClipperTaxonomyParams, ClipperUserLink, ClipperUserSearch } from '../definitions';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ClipperService implements OnDestroy {
|
|
8
8
|
private readonly REFRESH_INTERVAL;
|
|
@@ -73,7 +73,7 @@ export declare class ClipperService implements OnDestroy {
|
|
|
73
73
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
74
74
|
* @returns: the login result
|
|
75
75
|
*/
|
|
76
|
-
login2(email?: string | null | undefined, password?: string | null | undefined, remember?: boolean | null | undefined, oauth?: LoginOAuthType | null | undefined, oauthAccessToken?: string | null | undefined): Observable<ApiResult<
|
|
76
|
+
login2(email?: string | null | undefined, password?: string | null | undefined, remember?: boolean | null | undefined, oauth?: LoginOAuthType | null | undefined, oauthAccessToken?: string | null | undefined): Observable<ApiResult<ClipperLoginResult>>;
|
|
77
77
|
/**
|
|
78
78
|
* Perform logout
|
|
79
79
|
*/
|
package/core/definitions.d.ts
CHANGED
|
@@ -148,13 +148,5 @@ export declare class DateInterval {
|
|
|
148
148
|
export interface LoginResult<T> extends ApiResult<boolean> {
|
|
149
149
|
context: T;
|
|
150
150
|
token: string;
|
|
151
|
-
|
|
152
|
-
export interface TokenInfo {
|
|
153
|
-
token: string;
|
|
154
|
-
expires: Date;
|
|
155
|
-
}
|
|
156
|
-
export interface LoginResult2<T> extends ApiResult<boolean> {
|
|
157
|
-
context: T;
|
|
158
|
-
tokenInfo: TokenInfo;
|
|
159
|
-
refreshTokenInfo: TokenInfo;
|
|
151
|
+
refreshToken?: string;
|
|
160
152
|
}
|