@internxt/sdk 1.11.19 → 1.11.20
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, MoveFilePayload, MoveFileResponse, MoveFileUuidPayload, MoveFolderPayload, MoveFolderResponse, MoveFolderUuidPayload, ReplaceFile, SearchResultData, Thumbnail, ThumbnailEntry, UpdateFilePayload, UpdateFolderMetadataPayload, UsageResponse, UsageResponseV2 } from './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, GetFileLimitsResponse, MoveFilePayload, MoveFileResponse, MoveFileUuidPayload, MoveFolderPayload, MoveFolderResponse, MoveFolderUuidPayload, ReplaceFile, 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;
|
|
@@ -387,4 +387,10 @@ export declare class Storage {
|
|
|
387
387
|
* @returns {Promise<FileVersion>} A promise that resolves with the restored version.
|
|
388
388
|
*/
|
|
389
389
|
restoreFileVersion(uuid: string, versionId: string): Promise<FileVersion>;
|
|
390
|
+
/**
|
|
391
|
+
* Gets the file version limits for the user
|
|
392
|
+
*
|
|
393
|
+
* @returns {Promise<GetFileLimitsResponse>} A promise that resolves with the file limits.
|
|
394
|
+
*/
|
|
395
|
+
getFileVersionLimits(): Promise<GetFileLimitsResponse>;
|
|
390
396
|
}
|
|
@@ -731,6 +731,14 @@ var Storage = /** @class */ (function () {
|
|
|
731
731
|
Storage.prototype.restoreFileVersion = function (uuid, versionId) {
|
|
732
732
|
return this.client.post("/files/".concat(uuid, "/versions/").concat(versionId, "/restore"), {}, this.headers());
|
|
733
733
|
};
|
|
734
|
+
/**
|
|
735
|
+
* Gets the file version limits for the user
|
|
736
|
+
*
|
|
737
|
+
* @returns {Promise<GetFileLimitsResponse>} A promise that resolves with the file limits.
|
|
738
|
+
*/
|
|
739
|
+
Storage.prototype.getFileVersionLimits = function () {
|
|
740
|
+
return this.client.get('/api/files/limits', this.headers());
|
|
741
|
+
};
|
|
734
742
|
return Storage;
|
|
735
743
|
}());
|
|
736
744
|
exports.Storage = Storage;
|
|
@@ -419,17 +419,5 @@ export interface CheckDuplicatedFolderPayload {
|
|
|
419
419
|
export interface CheckDuplicatedFoldersResponse {
|
|
420
420
|
existentFolders: DriveFolderData[];
|
|
421
421
|
}
|
|
422
|
-
export
|
|
423
|
-
|
|
424
|
-
DELETED = "DELETED"
|
|
425
|
-
}
|
|
426
|
-
export interface FileVersion {
|
|
427
|
-
id: string;
|
|
428
|
-
fileId: string;
|
|
429
|
-
networkFileId: string;
|
|
430
|
-
size: bigint;
|
|
431
|
-
status: FileVersionStatus;
|
|
432
|
-
createdAt: Date;
|
|
433
|
-
updatedAt: Date;
|
|
434
|
-
expiresAt: Date | null;
|
|
435
|
-
}
|
|
422
|
+
export type FileVersion = paths['/files/{uuid}/versions']['get']['responses']['200']['content']['application/json'][0];
|
|
423
|
+
export type GetFileLimitsResponse = paths['/files/limits']['get']['responses']['200']['content']['application/json'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.EncryptionVersion = exports.FileStatus = void 0;
|
|
4
4
|
var FileStatus;
|
|
5
5
|
(function (FileStatus) {
|
|
6
6
|
FileStatus["EXISTS"] = "EXISTS";
|
|
@@ -11,8 +11,3 @@ var EncryptionVersion;
|
|
|
11
11
|
(function (EncryptionVersion) {
|
|
12
12
|
EncryptionVersion["Aes03"] = "03-aes";
|
|
13
13
|
})(EncryptionVersion || (exports.EncryptionVersion = EncryptionVersion = {}));
|
|
14
|
-
var FileVersionStatus;
|
|
15
|
-
(function (FileVersionStatus) {
|
|
16
|
-
FileVersionStatus["EXISTS"] = "EXISTS";
|
|
17
|
-
FileVersionStatus["DELETED"] = "DELETED";
|
|
18
|
-
})(FileVersionStatus || (exports.FileVersionStatus = FileVersionStatus = {}));
|
package/dist/schema.d.ts
CHANGED
|
@@ -36,6 +36,23 @@ export interface paths {
|
|
|
36
36
|
patch?: never;
|
|
37
37
|
trace?: never;
|
|
38
38
|
};
|
|
39
|
+
'/files/limits': {
|
|
40
|
+
parameters: {
|
|
41
|
+
query?: never;
|
|
42
|
+
header?: never;
|
|
43
|
+
path?: never;
|
|
44
|
+
cookie?: never;
|
|
45
|
+
};
|
|
46
|
+
/** Get file limits based on user tier */
|
|
47
|
+
get: operations['FileController_getLimits'];
|
|
48
|
+
put?: never;
|
|
49
|
+
post?: never;
|
|
50
|
+
delete?: never;
|
|
51
|
+
options?: never;
|
|
52
|
+
head?: never;
|
|
53
|
+
patch?: never;
|
|
54
|
+
trace?: never;
|
|
55
|
+
};
|
|
39
56
|
'/files/{uuid}/meta': {
|
|
40
57
|
parameters: {
|
|
41
58
|
query?: never;
|
|
@@ -53,6 +70,57 @@ export interface paths {
|
|
|
53
70
|
patch?: never;
|
|
54
71
|
trace?: never;
|
|
55
72
|
};
|
|
73
|
+
'/files/{uuid}/versions': {
|
|
74
|
+
parameters: {
|
|
75
|
+
query?: never;
|
|
76
|
+
header?: never;
|
|
77
|
+
path?: never;
|
|
78
|
+
cookie?: never;
|
|
79
|
+
};
|
|
80
|
+
/** Get file versions */
|
|
81
|
+
get: operations['FileController_getFileVersions'];
|
|
82
|
+
put?: never;
|
|
83
|
+
post?: never;
|
|
84
|
+
delete?: never;
|
|
85
|
+
options?: never;
|
|
86
|
+
head?: never;
|
|
87
|
+
patch?: never;
|
|
88
|
+
trace?: never;
|
|
89
|
+
};
|
|
90
|
+
'/files/{uuid}/versions/{versionId}': {
|
|
91
|
+
parameters: {
|
|
92
|
+
query?: never;
|
|
93
|
+
header?: never;
|
|
94
|
+
path?: never;
|
|
95
|
+
cookie?: never;
|
|
96
|
+
};
|
|
97
|
+
get?: never;
|
|
98
|
+
put?: never;
|
|
99
|
+
post?: never;
|
|
100
|
+
/** Delete a file version */
|
|
101
|
+
delete: operations['FileController_deleteFileVersion'];
|
|
102
|
+
options?: never;
|
|
103
|
+
head?: never;
|
|
104
|
+
patch?: never;
|
|
105
|
+
trace?: never;
|
|
106
|
+
};
|
|
107
|
+
'/files/{uuid}/versions/{versionId}/restore': {
|
|
108
|
+
parameters: {
|
|
109
|
+
query?: never;
|
|
110
|
+
header?: never;
|
|
111
|
+
path?: never;
|
|
112
|
+
cookie?: never;
|
|
113
|
+
};
|
|
114
|
+
get?: never;
|
|
115
|
+
put?: never;
|
|
116
|
+
/** Restore a file version */
|
|
117
|
+
post: operations['FileController_restoreFileVersion'];
|
|
118
|
+
delete?: never;
|
|
119
|
+
options?: never;
|
|
120
|
+
head?: never;
|
|
121
|
+
patch?: never;
|
|
122
|
+
trace?: never;
|
|
123
|
+
};
|
|
56
124
|
'/files/{uuid}': {
|
|
57
125
|
parameters: {
|
|
58
126
|
query?: never;
|
|
@@ -2483,31 +2551,24 @@ export interface paths {
|
|
|
2483
2551
|
patch?: never;
|
|
2484
2552
|
trace?: never;
|
|
2485
2553
|
};
|
|
2486
|
-
'/
|
|
2554
|
+
'/storage/trash/paginated': {
|
|
2487
2555
|
parameters: {
|
|
2488
2556
|
query?: never;
|
|
2489
2557
|
header?: never;
|
|
2490
2558
|
path?: never;
|
|
2491
2559
|
cookie?: never;
|
|
2492
2560
|
};
|
|
2493
|
-
/**
|
|
2494
|
-
|
|
2495
|
-
* @description Retrieves all notifications for the authenticated user. Notifications will be retrieved just once.
|
|
2496
|
-
*/
|
|
2497
|
-
get: operations['NotificationsController_getUserNotifications'];
|
|
2561
|
+
/** Gets trash content */
|
|
2562
|
+
get: operations['TrashController_getTrashedFilesPaginated'];
|
|
2498
2563
|
put?: never;
|
|
2499
|
-
|
|
2500
|
-
* Create a new notification
|
|
2501
|
-
* @description Creates a new notification
|
|
2502
|
-
*/
|
|
2503
|
-
post: operations['NotificationsController_createNotification'];
|
|
2564
|
+
post?: never;
|
|
2504
2565
|
delete?: never;
|
|
2505
2566
|
options?: never;
|
|
2506
2567
|
head?: never;
|
|
2507
2568
|
patch?: never;
|
|
2508
2569
|
trace?: never;
|
|
2509
2570
|
};
|
|
2510
|
-
'/
|
|
2571
|
+
'/storage/trash/add': {
|
|
2511
2572
|
parameters: {
|
|
2512
2573
|
query?: never;
|
|
2513
2574
|
header?: never;
|
|
@@ -2516,35 +2577,32 @@ export interface paths {
|
|
|
2516
2577
|
};
|
|
2517
2578
|
get?: never;
|
|
2518
2579
|
put?: never;
|
|
2519
|
-
|
|
2580
|
+
/** Add items of files and folders to trash */
|
|
2581
|
+
post: operations['TrashController_moveItemsToTrash'];
|
|
2520
2582
|
delete?: never;
|
|
2521
2583
|
options?: never;
|
|
2522
2584
|
head?: never;
|
|
2523
|
-
|
|
2524
|
-
* Mark notification as expired
|
|
2525
|
-
* @description Marks a notification as expired by setting its expiration date to now
|
|
2526
|
-
*/
|
|
2527
|
-
patch: operations['NotificationsController_markNotificationAsExpired'];
|
|
2585
|
+
patch?: never;
|
|
2528
2586
|
trace?: never;
|
|
2529
2587
|
};
|
|
2530
|
-
'/storage/trash/
|
|
2588
|
+
'/storage/trash/all': {
|
|
2531
2589
|
parameters: {
|
|
2532
2590
|
query?: never;
|
|
2533
2591
|
header?: never;
|
|
2534
2592
|
path?: never;
|
|
2535
2593
|
cookie?: never;
|
|
2536
2594
|
};
|
|
2537
|
-
|
|
2538
|
-
get: operations['TrashController_getTrashedFilesPaginated'];
|
|
2595
|
+
get?: never;
|
|
2539
2596
|
put?: never;
|
|
2540
2597
|
post?: never;
|
|
2541
|
-
|
|
2598
|
+
/** Deletes all items from user's trash */
|
|
2599
|
+
delete: operations['TrashController_clearTrash'];
|
|
2542
2600
|
options?: never;
|
|
2543
2601
|
head?: never;
|
|
2544
2602
|
patch?: never;
|
|
2545
2603
|
trace?: never;
|
|
2546
2604
|
};
|
|
2547
|
-
'/storage/trash/
|
|
2605
|
+
'/storage/trash/all/request': {
|
|
2548
2606
|
parameters: {
|
|
2549
2607
|
query?: never;
|
|
2550
2608
|
header?: never;
|
|
@@ -2553,15 +2611,14 @@ export interface paths {
|
|
|
2553
2611
|
};
|
|
2554
2612
|
get?: never;
|
|
2555
2613
|
put?: never;
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
delete?: never;
|
|
2614
|
+
post?: never;
|
|
2615
|
+
delete: operations['TrashController_requestEmptyTrash'];
|
|
2559
2616
|
options?: never;
|
|
2560
2617
|
head?: never;
|
|
2561
2618
|
patch?: never;
|
|
2562
2619
|
trace?: never;
|
|
2563
2620
|
};
|
|
2564
|
-
'/storage/trash
|
|
2621
|
+
'/storage/trash': {
|
|
2565
2622
|
parameters: {
|
|
2566
2623
|
query?: never;
|
|
2567
2624
|
header?: never;
|
|
@@ -2571,14 +2628,14 @@ export interface paths {
|
|
|
2571
2628
|
get?: never;
|
|
2572
2629
|
put?: never;
|
|
2573
2630
|
post?: never;
|
|
2574
|
-
/** Deletes
|
|
2575
|
-
delete: operations['
|
|
2631
|
+
/** Deletes items from user's trash */
|
|
2632
|
+
delete: operations['TrashController_deleteItems'];
|
|
2576
2633
|
options?: never;
|
|
2577
2634
|
head?: never;
|
|
2578
2635
|
patch?: never;
|
|
2579
2636
|
trace?: never;
|
|
2580
2637
|
};
|
|
2581
|
-
'/storage/trash/
|
|
2638
|
+
'/storage/trash/file/{fileId}': {
|
|
2582
2639
|
parameters: {
|
|
2583
2640
|
query?: never;
|
|
2584
2641
|
header?: never;
|
|
@@ -2588,13 +2645,14 @@ export interface paths {
|
|
|
2588
2645
|
get?: never;
|
|
2589
2646
|
put?: never;
|
|
2590
2647
|
post?: never;
|
|
2591
|
-
|
|
2648
|
+
/** Deletes a single file from user's trash */
|
|
2649
|
+
delete: operations['TrashController_deleteFile'];
|
|
2592
2650
|
options?: never;
|
|
2593
2651
|
head?: never;
|
|
2594
2652
|
patch?: never;
|
|
2595
2653
|
trace?: never;
|
|
2596
2654
|
};
|
|
2597
|
-
'/storage/trash': {
|
|
2655
|
+
'/storage/trash/folder/{folderId}': {
|
|
2598
2656
|
parameters: {
|
|
2599
2657
|
query?: never;
|
|
2600
2658
|
header?: never;
|
|
@@ -2604,31 +2662,38 @@ export interface paths {
|
|
|
2604
2662
|
get?: never;
|
|
2605
2663
|
put?: never;
|
|
2606
2664
|
post?: never;
|
|
2607
|
-
/** Deletes
|
|
2608
|
-
delete: operations['
|
|
2665
|
+
/** Deletes a single file form user's trash */
|
|
2666
|
+
delete: operations['TrashController_deleteFolder'];
|
|
2609
2667
|
options?: never;
|
|
2610
2668
|
head?: never;
|
|
2611
2669
|
patch?: never;
|
|
2612
2670
|
trace?: never;
|
|
2613
2671
|
};
|
|
2614
|
-
'/
|
|
2672
|
+
'/notifications': {
|
|
2615
2673
|
parameters: {
|
|
2616
2674
|
query?: never;
|
|
2617
2675
|
header?: never;
|
|
2618
2676
|
path?: never;
|
|
2619
2677
|
cookie?: never;
|
|
2620
2678
|
};
|
|
2621
|
-
|
|
2679
|
+
/**
|
|
2680
|
+
* Get user notifications
|
|
2681
|
+
* @description Retrieves all notifications for the authenticated user. Notifications will be retrieved just once.
|
|
2682
|
+
*/
|
|
2683
|
+
get: operations['NotificationsController_getUserNotifications'];
|
|
2622
2684
|
put?: never;
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2685
|
+
/**
|
|
2686
|
+
* Create a new notification
|
|
2687
|
+
* @description Creates a new notification
|
|
2688
|
+
*/
|
|
2689
|
+
post: operations['NotificationsController_createNotification'];
|
|
2690
|
+
delete?: never;
|
|
2626
2691
|
options?: never;
|
|
2627
2692
|
head?: never;
|
|
2628
2693
|
patch?: never;
|
|
2629
2694
|
trace?: never;
|
|
2630
2695
|
};
|
|
2631
|
-
'/
|
|
2696
|
+
'/notifications/{id}/expire': {
|
|
2632
2697
|
parameters: {
|
|
2633
2698
|
query?: never;
|
|
2634
2699
|
header?: never;
|
|
@@ -2638,11 +2703,14 @@ export interface paths {
|
|
|
2638
2703
|
get?: never;
|
|
2639
2704
|
put?: never;
|
|
2640
2705
|
post?: never;
|
|
2641
|
-
|
|
2642
|
-
delete: operations['TrashController_deleteFolder'];
|
|
2706
|
+
delete?: never;
|
|
2643
2707
|
options?: never;
|
|
2644
2708
|
head?: never;
|
|
2645
|
-
|
|
2709
|
+
/**
|
|
2710
|
+
* Mark notification as expired
|
|
2711
|
+
* @description Marks a notification as expired by setting its expiration date to now
|
|
2712
|
+
*/
|
|
2713
|
+
patch: operations['NotificationsController_markNotificationAsExpired'];
|
|
2646
2714
|
trace?: never;
|
|
2647
2715
|
};
|
|
2648
2716
|
'/auth/login': {
|
|
@@ -3067,6 +3135,31 @@ export interface components {
|
|
|
3067
3135
|
/** @enum {string} */
|
|
3068
3136
|
status: 'EXISTS' | 'TRASHED' | 'DELETED';
|
|
3069
3137
|
};
|
|
3138
|
+
VersioningLimitsDto: {
|
|
3139
|
+
/** @description Whether file versioning is enabled for this tier */
|
|
3140
|
+
enabled: boolean;
|
|
3141
|
+
/** @description Maximum file size in bytes that can be versioned */
|
|
3142
|
+
maxFileSize: number;
|
|
3143
|
+
/** @description Number of days versions are retained */
|
|
3144
|
+
retentionDays: number;
|
|
3145
|
+
/** @description Maximum number of versions kept per file */
|
|
3146
|
+
maxVersions: number;
|
|
3147
|
+
};
|
|
3148
|
+
GetFileLimitsDto: {
|
|
3149
|
+
versioning: components['schemas']['VersioningLimitsDto'];
|
|
3150
|
+
};
|
|
3151
|
+
FileVersionDto: {
|
|
3152
|
+
id: string;
|
|
3153
|
+
fileId: string;
|
|
3154
|
+
networkFileId: string;
|
|
3155
|
+
size: string;
|
|
3156
|
+
/** @enum {string} */
|
|
3157
|
+
status: 'EXISTS' | 'DELETED';
|
|
3158
|
+
/** Format: date-time */
|
|
3159
|
+
createdAt: string;
|
|
3160
|
+
/** Format: date-time */
|
|
3161
|
+
updatedAt: string;
|
|
3162
|
+
};
|
|
3070
3163
|
ReplaceFileDto: {
|
|
3071
3164
|
/**
|
|
3072
3165
|
* @description File id
|
|
@@ -4411,6 +4504,16 @@ export interface components {
|
|
|
4411
4504
|
* @example https://drive.internxt.com/checkout/complete
|
|
4412
4505
|
*/
|
|
4413
4506
|
completeCheckoutUrl: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* @description Name of the plan being purchased
|
|
4509
|
+
* @example Premium
|
|
4510
|
+
*/
|
|
4511
|
+
planName?: string;
|
|
4512
|
+
/**
|
|
4513
|
+
* @description Price of the plan in euros
|
|
4514
|
+
* @example 320
|
|
4515
|
+
*/
|
|
4516
|
+
price?: number;
|
|
4414
4517
|
};
|
|
4415
4518
|
FuzzySearchResult: {
|
|
4416
4519
|
id: string;
|
|
@@ -4549,6 +4652,52 @@ export interface components {
|
|
|
4549
4652
|
CreateDeviceAsFolderDto: {
|
|
4550
4653
|
deviceName: string;
|
|
4551
4654
|
};
|
|
4655
|
+
ItemToTrashDto: {
|
|
4656
|
+
/**
|
|
4657
|
+
* @deprecated
|
|
4658
|
+
* @description Id of file or folder (deprecated in favor of uuid)
|
|
4659
|
+
* @example 4
|
|
4660
|
+
*/
|
|
4661
|
+
id?: string;
|
|
4662
|
+
/**
|
|
4663
|
+
* @description Uuid of file or folder
|
|
4664
|
+
* @example 4
|
|
4665
|
+
*/
|
|
4666
|
+
uuid: string;
|
|
4667
|
+
/**
|
|
4668
|
+
* @description Type of item: file or folder
|
|
4669
|
+
* @example file
|
|
4670
|
+
* @enum {string}
|
|
4671
|
+
*/
|
|
4672
|
+
type: 'file' | 'folder';
|
|
4673
|
+
};
|
|
4674
|
+
MoveItemsToTrashDto: {
|
|
4675
|
+
/** @description Array of items with files and folders ids */
|
|
4676
|
+
items: components['schemas']['ItemToTrashDto'][];
|
|
4677
|
+
};
|
|
4678
|
+
DeleteItemDto: {
|
|
4679
|
+
/**
|
|
4680
|
+
* @deprecated
|
|
4681
|
+
* @description Id of file or folder (deprecated in favor of uuid)
|
|
4682
|
+
* @example 4
|
|
4683
|
+
*/
|
|
4684
|
+
id: string | null;
|
|
4685
|
+
/**
|
|
4686
|
+
* @description Uuid of file or folder
|
|
4687
|
+
* @example 79a88429-b45a-4ae7-90f1-c351b6882670
|
|
4688
|
+
*/
|
|
4689
|
+
uuid: string;
|
|
4690
|
+
/**
|
|
4691
|
+
* @description Type of item: file or folder
|
|
4692
|
+
* @example file
|
|
4693
|
+
* @enum {string}
|
|
4694
|
+
*/
|
|
4695
|
+
type: 'file' | 'folder';
|
|
4696
|
+
};
|
|
4697
|
+
DeleteItemsDto: {
|
|
4698
|
+
/** @description Array of items with files and folders ids */
|
|
4699
|
+
items: components['schemas']['DeleteItemDto'][];
|
|
4700
|
+
};
|
|
4552
4701
|
NotificationWithStatusDto: {
|
|
4553
4702
|
/**
|
|
4554
4703
|
* @description Unique identifier for the notification
|
|
@@ -4646,52 +4795,6 @@ export interface components {
|
|
|
4646
4795
|
*/
|
|
4647
4796
|
createdAt: string;
|
|
4648
4797
|
};
|
|
4649
|
-
ItemToTrashDto: {
|
|
4650
|
-
/**
|
|
4651
|
-
* @deprecated
|
|
4652
|
-
* @description Id of file or folder (deprecated in favor of uuid)
|
|
4653
|
-
* @example 4
|
|
4654
|
-
*/
|
|
4655
|
-
id?: string;
|
|
4656
|
-
/**
|
|
4657
|
-
* @description Uuid of file or folder
|
|
4658
|
-
* @example 4
|
|
4659
|
-
*/
|
|
4660
|
-
uuid: string;
|
|
4661
|
-
/**
|
|
4662
|
-
* @description Type of item: file or folder
|
|
4663
|
-
* @example file
|
|
4664
|
-
* @enum {string}
|
|
4665
|
-
*/
|
|
4666
|
-
type: 'file' | 'folder';
|
|
4667
|
-
};
|
|
4668
|
-
MoveItemsToTrashDto: {
|
|
4669
|
-
/** @description Array of items with files and folders ids */
|
|
4670
|
-
items: components['schemas']['ItemToTrashDto'][];
|
|
4671
|
-
};
|
|
4672
|
-
DeleteItemDto: {
|
|
4673
|
-
/**
|
|
4674
|
-
* @deprecated
|
|
4675
|
-
* @description Id of file or folder (deprecated in favor of uuid)
|
|
4676
|
-
* @example 4
|
|
4677
|
-
*/
|
|
4678
|
-
id: string | null;
|
|
4679
|
-
/**
|
|
4680
|
-
* @description Uuid of file or folder
|
|
4681
|
-
* @example 79a88429-b45a-4ae7-90f1-c351b6882670
|
|
4682
|
-
*/
|
|
4683
|
-
uuid: string;
|
|
4684
|
-
/**
|
|
4685
|
-
* @description Type of item: file or folder
|
|
4686
|
-
* @example file
|
|
4687
|
-
* @enum {string}
|
|
4688
|
-
*/
|
|
4689
|
-
type: 'file' | 'folder';
|
|
4690
|
-
};
|
|
4691
|
-
DeleteItemsDto: {
|
|
4692
|
-
/** @description Array of items with files and folders ids */
|
|
4693
|
-
items: components['schemas']['DeleteItemDto'][];
|
|
4694
|
-
};
|
|
4695
4798
|
LoginDto: {
|
|
4696
4799
|
/**
|
|
4697
4800
|
* @description The email of the user
|
|
@@ -5071,6 +5174,25 @@ export interface operations {
|
|
|
5071
5174
|
};
|
|
5072
5175
|
};
|
|
5073
5176
|
};
|
|
5177
|
+
FileController_getLimits: {
|
|
5178
|
+
parameters: {
|
|
5179
|
+
query?: never;
|
|
5180
|
+
header?: never;
|
|
5181
|
+
path?: never;
|
|
5182
|
+
cookie?: never;
|
|
5183
|
+
};
|
|
5184
|
+
requestBody?: never;
|
|
5185
|
+
responses: {
|
|
5186
|
+
200: {
|
|
5187
|
+
headers: {
|
|
5188
|
+
[name: string]: unknown;
|
|
5189
|
+
};
|
|
5190
|
+
content: {
|
|
5191
|
+
'application/json': components['schemas']['GetFileLimitsDto'];
|
|
5192
|
+
};
|
|
5193
|
+
};
|
|
5194
|
+
};
|
|
5195
|
+
};
|
|
5074
5196
|
FileController_getFileMetadata: {
|
|
5075
5197
|
parameters: {
|
|
5076
5198
|
query?: never;
|
|
@@ -5118,6 +5240,69 @@ export interface operations {
|
|
|
5118
5240
|
};
|
|
5119
5241
|
};
|
|
5120
5242
|
};
|
|
5243
|
+
FileController_getFileVersions: {
|
|
5244
|
+
parameters: {
|
|
5245
|
+
query?: never;
|
|
5246
|
+
header?: never;
|
|
5247
|
+
path: {
|
|
5248
|
+
uuid: string;
|
|
5249
|
+
};
|
|
5250
|
+
cookie?: never;
|
|
5251
|
+
};
|
|
5252
|
+
requestBody?: never;
|
|
5253
|
+
responses: {
|
|
5254
|
+
200: {
|
|
5255
|
+
headers: {
|
|
5256
|
+
[name: string]: unknown;
|
|
5257
|
+
};
|
|
5258
|
+
content: {
|
|
5259
|
+
'application/json': components['schemas']['FileVersionDto'][];
|
|
5260
|
+
};
|
|
5261
|
+
};
|
|
5262
|
+
};
|
|
5263
|
+
};
|
|
5264
|
+
FileController_deleteFileVersion: {
|
|
5265
|
+
parameters: {
|
|
5266
|
+
query?: never;
|
|
5267
|
+
header?: never;
|
|
5268
|
+
path: {
|
|
5269
|
+
uuid: string;
|
|
5270
|
+
versionId: string;
|
|
5271
|
+
};
|
|
5272
|
+
cookie?: never;
|
|
5273
|
+
};
|
|
5274
|
+
requestBody?: never;
|
|
5275
|
+
responses: {
|
|
5276
|
+
204: {
|
|
5277
|
+
headers: {
|
|
5278
|
+
[name: string]: unknown;
|
|
5279
|
+
};
|
|
5280
|
+
content?: never;
|
|
5281
|
+
};
|
|
5282
|
+
};
|
|
5283
|
+
};
|
|
5284
|
+
FileController_restoreFileVersion: {
|
|
5285
|
+
parameters: {
|
|
5286
|
+
query?: never;
|
|
5287
|
+
header?: never;
|
|
5288
|
+
path: {
|
|
5289
|
+
uuid: string;
|
|
5290
|
+
versionId: string;
|
|
5291
|
+
};
|
|
5292
|
+
cookie?: never;
|
|
5293
|
+
};
|
|
5294
|
+
requestBody?: never;
|
|
5295
|
+
responses: {
|
|
5296
|
+
200: {
|
|
5297
|
+
headers: {
|
|
5298
|
+
[name: string]: unknown;
|
|
5299
|
+
};
|
|
5300
|
+
content: {
|
|
5301
|
+
'application/json': components['schemas']['FileVersionDto'];
|
|
5302
|
+
};
|
|
5303
|
+
};
|
|
5304
|
+
};
|
|
5305
|
+
};
|
|
5121
5306
|
FileController_replaceFile: {
|
|
5122
5307
|
parameters: {
|
|
5123
5308
|
query?: never;
|
|
@@ -8901,72 +9086,6 @@ export interface operations {
|
|
|
8901
9086
|
};
|
|
8902
9087
|
};
|
|
8903
9088
|
};
|
|
8904
|
-
NotificationsController_getUserNotifications: {
|
|
8905
|
-
parameters: {
|
|
8906
|
-
query?: never;
|
|
8907
|
-
header?: never;
|
|
8908
|
-
path?: never;
|
|
8909
|
-
cookie?: never;
|
|
8910
|
-
};
|
|
8911
|
-
requestBody?: never;
|
|
8912
|
-
responses: {
|
|
8913
|
-
/** @description User notifications retrieved successfully */
|
|
8914
|
-
200: {
|
|
8915
|
-
headers: {
|
|
8916
|
-
[name: string]: unknown;
|
|
8917
|
-
};
|
|
8918
|
-
content: {
|
|
8919
|
-
'application/json': components['schemas']['NotificationWithStatusDto'][];
|
|
8920
|
-
};
|
|
8921
|
-
};
|
|
8922
|
-
};
|
|
8923
|
-
};
|
|
8924
|
-
NotificationsController_createNotification: {
|
|
8925
|
-
parameters: {
|
|
8926
|
-
query?: never;
|
|
8927
|
-
header?: never;
|
|
8928
|
-
path?: never;
|
|
8929
|
-
cookie?: never;
|
|
8930
|
-
};
|
|
8931
|
-
requestBody: {
|
|
8932
|
-
content: {
|
|
8933
|
-
'application/json': components['schemas']['CreateNotificationDto'];
|
|
8934
|
-
};
|
|
8935
|
-
};
|
|
8936
|
-
responses: {
|
|
8937
|
-
/** @description Notification created successfully */
|
|
8938
|
-
201: {
|
|
8939
|
-
headers: {
|
|
8940
|
-
[name: string]: unknown;
|
|
8941
|
-
};
|
|
8942
|
-
content: {
|
|
8943
|
-
'application/json': components['schemas']['NotificationResponseDto'];
|
|
8944
|
-
};
|
|
8945
|
-
};
|
|
8946
|
-
};
|
|
8947
|
-
};
|
|
8948
|
-
NotificationsController_markNotificationAsExpired: {
|
|
8949
|
-
parameters: {
|
|
8950
|
-
query?: never;
|
|
8951
|
-
header?: never;
|
|
8952
|
-
path: {
|
|
8953
|
-
id: string;
|
|
8954
|
-
};
|
|
8955
|
-
cookie?: never;
|
|
8956
|
-
};
|
|
8957
|
-
requestBody?: never;
|
|
8958
|
-
responses: {
|
|
8959
|
-
/** @description Notification marked as expired successfully */
|
|
8960
|
-
200: {
|
|
8961
|
-
headers: {
|
|
8962
|
-
[name: string]: unknown;
|
|
8963
|
-
};
|
|
8964
|
-
content: {
|
|
8965
|
-
'application/json': components['schemas']['NotificationResponseDto'];
|
|
8966
|
-
};
|
|
8967
|
-
};
|
|
8968
|
-
};
|
|
8969
|
-
};
|
|
8970
9089
|
TrashController_getTrashedFilesPaginated: {
|
|
8971
9090
|
parameters: {
|
|
8972
9091
|
query: {
|
|
@@ -9115,6 +9234,72 @@ export interface operations {
|
|
|
9115
9234
|
};
|
|
9116
9235
|
};
|
|
9117
9236
|
};
|
|
9237
|
+
NotificationsController_getUserNotifications: {
|
|
9238
|
+
parameters: {
|
|
9239
|
+
query?: never;
|
|
9240
|
+
header?: never;
|
|
9241
|
+
path?: never;
|
|
9242
|
+
cookie?: never;
|
|
9243
|
+
};
|
|
9244
|
+
requestBody?: never;
|
|
9245
|
+
responses: {
|
|
9246
|
+
/** @description User notifications retrieved successfully */
|
|
9247
|
+
200: {
|
|
9248
|
+
headers: {
|
|
9249
|
+
[name: string]: unknown;
|
|
9250
|
+
};
|
|
9251
|
+
content: {
|
|
9252
|
+
'application/json': components['schemas']['NotificationWithStatusDto'][];
|
|
9253
|
+
};
|
|
9254
|
+
};
|
|
9255
|
+
};
|
|
9256
|
+
};
|
|
9257
|
+
NotificationsController_createNotification: {
|
|
9258
|
+
parameters: {
|
|
9259
|
+
query?: never;
|
|
9260
|
+
header?: never;
|
|
9261
|
+
path?: never;
|
|
9262
|
+
cookie?: never;
|
|
9263
|
+
};
|
|
9264
|
+
requestBody: {
|
|
9265
|
+
content: {
|
|
9266
|
+
'application/json': components['schemas']['CreateNotificationDto'];
|
|
9267
|
+
};
|
|
9268
|
+
};
|
|
9269
|
+
responses: {
|
|
9270
|
+
/** @description Notification created successfully */
|
|
9271
|
+
201: {
|
|
9272
|
+
headers: {
|
|
9273
|
+
[name: string]: unknown;
|
|
9274
|
+
};
|
|
9275
|
+
content: {
|
|
9276
|
+
'application/json': components['schemas']['NotificationResponseDto'];
|
|
9277
|
+
};
|
|
9278
|
+
};
|
|
9279
|
+
};
|
|
9280
|
+
};
|
|
9281
|
+
NotificationsController_markNotificationAsExpired: {
|
|
9282
|
+
parameters: {
|
|
9283
|
+
query?: never;
|
|
9284
|
+
header?: never;
|
|
9285
|
+
path: {
|
|
9286
|
+
id: string;
|
|
9287
|
+
};
|
|
9288
|
+
cookie?: never;
|
|
9289
|
+
};
|
|
9290
|
+
requestBody?: never;
|
|
9291
|
+
responses: {
|
|
9292
|
+
/** @description Notification marked as expired successfully */
|
|
9293
|
+
200: {
|
|
9294
|
+
headers: {
|
|
9295
|
+
[name: string]: unknown;
|
|
9296
|
+
};
|
|
9297
|
+
content: {
|
|
9298
|
+
'application/json': components['schemas']['NotificationResponseDto'];
|
|
9299
|
+
};
|
|
9300
|
+
};
|
|
9301
|
+
};
|
|
9302
|
+
};
|
|
9118
9303
|
AuthController_login: {
|
|
9119
9304
|
parameters: {
|
|
9120
9305
|
query?: never;
|