-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitrix24-php-sdk beta-1 #368
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-and edit NetworkTimingsParser.php
-added a test to check the operation of products and transactions between themselves
- the test works with the help of services
-add improvements to the method DEAL_PRODUCT_ROW so that it can use the currency
…l.get,crm.deal.productrows.get)
… это путем замены области видимости с private на protected в DealProductRowItemResult.php.(Так можно делать ?)
-delete var_dump
- edit method in DealProductRows.php(work)
- edit test (delete testBatch)
…(Теперь в тестах можем и указывать валюту или не указывать). - убрал лишние методы - поправил тесты - добавил в AbstractCrmItem.php остальные поля связанные с деньгами.
237 add phpmoney
The Request ID parameter is now included in query strings in addition to the header field for improved tracking. This change was made to accommodate for the current version of the Bitrix24 API that does not use Request ID from headers. A corresponding `getQueryStringParameterName` method was also added to the `RequestIdGeneratorInterface`. Signed-off-by: mesilov <[email protected]>
Add Request ID to query string parameters
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
add windows platforms in unit-tests
# Conflicts: # CHANGELOG.md # src/Core/Batch.php # src/Services/CRM/Common/Result/AbstractCrmItem.php
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
…ifields 338 fix return type for crm multifields
Signed-off-by: mesilov <[email protected]>
change query string parameter name
New classes related to Catalog scope services have been created and integrated into the existing structure. This includes product-related result classes `ProductResult`, `ProductsResult`, `ProductItemResult` and service classes `Product` and `Batch`. Additionally, a `CatalogServiceBuilder` is added to construct the catalog service, and a `ProductType` enumeration has been defined to set product types. The commit also includes an update in the `CHANGELOG.md`. Signed-off-by: mesilov <[email protected]>
Updated workflow configurations to support both Ubuntu and Windows OS. The changes cover PHPUnit tests, PHPStan, Vendor integration, and Integration tests by adding matrix-operating-system variables. These modifications also include updates in the supported PHP versions, and disabling the "fail-fast" strategy to ensure tests across all OS complete before reporting. Signed-off-by: mesilov <[email protected]>
This commit updates the PHP version requirement in composer.json to allow either 8.2.* or 8.3.*, reflecting its compatibility with both. Moreover, the README file has been significantly refactored, removing unnecessary content, correcting a typo, and reorganizing the architecture section. Signed-off-by: mesilov <[email protected]>
This update adds new catalog service-related functions in the CatalogServiceBuilder file and introduces several methods for product service. These methods include functions to add, delete, and retrieve products. Additionally, several integration tests have been introduced to ensure the correct functioning of these new methods. Also, an example phpstan static analyzer command's been added to Makefile, and PHP requirement has been adjusted to support PHP 8.2. Plus, the README file has been refactored for clarity and better organization. Signed-off-by: mesilov <[email protected]>
Implement catalog scope services
306 beta 1
The data provider methods used in various test cases have been changed to static. This change was applied to "CredentialsTest", "ApplicationStatusTest", "ApplicationProfileTest", "DefaultRequestIdGeneratorTest", and "TimeTest". An additional command has also been added to the Makefile for running unit tests. Signed-off-by: mesilov <[email protected]>
Constants in DefaultRequestIdGenerator were refactored to remove 'string' and 'array' type declarations. These changes conform to PHP constants declaration rules, which do not require type specification. Signed-off-by: mesilov <[email protected]>
The constant CRM_USERFIELD_PREFIX in the AbstractCrmItem class has been updated to remove the 'string' type declaration, in accordance with PHP's constants declaration rules which do not require specifying the type. Signed-off-by: mesilov <[email protected]>
The constant CRM_USERFIELD_PREFIX in the AbstractCatalogItem class has been updated to remove the 'string' type declaration, keeping in line with PHP's convention for declaring constants which does not require specifying the type. Signed-off-by: mesilov <[email protected]>
The release date for version 2.0-beta.1 in the CHANGELOG.md file has been updated. Additionally, the PHP support information has also been changed to reflect the added support for PHP 8.2 and 8.3, and the removal of support for PHP 8.0 and 8.1. Signed-off-by: mesilov <[email protected]>
bitrix24-php-sdk beta 1 build
mesilov
added
2.x
issue related with 2.x sdk version
💰 sponsored
задача оплачена
labels
Feb 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
Symfony\Component\Uid\Uuid
requirementsBitrix24\SDK\Application\Contracts
, nowadded
Bitrix24Account
Bitrix24\SDK\Core\Credentials\Scope::initFromString
Bitrix24\SDK\Application\ApplicationStatus::initFromString
Bitrix24\SDK\Services\CRM\Common\Result\SystemFields\Types\Phone
user
,user_basic
,user_brief
,user.userfield
andservices add scope user support
Bitrix24\SDK\Services\User\Service\User::fields
- get user fieldsBitrix24\SDK\Services\User\Service\User::current
- get current userBitrix24\SDK\Services\User\Service\User::add
- add userBitrix24\SDK\Services\User\Service\User::get
- get userBitrix24\SDK\Services\User\Service\User::update
- update userBitrix24\SDK\Services\User\Service\User::search
- search users\Bitrix24\SDK\Services\CRM\Contact\Service\Batch::update()
for batch update contactsDealStageSemanticId
Bitrix24\SDK\Services\CRM\Duplicates\Service\Duplicate
x-request-id
header supportEmail
Phone
Website
IM
Changed
BatchInterface
renamedto
Bitrix24\SDK\Core\Contracts\BatchOperationsInterface
Bitrix24\SDK\Services\Telephony\Requests\Events
moved to separated namespaces:Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallInit
to
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallInit\OnVoximplantCallInit
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallStart
to
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallStart\OnVoximplantCallStart
Bitrix24\SDK\Services\Telephony\Requests\Events\OnExternalCallStart
to
Bitrix24\SDK\Services\Telephony\Requests\Events\OnExternalCallStart\OnExternalCallStart
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallEnd
to
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallEnd\OnVoximplantCallEnd
Bitrix24\SDK\Application\Contracts\Bitrix24Account\Bitrix24AccountInterface
:getContactPerson
renamed togetContactPersonId
getApplicationVersion
updateApplicationVersion
getApplicationScope
applicationInstalled
applicationUninstalled
markAsDeactivated
getBitrix24UserId
markAccountAsDeleted
markAsActive
Bitrix24\SDK\Application\Contracts\Bitrix24Account\Bitrix24AccountRepositoryInterface
:saveAccount
renamed tosave
deleteAccount
renamed todelete
findAccountByMemberId
renamed tofindByMemberId
getAccountByMemberId
renamed togetByMemberId
findAccountByContactPersonId
renamed tofindByContactPersonId
findAccountByDomainUrl
renamed tofindByDomainUrl
findAllActive
findAllDeactivated
Bugfix
ShowFieldsDescriptionCommand
metadata reader CLI commandApplicationProfile
with empty scopeCore
with auth attempt to non-exists portaletc
bin/console