@internxt/sdk 1.11.7 → 1.11.9
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { paths } from '../../schema';
|
|
2
|
-
import { SharingMeta } from '../share/types';
|
|
3
2
|
import { UserResumeData } from '../users/types';
|
|
4
3
|
export interface DriveFolderData {
|
|
5
4
|
id: number;
|
|
@@ -156,59 +155,10 @@ export declare enum FileStatus {
|
|
|
156
155
|
TRASHED = "TRASHED",
|
|
157
156
|
DELETED = "DELETED"
|
|
158
157
|
}
|
|
159
|
-
export
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
name: string;
|
|
164
|
-
type: string;
|
|
165
|
-
size: bigint;
|
|
166
|
-
bucket: string;
|
|
167
|
-
folderId: number;
|
|
168
|
-
folder?: any;
|
|
169
|
-
folderUuid: string;
|
|
170
|
-
encryptVersion: string;
|
|
171
|
-
deleted: boolean;
|
|
172
|
-
deletedAt: Date | null;
|
|
173
|
-
removed: boolean;
|
|
174
|
-
removedAt: Date | null;
|
|
175
|
-
userId: number;
|
|
176
|
-
user?: any;
|
|
177
|
-
modificationTime: Date;
|
|
178
|
-
plainName: string;
|
|
179
|
-
createdAt: Date;
|
|
180
|
-
updatedAt: Date;
|
|
181
|
-
status: FileStatus;
|
|
182
|
-
shares?: ShareLink[];
|
|
183
|
-
thumbnails?: Thumbnail[];
|
|
184
|
-
sharings?: SharingMeta[];
|
|
185
|
-
}
|
|
186
|
-
export interface FetchPaginatedFolder {
|
|
187
|
-
id: number;
|
|
188
|
-
parentId: number;
|
|
189
|
-
parentUuid: string;
|
|
190
|
-
parent?: any;
|
|
191
|
-
name: string;
|
|
192
|
-
bucket: string;
|
|
193
|
-
userId: number;
|
|
194
|
-
uuid: string;
|
|
195
|
-
user?: any;
|
|
196
|
-
plainName: string;
|
|
197
|
-
encryptVersion: string;
|
|
198
|
-
deleted: boolean;
|
|
199
|
-
removed: boolean;
|
|
200
|
-
deletedAt: Date | null;
|
|
201
|
-
createdAt: Date;
|
|
202
|
-
updatedAt: Date;
|
|
203
|
-
removedAt: Date | null;
|
|
204
|
-
sharings?: SharingMeta[];
|
|
205
|
-
}
|
|
206
|
-
export interface FetchPaginatedFilesContent {
|
|
207
|
-
files: FetchPaginatedFile[];
|
|
208
|
-
}
|
|
209
|
-
export interface FetchPaginatedFoldersContent {
|
|
210
|
-
folders: FetchPaginatedFolder[];
|
|
211
|
-
}
|
|
158
|
+
export type FetchPaginatedFile = paths['/folders/content/{uuid}/files']['get']['responses']['200']['content']['application/json']['files'][0];
|
|
159
|
+
export type FetchPaginatedFolder = paths['/folders/content/{uuid}/folders']['get']['responses']['200']['content']['application/json']['folders'][0];
|
|
160
|
+
export type FetchPaginatedFilesContent = paths['/folders/content/{uuid}/files']['get']['responses']['200']['content']['application/json'];
|
|
161
|
+
export type FetchPaginatedFoldersContent = paths['/folders/content/{uuid}/folders']['get']['responses']['200']['content']['application/json'];
|
|
212
162
|
export interface FetchTrashContentResponse {
|
|
213
163
|
result: {
|
|
214
164
|
id: number;
|
|
@@ -110,7 +110,7 @@ var Users = /** @class */ (function () {
|
|
|
110
110
|
* Returns fresh data of the user
|
|
111
111
|
*/
|
|
112
112
|
Users.prototype.refreshUser = function () {
|
|
113
|
-
return this.client.get('/
|
|
113
|
+
return this.client.get('/users/refresh', this.headers());
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* Returns fresh avatar URL of the user
|
package/dist/meet/types.d.ts
CHANGED