@internxt/sdk 1.5.25 → 1.6.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/auth/index.d.ts +127 -122
- package/dist/auth/index.js +378 -310
- package/dist/auth/types.d.ts +65 -54
- package/dist/auth/types.js +26 -26
- package/dist/drive/backups/index.d.ts +18 -18
- package/dist/drive/backups/index.js +40 -40
- package/dist/drive/backups/types.d.ts +27 -27
- package/dist/drive/backups/types.js +2 -2
- package/dist/drive/index.d.ts +7 -7
- package/dist/drive/index.js +23 -19
- package/dist/drive/payments/index.d.ts +66 -71
- package/dist/drive/payments/index.js +206 -208
- package/dist/drive/payments/types.d.ts +180 -176
- package/dist/drive/payments/types.js +37 -37
- package/dist/drive/referrals/index.d.ts +19 -19
- package/dist/drive/referrals/index.js +54 -50
- package/dist/drive/referrals/types.d.ts +21 -21
- package/dist/drive/referrals/types.js +18 -18
- package/dist/drive/share/index.d.ts +319 -319
- package/dist/drive/share/index.js +544 -540
- package/dist/drive/share/types.d.ts +360 -360
- package/dist/drive/share/types.js +2 -2
- package/dist/drive/storage/index.d.ts +315 -315
- package/dist/drive/storage/index.js +634 -630
- package/dist/drive/storage/types.d.ts +480 -473
- package/dist/drive/storage/types.js +13 -13
- package/dist/drive/trash/index.d.ts +75 -75
- package/dist/drive/trash/index.js +184 -180
- package/dist/drive/trash/types.d.ts +29 -29
- package/dist/drive/trash/types.js +2 -2
- package/dist/drive/users/index.d.ts +135 -135
- package/dist/drive/users/index.js +208 -204
- package/dist/drive/users/types.d.ts +53 -51
- package/dist/drive/users/types.js +2 -2
- package/dist/index.d.ts +6 -6
- package/dist/index.js +35 -31
- package/dist/network/download.d.ts +8 -8
- package/dist/network/download.js +123 -123
- package/dist/network/errors/codes.d.ts +24 -24
- package/dist/network/errors/codes.js +48 -48
- package/dist/network/errors/context.d.ts +35 -35
- package/dist/network/errors/context.js +39 -39
- package/dist/network/errors/download.d.ts +4 -4
- package/dist/network/errors/download.js +52 -48
- package/dist/network/errors/index.d.ts +3 -3
- package/dist/network/errors/index.js +19 -15
- package/dist/network/errors/upload.d.ts +13 -13
- package/dist/network/errors/upload.js +82 -78
- package/dist/network/index.d.ts +70 -70
- package/dist/network/index.js +315 -311
- package/dist/network/types.d.ts +102 -102
- package/dist/network/types.js +18 -18
- package/dist/network/upload.d.ts +4 -4
- package/dist/network/upload.js +158 -159
- package/dist/photos/devices/index.d.ts +10 -10
- package/dist/photos/devices/index.js +79 -79
- package/dist/photos/index.d.ts +17 -17
- package/dist/photos/index.js +56 -52
- package/dist/photos/photos/index.d.ts +60 -60
- package/dist/photos/photos/index.js +225 -225
- package/dist/photos/shares/index.d.ts +8 -8
- package/dist/photos/shares/index.js +34 -34
- package/dist/photos/types.d.ts +154 -154
- package/dist/photos/types.js +19 -19
- package/dist/photos/users/index.d.ts +7 -7
- package/dist/photos/users/index.js +46 -46
- package/dist/shared/headers/index.d.ts +21 -21
- package/dist/shared/headers/index.js +78 -79
- package/dist/shared/http/client.d.ts +85 -85
- package/dist/shared/http/client.js +172 -172
- package/dist/shared/http/types.d.ts +7 -7
- package/dist/shared/http/types.js +2 -2
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +17 -13
- package/dist/shared/types/apiConnection.d.ts +12 -12
- package/dist/shared/types/apiConnection.js +2 -2
- package/dist/shared/types/appsumo.d.ts +16 -16
- package/dist/shared/types/appsumo.js +12 -12
- package/dist/shared/types/errors.d.ts +5 -5
- package/dist/shared/types/errors.js +28 -28
- package/dist/shared/types/teams.d.ts +9 -9
- package/dist/shared/types/teams.js +2 -2
- package/dist/shared/types/userSettings.d.ts +43 -29
- package/dist/shared/types/userSettings.js +2 -2
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +24 -25
- package/dist/workspaces/index.d.ts +176 -176
- package/dist/workspaces/index.js +419 -415
- package/dist/workspaces/index.test.d.ts +1 -1
- package/dist/workspaces/index.test.js +908 -903
- package/dist/workspaces/types.d.ts +294 -291
- package/dist/workspaces/types.js +2 -2
- package/package.json +13 -13
|
@@ -1,291 +1,294 @@
|
|
|
1
|
-
import { SharedFiles, SharedFolders } from '../drive/share/types';
|
|
2
|
-
export interface WorkspaceUser {
|
|
3
|
-
backupsUsage: string;
|
|
4
|
-
createdAt: string;
|
|
5
|
-
deactivated: boolean;
|
|
6
|
-
driveUsage: string;
|
|
7
|
-
freeSpace: string;
|
|
8
|
-
id: string;
|
|
9
|
-
isManager: boolean;
|
|
10
|
-
isOwner: boolean;
|
|
11
|
-
key: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
export
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
name: string;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
1
|
+
import { SharedFiles, SharedFolders } from '../drive/share/types';
|
|
2
|
+
export interface WorkspaceUser {
|
|
3
|
+
backupsUsage: string;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
deactivated: boolean;
|
|
6
|
+
driveUsage: string;
|
|
7
|
+
freeSpace: string;
|
|
8
|
+
id: string;
|
|
9
|
+
isManager: boolean;
|
|
10
|
+
isOwner: boolean;
|
|
11
|
+
key: string;
|
|
12
|
+
hybridModeEnabled: boolean;
|
|
13
|
+
member: Member;
|
|
14
|
+
memberId: string;
|
|
15
|
+
rootFolderId: string;
|
|
16
|
+
spaceLimit: string;
|
|
17
|
+
updatedAt: string;
|
|
18
|
+
usedSpace: string;
|
|
19
|
+
workspaceId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface Workspace {
|
|
22
|
+
id: string;
|
|
23
|
+
ownerId: string;
|
|
24
|
+
address: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
defaultTeamId: string;
|
|
28
|
+
workspaceUserId: string;
|
|
29
|
+
setupCompleted: boolean;
|
|
30
|
+
createdAt: string;
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
avatar: null | string;
|
|
33
|
+
rootFolderId: string;
|
|
34
|
+
phoneNumber: null | string;
|
|
35
|
+
}
|
|
36
|
+
export interface WorkspaceData {
|
|
37
|
+
workspaceUser: WorkspaceUser;
|
|
38
|
+
workspace: Workspace;
|
|
39
|
+
}
|
|
40
|
+
export interface WorkspaceUsage {
|
|
41
|
+
totalWorkspaceSpace: number;
|
|
42
|
+
spaceAssigned: number;
|
|
43
|
+
spaceUsed: number;
|
|
44
|
+
}
|
|
45
|
+
export type WorkspaceSetupInfo = {
|
|
46
|
+
workspaceId: string;
|
|
47
|
+
name: string;
|
|
48
|
+
address: string;
|
|
49
|
+
description: string;
|
|
50
|
+
encryptedMnemonic: string;
|
|
51
|
+
hybridModeEnabled: boolean;
|
|
52
|
+
};
|
|
53
|
+
export type PendingWorkspace = {
|
|
54
|
+
address: string | null;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
defaultTeamId: string;
|
|
57
|
+
description: string | null;
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
ownerId: string;
|
|
61
|
+
setupCompleted: boolean;
|
|
62
|
+
updatedAt: string;
|
|
63
|
+
workspaceUserId: string;
|
|
64
|
+
};
|
|
65
|
+
export type WorkspacesResponse = {
|
|
66
|
+
availableWorkspaces: WorkspaceData[];
|
|
67
|
+
pendingWorkspaces: PendingWorkspace[];
|
|
68
|
+
};
|
|
69
|
+
export interface CreateTeamData {
|
|
70
|
+
workspaceId: string;
|
|
71
|
+
name: string;
|
|
72
|
+
managerId: string;
|
|
73
|
+
}
|
|
74
|
+
export type Team = {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
managerId: string;
|
|
78
|
+
workspaceId: string;
|
|
79
|
+
createdAt: string;
|
|
80
|
+
updatedAt: string;
|
|
81
|
+
};
|
|
82
|
+
export type WorkspaceMembers = {
|
|
83
|
+
activatedUsers: WorkspaceUser[];
|
|
84
|
+
disabledUsers: WorkspaceUser[];
|
|
85
|
+
};
|
|
86
|
+
export type TeamMember = {
|
|
87
|
+
name: string;
|
|
88
|
+
lastname: string;
|
|
89
|
+
email: string;
|
|
90
|
+
id: number;
|
|
91
|
+
uuid: string;
|
|
92
|
+
avatar: string | null;
|
|
93
|
+
};
|
|
94
|
+
export type TeamMembers = TeamMember[];
|
|
95
|
+
export type Member = {
|
|
96
|
+
avatar: string | null;
|
|
97
|
+
backupsBucket: string | null;
|
|
98
|
+
bridgeUser: string;
|
|
99
|
+
credit: number;
|
|
100
|
+
email: string;
|
|
101
|
+
errorLoginCount: number;
|
|
102
|
+
id: number;
|
|
103
|
+
isEmailActivitySended: boolean;
|
|
104
|
+
lastPasswordChangedAt: string | null;
|
|
105
|
+
lastResend: string | null;
|
|
106
|
+
lastname: string;
|
|
107
|
+
name: string;
|
|
108
|
+
referralCode: string;
|
|
109
|
+
referrer: string | null;
|
|
110
|
+
registerCompleted: boolean;
|
|
111
|
+
rootFolderId: number;
|
|
112
|
+
sharedWorkspace: boolean;
|
|
113
|
+
syncDate: string | null;
|
|
114
|
+
userId: string;
|
|
115
|
+
username: string;
|
|
116
|
+
uuid: string;
|
|
117
|
+
welcomePack: boolean;
|
|
118
|
+
};
|
|
119
|
+
export type ActivatedUser = {
|
|
120
|
+
isOwner: boolean;
|
|
121
|
+
isManager: boolean;
|
|
122
|
+
usedSpace: string;
|
|
123
|
+
freeSpace: string;
|
|
124
|
+
id: string;
|
|
125
|
+
memberId: string;
|
|
126
|
+
key: string;
|
|
127
|
+
workspaceId: string;
|
|
128
|
+
spaceLimit: string;
|
|
129
|
+
driveUsage: string;
|
|
130
|
+
backupsUsage: string;
|
|
131
|
+
deactivated: boolean;
|
|
132
|
+
member: Member;
|
|
133
|
+
createdAt: string;
|
|
134
|
+
updatedAt: string;
|
|
135
|
+
};
|
|
136
|
+
export type WorkspaceTeam = {
|
|
137
|
+
membersCount: number;
|
|
138
|
+
team: Team;
|
|
139
|
+
};
|
|
140
|
+
export type WorkspaceTeamResponse = WorkspaceTeam[];
|
|
141
|
+
export type InviteMemberBody = {
|
|
142
|
+
workspaceId: string;
|
|
143
|
+
invitedUserEmail: string;
|
|
144
|
+
spaceLimitBytes?: number;
|
|
145
|
+
encryptedMnemonicInBase64: string;
|
|
146
|
+
encryptionAlgorithm: string;
|
|
147
|
+
message: string;
|
|
148
|
+
hybridModeEnabled: boolean;
|
|
149
|
+
};
|
|
150
|
+
interface Invite {
|
|
151
|
+
id: string;
|
|
152
|
+
workspaceId: string;
|
|
153
|
+
invitedUser: string;
|
|
154
|
+
encryptionAlgorithm: string;
|
|
155
|
+
encryptionKey: string;
|
|
156
|
+
spaceLimit: number;
|
|
157
|
+
createdAt: Date;
|
|
158
|
+
updatedAt: Date;
|
|
159
|
+
}
|
|
160
|
+
export type PendingInvitesResponse = (Invite & {
|
|
161
|
+
workspace: Workspace;
|
|
162
|
+
})[];
|
|
163
|
+
export type EditWorkspaceDetailsBody = {
|
|
164
|
+
workspaceId: string;
|
|
165
|
+
name?: string;
|
|
166
|
+
description?: string;
|
|
167
|
+
};
|
|
168
|
+
export type GetMemberDetailsResponse = {
|
|
169
|
+
user: {
|
|
170
|
+
name: string;
|
|
171
|
+
lastname: string;
|
|
172
|
+
email: string;
|
|
173
|
+
uuid: string;
|
|
174
|
+
id: number;
|
|
175
|
+
avatar: string | null;
|
|
176
|
+
memberId: string;
|
|
177
|
+
workspaceId: string;
|
|
178
|
+
spaceLimit: string;
|
|
179
|
+
driveUsage: string;
|
|
180
|
+
backupsUsage: string;
|
|
181
|
+
deactivated: boolean;
|
|
182
|
+
};
|
|
183
|
+
teams: (Team & {
|
|
184
|
+
isManager: boolean;
|
|
185
|
+
})[];
|
|
186
|
+
};
|
|
187
|
+
export type FileEntry = {
|
|
188
|
+
name: string;
|
|
189
|
+
bucket: string;
|
|
190
|
+
fileId: string;
|
|
191
|
+
encryptVersion: string;
|
|
192
|
+
folderUuid: string;
|
|
193
|
+
size: number;
|
|
194
|
+
plainName: string;
|
|
195
|
+
type: string;
|
|
196
|
+
modificationTime: string;
|
|
197
|
+
date: string;
|
|
198
|
+
};
|
|
199
|
+
export interface WorkspaceCredentials {
|
|
200
|
+
networkPass: string;
|
|
201
|
+
networkUser: string;
|
|
202
|
+
}
|
|
203
|
+
export interface WorkspaceCredentialsDetails {
|
|
204
|
+
workspaceId: string;
|
|
205
|
+
bucket: string;
|
|
206
|
+
workspaceUserId: string;
|
|
207
|
+
email: string;
|
|
208
|
+
credentials: WorkspaceCredentials;
|
|
209
|
+
tokenHeader: string;
|
|
210
|
+
}
|
|
211
|
+
export interface CreateFolderPayload {
|
|
212
|
+
workspaceId: string;
|
|
213
|
+
plainName: string;
|
|
214
|
+
parentFolderUuid: string;
|
|
215
|
+
}
|
|
216
|
+
export type WorkspacePendingInvitations = {
|
|
217
|
+
id: string;
|
|
218
|
+
workspaceId: string;
|
|
219
|
+
invitedUser: string;
|
|
220
|
+
encryptionAlgorithm: string;
|
|
221
|
+
encryptionKey: string;
|
|
222
|
+
spaceLimit: string;
|
|
223
|
+
createdAt: Date;
|
|
224
|
+
updatedAt: Date;
|
|
225
|
+
user: {
|
|
226
|
+
name: string;
|
|
227
|
+
lastname: string;
|
|
228
|
+
email: string;
|
|
229
|
+
uuid: string;
|
|
230
|
+
avatar: string | null;
|
|
231
|
+
};
|
|
232
|
+
isGuessInvite: boolean;
|
|
233
|
+
};
|
|
234
|
+
export type ItemType = 'file' | 'folder';
|
|
235
|
+
export interface CreateWorkspaceSharingPayload {
|
|
236
|
+
workspaceId: string;
|
|
237
|
+
itemId: string;
|
|
238
|
+
itemType: ItemType;
|
|
239
|
+
teamUUID: string;
|
|
240
|
+
roleId: string;
|
|
241
|
+
}
|
|
242
|
+
export type ListWorkspaceSharedItemsResponse = {
|
|
243
|
+
items: SharedFiles[] | SharedFolders[];
|
|
244
|
+
token: string;
|
|
245
|
+
role: string;
|
|
246
|
+
parent: Parent;
|
|
247
|
+
bucket: string;
|
|
248
|
+
encryptionKey: null | string;
|
|
249
|
+
};
|
|
250
|
+
export type Parent = {
|
|
251
|
+
uuid: string;
|
|
252
|
+
name: string;
|
|
253
|
+
};
|
|
254
|
+
export type usersWithRoles = {
|
|
255
|
+
name: string;
|
|
256
|
+
lastname: string;
|
|
257
|
+
email: string;
|
|
258
|
+
sharingId: string | null;
|
|
259
|
+
avatar: string | null;
|
|
260
|
+
uuid: string;
|
|
261
|
+
role: {
|
|
262
|
+
id: string;
|
|
263
|
+
name: string;
|
|
264
|
+
createdAt: string;
|
|
265
|
+
updatedAt: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
export type teamsWithRoles = {
|
|
269
|
+
id: string;
|
|
270
|
+
workspaceId: string;
|
|
271
|
+
managerId: string;
|
|
272
|
+
name: string | null;
|
|
273
|
+
createdAt: string;
|
|
274
|
+
updatedAt: string;
|
|
275
|
+
membersCount: number;
|
|
276
|
+
sharingId: string;
|
|
277
|
+
role: {
|
|
278
|
+
id: string;
|
|
279
|
+
name: string;
|
|
280
|
+
createdAt: string;
|
|
281
|
+
updatedAt: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
export type UsersAndTeamsAnItemIsShareWidthResponse = {
|
|
285
|
+
usersWithRoles: usersWithRoles[];
|
|
286
|
+
teamsWithRoles: teamsWithRoles[];
|
|
287
|
+
};
|
|
288
|
+
export type OrderByOptions = 'views:ASC' | 'views:DESC' | 'createdAt:ASC' | 'createdAt:DESC';
|
|
289
|
+
export type GetMemberUsageResponse = {
|
|
290
|
+
backupsUsage: number;
|
|
291
|
+
driveUsage: number;
|
|
292
|
+
spaceLimit: number;
|
|
293
|
+
};
|
|
294
|
+
export {};
|
package/dist/workspaces/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@internxt/sdk",
|
|
3
|
-
"
|
|
3
|
+
"author": "Internxt <hello@internxt.com>",
|
|
4
|
+
"version": "1.6.4",
|
|
4
5
|
"description": "An sdk for interacting with Internxt's services",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "git+https://github.com/internxt/sdk.git"
|
|
8
9
|
},
|
|
9
|
-
"author": "",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/internxt/sdk/issues"
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@internxt/eslint-config-internxt": "^1.0.3",
|
|
30
30
|
"@internxt/prettier-config": "^1.0.1",
|
|
31
|
-
"@types/jest": "^
|
|
32
|
-
"@types/sinon": "^
|
|
33
|
-
"@types/uuid": "^
|
|
31
|
+
"@types/jest": "^29.5.14",
|
|
32
|
+
"@types/sinon": "^17.0.3",
|
|
33
|
+
"@types/uuid": "^10.0.0",
|
|
34
34
|
"eslint": "^7.32.0",
|
|
35
|
-
"husky": "^
|
|
36
|
-
"jest": "^
|
|
37
|
-
"prettier": "^
|
|
38
|
-
"sinon": "^
|
|
39
|
-
"ts-jest": "^
|
|
40
|
-
"typescript": "^
|
|
35
|
+
"husky": "^9.1.6",
|
|
36
|
+
"jest": "^29.7.0",
|
|
37
|
+
"prettier": "^3.3.3",
|
|
38
|
+
"sinon": "^19.0.2",
|
|
39
|
+
"ts-jest": "^29.2.5",
|
|
40
|
+
"typescript": "^5.6.3"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"axios": "^0.
|
|
43
|
+
"axios": "^0.28.0",
|
|
44
44
|
"query-string": "^7.1.0",
|
|
45
|
-
"uuid": "^
|
|
45
|
+
"uuid": "^11.0.2"
|
|
46
46
|
}
|
|
47
47
|
}
|