@boatdev/sdk 1.9.9 → 1.11.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 +30 -0
- package/dist/apis/BoatApi.d.ts +144 -18
- package/dist/apis/BoatApi.js +305 -22
- package/dist/esm/apis/BoatApi.d.ts +144 -18
- package/dist/esm/apis/BoatApi.js +304 -21
- package/dist/esm/models/CreateSandboxRequest.d.ts +9 -3
- package/dist/esm/models/CreateSandboxRequest.js +2 -0
- package/dist/esm/models/CreateSandboxResponse.d.ts +6 -0
- package/dist/esm/models/CreateSandboxResponse.js +2 -0
- package/dist/esm/models/CreateScopedApiKeyRequest.d.ts +1 -1
- package/dist/esm/models/CredentialId.d.ts +3 -0
- package/dist/esm/models/CredentialId.js +3 -0
- package/dist/esm/models/CredentialProfile.d.ts +7 -0
- package/dist/esm/models/CredentialProfile.js +3 -0
- package/dist/esm/models/DeletionOperation.d.ts +1 -1
- package/dist/esm/models/LimitsFields.d.ts +1 -1
- package/dist/esm/models/LimitsResponse.d.ts +1 -1
- package/dist/esm/models/MeResponseAllOfUser.d.ts +1 -0
- package/dist/esm/models/MeResponseAllOfUser.js +1 -0
- package/dist/esm/models/ResourceAccess.d.ts +38 -0
- package/dist/esm/models/ResourceAccess.js +47 -0
- package/dist/esm/models/ResourceAccessUpdate.d.ts +38 -0
- package/dist/esm/models/ResourceAccessUpdate.js +45 -0
- package/dist/esm/models/ResumeRequest.d.ts +1 -1
- package/dist/esm/models/Sandbox.d.ts +35 -1
- package/dist/esm/models/Sandbox.js +17 -0
- package/dist/esm/models/SandboxCost.d.ts +44 -0
- package/dist/esm/models/SandboxCost.js +51 -0
- package/dist/esm/models/SandboxEnvironment.d.ts +7 -0
- package/dist/esm/models/SandboxEnvironment.js +3 -0
- package/dist/esm/models/SandboxLastReboot.d.ts +47 -0
- package/dist/esm/models/SandboxLastReboot.js +51 -0
- package/dist/esm/models/SandboxListResponse.d.ts +7 -0
- package/dist/esm/models/SandboxListResponse.js +3 -0
- package/dist/esm/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
- package/dist/esm/models/SandboxListResponseAllOfDeletedCost.js +51 -0
- package/dist/esm/models/SavedSnapshot.d.ts +83 -0
- package/dist/esm/models/SavedSnapshot.js +71 -0
- package/dist/esm/models/SavedSnapshotAllowance.d.ts +81 -0
- package/dist/esm/models/SavedSnapshotAllowance.js +57 -0
- package/dist/esm/models/SavedSnapshotDeletedResponse.d.ts +64 -0
- package/dist/esm/models/SavedSnapshotDeletedResponse.js +67 -0
- package/dist/esm/models/SavedSnapshotInfoResponse.d.ts +52 -0
- package/dist/esm/models/SavedSnapshotInfoResponse.js +58 -0
- package/dist/esm/models/SavedSnapshotListResponse.d.ts +59 -0
- package/dist/esm/models/SavedSnapshotListResponse.js +61 -0
- package/dist/esm/models/SavedSnapshotSaveRequest.d.ts +38 -0
- package/dist/esm/models/SavedSnapshotSaveRequest.js +47 -0
- package/dist/esm/models/SavedSnapshotSavingResponse.d.ts +65 -0
- package/dist/esm/models/SavedSnapshotSavingResponse.js +68 -0
- package/dist/esm/models/SnapshotSummary.d.ts +1 -1
- package/dist/esm/models/Unshare200Response.d.ts +39 -0
- package/dist/esm/models/Unshare200Response.js +44 -0
- package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +7 -0
- package/dist/esm/models/UpdateCredentialProfileRequest.js +3 -0
- package/dist/esm/models/UpdateOrganization200Response.d.ts +50 -0
- package/dist/esm/models/UpdateOrganization200Response.js +47 -0
- package/dist/esm/models/UpdateOrganizationRequest.d.ts +32 -0
- package/dist/esm/models/UpdateOrganizationRequest.js +43 -0
- package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
- package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +3 -0
- package/dist/esm/models/index.d.ts +15 -0
- package/dist/esm/models/index.js +15 -0
- package/dist/models/CreateSandboxRequest.d.ts +9 -3
- package/dist/models/CreateSandboxRequest.js +2 -0
- package/dist/models/CreateSandboxResponse.d.ts +6 -0
- package/dist/models/CreateSandboxResponse.js +2 -0
- package/dist/models/CreateScopedApiKeyRequest.d.ts +1 -1
- package/dist/models/CredentialId.d.ts +3 -0
- package/dist/models/CredentialId.js +3 -0
- package/dist/models/CredentialProfile.d.ts +7 -0
- package/dist/models/CredentialProfile.js +3 -0
- package/dist/models/DeletionOperation.d.ts +1 -1
- package/dist/models/LimitsFields.d.ts +1 -1
- package/dist/models/LimitsResponse.d.ts +1 -1
- package/dist/models/MeResponseAllOfUser.d.ts +1 -0
- package/dist/models/MeResponseAllOfUser.js +1 -0
- package/dist/models/ResourceAccess.d.ts +38 -0
- package/dist/models/ResourceAccess.js +54 -0
- package/dist/models/ResourceAccessUpdate.d.ts +38 -0
- package/dist/models/ResourceAccessUpdate.js +52 -0
- package/dist/models/ResumeRequest.d.ts +1 -1
- package/dist/models/Sandbox.d.ts +35 -1
- package/dist/models/Sandbox.js +18 -1
- package/dist/models/SandboxCost.d.ts +44 -0
- package/dist/models/SandboxCost.js +58 -0
- package/dist/models/SandboxEnvironment.d.ts +7 -0
- package/dist/models/SandboxEnvironment.js +3 -0
- package/dist/models/SandboxLastReboot.d.ts +47 -0
- package/dist/models/SandboxLastReboot.js +59 -0
- package/dist/models/SandboxListResponse.d.ts +7 -0
- package/dist/models/SandboxListResponse.js +3 -0
- package/dist/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
- package/dist/models/SandboxListResponseAllOfDeletedCost.js +58 -0
- package/dist/models/SavedSnapshot.d.ts +83 -0
- package/dist/models/SavedSnapshot.js +79 -0
- package/dist/models/SavedSnapshotAllowance.d.ts +81 -0
- package/dist/models/SavedSnapshotAllowance.js +64 -0
- package/dist/models/SavedSnapshotDeletedResponse.d.ts +64 -0
- package/dist/models/SavedSnapshotDeletedResponse.js +75 -0
- package/dist/models/SavedSnapshotInfoResponse.d.ts +52 -0
- package/dist/models/SavedSnapshotInfoResponse.js +66 -0
- package/dist/models/SavedSnapshotListResponse.d.ts +59 -0
- package/dist/models/SavedSnapshotListResponse.js +69 -0
- package/dist/models/SavedSnapshotSaveRequest.d.ts +38 -0
- package/dist/models/SavedSnapshotSaveRequest.js +54 -0
- package/dist/models/SavedSnapshotSavingResponse.d.ts +65 -0
- package/dist/models/SavedSnapshotSavingResponse.js +76 -0
- package/dist/models/SnapshotSummary.d.ts +1 -1
- package/dist/models/Unshare200Response.d.ts +39 -0
- package/dist/models/Unshare200Response.js +51 -0
- package/dist/models/UpdateCredentialProfileRequest.d.ts +7 -0
- package/dist/models/UpdateCredentialProfileRequest.js +3 -0
- package/dist/models/UpdateOrganization200Response.d.ts +50 -0
- package/dist/models/UpdateOrganization200Response.js +54 -0
- package/dist/models/UpdateOrganizationRequest.d.ts +32 -0
- package/dist/models/UpdateOrganizationRequest.js +50 -0
- package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
- package/dist/models/UpdateSandboxEnvironmentRequest.js +3 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/docs/BoatApi.md +468 -19
- package/docs/CreateSandboxRequest.md +2 -0
- package/docs/CreateSandboxResponse.md +2 -0
- package/docs/CredentialProfile.md +2 -0
- package/docs/ResourceAccess.md +35 -0
- package/docs/ResourceAccessUpdate.md +35 -0
- package/docs/Sandbox.md +8 -0
- package/docs/SandboxCost.md +37 -0
- package/docs/SandboxEnvironment.md +2 -0
- package/docs/SandboxLastReboot.md +35 -0
- package/docs/SandboxListResponse.md +2 -0
- package/docs/SandboxListResponseAllOfDeletedCost.md +37 -0
- package/docs/SavedSnapshot.md +47 -0
- package/docs/SavedSnapshotAllowance.md +49 -0
- package/docs/SavedSnapshotDeletedResponse.md +38 -0
- package/docs/SavedSnapshotInfoResponse.md +36 -0
- package/docs/SavedSnapshotListResponse.md +38 -0
- package/docs/SavedSnapshotSaveRequest.md +34 -0
- package/docs/SavedSnapshotSavingResponse.md +38 -0
- package/docs/Unshare200Response.md +34 -0
- package/docs/UpdateCredentialProfileRequest.md +2 -0
- package/docs/UpdateOrganization200Response.md +38 -0
- package/docs/UpdateOrganizationRequest.md +32 -0
- package/docs/UpdateSandboxEnvironmentRequest.md +2 -0
- package/package.json +1 -1
- package/src/apis/BoatApi.ts +440 -21
- package/src/models/CreateSandboxRequest.ts +11 -3
- package/src/models/CreateSandboxResponse.ts +8 -0
- package/src/models/CreateScopedApiKeyRequest.ts +1 -1
- package/src/models/CredentialId.ts +3 -0
- package/src/models/CredentialProfile.ts +15 -0
- package/src/models/DeletionOperation.ts +1 -1
- package/src/models/LimitsFields.ts +1 -1
- package/src/models/LimitsResponse.ts +1 -1
- package/src/models/MeResponseAllOfUser.ts +1 -0
- package/src/models/ResourceAccess.ts +75 -0
- package/src/models/ResourceAccessUpdate.ts +74 -0
- package/src/models/ResumeRequest.ts +1 -1
- package/src/models/Sandbox.ts +56 -1
- package/src/models/SandboxCost.ts +84 -0
- package/src/models/SandboxEnvironment.ts +15 -0
- package/src/models/SandboxLastReboot.ts +85 -0
- package/src/models/SandboxListResponse.ts +15 -0
- package/src/models/SandboxListResponseAllOfDeletedCost.ts +84 -0
- package/src/models/SavedSnapshot.ts +137 -0
- package/src/models/SavedSnapshotAllowance.ts +130 -0
- package/src/models/SavedSnapshotDeletedResponse.ts +111 -0
- package/src/models/SavedSnapshotInfoResponse.ts +102 -0
- package/src/models/SavedSnapshotListResponse.ts +117 -0
- package/src/models/SavedSnapshotSaveRequest.ts +75 -0
- package/src/models/SavedSnapshotSavingResponse.ts +119 -0
- package/src/models/SnapshotSummary.ts +1 -1
- package/src/models/Unshare200Response.ts +81 -0
- package/src/models/UpdateCredentialProfileRequest.ts +16 -0
- package/src/models/UpdateOrganization200Response.ts +89 -0
- package/src/models/UpdateOrganizationRequest.ts +66 -0
- package/src/models/UpdateSandboxEnvironmentRequest.ts +15 -0
- package/src/models/index.ts +15 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Boat Public API v1
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SavedSnapshotListResponseTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfSavedSnapshotListResponse = instanceOfSavedSnapshotListResponse;
|
|
18
|
+
exports.SavedSnapshotListResponseFromJSON = SavedSnapshotListResponseFromJSON;
|
|
19
|
+
exports.SavedSnapshotListResponseFromJSONTyped = SavedSnapshotListResponseFromJSONTyped;
|
|
20
|
+
exports.SavedSnapshotListResponseToJSON = SavedSnapshotListResponseToJSON;
|
|
21
|
+
exports.SavedSnapshotListResponseToJSONTyped = SavedSnapshotListResponseToJSONTyped;
|
|
22
|
+
const SavedSnapshot_1 = require("./SavedSnapshot");
|
|
23
|
+
const SavedSnapshotAllowance_1 = require("./SavedSnapshotAllowance");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.SavedSnapshotListResponseTypeEnum = {
|
|
28
|
+
SnapshotSavedList: 'snapshot.saved.list'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SavedSnapshotListResponse interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfSavedSnapshotListResponse(value) {
|
|
34
|
+
if (!('ok' in value) || value['ok'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('snapshots' in value) || value['snapshots'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function SavedSnapshotListResponseFromJSON(json) {
|
|
43
|
+
return SavedSnapshotListResponseFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SavedSnapshotListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'ok': json['ok'],
|
|
51
|
+
'type': json['type'],
|
|
52
|
+
'snapshots': (json['snapshots'].map(SavedSnapshot_1.SavedSnapshotFromJSON)),
|
|
53
|
+
'allowance': json['allowance'] == null ? undefined : (0, SavedSnapshotAllowance_1.SavedSnapshotAllowanceFromJSON)(json['allowance']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function SavedSnapshotListResponseToJSON(json) {
|
|
57
|
+
return SavedSnapshotListResponseToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function SavedSnapshotListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'ok': value['ok'],
|
|
65
|
+
'type': value['type'],
|
|
66
|
+
'snapshots': (value['snapshots'].map(SavedSnapshot_1.SavedSnapshotToJSON)),
|
|
67
|
+
'allowance': (0, SavedSnapshotAllowance_1.SavedSnapshotAllowanceToJSON)(value['allowance']),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -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 SavedSnapshotSaveRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SavedSnapshotSaveRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The sandbox whose current state to freeze.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SavedSnapshotSaveRequest
|
|
22
|
+
*/
|
|
23
|
+
sandboxId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name to save under. 1-63 lowercase letters, digits, or dashes, starting with a letter or digit. Reusing one of your existing names replaces that snapshot's artifact. `latest`, `tree`, `pull`, `rm`, `save`, `current`, `self`, and `new` are reserved.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SavedSnapshotSaveRequest
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SavedSnapshotSaveRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSavedSnapshotSaveRequest(value: object): value is SavedSnapshotSaveRequest;
|
|
35
|
+
export declare function SavedSnapshotSaveRequestFromJSON(json: any): SavedSnapshotSaveRequest;
|
|
36
|
+
export declare function SavedSnapshotSaveRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavedSnapshotSaveRequest;
|
|
37
|
+
export declare function SavedSnapshotSaveRequestToJSON(json: any): SavedSnapshotSaveRequest;
|
|
38
|
+
export declare function SavedSnapshotSaveRequestToJSONTyped(value?: SavedSnapshotSaveRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Boat Public API v1
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSavedSnapshotSaveRequest = instanceOfSavedSnapshotSaveRequest;
|
|
17
|
+
exports.SavedSnapshotSaveRequestFromJSON = SavedSnapshotSaveRequestFromJSON;
|
|
18
|
+
exports.SavedSnapshotSaveRequestFromJSONTyped = SavedSnapshotSaveRequestFromJSONTyped;
|
|
19
|
+
exports.SavedSnapshotSaveRequestToJSON = SavedSnapshotSaveRequestToJSON;
|
|
20
|
+
exports.SavedSnapshotSaveRequestToJSONTyped = SavedSnapshotSaveRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SavedSnapshotSaveRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSavedSnapshotSaveRequest(value) {
|
|
25
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SavedSnapshotSaveRequestFromJSON(json) {
|
|
32
|
+
return SavedSnapshotSaveRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SavedSnapshotSaveRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'sandboxId': json['sandboxId'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function SavedSnapshotSaveRequestToJSON(json) {
|
|
44
|
+
return SavedSnapshotSaveRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function SavedSnapshotSaveRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'sandboxId': value['sandboxId'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { SavedSnapshot } from './SavedSnapshot';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SavedSnapshotSavingResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SavedSnapshotSavingResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SavedSnapshotSavingResponse
|
|
23
|
+
*/
|
|
24
|
+
ok: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SavedSnapshotSavingResponseTypeEnum}
|
|
28
|
+
* @memberof SavedSnapshotSavingResponse
|
|
29
|
+
*/
|
|
30
|
+
type: SavedSnapshotSavingResponseTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SavedSnapshotSavingResponseStatusEnum}
|
|
34
|
+
* @memberof SavedSnapshotSavingResponse
|
|
35
|
+
*/
|
|
36
|
+
status: SavedSnapshotSavingResponseStatusEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SavedSnapshot}
|
|
40
|
+
* @memberof SavedSnapshotSavingResponse
|
|
41
|
+
*/
|
|
42
|
+
snapshot: SavedSnapshot;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const SavedSnapshotSavingResponseTypeEnum: {
|
|
48
|
+
readonly SnapshotSavedSaving: 'snapshot.saved.saving';
|
|
49
|
+
};
|
|
50
|
+
export type SavedSnapshotSavingResponseTypeEnum = typeof SavedSnapshotSavingResponseTypeEnum[keyof typeof SavedSnapshotSavingResponseTypeEnum];
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const SavedSnapshotSavingResponseStatusEnum: {
|
|
55
|
+
readonly Saving: 'saving';
|
|
56
|
+
};
|
|
57
|
+
export type SavedSnapshotSavingResponseStatusEnum = typeof SavedSnapshotSavingResponseStatusEnum[keyof typeof SavedSnapshotSavingResponseStatusEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the SavedSnapshotSavingResponse interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfSavedSnapshotSavingResponse(value: object): value is SavedSnapshotSavingResponse;
|
|
62
|
+
export declare function SavedSnapshotSavingResponseFromJSON(json: any): SavedSnapshotSavingResponse;
|
|
63
|
+
export declare function SavedSnapshotSavingResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavedSnapshotSavingResponse;
|
|
64
|
+
export declare function SavedSnapshotSavingResponseToJSON(json: any): SavedSnapshotSavingResponse;
|
|
65
|
+
export declare function SavedSnapshotSavingResponseToJSONTyped(value?: SavedSnapshotSavingResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Boat Public API v1
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SavedSnapshotSavingResponseStatusEnum = exports.SavedSnapshotSavingResponseTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfSavedSnapshotSavingResponse = instanceOfSavedSnapshotSavingResponse;
|
|
18
|
+
exports.SavedSnapshotSavingResponseFromJSON = SavedSnapshotSavingResponseFromJSON;
|
|
19
|
+
exports.SavedSnapshotSavingResponseFromJSONTyped = SavedSnapshotSavingResponseFromJSONTyped;
|
|
20
|
+
exports.SavedSnapshotSavingResponseToJSON = SavedSnapshotSavingResponseToJSON;
|
|
21
|
+
exports.SavedSnapshotSavingResponseToJSONTyped = SavedSnapshotSavingResponseToJSONTyped;
|
|
22
|
+
const SavedSnapshot_1 = require("./SavedSnapshot");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SavedSnapshotSavingResponseTypeEnum = {
|
|
27
|
+
SnapshotSavedSaving: 'snapshot.saved.saving'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.SavedSnapshotSavingResponseStatusEnum = {
|
|
33
|
+
Saving: 'saving'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the SavedSnapshotSavingResponse interface.
|
|
37
|
+
*/
|
|
38
|
+
function instanceOfSavedSnapshotSavingResponse(value) {
|
|
39
|
+
if (!('ok' in value) || value['ok'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('snapshot' in value) || value['snapshot'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function SavedSnapshotSavingResponseFromJSON(json) {
|
|
50
|
+
return SavedSnapshotSavingResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SavedSnapshotSavingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'ok': json['ok'],
|
|
58
|
+
'type': json['type'],
|
|
59
|
+
'status': json['status'],
|
|
60
|
+
'snapshot': (0, SavedSnapshot_1.SavedSnapshotFromJSON)(json['snapshot']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function SavedSnapshotSavingResponseToJSON(json) {
|
|
64
|
+
return SavedSnapshotSavingResponseToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function SavedSnapshotSavingResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'ok': value['ok'],
|
|
72
|
+
'type': value['type'],
|
|
73
|
+
'status': value['status'],
|
|
74
|
+
'snapshot': (0, SavedSnapshot_1.SavedSnapshotToJSON)(value['snapshot']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -88,7 +88,7 @@ export interface SnapshotSummary {
|
|
|
88
88
|
*/
|
|
89
89
|
contentFileCount?: number | null;
|
|
90
90
|
/**
|
|
91
|
-
* `template` = this Sandbox has snapshots off, so Boat never captures it: the row is a copy of the template,
|
|
91
|
+
* `template` = this Sandbox has snapshots off, so Boat never captures it: the row is a copy of the template, saved snapshot or Sandbox it was created from. `captured` = this Sandbox has snapshots on: its own captures, plus the copies Boat makes when the Sandbox is created from a source, forked or resumed.
|
|
92
92
|
* @type {SnapshotSummaryOriginEnum}
|
|
93
93
|
* @memberof SnapshotSummary
|
|
94
94
|
*/
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { Sandbox } from './Sandbox';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Unshare200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface Unshare200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Sandbox}
|
|
22
|
+
* @memberof Unshare200Response
|
|
23
|
+
*/
|
|
24
|
+
sandbox?: Sandbox;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Unshare200Response
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the Unshare200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUnshare200Response(value: object): value is Unshare200Response;
|
|
36
|
+
export declare function Unshare200ResponseFromJSON(json: any): Unshare200Response;
|
|
37
|
+
export declare function Unshare200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): Unshare200Response;
|
|
38
|
+
export declare function Unshare200ResponseToJSON(json: any): Unshare200Response;
|
|
39
|
+
export declare function Unshare200ResponseToJSONTyped(value?: Unshare200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Boat Public API v1
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUnshare200Response = instanceOfUnshare200Response;
|
|
17
|
+
exports.Unshare200ResponseFromJSON = Unshare200ResponseFromJSON;
|
|
18
|
+
exports.Unshare200ResponseFromJSONTyped = Unshare200ResponseFromJSONTyped;
|
|
19
|
+
exports.Unshare200ResponseToJSON = Unshare200ResponseToJSON;
|
|
20
|
+
exports.Unshare200ResponseToJSONTyped = Unshare200ResponseToJSONTyped;
|
|
21
|
+
const Sandbox_1 = require("./Sandbox");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the Unshare200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUnshare200Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function Unshare200ResponseFromJSON(json) {
|
|
29
|
+
return Unshare200ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function Unshare200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'sandbox': json['sandbox'] == null ? undefined : (0, Sandbox_1.SandboxFromJSON)(json['sandbox']),
|
|
37
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function Unshare200ResponseToJSON(json) {
|
|
41
|
+
return Unshare200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function Unshare200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'sandbox': (0, Sandbox_1.SandboxToJSON)(value['sandbox']),
|
|
49
|
+
'message': value['message'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ResourceAccessUpdate } from './ResourceAccessUpdate';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,6 +28,12 @@ export interface UpdateCredentialProfileRequest {
|
|
|
27
28
|
* @memberof UpdateCredentialProfileRequest
|
|
28
29
|
*/
|
|
29
30
|
isDefault?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Organization profiles only. Organization owner only.
|
|
33
|
+
* @type {ResourceAccessUpdate}
|
|
34
|
+
* @memberof UpdateCredentialProfileRequest
|
|
35
|
+
*/
|
|
36
|
+
access?: ResourceAccessUpdate;
|
|
30
37
|
}
|
|
31
38
|
/**
|
|
32
39
|
* Check if a given object implements the UpdateCredentialProfileRequest interface.
|
|
@@ -18,6 +18,7 @@ exports.UpdateCredentialProfileRequestFromJSON = UpdateCredentialProfileRequestF
|
|
|
18
18
|
exports.UpdateCredentialProfileRequestFromJSONTyped = UpdateCredentialProfileRequestFromJSONTyped;
|
|
19
19
|
exports.UpdateCredentialProfileRequestToJSON = UpdateCredentialProfileRequestToJSON;
|
|
20
20
|
exports.UpdateCredentialProfileRequestToJSONTyped = UpdateCredentialProfileRequestToJSONTyped;
|
|
21
|
+
const ResourceAccessUpdate_1 = require("./ResourceAccessUpdate");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the UpdateCredentialProfileRequest interface.
|
|
23
24
|
*/
|
|
@@ -34,6 +35,7 @@ function UpdateCredentialProfileRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
34
35
|
return {
|
|
35
36
|
'name': json['name'] == null ? undefined : json['name'],
|
|
36
37
|
'isDefault': json['isDefault'] == null ? undefined : json['isDefault'],
|
|
38
|
+
'access': json['access'] == null ? undefined : (0, ResourceAccessUpdate_1.ResourceAccessUpdateFromJSON)(json['access']),
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
function UpdateCredentialProfileRequestToJSON(json) {
|
|
@@ -46,5 +48,6 @@ function UpdateCredentialProfileRequestToJSONTyped(value, ignoreDiscriminator =
|
|
|
46
48
|
return {
|
|
47
49
|
'name': value['name'],
|
|
48
50
|
'isDefault': value['isDefault'],
|
|
51
|
+
'access': (0, ResourceAccessUpdate_1.ResourceAccessUpdateToJSON)(value['access']),
|
|
49
52
|
};
|
|
50
53
|
}
|
|
@@ -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 UpdateOrganization200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateOrganization200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UpdateOrganization200Response
|
|
22
|
+
*/
|
|
23
|
+
ok?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateOrganization200Response
|
|
28
|
+
*/
|
|
29
|
+
type?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof UpdateOrganization200Response
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof UpdateOrganization200Response
|
|
40
|
+
*/
|
|
41
|
+
newSandboxesPrivate?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UpdateOrganization200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUpdateOrganization200Response(value: object): value is UpdateOrganization200Response;
|
|
47
|
+
export declare function UpdateOrganization200ResponseFromJSON(json: any): UpdateOrganization200Response;
|
|
48
|
+
export declare function UpdateOrganization200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrganization200Response;
|
|
49
|
+
export declare function UpdateOrganization200ResponseToJSON(json: any): UpdateOrganization200Response;
|
|
50
|
+
export declare function UpdateOrganization200ResponseToJSONTyped(value?: UpdateOrganization200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Boat Public API v1
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdateOrganization200Response = instanceOfUpdateOrganization200Response;
|
|
17
|
+
exports.UpdateOrganization200ResponseFromJSON = UpdateOrganization200ResponseFromJSON;
|
|
18
|
+
exports.UpdateOrganization200ResponseFromJSONTyped = UpdateOrganization200ResponseFromJSONTyped;
|
|
19
|
+
exports.UpdateOrganization200ResponseToJSON = UpdateOrganization200ResponseToJSON;
|
|
20
|
+
exports.UpdateOrganization200ResponseToJSONTyped = UpdateOrganization200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateOrganization200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateOrganization200Response(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateOrganization200ResponseFromJSON(json) {
|
|
28
|
+
return UpdateOrganization200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateOrganization200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'ok': json['ok'] == null ? undefined : json['ok'],
|
|
36
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
37
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
38
|
+
'newSandboxesPrivate': json['newSandboxesPrivate'] == null ? undefined : json['newSandboxesPrivate'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function UpdateOrganization200ResponseToJSON(json) {
|
|
42
|
+
return UpdateOrganization200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function UpdateOrganization200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'ok': value['ok'],
|
|
50
|
+
'type': value['type'],
|
|
51
|
+
'success': value['success'],
|
|
52
|
+
'newSandboxesPrivate': value['newSandboxesPrivate'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 UpdateOrganizationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateOrganizationRequest {
|
|
18
|
+
/**
|
|
19
|
+
* True = new sandboxes start private. False = they start shared.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UpdateOrganizationRequest
|
|
22
|
+
*/
|
|
23
|
+
newSandboxesPrivate: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpdateOrganizationRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpdateOrganizationRequest(value: object): value is UpdateOrganizationRequest;
|
|
29
|
+
export declare function UpdateOrganizationRequestFromJSON(json: any): UpdateOrganizationRequest;
|
|
30
|
+
export declare function UpdateOrganizationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrganizationRequest;
|
|
31
|
+
export declare function UpdateOrganizationRequestToJSON(json: any): UpdateOrganizationRequest;
|
|
32
|
+
export declare function UpdateOrganizationRequestToJSONTyped(value?: UpdateOrganizationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Boat Public API v1
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdateOrganizationRequest = instanceOfUpdateOrganizationRequest;
|
|
17
|
+
exports.UpdateOrganizationRequestFromJSON = UpdateOrganizationRequestFromJSON;
|
|
18
|
+
exports.UpdateOrganizationRequestFromJSONTyped = UpdateOrganizationRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateOrganizationRequestToJSON = UpdateOrganizationRequestToJSON;
|
|
20
|
+
exports.UpdateOrganizationRequestToJSONTyped = UpdateOrganizationRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateOrganizationRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateOrganizationRequest(value) {
|
|
25
|
+
if (!('newSandboxesPrivate' in value) || value['newSandboxesPrivate'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function UpdateOrganizationRequestFromJSON(json) {
|
|
30
|
+
return UpdateOrganizationRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function UpdateOrganizationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'newSandboxesPrivate': json['newSandboxesPrivate'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function UpdateOrganizationRequestToJSON(json) {
|
|
41
|
+
return UpdateOrganizationRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function UpdateOrganizationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'newSandboxesPrivate': value['newSandboxesPrivate'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { UpdateSandboxEnvironmentRequestRepositoriesInner } from './UpdateSandboxEnvironmentRequestRepositoriesInner';
|
|
13
|
+
import type { ResourceAccessUpdate } from './ResourceAccessUpdate';
|
|
13
14
|
import type { SecretFile } from './SecretFile';
|
|
14
15
|
/**
|
|
15
16
|
* Rename, set-default, and/or edit flags and contents. Any flag or content change mints a new immutable version; existing sandboxes are not touched until you call upgrade.
|
|
@@ -71,6 +72,12 @@ export interface UpdateSandboxEnvironmentRequest {
|
|
|
71
72
|
* @memberof UpdateSandboxEnvironmentRequest
|
|
72
73
|
*/
|
|
73
74
|
proxyAiCredentials?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {ResourceAccessUpdate}
|
|
78
|
+
* @memberof UpdateSandboxEnvironmentRequest
|
|
79
|
+
*/
|
|
80
|
+
access?: ResourceAccessUpdate;
|
|
74
81
|
/**
|
|
75
82
|
* Full .env-style content for the new version.
|
|
76
83
|
* @type {string}
|