Skip to content

Commit c2f0e75

Browse files
authored
Merge pull request #43 from mesilov/add-application-install
Add application install
2 parents 9d32b7e + 75c5ed4 commit c2f0e75

File tree

36 files changed

+2750
-106
lines changed

36 files changed

+2750
-106
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
2+
xmlns:xs="https://www.w3.org/2001/XMLSchema"
3+
xmlns:orm="https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
4+
<entity name="Bitrix24\Lib\ApplicationInstallations\Entity\ApplicationInstallation"
5+
table="application_installation">
6+
<id name="id" type="uuid" column="id">
7+
8+
</id>
9+
10+
<field name="status" enum-type="string" column="status" nullable="false"/>
11+
12+
<field name="createdAt" type="carbon_immutable" column="created_at_utc" precision="3" nullable="false"/>
13+
14+
<field name="updatedAt" type="carbon_immutable" column="update_at_utc" precision="3" nullable="false"/>
15+
16+
<field name="bitrix24AccountId" type="uuid" column="bitrix_24_account_id" nullable="false" unique="true"/>
17+
18+
<field name="contactPersonId" type="uuid" column="contact_person_id" nullable="true"/>
19+
20+
<field name="bitrix24PartnerContactPersonId" type="uuid" column="bitrix_24_partner_contact_person_id"
21+
nullable="true"/>
22+
23+
<field name="bitrix24PartnerId" type="uuid" column="bitrix_24_partner_id" nullable="true"/>
24+
25+
<field name="externalId" type="string" column="external_id" nullable="true"/>
26+
27+
<field name="portalLicenseFamily" enum-type="string" column="portal_license_family" nullable="false"/>
28+
29+
<field name="portalUsersCount" type="integer" column="portal_users_count" nullable="true"/>
30+
31+
<field name="applicationToken" type="string" column="application_token" nullable="true"/>
32+
33+
<field name="comment" type="text" column="comment" nullable="true"/>
34+
35+
36+
<embedded name="applicationStatus" class="Bitrix24\SDK\Application\ApplicationStatus"/>
37+
</entity>
38+
</doctrine-mapping>

config/xml/Bitrix24.Lib.Bitrix24Accounts.Entity.Bitrix24Account.dcm.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
<field name="memberId" type="string" column="member_id" nullable="false"/>
1414

15+
<field name="isMasterAccount" type="boolean" column="is_master_account" nullable="true"/>
16+
1517
<field name="domainUrl" type="string" column="domain_url" nullable="false"/>
1618

1719
<field name="status" enum-type="string" column="status" nullable="false"/>
@@ -24,6 +26,8 @@
2426

2527
<field name="applicationVersion" type="integer" column="application_version" nullable="false"/>
2628

29+
<field name="comment" type="text" column="comment" nullable="true"/>
30+
2731
<embedded name="authToken" class="Bitrix24\SDK\Core\Credentials\AuthToken"/>
2832

2933
<embedded name="applicationScope" class="Bitrix24\SDK\Core\Credentials\Scope"/>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
2+
xmlns:xs="https://www.w3.org/2001/XMLSchema"
3+
xmlns:orm="https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
4+
<embeddable name="Bitrix24\SDK\Application\ApplicationStatus">
5+
<field name="statusCode" type="json" nullable="true" column="status_code"/>
6+
</embeddable>
7+
</doctrine-mapping>

0 commit comments

Comments
 (0)