Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
a5b3759
Modify the CRMServiceBuilder class for the crm.documentgenerator.nume…
TitarX Aug 15, 2025
4a60d15
add BasketItem service
sallee113 Sep 3, 2025
db676d3
run tests for BasketItem without two methods
sallee113 Sep 4, 2025
b9bc4c0
add BasketItem batch tests
sallee113 Sep 4, 2025
e62e910
run BasketItem batch tests
sallee113 Sep 8, 2025
dcf03d1
add two tests to BasketItem
vadimsallee Sep 8, 2025
ab5d560
run tests and linters
vadimsallee Sep 9, 2025
676a25c
add BasketProperty serivce
vadimsallee Sep 9, 2025
f035edb
run tests and linters
vadimsallee Sep 9, 2025
7ee49fc
update changelog
vadimsallee Sep 9, 2025
332b9d1
add Payment service
vadimsallee Sep 9, 2025
2e03f06
remove batch-methods
vadimsallee Sep 9, 2025
d60b3f5
add tests; run tests and linters
vadimsallee Sep 9, 2025
83af317
run phpstan
vadimsallee Sep 9, 2025
b57afdf
run rector
vadimsallee Sep 9, 2025
6b47750
update changelog
vadimsallee Sep 10, 2025
9a6dbf0
add Shipment service; run tests and linters; add to changelog
vadimsallee Sep 10, 2025
8deb7f3
add ShipmentPropertyService and tests
vadimsallee Sep 10, 2025
3de5aa1
run ShipmentProperty tests
vadimsallee Sep 10, 2025
b206430
run linters
vadimsallee Sep 10, 2025
922898d
add annotations tests
vadimsallee Sep 10, 2025
ecc8c17
Merge pull request #247 from vadimsallee/feature/243-add-sale-basket
mesilov Sep 10, 2025
945d2d7
Merge pull request #249 from vadimsallee/feature/248-add-sale-payment
mesilov Sep 10, 2025
50c909f
add ShipmentPropertyValue service
vadimsallee Sep 10, 2025
764b920
run tests and linters
vadimsallee Sep 10, 2025
8e50c3b
Merge branch 'bitrix24:main' into feature/250-add-shipment
vadimsallee Sep 10, 2025
8971814
Merge branch 'dev' into feature/250-add-shipment
vadimsallee Sep 10, 2025
f1bbc60
bugfix in SaleServiceBuilder
vadimsallee Sep 10, 2025
5295401
update Batch, add and run tests
vadimsallee Sep 12, 2025
fae0e81
run linters and unit-tests
vadimsallee Sep 12, 2025
937c169
run lint-rector
vadimsallee Sep 12, 2025
a75356c
add ShipmentItem, tests; run tests and linters
vadimsallee Sep 12, 2025
f93d116
added a comment describing the criteria for selecting a scenario
vadimsallee Sep 12, 2025
a367501
run ShipmentProperty tests
vadimsallee Sep 12, 2025
83270f8
add PaymentBasketItem and tests
vadimsallee Sep 12, 2025
7ba53a5
PaymentItemBasket - run tests and linters
vadimsallee Sep 15, 2025
67e5d38
add PaymentItemShipment, tests; run tests and linter
vadimsallee Sep 15, 2025
e20c645
update changelog
vadimsallee Sep 15, 2025
39a4b3a
Merge branch 'bitrix24:main' into feature/253-add-linking-cart-items
vadimsallee Sep 15, 2025
ec164c0
add PropertyRelation and tests; run tests and linter; update changelog
vadimsallee Sep 15, 2025
37faff7
add DeliveryHandler, tests; run tests and linters
vadimsallee Sep 16, 2025
f5749a3
update changelog
vadimsallee Sep 16, 2025
3271f64
add Delivery and tests; run tests; add to changelog
vadimsallee Sep 17, 2025
74c4e8d
run linters
vadimsallee Sep 17, 2025
7a469a6
Merge branch 'bitrix24:main' into feature/215-add-crm-documentgenerat…
TitarX Sep 17, 2025
12c278a
add DeliveryExtraService and tests; run tests
vadimsallee Sep 17, 2025
132d8cf
run linters
vadimsallee Sep 17, 2025
6e57138
Merge branch 'dev' into feature/215-add-crm-documentgenerator-numerator
TitarX Sep 17, 2025
5bab96b
add DeliveryRequest without tests; run linters
vadimsallee Sep 17, 2025
a42abf4
add CashboxHandler and tests; run tests; add to changelog
vadimsallee Sep 17, 2025
ba63d63
run linters
vadimsallee Sep 17, 2025
531fc84
add Cashbox and tests; run tests
vadimsallee Sep 17, 2025
e96882d
run linters
vadimsallee Sep 17, 2025
d1af5c4
Correct the CRMServiceBuilder class
TitarX Sep 17, 2025
9aca8b4
add Paysystem/Handler and tests; run tests
vadimsallee Sep 18, 2025
c711566
add Paysystem and tests
vadimsallee Sep 18, 2025
52c13b3
Merge pull request #251 from vadimsallee/feature/250-add-shipment
mesilov Sep 18, 2025
beadffd
Merge pull request #254 from vadimsallee/feature/253-add-linking-cart…
mesilov Sep 18, 2025
f91a9b0
Create classes of crm.documentgenerator.numerator items and requests
TitarX Sep 18, 2025
f9f8d9f
Merge branch 'dev' into bugfix/246-batch-list-desc
vadimsallee Sep 19, 2025
19860d1
Merge branch 'bitrix24:main' into feature/260-add-paysystem
vadimsallee Sep 19, 2025
f0a9152
run linters on Paysystem
vadimsallee Sep 19, 2025
e812f67
add two methods to Paysystem and tests; add Paysystem Settings and te…
vadimsallee Sep 23, 2025
0dd0e97
run linters
vadimsallee Sep 23, 2025
e6a90b0
Merge branch 'dev' into feature/260-add-paysystem
vadimsallee Sep 23, 2025
5521201
add Calendar service, tests; run tests and linters; add to the changelog
vadimsallee Sep 23, 2025
ab29afa
Merge branch 'dev' into feature/263-add-calendar
vadimsallee Sep 23, 2025
6f42aee
add SettingsItemResults, update tests; run tests and linters
vadimsallee Sep 23, 2025
8d6ebf2
add Calendar Event and tests; run tests and linters
vadimsallee Sep 24, 2025
243ab6c
add Calendar Resource and tests; run tests and linters
vadimsallee Sep 24, 2025
a929aa4
update changelog
vadimsallee Sep 24, 2025
a4ed903
add Calendar Events and EventsFabric; update changelog
vadimsallee Sep 24, 2025
d18d627
Correct the numerator classes and add tests
TitarX Sep 24, 2025
e5ab242
add Disk scope and service; add and run tests
vadimsallee Sep 25, 2025
9af633d
run linters
vadimsallee Sep 25, 2025
edf1251
add service File and tests; run tests and linters
vadimsallee Sep 25, 2025
27bf4df
Minor fix
TitarX Sep 25, 2025
edeeb80
Create tests for CRM documentgenerator numerator
TitarX Sep 25, 2025
0556243
add Disk Storage and tests; run tests and linters
vadimsallee Sep 26, 2025
ad264ae
Linter and test registration
TitarX Sep 26, 2025
06bb455
add getVersion, getAttachedObject, getRightsTasks methods and tests; …
vadimsallee Sep 26, 2025
4f5b518
update changelog
vadimsallee Sep 26, 2025
20a6043
Merge branch 'dev' into feature/265-add-disk
vadimsallee Sep 26, 2025
0310b4c
Numerator tests minor fix
TitarX Sep 26, 2025
ee320cf
Fix on linter
TitarX Sep 26, 2025
e796481
Test and debug the crm.documentgenerator.numerator methods
TitarX Sep 29, 2025
c25f557
Merge branch dev into feature/250-add-shipment
TitarX Sep 30, 2025
dfa2a3e
Add methods description to CHANGELOG.md
TitarX Sep 30, 2025
ebafeb6
Merge pull request #252 from vadimsallee/bugfix/246-batch-list-desc
mesilov Oct 2, 2025
3573e90
Merge pull request #262 from vadimsallee/feature/260-add-paysystem
mesilov Oct 2, 2025
7885c4e
Merge branch dev into feature/215-add-crm-documentgenerator-numerator
TitarX Oct 2, 2025
9cd3c47
Merge branch 'dev' into feature/265-add-disk
vadimsallee Oct 2, 2025
e82d26a
Merge pull request #269 from Info-Expert-B24/feature/215-add-crm-docu…
mesilov Oct 4, 2025
a61bb7a
Merge branch 'dev' into feature/263-add-calendar
vadimsallee Oct 6, 2025
31ce446
Merge branch 'dev' into feature/265-add-disk
vadimsallee Oct 6, 2025
f35fe37
Merge branch 'dev' into feature/255-add-delivery
vadimsallee Oct 6, 2025
21ee5da
run linters
vadimsallee Oct 6, 2025
9261eca
Merge pull request #264 from vadimsallee/feature/263-add-calendar
mesilov Oct 6, 2025
407c0d9
Merge branch 'dev' into feature/265-add-disk
vadimsallee Oct 6, 2025
4081b58
Merge pull request #266 from vadimsallee/feature/265-add-disk
mesilov Oct 6, 2025
8ee146a
Merge branch 'dev' into feature/255-add-delivery
vadimsallee Oct 6, 2025
4b27fae
Merge pull request #257 from vadimsallee/feature/255-add-delivery
mesilov Oct 6, 2025
480ab51
Merge branch 'dev' into feature/258-add-sale-cachbox
vadimsallee Oct 6, 2025
c6ab5a5
run linters
vadimsallee Oct 6, 2025
c62f8f1
Merge pull request #259 from vadimsallee/feature/258-add-sale-cachbox
mesilov Oct 6, 2025
cdc22db
1.7.0 release
mesilov Oct 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
->in(__DIR__ . '/src/Services/CRM/Requisites/')
->in(__DIR__ . '/src/Services/CRM/Status/')
->in(__DIR__ . '/src/Services/CRM/Timeline/')
->in(__DIR__ . '/src/Services/CRM/Documentgenerator/Numerator/')
->in(__DIR__ . '/src/Services/Entity/Section/')
->in(__DIR__ . '/src/Services/Department/')
->in(__DIR__ . '/src/Services/Paysystem/')
->in(__DIR__ . '/src/Services/Sale/')
->in(__DIR__ . '/src/Services/Task/')
->in(__DIR__ . '/src/Services/Sale/')
->in(__DIR__ . '/src/Services/Disk/')
->in(__DIR__ . '/src/Services/Calendar/')
->name('*.php')
->exclude(['vendor', 'storage', 'docker', 'docs']) // Exclude directories
->ignoreDotFiles(true)
Expand Down
236 changes: 236 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,245 @@
# b24-php-sdk change log

## 1.7.0 - 2025.10.08

### Added

- Added service `Services\Sale\Delivery\Service\Delivery` with support methods,
see [sale.delivery.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
- `add` adds a delivery service
- `update` updates a delivery service
- `getlist` returns a list of delivery services
- `delete` deletes a delivery service
- `configUpdate` updates delivery service settings
- `configGet` returns delivery service settings
- Added service `Services\Sale\DeliveryRequest\Service\DeliveryRequest` with support methods,
see [sale.delivery.request.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
- `update` updates the delivery request
- `sendMessage` creates notifications for the delivery request
- `delete` deletes the delivery request
- Added service `Services\Sale\DeliveryExtraService\Service\DeliveryExtraService` with support methods,
see [sale.delivery.extra.service.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
- `add` adds a delivery service
- `update` updates a delivery service
- `get` returns information about all services of a specific delivery service
- `delete` deletes a delivery service
- Added service `Services\Sale\DeliveryHandler\Service\DeliveryHandler` with support methods,
see [sale.delivery.handler.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
- `add` adds a delivery service handler
- `update` updates the delivery service handler
- `list` returns a list of delivery service handlers
- `delete` deletes a delivery service handler
- Added service `Services\Disk\Service\Disk` with support methods,
see [disk service methods](https://github.com/bitrix24/b24phpsdk/issues/265):
- `getVersion` returns the version by identifier
- `getAttachedObject` returns information about the attached file
- `getRightsTasks` returns a list of available access levels that can be used for assigning permissions
- Added service `Services\Disk\Storage\Service\Storage` with support methods,
see [disk.storage.* methods](https://github.com/bitrix24/b24phpsdk/issues/265):
- `fields` returns the description of the storage fields
- `get` returns the storage by identifier
- `rename` renames the storage
- `list` returns a list of available storages
- `getTypes` returns a list of storage types
- `addFolder` creates a folder in the root of the storage
- `getChildren` returns a list of files and folders in the root of the storage
- `uploadFile` uploads a new file to the root of the storage
- `getForApp` returns the description of the storage that the application can work with
- Added service `Services\Disk\Folder\Service\Folder` with support methods,
see [disk.folder.* methods](https://github.com/bitrix24/b24phpsdk/issues/265):
- `getFields` returns the description of folder fields
- `get` returns the folder by identifier
- `getChildren` returns a list of files and folders that are directly in the folder
- `addSubfolder` creates a subfolder
- `copyTo` copies the folder to the specified folder
- `moveTo` moves the folder to the specified folder
- `rename` renames the folder
- `markDeleted` moves the folder to the trash
- `restore` restores the folder from the trash
- `deleteTree` permanently destroys the folder and all its child elements
- `getExternalLink` returns a public link
- `uploadFile` uploads a new file to the specified folder
- Added service `Services\Disk\File\Service\File` with support methods,
see [disk.file.* methods](https://github.com/bitrix24/b24phpsdk/issues/265):
- `getFields` returns the description of file fields
- `get` returns the file by identifier
- `rename` renames the file
- `copyTo` copies the file to the specified folder
- `moveTo` moves the file to the specified folder
- `delete` permanently destroys the file
- `markDeleted` moves the file to the trash
- `restore` restores the file from the trash
- `uploadVersion` uploads a new version of the file
- `getVersions` returns a list of file versions
- `restoreFromVersion` restores the file from a specific version
- `getExternalLink` returns a public link to the file
- Added service `Services\CRM\Documentgenerator\Numerator` with support methods,
see [crm.documentgenerator.numerator.* methods](https://github.com/bitrix24/b24phpsdk/issues/215):
- `add` adds a new numerator, with batch calls support
- `list` gets the list of numerators, with batch calls support
- `update` updates an existing numbering with new values, with batch calls support
- `delete` deletes a numerator, with batch calls support
- `get` gets information about the numerator by its identifier
- `count` count numerators
- Added service `Services\Paysystem\Handler\Service\Handler` with support methods,
see [pay_system.handler.* methods](https://github.com/bitrix24/b24phpsdk/issues/260):
- `add` adds a payment system handler
- `update` updates a payment system handler
- `list` returns a list of payment system handlers
- `delete` deletes a payment system handler
- Added service `Services\Paysystem\Service\Paysystem` with support methods,
see [sale.paysystem.* methods](https://github.com/bitrix24/b24phpsdk/issues/260):
- `add` adds a payment system
- `update` updates a payment system
- `get` returns a payment system by its identifier
- `list` returns a list of payment systems
- `delete` deletes a payment system
- `payPayment` pays a payment
- `payInvoice` pays an invoice (legacy version)
- Added service `Services\Paysystem\Settings\Service\Settings` with support methods,
see [sale.paysystem.settings.* methods](https://github.com/bitrix24/b24phpsdk/issues/260):
- `get` returns the settings of the payment system
- `update` updates the payment system settings
- `getForPayment` returns the payment system settings for a specific payment
- `getForInvoice` returns the payment system settings for a specific invoice (legacy version)
- Added service `Services\Sale\Shipment\Service\Shipment` with support methods,
see [sale.shipment.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
- `add` adds a shipment
- `update` updates the fields of a shipment
- `get` returns a shipment by its identifier
- `list` returns a list of shipments
- `delete` deletes a shipment
- `getFields` returns the fields and settings for shipments
- Added service `Services\Sale\ShipmentProperty\Service\ShipmentProperty` with support methods,
see [sale.shipmentproperty.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
- `add` adds a shipment property
- `update` updates the fields of a shipment property
- `get` returns a shipment property by its identifier
- `list` returns a list of shipment properties
- `delete` deletes a shipment property
- `getFieldsByType` returns the fields and settings for shipment properties by type
- Added service `Services\Sale\ShipmentPropertyValue\Service\ShipmentPropertyValue` with support methods,
see [sale.shipmentpropertyvalue.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
- `modify` updates shipment property values for a shipment
- `get` returns a shipment property value by its identifier
- `list` returns a list of shipment property values
- `delete` deletes a shipment property value
- `getFields` returns the fields and settings for shipment property values
- Added service `Services\Sale\ShipmentItem\Service\ShipmentItem` with support methods,
see [sale.shipmentitem.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
- `add` adds a new shipment item
- `update` updates the fields of a shipment item
- `get` returns a shipment item by its identifier
- `list` returns a list of shipment items
- `delete` deletes a shipment item
- `getFields` returns the fields and settings for shipment items
- Added service `Services\Sale\Payment\Service\Payment` with support methods,
see [sale.payment.* methods](https://github.com/bitrix24/b24phpsdk/issues/248):
- `add` adds a payment
- `update` updates the fields of a payment
- `get` returns a payment by its identifier
- `list` returns a list of payments
- `delete` deletes a payment
- `getFields` returns the fields and settings for payments
- Added service `Services\Sale\CashboxHandler\Service\CashboxHandler` with support methods,
see [sale.cashbox.handler.* methods](https://github.com/bitrix24/b24phpsdk/issues/258):
- `add` adds a REST cashbox handler
- `update` updates the data of the REST cashbox handler
- `list` returns a list of available REST cashbox handlers
- `delete` deletes the REST cashbox handler
- Added service `Services\Sale\Cashbox\Service\Cashbox` with support methods,
see [sale.cashbox.* methods](https://github.com/bitrix24/b24phpsdk/issues/258):
- `add` adds a new cash register
- `update` updates an existing cash register
- `list` returns a list of configured cash registers
- `delete` deletes a cash register
- `checkApply` saves the result of printing the receipt
- Added service `Services\Calendar\Service\Calendar` with support methods,
see [calendar.* methods](https://github.com/bitrix24/b24phpsdk/issues/263):
- `add` adds a new calendar section
- `update` updates a calendar section
- `get` returns a list of calendar sections
- `delete` deletes a calendar section
- `getSettings` returns main calendar settings
- `getUserSettings` returns user calendar settings
- `setUserSettings` sets user calendar settings
- Added support for events:
- `OnCalendarSectionAdd`
- `OnCalendarSectionUpdate`
- `OnCalendarSectionDelete`
- Added service `Services\Calendar\Event\Service\Event` with support methods,
see [calendar.event.* methods](https://github.com/bitrix24/b24phpsdk/issues/263):
- `add` adds a new calendar event, with batch calls support
- `update` updates a calendar event, with batch calls support
- `getById` returns calendar event by identifier
- `get` returns a list of calendar events
- `getNearest` returns a list of upcoming events
- `delete` deletes a calendar event, with batch calls support
- `getMeetingStatus` gets current user's participation status in event
- `setMeetingStatus` sets participation status in event for current user
- `getAccessibility` gets users' availability from list
- Added service `Services\Calendar\Resource\Service\Resource` with support methods,
see [calendar.resource.* methods](https://github.com/bitrix24/b24phpsdk/issues/263):
- `add` adds a new calendar resource
- `update` updates a calendar resource
- `list` returns a list of all resources
- `bookingList` retrieves resource bookings based on a filter
- `delete` deletes a calendar resource
- Added service `Services\Sale\PaymentItemBasket\Service\PaymentItemBasket` with support methods,
see [sale.paymentitembasket.* methods](https://github.com/bitrix24/b24phpsdk/issues/253):
- `add` adds a binding of a basket item to a payment
- `update` updates the binding of a basket item to a payment
- `get` returns the values of all fields for the basket item binding to payment
- `list` returns a list of bindings of basket items to payments
- `delete` deletes the binding of a basket item to a payment
- `getFields` returns the available fields for payment item basket bindings
- Added service `Services\Sale\PaymentItemShipment\Service\PaymentItemShipment` with support methods,
see [sale.paymentitemshipment.* methods](https://github.com/bitrix24/b24phpsdk/issues/253):
- `add` adds a binding of a payment to a shipment
- `update` updates the binding of a payment to a shipment
- `get` returns the values of all fields for the payment binding to shipment
- `list` returns a list of bindings of payments to shipments
- `delete` deletes the binding of a payment to a shipment
- `getFields` returns the available fields for payment item shipment bindings
- Added service `Services\Sale\PropertyRelation\Service\PropertyRelation` with support methods,
see [sale.propertyRelation.* methods](https://github.com/bitrix24/b24phpsdk/issues/253):
- `add` adds a property binding
- `list` retrieves a list of property bindings
- `deleteByFilter` removes the property relation
- `getFields` returns the available fields for property binding
### Fixed

- Fixed Incorrect data loading in `Core\Batch::getTraversableList()` with desc sorting by ID [see details](https://github.com/bitrix24/b24phpsdk/issues/246)

### Statistics

```
Bitrix24 API-methods count: 1162
Supported in bitrix24-php-sdk methods count: 632
Coverage percentage: 54.39% 🚀
```


## 1.6.0 – 2025.09.01

### Added

- Added service `Services\Sale\BasketItem\Service\BasketItem` with support methods,
see [sale.basketitems.* methods](https://github.com/bitrix24/b24phpsdk/issues/243):
- `add` adds a new basket item, with batch calls support
- `update` updates a basket item, with batch calls support
- `get` returns a basket item by ID
- `list` returns a list of basket items, with batch calls support
- `delete` deletes a basket item, with batch calls support
- `getFields` returns the fields of a basket item
- Added service `Services\Sale\BasketProperty\Service\BasketProperty` with support methods,
see [sale.basketproperties.* methods](https://github.com/bitrix24/b24phpsdk/issues/243):
- `add` adds a basket property
- `update` updates the fields of a basket property
- `get` returns a basket property by ID
- `list` returns a list of basket properties
- `delete` deletes a basket property
- `getFields` returns the fields of basket properties
- Added service `Services\Sale\Order\Service\Order` with support methods,
see [sale.order.* methods](https://github.com/bitrix24/b24phpsdk/issues/241):
- `add` adds an order, with batch calls support
Expand Down
Loading