@boatdev/sdk 1.9.5 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +44 -0
- package/dist/apis/BoatApi.d.ts +339 -3
- package/dist/apis/BoatApi.js +865 -15
- package/dist/esm/apis/BoatApi.d.ts +339 -3
- package/dist/esm/apis/BoatApi.js +865 -15
- package/dist/esm/models/AccountAiUsageResponse.d.ts +83 -0
- package/dist/esm/models/AccountAiUsageResponse.js +78 -0
- package/dist/esm/models/AiProxySettings.d.ts +81 -0
- package/dist/esm/models/AiProxySettings.js +76 -0
- package/dist/esm/models/AiProxySettingsAllOfPricing.d.ts +38 -0
- package/dist/esm/models/AiProxySettingsAllOfPricing.js +47 -0
- package/dist/esm/models/AiUsageRow.d.ts +80 -0
- package/dist/esm/models/AiUsageRow.js +75 -0
- package/dist/esm/models/AiUsageTotals.d.ts +62 -0
- package/dist/esm/models/AiUsageTotals.js +63 -0
- package/dist/esm/models/CreateCredentialProfileRequest.d.ts +44 -0
- package/dist/esm/models/CreateCredentialProfileRequest.js +47 -0
- package/dist/esm/models/CredentialAccount.d.ts +50 -0
- package/dist/esm/models/CredentialAccount.js +53 -0
- package/dist/esm/models/CredentialAccountsResponse.d.ts +64 -0
- package/dist/esm/models/CredentialAccountsResponse.js +65 -0
- package/dist/esm/models/CredentialId.d.ts +36 -0
- package/dist/esm/models/CredentialId.js +54 -0
- package/dist/esm/models/CredentialProfile.d.ts +91 -0
- package/dist/esm/models/CredentialProfile.js +79 -0
- package/dist/esm/models/CredentialProfileDeletedResponse.d.ts +44 -0
- package/dist/esm/models/CredentialProfileDeletedResponse.js +51 -0
- package/dist/esm/models/CredentialProfileListResponse.d.ts +45 -0
- package/dist/esm/models/CredentialProfileListResponse.js +52 -0
- package/dist/esm/models/CredentialProfileOwner.d.ts +58 -0
- package/dist/esm/models/CredentialProfileOwner.js +62 -0
- package/dist/esm/models/CredentialProfileResponse.d.ts +51 -0
- package/dist/esm/models/CredentialProfileResponse.js +56 -0
- package/dist/esm/models/ProcessListResponse.d.ts +1 -1
- package/dist/esm/models/SandboxAiAccessResponse.d.ts +56 -0
- package/dist/esm/models/SandboxAiAccessResponse.js +59 -0
- package/dist/esm/models/SandboxAiUsage.d.ts +64 -0
- package/dist/esm/models/SandboxAiUsage.js +65 -0
- package/dist/esm/models/SandboxAiUsageResponse.d.ts +88 -0
- package/dist/esm/models/SandboxAiUsageResponse.js +81 -0
- package/dist/esm/models/SandboxEnvironment.d.ts +13 -1
- package/dist/esm/models/SandboxEnvironment.js +4 -0
- package/dist/esm/models/SetCredentialKeyRequest.d.ts +38 -0
- package/dist/esm/models/SetCredentialKeyRequest.js +45 -0
- package/dist/esm/models/SetCustomApiRequest.d.ts +38 -0
- package/dist/esm/models/SetCustomApiRequest.js +47 -0
- package/dist/esm/models/SetSandboxAiAccessRequest.d.ts +32 -0
- package/dist/esm/models/SetSandboxAiAccessRequest.js +43 -0
- package/dist/esm/models/UpdateAiProxyRequest.d.ts +32 -0
- package/dist/esm/models/UpdateAiProxyRequest.js +43 -0
- package/dist/esm/models/UpdateCredentialProfileRequest.d.ts +38 -0
- package/dist/esm/models/UpdateCredentialProfileRequest.js +43 -0
- package/dist/esm/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
- package/dist/esm/models/UpdateSandboxEnvironmentRequest.js +4 -0
- package/dist/esm/models/index.d.ts +22 -0
- package/dist/esm/models/index.js +22 -0
- package/dist/models/AccountAiUsageResponse.d.ts +83 -0
- package/dist/models/AccountAiUsageResponse.js +85 -0
- package/dist/models/AiProxySettings.d.ts +81 -0
- package/dist/models/AiProxySettings.js +83 -0
- package/dist/models/AiProxySettingsAllOfPricing.d.ts +38 -0
- package/dist/models/AiProxySettingsAllOfPricing.js +54 -0
- package/dist/models/AiUsageRow.d.ts +80 -0
- package/dist/models/AiUsageRow.js +82 -0
- package/dist/models/AiUsageTotals.d.ts +62 -0
- package/dist/models/AiUsageTotals.js +70 -0
- package/dist/models/CreateCredentialProfileRequest.d.ts +44 -0
- package/dist/models/CreateCredentialProfileRequest.js +54 -0
- package/dist/models/CredentialAccount.d.ts +50 -0
- package/dist/models/CredentialAccount.js +60 -0
- package/dist/models/CredentialAccountsResponse.d.ts +64 -0
- package/dist/models/CredentialAccountsResponse.js +72 -0
- package/dist/models/CredentialId.d.ts +36 -0
- package/dist/models/CredentialId.js +62 -0
- package/dist/models/CredentialProfile.d.ts +91 -0
- package/dist/models/CredentialProfile.js +86 -0
- package/dist/models/CredentialProfileDeletedResponse.d.ts +44 -0
- package/dist/models/CredentialProfileDeletedResponse.js +58 -0
- package/dist/models/CredentialProfileListResponse.d.ts +45 -0
- package/dist/models/CredentialProfileListResponse.js +59 -0
- package/dist/models/CredentialProfileOwner.d.ts +58 -0
- package/dist/models/CredentialProfileOwner.js +70 -0
- package/dist/models/CredentialProfileResponse.d.ts +51 -0
- package/dist/models/CredentialProfileResponse.js +63 -0
- package/dist/models/ProcessListResponse.d.ts +1 -1
- package/dist/models/SandboxAiAccessResponse.d.ts +56 -0
- package/dist/models/SandboxAiAccessResponse.js +66 -0
- package/dist/models/SandboxAiUsage.d.ts +64 -0
- package/dist/models/SandboxAiUsage.js +72 -0
- package/dist/models/SandboxAiUsageResponse.d.ts +88 -0
- package/dist/models/SandboxAiUsageResponse.js +88 -0
- package/dist/models/SandboxEnvironment.d.ts +13 -1
- package/dist/models/SandboxEnvironment.js +4 -0
- package/dist/models/SetCredentialKeyRequest.d.ts +38 -0
- package/dist/models/SetCredentialKeyRequest.js +52 -0
- package/dist/models/SetCustomApiRequest.d.ts +38 -0
- package/dist/models/SetCustomApiRequest.js +54 -0
- package/dist/models/SetSandboxAiAccessRequest.d.ts +32 -0
- package/dist/models/SetSandboxAiAccessRequest.js +50 -0
- package/dist/models/UpdateAiProxyRequest.d.ts +32 -0
- package/dist/models/UpdateAiProxyRequest.js +50 -0
- package/dist/models/UpdateCredentialProfileRequest.d.ts +38 -0
- package/dist/models/UpdateCredentialProfileRequest.js +50 -0
- package/dist/models/UpdateSandboxEnvironmentRequest.d.ts +12 -0
- package/dist/models/UpdateSandboxEnvironmentRequest.js +4 -0
- package/dist/models/index.d.ts +22 -0
- package/dist/models/index.js +22 -0
- package/docs/AccountAiUsageResponse.md +48 -0
- package/docs/AiProxySettings.md +48 -0
- package/docs/AiProxySettingsAllOfPricing.md +34 -0
- package/docs/AiUsageRow.md +48 -0
- package/docs/AiUsageTotals.md +43 -0
- package/docs/BoatApi.md +1588 -212
- package/docs/CreateCredentialProfileRequest.md +36 -0
- package/docs/CredentialAccount.md +39 -0
- package/docs/CredentialAccountsResponse.md +42 -0
- package/docs/CredentialId.md +31 -0
- package/docs/CredentialProfile.md +51 -0
- package/docs/CredentialProfileDeletedResponse.md +36 -0
- package/docs/CredentialProfileListResponse.md +36 -0
- package/docs/CredentialProfileOwner.md +38 -0
- package/docs/CredentialProfileResponse.md +38 -0
- package/docs/SandboxAiAccessResponse.md +40 -0
- package/docs/SandboxAiUsage.md +42 -0
- package/docs/SandboxAiUsageResponse.md +50 -0
- package/docs/SandboxEnvironment.md +4 -0
- package/docs/SetCredentialKeyRequest.md +34 -0
- package/docs/SetCustomApiRequest.md +34 -0
- package/docs/SetSandboxAiAccessRequest.md +32 -0
- package/docs/UpdateAiProxyRequest.md +32 -0
- package/docs/UpdateCredentialProfileRequest.md +34 -0
- package/docs/UpdateSandboxEnvironmentRequest.md +4 -0
- package/package.json +1 -1
- package/src/apis/BoatApi.ts +1440 -133
- package/src/models/AccountAiUsageResponse.ts +160 -0
- package/src/models/AiProxySettings.ts +146 -0
- package/src/models/AiProxySettingsAllOfPricing.ts +75 -0
- package/src/models/AiUsageRow.ts +138 -0
- package/src/models/AiUsageTotals.ts +111 -0
- package/src/models/CreateCredentialProfileRequest.ts +82 -0
- package/src/models/CredentialAccount.ts +92 -0
- package/src/models/CredentialAccountsResponse.ts +128 -0
- package/src/models/CredentialId.ts +64 -0
- package/src/models/CredentialProfile.ts +168 -0
- package/src/models/CredentialProfileDeletedResponse.ts +84 -0
- package/src/models/CredentialProfileListResponse.ts +92 -0
- package/src/models/CredentialProfileOwner.ts +104 -0
- package/src/models/CredentialProfileResponse.ts +101 -0
- package/src/models/ProcessListResponse.ts +1 -1
- package/src/models/SandboxAiAccessResponse.ts +102 -0
- package/src/models/SandboxAiUsage.ts +126 -0
- package/src/models/SandboxAiUsageResponse.ts +162 -0
- package/src/models/SandboxEnvironment.ts +17 -1
- package/src/models/SetCredentialKeyRequest.ts +74 -0
- package/src/models/SetCustomApiRequest.ts +75 -0
- package/src/models/SetSandboxAiAccessRequest.ts +66 -0
- package/src/models/UpdateAiProxyRequest.ts +66 -0
- package/src/models/UpdateCredentialProfileRequest.ts +73 -0
- package/src/models/UpdateSandboxEnvironmentRequest.ts +16 -0
- package/src/models/index.ts +22 -0
|
@@ -0,0 +1,82 @@
|
|
|
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.instanceOfAiUsageRow = instanceOfAiUsageRow;
|
|
17
|
+
exports.AiUsageRowFromJSON = AiUsageRowFromJSON;
|
|
18
|
+
exports.AiUsageRowFromJSONTyped = AiUsageRowFromJSONTyped;
|
|
19
|
+
exports.AiUsageRowToJSON = AiUsageRowToJSON;
|
|
20
|
+
exports.AiUsageRowToJSONTyped = AiUsageRowToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AiUsageRow interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAiUsageRow(value) {
|
|
25
|
+
if (!('requests' in value) || value['requests'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('errors' in value) || value['errors'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('inputTokens' in value) || value['inputTokens'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('outputTokens' in value) || value['outputTokens'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('cacheReadTokens' in value) || value['cacheReadTokens'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('cacheWriteTokens' in value) || value['cacheWriteTokens'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('day' in value) || value['day'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('credential' in value) || value['credential'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('model' in value) || value['model'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function AiUsageRowFromJSON(json) {
|
|
46
|
+
return AiUsageRowFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AiUsageRowFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'requests': json['requests'],
|
|
54
|
+
'errors': json['errors'],
|
|
55
|
+
'inputTokens': json['inputTokens'],
|
|
56
|
+
'outputTokens': json['outputTokens'],
|
|
57
|
+
'cacheReadTokens': json['cacheReadTokens'],
|
|
58
|
+
'cacheWriteTokens': json['cacheWriteTokens'],
|
|
59
|
+
'day': (new Date(json['day'])),
|
|
60
|
+
'credential': json['credential'],
|
|
61
|
+
'model': json['model'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function AiUsageRowToJSON(json) {
|
|
65
|
+
return AiUsageRowToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function AiUsageRowToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'requests': value['requests'],
|
|
73
|
+
'errors': value['errors'],
|
|
74
|
+
'inputTokens': value['inputTokens'],
|
|
75
|
+
'outputTokens': value['outputTokens'],
|
|
76
|
+
'cacheReadTokens': value['cacheReadTokens'],
|
|
77
|
+
'cacheWriteTokens': value['cacheWriteTokens'],
|
|
78
|
+
'day': value['day'].toISOString().substring(0, 10),
|
|
79
|
+
'credential': value['credential'],
|
|
80
|
+
'model': value['model'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
* Token counts are the numbers the provider reports in its replies.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AiUsageTotals
|
|
16
|
+
*/
|
|
17
|
+
export interface AiUsageTotals {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AiUsageTotals
|
|
22
|
+
*/
|
|
23
|
+
requests: number;
|
|
24
|
+
/**
|
|
25
|
+
* Requests the provider answered with an HTTP error, or did not answer.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AiUsageTotals
|
|
28
|
+
*/
|
|
29
|
+
errors: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiUsageTotals
|
|
34
|
+
*/
|
|
35
|
+
inputTokens: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AiUsageTotals
|
|
40
|
+
*/
|
|
41
|
+
outputTokens: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AiUsageTotals
|
|
46
|
+
*/
|
|
47
|
+
cacheReadTokens: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof AiUsageTotals
|
|
52
|
+
*/
|
|
53
|
+
cacheWriteTokens: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the AiUsageTotals interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfAiUsageTotals(value: object): value is AiUsageTotals;
|
|
59
|
+
export declare function AiUsageTotalsFromJSON(json: any): AiUsageTotals;
|
|
60
|
+
export declare function AiUsageTotalsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiUsageTotals;
|
|
61
|
+
export declare function AiUsageTotalsToJSON(json: any): AiUsageTotals;
|
|
62
|
+
export declare function AiUsageTotalsToJSONTyped(value?: AiUsageTotals | 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.instanceOfAiUsageTotals = instanceOfAiUsageTotals;
|
|
17
|
+
exports.AiUsageTotalsFromJSON = AiUsageTotalsFromJSON;
|
|
18
|
+
exports.AiUsageTotalsFromJSONTyped = AiUsageTotalsFromJSONTyped;
|
|
19
|
+
exports.AiUsageTotalsToJSON = AiUsageTotalsToJSON;
|
|
20
|
+
exports.AiUsageTotalsToJSONTyped = AiUsageTotalsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AiUsageTotals interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAiUsageTotals(value) {
|
|
25
|
+
if (!('requests' in value) || value['requests'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('errors' in value) || value['errors'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('inputTokens' in value) || value['inputTokens'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('outputTokens' in value) || value['outputTokens'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('cacheReadTokens' in value) || value['cacheReadTokens'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('cacheWriteTokens' in value) || value['cacheWriteTokens'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AiUsageTotalsFromJSON(json) {
|
|
40
|
+
return AiUsageTotalsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AiUsageTotalsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'requests': json['requests'],
|
|
48
|
+
'errors': json['errors'],
|
|
49
|
+
'inputTokens': json['inputTokens'],
|
|
50
|
+
'outputTokens': json['outputTokens'],
|
|
51
|
+
'cacheReadTokens': json['cacheReadTokens'],
|
|
52
|
+
'cacheWriteTokens': json['cacheWriteTokens'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function AiUsageTotalsToJSON(json) {
|
|
56
|
+
return AiUsageTotalsToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AiUsageTotalsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'requests': value['requests'],
|
|
64
|
+
'errors': value['errors'],
|
|
65
|
+
'inputTokens': value['inputTokens'],
|
|
66
|
+
'outputTokens': value['outputTokens'],
|
|
67
|
+
'cacheReadTokens': value['cacheReadTokens'],
|
|
68
|
+
'cacheWriteTokens': value['cacheWriteTokens'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -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 CreateCredentialProfileRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCredentialProfileRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Unique among the owner's profiles.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCredentialProfileRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Organization id or name. The profile then belongs to that organization. Omit for a personal profile.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCredentialProfileRequest
|
|
28
|
+
*/
|
|
29
|
+
org?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Id or name of a profile you manage. The new profile starts with a copy of its credentials.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCredentialProfileRequest
|
|
34
|
+
*/
|
|
35
|
+
copyFrom?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CreateCredentialProfileRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCreateCredentialProfileRequest(value: object): value is CreateCredentialProfileRequest;
|
|
41
|
+
export declare function CreateCredentialProfileRequestFromJSON(json: any): CreateCredentialProfileRequest;
|
|
42
|
+
export declare function CreateCredentialProfileRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCredentialProfileRequest;
|
|
43
|
+
export declare function CreateCredentialProfileRequestToJSON(json: any): CreateCredentialProfileRequest;
|
|
44
|
+
export declare function CreateCredentialProfileRequestToJSONTyped(value?: CreateCredentialProfileRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Boat Public API v1
|
|
6
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCreateCredentialProfileRequest = instanceOfCreateCredentialProfileRequest;
|
|
17
|
+
exports.CreateCredentialProfileRequestFromJSON = CreateCredentialProfileRequestFromJSON;
|
|
18
|
+
exports.CreateCredentialProfileRequestFromJSONTyped = CreateCredentialProfileRequestFromJSONTyped;
|
|
19
|
+
exports.CreateCredentialProfileRequestToJSON = CreateCredentialProfileRequestToJSON;
|
|
20
|
+
exports.CreateCredentialProfileRequestToJSONTyped = CreateCredentialProfileRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateCredentialProfileRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateCredentialProfileRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateCredentialProfileRequestFromJSON(json) {
|
|
30
|
+
return CreateCredentialProfileRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateCredentialProfileRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'org': json['org'] == null ? undefined : json['org'],
|
|
39
|
+
'copyFrom': json['copyFrom'] == null ? undefined : json['copyFrom'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function CreateCredentialProfileRequestToJSON(json) {
|
|
43
|
+
return CreateCredentialProfileRequestToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function CreateCredentialProfileRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'name': value['name'],
|
|
51
|
+
'org': value['org'],
|
|
52
|
+
'copyFrom': value['copyFrom'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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
|
+
* One account of a credential. Never a secret.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CredentialAccount
|
|
16
|
+
*/
|
|
17
|
+
export interface CredentialAccount {
|
|
18
|
+
/**
|
|
19
|
+
* The account's id. It stays the same across switches.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CredentialAccount
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The account's email for a sign-in, or the key's last characters (…1234).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CredentialAccount
|
|
28
|
+
*/
|
|
29
|
+
label: string;
|
|
30
|
+
/**
|
|
31
|
+
* True for the account every sandbox on the profile uses.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof CredentialAccount
|
|
34
|
+
*/
|
|
35
|
+
active: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* When the account was set aside (accounts not in use).
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof CredentialAccount
|
|
40
|
+
*/
|
|
41
|
+
addedAt?: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CredentialAccount interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfCredentialAccount(value: object): value is CredentialAccount;
|
|
47
|
+
export declare function CredentialAccountFromJSON(json: any): CredentialAccount;
|
|
48
|
+
export declare function CredentialAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialAccount;
|
|
49
|
+
export declare function CredentialAccountToJSON(json: any): CredentialAccount;
|
|
50
|
+
export declare function CredentialAccountToJSONTyped(value?: CredentialAccount | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfCredentialAccount = instanceOfCredentialAccount;
|
|
17
|
+
exports.CredentialAccountFromJSON = CredentialAccountFromJSON;
|
|
18
|
+
exports.CredentialAccountFromJSONTyped = CredentialAccountFromJSONTyped;
|
|
19
|
+
exports.CredentialAccountToJSON = CredentialAccountToJSON;
|
|
20
|
+
exports.CredentialAccountToJSONTyped = CredentialAccountToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CredentialAccount interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCredentialAccount(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CredentialAccountFromJSON(json) {
|
|
34
|
+
return CredentialAccountFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CredentialAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'label': json['label'],
|
|
43
|
+
'active': json['active'],
|
|
44
|
+
'addedAt': json['addedAt'] == null ? undefined : (new Date(json['addedAt'])),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function CredentialAccountToJSON(json) {
|
|
48
|
+
return CredentialAccountToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function CredentialAccountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'label': value['label'],
|
|
57
|
+
'active': value['active'],
|
|
58
|
+
'addedAt': value['addedAt'] == null ? value['addedAt'] : value['addedAt'].toISOString(),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { CredentialAccount } from './CredentialAccount';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CredentialAccountsResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface CredentialAccountsResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof CredentialAccountsResponse
|
|
24
|
+
*/
|
|
25
|
+
ok: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Stable success envelope discriminator added by v1.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CredentialAccountsResponse
|
|
30
|
+
*/
|
|
31
|
+
type: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof CredentialAccountsResponse
|
|
36
|
+
*/
|
|
37
|
+
success: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CredentialAccountsResponse
|
|
42
|
+
*/
|
|
43
|
+
profileId: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {CredentialId}
|
|
47
|
+
* @memberof CredentialAccountsResponse
|
|
48
|
+
*/
|
|
49
|
+
credential: CredentialId;
|
|
50
|
+
/**
|
|
51
|
+
* In the order the accounts were added, so their numbers stay the same across switches. The one in use is marked `active`.
|
|
52
|
+
* @type {Array<CredentialAccount>}
|
|
53
|
+
* @memberof CredentialAccountsResponse
|
|
54
|
+
*/
|
|
55
|
+
accounts: Array<CredentialAccount>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the CredentialAccountsResponse interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfCredentialAccountsResponse(value: object): value is CredentialAccountsResponse;
|
|
61
|
+
export declare function CredentialAccountsResponseFromJSON(json: any): CredentialAccountsResponse;
|
|
62
|
+
export declare function CredentialAccountsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialAccountsResponse;
|
|
63
|
+
export declare function CredentialAccountsResponseToJSON(json: any): CredentialAccountsResponse;
|
|
64
|
+
export declare function CredentialAccountsResponseToJSONTyped(value?: CredentialAccountsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.instanceOfCredentialAccountsResponse = instanceOfCredentialAccountsResponse;
|
|
17
|
+
exports.CredentialAccountsResponseFromJSON = CredentialAccountsResponseFromJSON;
|
|
18
|
+
exports.CredentialAccountsResponseFromJSONTyped = CredentialAccountsResponseFromJSONTyped;
|
|
19
|
+
exports.CredentialAccountsResponseToJSON = CredentialAccountsResponseToJSON;
|
|
20
|
+
exports.CredentialAccountsResponseToJSONTyped = CredentialAccountsResponseToJSONTyped;
|
|
21
|
+
const CredentialId_1 = require("./CredentialId");
|
|
22
|
+
const CredentialAccount_1 = require("./CredentialAccount");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CredentialAccountsResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfCredentialAccountsResponse(value) {
|
|
27
|
+
if (!('ok' in value) || value['ok'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('profileId' in value) || value['profileId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('credential' in value) || value['credential'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('accounts' in value) || value['accounts'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function CredentialAccountsResponseFromJSON(json) {
|
|
42
|
+
return CredentialAccountsResponseFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CredentialAccountsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'ok': json['ok'],
|
|
50
|
+
'type': json['type'],
|
|
51
|
+
'success': json['success'],
|
|
52
|
+
'profileId': json['profileId'],
|
|
53
|
+
'credential': (0, CredentialId_1.CredentialIdFromJSON)(json['credential']),
|
|
54
|
+
'accounts': (json['accounts'].map(CredentialAccount_1.CredentialAccountFromJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function CredentialAccountsResponseToJSON(json) {
|
|
58
|
+
return CredentialAccountsResponseToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function CredentialAccountsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'ok': value['ok'],
|
|
66
|
+
'type': value['type'],
|
|
67
|
+
'success': value['success'],
|
|
68
|
+
'profileId': value['profileId'],
|
|
69
|
+
'credential': (0, CredentialId_1.CredentialIdToJSON)(value['credential']),
|
|
70
|
+
'accounts': (value['accounts'].map(CredentialAccount_1.CredentialAccountToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -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
|
+
}
|