@cherryin/aigw-api-client 0.1.21 → 0.1.22
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 +2 -1
- package/dist/api.d.ts +2 -1
- package/dist/esm/api.d.ts +2 -1
- package/docs/AdminAIModel.md +2 -0
- package/docs/AdminAIModelCreateRequest.md +2 -0
- package/docs/AdminProviderCreateRequest.md +0 -2
- 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.22
|
|
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.22 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -65,6 +65,7 @@ export interface AdminAIModel {
|
|
|
65
65
|
'created_at'?: string;
|
|
66
66
|
'updated_at'?: string;
|
|
67
67
|
'deleted_at'?: string;
|
|
68
|
+
'official_provider_id'?: string;
|
|
68
69
|
}
|
|
69
70
|
export interface AdminAIModelCheckConnectionResponse {
|
|
70
71
|
'code'?: string;
|
|
@@ -112,6 +113,7 @@ export interface AdminAIModelCreateRequest {
|
|
|
112
113
|
'discount_config'?: AdminAIModelDiscountConfig;
|
|
113
114
|
'model_group'?: string;
|
|
114
115
|
'description'?: string;
|
|
116
|
+
'official_provider_id'?: string;
|
|
115
117
|
}
|
|
116
118
|
export interface AdminAIModelCreateResponse {
|
|
117
119
|
'code'?: string;
|
|
@@ -274,7 +276,6 @@ export interface AdminProviderCreateRequest {
|
|
|
274
276
|
'provider_type'?: string;
|
|
275
277
|
'is_sync'?: boolean;
|
|
276
278
|
'endpoints'?: Array<VersionedAPISchema>;
|
|
277
|
-
'official_provider_id'?: string;
|
|
278
279
|
}
|
|
279
280
|
export interface AdminProviderCreateResponse {
|
|
280
281
|
'code'?: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export interface AdminAIModel {
|
|
|
55
55
|
'created_at'?: string;
|
|
56
56
|
'updated_at'?: string;
|
|
57
57
|
'deleted_at'?: string;
|
|
58
|
+
'official_provider_id'?: string;
|
|
58
59
|
}
|
|
59
60
|
export interface AdminAIModelCheckConnectionResponse {
|
|
60
61
|
'code'?: string;
|
|
@@ -102,6 +103,7 @@ export interface AdminAIModelCreateRequest {
|
|
|
102
103
|
'discount_config'?: AdminAIModelDiscountConfig;
|
|
103
104
|
'model_group'?: string;
|
|
104
105
|
'description'?: string;
|
|
106
|
+
'official_provider_id'?: string;
|
|
105
107
|
}
|
|
106
108
|
export interface AdminAIModelCreateResponse {
|
|
107
109
|
'code'?: string;
|
|
@@ -266,7 +268,6 @@ export interface AdminProviderCreateRequest {
|
|
|
266
268
|
'provider_type'?: string;
|
|
267
269
|
'is_sync'?: boolean;
|
|
268
270
|
'endpoints'?: Array<VersionedAPISchema>;
|
|
269
|
-
'official_provider_id'?: string;
|
|
270
271
|
}
|
|
271
272
|
export interface AdminProviderCreateResponse {
|
|
272
273
|
'code'?: string;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export interface AdminAIModel {
|
|
|
55
55
|
'created_at'?: string;
|
|
56
56
|
'updated_at'?: string;
|
|
57
57
|
'deleted_at'?: string;
|
|
58
|
+
'official_provider_id'?: string;
|
|
58
59
|
}
|
|
59
60
|
export interface AdminAIModelCheckConnectionResponse {
|
|
60
61
|
'code'?: string;
|
|
@@ -102,6 +103,7 @@ export interface AdminAIModelCreateRequest {
|
|
|
102
103
|
'discount_config'?: AdminAIModelDiscountConfig;
|
|
103
104
|
'model_group'?: string;
|
|
104
105
|
'description'?: string;
|
|
106
|
+
'official_provider_id'?: string;
|
|
105
107
|
}
|
|
106
108
|
export interface AdminAIModelCreateResponse {
|
|
107
109
|
'code'?: string;
|
|
@@ -266,7 +268,6 @@ export interface AdminProviderCreateRequest {
|
|
|
266
268
|
'provider_type'?: string;
|
|
267
269
|
'is_sync'?: boolean;
|
|
268
270
|
'endpoints'?: Array<VersionedAPISchema>;
|
|
269
|
-
'official_provider_id'?: string;
|
|
270
271
|
}
|
|
271
272
|
export interface AdminProviderCreateResponse {
|
|
272
273
|
'code'?: string;
|
package/docs/AdminAIModel.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**created_at** | **string** | | [optional] [default to undefined]
|
|
33
33
|
**updated_at** | **string** | | [optional] [default to undefined]
|
|
34
34
|
**deleted_at** | **string** | | [optional] [default to undefined]
|
|
35
|
+
**official_provider_id** | **string** | | [optional] [default to undefined]
|
|
35
36
|
|
|
36
37
|
## Example
|
|
37
38
|
|
|
@@ -66,6 +67,7 @@ const instance: AdminAIModel = {
|
|
|
66
67
|
created_at,
|
|
67
68
|
updated_at,
|
|
68
69
|
deleted_at,
|
|
70
|
+
official_provider_id,
|
|
69
71
|
};
|
|
70
72
|
```
|
|
71
73
|
|
|
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**discount_config** | [**AdminAIModelDiscountConfig**](AdminAIModelDiscountConfig.md) | | [optional] [default to undefined]
|
|
30
30
|
**model_group** | **string** | | [optional] [default to undefined]
|
|
31
31
|
**description** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**official_provider_id** | **string** | | [optional] [default to undefined]
|
|
32
33
|
|
|
33
34
|
## Example
|
|
34
35
|
|
|
@@ -60,6 +61,7 @@ const instance: AdminAIModelCreateRequest = {
|
|
|
60
61
|
discount_config,
|
|
61
62
|
model_group,
|
|
62
63
|
description,
|
|
64
|
+
official_provider_id,
|
|
63
65
|
};
|
|
64
66
|
```
|
|
65
67
|
|
|
@@ -17,7 +17,6 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**provider_type** | **string** | | [optional] [default to undefined]
|
|
18
18
|
**is_sync** | **boolean** | | [optional] [default to undefined]
|
|
19
19
|
**endpoints** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | | [optional] [default to undefined]
|
|
20
|
-
**official_provider_id** | **string** | | [optional] [default to undefined]
|
|
21
20
|
|
|
22
21
|
## Example
|
|
23
22
|
|
|
@@ -37,7 +36,6 @@ const instance: AdminProviderCreateRequest = {
|
|
|
37
36
|
provider_type,
|
|
38
37
|
is_sync,
|
|
39
38
|
endpoints,
|
|
40
|
-
official_provider_id,
|
|
41
39
|
};
|
|
42
40
|
```
|
|
43
41
|
|