@freelog/tools-lib 0.1.168 → 0.1.170
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/service-API/resources.d.ts +10 -5
- package/dist/tools-lib.cjs.development.js +1 -2
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +1 -2
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/resources.ts +18 -5
- package/src/service-API/storages.ts +418 -418
|
@@ -48,11 +48,10 @@ export interface CreateBatchParamsType {
|
|
|
48
48
|
baseUpcastResources?: {
|
|
49
49
|
resourceId: string;
|
|
50
50
|
}[];
|
|
51
|
-
|
|
51
|
+
batchSignContracts?: {
|
|
52
52
|
resourceId: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}[];
|
|
53
|
+
policyIds: string[];
|
|
54
|
+
subjectType: string;
|
|
56
55
|
}[];
|
|
57
56
|
inputAttrs?: {
|
|
58
57
|
key: string;
|
|
@@ -176,7 +175,7 @@ interface CreateVersionParamsType {
|
|
|
176
175
|
}[];
|
|
177
176
|
authExcludedItems: {
|
|
178
177
|
resourceId: string;
|
|
179
|
-
excludedType: '
|
|
178
|
+
excludedType: 'contractId' | 'policyId';
|
|
180
179
|
excludedValue: string;
|
|
181
180
|
}[];
|
|
182
181
|
}
|
|
@@ -461,6 +460,7 @@ interface BatchResourceItemsParamsType {
|
|
|
461
460
|
sortField?: string;
|
|
462
461
|
sortType?: 1 | -1;
|
|
463
462
|
isLoadItemResourceDetailInfo?: 0 | 1;
|
|
463
|
+
isLoadLatestVersionInfo?: 0 | 1;
|
|
464
464
|
}
|
|
465
465
|
export declare function batchResourceItems({ ...params }: BatchResourceItemsParamsType): Promise<any>;
|
|
466
466
|
interface BatchResourceItems_Draft_ParamsType {
|
|
@@ -499,6 +499,11 @@ interface SetItemsTitleParamsType {
|
|
|
499
499
|
data: {
|
|
500
500
|
itemId: string;
|
|
501
501
|
itemTitle: string;
|
|
502
|
+
authExcludedItems: {
|
|
503
|
+
resourceId: string;
|
|
504
|
+
excludedType: 'contractId' | 'policyId';
|
|
505
|
+
excludedValue: string;
|
|
506
|
+
}[];
|
|
502
507
|
}[];
|
|
503
508
|
}
|
|
504
509
|
export declare function setItemsTitle({ resourceId, data }: SetItemsTitleParamsType): Promise<any>;
|
|
@@ -1279,8 +1279,7 @@ function objectDetails$1(params) {
|
|
|
1279
1279
|
function deleteObjects(params) {
|
|
1280
1280
|
return FUtil.Request({
|
|
1281
1281
|
method: 'DELETE',
|
|
1282
|
-
url: "/v2/storages/buckets/" + params.bucketName + "/objects/" + params.objectIds
|
|
1283
|
-
data: params
|
|
1282
|
+
url: "/v2/storages/buckets/" + params.bucketName + "/objects/" + params.objectIds
|
|
1284
1283
|
});
|
|
1285
1284
|
}
|
|
1286
1285
|
function bucketIsExist(_ref4) {
|