diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index 5b5d860..a8316b9 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -28,7 +28,6 @@ import { uploadTables } from './api/viya/uploadTables' import { executeOnComputeApi } from './api/viya/executeOnComputeApi' import { getAccessTokenForViya } from './auth/getAccessTokenForViya' import { refreshTokensForViya } from './auth/refreshTokensForViya' -import { FileContentUpdate } from './types/FileContentUpdate' import { FileResource } from './types/FileResource' interface JobExecutionResult { @@ -379,7 +378,7 @@ export class SASViyaApiClient { ) return await this.requestClient - .put( + .put( `${this.serverUrl}${fileUri}/content`, content, accessToken, diff --git a/src/types/FileContentUpdate.ts b/src/types/FileContentUpdate.ts deleted file mode 100644 index 48ab227..0000000 --- a/src/types/FileContentUpdate.ts +++ /dev/null @@ -1,33 +0,0 @@ -export interface FileContentUpdate { - creationTimeStamp: string - modifiedTimeStamp: string - createdBy: string - modifiedBy: string - id: string - properties: Properties - contentDisposition: string - contentType: string - encoding: string - links: Link[] - name: string - size: number - searchable: boolean - fileStatus: string - fileVersion: number - typeDefName: string - version: number - virusDetected: boolean - urlDetected: boolean - quarantine: boolean -} - -export interface Link { - method: string - rel: string - href: string - uri: string - type?: string - responseType?: string -} - -export interface Properties {}