Skip to content

Commit 6933443

Browse files
authored
Merge pull request #272 from bitrix24/dev
Shipping new SDK release - 1.7.0
2 parents 8554300 + cdc22db commit 6933443

File tree

234 files changed

+23843
-476
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+23843
-476
lines changed

.php-cs-fixer.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
->in(__DIR__ . '/src/Services/CRM/Requisites/')
1616
->in(__DIR__ . '/src/Services/CRM/Status/')
1717
->in(__DIR__ . '/src/Services/CRM/Timeline/')
18+
->in(__DIR__ . '/src/Services/CRM/Documentgenerator/Numerator/')
1819
->in(__DIR__ . '/src/Services/Entity/Section/')
1920
->in(__DIR__ . '/src/Services/Department/')
21+
->in(__DIR__ . '/src/Services/Paysystem/')
2022
->in(__DIR__ . '/src/Services/Sale/')
2123
->in(__DIR__ . '/src/Services/Task/')
2224
->in(__DIR__ . '/src/Services/Sale/')
25+
->in(__DIR__ . '/src/Services/Disk/')
26+
->in(__DIR__ . '/src/Services/Calendar/')
2327
->name('*.php')
2428
->exclude(['vendor', 'storage', 'docker', 'docs']) // Exclude directories
2529
->ignoreDotFiles(true)

CHANGELOG.md

Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,245 @@
11
# b24-php-sdk change log
22

3+
## 1.7.0 - 2025.10.08
4+
5+
### Added
6+
7+
- Added service `Services\Sale\Delivery\Service\Delivery` with support methods,
8+
see [sale.delivery.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
9+
- `add` adds a delivery service
10+
- `update` updates a delivery service
11+
- `getlist` returns a list of delivery services
12+
- `delete` deletes a delivery service
13+
- `configUpdate` updates delivery service settings
14+
- `configGet` returns delivery service settings
15+
- Added service `Services\Sale\DeliveryRequest\Service\DeliveryRequest` with support methods,
16+
see [sale.delivery.request.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
17+
- `update` updates the delivery request
18+
- `sendMessage` creates notifications for the delivery request
19+
- `delete` deletes the delivery request
20+
- Added service `Services\Sale\DeliveryExtraService\Service\DeliveryExtraService` with support methods,
21+
see [sale.delivery.extra.service.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
22+
- `add` adds a delivery service
23+
- `update` updates a delivery service
24+
- `get` returns information about all services of a specific delivery service
25+
- `delete` deletes a delivery service
26+
- Added service `Services\Sale\DeliveryHandler\Service\DeliveryHandler` with support methods,
27+
see [sale.delivery.handler.* methods](https://github.com/bitrix24/b24phpsdk/issues/255):
28+
- `add` adds a delivery service handler
29+
- `update` updates the delivery service handler
30+
- `list` returns a list of delivery service handlers
31+
- `delete` deletes a delivery service handler
32+
- Added service `Services\Disk\Service\Disk` with support methods,
33+
see [disk service methods](https://github.com/bitrix24/b24phpsdk/issues/265):
34+
- `getVersion` returns the version by identifier
35+
- `getAttachedObject` returns information about the attached file
36+
- `getRightsTasks` returns a list of available access levels that can be used for assigning permissions
37+
- Added service `Services\Disk\Storage\Service\Storage` with support methods,
38+
see [disk.storage.* methods](https://github.com/bitrix24/b24phpsdk/issues/265):
39+
- `fields` returns the description of the storage fields
40+
- `get` returns the storage by identifier
41+
- `rename` renames the storage
42+
- `list` returns a list of available storages
43+
- `getTypes` returns a list of storage types
44+
- `addFolder` creates a folder in the root of the storage
45+
- `getChildren` returns a list of files and folders in the root of the storage
46+
- `uploadFile` uploads a new file to the root of the storage
47+
- `getForApp` returns the description of the storage that the application can work with
48+
- Added service `Services\Disk\Folder\Service\Folder` with support methods,
49+
see [disk.folder.* methods](https://github.com/bitrix24/b24phpsdk/issues/265):
50+
- `getFields` returns the description of folder fields
51+
- `get` returns the folder by identifier
52+
- `getChildren` returns a list of files and folders that are directly in the folder
53+
- `addSubfolder` creates a subfolder
54+
- `copyTo` copies the folder to the specified folder
55+
- `moveTo` moves the folder to the specified folder
56+
- `rename` renames the folder
57+
- `markDeleted` moves the folder to the trash
58+
- `restore` restores the folder from the trash
59+
- `deleteTree` permanently destroys the folder and all its child elements
60+
- `getExternalLink` returns a public link
61+
- `uploadFile` uploads a new file to the specified folder
62+
- Added service `Services\Disk\File\Service\File` with support methods,
63+
see [disk.file.* methods](https://github.com/bitrix24/b24phpsdk/issues/265):
64+
- `getFields` returns the description of file fields
65+
- `get` returns the file by identifier
66+
- `rename` renames the file
67+
- `copyTo` copies the file to the specified folder
68+
- `moveTo` moves the file to the specified folder
69+
- `delete` permanently destroys the file
70+
- `markDeleted` moves the file to the trash
71+
- `restore` restores the file from the trash
72+
- `uploadVersion` uploads a new version of the file
73+
- `getVersions` returns a list of file versions
74+
- `restoreFromVersion` restores the file from a specific version
75+
- `getExternalLink` returns a public link to the file
76+
- Added service `Services\CRM\Documentgenerator\Numerator` with support methods,
77+
see [crm.documentgenerator.numerator.* methods](https://github.com/bitrix24/b24phpsdk/issues/215):
78+
- `add` adds a new numerator, with batch calls support
79+
- `list` gets the list of numerators, with batch calls support
80+
- `update` updates an existing numbering with new values, with batch calls support
81+
- `delete` deletes a numerator, with batch calls support
82+
- `get` gets information about the numerator by its identifier
83+
- `count` count numerators
84+
- Added service `Services\Paysystem\Handler\Service\Handler` with support methods,
85+
see [pay_system.handler.* methods](https://github.com/bitrix24/b24phpsdk/issues/260):
86+
- `add` adds a payment system handler
87+
- `update` updates a payment system handler
88+
- `list` returns a list of payment system handlers
89+
- `delete` deletes a payment system handler
90+
- Added service `Services\Paysystem\Service\Paysystem` with support methods,
91+
see [sale.paysystem.* methods](https://github.com/bitrix24/b24phpsdk/issues/260):
92+
- `add` adds a payment system
93+
- `update` updates a payment system
94+
- `get` returns a payment system by its identifier
95+
- `list` returns a list of payment systems
96+
- `delete` deletes a payment system
97+
- `payPayment` pays a payment
98+
- `payInvoice` pays an invoice (legacy version)
99+
- Added service `Services\Paysystem\Settings\Service\Settings` with support methods,
100+
see [sale.paysystem.settings.* methods](https://github.com/bitrix24/b24phpsdk/issues/260):
101+
- `get` returns the settings of the payment system
102+
- `update` updates the payment system settings
103+
- `getForPayment` returns the payment system settings for a specific payment
104+
- `getForInvoice` returns the payment system settings for a specific invoice (legacy version)
105+
- Added service `Services\Sale\Shipment\Service\Shipment` with support methods,
106+
see [sale.shipment.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
107+
- `add` adds a shipment
108+
- `update` updates the fields of a shipment
109+
- `get` returns a shipment by its identifier
110+
- `list` returns a list of shipments
111+
- `delete` deletes a shipment
112+
- `getFields` returns the fields and settings for shipments
113+
- Added service `Services\Sale\ShipmentProperty\Service\ShipmentProperty` with support methods,
114+
see [sale.shipmentproperty.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
115+
- `add` adds a shipment property
116+
- `update` updates the fields of a shipment property
117+
- `get` returns a shipment property by its identifier
118+
- `list` returns a list of shipment properties
119+
- `delete` deletes a shipment property
120+
- `getFieldsByType` returns the fields and settings for shipment properties by type
121+
- Added service `Services\Sale\ShipmentPropertyValue\Service\ShipmentPropertyValue` with support methods,
122+
see [sale.shipmentpropertyvalue.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
123+
- `modify` updates shipment property values for a shipment
124+
- `get` returns a shipment property value by its identifier
125+
- `list` returns a list of shipment property values
126+
- `delete` deletes a shipment property value
127+
- `getFields` returns the fields and settings for shipment property values
128+
- Added service `Services\Sale\ShipmentItem\Service\ShipmentItem` with support methods,
129+
see [sale.shipmentitem.* methods](https://github.com/bitrix24/b24phpsdk/issues/250):
130+
- `add` adds a new shipment item
131+
- `update` updates the fields of a shipment item
132+
- `get` returns a shipment item by its identifier
133+
- `list` returns a list of shipment items
134+
- `delete` deletes a shipment item
135+
- `getFields` returns the fields and settings for shipment items
136+
- Added service `Services\Sale\Payment\Service\Payment` with support methods,
137+
see [sale.payment.* methods](https://github.com/bitrix24/b24phpsdk/issues/248):
138+
- `add` adds a payment
139+
- `update` updates the fields of a payment
140+
- `get` returns a payment by its identifier
141+
- `list` returns a list of payments
142+
- `delete` deletes a payment
143+
- `getFields` returns the fields and settings for payments
144+
- Added service `Services\Sale\CashboxHandler\Service\CashboxHandler` with support methods,
145+
see [sale.cashbox.handler.* methods](https://github.com/bitrix24/b24phpsdk/issues/258):
146+
- `add` adds a REST cashbox handler
147+
- `update` updates the data of the REST cashbox handler
148+
- `list` returns a list of available REST cashbox handlers
149+
- `delete` deletes the REST cashbox handler
150+
- Added service `Services\Sale\Cashbox\Service\Cashbox` with support methods,
151+
see [sale.cashbox.* methods](https://github.com/bitrix24/b24phpsdk/issues/258):
152+
- `add` adds a new cash register
153+
- `update` updates an existing cash register
154+
- `list` returns a list of configured cash registers
155+
- `delete` deletes a cash register
156+
- `checkApply` saves the result of printing the receipt
157+
- Added service `Services\Calendar\Service\Calendar` with support methods,
158+
see [calendar.* methods](https://github.com/bitrix24/b24phpsdk/issues/263):
159+
- `add` adds a new calendar section
160+
- `update` updates a calendar section
161+
- `get` returns a list of calendar sections
162+
- `delete` deletes a calendar section
163+
- `getSettings` returns main calendar settings
164+
- `getUserSettings` returns user calendar settings
165+
- `setUserSettings` sets user calendar settings
166+
- Added support for events:
167+
- `OnCalendarSectionAdd`
168+
- `OnCalendarSectionUpdate`
169+
- `OnCalendarSectionDelete`
170+
- Added service `Services\Calendar\Event\Service\Event` with support methods,
171+
see [calendar.event.* methods](https://github.com/bitrix24/b24phpsdk/issues/263):
172+
- `add` adds a new calendar event, with batch calls support
173+
- `update` updates a calendar event, with batch calls support
174+
- `getById` returns calendar event by identifier
175+
- `get` returns a list of calendar events
176+
- `getNearest` returns a list of upcoming events
177+
- `delete` deletes a calendar event, with batch calls support
178+
- `getMeetingStatus` gets current user's participation status in event
179+
- `setMeetingStatus` sets participation status in event for current user
180+
- `getAccessibility` gets users' availability from list
181+
- Added service `Services\Calendar\Resource\Service\Resource` with support methods,
182+
see [calendar.resource.* methods](https://github.com/bitrix24/b24phpsdk/issues/263):
183+
- `add` adds a new calendar resource
184+
- `update` updates a calendar resource
185+
- `list` returns a list of all resources
186+
- `bookingList` retrieves resource bookings based on a filter
187+
- `delete` deletes a calendar resource
188+
- Added service `Services\Sale\PaymentItemBasket\Service\PaymentItemBasket` with support methods,
189+
see [sale.paymentitembasket.* methods](https://github.com/bitrix24/b24phpsdk/issues/253):
190+
- `add` adds a binding of a basket item to a payment
191+
- `update` updates the binding of a basket item to a payment
192+
- `get` returns the values of all fields for the basket item binding to payment
193+
- `list` returns a list of bindings of basket items to payments
194+
- `delete` deletes the binding of a basket item to a payment
195+
- `getFields` returns the available fields for payment item basket bindings
196+
- Added service `Services\Sale\PaymentItemShipment\Service\PaymentItemShipment` with support methods,
197+
see [sale.paymentitemshipment.* methods](https://github.com/bitrix24/b24phpsdk/issues/253):
198+
- `add` adds a binding of a payment to a shipment
199+
- `update` updates the binding of a payment to a shipment
200+
- `get` returns the values of all fields for the payment binding to shipment
201+
- `list` returns a list of bindings of payments to shipments
202+
- `delete` deletes the binding of a payment to a shipment
203+
- `getFields` returns the available fields for payment item shipment bindings
204+
- Added service `Services\Sale\PropertyRelation\Service\PropertyRelation` with support methods,
205+
see [sale.propertyRelation.* methods](https://github.com/bitrix24/b24phpsdk/issues/253):
206+
- `add` adds a property binding
207+
- `list` retrieves a list of property bindings
208+
- `deleteByFilter` removes the property relation
209+
- `getFields` returns the available fields for property binding
210+
### Fixed
211+
212+
- Fixed Incorrect data loading in `Core\Batch::getTraversableList()` with desc sorting by ID [see details](https://github.com/bitrix24/b24phpsdk/issues/246)
213+
214+
### Statistics
215+
216+
```
217+
Bitrix24 API-methods count: 1162
218+
Supported in bitrix24-php-sdk methods count: 632
219+
Coverage percentage: 54.39% 🚀
220+
```
221+
222+
3223
## 1.6.0 – 2025.09.01
4224

5225
### Added
6226

227+
- Added service `Services\Sale\BasketItem\Service\BasketItem` with support methods,
228+
see [sale.basketitems.* methods](https://github.com/bitrix24/b24phpsdk/issues/243):
229+
- `add` adds a new basket item, with batch calls support
230+
- `update` updates a basket item, with batch calls support
231+
- `get` returns a basket item by ID
232+
- `list` returns a list of basket items, with batch calls support
233+
- `delete` deletes a basket item, with batch calls support
234+
- `getFields` returns the fields of a basket item
235+
- Added service `Services\Sale\BasketProperty\Service\BasketProperty` with support methods,
236+
see [sale.basketproperties.* methods](https://github.com/bitrix24/b24phpsdk/issues/243):
237+
- `add` adds a basket property
238+
- `update` updates the fields of a basket property
239+
- `get` returns a basket property by ID
240+
- `list` returns a list of basket properties
241+
- `delete` deletes a basket property
242+
- `getFields` returns the fields of basket properties
7243
- Added service `Services\Sale\Order\Service\Order` with support methods,
8244
see [sale.order.* methods](https://github.com/bitrix24/b24phpsdk/issues/241):
9245
- `add` adds an order, with batch calls support

0 commit comments

Comments
 (0)