Skip to content

Conversation

@sallee113
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
Deprecations? no
Issues Feature #138
License MIT

For a while just copied classes from CRM/Lead and apply some editing for CRM/Address namespace

@mesilov mesilov changed the base branch from main to dev April 16, 2025 19:30
Copy link
Collaborator

@mesilov mesilov left a 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>
Copy link
Collaborator

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)
Copy link
Collaborator

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>
Copy link
Collaborator

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>
Copy link
Collaborator

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>
Copy link
Collaborator

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
Copy link
Collaborator

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>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to own copyrights

/**
* This file is part of the bitrix24-php-sdk package.
*
* © Maksim Mesilov <mesilov.maxim@gmail.com>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to own copyrights

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add to changelog

@mesilov mesilov added this to the Publish 1.4.0 milestone Apr 16, 2025
@sallee113 sallee113 marked this pull request as ready for review April 22, 2025 09:37
@sallee113 sallee113 requested a review from mesilov April 25, 2025 07:31
Copy link
Collaborator

@mesilov mesilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix conflicts

@sallee113 sallee113 requested a review from mesilov June 6, 2025 07:39
@mesilov mesilov merged commit 159a7b5 into bitrix24:dev Jun 27, 2025
12 checks passed
@mesilov mesilov linked an issue Jun 27, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature in SDK]: add crm.address REST methods

2 participants