shcp-api-lib 1.0.5 → 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 +8 -8
- package/dist/index.esm.js +16 -16
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/types/src/api/right-service-config-api.d.ts +1 -1
- package/dist/types/src/api/rule-api.d.ts +7 -7
- package/package.json +15 -13
package/dist/index.d.ts
CHANGED
@@ -10901,7 +10901,7 @@ declare class RightServiceConfigApi {
|
|
10901
10901
|
* 慢病管理.查询单个(按ID)
|
10902
10902
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/detail
|
10903
10903
|
*/
|
10904
|
-
static getDiseaseCareDetail(
|
10904
|
+
static getDiseaseCareDetail(rightId: number): Promise<CommonRes<DiseaseCareConfigDTO>>;
|
10905
10905
|
/**
|
10906
10906
|
* 慢病管理.查询单个(按条件)
|
10907
10907
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/get
|
@@ -11112,37 +11112,37 @@ declare class LicenseApi {
|
|
11112
11112
|
declare class RuleApi {
|
11113
11113
|
/**
|
11114
11114
|
* 单个查询(按ID)
|
11115
|
-
* URL: /api/
|
11115
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/detail
|
11116
11116
|
*/
|
11117
11117
|
static detail(id: number): Promise<CommonRes<RuleDTO>>;
|
11118
11118
|
/**
|
11119
11119
|
* 列表查询
|
11120
|
-
* URL: /api/
|
11120
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/list
|
11121
11121
|
*/
|
11122
11122
|
static list(query: RuleQuery): Promise<CommonRes<RuleDTO[]>>;
|
11123
11123
|
/**
|
11124
11124
|
* 分页查询
|
11125
|
-
* URL: /api/
|
11125
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/page
|
11126
11126
|
*/
|
11127
11127
|
static page(data: RuleQuery): Promise<CommonRes<PagedList<RuleDTO>>>;
|
11128
11128
|
/**
|
11129
11129
|
* 创建
|
11130
|
-
* URL: /api/
|
11130
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/create
|
11131
11131
|
*/
|
11132
11132
|
static create(request: RuleCreateRequest): Promise<CommonRes<number>>;
|
11133
11133
|
/**
|
11134
11134
|
* 更新
|
11135
|
-
* URL: /api/
|
11135
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/update
|
11136
11136
|
*/
|
11137
11137
|
static update(request: RuleUpdateRequest): Promise<CommonRes<number>>;
|
11138
11138
|
/**
|
11139
11139
|
* 删除
|
11140
|
-
* URL: /api/
|
11140
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/delete
|
11141
11141
|
*/
|
11142
11142
|
static delete(id: number): Promise<CommonRes<number>>;
|
11143
11143
|
/**
|
11144
11144
|
* 执行
|
11145
|
-
* URL: /api/
|
11145
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/execute
|
11146
11146
|
*/
|
11147
11147
|
static execute(request: RuleExecuteRequest): Promise<CommonRes<Record<string, any>>>;
|
11148
11148
|
}
|
package/dist/index.esm.js
CHANGED
@@ -5141,11 +5141,11 @@ class RightServiceConfigApi {
|
|
5141
5141
|
* 慢病管理.查询单个(按ID)
|
5142
5142
|
* URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/detail
|
5143
5143
|
*/
|
5144
|
-
static getDiseaseCareDetail(
|
5144
|
+
static getDiseaseCareDetail(rightId) {
|
5145
5145
|
return ShcpApiSdk.request({
|
5146
5146
|
url: `/api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/detail`,
|
5147
5147
|
method: "post",
|
5148
|
-
params: {
|
5148
|
+
params: { rightId },
|
5149
5149
|
});
|
5150
5150
|
}
|
5151
5151
|
/**
|
@@ -5600,10 +5600,10 @@ class LicenseApi {
|
|
5600
5600
|
class RuleApi {
|
5601
5601
|
/**
|
5602
5602
|
* 单个查询(按ID)
|
5603
|
-
* URL: /api/
|
5603
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/detail
|
5604
5604
|
*/
|
5605
5605
|
static detail(id) {
|
5606
|
-
const url = `/api/
|
5606
|
+
const url = `/api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/detail`;
|
5607
5607
|
return ShcpApiSdk.request({
|
5608
5608
|
url,
|
5609
5609
|
method: "get",
|
@@ -5614,10 +5614,10 @@ class RuleApi {
|
|
5614
5614
|
}
|
5615
5615
|
/**
|
5616
5616
|
* 列表查询
|
5617
|
-
* URL: /api/
|
5617
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/list
|
5618
5618
|
*/
|
5619
5619
|
static list(query) {
|
5620
|
-
const url = `/api/
|
5620
|
+
const url = `/api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/list`;
|
5621
5621
|
return ShcpApiSdk.request({
|
5622
5622
|
url,
|
5623
5623
|
method: "post",
|
@@ -5626,10 +5626,10 @@ class RuleApi {
|
|
5626
5626
|
}
|
5627
5627
|
/**
|
5628
5628
|
* 分页查询
|
5629
|
-
* URL: /api/
|
5629
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/page
|
5630
5630
|
*/
|
5631
5631
|
static page(data) {
|
5632
|
-
const url = `/api/
|
5632
|
+
const url = `/api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/page`;
|
5633
5633
|
return ShcpApiSdk.request({
|
5634
5634
|
url,
|
5635
5635
|
method: "post",
|
@@ -5642,10 +5642,10 @@ class RuleApi {
|
|
5642
5642
|
}
|
5643
5643
|
/**
|
5644
5644
|
* 创建
|
5645
|
-
* URL: /api/
|
5645
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/create
|
5646
5646
|
*/
|
5647
5647
|
static create(request) {
|
5648
|
-
const url = `/api/
|
5648
|
+
const url = `/api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/create`;
|
5649
5649
|
return ShcpApiSdk.request({
|
5650
5650
|
url,
|
5651
5651
|
method: "post",
|
@@ -5654,10 +5654,10 @@ class RuleApi {
|
|
5654
5654
|
}
|
5655
5655
|
/**
|
5656
5656
|
* 更新
|
5657
|
-
* URL: /api/
|
5657
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/update
|
5658
5658
|
*/
|
5659
5659
|
static update(request) {
|
5660
|
-
const url = `/api/
|
5660
|
+
const url = `/api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/update`;
|
5661
5661
|
return ShcpApiSdk.request({
|
5662
5662
|
url,
|
5663
5663
|
method: "post",
|
@@ -5666,10 +5666,10 @@ class RuleApi {
|
|
5666
5666
|
}
|
5667
5667
|
/**
|
5668
5668
|
* 删除
|
5669
|
-
* URL: /api/
|
5669
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/delete
|
5670
5670
|
*/
|
5671
5671
|
static delete(id) {
|
5672
|
-
const url = `/api/
|
5672
|
+
const url = `/api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/delete`;
|
5673
5673
|
return ShcpApiSdk.request({
|
5674
5674
|
url,
|
5675
5675
|
method: "post",
|
@@ -5680,10 +5680,10 @@ class RuleApi {
|
|
5680
5680
|
}
|
5681
5681
|
/**
|
5682
5682
|
* 执行
|
5683
|
-
* URL: /api/
|
5683
|
+
* URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/execute
|
5684
5684
|
*/
|
5685
5685
|
static execute(request) {
|
5686
|
-
const url = `/api/
|
5686
|
+
const url = `/api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/execute`;
|
5687
5687
|
return ShcpApiSdk.request({
|
5688
5688
|
url,
|
5689
5689
|
method: "post",
|