@internxt/sdk 1.11.23 → 1.11.24
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.
|
@@ -3,7 +3,7 @@ import { ApiSecurity, ApiUrl, AppDetails } from '../../shared';
|
|
|
3
3
|
import { RequestCanceler } from '../../shared/http/client';
|
|
4
4
|
import { UUID } from '../../shared/types/userSettings';
|
|
5
5
|
import { ItemType } from './../../workspaces/types';
|
|
6
|
-
import { AddItemsToTrashPayload, CheckDuplicatedFilesPayload, CheckDuplicatedFilesResponse, CheckDuplicatedFolderPayload, CheckDuplicatedFoldersResponse, CreateFolderByUuidPayload, CreateFolderPayload, CreateFolderResponse, CreateThumbnailEntryPayload, DeleteFilePayload, DriveFileData, FetchFolderContentResponse, FetchLimitResponse, FetchPaginatedFilesContent, FetchPaginatedFolderContentResponse, FetchPaginatedFoldersContent, FileEntry, FileEntryByUuid, FileMeta, FileVersion, FolderAncestor, FolderAncestorWorkspace, FolderMeta, FolderTreeResponse,
|
|
6
|
+
import { AddItemsToTrashPayload, CheckDuplicatedFilesPayload, CheckDuplicatedFilesResponse, CheckDuplicatedFolderPayload, CheckDuplicatedFoldersResponse, CreateFolderByUuidPayload, CreateFolderPayload, CreateFolderResponse, CreateThumbnailEntryPayload, DeleteFilePayload, DriveFileData, FetchFolderContentResponse, FetchLimitResponse, FetchPaginatedFilesContent, FetchPaginatedFolderContentResponse, FetchPaginatedFoldersContent, FileEntry, FileEntryByUuid, FileMeta, FileVersion, FolderAncestor, FolderAncestorWorkspace, FolderMeta, FolderTreeResponse, FileLimitsResponse, MoveFilePayload, MoveFileResponse, MoveFileUuidPayload, MoveFolderPayload, MoveFolderResponse, MoveFolderUuidPayload, ReplaceFile, RestoreFileVersionResponse, SearchResultData, Thumbnail, ThumbnailEntry, UpdateFilePayload, UpdateFolderMetadataPayload, UsageResponse, UsageResponseV2 } from './types';
|
|
7
7
|
export * as StorageTypes from './types';
|
|
8
8
|
export declare class Storage {
|
|
9
9
|
private readonly client;
|
|
@@ -390,7 +390,7 @@ export declare class Storage {
|
|
|
390
390
|
/**
|
|
391
391
|
* Gets the file version limits for the user
|
|
392
392
|
*
|
|
393
|
-
* @returns {Promise<
|
|
393
|
+
* @returns {Promise<FileLimitsResponse>} A promise that resolves with the file limits.
|
|
394
394
|
*/
|
|
395
|
-
getFileVersionLimits(): Promise<
|
|
395
|
+
getFileVersionLimits(): Promise<FileLimitsResponse>;
|
|
396
396
|
}
|
|
@@ -734,7 +734,7 @@ var Storage = /** @class */ (function () {
|
|
|
734
734
|
/**
|
|
735
735
|
* Gets the file version limits for the user
|
|
736
736
|
*
|
|
737
|
-
* @returns {Promise<
|
|
737
|
+
* @returns {Promise<FileLimitsResponse>} A promise that resolves with the file limits.
|
|
738
738
|
*/
|
|
739
739
|
Storage.prototype.getFileVersionLimits = function () {
|
|
740
740
|
return this.client.get('/files/limits', this.headers());
|
|
@@ -421,4 +421,4 @@ export interface CheckDuplicatedFoldersResponse {
|
|
|
421
421
|
}
|
|
422
422
|
export type FileVersion = paths['/files/{uuid}/versions']['get']['responses']['200']['content']['application/json'][0];
|
|
423
423
|
export type RestoreFileVersionResponse = paths['/files/{uuid}/versions/{versionId}/restore']['post']['responses']['200']['content']['application/json'];
|
|
424
|
-
export type
|
|
424
|
+
export type FileLimitsResponse = paths['/files/limits']['get']['responses']['200']['content']['application/json'];
|