kb-cloud-client-typescript 2.3.0-alpha.106 → 2.3.0-alpha.108
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/adminapi/api.d.ts +0 -1
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +0 -1
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +158 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +168 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +158 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +168 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +158 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +168 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +12 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +0 -10
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +0 -10
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/api.d.ts +0 -1
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +0 -1
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +158 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +168 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +158 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +168 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +158 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +168 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +12 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +0 -10
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +0 -10
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +0 -11
- package/src/adminapi/api.ts +0 -1
- package/src/adminapi/apis/account-api.ts +272 -0
- package/src/adminapi/apis/rdbms-api.ts +272 -0
- package/src/adminapi/apis/shared-api.ts +272 -0
- package/src/adminapi/models/account-option.ts +12 -0
- package/src/adminapi/models/index.ts +0 -10
- package/src/adminapi.yaml +96 -381
- package/src/openapi/.openapi-generator/FILES +0 -11
- package/src/openapi/api.ts +0 -1
- package/src/openapi/apis/account-api.ts +272 -0
- package/src/openapi/apis/rdbms-api.ts +272 -0
- package/src/openapi/apis/shared-api.ts +272 -0
- package/src/openapi/models/account-option.ts +12 -0
- package/src/openapi/models/index.ts +0 -10
- package/src/openapi.yaml +96 -381
- package/dist/adminapi/apis/aiapi.d.ts +0 -408
- package/dist/adminapi/apis/aiapi.d.ts.map +0 -1
- package/dist/adminapi/apis/aiapi.js +0 -496
- package/dist/adminapi/apis/aiapi.js.map +0 -1
- package/dist/adminapi/models/ai-conversation-list-response.d.ts +0 -32
- package/dist/adminapi/models/ai-conversation-list-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-conversation-list-response.js +0 -16
- package/dist/adminapi/models/ai-conversation-list-response.js.map +0 -1
- package/dist/adminapi/models/ai-conversation.d.ts +0 -67
- package/dist/adminapi/models/ai-conversation.d.ts.map +0 -1
- package/dist/adminapi/models/ai-conversation.js +0 -16
- package/dist/adminapi/models/ai-conversation.js.map +0 -1
- package/dist/adminapi/models/ai-message-list-response.d.ts +0 -26
- package/dist/adminapi/models/ai-message-list-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-message-list-response.js +0 -16
- package/dist/adminapi/models/ai-message-list-response.js.map +0 -1
- package/dist/adminapi/models/ai-message.d.ts +0 -70
- package/dist/adminapi/models/ai-message.d.ts.map +0 -1
- package/dist/adminapi/models/ai-message.js +0 -16
- package/dist/adminapi/models/ai-message.js.map +0 -1
- package/dist/adminapi/models/aichat-type.d.ts +0 -22
- package/dist/adminapi/models/aichat-type.d.ts.map +0 -1
- package/dist/adminapi/models/aichat-type.js +0 -26
- package/dist/adminapi/models/aichat-type.js.map +0 -1
- package/dist/adminapi/models/aiconversation-request.d.ts +0 -26
- package/dist/adminapi/models/aiconversation-request.d.ts.map +0 -1
- package/dist/adminapi/models/aiconversation-request.js +0 -16
- package/dist/adminapi/models/aiconversation-request.js.map +0 -1
- package/dist/adminapi/models/chat-request.d.ts +0 -79
- package/dist/adminapi/models/chat-request.d.ts.map +0 -1
- package/dist/adminapi/models/chat-request.js +0 -16
- package/dist/adminapi/models/chat-request.js.map +0 -1
- package/dist/adminapi/models/chat-response-type.d.ts +0 -29
- package/dist/adminapi/models/chat-response-type.d.ts.map +0 -1
- package/dist/adminapi/models/chat-response-type.js +0 -33
- package/dist/adminapi/models/chat-response-type.js.map +0 -1
- package/dist/adminapi/models/chat-response.d.ts +0 -50
- package/dist/adminapi/models/chat-response.d.ts.map +0 -1
- package/dist/adminapi/models/chat-response.js +0 -16
- package/dist/adminapi/models/chat-response.js.map +0 -1
- package/dist/adminapi/models/sender-type.d.ts +0 -23
- package/dist/adminapi/models/sender-type.d.ts.map +0 -1
- package/dist/adminapi/models/sender-type.js +0 -27
- package/dist/adminapi/models/sender-type.js.map +0 -1
- package/dist/openapi/apis/aiapi.d.ts +0 -408
- package/dist/openapi/apis/aiapi.d.ts.map +0 -1
- package/dist/openapi/apis/aiapi.js +0 -496
- package/dist/openapi/apis/aiapi.js.map +0 -1
- package/dist/openapi/models/ai-conversation-list-response.d.ts +0 -32
- package/dist/openapi/models/ai-conversation-list-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-conversation-list-response.js +0 -16
- package/dist/openapi/models/ai-conversation-list-response.js.map +0 -1
- package/dist/openapi/models/ai-conversation.d.ts +0 -67
- package/dist/openapi/models/ai-conversation.d.ts.map +0 -1
- package/dist/openapi/models/ai-conversation.js +0 -16
- package/dist/openapi/models/ai-conversation.js.map +0 -1
- package/dist/openapi/models/ai-message-list-response.d.ts +0 -26
- package/dist/openapi/models/ai-message-list-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-message-list-response.js +0 -16
- package/dist/openapi/models/ai-message-list-response.js.map +0 -1
- package/dist/openapi/models/ai-message.d.ts +0 -70
- package/dist/openapi/models/ai-message.d.ts.map +0 -1
- package/dist/openapi/models/ai-message.js +0 -16
- package/dist/openapi/models/ai-message.js.map +0 -1
- package/dist/openapi/models/aichat-type.d.ts +0 -22
- package/dist/openapi/models/aichat-type.d.ts.map +0 -1
- package/dist/openapi/models/aichat-type.js +0 -26
- package/dist/openapi/models/aichat-type.js.map +0 -1
- package/dist/openapi/models/aiconversation-request.d.ts +0 -26
- package/dist/openapi/models/aiconversation-request.d.ts.map +0 -1
- package/dist/openapi/models/aiconversation-request.js +0 -16
- package/dist/openapi/models/aiconversation-request.js.map +0 -1
- package/dist/openapi/models/chat-request.d.ts +0 -79
- package/dist/openapi/models/chat-request.d.ts.map +0 -1
- package/dist/openapi/models/chat-request.js +0 -16
- package/dist/openapi/models/chat-request.js.map +0 -1
- package/dist/openapi/models/chat-response-type.d.ts +0 -29
- package/dist/openapi/models/chat-response-type.d.ts.map +0 -1
- package/dist/openapi/models/chat-response-type.js +0 -33
- package/dist/openapi/models/chat-response-type.js.map +0 -1
- package/dist/openapi/models/chat-response.d.ts +0 -50
- package/dist/openapi/models/chat-response.d.ts.map +0 -1
- package/dist/openapi/models/chat-response.js +0 -16
- package/dist/openapi/models/chat-response.js.map +0 -1
- package/dist/openapi/models/sender-type.d.ts +0 -23
- package/dist/openapi/models/sender-type.d.ts.map +0 -1
- package/dist/openapi/models/sender-type.js +0 -27
- package/dist/openapi/models/sender-type.js.map +0 -1
- package/src/adminapi/apis/aiapi.ts +0 -728
- package/src/adminapi/models/ai-conversation-list-response.ts +0 -39
- package/src/adminapi/models/ai-conversation.ts +0 -72
- package/src/adminapi/models/ai-message-list-response.ts +0 -33
- package/src/adminapi/models/ai-message.ts +0 -77
- package/src/adminapi/models/aichat-type.ts +0 -31
- package/src/adminapi/models/aiconversation-request.ts +0 -35
- package/src/adminapi/models/chat-request.ts +0 -84
- package/src/adminapi/models/chat-response-type.ts +0 -38
- package/src/adminapi/models/chat-response.ts +0 -59
- package/src/adminapi/models/sender-type.ts +0 -32
- package/src/openapi/apis/aiapi.ts +0 -728
- package/src/openapi/models/ai-conversation-list-response.ts +0 -39
- package/src/openapi/models/ai-conversation.ts +0 -72
- package/src/openapi/models/ai-message-list-response.ts +0 -33
- package/src/openapi/models/ai-message.ts +0 -77
- package/src/openapi/models/aichat-type.ts +0 -31
- package/src/openapi/models/aiconversation-request.ts +0 -35
- package/src/openapi/models/chat-request.ts +0 -84
- package/src/openapi/models/chat-response-type.ts +0 -38
- package/src/openapi/models/chat-response.ts +0 -59
- package/src/openapi/models/sender-type.ts +0 -32
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import type { AiConversation } from './ai-conversation';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface AiConversationListResponse
|
|
24
|
-
*/
|
|
25
|
-
export interface AiConversationListResponse {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<AiConversation>}
|
|
29
|
-
* @memberof AiConversationListResponse
|
|
30
|
-
*/
|
|
31
|
-
'items'?: Array<AiConversation>;
|
|
32
|
-
/**
|
|
33
|
-
* Total number of conversations
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof AiConversationListResponse
|
|
36
|
-
*/
|
|
37
|
-
'total'?: number;
|
|
38
|
-
}
|
|
39
|
-
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface AiConversation
|
|
21
|
-
*/
|
|
22
|
-
export interface AiConversation {
|
|
23
|
-
/**
|
|
24
|
-
* Conversation ID
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof AiConversation
|
|
27
|
-
*/
|
|
28
|
-
'id'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* User ID associated with the conversation
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof AiConversation
|
|
33
|
-
*/
|
|
34
|
-
'userId'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Name of the cluster associated with the conversation
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof AiConversation
|
|
39
|
-
*/
|
|
40
|
-
'clusterName'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Name of the organization associated with the conversation
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof AiConversation
|
|
45
|
-
*/
|
|
46
|
-
'orgName'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Optional title for the conversation
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof AiConversation
|
|
51
|
-
*/
|
|
52
|
-
'title'?: string | null;
|
|
53
|
-
/**
|
|
54
|
-
* Type of the conversation, can be chatbi or chatops.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof AiConversation
|
|
57
|
-
*/
|
|
58
|
-
'type'?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Timestamp of when the conversation was created
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof AiConversation
|
|
63
|
-
*/
|
|
64
|
-
'createdAt'?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Timestamp of when the conversation was last updated
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof AiConversation
|
|
69
|
-
*/
|
|
70
|
-
'updatedAt'?: string;
|
|
71
|
-
}
|
|
72
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import type { AiMessage } from './ai-message';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface AiMessageListResponse
|
|
24
|
-
*/
|
|
25
|
-
export interface AiMessageListResponse {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<AiMessage>}
|
|
29
|
-
* @memberof AiMessageListResponse
|
|
30
|
-
*/
|
|
31
|
-
'items'?: Array<AiMessage>;
|
|
32
|
-
}
|
|
33
|
-
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import type { SenderType } from './sender-type';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface AiMessage
|
|
24
|
-
*/
|
|
25
|
-
export interface AiMessage {
|
|
26
|
-
/**
|
|
27
|
-
* Message ID
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof AiMessage
|
|
30
|
-
*/
|
|
31
|
-
'id'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* ID of the conversation this message belongs to
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof AiMessage
|
|
36
|
-
*/
|
|
37
|
-
'conversationId'?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {SenderType}
|
|
41
|
-
* @memberof AiMessage
|
|
42
|
-
*/
|
|
43
|
-
'senderType'?: SenderType;
|
|
44
|
-
/**
|
|
45
|
-
* Content of the message
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof AiMessage
|
|
48
|
-
*/
|
|
49
|
-
'content'?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Whether the message is favorited by user
|
|
52
|
-
* @type {boolean}
|
|
53
|
-
* @memberof AiMessage
|
|
54
|
-
*/
|
|
55
|
-
'isFavorited'?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Optional metadata for AI messages (e.g., tool calls, results)
|
|
58
|
-
* @type {{ [key: string]: any; }}
|
|
59
|
-
* @memberof AiMessage
|
|
60
|
-
*/
|
|
61
|
-
'metadata'?: { [key: string]: any; } | null;
|
|
62
|
-
/**
|
|
63
|
-
* Timestamp of when the message was created
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof AiMessage
|
|
66
|
-
*/
|
|
67
|
-
'createdAt'?: string;
|
|
68
|
-
/**
|
|
69
|
-
* Timestamp of when the message was last updated
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof AiMessage
|
|
72
|
-
*/
|
|
73
|
-
'updatedAt'?: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Query type
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const AIChatType = {
|
|
24
|
-
chatbi: 'chatbi',
|
|
25
|
-
chatops: 'chatops'
|
|
26
|
-
} as const;
|
|
27
|
-
|
|
28
|
-
export type AIChatType = typeof AIChatType[keyof typeof AIChatType];
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import type { AIChatType } from './aichat-type';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface AIConversationRequest
|
|
24
|
-
*/
|
|
25
|
-
export interface AIConversationRequest {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {AIChatType}
|
|
29
|
-
* @memberof AIConversationRequest
|
|
30
|
-
*/
|
|
31
|
-
'type'?: AIChatType;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Chat message request
|
|
19
|
-
* @export
|
|
20
|
-
* @interface ChatRequest
|
|
21
|
-
*/
|
|
22
|
-
export interface ChatRequest {
|
|
23
|
-
/**
|
|
24
|
-
* Organization name
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof ChatRequest
|
|
27
|
-
*/
|
|
28
|
-
'orgName': string;
|
|
29
|
-
/**
|
|
30
|
-
* Cluster name
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof ChatRequest
|
|
33
|
-
*/
|
|
34
|
-
'clusterName': string;
|
|
35
|
-
/**
|
|
36
|
-
* Session ID
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ChatRequest
|
|
39
|
-
*/
|
|
40
|
-
'sessionId': string;
|
|
41
|
-
/**
|
|
42
|
-
* Message ID
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof ChatRequest
|
|
45
|
-
*/
|
|
46
|
-
'messageID'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Query content
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof ChatRequest
|
|
51
|
-
*/
|
|
52
|
-
'query': string;
|
|
53
|
-
/**
|
|
54
|
-
* LLM model
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof ChatRequest
|
|
57
|
-
*/
|
|
58
|
-
'model': string | null;
|
|
59
|
-
/**
|
|
60
|
-
* Datasource name
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof ChatRequest
|
|
63
|
-
*/
|
|
64
|
-
'datasourceName'?: string | null;
|
|
65
|
-
/**
|
|
66
|
-
* Database involved in the chat
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof ChatRequest
|
|
69
|
-
*/
|
|
70
|
-
'database'?: string | null;
|
|
71
|
-
/**
|
|
72
|
-
* Schema involved in the chat
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof ChatRequest
|
|
75
|
-
*/
|
|
76
|
-
'schema'?: string | null;
|
|
77
|
-
/**
|
|
78
|
-
* Tables involved in the chat
|
|
79
|
-
* @type {Array<string>}
|
|
80
|
-
* @memberof ChatRequest
|
|
81
|
-
*/
|
|
82
|
-
'tables'?: Array<string>;
|
|
83
|
-
}
|
|
84
|
-
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Message type
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const ChatResponseType = {
|
|
24
|
-
Message: 'Message',
|
|
25
|
-
Graph: 'Graph',
|
|
26
|
-
Finish: 'Finish',
|
|
27
|
-
DataInterpretation: 'DataInterpretation',
|
|
28
|
-
Error: 'Error',
|
|
29
|
-
Think: 'Think',
|
|
30
|
-
ToolResult: 'ToolResult',
|
|
31
|
-
SessionID: 'SessionID',
|
|
32
|
-
ToolCall: 'ToolCall'
|
|
33
|
-
} as const;
|
|
34
|
-
|
|
35
|
-
export type ChatResponseType = typeof ChatResponseType[keyof typeof ChatResponseType];
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import type { ChatResponseType } from './chat-response-type';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Chat message response
|
|
22
|
-
* @export
|
|
23
|
-
* @interface ChatResponse
|
|
24
|
-
*/
|
|
25
|
-
export interface ChatResponse {
|
|
26
|
-
/**
|
|
27
|
-
* Arbitrary event payload
|
|
28
|
-
* @type {any}
|
|
29
|
-
* @memberof ChatResponse
|
|
30
|
-
*/
|
|
31
|
-
'data': any;
|
|
32
|
-
/**
|
|
33
|
-
* Whether the SSE stream is complete
|
|
34
|
-
* @type {boolean}
|
|
35
|
-
* @memberof ChatResponse
|
|
36
|
-
*/
|
|
37
|
-
'done': boolean;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {ChatResponseType}
|
|
41
|
-
* @memberof ChatResponse
|
|
42
|
-
*/
|
|
43
|
-
'type': ChatResponseType;
|
|
44
|
-
/**
|
|
45
|
-
* Message ID
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ChatResponse
|
|
48
|
-
*/
|
|
49
|
-
'messageID'?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Session ID
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ChatResponse
|
|
54
|
-
*/
|
|
55
|
-
'sessionId': string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@apecloud.com
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Type of the sender (user, assistant, or system)
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const SenderType = {
|
|
24
|
-
user: 'user',
|
|
25
|
-
assistant: 'assistant',
|
|
26
|
-
system: 'system'
|
|
27
|
-
} as const;
|
|
28
|
-
|
|
29
|
-
export type SenderType = typeof SenderType[keyof typeof SenderType];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|