kb-cloud-client-typescript 2.4.0-alpha.104 → 2.4.0-alpha.106
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/apis/aiagent-api.d.ts +6 -6
- package/dist/adminapi/apis/aiagent-api.js +4 -4
- package/dist/adminapi/apis/alert-rule-api.d.ts +223 -0
- package/dist/adminapi/apis/alert-rule-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-rule-api.js +241 -0
- package/dist/adminapi/apis/alert-rule-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +222 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +241 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +12 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
- package/dist/adminapi/models/alert-resource-type.d.ts +22 -0
- package/dist/adminapi/models/alert-resource-type.d.ts.map +1 -0
- package/dist/adminapi/models/alert-resource-type.js +26 -0
- package/dist/adminapi/models/alert-resource-type.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task.d.ts +2 -2
- package/dist/openapi/apis/aiagent-api.d.ts +6 -6
- package/dist/openapi/apis/aiagent-api.js +4 -4
- package/dist/openapi/apis/alert-rule-api.d.ts +223 -0
- package/dist/openapi/apis/alert-rule-api.d.ts.map +1 -1
- package/dist/openapi/apis/alert-rule-api.js +241 -0
- package/dist/openapi/apis/alert-rule-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +222 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +241 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts +12 -0
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
- package/dist/openapi/models/alert-resource-type.d.ts +22 -0
- package/dist/openapi/models/alert-resource-type.d.ts.map +1 -0
- package/dist/openapi/models/alert-resource-type.js +26 -0
- package/dist/openapi/models/alert-resource-type.js.map +1 -0
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task.d.ts +2 -2
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/aiagent-api.ts +6 -6
- package/src/adminapi/apis/alert-rule-api.ts +388 -0
- package/src/adminapi/apis/shared-api.ts +386 -0
- package/src/adminapi/models/ai-agent-turn-action-list.ts +12 -0
- package/src/adminapi/models/alert-resource-type.ts +31 -0
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/inspection-task.ts +2 -2
- package/src/adminapi.yaml +145 -14
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/aiagent-api.ts +6 -6
- package/src/openapi/apis/alert-rule-api.ts +388 -0
- package/src/openapi/apis/shared-api.ts +386 -0
- package/src/openapi/models/ai-agent-turn-action-list.ts +12 -0
- package/src/openapi/models/alert-resource-type.ts +31 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/inspection-task.ts +2 -2
- package/src/openapi.yaml +145 -14
package/src/adminapi.yaml
CHANGED
|
@@ -117,7 +117,7 @@ paths:
|
|
|
117
117
|
'404':
|
|
118
118
|
$ref: '#/components/responses/404'
|
|
119
119
|
'409':
|
|
120
|
-
|
|
120
|
+
$ref: '#/components/responses/409'
|
|
121
121
|
'500':
|
|
122
122
|
$ref: '#/components/responses/500'
|
|
123
123
|
requestBody:
|
|
@@ -174,7 +174,7 @@ paths:
|
|
|
174
174
|
'404':
|
|
175
175
|
$ref: '#/components/responses/404'
|
|
176
176
|
'409':
|
|
177
|
-
|
|
177
|
+
$ref: '#/components/responses/409'
|
|
178
178
|
'500':
|
|
179
179
|
$ref: '#/components/responses/500'
|
|
180
180
|
post:
|
|
@@ -207,7 +207,7 @@ paths:
|
|
|
207
207
|
'404':
|
|
208
208
|
$ref: '#/components/responses/404'
|
|
209
209
|
'409':
|
|
210
|
-
|
|
210
|
+
$ref: '#/components/responses/409'
|
|
211
211
|
'500':
|
|
212
212
|
$ref: '#/components/responses/500'
|
|
213
213
|
requestBody:
|
|
@@ -334,7 +334,7 @@ paths:
|
|
|
334
334
|
'404':
|
|
335
335
|
$ref: '#/components/responses/404'
|
|
336
336
|
'409':
|
|
337
|
-
|
|
337
|
+
$ref: '#/components/responses/409'
|
|
338
338
|
'500':
|
|
339
339
|
$ref: '#/components/responses/500'
|
|
340
340
|
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles:
|
|
@@ -379,7 +379,7 @@ paths:
|
|
|
379
379
|
'404':
|
|
380
380
|
$ref: '#/components/responses/404'
|
|
381
381
|
'409':
|
|
382
|
-
|
|
382
|
+
$ref: '#/components/responses/409'
|
|
383
383
|
'500':
|
|
384
384
|
$ref: '#/components/responses/500'
|
|
385
385
|
post:
|
|
@@ -412,7 +412,7 @@ paths:
|
|
|
412
412
|
'404':
|
|
413
413
|
$ref: '#/components/responses/404'
|
|
414
414
|
'409':
|
|
415
|
-
|
|
415
|
+
$ref: '#/components/responses/409'
|
|
416
416
|
'500':
|
|
417
417
|
$ref: '#/components/responses/500'
|
|
418
418
|
requestBody:
|
|
@@ -466,7 +466,7 @@ paths:
|
|
|
466
466
|
'404':
|
|
467
467
|
$ref: '#/components/responses/404'
|
|
468
468
|
'409':
|
|
469
|
-
|
|
469
|
+
$ref: '#/components/responses/409'
|
|
470
470
|
'500':
|
|
471
471
|
$ref: '#/components/responses/500'
|
|
472
472
|
put:
|
|
@@ -509,7 +509,7 @@ paths:
|
|
|
509
509
|
'404':
|
|
510
510
|
$ref: '#/components/responses/404'
|
|
511
511
|
'409':
|
|
512
|
-
|
|
512
|
+
$ref: '#/components/responses/409'
|
|
513
513
|
'500':
|
|
514
514
|
$ref: '#/components/responses/500'
|
|
515
515
|
requestBody:
|
|
@@ -563,7 +563,7 @@ paths:
|
|
|
563
563
|
'404':
|
|
564
564
|
$ref: '#/components/responses/404'
|
|
565
565
|
'409':
|
|
566
|
-
|
|
566
|
+
$ref: '#/components/responses/409'
|
|
567
567
|
'500':
|
|
568
568
|
$ref: '#/components/responses/500'
|
|
569
569
|
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}:
|
|
@@ -611,7 +611,7 @@ paths:
|
|
|
611
611
|
'404':
|
|
612
612
|
$ref: '#/components/responses/404'
|
|
613
613
|
'409':
|
|
614
|
-
|
|
614
|
+
$ref: '#/components/responses/409'
|
|
615
615
|
'500':
|
|
616
616
|
$ref: '#/components/responses/500'
|
|
617
617
|
delete:
|
|
@@ -654,7 +654,7 @@ paths:
|
|
|
654
654
|
'404':
|
|
655
655
|
$ref: '#/components/responses/404'
|
|
656
656
|
'409':
|
|
657
|
-
|
|
657
|
+
$ref: '#/components/responses/409'
|
|
658
658
|
'500':
|
|
659
659
|
$ref: '#/components/responses/500'
|
|
660
660
|
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}/roles:
|
|
@@ -698,7 +698,7 @@ paths:
|
|
|
698
698
|
'404':
|
|
699
699
|
$ref: '#/components/responses/404'
|
|
700
700
|
'409':
|
|
701
|
-
|
|
701
|
+
$ref: '#/components/responses/409'
|
|
702
702
|
'500':
|
|
703
703
|
$ref: '#/components/responses/500'
|
|
704
704
|
requestBody:
|
|
@@ -2406,11 +2406,13 @@ paths:
|
|
|
2406
2406
|
type: string
|
|
2407
2407
|
- name: after
|
|
2408
2408
|
in: query
|
|
2409
|
+
description: Raw action cursor from the preceding response's nextCursor.
|
|
2409
2410
|
required: false
|
|
2410
2411
|
schema:
|
|
2411
2412
|
type: string
|
|
2412
2413
|
- name: limit
|
|
2413
2414
|
in: query
|
|
2415
|
+
description: Raw action page budget. The last turn is read in full before coalescing; use hasMore and nextCursor rather than the returned item count.
|
|
2414
2416
|
required: false
|
|
2415
2417
|
schema:
|
|
2416
2418
|
type: integer
|
|
@@ -14954,6 +14956,124 @@ paths:
|
|
|
14954
14956
|
$ref: '#/components/responses/403'
|
|
14955
14957
|
'404':
|
|
14956
14958
|
$ref: '#/components/responses/404'
|
|
14959
|
+
/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules:
|
|
14960
|
+
get:
|
|
14961
|
+
tags:
|
|
14962
|
+
- alertRule
|
|
14963
|
+
- shared
|
|
14964
|
+
operationId: listResourceAlertRules
|
|
14965
|
+
summary: List applicable alert rules for a resource
|
|
14966
|
+
parameters:
|
|
14967
|
+
- name: orgName
|
|
14968
|
+
in: path
|
|
14969
|
+
description: name of the Org
|
|
14970
|
+
required: true
|
|
14971
|
+
schema:
|
|
14972
|
+
type: string
|
|
14973
|
+
- name: resourceType
|
|
14974
|
+
in: path
|
|
14975
|
+
description: resourceType
|
|
14976
|
+
required: true
|
|
14977
|
+
schema:
|
|
14978
|
+
$ref: '#/components/schemas/alertResourceType'
|
|
14979
|
+
- name: resourceID
|
|
14980
|
+
in: path
|
|
14981
|
+
required: true
|
|
14982
|
+
schema:
|
|
14983
|
+
type: string
|
|
14984
|
+
responses:
|
|
14985
|
+
'200':
|
|
14986
|
+
description: A successful response.
|
|
14987
|
+
content:
|
|
14988
|
+
application/json:
|
|
14989
|
+
schema:
|
|
14990
|
+
$ref: '#/components/schemas/alertRuleList'
|
|
14991
|
+
'401':
|
|
14992
|
+
$ref: '#/components/responses/401'
|
|
14993
|
+
'403':
|
|
14994
|
+
$ref: '#/components/responses/403'
|
|
14995
|
+
'404':
|
|
14996
|
+
$ref: '#/components/responses/404'
|
|
14997
|
+
/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}:
|
|
14998
|
+
get:
|
|
14999
|
+
tags:
|
|
15000
|
+
- alertRule
|
|
15001
|
+
- shared
|
|
15002
|
+
operationId: getResourceAlertDisabled
|
|
15003
|
+
summary: Get resource alert settings
|
|
15004
|
+
parameters:
|
|
15005
|
+
- name: orgName
|
|
15006
|
+
in: path
|
|
15007
|
+
description: name of the Org
|
|
15008
|
+
required: true
|
|
15009
|
+
schema:
|
|
15010
|
+
type: string
|
|
15011
|
+
- name: resourceType
|
|
15012
|
+
in: path
|
|
15013
|
+
description: resourceType
|
|
15014
|
+
required: true
|
|
15015
|
+
schema:
|
|
15016
|
+
$ref: '#/components/schemas/alertResourceType'
|
|
15017
|
+
- name: resourceID
|
|
15018
|
+
in: path
|
|
15019
|
+
required: true
|
|
15020
|
+
schema:
|
|
15021
|
+
type: string
|
|
15022
|
+
responses:
|
|
15023
|
+
'200':
|
|
15024
|
+
description: A successful response.
|
|
15025
|
+
content:
|
|
15026
|
+
application/json:
|
|
15027
|
+
schema:
|
|
15028
|
+
$ref: '#/components/schemas/alertCluster'
|
|
15029
|
+
'401':
|
|
15030
|
+
$ref: '#/components/responses/401'
|
|
15031
|
+
'403':
|
|
15032
|
+
$ref: '#/components/responses/403'
|
|
15033
|
+
'404':
|
|
15034
|
+
$ref: '#/components/responses/404'
|
|
15035
|
+
patch:
|
|
15036
|
+
tags:
|
|
15037
|
+
- alertRule
|
|
15038
|
+
- shared
|
|
15039
|
+
operationId: setResourceAlertDisabled
|
|
15040
|
+
summary: Update resource alert settings
|
|
15041
|
+
parameters:
|
|
15042
|
+
- name: orgName
|
|
15043
|
+
in: path
|
|
15044
|
+
description: name of the Org
|
|
15045
|
+
required: true
|
|
15046
|
+
schema:
|
|
15047
|
+
type: string
|
|
15048
|
+
- name: resourceType
|
|
15049
|
+
in: path
|
|
15050
|
+
description: resourceType
|
|
15051
|
+
required: true
|
|
15052
|
+
schema:
|
|
15053
|
+
$ref: '#/components/schemas/alertResourceType'
|
|
15054
|
+
- name: resourceID
|
|
15055
|
+
in: path
|
|
15056
|
+
required: true
|
|
15057
|
+
schema:
|
|
15058
|
+
type: string
|
|
15059
|
+
requestBody:
|
|
15060
|
+
content:
|
|
15061
|
+
application/json:
|
|
15062
|
+
schema:
|
|
15063
|
+
$ref: '#/components/schemas/alertCluster'
|
|
15064
|
+
responses:
|
|
15065
|
+
'200':
|
|
15066
|
+
description: A successful response.
|
|
15067
|
+
content:
|
|
15068
|
+
application/json:
|
|
15069
|
+
schema:
|
|
15070
|
+
$ref: '#/components/schemas/alertCluster'
|
|
15071
|
+
'401':
|
|
15072
|
+
$ref: '#/components/responses/401'
|
|
15073
|
+
'403':
|
|
15074
|
+
$ref: '#/components/responses/403'
|
|
15075
|
+
'404':
|
|
15076
|
+
$ref: '#/components/responses/404'
|
|
14957
15077
|
/admin/v1/alerts/checkURL:
|
|
14958
15078
|
post:
|
|
14959
15079
|
summary: Batch check URLs connectivity
|
|
@@ -31587,6 +31707,12 @@ components:
|
|
|
31587
31707
|
type: array
|
|
31588
31708
|
items:
|
|
31589
31709
|
$ref: '#/components/schemas/aiAgentTurnAction'
|
|
31710
|
+
nextCursor:
|
|
31711
|
+
type: string
|
|
31712
|
+
description: Raw action cursor for the next page; independent of coalesced item IDs and timestamps.
|
|
31713
|
+
hasMore:
|
|
31714
|
+
type: boolean
|
|
31715
|
+
description: Whether more actions are available. Pages finish the last turn before coalescing, so item counts must not be used to detect the final page.
|
|
31590
31716
|
aiAgentEvent:
|
|
31591
31717
|
type: object
|
|
31592
31718
|
required:
|
|
@@ -41137,6 +41263,11 @@ components:
|
|
|
41137
41263
|
required:
|
|
41138
41264
|
- items
|
|
41139
41265
|
type: object
|
|
41266
|
+
alertResourceType:
|
|
41267
|
+
type: string
|
|
41268
|
+
enum:
|
|
41269
|
+
- cluster
|
|
41270
|
+
- channel
|
|
41140
41271
|
URLCheck:
|
|
41141
41272
|
type: object
|
|
41142
41273
|
required:
|
|
@@ -45324,10 +45455,10 @@ components:
|
|
|
45324
45455
|
type: integer
|
|
45325
45456
|
format: int64
|
|
45326
45457
|
x-nullable: true
|
|
45327
|
-
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable
|
|
45458
|
+
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable. Doris and SelectDB also omit it when risk-check evidence is unavailable, and score correlated findings once per failure family. A present value of 0 is a valid evaluated score.
|
|
45328
45459
|
result:
|
|
45329
45460
|
type: string
|
|
45330
|
-
description: Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable
|
|
45461
|
+
description: Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable, or a Doris/SelectDB inspection has unavailable risk-check evidence without an observed red or yellow finding. Unavailable evidence never hides an observed red or yellow finding.
|
|
45331
45462
|
latestRunAt:
|
|
45332
45463
|
format: date-time
|
|
45333
45464
|
type: string
|
|
@@ -145,6 +145,7 @@ models/alert-receiver-category.ts
|
|
|
145
145
|
models/alert-receiver-list.ts
|
|
146
146
|
models/alert-receiver-user-group.ts
|
|
147
147
|
models/alert-receiver.ts
|
|
148
|
+
models/alert-resource-type.ts
|
|
148
149
|
models/alert-rule-group.ts
|
|
149
150
|
models/alert-rule-list.ts
|
|
150
151
|
models/alert-rule.ts
|
|
@@ -560,8 +560,8 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
560
560
|
* @param {string} orgName
|
|
561
561
|
* @param {string} conversationId
|
|
562
562
|
* @param {string} [turnId]
|
|
563
|
-
* @param {string} [after]
|
|
564
|
-
* @param {number} [limit]
|
|
563
|
+
* @param {string} [after] Raw action cursor from the preceding response\'s nextCursor.
|
|
564
|
+
* @param {number} [limit] Raw action page budget. The last turn is read in full before coalescing; use hasMore and nextCursor rather than the returned item count.
|
|
565
565
|
* @param {*} [options] Override http request option.
|
|
566
566
|
* @throws {RequiredError}
|
|
567
567
|
*/
|
|
@@ -979,8 +979,8 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
979
979
|
* @param {string} orgName
|
|
980
980
|
* @param {string} conversationId
|
|
981
981
|
* @param {string} [turnId]
|
|
982
|
-
* @param {string} [after]
|
|
983
|
-
* @param {number} [limit]
|
|
982
|
+
* @param {string} [after] Raw action cursor from the preceding response\'s nextCursor.
|
|
983
|
+
* @param {number} [limit] Raw action page budget. The last turn is read in full before coalescing; use hasMore and nextCursor rather than the returned item count.
|
|
984
984
|
* @param {*} [options] Override http request option.
|
|
985
985
|
* @throws {RequiredError}
|
|
986
986
|
*/
|
|
@@ -1679,14 +1679,14 @@ export interface AIAgentApiListAIAgentTurnActionsRequest {
|
|
|
1679
1679
|
readonly turnId?: string
|
|
1680
1680
|
|
|
1681
1681
|
/**
|
|
1682
|
-
*
|
|
1682
|
+
* Raw action cursor from the preceding response\'s nextCursor.
|
|
1683
1683
|
* @type {string}
|
|
1684
1684
|
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1685
1685
|
*/
|
|
1686
1686
|
readonly after?: string
|
|
1687
1687
|
|
|
1688
1688
|
/**
|
|
1689
|
-
*
|
|
1689
|
+
* Raw action page budget. The last turn is read in full before coalescing; use hasMore and nextCursor rather than the returned item count.
|
|
1690
1690
|
* @type {number}
|
|
1691
1691
|
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1692
1692
|
*/
|