shcp-api-lib 1.0.3 → 1.0.6
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 +8780 -3031
- package/dist/index.esm.js +4900 -942
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4960 -959
- package/dist/index.js.map +1 -1
- package/dist/types/src/api/ai-api.d.ts +17 -0
- package/dist/types/src/api/ai-application-api.d.ts +17 -0
- package/dist/types/src/api/app-client-api.d.ts +2 -2
- package/dist/types/src/api/app-client-page-config-api.d.ts +19 -3
- package/dist/types/src/api/app-client-setting-api.d.ts +32 -2
- package/dist/types/src/api/common-file-api.d.ts +1 -0
- package/dist/types/src/api/common-right-api.d.ts +6 -1
- package/dist/types/src/api/consumer-api.d.ts +7 -2
- package/dist/types/src/api/disease-care-api.d.ts +91 -0
- package/dist/types/src/api/flow-follow-api.d.ts +22 -0
- package/dist/types/src/api/flow-manager-api.d.ts +40 -0
- package/dist/types/src/api/flow-model-api.d.ts +35 -0
- package/dist/types/src/api/flow-process-api.d.ts +27 -0
- package/dist/types/src/api/health-medication-api.d.ts +25 -0
- package/dist/types/src/api/health-metric-api.d.ts +10 -10
- package/dist/types/src/api/health-profile-api.d.ts +13 -2
- package/dist/types/src/api/health-study-api.d.ts +61 -0
- package/dist/types/src/api/index.d.ts +43 -2
- package/dist/types/src/api/job-info-api.d.ts +63 -0
- package/dist/types/src/api/job-server-api.d.ts +58 -0
- package/dist/types/src/api/km-article-api.d.ts +34 -11
- package/dist/types/src/api/km-article-apply-api.d.ts +9 -0
- package/dist/types/src/api/km-article-category-api.d.ts +39 -0
- package/dist/types/src/api/km-article-draft-api.d.ts +29 -0
- package/dist/types/src/api/km-article-tag-api.d.ts +29 -0
- package/dist/types/src/api/km-article-tag-category-api.d.ts +34 -0
- package/dist/types/src/api/km-form-api.d.ts +37 -7
- package/dist/types/src/api/km-form-category-api.d.ts +39 -0
- package/dist/types/src/api/km-form-content-draft-api.d.ts +14 -0
- package/dist/types/src/api/km-form-draft-api.d.ts +14 -0
- package/dist/types/src/api/km-form-item-api.d.ts +9 -0
- package/dist/types/src/api/km-form-tree-node-api.d.ts +29 -0
- package/dist/types/src/api/km-tag-api.d.ts +42 -0
- package/dist/types/src/api/km-tag-category-api.d.ts +47 -0
- package/dist/types/src/api/km-tag-value-dict-api.d.ts +32 -0
- package/dist/types/src/api/license-api.d.ts +50 -0
- package/dist/types/src/api/login-api.d.ts +6 -1
- package/dist/types/src/api/potential-customer-api.d.ts +14 -0
- package/dist/types/src/api/region-api.d.ts +70 -0
- package/dist/types/src/api/report-api.d.ts +9 -0
- package/dist/types/src/api/right-api.d.ts +39 -0
- package/dist/types/src/api/right-draft-api.d.ts +59 -0
- package/dist/types/src/api/right-draft-service-config-api.d.ts +28 -0
- package/dist/types/src/api/right-service-config-api.d.ts +27 -7
- package/dist/types/src/api/rule-api.d.ts +39 -0
- package/dist/types/src/api/system-ApiScopeController-api.d.ts +39 -0
- package/dist/types/src/api/system-DeptController-api.d.ts +27 -0
- package/dist/types/src/api/system-DictBizController-api.d.ts +33 -0
- package/dist/types/src/api/system-DictController-api.d.ts +33 -0
- package/dist/types/src/api/system-MenuController-api.d.ts +42 -0
- package/dist/types/src/api/system-PostController-api.d.ts +49 -0
- package/dist/types/src/api/system-RoleController-api.d.ts +48 -0
- package/dist/types/src/api/system-TenantController-api.d.ts +118 -0
- package/dist/types/src/api/system-TenantPackageController-api.d.ts +44 -0
- package/dist/types/src/api/system-TopMenuController-api.d.ts +44 -0
- package/dist/types/src/api/system-UserController-api.d.ts +116 -0
- package/dist/types/src/api/system-right-api.d.ts +3 -3
- package/dist/types/src/api/user-group-api.d.ts +13 -1
- package/dist/types/src/constants/qiniuUploader.d.ts +2 -14
- package/dist/types/src/constants/shcp-common.d.ts +114 -0
- package/dist/types/src/index.d.ts +3 -0
- package/dist/types/src/shcp-api-sdk.d.ts +17 -4
- package/dist/types/src/type/model/ai-model.d.ts +69 -0
- package/dist/types/src/type/model/app-client-page-config-model.d.ts +148 -0
- package/dist/types/src/type/model/app-client-setting-model.d.ts +55 -0
- package/dist/types/src/type/model/common-right-model.d.ts +129 -7
- package/dist/types/src/type/model/consumer-model.d.ts +34 -38
- package/dist/types/src/type/model/flow-follow-model.d.ts +14 -0
- package/dist/types/src/type/model/flow-manager-model.d.ts +16 -0
- package/dist/types/src/type/model/flow-model-model.d.ts +14 -0
- package/dist/types/src/type/model/flow-process-model.d.ts +13 -0
- package/dist/types/src/type/model/health-medication-model.d.ts +177 -0
- package/dist/types/src/type/model/health-metric-model.d.ts +8 -8
- package/dist/types/src/type/model/index.d.ts +28 -0
- package/dist/types/src/type/model/job-info-model.d.ts +24 -0
- package/dist/types/src/type/model/job-server-model.d.ts +20 -0
- package/dist/types/src/type/model/km-article-model.d.ts +579 -5
- package/dist/types/src/type/model/km-form-model.d.ts +739 -2
- package/dist/types/src/type/model/km-tag-model.d.ts +623 -0
- package/dist/types/src/type/model/license-model.d.ts +84 -0
- package/dist/types/src/type/model/login-model.d.ts +6 -0
- package/dist/types/src/type/model/potential-customer-model.d.ts +136 -0
- package/dist/types/src/type/model/region-model.d.ts +36 -0
- package/dist/types/src/type/model/report-model.d.ts +75 -0
- package/dist/types/src/type/model/right-draft-model.d.ts +243 -0
- package/dist/types/src/type/model/right-model.d.ts +88 -0
- package/dist/types/src/type/model/rule-model.d.ts +140 -0
- package/dist/types/src/type/model/system-ApiScopeController-model.d.ts +36 -0
- package/dist/types/src/type/model/system-DeptController-model.d.ts +26 -0
- package/dist/types/src/type/model/system-DictBizController-model.d.ts +25 -0
- package/dist/types/src/type/model/system-DictController-model.d.ts +25 -0
- package/dist/types/src/type/model/system-MenuController-model.d.ts +56 -0
- package/dist/types/src/type/model/system-PostController-model.d.ts +22 -0
- package/dist/types/src/type/model/system-RoleController-model.d.ts +35 -0
- package/dist/types/src/type/model/system-TenantController-model.d.ts +61 -0
- package/dist/types/src/type/model/system-TenantPackageController-model.d.ts +14 -0
- package/dist/types/src/type/model/system-TopMenuController-model.d.ts +27 -0
- package/dist/types/src/type/model/system-UserController-model.d.ts +51 -0
- package/package.json +6 -4
- package/dist/types/src/api/disease-care-right-api.d.ts +0 -22
- package/dist/types/src/api/health-study-right-api.d.ts +0 -23
@@ -0,0 +1,50 @@
|
|
1
|
+
import type { CommonRes, PagedList } from "../type/net-types";
|
2
|
+
import { LicenseCancelRequest, LicenseCreateRequest, LicenseDTO, LicenseeTenantQuery, LicenseQuery, LicenseReAuthRequest } from "../type/model/license-model";
|
3
|
+
import { Tenant } from "../type/model";
|
4
|
+
export declare class LicenseApi {
|
5
|
+
/**
|
6
|
+
* 单个查询(按ID)
|
7
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/detail
|
8
|
+
*/
|
9
|
+
static detail(id: number): Promise<CommonRes<LicenseDTO>>;
|
10
|
+
/**
|
11
|
+
* 单个查询(按条件)
|
12
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/get
|
13
|
+
*/
|
14
|
+
static get(query: LicenseQuery): Promise<CommonRes<LicenseDTO>>;
|
15
|
+
/**
|
16
|
+
* 列表查询(按条件)
|
17
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/list
|
18
|
+
*/
|
19
|
+
static list(query: LicenseQuery): Promise<CommonRes<LicenseDTO[]>>;
|
20
|
+
/**
|
21
|
+
* 分页查询
|
22
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/page
|
23
|
+
*/
|
24
|
+
static page(data: LicenseQuery): Promise<CommonRes<PagedList<LicenseDTO>>>;
|
25
|
+
/**
|
26
|
+
* 可使用的授权租户列表
|
27
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/availableTenant
|
28
|
+
*/
|
29
|
+
static availableTenant(query: LicenseeTenantQuery): Promise<CommonRes<Tenant[]>>;
|
30
|
+
/**
|
31
|
+
* 创建授权
|
32
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/create
|
33
|
+
*/
|
34
|
+
static create(request: LicenseCreateRequest): Promise<CommonRes<boolean>>;
|
35
|
+
/**
|
36
|
+
* 取消授权
|
37
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/cancel
|
38
|
+
*/
|
39
|
+
static cancel(request: LicenseCancelRequest): Promise<CommonRes<LicenseDTO>>;
|
40
|
+
/**
|
41
|
+
* 重新授权
|
42
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/reauthorization
|
43
|
+
*/
|
44
|
+
static reauthorization(request: LicenseReAuthRequest): Promise<CommonRes<LicenseDTO>>;
|
45
|
+
/**
|
46
|
+
* 授权过期执行
|
47
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/license/expireExecute
|
48
|
+
*/
|
49
|
+
static expireExecute(): Promise<CommonRes<boolean>>;
|
50
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AppClientLoginRequest, PotentialCustomerCreateRequest, PotentialCustomerDTO, SaleDTO, Tenant } from '../type/model/login-model';
|
1
|
+
import type { AppClientLoginRequest, BytLoginRequest, 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
4
|
/**
|
@@ -33,6 +33,11 @@ export declare class LoginApi {
|
|
33
33
|
* URL: /api/blade-auth/appClient/login
|
34
34
|
*/
|
35
35
|
static appClientLogin(data: AppClientLoginRequest): Promise<CommonRes<any>>;
|
36
|
+
/**
|
37
|
+
* 81t登录接口
|
38
|
+
* URL: /api/blade-auth/appClient/byt/login
|
39
|
+
*/
|
40
|
+
static appClientBytLogin(data: BytLoginRequest): Promise<CommonRes<any>>;
|
36
41
|
/**
|
37
42
|
* 获取租户列表
|
38
43
|
* URL: /api/blade-system/tenant/selectTenant
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { WebPotentialCustomerDTO, PotentialCustomerQuery, PotentialCustomerUpdateRequest } from "../type/model/potential-customer-model";
|
2
|
+
import type { CommonRes, PagedList } from "../type/net-types";
|
3
|
+
export declare class PotentialCustomerApi {
|
4
|
+
/**
|
5
|
+
* 修改潜在客户信息
|
6
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/potentialCustomer/update
|
7
|
+
*/
|
8
|
+
static update(data: PotentialCustomerUpdateRequest): Promise<CommonRes<WebPotentialCustomerDTO>>;
|
9
|
+
/**
|
10
|
+
* 分页查询潜在客户列表
|
11
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/potentialCustomer/page
|
12
|
+
*/
|
13
|
+
static page(data: PotentialCustomerQuery): Promise<CommonRes<PagedList<WebPotentialCustomerDTO>>>;
|
14
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import type { CommonRes, PagedList } from "../type/net-types";
|
2
|
+
import type { Region, RegionVO } from "../type/model/region-model";
|
3
|
+
/**
|
4
|
+
* 行政区划 API
|
5
|
+
*/
|
6
|
+
export declare class RegionApi {
|
7
|
+
/**
|
8
|
+
* 详情
|
9
|
+
* URL: /api/blade-system/region/detail
|
10
|
+
*/
|
11
|
+
static detail(params: Partial<Region>): Promise<CommonRes<RegionVO>>;
|
12
|
+
/**
|
13
|
+
* 分页
|
14
|
+
* URL: /api/blade-system/region/list
|
15
|
+
*/
|
16
|
+
static list(params: Partial<Region> & {
|
17
|
+
current?: number;
|
18
|
+
size?: number;
|
19
|
+
}): Promise<CommonRes<PagedList<Region>>>;
|
20
|
+
/**
|
21
|
+
* 懒加载列表
|
22
|
+
* URL: /api/blade-system/region/lazy-list
|
23
|
+
*/
|
24
|
+
static lazyList(parentCode: string, menu: Record<string, any>): Promise<CommonRes<RegionVO[]>>;
|
25
|
+
/**
|
26
|
+
* 懒加载树
|
27
|
+
* URL: /api/blade-system/region/lazy-tree
|
28
|
+
*/
|
29
|
+
static lazyTree(parentCode: string, menu: Record<string, any>): Promise<CommonRes<RegionVO[]>>;
|
30
|
+
/**
|
31
|
+
* 新增
|
32
|
+
* URL: /api/blade-system/region/save
|
33
|
+
*/
|
34
|
+
static save(data: Region): Promise<CommonRes<any>>;
|
35
|
+
/**
|
36
|
+
* 修改
|
37
|
+
* URL: /api/blade-system/region/update
|
38
|
+
*/
|
39
|
+
static update(data: Region): Promise<CommonRes<any>>;
|
40
|
+
/**
|
41
|
+
* 新增或修改
|
42
|
+
* URL: /api/blade-system/region/submit
|
43
|
+
*/
|
44
|
+
static submit(data: Region): Promise<CommonRes<any>>;
|
45
|
+
/**
|
46
|
+
* 删除
|
47
|
+
* URL: /api/blade-system/region/remove
|
48
|
+
*/
|
49
|
+
static remove(id: string): Promise<CommonRes<any>>;
|
50
|
+
/**
|
51
|
+
* 下拉数据源
|
52
|
+
* URL: /api/blade-system/region/select
|
53
|
+
*/
|
54
|
+
static select(code?: string): Promise<CommonRes<Region[]>>;
|
55
|
+
/**
|
56
|
+
* 导入行政区划数据
|
57
|
+
* URL: /api/blade-system/region/import-region
|
58
|
+
*/
|
59
|
+
static importRegion(file: File, isCovered: number): Promise<CommonRes<any>>;
|
60
|
+
/**
|
61
|
+
* 导出行政区划数据
|
62
|
+
* URL: /api/blade-system/region/export-region
|
63
|
+
*/
|
64
|
+
static exportRegion(region: Record<string, any>): Promise<Blob>;
|
65
|
+
/**
|
66
|
+
* 导出模板
|
67
|
+
* URL: /api/blade-system/region/export-template
|
68
|
+
*/
|
69
|
+
static exportTemplate(): Promise<Blob>;
|
70
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { WebReportDTO, ReportQuery } from "../type/model/report-model";
|
2
|
+
import type { CommonRes, PagedList } from "../type/net-types";
|
3
|
+
export declare class ReportApi {
|
4
|
+
/**
|
5
|
+
* 分页查询报表列表
|
6
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/report/page
|
7
|
+
*/
|
8
|
+
static page(data: ReportQuery): Promise<CommonRes<PagedList<WebReportDTO>>>;
|
9
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import type { CommonRes, PagedList } from "../type/net-types";
|
2
|
+
import { ExRightQuery, RightDeleteRequest } from "../type/model/right-model";
|
3
|
+
import { RightDTO } from "../type/model/common-right-model";
|
4
|
+
import { PageRequest } from "../type/model/common-model";
|
5
|
+
/**
|
6
|
+
* 权益基础信息管理(Web端) API
|
7
|
+
*/
|
8
|
+
export declare class RightApi {
|
9
|
+
/**
|
10
|
+
* 单个查询(按ID)
|
11
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/detail
|
12
|
+
*/
|
13
|
+
static detail(id: number | string): Promise<CommonRes<RightDTO>>;
|
14
|
+
/**
|
15
|
+
* 单个查询(按条件)
|
16
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/get
|
17
|
+
*/
|
18
|
+
static get(query: ExRightQuery): Promise<CommonRes<RightDTO>>;
|
19
|
+
/**
|
20
|
+
* 列表查询(按ID)
|
21
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/listByIds
|
22
|
+
*/
|
23
|
+
static listByIds(ids: (number | string)[]): Promise<CommonRes<RightDTO[]>>;
|
24
|
+
/**
|
25
|
+
* 列表查询(按条件)
|
26
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/list
|
27
|
+
*/
|
28
|
+
static list(query: ExRightQuery): Promise<CommonRes<RightDTO[]>>;
|
29
|
+
/**
|
30
|
+
* 分页查询(按条件)
|
31
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/page
|
32
|
+
*/
|
33
|
+
static page(data: ExRightQuery & PageRequest): Promise<CommonRes<PagedList<RightDTO>>>;
|
34
|
+
/**
|
35
|
+
* 删除/归档
|
36
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/delete
|
37
|
+
*/
|
38
|
+
static delete(request: RightDeleteRequest): Promise<CommonRes<any>>;
|
39
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import type { CommonRes, PagedList } from "../type/net-types";
|
2
|
+
import { RightDraftRequests } from "../type/model/right-draft-model";
|
3
|
+
import { RightDTO } from "../type/model/common-right-model";
|
4
|
+
import { PageRequest } from "../type/model/common-model";
|
5
|
+
/**
|
6
|
+
* 权益草稿基础信息管理(Web端) API
|
7
|
+
*/
|
8
|
+
export declare class RightDraftApi {
|
9
|
+
/**
|
10
|
+
* 单个查询(按ID)
|
11
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/detail
|
12
|
+
*/
|
13
|
+
static detail(id: number | string): Promise<CommonRes<RightDTO>>;
|
14
|
+
/**
|
15
|
+
* 单个查询(按条件)
|
16
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/get
|
17
|
+
*/
|
18
|
+
static get(query: RightDraftRequests.Query): Promise<CommonRes<RightDTO>>;
|
19
|
+
/**
|
20
|
+
* 列表查询(按条件)
|
21
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/list
|
22
|
+
*/
|
23
|
+
static list(query: RightDraftRequests.Query): Promise<CommonRes<RightDTO[]>>;
|
24
|
+
/**
|
25
|
+
* 分页查询(按条件)
|
26
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/page
|
27
|
+
*/
|
28
|
+
static page(data: RightDraftRequests.Query & PageRequest): Promise<CommonRes<PagedList<RightDTO>>>;
|
29
|
+
/**
|
30
|
+
* 创建草稿(新的)
|
31
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/create
|
32
|
+
*/
|
33
|
+
static create(request: RightDraftRequests.Create): Promise<CommonRes<RightDTO>>;
|
34
|
+
/**
|
35
|
+
* 创建草稿(基于权益)
|
36
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/createByRight
|
37
|
+
*/
|
38
|
+
static createByRight(request: RightDraftRequests.CreateByRight): Promise<CommonRes<RightDTO>>;
|
39
|
+
/**
|
40
|
+
* 创建草稿(基于授权)
|
41
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/createByLicense
|
42
|
+
*/
|
43
|
+
static createByLicense(request: RightDraftRequests.CreateByLicense): Promise<CommonRes<RightDTO>>;
|
44
|
+
/**
|
45
|
+
* 修改
|
46
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/update
|
47
|
+
*/
|
48
|
+
static update(request: RightDraftRequests.Update): Promise<CommonRes<any>>;
|
49
|
+
/**
|
50
|
+
* 发布
|
51
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/submit
|
52
|
+
*/
|
53
|
+
static submit(request: RightDraftRequests.Submit): Promise<CommonRes<any>>;
|
54
|
+
/**
|
55
|
+
* 删除
|
56
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/delete
|
57
|
+
*/
|
58
|
+
static delete(request: RightDraftRequests.Delete): Promise<CommonRes<any>>;
|
59
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { CommonRes } from "../type/net-types";
|
2
|
+
import { RightDraftRequests } from "../type/model/right-draft-model";
|
3
|
+
import { RightServiceConfigDTO } from "../type/model/health-care-config-model";
|
4
|
+
/**
|
5
|
+
* 权益草稿服务配置管理(Web端) API
|
6
|
+
*/
|
7
|
+
export declare class RightDraftServiceConfigApi {
|
8
|
+
/**
|
9
|
+
* 慢病管理.查询
|
10
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/serviceConfig/diseaseCare/detail
|
11
|
+
*/
|
12
|
+
static queryDiseaseCareConfig(rightId: number | string): Promise<CommonRes<RightServiceConfigDTO>>;
|
13
|
+
/**
|
14
|
+
* 慢病管理.更新
|
15
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/serviceConfig/diseaseCare/update
|
16
|
+
*/
|
17
|
+
static updateDiseaseCareConfig(request: RightDraftRequests.DiseaseCareConfigUpdate): Promise<CommonRes<RightServiceConfigDTO>>;
|
18
|
+
/**
|
19
|
+
* 课题研究.查询
|
20
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/serviceConfig/healthStudy/detail
|
21
|
+
*/
|
22
|
+
static queryHealthStudyConfigConfig(rightId: number | string): Promise<CommonRes<RightServiceConfigDTO>>;
|
23
|
+
/**
|
24
|
+
* 课题研究.更新
|
25
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/draft/serviceConfig/healthStudy/update
|
26
|
+
*/
|
27
|
+
static updateHealthStudyConfig(request: RightDraftRequests.HealthStudyConfigUpdate): Promise<CommonRes<RightServiceConfigDTO>>;
|
28
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type { CommonRes } from
|
2
|
-
import type { HealthProfileConfigDTO } from
|
3
|
-
import { DiseaseCareConfigDTO, HealthConsultConfigDTO, HealthStudyConfigDTO, RightServiceConfigDTO, RightServiceConfigQuery } from
|
4
|
-
import { HealthSelfAssessmentConfigDTO } from
|
5
|
-
import { HealthToolConfigDTO } from
|
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
6
|
export declare class RightServiceConfigApi {
|
7
7
|
/**
|
8
8
|
* 通用.查询单个(按ID)
|
@@ -23,7 +23,7 @@ export declare class RightServiceConfigApi {
|
|
23
23
|
* 慢病管理.查询单个(按ID)
|
24
24
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/detail
|
25
25
|
*/
|
26
|
-
static getDiseaseCareDetail(
|
26
|
+
static getDiseaseCareDetail(rightId: number): Promise<CommonRes<DiseaseCareConfigDTO>>;
|
27
27
|
/**
|
28
28
|
* 慢病管理.查询单个(按条件)
|
29
29
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/get
|
@@ -33,7 +33,7 @@ export declare class RightServiceConfigApi {
|
|
33
33
|
* 课题研究.查询单个(按ID)
|
34
34
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/healthStudy/detail
|
35
35
|
*/
|
36
|
-
static getHealthStudyDetail(
|
36
|
+
static getHealthStudyDetail(rightId: number): Promise<CommonRes<HealthStudyConfigDTO>>;
|
37
37
|
/**
|
38
38
|
* 课题研究.查询单个(按条件)
|
39
39
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/healthStudy/get
|
@@ -59,4 +59,24 @@ export declare class RightServiceConfigApi {
|
|
59
59
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/healthConsult/get
|
60
60
|
*/
|
61
61
|
static getHealthConsultConfig(data: RightServiceConfigQuery): Promise<CommonRes<HealthConsultConfigDTO>>;
|
62
|
+
/**
|
63
|
+
* 健康档案.查询
|
64
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/healthProfile/detail
|
65
|
+
*/
|
66
|
+
static getHealthProfileDetail(rightId: number | string): Promise<CommonRes<RightServiceConfigDTO>>;
|
67
|
+
/**
|
68
|
+
* 健康自测.查询
|
69
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/healthSelfAssessment/detail
|
70
|
+
*/
|
71
|
+
static getHealthSelfAssessmentDetail(rightId: number | string): Promise<CommonRes<RightServiceConfigDTO>>;
|
72
|
+
/**
|
73
|
+
* 健康工具.查询
|
74
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/healthTool/detail
|
75
|
+
*/
|
76
|
+
static getHealthToolDetail(rightId: number | string): Promise<CommonRes<RightServiceConfigDTO>>;
|
77
|
+
/**
|
78
|
+
* 健康咨询.查询
|
79
|
+
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/healthConsult/detail
|
80
|
+
*/
|
81
|
+
static getHealthConsultDetail(rightId: number | string): Promise<CommonRes<RightServiceConfigDTO>>;
|
62
82
|
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import type { CommonRes, PagedList } from "../type/net-types";
|
2
|
+
import { RuleDTO, RuleQuery, RuleCreateRequest, RuleUpdateRequest, RuleExecuteRequest } from "../type/model/rule-model";
|
3
|
+
export declare class RuleApi {
|
4
|
+
/**
|
5
|
+
* 单个查询(按ID)
|
6
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/detail
|
7
|
+
*/
|
8
|
+
static detail(id: number): Promise<CommonRes<RuleDTO>>;
|
9
|
+
/**
|
10
|
+
* 列表查询
|
11
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/list
|
12
|
+
*/
|
13
|
+
static list(query: RuleQuery): Promise<CommonRes<RuleDTO[]>>;
|
14
|
+
/**
|
15
|
+
* 分页查询
|
16
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/page
|
17
|
+
*/
|
18
|
+
static page(data: RuleQuery): Promise<CommonRes<PagedList<RuleDTO>>>;
|
19
|
+
/**
|
20
|
+
* 创建
|
21
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/create
|
22
|
+
*/
|
23
|
+
static create(request: RuleCreateRequest): Promise<CommonRes<number>>;
|
24
|
+
/**
|
25
|
+
* 更新
|
26
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/update
|
27
|
+
*/
|
28
|
+
static update(request: RuleUpdateRequest): Promise<CommonRes<number>>;
|
29
|
+
/**
|
30
|
+
* 删除
|
31
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/delete
|
32
|
+
*/
|
33
|
+
static delete(id: number): Promise<CommonRes<number>>;
|
34
|
+
/**
|
35
|
+
* 执行
|
36
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/execute
|
37
|
+
*/
|
38
|
+
static execute(request: RuleExecuteRequest): Promise<CommonRes<Record<string, any>>>;
|
39
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import type { CommonRes } from "../type/net-types";
|
2
|
+
import type { PageRequest } from '../type/model/common-model';
|
3
|
+
import type { PagedList } from '../type/net-types';
|
4
|
+
import { ApiScope, ApiScopeVO } from '../type/model/system-ApiScopeController-model';
|
5
|
+
/**
|
6
|
+
* API权限 API
|
7
|
+
*/
|
8
|
+
export declare class ApiScopeControllerApi {
|
9
|
+
/**
|
10
|
+
* 详情
|
11
|
+
* URL: /api/blade-system/api-scope/detail
|
12
|
+
*/
|
13
|
+
static detail(dataScope: Partial<ApiScope>): Promise<CommonRes<ApiScope>>;
|
14
|
+
/**
|
15
|
+
* 分页
|
16
|
+
* URL: /api/blade-system/api-scope/list
|
17
|
+
*/
|
18
|
+
static list(dataScope: Partial<ApiScope>, query: PageRequest): Promise<CommonRes<PagedList<ApiScopeVO[]>>>;
|
19
|
+
/**
|
20
|
+
* 新增
|
21
|
+
* URL: /api/blade-system/api-scope/save
|
22
|
+
*/
|
23
|
+
static save(dataScope: ApiScope): Promise<CommonRes<boolean>>;
|
24
|
+
/**
|
25
|
+
* 修改
|
26
|
+
* URL: /api/blade-system/api-scope/update
|
27
|
+
*/
|
28
|
+
static update(dataScope: ApiScope): Promise<CommonRes<boolean>>;
|
29
|
+
/**
|
30
|
+
* 新增或修改
|
31
|
+
* URL: /api/blade-system/api-scope/submit
|
32
|
+
*/
|
33
|
+
static submit(dataScope: ApiScope): Promise<CommonRes<boolean>>;
|
34
|
+
/**
|
35
|
+
* 逻辑删除
|
36
|
+
* URL: /api/blade-system/api-scope/remove
|
37
|
+
*/
|
38
|
+
static remove(ids: string): Promise<CommonRes<boolean>>;
|
39
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import type { CommonRes } from "../type/net-types";
|
2
|
+
import type { Dept, DeptVO } from "../type/model/system-DeptController-model";
|
3
|
+
/**
|
4
|
+
* 部门 API
|
5
|
+
*/
|
6
|
+
export declare class DeptControllerApi {
|
7
|
+
/** 查看详情 */
|
8
|
+
static detail(dept: Partial<Dept>): Promise<CommonRes<DeptVO>>;
|
9
|
+
/** 获取部门列表 */
|
10
|
+
static list(dept: Record<string, any>): Promise<CommonRes<DeptVO[]>>;
|
11
|
+
/** 懒加载部门列表 */
|
12
|
+
static lazyList(dept: Record<string, any>, parentId: number | string): Promise<CommonRes<DeptVO[]>>;
|
13
|
+
/** 获取部门树形结构 */
|
14
|
+
static tree(tenantId?: string): Promise<CommonRes<DeptVO[]>>;
|
15
|
+
/** 懒加载获取部门树形结构 */
|
16
|
+
static lazyTree(tenantId?: string, parentId?: number | string): Promise<CommonRes<DeptVO[]>>;
|
17
|
+
/** 新增或修改部门 */
|
18
|
+
static submit(dept: Dept): Promise<CommonRes<{
|
19
|
+
id: string;
|
20
|
+
tenantId: string;
|
21
|
+
deptCategoryName: string;
|
22
|
+
}>>;
|
23
|
+
/** 删除部门 */
|
24
|
+
static remove(ids: string): Promise<CommonRes<boolean>>;
|
25
|
+
/** 获取部门下拉数据源 */
|
26
|
+
static select(userId?: number | string, deptId?: string): Promise<CommonRes<Dept[]>>;
|
27
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import type { CommonRes } from "../type/net-types";
|
2
|
+
import type { DictBizController, DictBizVOController } from "../type/model/system-DictBizController-model";
|
3
|
+
import type { PageRequest } from '../type/model/common-model';
|
4
|
+
import type { PagedList } from '../type/net-types';
|
5
|
+
/**
|
6
|
+
* 业务字典 API
|
7
|
+
*/
|
8
|
+
export declare class DictBizControllerApi {
|
9
|
+
/** 查看详情 */
|
10
|
+
static detail(dict: Partial<DictBizController>): Promise<CommonRes<DictBizVOController>>;
|
11
|
+
/** 获取列表 */
|
12
|
+
static list(dict: Record<string, any>): Promise<CommonRes<DictBizVOController[]>>;
|
13
|
+
/** 顶级列表(分页) */
|
14
|
+
static parentList(dict: Record<string, any>, query: PageRequest): Promise<CommonRes<PagedList<DictBizVOController>>>;
|
15
|
+
/** 子列表 */
|
16
|
+
static childList(dict: Record<string, any>, parentId: number | string | undefined, query: PageRequest): Promise<CommonRes<DictBizVOController[]>>;
|
17
|
+
/** 获取字典树形结构 */
|
18
|
+
static tree(): Promise<CommonRes<DictBizVOController[]>>;
|
19
|
+
/** 获取父级字典树形结构 */
|
20
|
+
static parentTree(): Promise<CommonRes<DictBizVOController[]>>;
|
21
|
+
/** 新增或修改 */
|
22
|
+
static submit(dict: DictBizController): Promise<CommonRes<boolean>>;
|
23
|
+
/** 删除 */
|
24
|
+
static remove(ids: string): Promise<CommonRes<boolean>>;
|
25
|
+
/** 获取字典 */
|
26
|
+
static dictionary(code: string): Promise<CommonRes<DictBizController[]>>;
|
27
|
+
/** 获取字典树 */
|
28
|
+
static dictionaryTree(code: string): Promise<CommonRes<DictBizVOController[]>>;
|
29
|
+
/** 字典键值列表 */
|
30
|
+
static select(): Promise<CommonRes<DictBizController[]>>;
|
31
|
+
/** 字典全列表 */
|
32
|
+
static selectAll(): Promise<CommonRes<DictBizController[]>>;
|
33
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import type { CommonRes } from "../type/net-types";
|
2
|
+
import type { DictController, DictVOController } from "../type/model/system-DictController-model";
|
3
|
+
import type { PageRequest } from '../type/model/common-model';
|
4
|
+
import type { PagedList } from '../type/net-types';
|
5
|
+
/**
|
6
|
+
* 系统字典 API
|
7
|
+
*/
|
8
|
+
export declare class DictControllerApi {
|
9
|
+
/** 查看详情 */
|
10
|
+
static detail(dict: Partial<DictController>): Promise<CommonRes<DictVOController>>;
|
11
|
+
/** 获取列表 */
|
12
|
+
static list(dict: Record<string, any>): Promise<CommonRes<DictVOController[]>>;
|
13
|
+
/** 顶级列表(分页) */
|
14
|
+
static parentList(dict: Record<string, any>, query: PageRequest): Promise<CommonRes<PagedList<DictVOController>>>;
|
15
|
+
/** 子列表 */
|
16
|
+
static childList(dict: Record<string, any>, parentId: number | string | undefined, query: PageRequest): Promise<CommonRes<DictVOController[]>>;
|
17
|
+
/** 获取字典树形结构 */
|
18
|
+
static tree(): Promise<CommonRes<DictVOController[]>>;
|
19
|
+
/** 获取父级字典树形结构 */
|
20
|
+
static parentTree(): Promise<CommonRes<DictVOController[]>>;
|
21
|
+
/** 新增或修改 */
|
22
|
+
static submit(dict: DictController): Promise<CommonRes<boolean>>;
|
23
|
+
/** 删除 */
|
24
|
+
static remove(ids: string): Promise<CommonRes<boolean>>;
|
25
|
+
/** 获取字典 */
|
26
|
+
static dictionary(code: string): Promise<CommonRes<DictController[]>>;
|
27
|
+
/** 获取字典树 */
|
28
|
+
static dictionaryTree(code: string): Promise<CommonRes<DictVOController[]>>;
|
29
|
+
/** 字典键值列表 */
|
30
|
+
static select(): Promise<CommonRes<DictController[]>>;
|
31
|
+
/** 字典全列表 */
|
32
|
+
static selectAll(): Promise<CommonRes<DictController[]>>;
|
33
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import type { CommonRes } from "../type/net-types";
|
2
|
+
import type { Menu, MenuVO, TreeNode, GrantTreeVO, CheckedTreeVO } from "../type/model/system-MenuController-model";
|
3
|
+
import type { TopMenu } from "../type/model/system-TopMenuController-model";
|
4
|
+
/**
|
5
|
+
* 菜单 API
|
6
|
+
*/
|
7
|
+
export declare class MenuControllerApi {
|
8
|
+
/** 查看菜单详情 */
|
9
|
+
static detail(menu: Partial<Menu>): Promise<CommonRes<MenuVO>>;
|
10
|
+
/** 获取菜单列表 */
|
11
|
+
static list(menu: Record<string, any>): Promise<CommonRes<MenuVO[]>>;
|
12
|
+
/** 懒加载菜单列表 */
|
13
|
+
static lazyList(parentId: number | string, menu: Record<string, any>): Promise<CommonRes<MenuVO[]>>;
|
14
|
+
/** 菜单列表(仅菜单) */
|
15
|
+
static menuList(menu: Record<string, any>): Promise<CommonRes<MenuVO[]>>;
|
16
|
+
/** 懒加载菜单列表(仅菜单) */
|
17
|
+
static lazyMenuList(parentId: number | string, menu: Record<string, any>): Promise<CommonRes<MenuVO[]>>;
|
18
|
+
/** 新增或修改菜单 */
|
19
|
+
static submit(menu: Menu): Promise<CommonRes<{
|
20
|
+
id: string;
|
21
|
+
}>>;
|
22
|
+
/** 删除菜单 */
|
23
|
+
static remove(ids: string): Promise<CommonRes<boolean>>;
|
24
|
+
/** 前端菜单数据 */
|
25
|
+
static routes(user?: any, topMenuId?: number | string): Promise<CommonRes<MenuVO[]>>;
|
26
|
+
/** 前端按钮数据 */
|
27
|
+
static buttons(user?: any): Promise<CommonRes<MenuVO[]>>;
|
28
|
+
/** 获取菜单树形结构 */
|
29
|
+
static tree(): Promise<CommonRes<TreeNode[]>>;
|
30
|
+
/** 获取权限分配树形结构 */
|
31
|
+
static grantTree(user?: any): Promise<CommonRes<GrantTreeVO>>;
|
32
|
+
/** 获取角色所分配的树 */
|
33
|
+
static roleTreeKeys(roleIds: string): Promise<CommonRes<CheckedTreeVO>>;
|
34
|
+
/** 获取顶部菜单树形结构 */
|
35
|
+
static grantTopTree(user?: any): Promise<CommonRes<GrantTreeVO>>;
|
36
|
+
/** 获取顶部菜单所分配的树 */
|
37
|
+
static topTreeKeys(topMenuIds: string): Promise<CommonRes<CheckedTreeVO>>;
|
38
|
+
/** 顶部菜单数据 */
|
39
|
+
static topMenu(user?: any): Promise<CommonRes<TopMenu[]>>;
|
40
|
+
/** 获取配置的角色权限 */
|
41
|
+
static authRoutes(user?: any): Promise<CommonRes<any[]>>;
|
42
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import type { CommonRes } from "../type/net-types";
|
2
|
+
import type { Post, PostVO } from "../type/model/system-PostController-model";
|
3
|
+
import type { PageRequest } from '../type/model/common-model';
|
4
|
+
import type { PagedList } from '../type/net-types';
|
5
|
+
/**
|
6
|
+
* 岗位 API
|
7
|
+
*/
|
8
|
+
export declare class PostControllerApi {
|
9
|
+
/**
|
10
|
+
* 查看岗位详情
|
11
|
+
* URL: /api/blade-system/post/detail
|
12
|
+
*/
|
13
|
+
static detail(post: Partial<Post>): Promise<CommonRes<PostVO>>;
|
14
|
+
/**
|
15
|
+
* 分页获取岗位
|
16
|
+
* URL: /api/blade-system/post/list
|
17
|
+
*/
|
18
|
+
static list(post: Partial<Post>, query: PageRequest): Promise<CommonRes<PagedList<PostVO>>>;
|
19
|
+
/**
|
20
|
+
* 自定义分页获取岗位
|
21
|
+
* URL: /api/blade-system/post/page
|
22
|
+
*/
|
23
|
+
static page(post: Partial<PostVO>, query: PageRequest): Promise<CommonRes<PagedList<PostVO>>>;
|
24
|
+
/**
|
25
|
+
* 新增岗位
|
26
|
+
* URL: /api/blade-system/post/save
|
27
|
+
*/
|
28
|
+
static save(post: Post): Promise<CommonRes<boolean>>;
|
29
|
+
/**
|
30
|
+
* 修改岗位
|
31
|
+
* URL: /api/blade-system/post/update
|
32
|
+
*/
|
33
|
+
static update(post: Post): Promise<CommonRes<boolean>>;
|
34
|
+
/**
|
35
|
+
* 新增或修改岗位
|
36
|
+
* URL: /api/blade-system/post/submit
|
37
|
+
*/
|
38
|
+
static submit(post: Post): Promise<CommonRes<boolean>>;
|
39
|
+
/**
|
40
|
+
* 删除岗位
|
41
|
+
* URL: /api/blade-system/post/remove
|
42
|
+
*/
|
43
|
+
static remove(ids: string): Promise<CommonRes<boolean>>;
|
44
|
+
/**
|
45
|
+
* 获取岗位下拉数据源
|
46
|
+
* URL: /api/blade-system/post/select
|
47
|
+
*/
|
48
|
+
static select(tenantId?: string): Promise<CommonRes<Post[]>>;
|
49
|
+
}
|