-
Notifications
You must be signed in to change notification settings - Fork 47
Feature/138 add crm address #139
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
Feature/138 add crm address #139
Conversation
mesilov
left a comment
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!
| /** | ||
| * This file is part of the bitrix24-php-sdk package. | ||
| * | ||
| * © Maksim Mesilov <mesilov.maxim@gmail.com> |
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 to own contacts
| * @return null | ||
| * @throws \Bitrix24\SDK\Services\CRM\Userfield\Exceptions\UserfieldNotFoundException | ||
| */ | ||
| public function getUserfieldByFieldName(string $userfieldName) |
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 we can delete this method?
| /** | ||
| * This file is part of the bitrix24-php-sdk package. | ||
| * | ||
| * © Maksim Mesilov <mesilov.maxim@gmail.com> |
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 to own contacts
| /** | ||
| * This file is part of the bitrix24-php-sdk package. | ||
| * | ||
| * © Maksim Mesilov <mesilov.maxim@gmail.com> |
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 to own contacts
| /** | ||
| * This file is part of the bitrix24-php-sdk package. | ||
| * | ||
| * © Maksim Mesilov <mesilov.maxim@gmail.com> |
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.
change to own copyright
| 'https://apidocs.bitrix24.com/api-reference/crm/requisites/addresses/crm-address-delete.html', | ||
| 'Deletes the specified address.' | ||
| )] | ||
| public function delete(array $fields): DeletedItemResult |
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 we can split $fields to typed and annotated parameters
https://apidocs.bitrix24.com/api-reference/crm/requisites/addresses/crm-address-delete.html
| /** | ||
| * This file is part of the bitrix24-php-sdk package. | ||
| * | ||
| * © Maksim Mesilov <mesilov.maxim@gmail.com> |
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.
change to own copyrights
src/Services/CRM/Enum/OwnerType.php
Outdated
| /** | ||
| * This file is part of the bitrix24-php-sdk package. | ||
| * | ||
| * © Maksim Mesilov <mesilov.maxim@gmail.com> |
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.
change to own copyrights
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 to changelog
mesilov
left a comment
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 conflicts
For a while just copied classes from CRM/Lead and apply some editing for CRM/Address namespace