|
4 | 4 |
|
5 | 5 | ### Added |
6 | 6 |
|
| 7 | +- Added service `Services\Disk\Service\Disk` with support methods, |
| 8 | + see [disk service methods](https://github.com/bitrix24/b24phpsdk/issues/265): |
| 9 | + - `getVersion` returns the version by identifier |
| 10 | + - `getAttachedObject` returns information about the attached file |
| 11 | + - `getRightsTasks` returns a list of available access levels that can be used for assigning permissions |
| 12 | +- Added service `Services\Disk\Storage\Service\Storage` with support methods, |
| 13 | + see [disk.storage.* methods](https://github.com/bitrix24/b24phpsdk/issues/265): |
| 14 | + - `fields` returns the description of the storage fields |
| 15 | + - `get` returns the storage by identifier |
| 16 | + - `rename` renames the storage |
| 17 | + - `list` returns a list of available storages |
| 18 | + - `getTypes` returns a list of storage types |
| 19 | + - `addFolder` creates a folder in the root of the storage |
| 20 | + - `getChildren` returns a list of files and folders in the root of the storage |
| 21 | + - `uploadFile` uploads a new file to the root of the storage |
| 22 | + - `getForApp` returns the description of the storage that the application can work with |
| 23 | +- Added service `Services\Disk\Folder\Service\Folder` with support methods, |
| 24 | + see [disk.folder.* methods](https://github.com/bitrix24/b24phpsdk/issues/265): |
| 25 | + - `getFields` returns the description of folder fields |
| 26 | + - `get` returns the folder by identifier |
| 27 | + - `getChildren` returns a list of files and folders that are directly in the folder |
| 28 | + - `addSubfolder` creates a subfolder |
| 29 | + - `copyTo` copies the folder to the specified folder |
| 30 | + - `moveTo` moves the folder to the specified folder |
| 31 | + - `rename` renames the folder |
| 32 | + - `markDeleted` moves the folder to the trash |
| 33 | + - `restore` restores the folder from the trash |
| 34 | + - `deleteTree` permanently destroys the folder and all its child elements |
| 35 | + - `getExternalLink` returns a public link |
| 36 | + - `uploadFile` uploads a new file to the specified folder |
| 37 | +- Added service `Services\Disk\File\Service\File` with support methods, |
| 38 | + see [disk.file.* methods](https://github.com/bitrix24/b24phpsdk/issues/265): |
| 39 | + - `getFields` returns the description of file fields |
| 40 | + - `get` returns the file by identifier |
| 41 | + - `rename` renames the file |
| 42 | + - `copyTo` copies the file to the specified folder |
| 43 | + - `moveTo` moves the file to the specified folder |
| 44 | + - `delete` permanently destroys the file |
| 45 | + - `markDeleted` moves the file to the trash |
| 46 | + - `restore` restores the file from the trash |
| 47 | + - `uploadVersion` uploads a new version of the file |
| 48 | + - `getVersions` returns a list of file versions |
| 49 | + - `restoreFromVersion` restores the file from a specific version |
| 50 | + - `getExternalLink` returns a public link to the file |
7 | 51 | - Added service `Services\Sale\Payment\Service\Payment` with support methods, |
8 | 52 | see [sale.payment.* methods](https://github.com/bitrix24/b24phpsdk/issues/248): |
9 | 53 | - `add` adds a payment |
|
0 commit comments