@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.
Files changed (179) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/dist/apis/BoatApi.d.ts +144 -18
  3. package/dist/apis/BoatApi.js +305 -22
  4. package/dist/esm/apis/BoatApi.d.ts +144 -18
  5. package/dist/esm/apis/BoatApi.js +304 -21
  6. package/dist/esm/models/CreateSandboxRequest.d.ts +9 -3
  7. package/dist/esm/models/CreateSandboxRequest.js +2 -0
  8. package/dist/esm/models/CreateSandboxResponse.d.ts +6 -0
  9. package/dist/esm/models/CreateSandboxResponse.js +2 -0
  10. package/dist/esm/models/CreateScopedApiKeyRequest.d.ts +1 -1
  11. package/dist/esm/models/CredentialId.d.ts +3 -0
  12. package/dist/esm/models/CredentialId.js +3 -0
  13. package/dist/esm/models/CredentialProfile.d.ts +7 -0
  14. package/dist/esm/models/CredentialProfile.js +3 -0
  15. package/dist/esm/models/DeletionOperation.d.ts +1 -1
  16. package/dist/esm/models/LimitsFields.d.ts +1 -1
  17. package/dist/esm/models/LimitsResponse.d.ts +1 -1
  18. package/dist/esm/models/MeResponseAllOfUser.d.ts +1 -0
  19. package/dist/esm/models/MeResponseAllOfUser.js +1 -0
  20. package/dist/esm/models/ResourceAccess.d.ts +38 -0
  21. package/dist/esm/models/ResourceAccess.js +47 -0
  22. package/dist/esm/models/ResourceAccessUpdate.d.ts +38 -0
  23. package/dist/esm/models/ResourceAccessUpdate.js +45 -0
  24. package/dist/esm/models/ResumeRequest.d.ts +1 -1
  25. package/dist/esm/models/Sandbox.d.ts +35 -1
  26. package/dist/esm/models/Sandbox.js +17 -0
  27. package/dist/esm/models/SandboxCost.d.ts +44 -0
  28. package/dist/esm/models/SandboxCost.js +51 -0
  29. package/dist/esm/models/SandboxEnvironment.d.ts +7 -0
  30. package/dist/esm/models/SandboxEnvironment.js +3 -0
  31. package/dist/esm/models/SandboxLastReboot.d.ts +47 -0
  32. package/dist/esm/models/SandboxLastReboot.js +51 -0
  33. package/dist/esm/models/SandboxListResponse.d.ts +7 -0
  34. package/dist/esm/models/SandboxListResponse.js +3 -0
  35. package/dist/esm/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
  36. package/dist/esm/models/SandboxListResponseAllOfDeletedCost.js +51 -0
  37. package/dist/esm/models/SavedSnapshot.d.ts +83 -0
  38. package/dist/esm/models/SavedSnapshot.js +71 -0
  39. package/dist/esm/models/SavedSnapshotAllowance.d.ts +81 -0
  40. package/dist/esm/models/SavedSnapshotAllowance.js +57 -0
  41. package/dist/esm/models/SavedSnapshotDeletedResponse.d.ts +64 -0
  42. package/dist/esm/models/SavedSnapshotDeletedResponse.js +67 -0
  43. package/dist/esm/models/SavedSnapshotInfoResponse.d.ts +52 -0
  44. package/dist/esm/models/SavedSnapshotInfoResponse.js +58 -0
  45. package/dist/esm/models/SavedSnapshotListResponse.d.ts +59 -0
  46. package/dist/esm/models/SavedSnapshotListResponse.js +61 -0
  47. package/dist/esm/models/SavedSnapshotSaveRequest.d.ts +38 -0
  48. package/dist/esm/models/SavedSnapshotSaveRequest.js +47 -0
  49. package/dist/esm/models/SavedSnapshotSavingResponse.d.ts +65 -0
  50. package/dist/esm/models/SavedSnapshotSavingResponse.js +68 -0
  51. package/dist/esm/models/SnapshotSummary.d.ts +1 -1
  52. package/dist/esm/models/Unshare200Response.d.ts +39 -0
  53. package/dist/esm/models/Unshare200Response.js +44 -0
  54. package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +7 -0
  55. package/dist/esm/models/UpdateCredentialProfileRequest.js +3 -0
  56. package/dist/esm/models/UpdateOrganization200Response.d.ts +50 -0
  57. package/dist/esm/models/UpdateOrganization200Response.js +47 -0
  58. package/dist/esm/models/UpdateOrganizationRequest.d.ts +32 -0
  59. package/dist/esm/models/UpdateOrganizationRequest.js +43 -0
  60. package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
  61. package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +3 -0
  62. package/dist/esm/models/index.d.ts +15 -0
  63. package/dist/esm/models/index.js +15 -0
  64. package/dist/models/CreateSandboxRequest.d.ts +9 -3
  65. package/dist/models/CreateSandboxRequest.js +2 -0
  66. package/dist/models/CreateSandboxResponse.d.ts +6 -0
  67. package/dist/models/CreateSandboxResponse.js +2 -0
  68. package/dist/models/CreateScopedApiKeyRequest.d.ts +1 -1
  69. package/dist/models/CredentialId.d.ts +3 -0
  70. package/dist/models/CredentialId.js +3 -0
  71. package/dist/models/CredentialProfile.d.ts +7 -0
  72. package/dist/models/CredentialProfile.js +3 -0
  73. package/dist/models/DeletionOperation.d.ts +1 -1
  74. package/dist/models/LimitsFields.d.ts +1 -1
  75. package/dist/models/LimitsResponse.d.ts +1 -1
  76. package/dist/models/MeResponseAllOfUser.d.ts +1 -0
  77. package/dist/models/MeResponseAllOfUser.js +1 -0
  78. package/dist/models/ResourceAccess.d.ts +38 -0
  79. package/dist/models/ResourceAccess.js +54 -0
  80. package/dist/models/ResourceAccessUpdate.d.ts +38 -0
  81. package/dist/models/ResourceAccessUpdate.js +52 -0
  82. package/dist/models/ResumeRequest.d.ts +1 -1
  83. package/dist/models/Sandbox.d.ts +35 -1
  84. package/dist/models/Sandbox.js +18 -1
  85. package/dist/models/SandboxCost.d.ts +44 -0
  86. package/dist/models/SandboxCost.js +58 -0
  87. package/dist/models/SandboxEnvironment.d.ts +7 -0
  88. package/dist/models/SandboxEnvironment.js +3 -0
  89. package/dist/models/SandboxLastReboot.d.ts +47 -0
  90. package/dist/models/SandboxLastReboot.js +59 -0
  91. package/dist/models/SandboxListResponse.d.ts +7 -0
  92. package/dist/models/SandboxListResponse.js +3 -0
  93. package/dist/models/SandboxListResponseAllOfDeletedCost.d.ts +44 -0
  94. package/dist/models/SandboxListResponseAllOfDeletedCost.js +58 -0
  95. package/dist/models/SavedSnapshot.d.ts +83 -0
  96. package/dist/models/SavedSnapshot.js +79 -0
  97. package/dist/models/SavedSnapshotAllowance.d.ts +81 -0
  98. package/dist/models/SavedSnapshotAllowance.js +64 -0
  99. package/dist/models/SavedSnapshotDeletedResponse.d.ts +64 -0
  100. package/dist/models/SavedSnapshotDeletedResponse.js +75 -0
  101. package/dist/models/SavedSnapshotInfoResponse.d.ts +52 -0
  102. package/dist/models/SavedSnapshotInfoResponse.js +66 -0
  103. package/dist/models/SavedSnapshotListResponse.d.ts +59 -0
  104. package/dist/models/SavedSnapshotListResponse.js +69 -0
  105. package/dist/models/SavedSnapshotSaveRequest.d.ts +38 -0
  106. package/dist/models/SavedSnapshotSaveRequest.js +54 -0
  107. package/dist/models/SavedSnapshotSavingResponse.d.ts +65 -0
  108. package/dist/models/SavedSnapshotSavingResponse.js +76 -0
  109. package/dist/models/SnapshotSummary.d.ts +1 -1
  110. package/dist/models/Unshare200Response.d.ts +39 -0
  111. package/dist/models/Unshare200Response.js +51 -0
  112. package/dist/models/UpdateCredentialProfileRequest.d.ts +7 -0
  113. package/dist/models/UpdateCredentialProfileRequest.js +3 -0
  114. package/dist/models/UpdateOrganization200Response.d.ts +50 -0
  115. package/dist/models/UpdateOrganization200Response.js +54 -0
  116. package/dist/models/UpdateOrganizationRequest.d.ts +32 -0
  117. package/dist/models/UpdateOrganizationRequest.js +50 -0
  118. package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +7 -0
  119. package/dist/models/UpdateSandboxEnvironmentRequest.js +3 -0
  120. package/dist/models/index.d.ts +15 -0
  121. package/dist/models/index.js +15 -0
  122. package/docs/BoatApi.md +468 -19
  123. package/docs/CreateSandboxRequest.md +2 -0
  124. package/docs/CreateSandboxResponse.md +2 -0
  125. package/docs/CredentialProfile.md +2 -0
  126. package/docs/ResourceAccess.md +35 -0
  127. package/docs/ResourceAccessUpdate.md +35 -0
  128. package/docs/Sandbox.md +8 -0
  129. package/docs/SandboxCost.md +37 -0
  130. package/docs/SandboxEnvironment.md +2 -0
  131. package/docs/SandboxLastReboot.md +35 -0
  132. package/docs/SandboxListResponse.md +2 -0
  133. package/docs/SandboxListResponseAllOfDeletedCost.md +37 -0
  134. package/docs/SavedSnapshot.md +47 -0
  135. package/docs/SavedSnapshotAllowance.md +49 -0
  136. package/docs/SavedSnapshotDeletedResponse.md +38 -0
  137. package/docs/SavedSnapshotInfoResponse.md +36 -0
  138. package/docs/SavedSnapshotListResponse.md +38 -0
  139. package/docs/SavedSnapshotSaveRequest.md +34 -0
  140. package/docs/SavedSnapshotSavingResponse.md +38 -0
  141. package/docs/Unshare200Response.md +34 -0
  142. package/docs/UpdateCredentialProfileRequest.md +2 -0
  143. package/docs/UpdateOrganization200Response.md +38 -0
  144. package/docs/UpdateOrganizationRequest.md +32 -0
  145. package/docs/UpdateSandboxEnvironmentRequest.md +2 -0
  146. package/package.json +1 -1
  147. package/src/apis/BoatApi.ts +440 -21
  148. package/src/models/CreateSandboxRequest.ts +11 -3
  149. package/src/models/CreateSandboxResponse.ts +8 -0
  150. package/src/models/CreateScopedApiKeyRequest.ts +1 -1
  151. package/src/models/CredentialId.ts +3 -0
  152. package/src/models/CredentialProfile.ts +15 -0
  153. package/src/models/DeletionOperation.ts +1 -1
  154. package/src/models/LimitsFields.ts +1 -1
  155. package/src/models/LimitsResponse.ts +1 -1
  156. package/src/models/MeResponseAllOfUser.ts +1 -0
  157. package/src/models/ResourceAccess.ts +75 -0
  158. package/src/models/ResourceAccessUpdate.ts +74 -0
  159. package/src/models/ResumeRequest.ts +1 -1
  160. package/src/models/Sandbox.ts +56 -1
  161. package/src/models/SandboxCost.ts +84 -0
  162. package/src/models/SandboxEnvironment.ts +15 -0
  163. package/src/models/SandboxLastReboot.ts +85 -0
  164. package/src/models/SandboxListResponse.ts +15 -0
  165. package/src/models/SandboxListResponseAllOfDeletedCost.ts +84 -0
  166. package/src/models/SavedSnapshot.ts +137 -0
  167. package/src/models/SavedSnapshotAllowance.ts +130 -0
  168. package/src/models/SavedSnapshotDeletedResponse.ts +111 -0
  169. package/src/models/SavedSnapshotInfoResponse.ts +102 -0
  170. package/src/models/SavedSnapshotListResponse.ts +117 -0
  171. package/src/models/SavedSnapshotSaveRequest.ts +75 -0
  172. package/src/models/SavedSnapshotSavingResponse.ts +119 -0
  173. package/src/models/SnapshotSummary.ts +1 -1
  174. package/src/models/Unshare200Response.ts +81 -0
  175. package/src/models/UpdateCredentialProfileRequest.ts +16 -0
  176. package/src/models/UpdateOrganization200Response.ts +89 -0
  177. package/src/models/UpdateOrganizationRequest.ts +66 -0
  178. package/src/models/UpdateSandboxEnvironmentRequest.ts +15 -0
  179. package/src/models/index.ts +15 -0
@@ -0,0 +1,52 @@
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 SavedSnapshotInfoResponse
17
+ */
18
+ export interface SavedSnapshotInfoResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SavedSnapshotInfoResponse
23
+ */
24
+ ok: boolean;
25
+ /**
26
+ *
27
+ * @type {SavedSnapshotInfoResponseTypeEnum}
28
+ * @memberof SavedSnapshotInfoResponse
29
+ */
30
+ type: SavedSnapshotInfoResponseTypeEnum;
31
+ /**
32
+ *
33
+ * @type {SavedSnapshot}
34
+ * @memberof SavedSnapshotInfoResponse
35
+ */
36
+ snapshot: SavedSnapshot;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const SavedSnapshotInfoResponseTypeEnum: {
42
+ readonly SnapshotSavedInfo: 'snapshot.saved.info';
43
+ };
44
+ export type SavedSnapshotInfoResponseTypeEnum = typeof SavedSnapshotInfoResponseTypeEnum[keyof typeof SavedSnapshotInfoResponseTypeEnum];
45
+ /**
46
+ * Check if a given object implements the SavedSnapshotInfoResponse interface.
47
+ */
48
+ export declare function instanceOfSavedSnapshotInfoResponse(value: object): value is SavedSnapshotInfoResponse;
49
+ export declare function SavedSnapshotInfoResponseFromJSON(json: any): SavedSnapshotInfoResponse;
50
+ export declare function SavedSnapshotInfoResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavedSnapshotInfoResponse;
51
+ export declare function SavedSnapshotInfoResponseToJSON(json: any): SavedSnapshotInfoResponse;
52
+ export declare function SavedSnapshotInfoResponseToJSONTyped(value?: SavedSnapshotInfoResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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 { SavedSnapshotFromJSON, SavedSnapshotToJSON, } from './SavedSnapshot';
15
+ /**
16
+ * @export
17
+ */
18
+ export const SavedSnapshotInfoResponseTypeEnum = {
19
+ SnapshotSavedInfo: 'snapshot.saved.info'
20
+ };
21
+ /**
22
+ * Check if a given object implements the SavedSnapshotInfoResponse interface.
23
+ */
24
+ export function instanceOfSavedSnapshotInfoResponse(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 (!('snapshot' in value) || value['snapshot'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ export function SavedSnapshotInfoResponseFromJSON(json) {
34
+ return SavedSnapshotInfoResponseFromJSONTyped(json, false);
35
+ }
36
+ export function SavedSnapshotInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'ok': json['ok'],
42
+ 'type': json['type'],
43
+ 'snapshot': SavedSnapshotFromJSON(json['snapshot']),
44
+ };
45
+ }
46
+ export function SavedSnapshotInfoResponseToJSON(json) {
47
+ return SavedSnapshotInfoResponseToJSONTyped(json, false);
48
+ }
49
+ export function SavedSnapshotInfoResponseToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'ok': value['ok'],
55
+ 'type': value['type'],
56
+ 'snapshot': SavedSnapshotToJSON(value['snapshot']),
57
+ };
58
+ }
@@ -0,0 +1,59 @@
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
+ import type { SavedSnapshotAllowance } from './SavedSnapshotAllowance';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SavedSnapshotListResponse
18
+ */
19
+ export interface SavedSnapshotListResponse {
20
+ /**
21
+ *
22
+ * @type {boolean}
23
+ * @memberof SavedSnapshotListResponse
24
+ */
25
+ ok: boolean;
26
+ /**
27
+ *
28
+ * @type {SavedSnapshotListResponseTypeEnum}
29
+ * @memberof SavedSnapshotListResponse
30
+ */
31
+ type: SavedSnapshotListResponseTypeEnum;
32
+ /**
33
+ *
34
+ * @type {Array<SavedSnapshot>}
35
+ * @memberof SavedSnapshotListResponse
36
+ */
37
+ snapshots: Array<SavedSnapshot>;
38
+ /**
39
+ *
40
+ * @type {SavedSnapshotAllowance}
41
+ * @memberof SavedSnapshotListResponse
42
+ */
43
+ allowance?: SavedSnapshotAllowance;
44
+ }
45
+ /**
46
+ * @export
47
+ */
48
+ export declare const SavedSnapshotListResponseTypeEnum: {
49
+ readonly SnapshotSavedList: 'snapshot.saved.list';
50
+ };
51
+ export type SavedSnapshotListResponseTypeEnum = typeof SavedSnapshotListResponseTypeEnum[keyof typeof SavedSnapshotListResponseTypeEnum];
52
+ /**
53
+ * Check if a given object implements the SavedSnapshotListResponse interface.
54
+ */
55
+ export declare function instanceOfSavedSnapshotListResponse(value: object): value is SavedSnapshotListResponse;
56
+ export declare function SavedSnapshotListResponseFromJSON(json: any): SavedSnapshotListResponse;
57
+ export declare function SavedSnapshotListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavedSnapshotListResponse;
58
+ export declare function SavedSnapshotListResponseToJSON(json: any): SavedSnapshotListResponse;
59
+ export declare function SavedSnapshotListResponseToJSONTyped(value?: SavedSnapshotListResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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 { SavedSnapshotFromJSON, SavedSnapshotToJSON, } from './SavedSnapshot';
15
+ import { SavedSnapshotAllowanceFromJSON, SavedSnapshotAllowanceToJSON, } from './SavedSnapshotAllowance';
16
+ /**
17
+ * @export
18
+ */
19
+ export const SavedSnapshotListResponseTypeEnum = {
20
+ SnapshotSavedList: 'snapshot.saved.list'
21
+ };
22
+ /**
23
+ * Check if a given object implements the SavedSnapshotListResponse interface.
24
+ */
25
+ export function instanceOfSavedSnapshotListResponse(value) {
26
+ if (!('ok' in value) || value['ok'] === undefined)
27
+ return false;
28
+ if (!('type' in value) || value['type'] === undefined)
29
+ return false;
30
+ if (!('snapshots' in value) || value['snapshots'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function SavedSnapshotListResponseFromJSON(json) {
35
+ return SavedSnapshotListResponseFromJSONTyped(json, false);
36
+ }
37
+ export function SavedSnapshotListResponseFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'ok': json['ok'],
43
+ 'type': json['type'],
44
+ 'snapshots': (json['snapshots'].map(SavedSnapshotFromJSON)),
45
+ 'allowance': json['allowance'] == null ? undefined : SavedSnapshotAllowanceFromJSON(json['allowance']),
46
+ };
47
+ }
48
+ export function SavedSnapshotListResponseToJSON(json) {
49
+ return SavedSnapshotListResponseToJSONTyped(json, false);
50
+ }
51
+ export function SavedSnapshotListResponseToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'ok': value['ok'],
57
+ 'type': value['type'],
58
+ 'snapshots': (value['snapshots'].map(SavedSnapshotToJSON)),
59
+ 'allowance': SavedSnapshotAllowanceToJSON(value['allowance']),
60
+ };
61
+ }
@@ -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,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 SavedSnapshotSaveRequest interface.
16
+ */
17
+ export function instanceOfSavedSnapshotSaveRequest(value) {
18
+ if (!('sandboxId' in value) || value['sandboxId'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function SavedSnapshotSaveRequestFromJSON(json) {
25
+ return SavedSnapshotSaveRequestFromJSONTyped(json, false);
26
+ }
27
+ export function SavedSnapshotSaveRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'sandboxId': json['sandboxId'],
33
+ 'name': json['name'],
34
+ };
35
+ }
36
+ export function SavedSnapshotSaveRequestToJSON(json) {
37
+ return SavedSnapshotSaveRequestToJSONTyped(json, false);
38
+ }
39
+ export function SavedSnapshotSaveRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'sandboxId': value['sandboxId'],
45
+ 'name': value['name'],
46
+ };
47
+ }
@@ -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,68 @@
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 { SavedSnapshotFromJSON, SavedSnapshotToJSON, } from './SavedSnapshot';
15
+ /**
16
+ * @export
17
+ */
18
+ export const SavedSnapshotSavingResponseTypeEnum = {
19
+ SnapshotSavedSaving: 'snapshot.saved.saving'
20
+ };
21
+ /**
22
+ * @export
23
+ */
24
+ export const SavedSnapshotSavingResponseStatusEnum = {
25
+ Saving: 'saving'
26
+ };
27
+ /**
28
+ * Check if a given object implements the SavedSnapshotSavingResponse interface.
29
+ */
30
+ export function instanceOfSavedSnapshotSavingResponse(value) {
31
+ if (!('ok' in value) || value['ok'] === undefined)
32
+ return false;
33
+ if (!('type' in value) || value['type'] === undefined)
34
+ return false;
35
+ if (!('status' in value) || value['status'] === undefined)
36
+ return false;
37
+ if (!('snapshot' in value) || value['snapshot'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ export function SavedSnapshotSavingResponseFromJSON(json) {
42
+ return SavedSnapshotSavingResponseFromJSONTyped(json, false);
43
+ }
44
+ export function SavedSnapshotSavingResponseFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'ok': json['ok'],
50
+ 'type': json['type'],
51
+ 'status': json['status'],
52
+ 'snapshot': SavedSnapshotFromJSON(json['snapshot']),
53
+ };
54
+ }
55
+ export function SavedSnapshotSavingResponseToJSON(json) {
56
+ return SavedSnapshotSavingResponseToJSONTyped(json, false);
57
+ }
58
+ export function SavedSnapshotSavingResponseToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'ok': value['ok'],
64
+ 'type': value['type'],
65
+ 'status': value['status'],
66
+ 'snapshot': SavedSnapshotToJSON(value['snapshot']),
67
+ };
68
+ }
@@ -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, named 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.
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,44 @@
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 { SandboxFromJSON, SandboxToJSON, } from './Sandbox';
15
+ /**
16
+ * Check if a given object implements the Unshare200Response interface.
17
+ */
18
+ export function instanceOfUnshare200Response(value) {
19
+ return true;
20
+ }
21
+ export function Unshare200ResponseFromJSON(json) {
22
+ return Unshare200ResponseFromJSONTyped(json, false);
23
+ }
24
+ export function Unshare200ResponseFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'sandbox': json['sandbox'] == null ? undefined : SandboxFromJSON(json['sandbox']),
30
+ 'message': json['message'] == null ? undefined : json['message'],
31
+ };
32
+ }
33
+ export function Unshare200ResponseToJSON(json) {
34
+ return Unshare200ResponseToJSONTyped(json, false);
35
+ }
36
+ export function Unshare200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'sandbox': SandboxToJSON(value['sandbox']),
42
+ 'message': value['message'],
43
+ };
44
+ }
@@ -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.
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ResourceAccessUpdateFromJSON, ResourceAccessUpdateToJSON, } from './ResourceAccessUpdate';
14
15
  /**
15
16
  * Check if a given object implements the UpdateCredentialProfileRequest interface.
16
17
  */
@@ -27,6 +28,7 @@ export function UpdateCredentialProfileRequestFromJSONTyped(json, ignoreDiscrimi
27
28
  return {
28
29
  'name': json['name'] == null ? undefined : json['name'],
29
30
  'isDefault': json['isDefault'] == null ? undefined : json['isDefault'],
31
+ 'access': json['access'] == null ? undefined : ResourceAccessUpdateFromJSON(json['access']),
30
32
  };
31
33
  }
32
34
  export function UpdateCredentialProfileRequestToJSON(json) {
@@ -39,5 +41,6 @@ export function UpdateCredentialProfileRequestToJSONTyped(value, ignoreDiscrimin
39
41
  return {
40
42
  'name': value['name'],
41
43
  'isDefault': value['isDefault'],
44
+ 'access': ResourceAccessUpdateToJSON(value['access']),
42
45
  };
43
46
  }
@@ -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;