kb-cloud-client-typescript 2.4.0-alpha.65 → 2.4.0-alpha.66

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/src/adminapi.yaml CHANGED
@@ -116,7 +116,7 @@ paths:
116
116
  '404':
117
117
  $ref: '#/components/responses/404'
118
118
  '409':
119
- $ref: '#/components/responses/400'
119
+ $ref: '#/components/responses/409'
120
120
  '500':
121
121
  $ref: '#/components/responses/500'
122
122
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars:
@@ -159,7 +159,7 @@ paths:
159
159
  '404':
160
160
  $ref: '#/components/responses/404'
161
161
  '409':
162
- $ref: '#/components/responses/400'
162
+ $ref: '#/components/responses/409'
163
163
  '500':
164
164
  $ref: '#/components/responses/500'
165
165
  post:
@@ -208,9 +208,9 @@ paths:
208
208
  '404':
209
209
  $ref: '#/components/responses/404'
210
210
  '409':
211
- $ref: '#/components/responses/400'
211
+ $ref: '#/components/responses/409'
212
212
  '413':
213
- description: Upload exceeds the configured size limit
213
+ $ref: '#/components/responses/413'
214
214
  '500':
215
215
  $ref: '#/components/responses/500'
216
216
  requestBody:
@@ -274,7 +274,7 @@ paths:
274
274
  '404':
275
275
  $ref: '#/components/responses/404'
276
276
  '409':
277
- $ref: '#/components/responses/400'
277
+ $ref: '#/components/responses/409'
278
278
  '500':
279
279
  $ref: '#/components/responses/500'
280
280
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download:
@@ -323,7 +323,7 @@ paths:
323
323
  '404':
324
324
  $ref: '#/components/responses/404'
325
325
  '409':
326
- $ref: '#/components/responses/400'
326
+ $ref: '#/components/responses/409'
327
327
  '500':
328
328
  $ref: '#/components/responses/500'
329
329
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute:
@@ -371,7 +371,7 @@ paths:
371
371
  '404':
372
372
  $ref: '#/components/responses/404'
373
373
  '409':
374
- $ref: '#/components/responses/400'
374
+ $ref: '#/components/responses/409'
375
375
  '500':
376
376
  $ref: '#/components/responses/500'
377
377
  requestBody:
@@ -425,7 +425,7 @@ paths:
425
425
  '404':
426
426
  $ref: '#/components/responses/404'
427
427
  '409':
428
- $ref: '#/components/responses/400'
428
+ $ref: '#/components/responses/409'
429
429
  '500':
430
430
  $ref: '#/components/responses/500'
431
431
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive:
@@ -469,7 +469,7 @@ paths:
469
469
  '404':
470
470
  $ref: '#/components/responses/404'
471
471
  '409':
472
- $ref: '#/components/responses/400'
472
+ $ref: '#/components/responses/409'
473
473
  '500':
474
474
  $ref: '#/components/responses/500'
475
475
  /admin/v1/user:
@@ -4622,13 +4622,20 @@ paths:
4622
4622
  post:
4623
4623
  operationId: createParameterTemplate
4624
4624
  summary: Create parameter template
4625
+ description: Create a parameter template in the target organization from an existing template. To copy a custom template from another organization, specify oriOrgName and provide a new name. Cross-organization creation only supports non-private custom source templates. The created template is always non-private; any isPrivate value in the request body is ignored.
4625
4626
  parameters:
4626
- - description: name of the Org
4627
+ - description: Name of the target organization
4627
4628
  in: query
4628
4629
  name: orgName
4629
4630
  required: true
4630
4631
  schema:
4631
4632
  type: string
4633
+ - description: 'Name of the source organization. When omitted, empty, or equal to orgName, existing creation behavior is preserved: custom templates are read from the target organization and default templates from the system organization. A different source organization requires oriPartition to be custom and name to differ from oriName. Both organizations must be active. The source may be the system organization, but the target must not be the system organization. A non-empty value containing only whitespace is invalid.'
4634
+ in: query
4635
+ name: oriOrgName
4636
+ required: false
4637
+ schema:
4638
+ type: string
4632
4639
  requestBody:
4633
4640
  content:
4634
4641
  application/json:
@@ -4642,12 +4649,16 @@ paths:
4642
4649
  schema:
4643
4650
  $ref: '#/components/schemas/paramTplListItem'
4644
4651
  description: create parameter template successfully
4652
+ '400':
4653
+ $ref: '#/components/responses/400'
4645
4654
  '401':
4646
4655
  $ref: '#/components/responses/401'
4647
4656
  '403':
4648
4657
  $ref: '#/components/responses/403'
4649
4658
  '404':
4650
4659
  $ref: '#/components/responses/404'
4660
+ '409':
4661
+ $ref: '#/components/responses/409'
4651
4662
  tags:
4652
4663
  - parameterTemplate
4653
4664
  x-codegen-request-body-name: body
@@ -10074,6 +10085,58 @@ paths:
10074
10085
  $ref: '#/components/responses/403'
10075
10086
  '404':
10076
10087
  $ref: '#/components/responses/404'
10088
+ /admin/v1/environments/{environmentName}/resources/{resourceName}:
10089
+ get:
10090
+ operationId: getEnvironmentResource
10091
+ summary: Get a live Kubernetes resource
10092
+ description: Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
10093
+ tags:
10094
+ - environment
10095
+ parameters:
10096
+ - in: path
10097
+ name: environmentName
10098
+ required: true
10099
+ schema:
10100
+ type: string
10101
+ - in: path
10102
+ name: resourceName
10103
+ required: true
10104
+ schema:
10105
+ type: string
10106
+ - in: query
10107
+ name: apiVersion
10108
+ description: Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
10109
+ required: true
10110
+ schema:
10111
+ type: string
10112
+ - in: query
10113
+ name: kind
10114
+ description: Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
10115
+ required: true
10116
+ schema:
10117
+ type: string
10118
+ - in: query
10119
+ name: namespace
10120
+ description: Required for namespaced kinds; must be omitted for cluster-scoped kinds.
10121
+ schema:
10122
+ type: string
10123
+ responses:
10124
+ '200':
10125
+ description: The live Kubernetes resource, including metadata, spec and status when present.
10126
+ content:
10127
+ application/json:
10128
+ schema:
10129
+ $ref: '#/components/schemas/jsonBody'
10130
+ '400':
10131
+ $ref: '#/components/responses/400'
10132
+ '401':
10133
+ $ref: '#/components/responses/401'
10134
+ '403':
10135
+ $ref: '#/components/responses/403'
10136
+ '404':
10137
+ $ref: '#/components/responses/404'
10138
+ '500':
10139
+ $ref: '#/components/responses/500'
10077
10140
  /admin/v1/environments:
10078
10141
  get:
10079
10142
  operationId: listEnvironment
@@ -16557,7 +16620,7 @@ paths:
16557
16620
  description: Inspection tasks created and accepted for asynchronous execution.
16558
16621
  content: {}
16559
16622
  '400':
16560
- description: Invalid request, invalid cluster selection, or no eligible clusters.
16623
+ $ref: '#/components/responses/400'
16561
16624
  '401':
16562
16625
  $ref: '#/components/responses/401'
16563
16626
  '403':
@@ -22654,7 +22717,7 @@ paths:
22654
22717
  $ref: '#/components/schemas/accountList'
22655
22718
  description: Success
22656
22719
  '400':
22657
- description: Invalid request
22720
+ $ref: '#/components/responses/400'
22658
22721
  '401':
22659
22722
  $ref: '#/components/responses/401'
22660
22723
  '403':
@@ -22662,9 +22725,9 @@ paths:
22662
22725
  '404':
22663
22726
  $ref: '#/components/responses/404'
22664
22727
  '409':
22665
- description: Resource conflict or policy in use
22728
+ $ref: '#/components/responses/409'
22666
22729
  '503':
22667
- description: IAM unavailable; mutation outcome may be unknown
22730
+ $ref: '#/components/responses/503'
22668
22731
  tags:
22669
22732
  - account
22670
22733
  - seaweedfs
@@ -22701,7 +22764,7 @@ paths:
22701
22764
  schema:
22702
22765
  $ref: '#/components/schemas/account'
22703
22766
  '400':
22704
- description: Invalid request
22767
+ $ref: '#/components/responses/400'
22705
22768
  '401':
22706
22769
  $ref: '#/components/responses/401'
22707
22770
  '403':
@@ -22709,9 +22772,9 @@ paths:
22709
22772
  '404':
22710
22773
  $ref: '#/components/responses/404'
22711
22774
  '409':
22712
- description: Resource conflict or policy in use
22775
+ $ref: '#/components/responses/409'
22713
22776
  '503':
22714
- description: IAM unavailable; mutation outcome may be unknown
22777
+ $ref: '#/components/responses/503'
22715
22778
  tags:
22716
22779
  - account
22717
22780
  - seaweedfs
@@ -22746,7 +22809,7 @@ paths:
22746
22809
  content: {}
22747
22810
  description: Identity deleted
22748
22811
  '400':
22749
- description: Invalid request
22812
+ $ref: '#/components/responses/400'
22750
22813
  '401':
22751
22814
  $ref: '#/components/responses/401'
22752
22815
  '403':
@@ -22754,9 +22817,9 @@ paths:
22754
22817
  '404':
22755
22818
  $ref: '#/components/responses/404'
22756
22819
  '409':
22757
- description: Resource conflict or policy in use
22820
+ $ref: '#/components/responses/409'
22758
22821
  '503':
22759
- description: IAM unavailable; mutation outcome may be unknown
22822
+ $ref: '#/components/responses/503'
22760
22823
  tags:
22761
22824
  - account
22762
22825
  - seaweedfs
@@ -22798,7 +22861,7 @@ paths:
22798
22861
  schema:
22799
22862
  $ref: '#/components/schemas/account'
22800
22863
  '400':
22801
- description: Invalid request
22864
+ $ref: '#/components/responses/400'
22802
22865
  '401':
22803
22866
  $ref: '#/components/responses/401'
22804
22867
  '403':
@@ -22806,9 +22869,9 @@ paths:
22806
22869
  '404':
22807
22870
  $ref: '#/components/responses/404'
22808
22871
  '409':
22809
- description: Resource conflict or policy in use
22872
+ $ref: '#/components/responses/409'
22810
22873
  '503':
22811
- description: IAM unavailable; mutation outcome may be unknown
22874
+ $ref: '#/components/responses/503'
22812
22875
  tags:
22813
22876
  - account
22814
22877
  - seaweedfs
@@ -22897,7 +22960,7 @@ paths:
22897
22960
  required: true
22898
22961
  responses:
22899
22962
  '400':
22900
- description: SeaweedFS uses the named policy binding API
22963
+ $ref: '#/components/responses/400'
22901
22964
  tags:
22902
22965
  - account
22903
22966
  - seaweedfs
@@ -22946,17 +23009,17 @@ paths:
22946
23009
  type: object
22947
23010
  additionalProperties: true
22948
23011
  '400':
22949
- description: Invalid request
23012
+ $ref: '#/components/responses/400'
22950
23013
  '401':
22951
- description: Unauthenticated
23014
+ $ref: '#/components/responses/401'
22952
23015
  '403':
22953
- description: Permission denied or protected identity
23016
+ $ref: '#/components/responses/403'
22954
23017
  '404':
22955
- description: Resource not found
23018
+ $ref: '#/components/responses/404'
22956
23019
  '409':
22957
- description: Resource conflict or policy in use
23020
+ $ref: '#/components/responses/409'
22958
23021
  '503':
22959
- description: IAM unavailable; mutation outcome may be unknown
23022
+ $ref: '#/components/responses/503'
22960
23023
  /admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
22961
23024
  put:
22962
23025
  summary: putSeaweedFSPolicy
@@ -22985,17 +23048,17 @@ paths:
22985
23048
  '204':
22986
23049
  description: Successful response
22987
23050
  '400':
22988
- description: Invalid request
23051
+ $ref: '#/components/responses/400'
22989
23052
  '401':
22990
- description: Unauthenticated
23053
+ $ref: '#/components/responses/401'
22991
23054
  '403':
22992
- description: Permission denied or protected identity
23055
+ $ref: '#/components/responses/403'
22993
23056
  '404':
22994
- description: Resource not found
23057
+ $ref: '#/components/responses/404'
22995
23058
  '409':
22996
- description: Resource conflict or policy in use
23059
+ $ref: '#/components/responses/409'
22997
23060
  '503':
22998
- description: IAM unavailable; mutation outcome may be unknown
23061
+ $ref: '#/components/responses/503'
22999
23062
  requestBody:
23000
23063
  required: true
23001
23064
  content:
@@ -23031,17 +23094,17 @@ paths:
23031
23094
  '204':
23032
23095
  description: Successful response
23033
23096
  '400':
23034
- description: Invalid request
23097
+ $ref: '#/components/responses/400'
23035
23098
  '401':
23036
- description: Unauthenticated
23099
+ $ref: '#/components/responses/401'
23037
23100
  '403':
23038
- description: Permission denied or protected identity
23101
+ $ref: '#/components/responses/403'
23039
23102
  '404':
23040
- description: Resource not found
23103
+ $ref: '#/components/responses/404'
23041
23104
  '409':
23042
- description: Resource conflict or policy in use
23105
+ $ref: '#/components/responses/409'
23043
23106
  '503':
23044
- description: IAM unavailable; mutation outcome may be unknown
23107
+ $ref: '#/components/responses/503'
23045
23108
  description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
23046
23109
  /admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
23047
23110
  put:
@@ -23071,17 +23134,17 @@ paths:
23071
23134
  '204':
23072
23135
  description: Successful response
23073
23136
  '400':
23074
- description: Invalid request
23137
+ $ref: '#/components/responses/400'
23075
23138
  '401':
23076
- description: Unauthenticated
23139
+ $ref: '#/components/responses/401'
23077
23140
  '403':
23078
- description: Permission denied or protected identity
23141
+ $ref: '#/components/responses/403'
23079
23142
  '404':
23080
- description: Resource not found
23143
+ $ref: '#/components/responses/404'
23081
23144
  '409':
23082
- description: Resource conflict or policy in use
23145
+ $ref: '#/components/responses/409'
23083
23146
  '503':
23084
- description: IAM unavailable; mutation outcome may be unknown
23147
+ $ref: '#/components/responses/503'
23085
23148
  requestBody:
23086
23149
  required: true
23087
23150
  content:
@@ -23128,17 +23191,17 @@ paths:
23128
23191
  schema:
23129
23192
  $ref: '#/components/schemas/account'
23130
23193
  '400':
23131
- description: Invalid request
23194
+ $ref: '#/components/responses/400'
23132
23195
  '401':
23133
- description: Unauthenticated
23196
+ $ref: '#/components/responses/401'
23134
23197
  '403':
23135
- description: Permission denied or protected identity
23198
+ $ref: '#/components/responses/403'
23136
23199
  '404':
23137
- description: Resource not found
23200
+ $ref: '#/components/responses/404'
23138
23201
  '409':
23139
- description: Resource conflict or policy in use
23202
+ $ref: '#/components/responses/409'
23140
23203
  '503':
23141
- description: IAM unavailable; mutation outcome may be unknown
23204
+ $ref: '#/components/responses/503'
23142
23205
  requestBody:
23143
23206
  required: true
23144
23207
  content:
@@ -23179,17 +23242,17 @@ paths:
23179
23242
  '204':
23180
23243
  description: Successful response
23181
23244
  '400':
23182
- description: Invalid request
23245
+ $ref: '#/components/responses/400'
23183
23246
  '401':
23184
- description: Unauthenticated
23247
+ $ref: '#/components/responses/401'
23185
23248
  '403':
23186
- description: Permission denied or protected identity
23249
+ $ref: '#/components/responses/403'
23187
23250
  '404':
23188
- description: Resource not found
23251
+ $ref: '#/components/responses/404'
23189
23252
  '409':
23190
- description: Resource conflict or policy in use
23253
+ $ref: '#/components/responses/409'
23191
23254
  '503':
23192
- description: IAM unavailable; mutation outcome may be unknown
23255
+ $ref: '#/components/responses/503'
23193
23256
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
23194
23257
  get:
23195
23258
  description: list accounts in cluster
@@ -35867,6 +35930,11 @@ components:
35867
35930
  required:
35868
35931
  - serviceName
35869
35932
  - serviceNamespace
35933
+ jsonBody:
35934
+ description: Represents a JSON body.
35935
+ properties: {}
35936
+ additionalProperties: true
35937
+ type: object
35870
35938
  logBackendType:
35871
35939
  type: string
35872
35940
  description: Log query backend configured for this environment.
@@ -36902,11 +36970,6 @@ components:
36902
36970
  - items
36903
36971
  - updatedAt
36904
36972
  type: object
36905
- jsonBody:
36906
- description: Represents a JSON body.
36907
- properties: {}
36908
- additionalProperties: true
36909
- type: object
36910
36973
  instanceResourceStatsType:
36911
36974
  description: Type of the instance, choose cluster, system, or other
36912
36975
  enum:
@@ -41486,7 +41549,13 @@ components:
41486
41549
  modifierEmail:
41487
41550
  type: string
41488
41551
  option:
41489
- $ref: '#/components/schemas/engineOption'
41552
+ description: |
41553
+ Engine option document stored when this history row was written.
41554
+ This is a point-in-time snapshot, not the current engineOption
41555
+ create/update contract. Nested fields such as endpoints.protocol
41556
+ may be absent on older rows.
41557
+ type: object
41558
+ additionalProperties: true
41490
41559
  createdAt:
41491
41560
  type: string
41492
41561
  format: date-time
@@ -50353,6 +50422,12 @@ components:
50353
50422
  schema:
50354
50423
  $ref: '#/components/schemas/APIErrorResponse'
50355
50424
  description: Conflict
50425
+ '413':
50426
+ content:
50427
+ application/json:
50428
+ schema:
50429
+ $ref: '#/components/schemas/APIErrorResponse'
50430
+ description: Payload Too Large
50356
50431
  '429':
50357
50432
  content:
50358
50433
  application/json:
@@ -705,11 +705,9 @@ paths:
705
705
  content: {}
706
706
  description: Returned when project is deleted successfully.
707
707
  '401':
708
- content: {}
709
- description: Unauthorized
708
+ $ref: '#/components/responses/401'
710
709
  '403':
711
- content: {}
712
- description: Forbidden
710
+ $ref: '#/components/responses/403'
713
711
  tags:
714
712
  - environment
715
713
  /internal/v1/status: