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.
Files changed (57) hide show
  1. package/dist/adminapi/apis/aiagent-api.d.ts +6 -6
  2. package/dist/adminapi/apis/aiagent-api.js +4 -4
  3. package/dist/adminapi/apis/alert-rule-api.d.ts +223 -0
  4. package/dist/adminapi/apis/alert-rule-api.d.ts.map +1 -1
  5. package/dist/adminapi/apis/alert-rule-api.js +241 -0
  6. package/dist/adminapi/apis/alert-rule-api.js.map +1 -1
  7. package/dist/adminapi/apis/shared-api.d.ts +222 -0
  8. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/shared-api.js +241 -0
  10. package/dist/adminapi/apis/shared-api.js.map +1 -1
  11. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +12 -0
  12. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  13. package/dist/adminapi/models/alert-resource-type.d.ts +22 -0
  14. package/dist/adminapi/models/alert-resource-type.d.ts.map +1 -0
  15. package/dist/adminapi/models/alert-resource-type.js +26 -0
  16. package/dist/adminapi/models/alert-resource-type.js.map +1 -0
  17. package/dist/adminapi/models/index.d.ts +1 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +1 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/openapi/apis/aiagent-api.d.ts +6 -6
  22. package/dist/openapi/apis/aiagent-api.js +4 -4
  23. package/dist/openapi/apis/alert-rule-api.d.ts +223 -0
  24. package/dist/openapi/apis/alert-rule-api.d.ts.map +1 -1
  25. package/dist/openapi/apis/alert-rule-api.js +241 -0
  26. package/dist/openapi/apis/alert-rule-api.js.map +1 -1
  27. package/dist/openapi/apis/shared-api.d.ts +222 -0
  28. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  29. package/dist/openapi/apis/shared-api.js +241 -0
  30. package/dist/openapi/apis/shared-api.js.map +1 -1
  31. package/dist/openapi/models/ai-agent-turn-action-list.d.ts +12 -0
  32. package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  33. package/dist/openapi/models/alert-resource-type.d.ts +22 -0
  34. package/dist/openapi/models/alert-resource-type.d.ts.map +1 -0
  35. package/dist/openapi/models/alert-resource-type.js +26 -0
  36. package/dist/openapi/models/alert-resource-type.js.map +1 -0
  37. package/dist/openapi/models/index.d.ts +1 -0
  38. package/dist/openapi/models/index.d.ts.map +1 -1
  39. package/dist/openapi/models/index.js +1 -0
  40. package/dist/openapi/models/index.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/adminapi/.openapi-generator/FILES +1 -0
  43. package/src/adminapi/apis/aiagent-api.ts +6 -6
  44. package/src/adminapi/apis/alert-rule-api.ts +388 -0
  45. package/src/adminapi/apis/shared-api.ts +386 -0
  46. package/src/adminapi/models/ai-agent-turn-action-list.ts +12 -0
  47. package/src/adminapi/models/alert-resource-type.ts +31 -0
  48. package/src/adminapi/models/index.ts +1 -0
  49. package/src/adminapi.yaml +131 -0
  50. package/src/openapi/.openapi-generator/FILES +1 -0
  51. package/src/openapi/apis/aiagent-api.ts +6 -6
  52. package/src/openapi/apis/alert-rule-api.ts +388 -0
  53. package/src/openapi/apis/shared-api.ts +386 -0
  54. package/src/openapi/models/ai-agent-turn-action-list.ts +12 -0
  55. package/src/openapi/models/alert-resource-type.ts +31 -0
  56. package/src/openapi/models/index.ts +1 -0
  57. package/src/openapi.yaml +131 -0
package/src/adminapi.yaml CHANGED
@@ -1775,11 +1775,13 @@ paths:
1775
1775
  type: string
1776
1776
  - name: after
1777
1777
  in: query
1778
+ description: Raw action cursor from the preceding response's nextCursor.
1778
1779
  required: false
1779
1780
  schema:
1780
1781
  type: string
1781
1782
  - name: limit
1782
1783
  in: query
1784
+ description: Raw action page budget. The last turn is read in full before coalescing; use hasMore and nextCursor rather than the returned item count.
1783
1785
  required: false
1784
1786
  schema:
1785
1787
  type: integer
@@ -14134,6 +14136,124 @@ paths:
14134
14136
  $ref: '#/components/responses/403'
14135
14137
  '404':
14136
14138
  $ref: '#/components/responses/404'
14139
+ /admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules:
14140
+ get:
14141
+ tags:
14142
+ - alertRule
14143
+ - shared
14144
+ operationId: listResourceAlertRules
14145
+ summary: List applicable alert rules for a resource
14146
+ parameters:
14147
+ - name: orgName
14148
+ in: path
14149
+ description: name of the Org
14150
+ required: true
14151
+ schema:
14152
+ type: string
14153
+ - name: resourceType
14154
+ in: path
14155
+ description: resourceType
14156
+ required: true
14157
+ schema:
14158
+ $ref: '#/components/schemas/alertResourceType'
14159
+ - name: resourceID
14160
+ in: path
14161
+ required: true
14162
+ schema:
14163
+ type: string
14164
+ responses:
14165
+ '200':
14166
+ description: A successful response.
14167
+ content:
14168
+ application/json:
14169
+ schema:
14170
+ $ref: '#/components/schemas/alertRuleList'
14171
+ '401':
14172
+ $ref: '#/components/responses/401'
14173
+ '403':
14174
+ $ref: '#/components/responses/403'
14175
+ '404':
14176
+ $ref: '#/components/responses/404'
14177
+ /admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}:
14178
+ get:
14179
+ tags:
14180
+ - alertRule
14181
+ - shared
14182
+ operationId: getResourceAlertDisabled
14183
+ summary: Get resource alert settings
14184
+ parameters:
14185
+ - name: orgName
14186
+ in: path
14187
+ description: name of the Org
14188
+ required: true
14189
+ schema:
14190
+ type: string
14191
+ - name: resourceType
14192
+ in: path
14193
+ description: resourceType
14194
+ required: true
14195
+ schema:
14196
+ $ref: '#/components/schemas/alertResourceType'
14197
+ - name: resourceID
14198
+ in: path
14199
+ required: true
14200
+ schema:
14201
+ type: string
14202
+ responses:
14203
+ '200':
14204
+ description: A successful response.
14205
+ content:
14206
+ application/json:
14207
+ schema:
14208
+ $ref: '#/components/schemas/alertCluster'
14209
+ '401':
14210
+ $ref: '#/components/responses/401'
14211
+ '403':
14212
+ $ref: '#/components/responses/403'
14213
+ '404':
14214
+ $ref: '#/components/responses/404'
14215
+ patch:
14216
+ tags:
14217
+ - alertRule
14218
+ - shared
14219
+ operationId: setResourceAlertDisabled
14220
+ summary: Update resource alert settings
14221
+ parameters:
14222
+ - name: orgName
14223
+ in: path
14224
+ description: name of the Org
14225
+ required: true
14226
+ schema:
14227
+ type: string
14228
+ - name: resourceType
14229
+ in: path
14230
+ description: resourceType
14231
+ required: true
14232
+ schema:
14233
+ $ref: '#/components/schemas/alertResourceType'
14234
+ - name: resourceID
14235
+ in: path
14236
+ required: true
14237
+ schema:
14238
+ type: string
14239
+ requestBody:
14240
+ content:
14241
+ application/json:
14242
+ schema:
14243
+ $ref: '#/components/schemas/alertCluster'
14244
+ responses:
14245
+ '200':
14246
+ description: A successful response.
14247
+ content:
14248
+ application/json:
14249
+ schema:
14250
+ $ref: '#/components/schemas/alertCluster'
14251
+ '401':
14252
+ $ref: '#/components/responses/401'
14253
+ '403':
14254
+ $ref: '#/components/responses/403'
14255
+ '404':
14256
+ $ref: '#/components/responses/404'
14137
14257
  /admin/v1/alerts/checkURL:
14138
14258
  post:
14139
14259
  summary: Batch check URLs connectivity
@@ -29716,6 +29836,12 @@ components:
29716
29836
  type: array
29717
29837
  items:
29718
29838
  $ref: '#/components/schemas/aiAgentTurnAction'
29839
+ nextCursor:
29840
+ type: string
29841
+ description: Raw action cursor for the next page; independent of coalesced item IDs and timestamps.
29842
+ hasMore:
29843
+ type: boolean
29844
+ 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.
29719
29845
  aiAgentEvent:
29720
29846
  type: object
29721
29847
  required:
@@ -39329,6 +39455,11 @@ components:
39329
39455
  type: boolean
39330
39456
  readOnly: true
39331
39457
  description: Whether the configured silence window is active now, regardless of the alert master switch.
39458
+ alertResourceType:
39459
+ type: string
39460
+ enum:
39461
+ - cluster
39462
+ - channel
39332
39463
  URLCheck:
39333
39464
  type: object
39334
39465
  required:
@@ -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
  */