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 d492f09c683 Upgrade to twilio 10.1.0 d492f09c683 is described below commit d492f09c6836ac70c1f62bb34cbdaaf495b9cb59 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Mar 4 10:46:07 2024 +0100 Upgrade to twilio 10.1.0 --- .../org/apache/camel/catalog/components/twilio.json | 6 +----- .../camel/builder/endpoint/StaticEndpointBuilders.java | 14 ++++++-------- .../builder/endpoint/dsl/TwilioEndpointBuilderFactory.java | 14 ++++++-------- 3 files changed, 13 insertions(+), 21 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 726046d6082..0b36055b631 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 @@ -34,7 +34,7 @@ "username": { "index": 7, "kind": "property", "displayName": "Username", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "The account to use." } }, "properties": { - "apiName": { "index": 0, "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.twilio.internal.TwilioApiName", "enum": [ "ACCOUNT", "ADDRESS", "APPLICATION", "AVAILABLE_PHONE_NUMBER_COUNTRY", "CALL", "CONFERENCE", "CONNECT_APP", "INCOMING_PHONE_NUMBER", "KEY", "MESSAGE", "NEW_KEY", "NEW_SIGNING_KEY", "NOTIFICATION", "OUTGOING_CALLER_ID", "QUEUE", "RECORDING", "SHORT_CODE", "SIGNING_KEY", [...] + "apiName": { "index": 0, "kind": "path", "displayName": "Api Name", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.twilio.internal.TwilioApiName", "enum": [ "ACCOUNT", "ADDRESS", "APPLICATION", "AVAILABLE_PHONE_NUMBER_COUNTRY", "CALL", "CONFERENCE", "CONNECT_APP", "INCOMING_PHONE_NUMBER", "KEY", "MESSAGE", "NEW_KEY", "NEW_SIGNING_KEY", "NOTIFICATION", "OUTGOING_CALLER_ID", "QUEUE", "RECORDING", "SHORT_CODE", "SIGNING_KEY", [...] "methodName": { "index": 1, "kind": "path", "displayName": "Method Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "create", "delete", "fetch", "read", "update" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.twilio.TwilioConfiguration", "configurationField": "configuration", "description": "What sub operation to use for the select [...] "inBody": { "index": 2, "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" }, "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." }, @@ -68,8 +68,6 @@ "available-phone-number-country-mobile": { "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.availablephonenumbercountry.MobileReader reader(String pathAccountSid, String pathCountryCode)", "com.twilio.rest.api.v2010.account.availablephonenumbercountry.MobileReader r [...] "available-phone-number-country-toll-free": { "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.availablephonenumbercountry.TollFreeReader reader(String pathAccountSid, String pathCountryCode)", "com.twilio.rest.api.v2010.account.availablephonenumbercountry.TollFreeR [...] "call": { "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.CallCreator creator(String pathAccountSid, com.twilio.type.Endpoint to, com.twilio.type.Endpoint from, String applicationSid)", "com.twilio.rest.api.v2010.account.CallCreator creator(String pathAccountSid, [...] - "call-feedback": { "consumerOnly": false, "producerOnly": false, "description": "", "aliases": [ "^creator$=create", "^deleter$=delete", "^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { "fetcher": { "description": "", "signatures": [ "com.twilio.rest.api.v2010.account.call.FeedbackFetcher fetcher(String pathAccountSid, String pathCallSid)", "com.twilio.rest.api.v2010.account.call.FeedbackFetcher fetcher(String pathCallSid)" ] }, "updater": { "description": "", " [...] - "call-feedback-summary": { "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.call.FeedbackSummaryCreator creator(String pathAccountSid, java.time.LocalDate startDate, java.time.LocalDate endDate)", "com.twilio.rest.api.v2010.account.call.FeedbackSummaryCreator creat [...] "call-notification": { "consumerOnly": false, "producerOnly": false, "description": "", "aliases": [ "^creator$=create", "^deleter$=delete", "^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { "fetcher": { "description": "", "signatures": [ "com.twilio.rest.api.v2010.account.call.NotificationFetcher fetcher(String pathAccountSid, String pathCallSid, String pathSid)", "com.twilio.rest.api.v2010.account.call.NotificationFetcher fetcher(String pathCallSid, String path [...] "call-recording": { "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.call.RecordingCreator creator(String pathAccountSid, String pathCallSid)", "com.twilio.rest.api.v2010.account.call.RecordingCreator creator(String pathCallSid)" ] }, "deleter": { "description": "" [...] "conference": { "consumerOnly": false, "producerOnly": false, "description": "", "aliases": [ "^creator$=create", "^deleter$=delete", "^fetcher$=fetch", "^reader$=read", "^updater$=update" ], "methods": { "fetcher": { "description": "", "signatures": [ "com.twilio.rest.api.v2010.account.ConferenceFetcher fetcher(String pathAccountSid, String pathSid)", "com.twilio.rest.api.v2010.account.ConferenceFetcher fetcher(String pathSid)" ] }, "reader": { "description": "", "signatures": [ "co [...] @@ -126,8 +124,6 @@ "available-phone-number-country-mobile": { "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 }, "pathCountryCode": { "index": 2, "kind": "parameter", "displayName": "Path Country Code", "group": "common", "label": [...] "available-phone-number-country-toll-free": { "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 }, "pathCountryCode": { "index": 2, "kind": "parameter", "displayName": "Path Country Code", "group": "common", "labe [...] "call": { "methods": { "creator": { "properties": { "applicationSid": { "index": 0, "kind": "parameter", "displayName": "Application Sid", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "from": { "index": 1, "kind": "parameter", "displayName": "From", "group": "common", "label": "", "required": false, "type": "object", "javaType": "co [...] - "call-feedback": { "methods": { "fetcher": { "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 }, "pathCallSid": { "index": 2, "kind": "parameter", "displayName": "Path Call Sid", "group": "common", "label": "", "required": false, "type": [...] - "call-feedback-summary": { "methods": { "creator": { "properties": { "endDate": { "index": 0, "kind": "parameter", "displayName": "End Date", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.time.LocalDate", "deprecated": false, "autowired": false, "secret": false, "description": "", "optional": false }, "pathAccountSid": { "index": 1, "kind": "parameter", "displayName": "Path Account Sid", "group": "common", "label": "", "required": false, "type [...] "call-notification": { "methods": { "fetcher": { "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 }, "pathCallSid": { "index": 2, "kind": "parameter", "displayName": "Path Call Sid", "group": "common", "label": "", "required": false, "ty [...] "call-recording": { "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 }, "pathCallSid": { "index": 2, "kind": "parameter", "displayName": "Path Call Sid", "group": "common", "label": "", "required": false, "type" [...] "conference": { "methods": { "fetcher": { "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 }, "pathSid": { "index": 1, "kind": "parameter", "displayName": "Path Sid", "group": "common", "label": "", "required": false, "type": "string", " [...] 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 1ee97915462..4bfdb4d8927 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 @@ -14819,16 +14819,15 @@ public class StaticEndpointBuilders { * * Path parameter: apiName (required) * What kind of operation to perform - * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS, + * There are 54 enums and the value can be one of: ACCOUNT, ADDRESS, * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE, * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY, * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING, * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST, * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL, * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE, - * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK, - * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING, - * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, + * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_NOTIFICATION, + * CALL_RECORDING, CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE, * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER, RECORDING_ADD_ON_RESULT, * RECORDING_TRANSCRIPTION, RECORDING_ADD_ON_RESULT_PAYLOAD, @@ -14864,16 +14863,15 @@ public class StaticEndpointBuilders { * * Path parameter: apiName (required) * What kind of operation to perform - * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS, + * There are 54 enums and the value can be one of: ACCOUNT, ADDRESS, * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE, * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY, * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING, * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST, * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL, * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE, - * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK, - * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING, - * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, + * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_NOTIFICATION, + * CALL_RECORDING, CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE, * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER, RECORDING_ADD_ON_RESULT, * RECORDING_TRANSCRIPTION, RECORDING_ADD_ON_RESULT_PAYLOAD, diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java index c790fadf02e..87970be4756 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java @@ -881,16 +881,15 @@ public interface TwilioEndpointBuilderFactory { * * Path parameter: apiName (required) * What kind of operation to perform - * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS, + * There are 54 enums and the value can be one of: ACCOUNT, ADDRESS, * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE, * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY, * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING, * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST, * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL, * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE, - * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK, - * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING, - * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, + * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_NOTIFICATION, + * CALL_RECORDING, CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE, * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER, * RECORDING_ADD_ON_RESULT, RECORDING_TRANSCRIPTION, @@ -926,16 +925,15 @@ public interface TwilioEndpointBuilderFactory { * * Path parameter: apiName (required) * What kind of operation to perform - * There are 56 enums and the value can be one of: ACCOUNT, ADDRESS, + * There are 54 enums and the value can be one of: ACCOUNT, ADDRESS, * APPLICATION, AVAILABLE_PHONE_NUMBER_COUNTRY, CALL, CONFERENCE, * CONNECT_APP, INCOMING_PHONE_NUMBER, KEY, MESSAGE, NEW_KEY, * NEW_SIGNING_KEY, NOTIFICATION, OUTGOING_CALLER_ID, QUEUE, RECORDING, * SHORT_CODE, SIGNING_KEY, TOKEN, TRANSCRIPTION, VALIDATION_REQUEST, * ADDRESS_DEPENDENT_PHONE_NUMBER, AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL, * AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE, - * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_FEEDBACK, - * CALL_FEEDBACK_SUMMARY, CALL_NOTIFICATION, CALL_RECORDING, - * CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, + * AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE, CALL_NOTIFICATION, + * CALL_RECORDING, CONFERENCE_PARTICIPANT, INCOMING_PHONE_NUMBER_LOCAL, * INCOMING_PHONE_NUMBER_MOBILE, INCOMING_PHONE_NUMBER_TOLL_FREE, * MESSAGE_FEEDBACK, MESSAGE_MEDIA, QUEUE_MEMBER, * RECORDING_ADD_ON_RESULT, RECORDING_TRANSCRIPTION,