@boatdev/sdk 1.9.5 → 1.9.6

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 (148) hide show
  1. package/.openapi-generator/FILES +40 -0
  2. package/dist/apis/BoatApi.d.ts +263 -3
  3. package/dist/apis/BoatApi.js +662 -11
  4. package/dist/esm/apis/BoatApi.d.ts +263 -3
  5. package/dist/esm/apis/BoatApi.js +662 -11
  6. package/dist/esm/models/AccountAiUsageResponse.d.ts +83 -0
  7. package/dist/esm/models/AccountAiUsageResponse.js +78 -0
  8. package/dist/esm/models/AiProxySettings.d.ts +81 -0
  9. package/dist/esm/models/AiProxySettings.js +76 -0
  10. package/dist/esm/models/AiProxySettingsAllOfPricing.d.ts +38 -0
  11. package/dist/esm/models/AiProxySettingsAllOfPricing.js +47 -0
  12. package/dist/esm/models/AiUsageRow.d.ts +80 -0
  13. package/dist/esm/models/AiUsageRow.js +75 -0
  14. package/dist/esm/models/AiUsageTotals.d.ts +62 -0
  15. package/dist/esm/models/AiUsageTotals.js +63 -0
  16. package/dist/esm/models/CreateCredentialProfileRequest.d.ts +44 -0
  17. package/dist/esm/models/CreateCredentialProfileRequest.js +47 -0
  18. package/dist/esm/models/CredentialId.d.ts +36 -0
  19. package/dist/esm/models/CredentialId.js +54 -0
  20. package/dist/esm/models/CredentialProfile.d.ts +82 -0
  21. package/dist/esm/models/CredentialProfile.js +77 -0
  22. package/dist/esm/models/CredentialProfileDeletedResponse.d.ts +44 -0
  23. package/dist/esm/models/CredentialProfileDeletedResponse.js +51 -0
  24. package/dist/esm/models/CredentialProfileListResponse.d.ts +45 -0
  25. package/dist/esm/models/CredentialProfileListResponse.js +52 -0
  26. package/dist/esm/models/CredentialProfileOwner.d.ts +58 -0
  27. package/dist/esm/models/CredentialProfileOwner.js +62 -0
  28. package/dist/esm/models/CredentialProfileResponse.d.ts +51 -0
  29. package/dist/esm/models/CredentialProfileResponse.js +56 -0
  30. package/dist/esm/models/ProcessListResponse.d.ts +1 -1
  31. package/dist/esm/models/SandboxAiAccessResponse.d.ts +56 -0
  32. package/dist/esm/models/SandboxAiAccessResponse.js +59 -0
  33. package/dist/esm/models/SandboxAiUsage.d.ts +64 -0
  34. package/dist/esm/models/SandboxAiUsage.js +65 -0
  35. package/dist/esm/models/SandboxAiUsageResponse.d.ts +88 -0
  36. package/dist/esm/models/SandboxAiUsageResponse.js +81 -0
  37. package/dist/esm/models/SandboxEnvironment.d.ts +13 -1
  38. package/dist/esm/models/SandboxEnvironment.js +4 -0
  39. package/dist/esm/models/SetCredentialKeyRequest.d.ts +32 -0
  40. package/dist/esm/models/SetCredentialKeyRequest.js +43 -0
  41. package/dist/esm/models/SetCustomApiRequest.d.ts +38 -0
  42. package/dist/esm/models/SetCustomApiRequest.js +47 -0
  43. package/dist/esm/models/SetSandboxAiAccessRequest.d.ts +32 -0
  44. package/dist/esm/models/SetSandboxAiAccessRequest.js +43 -0
  45. package/dist/esm/models/UpdateAiProxyRequest.d.ts +32 -0
  46. package/dist/esm/models/UpdateAiProxyRequest.js +43 -0
  47. package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +38 -0
  48. package/dist/esm/models/UpdateCredentialProfileRequest.js +43 -0
  49. package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
  50. package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +4 -0
  51. package/dist/esm/models/index.d.ts +20 -0
  52. package/dist/esm/models/index.js +20 -0
  53. package/dist/models/AccountAiUsageResponse.d.ts +83 -0
  54. package/dist/models/AccountAiUsageResponse.js +85 -0
  55. package/dist/models/AiProxySettings.d.ts +81 -0
  56. package/dist/models/AiProxySettings.js +83 -0
  57. package/dist/models/AiProxySettingsAllOfPricing.d.ts +38 -0
  58. package/dist/models/AiProxySettingsAllOfPricing.js +54 -0
  59. package/dist/models/AiUsageRow.d.ts +80 -0
  60. package/dist/models/AiUsageRow.js +82 -0
  61. package/dist/models/AiUsageTotals.d.ts +62 -0
  62. package/dist/models/AiUsageTotals.js +70 -0
  63. package/dist/models/CreateCredentialProfileRequest.d.ts +44 -0
  64. package/dist/models/CreateCredentialProfileRequest.js +54 -0
  65. package/dist/models/CredentialId.d.ts +36 -0
  66. package/dist/models/CredentialId.js +62 -0
  67. package/dist/models/CredentialProfile.d.ts +82 -0
  68. package/dist/models/CredentialProfile.js +84 -0
  69. package/dist/models/CredentialProfileDeletedResponse.d.ts +44 -0
  70. package/dist/models/CredentialProfileDeletedResponse.js +58 -0
  71. package/dist/models/CredentialProfileListResponse.d.ts +45 -0
  72. package/dist/models/CredentialProfileListResponse.js +59 -0
  73. package/dist/models/CredentialProfileOwner.d.ts +58 -0
  74. package/dist/models/CredentialProfileOwner.js +70 -0
  75. package/dist/models/CredentialProfileResponse.d.ts +51 -0
  76. package/dist/models/CredentialProfileResponse.js +63 -0
  77. package/dist/models/ProcessListResponse.d.ts +1 -1
  78. package/dist/models/SandboxAiAccessResponse.d.ts +56 -0
  79. package/dist/models/SandboxAiAccessResponse.js +66 -0
  80. package/dist/models/SandboxAiUsage.d.ts +64 -0
  81. package/dist/models/SandboxAiUsage.js +72 -0
  82. package/dist/models/SandboxAiUsageResponse.d.ts +88 -0
  83. package/dist/models/SandboxAiUsageResponse.js +88 -0
  84. package/dist/models/SandboxEnvironment.d.ts +13 -1
  85. package/dist/models/SandboxEnvironment.js +4 -0
  86. package/dist/models/SetCredentialKeyRequest.d.ts +32 -0
  87. package/dist/models/SetCredentialKeyRequest.js +50 -0
  88. package/dist/models/SetCustomApiRequest.d.ts +38 -0
  89. package/dist/models/SetCustomApiRequest.js +54 -0
  90. package/dist/models/SetSandboxAiAccessRequest.d.ts +32 -0
  91. package/dist/models/SetSandboxAiAccessRequest.js +50 -0
  92. package/dist/models/UpdateAiProxyRequest.d.ts +32 -0
  93. package/dist/models/UpdateAiProxyRequest.js +50 -0
  94. package/dist/models/UpdateCredentialProfileRequest.d.ts +38 -0
  95. package/dist/models/UpdateCredentialProfileRequest.js +50 -0
  96. package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
  97. package/dist/models/UpdateSandboxEnvironmentRequest.js +4 -0
  98. package/dist/models/index.d.ts +20 -0
  99. package/dist/models/index.js +20 -0
  100. package/docs/AccountAiUsageResponse.md +48 -0
  101. package/docs/AiProxySettings.md +48 -0
  102. package/docs/AiProxySettingsAllOfPricing.md +34 -0
  103. package/docs/AiUsageRow.md +48 -0
  104. package/docs/AiUsageTotals.md +43 -0
  105. package/docs/BoatApi.md +1285 -234
  106. package/docs/CreateCredentialProfileRequest.md +36 -0
  107. package/docs/CredentialId.md +31 -0
  108. package/docs/CredentialProfile.md +49 -0
  109. package/docs/CredentialProfileDeletedResponse.md +36 -0
  110. package/docs/CredentialProfileListResponse.md +36 -0
  111. package/docs/CredentialProfileOwner.md +38 -0
  112. package/docs/CredentialProfileResponse.md +38 -0
  113. package/docs/SandboxAiAccessResponse.md +40 -0
  114. package/docs/SandboxAiUsage.md +42 -0
  115. package/docs/SandboxAiUsageResponse.md +50 -0
  116. package/docs/SandboxEnvironment.md +4 -0
  117. package/docs/SetCredentialKeyRequest.md +32 -0
  118. package/docs/SetCustomApiRequest.md +34 -0
  119. package/docs/SetSandboxAiAccessRequest.md +32 -0
  120. package/docs/UpdateAiProxyRequest.md +32 -0
  121. package/docs/UpdateCredentialProfileRequest.md +34 -0
  122. package/docs/UpdateSandboxEnvironmentRequest.md +4 -0
  123. package/package.json +1 -1
  124. package/src/apis/BoatApi.ts +1013 -13
  125. package/src/models/AccountAiUsageResponse.ts +160 -0
  126. package/src/models/AiProxySettings.ts +146 -0
  127. package/src/models/AiProxySettingsAllOfPricing.ts +75 -0
  128. package/src/models/AiUsageRow.ts +138 -0
  129. package/src/models/AiUsageTotals.ts +111 -0
  130. package/src/models/CreateCredentialProfileRequest.ts +82 -0
  131. package/src/models/CredentialId.ts +64 -0
  132. package/src/models/CredentialProfile.ts +153 -0
  133. package/src/models/CredentialProfileDeletedResponse.ts +84 -0
  134. package/src/models/CredentialProfileListResponse.ts +92 -0
  135. package/src/models/CredentialProfileOwner.ts +104 -0
  136. package/src/models/CredentialProfileResponse.ts +101 -0
  137. package/src/models/ProcessListResponse.ts +1 -1
  138. package/src/models/SandboxAiAccessResponse.ts +102 -0
  139. package/src/models/SandboxAiUsage.ts +126 -0
  140. package/src/models/SandboxAiUsageResponse.ts +162 -0
  141. package/src/models/SandboxEnvironment.ts +17 -1
  142. package/src/models/SetCredentialKeyRequest.ts +66 -0
  143. package/src/models/SetCustomApiRequest.ts +75 -0
  144. package/src/models/SetSandboxAiAccessRequest.ts +66 -0
  145. package/src/models/UpdateAiProxyRequest.ts +66 -0
  146. package/src/models/UpdateCredentialProfileRequest.ts +73 -0
  147. package/src/models/UpdateSandboxEnvironmentRequest.ts +16 -0
  148. package/src/models/index.ts +20 -0
@@ -0,0 +1,36 @@
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
+ * One AI credential in a credential profile. The `*-api-key` ids are API keys you can set with `PUT /credential-profiles/{profile}/keys/{credential}`. The sign-ins (`*-subscription`) and Bedrock (`*-bedrock`) are connected on the dashboard Agents & Proxying page, with the profile picked at the top; you can remove them here.
14
+ * @export
15
+ */
16
+ export declare const CredentialId: {
17
+ readonly AnthropicApiKey: 'anthropic-api-key';
18
+ readonly OpenaiApiKey: 'openai-api-key';
19
+ readonly OpenrouterApiKey: 'openrouter-api-key';
20
+ readonly LlmgatewayApiKey: 'llmgateway-api-key';
21
+ readonly DeepseekApiKey: 'deepseek-api-key';
22
+ readonly MoonshotApiKey: 'moonshot-api-key';
23
+ readonly MistralApiKey: 'mistral-api-key';
24
+ readonly ClaudeSubscription: 'claude-subscription';
25
+ readonly ChatgptSubscription: 'chatgpt-subscription';
26
+ readonly KimiSubscription: 'kimi-subscription';
27
+ readonly MistralVibeSubscription: 'mistral-vibe-subscription';
28
+ readonly ClaudeBedrock: 'claude-bedrock';
29
+ readonly CodexBedrock: 'codex-bedrock';
30
+ };
31
+ export type CredentialId = typeof CredentialId[keyof typeof CredentialId];
32
+ export declare function instanceOfCredentialId(value: any): boolean;
33
+ export declare function CredentialIdFromJSON(json: any): CredentialId;
34
+ export declare function CredentialIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialId;
35
+ export declare function CredentialIdToJSON(value?: CredentialId | null): any;
36
+ export declare function CredentialIdToJSONTyped(value: any, ignoreDiscriminator: boolean): CredentialId;
@@ -0,0 +1,62 @@
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.CredentialId = void 0;
17
+ exports.instanceOfCredentialId = instanceOfCredentialId;
18
+ exports.CredentialIdFromJSON = CredentialIdFromJSON;
19
+ exports.CredentialIdFromJSONTyped = CredentialIdFromJSONTyped;
20
+ exports.CredentialIdToJSON = CredentialIdToJSON;
21
+ exports.CredentialIdToJSONTyped = CredentialIdToJSONTyped;
22
+ /**
23
+ * One AI credential in a credential profile. The `*-api-key` ids are API keys you can set with `PUT /credential-profiles/{profile}/keys/{credential}`. The sign-ins (`*-subscription`) and Bedrock (`*-bedrock`) are connected on the dashboard Agents & Proxying page, with the profile picked at the top; you can remove them here.
24
+ * @export
25
+ */
26
+ exports.CredentialId = {
27
+ AnthropicApiKey: 'anthropic-api-key',
28
+ OpenaiApiKey: 'openai-api-key',
29
+ OpenrouterApiKey: 'openrouter-api-key',
30
+ LlmgatewayApiKey: 'llmgateway-api-key',
31
+ DeepseekApiKey: 'deepseek-api-key',
32
+ MoonshotApiKey: 'moonshot-api-key',
33
+ MistralApiKey: 'mistral-api-key',
34
+ ClaudeSubscription: 'claude-subscription',
35
+ ChatgptSubscription: 'chatgpt-subscription',
36
+ KimiSubscription: 'kimi-subscription',
37
+ MistralVibeSubscription: 'mistral-vibe-subscription',
38
+ ClaudeBedrock: 'claude-bedrock',
39
+ CodexBedrock: 'codex-bedrock'
40
+ };
41
+ function instanceOfCredentialId(value) {
42
+ for (const key in exports.CredentialId) {
43
+ if (Object.prototype.hasOwnProperty.call(exports.CredentialId, key)) {
44
+ if (exports.CredentialId[key] === value) {
45
+ return true;
46
+ }
47
+ }
48
+ }
49
+ return false;
50
+ }
51
+ function CredentialIdFromJSON(json) {
52
+ return CredentialIdFromJSONTyped(json, false);
53
+ }
54
+ function CredentialIdFromJSONTyped(json, ignoreDiscriminator) {
55
+ return json;
56
+ }
57
+ function CredentialIdToJSON(value) {
58
+ return value;
59
+ }
60
+ function CredentialIdToJSONTyped(value, ignoreDiscriminator) {
61
+ return value;
62
+ }
@@ -0,0 +1,82 @@
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 { CredentialId } from './CredentialId';
13
+ import type { CredentialProfileOwner } from './CredentialProfileOwner';
14
+ /**
15
+ * A named set of AI credentials. Secret values are never returned.
16
+ * @export
17
+ * @interface CredentialProfile
18
+ */
19
+ export interface CredentialProfile {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof CredentialProfile
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof CredentialProfile
30
+ */
31
+ name: string;
32
+ /**
33
+ * True for the one profile of its owner that sandboxes get when nothing names a profile. The dashboard Agents page edits this profile.
34
+ * @type {boolean}
35
+ * @memberof CredentialProfile
36
+ */
37
+ isDefault: boolean;
38
+ /**
39
+ *
40
+ * @type {CredentialProfileOwner}
41
+ * @memberof CredentialProfile
42
+ */
43
+ owner: CredentialProfileOwner;
44
+ /**
45
+ * True when you can change the profile. Org members use an org profile; org owners manage it.
46
+ * @type {boolean}
47
+ * @memberof CredentialProfile
48
+ */
49
+ canManage: boolean;
50
+ /**
51
+ * The credentials the profile holds.
52
+ * @type {Array<CredentialId>}
53
+ * @memberof CredentialProfile
54
+ */
55
+ connected: Array<CredentialId>;
56
+ /**
57
+ * The names of the profile's custom APIs. Values are never returned.
58
+ * @type {Array<string>}
59
+ * @memberof CredentialProfile
60
+ */
61
+ customApis: Array<string>;
62
+ /**
63
+ *
64
+ * @type {Date}
65
+ * @memberof CredentialProfile
66
+ */
67
+ createdAt: Date;
68
+ /**
69
+ *
70
+ * @type {Date}
71
+ * @memberof CredentialProfile
72
+ */
73
+ updatedAt: Date;
74
+ }
75
+ /**
76
+ * Check if a given object implements the CredentialProfile interface.
77
+ */
78
+ export declare function instanceOfCredentialProfile(value: object): value is CredentialProfile;
79
+ export declare function CredentialProfileFromJSON(json: any): CredentialProfile;
80
+ export declare function CredentialProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialProfile;
81
+ export declare function CredentialProfileToJSON(json: any): CredentialProfile;
82
+ export declare function CredentialProfileToJSONTyped(value?: CredentialProfile | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,84 @@
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.instanceOfCredentialProfile = instanceOfCredentialProfile;
17
+ exports.CredentialProfileFromJSON = CredentialProfileFromJSON;
18
+ exports.CredentialProfileFromJSONTyped = CredentialProfileFromJSONTyped;
19
+ exports.CredentialProfileToJSON = CredentialProfileToJSON;
20
+ exports.CredentialProfileToJSONTyped = CredentialProfileToJSONTyped;
21
+ const CredentialId_1 = require("./CredentialId");
22
+ const CredentialProfileOwner_1 = require("./CredentialProfileOwner");
23
+ /**
24
+ * Check if a given object implements the CredentialProfile interface.
25
+ */
26
+ function instanceOfCredentialProfile(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ if (!('isDefault' in value) || value['isDefault'] === undefined)
32
+ return false;
33
+ if (!('owner' in value) || value['owner'] === undefined)
34
+ return false;
35
+ if (!('canManage' in value) || value['canManage'] === undefined)
36
+ return false;
37
+ if (!('connected' in value) || value['connected'] === undefined)
38
+ return false;
39
+ if (!('customApis' in value) || value['customApis'] === undefined)
40
+ return false;
41
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
42
+ return false;
43
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ function CredentialProfileFromJSON(json) {
48
+ return CredentialProfileFromJSONTyped(json, false);
49
+ }
50
+ function CredentialProfileFromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'id': json['id'],
56
+ 'name': json['name'],
57
+ 'isDefault': json['isDefault'],
58
+ 'owner': (0, CredentialProfileOwner_1.CredentialProfileOwnerFromJSON)(json['owner']),
59
+ 'canManage': json['canManage'],
60
+ 'connected': (json['connected'].map(CredentialId_1.CredentialIdFromJSON)),
61
+ 'customApis': json['customApis'],
62
+ 'createdAt': (new Date(json['createdAt'])),
63
+ 'updatedAt': (new Date(json['updatedAt'])),
64
+ };
65
+ }
66
+ function CredentialProfileToJSON(json) {
67
+ return CredentialProfileToJSONTyped(json, false);
68
+ }
69
+ function CredentialProfileToJSONTyped(value, ignoreDiscriminator = false) {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'id': value['id'],
75
+ 'name': value['name'],
76
+ 'isDefault': value['isDefault'],
77
+ 'owner': (0, CredentialProfileOwner_1.CredentialProfileOwnerToJSON)(value['owner']),
78
+ 'canManage': value['canManage'],
79
+ 'connected': (value['connected'].map(CredentialId_1.CredentialIdToJSON)),
80
+ 'customApis': value['customApis'],
81
+ 'createdAt': value['createdAt'].toISOString(),
82
+ 'updatedAt': value['updatedAt'].toISOString(),
83
+ };
84
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Boat Public API v1
3
+ * Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CredentialProfileDeletedResponse
16
+ */
17
+ export interface CredentialProfileDeletedResponse {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof CredentialProfileDeletedResponse
22
+ */
23
+ ok: boolean;
24
+ /**
25
+ * Stable success envelope discriminator added by v1.
26
+ * @type {string}
27
+ * @memberof CredentialProfileDeletedResponse
28
+ */
29
+ type: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof CredentialProfileDeletedResponse
34
+ */
35
+ success: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the CredentialProfileDeletedResponse interface.
39
+ */
40
+ export declare function instanceOfCredentialProfileDeletedResponse(value: object): value is CredentialProfileDeletedResponse;
41
+ export declare function CredentialProfileDeletedResponseFromJSON(json: any): CredentialProfileDeletedResponse;
42
+ export declare function CredentialProfileDeletedResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialProfileDeletedResponse;
43
+ export declare function CredentialProfileDeletedResponseToJSON(json: any): CredentialProfileDeletedResponse;
44
+ export declare function CredentialProfileDeletedResponseToJSONTyped(value?: CredentialProfileDeletedResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.instanceOfCredentialProfileDeletedResponse = instanceOfCredentialProfileDeletedResponse;
17
+ exports.CredentialProfileDeletedResponseFromJSON = CredentialProfileDeletedResponseFromJSON;
18
+ exports.CredentialProfileDeletedResponseFromJSONTyped = CredentialProfileDeletedResponseFromJSONTyped;
19
+ exports.CredentialProfileDeletedResponseToJSON = CredentialProfileDeletedResponseToJSON;
20
+ exports.CredentialProfileDeletedResponseToJSONTyped = CredentialProfileDeletedResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CredentialProfileDeletedResponse interface.
23
+ */
24
+ function instanceOfCredentialProfileDeletedResponse(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 (!('success' in value) || value['success'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function CredentialProfileDeletedResponseFromJSON(json) {
34
+ return CredentialProfileDeletedResponseFromJSONTyped(json, false);
35
+ }
36
+ function CredentialProfileDeletedResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'ok': json['ok'],
42
+ 'type': json['type'],
43
+ 'success': json['success'],
44
+ };
45
+ }
46
+ function CredentialProfileDeletedResponseToJSON(json) {
47
+ return CredentialProfileDeletedResponseToJSONTyped(json, false);
48
+ }
49
+ function CredentialProfileDeletedResponseToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'ok': value['ok'],
55
+ 'type': value['type'],
56
+ 'success': value['success'],
57
+ };
58
+ }
@@ -0,0 +1,45 @@
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 { CredentialProfile } from './CredentialProfile';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CredentialProfileListResponse
17
+ */
18
+ export interface CredentialProfileListResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof CredentialProfileListResponse
23
+ */
24
+ ok: boolean;
25
+ /**
26
+ * Stable success envelope discriminator added by v1.
27
+ * @type {string}
28
+ * @memberof CredentialProfileListResponse
29
+ */
30
+ type: string;
31
+ /**
32
+ *
33
+ * @type {Array<CredentialProfile>}
34
+ * @memberof CredentialProfileListResponse
35
+ */
36
+ profiles: Array<CredentialProfile>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the CredentialProfileListResponse interface.
40
+ */
41
+ export declare function instanceOfCredentialProfileListResponse(value: object): value is CredentialProfileListResponse;
42
+ export declare function CredentialProfileListResponseFromJSON(json: any): CredentialProfileListResponse;
43
+ export declare function CredentialProfileListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialProfileListResponse;
44
+ export declare function CredentialProfileListResponseToJSON(json: any): CredentialProfileListResponse;
45
+ export declare function CredentialProfileListResponseToJSONTyped(value?: CredentialProfileListResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfCredentialProfileListResponse = instanceOfCredentialProfileListResponse;
17
+ exports.CredentialProfileListResponseFromJSON = CredentialProfileListResponseFromJSON;
18
+ exports.CredentialProfileListResponseFromJSONTyped = CredentialProfileListResponseFromJSONTyped;
19
+ exports.CredentialProfileListResponseToJSON = CredentialProfileListResponseToJSON;
20
+ exports.CredentialProfileListResponseToJSONTyped = CredentialProfileListResponseToJSONTyped;
21
+ const CredentialProfile_1 = require("./CredentialProfile");
22
+ /**
23
+ * Check if a given object implements the CredentialProfileListResponse interface.
24
+ */
25
+ function instanceOfCredentialProfileListResponse(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 (!('profiles' in value) || value['profiles'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function CredentialProfileListResponseFromJSON(json) {
35
+ return CredentialProfileListResponseFromJSONTyped(json, false);
36
+ }
37
+ function CredentialProfileListResponseFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'ok': json['ok'],
43
+ 'type': json['type'],
44
+ 'profiles': (json['profiles'].map(CredentialProfile_1.CredentialProfileFromJSON)),
45
+ };
46
+ }
47
+ function CredentialProfileListResponseToJSON(json) {
48
+ return CredentialProfileListResponseToJSONTyped(json, false);
49
+ }
50
+ function CredentialProfileListResponseToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'ok': value['ok'],
56
+ 'type': value['type'],
57
+ 'profiles': (value['profiles'].map(CredentialProfile_1.CredentialProfileToJSON)),
58
+ };
59
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Boat Public API v1
3
+ * Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CredentialProfileOwner
16
+ */
17
+ export interface CredentialProfileOwner {
18
+ /**
19
+ * The account that owns the profile, a person or an organization.
20
+ * @type {string}
21
+ * @memberof CredentialProfileOwner
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {CredentialProfileOwnerKindEnum}
27
+ * @memberof CredentialProfileOwner
28
+ */
29
+ kind: CredentialProfileOwnerKindEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CredentialProfileOwner
34
+ */
35
+ name: string;
36
+ /**
37
+ * True when the owner has the AI credentials proxy on.
38
+ * @type {boolean}
39
+ * @memberof CredentialProfileOwner
40
+ */
41
+ aiProxyEnabled: boolean;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const CredentialProfileOwnerKindEnum: {
47
+ readonly Personal: 'personal';
48
+ readonly Org: 'org';
49
+ };
50
+ export type CredentialProfileOwnerKindEnum = typeof CredentialProfileOwnerKindEnum[keyof typeof CredentialProfileOwnerKindEnum];
51
+ /**
52
+ * Check if a given object implements the CredentialProfileOwner interface.
53
+ */
54
+ export declare function instanceOfCredentialProfileOwner(value: object): value is CredentialProfileOwner;
55
+ export declare function CredentialProfileOwnerFromJSON(json: any): CredentialProfileOwner;
56
+ export declare function CredentialProfileOwnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialProfileOwner;
57
+ export declare function CredentialProfileOwnerToJSON(json: any): CredentialProfileOwner;
58
+ export declare function CredentialProfileOwnerToJSONTyped(value?: CredentialProfileOwner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
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.CredentialProfileOwnerKindEnum = void 0;
17
+ exports.instanceOfCredentialProfileOwner = instanceOfCredentialProfileOwner;
18
+ exports.CredentialProfileOwnerFromJSON = CredentialProfileOwnerFromJSON;
19
+ exports.CredentialProfileOwnerFromJSONTyped = CredentialProfileOwnerFromJSONTyped;
20
+ exports.CredentialProfileOwnerToJSON = CredentialProfileOwnerToJSON;
21
+ exports.CredentialProfileOwnerToJSONTyped = CredentialProfileOwnerToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.CredentialProfileOwnerKindEnum = {
26
+ Personal: 'personal',
27
+ Org: 'org'
28
+ };
29
+ /**
30
+ * Check if a given object implements the CredentialProfileOwner interface.
31
+ */
32
+ function instanceOfCredentialProfileOwner(value) {
33
+ if (!('id' in value) || value['id'] === undefined)
34
+ return false;
35
+ if (!('kind' in value) || value['kind'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('aiProxyEnabled' in value) || value['aiProxyEnabled'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function CredentialProfileOwnerFromJSON(json) {
44
+ return CredentialProfileOwnerFromJSONTyped(json, false);
45
+ }
46
+ function CredentialProfileOwnerFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'kind': json['kind'],
53
+ 'name': json['name'],
54
+ 'aiProxyEnabled': json['aiProxyEnabled'],
55
+ };
56
+ }
57
+ function CredentialProfileOwnerToJSON(json) {
58
+ return CredentialProfileOwnerToJSONTyped(json, false);
59
+ }
60
+ function CredentialProfileOwnerToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'kind': value['kind'],
67
+ 'name': value['name'],
68
+ 'aiProxyEnabled': value['aiProxyEnabled'],
69
+ };
70
+ }
@@ -0,0 +1,51 @@
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 { CredentialProfile } from './CredentialProfile';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CredentialProfileResponse
17
+ */
18
+ export interface CredentialProfileResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof CredentialProfileResponse
23
+ */
24
+ ok: boolean;
25
+ /**
26
+ * Stable success envelope discriminator added by v1.
27
+ * @type {string}
28
+ * @memberof CredentialProfileResponse
29
+ */
30
+ type: string;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof CredentialProfileResponse
35
+ */
36
+ success: boolean;
37
+ /**
38
+ *
39
+ * @type {CredentialProfile}
40
+ * @memberof CredentialProfileResponse
41
+ */
42
+ profile: CredentialProfile;
43
+ }
44
+ /**
45
+ * Check if a given object implements the CredentialProfileResponse interface.
46
+ */
47
+ export declare function instanceOfCredentialProfileResponse(value: object): value is CredentialProfileResponse;
48
+ export declare function CredentialProfileResponseFromJSON(json: any): CredentialProfileResponse;
49
+ export declare function CredentialProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialProfileResponse;
50
+ export declare function CredentialProfileResponseToJSON(json: any): CredentialProfileResponse;
51
+ export declare function CredentialProfileResponseToJSONTyped(value?: CredentialProfileResponse | null, ignoreDiscriminator?: boolean): any;