kb-cloud-client-typescript 2.3.31-beta.0 → 2.3.31

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:
@@ -4650,13 +4650,20 @@ paths:
4650
4650
  post:
4651
4651
  operationId: createParameterTemplate
4652
4652
  summary: Create parameter template
4653
+ 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.
4653
4654
  parameters:
4654
- - description: name of the Org
4655
+ - description: Name of the target organization
4655
4656
  in: query
4656
4657
  name: orgName
4657
4658
  required: true
4658
4659
  schema:
4659
4660
  type: string
4661
+ - 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.'
4662
+ in: query
4663
+ name: oriOrgName
4664
+ required: false
4665
+ schema:
4666
+ type: string
4660
4667
  requestBody:
4661
4668
  content:
4662
4669
  application/json:
@@ -4670,12 +4677,16 @@ paths:
4670
4677
  schema:
4671
4678
  $ref: '#/components/schemas/paramTplListItem'
4672
4679
  description: create parameter template successfully
4680
+ '400':
4681
+ $ref: '#/components/responses/400'
4673
4682
  '401':
4674
4683
  $ref: '#/components/responses/401'
4675
4684
  '403':
4676
4685
  $ref: '#/components/responses/403'
4677
4686
  '404':
4678
4687
  $ref: '#/components/responses/404'
4688
+ '409':
4689
+ $ref: '#/components/responses/409'
4679
4690
  tags:
4680
4691
  - parameterTemplate
4681
4692
  x-codegen-request-body-name: body
@@ -10102,6 +10113,58 @@ paths:
10102
10113
  $ref: '#/components/responses/403'
10103
10114
  '404':
10104
10115
  $ref: '#/components/responses/404'
10116
+ /admin/v1/environments/{environmentName}/resources/{resourceName}:
10117
+ get:
10118
+ operationId: getEnvironmentResource
10119
+ summary: Get a live Kubernetes resource
10120
+ 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.
10121
+ tags:
10122
+ - environment
10123
+ parameters:
10124
+ - in: path
10125
+ name: environmentName
10126
+ required: true
10127
+ schema:
10128
+ type: string
10129
+ - in: path
10130
+ name: resourceName
10131
+ required: true
10132
+ schema:
10133
+ type: string
10134
+ - in: query
10135
+ name: apiVersion
10136
+ description: Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
10137
+ required: true
10138
+ schema:
10139
+ type: string
10140
+ - in: query
10141
+ name: kind
10142
+ description: Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
10143
+ required: true
10144
+ schema:
10145
+ type: string
10146
+ - in: query
10147
+ name: namespace
10148
+ description: Required for namespaced kinds; must be omitted for cluster-scoped kinds.
10149
+ schema:
10150
+ type: string
10151
+ responses:
10152
+ '200':
10153
+ description: The live Kubernetes resource, including metadata, spec and status when present.
10154
+ content:
10155
+ application/json:
10156
+ schema:
10157
+ $ref: '#/components/schemas/jsonBody'
10158
+ '400':
10159
+ $ref: '#/components/responses/400'
10160
+ '401':
10161
+ $ref: '#/components/responses/401'
10162
+ '403':
10163
+ $ref: '#/components/responses/403'
10164
+ '404':
10165
+ $ref: '#/components/responses/404'
10166
+ '500':
10167
+ $ref: '#/components/responses/500'
10105
10168
  /admin/v1/environments:
10106
10169
  get:
10107
10170
  operationId: listEnvironment
@@ -16585,7 +16648,7 @@ paths:
16585
16648
  description: Inspection tasks created and accepted for asynchronous execution.
16586
16649
  content: {}
16587
16650
  '400':
16588
- description: Invalid request, invalid cluster selection, or no eligible clusters.
16651
+ $ref: '#/components/responses/400'
16589
16652
  '401':
16590
16653
  $ref: '#/components/responses/401'
16591
16654
  '403':
@@ -22460,7 +22523,7 @@ paths:
22460
22523
  $ref: '#/components/schemas/accountList'
22461
22524
  description: Success
22462
22525
  '400':
22463
- description: Invalid request
22526
+ $ref: '#/components/responses/400'
22464
22527
  '401':
22465
22528
  $ref: '#/components/responses/401'
22466
22529
  '403':
@@ -22468,9 +22531,9 @@ paths:
22468
22531
  '404':
22469
22532
  $ref: '#/components/responses/404'
22470
22533
  '409':
22471
- description: Resource conflict or policy in use
22534
+ $ref: '#/components/responses/409'
22472
22535
  '503':
22473
- description: IAM unavailable; mutation outcome may be unknown
22536
+ $ref: '#/components/responses/503'
22474
22537
  tags:
22475
22538
  - account
22476
22539
  - seaweedfs
@@ -22507,7 +22570,7 @@ paths:
22507
22570
  schema:
22508
22571
  $ref: '#/components/schemas/account'
22509
22572
  '400':
22510
- description: Invalid request
22573
+ $ref: '#/components/responses/400'
22511
22574
  '401':
22512
22575
  $ref: '#/components/responses/401'
22513
22576
  '403':
@@ -22515,9 +22578,9 @@ paths:
22515
22578
  '404':
22516
22579
  $ref: '#/components/responses/404'
22517
22580
  '409':
22518
- description: Resource conflict or policy in use
22581
+ $ref: '#/components/responses/409'
22519
22582
  '503':
22520
- description: IAM unavailable; mutation outcome may be unknown
22583
+ $ref: '#/components/responses/503'
22521
22584
  tags:
22522
22585
  - account
22523
22586
  - seaweedfs
@@ -22552,7 +22615,7 @@ paths:
22552
22615
  content: {}
22553
22616
  description: Identity deleted
22554
22617
  '400':
22555
- description: Invalid request
22618
+ $ref: '#/components/responses/400'
22556
22619
  '401':
22557
22620
  $ref: '#/components/responses/401'
22558
22621
  '403':
@@ -22560,9 +22623,9 @@ paths:
22560
22623
  '404':
22561
22624
  $ref: '#/components/responses/404'
22562
22625
  '409':
22563
- description: Resource conflict or policy in use
22626
+ $ref: '#/components/responses/409'
22564
22627
  '503':
22565
- description: IAM unavailable; mutation outcome may be unknown
22628
+ $ref: '#/components/responses/503'
22566
22629
  tags:
22567
22630
  - account
22568
22631
  - seaweedfs
@@ -22604,7 +22667,7 @@ paths:
22604
22667
  schema:
22605
22668
  $ref: '#/components/schemas/account'
22606
22669
  '400':
22607
- description: Invalid request
22670
+ $ref: '#/components/responses/400'
22608
22671
  '401':
22609
22672
  $ref: '#/components/responses/401'
22610
22673
  '403':
@@ -22612,9 +22675,9 @@ paths:
22612
22675
  '404':
22613
22676
  $ref: '#/components/responses/404'
22614
22677
  '409':
22615
- description: Resource conflict or policy in use
22678
+ $ref: '#/components/responses/409'
22616
22679
  '503':
22617
- description: IAM unavailable; mutation outcome may be unknown
22680
+ $ref: '#/components/responses/503'
22618
22681
  tags:
22619
22682
  - account
22620
22683
  - seaweedfs
@@ -22703,7 +22766,7 @@ paths:
22703
22766
  required: true
22704
22767
  responses:
22705
22768
  '400':
22706
- description: SeaweedFS uses the named policy binding API
22769
+ $ref: '#/components/responses/400'
22707
22770
  tags:
22708
22771
  - account
22709
22772
  - seaweedfs
@@ -22752,17 +22815,17 @@ paths:
22752
22815
  type: object
22753
22816
  additionalProperties: true
22754
22817
  '400':
22755
- description: Invalid request
22818
+ $ref: '#/components/responses/400'
22756
22819
  '401':
22757
- description: Unauthenticated
22820
+ $ref: '#/components/responses/401'
22758
22821
  '403':
22759
- description: Permission denied or protected identity
22822
+ $ref: '#/components/responses/403'
22760
22823
  '404':
22761
- description: Resource not found
22824
+ $ref: '#/components/responses/404'
22762
22825
  '409':
22763
- description: Resource conflict or policy in use
22826
+ $ref: '#/components/responses/409'
22764
22827
  '503':
22765
- description: IAM unavailable; mutation outcome may be unknown
22828
+ $ref: '#/components/responses/503'
22766
22829
  /admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
22767
22830
  put:
22768
22831
  summary: putSeaweedFSPolicy
@@ -22791,17 +22854,17 @@ paths:
22791
22854
  '204':
22792
22855
  description: Successful response
22793
22856
  '400':
22794
- description: Invalid request
22857
+ $ref: '#/components/responses/400'
22795
22858
  '401':
22796
- description: Unauthenticated
22859
+ $ref: '#/components/responses/401'
22797
22860
  '403':
22798
- description: Permission denied or protected identity
22861
+ $ref: '#/components/responses/403'
22799
22862
  '404':
22800
- description: Resource not found
22863
+ $ref: '#/components/responses/404'
22801
22864
  '409':
22802
- description: Resource conflict or policy in use
22865
+ $ref: '#/components/responses/409'
22803
22866
  '503':
22804
- description: IAM unavailable; mutation outcome may be unknown
22867
+ $ref: '#/components/responses/503'
22805
22868
  requestBody:
22806
22869
  required: true
22807
22870
  content:
@@ -22837,17 +22900,17 @@ paths:
22837
22900
  '204':
22838
22901
  description: Successful response
22839
22902
  '400':
22840
- description: Invalid request
22903
+ $ref: '#/components/responses/400'
22841
22904
  '401':
22842
- description: Unauthenticated
22905
+ $ref: '#/components/responses/401'
22843
22906
  '403':
22844
- description: Permission denied or protected identity
22907
+ $ref: '#/components/responses/403'
22845
22908
  '404':
22846
- description: Resource not found
22909
+ $ref: '#/components/responses/404'
22847
22910
  '409':
22848
- description: Resource conflict or policy in use
22911
+ $ref: '#/components/responses/409'
22849
22912
  '503':
22850
- description: IAM unavailable; mutation outcome may be unknown
22913
+ $ref: '#/components/responses/503'
22851
22914
  description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
22852
22915
  /admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
22853
22916
  put:
@@ -22877,17 +22940,17 @@ paths:
22877
22940
  '204':
22878
22941
  description: Successful response
22879
22942
  '400':
22880
- description: Invalid request
22943
+ $ref: '#/components/responses/400'
22881
22944
  '401':
22882
- description: Unauthenticated
22945
+ $ref: '#/components/responses/401'
22883
22946
  '403':
22884
- description: Permission denied or protected identity
22947
+ $ref: '#/components/responses/403'
22885
22948
  '404':
22886
- description: Resource not found
22949
+ $ref: '#/components/responses/404'
22887
22950
  '409':
22888
- description: Resource conflict or policy in use
22951
+ $ref: '#/components/responses/409'
22889
22952
  '503':
22890
- description: IAM unavailable; mutation outcome may be unknown
22953
+ $ref: '#/components/responses/503'
22891
22954
  requestBody:
22892
22955
  required: true
22893
22956
  content:
@@ -22934,17 +22997,17 @@ paths:
22934
22997
  schema:
22935
22998
  $ref: '#/components/schemas/account'
22936
22999
  '400':
22937
- description: Invalid request
23000
+ $ref: '#/components/responses/400'
22938
23001
  '401':
22939
- description: Unauthenticated
23002
+ $ref: '#/components/responses/401'
22940
23003
  '403':
22941
- description: Permission denied or protected identity
23004
+ $ref: '#/components/responses/403'
22942
23005
  '404':
22943
- description: Resource not found
23006
+ $ref: '#/components/responses/404'
22944
23007
  '409':
22945
- description: Resource conflict or policy in use
23008
+ $ref: '#/components/responses/409'
22946
23009
  '503':
22947
- description: IAM unavailable; mutation outcome may be unknown
23010
+ $ref: '#/components/responses/503'
22948
23011
  requestBody:
22949
23012
  required: true
22950
23013
  content:
@@ -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
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
23000
23063
  get:
23001
23064
  description: list accounts in cluster
@@ -35719,6 +35782,11 @@ components:
35719
35782
  required:
35720
35783
  - serviceName
35721
35784
  - serviceNamespace
35785
+ jsonBody:
35786
+ description: Represents a JSON body.
35787
+ properties: {}
35788
+ additionalProperties: true
35789
+ type: object
35722
35790
  logBackendType:
35723
35791
  type: string
35724
35792
  description: Log query backend configured for this environment.
@@ -36754,11 +36822,6 @@ components:
36754
36822
  - items
36755
36823
  - updatedAt
36756
36824
  type: object
36757
- jsonBody:
36758
- description: Represents a JSON body.
36759
- properties: {}
36760
- additionalProperties: true
36761
- type: object
36762
36825
  instanceResourceStatsType:
36763
36826
  description: Type of the instance, choose cluster, system, or other
36764
36827
  enum:
@@ -41338,7 +41401,13 @@ components:
41338
41401
  modifierEmail:
41339
41402
  type: string
41340
41403
  option:
41341
- $ref: '#/components/schemas/engineOption'
41404
+ description: |
41405
+ Engine option document stored when this history row was written.
41406
+ This is a point-in-time snapshot, not the current engineOption
41407
+ create/update contract. Nested fields such as endpoints.protocol
41408
+ may be absent on older rows.
41409
+ type: object
41410
+ additionalProperties: true
41342
41411
  createdAt:
41343
41412
  type: string
41344
41413
  format: date-time
@@ -50048,6 +50117,12 @@ components:
50048
50117
  schema:
50049
50118
  $ref: '#/components/schemas/APIErrorResponse'
50050
50119
  description: Conflict
50120
+ '413':
50121
+ content:
50122
+ application/json:
50123
+ schema:
50124
+ $ref: '#/components/schemas/APIErrorResponse'
50125
+ description: Payload Too Large
50051
50126
  '429':
50052
50127
  content:
50053
50128
  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: