Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lead Label Color Enum doesn't contain all possible values #154

Open
JaredPage opened this issue Oct 16, 2024 · 0 comments
Open

Lead Label Color Enum doesn't contain all possible values #154

JaredPage opened this issue Oct 16, 2024 · 0 comments

Comments

@JaredPage
Copy link

JaredPage commented Oct 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant