Skip to content

Commit

Permalink
Added RawData trait to models to allow access to all response data ob…
Browse files Browse the repository at this point in the history
…jects
  • Loading branch information
bashmach committed May 15, 2024
1 parent 3ba4442 commit 65fe2ac
Show file tree
Hide file tree
Showing 731 changed files with 2,317 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
- Added `billing_frequency`, `billing_frequency_cycles` and `billing_start_date` fields to
- `GET`, `POST` and `PUT` `/v1/deals/{id}/products` endpoints
Expand All @@ -15,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `GET` `/v1/products/{id}` endpoint
- `GET`, `POST` and `PATCH` `/v2/products` endpoints
- `GET` `/v2/products/{id}` endpoints
- Added RawData trait to models to allow access to all response data objects

### Added
- Added documentation for new endpoints `/deals/{id}/changelog`, `/persons/{id}/changelog` and `/organizations/{id}/changelog`.
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityCollectionResponseObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityCollectionResponseObject implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityCollectionResponseObjectAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityCollectionResponseObjectAllOf implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityDistributionData.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityDistributionData implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityDistributionDataActivityDistribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -47,6 +48,8 @@
*/
class ActivityDistributionDataActivityDistribution implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -47,6 +48,8 @@
*/
class ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -47,6 +48,8 @@
*/
class ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityDistributionDataWithAdditionalData.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityDistributionDataWithAdditionalData implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityInfo implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityObjectFragment.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityObjectFragment implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityPostObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityPostObject implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityPostObjectAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityPostObjectAllOf implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityPutObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityPutObject implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityPutObjectAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityPutObjectAllOf implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityRecordAdditionalData.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityRecordAdditionalData implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityResponseObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityResponseObject implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityResponseObjectAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityResponseObjectAllOf implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityTypeBulkDeleteResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityTypeBulkDeleteResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityTypeBulkDeleteResponseAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityTypeBulkDeleteResponseAllOf implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityTypeBulkDeleteResponseAllOfData.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityTypeBulkDeleteResponseAllOfData implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityTypeCreateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityTypeCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityTypeCreateUpdateDeleteResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityTypeCreateUpdateDeleteResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Model/ActivityTypeCreateUpdateDeleteResponseAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use ArrayAccess;
use JsonException;
use JsonSerializable;
use Pipedrive\Traits\RawData;
use Pipedrive\ObjectSerializer;

/**
Expand All @@ -46,6 +47,8 @@
*/
class ActivityTypeCreateUpdateDeleteResponseAllOf implements ModelInterface, ArrayAccess, JsonSerializable
{
use RawData;

public const DISCRIMINATOR = null;

/**
Expand Down
Loading

0 comments on commit 65fe2ac

Please sign in to comment.