@internxt/sdk 1.11.2 → 1.11.4
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.
- package/dist/drive/storage/index.d.ts +2 -3
- package/dist/drive/storage/types.d.ts +2 -0
- package/dist/drive/trash/index.d.ts +2 -3
- package/dist/drive/trash/types.d.ts +2 -0
- package/dist/meet/index.test.js +2 -0
- package/dist/meet/types.d.ts +2 -0
- package/dist/schema.d.ts +8887 -0
- package/package.json +2 -2
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { paths } from '../../schema';
|
|
2
1
|
import { Token } from '../../auth';
|
|
3
2
|
import { ApiSecurity, ApiUrl, AppDetails } from '../../shared';
|
|
4
3
|
import { RequestCanceler } from '../../shared/http/client';
|
|
5
4
|
import { UUID } from '../../shared/types/userSettings';
|
|
6
5
|
import { ItemType } from './../../workspaces/types';
|
|
7
|
-
import { CheckDuplicatedFilesPayload, CheckDuplicatedFilesResponse, CheckDuplicatedFolderPayload, CheckDuplicatedFoldersResponse, CreateFolderByUuidPayload, CreateFolderPayload, CreateFolderResponse, CreateThumbnailEntryPayload, DeleteFilePayload, DriveFileData, FetchFolderContentResponse, FetchLimitResponse, FetchPaginatedFilesContent, FetchPaginatedFolderContentResponse, FetchPaginatedFoldersContent, FileEntry, FileEntryByUuid, FileMeta, 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, FolderAncestor, FolderAncestorWorkspace, FolderMeta, FolderTreeResponse, MoveFilePayload, MoveFileResponse, MoveFileUuidPayload, MoveFolderPayload, MoveFolderResponse, MoveFolderUuidPayload, ReplaceFile, SearchResultData, Thumbnail, ThumbnailEntry, UpdateFilePayload, UpdateFolderMetadataPayload, UsageResponse, UsageResponseV2 } from './types';
|
|
8
7
|
export * as StorageTypes from './types';
|
|
9
8
|
export declare class Storage {
|
|
10
9
|
private readonly client;
|
|
@@ -238,7 +237,7 @@ export declare class Storage {
|
|
|
238
237
|
* Add Items to Trash
|
|
239
238
|
* @param payload
|
|
240
239
|
*/
|
|
241
|
-
addItemsToTrash(payload:
|
|
240
|
+
addItemsToTrash(payload: AddItemsToTrashPayload): Promise<void>;
|
|
242
241
|
/**
|
|
243
242
|
* @returns whether the user has uploaded any files
|
|
244
243
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { paths } from '../../schema';
|
|
1
2
|
import { SharingMeta } from '../share/types';
|
|
2
3
|
import { UserResumeData } from '../users/types';
|
|
3
4
|
export interface DriveFolderData {
|
|
@@ -383,6 +384,7 @@ export type UsageResponseV2 = {
|
|
|
383
384
|
export interface FetchLimitResponse {
|
|
384
385
|
maxSpaceBytes: number;
|
|
385
386
|
}
|
|
387
|
+
export type AddItemsToTrashPayload = paths['/storage/trash/add']['post']['requestBody']['content']['application/json'];
|
|
386
388
|
export interface SearchResult {
|
|
387
389
|
id: string;
|
|
388
390
|
itemId: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { paths } from '../../schema';
|
|
2
1
|
import { ApiSecurity, ApiUrl, AppDetails } from '../../shared';
|
|
3
2
|
import { FetchFolderContentResponse, FetchTrashContentResponse } from '../storage/types';
|
|
4
|
-
import { DeleteFilePayload, DeleteItemsPermanentlyByUUIDPayload, DeleteItemsPermanentlyPayload } from './types';
|
|
3
|
+
import { AddItemsToTrashPayload, DeleteFilePayload, DeleteItemsPermanentlyByUUIDPayload, DeleteItemsPermanentlyPayload } from './types';
|
|
5
4
|
export * as TrashTypes from './types';
|
|
6
5
|
export declare class Trash {
|
|
7
6
|
private readonly client;
|
|
@@ -51,7 +50,7 @@ export declare class Trash {
|
|
|
51
50
|
* Add Items to Trash
|
|
52
51
|
* @param payload
|
|
53
52
|
*/
|
|
54
|
-
addItemsToTrash(payload:
|
|
53
|
+
addItemsToTrash(payload: AddItemsToTrashPayload): Promise<void>;
|
|
55
54
|
/**
|
|
56
55
|
* Removes all items from the trash
|
|
57
56
|
*/
|
package/dist/meet/index.test.js
CHANGED
|
@@ -61,6 +61,7 @@ describe('Meet service tests', function () {
|
|
|
61
61
|
token: 'call-token',
|
|
62
62
|
room: 'room-id',
|
|
63
63
|
paxPerCall: 10,
|
|
64
|
+
appId: 'app-id',
|
|
64
65
|
};
|
|
65
66
|
_a = clientAndHeadersWithToken(), client = _a.client, headers = _a.headers;
|
|
66
67
|
postCall = sinon_1.default.stub(httpClient, 'post').resolves(expectedResponse);
|
|
@@ -101,6 +102,7 @@ describe('Meet service tests', function () {
|
|
|
101
102
|
token: 'join-token',
|
|
102
103
|
room: 'room-id',
|
|
103
104
|
userId: 'user-123',
|
|
105
|
+
appId: 'app-id',
|
|
104
106
|
};
|
|
105
107
|
it('should join a call successfully with token', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
106
108
|
var _a, client, headers, postCall, response;
|
package/dist/meet/types.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export interface CreateCallResponse {
|
|
|
2
2
|
token: string;
|
|
3
3
|
room: string;
|
|
4
4
|
paxPerCall: number;
|
|
5
|
+
appId: string;
|
|
5
6
|
}
|
|
6
7
|
export interface JoinCallPayload {
|
|
7
8
|
name: string;
|
|
@@ -12,6 +13,7 @@ export interface JoinCallResponse {
|
|
|
12
13
|
token: string;
|
|
13
14
|
room: string;
|
|
14
15
|
userId: string;
|
|
16
|
+
appId: string;
|
|
15
17
|
}
|
|
16
18
|
export interface UsersInCallResponse {
|
|
17
19
|
userId: string;
|