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 { export interface IErrorResponse {
errorCode: string; errorCode: string;
errorMessage: string; errorMessage: string;
} }

View File

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

View File

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

View File

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

View File

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