shcp-api-lib 1.0.1 → 1.0.2
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/index.d.ts +543 -0
- package/dist/index.esm.js +643 -319
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +643 -319
- package/dist/index.js.map +1 -1
- package/dist/types/src/api/app-client-page-config-api.d.ts +4 -0
- package/dist/types/src/api/app-client-setting-api.d.ts +4 -0
- package/dist/types/src/api/common-dict-api.d.ts +4 -0
- package/dist/types/src/api/common-right-api.d.ts +28 -0
- package/dist/types/src/api/consumer-api.d.ts +92 -0
- package/dist/types/src/api/consumer-bind-api.d.ts +32 -0
- package/dist/types/src/api/consumer-favorite-api.d.ts +16 -0
- package/dist/types/src/api/health-common-api.d.ts +40 -0
- package/dist/types/src/api/health-metric-api.d.ts +20 -0
- package/dist/types/src/api/health-profile-api.d.ts +16 -0
- package/dist/types/src/api/health-self-assess-api.d.ts +12 -0
- package/dist/types/src/api/help-center.d.ts +4 -0
- package/dist/types/src/api/im-user-api.d.ts +12 -0
- package/dist/types/src/api/km-article-api.d.ts +15 -0
- package/dist/types/src/api/km-form-api.d.ts +4 -0
- package/dist/types/src/api/km-form-rule-relation-api.d.ts +8 -0
- package/dist/types/src/api/login-api.d.ts +28 -0
- package/dist/types/src/api/marketing-api.d.ts +48 -0
- package/dist/types/src/api/message-record-api.d.ts +12 -0
- package/dist/types/src/api/mine-api.d.ts +16 -0
- package/dist/types/src/api/right-qrcode-api.d.ts +20 -0
- package/dist/types/src/api/right-service-config-api.d.ts +44 -0
- package/dist/types/src/api/system-right-api.d.ts +32 -0
- package/dist/types/src/api/user-group-api.d.ts +32 -0
- package/package.json +1 -1
@@ -1,5 +1,9 @@
|
|
1
1
|
import { AppClientPageConfigDTO, AppClientPageConfigQuery } from '../type/model/mine-model';
|
2
2
|
import { CommonRes } from '../type/net-types';
|
3
3
|
export declare class AppClientPageConfigApi {
|
4
|
+
/**
|
5
|
+
* 查询列表
|
6
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/appClient/pageConfig/list
|
7
|
+
*/
|
4
8
|
static getList(data: AppClientPageConfigQuery): Promise<CommonRes<AppClientPageConfigDTO[]>>;
|
5
9
|
}
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { CommonRes } from '../type/net-types';
|
2
2
|
import { AppClientSettingDTO, AppClientSettingQuery } from '../type/model/app-client-setting-model';
|
3
3
|
export declare class AppClientSettingApi {
|
4
|
+
/**
|
5
|
+
* 查询单个
|
6
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/appClient/setting/get
|
7
|
+
*/
|
4
8
|
static get(data: AppClientSettingQuery): Promise<CommonRes<AppClientSettingDTO>>;
|
5
9
|
}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import type { CommonRes } from '../type/net-types';
|
2
2
|
import type { DictBiz, DictBizVO } from '../type/model/common-dict-model';
|
3
3
|
export declare class CommonDictApi {
|
4
|
+
/**
|
5
|
+
* 查询单个详情
|
6
|
+
* URL: /api/blade-system/dict/detail
|
7
|
+
*/
|
4
8
|
static getDetail(data: DictBiz): Promise<CommonRes<DictBizVO>>;
|
5
9
|
/**
|
6
10
|
* 列表
|
@@ -1,11 +1,35 @@
|
|
1
1
|
import type { CommonRes, PagedList } from '../type/net-types';
|
2
2
|
import type { MetricExceptionDTO, MetricExceptionQuery, MetricExceptionUpdateRequests, MetricExceptionUserCountDTO, Operator, RightDTO, RightRequest, ServiceFlowConfigDTO, ServiceFlowConfigQuery, ServiceFlowDTO, ServiceFlowQuery, ServiceStartDTO, ServiceTaskDeleteRequest, ServiceTaskDTO, ServiceTaskQuery, ServiceTaskUserCountDTO } from '../type/model/common-right-model';
|
3
3
|
export declare class CommonRightApi {
|
4
|
+
/**
|
5
|
+
* 获取权益列表
|
6
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/right/list
|
7
|
+
*/
|
4
8
|
static getRightList(data: RightRequest): Promise<CommonRes<RightDTO[]>>;
|
9
|
+
/**
|
10
|
+
* 服务流程分页查询
|
11
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceFlow/page
|
12
|
+
*/
|
5
13
|
static flowPage(data: ServiceFlowQuery): Promise<CommonRes<PagedList<ServiceFlowDTO>>>;
|
14
|
+
/**
|
15
|
+
* 服务任务分页查询
|
16
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceTask/page
|
17
|
+
*/
|
6
18
|
static taskPage(data: ServiceTaskQuery): Promise<CommonRes<PagedList<ServiceFlowDTO>>>;
|
19
|
+
/**
|
20
|
+
* 服务流程.列表查询
|
21
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceFlow/list
|
22
|
+
*/
|
7
23
|
static listServiceFlow(query: ServiceFlowQuery): Promise<CommonRes<ServiceFlowDTO[]>>;
|
24
|
+
/**
|
25
|
+
* 服务流程配置详情
|
26
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceFlow/config/detail
|
27
|
+
*/
|
8
28
|
static detailServiceFlowConfig(flowId: number | string): Promise<CommonRes<ServiceFlowConfigDTO>>;
|
29
|
+
/**
|
30
|
+
* 服务任务用户分页查询
|
31
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceTask/user/page
|
32
|
+
*/
|
9
33
|
static pageServiceTaskUser(data: ServiceTaskQuery): Promise<CommonRes<ServiceTaskUserCountDTO>>;
|
10
34
|
/**
|
11
35
|
* 任务维度
|
@@ -22,6 +46,10 @@ export declare class CommonRightApi {
|
|
22
46
|
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/metricException/update
|
23
47
|
*/
|
24
48
|
static updateMetricException(data: MetricExceptionUpdateRequests): Promise<CommonRes<MetricExceptionDTO>>;
|
49
|
+
/**
|
50
|
+
* 通用任务启动
|
51
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/${serviceTypeEnName}/start
|
52
|
+
*/
|
25
53
|
static commonTaskStart(serviceTypeEnName: string, data: {
|
26
54
|
consumerId: string | number;
|
27
55
|
rightId: string | number;
|
@@ -1,30 +1,122 @@
|
|
1
1
|
import type { CommonRes, PagedList } from '../type/net-types';
|
2
2
|
import type { ConsumerCreateRequest, ConsumerDTO, ConsumerGroupDeleteRequest, ConsumerGroupDTO, ConsumerGroupMemberCreateRequest, ConsumerGroupMemberDTO, ConsumerGroupMemberQuery, ConsumerGroupMemberUpdateRequest, ConsumerGroupQuery, ConsumerGroupUpdateRequest, ConsumerQuery, ConsumerRightCreateRequest, ConsumerRightDeleteRequest, ConsumerRightDoctorDTO, ConsumerRightDoctorQuery, ConsumerRightDTO, ConsumerRightQuery, ConsumerUpdateRequest } from '../type/model/consumer-model';
|
3
3
|
export declare class ConsumerApi {
|
4
|
+
/**
|
5
|
+
* 获取医生列表
|
6
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/listDoctor
|
7
|
+
*/
|
4
8
|
static getDoctorList(data: ConsumerRightDoctorQuery): Promise<CommonRes<ConsumerRightDoctorDTO[]>>;
|
9
|
+
/**
|
10
|
+
* 获取成员分页
|
11
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/member/page
|
12
|
+
*/
|
5
13
|
static getMemberPage(data: ConsumerGroupMemberQuery): Promise<CommonRes<PagedList<ConsumerGroupMemberDTO>>>;
|
14
|
+
/**
|
15
|
+
* 批量新增
|
16
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/member/create
|
17
|
+
*/
|
6
18
|
static batchCreateMember(data: ConsumerGroupMemberCreateRequest[]): Promise<CommonRes<ConsumerGroupMemberDTO[]>>;
|
19
|
+
/**
|
20
|
+
* 列表查询成员
|
21
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/member/list
|
22
|
+
*/
|
7
23
|
static listMember(data: ConsumerGroupMemberQuery): Promise<CommonRes<ConsumerGroupMemberDTO[]>>;
|
24
|
+
/**
|
25
|
+
* 更新成员
|
26
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/member/update
|
27
|
+
*/
|
8
28
|
static updateMember(data: ConsumerGroupMemberUpdateRequest): Promise<CommonRes<ConsumerGroupMemberDTO>>;
|
29
|
+
/**
|
30
|
+
* 获取组详情
|
31
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/detail
|
32
|
+
*/
|
9
33
|
static getGroupDetail(id: number): Promise<CommonRes<ConsumerGroupDTO>>;
|
34
|
+
/**
|
35
|
+
* 获取组分页
|
36
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/page
|
37
|
+
*/
|
10
38
|
static getGroupPage(data: ConsumerGroupQuery): Promise<CommonRes<PagedList<ConsumerGroupDTO>>>;
|
39
|
+
/**
|
40
|
+
* 根据ID列表查询
|
41
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/listByIds
|
42
|
+
*/
|
11
43
|
static getListByIds(data: ConsumerGroupQuery): Promise<CommonRes<ConsumerGroupDTO>>;
|
44
|
+
/**
|
45
|
+
* 获取树形结构
|
46
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/tree
|
47
|
+
*/
|
12
48
|
static getTree(data: {
|
13
49
|
rootId: number | string;
|
14
50
|
}): Promise<CommonRes<ConsumerGroupDTO>>;
|
51
|
+
/**
|
52
|
+
* 更新组
|
53
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/update
|
54
|
+
*/
|
15
55
|
static updateGroup(data: ConsumerGroupUpdateRequest): Promise<CommonRes<ConsumerGroupDTO>>;
|
56
|
+
/**
|
57
|
+
* 创建组
|
58
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/create
|
59
|
+
*/
|
16
60
|
static createGroup(data: ConsumerGroupUpdateRequest): Promise<CommonRes<ConsumerGroupDTO>>;
|
61
|
+
/**
|
62
|
+
* 删除组
|
63
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/group/delete
|
64
|
+
*/
|
17
65
|
static deleteGroup(data: ConsumerGroupDeleteRequest): Promise<CommonRes<boolean>>;
|
66
|
+
/**
|
67
|
+
* 更新消费者
|
68
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/update
|
69
|
+
*/
|
18
70
|
static update(data: ConsumerUpdateRequest): Promise<CommonRes<ConsumerDTO>>;
|
71
|
+
/**
|
72
|
+
* 创建消费者
|
73
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/create
|
74
|
+
*/
|
19
75
|
static create(data: ConsumerCreateRequest): Promise<CommonRes<ConsumerDTO>>;
|
76
|
+
/**
|
77
|
+
* 查询消费者列表
|
78
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/list
|
79
|
+
*/
|
20
80
|
static list(data: ConsumerQuery): Promise<CommonRes<ConsumerDTO[]>>;
|
81
|
+
/**
|
82
|
+
* 查询单个消费者
|
83
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/get
|
84
|
+
*/
|
21
85
|
static get(data: ConsumerQuery): Promise<CommonRes<ConsumerDTO>>;
|
86
|
+
/**
|
87
|
+
* 查询消费用户权益
|
88
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/detail
|
89
|
+
*/
|
22
90
|
static getRightDetail(id: number): Promise<CommonRes<ConsumerRightDTO>>;
|
91
|
+
/**
|
92
|
+
* 查询消费用户权益
|
93
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/get
|
94
|
+
*/
|
23
95
|
static getRight(data: ConsumerRightQuery): Promise<CommonRes<ConsumerRightDTO>>;
|
96
|
+
/**
|
97
|
+
* 查询消费用户权益
|
98
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/list
|
99
|
+
*/
|
24
100
|
static getRightList(data: ConsumerRightQuery): Promise<CommonRes<ConsumerRightDTO[]>>;
|
101
|
+
/**
|
102
|
+
* 查询消费用户权益
|
103
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/page
|
104
|
+
*/
|
25
105
|
static getRightPage(data: ConsumerRightQuery): Promise<CommonRes<PagedList<ConsumerRightDTO>>>;
|
106
|
+
/**
|
107
|
+
* 创建消费用户权益
|
108
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/create
|
109
|
+
*/
|
26
110
|
static createRight(data: ConsumerRightCreateRequest): Promise<CommonRes<ConsumerRightDTO>>;
|
111
|
+
/**
|
112
|
+
* 批量创建消费用户权益
|
113
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/batchCreate
|
114
|
+
*/
|
27
115
|
static batchCreateRight(data: ConsumerRightCreateRequest[]): Promise<CommonRes<ConsumerRightDTO[]>>;
|
116
|
+
/**
|
117
|
+
* 删除消费用户权益
|
118
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumerRight/delete
|
119
|
+
*/
|
28
120
|
static deleteRight(data: ConsumerRightDeleteRequest): Promise<CommonRes<boolean>>;
|
29
121
|
}
|
30
122
|
export declare const crudConsumerGroupApi: {
|
@@ -1,15 +1,47 @@
|
|
1
1
|
import type { CommonRes } from '../type/net-types';
|
2
2
|
import { ConsumerBindActiveRequest, ConsumerBindCreateRequest, ConsumerBindDeleteRequest, ConsumerBindDTO, ConsumerBindQuery, ConsumerBindSendSmsCodeRequest, ConsumerBindUpdateRequest } from '../type/model/consumer-bind-model';
|
3
3
|
export declare class ConsumerBindApi {
|
4
|
+
/**
|
5
|
+
* 更改
|
6
|
+
* URL: /api/shcp-consumer/consumerBind/update
|
7
|
+
*/
|
4
8
|
static update(data: ConsumerBindUpdateRequest): Promise<CommonRes<ConsumerBindDTO>>;
|
9
|
+
/**
|
10
|
+
* 新增
|
11
|
+
* URL: /api/shcp-consumer/consumerBind/bind
|
12
|
+
*/
|
5
13
|
static create(data: ConsumerBindCreateRequest): Promise<CommonRes<ConsumerBindDTO>>;
|
14
|
+
/**
|
15
|
+
* 删除
|
16
|
+
* URL: /api/shcp-consumer/consumerBind/delete
|
17
|
+
*/
|
6
18
|
static delete(data: ConsumerBindDeleteRequest): Promise<CommonRes<any>>;
|
19
|
+
/**
|
20
|
+
* 设备用户绑定的消费用户列表
|
21
|
+
* URL: /api/shcp-consumer/consumerBind/list
|
22
|
+
*/
|
7
23
|
static getList(params: ConsumerBindQuery): Promise<CommonRes<ConsumerBindDTO[]>>;
|
24
|
+
/**
|
25
|
+
* 发送绑定用户验证码
|
26
|
+
* URL: /api/shcp-consumer/consumerBind/sendSMSCode
|
27
|
+
*/
|
8
28
|
static sendSMSCode(params: ConsumerBindSendSmsCodeRequest): Promise<CommonRes<any>>;
|
29
|
+
/**
|
30
|
+
* 验证码校验
|
31
|
+
* URL: /api/shcp-consumer/consumerBind/verifySMSCode
|
32
|
+
*/
|
9
33
|
static verifySMSCode(params: {
|
10
34
|
code: string;
|
11
35
|
phone: string;
|
12
36
|
}): Promise<CommonRes<any>>;
|
37
|
+
/**
|
38
|
+
* 激活
|
39
|
+
* URL: /api/shcp-consumer/consumerBind/active
|
40
|
+
*/
|
13
41
|
static active(data: ConsumerBindActiveRequest): Promise<CommonRes<ConsumerBindDTO>>;
|
42
|
+
/**
|
43
|
+
* 单个查询
|
44
|
+
* URL: /api/shcp-consumer/consumerBind/get
|
45
|
+
*/
|
14
46
|
static get(params: ConsumerBindQuery): Promise<CommonRes<ConsumerBindDTO>>;
|
15
47
|
}
|
@@ -1,8 +1,24 @@
|
|
1
1
|
import type { CommonRes, PagedList } from '../type/net-types';
|
2
2
|
import { ConsumerFavoriteCreateRequest, ConsumerFavoriteDeleteRequest, ConsumerFavoriteDTO, ConsumerFavoriteQuery } from '../type/model/consumer-favorite-model';
|
3
3
|
export declare class ConsumerFavoriteApi {
|
4
|
+
/**
|
5
|
+
* 消费用户收藏列表
|
6
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/favorite/page
|
7
|
+
*/
|
4
8
|
static getPage(data: ConsumerFavoriteQuery): Promise<CommonRes<PagedList<ConsumerFavoriteDTO>>>;
|
9
|
+
/**
|
10
|
+
* 创建消费用户收藏
|
11
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/favorite/create
|
12
|
+
*/
|
5
13
|
static create(data: ConsumerFavoriteCreateRequest): Promise<CommonRes<any>>;
|
14
|
+
/**
|
15
|
+
* 检查是否收藏
|
16
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/favorite/checkFavorite
|
17
|
+
*/
|
6
18
|
static checkFavorite(params: ConsumerFavoriteQuery): Promise<CommonRes<any>>;
|
19
|
+
/**
|
20
|
+
* 取消收藏
|
21
|
+
* URL: /api/shcp-consumer/${ShcpApiSdk.getApiSuffix()}/consumer/favorite/delete
|
22
|
+
*/
|
7
23
|
static delete(data: ConsumerFavoriteDeleteRequest): Promise<CommonRes<any>>;
|
8
24
|
}
|
@@ -2,14 +2,54 @@ import type { MetricExceptionDTO, MetricExceptionQuery, MetricExceptionUserCount
|
|
2
2
|
import type { HealthMetricTrendDTO, HealthMetricTrendQuery } from '../type/model/health-metric-model';
|
3
3
|
import type { CommonRes, PagedList } from '../type/net-types';
|
4
4
|
export declare class HealthCommonApi {
|
5
|
+
/**
|
6
|
+
* 服务流程.分页查询
|
7
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceFlow/page
|
8
|
+
*/
|
5
9
|
static pageServiceFlow(data: ServiceFlowQuery): Promise<CommonRes<PagedList<ServiceFlowDTO>>>;
|
10
|
+
/**
|
11
|
+
* 服务流程.统计, 用户所参与流程统计
|
12
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceFlow/statistics
|
13
|
+
*/
|
6
14
|
static statsServiceFlow(data: ServiceFlowStatisticsQuery): Promise<CommonRes<ServiceFlowStatisticsDTO[]>>;
|
15
|
+
/**
|
16
|
+
* 服务任务的权益.列表查询, 列表查询
|
17
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceTask/right/list
|
18
|
+
*/
|
7
19
|
static listServiceTaskRight(data: ServiceTaskRightQuery): Promise<CommonRes<RightDTO[]>>;
|
20
|
+
/**
|
21
|
+
* 服务任务.分页查询
|
22
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceTask/page
|
23
|
+
*/
|
8
24
|
static pageServiceTask(data: ServiceTaskQuery): Promise<CommonRes<PagedList<ServiceTaskDTO>>>;
|
25
|
+
/**
|
26
|
+
* 服务任务.单个查询(按ID)
|
27
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceTask/detail
|
28
|
+
*/
|
9
29
|
static detailServiceTask(id: number): Promise<CommonRes<ServiceTaskDTO>>;
|
30
|
+
/**
|
31
|
+
* 服务任务.单个查询(按条件)
|
32
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceTask/get
|
33
|
+
*/
|
10
34
|
static getServiceTask(data: ServiceTaskQuery): Promise<CommonRes<ServiceTaskDTO>>;
|
35
|
+
/**
|
36
|
+
* 服务任务.统计, 用户所参与任务统计
|
37
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/serviceTask/statistics
|
38
|
+
*/
|
11
39
|
static statsServiceTask(data: ServiceTaskStatisticsQuery): Promise<CommonRes<ServiceTaskStatisticsDTO[]>>;
|
40
|
+
/**
|
41
|
+
* 健康指标趋势.列表查询
|
42
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthMetricTrend/list
|
43
|
+
*/
|
12
44
|
static listMetricTrend(data: HealthMetricTrendQuery): Promise<CommonRes<HealthMetricTrendDTO[]>>;
|
45
|
+
/**
|
46
|
+
* 指标异常记录.分页查询, 任务维度
|
47
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/metricException/page
|
48
|
+
*/
|
13
49
|
static metricExceptionPage(data: MetricExceptionQuery): Promise<CommonRes<PagedList<MetricExceptionDTO>>>;
|
50
|
+
/**
|
51
|
+
* 指标异常记录.用户分页查询, 用户维度
|
52
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/metricException/user/page
|
53
|
+
*/
|
14
54
|
static metricExceptionUserPage(data: MetricExceptionQuery): Promise<CommonRes<MetricExceptionUserCountDTO>>;
|
15
55
|
}
|
@@ -1,9 +1,29 @@
|
|
1
1
|
import type { CommonRes, PagedList } from '../type/net-types';
|
2
2
|
import type { HealthMetricDTO, HealthMetricLogDTO, HealthMetricQuery, HealthMetricTrendDTO, HealthMetricTrendQuery } from '../type/model/health-metric-model';
|
3
3
|
export declare class HealthMetricApi {
|
4
|
+
/**
|
5
|
+
* 获取健康指标
|
6
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthMetric/get
|
7
|
+
*/
|
4
8
|
static getMetric(data: HealthMetricQuery): Promise<CommonRes<HealthMetricDTO>>;
|
9
|
+
/**
|
10
|
+
* 获取健康指标列表
|
11
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthMetric/list
|
12
|
+
*/
|
5
13
|
static listMetric(data: HealthMetricQuery): Promise<CommonRes<HealthMetricDTO[]>>;
|
14
|
+
/**
|
15
|
+
* 健康指标分页查询
|
16
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthMetric/page
|
17
|
+
*/
|
6
18
|
static pageMetric(data: HealthMetricQuery): Promise<CommonRes<PagedList<HealthMetricDTO>>>;
|
19
|
+
/**
|
20
|
+
* 健康指标趋势列表
|
21
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthMetricTrend/list
|
22
|
+
*/
|
7
23
|
static listTrend(data: HealthMetricTrendQuery): Promise<CommonRes<HealthMetricTrendDTO[]>>;
|
24
|
+
/**
|
25
|
+
* 健康指标日志列表
|
26
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthMetricLog/list
|
27
|
+
*/
|
8
28
|
static listLog(data: HealthMetricQuery): Promise<CommonRes<HealthMetricLogDTO[]>>;
|
9
29
|
}
|
@@ -1,8 +1,24 @@
|
|
1
1
|
import type { CommonRes } from '../type/net-types';
|
2
2
|
import type { DiaryTaskDTO, DiaryTaskFetch, DiaryTaskSubmit, ReportTaskDTO, ReportTaskFetch, ReportTaskSubmit } from '../type/model/health-profile-model';
|
3
3
|
export declare class HealthProfileApi {
|
4
|
+
/**
|
5
|
+
* 获取日记任务
|
6
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthProfile/diaryTask/fetch
|
7
|
+
*/
|
4
8
|
static fetchDiaryTask(data: DiaryTaskFetch): Promise<CommonRes<DiaryTaskDTO>>;
|
9
|
+
/**
|
10
|
+
* 提交日记任务
|
11
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthProfile/diaryTask/submit
|
12
|
+
*/
|
5
13
|
static submitDiaryTask(data: DiaryTaskSubmit): Promise<CommonRes<boolean>>;
|
14
|
+
/**
|
15
|
+
* 提交报告任务
|
16
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthProfile/reportTask/submit
|
17
|
+
*/
|
6
18
|
static submitReportTask(data: ReportTaskSubmit): Promise<CommonRes<ReportTaskDTO>>;
|
19
|
+
/**
|
20
|
+
* 获取报告任务
|
21
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthProfile/reportTask/fetch
|
22
|
+
*/
|
7
23
|
static fetchReportTask(data: ReportTaskFetch): Promise<CommonRes<ReportTaskDTO>>;
|
8
24
|
}
|
@@ -2,7 +2,19 @@ import type { ServiceStartRequest, ServiceTaskRequests } from '../type/model/com
|
|
2
2
|
import type { AssessmentTaskDTO } from '../type/model/health-self-assess-model';
|
3
3
|
import type { CommonRes } from '../type/net-types';
|
4
4
|
export declare class HealthSelfAssessApi {
|
5
|
+
/**
|
6
|
+
* 启动健康自评
|
7
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthSelfAssess/start
|
8
|
+
*/
|
5
9
|
static start(data: ServiceStartRequest): Promise<CommonRes<AssessmentTaskDTO>>;
|
10
|
+
/**
|
11
|
+
* 提交评估任务
|
12
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthSelfAssess/task/submit
|
13
|
+
*/
|
6
14
|
static submitTask(data: ServiceTaskRequests.Submit): Promise<CommonRes<boolean>>;
|
15
|
+
/**
|
16
|
+
* 获取评估任务
|
17
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthSelfAssess/task/fetch
|
18
|
+
*/
|
7
19
|
static fetchTask(data: ServiceTaskRequests.Fetch): Promise<CommonRes<AssessmentTaskDTO>>;
|
8
20
|
}
|
@@ -1,7 +1,19 @@
|
|
1
1
|
import type { CommonRes } from '../type/net-types';
|
2
2
|
import type { IMUserDTO, IMUserQuery, IMUserRequest } from '../type/model/im-user-model';
|
3
3
|
export declare class ImUserApi {
|
4
|
+
/**
|
5
|
+
* 用户登录
|
6
|
+
* URL: /api/shcp-message/${ShcpApiSdk.getApiSuffix()}/message/im/login
|
7
|
+
*/
|
4
8
|
static login(data: IMUserRequest): Promise<CommonRes<IMUserDTO>>;
|
9
|
+
/**
|
10
|
+
* 获取对话用户信息
|
11
|
+
* URL: /api/shcp-message/${ShcpApiSdk.getApiSuffix()}/message/im/getUser
|
12
|
+
*/
|
5
13
|
static getUser(data: IMUserRequest): Promise<CommonRes<IMUserDTO>>;
|
14
|
+
/**
|
15
|
+
* 获取对话用户信息
|
16
|
+
* URL: /api/shcp-message/${ShcpApiSdk.getApiSuffix()}/message/im/getUserList
|
17
|
+
*/
|
6
18
|
static getUserList(data: IMUserQuery): Promise<CommonRes<IMUserDTO[]>>;
|
7
19
|
}
|
@@ -1,9 +1,24 @@
|
|
1
1
|
import type { CommonRes, PagedList } from '../type/net-types';
|
2
2
|
import { ArticleCategoryDTO, ArticleCategoryTreeRequest, ArticleDTO, ArticleQuery, ArticleTagDTO, ArticleTagQuery } from '../type/model/km-article-model';
|
3
3
|
export declare class KmArticleApi {
|
4
|
+
/**
|
5
|
+
* 查询文章分类树
|
6
|
+
*/
|
4
7
|
static getCategoryTree(data: ArticleCategoryTreeRequest): Promise<CommonRes<ArticleCategoryDTO>>;
|
8
|
+
/**
|
9
|
+
* 查询文章分页列表
|
10
|
+
*/
|
5
11
|
static getPage(data: ArticleQuery): Promise<CommonRes<PagedList<ArticleDTO>>>;
|
12
|
+
/**
|
13
|
+
* 文章内容查询
|
14
|
+
*/
|
6
15
|
static getContent(id: number | string): Promise<CommonRes<ArticleDTO>>;
|
16
|
+
/**
|
17
|
+
* 查询标签分类树
|
18
|
+
*/
|
7
19
|
static getTagCategoryTree(data: ArticleCategoryTreeRequest): Promise<CommonRes<ArticleCategoryDTO>>;
|
20
|
+
/**
|
21
|
+
* 查询标签分页列表
|
22
|
+
*/
|
8
23
|
static getTagPage(data: ArticleTagQuery): Promise<CommonRes<PagedList<ArticleTagDTO>>>;
|
9
24
|
}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import type { CommonRes } from '../type/net-types';
|
2
2
|
import { KMForm } from '../type/model/km-form-model';
|
3
3
|
export declare class KmFormApi {
|
4
|
+
/**
|
5
|
+
* 获取表单内容
|
6
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/form/content/query
|
7
|
+
*/
|
4
8
|
static getContent(formId: number | string): Promise<CommonRes<KMForm.FormResultDTO>>;
|
5
9
|
/**
|
6
10
|
* 根据用户传参进行智能辅助填充
|
@@ -1,6 +1,14 @@
|
|
1
1
|
import type { CommonRes } from '../type/net-types';
|
2
2
|
import { FormRuleRelationDTO, FormRuleRelationQuery } from '../type/model/km-form-rule-relation-model';
|
3
3
|
export declare class KmFormRuleRelationApi {
|
4
|
+
/**
|
5
|
+
* 单个查询
|
6
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/form/rule/get
|
7
|
+
*/
|
4
8
|
static get(data: FormRuleRelationQuery): Promise<CommonRes<FormRuleRelationDTO>>;
|
9
|
+
/**
|
10
|
+
* 列表查询
|
11
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/form/rule/list
|
12
|
+
*/
|
5
13
|
static getList(data: FormRuleRelationQuery): Promise<CommonRes<FormRuleRelationDTO[]>>;
|
6
14
|
}
|
@@ -1,18 +1,46 @@
|
|
1
1
|
import type { AppClientLoginRequest, PotentialCustomerCreateRequest, PotentialCustomerDTO, SaleDTO, Tenant } from '../type/model/login-model';
|
2
2
|
import type { CommonRes } from '../type/net-types';
|
3
3
|
export declare class LoginApi {
|
4
|
+
/**
|
5
|
+
* 新增
|
6
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/potentialCustomer/create
|
7
|
+
*/
|
4
8
|
static createApplyAccount(data: PotentialCustomerCreateRequest): Promise<CommonRes<PotentialCustomerDTO>>;
|
9
|
+
/**
|
10
|
+
* 获取申请结果
|
11
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/salesConfig/get
|
12
|
+
*/
|
5
13
|
static getApplyResult(): Promise<CommonRes<SaleDTO>>;
|
14
|
+
/**
|
15
|
+
* 刷新token
|
16
|
+
* URL: /api/blade-auth/oauth/token
|
17
|
+
*/
|
6
18
|
static refreshToken(data: {
|
7
19
|
tenantId: string;
|
8
20
|
refresh_token: string;
|
9
21
|
}): any;
|
22
|
+
/**
|
23
|
+
* 用户登录
|
24
|
+
* URL: /api/blade-auth/oauth/token
|
25
|
+
*/
|
10
26
|
static toLogin(data: {
|
11
27
|
tenantId: string;
|
12
28
|
username: string;
|
13
29
|
password: string;
|
14
30
|
}): any;
|
31
|
+
/**
|
32
|
+
* 应用客户端登录
|
33
|
+
* URL: /api/blade-auth/appClient/login
|
34
|
+
*/
|
15
35
|
static appClientLogin(data: AppClientLoginRequest): Promise<CommonRes<any>>;
|
36
|
+
/**
|
37
|
+
* 获取租户列表
|
38
|
+
* URL: /api/blade-system/tenant/selectTenant
|
39
|
+
*/
|
16
40
|
static getTenantList(): Promise<CommonRes<Tenant>>;
|
41
|
+
/**
|
42
|
+
* 获取关联租户列表
|
43
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/appClient/list
|
44
|
+
*/
|
17
45
|
static getRelatedTenantList(relateTenantId: string): any;
|
18
46
|
}
|
@@ -1,16 +1,64 @@
|
|
1
1
|
import type { CommonRes, PagedList } from '../type/net-types';
|
2
2
|
import type { MarketingContentCreateRequest as MarketingContentSaveRequest, MarketingContentDTO, MarketingCreateRequest, MarketingDeleteRequest, MarketingDTO, MarketingQuery, MarketingTaskDTO, MarketingTaskLogCreateRequest, MarketingTaskLogDTO, MarketingTaskLogQuery, MarketingTaskQuery, MarketingUpdateRequest, MessageTemplateDTO, MessageTemplateQuery, marketingSendContentRequest } from '../type/model/marketing-model';
|
3
3
|
export declare class MarketingApi {
|
4
|
+
/**
|
5
|
+
* 保存营销内容
|
6
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/content/save
|
7
|
+
*/
|
4
8
|
static saveContent(data: MarketingContentSaveRequest): Promise<CommonRes<MarketingContentDTO[]>>;
|
9
|
+
/**
|
10
|
+
* 创建营销活动
|
11
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/create
|
12
|
+
*/
|
5
13
|
static create(data: MarketingCreateRequest): Promise<CommonRes<MarketingDTO>>;
|
14
|
+
/**
|
15
|
+
* 更新营销活动
|
16
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/update
|
17
|
+
*/
|
6
18
|
static update(data: MarketingUpdateRequest): Promise<CommonRes<MarketingDTO>>;
|
19
|
+
/**
|
20
|
+
* 获取营销活动分页
|
21
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/page
|
22
|
+
*/
|
7
23
|
static getPage(data: MarketingQuery): Promise<CommonRes<PagedList<MarketingDTO>>>;
|
24
|
+
/**
|
25
|
+
* 删除营销活动
|
26
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/delete
|
27
|
+
*/
|
8
28
|
static delete(data: MarketingDeleteRequest): Promise<CommonRes<void>>;
|
29
|
+
/**
|
30
|
+
* 获取营销活动详情
|
31
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/detail
|
32
|
+
*/
|
9
33
|
static getDetail(id: number): Promise<CommonRes<MarketingDTO>>;
|
34
|
+
/**
|
35
|
+
* 获取营销任务分页
|
36
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/task/page
|
37
|
+
*/
|
10
38
|
static getTaskPage(data: MarketingTaskQuery): Promise<CommonRes<PagedList<MarketingTaskDTO>>>;
|
39
|
+
/**
|
40
|
+
* 获取营销任务日志分页
|
41
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/task/log/page
|
42
|
+
*/
|
11
43
|
static getTaskLogPage(data: MarketingTaskLogQuery): Promise<CommonRes<PagedList<MarketingTaskLogDTO>>>;
|
44
|
+
/**
|
45
|
+
* 创建营销任务日志
|
46
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/task/log/create
|
47
|
+
*/
|
12
48
|
static createTaskLogs(data: MarketingTaskLogCreateRequest[]): Promise<CommonRes<MarketingTaskLogDTO[]>>;
|
49
|
+
/**
|
50
|
+
* 获取消息模板列表
|
51
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/message/template/list
|
52
|
+
*/
|
13
53
|
static getMessageTemplateList(data: MessageTemplateQuery): Promise<CommonRes<MessageTemplateDTO[]>>;
|
54
|
+
/**
|
55
|
+
* 获取消息模板详情
|
56
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/message/template/detail
|
57
|
+
*/
|
14
58
|
static getMessageTemplateDetail(id: number): Promise<CommonRes<MessageTemplateDTO>>;
|
59
|
+
/**
|
60
|
+
* 获取模版列表数据
|
61
|
+
* URL: /api/shcp-marketing/${ShcpApiSdk.getApiSuffix()}/marketing/content/list
|
62
|
+
*/
|
15
63
|
static getSendContent(data: marketingSendContentRequest): Promise<CommonRes<boolean>>;
|
16
64
|
}
|
@@ -1,7 +1,19 @@
|
|
1
1
|
import type { CommonRes, PagedList } from '../type/net-types';
|
2
2
|
import type { MessageRecordDTO, MessageRecordQuery, MessageRecordUpdateRequest, WrapperMessageRecordDTO } from '../type/model/message-record-model';
|
3
3
|
export declare class MessageRecordApi {
|
4
|
+
/**
|
5
|
+
* 获取消息记录详情
|
6
|
+
* URL: /api/shcp-message/${ShcpApiSdk.getApiSuffix()}/message/record/detail
|
7
|
+
*/
|
4
8
|
static getDetail(id: number): Promise<CommonRes<MessageRecordDTO>>;
|
9
|
+
/**
|
10
|
+
* 按天分组获取消息记录分页
|
11
|
+
* URL: /api/shcp-message/${ShcpApiSdk.getApiSuffix()}/message/record/pageGroupedByDay
|
12
|
+
*/
|
5
13
|
static getPageGroupedByDay(data: MessageRecordQuery): Promise<CommonRes<PagedList<WrapperMessageRecordDTO>>>;
|
14
|
+
/**
|
15
|
+
* 更新消息记录
|
16
|
+
* URL: /api/shcp-message/${ShcpApiSdk.getApiSuffix()}/message/record/update
|
17
|
+
*/
|
6
18
|
static update(data: MessageRecordUpdateRequest): Promise<CommonRes<boolean>>;
|
7
19
|
}
|
@@ -1,8 +1,24 @@
|
|
1
1
|
import type { CommonRes } from '../type/net-types';
|
2
2
|
import type { AppClientPageConfigDTO, AppClientPageConfigQuery, UserInfo } from '../type/model/mine-model';
|
3
3
|
export declare class MineApi {
|
4
|
+
/**
|
5
|
+
* 获取用户信息
|
6
|
+
* URL: /api/blade-system/user/info
|
7
|
+
*/
|
4
8
|
static getUserInfo: (id: string | number) => Promise<CommonRes<UserInfo>>;
|
9
|
+
/**
|
10
|
+
* 更新用户信息
|
11
|
+
* URL: /api/blade-system/user/update-info
|
12
|
+
*/
|
5
13
|
static updateInfo: (data: any) => Promise<any>;
|
14
|
+
/**
|
15
|
+
* 获取我的页面配置
|
16
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/appClient/pageConfig/get
|
17
|
+
*/
|
6
18
|
static getMyPageConfig: (data: AppClientPageConfigQuery) => Promise<CommonRes<AppClientPageConfigDTO>>;
|
19
|
+
/**
|
20
|
+
* 获取详情内容
|
21
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/article/content/query
|
22
|
+
*/
|
7
23
|
static getArticleContent: (id: string) => Promise<any>;
|
8
24
|
}
|