kb-cloud-client-typescript 2.3.0-alpha.153 → 2.3.0-alpha.155

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 (59) hide show
  1. package/dist/adminapi/apis/cluster-api.d.ts +73 -0
  2. package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-api.js +80 -0
  4. package/dist/adminapi/apis/cluster-api.js.map +1 -1
  5. package/dist/adminapi/apis/inspection-api.d.ts +4 -5
  6. package/dist/adminapi/apis/inspection-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/inspection-api.js.map +1 -1
  8. package/dist/adminapi/apis/shared-api.d.ts +72 -0
  9. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  10. package/dist/adminapi/apis/shared-api.js +80 -0
  11. package/dist/adminapi/apis/shared-api.js.map +1 -1
  12. package/dist/adminapi/models/cluster-mode-transition.d.ts +32 -0
  13. package/dist/adminapi/models/cluster-mode-transition.d.ts.map +1 -0
  14. package/dist/adminapi/models/cluster-mode-transition.js +16 -0
  15. package/dist/adminapi/models/cluster-mode-transition.js.map +1 -0
  16. package/dist/adminapi/models/index.d.ts +1 -0
  17. package/dist/adminapi/models/index.d.ts.map +1 -1
  18. package/dist/adminapi/models/index.js +1 -0
  19. package/dist/adminapi/models/index.js.map +1 -1
  20. package/dist/openapi/apis/llm-api.d.ts +0 -411
  21. package/dist/openapi/apis/llm-api.d.ts.map +1 -1
  22. package/dist/openapi/apis/llm-api.js +0 -471
  23. package/dist/openapi/apis/llm-api.js.map +1 -1
  24. package/dist/openapi/models/index.d.ts +0 -4
  25. package/dist/openapi/models/index.d.ts.map +1 -1
  26. package/dist/openapi/models/index.js +0 -4
  27. package/dist/openapi/models/index.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/adminapi/.openapi-generator/FILES +1 -0
  30. package/src/adminapi/apis/cluster-api.ts +130 -0
  31. package/src/adminapi/apis/inspection-api.ts +3 -5
  32. package/src/adminapi/apis/shared-api.ts +128 -0
  33. package/src/adminapi/models/cluster-mode-transition.ts +39 -0
  34. package/src/adminapi/models/index.ts +1 -0
  35. package/src/adminapi.yaml +136 -84
  36. package/src/openapi/.openapi-generator/FILES +0 -4
  37. package/src/openapi/apis/llm-api.ts +0 -714
  38. package/src/openapi/models/index.ts +0 -4
  39. package/src/openapi.yaml +0 -262
  40. package/dist/openapi/models/access-level.d.ts +0 -22
  41. package/dist/openapi/models/access-level.d.ts.map +0 -1
  42. package/dist/openapi/models/access-level.js +0 -26
  43. package/dist/openapi/models/access-level.js.map +0 -1
  44. package/dist/openapi/models/check-apikey.d.ts +0 -31
  45. package/dist/openapi/models/check-apikey.d.ts.map +0 -1
  46. package/dist/openapi/models/check-apikey.js +0 -16
  47. package/dist/openapi/models/check-apikey.js.map +0 -1
  48. package/dist/openapi/models/llm-list.d.ts +0 -26
  49. package/dist/openapi/models/llm-list.d.ts.map +0 -1
  50. package/dist/openapi/models/llm-list.js +0 -16
  51. package/dist/openapi/models/llm-list.js.map +0 -1
  52. package/dist/openapi/models/llm.d.ts +0 -64
  53. package/dist/openapi/models/llm.d.ts.map +0 -1
  54. package/dist/openapi/models/llm.js +0 -16
  55. package/dist/openapi/models/llm.js.map +0 -1
  56. package/src/openapi/models/access-level.ts +0 -31
  57. package/src/openapi/models/check-apikey.ts +0 -36
  58. package/src/openapi/models/llm-list.ts +0 -33
  59. package/src/openapi/models/llm.ts +0 -71
@@ -1,7 +1,6 @@
1
1
  export * from './acluser';
2
2
  export * from './acluser-response';
3
3
  export * from './apierror-response';
4
- export * from './access-level';
5
4
  export * from './account';
6
5
  export * from './account-list-item';
7
6
  export * from './account-list-role-type';
@@ -139,7 +138,6 @@ export * from './cdc-worker-template';
139
138
  export * from './certificate';
140
139
  export * from './certificate-issuer';
141
140
  export * from './channel-status';
142
- export * from './check-apikey';
143
141
  export * from './class';
144
142
  export * from './class-type';
145
143
  export * from './cluster';
@@ -431,8 +429,6 @@ export * from './key-list';
431
429
  export * from './kubeblocks-endpoint';
432
430
  export * from './license';
433
431
  export * from './license-option';
434
- export * from './llm';
435
- export * from './llm-list';
436
432
  export * from './load-balancer';
437
433
  export * from './load-balancer-available-type';
438
434
  export * from './load-balancer-ipam-status';
package/src/openapi.yaml CHANGED
@@ -15754,196 +15754,6 @@ paths:
15754
15754
  $ref: '#/components/responses/404'
15755
15755
  '500':
15756
15756
  $ref: '#/components/responses/500'
15757
- /api/v1/organizations/{orgName}/llm:
15758
- get:
15759
- tags:
15760
- - llm
15761
- deprecated: true
15762
- operationId: ListLLMForOrg
15763
- summary: List available LLM for org
15764
- description: available
15765
- parameters:
15766
- - name: orgName
15767
- in: path
15768
- required: true
15769
- schema:
15770
- type: string
15771
- responses:
15772
- '200':
15773
- description: available llm list
15774
- content:
15775
- application/json:
15776
- schema:
15777
- $ref: '#/components/schemas/llmList'
15778
- '401':
15779
- $ref: '#/components/responses/401'
15780
- '403':
15781
- $ref: '#/components/responses/403'
15782
- '404':
15783
- $ref: '#/components/responses/404'
15784
- '500':
15785
- $ref: '#/components/responses/500'
15786
- post:
15787
- tags:
15788
- - llm
15789
- deprecated: true
15790
- operationId: addLLMForOrg
15791
- summary: add LLM for org
15792
- description: add LLM for org
15793
- parameters:
15794
- - name: orgName
15795
- in: path
15796
- required: true
15797
- schema:
15798
- type: string
15799
- requestBody:
15800
- required: true
15801
- content:
15802
- application/json:
15803
- schema:
15804
- $ref: '#/components/schemas/llm'
15805
- responses:
15806
- '200':
15807
- description: llm added successfully
15808
- '401':
15809
- $ref: '#/components/responses/401'
15810
- '403':
15811
- $ref: '#/components/responses/403'
15812
- '404':
15813
- $ref: '#/components/responses/404'
15814
- '500':
15815
- $ref: '#/components/responses/500'
15816
- /api/v1/organizations/{orgName}/llm/{id}:
15817
- get:
15818
- tags:
15819
- - llm
15820
- deprecated: true
15821
- operationId: getLLMByIDInOrg
15822
- summary: Get LLM by ID in org
15823
- parameters:
15824
- - name: orgName
15825
- in: path
15826
- required: true
15827
- schema:
15828
- type: string
15829
- - description: ID of the LLM
15830
- in: path
15831
- name: id
15832
- required: true
15833
- schema:
15834
- type: string
15835
- responses:
15836
- '201':
15837
- description: LLM by ID
15838
- content:
15839
- application/json:
15840
- schema:
15841
- $ref: '#/components/schemas/llm'
15842
- '401':
15843
- $ref: '#/components/responses/401'
15844
- '403':
15845
- $ref: '#/components/responses/403'
15846
- '404':
15847
- $ref: '#/components/responses/404'
15848
- '500':
15849
- $ref: '#/components/responses/500'
15850
- patch:
15851
- tags:
15852
- - llm
15853
- deprecated: true
15854
- operationId: updateLLM
15855
- summary: Update LLM
15856
- parameters:
15857
- - name: orgName
15858
- in: path
15859
- required: true
15860
- schema:
15861
- type: string
15862
- - description: ID of the LLM
15863
- in: path
15864
- name: id
15865
- required: true
15866
- schema:
15867
- type: string
15868
- requestBody:
15869
- content:
15870
- application/json:
15871
- schema:
15872
- $ref: '#/components/schemas/llm'
15873
- required: true
15874
- responses:
15875
- '201':
15876
- content:
15877
- application/json:
15878
- schema:
15879
- $ref: '#/components/schemas/llm'
15880
- description: Returned when object is updated successfully.
15881
- '403':
15882
- $ref: '#/components/responses/403'
15883
- '404':
15884
- $ref: '#/components/responses/404'
15885
- x-codegen-request-body-name: body
15886
- delete:
15887
- tags:
15888
- - llm
15889
- deprecated: true
15890
- operationId: deleteLLM
15891
- summary: Delete LLM
15892
- parameters:
15893
- - name: orgName
15894
- in: path
15895
- required: true
15896
- schema:
15897
- type: string
15898
- - description: ID of the LLM
15899
- in: path
15900
- name: id
15901
- required: true
15902
- schema:
15903
- type: string
15904
- responses:
15905
- '204':
15906
- content: {}
15907
- description: Returned when object is deleted successfully.
15908
- '403':
15909
- $ref: '#/components/responses/403'
15910
- '404':
15911
- $ref: '#/components/responses/404'
15912
- /api/v1/organizations/{orgName}/llm/check:
15913
- post:
15914
- tags:
15915
- - llm
15916
- deprecated: true
15917
- operationId: checkAPIKeyForOrg
15918
- summary: check apikey available for org
15919
- description: check apikey available for org
15920
- parameters:
15921
- - name: orgName
15922
- in: path
15923
- required: true
15924
- schema:
15925
- type: string
15926
- requestBody:
15927
- required: true
15928
- content:
15929
- application/json:
15930
- schema:
15931
- $ref: '#/components/schemas/checkAPIKey'
15932
- responses:
15933
- '200':
15934
- description: apikey available
15935
- content:
15936
- application/json:
15937
- schema:
15938
- type: boolean
15939
- '401':
15940
- $ref: '#/components/responses/401'
15941
- '403':
15942
- $ref: '#/components/responses/403'
15943
- '404':
15944
- $ref: '#/components/responses/404'
15945
- '500':
15946
- $ref: '#/components/responses/500'
15947
15757
  /api/v1/organizations/{orgName}/llm/models:
15948
15758
  get:
15949
15759
  tags:
@@ -31916,78 +31726,6 @@ components:
31916
31726
  type: array
31917
31727
  items:
31918
31728
  $ref: '#/components/schemas/RbmqExchange'
31919
- AccessLevel:
31920
- type: string
31921
- enum:
31922
- - Platform
31923
- - Organization
31924
- llm:
31925
- description: llm
31926
- properties:
31927
- id:
31928
- description: ID of the llm
31929
- title: ID
31930
- type: string
31931
- name:
31932
- description: Name of the llm
31933
- title: Name
31934
- type: string
31935
- enabled:
31936
- description: Whether this LLM is enabled
31937
- title: Enabled
31938
- type: boolean
31939
- config:
31940
- description: |
31941
- Config.
31942
-
31943
- For OpenAI-compatible providers, model entries under `available_models`
31944
- may include `max_tokens` as the maximum output token count and
31945
- `context_length` as the total context window. `context_window` is a
31946
- deprecated compatibility alias and should not be used by new clients.
31947
- title: Config
31948
- type: object
31949
- additionalProperties:
31950
- type: object
31951
- level:
31952
- $ref: '#/components/schemas/AccessLevel'
31953
- createdAt:
31954
- description: |-
31955
- CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
31956
-
31957
- Populated by the system. Read-only. Null for lists
31958
- format: date-time
31959
- type: string
31960
- updatedAt:
31961
- description: |-
31962
- UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
31963
-
31964
- Populated by the system. Read-only. Null for lists
31965
- format: date-time
31966
- type: string
31967
- required:
31968
- - name
31969
- - config
31970
- - enabled
31971
- type: object
31972
- llmList:
31973
- required:
31974
- - items
31975
- type: object
31976
- properties:
31977
- items:
31978
- type: array
31979
- x-nullable: false
31980
- description: Items is the list of llm objects
31981
- items:
31982
- $ref: '#/components/schemas/llm'
31983
- checkAPIKey:
31984
- type: object
31985
- properties:
31986
- success:
31987
- type: boolean
31988
- x-omitempty: false
31989
- message:
31990
- type: string
31991
31729
  aiAgentRuntimeStatusCode:
31992
31730
  x-generate-alias-as-model: true
31993
31731
  type: string
@@ -1,22 +0,0 @@
1
- /**
2
- * KubeBlocks Cloud API
3
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@apecloud.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare const AccessLevel: {
18
- readonly Platform: "Platform";
19
- readonly Organization: "Organization";
20
- };
21
- export type AccessLevel = typeof AccessLevel[keyof typeof AccessLevel];
22
- //# sourceMappingURL=access-level.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"access-level.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/access-level.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * KubeBlocks Cloud API
6
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: support@apecloud.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AccessLevel = void 0;
17
- /**
18
- *
19
- * @export
20
- * @enum {string}
21
- */
22
- exports.AccessLevel = {
23
- Platform: 'Platform',
24
- Organization: 'Organization'
25
- };
26
- //# sourceMappingURL=access-level.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"access-level.js","sourceRoot":"","sources":["../../../src/openapi/models/access-level.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,WAAW,GAAG;IACvB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;CACtB,CAAC"}
@@ -1,31 +0,0 @@
1
- /**
2
- * KubeBlocks Cloud API
3
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@apecloud.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface CheckAPIKey
16
- */
17
- export interface CheckAPIKey {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof CheckAPIKey
22
- */
23
- 'success'?: boolean;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CheckAPIKey
28
- */
29
- 'message'?: string;
30
- }
31
- //# sourceMappingURL=check-apikey.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-apikey.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/check-apikey.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * KubeBlocks Cloud API
6
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: support@apecloud.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=check-apikey.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-apikey.js","sourceRoot":"","sources":["../../../src/openapi/models/check-apikey.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,26 +0,0 @@
1
- /**
2
- * KubeBlocks Cloud API
3
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@apecloud.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Llm } from './llm';
13
- /**
14
- *
15
- * @export
16
- * @interface LlmList
17
- */
18
- export interface LlmList {
19
- /**
20
- * Items is the list of llm objects
21
- * @type {Array<Llm>}
22
- * @memberof LlmList
23
- */
24
- 'items': Array<Llm>;
25
- }
26
- //# sourceMappingURL=llm-list.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"llm-list.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/llm-list.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CACvB"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * KubeBlocks Cloud API
6
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: support@apecloud.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=llm-list.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"llm-list.js","sourceRoot":"","sources":["../../../src/openapi/models/llm-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,64 +0,0 @@
1
- /**
2
- * KubeBlocks Cloud API
3
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@apecloud.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { AccessLevel } from './access-level';
13
- /**
14
- * llm
15
- * @export
16
- * @interface Llm
17
- */
18
- export interface Llm {
19
- /**
20
- * ID of the llm
21
- * @type {string}
22
- * @memberof Llm
23
- */
24
- 'id'?: string;
25
- /**
26
- * Name of the llm
27
- * @type {string}
28
- * @memberof Llm
29
- */
30
- 'name': string;
31
- /**
32
- * Whether this LLM is enabled
33
- * @type {boolean}
34
- * @memberof Llm
35
- */
36
- 'enabled': boolean;
37
- /**
38
- * Config. For OpenAI-compatible providers, model entries under `available_models` may include `max_tokens` as the maximum output token count and `context_length` as the total context window. `context_window` is a deprecated compatibility alias and should not be used by new clients.
39
- * @type {{ [key: string]: object; }}
40
- * @memberof Llm
41
- */
42
- 'config': {
43
- [key: string]: object;
44
- };
45
- /**
46
- *
47
- * @type {AccessLevel}
48
- * @memberof Llm
49
- */
50
- 'level'?: AccessLevel;
51
- /**
52
- * CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
53
- * @type {string}
54
- * @memberof Llm
55
- */
56
- 'createdAt'?: string;
57
- /**
58
- * UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
59
- * @type {string}
60
- * @memberof Llm
61
- */
62
- 'updatedAt'?: string;
63
- }
64
- //# sourceMappingURL=llm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/llm.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;GAIG;AACH,MAAM,WAAW,GAAG;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * KubeBlocks Cloud API
6
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: support@apecloud.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=llm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"llm.js","sourceRoot":"","sources":["../../../src/openapi/models/llm.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * KubeBlocks Cloud API
5
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@apecloud.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @enum {string}
21
- */
22
-
23
- export const AccessLevel = {
24
- Platform: 'Platform',
25
- Organization: 'Organization'
26
- } as const;
27
-
28
- export type AccessLevel = typeof AccessLevel[keyof typeof AccessLevel];
29
-
30
-
31
-
@@ -1,36 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * KubeBlocks Cloud API
5
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@apecloud.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface CheckAPIKey
21
- */
22
- export interface CheckAPIKey {
23
- /**
24
- *
25
- * @type {boolean}
26
- * @memberof CheckAPIKey
27
- */
28
- 'success'?: boolean;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof CheckAPIKey
33
- */
34
- 'message'?: string;
35
- }
36
-
@@ -1,33 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * KubeBlocks Cloud API
5
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@apecloud.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import type { Llm } from './llm';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface LlmList
24
- */
25
- export interface LlmList {
26
- /**
27
- * Items is the list of llm objects
28
- * @type {Array<Llm>}
29
- * @memberof LlmList
30
- */
31
- 'items': Array<Llm>;
32
- }
33
-