This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 1ecebc903aa Upgrade Zendesk Client to version 1.2.0 (#18107) 1ecebc903aa is described below commit 1ecebc903aab73ca0ed001c3492c048097e99cef Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon May 19 10:31:50 2025 +0200 Upgrade Zendesk Client to version 1.2.0 (#18107) Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../apache/camel/catalog/components/zendesk.json | 6 +-- .../zendesk/ZendeskEndpointConfiguration.java | 15 +++++- .../ZendeskEndpointConfigurationConfigurer.java | 5 ++ .../zendesk/ZendeskEndpointUriFactory.java | 3 +- .../zendesk/internal/ZendeskApiMethod.java | 6 +++ .../apache/camel/component/zendesk/zendesk.json | 6 +-- .../builder/endpoint/StaticEndpointBuilders.java | 56 +++++++++++----------- .../dsl/ZendeskEndpointBuilderFactory.java | 8 ++-- parent/pom.xml | 2 +- 9 files changed, 65 insertions(+), 42 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/zendesk.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/zendesk.json index ff8100344bc..fb58d25e28c 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/zendesk.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/zendesk.json @@ -37,7 +37,7 @@ "username": { "index": 9, "kind": "property", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "The user name." } }, "properties": { - "methodName": { "index": 0, "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.zendesk.internal.ZendeskApiMethod", "enum": [ "ADD_TAG_TO_ORGANISATIONS", "ADD_TAG_TO_TICKET", "ADD_TAG_TO_TOPICS", "ASSOCIATE_ATTACHMENTS_TO_ARTICLE", "CHANGE_USER_PASSWORD", "CREATE_ARTICLE", "CREATE_ARTICLE_1", "CREATE_ARTICLE_TRANSLATION", "CREATE_AUTOMATION", "CREATE_CATEGORY", "CREATE_CATEGORY_TRANS [...] + "methodName": { "index": 0, "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.zendesk.internal.ZendeskApiMethod", "enum": [ "ADD_TAG_TO_ORGANISATIONS", "ADD_TAG_TO_TICKET", "ADD_TAG_TO_TOPICS", "ASSOCIATE_ATTACHMENTS_TO_ARTICLE", "CHANGE_USER_PASSWORD", "CREATE_ARTICLE", "CREATE_ARTICLE_1", "CREATE_ARTICLE_TRANSLATION", "CREATE_AUTOMATION", "CREATE_CATEGORY", "CREATE_CATEGORY_TRANS [...] "inBody": { "index": 1, "kind": "parameter", "displayName": "In Body", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the name of a parameter to be passed in the exchange In Body" }, "serverUrl": { "index": 2, "kind": "parameter", "displayName": "Server Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.zendesk.ZendeskConfiguration", "configurationField": "configuration", "description": "The server URL to connect." }, "sendEmptyMessageWhenIdle": { "index": 3, "kind": "parameter", "displayName": "Send Empty Message When Idle", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead." }, @@ -66,9 +66,9 @@ "username": { "index": 26, "kind": "parameter", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.zendesk.ZendeskConfiguration", "configurationField": "configuration", "description": "The user name." } }, "apis": { - "DEFAULT": { "consumerOnly": false, "producerOnly": false, "description": "", "methods": { "addTagToOrganisations": { "description": "", "signatures": [ "java.util.List<String> addTagToOrganisations(long id, String[] tags)" ] }, "addTagToTicket": { "description": "", "signatures": [ "java.util.List<String> addTagToTicket(long id, String[] tags)" ] }, "addTagToTopics": { "description": "", "signatures": [ "java.util.List<String> addTagToTopics(long id, String[] tags)" ] }, "associateA [...] + "DEFAULT": { "consumerOnly": false, "producerOnly": false, "description": "", "methods": { "addTagToOrganisations": { "description": "", "signatures": [ "java.util.List<String> addTagToOrganisations(long id, String[] tags)" ] }, "addTagToTicket": { "description": "", "signatures": [ "java.util.List<String> addTagToTicket(long id, String[] tags)" ] }, "addTagToTopics": { "description": "", "signatures": [ "java.util.List<String> addTagToTopics(long id, String[] tags)" ] }, "associateA [...] }, "apiProperties": { - "DEFAULT": { "methods": { "addTagToOrganisations": { "properties": { "id": { "index": 0, "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "tags": { "index": 1, "kind": "parameter", "displayName": "Tags", "group": "common", "label": "", "required": false, "type": "array", "javaType": "java.lang.St [...] + "DEFAULT": { "methods": { "addTagToOrganisations": { "properties": { "id": { "index": 0, "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "tags": { "index": 1, "kind": "parameter", "displayName": "Tags", "group": "common", "label": "", "required": false, "type": "array", "javaType": "java.lang.St [...] } } diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java index f75f4d48f90..350d9577bd6 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java @@ -15,7 +15,7 @@ import org.apache.camel.spi.UriParams; */ @ApiParams(apiName = "DEFAULT", description = "", - apiMethods = {@ApiMethod(methodName = "addTagToOrganisations", signatures={"java.util.List<String> addTagToOrganisations(long id, String[] tags)"}), @ApiMethod(methodName = "addTagToTicket", signatures={"java.util.List<String> addTagToTicket(long id, String[] tags)"}), @ApiMethod(methodName = "addTagToTopics", signatures={"java.util.List<String> addTagToTopics(long id, String[] tags)"}), @ApiMethod(methodName = "associateAttachmentsToArticle", signatures={"void associateAttach [...] + apiMethods = {@ApiMethod(methodName = "addTagToOrganisations", signatures={"java.util.List<String> addTagToOrganisations(long id, String[] tags)"}), @ApiMethod(methodName = "addTagToTicket", signatures={"java.util.List<String> addTagToTicket(long id, String[] tags)"}), @ApiMethod(methodName = "addTagToTopics", signatures={"java.util.List<String> addTagToTopics(long id, String[] tags)"}), @ApiMethod(methodName = "associateAttachmentsToArticle", signatures={"void associateAttach [...] @UriParams @Configurer(extended = true) public final class ZendeskEndpointConfiguration extends ZendeskConfiguration { @@ -71,6 +71,9 @@ public final class ZendeskEndpointConfiguration extends ZendeskConfiguration { @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "getForums")}) private Long category_id; @UriParam + @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "executeView")}) + private Class<org.zendesk.client.v2.model.views.ViewRow> clazz; + @UriParam @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "createComment"), @ApiMethod(methodName = "getRequestComment")}) private org.zendesk.client.v2.model.Comment comment; @UriParam @@ -134,7 +137,7 @@ public final class ZendeskEndpointConfiguration extends ZendeskConfiguration { @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "deleteGroupMembership"), @ApiMethod(methodName = "getGroupMembership")}) private Long group_membership_id; @UriParam - @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "addTagToOrganisations"), @ApiMethod(methodName = "addTagToTicket"), @ApiMethod(methodName = "addTagToTopics"), @ApiMethod(methodName = "deleteArticleAttachment", description="Attachment identifier"), @ApiMethod(methodName = "deleteAttachment"), @ApiMethod(methodName = "deleteGroup"), @ApiMethod(methodName = "deleteGroupMembership"), @ApiMethod(methodName = "deleteOrganization"), @ApiMethod(methodName = "deleteOrganiza [...] + @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "addTagToOrganisations"), @ApiMethod(methodName = "addTagToTicket"), @ApiMethod(methodName = "addTagToTopics"), @ApiMethod(methodName = "deleteArticleAttachment", description="Attachment identifier"), @ApiMethod(methodName = "deleteAttachment"), @ApiMethod(methodName = "deleteGroup"), @ApiMethod(methodName = "deleteGroupMembership"), @ApiMethod(methodName = "deleteOrganization"), @ApiMethod(methodName = "deleteOrganiza [...] private Long id; @UriParam @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "associateAttachmentsToArticle")}) @@ -528,6 +531,14 @@ public final class ZendeskEndpointConfiguration extends ZendeskConfiguration { this.category_id = category_id; } + public Class<org.zendesk.client.v2.model.views.ViewRow> getClazz() { + return clazz; + } + + public void setClazz(Class<org.zendesk.client.v2.model.views.ViewRow> clazz) { + this.clazz = clazz; + } + public org.zendesk.client.v2.model.Comment getComment() { return comment; } diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java index f030d3d9a26..fd79ee548a9 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java @@ -39,6 +39,7 @@ public class ZendeskEndpointConfigurationConfigurer extends org.apache.camel.sup map.put("CategoryId0", java.lang.String.class); map.put("CategoryId1", java.lang.Long.class); map.put("Category_id", java.lang.Long.class); + map.put("Clazz", java.lang.Class.class); map.put("Comment", org.zendesk.client.v2.model.Comment.class); map.put("CommentId", java.lang.Long.class); map.put("Content", byte[].class); @@ -183,6 +184,7 @@ public class ZendeskEndpointConfigurationConfigurer extends org.apache.camel.sup case "categoryid1": case "categoryId1": target.setCategoryId1(property(camelContext, java.lang.Long.class, value)); return true; case "category_id": target.setCategory_id(property(camelContext, java.lang.Long.class, value)); return true; + case "clazz": target.setClazz(property(camelContext, java.lang.Class.class, value)); return true; case "comment": target.setComment(property(camelContext, org.zendesk.client.v2.model.Comment.class, value)); return true; case "commentid": case "commentId": target.setCommentId(property(camelContext, java.lang.Long.class, value)); return true; @@ -394,6 +396,7 @@ public class ZendeskEndpointConfigurationConfigurer extends org.apache.camel.sup case "categoryid1": case "categoryId1": return java.lang.Long.class; case "category_id": return java.lang.Long.class; + case "clazz": return java.lang.Class.class; case "comment": return org.zendesk.client.v2.model.Comment.class; case "commentid": case "commentId": return java.lang.Long.class; @@ -601,6 +604,7 @@ public class ZendeskEndpointConfigurationConfigurer extends org.apache.camel.sup case "categoryid1": case "categoryId1": return target.getCategoryId1(); case "category_id": return target.getCategory_id(); + case "clazz": return target.getClazz(); case "comment": return target.getComment(); case "commentid": case "commentId": return target.getCommentId(); @@ -782,6 +786,7 @@ public class ZendeskEndpointConfigurationConfigurer extends org.apache.camel.sup public Object getCollectionValueType(Object target, String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "attachments": return org.zendesk.client.v2.model.Attachment.class; + case "clazz": return org.zendesk.client.v2.model.views.ViewRow.class; case "labels": return java.lang.String.class; case "organizationlist": case "organizationList": return org.zendesk.client.v2.model.Organization.class; diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointUriFactory.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointUriFactory.java index 3ddcfb7c044..be0d6b79c02 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointUriFactory.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointUriFactory.java @@ -23,7 +23,7 @@ public class ZendeskEndpointUriFactory extends org.apache.camel.support.componen private static final Set<String> SECRET_PROPERTY_NAMES; private static final Set<String> MULTI_VALUE_PREFIXES; static { - Set<String> props = new HashSet<>(149); + Set<String> props = new HashSet<>(150); props.add("active"); props.add("article"); props.add("articleAttachments"); @@ -45,6 +45,7 @@ public class ZendeskEndpointUriFactory extends org.apache.camel.support.componen props.add("categoryId0"); props.add("categoryId1"); props.add("category_id"); + props.add("clazz"); props.add("comment"); props.add("commentId"); props.add("content"); diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java index f821f6528a3..52f8689cdec 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/internal/ZendeskApiMethod.java @@ -627,6 +627,12 @@ public enum ZendeskApiMethod implements ApiMethod { "deleteUsers", arg("ids", long[].class)), + EXECUTE_VIEW( + java.util.Optional.class, + "executeView", + arg("id", long.class), + arg("clazz", Class.class)), + GET_ACTIVE_TRIGGERS( Iterable.class, "getActiveTriggers"), diff --git a/components/camel-zendesk/src/generated/resources/META-INF/org/apache/camel/component/zendesk/zendesk.json b/components/camel-zendesk/src/generated/resources/META-INF/org/apache/camel/component/zendesk/zendesk.json index ff8100344bc..fb58d25e28c 100644 --- a/components/camel-zendesk/src/generated/resources/META-INF/org/apache/camel/component/zendesk/zendesk.json +++ b/components/camel-zendesk/src/generated/resources/META-INF/org/apache/camel/component/zendesk/zendesk.json @@ -37,7 +37,7 @@ "username": { "index": 9, "kind": "property", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "The user name." } }, "properties": { - "methodName": { "index": 0, "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.zendesk.internal.ZendeskApiMethod", "enum": [ "ADD_TAG_TO_ORGANISATIONS", "ADD_TAG_TO_TICKET", "ADD_TAG_TO_TOPICS", "ASSOCIATE_ATTACHMENTS_TO_ARTICLE", "CHANGE_USER_PASSWORD", "CREATE_ARTICLE", "CREATE_ARTICLE_1", "CREATE_ARTICLE_TRANSLATION", "CREATE_AUTOMATION", "CREATE_CATEGORY", "CREATE_CATEGORY_TRANS [...] + "methodName": { "index": 0, "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.zendesk.internal.ZendeskApiMethod", "enum": [ "ADD_TAG_TO_ORGANISATIONS", "ADD_TAG_TO_TICKET", "ADD_TAG_TO_TOPICS", "ASSOCIATE_ATTACHMENTS_TO_ARTICLE", "CHANGE_USER_PASSWORD", "CREATE_ARTICLE", "CREATE_ARTICLE_1", "CREATE_ARTICLE_TRANSLATION", "CREATE_AUTOMATION", "CREATE_CATEGORY", "CREATE_CATEGORY_TRANS [...] "inBody": { "index": 1, "kind": "parameter", "displayName": "In Body", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the name of a parameter to be passed in the exchange In Body" }, "serverUrl": { "index": 2, "kind": "parameter", "displayName": "Server Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.zendesk.ZendeskConfiguration", "configurationField": "configuration", "description": "The server URL to connect." }, "sendEmptyMessageWhenIdle": { "index": 3, "kind": "parameter", "displayName": "Send Empty Message When Idle", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead." }, @@ -66,9 +66,9 @@ "username": { "index": 26, "kind": "parameter", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.zendesk.ZendeskConfiguration", "configurationField": "configuration", "description": "The user name." } }, "apis": { - "DEFAULT": { "consumerOnly": false, "producerOnly": false, "description": "", "methods": { "addTagToOrganisations": { "description": "", "signatures": [ "java.util.List<String> addTagToOrganisations(long id, String[] tags)" ] }, "addTagToTicket": { "description": "", "signatures": [ "java.util.List<String> addTagToTicket(long id, String[] tags)" ] }, "addTagToTopics": { "description": "", "signatures": [ "java.util.List<String> addTagToTopics(long id, String[] tags)" ] }, "associateA [...] + "DEFAULT": { "consumerOnly": false, "producerOnly": false, "description": "", "methods": { "addTagToOrganisations": { "description": "", "signatures": [ "java.util.List<String> addTagToOrganisations(long id, String[] tags)" ] }, "addTagToTicket": { "description": "", "signatures": [ "java.util.List<String> addTagToTicket(long id, String[] tags)" ] }, "addTagToTopics": { "description": "", "signatures": [ "java.util.List<String> addTagToTopics(long id, String[] tags)" ] }, "associateA [...] }, "apiProperties": { - "DEFAULT": { "methods": { "addTagToOrganisations": { "properties": { "id": { "index": 0, "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "tags": { "index": 1, "kind": "parameter", "displayName": "Tags", "group": "common", "label": "", "required": false, "type": "array", "javaType": "java.lang.St [...] + "DEFAULT": { "methods": { "addTagToOrganisations": { "properties": { "id": { "index": 0, "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "tags": { "index": 1, "kind": "parameter", "displayName": "Tags", "group": "common", "label": "", "required": false, "type": "array", "javaType": "java.lang.St [...] } } diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java index f376faea18b..50daf1f1032 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java @@ -16209,7 +16209,7 @@ public class StaticEndpointBuilders { * * Path parameter: methodName (required) * What operation to use - * There are 377 enums and the value can be one of: + * There are 378 enums and the value can be one of: * ADD_TAG_TO_ORGANISATIONS, ADD_TAG_TO_TICKET, ADD_TAG_TO_TOPICS, * ASSOCIATE_ATTACHMENTS_TO_ARTICLE, CHANGE_USER_PASSWORD, CREATE_ARTICLE, * CREATE_ARTICLE_1, CREATE_ARTICLE_TRANSLATION, CREATE_AUTOMATION, @@ -16250,19 +16250,19 @@ public class StaticEndpointBuilders { * DELETE_TRIGGER, DELETE_UPLOAD, DELETE_UPLOAD_1, DELETE_USER, * DELETE_USER_1, DELETE_USER_IDENTITY, DELETE_USER_IDENTITY_1, * DELETE_USER_IDENTITY_2, DELETE_USER_SEGMENT, DELETE_USER_SEGMENT_1, - * DELETE_USERS, GET_ACTIVE_TRIGGERS, GET_ARTICLE, GET_ARTICLE_FROM_SEARCH, - * GET_ARTICLE_FROM_SEARCH_1, GET_ARTICLE_SUBSCRIPTIONS, - * GET_ARTICLE_SUBSCRIPTIONS_1, GET_ARTICLE_TRANSLATIONS, GET_ARTICLES, - * GET_ARTICLES_1, GET_ARTICLES_2, GET_ARTICLES_3, GET_ARTICLES_4, - * GET_ARTICLES_5, GET_ARTICLES_FROM_ALL_LABELS, - * GET_ARTICLES_FROM_ANY_LABELS, GET_ARTICLES_FROM_PAGE, - * GET_ARTICLES_INCREMENTALLY, GET_ASSIGNABLE_GROUP_MEMBERSHIPS, - * GET_ASSIGNABLE_GROUP_MEMBERSHIPS_1, GET_ASSIGNABLE_GROUPS, - * GET_ASSIGNED_TICKETS_COUNT_FOR_USER, GET_ATTACHMENT, GET_ATTACHMENT_1, - * GET_ATTACHMENTS_FROM_ARTICLE, GET_AUTHENTICATED_USER, - * GET_AUTO_COMPLETE_ORGANIZATIONS, GET_AUTOMATION, GET_AUTOMATIONS, - * GET_BRANDS, GET_CC_REQUESTS, GET_CATEGORIES, GET_CATEGORY, - * GET_CATEGORY_TRANSLATIONS, GET_CCD_TICKETS_COUNT_FOR_USER, + * DELETE_USERS, EXECUTE_VIEW, GET_ACTIVE_TRIGGERS, GET_ARTICLE, + * GET_ARTICLE_FROM_SEARCH, GET_ARTICLE_FROM_SEARCH_1, + * GET_ARTICLE_SUBSCRIPTIONS, GET_ARTICLE_SUBSCRIPTIONS_1, + * GET_ARTICLE_TRANSLATIONS, GET_ARTICLES, GET_ARTICLES_1, GET_ARTICLES_2, + * GET_ARTICLES_3, GET_ARTICLES_4, GET_ARTICLES_5, + * GET_ARTICLES_FROM_ALL_LABELS, GET_ARTICLES_FROM_ANY_LABELS, + * GET_ARTICLES_FROM_PAGE, GET_ARTICLES_INCREMENTALLY, + * GET_ASSIGNABLE_GROUP_MEMBERSHIPS, GET_ASSIGNABLE_GROUP_MEMBERSHIPS_1, + * GET_ASSIGNABLE_GROUPS, GET_ASSIGNED_TICKETS_COUNT_FOR_USER, + * GET_ATTACHMENT, GET_ATTACHMENT_1, GET_ATTACHMENTS_FROM_ARTICLE, + * GET_AUTHENTICATED_USER, GET_AUTO_COMPLETE_ORGANIZATIONS, GET_AUTOMATION, + * GET_AUTOMATIONS, GET_BRANDS, GET_CC_REQUESTS, GET_CATEGORIES, + * GET_CATEGORY, GET_CATEGORY_TRANSLATIONS, GET_CCD_TICKETS_COUNT_FOR_USER, * GET_COMPLIANCE_DELETION_STATUSES, GET_CONTENT_TAG, GET_CONTENT_TAGS, * GET_CONTENT_TAGS_1, GET_CONTENT_TAGS_2, GET_CURRENT_USER, * GET_CUSTOM_AGENT_ROLES, GET_CUSTOM_TICKET_STATUSES, GET_DELETED_TICKETS, @@ -16363,7 +16363,7 @@ public class StaticEndpointBuilders { * * Path parameter: methodName (required) * What operation to use - * There are 377 enums and the value can be one of: + * There are 378 enums and the value can be one of: * ADD_TAG_TO_ORGANISATIONS, ADD_TAG_TO_TICKET, ADD_TAG_TO_TOPICS, * ASSOCIATE_ATTACHMENTS_TO_ARTICLE, CHANGE_USER_PASSWORD, CREATE_ARTICLE, * CREATE_ARTICLE_1, CREATE_ARTICLE_TRANSLATION, CREATE_AUTOMATION, @@ -16404,19 +16404,19 @@ public class StaticEndpointBuilders { * DELETE_TRIGGER, DELETE_UPLOAD, DELETE_UPLOAD_1, DELETE_USER, * DELETE_USER_1, DELETE_USER_IDENTITY, DELETE_USER_IDENTITY_1, * DELETE_USER_IDENTITY_2, DELETE_USER_SEGMENT, DELETE_USER_SEGMENT_1, - * DELETE_USERS, GET_ACTIVE_TRIGGERS, GET_ARTICLE, GET_ARTICLE_FROM_SEARCH, - * GET_ARTICLE_FROM_SEARCH_1, GET_ARTICLE_SUBSCRIPTIONS, - * GET_ARTICLE_SUBSCRIPTIONS_1, GET_ARTICLE_TRANSLATIONS, GET_ARTICLES, - * GET_ARTICLES_1, GET_ARTICLES_2, GET_ARTICLES_3, GET_ARTICLES_4, - * GET_ARTICLES_5, GET_ARTICLES_FROM_ALL_LABELS, - * GET_ARTICLES_FROM_ANY_LABELS, GET_ARTICLES_FROM_PAGE, - * GET_ARTICLES_INCREMENTALLY, GET_ASSIGNABLE_GROUP_MEMBERSHIPS, - * GET_ASSIGNABLE_GROUP_MEMBERSHIPS_1, GET_ASSIGNABLE_GROUPS, - * GET_ASSIGNED_TICKETS_COUNT_FOR_USER, GET_ATTACHMENT, GET_ATTACHMENT_1, - * GET_ATTACHMENTS_FROM_ARTICLE, GET_AUTHENTICATED_USER, - * GET_AUTO_COMPLETE_ORGANIZATIONS, GET_AUTOMATION, GET_AUTOMATIONS, - * GET_BRANDS, GET_CC_REQUESTS, GET_CATEGORIES, GET_CATEGORY, - * GET_CATEGORY_TRANSLATIONS, GET_CCD_TICKETS_COUNT_FOR_USER, + * DELETE_USERS, EXECUTE_VIEW, GET_ACTIVE_TRIGGERS, GET_ARTICLE, + * GET_ARTICLE_FROM_SEARCH, GET_ARTICLE_FROM_SEARCH_1, + * GET_ARTICLE_SUBSCRIPTIONS, GET_ARTICLE_SUBSCRIPTIONS_1, + * GET_ARTICLE_TRANSLATIONS, GET_ARTICLES, GET_ARTICLES_1, GET_ARTICLES_2, + * GET_ARTICLES_3, GET_ARTICLES_4, GET_ARTICLES_5, + * GET_ARTICLES_FROM_ALL_LABELS, GET_ARTICLES_FROM_ANY_LABELS, + * GET_ARTICLES_FROM_PAGE, GET_ARTICLES_INCREMENTALLY, + * GET_ASSIGNABLE_GROUP_MEMBERSHIPS, GET_ASSIGNABLE_GROUP_MEMBERSHIPS_1, + * GET_ASSIGNABLE_GROUPS, GET_ASSIGNED_TICKETS_COUNT_FOR_USER, + * GET_ATTACHMENT, GET_ATTACHMENT_1, GET_ATTACHMENTS_FROM_ARTICLE, + * GET_AUTHENTICATED_USER, GET_AUTO_COMPLETE_ORGANIZATIONS, GET_AUTOMATION, + * GET_AUTOMATIONS, GET_BRANDS, GET_CC_REQUESTS, GET_CATEGORIES, + * GET_CATEGORY, GET_CATEGORY_TRANSLATIONS, GET_CCD_TICKETS_COUNT_FOR_USER, * GET_COMPLIANCE_DELETION_STATUSES, GET_CONTENT_TAG, GET_CONTENT_TAGS, * GET_CONTENT_TAGS_1, GET_CONTENT_TAGS_2, GET_CURRENT_USER, * GET_CUSTOM_AGENT_ROLES, GET_CUSTOM_TICKET_STATUSES, GET_DELETED_TICKETS, diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java index cc1ca8f2a3c..d865c52a683 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ZendeskEndpointBuilderFactory.java @@ -1055,7 +1055,7 @@ public interface ZendeskEndpointBuilderFactory { * * Path parameter: methodName (required) * What operation to use - * There are 377 enums and the value can be one of: + * There are 378 enums and the value can be one of: * ADD_TAG_TO_ORGANISATIONS, ADD_TAG_TO_TICKET, ADD_TAG_TO_TOPICS, * ASSOCIATE_ATTACHMENTS_TO_ARTICLE, CHANGE_USER_PASSWORD, * CREATE_ARTICLE, CREATE_ARTICLE_1, CREATE_ARTICLE_TRANSLATION, @@ -1098,7 +1098,7 @@ public interface ZendeskEndpointBuilderFactory { * DELETE_TRIGGER, DELETE_UPLOAD, DELETE_UPLOAD_1, DELETE_USER, * DELETE_USER_1, DELETE_USER_IDENTITY, DELETE_USER_IDENTITY_1, * DELETE_USER_IDENTITY_2, DELETE_USER_SEGMENT, DELETE_USER_SEGMENT_1, - * DELETE_USERS, GET_ACTIVE_TRIGGERS, GET_ARTICLE, + * DELETE_USERS, EXECUTE_VIEW, GET_ACTIVE_TRIGGERS, GET_ARTICLE, * GET_ARTICLE_FROM_SEARCH, GET_ARTICLE_FROM_SEARCH_1, * GET_ARTICLE_SUBSCRIPTIONS, GET_ARTICLE_SUBSCRIPTIONS_1, * GET_ARTICLE_TRANSLATIONS, GET_ARTICLES, GET_ARTICLES_1, @@ -1216,7 +1216,7 @@ public interface ZendeskEndpointBuilderFactory { * * Path parameter: methodName (required) * What operation to use - * There are 377 enums and the value can be one of: + * There are 378 enums and the value can be one of: * ADD_TAG_TO_ORGANISATIONS, ADD_TAG_TO_TICKET, ADD_TAG_TO_TOPICS, * ASSOCIATE_ATTACHMENTS_TO_ARTICLE, CHANGE_USER_PASSWORD, * CREATE_ARTICLE, CREATE_ARTICLE_1, CREATE_ARTICLE_TRANSLATION, @@ -1259,7 +1259,7 @@ public interface ZendeskEndpointBuilderFactory { * DELETE_TRIGGER, DELETE_UPLOAD, DELETE_UPLOAD_1, DELETE_USER, * DELETE_USER_1, DELETE_USER_IDENTITY, DELETE_USER_IDENTITY_1, * DELETE_USER_IDENTITY_2, DELETE_USER_SEGMENT, DELETE_USER_SEGMENT_1, - * DELETE_USERS, GET_ACTIVE_TRIGGERS, GET_ARTICLE, + * DELETE_USERS, EXECUTE_VIEW, GET_ACTIVE_TRIGGERS, GET_ARTICLE, * GET_ARTICLE_FROM_SEARCH, GET_ARTICLE_FROM_SEARCH_1, * GET_ARTICLE_SUBSCRIPTIONS, GET_ARTICLE_SUBSCRIPTIONS_1, * GET_ARTICLE_TRANSLATIONS, GET_ARTICLES, GET_ARTICLES_1, diff --git a/parent/pom.xml b/parent/pom.xml index 3f3206da21d..8ac1b66f790 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -525,7 +525,7 @@ <yasson-version>3.0.4</yasson-version> <yetus-audience-annotations-version>0.15.1</yetus-audience-annotations-version> <zeebe-version>8.7.2</zeebe-version> - <zendesk-client-version>1.1.1</zendesk-client-version> + <zendesk-client-version>1.2.0</zendesk-client-version> <zookeeper-version>3.9.3</zookeeper-version> <zxing-version>3.5.3</zxing-version> </properties>