@arsedizioni/ars-utils 19.5.74 → 20.0.2

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.
Files changed (35) hide show
  1. package/clipper.common/index.d.ts +1411 -5
  2. package/clipper.ui/index.d.ts +1135 -4
  3. package/core/index.d.ts +916 -3
  4. package/evolution.common/index.d.ts +894 -5
  5. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +10 -10
  6. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  7. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +39 -39
  8. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  9. package/fesm2022/arsedizioni-ars-utils-core.mjs +99 -99
  10. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +10 -10
  12. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
  13. package/fesm2022/arsedizioni-ars-utils-help.mjs +13 -13
  14. package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
  15. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +10 -10
  16. package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
  17. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -6
  18. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
  19. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +7 -7
  20. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
  21. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +59 -59
  22. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
  23. package/fesm2022/arsedizioni-ars-utils-ui.mjs +35 -35
  24. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  25. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +8 -8
  26. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
  27. package/help/index.d.ts +219 -5
  28. package/index.d.ts +11 -5
  29. package/package.json +9 -9
  30. package/support.common/index.d.ts +289 -5
  31. package/support.ui/index.d.ts +79 -5
  32. package/tinymce/index.d.ts +50 -5
  33. package/ui/index.d.ts +373 -5
  34. package/ui.application/index.d.ts +1190 -4
  35. package/ui.oauth/index.d.ts +61 -5
@@ -1,5 +1,1411 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@arsedizioni/ars-utils/clipper.common" />
5
- export * from './public_api';
1
+ import * as _angular_core from '@angular/core';
2
+ import { Signal, OnDestroy } from '@angular/core';
3
+ import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
4
+ import { NameValueItem, LoginResult, Folder, ApiResult, FolderTree } from '@arsedizioni/ars-utils/core';
5
+ import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
6
+ import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
7
+ import * as rxjs from 'rxjs';
8
+ import { Observable, Subscription } from 'rxjs';
9
+ import * as _angular_common_module_d_yNBsZ8gb from '@angular/common/module.d-yNBsZ8gb';
10
+ import { ResetPasswordDialogResult, RecoverPasswordDialogData, RecoverPasswordDialogResult } from '@arsedizioni/ars-utils/ui';
11
+
12
+ declare const ClipperMessages: {
13
+ /**
14
+ * Messages
15
+ */
16
+ ERROR: string;
17
+ LOGIN_CHANGED: string;
18
+ LOGIN_COMPLETED: string;
19
+ LOGOUT_COMPLETED: string;
20
+ LOGOUT: string;
21
+ DOCUMENT_READ: string;
22
+ DOCUMENT_NAVIGATE: string;
23
+ DOCUMENT_NAVIGATED: string;
24
+ DOCUMENT_SELECTED: string;
25
+ DOCUMENT_SELECTED_INNER: string;
26
+ SETTINGS_CHANGED: string;
27
+ COMMAND_ARCHIVE_ADD: string;
28
+ COMMAND_CALENDAR_ADD: string;
29
+ COMMAND_WORKING_OPEN: string;
30
+ COMMAND_WORKING_ADD: string;
31
+ COMMAND_SEARCH_RESTORED: string;
32
+ COMMAND_SEARCH_EXECUTED: string;
33
+ COMMAND_HISTORY_OPEN: string;
34
+ COMMAND_DASHBOARD_UPDATED: string;
35
+ AI_CONCERN_ME: string;
36
+ AI_EXPLAIN: string;
37
+ AI_COMMENT: string;
38
+ AI_NEWS: string;
39
+ INTEROP_RS_NEW_LAW: string;
40
+ INTEROP_RS_NEW_ACTIVITY: string;
41
+ INTEROP_RS_USAGE_REPORT: string;
42
+ UPDATE_RELOAD: string;
43
+ };
44
+
45
+ declare enum ClipperServiceFlags {
46
+ None = 0,
47
+ NotifySystemErrors = 1,
48
+ DisplayConnectionStateMessages = 2
49
+ }
50
+ declare enum ClipperRecurrenceType {
51
+ Year = 1,
52
+ Month = 2,
53
+ Day = 3
54
+ }
55
+ declare const ClipperRecurrenceTypes: NameValueItem<ClipperRecurrenceType>[];
56
+ declare enum ClipperSelectionMode {
57
+ None = 0,
58
+ Single = 1,
59
+ TwoOrMore = 2,
60
+ Multi = 3
61
+ }
62
+ declare enum ClipperModuleGroup {
63
+ Home = 0,
64
+ NormativaVigente = 1,
65
+ UltimeNovità = 2,
66
+ ParApprofondire = 3,
67
+ DGInfo = 4,
68
+ Giurisprudenza = 5,
69
+ Calendario = 11,
70
+ Archivio = 12,
71
+ Evolution = 201,
72
+ Ars = 202,
73
+ Ricerca = 99
74
+ }
75
+ declare enum ClipperModule {
76
+ NormativaVigente = 4,
77
+ News = 1,
78
+ GazzetteBollettiniEFontiDiverse = 2,
79
+ Giurisprudenza = 5,
80
+ ModificheAbrogazioniERinvii = 3,
81
+ ScadenzeESegnalazioni = 12,
82
+ AllerteAlimentari = 8,
83
+ Approfondimenti = 6,
84
+ QuesitiECasiRisolti = 10,
85
+ MetodiDiAnalisi = 11,
86
+ DGInfo = 61,
87
+ Ricerca = 99,
88
+ GiurisprudenzaRecente = 18
89
+ }
90
+ declare enum ClipperModel {
91
+ Unknown = 0,
92
+ AggiornamentoNormativo = 2,
93
+ News = 3,
94
+ Articoli = 4,
95
+ Juris = 5,
96
+ Quesiti = 8,
97
+ NormativaVigente = 9,
98
+ Scadenze = 10,
99
+ Coordinamento = 11,
100
+ AllerteAlimentari = 13,
101
+ MetodiDiAnalisi = 14,
102
+ GiurisprudenzaRecente = 18,
103
+ Segnalazioni = 20,
104
+ UltimeNovità = 21
105
+ }
106
+ declare const ClipperModels: NameValueItem<number>[];
107
+ declare const ClipperModuleGroups: NameValueItem<number>[];
108
+ declare const ClipperModules: NameValueItem<number>[];
109
+ declare enum ClipperChannel {
110
+ None = 0,
111
+ LavoroEAmbiente = 1,
112
+ SostanzeAlimentari = 2,
113
+ MerciPericolose = 3,
114
+ Energia = 4,
115
+ DGInfo = 5
116
+ }
117
+ declare const ClipperChannels: NameValueItem<ClipperChannel>[];
118
+ interface ClipperAvailableChannel extends NameValueItem<ClipperChannel> {
119
+ active?: boolean;
120
+ }
121
+ declare const ClipperRegions: NameValueItem<string>[];
122
+ interface SectorInfo extends NameValueItem<string> {
123
+ group?: string;
124
+ channels?: string;
125
+ sectorId?: string;
126
+ }
127
+ declare const ClipperSectors: SectorInfo[];
128
+ declare const ClipperSectorTypes: NameValueItem<string>[];
129
+ declare const ClipperAuthors: SectorInfo[];
130
+ declare const ClipperSources: NameValueItem<string>[];
131
+ declare class ClipperUpdateChannelsStateParams {
132
+ activeChannels: ClipperChannel[];
133
+ }
134
+ interface ClipperChannelSettingsItem<T> {
135
+ name: string;
136
+ value: T;
137
+ checked: boolean;
138
+ }
139
+ declare class ClipperChannelSettings {
140
+ channelId: ClipperChannel;
141
+ channelName: string;
142
+ isEnabled?: boolean;
143
+ isActive?: boolean;
144
+ sectors: ClipperChannelSettingsItem<string>[];
145
+ regions: ClipperChannelSettingsItem<string>[];
146
+ /**
147
+ * Check at least one of sector values is contained in sectors list
148
+ * @param values : the admitted values
149
+ * @returns true if at least one value has been found
150
+ */
151
+ hasAnyOfSectors(values: string[]): boolean;
152
+ /**
153
+ * Check at least one of region values is contained in regions list
154
+ * @param values : the admitted values
155
+ * @returns true if at least one value has been found
156
+ */
157
+ hasAnyOfRegions(values: string[]): boolean;
158
+ }
159
+ interface ClipperUserChannelInfo {
160
+ channel: ClipperChannel;
161
+ channelName?: string;
162
+ expiringDate: string;
163
+ isTrial?: boolean;
164
+ isDisabled: boolean;
165
+ isDvd: boolean;
166
+ isActive: boolean;
167
+ documentsViewable?: number;
168
+ documentsViewed?: number;
169
+ settings?: ClipperChannelSettings;
170
+ }
171
+ interface ClipperUserInfo {
172
+ userId: number;
173
+ customerId?: number;
174
+ companyName: string;
175
+ displayName: string;
176
+ firstName: string;
177
+ email: string;
178
+ OAUTH?: boolean;
179
+ sessionId?: string;
180
+ scope: number;
181
+ isAuthenticated: boolean;
182
+ isTemporary: boolean;
183
+ hasTrial: boolean;
184
+ hasTeam: boolean;
185
+ hasAI: boolean;
186
+ hasAIAssistant: boolean;
187
+ hasAIEditor: boolean;
188
+ channels: ClipperUserChannelInfo[];
189
+ firstChannelTrial: ClipperUserChannelInfo;
190
+ trialInfo?: ClipperUserTrialInfo;
191
+ }
192
+ interface ClipperLoginResult extends LoginResult<ClipperUserInfo> {
193
+ settings?: ClipperChannelSettings[];
194
+ }
195
+ interface ClipperLoginInfo {
196
+ context: ClipperUserInfo;
197
+ complianceContext?: any;
198
+ channels?: ClipperChannelSettings[];
199
+ credentials?: string;
200
+ OAUTH?: LoginOAuthType;
201
+ }
202
+ declare class ClipperSearchParams {
203
+ version: number;
204
+ searchId?: number;
205
+ searchName?: string;
206
+ text?: string;
207
+ augmentedText?: string;
208
+ title?: string;
209
+ titleOnly?: boolean;
210
+ showUnreadDocumentsOnly?: boolean;
211
+ showCommentedDocumentsOnly?: boolean;
212
+ showNotAbrogatedDocumentsOnly?: boolean;
213
+ expandTextQueryUsingAI?: boolean;
214
+ number?: string;
215
+ fromDate?: Date;
216
+ toDate?: Date;
217
+ year?: number;
218
+ sourceNumber?: string;
219
+ source?: string;
220
+ sourceFromDate?: Date;
221
+ sourceToDate?: Date;
222
+ sourceYear?: number;
223
+ sector?: string;
224
+ sectors?: SectorInfo[];
225
+ topic?: string;
226
+ topics?: NameValueItem<string>[];
227
+ taxonomy?: string;
228
+ taxonomies?: NameValueItem<string>[];
229
+ taxonomyPath?: string;
230
+ taxonomyNode?: string;
231
+ type?: string;
232
+ types?: NameValueItem<string>[];
233
+ tag?: string;
234
+ tags?: NameValueItem<string>[];
235
+ author?: string;
236
+ authors?: NameValueItem<string>[];
237
+ changeReason?: number;
238
+ changedNumber?: string;
239
+ changedYear?: number;
240
+ changedTitle?: string;
241
+ changedId?: string;
242
+ modifierId?: string;
243
+ modifierNumber?: string;
244
+ modifierYear?: number;
245
+ modifierTitle?: string;
246
+ model?: ClipperModel;
247
+ models?: ClipperModel[];
248
+ module?: ClipperModule;
249
+ modules?: NameValueItem<ClipperModule>[];
250
+ mode?: ClipperQueryReferencesMode;
251
+ channels?: NameValueItem<ClipperChannel>[];
252
+ count?: number;
253
+ id?: string;
254
+ anchor?: string;
255
+ excludeTextReferences?: boolean;
256
+ excludeNotesReferences?: boolean;
257
+ useModifierInfo?: boolean;
258
+ returnModifierInfo?: boolean;
259
+ first?: number;
260
+ sortMode?: number;
261
+ }
262
+ interface ClipperReferencesSearchParams {
263
+ documentId: string;
264
+ year?: number;
265
+ sector?: string;
266
+ author?: string;
267
+ anchor?: string;
268
+ model?: string;
269
+ mode?: ClipperQueryReferencesMode;
270
+ excludeTextReferences?: boolean;
271
+ excludeNotesReferences?: boolean;
272
+ useModifierInfo?: boolean;
273
+ returnModifierInfo?: boolean;
274
+ count?: number;
275
+ first?: number;
276
+ }
277
+ declare enum ClipperDocumentContainer {
278
+ None = 0,
279
+ LavoroEAmbiente = 1,
280
+ SostanzeAlimentari = 2,
281
+ OrangeProject = 4,
282
+ Energia = 8,
283
+ DGInfo = 16,
284
+ DLGS231 = 32,
285
+ All = 63
286
+ }
287
+ declare const ClipperDocumentChangeReasons: NameValueItem<number>[];
288
+ interface ClipperDocumentAnchorInfo {
289
+ documentId: string;
290
+ type: number;
291
+ typeDescription: string;
292
+ text: string;
293
+ title?: string;
294
+ description?: string;
295
+ uri: string;
296
+ ordinal?: string;
297
+ score?: number;
298
+ veryRelevant?: boolean;
299
+ value?: string;
300
+ level?: number;
301
+ }
302
+ interface ClipperDocumentRelevants {
303
+ items: ClipperDocumentAnchorInfo[];
304
+ hits: number;
305
+ hit: number;
306
+ minimumScore: number;
307
+ }
308
+ interface ClipperDocumentInfo {
309
+ id?: string;
310
+ documentId?: string;
311
+ documentCode?: string;
312
+ model?: number;
313
+ modelName?: string;
314
+ module?: number;
315
+ moduleName?: string;
316
+ channelName?: string;
317
+ group?: string;
318
+ title2?: string;
319
+ title1?: string;
320
+ tags?: string;
321
+ topics?: string;
322
+ number?: string;
323
+ date?: Date;
324
+ description?: string;
325
+ publishingDate?: Date;
326
+ pictureId?: string;
327
+ sourceNumber?: string;
328
+ sourceDate?: Date;
329
+ source?: string;
330
+ sector?: string;
331
+ origin?: string;
332
+ originDescription?: string;
333
+ author?: string;
334
+ anchors?: ClipperDocumentAnchorInfo[];
335
+ taxonomy?: string;
336
+ info?: string;
337
+ isRead?: boolean;
338
+ isExportable?: boolean;
339
+ isCommented?: boolean;
340
+ isJuris?: boolean;
341
+ isOver?: boolean;
342
+ isTrial?: boolean;
343
+ isNew?: boolean;
344
+ isExpired?: boolean;
345
+ isExpiring?: boolean;
346
+ isMenuOpen?: boolean;
347
+ applicableFromDate?: Date;
348
+ validityState?: number;
349
+ validFromDate?: Date;
350
+ validUntilDate?: Date;
351
+ validityDescription?: string;
352
+ validityInfo?: string;
353
+ expiringDate?: Date;
354
+ expiringDescription?: string;
355
+ expiringInfo?: string;
356
+ popularity?: number;
357
+ part?: number;
358
+ primaryId?: string;
359
+ primaryDescription?: string;
360
+ primaryModel?: number;
361
+ hasPrimary?: boolean;
362
+ secondaryId?: string;
363
+ bag?: any;
364
+ lastUpdate?: string;
365
+ }
366
+ declare class ClipperSearchResult {
367
+ days?: string;
368
+ interval?: string;
369
+ items?: ClipperDocumentInfo[];
370
+ facets?: ClipperSearchFacetsSnapshot;
371
+ tags?: NameValueItem<string>[];
372
+ total?: number;
373
+ terms?: string[];
374
+ searchInfo?: any;
375
+ searchParams?: ClipperSearchParams;
376
+ snapshotMode?: ClipperQueryReferencesMode;
377
+ }
378
+ interface ClipperSearchFacet {
379
+ type: number;
380
+ typeName: string;
381
+ title: string;
382
+ value: string;
383
+ count: number;
384
+ }
385
+ interface ClipperSearchFacetGroup {
386
+ name: string;
387
+ selectedValue?: string;
388
+ selectedValueDescription?: string;
389
+ values: ClipperSearchFacet[];
390
+ index: number;
391
+ }
392
+ interface ClipperSearchFacetsResult {
393
+ interval?: string;
394
+ facets?: ClipperSearchFacet[][];
395
+ total?: number;
396
+ }
397
+ declare class ClipperSearchFacetsSnapshot {
398
+ groups: ClipperSearchFacetGroup[];
399
+ usedGroups: ClipperSearchFacetGroup[];
400
+ hasFacets: boolean;
401
+ hasMoreFacets: boolean;
402
+ hasTooManyResults: boolean;
403
+ sector?: string;
404
+ author?: string;
405
+ anchor?: string;
406
+ type?: string;
407
+ reason?: string;
408
+ fromDate?: Date;
409
+ toDate?: Date;
410
+ interval?: string;
411
+ changedInterval: boolean;
412
+ changedSector: boolean;
413
+ changedAuthor: boolean;
414
+ changedAnchor: boolean;
415
+ changedType: boolean;
416
+ changedReason: boolean;
417
+ }
418
+ interface ClipperSearchCalendarSnapshotMonth {
419
+ days: number[];
420
+ monthShortName: string;
421
+ monthName: string;
422
+ month: number;
423
+ year: number;
424
+ total: number;
425
+ expired: number;
426
+ expiring: number;
427
+ }
428
+ declare class ClipperSearchCalendarSnapshotResult {
429
+ months?: ClipperSearchCalendarSnapshotMonth[];
430
+ }
431
+ declare enum ClipperSort {
432
+ Default = 0,
433
+ Relevance = 1,
434
+ DateAsc = 2,
435
+ DateDesc = 3,
436
+ SourceDateAsc = 7,
437
+ SourceDateDesc = 8,
438
+ Popularity = 5
439
+ }
440
+ declare enum ClipperQueryReferencesMode {
441
+ ReferencesIn = 1,
442
+ ReferencesOut = 2,
443
+ ChangesIn = 3,
444
+ ChangesOut = 5,
445
+ Juris = 4
446
+ }
447
+ declare enum ClipperFacet {
448
+ Sector = 1,
449
+ Year = 2,
450
+ DocumentType = 3,
451
+ Topic = 4,
452
+ Article = 5,
453
+ Author = 6,
454
+ Reason = 95
455
+ }
456
+ interface ClipperOTPInfo {
457
+ code: string;
458
+ canPreview?: boolean;
459
+ canEmbed?: boolean;
460
+ }
461
+ declare enum ClipperExportDocumentsFormat {
462
+ Deafault = 1,
463
+ iCalendar = 2
464
+ }
465
+ interface ClipperExportDocumentsParams {
466
+ query: ClipperSearchParams;
467
+ ids: string[];
468
+ format?: ClipperExportDocumentsFormat;
469
+ }
470
+ interface ClipperSendDocumentsByEmailParams extends SendToDialogResult {
471
+ ids: string[];
472
+ public: string;
473
+ isCalendar: boolean;
474
+ }
475
+ interface ClipperDocumentStructure {
476
+ id: string;
477
+ title: string;
478
+ items?: ClipperDocumentAnchorInfo[];
479
+ }
480
+ interface ClipperSearchFilter {
481
+ container: ClipperDocumentContainer;
482
+ models: number[];
483
+ sectors: string[];
484
+ regions: string[];
485
+ notifications: number[];
486
+ isEnabled: boolean;
487
+ isActive: boolean;
488
+ }
489
+ interface ClipperTaxonomyParams {
490
+ countItems: boolean;
491
+ model: ClipperModel;
492
+ userFilters?: ClipperSearchFilter[];
493
+ }
494
+ interface ClipperUserSearch {
495
+ id?: number;
496
+ userId?: number;
497
+ name?: string;
498
+ module?: ClipperModule;
499
+ data?: string;
500
+ }
501
+ interface ClipperUserWorkingDocument {
502
+ userId?: number;
503
+ documentId?: string;
504
+ documentDescriptor?: string;
505
+ title1?: string;
506
+ title2?: string;
507
+ timestamp?: string;
508
+ }
509
+ interface ClipperDeleteWorkingDocumentsParams {
510
+ documentIds: string[];
511
+ deleteAll: boolean;
512
+ }
513
+ interface ClipperUserLink {
514
+ id?: number;
515
+ userId: number;
516
+ userName?: string;
517
+ key: string;
518
+ }
519
+ interface ClipperUserTrialInfo {
520
+ channelName: string;
521
+ expiringDate: Date;
522
+ remainingDocuments: number;
523
+ }
524
+ interface ClipperArsEventInfo {
525
+ id: number;
526
+ location?: string;
527
+ title?: string;
528
+ pictureId?: string;
529
+ date?: string;
530
+ endDate?: string;
531
+ startTime?: string;
532
+ endTime?: string;
533
+ hours?: number;
534
+ days?: number;
535
+ dateIntervalDescription?: string;
536
+ durationDescription?: string;
537
+ group?: string;
538
+ address?: string;
539
+ city?: string;
540
+ isOver?: boolean;
541
+ }
542
+ interface ClipperSearchArsEventsParams {
543
+ group?: string;
544
+ group1?: string;
545
+ collectGroups?: boolean;
546
+ collectBundles?: boolean;
547
+ fromDate?: string;
548
+ untilDate?: string;
549
+ text?: string;
550
+ sortBy?: string;
551
+ count: number;
552
+ }
553
+ interface ClipperSearchArsEventsResult {
554
+ interval?: string;
555
+ items?: ClipperArsEventInfo[];
556
+ total?: number;
557
+ }
558
+ interface ClipperDocumentUpdateStateParams {
559
+ documentIds: string[];
560
+ isRead: boolean;
561
+ }
562
+ interface ClipperDashboardModelItem {
563
+ id?: ClipperModel;
564
+ newItems?: number;
565
+ unreadItems?: number;
566
+ }
567
+ interface ClipperDashboardItem {
568
+ id?: ClipperModule;
569
+ models?: ClipperDashboardModelItem[];
570
+ newItems?: number;
571
+ unreadItems?: number;
572
+ lastUpdated?: string;
573
+ }
574
+ interface ClipperDashboardResult {
575
+ items?: ClipperDashboardItem[];
576
+ isTrial?: boolean;
577
+ expiredDeadlines?: number;
578
+ expiringDeadlines?: number;
579
+ documentUpdates?: number;
580
+ channels?: ClipperChannelSettings[];
581
+ }
582
+ declare class ClipperDashboard {
583
+ items: _angular_core.WritableSignal<ClipperDashboardItem[]>;
584
+ isTrial?: boolean;
585
+ expiredDeadlines?: number;
586
+ expiringDeadlines?: number;
587
+ documentUpdates?: number;
588
+ unreadItems: Signal<[ClipperModule, number][]>;
589
+ unreadItemsByModel: Signal<[ClipperModel, number][]>;
590
+ /**
591
+ * Update unread items
592
+ * @param module : the module
593
+ * @param model : the optional model
594
+ * @param increment : the increment (can be negative)
595
+ */
596
+ updateUnreadItems(module: ClipperModule, model: ClipperModel | undefined, increment: number): void;
597
+ /***
598
+ * Get the module unread items
599
+ * @param module: the module
600
+ * @param model : the optional model
601
+ * @returns the module unread items
602
+ */
603
+ getUnreadItems(module: ClipperModule, model?: ClipperModel): number;
604
+ /**
605
+ * Return total unread items
606
+ * @returns : the total unread items
607
+ */
608
+ gatTotalUnreadItems(): number;
609
+ }
610
+ interface ClipperDayItem {
611
+ day: string;
612
+ label: string;
613
+ items: ClipperDayGroup[];
614
+ count: number;
615
+ }
616
+ interface ClipperDayGroup {
617
+ model: ClipperModel;
618
+ label: string;
619
+ items: ClipperDocumentInfo[];
620
+ }
621
+ interface ClipperLastDaysResult {
622
+ items: ClipperDayItem[];
623
+ }
624
+ declare class ClipperTeamMemberInfo {
625
+ id: number;
626
+ teamId: string;
627
+ name?: string;
628
+ email?: string;
629
+ isAdmin?: boolean;
630
+ isDisabled?: boolean;
631
+ hasPermission55?: boolean;
632
+ hasPermission56?: boolean;
633
+ hasPermission57?: boolean;
634
+ isMenuOpen?: boolean;
635
+ isOver?: boolean;
636
+ }
637
+ declare enum ClipperTeamProduct {
638
+ SharedArchive = 1004676,
639
+ SharedCalendar = 1004683
640
+ }
641
+ declare enum ClipperTeamProductPermission {
642
+ SharedArchive = 56,
643
+ SharedCalendar = 57
644
+ }
645
+ interface ClipperTeamProductInfo {
646
+ permissionId: ClipperTeamProductPermission;
647
+ name: string;
648
+ maxMembers: number;
649
+ usedMembers: number;
650
+ }
651
+ interface ClipperTeamMembersSearchResult {
652
+ teamId?: string;
653
+ teamTitle?: string;
654
+ total?: number;
655
+ customerId?: number;
656
+ canEdit?: boolean;
657
+ products?: ClipperTeamProductInfo[];
658
+ items?: ClipperTeamMemberInfo[];
659
+ }
660
+ interface ClipperTeamsSearchParams {
661
+ teamId?: string;
662
+ permissionId?: number;
663
+ productId?: number;
664
+ adminsOnly?: boolean;
665
+ activeMembersOnly?: boolean;
666
+ includeRSTeams?: boolean;
667
+ }
668
+ interface ClipperTeamsSearchResult {
669
+ total: number;
670
+ items: NameValueItem<string>[];
671
+ }
672
+ declare class ClipperTeamInfo {
673
+ id?: string;
674
+ customerId?: number;
675
+ title?: string;
676
+ isDisabled?: boolean;
677
+ created?: string;
678
+ lastModified?: string;
679
+ }
680
+ declare enum ClipperCalendarState {
681
+ Open = 101,
682
+ Expired = 102,
683
+ Expiring = 103,
684
+ Closed = 104
685
+ }
686
+ declare const ClipperCalendarStates: NameValueItem<ClipperCalendarState>[];
687
+ declare class ClipperCalendarSearchParams {
688
+ id?: string;
689
+ fromDate?: Date;
690
+ toDate?: Date;
691
+ teamId?: string;
692
+ text?: string;
693
+ month?: number;
694
+ year?: number;
695
+ sortDescending?: boolean;
696
+ state?: ClipperCalendarState;
697
+ recurrentOnly?: boolean;
698
+ first?: number;
699
+ count?: number;
700
+ }
701
+ interface ClipperCalendarSearchResult {
702
+ interval: string;
703
+ items: ClipperDeadlineInfo[];
704
+ days: number[];
705
+ teams: NameValueItem<string>[];
706
+ total: number;
707
+ }
708
+ interface ClipperDeadlineInfo {
709
+ id?: string;
710
+ companyId?: number;
711
+ userId?: number;
712
+ teamId: string;
713
+ teamName?: string;
714
+ group?: string;
715
+ description?: string;
716
+ documentTitle?: string;
717
+ documentId?: string;
718
+ documentNumber?: string;
719
+ documentDate?: Date;
720
+ emails?: string;
721
+ expiringDate?: Date;
722
+ expiredAlertSent?: boolean;
723
+ expiringInfo?: string;
724
+ expiringDescription?: string;
725
+ nextExpiringDate?: Date;
726
+ alarmDays?: number;
727
+ alarmDate?: Date;
728
+ alarmMemo?: string;
729
+ alarmSent?: boolean;
730
+ hasAlarm?: boolean;
731
+ isMenuOpen?: boolean;
732
+ isOver?: boolean;
733
+ isExpired?: boolean;
734
+ isExpiring?: boolean;
735
+ isClosed?: boolean;
736
+ isClosable?: boolean;
737
+ isPrivate?: boolean;
738
+ isRecurrent?: boolean;
739
+ recurrencePatternType?: ClipperRecurrenceType;
740
+ recurrenceFrequency?: number;
741
+ recurrenceEndOfMonth?: boolean;
742
+ recurrenceNewId?: string;
743
+ outlookAppointmentId?: string;
744
+ created?: Date;
745
+ lastModified?: Date;
746
+ }
747
+ interface ClipperCalendarSaveDeadlineParams {
748
+ deadline: ClipperDeadlineInfo;
749
+ teamIds?: string[];
750
+ }
751
+ declare enum ClipperCalendarCopyMode {
752
+ Duplicate = 1,
753
+ Move = 2
754
+ }
755
+ interface ClipperCalendarCopyDeadlinesParams {
756
+ ids: string[];
757
+ teamId: string;
758
+ mode: ClipperCalendarCopyMode;
759
+ }
760
+ declare enum ClipperArchiveFileType {
761
+ None = 0,
762
+ Procedure = 1,
763
+ OperatingInstructions = 2,
764
+ TechnicalReport = 3,
765
+ AdministrativeDocument = 4,
766
+ Document = 5,
767
+ OtherApplicableRules = 6,
768
+ Other = 7,
769
+ File = 101,
770
+ Image = 102
771
+ }
772
+ declare const ClipperArchiveFileTypes: NameValueItem<ClipperArchiveFileType>[];
773
+ declare enum ClipperArchiveFileStorageType {
774
+ ArsCloud = 2,
775
+ OtherCloud = 3
776
+ }
777
+ declare const ClipperArchiveFileStorageTypes: NameValueItem<ClipperArchiveFileStorageType>[];
778
+ interface ClipperArchiveFileInfo {
779
+ id?: string;
780
+ parentFolderId?: string;
781
+ isFolder?: boolean;
782
+ folderId?: string;
783
+ folderName?: string;
784
+ folderItemsCount?: number;
785
+ teamId: string;
786
+ teamName?: string;
787
+ topicId?: string;
788
+ topicPath?: string;
789
+ topicName?: string;
790
+ topics?: string[];
791
+ tags?: string;
792
+ isPrivate?: boolean;
793
+ isFile?: boolean;
794
+ fileName?: string;
795
+ storageType?: ClipperArchiveFileStorageType;
796
+ isBinary?: boolean;
797
+ binaryId?: number;
798
+ binaryFilePath?: string;
799
+ isPermalink?: boolean;
800
+ fileType?: ClipperArchiveFileType;
801
+ file?: any;
802
+ notes?: string;
803
+ position?: number;
804
+ documentIds?: string;
805
+ documentLastChangedBy?: string;
806
+ documentLastChangedById?: string;
807
+ documentLastChangedReasonDescription?: string;
808
+ documentLastChanged?: Date;
809
+ documentUpdateState?: number;
810
+ isDocumentChanged?: boolean;
811
+ canPreview?: boolean;
812
+ canEmbed?: boolean;
813
+ channelName?: string;
814
+ model?: ClipperModel;
815
+ modelName?: string;
816
+ title1?: string;
817
+ title2?: string;
818
+ date?: Date;
819
+ number?: string;
820
+ origin?: string;
821
+ originDescription?: string;
822
+ documentId?: string;
823
+ documentCode?: string;
824
+ isDocument?: boolean;
825
+ isRead?: boolean;
826
+ isJuris?: boolean;
827
+ isMenuOpen?: boolean;
828
+ isOver?: boolean;
829
+ validityState?: number;
830
+ validUntilDate?: Date;
831
+ expiringDate?: Date;
832
+ expiringInfo?: string;
833
+ uniqueId: string;
834
+ }
835
+ interface ClipperArchiveFolderTree extends Folder {
836
+ subFolders: ClipperArchiveFolderTree[];
837
+ }
838
+ declare class ClipperArchiveFoldersSearchParams {
839
+ teamId?: string;
840
+ privateOnly?: boolean;
841
+ }
842
+ interface ClipperArchiveFoldersSearchResult {
843
+ name: string;
844
+ teams: NameValueItem<string>[];
845
+ files: ClipperArchiveFileInfo[];
846
+ subFolders: ClipperArchiveFolderTree[];
847
+ }
848
+ declare class ClipperArchiveFilesSearchParams {
849
+ teamId?: string;
850
+ folderId?: string;
851
+ folderName?: string;
852
+ fileType?: ClipperArchiveFileType;
853
+ fromDate?: Date;
854
+ toDate?: Date;
855
+ topicPath?: string;
856
+ topicId?: string;
857
+ topicName?: string;
858
+ titlesOnly?: boolean;
859
+ text?: string;
860
+ documentNumber?: string;
861
+ documentYear?: number;
862
+ first?: number;
863
+ count?: number;
864
+ }
865
+ interface ClipperArchiveFilesSearchResult {
866
+ items: ClipperArchiveFileInfo[];
867
+ folderName?: string;
868
+ total: number;
869
+ }
870
+ interface ClipperArchiveFoldersImportParams {
871
+ teamId: string;
872
+ destFolderId?: string;
873
+ sourcePath?: string;
874
+ sourceFileName?: string;
875
+ file?: any;
876
+ overwrite?: boolean;
877
+ version?: number;
878
+ }
879
+ declare enum ClipperArchiveCopyMode {
880
+ Duplicate = 1,
881
+ Move = 2
882
+ }
883
+ interface ClipperArchiveFilesCopyParams {
884
+ destTeamId: string;
885
+ destFolderId?: string;
886
+ files?: ClipperArchiveFileInfo[];
887
+ mode?: ClipperArchiveCopyMode;
888
+ }
889
+ interface ClipperArchiveFilesDeleteParams {
890
+ sourceFolderId?: string;
891
+ destFolderId?: string;
892
+ files?: ClipperArchiveFileInfo[];
893
+ }
894
+ declare class ClipperUtils {
895
+ /**
896
+ * Check if a model is readable
897
+ * @param model : the model to check
898
+ * @returns : true if the model is readable
899
+ */
900
+ static isClipperModelReadable(model: ClipperModel): boolean;
901
+ /**
902
+ * Return the Clipper module from a document
903
+ * @param item: the documenti item
904
+ * @returns the module id
905
+ */
906
+ static getClipperModuleFromModel(item: ClipperDocumentInfo): ClipperModule | undefined;
907
+ /**
908
+ * Return the Clipper group name
909
+ * @param value: the group value
910
+ * @returns the group name
911
+ */
912
+ static getClipperModuleGroupName(value: ClipperModuleGroup): string;
913
+ /**
914
+ * Return the list of modules of a group
915
+ * @param value: the module name
916
+ * @returns the list of modules
917
+ */
918
+ static getClipperModuleGroupItems(value: ClipperModuleGroup): NameValueItem<ClipperModule>[];
919
+ /**
920
+ * Check modules against current selected in filter
921
+ * @param modules : the modules to check for
922
+ * @param mode : thc check mode: 1) exactly all elements 2) all elements 3) any of the elements specified
923
+ * @returns true if the check is successfull
924
+ */
925
+ private static checkModules;
926
+ /**
927
+ * Return the list of available sort options for a list of modules
928
+ * @param modules : the modules list
929
+ * @returns the list of availbale sort options
930
+ */
931
+ static getClipperAvailableSortOptions(modules?: NameValueItem<ClipperModule>[], params?: ClipperSearchParams): NameValueItem<ClipperSort>[];
932
+ }
933
+ declare class ClipperSearchUtils {
934
+ /**
935
+ * Clear the search params object
936
+ * @param params : the search params to clear
937
+ */
938
+ static clear(params: ClipperSearchParams): void;
939
+ /**
940
+ * Get hte model list related to a list of modules
941
+ * @param modules: the modules to check
942
+ * @returns the list fo models
943
+ */
944
+ static getModulesModels(modules?: NameValueItem<ClipperModule>[]): ClipperModel[];
945
+ /**
946
+ * Check if current filter is a text based search
947
+ * @param params : the search params to check
948
+ * @returns true if is a text based search
949
+ */
950
+ static isTextQuery(params: ClipperSearchParams): boolean;
951
+ /**
952
+ * Try to add a query
953
+ * @param q : the new query
954
+ * @param queries : the new query
955
+ */
956
+ private static concatTextQuery;
957
+ /**
958
+ * Normalize text query
959
+ * @param text : the text query to normalize
960
+ * @returns : the text normalized or undefined
961
+ */
962
+ static normalizeTextQuery(text: string): string | undefined;
963
+ }
964
+
965
+ declare class ClipperAuthInterceptor implements HttpInterceptor {
966
+ private clipperService;
967
+ private broadcastService;
968
+ private lastErrorTime;
969
+ intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
970
+ /**
971
+ * Handle 401 error
972
+ * @param request : the request
973
+ * @param next : the http handler
974
+ */
975
+ private handle401Error;
976
+ /**
977
+ * Add token to request
978
+ * @param request : the request
979
+ * @param token: the token or null to use curre3nt
980
+ */
981
+ private addTokenToRequest;
982
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClipperAuthInterceptor, never>;
983
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ClipperAuthInterceptor>;
984
+ }
985
+
986
+ declare class ClipperService implements OnDestroy {
987
+ private httpClient;
988
+ private broadcastServiceSubscription?;
989
+ private broadcastService;
990
+ private dialogService;
991
+ private keepAlive;
992
+ private _appUri?;
993
+ get appUri(): string;
994
+ private _serviceUri;
995
+ get serviceUri(): string;
996
+ private _flags;
997
+ get flags(): ClipperServiceFlags;
998
+ private _loginInfo?;
999
+ get loginInfo(): ClipperLoginInfo | undefined;
1000
+ readonly loggedIn: _angular_core.WritableSignal<boolean>;
1001
+ readonly loggingIn: _angular_core.WritableSignal<boolean>;
1002
+ readonly snapshot: _angular_core.WritableSignal<ClipperSearchResult>;
1003
+ readonly supportsRS: _angular_core.WritableSignal<boolean>;
1004
+ readonly shouldRefreshToken: _angular_core.WritableSignal<boolean>;
1005
+ readonly referencesSnapshot: _angular_core.WritableSignal<ClipperSearchResult>;
1006
+ readonly dashboard: ClipperDashboard;
1007
+ readonly bag: _angular_core.WritableSignal<ClipperDocumentInfo[]>;
1008
+ readonly bagTotal: Signal<number>;
1009
+ readonly visible: _angular_core.WritableSignal<boolean>;
1010
+ private _teams;
1011
+ get teams(): NameValueItem<string>[];
1012
+ currentTeamId: _angular_core.WritableSignal<string>;
1013
+ currentTeamName: _angular_core.WritableSignal<string>;
1014
+ currentTeamIsPrivate: Signal<boolean>;
1015
+ readonly availableChannels: _angular_core.WritableSignal<ClipperAvailableChannel[]>;
1016
+ readonly activeChannels: Signal<ClipperAvailableChannel[]>;
1017
+ readonly allowTags: _angular_core.WritableSignal<boolean>;
1018
+ ngOnDestroy(): void;
1019
+ /**
1020
+ * Initialize service
1021
+ * @param serviceUri : the service uri
1022
+ * @param appUri : the clipper application uri
1023
+ * @param flags: the service flags. Default is none.
1024
+ */
1025
+ initialize(serviceUri: string, appUri?: string, flags?: ClipperServiceFlags): void;
1026
+ /**
1027
+ * Get access token expiration date
1028
+ */
1029
+ private getTokenExpirationDate;
1030
+ /**
1031
+ * Checks if access token in expired
1032
+ */
1033
+ isTokenExpired(): boolean;
1034
+ /**
1035
+ * Set keep alive
1036
+ */
1037
+ private setKeepAlive;
1038
+ /**
1039
+ * Remove keep alive
1040
+ */
1041
+ private removeKeepAlive;
1042
+ /**
1043
+ * Ping
1044
+ */
1045
+ ping(): void;
1046
+ /**
1047
+ * Set JWT tokens
1048
+ * @param value : the login result
1049
+ */
1050
+ private setToken;
1051
+ /**
1052
+ * Return current JWT token
1053
+ * @param refresh: true to get the refresh token. Default is false.
1054
+ */
1055
+ getToken(refresh?: boolean): string;
1056
+ /**
1057
+ * Store login info
1058
+ */
1059
+ storeLogin(): void;
1060
+ /**
1061
+ * Perform auto login using current link data
1062
+ * @param email: the optional email if using OAuth2
1063
+ * @parma password: the optional password if using OAuth2
1064
+ * @param remember: remember credentials
1065
+ * @param oauth: the optional open authentication supported
1066
+ * @param oauthAccessToken: the optional OAuth2 access token
1067
+ * @param onSucces: function to execute on seccess
1068
+ */
1069
+ autoLogin(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined, onSucces?: Function): boolean;
1070
+ /**
1071
+ * Perform auto logout
1072
+ * @param onSuccess: function to execute on success
1073
+ */
1074
+ autoLogout(onSuccess?: Function): void;
1075
+ /**
1076
+ * Perform login
1077
+ * @param email: the optioanl email if using OAuth2
1078
+ * @parma password: the optional password if using OAuth2
1079
+ * @param remember: remember credentials
1080
+ * @param oauth: the optional open authentication supported
1081
+ * @param oauthAccessToken: the optional OAuth2 access token
1082
+ * @returns: the login result
1083
+ */
1084
+ login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined): rxjs.Observable<ApiResult<ClipperLoginResult>>;
1085
+ /**
1086
+ * Perform logout
1087
+ */
1088
+ logout(): rxjs.Observable<any>;
1089
+ /**
1090
+ * Reset login refresh timer and login state
1091
+ */
1092
+ reset(): void;
1093
+ /**
1094
+ * Clear login data
1095
+ * @param clearOAuthToken: true to clear oauth token also
1096
+ */
1097
+ clear(clearOAuthToken?: boolean): void;
1098
+ /**
1099
+ * Perform token refresh
1100
+ */
1101
+ refresh(): rxjs.Observable<ApiResult<ClipperLoginResult>>;
1102
+ /**
1103
+ * Initialize channels
1104
+ */
1105
+ private initializeChannels;
1106
+ /**
1107
+ * Update channels
1108
+ * @param values : the new channel values
1109
+ */
1110
+ updateChannels(values: NameValueItem<ClipperChannel>[]): void;
1111
+ /**
1112
+ * Get a new one time password
1113
+ * @param id: the optional repository id
1114
+ */
1115
+ newOTP(id: string): rxjs.Observable<ApiResult<ClipperOTPInfo>>;
1116
+ /**
1117
+ * Load Ars events calendar
1118
+ */
1119
+ events(params: ClipperSearchArsEventsParams): rxjs.Observable<ApiResult<ClipperSearchArsEventsResult>>;
1120
+ /**
1121
+ * Query documents
1122
+ */
1123
+ query(params: ClipperSearchParams): rxjs.Observable<ApiResult<ClipperSearchResult>>;
1124
+ /**
1125
+ * Get facets for a query
1126
+ */
1127
+ queryFacets(params: ClipperSearchParams): rxjs.Observable<ApiResult<ClipperSearchFacetsResult>>;
1128
+ /**
1129
+ * Update document state
1130
+ */
1131
+ updateState(params: ClipperDocumentUpdateStateParams): rxjs.Observable<ApiResult<number>>;
1132
+ /**
1133
+ * Export a document in pdf format
1134
+ */
1135
+ exportPdf(id: string): rxjs.Observable<Blob>;
1136
+ /**
1137
+ * Export document list (query or selected items) or export deadlines as ics
1138
+ */
1139
+ export(params: ClipperExportDocumentsParams): rxjs.Observable<Blob>;
1140
+ /**
1141
+ * Send documents link by email
1142
+ */
1143
+ sendTo(params: ClipperSendDocumentsByEmailParams): rxjs.Observable<ApiResult<number>>;
1144
+ /**
1145
+ * Display a page the full document report
1146
+ */
1147
+ report(id: string): rxjs.Observable<Blob>;
1148
+ /**
1149
+ * Get document comment
1150
+ */
1151
+ comment(id: string): rxjs.Observable<ApiResult<string>>;
1152
+ /**
1153
+ * Get document info
1154
+ */
1155
+ info(id: string): rxjs.Observable<ApiResult<ClipperDocumentInfo>>;
1156
+ /**
1157
+ * Get document structure
1158
+ */
1159
+ index(id: string): rxjs.Observable<ApiResult<ClipperDocumentStructure>>;
1160
+ /**
1161
+ * Get document last update
1162
+ */
1163
+ lastUpdate(id: string): rxjs.Observable<ApiResult<string>>;
1164
+ /**
1165
+ * Query document references
1166
+ */
1167
+ references(params: ClipperReferencesSearchParams): rxjs.Observable<ApiResult<ClipperSearchResult>>;
1168
+ /**
1169
+ * Get facets for a document references
1170
+ */
1171
+ referencesFacets(params: ClipperReferencesSearchParams): rxjs.Observable<ApiResult<ClipperSearchFacetsResult>>;
1172
+ /**
1173
+ * Wrap document rendering to allow token refresh
1174
+ */
1175
+ preRender(): rxjs.Observable<ApiResult<boolean>>;
1176
+ /**
1177
+ * Get document juris articles
1178
+ */
1179
+ jurisArticles(params: ClipperSearchParams): rxjs.Observable<ApiResult<ClipperSearchResult>>;
1180
+ /**
1181
+ * Get deadlines snapshot based on the deadlines
1182
+ */
1183
+ deadlinesSnapshot(params: ClipperCalendarSearchParams): rxjs.Observable<ApiResult<ClipperSearchCalendarSnapshotResult>>;
1184
+ /**
1185
+ * Retrieve the taxonomy
1186
+ */
1187
+ getTaxonomy(params?: ClipperTaxonomyParams): rxjs.Observable<ApiResult<FolderTree>>;
1188
+ /**
1189
+ * Retrieve topics
1190
+ */
1191
+ getTopics(): rxjs.Observable<ApiResult<NameValueItem<string>[]>>;
1192
+ /**
1193
+ * Retrieve topics as tree
1194
+ */
1195
+ getTopicsAsTree(): rxjs.Observable<ApiResult<FolderTree>>;
1196
+ /**
1197
+ * Retrieve tags
1198
+ */
1199
+ getTags(): rxjs.Observable<ApiResult<NameValueItem<string>[]>>;
1200
+ /**
1201
+ * Retrieve current dashboard
1202
+ */
1203
+ loadDashboard(): Subscription;
1204
+ /**
1205
+ * Retrieve last 15 days
1206
+ * @param params : the query params
1207
+ */
1208
+ last15Days(params: ClipperSearchParams): rxjs.Observable<ApiResult<ClipperLastDaysResult>>;
1209
+ /**
1210
+ * Update unread items
1211
+ * @param module : the module
1212
+ * @param model : the optional model
1213
+ * @param increment : the increment (can be negative)
1214
+ */
1215
+ updateUnreadItems(module: ClipperModule, model?: ClipperModel, increment?: number): void;
1216
+ /**
1217
+ * Save a user link
1218
+ * @param item: the user link
1219
+ */
1220
+ saveLink(item: ClipperUserLink): rxjs.Observable<ApiResult<boolean>>;
1221
+ /**
1222
+ * Delete a user link
1223
+ * @param item: the user link
1224
+ */
1225
+ deleteLink(item: ClipperUserLink): rxjs.Observable<ApiResult<boolean>>;
1226
+ /**
1227
+ * Load working documents
1228
+ */
1229
+ loadBag(): Subscription;
1230
+ /**
1231
+ * Add one or more working document
1232
+ * @param documentIds : the document ids to add
1233
+ */
1234
+ addToBag(documentIds: string[]): Subscription;
1235
+ /**
1236
+ * Remove one working document
1237
+ * @param documentId : the document id
1238
+ */
1239
+ removeFromBag(documentId: string): Subscription;
1240
+ /**
1241
+ * Clear all working documents
1242
+ */
1243
+ clearBag(): Subscription;
1244
+ /**
1245
+ * Load working searches
1246
+ * @param: module: the module to load searches for
1247
+ */
1248
+ loadSearches(module: ClipperModule): rxjs.Observable<ApiResult<ClipperUserSearch[]>>;
1249
+ /**
1250
+ * Save a working search
1251
+ * @param params : the clipper user search
1252
+ */
1253
+ saveSearch(params: ClipperUserSearch): rxjs.Observable<ApiResult<ClipperUserSearch>>;
1254
+ /**
1255
+ * Remove one working search
1256
+ * @param id : the id to remove
1257
+ */
1258
+ deleteSearch(id: number): rxjs.Observable<ApiResult<number>>;
1259
+ /**
1260
+ * Reset a user password
1261
+ * @param params parameters
1262
+ */
1263
+ resetPassword(params: any): rxjs.Observable<ApiResult<ResetPasswordDialogResult>>;
1264
+ /**
1265
+ * Recover password
1266
+ * @param params parameters
1267
+ */
1268
+ recoverPassword(params: RecoverPasswordDialogData): rxjs.Observable<ApiResult<RecoverPasswordDialogResult>>;
1269
+ /**
1270
+ * Update settings
1271
+ * @param params parameters
1272
+ */
1273
+ updateSettings(params: any): rxjs.Observable<ApiResult<boolean>>;
1274
+ /**
1275
+ * Update channel state
1276
+ * @param id: the channel id (1, 2, 3, 4)
1277
+ */
1278
+ updateChannelsState(params: ClipperUpdateChannelsStateParams): rxjs.Observable<ApiResult<ClipperDashboardResult>>;
1279
+ /**
1280
+ * Get trial info
1281
+ */
1282
+ private getTrialInfo;
1283
+ /**
1284
+ * Update trial info
1285
+ */
1286
+ updateTrialInfo(): void;
1287
+ /**
1288
+ * Rename a team
1289
+ * @param newName : the new name
1290
+ */
1291
+ renameTeam(newName: string): rxjs.Observable<ApiResult<ClipperTeamInfo>>;
1292
+ /**
1293
+ * Retrieve teams
1294
+ */
1295
+ getTeams(params: ClipperTeamsSearchParams): rxjs.Observable<ApiResult<ClipperTeamsSearchResult>>;
1296
+ /**
1297
+ * Retrieve team members
1298
+ */
1299
+ getTeamMembers(params: ClipperTeamsSearchParams): rxjs.Observable<ApiResult<ClipperTeamMembersSearchResult>>;
1300
+ /**
1301
+ * Delete members
1302
+ * @param ids: the id list to delete
1303
+ */
1304
+ deleteTeamMembers(ids: number[]): rxjs.Observable<ApiResult<number>>;
1305
+ /**
1306
+ * Save member
1307
+ * @param item: the item to save
1308
+ */
1309
+ saveTeamMember(item: ClipperTeamMemberInfo): rxjs.Observable<ApiResult<ClipperTeamMemberInfo>>;
1310
+ /**
1311
+ * Query calendar
1312
+ */
1313
+ queryCalendar(params: ClipperCalendarSearchParams): rxjs.Observable<ApiResult<ClipperCalendarSearchResult>>;
1314
+ /**
1315
+ * Get the calendar snapshot
1316
+ */
1317
+ calendarSnapshot(params: ClipperCalendarSearchParams): rxjs.Observable<ApiResult<ClipperSearchCalendarSnapshotResult>>;
1318
+ /**
1319
+ * Delete one or more items
1320
+ * @param ids: ids to delete
1321
+ */
1322
+ deleteCalendarDeadlines(ids: string[]): rxjs.Observable<ApiResult<number>>;
1323
+ /**
1324
+ * Copy one or more items
1325
+ * @param params parameters
1326
+ */
1327
+ copyCalendarDeadlines(params: ClipperCalendarCopyDeadlinesParams): rxjs.Observable<ApiResult<number>>;
1328
+ /**
1329
+ * Close a deadline
1330
+ * @param id : the id to close
1331
+ */
1332
+ closeCalendarDeadline(id: string): rxjs.Observable<ApiResult<ClipperDeadlineInfo>>;
1333
+ /**
1334
+ * Save an item
1335
+ * @param params parameters
1336
+ */
1337
+ saveCalendarDeadline(params: ClipperCalendarSaveDeadlineParams): rxjs.Observable<ApiResult<ClipperDeadlineInfo[]>>;
1338
+ /**
1339
+ * Retrive a n item
1340
+ * @param id : the item id
1341
+ */
1342
+ getCalendarDeadline(id: string): rxjs.Observable<ApiResult<ClipperDeadlineInfo>>;
1343
+ /**
1344
+ * Export to iCalendar format
1345
+ * @param ids : deadlines to export
1346
+ */
1347
+ exportCalendarDeadlines(ids: string[]): rxjs.Observable<Blob>;
1348
+ /**
1349
+ * Retrieve all folders
1350
+ * @param params : parameters
1351
+ */
1352
+ getArchiveFolders(params: ClipperArchiveFoldersSearchParams): rxjs.Observable<ApiResult<ClipperArchiveFoldersSearchResult>>;
1353
+ /**
1354
+ * Save folder
1355
+ * @param params : parameters
1356
+ */
1357
+ saveArchiveFolder(params: Folder): rxjs.Observable<ApiResult<Folder>>;
1358
+ /**
1359
+ * Export folders
1360
+ * @param id: the folder id or undefined to export all folders
1361
+ * @param teamId: the optional team id. Default undefined (personal)
1362
+ */
1363
+ exportArchiveFolders(id?: string, teamId?: string): rxjs.Observable<Blob>;
1364
+ /**
1365
+ * Import folders
1366
+ * @param params : parameters
1367
+ */
1368
+ importArchiveFolders(params: ClipperArchiveFoldersImportParams): rxjs.Observable<_angular_common_module_d_yNBsZ8gb.HttpEvent<unknown>>;
1369
+ /**
1370
+ * Get files and folders
1371
+ * @param params : parameters
1372
+ */
1373
+ queryArchiveItems(params: ClipperArchiveFilesSearchParams): rxjs.Observable<ApiResult<ClipperArchiveFilesSearchResult>>;
1374
+ /**
1375
+ * Delete file and folders
1376
+ * @param params parameters
1377
+ */
1378
+ deleteArchiveItems(params: ClipperArchiveFilesDeleteParams): rxjs.Observable<ApiResult<number>>;
1379
+ /**
1380
+ * Copy file and folders to another folder or the same
1381
+ * @param params parameters
1382
+ */
1383
+ copyArchiveItems(params: ClipperArchiveFilesCopyParams): rxjs.Observable<ApiResult<number>>;
1384
+ /**
1385
+ * Save a file
1386
+ * @param params : parameters
1387
+ */
1388
+ saveArchiveFile(params: ClipperArchiveFileInfo): rxjs.Observable<_angular_common_module_d_yNBsZ8gb.HttpEvent<unknown>>;
1389
+ /**
1390
+ * Get file data
1391
+ * @param id : the item id
1392
+ */
1393
+ getArchiveFile(id: string): rxjs.Observable<ApiResult<ClipperArchiveFileInfo>>;
1394
+ /**
1395
+ * Download file
1396
+ * @param id : the binary id to download
1397
+ * @param otp : the optional one time password
1398
+ */
1399
+ downloadArchiveFile(id: number, otp?: string): rxjs.Observable<Blob>;
1400
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClipperService, never>;
1401
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ClipperService>;
1402
+ }
1403
+
1404
+ declare class ArsClipperCommonModule {
1405
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArsClipperCommonModule, never>;
1406
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<ArsClipperCommonModule, never, never, never>;
1407
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<ArsClipperCommonModule>;
1408
+ }
1409
+
1410
+ export { ArsClipperCommonModule, ClipperArchiveCopyMode, ClipperArchiveFileStorageType, ClipperArchiveFileStorageTypes, ClipperArchiveFileType, ClipperArchiveFileTypes, ClipperArchiveFilesSearchParams, ClipperArchiveFoldersSearchParams, ClipperAuthInterceptor, ClipperAuthors, ClipperCalendarCopyMode, ClipperCalendarSearchParams, ClipperCalendarState, ClipperCalendarStates, ClipperChannel, ClipperChannelSettings, ClipperChannels, ClipperDashboard, ClipperDocumentChangeReasons, ClipperDocumentContainer, ClipperExportDocumentsFormat, ClipperFacet, ClipperMessages, ClipperModel, ClipperModels, ClipperModule, ClipperModuleGroup, ClipperModuleGroups, ClipperModules, ClipperQueryReferencesMode, ClipperRecurrenceType, ClipperRecurrenceTypes, ClipperRegions, ClipperSearchCalendarSnapshotResult, ClipperSearchFacetsSnapshot, ClipperSearchParams, ClipperSearchResult, ClipperSearchUtils, ClipperSectorTypes, ClipperSectors, ClipperSelectionMode, ClipperService, ClipperServiceFlags, ClipperSort, ClipperSources, ClipperTeamInfo, ClipperTeamMemberInfo, ClipperTeamProduct, ClipperTeamProductPermission, ClipperUpdateChannelsStateParams, ClipperUtils };
1411
+ export type { ClipperArchiveFileInfo, ClipperArchiveFilesCopyParams, ClipperArchiveFilesDeleteParams, ClipperArchiveFilesSearchResult, ClipperArchiveFolderTree, ClipperArchiveFoldersImportParams, ClipperArchiveFoldersSearchResult, ClipperArsEventInfo, ClipperAvailableChannel, ClipperCalendarCopyDeadlinesParams, ClipperCalendarSaveDeadlineParams, ClipperCalendarSearchResult, ClipperChannelSettingsItem, ClipperDashboardItem, ClipperDashboardModelItem, ClipperDashboardResult, ClipperDayGroup, ClipperDayItem, ClipperDeadlineInfo, ClipperDeleteWorkingDocumentsParams, ClipperDocumentAnchorInfo, ClipperDocumentInfo, ClipperDocumentRelevants, ClipperDocumentStructure, ClipperDocumentUpdateStateParams, ClipperExportDocumentsParams, ClipperLastDaysResult, ClipperLoginInfo, ClipperLoginResult, ClipperOTPInfo, ClipperReferencesSearchParams, ClipperSearchArsEventsParams, ClipperSearchArsEventsResult, ClipperSearchCalendarSnapshotMonth, ClipperSearchFacet, ClipperSearchFacetGroup, ClipperSearchFacetsResult, ClipperSearchFilter, ClipperSendDocumentsByEmailParams, ClipperTaxonomyParams, ClipperTeamMembersSearchResult, ClipperTeamProductInfo, ClipperTeamsSearchParams, ClipperTeamsSearchResult, ClipperUserChannelInfo, ClipperUserInfo, ClipperUserLink, ClipperUserSearch, ClipperUserTrialInfo, ClipperUserWorkingDocument, SectorInfo };