Skip to content

Commit

Permalink
Regenerate zdesk_api.py for 2.7.0
Browse files Browse the repository at this point in the history
Removed:

```
attachment_delete(self, id, **kwargs)
channels_voice_stats_historical_queue_activity_list(self, **kwargs)
community_topic_access_policy(self, topic_id, **kwargs)
community_topic_access_policy_update(self, topic_id, data, **kwargs)
help_center_section_access_policy(self, section_id, **kwargs)
help_center_section_access_policy_update(self, section_id, data, **kwargs)
topic_tag_create(self, id, data, **kwargs)
topic_tags(self, id, **kwargs)
topic_tags_delete(self, id, **kwargs)
topic_tags_update(self, id, data, **kwargs)
```

Added:

```
any_channel_validate_token_create(self, data, **kwargs)
channels_voice_stats_account_overview_list(self, **kwargs)
channels_voice_stats_agents_overview_list(self, **kwargs)
community_posts_search(self, query=None, topic=None, updated_after=None, updated_before=None, **kwargs)
core_oauth_token_create(self, data, **kwargs)
deleted_ticket_delete(self, id, **kwargs)
deleted_ticket_restore_update(self, id, data, **kwargs)
deleted_tickets_destroy_many(self, ids=None, **kwargs)
deleted_tickets_list(self, **kwargs)
deleted_tickets_restore_many_update(self, data, ids=None, **kwargs)
deleted_user_delete(self, id, **kwargs)
deleted_user_show(self, id, **kwargs)
deleted_users_list(self, **kwargs)
dynamic_content_items_show_many(self, identifiers=None, **kwargs)
goal_create(self, data, **kwargs)
goal_delete(self, goal_id, **kwargs)
goal_show(self, goal_id, **kwargs)
goal_update(self, goal_id, data, **kwargs)
goals_list(self, **kwargs)
graphql_request_create(self, data, **kwargs)
help_center_community_posts_search(self, query=None, **kwargs)
help_center_user_segment_create(self, data, **kwargs)
help_center_user_segment_delete(self, id, **kwargs)
help_center_user_segment_sections(self, user_segment_id, **kwargs)
help_center_user_segment_show(self, id, **kwargs)
help_center_user_segment_topics(self, user_segment_id, **kwargs)
help_center_user_segment_update(self, id, data, **kwargs)
help_center_user_segments_applicable_list(self, **kwargs)
help_center_user_segments_list(self, **kwargs)
help_center_user_user_segments(self, user_id, **kwargs)
incremental_agent_timeline_list(self, **kwargs)
incremental_chats_list(self, **kwargs)
incremental_conversions_list(self, **kwargs)
macro_attachment_create(self, macro_id, data, **kwargs)
macro_attachments(self, macro_id, **kwargs)
macros_attachment_create(self, data, **kwargs)
macros_attachment_show(self, id, **kwargs)
macros_definitions_list(self, **kwargs)
role_create(self, data, **kwargs)
role_delete(self, role_id, **kwargs)
role_show(self, role_id, **kwargs)
role_update(self, role_id, data, **kwargs)
roles_list(self, **kwargs)
skill_create(self, data, **kwargs)
skill_delete(self, skill_id, **kwargs)
skill_show(self, skill_id, **kwargs)
skill_update(self, skill_id, data, **kwargs)
skills_list(self, **kwargs)
skills_name_delete(self, name, **kwargs)
skills_name_show(self, name, **kwargs)
skills_name_update(self, name, data, **kwargs)
target_failure_show(self, id, **kwargs)
target_failures_list(self, **kwargs)
ticket_audits_list(self, cursor=None, **kwargs)
trigger_revision_show(self, trigger_id, revision_id, **kwargs)
trigger_revisions(self, trigger_id, **kwargs)
triggers_definitions_list(self, **kwargs)
user_compliance_deletion_statuses(self, id, **kwargs)
users_me_session_renew(self, **kwargs)
views_show_many(self, ids=None, **kwargs)
```

Notes on additional changes:

Method-overloaded agents_me endpoint split into a get and an update.

```
Removed:
agents_me(self, method, data=None, **kwargs)

Added:
agents_me(self, **kwargs)
agents_me_update(self, data, **kwargs)
```

Locale now required for hc article show

```
help_center_article_show(self, id, locale=None, **kwargs)
help_center_article_show(self, locale, id, **kwargs)
```

Shortcut operations now use IDs instead of names.

```
Removed:
shortcut_delete(self, shortcut_name, **kwargs)
shortcut_show(self, shortcut_name, **kwargs)
shortcut_update(self, shortcut_name, data, **kwargs)

Added:
shortcut_delete(self, shortcut_id, **kwargs)
shortcut_show(self, shortcut_id, **kwargs)
shortcut_update(self, shortcut_id, data, **kwargs)
```

Department update by name or ID was split into two methods due to a change in
API path for name to match delete. The name is a little unfortunate
(departments_name_update), but so is the API path and the name matches that.

```
Removed:
department_update(self, department_id_or_name, data, **kwargs)

Added:
department_update(self, department_id, data, **kwargs)
departments_name_update(self, name, data, **kwargs)
```

Many query parameters were removed from the docs, resulting in a lot of diff
churn. Query param only changes are not listed, since all parameters can be
passed as keywords anyway.
  • Loading branch information
fprimex committed Aug 24, 2018
1 parent b205239 commit 1cf01a3
Showing 1 changed file with 519 additions and 157 deletions.
Loading

0 comments on commit 1cf01a3

Please sign in to comment.