Skip to content

Commit e43f504

Browse files
committed
Remove unrelated code
1 parent 3f37dc7 commit e43f504

4 files changed

Lines changed: 11 additions & 220 deletions

File tree

backend/app/DomainObjects/ContactAttributeDefinitionDomainObject.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

backend/app/DomainObjects/Generated/AttendeeDomainObjectAbstract.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ abstract class AttendeeDomainObjectAbstract extends \HiEvents\DomainObjects\Abst
1717
final public const CHECKED_IN_BY = 'checked_in_by';
1818
final public const CHECKED_OUT_BY = 'checked_out_by';
1919
final public const PRODUCT_PRICE_ID = 'product_price_id';
20-
final public const CONTACT_ID = 'contact_id';
2120
final public const SHORT_ID = 'short_id';
2221
final public const FIRST_NAME = 'first_name';
2322
final public const LAST_NAME = 'last_name';
@@ -30,7 +29,6 @@ abstract class AttendeeDomainObjectAbstract extends \HiEvents\DomainObjects\Abst
3029
final public const DELETED_AT = 'deleted_at';
3130
final public const LOCALE = 'locale';
3231
final public const NOTES = 'notes';
33-
final public const CONTACT_LINK_IGNORED_AT = 'contact_link_ignored_at';
3432

3533
protected int $id;
3634
protected int $order_id;
@@ -39,7 +37,6 @@ abstract class AttendeeDomainObjectAbstract extends \HiEvents\DomainObjects\Abst
3937
protected ?int $checked_in_by = null;
4038
protected ?int $checked_out_by = null;
4139
protected int $product_price_id;
42-
protected ?int $contact_id = null;
4340
protected string $short_id;
4441
protected string $first_name = '';
4542
protected string $last_name = '';
@@ -52,7 +49,6 @@ abstract class AttendeeDomainObjectAbstract extends \HiEvents\DomainObjects\Abst
5249
protected ?string $deleted_at = null;
5350
protected string $locale = 'en';
5451
protected ?string $notes = null;
55-
protected ?string $contact_link_ignored_at = null;
5652

5753
public function toArray(): array
5854
{
@@ -64,7 +60,6 @@ public function toArray(): array
6460
'checked_in_by' => $this->checked_in_by ?? null,
6561
'checked_out_by' => $this->checked_out_by ?? null,
6662
'product_price_id' => $this->product_price_id ?? null,
67-
'contact_id' => $this->contact_id ?? null,
6863
'short_id' => $this->short_id ?? null,
6964
'first_name' => $this->first_name ?? null,
7065
'last_name' => $this->last_name ?? null,
@@ -77,7 +72,6 @@ public function toArray(): array
7772
'deleted_at' => $this->deleted_at ?? null,
7873
'locale' => $this->locale ?? null,
7974
'notes' => $this->notes ?? null,
80-
'contact_link_ignored_at' => $this->contact_link_ignored_at ?? null,
8175
];
8276
}
8377

@@ -158,17 +152,6 @@ public function getProductPriceId(): int
158152
return $this->product_price_id;
159153
}
160154

161-
public function setContactId(?int $contact_id): self
162-
{
163-
$this->contact_id = $contact_id;
164-
return $this;
165-
}
166-
167-
public function getContactId(): ?int
168-
{
169-
return $this->contact_id;
170-
}
171-
172155
public function setShortId(string $short_id): self
173156
{
174157
$this->short_id = $short_id;
@@ -300,15 +283,4 @@ public function getNotes(): ?string
300283
{
301284
return $this->notes;
302285
}
303-
304-
public function setContactLinkIgnoredAt(?string $contact_link_ignored_at): self
305-
{
306-
$this->contact_link_ignored_at = $contact_link_ignored_at;
307-
return $this;
308-
}
309-
310-
public function getContactLinkIgnoredAt(): ?string
311-
{
312-
return $this->contact_link_ignored_at;
313-
}
314286
}

backend/app/DomainObjects/Generated/ContactAttributeDefinitionDomainObjectAbstract.php

Lines changed: 0 additions & 174 deletions
This file was deleted.

backend/app/DomainObjects/Generated/WebhookDomainObjectAbstract.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ abstract class WebhookDomainObjectAbstract extends \HiEvents\DomainObjects\Abstr
1313
final public const ID = 'id';
1414
final public const USER_ID = 'user_id';
1515
final public const EVENT_ID = 'event_id';
16-
final public const ORGANIZER_ID = 'organizer_id';
1716
final public const ACCOUNT_ID = 'account_id';
17+
final public const ORGANIZER_ID = 'organizer_id';
1818
final public const URL = 'url';
1919
final public const EVENT_TYPES = 'event_types';
2020
final public const LAST_RESPONSE_CODE = 'last_response_code';
@@ -29,8 +29,8 @@ abstract class WebhookDomainObjectAbstract extends \HiEvents\DomainObjects\Abstr
2929
protected int $id;
3030
protected int $user_id;
3131
protected ?int $event_id = null;
32-
protected ?int $organizer_id = null;
3332
protected int $account_id;
33+
protected ?int $organizer_id = null;
3434
protected string $url;
3535
protected array|string $event_types;
3636
protected ?int $last_response_code = null;
@@ -48,8 +48,8 @@ public function toArray(): array
4848
'id' => $this->id ?? null,
4949
'user_id' => $this->user_id ?? null,
5050
'event_id' => $this->event_id ?? null,
51-
'organizer_id' => $this->organizer_id ?? null,
5251
'account_id' => $this->account_id ?? null,
52+
'organizer_id' => $this->organizer_id ?? null,
5353
'url' => $this->url ?? null,
5454
'event_types' => $this->event_types ?? null,
5555
'last_response_code' => $this->last_response_code ?? null,
@@ -96,26 +96,26 @@ public function getEventId(): ?int
9696
return $this->event_id;
9797
}
9898

99-
public function setOrganizerId(?int $organizer_id): self
99+
public function setAccountId(int $account_id): self
100100
{
101-
$this->organizer_id = $organizer_id;
101+
$this->account_id = $account_id;
102102
return $this;
103103
}
104104

105-
public function getOrganizerId(): ?int
105+
public function getAccountId(): int
106106
{
107-
return $this->organizer_id;
107+
return $this->account_id;
108108
}
109109

110-
public function setAccountId(int $account_id): self
110+
public function setOrganizerId(?int $organizer_id): self
111111
{
112-
$this->account_id = $account_id;
112+
$this->organizer_id = $organizer_id;
113113
return $this;
114114
}
115115

116-
public function getAccountId(): int
116+
public function getOrganizerId(): ?int
117117
{
118-
return $this->account_id;
118+
return $this->organizer_id;
119119
}
120120

121121
public function setUrl(string $url): self

0 commit comments

Comments
 (0)