Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
7dafa89
Codegen: CMS Blogs Posts
ksvirkou-hubspot Apr 10, 2025
6c05940
CMS Blog Post changes
ksvirkou-hubspot Apr 10, 2025
bdd4c1d
Codegen: CMS HubDB
ksvirkou-hubspot Apr 10, 2025
fd1cc9b
Codegen: CMS Audit Logs and Domains
ksvirkou-hubspot Apr 10, 2025
310e538
Update CMS Blog Posts discovery
ksvirkou-hubspot Apr 10, 2025
2dd7296
Codegen: CMS clients
ksvirkou-hubspot Apr 11, 2025
e36d24f
Merge pull request #451 from HubSpot/feature/cmsCodegen
ksvirkou-hubspot Apr 11, 2025
7710623
Merge pull request #448 from HubSpot/feature/updateCmsBlogPostsDiscov…
ksvirkou-hubspot Apr 11, 2025
6620784
Merge pull request #447 from HubSpot/feature/cmsBlogsCodegen
ksvirkou-hubspot Apr 11, 2025
a625709
Merge pull request #449 from HubSpot/feature/codegenCMSHubDB
ksvirkou-hubspot Apr 11, 2025
504ebbf
Merge pull request #450 from HubSpot/feature/codegenCmsAuditLogsAndDo…
ksvirkou-hubspot Apr 11, 2025
46afa63
Codegen: CMS Blogs clients
ksvirkou-hubspot Apr 11, 2025
e9ae6dd
Merge pull request #452 from HubSpot/feature/CmsCodegenBlogs
ksvirkou-hubspot Apr 11, 2025
dd8d36e
Codegen: CMS Automation Actions
ksvirkou-hubspot Apr 11, 2025
3e6b0dc
Merge pull request #453 from HubSpot/feature/automationActionsCodegen
ksvirkou-hubspot Apr 11, 2025
bfeeeac
Codegen: Communications Preferences
ksvirkou-hubspot Apr 11, 2025
0bae387
Codegen: Conversations Visotor Identification
ksvirkou-hubspot Apr 11, 2025
9b96ddb
Codegen: Events Send
ksvirkou-hubspot Apr 11, 2025
5e823bd
Codegen: Events
ksvirkou-hubspot Apr 11, 2025
727c483
Merge pull request #455 from HubSpot/feature/codegenConcersations
ksvirkou-hubspot Apr 11, 2025
43ce27f
Merge pull request #454 from HubSpot/feature/codegenComPreferences
ksvirkou-hubspot Apr 11, 2025
b307321
Merge pull request #456 from HubSpot/feature/codegenEvents
ksvirkou-hubspot Apr 11, 2025
28a02f5
Update Events Send discovery
ksvirkou-hubspot Apr 11, 2025
2ae7da1
Merge pull request #457 from HubSpot/feature/eventsDiscovery
ksvirkou-hubspot Apr 11, 2025
da992a1
Codegen: Marketing Events
ksvirkou-hubspot Apr 16, 2025
4039eb7
Updated changelog
ksvirkou-hubspot Apr 16, 2025
48b313b
Merge pull request #458 from HubSpot/feature/codegenMarketing
ksvirkou-hubspot Apr 16, 2025
8104abd
Codegen: Marketing Events
ksvirkou-hubspot Apr 16, 2025
2981612
Merge pull request #459 from HubSpot/feature/codegenMarketing
ksvirkou-hubspot Apr 16, 2025
cdc8a76
Update Marketing Events discovery
ksvirkou-hubspot Apr 16, 2025
765e418
CS fix
ksvirkou-hubspot Apr 16, 2025
f6052cb
Merge pull request #460 from HubSpot/feature/updateMarketingEventsDis…
ksvirkou-hubspot Apr 16, 2025
1a1f538
Codegen: Marketing Forms
ksvirkou-hubspot Apr 16, 2025
b7421a3
Codegen: Marketing Transactional
ksvirkou-hubspot Apr 16, 2025
0a09f9b
Merge pull request #461 from HubSpot/feature/codegenMarketingForms
ksvirkou-hubspot Apr 16, 2025
0c3f7f5
Merge pull request #462 from HubSpot/feature/codegenMarketingTransact…
ksvirkou-hubspot Apr 16, 2025
d135a72
Codegen: OAuth
ksvirkou-hubspot Apr 17, 2025
3601afa
Codegen: Oauth
ksvirkou-hubspot Apr 17, 2025
f56dfa1
Codegen: Settings
ksvirkou-hubspot Apr 17, 2025
2fcceff
CODEGE
ksvirkou-hubspot Apr 17, 2025
a32ca22
Codegen: Associations Schema V$
ksvirkou-hubspot Apr 17, 2025
2b4fc4d
Codegen: CRM Associations V4
ksvirkou-hubspot Apr 17, 2025
15c78f4
Codegen: CRM Associations
ksvirkou-hubspot Apr 17, 2025
d9b5483
Upodate CRM Associations Schema v4 discovery
ksvirkou-hubspot Apr 17, 2025
ed1a4fe
Merge pull request #463 from HubSpot/feature/codegenOauth
ksvirkou-hubspot Apr 17, 2025
d09b91f
Merge pull request #467 from HubSpot/feature/updateCrmAssociationsDis…
ksvirkou-hubspot Apr 17, 2025
de7d35c
Merge pull request #466 from HubSpot/feature/codegenAssociations
ksvirkou-hubspot Apr 17, 2025
d918506
Merge pull request #465 from HubSpot/feature/codegenWebhooks
ksvirkou-hubspot Apr 17, 2025
988f66d
Merge pull request #464 from HubSpot/feature/codegenBUnits
ksvirkou-hubspot Apr 17, 2025
5738223
Codegen: CRM Companies, Contacts and Deals
ksvirkou-hubspot Apr 17, 2025
5d0f8a9
Changelog: Chenges in CRM Companies, Contacts and Deals
ksvirkou-hubspot Apr 17, 2025
0a935b1
Codegen: CRM Companies, Contacts and Deals
ksvirkou-hubspot Apr 17, 2025
37dbd86
Merge pull request #468 from HubSpot/feature/crmCodegen
ksvirkou-hubspot Apr 17, 2025
035709e
Update CRM Companies, Contacts and Deals discoveries
ksvirkou-hubspot Apr 17, 2025
0782435
Merge pull request #469 from HubSpot/feature/updateCrmDiscoveries
ksvirkou-hubspot Apr 17, 2025
aa24f1f
Codegen: CRM Extensions Calling
ksvirkou-hubspot Apr 18, 2025
34c3f70
Codegen: CRM Extentions Cards
ksvirkou-hubspot Apr 18, 2025
f18f468
Codegen: CRM Extensions Videoconferencing
ksvirkou-hubspot Apr 18, 2025
70a33cc
Update CRM Extensions Calling discovery
ksvirkou-hubspot Apr 18, 2025
60cb40e
Merge pull request #470 from HubSpot/feature/codegenCrmExtensions
ksvirkou-hubspot Apr 18, 2025
76fafd9
Codegen: CRM Imports
ksvirkou-hubspot Apr 18, 2025
cd21465
Codegen: CRM Imports
ksvirkou-hubspot Apr 18, 2025
3bc58e9
Codegen: CRM LineItems
ksvirkou-hubspot Apr 18, 2025
eae7240
Codegen: CRM Lists
ksvirkou-hubspot Apr 18, 2025
aa6990f
Codegen: CRM Owners
ksvirkou-hubspot Apr 18, 2025
68c61de
Codegen: CRM Pipelines
ksvirkou-hubspot Apr 18, 2025
2bc2662
Codegen: CRM Properties
ksvirkou-hubspot Apr 18, 2025
09c6fd2
Codegen: CRM Quotes
ksvirkou-hubspot Apr 18, 2025
bbd8f54
Codegen: CRM Schemas
ksvirkou-hubspot Apr 18, 2025
57bc81c
Codegen: CRM Timeline
ksvirkou-hubspot Apr 18, 2025
4e8851b
Merge pull request #471 from HubSpot/feature/updateCrmExtentionsCalli…
ksvirkou-hubspot Apr 18, 2025
73cba4b
Merge pull request #472 from HubSpot/feature/codegenCrmImports
ksvirkou-hubspot Apr 18, 2025
03b5848
Merge pull request #473 from HubSpot/feature/codegenCrmClients
ksvirkou-hubspot Apr 18, 2025
8ce2cdf
Codegen: CRM Custom Objects
ksvirkou-hubspot Apr 18, 2025
ba9c107
Codegen: CRM Objects Calls
ksvirkou-hubspot Apr 18, 2025
6b81347
Codegen: CRM Objects Calls
ksvirkou-hubspot Apr 18, 2025
b58548c
CRM Objects Communications
ksvirkou-hubspot Apr 18, 2025
4eec677
Codegen: CRM Objects Emails
ksvirkou-hubspot Apr 18, 2025
0bc4fb9
Codegen: CRM Feedback Submissions
ksvirkou-hubspot Apr 18, 2025
0d2bcf3
Codegen: CRM Leads
ksvirkou-hubspot Apr 18, 2025
e120932
Codegen: CRM Objects Clients
ksvirkou-hubspot Apr 18, 2025
1a0df6c
Merge pull request #474 from HubSpot/feature/codegenCrmObjects
ksvirkou-hubspot Apr 18, 2025
3e1c02d
Merge pull request #475 from HubSpot/feature/codegenCrmObjectsPart2
ksvirkou-hubspot Apr 21, 2025
d5d2934
Codegen: CRM Objects Meeting
ksvirkou-hubspot Apr 21, 2025
f5ccaca
Codegen: CRM Objects Notes
ksvirkou-hubspot Apr 21, 2025
503adc9
Codegen: CRM Objects Postal Mail
ksvirkou-hubspot Apr 21, 2025
a0b95e6
Codegen: CRM Objects Tasks and Taxes
ksvirkou-hubspot Apr 21, 2025
14a8d2c
Codegen: CRM Products
ksvirkou-hubspot Apr 21, 2025
ff34e1a
Merge pull request #476 from HubSpot/feature/codegenCrmObjectsPart3
ksvirkou-hubspot Apr 21, 2025
aa6afea
Merge pull request #477 from HubSpot/feature/codegenCrmProducts
ksvirkou-hubspot Apr 21, 2025
1f0de81
Update changelog
ksvirkou-hubspot Apr 23, 2025
c5e6968
Codegen: Files
ksvirkou-hubspot Apr 24, 2025
024fb13
Merge pull request #479 from HubSpot/feature/codegenFiles
ksvirkou-hubspot Apr 25, 2025
e9d8a4b
Update changelog
ksvirkou-hubspot Apr 25, 2025
e67c258
Update composer.json
ksvirkou-hubspot Apr 25, 2025
c451bdc
Remove CMS Perfomance API client
ksvirkou-hubspot Apr 25, 2025
5035ae4
Merge pull request #481 from HubSpot/feature/changelog
ksvirkou-hubspot Apr 25, 2025
b0a4159
Merge pull request #482 from HubSpot/feature/removeCmsPerfomance
ksvirkou-hubspot Apr 25, 2025
6d02b9f
Change version name to 13.0.0beta.1
ksvirkou-hubspot Apr 28, 2025
2c462be
Merge pull request #484 from HubSpot/feature/changeVersoionName
ksvirkou-hubspot Apr 28, 2025
e089750
CS fix
ksvirkou-hubspot Apr 28, 2025
50767de
Merge pull request #485 from HubSpot/feature/CSfix13.0.0beta.1
ksvirkou-hubspot Apr 28, 2025
70c44a1
Codegen: CRM Tickets
ksvirkou-hubspot May 6, 2025
f4fe57c
Regenerate CRM Tickets 7.12
ksvirkou-hubspot May 7, 2025
6892a32
Update CRM Tickets discovery
ksvirkou-hubspot May 7, 2025
f24dc47
Merge pull request #488 from HubSpot/feature/crmTicketsDiscovery
ksvirkou-hubspot May 7, 2025
afaabf9
Merge pull request #487 from HubSpot/codegen/crmTickets
ksvirkou-hubspot May 7, 2025
fd6c13b
Update CRM Owners getAll method
ksvirkou-hubspot May 7, 2025
021e0d9
Merge pull request #489 from HubSpot/feature/updateNullableOptions
ksvirkou-hubspot May 8, 2025
621be99
Update retry middleware factory
ksvirkou-hubspot May 8, 2025
f1690f3
Merge pull request #491 from HubSpot/feature/updateRetryMiddlewareFac…
ksvirkou-hubspot May 12, 2025
55d24fe
bump version to 13.0.0
ksvirkou-hubspot May 12, 2025
5469e72
Update README
ksvirkou-hubspot May 12, 2025
96d5b0b
Fixed dates in changelog
ksvirkou-hubspot May 12, 2025
4dfeaf0
Merge pull request #493 from HubSpot/feature/updateReadme
ksvirkou-hubspot May 12, 2025
80c4fb3
Merge pull request #492 from HubSpot/feature/13.0.0Changelog
ksvirkou-hubspot May 12, 2025
6ff91dd
Resolve conflicts
ksvirkou-hubspot May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
123 changes: 120 additions & 3 deletions CHANGELOG.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ $response = $hubspot->apiRequest([
]);
```

## Reserved words

The SDK has reserved words(e.g. `clone`). [Full list of reserved words.](https://openapi-generator.tech/docs/generators/php#reserved-words)
When you face with a reserved word you have to add `_` before the word(e.g. `_clone`).

## Contributing

### Run spec tests
Expand Down
62 changes: 19 additions & 43 deletions codegen/Automation/Actions/Api/CallbacksApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: v4
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 7.3.0
* Generator version: 7.12.0
*/

/**
Expand Down Expand Up @@ -86,13 +86,13 @@ class CallbacksApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null,
$hostIndex = 0
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null,
int $hostIndex = 0
) {
$this->client = $client ?: new Client();
$this->config = $config ?: new Configuration();
$this->config = $config ?: Configuration::getDefaultConfiguration();
$this->headerSelector = $selector ?: new HeaderSelector();
$this->hostIndex = $hostIndex;
}
Expand Down Expand Up @@ -128,9 +128,9 @@ public function getConfig()
/**
* Operation complete
*
* Completes a single callback
* Completes a callback
*
* @param string $callback_id callback_id (required)
* @param string $callback_id The ID of the action execution. (required)
* @param \HubSpot\Client\Automation\Actions\Model\CallbackCompletionRequest $callback_completion_request callback_completion_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['complete'] to see the possible values for this operation
*
Expand All @@ -146,9 +146,9 @@ public function complete($callback_id, $callback_completion_request, string $con
/**
* Operation completeWithHttpInfo
*
* Completes a single callback
* Completes a callback
*
* @param string $callback_id (required)
* @param string $callback_id The ID of the action execution. (required)
* @param \HubSpot\Client\Automation\Actions\Model\CallbackCompletionRequest $callback_completion_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['complete'] to see the possible values for this operation
*
Expand Down Expand Up @@ -182,18 +182,6 @@ public function completeWithHttpInfo($callback_id, $callback_completion_request,

$statusCode = $response->getStatusCode();

if ($statusCode < 200 || $statusCode > 299) {
throw new ApiException(
sprintf(
'[%d] Error connecting to the API (%s)',
$statusCode,
(string) $request->getUri()
),
$statusCode,
$response->getHeaders(),
(string) $response->getBody()
);
}

return [null, $statusCode, $response->getHeaders()];

Expand All @@ -215,9 +203,9 @@ public function completeWithHttpInfo($callback_id, $callback_completion_request,
/**
* Operation completeAsync
*
* Completes a single callback
* Completes a callback
*
* @param string $callback_id (required)
* @param string $callback_id The ID of the action execution. (required)
* @param \HubSpot\Client\Automation\Actions\Model\CallbackCompletionRequest $callback_completion_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['complete'] to see the possible values for this operation
*
Expand All @@ -237,9 +225,9 @@ function ($response) {
/**
* Operation completeAsyncWithHttpInfo
*
* Completes a single callback
* Completes a callback
*
* @param string $callback_id (required)
* @param string $callback_id The ID of the action execution. (required)
* @param \HubSpot\Client\Automation\Actions\Model\CallbackCompletionRequest $callback_completion_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['complete'] to see the possible values for this operation
*
Expand Down Expand Up @@ -277,7 +265,7 @@ function ($exception) {
/**
* Create request for operation 'complete'
*
* @param string $callback_id (required)
* @param string $callback_id The ID of the action execution. (required)
* @param \HubSpot\Client\Automation\Actions\Model\CallbackCompletionRequest $callback_completion_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['complete'] to see the possible values for this operation
*
Expand Down Expand Up @@ -388,7 +376,7 @@ public function completeRequest($callback_id, $callback_completion_request, stri
/**
* Operation completeBatch
*
* Completes a batch of callbacks
* Complete a batch of callbacks
*
* @param \HubSpot\Client\Automation\Actions\Model\BatchInputCallbackCompletionBatchRequest $batch_input_callback_completion_batch_request batch_input_callback_completion_batch_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['completeBatch'] to see the possible values for this operation
Expand All @@ -405,7 +393,7 @@ public function completeBatch($batch_input_callback_completion_batch_request, st
/**
* Operation completeBatchWithHttpInfo
*
* Completes a batch of callbacks
* Complete a batch of callbacks
*
* @param \HubSpot\Client\Automation\Actions\Model\BatchInputCallbackCompletionBatchRequest $batch_input_callback_completion_batch_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['completeBatch'] to see the possible values for this operation
Expand Down Expand Up @@ -440,18 +428,6 @@ public function completeBatchWithHttpInfo($batch_input_callback_completion_batch

$statusCode = $response->getStatusCode();

if ($statusCode < 200 || $statusCode > 299) {
throw new ApiException(
sprintf(
'[%d] Error connecting to the API (%s)',
$statusCode,
(string) $request->getUri()
),
$statusCode,
$response->getHeaders(),
(string) $response->getBody()
);
}

return [null, $statusCode, $response->getHeaders()];

Expand All @@ -473,7 +449,7 @@ public function completeBatchWithHttpInfo($batch_input_callback_completion_batch
/**
* Operation completeBatchAsync
*
* Completes a batch of callbacks
* Complete a batch of callbacks
*
* @param \HubSpot\Client\Automation\Actions\Model\BatchInputCallbackCompletionBatchRequest $batch_input_callback_completion_batch_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['completeBatch'] to see the possible values for this operation
Expand All @@ -494,7 +470,7 @@ function ($response) {
/**
* Operation completeBatchAsyncWithHttpInfo
*
* Completes a batch of callbacks
* Complete a batch of callbacks
*
* @param \HubSpot\Client\Automation\Actions\Model\BatchInputCallbackCompletionBatchRequest $batch_input_callback_completion_batch_request (required)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['completeBatch'] to see the possible values for this operation
Expand Down
Loading