(PS-378) Seclore custom n8n node #1
|
|
@ -1,4 +1,4 @@
|
|||
export interface IErrorResponse {
|
||||
errorCode: string;
|
||||
errorMessage: string;
|
||||
export interface IErrorResponse {
|
||||
errorCode: string;
|
||||
errorMessage: string;
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
export interface IUnprotectRequest {
|
||||
fileStorageId: string;
|
||||
}
|
||||
|
||||
export interface IUnprotectResponse {
|
||||
fileStorageId: string;
|
||||
}
|
||||
export interface IUnprotectRequest {
|
||||
fileStorageId: string;
|
||||
}
|
||||
|
||||
export interface IUnprotectResponse {
|
||||
fileStorageId: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue