nb-js-client 1.0.77 → 1.0.78

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.
@@ -33,7 +33,7 @@ export declare class SpaceFilesApiService {
33
33
  trashAll(id: number): Promise<void>;
34
34
  lock(id: number, file_id: string): Promise<StorageElementVersionLock>;
35
35
  unlock(id: number, file_id: string): Promise<void>;
36
- branch(id: number, file_id: string): Promise<any>;
36
+ branch(id: number, file_id: string): Promise<ResponseList<SpaceElement>>;
37
37
  }
38
38
  export type RequestSpaceElementListParams = Pick<RequestStorageListParams, 'is_search_dir' | 'limit' | 'max_size' | 'min_size' | 'offset' | 'order_by' | 'order_direction' | 'search' | 'type' | 'content_types' | 'zip_prefix'> & {
39
39
  parent_id?: string;
package/dist/index.d.ts CHANGED
@@ -1957,7 +1957,7 @@ declare class SpaceFilesApiService {
1957
1957
  trashAll(id: number): Promise<void>;
1958
1958
  lock(id: number, file_id: string): Promise<StorageElementVersionLock>;
1959
1959
  unlock(id: number, file_id: string): Promise<void>;
1960
- branch(id: number, file_id: string): Promise<any>;
1960
+ branch(id: number, file_id: string): Promise<ResponseList<SpaceElement>>;
1961
1961
  }
1962
1962
  type RequestSpaceElementListParams = Pick<RequestStorageListParams, 'is_search_dir' | 'limit' | 'max_size' | 'min_size' | 'offset' | 'order_by' | 'order_direction' | 'search' | 'type' | 'content_types' | 'zip_prefix'> & {
1963
1963
  parent_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nb-js-client",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "main": "dist/bundle.cjs.js",
5
5
  "module": "dist/bundle.esm.js",
6
6
  "files": [