client-php
client-php copied to clipboard
Lead Label Color Enum doesn't contain all possible values
I can create a Lead Label with the following colors using a current Developer Sandbox account.
- green
- blue
- red
- yellow
- purple
- gray
- brown
- dark-gray
- orange
- pink
However LeadLabelColor.php doesn't contain the colors I bolded/italicised above. This results in the error from the ObjectSerializer.php:
Invalid value for enum '\Pipedrive\Model\LeadLabelColor', must be one of: 'green', 'blue', 'red', 'yellow', 'purple', 'gray'
The solution here would be to properly document and implement the full range of colors available on the platform.
Version 7.1 of the library - latest version available through composer.