Skip to content

Commit 48b313b

Browse files
Merge pull request #458 from HubSpot/feature/codegenMarketing
Codegen: Marketing Events
2 parents 2ae7da1 + da992a1 commit 48b313b

30 files changed

+13411
-1043
lines changed

Diff for: codegen/Marketing/Events/Api/AddEventAttendeesApi.php

+1,722
Large diffs are not rendered by default.

Diff for: codegen/Marketing/Events/Api/BasicApi.php

+392-842
Large diffs are not rendered by default.

Diff for: codegen/Marketing/Events/Api/BatchApi.php

+1,427
Large diffs are not rendered by default.

Diff for: codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php renamed to codegen/Marketing/Events/Api/ChangePropertyApi.php

+111-158
Large diffs are not rendered by default.

Diff for: codegen/Marketing/Events/Api/IdentifiersApi.php

+839
Large diffs are not rendered by default.

Diff for: codegen/Marketing/Events/Api/ListAssociationsApi.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@ public function disassociateByMarketingEventIdRequest($marketing_event_id, $list
12261226
*
12271227
* Get lists associated with a marketing event
12281228
*
1229-
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application. (required)
1229+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
12301230
* @param string $external_event_id The id of the marketing event in the external event application. (required)
12311231
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAllByExternalAccountAndEventIds'] to see the possible values for this operation
12321232
*
@@ -1245,7 +1245,7 @@ public function getAllByExternalAccountAndEventIds($external_account_id, $extern
12451245
*
12461246
* Get lists associated with a marketing event
12471247
*
1248-
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application. (required)
1248+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
12491249
* @param string $external_event_id The id of the marketing event in the external event application. (required)
12501250
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAllByExternalAccountAndEventIds'] to see the possible values for this operation
12511251
*
@@ -1405,7 +1405,7 @@ public function getAllByExternalAccountAndEventIdsWithHttpInfo($external_account
14051405
*
14061406
* Get lists associated with a marketing event
14071407
*
1408-
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application. (required)
1408+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
14091409
* @param string $external_event_id The id of the marketing event in the external event application. (required)
14101410
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAllByExternalAccountAndEventIds'] to see the possible values for this operation
14111411
*
@@ -1427,7 +1427,7 @@ function ($response) {
14271427
*
14281428
* Get lists associated with a marketing event
14291429
*
1430-
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application. (required)
1430+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
14311431
* @param string $external_event_id The id of the marketing event in the external event application. (required)
14321432
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAllByExternalAccountAndEventIds'] to see the possible values for this operation
14331433
*
@@ -1478,7 +1478,7 @@ function ($exception) {
14781478
/**
14791479
* Create request for operation 'getAllByExternalAccountAndEventIds'
14801480
*
1481-
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application. (required)
1481+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
14821482
* @param string $external_event_id The id of the marketing event in the external event application. (required)
14831483
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAllByExternalAccountAndEventIds'] to see the possible values for this operation
14841484
*

Diff for: codegen/Marketing/Events/Api/ParticipantStateApi.php renamed to codegen/Marketing/Events/Api/RetrieveParticipantStateApi.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* ParticipantStateApi
3+
* RetrieveParticipantStateApi
44
* PHP version 7.4
55
*
66
* @category Class
@@ -40,14 +40,14 @@
4040
use HubSpot\Client\Marketing\Events\ObjectSerializer;
4141

4242
/**
43-
* ParticipantStateApi Class Doc Comment
43+
* RetrieveParticipantStateApi Class Doc Comment
4444
*
4545
* @category Class
4646
* @package HubSpot\Client\Marketing\Events
4747
* @author OpenAPI Generator team
4848
* @link https://openapi-generator.tech
4949
*/
50-
class ParticipantStateApi
50+
class RetrieveParticipantStateApi
5151
{
5252
/**
5353
* @var ClientInterface

Diff for: codegen/Marketing/Events/Api/SubscriberStateChangesApi.php

+20-20
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ public function getConfig()
130130
*
131131
* Record a subscriber state by contact email
132132
*
133-
* @param string $external_event_id The ID of the marketing event (required)
133+
* @param string $external_event_id The id of the marketing event in the external event application (required)
134134
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
135-
* @param string $external_account_id The account ID associated with the marketing event (required)
135+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
136136
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventEmailSubscriber $batch_input_marketing_event_email_subscriber batch_input_marketing_event_email_subscriber (required)
137137
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactEmail'] to see the possible values for this operation
138138
*
@@ -151,9 +151,9 @@ public function upsertByContactEmail($external_event_id, $subscriber_state, $ext
151151
*
152152
* Record a subscriber state by contact email
153153
*
154-
* @param string $external_event_id The ID of the marketing event (required)
154+
* @param string $external_event_id The id of the marketing event in the external event application (required)
155155
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
156-
* @param string $external_account_id The account ID associated with the marketing event (required)
156+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
157157
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventEmailSubscriber $batch_input_marketing_event_email_subscriber (required)
158158
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactEmail'] to see the possible values for this operation
159159
*
@@ -278,9 +278,9 @@ public function upsertByContactEmailWithHttpInfo($external_event_id, $subscriber
278278
*
279279
* Record a subscriber state by contact email
280280
*
281-
* @param string $external_event_id The ID of the marketing event (required)
281+
* @param string $external_event_id The id of the marketing event in the external event application (required)
282282
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
283-
* @param string $external_account_id The account ID associated with the marketing event (required)
283+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
284284
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventEmailSubscriber $batch_input_marketing_event_email_subscriber (required)
285285
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactEmail'] to see the possible values for this operation
286286
*
@@ -302,9 +302,9 @@ function ($response) {
302302
*
303303
* Record a subscriber state by contact email
304304
*
305-
* @param string $external_event_id The ID of the marketing event (required)
305+
* @param string $external_event_id The id of the marketing event in the external event application (required)
306306
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
307-
* @param string $external_account_id The account ID associated with the marketing event (required)
307+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
308308
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventEmailSubscriber $batch_input_marketing_event_email_subscriber (required)
309309
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactEmail'] to see the possible values for this operation
310310
*
@@ -355,9 +355,9 @@ function ($exception) {
355355
/**
356356
* Create request for operation 'upsertByContactEmail'
357357
*
358-
* @param string $external_event_id The ID of the marketing event (required)
358+
* @param string $external_event_id The id of the marketing event in the external event application (required)
359359
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
360-
* @param string $external_account_id The account ID associated with the marketing event (required)
360+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
361361
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventEmailSubscriber $batch_input_marketing_event_email_subscriber (required)
362362
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactEmail'] to see the possible values for this operation
363363
*
@@ -501,9 +501,9 @@ public function upsertByContactEmailRequest($external_event_id, $subscriber_stat
501501
*
502502
* Record a subscriber state by contact ID
503503
*
504-
* @param string $external_event_id The ID of the marketing event (required)
504+
* @param string $external_event_id The id of the marketing event in the external event application (required)
505505
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
506-
* @param string $external_account_id The account ID associated with the marketing event (required)
506+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
507507
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventSubscriber $batch_input_marketing_event_subscriber batch_input_marketing_event_subscriber (required)
508508
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactId'] to see the possible values for this operation
509509
*
@@ -522,9 +522,9 @@ public function upsertByContactId($external_event_id, $subscriber_state, $extern
522522
*
523523
* Record a subscriber state by contact ID
524524
*
525-
* @param string $external_event_id The ID of the marketing event (required)
525+
* @param string $external_event_id The id of the marketing event in the external event application (required)
526526
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
527-
* @param string $external_account_id The account ID associated with the marketing event (required)
527+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
528528
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventSubscriber $batch_input_marketing_event_subscriber (required)
529529
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactId'] to see the possible values for this operation
530530
*
@@ -649,9 +649,9 @@ public function upsertByContactIdWithHttpInfo($external_event_id, $subscriber_st
649649
*
650650
* Record a subscriber state by contact ID
651651
*
652-
* @param string $external_event_id The ID of the marketing event (required)
652+
* @param string $external_event_id The id of the marketing event in the external event application (required)
653653
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
654-
* @param string $external_account_id The account ID associated with the marketing event (required)
654+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
655655
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventSubscriber $batch_input_marketing_event_subscriber (required)
656656
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactId'] to see the possible values for this operation
657657
*
@@ -673,9 +673,9 @@ function ($response) {
673673
*
674674
* Record a subscriber state by contact ID
675675
*
676-
* @param string $external_event_id The ID of the marketing event (required)
676+
* @param string $external_event_id The id of the marketing event in the external event application (required)
677677
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
678-
* @param string $external_account_id The account ID associated with the marketing event (required)
678+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
679679
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventSubscriber $batch_input_marketing_event_subscriber (required)
680680
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactId'] to see the possible values for this operation
681681
*
@@ -726,9 +726,9 @@ function ($exception) {
726726
/**
727727
* Create request for operation 'upsertByContactId'
728728
*
729-
* @param string $external_event_id The ID of the marketing event (required)
729+
* @param string $external_event_id The id of the marketing event in the external event application (required)
730730
* @param string $subscriber_state The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;. (required)
731-
* @param string $external_account_id The account ID associated with the marketing event (required)
731+
* @param string $external_account_id The accountId that is associated with this marketing event in the external event application (required)
732732
* @param \HubSpot\Client\Marketing\Events\Model\BatchInputMarketingEventSubscriber $batch_input_marketing_event_subscriber (required)
733733
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['upsertByContactId'] to see the possible values for this operation
734734
*

0 commit comments

Comments
 (0)