@arsedizioni/ars-utils 18.2.406 → 18.2.407
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 +82 -5
- package/clipper.common/common/services/clipper.service.d.ts +47 -4
- package/esm2022/clipper.common/common/definitions.mjs +6 -1
- package/esm2022/clipper.common/common/services/clipper.service.mjs +74 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +79 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -469,7 +469,7 @@ export interface ClipperArsEventInfo {
|
|
|
469
469
|
city?: string | null;
|
|
470
470
|
isOver?: boolean | null;
|
|
471
471
|
}
|
|
472
|
-
export interface
|
|
472
|
+
export interface ClipperSearchArsEventsParams {
|
|
473
473
|
group?: string | null;
|
|
474
474
|
group1?: string | null;
|
|
475
475
|
collectGroups?: boolean | null;
|
|
@@ -480,7 +480,7 @@ export interface ClipperQueryArsEventsParams {
|
|
|
480
480
|
sortBy?: string | null;
|
|
481
481
|
count: number;
|
|
482
482
|
}
|
|
483
|
-
export interface
|
|
483
|
+
export interface ClipperSearchArsEventsResult {
|
|
484
484
|
interval?: string | null;
|
|
485
485
|
items?: ClipperArsEventInfo[] | null;
|
|
486
486
|
total?: number | null;
|
|
@@ -539,7 +539,7 @@ export interface ClipperTeamProductInfo {
|
|
|
539
539
|
maxMembers: number;
|
|
540
540
|
usedMembers: number;
|
|
541
541
|
}
|
|
542
|
-
export interface
|
|
542
|
+
export interface ClipperSearchTeamMembersResult {
|
|
543
543
|
teamId?: string | null;
|
|
544
544
|
teamTitle?: string | null;
|
|
545
545
|
total?: number | null;
|
|
@@ -548,14 +548,14 @@ export interface ClipperQueryTeamMembersResult {
|
|
|
548
548
|
products?: ClipperTeamProductInfo[] | null;
|
|
549
549
|
items?: ClipperTeamMemberInfo[] | null;
|
|
550
550
|
}
|
|
551
|
-
export interface
|
|
551
|
+
export interface ClipperSearchTeamsParams {
|
|
552
552
|
teamId?: string | null;
|
|
553
553
|
permissionId?: number | null;
|
|
554
554
|
productId?: number | null;
|
|
555
555
|
activeMembersOnly?: boolean | null;
|
|
556
556
|
includeRSTeams?: boolean | null;
|
|
557
557
|
}
|
|
558
|
-
export interface
|
|
558
|
+
export interface ClipperSearchTeamsResult {
|
|
559
559
|
total: number;
|
|
560
560
|
items: NameValueItem<string>[];
|
|
561
561
|
}
|
|
@@ -567,6 +567,83 @@ export declare class ClipperTeamInfo {
|
|
|
567
567
|
created?: string | null;
|
|
568
568
|
lastModified?: string | null;
|
|
569
569
|
}
|
|
570
|
+
export interface ClipperSearchCalendarParams {
|
|
571
|
+
id?: string | null;
|
|
572
|
+
fromDate?: Date | null;
|
|
573
|
+
toDate?: Date | null;
|
|
574
|
+
teamId?: string | null;
|
|
575
|
+
text?: string | null;
|
|
576
|
+
month?: number | null;
|
|
577
|
+
year?: number | null;
|
|
578
|
+
sortDescending?: boolean | null;
|
|
579
|
+
showPrivateDeadlinesOnly?: boolean | null;
|
|
580
|
+
showOpenDeadlinesOnly?: boolean | null;
|
|
581
|
+
showExpiringDeadlinesOnly?: boolean | null;
|
|
582
|
+
showExpiredDeadlinesOnly?: boolean | null;
|
|
583
|
+
showClosedDeadlinesOnly?: boolean | null;
|
|
584
|
+
recurrentOnly?: boolean | null;
|
|
585
|
+
documentNumber?: string | null;
|
|
586
|
+
documentYear?: number | null;
|
|
587
|
+
first: number;
|
|
588
|
+
count: number;
|
|
589
|
+
}
|
|
590
|
+
export interface ClipperSearchCalendarResult {
|
|
591
|
+
interval: string;
|
|
592
|
+
items: ClipperDeadlineInfo[];
|
|
593
|
+
days: number[];
|
|
594
|
+
teams: NameValueItem<string>[];
|
|
595
|
+
total: number;
|
|
596
|
+
}
|
|
597
|
+
export interface ClipperDeadlineInfo {
|
|
598
|
+
id?: string | null;
|
|
599
|
+
companyId?: number | null;
|
|
600
|
+
userId?: number | null;
|
|
601
|
+
teamId?: string | null;
|
|
602
|
+
teamName?: string | null;
|
|
603
|
+
documentModel?: number | null;
|
|
604
|
+
documentId?: string | null;
|
|
605
|
+
documentTitle?: string | null;
|
|
606
|
+
documentUrl?: string | null;
|
|
607
|
+
documentNumber?: string | null;
|
|
608
|
+
documentDate?: string | null;
|
|
609
|
+
documentLastChanged?: string | null;
|
|
610
|
+
documentLastChangedBy?: string | null;
|
|
611
|
+
documentLastChangedById?: string | null;
|
|
612
|
+
documentLastChangedReason?: number | null;
|
|
613
|
+
documentLastChangedReasonDescription?: string | null;
|
|
614
|
+
documentUpdateState?: number | null;
|
|
615
|
+
description?: string | null;
|
|
616
|
+
emails?: string | null;
|
|
617
|
+
expiringDate?: Date | null;
|
|
618
|
+
expiredAlertSent?: boolean | null;
|
|
619
|
+
expiringInfo?: string | null;
|
|
620
|
+
nextExpiringDate?: Date | null;
|
|
621
|
+
alarmDays?: number | null;
|
|
622
|
+
alarmDate?: Date | null;
|
|
623
|
+
alarmMemo?: string | null;
|
|
624
|
+
alarmSent?: boolean | null;
|
|
625
|
+
isExpired?: boolean | null;
|
|
626
|
+
isClosed?: boolean | null;
|
|
627
|
+
isClosable?: boolean | null;
|
|
628
|
+
isPrivate?: boolean | null;
|
|
629
|
+
isRecurrent?: boolean | null;
|
|
630
|
+
recurrencePatternType?: number | null;
|
|
631
|
+
recurrenceFrequency?: number | null;
|
|
632
|
+
recurrenceEndOfMonth?: boolean | null;
|
|
633
|
+
recurrenceNewId?: string | null;
|
|
634
|
+
outlookAppointmentId?: string | null;
|
|
635
|
+
created?: Date | null;
|
|
636
|
+
lastModified?: Date | null;
|
|
637
|
+
}
|
|
638
|
+
export declare enum ClipperCalendarCopyMode {
|
|
639
|
+
Duplicate = 1,
|
|
640
|
+
Move = 2
|
|
641
|
+
}
|
|
642
|
+
export interface ClipperCalendarCopyDeadlinesParams {
|
|
643
|
+
ids: string[];
|
|
644
|
+
teamId: string;
|
|
645
|
+
mode: ClipperCalendarCopyMode;
|
|
646
|
+
}
|
|
570
647
|
export declare class ClipperUtils {
|
|
571
648
|
/**
|
|
572
649
|
* Check if a model is readable
|
|
@@ -3,7 +3,7 @@ import { ApiResult, FolderTree, NameValueItem } from '@arsedizioni/ars-utils/cor
|
|
|
3
3
|
import { RecoverPasswordDialogData, RecoverPasswordDialogResult, ResetPasswordDialogResult } from '@arsedizioni/ars-utils/ui';
|
|
4
4
|
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
|
-
import { ClipperServiceFlags, ClipperDashboard, ClipperDashboardResult, ClipperDocumentInfo, ClipperDocumentStructure, ClipperDocumentUpdateStateParams, ClipperExportDocumentsParams, ClipperLoginInfo, ClipperLoginResult, ClipperModule, ClipperOTPInfo,
|
|
6
|
+
import { ClipperServiceFlags, ClipperDashboard, ClipperDashboardResult, ClipperDocumentInfo, ClipperDocumentStructure, ClipperDocumentUpdateStateParams, ClipperExportDocumentsParams, ClipperLoginInfo, ClipperLoginResult, ClipperModule, ClipperOTPInfo, ClipperSearchArsEventsParams, ClipperSearchArsEventsResult, ClipperReferencesSearchParams, ClipperSearchFacetsResult, ClipperSearchParams, ClipperSearchResult, ClipperSendDocumentsByEmailParams, ClipperTaxonomyParams, ClipperUserLink, ClipperUserSearch, ClipperTeamMemberInfo, ClipperSearchTeamsParams, ClipperSearchTeamsResult, ClipperTeamInfo, ClipperSearchTeamMembersResult, ClipperSearchCalendarParams, ClipperSearchCalendarResult, ClipperSearchCalendarSnapshotResult, ClipperCalendarCopyDeadlinesParams, ClipperDeadlineInfo } from '../definitions';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ClipperService implements OnDestroy {
|
|
9
9
|
private httpClient;
|
|
@@ -98,7 +98,7 @@ export declare class ClipperService implements OnDestroy {
|
|
|
98
98
|
/**
|
|
99
99
|
* Load Ars events calendar
|
|
100
100
|
*/
|
|
101
|
-
events(params:
|
|
101
|
+
events(params: ClipperSearchArsEventsParams): import("rxjs").Observable<ApiResult<ClipperSearchArsEventsResult>>;
|
|
102
102
|
/**
|
|
103
103
|
* Query documents
|
|
104
104
|
*/
|
|
@@ -264,11 +264,11 @@ export declare class ClipperService implements OnDestroy {
|
|
|
264
264
|
/**
|
|
265
265
|
* Retrieve teams
|
|
266
266
|
*/
|
|
267
|
-
getTeams(params:
|
|
267
|
+
getTeams(params: ClipperSearchTeamsParams): import("rxjs").Observable<ApiResult<ClipperSearchTeamsResult>>;
|
|
268
268
|
/**
|
|
269
269
|
* Retrieve team members
|
|
270
270
|
*/
|
|
271
|
-
getTeamMembers(params:
|
|
271
|
+
getTeamMembers(params: ClipperSearchTeamsParams): import("rxjs").Observable<ApiResult<ClipperSearchTeamMembersResult>>;
|
|
272
272
|
/**
|
|
273
273
|
* Delete members
|
|
274
274
|
* @param ids: the id list to delete
|
|
@@ -279,6 +279,49 @@ export declare class ClipperService implements OnDestroy {
|
|
|
279
279
|
* @param item: the item to save
|
|
280
280
|
*/
|
|
281
281
|
saveTeamMember(item: ClipperTeamMemberInfo): import("rxjs").Observable<ApiResult<ClipperTeamMemberInfo>>;
|
|
282
|
+
/**
|
|
283
|
+
* Query calendar
|
|
284
|
+
*/
|
|
285
|
+
queryCalendar(params: ClipperSearchCalendarParams): import("rxjs").Observable<ApiResult<ClipperSearchCalendarResult>>;
|
|
286
|
+
/**
|
|
287
|
+
* Query calendar snapshot
|
|
288
|
+
*/
|
|
289
|
+
getCalendarSnapshot(params: ClipperSearchCalendarParams): import("rxjs").Observable<ApiResult<ClipperSearchCalendarSnapshotResult>>;
|
|
290
|
+
/**
|
|
291
|
+
* Delete one or more items
|
|
292
|
+
* @param ids: ids to delete
|
|
293
|
+
*/
|
|
294
|
+
deleteCalendarDeadlines(ids: string[]): import("rxjs").Observable<ApiResult<number>>;
|
|
295
|
+
/**
|
|
296
|
+
* Copy one or more items
|
|
297
|
+
* @param params parameters
|
|
298
|
+
*/
|
|
299
|
+
copyCalendarDeadlines(params: ClipperCalendarCopyDeadlinesParams): import("rxjs").Observable<ApiResult<number>>;
|
|
300
|
+
/**
|
|
301
|
+
* Close a deadline
|
|
302
|
+
* @param id : the id to close
|
|
303
|
+
*/
|
|
304
|
+
closeCalendarDeadline(id: string): import("rxjs").Observable<ApiResult<ClipperDeadlineInfo>>;
|
|
305
|
+
/**
|
|
306
|
+
* Save an item
|
|
307
|
+
* @param params parameters
|
|
308
|
+
*/
|
|
309
|
+
saveCalendarDeadline(params: ClipperDeadlineInfo): import("rxjs").Observable<ApiResult<ClipperDeadlineInfo>>;
|
|
310
|
+
/**
|
|
311
|
+
* Retrive a n item
|
|
312
|
+
* @param id : the item id
|
|
313
|
+
*/
|
|
314
|
+
getCalendarDeadline(id: string): import("rxjs").Observable<ApiResult<ClipperDeadlineInfo>>;
|
|
315
|
+
/**
|
|
316
|
+
* Export to iCalendar format
|
|
317
|
+
* @param ids : deadlines to export
|
|
318
|
+
*/
|
|
319
|
+
exportCalendarDeadlines(ids: string[]): import("rxjs").Observable<Blob>;
|
|
320
|
+
/**
|
|
321
|
+
* Accept a document changes
|
|
322
|
+
* @param ids : deadlines to update
|
|
323
|
+
*/
|
|
324
|
+
acceptCalendarDeadlinesChanges(ids: string[]): import("rxjs").Observable<ApiResult<number>>;
|
|
282
325
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClipperService, never>;
|
|
283
326
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClipperService>;
|
|
284
327
|
}
|