kb-cloud-client-typescript 2.3.0-alpha.107 → 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.
Files changed (141) hide show
  1. package/dist/adminapi/api.d.ts +0 -1
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +0 -1
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/models/account-option.d.ts +7 -1
  6. package/dist/adminapi/models/account-option.d.ts.map +1 -1
  7. package/dist/adminapi/models/index.d.ts +0 -10
  8. package/dist/adminapi/models/index.d.ts.map +1 -1
  9. package/dist/adminapi/models/index.js +0 -10
  10. package/dist/adminapi/models/index.js.map +1 -1
  11. package/dist/openapi/api.d.ts +0 -1
  12. package/dist/openapi/api.d.ts.map +1 -1
  13. package/dist/openapi/api.js +0 -1
  14. package/dist/openapi/api.js.map +1 -1
  15. package/dist/openapi/models/account-option.d.ts +7 -1
  16. package/dist/openapi/models/account-option.d.ts.map +1 -1
  17. package/dist/openapi/models/index.d.ts +0 -10
  18. package/dist/openapi/models/index.d.ts.map +1 -1
  19. package/dist/openapi/models/index.js +0 -10
  20. package/dist/openapi/models/index.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/adminapi/.openapi-generator/FILES +0 -11
  23. package/src/adminapi/api.ts +0 -1
  24. package/src/adminapi/models/account-option.ts +7 -1
  25. package/src/adminapi/models/index.ts +0 -10
  26. package/src/adminapi.yaml +6 -382
  27. package/src/openapi/.openapi-generator/FILES +0 -11
  28. package/src/openapi/api.ts +0 -1
  29. package/src/openapi/models/account-option.ts +7 -1
  30. package/src/openapi/models/index.ts +0 -10
  31. package/src/openapi.yaml +6 -382
  32. package/dist/adminapi/apis/aiapi.d.ts +0 -408
  33. package/dist/adminapi/apis/aiapi.d.ts.map +0 -1
  34. package/dist/adminapi/apis/aiapi.js +0 -496
  35. package/dist/adminapi/apis/aiapi.js.map +0 -1
  36. package/dist/adminapi/models/ai-conversation-list-response.d.ts +0 -32
  37. package/dist/adminapi/models/ai-conversation-list-response.d.ts.map +0 -1
  38. package/dist/adminapi/models/ai-conversation-list-response.js +0 -16
  39. package/dist/adminapi/models/ai-conversation-list-response.js.map +0 -1
  40. package/dist/adminapi/models/ai-conversation.d.ts +0 -67
  41. package/dist/adminapi/models/ai-conversation.d.ts.map +0 -1
  42. package/dist/adminapi/models/ai-conversation.js +0 -16
  43. package/dist/adminapi/models/ai-conversation.js.map +0 -1
  44. package/dist/adminapi/models/ai-message-list-response.d.ts +0 -26
  45. package/dist/adminapi/models/ai-message-list-response.d.ts.map +0 -1
  46. package/dist/adminapi/models/ai-message-list-response.js +0 -16
  47. package/dist/adminapi/models/ai-message-list-response.js.map +0 -1
  48. package/dist/adminapi/models/ai-message.d.ts +0 -70
  49. package/dist/adminapi/models/ai-message.d.ts.map +0 -1
  50. package/dist/adminapi/models/ai-message.js +0 -16
  51. package/dist/adminapi/models/ai-message.js.map +0 -1
  52. package/dist/adminapi/models/aichat-type.d.ts +0 -22
  53. package/dist/adminapi/models/aichat-type.d.ts.map +0 -1
  54. package/dist/adminapi/models/aichat-type.js +0 -26
  55. package/dist/adminapi/models/aichat-type.js.map +0 -1
  56. package/dist/adminapi/models/aiconversation-request.d.ts +0 -26
  57. package/dist/adminapi/models/aiconversation-request.d.ts.map +0 -1
  58. package/dist/adminapi/models/aiconversation-request.js +0 -16
  59. package/dist/adminapi/models/aiconversation-request.js.map +0 -1
  60. package/dist/adminapi/models/chat-request.d.ts +0 -79
  61. package/dist/adminapi/models/chat-request.d.ts.map +0 -1
  62. package/dist/adminapi/models/chat-request.js +0 -16
  63. package/dist/adminapi/models/chat-request.js.map +0 -1
  64. package/dist/adminapi/models/chat-response-type.d.ts +0 -29
  65. package/dist/adminapi/models/chat-response-type.d.ts.map +0 -1
  66. package/dist/adminapi/models/chat-response-type.js +0 -33
  67. package/dist/adminapi/models/chat-response-type.js.map +0 -1
  68. package/dist/adminapi/models/chat-response.d.ts +0 -50
  69. package/dist/adminapi/models/chat-response.d.ts.map +0 -1
  70. package/dist/adminapi/models/chat-response.js +0 -16
  71. package/dist/adminapi/models/chat-response.js.map +0 -1
  72. package/dist/adminapi/models/sender-type.d.ts +0 -23
  73. package/dist/adminapi/models/sender-type.d.ts.map +0 -1
  74. package/dist/adminapi/models/sender-type.js +0 -27
  75. package/dist/adminapi/models/sender-type.js.map +0 -1
  76. package/dist/openapi/apis/aiapi.d.ts +0 -408
  77. package/dist/openapi/apis/aiapi.d.ts.map +0 -1
  78. package/dist/openapi/apis/aiapi.js +0 -496
  79. package/dist/openapi/apis/aiapi.js.map +0 -1
  80. package/dist/openapi/models/ai-conversation-list-response.d.ts +0 -32
  81. package/dist/openapi/models/ai-conversation-list-response.d.ts.map +0 -1
  82. package/dist/openapi/models/ai-conversation-list-response.js +0 -16
  83. package/dist/openapi/models/ai-conversation-list-response.js.map +0 -1
  84. package/dist/openapi/models/ai-conversation.d.ts +0 -67
  85. package/dist/openapi/models/ai-conversation.d.ts.map +0 -1
  86. package/dist/openapi/models/ai-conversation.js +0 -16
  87. package/dist/openapi/models/ai-conversation.js.map +0 -1
  88. package/dist/openapi/models/ai-message-list-response.d.ts +0 -26
  89. package/dist/openapi/models/ai-message-list-response.d.ts.map +0 -1
  90. package/dist/openapi/models/ai-message-list-response.js +0 -16
  91. package/dist/openapi/models/ai-message-list-response.js.map +0 -1
  92. package/dist/openapi/models/ai-message.d.ts +0 -70
  93. package/dist/openapi/models/ai-message.d.ts.map +0 -1
  94. package/dist/openapi/models/ai-message.js +0 -16
  95. package/dist/openapi/models/ai-message.js.map +0 -1
  96. package/dist/openapi/models/aichat-type.d.ts +0 -22
  97. package/dist/openapi/models/aichat-type.d.ts.map +0 -1
  98. package/dist/openapi/models/aichat-type.js +0 -26
  99. package/dist/openapi/models/aichat-type.js.map +0 -1
  100. package/dist/openapi/models/aiconversation-request.d.ts +0 -26
  101. package/dist/openapi/models/aiconversation-request.d.ts.map +0 -1
  102. package/dist/openapi/models/aiconversation-request.js +0 -16
  103. package/dist/openapi/models/aiconversation-request.js.map +0 -1
  104. package/dist/openapi/models/chat-request.d.ts +0 -79
  105. package/dist/openapi/models/chat-request.d.ts.map +0 -1
  106. package/dist/openapi/models/chat-request.js +0 -16
  107. package/dist/openapi/models/chat-request.js.map +0 -1
  108. package/dist/openapi/models/chat-response-type.d.ts +0 -29
  109. package/dist/openapi/models/chat-response-type.d.ts.map +0 -1
  110. package/dist/openapi/models/chat-response-type.js +0 -33
  111. package/dist/openapi/models/chat-response-type.js.map +0 -1
  112. package/dist/openapi/models/chat-response.d.ts +0 -50
  113. package/dist/openapi/models/chat-response.d.ts.map +0 -1
  114. package/dist/openapi/models/chat-response.js +0 -16
  115. package/dist/openapi/models/chat-response.js.map +0 -1
  116. package/dist/openapi/models/sender-type.d.ts +0 -23
  117. package/dist/openapi/models/sender-type.d.ts.map +0 -1
  118. package/dist/openapi/models/sender-type.js +0 -27
  119. package/dist/openapi/models/sender-type.js.map +0 -1
  120. package/src/adminapi/apis/aiapi.ts +0 -728
  121. package/src/adminapi/models/ai-conversation-list-response.ts +0 -39
  122. package/src/adminapi/models/ai-conversation.ts +0 -72
  123. package/src/adminapi/models/ai-message-list-response.ts +0 -33
  124. package/src/adminapi/models/ai-message.ts +0 -77
  125. package/src/adminapi/models/aichat-type.ts +0 -31
  126. package/src/adminapi/models/aiconversation-request.ts +0 -35
  127. package/src/adminapi/models/chat-request.ts +0 -84
  128. package/src/adminapi/models/chat-response-type.ts +0 -38
  129. package/src/adminapi/models/chat-response.ts +0 -59
  130. package/src/adminapi/models/sender-type.ts +0 -32
  131. package/src/openapi/apis/aiapi.ts +0 -728
  132. package/src/openapi/models/ai-conversation-list-response.ts +0 -39
  133. package/src/openapi/models/ai-conversation.ts +0 -72
  134. package/src/openapi/models/ai-message-list-response.ts +0 -33
  135. package/src/openapi/models/ai-message.ts +0 -77
  136. package/src/openapi/models/aichat-type.ts +0 -31
  137. package/src/openapi/models/aiconversation-request.ts +0 -35
  138. package/src/openapi/models/chat-request.ts +0 -84
  139. package/src/openapi/models/chat-response-type.ts +0 -38
  140. package/src/openapi/models/chat-response.ts +0 -59
  141. 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
-