@arsedizioni/ars-utils 21.2.204 → 21.2.205
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/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +154 -147
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +1283 -1344
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +155 -144
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +686 -548
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Signal
|
|
2
|
+
import { Signal } from '@angular/core';
|
|
3
3
|
import { NameValueItem, Folder, QueryModel, LoginResult, ApiResult, UpdateResultModel, FolderTree, QueryResultModel } from '@arsedizioni/ars-utils/core';
|
|
4
4
|
import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
|
|
5
5
|
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
6
6
|
import * as _angular_common_http from '@angular/common/http';
|
|
7
7
|
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
8
8
|
import * as rxjs from 'rxjs';
|
|
9
|
-
import { Observable
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
10
|
import { ResetPasswordDialogResult, RecoverPasswordDialogResult } from '@arsedizioni/ars-utils/ui';
|
|
11
11
|
|
|
12
12
|
declare const ClipperMessages: {
|
|
@@ -1080,11 +1080,12 @@ declare class ClipperAuthInterceptor implements HttpInterceptor {
|
|
|
1080
1080
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ClipperAuthInterceptor>;
|
|
1081
1081
|
}
|
|
1082
1082
|
|
|
1083
|
-
declare class ClipperService
|
|
1084
|
-
private httpClient;
|
|
1085
|
-
private
|
|
1086
|
-
private broadcastService;
|
|
1087
|
-
private dialogService;
|
|
1083
|
+
declare class ClipperService {
|
|
1084
|
+
private readonly httpClient;
|
|
1085
|
+
private readonly destroyRef;
|
|
1086
|
+
private readonly broadcastService;
|
|
1087
|
+
private readonly dialogService;
|
|
1088
|
+
private broadcastInitialized;
|
|
1088
1089
|
private _appUri?;
|
|
1089
1090
|
get appUri(): string | undefined;
|
|
1090
1091
|
private _serviceUri;
|
|
@@ -1110,12 +1111,11 @@ declare class ClipperService implements OnDestroy {
|
|
|
1110
1111
|
readonly availableChannels: _angular_core.WritableSignal<ClipperAvailableChannel[]>;
|
|
1111
1112
|
readonly activeChannels: Signal<ClipperAvailableChannel[]>;
|
|
1112
1113
|
readonly allowTags: _angular_core.WritableSignal<boolean>;
|
|
1113
|
-
ngOnDestroy(): void;
|
|
1114
1114
|
/**
|
|
1115
|
-
*
|
|
1116
|
-
* @param serviceUri
|
|
1117
|
-
* @param appUri
|
|
1118
|
-
* @param flags
|
|
1115
|
+
* Initialises the service with the API base URI, optional app URI, and feature flags.
|
|
1116
|
+
* @param serviceUri - The base URI of the Clipper REST API.
|
|
1117
|
+
* @param appUri - Optional URI of the Clipper web application (used to build document links).
|
|
1118
|
+
* @param flags - Feature flags that control service behaviour. Defaults to `ClipperServiceFlags.None`.
|
|
1119
1119
|
*/
|
|
1120
1120
|
initialize(serviceUri: string, appUri?: string, flags?: ClipperServiceFlags): void;
|
|
1121
1121
|
/**
|
|
@@ -1123,80 +1123,83 @@ declare class ClipperService implements OnDestroy {
|
|
|
1123
1123
|
*/
|
|
1124
1124
|
ping(): void;
|
|
1125
1125
|
/**
|
|
1126
|
-
*
|
|
1126
|
+
* Persists the current login context to `localStorage`.
|
|
1127
1127
|
*/
|
|
1128
1128
|
storeContext(): void;
|
|
1129
1129
|
/**
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1130
|
+
* Updates the stored login context with the values from a fresh login result.
|
|
1131
|
+
* @param result - The login result containing the new user context and channel settings.
|
|
1132
|
+
*/
|
|
1133
1133
|
updateContext(result: ClipperLoginResult): void;
|
|
1134
1134
|
/**
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
autoLogin(onSuccess?:
|
|
1135
|
+
* Attempts an automatic login using the credentials currently stored in session storage.
|
|
1136
|
+
* @param onSuccess - Optional callback invoked with the login result value on success.
|
|
1137
|
+
*/
|
|
1138
|
+
autoLogin(onSuccess?: (value?: any) => void): void;
|
|
1139
1139
|
/**
|
|
1140
|
-
*
|
|
1141
|
-
* @param onSuccess
|
|
1140
|
+
* Performs an automatic logout and clears the stored session.
|
|
1141
|
+
* @param onSuccess - Optional callback invoked after a successful logout.
|
|
1142
1142
|
*/
|
|
1143
|
-
autoLogout(onSuccess?:
|
|
1143
|
+
autoLogout(onSuccess?: () => void): void;
|
|
1144
1144
|
/**
|
|
1145
|
-
*
|
|
1146
|
-
*
|
|
1147
|
-
* @
|
|
1148
|
-
* @param
|
|
1149
|
-
* @param
|
|
1150
|
-
* @param
|
|
1145
|
+
* Authenticates the user against the Clipper API, supporting both credential-based and
|
|
1146
|
+
* OAuth2 login flows.
|
|
1147
|
+
* @param email - The user's email address (credential login only).
|
|
1148
|
+
* @param password - The user's password (credential login only).
|
|
1149
|
+
* @param remember - When `true`, the session is remembered across browser restarts.
|
|
1150
|
+
* @param oauth - The OAuth2 provider type, when authenticating via SSO.
|
|
1151
|
+
* @param oauthAccessToken - The OAuth2 bearer token. Defaults to the value stored in session storage.
|
|
1151
1152
|
*/
|
|
1152
1153
|
login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined): rxjs.Observable<ApiResult<ClipperLoginResult>>;
|
|
1153
1154
|
/**
|
|
1154
|
-
*
|
|
1155
|
-
*
|
|
1155
|
+
* Finalises the login flow by updating the stored context, setting the logged-in signal,
|
|
1156
|
+
* initialising channels, and broadcasting `LOGIN_COMPLETED`.
|
|
1157
|
+
* @param result - The login result returned by the API.
|
|
1156
1158
|
*/
|
|
1157
1159
|
private completeLogin;
|
|
1158
1160
|
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @param code
|
|
1161
|
+
* Submits the MFA confirmation code to complete a two-factor login flow.
|
|
1162
|
+
* @param code - The one-time confirmation code provided to the user.
|
|
1161
1163
|
*/
|
|
1162
1164
|
confirmIdentity(code: string): rxjs.Observable<ApiResult<ClipperLoginResult>>;
|
|
1163
1165
|
/**
|
|
1164
|
-
*
|
|
1165
|
-
* @param forget
|
|
1166
|
+
* Logs the user out and clears the current session.
|
|
1167
|
+
* @param forget - When `true`, all stored user credentials are also removed.
|
|
1166
1168
|
*/
|
|
1167
1169
|
logout(forget?: boolean): rxjs.Observable<any>;
|
|
1168
1170
|
/**
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
+
* Resets the login state, clears the stored login info, and broadcasts `LOGOUT_COMPLETED`.
|
|
1172
|
+
*/
|
|
1171
1173
|
reset(): void;
|
|
1172
1174
|
/**
|
|
1173
|
-
*
|
|
1174
|
-
* @param clearOAuthToken
|
|
1175
|
+
* Clears all session-storage authentication keys and resets the login state.
|
|
1176
|
+
* @param clearOAuthToken - When `true`, the OAuth bearer token is also removed.
|
|
1175
1177
|
*/
|
|
1176
1178
|
clear(clearOAuthToken?: boolean): void;
|
|
1177
1179
|
/**
|
|
1178
|
-
*
|
|
1179
|
-
*
|
|
1180
|
+
* Applies a new dashboard result: updates channel settings, dashboard counters, and
|
|
1181
|
+
* re-initialises the available-channels signal.
|
|
1182
|
+
* @param value - The dashboard result containing updated channel and counter data.
|
|
1180
1183
|
*/
|
|
1181
1184
|
setChannelsState(value: ClipperDashboardResult): void;
|
|
1182
1185
|
/**
|
|
1183
|
-
*
|
|
1184
|
-
* @param channels
|
|
1186
|
+
* Replaces the stored channel settings and re-initialises the available-channels signal.
|
|
1187
|
+
* @param channels - The new channel settings to store and activate.
|
|
1185
1188
|
*/
|
|
1186
1189
|
setChannels(channels: ClipperChannelSettings[]): void;
|
|
1187
1190
|
/**
|
|
1188
|
-
|
|
1189
|
-
|
|
1191
|
+
* Rebuilds the `availableChannels` signal from the current login context.
|
|
1192
|
+
*/
|
|
1190
1193
|
private initializeChannels;
|
|
1191
1194
|
/**
|
|
1192
|
-
*
|
|
1193
|
-
* @param values
|
|
1195
|
+
* Toggles the active state of available channels based on the supplied selection list.
|
|
1196
|
+
* @param values - The selected channel items; channels absent from this list are deactivated.
|
|
1194
1197
|
*/
|
|
1195
1198
|
updateChannels(values: NameValueItem<ClipperChannel>[]): void;
|
|
1196
1199
|
/**
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
+
* Requests a new one-time password for the given repository.
|
|
1201
|
+
* @param id - The repository ID for which the OTP should be generated.
|
|
1202
|
+
*/
|
|
1200
1203
|
newOTP(id: string): rxjs.Observable<ApiResult<ClipperOTPInfo>>;
|
|
1201
1204
|
/**
|
|
1202
1205
|
* Load Ars events calendar
|
|
@@ -1226,6 +1229,10 @@ declare class ClipperService implements OnDestroy {
|
|
|
1226
1229
|
* Send documents link by email
|
|
1227
1230
|
*/
|
|
1228
1231
|
sendTo(params: ClipperSendDocumentsByEmailParams): rxjs.Observable<ApiResult<number>>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Sends an email notification about a document property update to the specified recipients.
|
|
1234
|
+
* @param params - The notification parameters including recipients and property details.
|
|
1235
|
+
*/
|
|
1229
1236
|
notifyPropertyTo(params: ClipperNotifyDocumentUserPropertyParams): rxjs.Observable<ApiResult<UpdateResultModel<ClipperDocumentPropertyTracking>>>;
|
|
1230
1237
|
/**
|
|
1231
1238
|
* Display a page the full document report
|
|
@@ -1286,50 +1293,50 @@ declare class ClipperService implements OnDestroy {
|
|
|
1286
1293
|
/**
|
|
1287
1294
|
* Retrieve current dashboard
|
|
1288
1295
|
*/
|
|
1289
|
-
loadDashboard(): Subscription;
|
|
1296
|
+
loadDashboard(): rxjs.Subscription;
|
|
1290
1297
|
/**
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1298
|
+
* Retrieves documents updated in the last 15 days for the given search parameters.
|
|
1299
|
+
* @param params - The search parameters to filter results.
|
|
1300
|
+
*/
|
|
1294
1301
|
last15Days(params: ClipperSearchParams): rxjs.Observable<ApiResult<ClipperLastDaysResult>>;
|
|
1295
1302
|
/**
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1303
|
+
* Adjusts the unread-item counter for the given module and broadcasts a dashboard update.
|
|
1304
|
+
* @param module - The Clipper module whose counter should be adjusted.
|
|
1305
|
+
* @param model - Optional document model to further scope the counter update.
|
|
1306
|
+
* @param increment - The signed increment to apply (use negative values to decrement).
|
|
1307
|
+
*/
|
|
1301
1308
|
updateUnreadItems(module: ClipperModule, model?: ClipperModel, increment?: number): void;
|
|
1302
1309
|
/**
|
|
1303
1310
|
* Load working documents
|
|
1304
1311
|
*/
|
|
1305
|
-
loadBag(): Subscription;
|
|
1312
|
+
loadBag(): rxjs.Subscription;
|
|
1306
1313
|
/**
|
|
1307
|
-
*
|
|
1308
|
-
* @param documentIds
|
|
1314
|
+
* Adds one or more documents to the working documents bag.
|
|
1315
|
+
* @param documentIds - The IDs of the documents to add.
|
|
1309
1316
|
*/
|
|
1310
|
-
addToBag(documentIds: string[]): Subscription;
|
|
1317
|
+
addToBag(documentIds: string[]): rxjs.Subscription;
|
|
1311
1318
|
/**
|
|
1312
|
-
*
|
|
1313
|
-
* @param documentId
|
|
1319
|
+
* Removes a document from the working documents bag.
|
|
1320
|
+
* @param documentId - The ID of the document to remove.
|
|
1314
1321
|
*/
|
|
1315
|
-
removeFromBag(documentId: string): Subscription;
|
|
1322
|
+
removeFromBag(documentId: string): rxjs.Subscription;
|
|
1316
1323
|
/**
|
|
1317
1324
|
* Clear all working documents
|
|
1318
1325
|
*/
|
|
1319
|
-
clearBag(): Subscription;
|
|
1326
|
+
clearBag(): rxjs.Subscription;
|
|
1320
1327
|
/**
|
|
1321
|
-
*
|
|
1322
|
-
* @param
|
|
1328
|
+
* Retrieves the saved searches for the given module.
|
|
1329
|
+
* @param module - The Clipper module whose saved searches to load.
|
|
1323
1330
|
*/
|
|
1324
1331
|
loadSearches(module: ClipperModule): rxjs.Observable<ApiResult<ClipperUserSearch[]>>;
|
|
1325
1332
|
/**
|
|
1326
|
-
*
|
|
1327
|
-
* @param params
|
|
1333
|
+
* Persists a user search configuration on the server.
|
|
1334
|
+
* @param params - The search configuration to save.
|
|
1328
1335
|
*/
|
|
1329
1336
|
saveSearch(params: ClipperUserSearch): rxjs.Observable<ApiResult<ClipperUserSearch>>;
|
|
1330
1337
|
/**
|
|
1331
|
-
*
|
|
1332
|
-
* @param id
|
|
1338
|
+
* Deletes a saved search by its ID.
|
|
1339
|
+
* @param id - The ID of the saved search to remove.
|
|
1333
1340
|
*/
|
|
1334
1341
|
deleteSearch(id: number): rxjs.Observable<ApiResult<number>>;
|
|
1335
1342
|
/**
|
|
@@ -1341,105 +1348,105 @@ declare class ClipperService implements OnDestroy {
|
|
|
1341
1348
|
*/
|
|
1342
1349
|
calendarSnapshot(params: ClipperCalendarSearchParams): rxjs.Observable<ApiResult<ClipperSearchCalendarSnapshotResult>>;
|
|
1343
1350
|
/**
|
|
1344
|
-
*
|
|
1345
|
-
* @param ids
|
|
1351
|
+
* Deletes one or more calendar deadlines by ID.
|
|
1352
|
+
* @param ids - The IDs of the deadlines to delete.
|
|
1346
1353
|
*/
|
|
1347
1354
|
deleteCalendarDeadlines(ids: string[]): rxjs.Observable<ApiResult<number>>;
|
|
1348
1355
|
/**
|
|
1349
|
-
*
|
|
1350
|
-
* @param params parameters
|
|
1356
|
+
* Copies one or more calendar deadlines using the given parameters.
|
|
1357
|
+
* @param params - The copy operation parameters.
|
|
1351
1358
|
*/
|
|
1352
1359
|
copyCalendarDeadlines(params: ClipperCalendarCopyDeadlinesParams): rxjs.Observable<ApiResult<number>>;
|
|
1353
1360
|
/**
|
|
1354
|
-
*
|
|
1355
|
-
* @param id
|
|
1361
|
+
* Marks the given calendar deadline as closed.
|
|
1362
|
+
* @param id - The ID of the deadline to close.
|
|
1356
1363
|
*/
|
|
1357
1364
|
closeCalendarDeadline(id: string): rxjs.Observable<ApiResult<ClipperDeadlineInfo>>;
|
|
1358
1365
|
/**
|
|
1359
|
-
*
|
|
1360
|
-
* @param params
|
|
1366
|
+
* Creates or updates a calendar deadline.
|
|
1367
|
+
* @param params - The deadline data to save.
|
|
1361
1368
|
*/
|
|
1362
1369
|
saveCalendarDeadline(params: ClipperCalendarSaveDeadlineParams): rxjs.Observable<ApiResult<ClipperDeadlineInfo[]>>;
|
|
1363
1370
|
/**
|
|
1364
|
-
*
|
|
1365
|
-
* @param id
|
|
1371
|
+
* Retrieves a single calendar deadline by its ID.
|
|
1372
|
+
* @param id - The ID of the deadline to retrieve.
|
|
1366
1373
|
*/
|
|
1367
1374
|
getCalendarDeadline(id: string): rxjs.Observable<ApiResult<ClipperDeadlineInfo>>;
|
|
1368
1375
|
/**
|
|
1369
|
-
*
|
|
1370
|
-
* @param ids
|
|
1376
|
+
* Exports the selected deadlines in iCalendar (.ics) format.
|
|
1377
|
+
* @param ids - The IDs of the deadlines to export.
|
|
1371
1378
|
*/
|
|
1372
1379
|
exportCalendarDeadlines(ids: string[]): rxjs.Observable<Blob>;
|
|
1373
1380
|
/**
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1381
|
+
* Retrieves all archive folders matching the given search parameters.
|
|
1382
|
+
* @param params - The folder search parameters.
|
|
1383
|
+
*/
|
|
1377
1384
|
getArchiveFolders(params: ClipperArchiveFoldersSearchParams): rxjs.Observable<ApiResult<ClipperArchiveFoldersSearchResult>>;
|
|
1378
1385
|
/**
|
|
1379
|
-
*
|
|
1380
|
-
* @param params
|
|
1386
|
+
* Creates or updates an archive folder.
|
|
1387
|
+
* @param params - The folder data to save.
|
|
1381
1388
|
*/
|
|
1382
1389
|
saveArchiveFolder(params: Folder): rxjs.Observable<ApiResult<Folder>>;
|
|
1383
1390
|
/**
|
|
1384
|
-
*
|
|
1385
|
-
* @param id
|
|
1386
|
-
* @param teamId
|
|
1391
|
+
* Exports archive folders as a downloadable file.
|
|
1392
|
+
* @param id - The folder ID to export, or `undefined` to export all folders.
|
|
1393
|
+
* @param teamId - The optional team ID. Defaults to `undefined` (personal workspace).
|
|
1387
1394
|
*/
|
|
1388
1395
|
exportArchiveFolders(id?: string, teamId?: string): rxjs.Observable<Blob>;
|
|
1389
1396
|
/**
|
|
1390
|
-
*
|
|
1391
|
-
* @param params
|
|
1397
|
+
* Uploads and imports archive folders from a file.
|
|
1398
|
+
* @param params - The import parameters including the source file and destination folder.
|
|
1392
1399
|
*/
|
|
1393
1400
|
importArchiveFolders(params: ClipperArchiveFoldersImportParams): rxjs.Observable<_angular_common_http.HttpEvent<unknown>>;
|
|
1394
1401
|
/**
|
|
1395
|
-
*
|
|
1396
|
-
* @param params
|
|
1402
|
+
* Retrieves archive files and folders matching the given search parameters.
|
|
1403
|
+
* @param params - The archive files search parameters.
|
|
1397
1404
|
*/
|
|
1398
1405
|
queryArchiveItems(params: ClipperArchiveFilesSearchParams): rxjs.Observable<ApiResult<ClipperArchiveFilesSearchResult>>;
|
|
1399
1406
|
/**
|
|
1400
|
-
*
|
|
1401
|
-
* @param params parameters
|
|
1407
|
+
* Deletes one or more archive files or folders.
|
|
1408
|
+
* @param params - The delete operation parameters.
|
|
1402
1409
|
*/
|
|
1403
1410
|
deleteArchiveItems(params: ClipperArchiveFilesDeleteParams): rxjs.Observable<ApiResult<number>>;
|
|
1404
1411
|
/**
|
|
1405
|
-
*
|
|
1406
|
-
* @param params parameters
|
|
1412
|
+
* Copies archive files or folders to a destination folder.
|
|
1413
|
+
* @param params - The copy operation parameters.
|
|
1407
1414
|
*/
|
|
1408
1415
|
copyArchiveItems(params: ClipperArchiveFilesCopyParams): rxjs.Observable<ApiResult<number>>;
|
|
1409
1416
|
/**
|
|
1410
|
-
*
|
|
1411
|
-
* @param params
|
|
1417
|
+
* Uploads and saves an archive file using multipart form data.
|
|
1418
|
+
* @param params - The file metadata and binary content to save.
|
|
1412
1419
|
*/
|
|
1413
1420
|
saveArchiveFile(params: ClipperArchiveFileInfo): rxjs.Observable<_angular_common_http.HttpEvent<unknown>>;
|
|
1414
1421
|
/**
|
|
1415
|
-
*
|
|
1416
|
-
* @param id
|
|
1422
|
+
* Retrieves the metadata for a single archive file.
|
|
1423
|
+
* @param id - The ID of the archive file to retrieve.
|
|
1417
1424
|
*/
|
|
1418
1425
|
getArchiveFile(id: string): rxjs.Observable<ApiResult<ClipperArchiveFileInfo>>;
|
|
1419
1426
|
/**
|
|
1420
|
-
*
|
|
1421
|
-
* @param id
|
|
1422
|
-
* @param otp
|
|
1427
|
+
* Downloads the binary content of an archive file.
|
|
1428
|
+
* @param id - The binary ID of the file to download.
|
|
1429
|
+
* @param otp - An optional one-time password for authenticated downloads.
|
|
1423
1430
|
*/
|
|
1424
1431
|
downloadArchiveFile(id: number, otp?: string): rxjs.Observable<Blob>;
|
|
1425
1432
|
/**
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1433
|
+
* Resets the user's password using the provided parameters.
|
|
1434
|
+
* @param params - The new password and confirmation data.
|
|
1435
|
+
*/
|
|
1429
1436
|
resetPassword(params: ResetPasswordDialogResult): rxjs.Observable<ApiResult<ResetPasswordDialogResult>>;
|
|
1430
1437
|
/**
|
|
1431
|
-
*
|
|
1432
|
-
* @param params
|
|
1438
|
+
* Initiates a password recovery flow by sending a reset link to the user's email.
|
|
1439
|
+
* @param params - The password recovery request data.
|
|
1433
1440
|
*/
|
|
1434
1441
|
recoverPassword(params: RecoverPasswordDialogResult): rxjs.Observable<ApiResult<boolean>>;
|
|
1435
1442
|
/**
|
|
1436
|
-
*
|
|
1437
|
-
|
|
1443
|
+
* Updates user account settings and applies any channel configuration changes.
|
|
1444
|
+
* @param params - A map of settings key-value pairs to update.
|
|
1438
1445
|
*/
|
|
1439
1446
|
updateSettings(params: any): rxjs.Observable<ApiResult<boolean>>;
|
|
1440
1447
|
/**
|
|
1441
|
-
*
|
|
1442
|
-
* @param
|
|
1448
|
+
* Saves updated channel activation states to the server and applies the new dashboard result.
|
|
1449
|
+
* @param params - The channel state update parameters.
|
|
1443
1450
|
*/
|
|
1444
1451
|
updateChannelsState(params: ClipperUpdateChannelsStateParams): rxjs.Observable<ApiResult<ClipperDashboardResult>>;
|
|
1445
1452
|
/**
|
|
@@ -1447,73 +1454,77 @@ declare class ClipperService implements OnDestroy {
|
|
|
1447
1454
|
*/
|
|
1448
1455
|
private getTrialInfo;
|
|
1449
1456
|
/**
|
|
1450
|
-
*
|
|
1457
|
+
* Refreshes the trial status from the server and updates the stored login context.
|
|
1451
1458
|
*/
|
|
1452
1459
|
updateTrialInfo(): void;
|
|
1453
1460
|
/**
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1461
|
+
* Creates or updates a user link record.
|
|
1462
|
+
* @param item - The user link data to save.
|
|
1463
|
+
*/
|
|
1457
1464
|
saveLink(item: ClipperUserLink): rxjs.Observable<ApiResult<boolean>>;
|
|
1458
1465
|
/**
|
|
1459
|
-
*
|
|
1460
|
-
* @param item
|
|
1466
|
+
* Deletes a user link record.
|
|
1467
|
+
* @param item - The user link to remove.
|
|
1461
1468
|
*/
|
|
1462
1469
|
deleteLink(item: ClipperUserLink): rxjs.Observable<ApiResult<boolean>>;
|
|
1463
1470
|
/**
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1471
|
+
* Renames the current user's team.
|
|
1472
|
+
* @param newName - The new display name for the team.
|
|
1473
|
+
*/
|
|
1467
1474
|
renameTeam(newName: string): rxjs.Observable<ApiResult<ClipperTeamInfo>>;
|
|
1468
1475
|
/**
|
|
1469
|
-
*
|
|
1476
|
+
* Retrieves the list of teams available to the current user.
|
|
1477
|
+
* @param params - The teams search parameters.
|
|
1470
1478
|
*/
|
|
1471
1479
|
getTeams(params: ClipperTeamsSearchParams): rxjs.Observable<ApiResult<ClipperTeamsSearchResult>>;
|
|
1472
1480
|
/**
|
|
1473
|
-
*
|
|
1481
|
+
* Retrieves the members of a team matching the given search parameters.
|
|
1482
|
+
* @param params - The team members search parameters.
|
|
1474
1483
|
*/
|
|
1475
1484
|
getTeamMembers(params: ClipperTeamsSearchParams): rxjs.Observable<ApiResult<ClipperTeamMembersSearchResult>>;
|
|
1476
1485
|
/**
|
|
1477
|
-
*
|
|
1478
|
-
* @param ids
|
|
1486
|
+
* Removes the specified members from the team.
|
|
1487
|
+
* @param ids - The numeric IDs of the team members to remove.
|
|
1479
1488
|
*/
|
|
1480
1489
|
deleteTeamMembers(ids: number[]): rxjs.Observable<ApiResult<number>>;
|
|
1481
1490
|
/**
|
|
1482
|
-
*
|
|
1483
|
-
* @param item
|
|
1491
|
+
* Creates or updates a team member record.
|
|
1492
|
+
* @param item - The team member data to save.
|
|
1484
1493
|
*/
|
|
1485
1494
|
saveTeamMember(item: ClipperTeamMemberInfo): rxjs.Observable<ApiResult<ClipperTeamMemberInfo>>;
|
|
1486
1495
|
/**
|
|
1487
|
-
*
|
|
1496
|
+
* Retrieves contacts matching the given search parameters.
|
|
1497
|
+
* @param params - The contacts search parameters.
|
|
1488
1498
|
*/
|
|
1489
1499
|
queryContacts(params: ClipperContactsSearchParams): rxjs.Observable<ApiResult<QueryResultModel<ClipperContactInfo>>>;
|
|
1490
1500
|
/**
|
|
1491
|
-
*
|
|
1492
|
-
* @param ids
|
|
1501
|
+
* Deletes the specified contacts.
|
|
1502
|
+
* @param ids - The numeric IDs of the contacts to remove.
|
|
1493
1503
|
*/
|
|
1494
1504
|
deleteContacts(ids: number[]): rxjs.Observable<ApiResult<number>>;
|
|
1495
1505
|
/**
|
|
1496
|
-
*
|
|
1497
|
-
* @param item
|
|
1506
|
+
* Creates or updates a contact record.
|
|
1507
|
+
* @param item - The contact data to save.
|
|
1498
1508
|
*/
|
|
1499
1509
|
saveContact(item: ClipperContactInfo): rxjs.Observable<ApiResult<ClipperContactInfo>>;
|
|
1500
1510
|
/**
|
|
1501
|
-
*
|
|
1511
|
+
* Retrieves document properties matching the given search parameters.
|
|
1512
|
+
* @param params - The properties search parameters.
|
|
1502
1513
|
*/
|
|
1503
1514
|
queryProperties(params: ClipperPropertiesSearchParams): rxjs.Observable<ApiResult<QueryResultModel<ClipperDocumentProperty>>>;
|
|
1504
1515
|
/**
|
|
1505
|
-
*
|
|
1506
|
-
* @param ids
|
|
1516
|
+
* Deletes the specified document properties.
|
|
1517
|
+
* @param ids - The numeric IDs of the properties to remove.
|
|
1507
1518
|
*/
|
|
1508
1519
|
deleteProperties(ids: number[]): rxjs.Observable<ApiResult<number>>;
|
|
1509
1520
|
/**
|
|
1510
|
-
*
|
|
1511
|
-
* @param item
|
|
1521
|
+
* Creates or updates a document property.
|
|
1522
|
+
* @param item - The property data to save.
|
|
1512
1523
|
*/
|
|
1513
1524
|
saveProperty(item: ClipperDocumentProperty): rxjs.Observable<ApiResult<ClipperDocumentProperty>>;
|
|
1514
1525
|
/**
|
|
1515
|
-
*
|
|
1516
|
-
* @param id
|
|
1526
|
+
* Retrieves the tracking history for the given document property.
|
|
1527
|
+
* @param id - The numeric ID of the property whose tracking records to retrieve.
|
|
1517
1528
|
*/
|
|
1518
1529
|
getPropertyTrackings(id: number): rxjs.Observable<ApiResult<ClipperDocumentPropertyTracking[]>>;
|
|
1519
1530
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClipperService, never>;
|