@cherryin/aigw-api-client 0.1.12 → 0.1.14
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/README.md +2 -2
- package/api.ts +4 -0
- package/dist/api.d.ts +4 -0
- package/dist/esm/api.d.ts +4 -0
- package/docs/AdminAIModelProviderConfigItem.md +4 -0
- package/docs/AdminProvider.md +2 -0
- package/docs/AdminProviderCreateRequest.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cherryin/aigw-api-client@0.1.
|
|
1
|
+
## @cherryin/aigw-api-client@0.1.14
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cherryin/aigw-api-client@0.1.
|
|
39
|
+
npm install @cherryin/aigw-api-client@0.1.14 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -151,6 +151,8 @@ export interface AdminAIModelProviderConfigItem {
|
|
|
151
151
|
'priority'?: string;
|
|
152
152
|
'traffic_permille'?: string;
|
|
153
153
|
'endpoint_mapping'?: { [key: string]: string; };
|
|
154
|
+
'provider_name'?: string;
|
|
155
|
+
'provider_model_name'?: string;
|
|
154
156
|
}
|
|
155
157
|
export interface AdminAIModelPublishRequest {
|
|
156
158
|
'id'?: string;
|
|
@@ -254,6 +256,7 @@ export interface AdminProvider {
|
|
|
254
256
|
'updated_at'?: string;
|
|
255
257
|
'deleted_at'?: string;
|
|
256
258
|
'provider_type'?: string;
|
|
259
|
+
'endpoints'?: Array<VersionedAPISchema>;
|
|
257
260
|
}
|
|
258
261
|
export interface AdminProviderCreateRequest {
|
|
259
262
|
'id'?: string;
|
|
@@ -270,6 +273,7 @@ export interface AdminProviderCreateRequest {
|
|
|
270
273
|
'is_official'?: boolean;
|
|
271
274
|
'provider_type'?: string;
|
|
272
275
|
'is_sync'?: boolean;
|
|
276
|
+
'endpoints'?: Array<VersionedAPISchema>;
|
|
273
277
|
}
|
|
274
278
|
export interface AdminProviderCreateResponse {
|
|
275
279
|
'code'?: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -143,6 +143,8 @@ export interface AdminAIModelProviderConfigItem {
|
|
|
143
143
|
'endpoint_mapping'?: {
|
|
144
144
|
[key: string]: string;
|
|
145
145
|
};
|
|
146
|
+
'provider_name'?: string;
|
|
147
|
+
'provider_model_name'?: string;
|
|
146
148
|
}
|
|
147
149
|
export interface AdminAIModelPublishRequest {
|
|
148
150
|
'id'?: string;
|
|
@@ -246,6 +248,7 @@ export interface AdminProvider {
|
|
|
246
248
|
'updated_at'?: string;
|
|
247
249
|
'deleted_at'?: string;
|
|
248
250
|
'provider_type'?: string;
|
|
251
|
+
'endpoints'?: Array<VersionedAPISchema>;
|
|
249
252
|
}
|
|
250
253
|
export interface AdminProviderCreateRequest {
|
|
251
254
|
'id'?: string;
|
|
@@ -262,6 +265,7 @@ export interface AdminProviderCreateRequest {
|
|
|
262
265
|
'is_official'?: boolean;
|
|
263
266
|
'provider_type'?: string;
|
|
264
267
|
'is_sync'?: boolean;
|
|
268
|
+
'endpoints'?: Array<VersionedAPISchema>;
|
|
265
269
|
}
|
|
266
270
|
export interface AdminProviderCreateResponse {
|
|
267
271
|
'code'?: string;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -143,6 +143,8 @@ export interface AdminAIModelProviderConfigItem {
|
|
|
143
143
|
'endpoint_mapping'?: {
|
|
144
144
|
[key: string]: string;
|
|
145
145
|
};
|
|
146
|
+
'provider_name'?: string;
|
|
147
|
+
'provider_model_name'?: string;
|
|
146
148
|
}
|
|
147
149
|
export interface AdminAIModelPublishRequest {
|
|
148
150
|
'id'?: string;
|
|
@@ -246,6 +248,7 @@ export interface AdminProvider {
|
|
|
246
248
|
'updated_at'?: string;
|
|
247
249
|
'deleted_at'?: string;
|
|
248
250
|
'provider_type'?: string;
|
|
251
|
+
'endpoints'?: Array<VersionedAPISchema>;
|
|
249
252
|
}
|
|
250
253
|
export interface AdminProviderCreateRequest {
|
|
251
254
|
'id'?: string;
|
|
@@ -262,6 +265,7 @@ export interface AdminProviderCreateRequest {
|
|
|
262
265
|
'is_official'?: boolean;
|
|
263
266
|
'provider_type'?: string;
|
|
264
267
|
'is_sync'?: boolean;
|
|
268
|
+
'endpoints'?: Array<VersionedAPISchema>;
|
|
265
269
|
}
|
|
266
270
|
export interface AdminProviderCreateResponse {
|
|
267
271
|
'code'?: string;
|
|
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**priority** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**traffic_permille** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**endpoint_mapping** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
13
|
+
**provider_name** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**provider_model_name** | **string** | | [optional] [default to undefined]
|
|
13
15
|
|
|
14
16
|
## Example
|
|
15
17
|
|
|
@@ -22,6 +24,8 @@ const instance: AdminAIModelProviderConfigItem = {
|
|
|
22
24
|
priority,
|
|
23
25
|
traffic_permille,
|
|
24
26
|
endpoint_mapping,
|
|
27
|
+
provider_name,
|
|
28
|
+
provider_model_name,
|
|
25
29
|
};
|
|
26
30
|
```
|
|
27
31
|
|
package/docs/AdminProvider.md
CHANGED
|
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|
|
19
19
|
**updated_at** | **string** | | [optional] [default to undefined]
|
|
20
20
|
**deleted_at** | **string** | | [optional] [default to undefined]
|
|
21
21
|
**provider_type** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**endpoints** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | | [optional] [default to undefined]
|
|
22
23
|
|
|
23
24
|
## Example
|
|
24
25
|
|
|
@@ -40,6 +41,7 @@ const instance: AdminProvider = {
|
|
|
40
41
|
updated_at,
|
|
41
42
|
deleted_at,
|
|
42
43
|
provider_type,
|
|
44
|
+
endpoints,
|
|
43
45
|
};
|
|
44
46
|
```
|
|
45
47
|
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
|
|
17
17
|
**provider_type** | **string** | | [optional] [default to undefined]
|
|
18
18
|
**is_sync** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
**endpoints** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | | [optional] [default to undefined]
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -34,6 +35,7 @@ const instance: AdminProviderCreateRequest = {
|
|
|
34
35
|
is_official,
|
|
35
36
|
provider_type,
|
|
36
37
|
is_sync,
|
|
38
|
+
endpoints,
|
|
37
39
|
};
|
|
38
40
|
```
|
|
39
41
|
|