@boatdev/sdk 1.9.9 → 1.10.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 (72) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/dist/apis/BoatApi.d.ts +52 -6
  3. package/dist/apis/BoatApi.js +109 -7
  4. package/dist/esm/apis/BoatApi.d.ts +52 -6
  5. package/dist/esm/apis/BoatApi.js +108 -6
  6. package/dist/esm/models/CreateSandboxRequest.d.ts +7 -1
  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/LimitsFields.d.ts +1 -1
  12. package/dist/esm/models/LimitsResponse.d.ts +1 -1
  13. package/dist/esm/models/MeResponseAllOfUser.d.ts +1 -0
  14. package/dist/esm/models/MeResponseAllOfUser.js +1 -0
  15. package/dist/esm/models/ResumeRequest.d.ts +1 -1
  16. package/dist/esm/models/Sandbox.d.ts +28 -1
  17. package/dist/esm/models/Sandbox.js +14 -0
  18. package/dist/esm/models/SandboxCost.d.ts +44 -0
  19. package/dist/esm/models/SandboxCost.js +51 -0
  20. package/dist/esm/models/Unshare200Response.d.ts +39 -0
  21. package/dist/esm/models/Unshare200Response.js +44 -0
  22. package/dist/esm/models/UpdateOrganization200Response.d.ts +50 -0
  23. package/dist/esm/models/UpdateOrganization200Response.js +47 -0
  24. package/dist/esm/models/UpdateOrganizationRequest.d.ts +32 -0
  25. package/dist/esm/models/UpdateOrganizationRequest.js +43 -0
  26. package/dist/esm/models/index.d.ts +4 -0
  27. package/dist/esm/models/index.js +4 -0
  28. package/dist/models/CreateSandboxRequest.d.ts +7 -1
  29. package/dist/models/CreateSandboxRequest.js +2 -0
  30. package/dist/models/CreateSandboxResponse.d.ts +6 -0
  31. package/dist/models/CreateSandboxResponse.js +2 -0
  32. package/dist/models/CreateScopedApiKeyRequest.d.ts +1 -1
  33. package/dist/models/LimitsFields.d.ts +1 -1
  34. package/dist/models/LimitsResponse.d.ts +1 -1
  35. package/dist/models/MeResponseAllOfUser.d.ts +1 -0
  36. package/dist/models/MeResponseAllOfUser.js +1 -0
  37. package/dist/models/ResumeRequest.d.ts +1 -1
  38. package/dist/models/Sandbox.d.ts +28 -1
  39. package/dist/models/Sandbox.js +15 -1
  40. package/dist/models/SandboxCost.d.ts +44 -0
  41. package/dist/models/SandboxCost.js +58 -0
  42. package/dist/models/Unshare200Response.d.ts +39 -0
  43. package/dist/models/Unshare200Response.js +51 -0
  44. package/dist/models/UpdateOrganization200Response.d.ts +50 -0
  45. package/dist/models/UpdateOrganization200Response.js +54 -0
  46. package/dist/models/UpdateOrganizationRequest.d.ts +32 -0
  47. package/dist/models/UpdateOrganizationRequest.js +50 -0
  48. package/dist/models/index.d.ts +4 -0
  49. package/dist/models/index.js +4 -0
  50. package/docs/BoatApi.md +161 -4
  51. package/docs/CreateSandboxRequest.md +2 -0
  52. package/docs/CreateSandboxResponse.md +2 -0
  53. package/docs/Sandbox.md +6 -0
  54. package/docs/SandboxCost.md +37 -0
  55. package/docs/Unshare200Response.md +34 -0
  56. package/docs/UpdateOrganization200Response.md +38 -0
  57. package/docs/UpdateOrganizationRequest.md +32 -0
  58. package/package.json +1 -1
  59. package/src/apis/BoatApi.ts +163 -6
  60. package/src/models/CreateSandboxRequest.ts +9 -1
  61. package/src/models/CreateSandboxResponse.ts +8 -0
  62. package/src/models/CreateScopedApiKeyRequest.ts +1 -1
  63. package/src/models/LimitsFields.ts +1 -1
  64. package/src/models/LimitsResponse.ts +1 -1
  65. package/src/models/MeResponseAllOfUser.ts +1 -0
  66. package/src/models/ResumeRequest.ts +1 -1
  67. package/src/models/Sandbox.ts +41 -1
  68. package/src/models/SandboxCost.ts +84 -0
  69. package/src/models/Unshare200Response.ts +81 -0
  70. package/src/models/UpdateOrganization200Response.ts +89 -0
  71. package/src/models/UpdateOrganizationRequest.ts +66 -0
  72. package/src/models/index.ts +4 -0
@@ -0,0 +1,81 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { Sandbox } from './Sandbox';
17
+ import {
18
+ SandboxFromJSON,
19
+ SandboxFromJSONTyped,
20
+ SandboxToJSON,
21
+ SandboxToJSONTyped,
22
+ } from './Sandbox';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface Unshare200Response
28
+ */
29
+ export interface Unshare200Response {
30
+ /**
31
+ *
32
+ * @type {Sandbox}
33
+ * @memberof Unshare200Response
34
+ */
35
+ sandbox?: Sandbox;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Unshare200Response
40
+ */
41
+ message?: string;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the Unshare200Response interface.
46
+ */
47
+ export function instanceOfUnshare200Response(value: object): value is Unshare200Response {
48
+ return true;
49
+ }
50
+
51
+ export function Unshare200ResponseFromJSON(json: any): Unshare200Response {
52
+ return Unshare200ResponseFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function Unshare200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): Unshare200Response {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'sandbox': json['sandbox'] == null ? undefined : SandboxFromJSON(json['sandbox']),
62
+ 'message': json['message'] == null ? undefined : json['message'],
63
+ };
64
+ }
65
+
66
+ export function Unshare200ResponseToJSON(json: any): Unshare200Response {
67
+ return Unshare200ResponseToJSONTyped(json, false);
68
+ }
69
+
70
+ export function Unshare200ResponseToJSONTyped(value?: Unshare200Response | null, ignoreDiscriminator: boolean = false): any {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+
75
+ return {
76
+
77
+ 'sandbox': SandboxToJSON(value['sandbox']),
78
+ 'message': value['message'],
79
+ };
80
+ }
81
+
@@ -0,0 +1,89 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateOrganization200Response
20
+ */
21
+ export interface UpdateOrganization200Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof UpdateOrganization200Response
26
+ */
27
+ ok?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UpdateOrganization200Response
32
+ */
33
+ type?: string;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof UpdateOrganization200Response
38
+ */
39
+ success?: boolean;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof UpdateOrganization200Response
44
+ */
45
+ newSandboxesPrivate?: boolean;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the UpdateOrganization200Response interface.
50
+ */
51
+ export function instanceOfUpdateOrganization200Response(value: object): value is UpdateOrganization200Response {
52
+ return true;
53
+ }
54
+
55
+ export function UpdateOrganization200ResponseFromJSON(json: any): UpdateOrganization200Response {
56
+ return UpdateOrganization200ResponseFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function UpdateOrganization200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrganization200Response {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'ok': json['ok'] == null ? undefined : json['ok'],
66
+ 'type': json['type'] == null ? undefined : json['type'],
67
+ 'success': json['success'] == null ? undefined : json['success'],
68
+ 'newSandboxesPrivate': json['newSandboxesPrivate'] == null ? undefined : json['newSandboxesPrivate'],
69
+ };
70
+ }
71
+
72
+ export function UpdateOrganization200ResponseToJSON(json: any): UpdateOrganization200Response {
73
+ return UpdateOrganization200ResponseToJSONTyped(json, false);
74
+ }
75
+
76
+ export function UpdateOrganization200ResponseToJSONTyped(value?: UpdateOrganization200Response | null, ignoreDiscriminator: boolean = false): any {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+
81
+ return {
82
+
83
+ 'ok': value['ok'],
84
+ 'type': value['type'],
85
+ 'success': value['success'],
86
+ 'newSandboxesPrivate': value['newSandboxesPrivate'],
87
+ };
88
+ }
89
+
@@ -0,0 +1,66 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateOrganizationRequest
20
+ */
21
+ export interface UpdateOrganizationRequest {
22
+ /**
23
+ * True = new sandboxes start private. False = they start shared.
24
+ * @type {boolean}
25
+ * @memberof UpdateOrganizationRequest
26
+ */
27
+ newSandboxesPrivate: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the UpdateOrganizationRequest interface.
32
+ */
33
+ export function instanceOfUpdateOrganizationRequest(value: object): value is UpdateOrganizationRequest {
34
+ if (!('newSandboxesPrivate' in value) || value['newSandboxesPrivate'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function UpdateOrganizationRequestFromJSON(json: any): UpdateOrganizationRequest {
39
+ return UpdateOrganizationRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function UpdateOrganizationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrganizationRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'newSandboxesPrivate': json['newSandboxesPrivate'],
49
+ };
50
+ }
51
+
52
+ export function UpdateOrganizationRequestToJSON(json: any): UpdateOrganizationRequest {
53
+ return UpdateOrganizationRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function UpdateOrganizationRequestToJSONTyped(value?: UpdateOrganizationRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'newSandboxesPrivate': value['newSandboxesPrivate'],
64
+ };
65
+ }
66
+
@@ -119,6 +119,7 @@ export * from './SandboxActionResponse';
119
119
  export * from './SandboxAiAccessResponse';
120
120
  export * from './SandboxAiUsage';
121
121
  export * from './SandboxAiUsageResponse';
122
+ export * from './SandboxCost';
122
123
  export * from './SandboxEnvironment';
123
124
  export * from './SandboxEnvironmentListResponse';
124
125
  export * from './SandboxEnvironmentResponse';
@@ -166,8 +167,11 @@ export * from './TelemetrySetRequest';
166
167
  export * from './TelemetrySetResponse';
167
168
  export * from './TelemetryTestResult';
168
169
  export * from './UnknownEvent';
170
+ export * from './Unshare200Response';
169
171
  export * from './UpdateAiProxyRequest';
170
172
  export * from './UpdateCredentialProfileRequest';
173
+ export * from './UpdateOrganization200Response';
174
+ export * from './UpdateOrganizationRequest';
171
175
  export * from './UpdateSandboxEnvironmentRequest';
172
176
  export * from './UpdateSandboxEnvironmentRequestRepositoriesInner';
173
177
  export * from './UpdateSandboxRequest';