shcp-api-lib 1.0.0
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 +74 -0
- package/dist/index.d.ts +5660 -0
- package/dist/index.esm.js +2954 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +3038 -0
- package/dist/index.js.map +1 -0
- package/dist/types/src/api/app-client-api.d.ts +12 -0
- package/dist/types/src/api/app-client-page-config-api.d.ts +5 -0
- package/dist/types/src/api/app-client-setting-api.d.ts +5 -0
- package/dist/types/src/api/common-dict-api.d.ts +40 -0
- package/dist/types/src/api/common-file-api.d.ts +5 -0
- package/dist/types/src/api/common-right-api.d.ts +60 -0
- package/dist/types/src/api/consumer-api.d.ts +39 -0
- package/dist/types/src/api/consumer-bind-api.d.ts +15 -0
- package/dist/types/src/api/consumer-device-api.d.ts +24 -0
- package/dist/types/src/api/consumer-favorite-api.d.ts +8 -0
- package/dist/types/src/api/device-api.d.ts +19 -0
- package/dist/types/src/api/device-user-api.d.ts +29 -0
- package/dist/types/src/api/disease-care-right-api.d.ts +22 -0
- package/dist/types/src/api/health-common-api.d.ts +15 -0
- package/dist/types/src/api/health-metric-api.d.ts +9 -0
- package/dist/types/src/api/health-profile-api.d.ts +8 -0
- package/dist/types/src/api/health-self-assess-api.d.ts +8 -0
- package/dist/types/src/api/health-study-right-api.d.ts +23 -0
- package/dist/types/src/api/health-tool-api.d.ts +14 -0
- package/dist/types/src/api/help-center.d.ts +4 -0
- package/dist/types/src/api/im-user-api.d.ts +7 -0
- package/dist/types/src/api/index.d.ts +32 -0
- package/dist/types/src/api/km-article-api.d.ts +9 -0
- package/dist/types/src/api/km-form-api.d.ts +10 -0
- package/dist/types/src/api/km-form-rule-relation-api.d.ts +6 -0
- package/dist/types/src/api/login-api.d.ts +18 -0
- package/dist/types/src/api/marketing-api.d.ts +16 -0
- package/dist/types/src/api/message-record-api.d.ts +7 -0
- package/dist/types/src/api/mine-api.d.ts +8 -0
- package/dist/types/src/api/right-qrcode-api.d.ts +9 -0
- package/dist/types/src/api/right-service-config-api.d.ts +18 -0
- package/dist/types/src/api/system-right-api.d.ts +17 -0
- package/dist/types/src/api/user-group-api.d.ts +11 -0
- package/dist/types/src/constants/km-const.d.ts +59 -0
- package/dist/types/src/constants/metric.d.ts +17 -0
- package/dist/types/src/constants/qiniuUploader.d.ts +49 -0
- package/dist/types/src/constants/shcp-common.d.ts +428 -0
- package/dist/types/src/index.d.ts +4 -0
- package/dist/types/src/shcp-api-sdk.d.ts +26 -0
- package/dist/types/src/type/model/app-client-model.d.ts +138 -0
- package/dist/types/src/type/model/app-client-setting-model.d.ts +46 -0
- package/dist/types/src/type/model/blade-system-model.d.ts +34 -0
- package/dist/types/src/type/model/common-dict-model.d.ts +100 -0
- package/dist/types/src/type/model/common-file-model.d.ts +10 -0
- package/dist/types/src/type/model/common-model.d.ts +9 -0
- package/dist/types/src/type/model/common-right-model.d.ts +929 -0
- package/dist/types/src/type/model/consumer-bind-model.d.ts +175 -0
- package/dist/types/src/type/model/consumer-device-model.d.ts +114 -0
- package/dist/types/src/type/model/consumer-favorite-model.d.ts +105 -0
- package/dist/types/src/type/model/consumer-model.d.ts +214 -0
- package/dist/types/src/type/model/device-model.d.ts +295 -0
- package/dist/types/src/type/model/device-user-model.d.ts +53 -0
- package/dist/types/src/type/model/health-care-config-model.d.ts +301 -0
- package/dist/types/src/type/model/health-metric-model.d.ts +181 -0
- package/dist/types/src/type/model/health-profile-model.d.ts +83 -0
- package/dist/types/src/type/model/health-self-assess-model.d.ts +35 -0
- package/dist/types/src/type/model/health-tool-model.d.ts +105 -0
- package/dist/types/src/type/model/im-user-model.d.ts +44 -0
- package/dist/types/src/type/model/index.d.ts +30 -0
- package/dist/types/src/type/model/km-article-model.d.ts +275 -0
- package/dist/types/src/type/model/km-form-model.d.ts +745 -0
- package/dist/types/src/type/model/km-form-rule-relation-model.d.ts +31 -0
- package/dist/types/src/type/model/login-model.d.ts +90 -0
- package/dist/types/src/type/model/marketing-model.d.ts +142 -0
- package/dist/types/src/type/model/message-record-model.d.ts +59 -0
- package/dist/types/src/type/model/mine-model.d.ts +100 -0
- package/dist/types/src/type/model/right-qrcode-model.d.ts +143 -0
- package/dist/types/src/type/model/right-service-config-model.d.ts +2 -0
- package/dist/types/src/type/model/system-right-model.d.ts +134 -0
- package/dist/types/src/type/model/user-group-model.d.ts +45 -0
- package/dist/types/src/type/net-types.d.ts +37 -0
- package/package.json +47 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import type { DictBiz, DictBizVO } from '../type/model/common-dict-model';
|
3
|
+
export declare class CommonDictApi {
|
4
|
+
static getDetail(data: DictBiz): Promise<CommonRes<DictBizVO>>;
|
5
|
+
/**
|
6
|
+
* 列表
|
7
|
+
* URL: /api/blade-system/dict/list
|
8
|
+
*/
|
9
|
+
static getList(data: Map<string, object>): Promise<CommonRes<DictBizVO[]>>;
|
10
|
+
/**
|
11
|
+
* 获取字典树形结构
|
12
|
+
* URL: /api/blade-system/dict/tree
|
13
|
+
*/
|
14
|
+
static getTree(): Promise<CommonRes<DictBizVO[]>>;
|
15
|
+
/**
|
16
|
+
* 获取字典树形结构
|
17
|
+
* URL: /api/blade-system/dict/parent-tree
|
18
|
+
*/
|
19
|
+
static getParentTree(): Promise<CommonRes<DictBizVO[]>>;
|
20
|
+
/**
|
21
|
+
* 获取字典
|
22
|
+
* URL: /api/blade-system/dict/dictionary
|
23
|
+
*/
|
24
|
+
static getDictionary(code: string): Promise<CommonRes<DictBiz[]>>;
|
25
|
+
/**
|
26
|
+
* 获取字典树
|
27
|
+
* URL: /api/blade-system/dict/dictionary-tree
|
28
|
+
*/
|
29
|
+
static getDictionaryTree(code: string): Promise<CommonRes<DictBizVO[]>>;
|
30
|
+
/**
|
31
|
+
* 字典键值列表
|
32
|
+
* URL: /api/blade-system/dict/select
|
33
|
+
*/
|
34
|
+
static getSelect(): Promise<CommonRes<DictBiz[]>>;
|
35
|
+
/**
|
36
|
+
* 字典全列表
|
37
|
+
* URL: /api/blade-system/dict/select-all
|
38
|
+
*/
|
39
|
+
static getSelectAll(): Promise<CommonRes<DictBiz[]>>;
|
40
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
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
|
+
export declare class CommonRightApi {
|
4
|
+
static getRightList(data: RightRequest): Promise<CommonRes<RightDTO[]>>;
|
5
|
+
static flowPage(data: ServiceFlowQuery): Promise<CommonRes<PagedList<ServiceFlowDTO>>>;
|
6
|
+
static taskPage(data: ServiceTaskQuery): Promise<CommonRes<PagedList<ServiceFlowDTO>>>;
|
7
|
+
static listServiceFlow(query: ServiceFlowQuery): Promise<CommonRes<ServiceFlowDTO[]>>;
|
8
|
+
static detailServiceFlowConfig(flowId: number | string): Promise<CommonRes<ServiceFlowConfigDTO>>;
|
9
|
+
static pageServiceTaskUser(data: ServiceTaskQuery): Promise<CommonRes<ServiceTaskUserCountDTO>>;
|
10
|
+
/**
|
11
|
+
* 任务维度
|
12
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/metricException/page
|
13
|
+
*/
|
14
|
+
static metricExceptionPage(data: MetricExceptionQuery): Promise<CommonRes<PagedList<MetricExceptionDTO>>>;
|
15
|
+
/**
|
16
|
+
* 用户维度
|
17
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/metricException/user/page
|
18
|
+
*/
|
19
|
+
static metricExceptionUserPage(data: MetricExceptionQuery): Promise<CommonRes<MetricExceptionUserCountDTO>>;
|
20
|
+
/**
|
21
|
+
* 任务维度
|
22
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/metricException/update
|
23
|
+
*/
|
24
|
+
static updateMetricException(data: MetricExceptionUpdateRequests): Promise<CommonRes<MetricExceptionDTO>>;
|
25
|
+
static commonTaskStart(serviceTypeEnName: string, data: {
|
26
|
+
consumerId: string | number;
|
27
|
+
rightId: string | number;
|
28
|
+
operator: Operator;
|
29
|
+
}): Promise<CommonRes<ServiceStartDTO>>;
|
30
|
+
/**
|
31
|
+
* 服务流程.单个查询(按ID)
|
32
|
+
* URL: /api/shcp-healthcare/serviceFlow/detail
|
33
|
+
*/
|
34
|
+
static detailServiceFlow(id: number): Promise<CommonRes<ServiceFlowDTO>>;
|
35
|
+
/**
|
36
|
+
* 服务流程配置.列表查询
|
37
|
+
* URL: /api/shcp-healthcare/serviceFlow/config/list
|
38
|
+
*/
|
39
|
+
static listServiceFlowConfig(data: ServiceFlowConfigQuery): Promise<CommonRes<ServiceFlowConfigDTO[]>>;
|
40
|
+
/**
|
41
|
+
* 服务任务.单个查询(按ID)
|
42
|
+
* URL: /api/shcp-healthcare/serviceTask/detail
|
43
|
+
*/
|
44
|
+
static detailServiceTask(id: number): Promise<CommonRes<ServiceTaskDTO>>;
|
45
|
+
/**
|
46
|
+
* 服务任务.单个查询(按条件)
|
47
|
+
* URL: /api/shcp-healthcare/serviceTask/get
|
48
|
+
*/
|
49
|
+
static getServiceTask(data: ServiceTaskQuery): Promise<CommonRes<ServiceTaskDTO>>;
|
50
|
+
/**
|
51
|
+
* 服务任务.列表查询
|
52
|
+
* URL: /api/shcp-healthcare/serviceTask/list
|
53
|
+
*/
|
54
|
+
static listServiceTask(data: ServiceTaskQuery): Promise<CommonRes<ServiceTaskDTO[]>>;
|
55
|
+
/**
|
56
|
+
* 服务任务.删除
|
57
|
+
* URL: /api/shcp-healthcare/serviceTask/delete
|
58
|
+
*/
|
59
|
+
static deleteServiceTask(data: ServiceTaskDeleteRequest): Promise<CommonRes<boolean>>;
|
60
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
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
|
+
export declare class ConsumerApi {
|
4
|
+
static getDoctorList(data: ConsumerRightDoctorQuery): Promise<CommonRes<ConsumerRightDoctorDTO[]>>;
|
5
|
+
static getMemberPage(data: ConsumerGroupMemberQuery): Promise<CommonRes<PagedList<ConsumerGroupMemberDTO>>>;
|
6
|
+
static batchCreateMember(data: ConsumerGroupMemberCreateRequest[]): Promise<CommonRes<ConsumerGroupMemberDTO[]>>;
|
7
|
+
static listMember(data: ConsumerGroupMemberQuery): Promise<CommonRes<ConsumerGroupMemberDTO[]>>;
|
8
|
+
static updateMember(data: ConsumerGroupMemberUpdateRequest): Promise<CommonRes<ConsumerGroupMemberDTO>>;
|
9
|
+
static getGroupDetail(id: number): Promise<CommonRes<ConsumerGroupDTO>>;
|
10
|
+
static getGroupPage(data: ConsumerGroupQuery): Promise<CommonRes<PagedList<ConsumerGroupDTO>>>;
|
11
|
+
static getListByIds(data: ConsumerGroupQuery): Promise<CommonRes<ConsumerGroupDTO>>;
|
12
|
+
static getTree(data: {
|
13
|
+
rootId: number | string;
|
14
|
+
}): Promise<CommonRes<ConsumerGroupDTO>>;
|
15
|
+
static updateGroup(data: ConsumerGroupUpdateRequest): Promise<CommonRes<ConsumerGroupDTO>>;
|
16
|
+
static createGroup(data: ConsumerGroupUpdateRequest): Promise<CommonRes<ConsumerGroupDTO>>;
|
17
|
+
static deleteGroup(data: ConsumerGroupDeleteRequest): Promise<CommonRes<boolean>>;
|
18
|
+
static update(data: ConsumerUpdateRequest): Promise<CommonRes<ConsumerDTO>>;
|
19
|
+
static create(data: ConsumerCreateRequest): Promise<CommonRes<ConsumerDTO>>;
|
20
|
+
static list(data: ConsumerQuery): Promise<CommonRes<ConsumerDTO[]>>;
|
21
|
+
static get(data: ConsumerQuery): Promise<CommonRes<ConsumerDTO>>;
|
22
|
+
static getRightDetail(id: number): Promise<CommonRes<ConsumerRightDTO>>;
|
23
|
+
static getRight(data: ConsumerRightQuery): Promise<CommonRes<ConsumerRightDTO>>;
|
24
|
+
static getRightList(data: ConsumerRightQuery): Promise<CommonRes<ConsumerRightDTO[]>>;
|
25
|
+
static getRightPage(data: ConsumerRightQuery): Promise<CommonRes<PagedList<ConsumerRightDTO>>>;
|
26
|
+
static createRight(data: ConsumerRightCreateRequest): Promise<CommonRes<ConsumerRightDTO>>;
|
27
|
+
static batchCreateRight(data: ConsumerRightCreateRequest[]): Promise<CommonRes<ConsumerRightDTO[]>>;
|
28
|
+
static deleteRight(data: ConsumerRightDeleteRequest): Promise<CommonRes<boolean>>;
|
29
|
+
}
|
30
|
+
export declare const crudConsumerGroupApi: {
|
31
|
+
edit: typeof ConsumerApi.updateGroup;
|
32
|
+
add: typeof ConsumerApi.createGroup;
|
33
|
+
list: typeof ConsumerApi.getTree;
|
34
|
+
del: typeof ConsumerApi.deleteGroup;
|
35
|
+
};
|
36
|
+
export declare const crudConsumerApi: {
|
37
|
+
edit: typeof ConsumerApi.update;
|
38
|
+
add: typeof ConsumerApi.create;
|
39
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import { ConsumerBindActiveRequest, ConsumerBindCreateRequest, ConsumerBindDeleteRequest, ConsumerBindDTO, ConsumerBindQuery, ConsumerBindSendSmsCodeRequest, ConsumerBindUpdateRequest } from '../type/model/consumer-bind-model';
|
3
|
+
export declare class ConsumerBindApi {
|
4
|
+
static update(data: ConsumerBindUpdateRequest): Promise<CommonRes<ConsumerBindDTO>>;
|
5
|
+
static create(data: ConsumerBindCreateRequest): Promise<CommonRes<ConsumerBindDTO>>;
|
6
|
+
static delete(data: ConsumerBindDeleteRequest): Promise<CommonRes<any>>;
|
7
|
+
static getList(params: ConsumerBindQuery): Promise<CommonRes<ConsumerBindDTO[]>>;
|
8
|
+
static sendSMSCode(params: ConsumerBindSendSmsCodeRequest): Promise<CommonRes<any>>;
|
9
|
+
static verifySMSCode(params: {
|
10
|
+
code: string;
|
11
|
+
phone: string;
|
12
|
+
}): Promise<CommonRes<any>>;
|
13
|
+
static active(data: ConsumerBindActiveRequest): Promise<CommonRes<ConsumerBindDTO>>;
|
14
|
+
static get(params: ConsumerBindQuery): Promise<CommonRes<ConsumerBindDTO>>;
|
15
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import { ConsumerDeviceCreateRequest, ConsumerDeviceDTO, ConsumerDeviceQuery, ConsumerDeviceUpdateRequest } from '../type/model/consumer-device-model';
|
3
|
+
export declare class ConsumerDeviceApi {
|
4
|
+
/**
|
5
|
+
* 消费用户与租户设备建立绑定关系
|
6
|
+
* URL: /api/shcp-consumer/consumerDevice/bind
|
7
|
+
*/
|
8
|
+
static bind(data: ConsumerDeviceCreateRequest): Promise<CommonRes<ConsumerDeviceDTO>>;
|
9
|
+
/**
|
10
|
+
* 解除消费用户与租户设备绑定关系
|
11
|
+
* URL: /api/shcp-consumer/consumerDevice/unbound
|
12
|
+
*/
|
13
|
+
static unbound(data: ConsumerDeviceUpdateRequest): Promise<CommonRes<ConsumerDeviceDTO>>;
|
14
|
+
/**
|
15
|
+
* 查询消费用户绑定的设备列表
|
16
|
+
* URL: /api/shcp-consumer/consumerDevice/list
|
17
|
+
*/
|
18
|
+
static list(data: ConsumerDeviceQuery): Promise<CommonRes<ConsumerDeviceDTO[]>>;
|
19
|
+
/**
|
20
|
+
* 查询消费用户绑定的设备列表
|
21
|
+
* URL: /api/shcp-consumer/consumerDevice/get
|
22
|
+
*/
|
23
|
+
static get(data: ConsumerDeviceQuery): Promise<CommonRes<ConsumerDeviceDTO>>;
|
24
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
2
|
+
import { ConsumerFavoriteCreateRequest, ConsumerFavoriteDeleteRequest, ConsumerFavoriteDTO, ConsumerFavoriteQuery } from '../type/model/consumer-favorite-model';
|
3
|
+
export declare class ConsumerFavoriteApi {
|
4
|
+
static getPage(data: ConsumerFavoriteQuery): Promise<CommonRes<PagedList<ConsumerFavoriteDTO>>>;
|
5
|
+
static create(data: ConsumerFavoriteCreateRequest): Promise<CommonRes<any>>;
|
6
|
+
static checkFavorite(params: ConsumerFavoriteQuery): Promise<CommonRes<any>>;
|
7
|
+
static delete(data: ConsumerFavoriteDeleteRequest): Promise<CommonRes<any>>;
|
8
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import { DeviceQuery, DeviceDTO, DeviceCopyRequest, DeviceCopyResponse } from '../type/model/device-model';
|
3
|
+
export declare class DeviceApi {
|
4
|
+
/**
|
5
|
+
* 查询租户下所有设备
|
6
|
+
* URL: /api/blade-system/device/list
|
7
|
+
*/
|
8
|
+
static list(data: DeviceQuery): Promise<CommonRes<DeviceDTO[]>>;
|
9
|
+
/**
|
10
|
+
* 查询租户下单个设备信息
|
11
|
+
* URL: /api/blade-system/device/get
|
12
|
+
*/
|
13
|
+
static get(data: DeviceQuery): Promise<CommonRes<DeviceDTO>>;
|
14
|
+
/**
|
15
|
+
* 复制租户设备
|
16
|
+
* URL: /api/blade-system/device/copy
|
17
|
+
*/
|
18
|
+
static copy(data: DeviceCopyRequest): Promise<CommonRes<DeviceCopyResponse>>;
|
19
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import { DeviceUserCreateRequest, DeviceUserLoginRequest, DeviceUserUpdateRequest, DeviceUserDTO, DeviceUserQuery } from '../type/model/device-user-model';
|
3
|
+
export declare class DeviceUserApi {
|
4
|
+
/**
|
5
|
+
* 查询设备用户详情
|
6
|
+
* URL: /api/shcp-consumer/consumerDeviceUser/detail
|
7
|
+
*/
|
8
|
+
static detail(data: DeviceUserQuery): Promise<CommonRes<DeviceUserDTO>>;
|
9
|
+
/**
|
10
|
+
* 更改设备用户
|
11
|
+
* URL: /api/shcp-consumer/consumerDeviceUser/update
|
12
|
+
*/
|
13
|
+
static update(data: DeviceUserUpdateRequest): Promise<CommonRes<DeviceUserDTO>>;
|
14
|
+
/**
|
15
|
+
* 新增设备用户
|
16
|
+
* URL: /api/shcp-consumer/consumerDeviceUser/create
|
17
|
+
*/
|
18
|
+
static create(data: DeviceUserCreateRequest): Promise<CommonRes<DeviceUserDTO>>;
|
19
|
+
/**
|
20
|
+
* 设备登录接口,微信小程序登录
|
21
|
+
* URL: /api/shcp-consumer/consumerDeviceUser/appletLogin
|
22
|
+
*/
|
23
|
+
static appletLogin(data: DeviceUserLoginRequest): Promise<CommonRes<DeviceUserDTO>>;
|
24
|
+
/**
|
25
|
+
* 解密手机号
|
26
|
+
* URL: /api/shcp-consumer/consumerDeviceUser/convertMobile
|
27
|
+
*/
|
28
|
+
static convertMobile(data: DeviceUserLoginRequest): Promise<CommonRes<string>>;
|
29
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { HealthCareOpApi } from '../type/model/common-right-model';
|
2
|
+
import { CommonRightApi } from './common-right-api';
|
3
|
+
export declare const crudDiseaseCareConsumerApi: {
|
4
|
+
list: typeof CommonRightApi.flowPage;
|
5
|
+
};
|
6
|
+
export declare const crudDiseaseCareAssessTaskApi: {
|
7
|
+
list: typeof CommonRightApi.taskPage;
|
8
|
+
};
|
9
|
+
export declare const crudDiseaseCareInterviewTaskApi: {
|
10
|
+
list: typeof CommonRightApi.taskPage;
|
11
|
+
};
|
12
|
+
export declare const crudDiseaseCareFollowupTaskApi: {
|
13
|
+
list: typeof CommonRightApi.taskPage;
|
14
|
+
};
|
15
|
+
export declare const crudDiseaseCareAbnormalTaskApi: {
|
16
|
+
list: typeof CommonRightApi.metricExceptionPage;
|
17
|
+
};
|
18
|
+
export declare const crudDiseaseCareReferralApi: {
|
19
|
+
list: typeof CommonRightApi.taskPage;
|
20
|
+
};
|
21
|
+
export declare const diseaseOpApi: HealthCareOpApi;
|
22
|
+
export declare const diseaseExceptionOpApi: HealthCareOpApi;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { MetricExceptionDTO, MetricExceptionQuery, MetricExceptionUserCountDTO, RightDTO, ServiceFlowDTO, ServiceFlowQuery, ServiceFlowStatisticsDTO, ServiceFlowStatisticsQuery, ServiceTaskDTO, ServiceTaskQuery, ServiceTaskRightQuery, ServiceTaskStatisticsDTO, ServiceTaskStatisticsQuery } from '../type/model/common-right-model';
|
2
|
+
import type { HealthMetricTrendDTO, HealthMetricTrendQuery } from '../type/model/health-metric-model';
|
3
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
4
|
+
export declare class HealthCommonApi {
|
5
|
+
static pageServiceFlow(data: ServiceFlowQuery): Promise<CommonRes<PagedList<ServiceFlowDTO>>>;
|
6
|
+
static statsServiceFlow(data: ServiceFlowStatisticsQuery): Promise<CommonRes<ServiceFlowStatisticsDTO[]>>;
|
7
|
+
static listServiceTaskRight(data: ServiceTaskRightQuery): Promise<CommonRes<RightDTO[]>>;
|
8
|
+
static pageServiceTask(data: ServiceTaskQuery): Promise<CommonRes<PagedList<ServiceTaskDTO>>>;
|
9
|
+
static detailServiceTask(id: number): Promise<CommonRes<ServiceTaskDTO>>;
|
10
|
+
static getServiceTask(data: ServiceTaskQuery): Promise<CommonRes<ServiceTaskDTO>>;
|
11
|
+
static statsServiceTask(data: ServiceTaskStatisticsQuery): Promise<CommonRes<ServiceTaskStatisticsDTO[]>>;
|
12
|
+
static listMetricTrend(data: HealthMetricTrendQuery): Promise<CommonRes<HealthMetricTrendDTO[]>>;
|
13
|
+
static metricExceptionPage(data: MetricExceptionQuery): Promise<CommonRes<PagedList<MetricExceptionDTO>>>;
|
14
|
+
static metricExceptionUserPage(data: MetricExceptionQuery): Promise<CommonRes<MetricExceptionUserCountDTO>>;
|
15
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
2
|
+
import type { HealthMetricDTO, HealthMetricLogDTO, HealthMetricQuery, HealthMetricTrendDTO, HealthMetricTrendQuery } from '../type/model/health-metric-model';
|
3
|
+
export declare class HealthMetricApi {
|
4
|
+
static getMetric(data: HealthMetricQuery): Promise<CommonRes<HealthMetricDTO>>;
|
5
|
+
static listMetric(data: HealthMetricQuery): Promise<CommonRes<HealthMetricDTO[]>>;
|
6
|
+
static pageMetric(data: HealthMetricQuery): Promise<CommonRes<PagedList<HealthMetricDTO>>>;
|
7
|
+
static listTrend(data: HealthMetricTrendQuery): Promise<CommonRes<HealthMetricTrendDTO[]>>;
|
8
|
+
static listLog(data: HealthMetricQuery): Promise<CommonRes<HealthMetricLogDTO[]>>;
|
9
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import type { DiaryTaskDTO, DiaryTaskFetch, DiaryTaskSubmit, ReportTaskDTO, ReportTaskFetch, ReportTaskSubmit } from '../type/model/health-profile-model';
|
3
|
+
export declare class HealthProfileApi {
|
4
|
+
static fetchDiaryTask(data: DiaryTaskFetch): Promise<CommonRes<DiaryTaskDTO>>;
|
5
|
+
static submitDiaryTask(data: DiaryTaskSubmit): Promise<CommonRes<boolean>>;
|
6
|
+
static submitReportTask(data: ReportTaskSubmit): Promise<CommonRes<ReportTaskDTO>>;
|
7
|
+
static fetchReportTask(data: ReportTaskFetch): Promise<CommonRes<ReportTaskDTO>>;
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { ServiceStartRequest, ServiceTaskRequests } from '../type/model/common-right-model';
|
2
|
+
import type { AssessmentTaskDTO } from '../type/model/health-self-assess-model';
|
3
|
+
import type { CommonRes } from '../type/net-types';
|
4
|
+
export declare class HealthSelfAssessApi {
|
5
|
+
static start(data: ServiceStartRequest): Promise<CommonRes<AssessmentTaskDTO>>;
|
6
|
+
static submitTask(data: ServiceTaskRequests.Submit): Promise<CommonRes<boolean>>;
|
7
|
+
static fetchTask(data: ServiceTaskRequests.Fetch): Promise<CommonRes<AssessmentTaskDTO>>;
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { HealthCareOpApi } from '../type/model/common-right-model';
|
2
|
+
import { CommonRightApi } from './common-right-api';
|
3
|
+
export declare const crudHealthStudyConsumerApi: {
|
4
|
+
list: typeof CommonRightApi.flowPage;
|
5
|
+
add: () => void;
|
6
|
+
};
|
7
|
+
export declare const crudHealthStudyAssessTaskApi: {
|
8
|
+
list: typeof CommonRightApi.taskPage;
|
9
|
+
};
|
10
|
+
export declare const crudHealthStudyInterviewTaskApi: {
|
11
|
+
list: typeof CommonRightApi.taskPage;
|
12
|
+
};
|
13
|
+
export declare const crudHealthStudyFollowupTaskApi: {
|
14
|
+
list: typeof CommonRightApi.taskPage;
|
15
|
+
};
|
16
|
+
export declare const crudHealthStudyAbnormalTaskApi: {
|
17
|
+
list: typeof CommonRightApi.metricExceptionPage;
|
18
|
+
};
|
19
|
+
export declare const crudHealthStudyReferralApi: {
|
20
|
+
list: typeof CommonRightApi.taskPage;
|
21
|
+
};
|
22
|
+
export declare const healthStudyOpApi: HealthCareOpApi;
|
23
|
+
export declare const healthStudyExceptionOpApi: HealthCareOpApi;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { HealthToolTaskFetch, HealthToolTaskDTO, HealthToolTaskStart, HealthToolTaskStartDTO } from '../type/model/health-tool-model';
|
2
|
+
import type { CommonRes } from '../type/net-types';
|
3
|
+
export declare class HealthToolApi {
|
4
|
+
/**
|
5
|
+
* 健康工具.任务发起
|
6
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthTool/start
|
7
|
+
*/
|
8
|
+
static start(data: HealthToolTaskStart): Promise<CommonRes<HealthToolTaskStartDTO>>;
|
9
|
+
/**
|
10
|
+
* 健康工具.任务获取
|
11
|
+
* URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/healthTool/task/fetch
|
12
|
+
*/
|
13
|
+
static fetch(data: HealthToolTaskFetch): Promise<CommonRes<HealthToolTaskDTO>>;
|
14
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import type { IMUserDTO, IMUserQuery, IMUserRequest } from '../type/model/im-user-model';
|
3
|
+
export declare class ImUserApi {
|
4
|
+
static login(data: IMUserRequest): Promise<CommonRes<IMUserDTO>>;
|
5
|
+
static getUser(data: IMUserRequest): Promise<CommonRes<IMUserDTO>>;
|
6
|
+
static getUserList(data: IMUserQuery): Promise<CommonRes<IMUserDTO[]>>;
|
7
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
export * from './app-client-api';
|
2
|
+
export * from './app-client-page-config-api';
|
3
|
+
export * from './app-client-setting-api';
|
4
|
+
export * from './common-dict-api';
|
5
|
+
export * from './common-file-api';
|
6
|
+
export * from './common-right-api';
|
7
|
+
export * from './consumer-api';
|
8
|
+
export * from './consumer-bind-api';
|
9
|
+
export * from './consumer-device-api';
|
10
|
+
export * from './consumer-favorite-api';
|
11
|
+
export * from './device-api';
|
12
|
+
export * from './device-user-api';
|
13
|
+
export * from './disease-care-right-api';
|
14
|
+
export * from './health-common-api';
|
15
|
+
export * from './health-metric-api';
|
16
|
+
export * from './health-profile-api';
|
17
|
+
export * from './health-self-assess-api';
|
18
|
+
export * from './health-study-right-api';
|
19
|
+
export * from './health-tool-api';
|
20
|
+
export * from './help-center';
|
21
|
+
export * from './im-user-api';
|
22
|
+
export * from './km-article-api';
|
23
|
+
export * from './km-form-api';
|
24
|
+
export * from './km-form-rule-relation-api';
|
25
|
+
export * from './login-api';
|
26
|
+
export * from './marketing-api';
|
27
|
+
export * from './message-record-api';
|
28
|
+
export * from './mine-api';
|
29
|
+
export * from './right-qrcode-api';
|
30
|
+
export * from './right-service-config-api';
|
31
|
+
export * from './system-right-api';
|
32
|
+
export * from './user-group-api';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
2
|
+
import { ArticleCategoryDTO, ArticleCategoryTreeRequest, ArticleDTO, ArticleQuery, ArticleTagDTO, ArticleTagQuery } from '../type/model/km-article-model';
|
3
|
+
export declare class KmArticleApi {
|
4
|
+
static getCategoryTree(data: ArticleCategoryTreeRequest): Promise<CommonRes<ArticleCategoryDTO>>;
|
5
|
+
static getPage(data: ArticleQuery): Promise<CommonRes<PagedList<ArticleDTO>>>;
|
6
|
+
static getContent(id: number | string): Promise<CommonRes<ArticleDTO>>;
|
7
|
+
static getTagCategoryTree(data: ArticleCategoryTreeRequest): Promise<CommonRes<ArticleCategoryDTO>>;
|
8
|
+
static getTagPage(data: ArticleTagQuery): Promise<CommonRes<PagedList<ArticleTagDTO>>>;
|
9
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import { KMForm } from '../type/model/km-form-model';
|
3
|
+
export declare class KmFormApi {
|
4
|
+
static getContent(formId: number | string): Promise<CommonRes<KMForm.FormResultDTO>>;
|
5
|
+
/**
|
6
|
+
* 根据用户传参进行智能辅助填充
|
7
|
+
* URL: /api/blade-resource/ai/form/smart-filling
|
8
|
+
*/
|
9
|
+
static smartFill(data: KMForm.FormSmartFillRequest): Promise<CommonRes<KMForm.FormSmartFillDTO>>;
|
10
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import { FormRuleRelationDTO, FormRuleRelationQuery } from '../type/model/km-form-rule-relation-model';
|
3
|
+
export declare class KmFormRuleRelationApi {
|
4
|
+
static get(data: FormRuleRelationQuery): Promise<CommonRes<FormRuleRelationDTO>>;
|
5
|
+
static getList(data: FormRuleRelationQuery): Promise<CommonRes<FormRuleRelationDTO[]>>;
|
6
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import type { AppClientLoginRequest, PotentialCustomerCreateRequest, PotentialCustomerDTO, SaleDTO, Tenant } from '../type/model/login-model';
|
2
|
+
import type { CommonRes } from '../type/net-types';
|
3
|
+
export declare class LoginApi {
|
4
|
+
static createApplyAccount(data: PotentialCustomerCreateRequest): Promise<CommonRes<PotentialCustomerDTO>>;
|
5
|
+
static getApplyResult(): Promise<CommonRes<SaleDTO>>;
|
6
|
+
static refreshToken(data: {
|
7
|
+
tenantId: string;
|
8
|
+
refresh_token: string;
|
9
|
+
}): any;
|
10
|
+
static toLogin(data: {
|
11
|
+
tenantId: string;
|
12
|
+
username: string;
|
13
|
+
password: string;
|
14
|
+
}): any;
|
15
|
+
static appClientLogin(data: AppClientLoginRequest): Promise<CommonRes<any>>;
|
16
|
+
static getTenantList(): Promise<CommonRes<Tenant>>;
|
17
|
+
static getRelatedTenantList(relateTenantId: string): any;
|
18
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
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
|
+
export declare class MarketingApi {
|
4
|
+
static saveContent(data: MarketingContentSaveRequest): Promise<CommonRes<MarketingContentDTO[]>>;
|
5
|
+
static create(data: MarketingCreateRequest): Promise<CommonRes<MarketingDTO>>;
|
6
|
+
static update(data: MarketingUpdateRequest): Promise<CommonRes<MarketingDTO>>;
|
7
|
+
static getPage(data: MarketingQuery): Promise<CommonRes<PagedList<MarketingDTO>>>;
|
8
|
+
static delete(data: MarketingDeleteRequest): Promise<CommonRes<void>>;
|
9
|
+
static getDetail(id: number): Promise<CommonRes<MarketingDTO>>;
|
10
|
+
static getTaskPage(data: MarketingTaskQuery): Promise<CommonRes<PagedList<MarketingTaskDTO>>>;
|
11
|
+
static getTaskLogPage(data: MarketingTaskLogQuery): Promise<CommonRes<PagedList<MarketingTaskLogDTO>>>;
|
12
|
+
static createTaskLogs(data: MarketingTaskLogCreateRequest[]): Promise<CommonRes<MarketingTaskLogDTO[]>>;
|
13
|
+
static getMessageTemplateList(data: MessageTemplateQuery): Promise<CommonRes<MessageTemplateDTO[]>>;
|
14
|
+
static getMessageTemplateDetail(id: number): Promise<CommonRes<MessageTemplateDTO>>;
|
15
|
+
static getSendContent(data: marketingSendContentRequest): Promise<CommonRes<boolean>>;
|
16
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
2
|
+
import type { MessageRecordDTO, MessageRecordQuery, MessageRecordUpdateRequest, WrapperMessageRecordDTO } from '../type/model/message-record-model';
|
3
|
+
export declare class MessageRecordApi {
|
4
|
+
static getDetail(id: number): Promise<CommonRes<MessageRecordDTO>>;
|
5
|
+
static getPageGroupedByDay(data: MessageRecordQuery): Promise<CommonRes<PagedList<WrapperMessageRecordDTO>>>;
|
6
|
+
static update(data: MessageRecordUpdateRequest): Promise<CommonRes<boolean>>;
|
7
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import type { AppClientPageConfigDTO, AppClientPageConfigQuery, UserInfo } from '../type/model/mine-model';
|
3
|
+
export declare class MineApi {
|
4
|
+
static getUserInfo: (id: string | number) => Promise<CommonRes<UserInfo>>;
|
5
|
+
static updateInfo: (data: any) => Promise<any>;
|
6
|
+
static getMyPageConfig: (data: AppClientPageConfigQuery) => Promise<CommonRes<AppClientPageConfigDTO>>;
|
7
|
+
static getArticleContent: (id: string) => Promise<any>;
|
8
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
2
|
+
import type { RightQrCodeCreateRequest, RightQrCodeDTO, RightQrCodeRequest, RightQrCodeUpdateRequest } from '../type/model/right-qrcode-model';
|
3
|
+
export declare class RightQrcodeApi {
|
4
|
+
static getPage(data: RightQrCodeRequest): Promise<CommonRes<PagedList<RightQrCodeDTO>>>;
|
5
|
+
static update(data: RightQrCodeUpdateRequest): Promise<CommonRes<RightQrCodeDTO>>;
|
6
|
+
static create(data: RightQrCodeCreateRequest): Promise<CommonRes<RightQrCodeDTO>>;
|
7
|
+
static delete(ids: number[]): Promise<CommonRes<any>>;
|
8
|
+
static getDetail(id: number | string): Promise<CommonRes<RightQrCodeDTO>>;
|
9
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import type { CommonRes } from '../type/net-types';
|
2
|
+
import type { HealthProfileConfigDTO } from '../type/model/common-right-model';
|
3
|
+
import { DiseaseCareConfigDTO, HealthConsultConfigDTO, HealthStudyConfigDTO, RightServiceConfigDTO, RightServiceConfigQuery } from '../type/model/health-care-config-model';
|
4
|
+
import { HealthSelfAssessmentConfigDTO } from '../type/model/health-self-assess-model';
|
5
|
+
import { HealthToolConfigDTO } from '../type/model/health-tool-model';
|
6
|
+
export declare class RightServiceConfigApi {
|
7
|
+
static getDetail(id: number): Promise<CommonRes<RightServiceConfigDTO>>;
|
8
|
+
static get(data: RightServiceConfigQuery): Promise<CommonRes<RightServiceConfigDTO>>;
|
9
|
+
static getList(data: RightServiceConfigQuery): Promise<CommonRes<RightServiceConfigDTO[]>>;
|
10
|
+
static getDiseaseCareDetail(id: number): Promise<CommonRes<DiseaseCareConfigDTO>>;
|
11
|
+
static getDiseaseCareConfig(data: RightServiceConfigQuery): Promise<CommonRes<DiseaseCareConfigDTO>>;
|
12
|
+
static getHealthStudyDetail(id: number): Promise<CommonRes<HealthStudyConfigDTO>>;
|
13
|
+
static getHealthStudyConfig(data: RightServiceConfigQuery): Promise<CommonRes<HealthStudyConfigDTO>>;
|
14
|
+
static getHealthSelfAssessmentConfig(data: RightServiceConfigQuery): Promise<CommonRes<HealthSelfAssessmentConfigDTO>>;
|
15
|
+
static getHealthProfileConfig(data: RightServiceConfigQuery): Promise<CommonRes<HealthProfileConfigDTO>>;
|
16
|
+
static getHealthToolConfig(data: RightServiceConfigQuery): Promise<CommonRes<HealthToolConfigDTO>>;
|
17
|
+
static getHealthConsultConfig(data: RightServiceConfigQuery): Promise<CommonRes<HealthConsultConfigDTO>>;
|
18
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { CommonRes, PagedList } from '../type/net-types';
|
2
|
+
import { RightDTO } from '../type/model/common-right-model';
|
3
|
+
import { RightCopyRequest, RightCopyResponse, RightQuery, RightServiceConfigCopyUpdateRequest } from '../type/model/system-right-model';
|
4
|
+
export declare class SystemRightApi {
|
5
|
+
static getDetail(params: {
|
6
|
+
id: number;
|
7
|
+
}): Promise<CommonRes<RightDTO>>;
|
8
|
+
static get(data: RightQuery): Promise<CommonRes<RightDTO>>;
|
9
|
+
static getListByIds(data: number[]): Promise<CommonRes<RightDTO[]>>;
|
10
|
+
static getList(data: RightQuery): Promise<CommonRes<RightDTO[]>>;
|
11
|
+
static getPage(data: RightQuery): Promise<CommonRes<PagedList<RightDTO>>>;
|
12
|
+
static init(params: {
|
13
|
+
tenantId: string;
|
14
|
+
}): Promise<CommonRes<any>>;
|
15
|
+
static copy(data: RightCopyRequest): Promise<CommonRes<RightCopyResponse>>;
|
16
|
+
static updateCopyConfig(data: RightServiceConfigCopyUpdateRequest): Promise<CommonRes<any>>;
|
17
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { BindUserRequest, CreateRequest, QueryTreeRequest, UnbindUserRequest, UserGroupDeleteRequest, UserGroupMemberRequest, UserGroupUpdateRequest } from '../type/model/user-group-model';
|
2
|
+
export declare class UserGroupApi {
|
3
|
+
static update(data: UserGroupUpdateRequest): any;
|
4
|
+
static unbindUser(data: UnbindUserRequest): any;
|
5
|
+
static create(data: CreateRequest): any;
|
6
|
+
static bindUser(data: BindUserRequest): any;
|
7
|
+
static getTree(data: QueryTreeRequest): any;
|
8
|
+
static getDetail(id: number): any;
|
9
|
+
static getBladeUserPage(data: UserGroupMemberRequest): any;
|
10
|
+
static delete(data: UserGroupDeleteRequest): any;
|
11
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { KMForm } from '../type/model/km-form-model';
|
2
|
+
import type { UserInfo } from '../type/model/mine-model';
|
3
|
+
export declare const ArticleLibType: {
|
4
|
+
Public: string;
|
5
|
+
Private: string;
|
6
|
+
Draft: string;
|
7
|
+
Other: string;
|
8
|
+
};
|
9
|
+
export declare const FormLibType: {
|
10
|
+
Public: string;
|
11
|
+
Private: string;
|
12
|
+
Draft: string;
|
13
|
+
Other: string;
|
14
|
+
};
|
15
|
+
export declare const LabelLibType: {
|
16
|
+
Public: string;
|
17
|
+
Private: string;
|
18
|
+
};
|
19
|
+
/************************************************ */
|
20
|
+
export type KMLibraryType = FormLibraryType;
|
21
|
+
export type LibraryTypeOption = {
|
22
|
+
label: string;
|
23
|
+
value: KMLibraryType;
|
24
|
+
};
|
25
|
+
export declare enum FormType {
|
26
|
+
Form = 1,
|
27
|
+
Tree = 2
|
28
|
+
}
|
29
|
+
export declare enum QuestionItemType {
|
30
|
+
FirstTitle = 1,
|
31
|
+
SecondTitle = 2,
|
32
|
+
ThirdTitle = 3,
|
33
|
+
FormItem = 4
|
34
|
+
}
|
35
|
+
export type FormObjectType = {
|
36
|
+
label: string;
|
37
|
+
value: FormType;
|
38
|
+
};
|
39
|
+
export declare const FormTypeOptions: FormObjectType[];
|
40
|
+
export declare enum FormRuleType {
|
41
|
+
/** 表单内置评估规则 */
|
42
|
+
BuiltInRules = 1,
|
43
|
+
/** 联动计算规则 */
|
44
|
+
InlineCalculation = 2,
|
45
|
+
/** 数值检验规则 */
|
46
|
+
Validation = 3,
|
47
|
+
/** 未知 */
|
48
|
+
Unknown = 99
|
49
|
+
}
|
50
|
+
export declare enum FormLibraryType {
|
51
|
+
Public = 1,
|
52
|
+
Private = 2,
|
53
|
+
Draft = 3,
|
54
|
+
Other = 4,
|
55
|
+
Custom = 1000
|
56
|
+
}
|
57
|
+
export declare const FormLibraryTypeOptions: LibraryTypeOption[];
|
58
|
+
export declare function processFormQueryParams(params: KMForm.FormQuery, type: FormLibraryType, userInfo: UserInfo): void;
|
59
|
+
export declare function isFormEqual(left: any, right: any): boolean;
|