Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:

- name: Publish to Maven Central
env:
GHA_TAG: "refs/tags/v14.0.1" # for setMavenVersion_gha
GHA_TAG: "refs/tags/v14.0.2" # for setMavenVersion_gha
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_KEYNAME: ${{ secrets.SIGNING_KEY }}
Expand All @@ -109,7 +109,7 @@ jobs:
GHA_BUILD_NUMBER: ${{ github.run_number }}
GHA_JOB_NUMBER: ${{ github.job_number }}
GHA_COMMIT: ${{ github.sha }}
GHA_TAG: "refs/tags/v14.0.1" # for setMavenVersion_gha
GHA_TAG: "refs/tags/v14.0.2" # for setMavenVersion_gha
run: |
build/setMavenVersion_gha.sh
mvn clean javadoc:aggregate $MVN_ARGS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/*
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/

package com.ibm.watson.assistant.v2.model;

import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;

/** ClientAction. */
public class ClientAction extends GenericModel {

/** The skill that is requesting the action. Included only if **type**=`client`. */
public interface Skill {
/** main skill. */
String MAIN_SKILL = "main skill";
/** actions skill. */
String ACTIONS_SKILL = "actions skill";
}

protected String name;

@SerializedName("result_variable")
protected String resultVariable;

protected String type;
protected String skill;
protected ClientActionParameters parameters;

protected ClientAction() {}

/**
* Gets the name.
*
* <p>The name of the client action.
*
* @return the name
*/
public String getName() {
return name;
}

/**
* Gets the resultVariable.
*
* @return the resultVariable
*/
public String getResultVariable() {
return resultVariable;
}

/**
* Gets the type.
*
* @return the type
*/
public String getType() {
return type;
}

/**
* Gets the skill.
*
* <p>The skill that is requesting the action. Included only if **type**=`client`.
*
* @return the skill
*/
public String getSkill() {
return skill;
}

/**
* Gets the parameters.
*
* @return the parameters
*/
public ClientActionParameters getParameters() {
return parameters;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/

package com.ibm.watson.assistant.v2.model;

import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;

/** ClientActionParameters. */
public class ClientActionParameters extends GenericModel {

@SerializedName("account_id")
protected String accountId;

protected String hash;
protected String alias;

protected ClientActionParameters() {}

/**
* Gets the accountId.
*
* @return the accountId
*/
public String getAccountId() {
return accountId;
}

/**
* Gets the hash.
*
* @return the hash
*/
public String getHash() {
return hash;
}

/**
* Gets the alias.
*
* @return the alias
*/
public String getAlias() {
return alias;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;
import java.util.List;
import java.util.Map;

/**
Expand All @@ -25,7 +26,13 @@
* MessageOutputDebugTurnEventTurnEventStepVisited -
* MessageOutputDebugTurnEventTurnEventStepAnswered -
* MessageOutputDebugTurnEventTurnEventHandlerVisited - MessageOutputDebugTurnEventTurnEventCallout
* - MessageOutputDebugTurnEventTurnEventSearch - MessageOutputDebugTurnEventTurnEventNodeVisited
* - MessageOutputDebugTurnEventTurnEventSearch - MessageOutputDebugTurnEventTurnEventNodeVisited -
* MessageOutputDebugTurnEventTurnEventConversationalSearchEnd -
* MessageOutputDebugTurnEventTurnEventManualRoute -
* MessageOutputDebugTurnEventTurnEventTopicSwitchDenied -
* MessageOutputDebugTurnEventTurnEventActionRoutingDenied -
* MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied -
* MessageOutputDebugTurnEventTurnEventClientActions
*/
public class MessageOutputDebugTurnEvent extends GenericModel {
@SuppressWarnings("unused")
Expand All @@ -47,7 +54,19 @@ public class MessageOutputDebugTurnEvent extends GenericModel {
discriminatorMapping.put("callout", MessageOutputDebugTurnEventTurnEventCallout.class);
discriminatorMapping.put("search", MessageOutputDebugTurnEventTurnEventSearch.class);
discriminatorMapping.put("node_visited", MessageOutputDebugTurnEventTurnEventNodeVisited.class);
discriminatorMapping.put("conversational_search_end", MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.class);
discriminatorMapping.put(
"conversational_search_end",
MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.class);
discriminatorMapping.put("manual_route", MessageOutputDebugTurnEventTurnEventManualRoute.class);
discriminatorMapping.put(
"topic_switch_denied", MessageOutputDebugTurnEventTurnEventTopicSwitchDenied.class);
discriminatorMapping.put(
"action_routing_denied", MessageOutputDebugTurnEventTurnEventActionRoutingDenied.class);
discriminatorMapping.put(
"suggestion_intents_denied",
MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied.class);
discriminatorMapping.put(
"client_actions", MessageOutputDebugTurnEventTurnEventClientActions.class);
}
/** The type of condition (if any) that is defined for the action. */
public interface ConditionType {
Expand Down Expand Up @@ -102,6 +121,14 @@ public interface Reason {

protected Boolean prompted;
protected TurnEventCalloutCallout callout;
@SerializedName("route_name")
protected String routeName;

@SerializedName("intents_denied")
protected List<RuntimeIntent> intentsDenied;

@SerializedName("client_actions")
protected List<ClientAction> clientActions;

protected MessageOutputDebugTurnEvent() {}

Expand Down Expand Up @@ -203,4 +230,37 @@ public Boolean isPrompted() {
public TurnEventCalloutCallout getCallout() {
return callout;
}

/**
* Gets the routeName.
*
* <p>The name of the route.
*
* @return the routeName
*/
public String getRouteName() {
return routeName;
}

/**
* Gets the intentsDenied.
*
* <p>An array of denied intents.
*
* @return the intentsDenied
*/
public List<RuntimeIntent> getIntentsDenied() {
return intentsDenied;
}

/**
* Gets the clientActions.
*
* <p>An array of client actions.
*
* @return the clientActions
*/
public List<ClientAction> getClientActions() {
return clientActions;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/

package com.ibm.watson.assistant.v2.model;

/** MessageOutputDebugTurnEventTurnEventActionRoutingDenied. */
public class MessageOutputDebugTurnEventTurnEventActionRoutingDenied
extends MessageOutputDebugTurnEvent {

/** The type of condition (if any) that is defined for the action. */
public interface ConditionType {
/** user_defined. */
String USER_DEFINED = "user_defined";
/** welcome. */
String WELCOME = "welcome";
/** anything_else. */
String ANYTHING_ELSE = "anything_else";
}

/** The reason the action was visited. */
public interface Reason {
/** action_conditions_failed. */
String ACTION_CONDITIONS_FAILED = "action_conditions_failed";
}

protected TurnEventActionSource source;

protected MessageOutputDebugTurnEventTurnEventActionRoutingDenied() {}

/**
* Gets the source.
*
* @return the source
*/
public TurnEventActionSource getSource() {
return source;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/

package com.ibm.watson.assistant.v2.model;

/** MessageOutputDebugTurnEventTurnEventClientActions. */
public class MessageOutputDebugTurnEventTurnEventClientActions extends MessageOutputDebugTurnEvent {

protected TurnEventStepSource source;

protected MessageOutputDebugTurnEventTurnEventClientActions() {}

/**
* Gets the source.
*
* @return the source
*/
public TurnEventStepSource getSource() {
return source;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,25 @@
* specific language governing permissions and limitations under the License.
*/

package com.ibm.watson.assistant.v2.model;
package com.ibm.watson.assistant.v2.model;

/** MessageOutputDebugTurnEventTurnEventActionVisited. */
public class MessageOutputDebugTurnEventTurnEventConversationalSearchEnd extends MessageOutputDebugTurnEvent {

/** The type of condition (if any) that is defined for the action. */
public interface ConditionType {
/** user_defined. */
String USER_DEFINED = "user_defined";
/** welcome. */
String WELCOME = "welcome";
/** anything_else. */
String ANYTHING_ELSE = "anything_else";
}

protected TurnEventActionSource source;
/** MessageOutputDebugTurnEventTurnEventConversationalSearchEnd. */
public class MessageOutputDebugTurnEventTurnEventConversationalSearchEnd
extends MessageOutputDebugTurnEvent {

/** The type of condition (if any) that is defined for the action. */
public interface ConditionType {
/** user_defined. */
String USER_DEFINED = "user_defined";
/** welcome. */
String WELCOME = "welcome";
/** anything_else. */
String ANYTHING_ELSE = "anything_else";
}

protected MessageOutputDebugTurnEventTurnEventConversationalSearchEnd() {}
protected TurnEventActionSource source;

protected MessageOutputDebugTurnEventTurnEventConversationalSearchEnd() {}

/**
* Gets the source.
Expand All @@ -38,5 +39,4 @@ protected MessageOutputDebugTurnEventTurnEventConversationalSearchEnd() {}
public TurnEventActionSource getSource() {
return source;
}
}

}
Loading