@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
@@ -15,6 +15,7 @@ Name | Type
15
15
  `snapshots` | boolean
16
16
  `monitoring` | boolean
17
17
  `failFast` | boolean
18
+ `count` | number
18
19
  `setupScript` | string
19
20
  `org` | string
20
21
  `teamId` | string
@@ -35,6 +36,7 @@ const example = {
35
36
  "snapshots": null,
36
37
  "monitoring": null,
37
38
  "failFast": null,
39
+ "count": null,
38
40
  "setupScript": null,
39
41
  "org": null,
40
42
  "teamId": null,
@@ -11,6 +11,7 @@ Name | Type
11
11
  `status` | string
12
12
  `ttlSeconds` | number
13
13
  `sandbox` | [Sandbox](Sandbox.md)
14
+ `sandboxes` | [Array<Sandbox>](Sandbox.md)
14
15
  `giftLimitNotice` | string
15
16
 
16
17
  ## Example
@@ -25,6 +26,7 @@ const example = {
25
26
  "status": null,
26
27
  "ttlSeconds": null,
27
28
  "sandbox": null,
29
+ "sandboxes": null,
28
30
  "giftLimitNotice": null,
29
31
  } satisfies CreateSandboxResponse
30
32
 
@@ -17,6 +17,7 @@ Name | Type
17
17
  `customApis` | Array<string>
18
18
  `createdAt` | Date
19
19
  `updatedAt` | Date
20
+ `access` | [ResourceAccess](ResourceAccess.md)
20
21
 
21
22
  ## Example
22
23
 
@@ -35,6 +36,7 @@ const example = {
35
36
  "customApis": null,
36
37
  "createdAt": null,
37
38
  "updatedAt": null,
39
+ "access": null,
38
40
  } satisfies CredentialProfile
39
41
 
40
42
  console.log(example)
@@ -0,0 +1,35 @@
1
+
2
+ # ResourceAccess
3
+
4
+ Which organization members can use this organization environment or profile. `restricted` false means every member. `restricted` true means owners, admins and `members` only. Others do not see it in lists. Personal environments and profiles always return `restricted` false.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `restricted` | boolean
11
+ `members` | Array<string>
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { ResourceAccess } from '@boatdev/sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "restricted": null,
21
+ "members": null,
22
+ } satisfies ResourceAccess
23
+
24
+ console.log(example)
25
+
26
+ // Convert the instance to a JSON string
27
+ const exampleJSON: string = JSON.stringify(example)
28
+ console.log(exampleJSON)
29
+
30
+ // Parse the JSON string back to an object
31
+ const exampleParsed = JSON.parse(exampleJSON) as ResourceAccess
32
+ console.log(exampleParsed)
33
+ ```
34
+
35
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,35 @@
1
+
2
+ # ResourceAccessUpdate
3
+
4
+ Set who can use an organization environment (owner or admin) or profile (owner). A change does not touch running sandboxes. A bad list returns `400 invalid_access`.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `restricted` | boolean
11
+ `members` | Array<string>
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { ResourceAccessUpdate } from '@boatdev/sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "restricted": null,
21
+ "members": null,
22
+ } satisfies ResourceAccessUpdate
23
+
24
+ console.log(example)
25
+
26
+ // Convert the instance to a JSON string
27
+ const exampleJSON: string = JSON.stringify(example)
28
+ console.log(exampleJSON)
29
+
30
+ // Parse the JSON string back to an object
31
+ const exampleParsed = JSON.parse(exampleJSON) as ResourceAccessUpdate
32
+ console.log(exampleParsed)
33
+ ```
34
+
35
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
package/docs/Sandbox.md CHANGED
@@ -10,6 +10,7 @@ Name | Type
10
10
  `name` | string
11
11
  `state` | string
12
12
  `error` | string
13
+ `dataExpiredAt` | Date
13
14
  `health` | string
14
15
  `healthReason` | string
15
16
  `degradedSince` | Date
@@ -40,10 +41,13 @@ Name | Type
40
41
  `createdById` | string
41
42
  `access` | string
42
43
  `holdsCreatorLogins` | boolean
44
+ `visibility` | string
45
+ `cost` | [SandboxCost](SandboxCost.md)
43
46
  `wipePendingUntilRestart` | boolean
44
47
  `subdomain` | string
45
48
  `lastSnapshotAttemptAt` | Date
46
49
  `lastSnapshotStatus` | string
50
+ `lastReboot` | [SandboxLastReboot](SandboxLastReboot.md)
47
51
  `setupStatus` | string
48
52
  `setupError` | string
49
53
  `environment` | string
@@ -61,6 +65,7 @@ const example = {
61
65
  "name": null,
62
66
  "state": null,
63
67
  "error": null,
68
+ "dataExpiredAt": null,
64
69
  "health": null,
65
70
  "healthReason": null,
66
71
  "degradedSince": null,
@@ -91,10 +96,13 @@ const example = {
91
96
  "createdById": null,
92
97
  "access": null,
93
98
  "holdsCreatorLogins": null,
99
+ "visibility": null,
100
+ "cost": null,
94
101
  "wipePendingUntilRestart": null,
95
102
  "subdomain": null,
96
103
  "lastSnapshotAttemptAt": null,
97
104
  "lastSnapshotStatus": null,
105
+ "lastReboot": null,
98
106
  "setupStatus": null,
99
107
  "setupError": null,
100
108
  "environment": null,
@@ -0,0 +1,37 @@
1
+
2
+ # SandboxCost
3
+
4
+ Only with `include=cost` on `GET /sandboxes`. Machine time this sandbox used this calendar month (UTC), at list price. Same meter as `GET /sandboxes/{sandboxId}/usage`.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `since` | Date
11
+ `seconds` | number
12
+ `dollars` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { SandboxCost } from '@boatdev/sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "since": null,
22
+ "seconds": null,
23
+ "dollars": null,
24
+ } satisfies SandboxCost
25
+
26
+ console.log(example)
27
+
28
+ // Convert the instance to a JSON string
29
+ const exampleJSON: string = JSON.stringify(example)
30
+ console.log(exampleJSON)
31
+
32
+ // Parse the JSON string back to an object
33
+ const exampleParsed = JSON.parse(exampleJSON) as SandboxCost
34
+ console.log(exampleParsed)
35
+ ```
36
+
37
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -20,6 +20,7 @@ Name | Type
20
20
  `passAgentsCredentials` | boolean
21
21
  `credentialProfileId` | string
22
22
  `proxyAiCredentials` | boolean
23
+ `access` | [ResourceAccess](ResourceAccess.md)
23
24
  `envContents` | string
24
25
  `secretFiles` | [Array<SecretFile>](SecretFile.md)
25
26
  `selectedRepositories` | [Array<SelectedRepository>](SelectedRepository.md)
@@ -45,6 +46,7 @@ const example = {
45
46
  "passAgentsCredentials": null,
46
47
  "credentialProfileId": null,
47
48
  "proxyAiCredentials": null,
49
+ "access": null,
48
50
  "envContents": null,
49
51
  "secretFiles": null,
50
52
  "selectedRepositories": null,
@@ -0,0 +1,35 @@
1
+
2
+ # SandboxLastReboot
3
+
4
+ The last time the sandbox\'s kernel restarted on its machine, or null if it never did. Every process running at that time ended. `crash` means the system log ended with no shutdown, for example after a kernel panic.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `at` | Date
11
+ `reason` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { SandboxLastReboot } from '@boatdev/sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "at": null,
21
+ "reason": null,
22
+ } satisfies SandboxLastReboot
23
+
24
+ console.log(example)
25
+
26
+ // Convert the instance to a JSON string
27
+ const exampleJSON: string = JSON.stringify(example)
28
+ console.log(exampleJSON)
29
+
30
+ // Parse the JSON string back to an object
31
+ const exampleParsed = JSON.parse(exampleJSON) as SandboxLastReboot
32
+ console.log(exampleParsed)
33
+ ```
34
+
35
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -10,6 +10,7 @@ Name | Type
10
10
  `type` | string
11
11
  `sandboxes` | [Array<Sandbox>](Sandbox.md)
12
12
  `pageInfo` | [PageInfo](PageInfo.md)
13
+ `deletedCost` | [SandboxListResponseAllOfDeletedCost](SandboxListResponseAllOfDeletedCost.md)
13
14
 
14
15
  ## Example
15
16
 
@@ -22,6 +23,7 @@ const example = {
22
23
  "type": null,
23
24
  "sandboxes": null,
24
25
  "pageInfo": null,
26
+ "deletedCost": null,
25
27
  } satisfies SandboxListResponse
26
28
 
27
29
  console.log(example)
@@ -0,0 +1,37 @@
1
+
2
+ # SandboxListResponseAllOfDeletedCost
3
+
4
+ Only with `include=cost`, and not for an API key limited to some sandboxes. Machine time this calendar month (UTC) of deleted sandboxes this list would otherwise show. They are not in the list, but their time was billed. Add it to the sandboxes\' `cost` to get the full total.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `since` | Date
11
+ `seconds` | number
12
+ `dollars` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { SandboxListResponseAllOfDeletedCost } from '@boatdev/sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "since": null,
22
+ "seconds": null,
23
+ "dollars": null,
24
+ } satisfies SandboxListResponseAllOfDeletedCost
25
+
26
+ console.log(example)
27
+
28
+ // Convert the instance to a JSON string
29
+ const exampleJSON: string = JSON.stringify(example)
30
+ console.log(exampleJSON)
31
+
32
+ // Parse the JSON string back to an object
33
+ const exampleParsed = JSON.parse(exampleJSON) as SandboxListResponseAllOfDeletedCost
34
+ console.log(exampleParsed)
35
+ ```
36
+
37
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,47 @@
1
+
2
+ # SavedSnapshot
3
+
4
+ A saved snapshot: a frozen copy of a sandbox\'s disk at one moment, saved under a name you pick. Independent of the source sandbox\'s later life: the sandbox can change, stop, or be deleted and the saved snapshot still deploys. Saved snapshots never expire; re-saving a name replaces its artifact.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `name` | string
11
+ `status` | string
12
+ `error` | string
13
+ `sourceSandboxId` | string
14
+ `snapshotId` | string
15
+ `type` | string
16
+ `sizeBytes` | number
17
+ `createdAt` | Date
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { SavedSnapshot } from '@boatdev/sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "name": null,
27
+ "status": null,
28
+ "error": null,
29
+ "sourceSandboxId": null,
30
+ "snapshotId": null,
31
+ "type": null,
32
+ "sizeBytes": null,
33
+ "createdAt": null,
34
+ } satisfies SavedSnapshot
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as SavedSnapshot
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,49 @@
1
+
2
+ # SavedSnapshotAllowance
3
+
4
+ What the request\'s wallet (your active organization, `?org=`, or personal) pays for saved snapshots. 10 are free per wallet; each one above costs $1.70 a month, charged daily from usage. An organization\'s count includes every member\'s names billed to it.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `org` | string
11
+ `orgName` | string
12
+ `included` | number
13
+ `free` | number
14
+ `used` | number
15
+ `extra` | number
16
+ `extraMonthlyDollars` | number
17
+ `extraDailyDollars` | number
18
+ `pricePerExtraMonthlyDollars` | number
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { SavedSnapshotAllowance } from '@boatdev/sdk'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "org": null,
28
+ "orgName": null,
29
+ "included": null,
30
+ "free": null,
31
+ "used": null,
32
+ "extra": null,
33
+ "extraMonthlyDollars": null,
34
+ "extraDailyDollars": null,
35
+ "pricePerExtraMonthlyDollars": null,
36
+ } satisfies SavedSnapshotAllowance
37
+
38
+ console.log(example)
39
+
40
+ // Convert the instance to a JSON string
41
+ const exampleJSON: string = JSON.stringify(example)
42
+ console.log(exampleJSON)
43
+
44
+ // Parse the JSON string back to an object
45
+ const exampleParsed = JSON.parse(exampleJSON) as SavedSnapshotAllowance
46
+ console.log(exampleParsed)
47
+ ```
48
+
49
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+
2
+ # SavedSnapshotDeletedResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `ok` | boolean
10
+ `type` | string
11
+ `name` | string
12
+ `status` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { SavedSnapshotDeletedResponse } from '@boatdev/sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "ok": null,
22
+ "type": null,
23
+ "name": null,
24
+ "status": null,
25
+ } satisfies SavedSnapshotDeletedResponse
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as SavedSnapshotDeletedResponse
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,36 @@
1
+
2
+ # SavedSnapshotInfoResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `ok` | boolean
10
+ `type` | string
11
+ `snapshot` | [SavedSnapshot](SavedSnapshot.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { SavedSnapshotInfoResponse } from '@boatdev/sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "ok": null,
21
+ "type": null,
22
+ "snapshot": null,
23
+ } satisfies SavedSnapshotInfoResponse
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as SavedSnapshotInfoResponse
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+
2
+ # SavedSnapshotListResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `ok` | boolean
10
+ `type` | string
11
+ `snapshots` | [Array<SavedSnapshot>](SavedSnapshot.md)
12
+ `allowance` | [SavedSnapshotAllowance](SavedSnapshotAllowance.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { SavedSnapshotListResponse } from '@boatdev/sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "ok": null,
22
+ "type": null,
23
+ "snapshots": null,
24
+ "allowance": null,
25
+ } satisfies SavedSnapshotListResponse
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as SavedSnapshotListResponse
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+
2
+ # SavedSnapshotSaveRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `sandboxId` | string
10
+ `name` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { SavedSnapshotSaveRequest } from '@boatdev/sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "sandboxId": null,
20
+ "name": null,
21
+ } satisfies SavedSnapshotSaveRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as SavedSnapshotSaveRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+
2
+ # SavedSnapshotSavingResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `ok` | boolean
10
+ `type` | string
11
+ `status` | string
12
+ `snapshot` | [SavedSnapshot](SavedSnapshot.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { SavedSnapshotSavingResponse } from '@boatdev/sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "ok": null,
22
+ "type": null,
23
+ "status": null,
24
+ "snapshot": null,
25
+ } satisfies SavedSnapshotSavingResponse
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as SavedSnapshotSavingResponse
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+
2
+ # Unshare200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `sandbox` | [Sandbox](Sandbox.md)
10
+ `message` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { Unshare200Response } from '@boatdev/sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "sandbox": null,
20
+ "message": null,
21
+ } satisfies Unshare200Response
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as Unshare200Response
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
10
  `isDefault` | boolean
11
+ `access` | [ResourceAccessUpdate](ResourceAccessUpdate.md)
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ import type { UpdateCredentialProfileRequest } from '@boatdev/sdk'
18
19
  const example = {
19
20
  "name": null,
20
21
  "isDefault": null,
22
+ "access": null,
21
23
  } satisfies UpdateCredentialProfileRequest
22
24
 
23
25
  console.log(example)
@@ -0,0 +1,38 @@
1
+
2
+ # UpdateOrganization200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `ok` | boolean
10
+ `type` | string
11
+ `success` | boolean
12
+ `newSandboxesPrivate` | boolean
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { UpdateOrganization200Response } from '@boatdev/sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "ok": null,
22
+ "type": null,
23
+ "success": null,
24
+ "newSandboxesPrivate": null,
25
+ } satisfies UpdateOrganization200Response
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateOrganization200Response
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)