-
Notifications
You must be signed in to change notification settings - Fork 28
Feature/134-complete-scope-crm-vol-3 #136
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
base: dev
Are you sure you want to change the base?
Feature/134-complete-scope-crm-vol-3 #136
Conversation
Great work!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, please fix some minor issues
*/ | ||
public function testAdd(): void | ||
{ | ||
$activityTypeId = $this->activityTypeService->add( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For test add you must check
- is added type ok
- read added type
- compare some key fields
|
||
$res = $this->activityTypeService->list(); | ||
|
||
// Что за getActivities ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, use English in comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work!
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ZoolanderX add to CHANGELOG.md line - fix typehint errors in src/Services/CRM/Activity/Result/ActivityItemResult.php
*/ | ||
class ActivityTypeResult extends AbstractCrmItem | ||
{ | ||
public function getData(): array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this method is redundant, you can get all raw data with
getIterator()->getArrayCopy() on resultItem
* @property-read string $TYPE | ||
* @property-read string $VALUE | ||
*/ | ||
class CommunicationResult extends AbstractCrmItem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this *item you must add Item prefix to class name.
please add new issue «find and add tool to check naming conversation», responsible - mesilov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -17,11 +17,8 @@ | |||
|
|||
class OpenLineActivityItemResult extends ActivityItemResult | |||
{ | |||
/** | |||
* @return \Bitrix24\SDK\Services\CRM\Activity\Result\OpenLine\OpenLineProviderParams | |||
*/ | |||
public function getProviderParams(): OpenLineProviderParams | |||
{ | |||
return new OpenLineProviderParams($this->PROVIDER_PARAMS['USER_CODE']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check typehints and fix phpstan error
@@ -17,9 +17,6 @@ | |||
|
|||
class WebFormActivityItemResult extends ActivityItemResult | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check typehints and fix phpstan error
/** | ||
* This file is part of the bitrix24-php-sdk package. | ||
* | ||
* © Maksim Mesilov <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add own contacts
/** | ||
* This file is part of the bitrix24-php-sdk package. | ||
* | ||
* © Maksim Mesilov <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix contacts to own
* @throws \Bitrix24\SDK\Core\Exceptions\BaseException | ||
*/ | ||
#[\PHPUnit\Framework\Attributes\TestDox('Batch add deals')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deals?
* @throws BaseException | ||
* @throws TransportException | ||
*/ | ||
#[\PHPUnit\Framework\Attributes\TestDox('Batch list deals')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deals?
/** | ||
* This file is part of the bitrix24-php-sdk package. | ||
* | ||
* © Maksim Mesilov <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix author to own contacts
Services\AI\Engine\Service\Type
with support methods:crm.activity.type.add
- method registers a custom activity type with a name and iconcrm.activity.type.delete
- delete a custom activity typecrm.activity.type.list
- get a list of custom task typesServices\AI\Engine\Service\Communication
with support methods:crm.activity.communication.fields
- get a description of the communication