sandbox0 0.3.0 → 0.3.1
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/apispec/src/apis/FilesApi.d.ts +15 -1
- package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/FilesApi.js +41 -1
- package/dist/apispec/src/models/CloneVolumeFileEntry.d.ts +57 -0
- package/dist/apispec/src/models/CloneVolumeFileEntry.d.ts.map +1 -0
- package/dist/apispec/src/models/CloneVolumeFileEntry.js +55 -0
- package/dist/apispec/src/models/CloneVolumeFileResult.d.ts +65 -0
- package/dist/apispec/src/models/CloneVolumeFileResult.d.ts.map +1 -0
- package/dist/apispec/src/models/CloneVolumeFileResult.js +66 -0
- package/dist/apispec/src/models/CloneVolumeFilesRequest.d.ts +55 -0
- package/dist/apispec/src/models/CloneVolumeFilesRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/CloneVolumeFilesRequest.js +56 -0
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.js +46 -0
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.js +42 -0
- package/dist/apispec/src/models/index.d.ts +5 -0
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +5 -0
- package/dist/resources/volumes.d.ts +2 -1
- package/dist/resources/volumes.d.ts.map +1 -1
- package/dist/resources/volumes.js +8 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { MoveFileRequest, SuccessDeletedResponse, SuccessFileListResponse, SuccessFileStatResponse, SuccessMovedResponse, SuccessWrittenResponse } from '../models/index.js';
|
|
13
|
+
import type { CloneVolumeFilesRequest, MoveFileRequest, SuccessCloneVolumeFilesResponse, SuccessDeletedResponse, SuccessFileListResponse, SuccessFileStatResponse, SuccessMovedResponse, SuccessWrittenResponse } from '../models/index.js';
|
|
14
14
|
export interface ApiV1SandboxesIdFilesDeleteRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
path: string;
|
|
@@ -41,6 +41,10 @@ export interface ApiV1SandboxesIdFilesStatGetRequest {
|
|
|
41
41
|
export interface ApiV1SandboxesIdFilesWatchGetRequest {
|
|
42
42
|
id: string;
|
|
43
43
|
}
|
|
44
|
+
export interface ApiV1SandboxvolumesIdFilesClonePostRequest {
|
|
45
|
+
id: string;
|
|
46
|
+
cloneVolumeFilesRequest: CloneVolumeFilesRequest;
|
|
47
|
+
}
|
|
44
48
|
export interface ApiV1SandboxvolumesIdFilesDeleteRequest {
|
|
45
49
|
id: string;
|
|
46
50
|
path: string;
|
|
@@ -141,6 +145,16 @@ export declare class FilesApi extends runtime.BaseAPI {
|
|
|
141
145
|
* File watch WebSocket
|
|
142
146
|
*/
|
|
143
147
|
apiV1SandboxesIdFilesWatchGet(requestParameters: ApiV1SandboxesIdFilesWatchGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
148
|
+
/**
|
|
149
|
+
* Clones one or more regular files into the target sandbox volume. The storage layer uses copy-on-write metadata clones when possible and can fall back to server-side copy when requested.
|
|
150
|
+
* Clone files from sandbox volumes into a target volume
|
|
151
|
+
*/
|
|
152
|
+
apiV1SandboxvolumesIdFilesClonePostRaw(requestParameters: ApiV1SandboxvolumesIdFilesClonePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessCloneVolumeFilesResponse>>;
|
|
153
|
+
/**
|
|
154
|
+
* Clones one or more regular files into the target sandbox volume. The storage layer uses copy-on-write metadata clones when possible and can fall back to server-side copy when requested.
|
|
155
|
+
* Clone files from sandbox volumes into a target volume
|
|
156
|
+
*/
|
|
157
|
+
apiV1SandboxvolumesIdFilesClonePost(requestParameters: ApiV1SandboxvolumesIdFilesClonePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessCloneVolumeFilesResponse>;
|
|
144
158
|
/**
|
|
145
159
|
* Delete volume file or directory
|
|
146
160
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/FilesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,eAAe,
|
|
1
|
+
{"version":3,"file":"FilesApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/FilesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,uBAAuB,EAEvB,eAAe,EACf,+BAA+B,EAE/B,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AA0BzB,MAAM,WAAW,kCAAkC;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,+BAA+B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mCAAmC;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,oCAAoC;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,eAAe,CAAC;CACpC;AAED,MAAM,WAAW,gCAAgC;IAC7C,EAAE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edResponseFromJSON, SuccessFileListResponseFromJSON, SuccessFileStatResponseFromJSON, SuccessMovedResponseFromJSON, SuccessWrittenResponseFromJSON, } from '../models/index.js';
|
|
15
|
+
import { CloneVolumeFilesRequestToJSON, MoveFileRequestToJSON, SuccessCloneVolumeFilesResponseFromJSON, SuccessDeletedResponseFromJSON, SuccessFileListResponseFromJSON, SuccessFileStatResponseFromJSON, SuccessMovedResponseFromJSON, SuccessWrittenResponseFromJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -300,6 +300,46 @@ export class FilesApi extends runtime.BaseAPI {
|
|
|
300
300
|
async apiV1SandboxesIdFilesWatchGet(requestParameters, initOverrides) {
|
|
301
301
|
await this.apiV1SandboxesIdFilesWatchGetRaw(requestParameters, initOverrides);
|
|
302
302
|
}
|
|
303
|
+
/**
|
|
304
|
+
* Clones one or more regular files into the target sandbox volume. The storage layer uses copy-on-write metadata clones when possible and can fall back to server-side copy when requested.
|
|
305
|
+
* Clone files from sandbox volumes into a target volume
|
|
306
|
+
*/
|
|
307
|
+
async apiV1SandboxvolumesIdFilesClonePostRaw(requestParameters, initOverrides) {
|
|
308
|
+
if (requestParameters['id'] == null) {
|
|
309
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiV1SandboxvolumesIdFilesClonePost().');
|
|
310
|
+
}
|
|
311
|
+
if (requestParameters['cloneVolumeFilesRequest'] == null) {
|
|
312
|
+
throw new runtime.RequiredError('cloneVolumeFilesRequest', 'Required parameter "cloneVolumeFilesRequest" was null or undefined when calling apiV1SandboxvolumesIdFilesClonePost().');
|
|
313
|
+
}
|
|
314
|
+
const queryParameters = {};
|
|
315
|
+
const headerParameters = {};
|
|
316
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
317
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
318
|
+
const token = this.configuration.accessToken;
|
|
319
|
+
const tokenString = await token("bearerAuth", []);
|
|
320
|
+
if (tokenString) {
|
|
321
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
let urlPath = `/api/v1/sandboxvolumes/{id}/files/clone`;
|
|
325
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
326
|
+
const response = await this.request({
|
|
327
|
+
path: urlPath,
|
|
328
|
+
method: 'POST',
|
|
329
|
+
headers: headerParameters,
|
|
330
|
+
query: queryParameters,
|
|
331
|
+
body: CloneVolumeFilesRequestToJSON(requestParameters['cloneVolumeFilesRequest']),
|
|
332
|
+
}, initOverrides);
|
|
333
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SuccessCloneVolumeFilesResponseFromJSON(jsonValue));
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Clones one or more regular files into the target sandbox volume. The storage layer uses copy-on-write metadata clones when possible and can fall back to server-side copy when requested.
|
|
337
|
+
* Clone files from sandbox volumes into a target volume
|
|
338
|
+
*/
|
|
339
|
+
async apiV1SandboxvolumesIdFilesClonePost(requestParameters, initOverrides) {
|
|
340
|
+
const response = await this.apiV1SandboxvolumesIdFilesClonePostRaw(requestParameters, initOverrides);
|
|
341
|
+
return await response.value();
|
|
342
|
+
}
|
|
303
343
|
/**
|
|
304
344
|
* Delete volume file or directory
|
|
305
345
|
*/
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CloneVolumeFileEntry
|
|
16
|
+
*/
|
|
17
|
+
export interface CloneVolumeFileEntry {
|
|
18
|
+
/**
|
|
19
|
+
* Source sandbox volume ID. It must belong to the same team as the target volume.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CloneVolumeFileEntry
|
|
22
|
+
*/
|
|
23
|
+
sourceVolumeId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Source regular file path inside the source volume.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CloneVolumeFileEntry
|
|
28
|
+
*/
|
|
29
|
+
sourcePath: string;
|
|
30
|
+
/**
|
|
31
|
+
* Destination file path inside the target volume.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CloneVolumeFileEntry
|
|
34
|
+
*/
|
|
35
|
+
targetPath: string;
|
|
36
|
+
/**
|
|
37
|
+
* Replace an existing destination file. Existing directories are never overwritten.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CloneVolumeFileEntry
|
|
40
|
+
*/
|
|
41
|
+
overwrite?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Create missing parent directories under the target path.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CloneVolumeFileEntry
|
|
46
|
+
*/
|
|
47
|
+
createParents?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the CloneVolumeFileEntry interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfCloneVolumeFileEntry(value: object): value is CloneVolumeFileEntry;
|
|
53
|
+
export declare function CloneVolumeFileEntryFromJSON(json: any): CloneVolumeFileEntry;
|
|
54
|
+
export declare function CloneVolumeFileEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloneVolumeFileEntry;
|
|
55
|
+
export declare function CloneVolumeFileEntryToJSON(json: any): CloneVolumeFileEntry;
|
|
56
|
+
export declare function CloneVolumeFileEntryToJSONTyped(value?: CloneVolumeFileEntry | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=CloneVolumeFileEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloneVolumeFileEntry.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CloneVolumeFileEntry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAK3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa9H"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the CloneVolumeFileEntry interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCloneVolumeFileEntry(value) {
|
|
18
|
+
if (!('sourceVolumeId' in value) || value['sourceVolumeId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('sourcePath' in value) || value['sourcePath'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('targetPath' in value) || value['targetPath'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function CloneVolumeFileEntryFromJSON(json) {
|
|
27
|
+
return CloneVolumeFileEntryFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function CloneVolumeFileEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'sourceVolumeId': json['source_volume_id'],
|
|
35
|
+
'sourcePath': json['source_path'],
|
|
36
|
+
'targetPath': json['target_path'],
|
|
37
|
+
'overwrite': json['overwrite'] == null ? undefined : json['overwrite'],
|
|
38
|
+
'createParents': json['create_parents'] == null ? undefined : json['create_parents'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function CloneVolumeFileEntryToJSON(json) {
|
|
42
|
+
return CloneVolumeFileEntryToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function CloneVolumeFileEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'source_volume_id': value['sourceVolumeId'],
|
|
50
|
+
'source_path': value['sourcePath'],
|
|
51
|
+
'target_path': value['targetPath'],
|
|
52
|
+
'overwrite': value['overwrite'],
|
|
53
|
+
'create_parents': value['createParents'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CloneVolumeFileResult
|
|
16
|
+
*/
|
|
17
|
+
export interface CloneVolumeFileResult {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CloneVolumeFileResult
|
|
22
|
+
*/
|
|
23
|
+
sourceVolumeId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CloneVolumeFileResult
|
|
28
|
+
*/
|
|
29
|
+
sourcePath: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CloneVolumeFileResult
|
|
34
|
+
*/
|
|
35
|
+
targetPath: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CloneVolumeFileResult
|
|
40
|
+
*/
|
|
41
|
+
mode: CloneVolumeFileResultModeEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CloneVolumeFileResult
|
|
46
|
+
*/
|
|
47
|
+
sizeBytes: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const CloneVolumeFileResultModeEnum: {
|
|
53
|
+
readonly Cow: "cow";
|
|
54
|
+
readonly Copy: "copy";
|
|
55
|
+
};
|
|
56
|
+
export type CloneVolumeFileResultModeEnum = typeof CloneVolumeFileResultModeEnum[keyof typeof CloneVolumeFileResultModeEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the CloneVolumeFileResult interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfCloneVolumeFileResult(value: object): value is CloneVolumeFileResult;
|
|
61
|
+
export declare function CloneVolumeFileResultFromJSON(json: any): CloneVolumeFileResult;
|
|
62
|
+
export declare function CloneVolumeFileResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloneVolumeFileResult;
|
|
63
|
+
export declare function CloneVolumeFileResultToJSON(json: any): CloneVolumeFileResult;
|
|
64
|
+
export declare function CloneVolumeFileResultToJSONTyped(value?: CloneVolumeFileResult | null, ignoreDiscriminator?: boolean): any;
|
|
65
|
+
//# sourceMappingURL=CloneVolumeFileResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloneVolumeFileResult.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CloneVolumeFileResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,EAAE,6BAA6B,CAAC;IACpC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAGD;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAO7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAYjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahI"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const CloneVolumeFileResultModeEnum = {
|
|
18
|
+
Cow: 'cow',
|
|
19
|
+
Copy: 'copy'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CloneVolumeFileResult interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfCloneVolumeFileResult(value) {
|
|
25
|
+
if (!('sourceVolumeId' in value) || value['sourceVolumeId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('sourcePath' in value) || value['sourcePath'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('targetPath' in value) || value['targetPath'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function CloneVolumeFileResultFromJSON(json) {
|
|
38
|
+
return CloneVolumeFileResultFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function CloneVolumeFileResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'sourceVolumeId': json['source_volume_id'],
|
|
46
|
+
'sourcePath': json['source_path'],
|
|
47
|
+
'targetPath': json['target_path'],
|
|
48
|
+
'mode': json['mode'],
|
|
49
|
+
'sizeBytes': json['size_bytes'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function CloneVolumeFileResultToJSON(json) {
|
|
53
|
+
return CloneVolumeFileResultToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function CloneVolumeFileResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'source_volume_id': value['sourceVolumeId'],
|
|
61
|
+
'source_path': value['sourcePath'],
|
|
62
|
+
'target_path': value['targetPath'],
|
|
63
|
+
'mode': value['mode'],
|
|
64
|
+
'size_bytes': value['sizeBytes'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CloneVolumeFileEntry } from './CloneVolumeFileEntry.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CloneVolumeFilesRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CloneVolumeFilesRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Clone strategy. cow_or_copy prefers copy-on-write and falls back to server-side copy.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CloneVolumeFilesRequest
|
|
23
|
+
*/
|
|
24
|
+
mode?: CloneVolumeFilesRequestModeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Batch atomicity flag. Only true is currently supported.
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof CloneVolumeFilesRequest
|
|
29
|
+
*/
|
|
30
|
+
atomic?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<CloneVolumeFileEntry>}
|
|
34
|
+
* @memberof CloneVolumeFilesRequest
|
|
35
|
+
*/
|
|
36
|
+
entries: Array<CloneVolumeFileEntry>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const CloneVolumeFilesRequestModeEnum: {
|
|
42
|
+
readonly CowOrCopy: "cow_or_copy";
|
|
43
|
+
readonly CowRequired: "cow_required";
|
|
44
|
+
readonly Copy: "copy";
|
|
45
|
+
};
|
|
46
|
+
export type CloneVolumeFilesRequestModeEnum = typeof CloneVolumeFilesRequestModeEnum[keyof typeof CloneVolumeFilesRequestModeEnum];
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the CloneVolumeFilesRequest interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfCloneVolumeFilesRequest(value: object): value is CloneVolumeFilesRequest;
|
|
51
|
+
export declare function CloneVolumeFilesRequestFromJSON(json: any): CloneVolumeFilesRequest;
|
|
52
|
+
export declare function CloneVolumeFilesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloneVolumeFilesRequest;
|
|
53
|
+
export declare function CloneVolumeFilesRequestToJSON(json: any): CloneVolumeFilesRequest;
|
|
54
|
+
export declare function CloneVolumeFilesRequestToJSONTyped(value?: CloneVolumeFilesRequest | null, ignoreDiscriminator?: boolean): any;
|
|
55
|
+
//# sourceMappingURL=CloneVolumeFilesRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloneVolumeFilesRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CloneVolumeFilesRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,+BAA+B,CAAC;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CACxC;AAGD;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAGnI;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAUrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWpI"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { CloneVolumeFileEntryFromJSON, CloneVolumeFileEntryToJSON, } from './CloneVolumeFileEntry.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const CloneVolumeFilesRequestModeEnum = {
|
|
19
|
+
CowOrCopy: 'cow_or_copy',
|
|
20
|
+
CowRequired: 'cow_required',
|
|
21
|
+
Copy: 'copy'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CloneVolumeFilesRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfCloneVolumeFilesRequest(value) {
|
|
27
|
+
if (!('entries' in value) || value['entries'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function CloneVolumeFilesRequestFromJSON(json) {
|
|
32
|
+
return CloneVolumeFilesRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function CloneVolumeFilesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
40
|
+
'atomic': json['atomic'] == null ? undefined : json['atomic'],
|
|
41
|
+
'entries': (json['entries'].map(CloneVolumeFileEntryFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function CloneVolumeFilesRequestToJSON(json) {
|
|
45
|
+
return CloneVolumeFilesRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function CloneVolumeFilesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'mode': value['mode'],
|
|
53
|
+
'atomic': value['atomic'],
|
|
54
|
+
'entries': (value['entries'].map(CloneVolumeFileEntryToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SuccessCloneVolumeFilesResponseAllOfData } from './SuccessCloneVolumeFilesResponseAllOfData.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessCloneVolumeFilesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessCloneVolumeFilesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessCloneVolumeFilesResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SuccessCloneVolumeFilesResponseAllOfData}
|
|
28
|
+
* @memberof SuccessCloneVolumeFilesResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SuccessCloneVolumeFilesResponseAllOfData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessCloneVolumeFilesResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessCloneVolumeFilesResponse(value: object): value is SuccessCloneVolumeFilesResponse;
|
|
36
|
+
export declare function SuccessCloneVolumeFilesResponseFromJSON(json: any): SuccessCloneVolumeFilesResponse;
|
|
37
|
+
export declare function SuccessCloneVolumeFilesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessCloneVolumeFilesResponse;
|
|
38
|
+
export declare function SuccessCloneVolumeFilesResponseToJSON(json: any): SuccessCloneVolumeFilesResponse;
|
|
39
|
+
export declare function SuccessCloneVolumeFilesResponseToJSONTyped(value?: SuccessCloneVolumeFilesResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessCloneVolumeFilesResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessCloneVolumeFilesResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessCloneVolumeFilesResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC;AAQ3G;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,wCAAwC,CAAC;CACnD;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAGjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CASrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpJ"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SuccessCloneVolumeFilesResponseAllOfDataFromJSON, SuccessCloneVolumeFilesResponseAllOfDataToJSON, } from './SuccessCloneVolumeFilesResponseAllOfData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessCloneVolumeFilesResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessCloneVolumeFilesResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessCloneVolumeFilesResponseFromJSON(json) {
|
|
24
|
+
return SuccessCloneVolumeFilesResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessCloneVolumeFilesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SuccessCloneVolumeFilesResponseAllOfDataFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessCloneVolumeFilesResponseToJSON(json) {
|
|
36
|
+
return SuccessCloneVolumeFilesResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessCloneVolumeFilesResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SuccessCloneVolumeFilesResponseAllOfDataToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CloneVolumeFileResult } from './CloneVolumeFileResult.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessCloneVolumeFilesResponseAllOfData
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessCloneVolumeFilesResponseAllOfData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CloneVolumeFileResult>}
|
|
22
|
+
* @memberof SuccessCloneVolumeFilesResponseAllOfData
|
|
23
|
+
*/
|
|
24
|
+
entries?: Array<CloneVolumeFileResult>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SuccessCloneVolumeFilesResponseAllOfData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSuccessCloneVolumeFilesResponseAllOfData(value: object): value is SuccessCloneVolumeFilesResponseAllOfData;
|
|
30
|
+
export declare function SuccessCloneVolumeFilesResponseAllOfDataFromJSON(json: any): SuccessCloneVolumeFilesResponseAllOfData;
|
|
31
|
+
export declare function SuccessCloneVolumeFilesResponseAllOfDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessCloneVolumeFilesResponseAllOfData;
|
|
32
|
+
export declare function SuccessCloneVolumeFilesResponseAllOfDataToJSON(json: any): SuccessCloneVolumeFilesResponseAllOfData;
|
|
33
|
+
export declare function SuccessCloneVolumeFilesResponseAllOfDataToJSONTyped(value?: SuccessCloneVolumeFilesResponseAllOfData | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SuccessCloneVolumeFilesResponseAllOfData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessCloneVolumeFilesResponseAllOfData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,wCAAwC;IACrD;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,kDAAkD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wCAAwC,CAEnI;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAEpH;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CAQvJ;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAElH;AAED,wBAAgB,mDAAmD,CAAC,KAAK,CAAC,EAAE,wCAAwC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStK"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { CloneVolumeFileResultFromJSON, CloneVolumeFileResultToJSON, } from './CloneVolumeFileResult.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessCloneVolumeFilesResponseAllOfData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessCloneVolumeFilesResponseAllOfData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SuccessCloneVolumeFilesResponseAllOfDataFromJSON(json) {
|
|
22
|
+
return SuccessCloneVolumeFilesResponseAllOfDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SuccessCloneVolumeFilesResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'entries': json['entries'] == null ? undefined : (json['entries'].map(CloneVolumeFileResultFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SuccessCloneVolumeFilesResponseAllOfDataToJSON(json) {
|
|
33
|
+
return SuccessCloneVolumeFilesResponseAllOfDataToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SuccessCloneVolumeFilesResponseAllOfDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'entries': value['entries'] == null ? undefined : (value['entries'].map(CloneVolumeFileResultToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -12,6 +12,9 @@ export * from './ChangeRequest.js';
|
|
|
12
12
|
export * from './ClaimMountRequest.js';
|
|
13
13
|
export * from './ClaimRequest.js';
|
|
14
14
|
export * from './ClaimResponse.js';
|
|
15
|
+
export * from './CloneVolumeFileEntry.js';
|
|
16
|
+
export * from './CloneVolumeFileResult.js';
|
|
17
|
+
export * from './CloneVolumeFilesRequest.js';
|
|
15
18
|
export * from './ContainerSpec.js';
|
|
16
19
|
export * from './ContextExecResponse.js';
|
|
17
20
|
export * from './ContextInputRequest.js';
|
|
@@ -148,6 +151,8 @@ export * from './SuccessAPIKeyListResponseAllOfData.js';
|
|
|
148
151
|
export * from './SuccessAuthProvidersResponse.js';
|
|
149
152
|
export * from './SuccessAuthProvidersResponseAllOfData.js';
|
|
150
153
|
export * from './SuccessClaimResponse.js';
|
|
154
|
+
export * from './SuccessCloneVolumeFilesResponse.js';
|
|
155
|
+
export * from './SuccessCloneVolumeFilesResponseAllOfData.js';
|
|
151
156
|
export * from './SuccessContextExecResponse.js';
|
|
152
157
|
export * from './SuccessContextListResponse.js';
|
|
153
158
|
export * from './SuccessContextListResponseAllOfData.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBA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Ac,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mDAAmD,CAAC;AAClE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sDAAsD,CAAC;AACrE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC"}
|
|
@@ -14,6 +14,9 @@ export * from './ChangeRequest.js';
|
|
|
14
14
|
export * from './ClaimMountRequest.js';
|
|
15
15
|
export * from './ClaimRequest.js';
|
|
16
16
|
export * from './ClaimResponse.js';
|
|
17
|
+
export * from './CloneVolumeFileEntry.js';
|
|
18
|
+
export * from './CloneVolumeFileResult.js';
|
|
19
|
+
export * from './CloneVolumeFilesRequest.js';
|
|
17
20
|
export * from './ContainerSpec.js';
|
|
18
21
|
export * from './ContextExecResponse.js';
|
|
19
22
|
export * from './ContextInputRequest.js';
|
|
@@ -150,6 +153,8 @@ export * from './SuccessAPIKeyListResponseAllOfData.js';
|
|
|
150
153
|
export * from './SuccessAuthProvidersResponse.js';
|
|
151
154
|
export * from './SuccessAuthProvidersResponseAllOfData.js';
|
|
152
155
|
export * from './SuccessClaimResponse.js';
|
|
156
|
+
export * from './SuccessCloneVolumeFilesResponse.js';
|
|
157
|
+
export * from './SuccessCloneVolumeFilesResponseAllOfData.js';
|
|
153
158
|
export * from './SuccessContextExecResponse.js';
|
|
154
159
|
export * from './SuccessContextListResponse.js';
|
|
155
160
|
export * from './SuccessContextListResponseAllOfData.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateSandboxVolumeRequest, FileInfo, ForkVolumeRequest, CreateSnapshotRequest, SandboxVolume, Snapshot, SuccessCreatedResponse, SuccessDeletedResponse, SuccessRestoreResponse, SuccessMovedResponse, SuccessWrittenResponse } from "../apispec/src/models/index.js";
|
|
1
|
+
import type { CloneVolumeFileResult, CloneVolumeFilesRequest, CreateSandboxVolumeRequest, FileInfo, ForkVolumeRequest, CreateSnapshotRequest, SandboxVolume, Snapshot, SuccessCreatedResponse, SuccessDeletedResponse, SuccessRestoreResponse, SuccessMovedResponse, SuccessWrittenResponse } from "../apispec/src/models/index.js";
|
|
2
2
|
import type { Client } from "../client.js";
|
|
3
3
|
import { VolumeSession } from "../sessions.js";
|
|
4
4
|
import { FileWatchStream } from "../sandbox.js";
|
|
@@ -25,6 +25,7 @@ export declare class Volumes {
|
|
|
25
25
|
mkdir(volumeId: string, path: string, recursive?: boolean): Promise<SuccessCreatedResponse>;
|
|
26
26
|
deleteFile(volumeId: string, path: string): Promise<SuccessDeletedResponse>;
|
|
27
27
|
moveFile(volumeId: string, source: string, destination: string): Promise<SuccessMovedResponse>;
|
|
28
|
+
cloneFiles(volumeId: string, request: CloneVolumeFilesRequest): Promise<CloneVolumeFileResult[]>;
|
|
28
29
|
watchFiles(volumeId: string, path: string, recursive?: boolean): Promise<FileWatchStream>;
|
|
29
30
|
}
|
|
30
31
|
//# sourceMappingURL=volumes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumes.d.ts","sourceRoot":"","sources":["../../src/resources/volumes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAE1B,QAAQ,EACR,iBAAiB,EACjB,qBAAqB,EAErB,aAAa,EACb,QAAQ,EACR,sBAAsB,EACtB,sBAAsB,EAEtB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AAKrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAA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3D,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAW9D,SAAS,CACb,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,GAAG,MAAM,GACxB,OAAO,CAAC,sBAAsB,CAAC;IAY5B,KAAK,CACT,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,SAAS,UAAQ,GAChB,OAAO,CAAC,sBAAsB,CAAC;IAa5B,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAU3E,QAAQ,CACZ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,oBAAoB,CAAC;IAU1B,UAAU,CACd,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAW7B,UAAU,CACd,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,SAAS,UAAQ,GAChB,OAAO,CAAC,eAAe,CAAC;CAqC5B"}
|
|
@@ -150,6 +150,14 @@ export class Volumes {
|
|
|
150
150
|
}));
|
|
151
151
|
return ensureModel(response, "move volume file returned empty response");
|
|
152
152
|
}
|
|
153
|
+
async cloneFiles(volumeId, request) {
|
|
154
|
+
const response = await wrapApiCall(() => this.client.apispec.files.apiV1SandboxvolumesIdFilesClonePost({
|
|
155
|
+
id: volumeId,
|
|
156
|
+
cloneVolumeFilesRequest: request,
|
|
157
|
+
}));
|
|
158
|
+
const data = ensureData(response, "clone volume files returned empty response");
|
|
159
|
+
return data.entries ?? [];
|
|
160
|
+
}
|
|
153
161
|
async watchFiles(volumeId, path, recursive = false) {
|
|
154
162
|
const wsUrl = this.client.websocketUrl(`/api/v1/sandboxvolumes/${volumeId}/files/watch`);
|
|
155
163
|
const headers = await this.client.wsHeaders();
|