interfaces added

This commit is contained in:
atharva.dev 2025-10-22 09:55:52 +00:00
parent 0348021ab2
commit 23179f4513
5 changed files with 69 additions and 69 deletions

View File

@ -1,4 +1,4 @@
export interface IErrorResponse {
errorCode: string;
errorMessage: string;
export interface IErrorResponse {
errorCode: string;
errorMessage: string;
}

View File

@ -1,9 +1,9 @@
export interface IFileUploadResponse {
fileStorageId: string;
fileName: string;
downloadUrl: string;
fileType: string;
fileSize: number;
secloreFileId: string;
protected: boolean;
}
export interface IFileUploadResponse {
fileStorageId: string;
fileName: string;
downloadUrl: string;
fileType: string;
fileSize: number;
secloreFileId: string;
protected: boolean;
}

View File

@ -1,13 +1,13 @@
export interface ILoginRequest {
tenantId: string;
tenantSecret: string;
}
export interface ILoginResponse {
accessToken: string;
refreshToken: string;
}
export interface IRefreshTokenRequest {
refreshToken: string;
}
export interface ILoginRequest {
tenantId: string;
tenantSecret: string;
}
export interface ILoginResponse {
accessToken: string;
refreshToken: string;
}
export interface IRefreshTokenRequest {
refreshToken: string;
}

View File

@ -1,37 +1,37 @@
export interface IExtRefProtectionDetail {
externalReferenceId: string;
externalReferenceName?: string;
externalReferenceData?: string;
externalAppId?: string;
}
export interface IProtectWithExternalRefIdRequest {
hotfolderExternalReference: IExtRefProtectionDetail;
fileExternalReference?: IExtRefProtectionDetail;
fileStorageId: string;
}
export interface IProtectWithExternalRefIdResponse {
fileStorageId: string;
secloreFileId: string;
}
export interface IProtectWithFileIdRequest {
existingProtectedFileId: string;
fileStorageId: string;
}
export interface IProtectWithFileIdResponse {
fileStorageId: string;
secloreFileId: string;
}
export interface IProtectWithHotFolderRequest {
hotfolderId: string;
fileStorageId: string;
}
export interface IProtectWithHotFolderResponse {
fileStorageId: string;
secloreFileId: string;
}
export interface IExtRefProtectionDetail {
externalReferenceId: string;
externalReferenceName?: string;
externalReferenceData?: string;
externalAppId?: string;
}
export interface IProtectWithExternalRefIdRequest {
hotfolderExternalReference: IExtRefProtectionDetail;
fileExternalReference?: IExtRefProtectionDetail;
fileStorageId: string;
}
export interface IProtectWithExternalRefIdResponse {
fileStorageId: string;
secloreFileId: string;
}
export interface IProtectWithFileIdRequest {
existingProtectedFileId: string;
fileStorageId: string;
}
export interface IProtectWithFileIdResponse {
fileStorageId: string;
secloreFileId: string;
}
export interface IProtectWithHotFolderRequest {
hotfolderId: string;
fileStorageId: string;
}
export interface IProtectWithHotFolderResponse {
fileStorageId: string;
secloreFileId: string;
}

View File

@ -1,7 +1,7 @@
export interface IUnprotectRequest {
fileStorageId: string;
}
export interface IUnprotectResponse {
fileStorageId: string;
}
export interface IUnprotectRequest {
fileStorageId: string;
}
export interface IUnprotectResponse {
fileStorageId: string;
}