@topconsultnpm/sdk-ts 6.20.0 → 6.21.0-dev1.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.
@@ -4880,6 +4880,49 @@ export var SystemTIDs;
4880
4880
  SystemTIDs[SystemTIDs["Chronology"] = 15] = "Chronology";
4881
4881
  SystemTIDs[SystemTIDs["Users"] = 1000001] = "Users";
4882
4882
  })(SystemTIDs || (SystemTIDs = {}));
4883
+ export var IdCRequiredMd_DocInf;
4884
+ (function (IdCRequiredMd_DocInf) {
4885
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["ModalitaFormazione"] = 103] = "ModalitaFormazione";
4886
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["TipologiaDocumentale"] = 104] = "TipologiaDocumentale";
4887
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["ChiaveDescrittiva_ParoleChiave"] = 105] = "ChiaveDescrittiva_ParoleChiave";
4888
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["DatiRegistrazione_TipologiaFlusso"] = 106] = "DatiRegistrazione_TipologiaFlusso";
4889
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["DatiRegistrazione_TipoRegistro"] = 107] = "DatiRegistrazione_TipoRegistro";
4890
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["DatiRegistrazione_DataRegistrazione"] = 108] = "DatiRegistrazione_DataRegistrazione";
4891
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["DatiRegistrazione_NumeroDocumento"] = 109] = "DatiRegistrazione_NumeroDocumento";
4892
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["DatiRegistrazione_IdRegistro"] = 110] = "DatiRegistrazione_IdRegistro";
4893
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_TipoSoggetto"] = 113] = "Soggetti_Autore_TipoSoggetto";
4894
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_Cognome"] = 111] = "Soggetti_Autore_Cognome";
4895
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_Nome"] = 112] = "Soggetti_Autore_Nome";
4896
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_Denominazione"] = 114] = "Soggetti_Autore_Denominazione";
4897
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_Denominazione2"] = 171] = "Soggetti_Autore_Denominazione2";
4898
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_Denominazione3"] = 116] = "Soggetti_Autore_Denominazione3";
4899
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_Codice"] = 115] = "Soggetti_Autore_Codice";
4900
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Autore_IndirizziDigitali"] = 117] = "Soggetti_Autore_IndirizziDigitali";
4901
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_TipoSoggetto"] = 118] = "Soggetti_Mittente_TipoSoggetto";
4902
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_Cognome"] = 172] = "Soggetti_Mittente_Cognome";
4903
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_Nome"] = 173] = "Soggetti_Mittente_Nome";
4904
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_Denominazione"] = 119] = "Soggetti_Mittente_Denominazione";
4905
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_Denominazione2"] = 174] = "Soggetti_Mittente_Denominazione2";
4906
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_Denominazione3"] = 121] = "Soggetti_Mittente_Denominazione3";
4907
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_Codice"] = 120] = "Soggetti_Mittente_Codice";
4908
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_Mittente_IndirizziDigitali"] = 122] = "Soggetti_Mittente_IndirizziDigitali";
4909
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_TipoSoggetto"] = 206] = "Soggetti_SER_TipoSoggetto";
4910
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_Cognome"] = 207] = "Soggetti_SER_Cognome";
4911
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_Nome"] = 208] = "Soggetti_SER_Nome";
4912
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_Denominazione"] = 209] = "Soggetti_SER_Denominazione";
4913
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_Denominazione2"] = 210] = "Soggetti_SER_Denominazione2";
4914
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_Denominazione3"] = 211] = "Soggetti_SER_Denominazione3";
4915
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_Codice"] = 212] = "Soggetti_SER_Codice";
4916
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Soggetti_SER_IndirizziDigitali"] = 213] = "Soggetti_SER_IndirizziDigitali";
4917
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Riservato"] = 154] = "Riservato";
4918
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["IdFormato_Formato"] = 155] = "IdFormato_Formato";
4919
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["IdFormato_NomeProdotto"] = 156] = "IdFormato_NomeProdotto";
4920
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["IdFormato_VersioneProdotto"] = 157] = "IdFormato_VersioneProdotto";
4921
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["IdFormato_Produttore"] = 158] = "IdFormato_Produttore";
4922
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["NomeDelDocumento"] = 218] = "NomeDelDocumento";
4923
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["TempoConservazione"] = 169] = "TempoConservazione";
4924
+ IdCRequiredMd_DocInf[IdCRequiredMd_DocInf["Note"] = 170] = "Note";
4925
+ })(IdCRequiredMd_DocInf || (IdCRequiredMd_DocInf = {}));
4883
4926
  export var FEAttach_MetadataNames;
4884
4927
  (function (FEAttach_MetadataNames) {
4885
4928
  FEAttach_MetadataNames["Numero"] = "Numero";
@@ -4980,6 +5023,15 @@ export var CICO_MetadataNames;
4980
5023
  CICO_MetadataNames["CICO_CheckoutDate"] = "CICO_CheckoutDate";
4981
5024
  CICO_MetadataNames["CICO_Version"] = "CICO_Version";
4982
5025
  })(CICO_MetadataNames || (CICO_MetadataNames = {}));
5026
+ export var IVisto_MetadataNames;
5027
+ (function (IVisto_MetadataNames) {
5028
+ IVisto_MetadataNames["ExitCode"] = "IVisto_ExitCode";
5029
+ IVisto_MetadataNames["ExitDate"] = "IVisto_ExitDate";
5030
+ IVisto_MetadataNames["ExitRefNumber"] = "IVisto_ExitRefNumber";
5031
+ IVisto_MetadataNames["ExportRefNumber"] = "IVisto_ExportRefNumber";
5032
+ IVisto_MetadataNames["MRN"] = "IVisto_MRN";
5033
+ IVisto_MetadataNames["Transit"] = "IVisto_Transit";
5034
+ })(IVisto_MetadataNames || (IVisto_MetadataNames = {}));
4983
5035
  export var NSONotif_MetadataNames;
4984
5036
  (function (NSONotif_MetadataNames) {
4985
5037
  NSONotif_MetadataNames["TipoNotifica"] = "Tipo notifica";
@@ -4993,6 +5045,22 @@ export var NSONotif_MetadataNames;
4993
5045
  NSONotif_MetadataNames["Note"] = "Note";
4994
5046
  NSONotif_MetadataNames["MailMessageID"] = "MailMessageID";
4995
5047
  })(NSONotif_MetadataNames || (NSONotif_MetadataNames = {}));
5048
+ export var NSO_DistillazioneEstesa_MetadataNames;
5049
+ (function (NSO_DistillazioneEstesa_MetadataNames) {
5050
+ NSO_DistillazioneEstesa_MetadataNames["IdFiscCliente"] = "IdFiscale Cliente";
5051
+ NSO_DistillazioneEstesa_MetadataNames["IdFiscForn"] = "IdFiscale Fornitore";
5052
+ NSO_DistillazioneEstesa_MetadataNames["RifCliente"] = "Rif. Cliente";
5053
+ NSO_DistillazioneEstesa_MetadataNames["RifQuotazione"] = "Rif. Quotazione";
5054
+ NSO_DistillazioneEstesa_MetadataNames["CIG"] = "CIG";
5055
+ NSO_DistillazioneEstesa_MetadataNames["CUP"] = "CUP";
5056
+ NSO_DistillazioneEstesa_MetadataNames["ContattoClienteMail"] = "Contatto Cliente (Mail)";
5057
+ NSO_DistillazioneEstesa_MetadataNames["ContattoClienteNome"] = "Contatto Cliente (Nome)";
5058
+ NSO_DistillazioneEstesa_MetadataNames["ContattoClienteTel"] = "Contatto Cliente (Tel)";
5059
+ NSO_DistillazioneEstesa_MetadataNames["ContattoFornMail"] = "Contatto Fornitore (Mail)";
5060
+ NSO_DistillazioneEstesa_MetadataNames["ContattoFornNome"] = "Contatto Fornitore (Nome)";
5061
+ NSO_DistillazioneEstesa_MetadataNames["ContattoFornTel"] = "Contatto Fornitore (Tel)";
5062
+ NSO_DistillazioneEstesa_MetadataNames["DenomPrimaLineaOrdine"] = "Denom. prima linea ordine";
5063
+ })(NSO_DistillazioneEstesa_MetadataNames || (NSO_DistillazioneEstesa_MetadataNames = {}));
4996
5064
  export var PagoPA_Receipt_MetadataNames;
4997
5065
  (function (PagoPA_Receipt_MetadataNames) {
4998
5066
  PagoPA_Receipt_MetadataNames["IstitutoAttestante"] = "Istituto attestante";
@@ -5007,6 +5075,13 @@ export var PagoPA_Receipt_MetadataNames;
5007
5075
  PagoPA_Receipt_MetadataNames["TipoXML"] = "TipoXML";
5008
5076
  PagoPA_Receipt_MetadataNames["CodiceCliente"] = "Codice Cliente";
5009
5077
  })(PagoPA_Receipt_MetadataNames || (PagoPA_Receipt_MetadataNames = {}));
5078
+ export var PEPPOL_MetadataNames;
5079
+ (function (PEPPOL_MetadataNames) {
5080
+ PEPPOL_MetadataNames["CanaleInvio"] = "Canale invio";
5081
+ PEPPOL_MetadataNames["MsgID"] = "PEPPOL MsgID";
5082
+ PEPPOL_MetadataNames["DataInvio"] = "PEPPOL Data invio";
5083
+ PEPPOL_MetadataNames["Status"] = "PEPPOL Status";
5084
+ })(PEPPOL_MetadataNames || (PEPPOL_MetadataNames = {}));
5010
5085
  export var Rentri_MetadataNames;
5011
5086
  (function (Rentri_MetadataNames) {
5012
5087
  Rentri_MetadataNames["Anno"] = "Rentri_Anno";
@@ -5031,6 +5106,42 @@ export var Rentri_MetadataNames;
5031
5106
  Rentri_MetadataNames["ProgressivoA_Assoluto"] = "Rentri_ProgressivoA_Assoluto";
5032
5107
  Rentri_MetadataNames["NumeroRegistrazioni_Assoluto"] = "Rentri_NumeroRegistrazioni_Assoluto";
5033
5108
  })(Rentri_MetadataNames || (Rentri_MetadataNames = {}));
5109
+ export var FE_DistillazioneEstesa_MetadataNames;
5110
+ (function (FE_DistillazioneEstesa_MetadataNames) {
5111
+ FE_DistillazioneEstesa_MetadataNames["Divisa"] = "Divisa";
5112
+ FE_DistillazioneEstesa_MetadataNames["Causale"] = "Causale";
5113
+ FE_DistillazioneEstesa_MetadataNames["OdA_IdDocumento"] = "OdA_IdDocumento";
5114
+ FE_DistillazioneEstesa_MetadataNames["OdA_Data"] = "OdA_Data";
5115
+ FE_DistillazioneEstesa_MetadataNames["OdA_CodCommConv"] = "OdA_CodCommessaConv";
5116
+ FE_DistillazioneEstesa_MetadataNames["TriplettaNSO"] = "TriplettaNSO";
5117
+ FE_DistillazioneEstesa_MetadataNames["ImponibileImporto"] = "ImponibileImporto";
5118
+ FE_DistillazioneEstesa_MetadataNames["Imposta"] = "Imposta";
5119
+ FE_DistillazioneEstesa_MetadataNames["ModalitaPagamento"] = "ModalitaPagamento";
5120
+ FE_DistillazioneEstesa_MetadataNames["DataScadenzaPagamento"] = "DataScadenzaPagamento";
5121
+ FE_DistillazioneEstesa_MetadataNames["IBAN"] = "IBAN";
5122
+ FE_DistillazioneEstesa_MetadataNames["RifAmministrazione"] = "RifAmministrazione";
5123
+ FE_DistillazioneEstesa_MetadataNames["NumeroDDT"] = "NumeroDDT";
5124
+ FE_DistillazioneEstesa_MetadataNames["DataDDT"] = "DataDDT";
5125
+ FE_DistillazioneEstesa_MetadataNames["DFC_IdDocumento"] = "DFC_IdDocumento";
5126
+ FE_DistillazioneEstesa_MetadataNames["DFC_Data"] = "DFC_Data";
5127
+ FE_DistillazioneEstesa_MetadataNames["IdPaeseCliente"] = "IdPaese Cliente";
5128
+ FE_DistillazioneEstesa_MetadataNames["IdPaeseForn"] = "IdPaese Fornitore";
5129
+ })(FE_DistillazioneEstesa_MetadataNames || (FE_DistillazioneEstesa_MetadataNames = {}));
5130
+ export var SAP_MetadataNames;
5131
+ (function (SAP_MetadataNames) {
5132
+ SAP_MetadataNames["SAP_DocID"] = "SAP_DocID";
5133
+ SAP_MetadataNames["SAP_CompID"] = "SAP_CompID";
5134
+ SAP_MetadataNames["SAP_ContentType"] = "SAP_ContentType";
5135
+ SAP_MetadataNames["SAP_Deleted"] = "SAP_Deleted";
5136
+ SAP_MetadataNames["SAP_Barcode_Value"] = "SAP_Barcode_Value";
5137
+ SAP_MetadataNames["SAP_Barcode_XferStatus"] = "SAP_Barcode_XferStatus";
5138
+ SAP_MetadataNames["SAP_Barcode_XferDate"] = "SAP_Barcode_XferDate";
5139
+ SAP_MetadataNames["SAP_Barcode_XferNumber"] = "SAP_Barcode_XferNumber";
5140
+ SAP_MetadataNames["SAP_Barcode_XferMessage"] = "SAP_Barcode_XferMessage";
5141
+ SAP_MetadataNames["SAP_Align_XferStatus"] = "SAP_Align_XferStatus";
5142
+ SAP_MetadataNames["SAP_Align_XferDate"] = "SAP_Align_XferDate";
5143
+ SAP_MetadataNames["SAP_Align_XferMessage"] = "SAP_Align_XferMessage";
5144
+ })(SAP_MetadataNames || (SAP_MetadataNames = {}));
5034
5145
  export var WorkItemMetadataNames;
5035
5146
  (function (WorkItemMetadataNames) {
5036
5147
  WorkItemMetadataNames["WI_From"] = "WI_From";
@@ -0,0 +1,26 @@
1
+ import { ITopMediaSession } from "./TopMediaSession";
2
+ import { CultureIDs, TopMediaServiceClient } from "./openAPIs/TopMediaServiceClient";
3
+ import { TopMediaServiceClientEx } from "./TopMediaServiceClientEx";
4
+ export interface ITopMediaServer {
5
+ BaseAddress?: string;
6
+ NullValue: string;
7
+ PingAsync(): Promise<string[]>;
8
+ NewSession(): ITopMediaSession;
9
+ CreateHttpClient(accessToken?: string, useClientEx?: boolean): TopMediaServiceClient | TopMediaServiceClientEx;
10
+ FontNamesAsync(): Promise<string[]>;
11
+ PrinterNamesAsync(): Promise<string[]>;
12
+ EncryptAsync(input: string): Promise<string>;
13
+ }
14
+ export declare class TopMediaServer implements ITopMediaServer {
15
+ constructor(baseAddress?: string);
16
+ BaseAddress: string | undefined;
17
+ NullValue: string;
18
+ PingAsync(): Promise<string[]>;
19
+ NewSession(): ITopMediaSession;
20
+ /** Restituisce l'elenco dei CultureID disponibili */
21
+ static RetrieveAllCultureIDs(): CultureIDs[];
22
+ FontNamesAsync(): Promise<string[]>;
23
+ PrinterNamesAsync(): Promise<string[]>;
24
+ EncryptAsync(input: string): Promise<string>;
25
+ CreateHttpClient(accessToken?: string, useClientEx?: boolean): TopMediaServiceClient | TopMediaServiceClientEx;
26
+ }
@@ -0,0 +1,20 @@
1
+ import type { AxiosInstance, AxiosResponse } from 'axios';
2
+ import { AreaParams, FileResponse, RetrieveFileOptions } from './openAPIs/TopMediaServiceClient';
3
+ export declare class TopMediaServiceClientEx {
4
+ private instance;
5
+ private baseUrl;
6
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
7
+ constructor(baseUrl?: string, instance?: AxiosInstance);
8
+ areaAddFileEx(body: AreaParams | undefined, progressCallback?: (pd: ProgressCallbackData) => any, signal?: AbortSignal | undefined): Promise<void>;
9
+ protected processAreaAddFileEx(response: AxiosResponse): Promise<void>;
10
+ areaRetrieveFileEx(body: AreaParams | undefined, progressCallback?: (pd: ProgressCallbackData) => any, signal?: AbortSignal | undefined): Promise<FileResponse>;
11
+ protected processAreaRetrieveFileEx(response: AxiosResponse): Promise<FileResponse>;
12
+ retrieveFileEx(tID: number | undefined, dID: number | undefined, body: RetrieveFileOptions | undefined, progressCallback?: (pd: ProgressCallbackData) => any, signal?: AbortSignal): Promise<FileResponse>;
13
+ protected processRetrieveFileEx(response: AxiosResponse): Promise<FileResponse>;
14
+ }
15
+ export declare class ProgressCallbackData {
16
+ ProgressBarMaximum: number | undefined;
17
+ ProgressBarValue: number;
18
+ ProgressMessage?: string;
19
+ CustomParam?: object;
20
+ }
@@ -0,0 +1,120 @@
1
+ import { PopupRequest, PublicClientApplication } from "@azure/msal-browser";
2
+ import { IArchiveEngine, IAreaEngine, IBasketEngine, IBasketTypeEngine, IDataListEngine, IDcmtTypeEngine, IDiskEngine, IDossierEngine, IFavoritesEngine, IHomePageEngine, IJobEngine, ILicenseEngine, INotificationEngine, IOrchPlatformEngine, IPreviewEngine, IProcessEngine, IRecentEngine, ISavedQueryEngine, ISearchEngine, ISignCertEngine, ITSAEngine, ITaskEngine, ITreeEngine, IUploadFileEngine, IUserEngine, IWorkflowEngine, IWorkingGroupEngine, IRelationEngine, IDeleteEngine, IUpdateEngineByID, IArchiveEngineByID, IDcmtPlatformEngine, IADMEngine, INumeratorEngine, IReportEngine, ISignServerEngine, ILDAPEngine, IGroupEngine } from "./Engine";
3
+ import { ITopMediaServer } from "./TopMediaServer";
4
+ import { TopMediaServiceClient, SessionDescriptor, AppModules } from "./openAPIs/TopMediaServiceClient";
5
+ import { TopMediaServiceClientEx } from "./TopMediaServiceClientEx";
6
+ export interface ITopMediaSession {
7
+ /**Se impostato a true, aggiorna automaticamente la sessione.
8
+ * Se non viene impostato AutoRefreshInterval, la sessione viene aggiornata ogni 5 minuti */
9
+ AutoRefresh: boolean | undefined;
10
+ /** Intervallo espresso in minuti che indica ogni quanto deve essere aggiornata la sessione (default 5 minuti) */
11
+ AutoRefreshInterval: number;
12
+ SessionDescr: SessionDescriptor | undefined;
13
+ TopMediaServer: ITopMediaServer;
14
+ TMSClient: TopMediaServiceClient | undefined;
15
+ TMSClientEx: TopMediaServiceClientEx | undefined;
16
+ LoginAsync(sd: SessionDescriptor, useGlobals?: boolean): Promise<void>;
17
+ LoginToAsync(toAppModule: AppModules): Promise<SessionDescriptor | undefined>;
18
+ LogoutAsync(useGlobals?: boolean): Promise<void>;
19
+ RefreshAsync(): Promise<number | undefined>;
20
+ NewADMEngine(): IADMEngine;
21
+ NewArchiveEngine(): IArchiveEngine;
22
+ NewArchiveEngineByID(): IArchiveEngineByID;
23
+ NewAreaEngine(): IAreaEngine;
24
+ NewBasketEngine(): IBasketEngine;
25
+ NewBasketTypeEngine(): IBasketTypeEngine;
26
+ NewDataListEngine(): IDataListEngine;
27
+ NewDcmtPlatformEngine(): IDcmtPlatformEngine;
28
+ NewDcmtTypeEngine(): IDcmtTypeEngine;
29
+ NewDeleteEngine(): IDeleteEngine;
30
+ NewDiskEngine(): IDiskEngine;
31
+ NewDossierEngine(): IDossierEngine;
32
+ NewFavoritesEngine(): IFavoritesEngine;
33
+ NewGroupEngine(): IGroupEngine;
34
+ NewHomePageEngine(): IHomePageEngine;
35
+ NewJobEngine(): IJobEngine;
36
+ NewLDAPEngine(): ILDAPEngine;
37
+ NewLicenseEngine(): ILicenseEngine;
38
+ NewNotificationEngine(): INotificationEngine;
39
+ NewNumeratorEngine(): INumeratorEngine;
40
+ NewOrchPlatformEngine(): IOrchPlatformEngine;
41
+ NewPreviewEngine(): IPreviewEngine;
42
+ NewProcessEngine(): IProcessEngine;
43
+ NewRecentEngine(): IRecentEngine;
44
+ NewRelationEngine(): IRelationEngine;
45
+ NewReportEngine(): IReportEngine;
46
+ NewSavedQueryEngine(): ISavedQueryEngine;
47
+ NewSearchEngine(): ISearchEngine;
48
+ NewSignCertEngine(): ISignCertEngine;
49
+ NewSignServerEngine(): ISignServerEngine;
50
+ NewTaskEngine(): ITaskEngine;
51
+ NewTreeEngine(): ITreeEngine;
52
+ NewTSAEngine(): ITSAEngine;
53
+ NewUpdateEngineByID(): IUpdateEngineByID;
54
+ NewUploadFileEngine(): IUploadFileEngine;
55
+ NewUserEngine(): IUserEngine;
56
+ NewWorkflowEngine(): IWorkflowEngine;
57
+ NewWorkingGroupEngine(): IWorkingGroupEngine;
58
+ }
59
+ export declare class TopMediaSession implements ITopMediaSession {
60
+ constructor(tmSrv: ITopMediaServer);
61
+ SessionDescr: SessionDescriptor | undefined;
62
+ get TMSClient(): TopMediaServiceClient | undefined;
63
+ get TMSClientEx(): TopMediaServiceClientEx | undefined;
64
+ TopMediaServer: ITopMediaServer;
65
+ private _autoRefreshInterval;
66
+ get AutoRefreshInterval(): number;
67
+ set AutoRefreshInterval(autoRefreshInterval: number);
68
+ private _refreshTimer;
69
+ private _autoRefresh;
70
+ get AutoRefresh(): boolean | undefined;
71
+ set AutoRefresh(autoRefresh: boolean | undefined);
72
+ IsLogged(): boolean;
73
+ CheckIsLogged(): void;
74
+ _loginRequest: PopupRequest;
75
+ _accountId: string;
76
+ _msalInstance: PublicClientApplication | null | undefined;
77
+ LoginAsync(sd: SessionDescriptor, useGlobals?: boolean): Promise<void>;
78
+ LoginToAsync(toAppModule: AppModules): Promise<SessionDescriptor | undefined>;
79
+ private _azureLogout;
80
+ LogoutAsync(useGlobals?: boolean): Promise<void>;
81
+ RefreshAsync(): Promise<number | undefined>;
82
+ NewADMEngine(): IADMEngine;
83
+ NewArchiveEngine(): IArchiveEngine;
84
+ NewArchiveEngineByID(): IArchiveEngineByID;
85
+ NewAreaEngine(): IAreaEngine;
86
+ NewBasketEngine(): IBasketEngine;
87
+ NewBasketTypeEngine(): IBasketTypeEngine;
88
+ NewDataListEngine(): IDataListEngine;
89
+ NewDcmtPlatformEngine(): IDcmtPlatformEngine;
90
+ NewDcmtTypeEngine(): IDcmtTypeEngine;
91
+ NewDeleteEngine(): IDeleteEngine;
92
+ NewDiskEngine(): IDiskEngine;
93
+ NewDossierEngine(): IDossierEngine;
94
+ NewFavoritesEngine(): IFavoritesEngine;
95
+ NewGroupEngine(): IGroupEngine;
96
+ NewHomePageEngine(): IHomePageEngine;
97
+ NewJobEngine(): IJobEngine;
98
+ NewLDAPEngine(): ILDAPEngine;
99
+ NewLicenseEngine(): ILicenseEngine;
100
+ NewNotificationEngine(): INotificationEngine;
101
+ NewNumeratorEngine(): INumeratorEngine;
102
+ NewOrchPlatformEngine(): IOrchPlatformEngine;
103
+ NewProcessEngine(): IProcessEngine;
104
+ NewPreviewEngine(): IPreviewEngine;
105
+ NewRecentEngine(): IRecentEngine;
106
+ NewRelationEngine(): IRelationEngine;
107
+ NewReportEngine(): IReportEngine;
108
+ NewSavedQueryEngine(): ISavedQueryEngine;
109
+ NewSearchEngine(): ISearchEngine;
110
+ NewSignCertEngine(): ISignCertEngine;
111
+ NewSignServerEngine(): ISignServerEngine;
112
+ NewTaskEngine(): ITaskEngine;
113
+ NewTreeEngine(): ITreeEngine;
114
+ NewTSAEngine(): ITSAEngine;
115
+ NewUpdateEngineByID(): IUpdateEngineByID;
116
+ NewUploadFileEngine(): IUploadFileEngine;
117
+ NewUserEngine(): IUserEngine;
118
+ NewWorkflowEngine(): IWorkflowEngine;
119
+ NewWorkingGroupEngine(): IWorkingGroupEngine;
120
+ }
@@ -0,0 +1,4 @@
1
+ interface String {
2
+ replaceParams(...params: any[]): string;
3
+ equals(value: string | undefined, ignoreCase?: boolean): boolean;
4
+ }
@@ -0,0 +1,10 @@
1
+ export declare class LocalStorageService {
2
+ static setItem<T extends string | number | Record<string, any>>(key: string, value: T): void;
3
+ static getItem<T extends Record<string, any> | string>(key: string): T | null;
4
+ static updateItem<T extends Record<string, any>>(key: string, value: T): void;
5
+ static deleteItem(key: string): void;
6
+ static clear(): void;
7
+ static findItemByField<T extends Record<string, any>>(key: string, field: keyof T, value: any): T | null;
8
+ static deleteItemByField<T extends Record<string, any>>(key: string, field: keyof T, value: any): void;
9
+ static updateItemByField<T extends Record<string, any>>(key: string, field: keyof T, value: any, newData: Partial<T>): void;
10
+ }
@@ -0,0 +1,43 @@
1
+ import { DcmtTypeDescriptor, QueryDescriptor, QueryOperators, WhereItem } from "../openAPIs/TopMediaServiceClient";
2
+ export declare enum ResultTypes {
3
+ NONE = "None",
4
+ SUCCESS = "Success",
5
+ WARNING = "Warning",
6
+ ERROR = "Error",
7
+ INFO = "Info"
8
+ }
9
+ export declare class QueryValidatorOptions {
10
+ DoSelectValidation: boolean;
11
+ DoOrderByValidation: boolean;
12
+ DoWhereHasItemsValidation: boolean;
13
+ PropertyName: string;
14
+ RaiseWarningForOnlyMetadataDcmtTypes: boolean;
15
+ }
16
+ export declare class ValidationItem {
17
+ ResultType: ResultTypes;
18
+ Message: string;
19
+ PropertyName: string;
20
+ PropertyScopes: string[];
21
+ constructor(resultType: ResultTypes, propertyName: string, message: string, propertyScopes?: string[]);
22
+ }
23
+ export declare class PlatformObjectValidator {
24
+ static StringIsNullOrEmpty(value: string | undefined): boolean;
25
+ static StringIsNullOrWhiteSpace(value: string | undefined): boolean;
26
+ static GetInvalidFileNameChars(): string[];
27
+ static IsValidObjectName(name: string | null | undefined): boolean;
28
+ static GetTIDByQd(qd?: QueryDescriptor): number;
29
+ static ObjectNameValidator(propertyValue: string | null | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string): void;
30
+ static RequiredObjectValidator(propertyValue: object | null | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
31
+ static RequiredStrictlyPositiveNumberValidator(propertyValue: number | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
32
+ static RequiredStrictlyPositiveNumberValidator_RequiredField(propertyValue: number | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
33
+ static RequiredStrictlyPositiveNumberValidator_ValueNotAllowed(propertyValue: number | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
34
+ static RequiredNotEqualZeroNumberValidator(propertyValue: number | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
35
+ static RequiredNotEqualZeroNumberValidator_RequiredField(propertyValue: number | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
36
+ static RequiredNotEqualZeroNumberValidator_ValueNotAllowed(propertyValue: number | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
37
+ static RequiredNotNoneValueValidator(propertyValue: string | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
38
+ static RequiredStringValidator(propertyValue: string | null | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
39
+ static RequiredStringWithValidSpacesValidator(propertyValue: string | null | undefined, propertyName: string, vl: ValidationItem[], localizedPropertyCaption: string, showPropertyName?: boolean): void;
40
+ static GetNumberOfOperands(qo?: QueryOperators): 0 | 1 | 2 | 12 | 11 | 99;
41
+ static WhereItemHasValues(wi: WhereItem): boolean;
42
+ static QueryValidatorAsync(qdNew: QueryDescriptor | undefined, vl: ValidationItem[], qvo: QueryValidatorOptions, showPropertyName?: boolean): Promise<DcmtTypeDescriptor | undefined>;
43
+ }
@@ -0,0 +1,104 @@
1
+ import { ITopMediaSession } from "../TopMediaSession";
2
+ import { DataListDescriptor, DcmtTypeDescriptor, QueryDescriptor, RelationDescriptor, SavedQueryDescriptor, SignCertDescriptor, TSADescriptor, TreeDescriptor, UserDescriptor, WorkingGroupDescriptor } from "../openAPIs/TopMediaServiceClient";
3
+ export declare class DataListCacheService {
4
+ private static _mutex;
5
+ private static _cacheAll;
6
+ private static _cache;
7
+ static GetAllAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<DataListDescriptor[]>;
8
+ static GetAsync(id: number | undefined, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<DataListDescriptor | undefined>;
9
+ static RemoveAll(tmSession?: ITopMediaSession | undefined): void;
10
+ static Remove(tmSession?: ITopMediaSession | undefined): void;
11
+ }
12
+ export declare class DcmtTypeListCacheService {
13
+ private static _mutex;
14
+ private static _cacheWithoutMetadata;
15
+ /** Restituisce la cache di tutti i tipi documento SENZA metadati.
16
+ * Se deepCopy = true restituisce una copia della cache */
17
+ static GetAllWithoutMetadataAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<DcmtTypeDescriptor[]>;
18
+ static RemoveAllWithoutMetadata(tmSession?: ITopMediaSession | undefined): void;
19
+ private static _cacheWithMetadata;
20
+ /** Restituisce il tipo documento (tid).
21
+ * Se withMetadata = true, restituisce anche i metadati.
22
+ * Se deepCopy = true restituisce una copia */
23
+ static GetAsync(tid: number | undefined, withMetadata?: boolean, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean, refreshCache?: boolean): Promise<DcmtTypeDescriptor | undefined>;
24
+ static RemoveAllWithMetadata(tmSession?: ITopMediaSession | undefined): void;
25
+ private static RemoveWithMetadata;
26
+ /** Restituisce i tipi documento (CON metadati) referenziati da qd.
27
+ * Se deepCopy = true restituisce una copia */
28
+ static GetFromQdAsync(qd: QueryDescriptor | undefined, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean, refreshCache?: boolean): Promise<DcmtTypeDescriptor[]>;
29
+ /** Restituisce i tipi documento tids.
30
+ * Se withMetadata = true, restituisce anche i metadati.
31
+ * Se deepCopy = true restituisce una copia */
32
+ static GetFromTIDsAsync(tids: number[] | undefined, withMetadata?: boolean, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean, refreshCache?: boolean): Promise<DcmtTypeDescriptor[]>;
33
+ static GetCache(cacheWithoutMetadata: boolean): Map<string, DcmtTypeDescriptor[]>;
34
+ static CacheCount(cacheWithoutMetadata: boolean, tmSession?: ITopMediaSession | undefined): number;
35
+ }
36
+ export declare class RelationCacheService {
37
+ private static readonly _mutex;
38
+ private static readonly _cacheAllRelation;
39
+ static GetAllAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean, refreshCache?: boolean): Promise<RelationDescriptor[]>;
40
+ static RemoveAll(tmSession?: ITopMediaSession | undefined): void;
41
+ static CacheAllCount(tmSession?: ITopMediaSession | undefined): number;
42
+ }
43
+ export declare class SavedQueryCacheService {
44
+ private static _mutex;
45
+ private static _cacheAll;
46
+ private static _cache;
47
+ static GetAllAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<SavedQueryDescriptor[]>;
48
+ static GetAsync(id: number | undefined, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<SavedQueryDescriptor | undefined>;
49
+ static RemoveAll(tmSession?: ITopMediaSession | undefined): void;
50
+ static Remove(tmSession?: ITopMediaSession | undefined): void;
51
+ static CacheAllCount(tmSession?: ITopMediaSession | undefined): number;
52
+ }
53
+ export declare class WorkingGroupCacheService {
54
+ private static readonly _mutex;
55
+ private static readonly _cacheAll;
56
+ private static readonly _cache;
57
+ private static getAccessToken;
58
+ static GetAllAsync(tmSession?: ITopMediaSession, deepCopy?: boolean): Promise<WorkingGroupDescriptor[]>;
59
+ static GetAsync(id?: number, tmSession?: ITopMediaSession, deepCopy?: boolean): Promise<WorkingGroupDescriptor | undefined>;
60
+ static RemoveAll(tmSession?: ITopMediaSession): void;
61
+ static Remove(tmSession?: ITopMediaSession): void;
62
+ static CacheAllCount(tmSession?: ITopMediaSession): number;
63
+ /** Thread-safe execution wrapper using mutex */
64
+ private static withLock;
65
+ /** Deep copy helper */
66
+ private static cloneItems;
67
+ private static cloneItem;
68
+ }
69
+ export declare class SignCertCacheService {
70
+ private static _mutex;
71
+ private static _cacheAll;
72
+ private static _cache;
73
+ static GetAllAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<SignCertDescriptor[]>;
74
+ static GetAsync(id: number | undefined, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<SignCertDescriptor | undefined>;
75
+ static RemoveAll(tmSession?: ITopMediaSession | undefined): void;
76
+ static Remove(tmSession?: ITopMediaSession | undefined): void;
77
+ }
78
+ export declare class TreeCacheService {
79
+ private static _mutex;
80
+ private static _cacheAllSearch;
81
+ private static _cacheAllArchive;
82
+ static GetAllSearchAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<TreeDescriptor[]>;
83
+ static GetAllArchiveAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<TreeDescriptor[]>;
84
+ static RemoveAllSearch(tmSession?: ITopMediaSession | undefined): void;
85
+ static RemoveAllArchive(tmSession?: ITopMediaSession | undefined): void;
86
+ static CacheAllSearchCount(tmSession?: ITopMediaSession | undefined): number;
87
+ static CacheAllArchiveCount(tmSession?: ITopMediaSession | undefined): number;
88
+ }
89
+ export declare class TSACacheService {
90
+ private static _mutex;
91
+ private static _cacheAll;
92
+ private static _cache;
93
+ static GetAllAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<TSADescriptor[]>;
94
+ static GetAsync(id: number | undefined, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<TSADescriptor | undefined>;
95
+ static RemoveAll(tmSession?: ITopMediaSession | undefined): void;
96
+ static Remove(tmSession?: ITopMediaSession | undefined): void;
97
+ }
98
+ export declare class UserListCacheService {
99
+ private static _mutex;
100
+ private static _cache;
101
+ static GetAllAsync(tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<UserDescriptor[]>;
102
+ static GetAsync(userId: number | undefined, tmSession?: ITopMediaSession | undefined, deepCopy?: boolean): Promise<UserDescriptor | undefined>;
103
+ static RemoveAll(tmSession?: ITopMediaSession | undefined): void;
104
+ }
@@ -0,0 +1,35 @@
1
+ import { ITopMediaSession } from "../TopMediaSession";
2
+ import { AppModules, DBBrands, LicenseDescriptor } from "../openAPIs/TopMediaServiceClient";
3
+ export declare class SDK_Globals {
4
+ private static _tmSession;
5
+ private static _appModule;
6
+ private static _appVersion;
7
+ private static _sdkVersion;
8
+ private static _sdkuiVersion;
9
+ private static _sdkName;
10
+ private static _sdkuiName;
11
+ private static _websdkVersion;
12
+ private static _useLocalizedName;
13
+ private static _dbBrand;
14
+ private static _license;
15
+ static get tmSession(): ITopMediaSession | undefined;
16
+ static set tmSession(theTmSession: ITopMediaSession | undefined);
17
+ static get appModule(): AppModules | undefined;
18
+ static set appModule(theAppModule: AppModules | undefined);
19
+ static get appVersion(): string | undefined;
20
+ static set appVersion(theAppVersion: string | undefined);
21
+ static get dbBrand(): DBBrands;
22
+ static get sdkVersion(): string | undefined;
23
+ static set sdkVersion(theSdkVersion: string | undefined);
24
+ static get sdkuiVersion(): string | undefined;
25
+ static set sdkuiVersion(theSdkuiVersion: string | undefined);
26
+ static get sdkName(): string | undefined;
27
+ static set sdkName(theSdkName: string | undefined);
28
+ static get sdkuiName(): string | undefined;
29
+ static set sdkuiName(theSdkuiName: string | undefined);
30
+ static get websdkVersion(): string | undefined;
31
+ static get useLocalizedName(): boolean;
32
+ static set useLocalizedName(theUseLocalizedName: boolean);
33
+ static get license(): LicenseDescriptor | undefined;
34
+ static set license(theLicense: LicenseDescriptor | undefined);
35
+ }