sarvam-agents-client 0.5.2 → 0.5.3
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 +52 -29
- package/dist/apis/AgentsApi.d.ts +96 -11
- package/dist/apis/AgentsApi.js +229 -9
- package/dist/apis/ConversationsApi.d.ts +5 -2
- package/dist/apis/ConversationsApi.js +7 -2
- package/dist/client.d.ts +3 -2
- package/dist/client.js +2 -1
- package/dist/compose/deploy.d.ts +14 -3
- package/dist/compose/deploy.js +60 -7
- package/dist/compose/errors.d.ts +4 -0
- package/dist/compose/errors.js +6 -1
- package/dist/compose/settingsTransport.d.ts +18 -13
- package/dist/compose/settingsTransport.js +78 -130
- package/dist/compose/transport.d.ts +12 -2
- package/dist/compose/webhook.d.ts +10 -13
- package/dist/compose/webhook.js +48 -45
- package/dist/compose/webhookSecrets.d.ts +79 -49
- package/dist/compose/webhookSecrets.js +244 -195
- package/dist/esm/apis/AgentsApi.d.ts +96 -11
- package/dist/esm/apis/AgentsApi.js +230 -10
- package/dist/esm/apis/ConversationsApi.d.ts +5 -2
- package/dist/esm/apis/ConversationsApi.js +7 -2
- package/dist/esm/client.d.ts +3 -2
- package/dist/esm/client.js +2 -1
- package/dist/esm/compose/deploy.d.ts +14 -3
- package/dist/esm/compose/deploy.js +60 -7
- package/dist/esm/compose/errors.d.ts +4 -0
- package/dist/esm/compose/errors.js +4 -0
- package/dist/esm/compose/settingsTransport.d.ts +18 -13
- package/dist/esm/compose/settingsTransport.js +80 -132
- package/dist/esm/compose/transport.d.ts +12 -2
- package/dist/esm/compose/webhook.d.ts +10 -13
- package/dist/esm/compose/webhook.js +45 -42
- package/dist/esm/compose/webhookSecrets.d.ts +79 -49
- package/dist/esm/compose/webhookSecrets.js +241 -193
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/models/AgentConversationDetail.d.ts +12 -0
- package/dist/esm/models/AgentConversationDetail.js +4 -0
- package/dist/esm/models/AgentConversationView.d.ts +12 -0
- package/dist/esm/models/AgentConversationView.js +4 -0
- package/dist/esm/models/AgentResource.d.ts +7 -0
- package/dist/esm/models/AgentResource.js +3 -0
- package/dist/esm/models/AgentVersionSavedResource.d.ts +65 -0
- package/dist/esm/models/AgentVersionSavedResource.js +60 -0
- package/dist/esm/models/AgentWebhookList.d.ts +33 -0
- package/dist/esm/models/AgentWebhookList.js +44 -0
- package/dist/esm/models/AgentWebhookView.d.ts +76 -0
- package/dist/esm/models/AgentWebhookView.js +70 -0
- package/dist/esm/models/ConversationDetail.d.ts +6 -0
- package/dist/esm/models/ConversationDetail.js +2 -0
- package/dist/esm/models/ConversationView.d.ts +6 -0
- package/dist/esm/models/ConversationView.js +2 -0
- package/dist/esm/models/ErrorDetailItem.d.ts +3 -0
- package/dist/esm/models/FileNodeView.d.ts +7 -0
- package/dist/esm/models/FileNodeView.js +3 -0
- package/dist/esm/models/QueueMessageInput.d.ts +6 -0
- package/dist/esm/models/QueueMessageInput.js +2 -0
- package/dist/esm/models/RotatedWebhookSecretView.d.ts +58 -0
- package/dist/esm/models/RotatedWebhookSecretView.js +61 -0
- package/dist/esm/models/SaveWarningView.d.ts +44 -0
- package/dist/esm/models/SaveWarningView.js +51 -0
- package/dist/esm/models/ShareSkippedResource.d.ts +41 -0
- package/dist/esm/models/ShareSkippedResource.js +47 -0
- package/dist/esm/models/WebhookSecretPutBody.d.ts +32 -0
- package/dist/esm/models/WebhookSecretPutBody.js +43 -0
- package/dist/esm/models/WebhookSecretStateView.d.ts +52 -0
- package/dist/esm/models/WebhookSecretStateView.js +56 -0
- package/dist/esm/models/WebhookSecretValueView.d.ts +32 -0
- package/dist/esm/models/WebhookSecretValueView.js +44 -0
- package/dist/esm/models/WebhookWarning.d.ts +44 -0
- package/dist/esm/models/WebhookWarning.js +51 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -1
- package/dist/models/AgentConversationDetail.d.ts +12 -0
- package/dist/models/AgentConversationDetail.js +4 -0
- package/dist/models/AgentConversationView.d.ts +12 -0
- package/dist/models/AgentConversationView.js +4 -0
- package/dist/models/AgentResource.d.ts +7 -0
- package/dist/models/AgentResource.js +3 -0
- package/dist/models/AgentVersionSavedResource.d.ts +65 -0
- package/dist/models/AgentVersionSavedResource.js +67 -0
- package/dist/models/AgentWebhookList.d.ts +33 -0
- package/dist/models/AgentWebhookList.js +51 -0
- package/dist/models/AgentWebhookView.d.ts +76 -0
- package/dist/models/AgentWebhookView.js +78 -0
- package/dist/models/ConversationDetail.d.ts +6 -0
- package/dist/models/ConversationDetail.js +2 -0
- package/dist/models/ConversationView.d.ts +6 -0
- package/dist/models/ConversationView.js +2 -0
- package/dist/models/ErrorDetailItem.d.ts +3 -0
- package/dist/models/FileNodeView.d.ts +7 -0
- package/dist/models/FileNodeView.js +3 -0
- package/dist/models/QueueMessageInput.d.ts +6 -0
- package/dist/models/QueueMessageInput.js +2 -0
- package/dist/models/RotatedWebhookSecretView.d.ts +58 -0
- package/dist/models/RotatedWebhookSecretView.js +69 -0
- package/dist/models/SaveWarningView.d.ts +44 -0
- package/dist/models/SaveWarningView.js +58 -0
- package/dist/models/ShareSkippedResource.d.ts +41 -0
- package/dist/models/ShareSkippedResource.js +54 -0
- package/dist/models/WebhookSecretPutBody.d.ts +32 -0
- package/dist/models/WebhookSecretPutBody.js +50 -0
- package/dist/models/WebhookSecretStateView.d.ts +52 -0
- package/dist/models/WebhookSecretStateView.js +64 -0
- package/dist/models/WebhookSecretValueView.d.ts +32 -0
- package/dist/models/WebhookSecretValueView.js +51 -0
- package/dist/models/WebhookWarning.d.ts +44 -0
- package/dist/models/WebhookWarning.js +58 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/AgentsApi.ts +366 -11
- package/src/apis/ConversationsApi.ts +9 -2
- package/src/client.ts +3 -2
- package/src/compose/deploy.ts +71 -10
- package/src/compose/errors.ts +4 -0
- package/src/compose/settingsTransport.ts +78 -131
- package/src/compose/transport.ts +10 -2
- package/src/compose/webhook.ts +49 -45
- package/src/compose/webhookSecrets.ts +227 -179
- package/src/index.ts +2 -1
- package/src/models/AgentConversationDetail.ts +16 -0
- package/src/models/AgentConversationView.ts +16 -0
- package/src/models/AgentResource.ts +15 -0
- package/src/models/AgentVersionSavedResource.ts +119 -0
- package/src/models/AgentWebhookList.ts +74 -0
- package/src/models/AgentWebhookView.ts +129 -0
- package/src/models/ConversationDetail.ts +8 -0
- package/src/models/ConversationView.ts +8 -0
- package/src/models/ErrorDetailItem.ts +3 -0
- package/src/models/FileNodeView.ts +16 -0
- package/src/models/QueueMessageInput.ts +8 -0
- package/src/models/RotatedWebhookSecretView.ts +103 -0
- package/src/models/SaveWarningView.ts +84 -0
- package/src/models/ShareSkippedResource.ts +78 -0
- package/src/models/WebhookSecretPutBody.ts +66 -0
- package/src/models/WebhookSecretStateView.ts +94 -0
- package/src/models/WebhookSecretValueView.ts +66 -0
- package/src/models/WebhookWarning.ts +84 -0
- package/src/models/index.ts +10 -0
|
@@ -0,0 +1,44 @@
|
|
|
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 SaveWarningView
|
|
16
|
+
*/
|
|
17
|
+
export interface SaveWarningView {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SaveWarningView
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SaveWarningView
|
|
28
|
+
*/
|
|
29
|
+
path: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SaveWarningView
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SaveWarningView interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSaveWarningView(value: object): value is SaveWarningView;
|
|
41
|
+
export declare function SaveWarningViewFromJSON(json: any): SaveWarningView;
|
|
42
|
+
export declare function SaveWarningViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveWarningView;
|
|
43
|
+
export declare function SaveWarningViewToJSON(json: any): SaveWarningView;
|
|
44
|
+
export declare function SaveWarningViewToJSONTyped(value?: SaveWarningView | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sarvam Agents API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: support@sarvam.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SaveWarningView interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSaveWarningView(value) {
|
|
18
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function SaveWarningViewFromJSON(json) {
|
|
27
|
+
return SaveWarningViewFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function SaveWarningViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'code': json['code'],
|
|
35
|
+
'path': json['path'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function SaveWarningViewToJSON(json) {
|
|
40
|
+
return SaveWarningViewToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function SaveWarningViewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'code': value['code'],
|
|
48
|
+
'path': value['path'],
|
|
49
|
+
'message': value['message'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
* Why saving did not share the agent with its workspace. ``code`` is
|
|
14
|
+
* the one ``POST /v2/agents/{id}/publish`` would return
|
|
15
|
+
* (``publish_cascade_blocked``, a BYO MCP security code, ``agent_no_workspace``);
|
|
16
|
+
* ``message`` is safe to show the owner.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ShareSkippedResource
|
|
19
|
+
*/
|
|
20
|
+
export interface ShareSkippedResource {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ShareSkippedResource
|
|
25
|
+
*/
|
|
26
|
+
code: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof ShareSkippedResource
|
|
31
|
+
*/
|
|
32
|
+
message: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the ShareSkippedResource interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfShareSkippedResource(value: object): value is ShareSkippedResource;
|
|
38
|
+
export declare function ShareSkippedResourceFromJSON(json: any): ShareSkippedResource;
|
|
39
|
+
export declare function ShareSkippedResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShareSkippedResource;
|
|
40
|
+
export declare function ShareSkippedResourceToJSON(json: any): ShareSkippedResource;
|
|
41
|
+
export declare function ShareSkippedResourceToJSONTyped(value?: ShareSkippedResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sarvam Agents API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: support@sarvam.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ShareSkippedResource interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfShareSkippedResource(value) {
|
|
18
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ShareSkippedResourceFromJSON(json) {
|
|
25
|
+
return ShareSkippedResourceFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ShareSkippedResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'code': json['code'],
|
|
33
|
+
'message': json['message'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ShareSkippedResourceToJSON(json) {
|
|
37
|
+
return ShareSkippedResourceToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ShareSkippedResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'code': value['code'],
|
|
45
|
+
'message': value['message'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
* A ``whsec_`` secret you made (base64 of 24 to 64 bytes).
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookSecretPutBody
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookSecretPutBody {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookSecretPutBody
|
|
22
|
+
*/
|
|
23
|
+
secret: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the WebhookSecretPutBody interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfWebhookSecretPutBody(value: object): value is WebhookSecretPutBody;
|
|
29
|
+
export declare function WebhookSecretPutBodyFromJSON(json: any): WebhookSecretPutBody;
|
|
30
|
+
export declare function WebhookSecretPutBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookSecretPutBody;
|
|
31
|
+
export declare function WebhookSecretPutBodyToJSON(json: any): WebhookSecretPutBody;
|
|
32
|
+
export declare function WebhookSecretPutBodyToJSONTyped(value?: WebhookSecretPutBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sarvam Agents API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: support@sarvam.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the WebhookSecretPutBody interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfWebhookSecretPutBody(value) {
|
|
18
|
+
if (!('secret' in value) || value['secret'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function WebhookSecretPutBodyFromJSON(json) {
|
|
23
|
+
return WebhookSecretPutBodyFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function WebhookSecretPutBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'secret': json['secret'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function WebhookSecretPutBodyToJSON(json) {
|
|
34
|
+
return WebhookSecretPutBodyToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function WebhookSecretPutBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'secret': value['secret'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
* What a secret write did; never the secret.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookSecretStateView
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookSecretStateView {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookSecretStateView
|
|
22
|
+
*/
|
|
23
|
+
secretStatus: WebhookSecretStateViewSecretStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof WebhookSecretStateView
|
|
28
|
+
*/
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof WebhookSecretStateView
|
|
34
|
+
*/
|
|
35
|
+
previousExpiresAt?: Date | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const WebhookSecretStateViewSecretStatusEnum: {
|
|
41
|
+
readonly Set: "set";
|
|
42
|
+
readonly Missing: "missing";
|
|
43
|
+
};
|
|
44
|
+
export type WebhookSecretStateViewSecretStatusEnum = typeof WebhookSecretStateViewSecretStatusEnum[keyof typeof WebhookSecretStateViewSecretStatusEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the WebhookSecretStateView interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfWebhookSecretStateView(value: object): value is WebhookSecretStateView;
|
|
49
|
+
export declare function WebhookSecretStateViewFromJSON(json: any): WebhookSecretStateView;
|
|
50
|
+
export declare function WebhookSecretStateViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookSecretStateView;
|
|
51
|
+
export declare function WebhookSecretStateViewToJSON(json: any): WebhookSecretStateView;
|
|
52
|
+
export declare function WebhookSecretStateViewToJSONTyped(value?: WebhookSecretStateView | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sarvam Agents API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: support@sarvam.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const WebhookSecretStateViewSecretStatusEnum = {
|
|
18
|
+
Set: 'set',
|
|
19
|
+
Missing: 'missing'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WebhookSecretStateView interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfWebhookSecretStateView(value) {
|
|
25
|
+
if (!('secretStatus' in value) || value['secretStatus'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function WebhookSecretStateViewFromJSON(json) {
|
|
32
|
+
return WebhookSecretStateViewFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function WebhookSecretStateViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'secretStatus': json['secretStatus'],
|
|
40
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
41
|
+
'previousExpiresAt': json['previousExpiresAt'] == null ? undefined : (new Date(json['previousExpiresAt'])),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function WebhookSecretStateViewToJSON(json) {
|
|
45
|
+
return WebhookSecretStateViewToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function WebhookSecretStateViewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'secretStatus': value['secretStatus'],
|
|
53
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
54
|
+
'previousExpiresAt': value['previousExpiresAt'] == null ? undefined : (value['previousExpiresAt'].toISOString()),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
* The webhook's current secret. Never logged.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookSecretValueView
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookSecretValueView {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookSecretValueView
|
|
22
|
+
*/
|
|
23
|
+
secret: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the WebhookSecretValueView interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfWebhookSecretValueView(value: object): value is WebhookSecretValueView;
|
|
29
|
+
export declare function WebhookSecretValueViewFromJSON(json: any): WebhookSecretValueView;
|
|
30
|
+
export declare function WebhookSecretValueViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookSecretValueView;
|
|
31
|
+
export declare function WebhookSecretValueViewToJSON(json: any): WebhookSecretValueView;
|
|
32
|
+
export declare function WebhookSecretValueViewToJSONTyped(value?: WebhookSecretValueView | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sarvam Agents API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: support@sarvam.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { hideSecret } from '../runtime.js'; // sarvam: hide-secret-import
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the WebhookSecretValueView interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfWebhookSecretValueView(value) {
|
|
19
|
+
if (!('secret' in value) || value['secret'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function WebhookSecretValueViewFromJSON(json) {
|
|
24
|
+
return WebhookSecretValueViewFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function WebhookSecretValueViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return hideSecret({
|
|
31
|
+
'secret': json['secret'],
|
|
32
|
+
}, 'secret');
|
|
33
|
+
}
|
|
34
|
+
export function WebhookSecretValueViewToJSON(json) {
|
|
35
|
+
return WebhookSecretValueViewToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function WebhookSecretValueViewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'secret': value['secret'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 WebhookWarning
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookWarning {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookWarning
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WebhookWarning
|
|
28
|
+
*/
|
|
29
|
+
path: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WebhookWarning
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the WebhookWarning interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfWebhookWarning(value: object): value is WebhookWarning;
|
|
41
|
+
export declare function WebhookWarningFromJSON(json: any): WebhookWarning;
|
|
42
|
+
export declare function WebhookWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookWarning;
|
|
43
|
+
export declare function WebhookWarningToJSON(json: any): WebhookWarning;
|
|
44
|
+
export declare function WebhookWarningToJSONTyped(value?: WebhookWarning | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sarvam Agents API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: support@sarvam.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the WebhookWarning interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfWebhookWarning(value) {
|
|
18
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function WebhookWarningFromJSON(json) {
|
|
27
|
+
return WebhookWarningFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function WebhookWarningFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'code': json['code'],
|
|
35
|
+
'path': json['path'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function WebhookWarningToJSON(json) {
|
|
40
|
+
return WebhookWarningToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function WebhookWarningToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'code': value['code'],
|
|
48
|
+
'path': value['path'],
|
|
49
|
+
'message': value['message'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -22,6 +22,9 @@ export * from './AgentVersionCreate.js';
|
|
|
22
22
|
export * from './AgentVersionDiffResource.js';
|
|
23
23
|
export * from './AgentVersionPick.js';
|
|
24
24
|
export * from './AgentVersionResource.js';
|
|
25
|
+
export * from './AgentVersionSavedResource.js';
|
|
26
|
+
export * from './AgentWebhookList.js';
|
|
27
|
+
export * from './AgentWebhookView.js';
|
|
25
28
|
export * from './ApiKeyBody.js';
|
|
26
29
|
export * from './AppAccountView.js';
|
|
27
30
|
export * from './AppAccountsView.js';
|
|
@@ -152,6 +155,8 @@ export * from './ResponseInput.js';
|
|
|
152
155
|
export * from './ResponseRotateTriggerSecret.js';
|
|
153
156
|
export * from './RotatedSecret.js';
|
|
154
157
|
export * from './RotatedSigningSecret.js';
|
|
158
|
+
export * from './RotatedWebhookSecretView.js';
|
|
159
|
+
export * from './SaveWarningView.js';
|
|
155
160
|
export * from './Scope.js';
|
|
156
161
|
export * from './SearchBody.js';
|
|
157
162
|
export * from './SearchResult.js';
|
|
@@ -159,6 +164,7 @@ export * from './ServerSideIngestError.js';
|
|
|
159
164
|
export * from './ServerSideIngestFile.js';
|
|
160
165
|
export * from './ServerSideIngestResponse.js';
|
|
161
166
|
export * from './SettingsIssueView.js';
|
|
167
|
+
export * from './ShareSkippedResource.js';
|
|
162
168
|
export * from './SkillDetailView.js';
|
|
163
169
|
export * from './SkillResource.js';
|
|
164
170
|
export * from './SkillUpdate.js';
|
|
@@ -193,3 +199,7 @@ export * from './ValidationError.js';
|
|
|
193
199
|
export * from './ValidationErrorLocInner.js';
|
|
194
200
|
export * from './VersionCommitBody.js';
|
|
195
201
|
export * from './VersionUploadUrlBody.js';
|
|
202
|
+
export * from './WebhookSecretPutBody.js';
|
|
203
|
+
export * from './WebhookSecretStateView.js';
|
|
204
|
+
export * from './WebhookSecretValueView.js';
|
|
205
|
+
export * from './WebhookWarning.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -24,6 +24,9 @@ export * from './AgentVersionCreate.js';
|
|
|
24
24
|
export * from './AgentVersionDiffResource.js';
|
|
25
25
|
export * from './AgentVersionPick.js';
|
|
26
26
|
export * from './AgentVersionResource.js';
|
|
27
|
+
export * from './AgentVersionSavedResource.js';
|
|
28
|
+
export * from './AgentWebhookList.js';
|
|
29
|
+
export * from './AgentWebhookView.js';
|
|
27
30
|
export * from './ApiKeyBody.js';
|
|
28
31
|
export * from './AppAccountView.js';
|
|
29
32
|
export * from './AppAccountsView.js';
|
|
@@ -154,6 +157,8 @@ export * from './ResponseInput.js';
|
|
|
154
157
|
export * from './ResponseRotateTriggerSecret.js';
|
|
155
158
|
export * from './RotatedSecret.js';
|
|
156
159
|
export * from './RotatedSigningSecret.js';
|
|
160
|
+
export * from './RotatedWebhookSecretView.js';
|
|
161
|
+
export * from './SaveWarningView.js';
|
|
157
162
|
export * from './Scope.js';
|
|
158
163
|
export * from './SearchBody.js';
|
|
159
164
|
export * from './SearchResult.js';
|
|
@@ -161,6 +166,7 @@ export * from './ServerSideIngestError.js';
|
|
|
161
166
|
export * from './ServerSideIngestFile.js';
|
|
162
167
|
export * from './ServerSideIngestResponse.js';
|
|
163
168
|
export * from './SettingsIssueView.js';
|
|
169
|
+
export * from './ShareSkippedResource.js';
|
|
164
170
|
export * from './SkillDetailView.js';
|
|
165
171
|
export * from './SkillResource.js';
|
|
166
172
|
export * from './SkillUpdate.js';
|
|
@@ -195,3 +201,7 @@ export * from './ValidationError.js';
|
|
|
195
201
|
export * from './ValidationErrorLocInner.js';
|
|
196
202
|
export * from './VersionCommitBody.js';
|
|
197
203
|
export * from './VersionUploadUrlBody.js';
|
|
204
|
+
export * from './WebhookSecretPutBody.js';
|
|
205
|
+
export * from './WebhookSecretStateView.js';
|
|
206
|
+
export * from './WebhookSecretValueView.js';
|
|
207
|
+
export * from './WebhookWarning.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ export * from './apis/index.js';
|
|
|
3
3
|
export * from './models/index.js';
|
|
4
4
|
export * from './streaming.js';
|
|
5
5
|
export { Client } from './client.js';
|
|
6
|
-
export { WebhookSecrets } from './compose/webhookSecrets.js';
|
|
6
|
+
export { WebhookSecrets, PREVIOUS_SECRET_SECONDS } from './compose/webhookSecrets.js';
|
|
7
|
+
export { SecretExistsError } from './compose/errors.js';
|
|
7
8
|
export type { SecretStatus } from './compose/webhookSecrets.js';
|
|
8
9
|
export { Triggers, EVENT_WINDOW_DAYS, EVENTS_PAGE_DEFAULT, EVENTS_PAGE_MAX, GRACE_SECONDS_MAX, PROVIDER_OUTAGE_ERROR, SECRET_MAX_CHARS, } from './compose/triggers.js';
|
|
9
10
|
export type { TriggerRef, TriggerSecretStatus } from './compose/triggers.js';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.SarvamAgents = exports.OpenAI = exports.SECRET_MAX_CHARS = exports.PROVIDER_OUTAGE_ERROR = exports.GRACE_SECONDS_MAX = exports.EVENTS_PAGE_MAX = exports.EVENTS_PAGE_DEFAULT = exports.EVENT_WINDOW_DAYS = exports.Triggers = exports.WebhookSecrets = exports.Client = void 0;
|
|
17
|
+
exports.SarvamAgents = exports.OpenAI = exports.SECRET_MAX_CHARS = exports.PROVIDER_OUTAGE_ERROR = exports.GRACE_SECONDS_MAX = exports.EVENTS_PAGE_MAX = exports.EVENTS_PAGE_DEFAULT = exports.EVENT_WINDOW_DAYS = exports.Triggers = exports.SecretExistsError = exports.PREVIOUS_SECRET_SECONDS = exports.WebhookSecrets = exports.Client = void 0;
|
|
18
18
|
/* tslint:disable */
|
|
19
19
|
/* eslint-disable */
|
|
20
20
|
// Hand-maintained entry point (listed in .openapi-generator-ignore): the generated exports plus the streaming helpers.
|
|
@@ -27,6 +27,9 @@ var client_js_1 = require("./client.js");
|
|
|
27
27
|
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_js_1.Client; } });
|
|
28
28
|
var webhookSecrets_js_1 = require("./compose/webhookSecrets.js");
|
|
29
29
|
Object.defineProperty(exports, "WebhookSecrets", { enumerable: true, get: function () { return webhookSecrets_js_1.WebhookSecrets; } });
|
|
30
|
+
Object.defineProperty(exports, "PREVIOUS_SECRET_SECONDS", { enumerable: true, get: function () { return webhookSecrets_js_1.PREVIOUS_SECRET_SECONDS; } });
|
|
31
|
+
var errors_js_1 = require("./compose/errors.js");
|
|
32
|
+
Object.defineProperty(exports, "SecretExistsError", { enumerable: true, get: function () { return errors_js_1.SecretExistsError; } });
|
|
30
33
|
var triggers_js_1 = require("./compose/triggers.js");
|
|
31
34
|
Object.defineProperty(exports, "Triggers", { enumerable: true, get: function () { return triggers_js_1.Triggers; } });
|
|
32
35
|
Object.defineProperty(exports, "EVENT_WINDOW_DAYS", { enumerable: true, get: function () { return triggers_js_1.EVENT_WINDOW_DAYS; } });
|
|
@@ -99,6 +99,12 @@ export interface AgentConversationDetail {
|
|
|
99
99
|
* @memberof AgentConversationDetail
|
|
100
100
|
*/
|
|
101
101
|
createdAt: Date;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof AgentConversationDetail
|
|
106
|
+
*/
|
|
107
|
+
lastAgentVersion?: number | null;
|
|
102
108
|
/**
|
|
103
109
|
*
|
|
104
110
|
* @type {Array<FieldHighlight>}
|
|
@@ -153,6 +159,12 @@ export interface AgentConversationDetail {
|
|
|
153
159
|
* @memberof AgentConversationDetail
|
|
154
160
|
*/
|
|
155
161
|
panjaWsId: string | null;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof AgentConversationDetail
|
|
166
|
+
*/
|
|
167
|
+
startedByName?: string | null;
|
|
156
168
|
/**
|
|
157
169
|
*
|
|
158
170
|
* @type {boolean}
|