@arsedizioni/ars-utils 18.2.460 → 18.2.462

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.
@@ -1,5 +1,5 @@
1
1
  import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
2
- import { LoginResult, NameValueItem } from '@arsedizioni/ars-utils/core';
2
+ import { Folder, 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 ClipperServiceFlags {
@@ -661,6 +661,87 @@ export interface ClipperCalendarCopyDeadlinesParams {
661
661
  teamId: string;
662
662
  mode: ClipperCalendarCopyMode;
663
663
  }
664
+ export declare enum ClipperArchiveFileType {
665
+ None = 0,
666
+ Procedure = 1,
667
+ OperatingInstructions = 2,
668
+ TechnicalReport = 3,
669
+ AdministrativeDocument = 4,
670
+ Document = 5,
671
+ OtherApplicableRules = 6,
672
+ Other = 7,
673
+ File = 101,
674
+ Image = 102
675
+ }
676
+ export declare const ClipperArchiveFileTypes: NameValueItem<ClipperArchiveFileType>[];
677
+ export declare enum ClipperArchiveFileStorageType {
678
+ None = 0,
679
+ Share = 1,
680
+ Binary = 2,
681
+ Permalink = 3
682
+ }
683
+ export interface ClipperFileInfo {
684
+ id: string;
685
+ parentFolderId?: string | null;
686
+ isFolder: boolean;
687
+ folderId: string;
688
+ folderName: string;
689
+ teamId?: string | null;
690
+ topicId?: string | null;
691
+ topicPath?: string | null;
692
+ tags?: string;
693
+ isPrivate?: boolean;
694
+ isFile?: boolean;
695
+ fileName?: string;
696
+ storageType?: ClipperArchiveFileStorageType | null;
697
+ isBinary?: boolean | null;
698
+ binaryId?: number | null;
699
+ binaryFilePath?: string | null;
700
+ isPermalink?: boolean | null;
701
+ fileType?: ClipperArchiveFileType | null;
702
+ notes?: string | null;
703
+ position?: number | null;
704
+ documentIds?: string | null;
705
+ documentLastChangedBy?: string | null;
706
+ documentLastChangedById?: string | null;
707
+ documentLastChangedReasonDescription?: string | null;
708
+ documentLastChanged?: Date | null;
709
+ documentUpdateState?: number | null;
710
+ isDocumentChanged?: boolean | null;
711
+ canPreview?: boolean | null;
712
+ canEmbed?: boolean | null;
713
+ channelName?: string | null;
714
+ model?: ClipperModel | null;
715
+ modelName?: string | null;
716
+ title1?: string;
717
+ title2?: string;
718
+ date?: Date | null;
719
+ number?: string;
720
+ origin?: string;
721
+ originDescription?: string;
722
+ documentId?: string;
723
+ documentCode?: string;
724
+ isDocument?: boolean;
725
+ isRead?: boolean;
726
+ isJuris?: boolean;
727
+ validityState?: number | null;
728
+ validUntilDate?: Date | null;
729
+ expiringDate?: Date | null;
730
+ expiringInfo?: string | null;
731
+ }
732
+ export interface ClipperFolderInfo extends Folder {
733
+ teamId?: string | null;
734
+ isPrivate?: boolean | null;
735
+ files: ClipperFileInfo[];
736
+ subFolders: ClipperFolderInfo[];
737
+ }
738
+ export interface ClipperSearchArchiveParams {
739
+ teamId?: string | null;
740
+ privateOnly?: boolean | null;
741
+ }
742
+ export interface ClipperSearchArchiveResult extends ClipperFolderInfo {
743
+ teams: NameValueItem<string>[];
744
+ }
664
745
  export declare class ClipperUtils {
665
746
  /**
666
747
  * Check if a model is readable