@cherryin/api-client 0.0.8 → 0.0.10
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/.openapi-generator/FILES +165 -0
- package/README.md +245 -2
- package/api.ts +10050 -2478
- package/dist/api.d.ts +5919 -1623
- package/dist/api.js +5433 -168
- package/dist/esm/api.d.ts +5919 -1623
- package/dist/esm/api.js +5415 -166
- package/docs/AIModelAdminServiceApi.md +6 -6
- package/docs/AdminEnterpriseMaterials.md +24 -0
- package/docs/AdminEnterpriseUser.md +24 -0
- package/docs/AdminEnterpriseUserMaterials.md +22 -0
- package/docs/AdminPassportItem.md +24 -0
- package/docs/AdminUserItem.md +26 -0
- package/docs/AuthAdminSession.md +39 -0
- package/docs/AuthAdminUser.md +33 -0
- package/docs/AuthEnterpriseMaterials.md +33 -0
- package/docs/AuthEnterpriseSession.md +37 -0
- package/docs/AuthEnterpriseUser.md +37 -0
- package/docs/AuthIdToken.md +29 -0
- package/docs/AuthPassport.md +35 -0
- package/docs/AuthUser.md +39 -0
- package/docs/AuthUserMethod.md +39 -0
- package/docs/AuthUserSession.md +41 -0
- package/docs/ConfigItem.md +4 -0
- package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
- package/docs/PassportAdminSignInEmailRequest.md +28 -0
- package/docs/PassportAdminSignInEmailResponse.md +26 -0
- package/docs/PassportAuthAdminChangePasswordRequest.md +24 -0
- package/docs/PassportAuthAdminChangePasswordResponse.md +26 -0
- package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
- package/docs/PassportAuthAdminGetInfoResponse.md +24 -0
- package/docs/PassportAuthAdminGetSessionResponse.md +26 -0
- package/docs/PassportAuthAdminListSessionsResponse.md +24 -0
- package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
- package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
- package/docs/PassportAuthAdminPassportListRequest.md +28 -0
- package/docs/PassportAuthAdminPassportListResponse.md +28 -0
- package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
- package/docs/PassportAuthAdminPassportModifyInfoResponse.md +24 -0
- package/docs/PassportAuthAdminRevokeOtherSessionsResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthAdminRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthAdminServiceApi.md +1069 -0
- package/docs/PassportAuthAdminSignOutResponse.md +22 -0
- package/docs/PassportAuthAdminUpdateInfoRequest.md +22 -0
- package/docs/PassportAuthAdminUpdateInfoResponse.md +24 -0
- package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
- package/docs/PassportAuthAdminUserDisableResponse.md +22 -0
- package/docs/PassportAuthAdminUserListRequest.md +28 -0
- package/docs/PassportAuthAdminUserListResponse.md +28 -0
- package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
- package/docs/PassportAuthAdminUserModifyInfoResponse.md +24 -0
- package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
- package/docs/PassportAuthAdminUserModifyPermissionResponse.md +24 -0
- package/docs/PassportAuthChangePasswordRequest.md +26 -0
- package/docs/PassportAuthChangePasswordResponse.md +26 -0
- package/docs/PassportAuthDeleteAllRequest.md +28 -0
- package/docs/PassportAuthDeleteAllResponse.md +22 -0
- package/docs/PassportAuthEnterpriseChangePasswordRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangePasswordResponse.md +26 -0
- package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
- package/docs/PassportAuthEnterpriseDeleteRequest.md +28 -0
- package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
- package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
- package/docs/PassportAuthEnterpriseInfoGetResponse.md +24 -0
- package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
- package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
- package/docs/PassportAuthEnterpriseMaterialUploadResponse.md +22 -0
- package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
- package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
- package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
- package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +24 -0
- package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthEnterpriseServiceApi.md +1170 -0
- package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
- package/docs/PassportAuthEnterpriseSignOutResponse.md +22 -0
- package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
- package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +24 -0
- package/docs/PassportAuthEnterpriseVerifyEmailRequest.md +24 -0
- package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
- package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
- package/docs/PassportAuthInfoGetResponse.md +26 -0
- package/docs/PassportAuthLinkSocialRequest.md +32 -0
- package/docs/PassportAuthLinkSocialResponse.md +26 -0
- package/docs/PassportAuthListMethodsResponse.md +24 -0
- package/docs/PassportAuthListSessionsResponse.md +24 -0
- package/docs/PassportAuthListSocialsResponse.md +24 -0
- package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
- package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
- package/docs/PassportAuthResetPasswordRequest.md +24 -0
- package/docs/PassportAuthResetPasswordResponse.md +22 -0
- package/docs/PassportAuthRevokeOtherSessionsRequest.md +20 -0
- package/docs/PassportAuthRevokeOtherSessionsResponse.md +24 -0
- package/docs/PassportAuthRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthRevokeSessionsRequest.md +20 -0
- package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
- package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
- package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportAuthSocialGetAccessTokenRequest.md +24 -0
- package/docs/PassportAuthSocialGetAccessTokenResponse.md +34 -0
- package/docs/PassportAuthSocialRefreshTokenRequest.md +24 -0
- package/docs/PassportAuthSocialRefreshTokenResponse.md +34 -0
- package/docs/PassportAuthUnlinkSocialRequest.md +24 -0
- package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
- package/docs/PassportAuthUserChangeEmailRequest.md +24 -0
- package/docs/PassportAuthUserChangeEmailResponse.md +24 -0
- package/docs/PassportAuthUserChangePhoneRequest.md +26 -0
- package/docs/PassportAuthUserChangePhoneResponse.md +24 -0
- package/docs/PassportAuthUserDeleteRequest.md +30 -0
- package/docs/PassportAuthUserDeleteResponse.md +22 -0
- package/docs/PassportAuthUserGetSessionResponse.md +24 -0
- package/docs/PassportAuthUserInfoGetResponse.md +24 -0
- package/docs/PassportAuthUserServiceApi.md +1892 -0
- package/docs/PassportAuthUserSignOutRequest.md +22 -0
- package/docs/PassportAuthUserSignOutResponse.md +22 -0
- package/docs/PassportAuthUserUpdateInfoRequest.md +24 -0
- package/docs/PassportAuthUserUpdateInfoResponse.md +24 -0
- package/docs/PassportAuthUserUpdatePassportRequest.md +22 -0
- package/docs/PassportAuthUserUpdatePassportResponse.md +24 -0
- package/docs/PassportAuthUserVerifyEmailRequest.md +26 -0
- package/docs/PassportAuthUserVerifyEmailResponse.md +22 -0
- package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
- package/docs/PassportAuthUserVerifyPhoneResponse.md +22 -0
- package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
- package/docs/PassportEnterprisePasswordResetResponse.md +26 -0
- package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
- package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
- package/docs/PassportEnterpriseSignInEmailResponse.md +30 -0
- package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
- package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
- package/docs/PassportEnterpriseSignUpEmailResponse.md +26 -0
- package/docs/PassportSendVerificationEmailRequest.md +26 -0
- package/docs/PassportSendVerificationEmailResponse.md +22 -0
- package/docs/PassportSendVerificationPhoneRequest.md +26 -0
- package/docs/PassportSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportUserOAuthCallbackResponse.md +36 -0
- package/docs/PassportUserPasswordResetRequest.md +28 -0
- package/docs/PassportUserPasswordResetResponse.md +26 -0
- package/docs/PassportUserSignInEmailRequest.md +32 -0
- package/docs/PassportUserSignInEmailResponse.md +32 -0
- package/docs/PassportUserSignInPhoneRequest.md +26 -0
- package/docs/PassportUserSignInPhoneResponse.md +28 -0
- package/docs/PassportUserSignInSocialRequest.md +32 -0
- package/docs/PassportUserSignInSocialResponse.md +32 -0
- package/docs/PassportUserSignUpEmailRequest.md +36 -0
- package/docs/PassportUserSignUpEmailResponse.md +32 -0
- package/docs/QRCodeAdminServiceApi.md +286 -0
- package/docs/QRCodeCreateRequest.md +37 -0
- package/docs/QRCodeCreateResponse.md +25 -0
- package/docs/QRCodeDeleteResponse.md +23 -0
- package/docs/QRCodeGetResponse.md +25 -0
- package/docs/QRCodeHistoryItem.md +29 -0
- package/docs/QRCodeInfo.md +59 -0
- package/docs/QRCodeListResponse.md +27 -0
- package/docs/QRCodeSnapshot.md +37 -0
- package/docs/QRCodeUpdateRequest.md +39 -0
- package/docs/QRCodeUpdateResponse.md +25 -0
- package/docs/QRCodeWithHistory.md +23 -0
- package/docs/RemoteConfigAdminServiceApi.md +18 -3
- package/docs/RemoteConfigItemGetResponse.md +2 -2
- package/docs/RemoteConfigItemUpdateRequest.md +6 -0
- package/docs/RemoteConfigItemUpdateResponse.md +2 -2
- package/docs/Status.md +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# QRCodeCreateResponse
|
|
2
|
+
|
|
3
|
+
QRCodeCreateResponse 创建二维码响应
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**qr_code** | [**QRCodeInfo**](QRCodeInfo.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { QRCodeCreateResponse } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: QRCodeCreateResponse = {
|
|
19
|
+
code,
|
|
20
|
+
message,
|
|
21
|
+
qr_code,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# QRCodeDeleteResponse
|
|
2
|
+
|
|
3
|
+
QRCodeDeleteResponse 删除二维码响应
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { QRCodeDeleteResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: QRCodeDeleteResponse = {
|
|
18
|
+
code,
|
|
19
|
+
message,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# QRCodeGetResponse
|
|
2
|
+
|
|
3
|
+
QRCodeGetResponse 获取二维码响应
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**data** | [**QRCodeWithHistory**](QRCodeWithHistory.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { QRCodeGetResponse } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: QRCodeGetResponse = {
|
|
19
|
+
code,
|
|
20
|
+
message,
|
|
21
|
+
data,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# QRCodeHistoryItem
|
|
2
|
+
|
|
3
|
+
QRCodeHistoryItem 二维码历史记录项
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**qr_code_id** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**version** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**snapshot** | [**QRCodeSnapshot**](QRCodeSnapshot.md) | | [optional] [default to undefined]
|
|
13
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { QRCodeHistoryItem } from '@cherryin/api-client';
|
|
19
|
+
|
|
20
|
+
const instance: QRCodeHistoryItem = {
|
|
21
|
+
id,
|
|
22
|
+
qr_code_id,
|
|
23
|
+
version,
|
|
24
|
+
snapshot,
|
|
25
|
+
created_at,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# QRCodeInfo
|
|
2
|
+
|
|
3
|
+
QRCodeInfo 二维码信息
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**operator_uid** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**status** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**storage_type** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**storage_bucket** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**storage_latest_key** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**storage_target_key** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**storage_convert_key** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**content_filename** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**source_content_type** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**content_file_size** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**target_content_ext** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**latest_cdn_url** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**target_cdn_url** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**convert_cdn_url** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**expire_at** | **string** | | [optional] [default to undefined]
|
|
27
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
import { QRCodeInfo } from '@cherryin/api-client';
|
|
34
|
+
|
|
35
|
+
const instance: QRCodeInfo = {
|
|
36
|
+
id,
|
|
37
|
+
name,
|
|
38
|
+
description,
|
|
39
|
+
operator_uid,
|
|
40
|
+
status,
|
|
41
|
+
storage_type,
|
|
42
|
+
storage_bucket,
|
|
43
|
+
storage_latest_key,
|
|
44
|
+
storage_target_key,
|
|
45
|
+
storage_convert_key,
|
|
46
|
+
content_filename,
|
|
47
|
+
source_content_type,
|
|
48
|
+
content_file_size,
|
|
49
|
+
target_content_ext,
|
|
50
|
+
latest_cdn_url,
|
|
51
|
+
target_cdn_url,
|
|
52
|
+
convert_cdn_url,
|
|
53
|
+
expire_at,
|
|
54
|
+
created_at,
|
|
55
|
+
updated_at,
|
|
56
|
+
};
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# QRCodeListResponse
|
|
2
|
+
|
|
3
|
+
QRCodeListResponse 列出二维码响应
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**list** | [**Array<QRCodeInfo>**](QRCodeInfo.md) | | [optional] [default to undefined]
|
|
12
|
+
**total** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { QRCodeListResponse } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: QRCodeListResponse = {
|
|
20
|
+
code,
|
|
21
|
+
message,
|
|
22
|
+
list,
|
|
23
|
+
total,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# QRCodeSnapshot
|
|
2
|
+
|
|
3
|
+
QRCodeSnapshot 二维码快照数据
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**storage_latest_key** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**storage_target_key** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**storage_convert_key** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**content_filename** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**content_file_size** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**status** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**snapshot_at** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { QRCodeSnapshot } from '@cherryin/api-client';
|
|
23
|
+
|
|
24
|
+
const instance: QRCodeSnapshot = {
|
|
25
|
+
name,
|
|
26
|
+
description,
|
|
27
|
+
storage_latest_key,
|
|
28
|
+
storage_target_key,
|
|
29
|
+
storage_convert_key,
|
|
30
|
+
content_filename,
|
|
31
|
+
content_file_size,
|
|
32
|
+
status,
|
|
33
|
+
snapshot_at,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# QRCodeUpdateRequest
|
|
2
|
+
|
|
3
|
+
QRCodeUpdateRequest 更新二维码请求
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**storage_type** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**storage_bucket** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**expire_at** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**file_data** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**filename** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**storage_target_key** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**target_content_ext** | **string** | | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { QRCodeUpdateRequest } from '@cherryin/api-client';
|
|
24
|
+
|
|
25
|
+
const instance: QRCodeUpdateRequest = {
|
|
26
|
+
id,
|
|
27
|
+
name,
|
|
28
|
+
description,
|
|
29
|
+
storage_type,
|
|
30
|
+
storage_bucket,
|
|
31
|
+
expire_at,
|
|
32
|
+
file_data,
|
|
33
|
+
filename,
|
|
34
|
+
storage_target_key,
|
|
35
|
+
target_content_ext,
|
|
36
|
+
};
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# QRCodeUpdateResponse
|
|
2
|
+
|
|
3
|
+
QRCodeUpdateResponse 更新二维码响应
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**qr_code** | [**QRCodeInfo**](QRCodeInfo.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { QRCodeUpdateResponse } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: QRCodeUpdateResponse = {
|
|
19
|
+
code,
|
|
20
|
+
message,
|
|
21
|
+
qr_code,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# QRCodeWithHistory
|
|
2
|
+
|
|
3
|
+
QRCodeWithHistory 二维码信息及其历史记录
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**qr_code** | [**QRCodeInfo**](QRCodeInfo.md) | | [optional] [default to undefined]
|
|
10
|
+
**history** | [**Array<QRCodeHistoryItem>**](QRCodeHistoryItem.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { QRCodeWithHistory } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: QRCodeWithHistory = {
|
|
18
|
+
qr_code,
|
|
19
|
+
history,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -79,10 +79,14 @@ import {
|
|
|
79
79
|
const configuration = new Configuration();
|
|
80
80
|
const apiInstance = new RemoteConfigAdminServiceApi(configuration);
|
|
81
81
|
|
|
82
|
+
let service: string; // (optional) (default to undefined)
|
|
82
83
|
let key: string; // (optional) (default to undefined)
|
|
84
|
+
let envList: Array<string>; //要删除的环境列表,若为空则删除所有环境 (optional) (default to undefined)
|
|
83
85
|
|
|
84
86
|
const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemDelete(
|
|
85
|
-
|
|
87
|
+
service,
|
|
88
|
+
key,
|
|
89
|
+
envList
|
|
86
90
|
);
|
|
87
91
|
```
|
|
88
92
|
|
|
@@ -90,7 +94,9 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
|
|
|
90
94
|
|
|
91
95
|
|Name | Type | Description | Notes|
|
|
92
96
|
|------------- | ------------- | ------------- | -------------|
|
|
97
|
+
| **service** | [**string**] | | (optional) defaults to undefined|
|
|
93
98
|
| **key** | [**string**] | | (optional) defaults to undefined|
|
|
99
|
+
| **envList** | **Array<string>** | 要删除的环境列表,若为空则删除所有环境 | (optional) defaults to undefined|
|
|
94
100
|
|
|
95
101
|
|
|
96
102
|
### Return type
|
|
@@ -131,10 +137,12 @@ import {
|
|
|
131
137
|
const configuration = new Configuration();
|
|
132
138
|
const apiInstance = new RemoteConfigAdminServiceApi(configuration);
|
|
133
139
|
|
|
140
|
+
let service: string; //@gotags: form:\"service\" binding:\"required\" (optional) (default to undefined)
|
|
134
141
|
let key: string; //@gotags: form:\"key\" binding:\"required\" (optional) (default to undefined)
|
|
135
142
|
let historyLimit: number; //@gotags: form:\"history_limit\" (optional) (default to undefined)
|
|
136
143
|
|
|
137
144
|
const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemGet(
|
|
145
|
+
service,
|
|
138
146
|
key,
|
|
139
147
|
historyLimit
|
|
140
148
|
);
|
|
@@ -144,6 +152,7 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
|
|
|
144
152
|
|
|
145
153
|
|Name | Type | Description | Notes|
|
|
146
154
|
|------------- | ------------- | ------------- | -------------|
|
|
155
|
+
| **service** | [**string**] | @gotags: form:\"service\" binding:\"required\" | (optional) defaults to undefined|
|
|
147
156
|
| **key** | [**string**] | @gotags: form:\"key\" binding:\"required\" | (optional) defaults to undefined|
|
|
148
157
|
| **historyLimit** | [**number**] | @gotags: form:\"history_limit\" | (optional) defaults to undefined|
|
|
149
158
|
|
|
@@ -188,13 +197,17 @@ const apiInstance = new RemoteConfigAdminServiceApi(configuration);
|
|
|
188
197
|
|
|
189
198
|
let page: number; // (optional) (default to undefined)
|
|
190
199
|
let pageSize: number; // (optional) (default to undefined)
|
|
200
|
+
let services: Array<string>; // (optional) (default to undefined)
|
|
191
201
|
let keys: Array<string>; // (optional) (default to undefined)
|
|
192
|
-
let
|
|
202
|
+
let envList: Array<string>; // (optional) (default to undefined)
|
|
203
|
+
let keyword: string; //搜索关键词,模糊匹配 key + payload + values 字段 (optional) (default to undefined)
|
|
193
204
|
|
|
194
205
|
const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemList(
|
|
195
206
|
page,
|
|
196
207
|
pageSize,
|
|
208
|
+
services,
|
|
197
209
|
keys,
|
|
210
|
+
envList,
|
|
198
211
|
keyword
|
|
199
212
|
);
|
|
200
213
|
```
|
|
@@ -205,8 +218,10 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
|
|
|
205
218
|
|------------- | ------------- | ------------- | -------------|
|
|
206
219
|
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
207
220
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
221
|
+
| **services** | **Array<string>** | | (optional) defaults to undefined|
|
|
208
222
|
| **keys** | **Array<string>** | | (optional) defaults to undefined|
|
|
209
|
-
| **
|
|
223
|
+
| **envList** | **Array<string>** | | (optional) defaults to undefined|
|
|
224
|
+
| **keyword** | [**string**] | 搜索关键词,模糊匹配 key + payload + values 字段 | (optional) defaults to undefined|
|
|
210
225
|
|
|
211
226
|
|
|
212
227
|
### Return type
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**code** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**items** | [**Array<ConfigItemHistory>**](ConfigItemHistory.md) | | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ import { RemoteConfigItemGetResponse } from '@cherryin/api-client';
|
|
|
17
17
|
const instance: RemoteConfigItemGetResponse = {
|
|
18
18
|
code,
|
|
19
19
|
message,
|
|
20
|
-
|
|
20
|
+
items,
|
|
21
21
|
};
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**service** | **string** | | [optional] [default to undefined]
|
|
8
9
|
**key** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**envList** | **Array<string>** | | [optional] [default to undefined]
|
|
11
|
+
**forceUpdateEnvs** | **boolean** | 是否强制更新所有环境的配置项,若为 true 则忽略 env_list,仅更新 item 中指定的环境配置 如果为 false,则仅更新 env_list 中指定的环境配置,并且 env_list 不能为空 | [optional] [default to undefined]
|
|
9
12
|
**item** | [**ConfigItem**](ConfigItem.md) | | [optional] [default to undefined]
|
|
10
13
|
|
|
11
14
|
## Example
|
|
@@ -14,7 +17,10 @@ Name | Type | Description | Notes
|
|
|
14
17
|
import { RemoteConfigItemUpdateRequest } from '@cherryin/api-client';
|
|
15
18
|
|
|
16
19
|
const instance: RemoteConfigItemUpdateRequest = {
|
|
20
|
+
service,
|
|
17
21
|
key,
|
|
22
|
+
envList,
|
|
23
|
+
forceUpdateEnvs,
|
|
18
24
|
item,
|
|
19
25
|
};
|
|
20
26
|
```
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**code** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**items** | [**Array<ConfigItem>**](ConfigItem.md) | | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ import { RemoteConfigItemUpdateResponse } from '@cherryin/api-client';
|
|
|
17
17
|
const instance: RemoteConfigItemUpdateResponse = {
|
|
18
18
|
code,
|
|
19
19
|
message,
|
|
20
|
-
|
|
20
|
+
items,
|
|
21
21
|
};
|
|
22
22
|
```
|
|
23
23
|
|
package/docs/Status.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**code** | **number** | The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. | [optional] [default to undefined]
|
|
10
10
|
**message** | **string** | A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. | [optional] [default to undefined]
|
|
11
|
-
**details** | [**Array<GoogleProtobufAny>**](GoogleProtobufAny.md) | A list of messages that carry the error details. There is a common set of message
|
|
11
|
+
**details** | [**Array<GoogleProtobufAny>**](GoogleProtobufAny.md) | A list of messages that carry the error details. There is a common set of message svctypes for APIs to use. | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|