kb-cloud-client-typescript 2.3.50 → 2.3.52
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/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/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.yaml +131 -0
- 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.yaml +131 -0
package/src/openapi.yaml
CHANGED
|
@@ -9740,6 +9740,124 @@ paths:
|
|
|
9740
9740
|
$ref: '#/components/responses/403'
|
|
9741
9741
|
'404':
|
|
9742
9742
|
$ref: '#/components/responses/404'
|
|
9743
|
+
/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules:
|
|
9744
|
+
get:
|
|
9745
|
+
tags:
|
|
9746
|
+
- alertRule
|
|
9747
|
+
- shared
|
|
9748
|
+
operationId: listResourceAlertRules
|
|
9749
|
+
summary: List applicable alert rules for a resource
|
|
9750
|
+
parameters:
|
|
9751
|
+
- name: orgName
|
|
9752
|
+
in: path
|
|
9753
|
+
description: name of the Org
|
|
9754
|
+
required: true
|
|
9755
|
+
schema:
|
|
9756
|
+
type: string
|
|
9757
|
+
- name: resourceType
|
|
9758
|
+
in: path
|
|
9759
|
+
description: resourceType
|
|
9760
|
+
required: true
|
|
9761
|
+
schema:
|
|
9762
|
+
$ref: '#/components/schemas/alertResourceType'
|
|
9763
|
+
- name: resourceID
|
|
9764
|
+
in: path
|
|
9765
|
+
required: true
|
|
9766
|
+
schema:
|
|
9767
|
+
type: string
|
|
9768
|
+
responses:
|
|
9769
|
+
'200':
|
|
9770
|
+
description: A successful response.
|
|
9771
|
+
content:
|
|
9772
|
+
application/json:
|
|
9773
|
+
schema:
|
|
9774
|
+
$ref: '#/components/schemas/alertRuleList'
|
|
9775
|
+
'401':
|
|
9776
|
+
$ref: '#/components/responses/401'
|
|
9777
|
+
'403':
|
|
9778
|
+
$ref: '#/components/responses/403'
|
|
9779
|
+
'404':
|
|
9780
|
+
$ref: '#/components/responses/404'
|
|
9781
|
+
/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}:
|
|
9782
|
+
get:
|
|
9783
|
+
tags:
|
|
9784
|
+
- alertRule
|
|
9785
|
+
- shared
|
|
9786
|
+
operationId: getResourceAlertDisabled
|
|
9787
|
+
summary: Get resource alert settings
|
|
9788
|
+
parameters:
|
|
9789
|
+
- name: orgName
|
|
9790
|
+
in: path
|
|
9791
|
+
description: name of the Org
|
|
9792
|
+
required: true
|
|
9793
|
+
schema:
|
|
9794
|
+
type: string
|
|
9795
|
+
- name: resourceType
|
|
9796
|
+
in: path
|
|
9797
|
+
description: resourceType
|
|
9798
|
+
required: true
|
|
9799
|
+
schema:
|
|
9800
|
+
$ref: '#/components/schemas/alertResourceType'
|
|
9801
|
+
- name: resourceID
|
|
9802
|
+
in: path
|
|
9803
|
+
required: true
|
|
9804
|
+
schema:
|
|
9805
|
+
type: string
|
|
9806
|
+
responses:
|
|
9807
|
+
'200':
|
|
9808
|
+
description: A successful response.
|
|
9809
|
+
content:
|
|
9810
|
+
application/json:
|
|
9811
|
+
schema:
|
|
9812
|
+
$ref: '#/components/schemas/alertCluster'
|
|
9813
|
+
'401':
|
|
9814
|
+
$ref: '#/components/responses/401'
|
|
9815
|
+
'403':
|
|
9816
|
+
$ref: '#/components/responses/403'
|
|
9817
|
+
'404':
|
|
9818
|
+
$ref: '#/components/responses/404'
|
|
9819
|
+
patch:
|
|
9820
|
+
tags:
|
|
9821
|
+
- alertRule
|
|
9822
|
+
- shared
|
|
9823
|
+
operationId: setResourceAlertDisabled
|
|
9824
|
+
summary: Update resource alert settings
|
|
9825
|
+
parameters:
|
|
9826
|
+
- name: orgName
|
|
9827
|
+
in: path
|
|
9828
|
+
description: name of the Org
|
|
9829
|
+
required: true
|
|
9830
|
+
schema:
|
|
9831
|
+
type: string
|
|
9832
|
+
- name: resourceType
|
|
9833
|
+
in: path
|
|
9834
|
+
description: resourceType
|
|
9835
|
+
required: true
|
|
9836
|
+
schema:
|
|
9837
|
+
$ref: '#/components/schemas/alertResourceType'
|
|
9838
|
+
- name: resourceID
|
|
9839
|
+
in: path
|
|
9840
|
+
required: true
|
|
9841
|
+
schema:
|
|
9842
|
+
type: string
|
|
9843
|
+
requestBody:
|
|
9844
|
+
content:
|
|
9845
|
+
application/json:
|
|
9846
|
+
schema:
|
|
9847
|
+
$ref: '#/components/schemas/alertCluster'
|
|
9848
|
+
responses:
|
|
9849
|
+
'200':
|
|
9850
|
+
description: A successful response.
|
|
9851
|
+
content:
|
|
9852
|
+
application/json:
|
|
9853
|
+
schema:
|
|
9854
|
+
$ref: '#/components/schemas/alertCluster'
|
|
9855
|
+
'401':
|
|
9856
|
+
$ref: '#/components/responses/401'
|
|
9857
|
+
'403':
|
|
9858
|
+
$ref: '#/components/responses/403'
|
|
9859
|
+
'404':
|
|
9860
|
+
$ref: '#/components/responses/404'
|
|
9743
9861
|
/api/v1/organizations/{orgName}/alerts/config:
|
|
9744
9862
|
get:
|
|
9745
9863
|
tags:
|
|
@@ -20827,11 +20945,13 @@ paths:
|
|
|
20827
20945
|
type: string
|
|
20828
20946
|
- name: after
|
|
20829
20947
|
in: query
|
|
20948
|
+
description: Raw action cursor from the preceding response's nextCursor.
|
|
20830
20949
|
required: false
|
|
20831
20950
|
schema:
|
|
20832
20951
|
type: string
|
|
20833
20952
|
- name: limit
|
|
20834
20953
|
in: query
|
|
20954
|
+
description: Raw action page budget. The last turn is read in full before coalescing; use hasMore and nextCursor rather than the returned item count.
|
|
20835
20955
|
required: false
|
|
20836
20956
|
schema:
|
|
20837
20957
|
type: integer
|
|
@@ -32901,6 +33021,11 @@ components:
|
|
|
32901
33021
|
type: boolean
|
|
32902
33022
|
readOnly: true
|
|
32903
33023
|
description: Whether the configured silence window is active now, regardless of the alert master switch.
|
|
33024
|
+
alertResourceType:
|
|
33025
|
+
type: string
|
|
33026
|
+
enum:
|
|
33027
|
+
- cluster
|
|
33028
|
+
- channel
|
|
32904
33029
|
alertConfig:
|
|
32905
33030
|
required:
|
|
32906
33031
|
- timeZoneOffset
|
|
@@ -40766,6 +40891,12 @@ components:
|
|
|
40766
40891
|
type: array
|
|
40767
40892
|
items:
|
|
40768
40893
|
$ref: '#/components/schemas/aiAgentTurnAction'
|
|
40894
|
+
nextCursor:
|
|
40895
|
+
type: string
|
|
40896
|
+
description: Raw action cursor for the next page; independent of coalesced item IDs and timestamps.
|
|
40897
|
+
hasMore:
|
|
40898
|
+
type: boolean
|
|
40899
|
+
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.
|
|
40769
40900
|
aiAgentEvent:
|
|
40770
40901
|
type: object
|
|
40771
40902
|
required:
|