This is an automated email from the ASF dual-hosted git repository.

davsclaus 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 c748c5c35d91 CAMEL-22559: camel-twilio - upgrade to v11 (#19591)
c748c5c35d91 is described below

commit c748c5c35d9195d52cf73cbe8860fb6507a5a423
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Oct 16 12:26:06 2025 +0200

    CAMEL-22559: camel-twilio - upgrade to v11 (#19591)
---
 .../resources/org/apache/camel/catalog/components/twilio.json     | 4 ++--
 .../camel/component/twilio/UsageTriggerEndpointConfiguration.java | 8 ++++----
 .../twilio/UsageTriggerEndpointConfigurationConfigurer.java       | 6 +++---
 .../camel/component/twilio/internal/UsageTriggerApiMethod.java    | 4 ++--
 .../META-INF/org/apache/camel/component/twilio/twilio.json        | 4 ++--
 parent/pom.xml                                                    | 2 +-
 6 files changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/twilio.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/twilio.json
index d18d2bb48e88..dcb111137b75 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/twilio.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/twilio.json
@@ -112,7 +112,7 @@
     "usage-record-today": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"reader": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.record.TodayReader reader()", 
"com.twilio.rest.api.v2010.account.usage.record.TodayReader reader(String 
pathAccountSid)" ] } } },
     "usage-record-yearly": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"reader": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.record.YearlyReader reader()", 
"com.twilio.rest.api.v2010.account.usage.record.YearlyReader reader(String 
pathAccountSid)" ] } } },
     "usage-record-yesterday": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"reader": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.record.YesterdayReader reader()", 
"com.twilio.rest.api.v2010.account.usage.record.YesterdayReader reader(String 
pathAccountSid)" ] } } },
-    "usage-trigger": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"creator": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.TriggerCreator creator(String 
pathAccountSid, java.net.URI callbackUrl, String triggerValue, 
com.twilio.rest.api.v2010.account.usage.Trigger$UsageCategory usageCategory)", 
"com.twilio.rest.ap [...]
+    "usage-trigger": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"creator": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.TriggerCreator creator(String 
pathAccountSid, java.net.URI callbackUrl, String triggerValue, String 
usageCategory)", "com.twilio.rest.api.v2010.account.usage.TriggerCreator 
creator(java.net.U [...]
     "validation-request": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"creator": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.ValidationRequestCreator creator(String 
pathAccountSid, com.twilio.type.PhoneNumber phoneNumber)", 
"com.twilio.rest.api.v2010.account.ValidationRequestCreator 
creator(com.twilio.type.PhoneNumb [...]
   },
   "apiProperties": {
@@ -168,7 +168,7 @@
     "usage-record-today": { "methods": { "reader": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false } } } } },
     "usage-record-yearly": { "methods": { "reader": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false } } } } },
     "usage-record-yesterday": { "methods": { "reader": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false } } } } },
-    "usage-trigger": { "methods": { "creator": { "properties": { 
"callbackUrl": { "index": 0, "kind": "parameter", "displayName": "Callback 
Url", "group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": 
false, "description": "", "optional": false }, "pathAccountSid": { "index": 1, 
"kind": "parameter", "displayName": "Path Account Sid", "group": "common", 
"label": "", "required": false, "type": "str [...]
+    "usage-trigger": { "methods": { "creator": { "properties": { 
"callbackUrl": { "index": 0, "kind": "parameter", "displayName": "Callback 
Url", "group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": 
false, "description": "", "optional": false }, "pathAccountSid": { "index": 1, 
"kind": "parameter", "displayName": "Path Account Sid", "group": "common", 
"label": "", "required": false, "type": "str [...]
     "validation-request": { "methods": { "creator": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false }, "phoneNumber": 
{ "index": 2, "kind": "parameter", "displayName": "Phone Number", "group": 
"common", "label": "", "required": false, "ty [...]
   }
 }
diff --git 
a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfiguration.java
 
b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfiguration.java
index bd6246cc45e7..f0168aeda773 100644
--- 
a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfiguration.java
+++ 
b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfiguration.java
@@ -15,7 +15,7 @@ import org.apache.camel.spi.UriParams;
  */
 @ApiParams(apiName = "usage-trigger", 
            description = "",
-           apiMethods = {@ApiMethod(methodName = "creator", 
signatures={"com.twilio.rest.api.v2010.account.usage.TriggerCreator 
creator(java.net.URI callbackUrl, String triggerValue, 
com.twilio.rest.api.v2010.account.usage.Trigger$UsageCategory usageCategory)", 
"com.twilio.rest.api.v2010.account.usage.TriggerCreator creator(String 
pathAccountSid, java.net.URI callbackUrl, String triggerValue, 
com.twilio.rest.api.v2010.account.usage.Trigger$UsageCategory 
usageCategory)"}), @ApiMethod(meth [...]
+           apiMethods = {@ApiMethod(methodName = "creator", 
signatures={"com.twilio.rest.api.v2010.account.usage.TriggerCreator 
creator(java.net.URI callbackUrl, String triggerValue, String usageCategory)", 
"com.twilio.rest.api.v2010.account.usage.TriggerCreator creator(String 
pathAccountSid, java.net.URI callbackUrl, String triggerValue, String 
usageCategory)"}), @ApiMethod(methodName = "deleter", 
signatures={"com.twilio.rest.api.v2010.account.usage.TriggerDeleter 
deleter(String pathSid [...]
 @UriParams
 @Configurer(extended = true)
 public final class UsageTriggerEndpointConfiguration extends 
TwilioConfiguration {
@@ -33,7 +33,7 @@ public final class UsageTriggerEndpointConfiguration extends 
TwilioConfiguration
     private String triggerValue;
     @UriParam
     @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = 
"creator")})
-    private com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory 
usageCategory;
+    private String usageCategory;
 
     public java.net.URI getCallbackUrl() {
         return callbackUrl;
@@ -67,11 +67,11 @@ public final class UsageTriggerEndpointConfiguration 
extends TwilioConfiguration
         this.triggerValue = triggerValue;
     }
 
-    public com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory 
getUsageCategory() {
+    public String getUsageCategory() {
         return usageCategory;
     }
 
-    public void 
setUsageCategory(com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory 
usageCategory) {
+    public void setUsageCategory(String usageCategory) {
         this.usageCategory = usageCategory;
     }
 }
diff --git 
a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfigurationConfigurer.java
 
b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfigurationConfigurer.java
index 9c42706b8ffc..499f246792b9 100644
--- 
a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfigurationConfigurer.java
+++ 
b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/UsageTriggerEndpointConfigurationConfigurer.java
@@ -28,7 +28,7 @@ public class UsageTriggerEndpointConfigurationConfigurer 
extends org.apache.came
         map.put("PathAccountSid", java.lang.String.class);
         map.put("PathSid", java.lang.String.class);
         map.put("TriggerValue", java.lang.String.class);
-        map.put("UsageCategory", 
com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory.class);
+        map.put("UsageCategory", java.lang.String.class);
         ALL_OPTIONS = map;
     }
 
@@ -49,7 +49,7 @@ public class UsageTriggerEndpointConfigurationConfigurer 
extends org.apache.came
         case "triggervalue":
         case "triggerValue": target.setTriggerValue(property(camelContext, 
java.lang.String.class, value)); return true;
         case "usagecategory":
-        case "usageCategory": target.setUsageCategory(property(camelContext, 
com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory.class, value)); 
return true;
+        case "usageCategory": target.setUsageCategory(property(camelContext, 
java.lang.String.class, value)); return true;
         default: return false;
         }
     }
@@ -75,7 +75,7 @@ public class UsageTriggerEndpointConfigurationConfigurer 
extends org.apache.came
         case "triggervalue":
         case "triggerValue": return java.lang.String.class;
         case "usagecategory":
-        case "usageCategory": return 
com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory.class;
+        case "usageCategory": return java.lang.String.class;
         default: return null;
         }
     }
diff --git 
a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
 
b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
index a7d4fdcee265..25d19e6170b4 100644
--- 
a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
+++ 
b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/internal/UsageTriggerApiMethod.java
@@ -25,7 +25,7 @@ public enum UsageTriggerApiMethod implements ApiMethod {
         "creator",
         arg("callbackUrl", java.net.URI.class),
         arg("triggerValue", String.class),
-        arg("usageCategory", 
com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory.class)),
+        arg("usageCategory", String.class)),
 
     CREATOR_1(
         com.twilio.rest.api.v2010.account.usage.TriggerCreator.class,
@@ -33,7 +33,7 @@ public enum UsageTriggerApiMethod implements ApiMethod {
         arg("pathAccountSid", String.class),
         arg("callbackUrl", java.net.URI.class),
         arg("triggerValue", String.class),
-        arg("usageCategory", 
com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory.class)),
+        arg("usageCategory", String.class)),
 
     DELETER(
         com.twilio.rest.api.v2010.account.usage.TriggerDeleter.class,
diff --git 
a/components/camel-twilio/src/generated/resources/META-INF/org/apache/camel/component/twilio/twilio.json
 
b/components/camel-twilio/src/generated/resources/META-INF/org/apache/camel/component/twilio/twilio.json
index d18d2bb48e88..dcb111137b75 100644
--- 
a/components/camel-twilio/src/generated/resources/META-INF/org/apache/camel/component/twilio/twilio.json
+++ 
b/components/camel-twilio/src/generated/resources/META-INF/org/apache/camel/component/twilio/twilio.json
@@ -112,7 +112,7 @@
     "usage-record-today": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"reader": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.record.TodayReader reader()", 
"com.twilio.rest.api.v2010.account.usage.record.TodayReader reader(String 
pathAccountSid)" ] } } },
     "usage-record-yearly": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"reader": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.record.YearlyReader reader()", 
"com.twilio.rest.api.v2010.account.usage.record.YearlyReader reader(String 
pathAccountSid)" ] } } },
     "usage-record-yesterday": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"reader": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.record.YesterdayReader reader()", 
"com.twilio.rest.api.v2010.account.usage.record.YesterdayReader reader(String 
pathAccountSid)" ] } } },
-    "usage-trigger": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"creator": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.TriggerCreator creator(String 
pathAccountSid, java.net.URI callbackUrl, String triggerValue, 
com.twilio.rest.api.v2010.account.usage.Trigger$UsageCategory usageCategory)", 
"com.twilio.rest.ap [...]
+    "usage-trigger": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"creator": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.usage.TriggerCreator creator(String 
pathAccountSid, java.net.URI callbackUrl, String triggerValue, String 
usageCategory)", "com.twilio.rest.api.v2010.account.usage.TriggerCreator 
creator(java.net.U [...]
     "validation-request": { "consumerOnly": false, "producerOnly": false, 
"description": "", "aliases": [ "^creator$=create", "^deleter$=delete", 
"^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { 
"creator": { "description": "", "signatures": [ 
"com.twilio.rest.api.v2010.account.ValidationRequestCreator creator(String 
pathAccountSid, com.twilio.type.PhoneNumber phoneNumber)", 
"com.twilio.rest.api.v2010.account.ValidationRequestCreator 
creator(com.twilio.type.PhoneNumb [...]
   },
   "apiProperties": {
@@ -168,7 +168,7 @@
     "usage-record-today": { "methods": { "reader": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false } } } } },
     "usage-record-yearly": { "methods": { "reader": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false } } } } },
     "usage-record-yesterday": { "methods": { "reader": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false } } } } },
-    "usage-trigger": { "methods": { "creator": { "properties": { 
"callbackUrl": { "index": 0, "kind": "parameter", "displayName": "Callback 
Url", "group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": 
false, "description": "", "optional": false }, "pathAccountSid": { "index": 1, 
"kind": "parameter", "displayName": "Path Account Sid", "group": "common", 
"label": "", "required": false, "type": "str [...]
+    "usage-trigger": { "methods": { "creator": { "properties": { 
"callbackUrl": { "index": 0, "kind": "parameter", "displayName": "Callback 
Url", "group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": 
false, "description": "", "optional": false }, "pathAccountSid": { "index": 1, 
"kind": "parameter", "displayName": "Path Account Sid", "group": "common", 
"label": "", "required": false, "type": "str [...]
     "validation-request": { "methods": { "creator": { "properties": { 
"pathAccountSid": { "index": 0, "kind": "parameter", "displayName": "Path 
Account Sid", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "", "optional": false }, "phoneNumber": 
{ "index": 2, "kind": "parameter", "displayName": "Phone Number", "group": 
"common", "label": "", "required": false, "ty [...]
   }
 }
diff --git a/parent/pom.xml b/parent/pom.xml
index a72a3c3aca8e..897175ad6fbc 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -508,7 +508,7 @@
         <testcontainers-version>1.21.3</testcontainers-version>
         <thymeleaf-version>3.1.3.RELEASE</thymeleaf-version>
         <tika-version>2.9.4</tika-version>
-        <twilio-version>10.9.2</twilio-version>
+        <twilio-version>11.0.1</twilio-version>
         <twitter4j-version>4.1.2</twitter4j-version>
         <undertow-version>2.3.20.Final</undertow-version>
         <univocity-parsers-version>2.10.2</univocity-parsers-version>

Reply via email to