pipedrive / client-php

Pipedrive API client for PHP
MIT License
48 stars 55 forks source link

Expand FieldTypeAsString enum #132

Closed joesmith1310 closed 6 days ago

joesmith1310 commented 1 month ago

The getDealFields() method throws an exception:

Invalid value for enum '\Pipedrive\Model\FieldTypeAsString', must be one of: 'address', 'date', 'daterange', 'double', 'enum', 'monetary', 'org', 'people', 'phone', 'set', 'text', 'time', 'timerange', 'user', 'varchar', 'varchar_auto', 'visible_to'

There are field types in the response which were not being included in the enum.

StyxOfDynamite commented 1 month ago

Thanks for patching @joesmith1310 - We can use your fork until such a time as this gets accepted/merged.

s-pogoda commented 6 days ago

Hello, I'm writing to let you know, that this issue is fixed in the 7.1.0 version

@joesmith1310, thank you very much for your effort, we really appreciate it! I'll close this PR now