@freelog/tools-lib 0.1.167 → 0.1.169

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.
@@ -48,11 +48,10 @@ export interface CreateBatchParamsType {
48
48
  baseUpcastResources?: {
49
49
  resourceId: string;
50
50
  }[];
51
- resolveResources: {
51
+ batchSignContracts?: {
52
52
  resourceId: string;
53
- contracts: {
54
- policyId: string;
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: 'contract' | 'policy';
178
+ excludedType: 'contractId' | 'policyId';
180
179
  excludedValue: string;
181
180
  }[];
182
181
  }
@@ -372,10 +371,6 @@ export declare function generateResourceNames({ resourceNames, }: GenerateResour
372
371
  interface UpdateCollectionParamsType {
373
372
  resourceId: string;
374
373
  description?: string;
375
- dependencies?: {
376
- resourceId: string;
377
- versionRange: string;
378
- }[];
379
374
  customPropertyDescriptors?: {
380
375
  key: string;
381
376
  defaultValue: string;
@@ -383,12 +378,6 @@ interface UpdateCollectionParamsType {
383
378
  candidateItems?: string[];
384
379
  remark?: string;
385
380
  }[];
386
- resolveResources?: {
387
- resourceId: string;
388
- contracts: {
389
- policyId: string;
390
- }[];
391
- }[];
392
381
  catalogueProperty?: {
393
382
  collection_item_no_display?: 'collection_item_no_display_show' | 'collection_item_no_display_hide';
394
383
  collection_item_image_display?: 'collection_item_image_display_show' | 'collection_item_image_display_hide';
@@ -400,6 +389,22 @@ interface UpdateCollectionParamsType {
400
389
  key: string;
401
390
  value: string;
402
391
  }[];
392
+ dependencies?: {
393
+ resourceId: string;
394
+ versionRange: string;
395
+ }[];
396
+ baseUpcastResources?: {
397
+ resourceId: string;
398
+ }[];
399
+ batchSignContracts?: {
400
+ resourceId: string;
401
+ policyIds: string[];
402
+ }[];
403
+ authExcludedItems: {
404
+ resourceId: string;
405
+ excludedType: 'contractId' | 'policyId';
406
+ excludedValue: string;
407
+ }[];
403
408
  }
404
409
  export declare function updateCollection({ resourceId, ...params }: UpdateCollectionParamsType): Promise<any>;
405
410
  interface deleteCollectionUnitResourcesParamsType {
@@ -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) {