@cherryin/api-client 0.0.3 → 0.0.5

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/dist/esm/api.d.ts CHANGED
@@ -701,6 +701,15 @@ export interface AuthListSessionsResponse {
701
701
  'message'?: string;
702
702
  'sessions'?: Array<Auth2Session>;
703
703
  }
704
+ export interface AuthOAuth2CallbackResponse {
705
+ 'code'?: string;
706
+ 'message'?: string;
707
+ 'token'?: string;
708
+ 'url'?: string;
709
+ 'redirect'?: boolean;
710
+ 'user'?: Auth2User;
711
+ 'is_linked'?: boolean;
712
+ }
704
713
  export interface AuthRefreshTokenRequest {
705
714
  'provider_id'?: string;
706
715
  'account_id'?: string;
@@ -835,6 +844,16 @@ export interface AuthVerifyEmailResponse {
835
844
  'message'?: string;
836
845
  'user'?: Auth2User;
837
846
  }
847
+ export interface BatchUpdateSessionsRequest {
848
+ 'uid'?: string;
849
+ 'session_ids'?: Array<string>;
850
+ 'action'?: number;
851
+ }
852
+ export interface BatchUpdateSessionsResponse {
853
+ 'code'?: string;
854
+ 'message'?: string;
855
+ 'affected_count'?: number;
856
+ }
838
857
  export interface ConfigItem {
839
858
  'id'?: string;
840
859
  'key'?: string;
@@ -1046,6 +1065,11 @@ export interface GCPAuth {
1046
1065
  */
1047
1066
  'backend'?: number;
1048
1067
  }
1068
+ export interface GetUserDetailResponse {
1069
+ 'code'?: string;
1070
+ 'message'?: string;
1071
+ 'user'?: UserManageDetail;
1072
+ }
1049
1073
  /**
1050
1074
  * Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
1051
1075
  */
@@ -1175,6 +1199,34 @@ export interface LabelUpdateResponse {
1175
1199
  */
1176
1200
  'data'?: Label;
1177
1201
  }
1202
+ export interface ListUsersRequest {
1203
+ /**
1204
+ * 分页参数
1205
+ */
1206
+ 'page'?: number;
1207
+ 'page_size'?: number;
1208
+ /**
1209
+ * 过滤条件
1210
+ */
1211
+ 'uids'?: Array<string>;
1212
+ 'display_name'?: string;
1213
+ 'email'?: string;
1214
+ 'user_statuses'?: Array<number>;
1215
+ 'user_roles'?: Array<number>;
1216
+ /**
1217
+ * 排序
1218
+ */
1219
+ 'order_by'?: string;
1220
+ 'order_dir'?: string;
1221
+ }
1222
+ export interface ListUsersResponse {
1223
+ 'code'?: string;
1224
+ 'message'?: string;
1225
+ 'users'?: Array<UserManageItem>;
1226
+ 'total'?: string;
1227
+ 'page'?: number;
1228
+ 'page_size'?: number;
1229
+ }
1178
1230
  /**
1179
1231
  * MultimodalPricing 多模态计费 Multimodal pricing
1180
1232
  */
@@ -1693,6 +1745,25 @@ export interface RequestPricing {
1693
1745
  */
1694
1746
  'per_thousand_requests'?: string;
1695
1747
  }
1748
+ export interface SetUserRoleRequest {
1749
+ 'uid'?: string;
1750
+ 'new_role'?: number;
1751
+ }
1752
+ export interface SetUserRoleResponse {
1753
+ 'code'?: string;
1754
+ 'message'?: string;
1755
+ 'success'?: boolean;
1756
+ }
1757
+ export interface SetUserStatusRequest {
1758
+ 'uid'?: string;
1759
+ 'new_status'?: number;
1760
+ }
1761
+ export interface SetUserStatusResponse {
1762
+ 'code'?: string;
1763
+ 'message'?: string;
1764
+ 'success'?: boolean;
1765
+ 'revoked_sessions'?: number;
1766
+ }
1696
1767
  /**
1697
1768
  * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
1698
1769
  */
@@ -1778,6 +1849,17 @@ export interface TokenTier {
1778
1849
  */
1779
1850
  'price_per_million'?: string;
1780
1851
  }
1852
+ export interface UpdateUserInfoRequest {
1853
+ 'uid'?: string;
1854
+ 'display_name'?: string;
1855
+ 'email'?: string;
1856
+ 'password'?: string;
1857
+ }
1858
+ export interface UpdateUserInfoResponse {
1859
+ 'code'?: string;
1860
+ 'message'?: string;
1861
+ 'success'?: boolean;
1862
+ }
1781
1863
  /**
1782
1864
  * UserAPIKey 代表用户的 API 密钥 UserAPIKey represents a user\'s API key
1783
1865
  */
@@ -2164,6 +2246,101 @@ export interface UserLabelPairChangeResponse {
2164
2246
  */
2165
2247
  'message'?: string;
2166
2248
  }
2249
+ export interface UserManageAPIKey {
2250
+ 'id'?: string;
2251
+ 'name'?: string;
2252
+ 'key_group'?: string;
2253
+ 'balance_code'?: string;
2254
+ 'quota_total'?: string;
2255
+ 'quota_used'?: string;
2256
+ 'quota_mode'?: number;
2257
+ 'key_status'?: number;
2258
+ 'expires_at'?: string;
2259
+ 'created_at'?: string;
2260
+ }
2261
+ export interface UserManageAuthMethod {
2262
+ 'id'?: string;
2263
+ 'auth_type'?: string;
2264
+ 'auth_id'?: string;
2265
+ 'is_primary'?: boolean;
2266
+ 'auth_status'?: number;
2267
+ 'last_used_at'?: string;
2268
+ 'created_at'?: string;
2269
+ }
2270
+ export interface UserManageBalance {
2271
+ 'balance_code'?: string;
2272
+ 'prepaid_balance_total'?: string;
2273
+ 'prepaid_balance_used'?: string;
2274
+ 'prepaid_balance_frozen'?: string;
2275
+ 'bonus_balance_total'?: string;
2276
+ 'bonus_balance_used'?: string;
2277
+ 'bonus_balance_frozen'?: string;
2278
+ }
2279
+ /**
2280
+ * 用户管理详情(完整信息)
2281
+ */
2282
+ export interface UserManageDetail {
2283
+ /**
2284
+ * 基本信息
2285
+ */
2286
+ 'uid'?: string;
2287
+ 'display_name'?: string;
2288
+ 'email'?: string;
2289
+ 'avatar_url'?: string;
2290
+ 'user_role'?: number;
2291
+ 'user_status'?: number;
2292
+ 'user_group'?: string;
2293
+ 'created_at'?: string;
2294
+ 'updated_at'?: string;
2295
+ /**
2296
+ * 设置信息
2297
+ */
2298
+ 'settings'?: UserManageSettings;
2299
+ /**
2300
+ * 余额信息
2301
+ */
2302
+ 'balance'?: UserManageBalance;
2303
+ /**
2304
+ * API Key 配额信息
2305
+ */
2306
+ 'api_keys'?: Array<UserManageAPIKey>;
2307
+ /**
2308
+ * 认证方式列表
2309
+ */
2310
+ 'auth_methods'?: Array<UserManageAuthMethod>;
2311
+ /**
2312
+ * Session 列表
2313
+ */
2314
+ 'sessions'?: Array<UserManageSession>;
2315
+ }
2316
+ /**
2317
+ * 用户管理列表项(精简信息)
2318
+ */
2319
+ export interface UserManageItem {
2320
+ 'uid'?: string;
2321
+ 'display_name'?: string;
2322
+ 'email'?: string;
2323
+ 'avatar_url'?: string;
2324
+ 'user_role'?: number;
2325
+ 'user_status'?: number;
2326
+ 'user_group'?: string;
2327
+ 'created_at'?: string;
2328
+ 'updated_at'?: string;
2329
+ 'auth_types'?: Array<string>;
2330
+ }
2331
+ export interface UserManageSession {
2332
+ 'id'?: string;
2333
+ 'session_type'?: string;
2334
+ 'ip_address'?: string;
2335
+ 'user_agent'?: string;
2336
+ 'active_at'?: string;
2337
+ 'expires_at'?: string;
2338
+ 'created_at'?: string;
2339
+ 'is_current'?: boolean;
2340
+ }
2341
+ export interface UserManageSettings {
2342
+ 'email_notifications_enabled'?: boolean;
2343
+ }
2167
2344
  export interface UserMeInfo {
2168
2345
  'info'?: UserInfo;
2169
2346
  'settings'?: UserSettings;
@@ -2999,6 +3176,15 @@ export declare const Auth2UserServiceApiAxiosParamCreator: (configuration?: Conf
2999
3176
  * @throws {RequiredError}
3000
3177
  */
3001
3178
  auth2UserServiceAuthListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3179
+ /**
3180
+ *
3181
+ * @param {string} platform
3182
+ * @param {string} [code]
3183
+ * @param {string} [state]
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ */
3187
+ auth2UserServiceAuthOAuth2Callback: (platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3002
3188
  /**
3003
3189
  * ============ Token 管理 ============
3004
3190
  * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
@@ -3163,6 +3349,15 @@ export declare const Auth2UserServiceApiFp: (configuration?: Configuration) => {
3163
3349
  * @throws {RequiredError}
3164
3350
  */
3165
3351
  auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListSessionsResponse>>;
3352
+ /**
3353
+ *
3354
+ * @param {string} platform
3355
+ * @param {string} [code]
3356
+ * @param {string} [state]
3357
+ * @param {*} [options] Override http request option.
3358
+ * @throws {RequiredError}
3359
+ */
3360
+ auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthOAuth2CallbackResponse>>;
3166
3361
  /**
3167
3362
  * ============ Token 管理 ============
3168
3363
  * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
@@ -3327,6 +3522,15 @@ export declare const Auth2UserServiceApiFactory: (configuration?: Configuration,
3327
3522
  * @throws {RequiredError}
3328
3523
  */
3329
3524
  auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
3525
+ /**
3526
+ *
3527
+ * @param {string} platform
3528
+ * @param {string} [code]
3529
+ * @param {string} [state]
3530
+ * @param {*} [options] Override http request option.
3531
+ * @throws {RequiredError}
3532
+ */
3533
+ auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthOAuth2CallbackResponse>;
3330
3534
  /**
3331
3535
  * ============ Token 管理 ============
3332
3536
  * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
@@ -3491,6 +3695,15 @@ export interface Auth2UserServiceApiInterface {
3491
3695
  * @throws {RequiredError}
3492
3696
  */
3493
3697
  auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
3698
+ /**
3699
+ *
3700
+ * @param {string} platform
3701
+ * @param {string} [code]
3702
+ * @param {string} [state]
3703
+ * @param {*} [options] Override http request option.
3704
+ * @throws {RequiredError}
3705
+ */
3706
+ auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthOAuth2CallbackResponse>;
3494
3707
  /**
3495
3708
  * ============ Token 管理 ============
3496
3709
  * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
@@ -3655,6 +3868,15 @@ export declare class Auth2UserServiceApi extends BaseAPI implements Auth2UserSer
3655
3868
  * @throws {RequiredError}
3656
3869
  */
3657
3870
  auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListSessionsResponse, any, {}>>;
3871
+ /**
3872
+ *
3873
+ * @param {string} platform
3874
+ * @param {string} [code]
3875
+ * @param {string} [state]
3876
+ * @param {*} [options] Override http request option.
3877
+ * @throws {RequiredError}
3878
+ */
3879
+ auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthOAuth2CallbackResponse, any, {}>>;
3658
3880
  /**
3659
3881
  * ============ Token 管理 ============
3660
3882
  * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
@@ -5361,6 +5583,241 @@ export declare class UserLabelServiceApi extends BaseAPI implements UserLabelSer
5361
5583
  */
5362
5584
  userLabelServiceUserLabelPairChange(userLabelPairChangeRequest: UserLabelPairChangeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserLabelPairChangeResponse, any, {}>>;
5363
5585
  }
5586
+ /**
5587
+ * UserManageAdminServiceApi - axios parameter creator
5588
+ */
5589
+ export declare const UserManageAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
5590
+ /**
5591
+ * 批量管理 Session
5592
+ * @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
5593
+ * @param {*} [options] Override http request option.
5594
+ * @throws {RequiredError}
5595
+ */
5596
+ userManageAdminServiceBatchUpdateSessions: (batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5597
+ /**
5598
+ * 用户详情
5599
+ * @param {string} [uid] @gotags: form:\&quot;uid\&quot; binding:\&quot;uid\&quot;
5600
+ * @param {*} [options] Override http request option.
5601
+ * @throws {RequiredError}
5602
+ */
5603
+ userManageAdminServiceGetUserDetail: (uid?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5604
+ /**
5605
+ * 用户列表(分页查询)
5606
+ * @param {ListUsersRequest} listUsersRequest
5607
+ * @param {*} [options] Override http request option.
5608
+ * @throws {RequiredError}
5609
+ */
5610
+ userManageAdminServiceListUsers: (listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5611
+ /**
5612
+ * 设置用户角色
5613
+ * @param {SetUserRoleRequest} setUserRoleRequest
5614
+ * @param {*} [options] Override http request option.
5615
+ * @throws {RequiredError}
5616
+ */
5617
+ userManageAdminServiceSetUserRole: (setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5618
+ /**
5619
+ * 设置用户状态(启用/禁用)
5620
+ * @param {SetUserStatusRequest} setUserStatusRequest
5621
+ * @param {*} [options] Override http request option.
5622
+ * @throws {RequiredError}
5623
+ */
5624
+ userManageAdminServiceSetUserStatus: (setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5625
+ /**
5626
+ * 更新用户信息
5627
+ * @param {UpdateUserInfoRequest} updateUserInfoRequest
5628
+ * @param {*} [options] Override http request option.
5629
+ * @throws {RequiredError}
5630
+ */
5631
+ userManageAdminServiceUpdateUserInfo: (updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5632
+ };
5633
+ /**
5634
+ * UserManageAdminServiceApi - functional programming interface
5635
+ */
5636
+ export declare const UserManageAdminServiceApiFp: (configuration?: Configuration) => {
5637
+ /**
5638
+ * 批量管理 Session
5639
+ * @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
5640
+ * @param {*} [options] Override http request option.
5641
+ * @throws {RequiredError}
5642
+ */
5643
+ userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpdateSessionsResponse>>;
5644
+ /**
5645
+ * 用户详情
5646
+ * @param {string} [uid] @gotags: form:\&quot;uid\&quot; binding:\&quot;uid\&quot;
5647
+ * @param {*} [options] Override http request option.
5648
+ * @throws {RequiredError}
5649
+ */
5650
+ userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserDetailResponse>>;
5651
+ /**
5652
+ * 用户列表(分页查询)
5653
+ * @param {ListUsersRequest} listUsersRequest
5654
+ * @param {*} [options] Override http request option.
5655
+ * @throws {RequiredError}
5656
+ */
5657
+ userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponse>>;
5658
+ /**
5659
+ * 设置用户角色
5660
+ * @param {SetUserRoleRequest} setUserRoleRequest
5661
+ * @param {*} [options] Override http request option.
5662
+ * @throws {RequiredError}
5663
+ */
5664
+ userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserRoleResponse>>;
5665
+ /**
5666
+ * 设置用户状态(启用/禁用)
5667
+ * @param {SetUserStatusRequest} setUserStatusRequest
5668
+ * @param {*} [options] Override http request option.
5669
+ * @throws {RequiredError}
5670
+ */
5671
+ userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserStatusResponse>>;
5672
+ /**
5673
+ * 更新用户信息
5674
+ * @param {UpdateUserInfoRequest} updateUserInfoRequest
5675
+ * @param {*} [options] Override http request option.
5676
+ * @throws {RequiredError}
5677
+ */
5678
+ userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserInfoResponse>>;
5679
+ };
5680
+ /**
5681
+ * UserManageAdminServiceApi - factory interface
5682
+ */
5683
+ export declare const UserManageAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5684
+ /**
5685
+ * 批量管理 Session
5686
+ * @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
5687
+ * @param {*} [options] Override http request option.
5688
+ * @throws {RequiredError}
5689
+ */
5690
+ userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
5691
+ /**
5692
+ * 用户详情
5693
+ * @param {string} [uid] @gotags: form:\&quot;uid\&quot; binding:\&quot;uid\&quot;
5694
+ * @param {*} [options] Override http request option.
5695
+ * @throws {RequiredError}
5696
+ */
5697
+ userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
5698
+ /**
5699
+ * 用户列表(分页查询)
5700
+ * @param {ListUsersRequest} listUsersRequest
5701
+ * @param {*} [options] Override http request option.
5702
+ * @throws {RequiredError}
5703
+ */
5704
+ userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
5705
+ /**
5706
+ * 设置用户角色
5707
+ * @param {SetUserRoleRequest} setUserRoleRequest
5708
+ * @param {*} [options] Override http request option.
5709
+ * @throws {RequiredError}
5710
+ */
5711
+ userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
5712
+ /**
5713
+ * 设置用户状态(启用/禁用)
5714
+ * @param {SetUserStatusRequest} setUserStatusRequest
5715
+ * @param {*} [options] Override http request option.
5716
+ * @throws {RequiredError}
5717
+ */
5718
+ userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
5719
+ /**
5720
+ * 更新用户信息
5721
+ * @param {UpdateUserInfoRequest} updateUserInfoRequest
5722
+ * @param {*} [options] Override http request option.
5723
+ * @throws {RequiredError}
5724
+ */
5725
+ userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
5726
+ };
5727
+ /**
5728
+ * UserManageAdminServiceApi - interface
5729
+ */
5730
+ export interface UserManageAdminServiceApiInterface {
5731
+ /**
5732
+ * 批量管理 Session
5733
+ * @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
5734
+ * @param {*} [options] Override http request option.
5735
+ * @throws {RequiredError}
5736
+ */
5737
+ userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
5738
+ /**
5739
+ * 用户详情
5740
+ * @param {string} [uid] @gotags: form:\&quot;uid\&quot; binding:\&quot;uid\&quot;
5741
+ * @param {*} [options] Override http request option.
5742
+ * @throws {RequiredError}
5743
+ */
5744
+ userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
5745
+ /**
5746
+ * 用户列表(分页查询)
5747
+ * @param {ListUsersRequest} listUsersRequest
5748
+ * @param {*} [options] Override http request option.
5749
+ * @throws {RequiredError}
5750
+ */
5751
+ userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
5752
+ /**
5753
+ * 设置用户角色
5754
+ * @param {SetUserRoleRequest} setUserRoleRequest
5755
+ * @param {*} [options] Override http request option.
5756
+ * @throws {RequiredError}
5757
+ */
5758
+ userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
5759
+ /**
5760
+ * 设置用户状态(启用/禁用)
5761
+ * @param {SetUserStatusRequest} setUserStatusRequest
5762
+ * @param {*} [options] Override http request option.
5763
+ * @throws {RequiredError}
5764
+ */
5765
+ userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
5766
+ /**
5767
+ * 更新用户信息
5768
+ * @param {UpdateUserInfoRequest} updateUserInfoRequest
5769
+ * @param {*} [options] Override http request option.
5770
+ * @throws {RequiredError}
5771
+ */
5772
+ userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
5773
+ }
5774
+ /**
5775
+ * UserManageAdminServiceApi - object-oriented interface
5776
+ */
5777
+ export declare class UserManageAdminServiceApi extends BaseAPI implements UserManageAdminServiceApiInterface {
5778
+ /**
5779
+ * 批量管理 Session
5780
+ * @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
5781
+ * @param {*} [options] Override http request option.
5782
+ * @throws {RequiredError}
5783
+ */
5784
+ userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchUpdateSessionsResponse, any, {}>>;
5785
+ /**
5786
+ * 用户详情
5787
+ * @param {string} [uid] @gotags: form:\&quot;uid\&quot; binding:\&quot;uid\&quot;
5788
+ * @param {*} [options] Override http request option.
5789
+ * @throws {RequiredError}
5790
+ */
5791
+ userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserDetailResponse, any, {}>>;
5792
+ /**
5793
+ * 用户列表(分页查询)
5794
+ * @param {ListUsersRequest} listUsersRequest
5795
+ * @param {*} [options] Override http request option.
5796
+ * @throws {RequiredError}
5797
+ */
5798
+ userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsersResponse, any, {}>>;
5799
+ /**
5800
+ * 设置用户角色
5801
+ * @param {SetUserRoleRequest} setUserRoleRequest
5802
+ * @param {*} [options] Override http request option.
5803
+ * @throws {RequiredError}
5804
+ */
5805
+ userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserRoleResponse, any, {}>>;
5806
+ /**
5807
+ * 设置用户状态(启用/禁用)
5808
+ * @param {SetUserStatusRequest} setUserStatusRequest
5809
+ * @param {*} [options] Override http request option.
5810
+ * @throws {RequiredError}
5811
+ */
5812
+ userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserStatusResponse, any, {}>>;
5813
+ /**
5814
+ * 更新用户信息
5815
+ * @param {UpdateUserInfoRequest} updateUserInfoRequest
5816
+ * @param {*} [options] Override http request option.
5817
+ * @throws {RequiredError}
5818
+ */
5819
+ userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserInfoResponse, any, {}>>;
5820
+ }
5364
5821
  /**
5365
5822
  * UserModelServiceApi - axios parameter creator
5366
5823
  */