sarvam-agents-client 0.3.2 → 0.4.1
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/README.md +36 -23
- package/dist/apis/AgentConversationsApi.d.ts +2 -2
- package/dist/apis/AgentConversationsApi.js +2 -2
- package/dist/apis/AgentsApi.d.ts +195 -5
- package/dist/apis/AgentsApi.js +478 -5
- package/dist/apis/ArtifactsApi.d.ts +8 -4
- package/dist/apis/ArtifactsApi.js +8 -4
- package/dist/apis/ConversationsApi.d.ts +2 -0
- package/dist/apis/ConversationsApi.js +6 -0
- package/dist/client.d.ts +16 -0
- package/dist/client.js +21 -0
- package/dist/compose/deploy.d.ts +37 -7
- package/dist/compose/deploy.js +105 -19
- package/dist/compose/errors.d.ts +1 -1
- package/dist/compose/errors.js +1 -1
- package/dist/compose/index.d.ts +1 -1
- package/dist/compose/index.js +2 -1
- package/dist/compose/run.d.ts +5 -1
- package/dist/compose/run.js +9 -9
- package/dist/compose/settingsTransport.d.ts +14 -0
- package/dist/compose/settingsTransport.js +151 -14
- package/dist/compose/transport.d.ts +14 -0
- package/dist/compose/transport.js +3 -0
- package/dist/compose/webhook.d.ts +18 -3
- package/dist/compose/webhook.js +59 -10
- package/dist/compose/webhookSecrets.d.ts +64 -0
- package/dist/compose/webhookSecrets.js +255 -0
- package/dist/esm/apis/AgentConversationsApi.d.ts +2 -2
- package/dist/esm/apis/AgentConversationsApi.js +2 -2
- package/dist/esm/apis/AgentsApi.d.ts +195 -5
- package/dist/esm/apis/AgentsApi.js +478 -5
- package/dist/esm/apis/ArtifactsApi.d.ts +8 -4
- package/dist/esm/apis/ArtifactsApi.js +8 -4
- package/dist/esm/apis/ConversationsApi.d.ts +2 -0
- package/dist/esm/apis/ConversationsApi.js +6 -0
- package/dist/esm/client.d.ts +16 -0
- package/dist/esm/client.js +17 -0
- package/dist/esm/compose/deploy.d.ts +37 -7
- package/dist/esm/compose/deploy.js +105 -20
- package/dist/esm/compose/errors.d.ts +1 -1
- package/dist/esm/compose/errors.js +1 -1
- package/dist/esm/compose/index.d.ts +1 -1
- package/dist/esm/compose/index.js +1 -1
- package/dist/esm/compose/run.d.ts +5 -1
- package/dist/esm/compose/run.js +9 -9
- package/dist/esm/compose/settingsTransport.d.ts +14 -0
- package/dist/esm/compose/settingsTransport.js +151 -14
- package/dist/esm/compose/transport.d.ts +14 -0
- package/dist/esm/compose/transport.js +2 -1
- package/dist/esm/compose/webhook.d.ts +18 -3
- package/dist/esm/compose/webhook.js +55 -9
- package/dist/esm/compose/webhookSecrets.d.ts +64 -0
- package/dist/esm/compose/webhookSecrets.js +250 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/models/AgentAttachmentDiff.d.ts +50 -0
- package/dist/esm/models/AgentAttachmentDiff.js +55 -0
- package/dist/esm/models/AgentContentsResource.d.ts +71 -0
- package/dist/esm/models/AgentContentsResource.js +70 -0
- package/dist/esm/models/AgentDeploy.d.ts +33 -0
- package/dist/esm/models/AgentDeploy.js +41 -0
- package/dist/esm/models/AgentDraftResource.d.ts +51 -0
- package/dist/esm/models/AgentDraftResource.js +52 -0
- package/dist/esm/models/AgentFileContent.d.ts +38 -0
- package/dist/esm/models/AgentFileContent.js +47 -0
- package/dist/esm/models/AgentHistoryResource.d.ts +71 -0
- package/dist/esm/models/AgentHistoryResource.js +66 -0
- package/dist/esm/models/AgentResource.d.ts +21 -0
- package/dist/esm/models/AgentResource.js +12 -0
- package/dist/esm/models/AgentSkillFilePin.d.ts +44 -0
- package/dist/esm/models/AgentSkillFilePin.js +51 -0
- package/dist/esm/models/AgentSubagentEntry.d.ts +38 -0
- package/dist/esm/models/AgentSubagentEntry.js +47 -0
- package/dist/esm/models/AgentVersionCreate.d.ts +32 -0
- package/dist/esm/models/AgentVersionCreate.js +41 -0
- package/dist/esm/models/AgentVersionDiffResource.d.ts +87 -0
- package/dist/esm/models/AgentVersionDiffResource.js +78 -0
- package/dist/esm/models/AgentVersionPick.d.ts +32 -0
- package/dist/esm/models/AgentVersionPick.js +43 -0
- package/dist/esm/models/AgentVersionResource.d.ts +56 -0
- package/dist/esm/models/AgentVersionResource.js +57 -0
- package/dist/esm/models/AppResource.d.ts +12 -0
- package/dist/esm/models/AppResource.js +4 -0
- package/dist/esm/models/ResponseInput.d.ts +6 -0
- package/dist/esm/models/ResponseInput.js +2 -0
- package/dist/esm/models/SkillUpdateResource.d.ts +38 -0
- package/dist/esm/models/SkillUpdateResource.js +47 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +6 -0
- package/dist/models/AgentAttachmentDiff.d.ts +50 -0
- package/dist/models/AgentAttachmentDiff.js +62 -0
- package/dist/models/AgentContentsResource.d.ts +71 -0
- package/dist/models/AgentContentsResource.js +77 -0
- package/dist/models/AgentDeploy.d.ts +33 -0
- package/dist/models/AgentDeploy.js +48 -0
- package/dist/models/AgentDraftResource.d.ts +51 -0
- package/dist/models/AgentDraftResource.js +59 -0
- package/dist/models/AgentFileContent.d.ts +38 -0
- package/dist/models/AgentFileContent.js +54 -0
- package/dist/models/AgentHistoryResource.d.ts +71 -0
- package/dist/models/AgentHistoryResource.js +74 -0
- package/dist/models/AgentResource.d.ts +21 -0
- package/dist/models/AgentResource.js +13 -1
- package/dist/models/AgentSkillFilePin.d.ts +44 -0
- package/dist/models/AgentSkillFilePin.js +58 -0
- package/dist/models/AgentSubagentEntry.d.ts +38 -0
- package/dist/models/AgentSubagentEntry.js +54 -0
- package/dist/models/AgentVersionCreate.d.ts +32 -0
- package/dist/models/AgentVersionCreate.js +48 -0
- package/dist/models/AgentVersionDiffResource.d.ts +87 -0
- package/dist/models/AgentVersionDiffResource.js +85 -0
- package/dist/models/AgentVersionPick.d.ts +32 -0
- package/dist/models/AgentVersionPick.js +50 -0
- package/dist/models/AgentVersionResource.d.ts +56 -0
- package/dist/models/AgentVersionResource.js +64 -0
- package/dist/models/AppResource.d.ts +12 -0
- package/dist/models/AppResource.js +4 -0
- package/dist/models/ResponseInput.d.ts +6 -0
- package/dist/models/ResponseInput.js +2 -0
- package/dist/models/SkillUpdateResource.d.ts +38 -0
- package/dist/models/SkillUpdateResource.js +54 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/apis/AgentConversationsApi.ts +2 -2
- package/src/apis/AgentsApi.ts +737 -6
- package/src/apis/ArtifactsApi.ts +8 -4
- package/src/apis/ConversationsApi.ts +10 -0
- package/src/client.ts +21 -0
- package/src/compose/deploy.ts +126 -20
- package/src/compose/errors.ts +1 -1
- package/src/compose/index.ts +1 -1
- package/src/compose/run.ts +6 -2
- package/src/compose/settingsTransport.ts +154 -16
- package/src/compose/transport.ts +15 -0
- package/src/compose/webhook.ts +64 -11
- package/src/compose/webhookSecrets.ts +257 -0
- package/src/index.ts +4 -0
- package/src/models/AgentAttachmentDiff.ts +93 -0
- package/src/models/AgentContentsResource.ts +142 -0
- package/src/models/AgentDeploy.ts +66 -0
- package/src/models/AgentDraftResource.ts +99 -0
- package/src/models/AgentFileContent.ts +75 -0
- package/src/models/AgentHistoryResource.ts +121 -0
- package/src/models/AgentResource.ts +26 -0
- package/src/models/AgentSkillFilePin.ts +84 -0
- package/src/models/AgentSubagentEntry.ts +75 -0
- package/src/models/AgentVersionCreate.ts +65 -0
- package/src/models/AgentVersionDiffResource.ts +154 -0
- package/src/models/AgentVersionPick.ts +66 -0
- package/src/models/AgentVersionResource.ts +101 -0
- package/src/models/AppResource.ts +16 -0
- package/src/models/ResponseInput.ts +8 -0
- package/src/models/SkillUpdateResource.ts +75 -0
- package/src/models/index.ts +13 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sarvam Agents API
|
|
6
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: support@sarvam.ai
|
|
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.instanceOfAgentAttachmentDiff = instanceOfAgentAttachmentDiff;
|
|
17
|
+
exports.AgentAttachmentDiffFromJSON = AgentAttachmentDiffFromJSON;
|
|
18
|
+
exports.AgentAttachmentDiffFromJSONTyped = AgentAttachmentDiffFromJSONTyped;
|
|
19
|
+
exports.AgentAttachmentDiffToJSON = AgentAttachmentDiffToJSON;
|
|
20
|
+
exports.AgentAttachmentDiffToJSONTyped = AgentAttachmentDiffToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentAttachmentDiff interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentAttachmentDiff(value) {
|
|
25
|
+
if (!('added' in value) || value['added'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('removed' in value) || value['removed'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('switchedOn' in value) || value['switchedOn'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('switchedOff' in value) || value['switchedOff'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function AgentAttachmentDiffFromJSON(json) {
|
|
36
|
+
return AgentAttachmentDiffFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function AgentAttachmentDiffFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'added': json['added'],
|
|
44
|
+
'removed': json['removed'],
|
|
45
|
+
'switchedOn': json['switchedOn'],
|
|
46
|
+
'switchedOff': json['switchedOff'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AgentAttachmentDiffToJSON(json) {
|
|
50
|
+
return AgentAttachmentDiffToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AgentAttachmentDiffToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'added': value['added'],
|
|
58
|
+
'removed': value['removed'],
|
|
59
|
+
'switchedOn': value['switchedOn'],
|
|
60
|
+
'switchedOff': value['switchedOff'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sarvam Agents API
|
|
3
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: support@sarvam.ai
|
|
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 { AgentSkillFilePin } from './AgentSkillFilePin.js';
|
|
13
|
+
import type { AgentFileContent } from './AgentFileContent.js';
|
|
14
|
+
import type { AgentSubagentEntry } from './AgentSubagentEntry.js';
|
|
15
|
+
/**
|
|
16
|
+
* A saved version (``version >= 1``) or the draft (``version = -2``).
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AgentContentsResource
|
|
19
|
+
*/
|
|
20
|
+
export interface AgentContentsResource {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof AgentContentsResource
|
|
25
|
+
*/
|
|
26
|
+
version: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<AgentFileContent>}
|
|
30
|
+
* @memberof AgentContentsResource
|
|
31
|
+
*/
|
|
32
|
+
files: Array<AgentFileContent>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<string>}
|
|
36
|
+
* @memberof AgentContentsResource
|
|
37
|
+
*/
|
|
38
|
+
skillIds: Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<string>}
|
|
42
|
+
* @memberof AgentContentsResource
|
|
43
|
+
*/
|
|
44
|
+
appIds: Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<string>}
|
|
48
|
+
* @memberof AgentContentsResource
|
|
49
|
+
*/
|
|
50
|
+
collectionIds: Array<string>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<AgentSubagentEntry>}
|
|
54
|
+
* @memberof AgentContentsResource
|
|
55
|
+
*/
|
|
56
|
+
subagents: Array<AgentSubagentEntry>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<AgentSkillFilePin>}
|
|
60
|
+
* @memberof AgentContentsResource
|
|
61
|
+
*/
|
|
62
|
+
skillFiles: Array<AgentSkillFilePin>;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the AgentContentsResource interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfAgentContentsResource(value: object): value is AgentContentsResource;
|
|
68
|
+
export declare function AgentContentsResourceFromJSON(json: any): AgentContentsResource;
|
|
69
|
+
export declare function AgentContentsResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentContentsResource;
|
|
70
|
+
export declare function AgentContentsResourceToJSON(json: any): AgentContentsResource;
|
|
71
|
+
export declare function AgentContentsResourceToJSONTyped(value?: AgentContentsResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sarvam Agents API
|
|
6
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: support@sarvam.ai
|
|
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.instanceOfAgentContentsResource = instanceOfAgentContentsResource;
|
|
17
|
+
exports.AgentContentsResourceFromJSON = AgentContentsResourceFromJSON;
|
|
18
|
+
exports.AgentContentsResourceFromJSONTyped = AgentContentsResourceFromJSONTyped;
|
|
19
|
+
exports.AgentContentsResourceToJSON = AgentContentsResourceToJSON;
|
|
20
|
+
exports.AgentContentsResourceToJSONTyped = AgentContentsResourceToJSONTyped;
|
|
21
|
+
const AgentSkillFilePin_js_1 = require("./AgentSkillFilePin.js");
|
|
22
|
+
const AgentFileContent_js_1 = require("./AgentFileContent.js");
|
|
23
|
+
const AgentSubagentEntry_js_1 = require("./AgentSubagentEntry.js");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AgentContentsResource interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfAgentContentsResource(value) {
|
|
28
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('skillIds' in value) || value['skillIds'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('appIds' in value) || value['appIds'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('collectionIds' in value) || value['collectionIds'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('subagents' in value) || value['subagents'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('skillFiles' in value) || value['skillFiles'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function AgentContentsResourceFromJSON(json) {
|
|
45
|
+
return AgentContentsResourceFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AgentContentsResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'version': json['version'],
|
|
53
|
+
'files': (json['files'].map(AgentFileContent_js_1.AgentFileContentFromJSON)),
|
|
54
|
+
'skillIds': json['skillIds'],
|
|
55
|
+
'appIds': json['appIds'],
|
|
56
|
+
'collectionIds': json['collectionIds'],
|
|
57
|
+
'subagents': (json['subagents'].map(AgentSubagentEntry_js_1.AgentSubagentEntryFromJSON)),
|
|
58
|
+
'skillFiles': (json['skillFiles'].map(AgentSkillFilePin_js_1.AgentSkillFilePinFromJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function AgentContentsResourceToJSON(json) {
|
|
62
|
+
return AgentContentsResourceToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function AgentContentsResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'version': value['version'],
|
|
70
|
+
'files': (value['files'].map(AgentFileContent_js_1.AgentFileContentToJSON)),
|
|
71
|
+
'skillIds': value['skillIds'],
|
|
72
|
+
'appIds': value['appIds'],
|
|
73
|
+
'collectionIds': value['collectionIds'],
|
|
74
|
+
'subagents': (value['subagents'].map(AgentSubagentEntry_js_1.AgentSubagentEntryToJSON)),
|
|
75
|
+
'skillFiles': (value['skillFiles'].map(AgentSkillFilePin_js_1.AgentSkillFilePinToJSON)),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sarvam Agents API
|
|
3
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: support@sarvam.ai
|
|
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
|
+
* Body of ``POST /v2/agents/{id}/deploy``; omitted (or no body) deploys
|
|
14
|
+
* the newest saved version.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentDeploy
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentDeploy {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AgentDeploy
|
|
23
|
+
*/
|
|
24
|
+
version?: number | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AgentDeploy interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAgentDeploy(value: object): value is AgentDeploy;
|
|
30
|
+
export declare function AgentDeployFromJSON(json: any): AgentDeploy;
|
|
31
|
+
export declare function AgentDeployFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentDeploy;
|
|
32
|
+
export declare function AgentDeployToJSON(json: any): AgentDeploy;
|
|
33
|
+
export declare function AgentDeployToJSONTyped(value?: AgentDeploy | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sarvam Agents API
|
|
6
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: support@sarvam.ai
|
|
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.instanceOfAgentDeploy = instanceOfAgentDeploy;
|
|
17
|
+
exports.AgentDeployFromJSON = AgentDeployFromJSON;
|
|
18
|
+
exports.AgentDeployFromJSONTyped = AgentDeployFromJSONTyped;
|
|
19
|
+
exports.AgentDeployToJSON = AgentDeployToJSON;
|
|
20
|
+
exports.AgentDeployToJSONTyped = AgentDeployToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentDeploy interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentDeploy(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AgentDeployFromJSON(json) {
|
|
28
|
+
return AgentDeployFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AgentDeployFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function AgentDeployToJSON(json) {
|
|
39
|
+
return AgentDeployToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AgentDeployToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'version': value['version'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sarvam Agents API
|
|
3
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: support@sarvam.ai
|
|
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 { AgentContentsResource } from './AgentContentsResource.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentDraftResource
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentDraftResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AgentContentsResource}
|
|
22
|
+
* @memberof AgentDraftResource
|
|
23
|
+
*/
|
|
24
|
+
contents: AgentContentsResource;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof AgentDraftResource
|
|
29
|
+
*/
|
|
30
|
+
hasChanges: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof AgentDraftResource
|
|
35
|
+
*/
|
|
36
|
+
basedOnVersion?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof AgentDraftResource
|
|
41
|
+
*/
|
|
42
|
+
nextVersion?: number | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AgentDraftResource interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAgentDraftResource(value: object): value is AgentDraftResource;
|
|
48
|
+
export declare function AgentDraftResourceFromJSON(json: any): AgentDraftResource;
|
|
49
|
+
export declare function AgentDraftResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentDraftResource;
|
|
50
|
+
export declare function AgentDraftResourceToJSON(json: any): AgentDraftResource;
|
|
51
|
+
export declare function AgentDraftResourceToJSONTyped(value?: AgentDraftResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sarvam Agents API
|
|
6
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: support@sarvam.ai
|
|
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.instanceOfAgentDraftResource = instanceOfAgentDraftResource;
|
|
17
|
+
exports.AgentDraftResourceFromJSON = AgentDraftResourceFromJSON;
|
|
18
|
+
exports.AgentDraftResourceFromJSONTyped = AgentDraftResourceFromJSONTyped;
|
|
19
|
+
exports.AgentDraftResourceToJSON = AgentDraftResourceToJSON;
|
|
20
|
+
exports.AgentDraftResourceToJSONTyped = AgentDraftResourceToJSONTyped;
|
|
21
|
+
const AgentContentsResource_js_1 = require("./AgentContentsResource.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentDraftResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentDraftResource(value) {
|
|
26
|
+
if (!('contents' in value) || value['contents'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('hasChanges' in value) || value['hasChanges'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function AgentDraftResourceFromJSON(json) {
|
|
33
|
+
return AgentDraftResourceFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function AgentDraftResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'contents': (0, AgentContentsResource_js_1.AgentContentsResourceFromJSON)(json['contents']),
|
|
41
|
+
'hasChanges': json['hasChanges'],
|
|
42
|
+
'basedOnVersion': json['basedOnVersion'] == null ? undefined : json['basedOnVersion'],
|
|
43
|
+
'nextVersion': json['nextVersion'] == null ? undefined : json['nextVersion'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AgentDraftResourceToJSON(json) {
|
|
47
|
+
return AgentDraftResourceToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AgentDraftResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'contents': (0, AgentContentsResource_js_1.AgentContentsResourceToJSON)(value['contents']),
|
|
55
|
+
'hasChanges': value['hasChanges'],
|
|
56
|
+
'basedOnVersion': value['basedOnVersion'],
|
|
57
|
+
'nextVersion': value['nextVersion'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sarvam Agents API
|
|
3
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: support@sarvam.ai
|
|
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 AgentFileContent
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentFileContent {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentFileContent
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentFileContent
|
|
28
|
+
*/
|
|
29
|
+
data: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AgentFileContent interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAgentFileContent(value: object): value is AgentFileContent;
|
|
35
|
+
export declare function AgentFileContentFromJSON(json: any): AgentFileContent;
|
|
36
|
+
export declare function AgentFileContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentFileContent;
|
|
37
|
+
export declare function AgentFileContentToJSON(json: any): AgentFileContent;
|
|
38
|
+
export declare function AgentFileContentToJSONTyped(value?: AgentFileContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sarvam Agents API
|
|
6
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: support@sarvam.ai
|
|
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.instanceOfAgentFileContent = instanceOfAgentFileContent;
|
|
17
|
+
exports.AgentFileContentFromJSON = AgentFileContentFromJSON;
|
|
18
|
+
exports.AgentFileContentFromJSONTyped = AgentFileContentFromJSONTyped;
|
|
19
|
+
exports.AgentFileContentToJSON = AgentFileContentToJSON;
|
|
20
|
+
exports.AgentFileContentToJSONTyped = AgentFileContentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentFileContent interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentFileContent(value) {
|
|
25
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AgentFileContentFromJSON(json) {
|
|
32
|
+
return AgentFileContentFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AgentFileContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'path': json['path'],
|
|
40
|
+
'data': json['data'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AgentFileContentToJSON(json) {
|
|
44
|
+
return AgentFileContentToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AgentFileContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'path': value['path'],
|
|
52
|
+
'data': value['data'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sarvam Agents API
|
|
3
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: support@sarvam.ai
|
|
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 deploy, rollback, pause or resume; ``validTo`` null is what end
|
|
14
|
+
* users get now.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentHistoryResource
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentHistoryResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentHistoryResource
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AgentHistoryResource
|
|
29
|
+
*/
|
|
30
|
+
version: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AgentHistoryResource
|
|
35
|
+
*/
|
|
36
|
+
state: AgentHistoryResourceStateEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof AgentHistoryResource
|
|
41
|
+
*/
|
|
42
|
+
validFrom: Date;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof AgentHistoryResource
|
|
47
|
+
*/
|
|
48
|
+
validTo?: Date | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof AgentHistoryResource
|
|
53
|
+
*/
|
|
54
|
+
createdBy?: string | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const AgentHistoryResourceStateEnum: {
|
|
60
|
+
readonly Live: "live";
|
|
61
|
+
readonly Paused: "paused";
|
|
62
|
+
};
|
|
63
|
+
export type AgentHistoryResourceStateEnum = typeof AgentHistoryResourceStateEnum[keyof typeof AgentHistoryResourceStateEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the AgentHistoryResource interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfAgentHistoryResource(value: object): value is AgentHistoryResource;
|
|
68
|
+
export declare function AgentHistoryResourceFromJSON(json: any): AgentHistoryResource;
|
|
69
|
+
export declare function AgentHistoryResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentHistoryResource;
|
|
70
|
+
export declare function AgentHistoryResourceToJSON(json: any): AgentHistoryResource;
|
|
71
|
+
export declare function AgentHistoryResourceToJSONTyped(value?: AgentHistoryResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sarvam Agents API
|
|
6
|
+
* Chat with a Sarvam agent, exchange files with it, and set it up (instructions, skills, knowledge bases, connectors, deploy) from your own code. Authenticate with a service token sent as a Bearer token, and send the header X-Panja-Origin: managed_agents on every request.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: support@sarvam.ai
|
|
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.AgentHistoryResourceStateEnum = void 0;
|
|
17
|
+
exports.instanceOfAgentHistoryResource = instanceOfAgentHistoryResource;
|
|
18
|
+
exports.AgentHistoryResourceFromJSON = AgentHistoryResourceFromJSON;
|
|
19
|
+
exports.AgentHistoryResourceFromJSONTyped = AgentHistoryResourceFromJSONTyped;
|
|
20
|
+
exports.AgentHistoryResourceToJSON = AgentHistoryResourceToJSON;
|
|
21
|
+
exports.AgentHistoryResourceToJSONTyped = AgentHistoryResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgentHistoryResourceStateEnum = {
|
|
26
|
+
Live: 'live',
|
|
27
|
+
Paused: 'paused'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AgentHistoryResource interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAgentHistoryResource(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('validFrom' in value) || value['validFrom'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AgentHistoryResourceFromJSON(json) {
|
|
44
|
+
return AgentHistoryResourceFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AgentHistoryResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'version': json['version'],
|
|
53
|
+
'state': json['state'],
|
|
54
|
+
'validFrom': (new Date(json['validFrom'])),
|
|
55
|
+
'validTo': json['validTo'] == null ? undefined : (new Date(json['validTo'])),
|
|
56
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function AgentHistoryResourceToJSON(json) {
|
|
60
|
+
return AgentHistoryResourceToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function AgentHistoryResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'version': value['version'],
|
|
69
|
+
'state': value['state'],
|
|
70
|
+
'validFrom': ((value['validFrom']).toISOString()),
|
|
71
|
+
'validTo': value['validTo'] == null ? undefined : (value['validTo'].toISOString()),
|
|
72
|
+
'createdBy': value['createdBy'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -111,6 +111,18 @@ export interface AgentResource {
|
|
|
111
111
|
* @memberof AgentResource
|
|
112
112
|
*/
|
|
113
113
|
deployedAt?: Date | null;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof AgentResource
|
|
118
|
+
*/
|
|
119
|
+
versionState?: AgentResourceVersionStateEnum | null;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof AgentResource
|
|
124
|
+
*/
|
|
125
|
+
liveVersion?: number | null;
|
|
114
126
|
/**
|
|
115
127
|
*
|
|
116
128
|
* @type {string}
|
|
@@ -205,6 +217,15 @@ export declare const AgentResourceDeployStateEnum: {
|
|
|
205
217
|
readonly Deployed: "deployed";
|
|
206
218
|
};
|
|
207
219
|
export type AgentResourceDeployStateEnum = typeof AgentResourceDeployStateEnum[keyof typeof AgentResourceDeployStateEnum];
|
|
220
|
+
/**
|
|
221
|
+
* @export
|
|
222
|
+
*/
|
|
223
|
+
export declare const AgentResourceVersionStateEnum: {
|
|
224
|
+
readonly Live: "live";
|
|
225
|
+
readonly Paused: "paused";
|
|
226
|
+
readonly NotLive: "not_live";
|
|
227
|
+
};
|
|
228
|
+
export type AgentResourceVersionStateEnum = typeof AgentResourceVersionStateEnum[keyof typeof AgentResourceVersionStateEnum];
|
|
208
229
|
/**
|
|
209
230
|
* Check if a given object implements the AgentResource interface.
|
|
210
231
|
*/
|