kb-cloud-client-typescript 2.2.127 → 2.2.129

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 (41) hide show
  1. package/dist/adminapi/apis/environment-api.d.ts +15 -15
  2. package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/environment-api.js +8 -8
  4. package/dist/adminapi/models/environment-module-action-result.d.ts +25 -0
  5. package/dist/adminapi/models/environment-module-action-result.d.ts.map +1 -0
  6. package/dist/adminapi/models/environment-module-action-result.js +16 -0
  7. package/dist/adminapi/models/environment-module-action-result.js.map +1 -0
  8. package/dist/adminapi/models/environment-module-action.d.ts +1 -1
  9. package/dist/adminapi/models/environment-module-action.js +1 -1
  10. package/dist/adminapi/models/environment-module-status.d.ts +8 -1
  11. package/dist/adminapi/models/environment-module-status.d.ts.map +1 -1
  12. package/dist/adminapi/models/environment-module-status.js +9 -2
  13. package/dist/adminapi/models/environment-module-status.js.map +1 -1
  14. package/dist/adminapi/models/environment-module-update.d.ts +3 -3
  15. package/dist/adminapi/models/environment-module-update.d.ts.map +1 -1
  16. package/dist/adminapi/models/environment-module.d.ts +13 -1
  17. package/dist/adminapi/models/environment-module.d.ts.map +1 -1
  18. package/dist/adminapi/models/index.d.ts +1 -0
  19. package/dist/adminapi/models/index.d.ts.map +1 -1
  20. package/dist/adminapi/models/index.js +1 -0
  21. package/dist/adminapi/models/index.js.map +1 -1
  22. package/dist/openapi/models/environment-module-status.d.ts +8 -1
  23. package/dist/openapi/models/environment-module-status.d.ts.map +1 -1
  24. package/dist/openapi/models/environment-module-status.js +9 -2
  25. package/dist/openapi/models/environment-module-status.js.map +1 -1
  26. package/dist/openapi/models/environment-module.d.ts +13 -1
  27. package/dist/openapi/models/environment-module.d.ts.map +1 -1
  28. package/package.json +1 -1
  29. package/src/adminapi/.openapi-generator/FILES +1 -0
  30. package/src/adminapi/apis/environment-api.ts +15 -15
  31. package/src/adminapi/models/environment-module-action-result.ts +30 -0
  32. package/src/adminapi/models/environment-module-action.ts +1 -1
  33. package/src/adminapi/models/environment-module-status.ts +9 -2
  34. package/src/adminapi/models/environment-module-update.ts +3 -3
  35. package/src/adminapi/models/environment-module.ts +13 -1
  36. package/src/adminapi/models/index.ts +1 -0
  37. package/src/adminapi.yaml +82 -62
  38. package/src/internalapi.yaml +2 -4
  39. package/src/openapi/models/environment-module-status.ts +9 -2
  40. package/src/openapi/models/environment-module.ts +13 -1
  41. package/src/openapi.yaml +66 -51
package/src/openapi.yaml CHANGED
@@ -11700,7 +11700,7 @@ paths:
11700
11700
  $ref: '#/components/schemas/accountList'
11701
11701
  description: Success
11702
11702
  '400':
11703
- description: Invalid request
11703
+ $ref: '#/components/responses/400'
11704
11704
  '401':
11705
11705
  $ref: '#/components/responses/401'
11706
11706
  '403':
@@ -11708,9 +11708,9 @@ paths:
11708
11708
  '404':
11709
11709
  $ref: '#/components/responses/404'
11710
11710
  '409':
11711
- description: Resource conflict or policy in use
11711
+ $ref: '#/components/responses/409'
11712
11712
  '503':
11713
- description: IAM unavailable; mutation outcome may be unknown
11713
+ $ref: '#/components/responses/503'
11714
11714
  tags:
11715
11715
  - account
11716
11716
  - seaweedfs
@@ -11747,7 +11747,7 @@ paths:
11747
11747
  schema:
11748
11748
  $ref: '#/components/schemas/account'
11749
11749
  '400':
11750
- description: Invalid request
11750
+ $ref: '#/components/responses/400'
11751
11751
  '401':
11752
11752
  $ref: '#/components/responses/401'
11753
11753
  '403':
@@ -11755,9 +11755,9 @@ paths:
11755
11755
  '404':
11756
11756
  $ref: '#/components/responses/404'
11757
11757
  '409':
11758
- description: Resource conflict or policy in use
11758
+ $ref: '#/components/responses/409'
11759
11759
  '503':
11760
- description: IAM unavailable; mutation outcome may be unknown
11760
+ $ref: '#/components/responses/503'
11761
11761
  tags:
11762
11762
  - account
11763
11763
  - seaweedfs
@@ -11792,7 +11792,7 @@ paths:
11792
11792
  content: {}
11793
11793
  description: Identity deleted
11794
11794
  '400':
11795
- description: Invalid request
11795
+ $ref: '#/components/responses/400'
11796
11796
  '401':
11797
11797
  $ref: '#/components/responses/401'
11798
11798
  '403':
@@ -11800,9 +11800,9 @@ paths:
11800
11800
  '404':
11801
11801
  $ref: '#/components/responses/404'
11802
11802
  '409':
11803
- description: Resource conflict or policy in use
11803
+ $ref: '#/components/responses/409'
11804
11804
  '503':
11805
- description: IAM unavailable; mutation outcome may be unknown
11805
+ $ref: '#/components/responses/503'
11806
11806
  tags:
11807
11807
  - account
11808
11808
  - seaweedfs
@@ -11844,7 +11844,7 @@ paths:
11844
11844
  schema:
11845
11845
  $ref: '#/components/schemas/account'
11846
11846
  '400':
11847
- description: Invalid request
11847
+ $ref: '#/components/responses/400'
11848
11848
  '401':
11849
11849
  $ref: '#/components/responses/401'
11850
11850
  '403':
@@ -11852,9 +11852,9 @@ paths:
11852
11852
  '404':
11853
11853
  $ref: '#/components/responses/404'
11854
11854
  '409':
11855
- description: Resource conflict or policy in use
11855
+ $ref: '#/components/responses/409'
11856
11856
  '503':
11857
- description: IAM unavailable; mutation outcome may be unknown
11857
+ $ref: '#/components/responses/503'
11858
11858
  tags:
11859
11859
  - account
11860
11860
  - seaweedfs
@@ -11943,7 +11943,7 @@ paths:
11943
11943
  required: true
11944
11944
  responses:
11945
11945
  '400':
11946
- description: SeaweedFS uses the named policy binding API
11946
+ $ref: '#/components/responses/400'
11947
11947
  tags:
11948
11948
  - account
11949
11949
  - seaweedfs
@@ -11992,17 +11992,17 @@ paths:
11992
11992
  type: object
11993
11993
  additionalProperties: true
11994
11994
  '400':
11995
- description: Invalid request
11995
+ $ref: '#/components/responses/400'
11996
11996
  '401':
11997
- description: Unauthenticated
11997
+ $ref: '#/components/responses/401'
11998
11998
  '403':
11999
- description: Permission denied or protected identity
11999
+ $ref: '#/components/responses/403'
12000
12000
  '404':
12001
- description: Resource not found
12001
+ $ref: '#/components/responses/404'
12002
12002
  '409':
12003
- description: Resource conflict or policy in use
12003
+ $ref: '#/components/responses/409'
12004
12004
  '503':
12005
- description: IAM unavailable; mutation outcome may be unknown
12005
+ $ref: '#/components/responses/503'
12006
12006
  /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
12007
12007
  put:
12008
12008
  summary: putSeaweedFSPolicy
@@ -12031,17 +12031,17 @@ paths:
12031
12031
  '204':
12032
12032
  description: Successful response
12033
12033
  '400':
12034
- description: Invalid request
12034
+ $ref: '#/components/responses/400'
12035
12035
  '401':
12036
- description: Unauthenticated
12036
+ $ref: '#/components/responses/401'
12037
12037
  '403':
12038
- description: Permission denied or protected identity
12038
+ $ref: '#/components/responses/403'
12039
12039
  '404':
12040
- description: Resource not found
12040
+ $ref: '#/components/responses/404'
12041
12041
  '409':
12042
- description: Resource conflict or policy in use
12042
+ $ref: '#/components/responses/409'
12043
12043
  '503':
12044
- description: IAM unavailable; mutation outcome may be unknown
12044
+ $ref: '#/components/responses/503'
12045
12045
  requestBody:
12046
12046
  required: true
12047
12047
  content:
@@ -12077,17 +12077,17 @@ paths:
12077
12077
  '204':
12078
12078
  description: Successful response
12079
12079
  '400':
12080
- description: Invalid request
12080
+ $ref: '#/components/responses/400'
12081
12081
  '401':
12082
- description: Unauthenticated
12082
+ $ref: '#/components/responses/401'
12083
12083
  '403':
12084
- description: Permission denied or protected identity
12084
+ $ref: '#/components/responses/403'
12085
12085
  '404':
12086
- description: Resource not found
12086
+ $ref: '#/components/responses/404'
12087
12087
  '409':
12088
- description: Resource conflict or policy in use
12088
+ $ref: '#/components/responses/409'
12089
12089
  '503':
12090
- description: IAM unavailable; mutation outcome may be unknown
12090
+ $ref: '#/components/responses/503'
12091
12091
  description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
12092
12092
  /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
12093
12093
  put:
@@ -12117,17 +12117,17 @@ paths:
12117
12117
  '204':
12118
12118
  description: Successful response
12119
12119
  '400':
12120
- description: Invalid request
12120
+ $ref: '#/components/responses/400'
12121
12121
  '401':
12122
- description: Unauthenticated
12122
+ $ref: '#/components/responses/401'
12123
12123
  '403':
12124
- description: Permission denied or protected identity
12124
+ $ref: '#/components/responses/403'
12125
12125
  '404':
12126
- description: Resource not found
12126
+ $ref: '#/components/responses/404'
12127
12127
  '409':
12128
- description: Resource conflict or policy in use
12128
+ $ref: '#/components/responses/409'
12129
12129
  '503':
12130
- description: IAM unavailable; mutation outcome may be unknown
12130
+ $ref: '#/components/responses/503'
12131
12131
  requestBody:
12132
12132
  required: true
12133
12133
  content:
@@ -12174,17 +12174,17 @@ paths:
12174
12174
  schema:
12175
12175
  $ref: '#/components/schemas/account'
12176
12176
  '400':
12177
- description: Invalid request
12177
+ $ref: '#/components/responses/400'
12178
12178
  '401':
12179
- description: Unauthenticated
12179
+ $ref: '#/components/responses/401'
12180
12180
  '403':
12181
- description: Permission denied or protected identity
12181
+ $ref: '#/components/responses/403'
12182
12182
  '404':
12183
- description: Resource not found
12183
+ $ref: '#/components/responses/404'
12184
12184
  '409':
12185
- description: Resource conflict or policy in use
12185
+ $ref: '#/components/responses/409'
12186
12186
  '503':
12187
- description: IAM unavailable; mutation outcome may be unknown
12187
+ $ref: '#/components/responses/503'
12188
12188
  requestBody:
12189
12189
  required: true
12190
12190
  content:
@@ -12225,17 +12225,17 @@ paths:
12225
12225
  '204':
12226
12226
  description: Successful response
12227
12227
  '400':
12228
- description: Invalid request
12228
+ $ref: '#/components/responses/400'
12229
12229
  '401':
12230
- description: Unauthenticated
12230
+ $ref: '#/components/responses/401'
12231
12231
  '403':
12232
- description: Permission denied or protected identity
12232
+ $ref: '#/components/responses/403'
12233
12233
  '404':
12234
- description: Resource not found
12234
+ $ref: '#/components/responses/404'
12235
12235
  '409':
12236
- description: Resource conflict or policy in use
12236
+ $ref: '#/components/responses/409'
12237
12237
  '503':
12238
- description: IAM unavailable; mutation outcome may be unknown
12238
+ $ref: '#/components/responses/503'
12239
12239
  /api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
12240
12240
  get:
12241
12241
  description: list accounts in cluster
@@ -16055,6 +16055,8 @@ paths:
16055
16055
  '204':
16056
16056
  description: No content.
16057
16057
  content: {}
16058
+ '400':
16059
+ $ref: '#/components/responses/400'
16058
16060
  '401':
16059
16061
  $ref: '#/components/responses/401'
16060
16062
  '403':
@@ -17575,13 +17577,20 @@ components:
17575
17577
  type: object
17576
17578
  environmentModuleStatus:
17577
17579
  type: string
17578
- description: Status of environment module
17580
+ description: Status of an environment module. Enabled is only used as the desired state when creating an environment. NotInstalled, Installing, and InstallationFailed describe quick installation; Upgradeable, Upgrading, and UpgradeFailed describe quick upgrade. Upgradeable means the component is running but an ApeCloud-bundled newer version is available. Unknown means the current state could not be determined.
17579
17581
  enum:
17580
17582
  - Running
17581
17583
  - Updating
17582
17584
  - Error
17583
17585
  - Disabled
17584
17586
  - Enabled
17587
+ - NotInstalled
17588
+ - Installing
17589
+ - InstallationFailed
17590
+ - Upgradeable
17591
+ - Upgrading
17592
+ - UpgradeFailed
17593
+ - Unknown
17585
17594
  clusterInfo:
17586
17595
  type: object
17587
17596
  description: Cluster information
@@ -17604,7 +17613,7 @@ components:
17604
17613
  description: Environment module name
17605
17614
  version:
17606
17615
  type: string
17607
- description: Environment module version
17616
+ description: Currently installed environment module version
17608
17617
  status:
17609
17618
  $ref: '#/components/schemas/environmentModuleStatus'
17610
17619
  replicas:
@@ -17613,6 +17622,9 @@ components:
17613
17622
  location:
17614
17623
  type: string
17615
17624
  description: Deployment location
17625
+ operationTaskId:
17626
+ type: string
17627
+ description: ID of the asynchronous task associated with the module's current operation state. It is omitted when the current state is not associated with a task.
17616
17628
  clusterInfo:
17617
17629
  $ref: '#/components/schemas/clusterInfo'
17618
17630
  description: Cluster information
@@ -17628,6 +17640,9 @@ components:
17628
17640
  defaultEnabled:
17629
17641
  type: boolean
17630
17642
  description: indicate whether module is enabled by default when creating environment. Only effective when optional is true
17643
+ actionWarning:
17644
+ $ref: '#/components/schemas/localizedDescription'
17645
+ description: Localized business-impact warning for the component action represented by the current status.
17631
17646
  required:
17632
17647
  - name
17633
17648
  - status