@freelog/tools-lib 0.1.163 → 0.1.166
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/i18n/I18nNext.d.ts +1 -0
- package/dist/service-API/index.d.ts +2 -0
- package/dist/service-API/nodes.d.ts +5 -0
- package/dist/service-API/presentables.d.ts +9 -0
- package/dist/service-API/resourceType.d.ts +10 -0
- package/dist/service-API/resources.d.ts +213 -52
- package/dist/service-API/storages.d.ts +6 -0
- package/dist/service-API/user.d.ts +6 -0
- package/dist/tools-lib.cjs.development.js +1228 -1275
- 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 +1228 -1275
- package/dist/tools-lib.esm.js.map +1 -1
- package/dist/utils/linkTo.d.ts +14 -1
- package/package.json +68 -67
- package/src/i18n/I18nNext.ts +156 -162
- package/src/service-API/index.ts +2 -0
- package/src/service-API/nodes.ts +14 -0
- package/src/service-API/presentables.ts +21 -0
- package/src/service-API/resourceType.ts +29 -0
- package/src/service-API/resources.ts +1336 -771
- package/src/service-API/storages.ts +15 -0
- package/src/service-API/user.ts +14 -0
- package/src/utils/linkTo.ts +594 -551
package/dist/i18n/I18nNext.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import * as I18n from './i18n';
|
|
|
16
16
|
import * as Policy from './policies';
|
|
17
17
|
import * as recombination from './recombinations';
|
|
18
18
|
import * as Operation from './operation';
|
|
19
|
+
import * as ResourceType from './resourceType';
|
|
19
20
|
declare const FServiceAPI: {
|
|
20
21
|
Node: typeof Node;
|
|
21
22
|
Exhibit: typeof Exhibit;
|
|
@@ -35,5 +36,6 @@ declare const FServiceAPI: {
|
|
|
35
36
|
Policy: typeof Policy;
|
|
36
37
|
recombination: typeof recombination;
|
|
37
38
|
Operation: typeof Operation;
|
|
39
|
+
ResourceType: typeof ResourceType;
|
|
38
40
|
};
|
|
39
41
|
export default FServiceAPI;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface CreateParamsType {
|
|
2
2
|
nodeName: string;
|
|
3
3
|
nodeDomain: string;
|
|
4
|
+
nodeTitle: string;
|
|
4
5
|
}
|
|
5
6
|
export declare function create(params: CreateParamsType): Promise<any>;
|
|
6
7
|
interface NodeDetailParamsType1 {
|
|
@@ -36,4 +37,8 @@ interface SetNodeInfoParamsType {
|
|
|
36
37
|
nodeSuspendInfo: string;
|
|
37
38
|
}
|
|
38
39
|
export declare function setNodeInfo(params: SetNodeInfoParamsType): Promise<any>;
|
|
40
|
+
interface DeleteNodeParamsType {
|
|
41
|
+
nodeId: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function deleteNode({ nodeId }: DeleteNodeParamsType): Promise<any>;
|
|
39
44
|
export {};
|
|
@@ -9,6 +9,7 @@ export interface CreatePresentableParamsType {
|
|
|
9
9
|
}[];
|
|
10
10
|
}[];
|
|
11
11
|
presentableName: string;
|
|
12
|
+
presentableTitle?: string;
|
|
12
13
|
tags?: string[];
|
|
13
14
|
policies?: {
|
|
14
15
|
policyName: string;
|
|
@@ -38,6 +39,7 @@ interface UpdatePresentableParamsType {
|
|
|
38
39
|
policyId: string;
|
|
39
40
|
}[];
|
|
40
41
|
}[];
|
|
42
|
+
autoUpdateStatus?: 0 | 1;
|
|
41
43
|
}
|
|
42
44
|
export declare function updatePresentable({ presentableId, ...params }: UpdatePresentableParamsType): Promise<any>;
|
|
43
45
|
interface PresentablesOnlineParamsType {
|
|
@@ -83,6 +85,8 @@ interface PresentablesParamsType {
|
|
|
83
85
|
keywords?: string;
|
|
84
86
|
isLoadVersionProperty?: 0 | 1;
|
|
85
87
|
isLoadPolicyInfo?: 0 | 1;
|
|
88
|
+
isLoadResourceDetailInfo?: 0 | 1;
|
|
89
|
+
isLoadVersionUpdateTip?: 0 | 1;
|
|
86
90
|
}
|
|
87
91
|
export declare function presentables(params: PresentablesParamsType): Promise<any>;
|
|
88
92
|
interface PresentableListParamsType {
|
|
@@ -166,4 +170,9 @@ interface BatchUpdatePresentableStatusParamsType {
|
|
|
166
170
|
onlineStatus: 0 | 1;
|
|
167
171
|
}
|
|
168
172
|
export declare function batchUpdatePresentableStatus({ ...params }: BatchUpdatePresentableStatusParamsType): Promise<any>;
|
|
173
|
+
interface IgnorePresentableVersionUpdateTipParamsType {
|
|
174
|
+
presentableId: string;
|
|
175
|
+
ignoreVersion: string;
|
|
176
|
+
}
|
|
177
|
+
export declare function ignorePresentableVersionUpdateTip({ presentableId, ...params }: IgnorePresentableVersionUpdateTipParamsType): Promise<any>;
|
|
169
178
|
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface GetInfoByCodeType {
|
|
2
|
+
code: string;
|
|
3
|
+
}
|
|
4
|
+
export declare function getInfoByCode({ ...params }: GetInfoByCodeType): Promise<any>;
|
|
5
|
+
interface GetInfoByCodeOrNameType {
|
|
6
|
+
code?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function getInfoByCodeOrName({ ...params }: GetInfoByCodeOrNameType): Promise<any>;
|
|
10
|
+
export {};
|
|
@@ -1,38 +1,15 @@
|
|
|
1
|
-
import { CommonReturn } from
|
|
2
|
-
interface IResourceInfo {
|
|
3
|
-
baseUpcastResources: {
|
|
4
|
-
resourceId: string;
|
|
5
|
-
resourceName: string;
|
|
6
|
-
}[];
|
|
7
|
-
coverImages: string[];
|
|
8
|
-
createDate: string;
|
|
9
|
-
intro: string;
|
|
10
|
-
latestVersion: string;
|
|
11
|
-
policies: {
|
|
12
|
-
policyId: string;
|
|
13
|
-
policyName: string;
|
|
14
|
-
status: 0 | 1;
|
|
15
|
-
}[];
|
|
16
|
-
resourceId: string;
|
|
17
|
-
resourceName: string;
|
|
18
|
-
resourceTitle: string;
|
|
19
|
-
resourceType: string[];
|
|
20
|
-
resourceVersions: {
|
|
21
|
-
createDate: string;
|
|
22
|
-
version: string;
|
|
23
|
-
versionId: string;
|
|
24
|
-
}[];
|
|
25
|
-
status: 0 | 1 | 2 | 4;
|
|
26
|
-
tags: string[];
|
|
27
|
-
updateDate: string;
|
|
28
|
-
userId: number;
|
|
29
|
-
username: string;
|
|
30
|
-
}
|
|
1
|
+
import { CommonReturn } from './tools';
|
|
31
2
|
export interface CreateParamsType {
|
|
32
3
|
name: string;
|
|
4
|
+
subjectType?: 1 | 4;
|
|
5
|
+
resourceTitle?: string;
|
|
33
6
|
resourceTypeCode: string;
|
|
34
7
|
resourceTypeName?: string;
|
|
35
|
-
policies?:
|
|
8
|
+
policies?: {
|
|
9
|
+
policyName: string;
|
|
10
|
+
policyText: string;
|
|
11
|
+
status?: 0 | 1;
|
|
12
|
+
}[];
|
|
36
13
|
coverImages?: string[];
|
|
37
14
|
intro?: string;
|
|
38
15
|
tags?: string[];
|
|
@@ -133,6 +110,7 @@ interface ListParamsType {
|
|
|
133
110
|
sort?: string;
|
|
134
111
|
operationCategoryCode?: string;
|
|
135
112
|
operationTypes?: string;
|
|
113
|
+
subjectType?: 1 | 4;
|
|
136
114
|
}
|
|
137
115
|
export declare function list(params: ListParamsType): Promise<any>;
|
|
138
116
|
interface InfoParamsType {
|
|
@@ -143,10 +121,7 @@ interface InfoParamsType {
|
|
|
143
121
|
projection?: string;
|
|
144
122
|
isLoadFreezeReason?: 0 | 1;
|
|
145
123
|
}
|
|
146
|
-
|
|
147
|
-
data: IResourceInfo;
|
|
148
|
-
}
|
|
149
|
-
export declare function info({ resourceIdOrName, ...params }: InfoParamsType): Promise<InfoReturnType>;
|
|
124
|
+
export declare function info({ resourceIdOrName, ...params }: InfoParamsType): Promise<any>;
|
|
150
125
|
interface BatchInfoParamsType {
|
|
151
126
|
resourceIds?: string;
|
|
152
127
|
resourceNames?: string;
|
|
@@ -156,10 +131,7 @@ interface BatchInfoParamsType {
|
|
|
156
131
|
projection?: string;
|
|
157
132
|
isLoadFreezeReason?: 0 | 1;
|
|
158
133
|
}
|
|
159
|
-
|
|
160
|
-
data: IResourceInfo[];
|
|
161
|
-
}
|
|
162
|
-
export declare function batchInfo(params: BatchInfoParamsType): Promise<BatchInfoReturnType>;
|
|
134
|
+
export declare function batchInfo(params: BatchInfoParamsType): Promise<any>;
|
|
163
135
|
interface DependencyTreeParamsType {
|
|
164
136
|
resourceId: string;
|
|
165
137
|
version?: string;
|
|
@@ -179,10 +151,6 @@ interface CreateVersionParamsType {
|
|
|
179
151
|
fileSha1: string;
|
|
180
152
|
filename: string;
|
|
181
153
|
description?: string;
|
|
182
|
-
dependencies?: {
|
|
183
|
-
resourceId: string;
|
|
184
|
-
versionRange: string;
|
|
185
|
-
}[];
|
|
186
154
|
customPropertyDescriptors?: {
|
|
187
155
|
key: string;
|
|
188
156
|
name: string;
|
|
@@ -191,18 +159,25 @@ interface CreateVersionParamsType {
|
|
|
191
159
|
candidateItems?: string[];
|
|
192
160
|
remark?: string;
|
|
193
161
|
}[];
|
|
162
|
+
inputAttrs?: {
|
|
163
|
+
key: string;
|
|
164
|
+
value: string;
|
|
165
|
+
}[];
|
|
166
|
+
dependencies?: {
|
|
167
|
+
resourceId: string;
|
|
168
|
+
versionRange: string;
|
|
169
|
+
}[];
|
|
194
170
|
baseUpcastResources?: {
|
|
195
171
|
resourceId: string;
|
|
196
172
|
}[];
|
|
197
|
-
|
|
173
|
+
batchSignContracts?: {
|
|
198
174
|
resourceId: string;
|
|
199
|
-
|
|
200
|
-
policyId: string;
|
|
201
|
-
}[];
|
|
175
|
+
policyIds: string[];
|
|
202
176
|
}[];
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
177
|
+
authExcludedItems: {
|
|
178
|
+
resourceId: string;
|
|
179
|
+
excludedType: 'contract' | 'policy';
|
|
180
|
+
excludedValue: string;
|
|
206
181
|
}[];
|
|
207
182
|
}
|
|
208
183
|
export declare function createVersion({ resourceId, ...params }: CreateVersionParamsType): Promise<any>;
|
|
@@ -217,6 +192,13 @@ interface ResourceVersionInfo2ParamsType {
|
|
|
217
192
|
}
|
|
218
193
|
export declare function resourceVersionInfo1({ resourceId, version, ...params }: ResourceVersionInfo1ParamsType): Promise<any>;
|
|
219
194
|
export declare function resourceVersionInfo2(params: ResourceVersionInfo2ParamsType): Promise<any>;
|
|
195
|
+
interface getVersionListByResourceIDParamsType {
|
|
196
|
+
resourceId: string;
|
|
197
|
+
version?: string;
|
|
198
|
+
projection?: string;
|
|
199
|
+
sort?: string;
|
|
200
|
+
}
|
|
201
|
+
export declare function getVersionListByResourceID({ resourceId, ...params }: getVersionListByResourceIDParamsType): Promise<any>;
|
|
220
202
|
interface GetVersionListParamsType {
|
|
221
203
|
versionIds: string;
|
|
222
204
|
projection?: string;
|
|
@@ -268,7 +250,7 @@ export declare function lookDraft(params: LookDraftParamsType): Promise<any>;
|
|
|
268
250
|
interface DeleteResourceDraftParamsType {
|
|
269
251
|
resourceId: string;
|
|
270
252
|
}
|
|
271
|
-
export declare function deleteResourceDraft({ resourceId }: DeleteResourceDraftParamsType): Promise<any>;
|
|
253
|
+
export declare function deleteResourceDraft({ resourceId, }: DeleteResourceDraftParamsType): Promise<any>;
|
|
272
254
|
interface ResourceIsUsedByOtherParamsType {
|
|
273
255
|
fileSha1: string;
|
|
274
256
|
}
|
|
@@ -366,6 +348,7 @@ interface ListSimpleByParentCodeParamsType {
|
|
|
366
348
|
category?: 1 | 2;
|
|
367
349
|
excludeParentCode?: boolean;
|
|
368
350
|
isTerminate?: boolean;
|
|
351
|
+
nameChain?: string;
|
|
369
352
|
}
|
|
370
353
|
export declare function ListSimpleByParentCode({ ...params }: ListSimpleByParentCodeParamsType): Promise<any>;
|
|
371
354
|
interface GetResourceTypeInfoByCodeParamsType {
|
|
@@ -385,5 +368,183 @@ export declare function getAttrsInfoByKey({ ...params }: GetAttrsInfoByKeyParams
|
|
|
385
368
|
interface GenerateResourceNamesParamsType {
|
|
386
369
|
resourceNames: string[];
|
|
387
370
|
}
|
|
388
|
-
export declare function generateResourceNames({ resourceNames }: GenerateResourceNamesParamsType): Promise<any>;
|
|
371
|
+
export declare function generateResourceNames({ resourceNames, }: GenerateResourceNamesParamsType): Promise<any>;
|
|
372
|
+
interface UpdateCollectionParamsType {
|
|
373
|
+
resourceId: string;
|
|
374
|
+
description?: string;
|
|
375
|
+
dependencies?: {
|
|
376
|
+
resourceId: string;
|
|
377
|
+
versionRange: string;
|
|
378
|
+
}[];
|
|
379
|
+
customPropertyDescriptors?: {
|
|
380
|
+
key: string;
|
|
381
|
+
defaultValue: string;
|
|
382
|
+
type: string;
|
|
383
|
+
candidateItems?: string[];
|
|
384
|
+
remark?: string;
|
|
385
|
+
}[];
|
|
386
|
+
resolveResources?: {
|
|
387
|
+
resourceId: string;
|
|
388
|
+
contracts: {
|
|
389
|
+
policyId: string;
|
|
390
|
+
}[];
|
|
391
|
+
}[];
|
|
392
|
+
catalogueProperty?: {
|
|
393
|
+
collection_item_no_display?: 'collection_item_no_display_show' | 'collection_item_no_display_hide';
|
|
394
|
+
collection_item_image_display?: 'collection_item_image_display_show' | 'collection_item_image_display_hide';
|
|
395
|
+
collection_item_descr_display?: 'collection_item_descr_display_show' | 'collection_item_descr_display_hide';
|
|
396
|
+
collection_view?: 'collection_view_list' | 'collection_view_card';
|
|
397
|
+
};
|
|
398
|
+
isMergeCatalogueDraft?: 0 | 1;
|
|
399
|
+
inputAttrs?: {
|
|
400
|
+
key: string;
|
|
401
|
+
value: string;
|
|
402
|
+
}[];
|
|
403
|
+
}
|
|
404
|
+
export declare function updateCollection({ resourceId, ...params }: UpdateCollectionParamsType): Promise<any>;
|
|
405
|
+
interface deleteCollectionUnitResourcesParamsType {
|
|
406
|
+
resourceId: string;
|
|
407
|
+
removeCollectionItemIds: string[];
|
|
408
|
+
}
|
|
409
|
+
export declare function deleteCollectionUnitResource({ resourceId, removeCollectionItemIds, }: deleteCollectionUnitResourcesParamsType): Promise<any>;
|
|
410
|
+
interface GetCollectionItemsParamsType {
|
|
411
|
+
resourceId: string;
|
|
412
|
+
skip?: number;
|
|
413
|
+
limit?: number;
|
|
414
|
+
sortField?: string;
|
|
415
|
+
sortType?: 1 | -1;
|
|
416
|
+
keywords?: string;
|
|
417
|
+
isLoadLatestVersionInfo?: 0 | 1;
|
|
418
|
+
}
|
|
419
|
+
export declare function getCollectionItems({ resourceId, ...params }: GetCollectionItemsParamsType): Promise<any>;
|
|
420
|
+
interface GetCollectionItems_Draft_ParamsType {
|
|
421
|
+
resourceId: string;
|
|
422
|
+
skip?: number;
|
|
423
|
+
limit?: number;
|
|
424
|
+
sortField?: string;
|
|
425
|
+
sortType?: 1 | -1;
|
|
426
|
+
keywords?: string;
|
|
427
|
+
isLoadLatestVersionInfo?: 0 | 1;
|
|
428
|
+
}
|
|
429
|
+
export declare function getCollectionItems_Draft({ resourceId, ...params }: GetCollectionItems_Draft_ParamsType): Promise<any>;
|
|
430
|
+
interface SetCollectionItemSortParamsType {
|
|
431
|
+
resourceId: string;
|
|
432
|
+
itemId: string;
|
|
433
|
+
targetSortId: number;
|
|
434
|
+
}
|
|
435
|
+
export declare function setCollectionItemSort({ resourceId, ...params }: SetCollectionItemSortParamsType): Promise<any>;
|
|
436
|
+
interface ReorderCollectionItemsSortParamsType {
|
|
437
|
+
resourceId: string;
|
|
438
|
+
sortField: string;
|
|
439
|
+
sortType: 1 | -1;
|
|
440
|
+
}
|
|
441
|
+
export declare function reorderCollectionItemsSort({ resourceId, ...params }: ReorderCollectionItemsSortParamsType): Promise<any>;
|
|
442
|
+
interface CheckExistCollectionItemsParamsType {
|
|
443
|
+
resourceId: string;
|
|
444
|
+
resourceIds: string;
|
|
445
|
+
}
|
|
446
|
+
export declare function checkExistCollectionItems({ resourceId, ...params }: CheckExistCollectionItemsParamsType): Promise<any>;
|
|
447
|
+
interface GetCollectionItemsAuthParamsType {
|
|
448
|
+
resourceId: string;
|
|
449
|
+
itemIds: string;
|
|
450
|
+
}
|
|
451
|
+
export declare function getCollectionItemsAuth({ resourceId, ...params }: GetCollectionItemsAuthParamsType): Promise<any>;
|
|
452
|
+
interface BatchResourceItemsParamsType {
|
|
453
|
+
resourceIds: string;
|
|
454
|
+
limit?: number;
|
|
455
|
+
sortField?: string;
|
|
456
|
+
sortType?: 1 | -1;
|
|
457
|
+
isLoadItemResourceDetailInfo?: 0 | 1;
|
|
458
|
+
}
|
|
459
|
+
export declare function batchResourceItems({ ...params }: BatchResourceItemsParamsType): Promise<any>;
|
|
460
|
+
interface BatchResourceItems_Draft_ParamsType {
|
|
461
|
+
resourceIds: string;
|
|
462
|
+
limit?: number;
|
|
463
|
+
sortField?: string;
|
|
464
|
+
sortType?: 1 | -1;
|
|
465
|
+
isLoadItemResourceDetailInfo?: 0 | 1;
|
|
466
|
+
}
|
|
467
|
+
export declare function batchResourceItems_Draft({ ...params }: BatchResourceItems_Draft_ParamsType): Promise<any>;
|
|
468
|
+
interface GetCollectionUpdateLogsParamsType {
|
|
469
|
+
resourceId: string;
|
|
470
|
+
skip?: number;
|
|
471
|
+
limit?: number;
|
|
472
|
+
sortType?: 1 | -1;
|
|
473
|
+
}
|
|
474
|
+
export declare function getCollectionUpdateLogs({ resourceId, ...params }: GetCollectionUpdateLogsParamsType): Promise<any>;
|
|
475
|
+
interface GetCollectionCollectRulesParamsType {
|
|
476
|
+
resourceId: string;
|
|
477
|
+
}
|
|
478
|
+
export declare function getCollectionCollectRules({ resourceId, }: GetCollectionCollectRulesParamsType): Promise<any>;
|
|
479
|
+
interface SetCollectRulesParamsType {
|
|
480
|
+
resourceId: string;
|
|
481
|
+
serializeStatus?: 0 | 1;
|
|
482
|
+
status: 0 | 1;
|
|
483
|
+
conditionType: 1 | 2;
|
|
484
|
+
filterConditions: {
|
|
485
|
+
key: 'resourceTitle' | 'resourceTypeCode' | 'authIdentity';
|
|
486
|
+
limitOperatorType: 'INCLUDES' | 'NOT_INCLUDES' | 'STARTS_WITH' | 'ENDS_WITH' | 'EQUAL' | 'NOT_EQUAL';
|
|
487
|
+
value: string;
|
|
488
|
+
}[];
|
|
489
|
+
}
|
|
490
|
+
export declare function setCollectRules({ resourceId, ...params }: SetCollectRulesParamsType): Promise<any>;
|
|
491
|
+
interface SetItemsTitleParamsType {
|
|
492
|
+
resourceId: string;
|
|
493
|
+
data: {
|
|
494
|
+
itemId: string;
|
|
495
|
+
itemTitle: string;
|
|
496
|
+
}[];
|
|
497
|
+
}
|
|
498
|
+
export declare function setItemsTitle({ resourceId, data }: SetItemsTitleParamsType): Promise<any>;
|
|
499
|
+
interface deleteCollectionItems_Draft_ParamsType {
|
|
500
|
+
resourceId: string;
|
|
501
|
+
removeCollectionItemIds: string[];
|
|
502
|
+
}
|
|
503
|
+
export declare function deleteCollectionItems_Draft({ resourceId, removeCollectionItemIds, }: deleteCollectionItems_Draft_ParamsType): Promise<any>;
|
|
504
|
+
interface SetCollectionItemsSortID_Draft_ParamsType {
|
|
505
|
+
resourceId: string;
|
|
506
|
+
data: {
|
|
507
|
+
itemIds: string[];
|
|
508
|
+
targetSortId: number;
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
export declare function setCollectionItemsSortID_Draft({ resourceId, data, }: SetCollectionItemsSortID_Draft_ParamsType): Promise<any>;
|
|
512
|
+
interface ReorderCollectionItems_Draft_ParamsType {
|
|
513
|
+
resourceId: string;
|
|
514
|
+
sortField: 'createDate' | 'itemTitle' | 'sortId' | 'resourceUpdateDate';
|
|
515
|
+
sortType: -1 | 1;
|
|
516
|
+
}
|
|
517
|
+
export declare function reorderCollectionItems_Draft({ resourceId, ...params }: ReorderCollectionItems_Draft_ParamsType): Promise<any>;
|
|
518
|
+
interface ResourceIsExistInItems_Draft_ParamsType {
|
|
519
|
+
resourceId: string;
|
|
520
|
+
resourceIds: string;
|
|
521
|
+
}
|
|
522
|
+
export declare function resourceIsExistInItems_Draft({ resourceId, ...params }: ResourceIsExistInItems_Draft_ParamsType): Promise<any>;
|
|
523
|
+
interface UpdateCollectionItemsInfo_Draft_ParamsType {
|
|
524
|
+
resourceId: string;
|
|
525
|
+
data: {
|
|
526
|
+
itemId: string;
|
|
527
|
+
itemTitle: string;
|
|
528
|
+
}[];
|
|
529
|
+
}
|
|
530
|
+
export declare function updateCollectionItemsInfo_Draft({ resourceId, data, }: UpdateCollectionItemsInfo_Draft_ParamsType): Promise<any>;
|
|
531
|
+
interface UpdateCollectionItemAuthorization_Draft_ParamsType {
|
|
532
|
+
resourceId: string;
|
|
533
|
+
itemId: string;
|
|
534
|
+
}
|
|
535
|
+
export declare function updateCollectionItemAuthorization_Draft({ resourceId, itemId, ...data }: UpdateCollectionItemAuthorization_Draft_ParamsType): Promise<any>;
|
|
536
|
+
interface AddResourceItems_Draft_ParamsType {
|
|
537
|
+
resourceId: string;
|
|
538
|
+
addCollectionItems: {
|
|
539
|
+
resourceId: string;
|
|
540
|
+
itemTitle: string;
|
|
541
|
+
}[];
|
|
542
|
+
isPublish?: 1 | 0;
|
|
543
|
+
}
|
|
544
|
+
export declare function addResourceItems_Draft({ resourceId, ...params }: AddResourceItems_Draft_ParamsType): Promise<any>;
|
|
545
|
+
interface GetCollectionItemsAuth_Draft_ParamsType {
|
|
546
|
+
resourceId: string;
|
|
547
|
+
itemIds: string;
|
|
548
|
+
}
|
|
549
|
+
export declare function getCollectionItemsAuth_Draft({ resourceId, ...params }: GetCollectionItemsAuth_Draft_ParamsType): Promise<any>;
|
|
389
550
|
export {};
|
|
@@ -29,6 +29,8 @@ interface ObjectListParamsType {
|
|
|
29
29
|
projection?: string;
|
|
30
30
|
sort?: string;
|
|
31
31
|
omitResourceType?: string;
|
|
32
|
+
mime?: string;
|
|
33
|
+
extNames?: string;
|
|
32
34
|
}
|
|
33
35
|
export declare function objectList({ bucketName, ...params }: ObjectListParamsType): Promise<any>;
|
|
34
36
|
interface UserNodeDataListParamsType {
|
|
@@ -138,4 +140,8 @@ interface FilesListInfoParamsType {
|
|
|
138
140
|
resourceTypeCode: string;
|
|
139
141
|
}
|
|
140
142
|
export declare function filesListInfo({ ...params }: FilesListInfoParamsType): Promise<any>;
|
|
143
|
+
interface FilesInfoParamsType {
|
|
144
|
+
resourceTypeCode: string;
|
|
145
|
+
}
|
|
146
|
+
export declare function filesInfo({ ...params }: FilesInfoParamsType): Promise<any>;
|
|
141
147
|
export {};
|
|
@@ -95,4 +95,10 @@ interface ThirdPartyIsBindParamsType {
|
|
|
95
95
|
export declare function thirdPartyIsBind(params: ThirdPartyIsBindParamsType): Promise<any>;
|
|
96
96
|
export declare function signForCoins(): Promise<any>;
|
|
97
97
|
export declare function getSignInfo(): Promise<any>;
|
|
98
|
+
interface SearchForConsoleParamsType {
|
|
99
|
+
skip?: number;
|
|
100
|
+
limit?: number;
|
|
101
|
+
keywords?: string;
|
|
102
|
+
}
|
|
103
|
+
export declare function searchForConsole(params?: SearchForConsoleParamsType): Promise<any>;
|
|
98
104
|
export {};
|