@barndoor-ai/sdk 2.23.0-dev.g0fb14cd → 2.23.0-dev.g3d310ff
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/dist/apis/RegistryApi.d.ts +61 -0
- package/dist/apis/RegistryApi.js +173 -0
- package/dist/esm/apis/RegistryApi.d.ts +61 -0
- package/dist/esm/apis/RegistryApi.js +173 -0
- package/dist/esm/models/EmbeddedRuntime.d.ts +45 -0
- package/dist/esm/models/EmbeddedRuntime.js +55 -0
- package/dist/esm/models/InstallationCreate.d.ts +60 -0
- package/dist/esm/models/InstallationCreate.js +64 -0
- package/dist/esm/models/InstallationRead.d.ts +75 -0
- package/dist/esm/models/InstallationRead.js +83 -0
- package/dist/esm/models/InstallationUpdate.d.ts +48 -0
- package/dist/esm/models/InstallationUpdate.js +56 -0
- package/dist/esm/models/LocalCliRuntime.d.ts +50 -0
- package/dist/esm/models/LocalCliRuntime.js +60 -0
- package/dist/esm/models/ManagedMcpRuntime.d.ts +50 -0
- package/dist/esm/models/ManagedMcpRuntime.js +60 -0
- package/dist/esm/models/RemoteRuntime.d.ts +37 -0
- package/dist/esm/models/RemoteRuntime.js +47 -0
- package/dist/esm/models/Runtime.d.ts +33 -0
- package/dist/esm/models/Runtime.js +57 -0
- package/dist/esm/models/SignedArtifact.d.ts +45 -0
- package/dist/esm/models/SignedArtifact.js +51 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/models/EmbeddedRuntime.d.ts +45 -0
- package/dist/models/EmbeddedRuntime.js +63 -0
- package/dist/models/InstallationCreate.d.ts +60 -0
- package/dist/models/InstallationCreate.js +72 -0
- package/dist/models/InstallationRead.d.ts +75 -0
- package/dist/models/InstallationRead.js +91 -0
- package/dist/models/InstallationUpdate.d.ts +48 -0
- package/dist/models/InstallationUpdate.js +64 -0
- package/dist/models/LocalCliRuntime.d.ts +50 -0
- package/dist/models/LocalCliRuntime.js +68 -0
- package/dist/models/ManagedMcpRuntime.d.ts +50 -0
- package/dist/models/ManagedMcpRuntime.js +68 -0
- package/dist/models/RemoteRuntime.d.ts +37 -0
- package/dist/models/RemoteRuntime.js +55 -0
- package/dist/models/Runtime.d.ts +33 -0
- package/dist/models/Runtime.js +63 -0
- package/dist/models/SignedArtifact.d.ts +45 -0
- package/dist/models/SignedArtifact.js +58 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Barndoor.ai Public API
|
|
3
|
+
* Unified public API specification for Barndoor.ai platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.23.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 { Runtime } from './Runtime.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InstallationRead
|
|
17
|
+
*/
|
|
18
|
+
export interface InstallationRead {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
catalogId: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
slug: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
_configuration: {
|
|
43
|
+
[key: string]: any | null;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
availability: InstallationReadAvailabilityEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
runtime: Runtime;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
configurationSchema: {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @export
|
|
62
|
+
*/
|
|
63
|
+
export declare const InstallationReadAvailabilityEnum: {
|
|
64
|
+
readonly OptIn: "opt_in";
|
|
65
|
+
readonly Required: "required";
|
|
66
|
+
};
|
|
67
|
+
export type InstallationReadAvailabilityEnum = typeof InstallationReadAvailabilityEnum[keyof typeof InstallationReadAvailabilityEnum];
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the InstallationRead interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfInstallationRead(value: object): value is InstallationRead;
|
|
72
|
+
export declare function InstallationReadFromJSON(json: any): InstallationRead;
|
|
73
|
+
export declare function InstallationReadFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstallationRead;
|
|
74
|
+
export declare function InstallationReadToJSON(json: any): InstallationRead;
|
|
75
|
+
export declare function InstallationReadToJSONTyped(value?: InstallationRead | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Barndoor.ai Public API
|
|
6
|
+
* Unified public API specification for Barndoor.ai platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.23.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.InstallationReadAvailabilityEnum = void 0;
|
|
17
|
+
exports.instanceOfInstallationRead = instanceOfInstallationRead;
|
|
18
|
+
exports.InstallationReadFromJSON = InstallationReadFromJSON;
|
|
19
|
+
exports.InstallationReadFromJSONTyped = InstallationReadFromJSONTyped;
|
|
20
|
+
exports.InstallationReadToJSON = InstallationReadToJSON;
|
|
21
|
+
exports.InstallationReadToJSONTyped = InstallationReadToJSONTyped;
|
|
22
|
+
const Runtime_js_1 = require("./Runtime.js");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.InstallationReadAvailabilityEnum = {
|
|
27
|
+
OptIn: 'opt_in',
|
|
28
|
+
Required: 'required',
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the InstallationRead interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfInstallationRead(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if ((!('catalogId' in value) && !('catalog_id' in value)) || (value['catalogId'] === undefined && value['catalog_id'] === undefined))
|
|
37
|
+
return false;
|
|
38
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if ((!('_configuration' in value) && !('configuration' in value)) || (value['_configuration'] === undefined && value['configuration'] === undefined))
|
|
45
|
+
return false;
|
|
46
|
+
if (!('availability' in value) || value['availability'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('runtime' in value) || value['runtime'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if ((!('configurationSchema' in value) && !('configuration_schema' in value)) || (value['configurationSchema'] === undefined && value['configuration_schema'] === undefined))
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function InstallationReadFromJSON(json) {
|
|
55
|
+
return InstallationReadFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function InstallationReadFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': json['id'],
|
|
63
|
+
'catalogId': json['catalog_id'],
|
|
64
|
+
'slug': json['slug'],
|
|
65
|
+
'name': json['name'],
|
|
66
|
+
'enabled': json['enabled'],
|
|
67
|
+
'_configuration': json['configuration'],
|
|
68
|
+
'availability': json['availability'],
|
|
69
|
+
'runtime': (0, Runtime_js_1.RuntimeFromJSON)(json['runtime']),
|
|
70
|
+
'configurationSchema': json['configuration_schema'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function InstallationReadToJSON(json) {
|
|
74
|
+
return InstallationReadToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function InstallationReadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'id': value['id'],
|
|
82
|
+
'catalog_id': value['catalogId'],
|
|
83
|
+
'slug': value['slug'],
|
|
84
|
+
'name': value['name'],
|
|
85
|
+
'enabled': value['enabled'],
|
|
86
|
+
'configuration': value['_configuration'],
|
|
87
|
+
'availability': value['availability'],
|
|
88
|
+
'runtime': (0, Runtime_js_1.RuntimeToJSON)(value['runtime']),
|
|
89
|
+
'configuration_schema': value['configurationSchema'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Barndoor.ai Public API
|
|
3
|
+
* Unified public API specification for Barndoor.ai platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.23.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 InstallationUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface InstallationUpdate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Values for the catalog entry's `configuration_schema`: a flat object of scalar values, every required key present and no undeclared key. Not for secrets. Replaces the current configuration.
|
|
24
|
+
*/
|
|
25
|
+
_configuration: {
|
|
26
|
+
[key: string]: any | null;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* `opt_in`: only users who connect it get it. `required`: every Barndoor CLI in the organization gets it. Omit to keep the current value.
|
|
30
|
+
*/
|
|
31
|
+
availability?: InstallationUpdateAvailabilityEnum | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export declare const InstallationUpdateAvailabilityEnum: {
|
|
37
|
+
readonly OptIn: "opt_in";
|
|
38
|
+
readonly Required: "required";
|
|
39
|
+
};
|
|
40
|
+
export type InstallationUpdateAvailabilityEnum = typeof InstallationUpdateAvailabilityEnum[keyof typeof InstallationUpdateAvailabilityEnum];
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the InstallationUpdate interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfInstallationUpdate(value: object): value is InstallationUpdate;
|
|
45
|
+
export declare function InstallationUpdateFromJSON(json: any): InstallationUpdate;
|
|
46
|
+
export declare function InstallationUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstallationUpdate;
|
|
47
|
+
export declare function InstallationUpdateToJSON(json: any): InstallationUpdate;
|
|
48
|
+
export declare function InstallationUpdateToJSONTyped(value?: InstallationUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Barndoor.ai Public API
|
|
6
|
+
* Unified public API specification for Barndoor.ai platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.23.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.InstallationUpdateAvailabilityEnum = void 0;
|
|
17
|
+
exports.instanceOfInstallationUpdate = instanceOfInstallationUpdate;
|
|
18
|
+
exports.InstallationUpdateFromJSON = InstallationUpdateFromJSON;
|
|
19
|
+
exports.InstallationUpdateFromJSONTyped = InstallationUpdateFromJSONTyped;
|
|
20
|
+
exports.InstallationUpdateToJSON = InstallationUpdateToJSON;
|
|
21
|
+
exports.InstallationUpdateToJSONTyped = InstallationUpdateToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InstallationUpdateAvailabilityEnum = {
|
|
26
|
+
OptIn: 'opt_in',
|
|
27
|
+
Required: 'required',
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the InstallationUpdate interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfInstallationUpdate(value) {
|
|
33
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if ((!('_configuration' in value) && !('configuration' in value)) || (value['_configuration'] === undefined && value['configuration'] === undefined))
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function InstallationUpdateFromJSON(json) {
|
|
40
|
+
return InstallationUpdateFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function InstallationUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'enabled': json['enabled'],
|
|
48
|
+
'_configuration': json['configuration'],
|
|
49
|
+
'availability': json['availability'] === undefined ? undefined : json['availability'] === null ? null : json['availability'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function InstallationUpdateToJSON(json) {
|
|
53
|
+
return InstallationUpdateToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function InstallationUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'enabled': value['enabled'],
|
|
61
|
+
'configuration': value['_configuration'],
|
|
62
|
+
'availability': value['availability'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Barndoor.ai Public API
|
|
3
|
+
* Unified public API specification for Barndoor.ai platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.23.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 { SignedArtifact } from './SignedArtifact.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LocalCliRuntime
|
|
17
|
+
*/
|
|
18
|
+
export interface LocalCliRuntime {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
kind?: LocalCliRuntimeKindEnum;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
ref: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
minimumCliVersion: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
artifact: SignedArtifact;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export declare const LocalCliRuntimeKindEnum: {
|
|
40
|
+
readonly LocalCli: "local_cli";
|
|
41
|
+
};
|
|
42
|
+
export type LocalCliRuntimeKindEnum = typeof LocalCliRuntimeKindEnum[keyof typeof LocalCliRuntimeKindEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the LocalCliRuntime interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfLocalCliRuntime(value: object): value is LocalCliRuntime;
|
|
47
|
+
export declare function LocalCliRuntimeFromJSON(json: any): LocalCliRuntime;
|
|
48
|
+
export declare function LocalCliRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalCliRuntime;
|
|
49
|
+
export declare function LocalCliRuntimeToJSON(json: any): LocalCliRuntime;
|
|
50
|
+
export declare function LocalCliRuntimeToJSONTyped(value?: LocalCliRuntime | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Barndoor.ai Public API
|
|
6
|
+
* Unified public API specification for Barndoor.ai platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.23.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.LocalCliRuntimeKindEnum = void 0;
|
|
17
|
+
exports.instanceOfLocalCliRuntime = instanceOfLocalCliRuntime;
|
|
18
|
+
exports.LocalCliRuntimeFromJSON = LocalCliRuntimeFromJSON;
|
|
19
|
+
exports.LocalCliRuntimeFromJSONTyped = LocalCliRuntimeFromJSONTyped;
|
|
20
|
+
exports.LocalCliRuntimeToJSON = LocalCliRuntimeToJSON;
|
|
21
|
+
exports.LocalCliRuntimeToJSONTyped = LocalCliRuntimeToJSONTyped;
|
|
22
|
+
const SignedArtifact_js_1 = require("./SignedArtifact.js");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.LocalCliRuntimeKindEnum = {
|
|
27
|
+
LocalCli: 'local_cli',
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the LocalCliRuntime interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfLocalCliRuntime(value) {
|
|
33
|
+
if (!('ref' in value) || value['ref'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if ((!('minimumCliVersion' in value) && !('minimum_cli_version' in value)) || (value['minimumCliVersion'] === undefined && value['minimum_cli_version'] === undefined))
|
|
36
|
+
return false;
|
|
37
|
+
if (!('artifact' in value) || value['artifact'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function LocalCliRuntimeFromJSON(json) {
|
|
42
|
+
return LocalCliRuntimeFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function LocalCliRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
50
|
+
'ref': json['ref'],
|
|
51
|
+
'minimumCliVersion': json['minimum_cli_version'],
|
|
52
|
+
'artifact': (0, SignedArtifact_js_1.SignedArtifactFromJSON)(json['artifact']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function LocalCliRuntimeToJSON(json) {
|
|
56
|
+
return LocalCliRuntimeToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function LocalCliRuntimeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'kind': value['kind'],
|
|
64
|
+
'ref': value['ref'],
|
|
65
|
+
'minimum_cli_version': value['minimumCliVersion'],
|
|
66
|
+
'artifact': (0, SignedArtifact_js_1.SignedArtifactToJSON)(value['artifact']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Barndoor.ai Public API
|
|
3
|
+
* Unified public API specification for Barndoor.ai platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.23.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 { SignedArtifact } from './SignedArtifact.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ManagedMcpRuntime
|
|
17
|
+
*/
|
|
18
|
+
export interface ManagedMcpRuntime {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
kind?: ManagedMcpRuntimeKindEnum;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
ref: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
minimumCliVersion: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
artifact: SignedArtifact;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export declare const ManagedMcpRuntimeKindEnum: {
|
|
40
|
+
readonly ManagedLocalMcp: "managed_local_mcp";
|
|
41
|
+
};
|
|
42
|
+
export type ManagedMcpRuntimeKindEnum = typeof ManagedMcpRuntimeKindEnum[keyof typeof ManagedMcpRuntimeKindEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ManagedMcpRuntime interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfManagedMcpRuntime(value: object): value is ManagedMcpRuntime;
|
|
47
|
+
export declare function ManagedMcpRuntimeFromJSON(json: any): ManagedMcpRuntime;
|
|
48
|
+
export declare function ManagedMcpRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedMcpRuntime;
|
|
49
|
+
export declare function ManagedMcpRuntimeToJSON(json: any): ManagedMcpRuntime;
|
|
50
|
+
export declare function ManagedMcpRuntimeToJSONTyped(value?: ManagedMcpRuntime | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Barndoor.ai Public API
|
|
6
|
+
* Unified public API specification for Barndoor.ai platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.23.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.ManagedMcpRuntimeKindEnum = void 0;
|
|
17
|
+
exports.instanceOfManagedMcpRuntime = instanceOfManagedMcpRuntime;
|
|
18
|
+
exports.ManagedMcpRuntimeFromJSON = ManagedMcpRuntimeFromJSON;
|
|
19
|
+
exports.ManagedMcpRuntimeFromJSONTyped = ManagedMcpRuntimeFromJSONTyped;
|
|
20
|
+
exports.ManagedMcpRuntimeToJSON = ManagedMcpRuntimeToJSON;
|
|
21
|
+
exports.ManagedMcpRuntimeToJSONTyped = ManagedMcpRuntimeToJSONTyped;
|
|
22
|
+
const SignedArtifact_js_1 = require("./SignedArtifact.js");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ManagedMcpRuntimeKindEnum = {
|
|
27
|
+
ManagedLocalMcp: 'managed_local_mcp',
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ManagedMcpRuntime interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfManagedMcpRuntime(value) {
|
|
33
|
+
if (!('ref' in value) || value['ref'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if ((!('minimumCliVersion' in value) && !('minimum_cli_version' in value)) || (value['minimumCliVersion'] === undefined && value['minimum_cli_version'] === undefined))
|
|
36
|
+
return false;
|
|
37
|
+
if (!('artifact' in value) || value['artifact'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ManagedMcpRuntimeFromJSON(json) {
|
|
42
|
+
return ManagedMcpRuntimeFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ManagedMcpRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
50
|
+
'ref': json['ref'],
|
|
51
|
+
'minimumCliVersion': json['minimum_cli_version'],
|
|
52
|
+
'artifact': (0, SignedArtifact_js_1.SignedArtifactFromJSON)(json['artifact']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function ManagedMcpRuntimeToJSON(json) {
|
|
56
|
+
return ManagedMcpRuntimeToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function ManagedMcpRuntimeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'kind': value['kind'],
|
|
64
|
+
'ref': value['ref'],
|
|
65
|
+
'minimum_cli_version': value['minimumCliVersion'],
|
|
66
|
+
'artifact': (0, SignedArtifact_js_1.SignedArtifactToJSON)(value['artifact']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Barndoor.ai Public API
|
|
3
|
+
* Unified public API specification for Barndoor.ai platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.23.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 RemoteRuntime
|
|
16
|
+
*/
|
|
17
|
+
export interface RemoteRuntime {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
kind?: RemoteRuntimeKindEnum;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const RemoteRuntimeKindEnum: {
|
|
27
|
+
readonly Remote: "remote";
|
|
28
|
+
};
|
|
29
|
+
export type RemoteRuntimeKindEnum = typeof RemoteRuntimeKindEnum[keyof typeof RemoteRuntimeKindEnum];
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RemoteRuntime interface.
|
|
32
|
+
*/
|
|
33
|
+
export declare function instanceOfRemoteRuntime(value: object): value is RemoteRuntime;
|
|
34
|
+
export declare function RemoteRuntimeFromJSON(json: any): RemoteRuntime;
|
|
35
|
+
export declare function RemoteRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoteRuntime;
|
|
36
|
+
export declare function RemoteRuntimeToJSON(json: any): RemoteRuntime;
|
|
37
|
+
export declare function RemoteRuntimeToJSONTyped(value?: RemoteRuntime | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Barndoor.ai Public API
|
|
6
|
+
* Unified public API specification for Barndoor.ai platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.23.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.RemoteRuntimeKindEnum = void 0;
|
|
17
|
+
exports.instanceOfRemoteRuntime = instanceOfRemoteRuntime;
|
|
18
|
+
exports.RemoteRuntimeFromJSON = RemoteRuntimeFromJSON;
|
|
19
|
+
exports.RemoteRuntimeFromJSONTyped = RemoteRuntimeFromJSONTyped;
|
|
20
|
+
exports.RemoteRuntimeToJSON = RemoteRuntimeToJSON;
|
|
21
|
+
exports.RemoteRuntimeToJSONTyped = RemoteRuntimeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.RemoteRuntimeKindEnum = {
|
|
26
|
+
Remote: 'remote',
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the RemoteRuntime interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfRemoteRuntime(value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function RemoteRuntimeFromJSON(json) {
|
|
35
|
+
return RemoteRuntimeFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function RemoteRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function RemoteRuntimeToJSON(json) {
|
|
46
|
+
return RemoteRuntimeToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function RemoteRuntimeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'kind': value['kind'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Barndoor.ai Public API
|
|
3
|
+
* Unified public API specification for Barndoor.ai platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.23.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 { EmbeddedRuntime } from './EmbeddedRuntime.js';
|
|
13
|
+
import type { LocalCliRuntime } from './LocalCliRuntime.js';
|
|
14
|
+
import type { ManagedMcpRuntime } from './ManagedMcpRuntime.js';
|
|
15
|
+
import type { RemoteRuntime } from './RemoteRuntime.js';
|
|
16
|
+
/**
|
|
17
|
+
* @type Runtime
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export type Runtime = {
|
|
22
|
+
kind: 'embedded';
|
|
23
|
+
} & EmbeddedRuntime | {
|
|
24
|
+
kind: 'local_cli';
|
|
25
|
+
} & LocalCliRuntime | {
|
|
26
|
+
kind: 'managed_local_mcp';
|
|
27
|
+
} & ManagedMcpRuntime | {
|
|
28
|
+
kind: 'remote';
|
|
29
|
+
} & RemoteRuntime;
|
|
30
|
+
export declare function RuntimeFromJSON(json: any): Runtime;
|
|
31
|
+
export declare function RuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Runtime;
|
|
32
|
+
export declare function RuntimeToJSON(json: any): any;
|
|
33
|
+
export declare function RuntimeToJSONTyped(value?: Runtime | null, ignoreDiscriminator?: boolean): any;
|