@boatdev/sdk 1.11.0 → 1.12.0
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/.openapi-generator/FILES +42 -0
- package/dist/apis/BoatApi.d.ts +191 -14
- package/dist/apis/BoatApi.js +466 -14
- package/dist/esm/apis/BoatApi.d.ts +191 -14
- package/dist/esm/apis/BoatApi.js +466 -14
- package/dist/esm/models/CreateSandboxRequest.d.ts +35 -1
- package/dist/esm/models/CreateSandboxRequest.js +17 -0
- package/dist/esm/models/CreateSandboxRequestFilesInner.d.ts +52 -0
- package/dist/esm/models/CreateSandboxRequestFilesInner.js +56 -0
- package/dist/esm/models/CreateSandboxResponse.d.ts +7 -0
- package/dist/esm/models/CreateSandboxResponse.js +3 -0
- package/dist/esm/models/CreateSandboxResponseAllOfHostedPortsInner.d.ts +77 -0
- package/dist/esm/models/CreateSandboxResponseAllOfHostedPortsInner.js +64 -0
- package/dist/esm/models/FileDeleteResponse.d.ts +57 -0
- package/dist/esm/models/FileDeleteResponse.js +59 -0
- package/dist/esm/models/FileEntry.d.ts +68 -0
- package/dist/esm/models/FileEntry.js +67 -0
- package/dist/esm/models/FileFindResponse.d.ts +70 -0
- package/dist/esm/models/FileFindResponse.js +66 -0
- package/dist/esm/models/FileFindResponseAllOfMatches.d.ts +44 -0
- package/dist/esm/models/FileFindResponseAllOfMatches.js +51 -0
- package/dist/esm/models/FileFolderRequest.d.ts +38 -0
- package/dist/esm/models/FileFolderRequest.js +45 -0
- package/dist/esm/models/FileInfoResponse.d.ts +95 -0
- package/dist/esm/models/FileInfoResponse.js +85 -0
- package/dist/esm/models/FileListResponse.d.ts +70 -0
- package/dist/esm/models/FileListResponse.js +68 -0
- package/dist/esm/models/FileMoveRequest.d.ts +44 -0
- package/dist/esm/models/FileMoveRequest.js +49 -0
- package/dist/esm/models/FileMoveResponse.d.ts +63 -0
- package/dist/esm/models/FileMoveResponse.js +63 -0
- package/dist/esm/models/FilePermissionsRequest.d.ts +38 -0
- package/dist/esm/models/FilePermissionsRequest.js +47 -0
- package/dist/esm/models/FileReplaceRequest.d.ts +44 -0
- package/dist/esm/models/FileReplaceRequest.js +51 -0
- package/dist/esm/models/FileReplaceResponse.d.ts +58 -0
- package/dist/esm/models/FileReplaceResponse.js +60 -0
- package/dist/esm/models/FileReplaceResponseAllOfResults.d.ts +50 -0
- package/dist/esm/models/FileReplaceResponseAllOfResults.js +51 -0
- package/dist/esm/models/FileSearchResponse.d.ts +69 -0
- package/dist/esm/models/FileSearchResponse.js +65 -0
- package/dist/esm/models/LimitsFields.d.ts +54 -16
- package/dist/esm/models/LimitsFields.js +16 -2
- package/dist/esm/models/LimitsFieldsOveragePrices.d.ts +51 -0
- package/dist/esm/models/LimitsFieldsOveragePrices.js +48 -0
- package/dist/esm/models/LimitsFieldsOveragePricesStartBracketsInner.d.ts +44 -0
- package/dist/esm/models/LimitsFieldsOveragePricesStartBracketsInner.js +45 -0
- package/dist/esm/models/LimitsFieldsPlanIncluded.d.ts +44 -0
- package/dist/esm/models/LimitsFieldsPlanIncluded.js +45 -0
- package/dist/esm/models/LimitsFieldsStartLimitsWithWallet.d.ts +44 -0
- package/dist/esm/models/LimitsFieldsStartLimitsWithWallet.js +45 -0
- package/dist/esm/models/LimitsFieldsWallet.d.ts +32 -0
- package/dist/esm/models/LimitsFieldsWallet.js +41 -0
- package/dist/esm/models/LimitsResponse.d.ts +54 -16
- package/dist/esm/models/LimitsResponse.js +16 -2
- package/dist/esm/models/NamedSnapshotAllowance.d.ts +9 -3
- package/dist/esm/models/NamedSnapshotAllowance.js +2 -0
- package/dist/esm/models/SavedSnapshotAllowance.d.ts +9 -3
- package/dist/esm/models/SavedSnapshotAllowance.js +2 -0
- package/dist/esm/models/index.d.ts +21 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/models/CreateSandboxRequest.d.ts +35 -1
- package/dist/models/CreateSandboxRequest.js +18 -1
- package/dist/models/CreateSandboxRequestFilesInner.d.ts +52 -0
- package/dist/models/CreateSandboxRequestFilesInner.js +64 -0
- package/dist/models/CreateSandboxResponse.d.ts +7 -0
- package/dist/models/CreateSandboxResponse.js +3 -0
- package/dist/models/CreateSandboxResponseAllOfHostedPortsInner.d.ts +77 -0
- package/dist/models/CreateSandboxResponseAllOfHostedPortsInner.js +72 -0
- package/dist/models/FileDeleteResponse.d.ts +57 -0
- package/dist/models/FileDeleteResponse.js +67 -0
- package/dist/models/FileEntry.d.ts +68 -0
- package/dist/models/FileEntry.js +74 -0
- package/dist/models/FileFindResponse.d.ts +70 -0
- package/dist/models/FileFindResponse.js +74 -0
- package/dist/models/FileFindResponseAllOfMatches.d.ts +44 -0
- package/dist/models/FileFindResponseAllOfMatches.js +58 -0
- package/dist/models/FileFolderRequest.d.ts +38 -0
- package/dist/models/FileFolderRequest.js +52 -0
- package/dist/models/FileInfoResponse.d.ts +95 -0
- package/dist/models/FileInfoResponse.js +93 -0
- package/dist/models/FileListResponse.d.ts +70 -0
- package/dist/models/FileListResponse.js +76 -0
- package/dist/models/FileMoveRequest.d.ts +44 -0
- package/dist/models/FileMoveRequest.js +56 -0
- package/dist/models/FileMoveResponse.d.ts +63 -0
- package/dist/models/FileMoveResponse.js +71 -0
- package/dist/models/FilePermissionsRequest.d.ts +38 -0
- package/dist/models/FilePermissionsRequest.js +54 -0
- package/dist/models/FileReplaceRequest.d.ts +44 -0
- package/dist/models/FileReplaceRequest.js +58 -0
- package/dist/models/FileReplaceResponse.d.ts +58 -0
- package/dist/models/FileReplaceResponse.js +68 -0
- package/dist/models/FileReplaceResponseAllOfResults.d.ts +50 -0
- package/dist/models/FileReplaceResponseAllOfResults.js +58 -0
- package/dist/models/FileSearchResponse.d.ts +69 -0
- package/dist/models/FileSearchResponse.js +73 -0
- package/dist/models/LimitsFields.d.ts +54 -16
- package/dist/models/LimitsFields.js +16 -2
- package/dist/models/LimitsFieldsOveragePrices.d.ts +51 -0
- package/dist/models/LimitsFieldsOveragePrices.js +55 -0
- package/dist/models/LimitsFieldsOveragePricesStartBracketsInner.d.ts +44 -0
- package/dist/models/LimitsFieldsOveragePricesStartBracketsInner.js +52 -0
- package/dist/models/LimitsFieldsPlanIncluded.d.ts +44 -0
- package/dist/models/LimitsFieldsPlanIncluded.js +52 -0
- package/dist/models/LimitsFieldsStartLimitsWithWallet.d.ts +44 -0
- package/dist/models/LimitsFieldsStartLimitsWithWallet.js +52 -0
- package/dist/models/LimitsFieldsWallet.d.ts +32 -0
- package/dist/models/LimitsFieldsWallet.js +48 -0
- package/dist/models/LimitsResponse.d.ts +54 -16
- package/dist/models/LimitsResponse.js +16 -2
- package/dist/models/NamedSnapshotAllowance.d.ts +9 -3
- package/dist/models/NamedSnapshotAllowance.js +2 -0
- package/dist/models/SavedSnapshotAllowance.d.ts +9 -3
- package/dist/models/SavedSnapshotAllowance.js +2 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/docs/BoatApi.md +744 -48
- package/docs/CreateSandboxRequest.md +8 -0
- package/docs/CreateSandboxRequestFilesInner.md +36 -0
- package/docs/CreateSandboxResponse.md +2 -0
- package/docs/CreateSandboxResponseAllOfHostedPortsInner.md +44 -0
- package/docs/FileDeleteResponse.md +38 -0
- package/docs/FileEntry.md +44 -0
- package/docs/FileFindResponse.md +42 -0
- package/docs/FileFindResponseAllOfMatches.md +36 -0
- package/docs/FileFolderRequest.md +34 -0
- package/docs/FileInfoResponse.md +50 -0
- package/docs/FileListResponse.md +42 -0
- package/docs/FileMoveRequest.md +36 -0
- package/docs/FileMoveResponse.md +40 -0
- package/docs/FilePermissionsRequest.md +34 -0
- package/docs/FileReplaceRequest.md +36 -0
- package/docs/FileReplaceResponse.md +38 -0
- package/docs/FileReplaceResponseAllOfResults.md +38 -0
- package/docs/FileSearchResponse.md +42 -0
- package/docs/LimitsFields.md +12 -2
- package/docs/LimitsFieldsOveragePrices.md +39 -0
- package/docs/LimitsFieldsOveragePricesStartBracketsInner.md +36 -0
- package/docs/LimitsFieldsPlanIncluded.md +37 -0
- package/docs/LimitsFieldsStartLimitsWithWallet.md +37 -0
- package/docs/LimitsFieldsWallet.md +33 -0
- package/docs/LimitsResponse.md +12 -2
- package/docs/NamedSnapshotAllowance.md +3 -1
- package/docs/SavedSnapshotAllowance.md +3 -1
- package/package.json +1 -1
- package/src/apis/BoatApi.ts +721 -14
- package/src/models/CreateSandboxRequest.ts +57 -1
- package/src/models/CreateSandboxRequestFilesInner.ts +94 -0
- package/src/models/CreateSandboxResponse.ts +15 -0
- package/src/models/CreateSandboxResponseAllOfHostedPortsInner.ts +128 -0
- package/src/models/FileDeleteResponse.ts +102 -0
- package/src/models/FileEntry.ts +120 -0
- package/src/models/FileFindResponse.ts +127 -0
- package/src/models/FileFindResponseAllOfMatches.ts +84 -0
- package/src/models/FileFolderRequest.ts +74 -0
- package/src/models/FileInfoResponse.ts +158 -0
- package/src/models/FileListResponse.ts +128 -0
- package/src/models/FileMoveRequest.ts +83 -0
- package/src/models/FileMoveResponse.ts +111 -0
- package/src/models/FilePermissionsRequest.ts +75 -0
- package/src/models/FileReplaceRequest.ts +84 -0
- package/src/models/FileReplaceResponse.ts +110 -0
- package/src/models/FileReplaceResponseAllOfResults.ts +91 -0
- package/src/models/FileSearchResponse.ts +119 -0
- package/src/models/LimitsFields.ts +90 -16
- package/src/models/LimitsFieldsOveragePrices.ts +97 -0
- package/src/models/LimitsFieldsOveragePricesStartBracketsInner.ts +81 -0
- package/src/models/LimitsFieldsPlanIncluded.ts +81 -0
- package/src/models/LimitsFieldsStartLimitsWithWallet.ts +81 -0
- package/src/models/LimitsFieldsWallet.ts +65 -0
- package/src/models/LimitsResponse.ts +90 -16
- package/src/models/NamedSnapshotAllowance.ts +11 -3
- package/src/models/SavedSnapshotAllowance.ts +11 -3
- package/src/models/index.ts +21 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 FileMoveRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFileMoveRequest(value) {
|
|
18
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('destination' in value) || value['destination'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function FileMoveRequestFromJSON(json) {
|
|
25
|
+
return FileMoveRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function FileMoveRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'source': json['source'],
|
|
33
|
+
'destination': json['destination'],
|
|
34
|
+
'overwrite': json['overwrite'] == null ? undefined : json['overwrite'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function FileMoveRequestToJSON(json) {
|
|
38
|
+
return FileMoveRequestToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function FileMoveRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'source': value['source'],
|
|
46
|
+
'destination': value['destination'],
|
|
47
|
+
'overwrite': value['overwrite'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 FileMoveResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface FileMoveResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof FileMoveResponse
|
|
22
|
+
*/
|
|
23
|
+
ok: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {FileMoveResponseTypeEnum}
|
|
27
|
+
* @memberof FileMoveResponse
|
|
28
|
+
*/
|
|
29
|
+
type: FileMoveResponseTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof FileMoveResponse
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FileMoveResponse
|
|
40
|
+
*/
|
|
41
|
+
path: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof FileMoveResponse
|
|
46
|
+
*/
|
|
47
|
+
destination: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const FileMoveResponseTypeEnum: {
|
|
53
|
+
readonly FileMoved: 'file.moved';
|
|
54
|
+
};
|
|
55
|
+
export type FileMoveResponseTypeEnum = typeof FileMoveResponseTypeEnum[keyof typeof FileMoveResponseTypeEnum];
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the FileMoveResponse interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfFileMoveResponse(value: object): value is FileMoveResponse;
|
|
60
|
+
export declare function FileMoveResponseFromJSON(json: any): FileMoveResponse;
|
|
61
|
+
export declare function FileMoveResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileMoveResponse;
|
|
62
|
+
export declare function FileMoveResponseToJSON(json: any): FileMoveResponse;
|
|
63
|
+
export declare function FileMoveResponseToJSONTyped(value?: FileMoveResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 FileMoveResponseTypeEnum = {
|
|
18
|
+
FileMoved: 'file.moved'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the FileMoveResponse interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfFileMoveResponse(value) {
|
|
24
|
+
if (!('ok' in value) || value['ok'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('destination' in value) || value['destination'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function FileMoveResponseFromJSON(json) {
|
|
35
|
+
return FileMoveResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function FileMoveResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'ok': json['ok'],
|
|
43
|
+
'type': json['type'],
|
|
44
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
45
|
+
'path': json['path'],
|
|
46
|
+
'destination': json['destination'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function FileMoveResponseToJSON(json) {
|
|
50
|
+
return FileMoveResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function FileMoveResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'ok': value['ok'],
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'success': value['success'],
|
|
60
|
+
'path': value['path'],
|
|
61
|
+
'destination': value['destination'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 FilePermissionsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface FilePermissionsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FilePermissionsRequest
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
* Octal permission bits, for example "755".
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FilePermissionsRequest
|
|
28
|
+
*/
|
|
29
|
+
mode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the FilePermissionsRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfFilePermissionsRequest(value: object): value is FilePermissionsRequest;
|
|
35
|
+
export declare function FilePermissionsRequestFromJSON(json: any): FilePermissionsRequest;
|
|
36
|
+
export declare function FilePermissionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FilePermissionsRequest;
|
|
37
|
+
export declare function FilePermissionsRequestToJSON(json: any): FilePermissionsRequest;
|
|
38
|
+
export declare function FilePermissionsRequestToJSONTyped(value?: FilePermissionsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 FilePermissionsRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFilePermissionsRequest(value) {
|
|
18
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function FilePermissionsRequestFromJSON(json) {
|
|
25
|
+
return FilePermissionsRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function FilePermissionsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'path': json['path'],
|
|
33
|
+
'mode': json['mode'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function FilePermissionsRequestToJSON(json) {
|
|
37
|
+
return FilePermissionsRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function FilePermissionsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'path': value['path'],
|
|
45
|
+
'mode': value['mode'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 FileReplaceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface FileReplaceRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Files up to 5 MiB each.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof FileReplaceRequest
|
|
22
|
+
*/
|
|
23
|
+
paths: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Plain text. Every occurrence is replaced
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FileReplaceRequest
|
|
28
|
+
*/
|
|
29
|
+
pattern: string;
|
|
30
|
+
/**
|
|
31
|
+
* Required. Use "" to delete the matches.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FileReplaceRequest
|
|
34
|
+
*/
|
|
35
|
+
newValue: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the FileReplaceRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfFileReplaceRequest(value: object): value is FileReplaceRequest;
|
|
41
|
+
export declare function FileReplaceRequestFromJSON(json: any): FileReplaceRequest;
|
|
42
|
+
export declare function FileReplaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileReplaceRequest;
|
|
43
|
+
export declare function FileReplaceRequestToJSON(json: any): FileReplaceRequest;
|
|
44
|
+
export declare function FileReplaceRequestToJSONTyped(value?: FileReplaceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 FileReplaceRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFileReplaceRequest(value) {
|
|
18
|
+
if (!('paths' in value) || value['paths'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('pattern' in value) || value['pattern'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('newValue' in value) || value['newValue'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function FileReplaceRequestFromJSON(json) {
|
|
27
|
+
return FileReplaceRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function FileReplaceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'paths': json['paths'],
|
|
35
|
+
'pattern': json['pattern'],
|
|
36
|
+
'newValue': json['newValue'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function FileReplaceRequestToJSON(json) {
|
|
40
|
+
return FileReplaceRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function FileReplaceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'paths': value['paths'],
|
|
48
|
+
'pattern': value['pattern'],
|
|
49
|
+
'newValue': value['newValue'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { FileReplaceResponseAllOfResults } from './FileReplaceResponseAllOfResults';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileReplaceResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface FileReplaceResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof FileReplaceResponse
|
|
23
|
+
*/
|
|
24
|
+
ok: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {FileReplaceResponseTypeEnum}
|
|
28
|
+
* @memberof FileReplaceResponse
|
|
29
|
+
*/
|
|
30
|
+
type: FileReplaceResponseTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof FileReplaceResponse
|
|
35
|
+
*/
|
|
36
|
+
success?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* One result per file. A file that fails does not stop the others.
|
|
39
|
+
* @type {Array<FileReplaceResponseAllOfResults>}
|
|
40
|
+
* @memberof FileReplaceResponse
|
|
41
|
+
*/
|
|
42
|
+
results: Array<FileReplaceResponseAllOfResults>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const FileReplaceResponseTypeEnum: {
|
|
48
|
+
readonly FileReplaced: 'file.replaced';
|
|
49
|
+
};
|
|
50
|
+
export type FileReplaceResponseTypeEnum = typeof FileReplaceResponseTypeEnum[keyof typeof FileReplaceResponseTypeEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the FileReplaceResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfFileReplaceResponse(value: object): value is FileReplaceResponse;
|
|
55
|
+
export declare function FileReplaceResponseFromJSON(json: any): FileReplaceResponse;
|
|
56
|
+
export declare function FileReplaceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileReplaceResponse;
|
|
57
|
+
export declare function FileReplaceResponseToJSON(json: any): FileReplaceResponse;
|
|
58
|
+
export declare function FileReplaceResponseToJSONTyped(value?: FileReplaceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 { FileReplaceResponseAllOfResultsFromJSON, FileReplaceResponseAllOfResultsToJSON, } from './FileReplaceResponseAllOfResults';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const FileReplaceResponseTypeEnum = {
|
|
19
|
+
FileReplaced: 'file.replaced'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FileReplaceResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfFileReplaceResponse(value) {
|
|
25
|
+
if (!('ok' in value) || value['ok'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function FileReplaceResponseFromJSON(json) {
|
|
34
|
+
return FileReplaceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function FileReplaceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'ok': json['ok'],
|
|
42
|
+
'type': json['type'],
|
|
43
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
44
|
+
'results': (json['results'].map(FileReplaceResponseAllOfResultsFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function FileReplaceResponseToJSON(json) {
|
|
48
|
+
return FileReplaceResponseToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function FileReplaceResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'ok': value['ok'],
|
|
56
|
+
'type': value['type'],
|
|
57
|
+
'success': value['success'],
|
|
58
|
+
'results': (value['results'].map(FileReplaceResponseAllOfResultsToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 FileReplaceResponseAllOfResults
|
|
16
|
+
*/
|
|
17
|
+
export interface FileReplaceResponseAllOfResults {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FileReplaceResponseAllOfResults
|
|
22
|
+
*/
|
|
23
|
+
file: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof FileReplaceResponseAllOfResults
|
|
28
|
+
*/
|
|
29
|
+
success: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof FileReplaceResponseAllOfResults
|
|
34
|
+
*/
|
|
35
|
+
replacements?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FileReplaceResponseAllOfResults
|
|
40
|
+
*/
|
|
41
|
+
error?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the FileReplaceResponseAllOfResults interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfFileReplaceResponseAllOfResults(value: object): value is FileReplaceResponseAllOfResults;
|
|
47
|
+
export declare function FileReplaceResponseAllOfResultsFromJSON(json: any): FileReplaceResponseAllOfResults;
|
|
48
|
+
export declare function FileReplaceResponseAllOfResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileReplaceResponseAllOfResults;
|
|
49
|
+
export declare function FileReplaceResponseAllOfResultsToJSON(json: any): FileReplaceResponseAllOfResults;
|
|
50
|
+
export declare function FileReplaceResponseAllOfResultsToJSONTyped(value?: FileReplaceResponseAllOfResults | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 FileReplaceResponseAllOfResults interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFileReplaceResponseAllOfResults(value) {
|
|
18
|
+
if (!('file' in value) || value['file'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function FileReplaceResponseAllOfResultsFromJSON(json) {
|
|
25
|
+
return FileReplaceResponseAllOfResultsFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function FileReplaceResponseAllOfResultsFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'file': json['file'],
|
|
33
|
+
'success': json['success'],
|
|
34
|
+
'replacements': json['replacements'] == null ? undefined : json['replacements'],
|
|
35
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function FileReplaceResponseAllOfResultsToJSON(json) {
|
|
39
|
+
return FileReplaceResponseAllOfResultsToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function FileReplaceResponseAllOfResultsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'file': value['file'],
|
|
47
|
+
'success': value['success'],
|
|
48
|
+
'replacements': value['replacements'],
|
|
49
|
+
'error': value['error'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 FileSearchResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface FileSearchResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof FileSearchResponse
|
|
22
|
+
*/
|
|
23
|
+
ok: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {FileSearchResponseTypeEnum}
|
|
27
|
+
* @memberof FileSearchResponse
|
|
28
|
+
*/
|
|
29
|
+
type: FileSearchResponseTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof FileSearchResponse
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Absolute paths
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof FileSearchResponse
|
|
40
|
+
*/
|
|
41
|
+
files: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof FileSearchResponse
|
|
46
|
+
*/
|
|
47
|
+
truncated: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Present only when part of the tree could not be searched (for example a folder you cannot read). The results are then incomplete. A search that fails completely is an error response.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof FileSearchResponse
|
|
52
|
+
*/
|
|
53
|
+
errors?: Array<string>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const FileSearchResponseTypeEnum: {
|
|
59
|
+
readonly FileSearch: 'file.search';
|
|
60
|
+
};
|
|
61
|
+
export type FileSearchResponseTypeEnum = typeof FileSearchResponseTypeEnum[keyof typeof FileSearchResponseTypeEnum];
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the FileSearchResponse interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfFileSearchResponse(value: object): value is FileSearchResponse;
|
|
66
|
+
export declare function FileSearchResponseFromJSON(json: any): FileSearchResponse;
|
|
67
|
+
export declare function FileSearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileSearchResponse;
|
|
68
|
+
export declare function FileSearchResponseToJSON(json: any): FileSearchResponse;
|
|
69
|
+
export declare function FileSearchResponseToJSONTyped(value?: FileSearchResponse | null, ignoreDiscriminator?: boolean): any;
|