123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- export namespace API {
-
- export type GET_API_CURRENT_USER_QUERY = {
-
- token: string;
- };
- export type GET_API_CURRENT_USER_PAYLOAD = Record<string, any>;
- export type GET_API_CURRENT_USER_RES = {
-
- data: {
- name: string;
- avatar: string;
- userid: string;
- email: string;
- signature: string;
- title: string;
- group: string;
- tags: {
- key: string;
- label: string;
- }[];
- notifyCount: number;
- unreadCount: number;
- country: string;
- geographic: {
- province: {
- label: string;
- key: string;
- };
- city: {
- label: string;
- key: string;
- };
- };
- address: string;
- phone: string;
- };
- };
-
- export type GET_API_RULE_QUERY = {
-
- token: string;
-
- current: string;
-
- pageSize: string;
- };
- export type GET_API_RULE_PAYLOAD = Record<string, any>;
- export type GET_API_RULE_RES = {
-
- data: {
- key: number;
- disabled: boolean;
- href: string;
- avatar: string;
- name: string;
- owner: string;
- desc: string;
- callNo: number;
- status: string;
- updatedAt: string;
- createdAt: string;
- progress: number;
- }[];
-
- total: number;
-
- success: boolean;
-
- pageSize: number;
-
- current: number;
- };
-
- export type POST_API_LOGIN_OUT_LOGIN_QUERY = {
-
- token: string;
- };
- export type POST_API_LOGIN_OUT_LOGIN_PAYLOAD = Record<string, any>;
- export type POST_API_LOGIN_OUT_LOGIN_RES = {
-
- data: Record<string, any>;
-
- success: boolean;
- };
-
- export type POST_API_LOGIN_ACCOUNT_QUERY = {
-
- token: string;
- };
- export type POST_API_LOGIN_ACCOUNT_PAYLOAD = {
-
- username: string;
-
- password: string;
-
- autoLogin: boolean;
-
- type: string;
- };
- export type POST_API_LOGIN_ACCOUNT_RES = {
-
- status: string;
-
- type: string;
-
- currentAuthority: string;
- };
- }
|