/* Options: Date: 2025-05-04 20:31:30 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ExportPackage.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Export the specified flows into a package */ @Route(Path="/packages", Verbs="GET") @Api(Description="Export the specified flows into a package") public static class ExportPackage implements IReturn { /** * The ID of the account */ @ApiMember(Description="The ID of the account") public String accountId = null; /** * The IDs of the flows to export */ @ApiMember(Description="The IDs of the flows to export") public ArrayList flowIds = null; /** * Include all custom fields */ @ApiMember(Description="Include all custom fields") public Boolean includeAllCustomFields = null; public String getAccountId() { return accountId; } public ExportPackage setAccountId(String value) { this.accountId = value; return this; } public ArrayList getFlowIds() { return flowIds; } public ExportPackage setFlowIds(ArrayList value) { this.flowIds = value; return this; } public Boolean isIncludeAllCustomFields() { return includeAllCustomFields; } public ExportPackage setIncludeAllCustomFields(Boolean value) { this.includeAllCustomFields = value; return this; } private static Object responseType = PackageInfo.class; public Object getResponseType() { return responseType; } } public static class PackageInfo { public ArrayList flows = null; public ArrayList customerFields = null; public ArrayList endpointFields = null; public ArrayList systemFields = null; public ArrayList getFlows() { return flows; } public PackageInfo setFlows(ArrayList value) { this.flows = value; return this; } public ArrayList getCustomerFields() { return customerFields; } public PackageInfo setCustomerFields(ArrayList value) { this.customerFields = value; return this; } public ArrayList getEndpointFields() { return endpointFields; } public PackageInfo setEndpointFields(ArrayList value) { this.endpointFields = value; return this; } public ArrayList getSystemFields() { return systemFields; } public PackageInfo setSystemFields(ArrayList value) { this.systemFields = value; return this; } } public static class Struct extends HashMap { } public static enum UserDataFieldModes { Hidden, ReadOnly, ReadWrite; } public static enum EndpointTypes { PhoneNumber, User, FaxNumber, EmailAddress, Unused1, Unused2, Unused3, Unused4, Unused5, Team, Assistant; } public static enum ValueTypes { NotSpecified, String, Boolean, Number, List, Struct, Transition, Custom, Date, AudioFile, TimeZoneId, PhoneNumber, User, Endpoint, Time, File, FaxNumber, EmailAccount, Customer, Flow, Team, FlowReference, Integration, Assistant; } public static class SystemSettingsField extends DataField { public Value value = null; public Value getValue() { return value; } public SystemSettingsField setValue(Value value) { this.value = value; return this; } } public static class CustomerDataField extends DataField { public Boolean showInSearch = null; public Boolean isShowInSearch() { return showInSearch; } public CustomerDataField setShowInSearch(Boolean value) { this.showInSearch = value; return this; } } public static class EndpointDataField extends DataField { public Boolean showInSearch = null; public Boolean showInLists = null; public EndpointTypes endpointType = null; public Boolean isCallerId = null; public Boolean isKnob = null; public Boolean isShowInSearch() { return showInSearch; } public EndpointDataField setShowInSearch(Boolean value) { this.showInSearch = value; return this; } public Boolean isShowInLists() { return showInLists; } public EndpointDataField setShowInLists(Boolean value) { this.showInLists = value; return this; } public EndpointTypes getEndpointType() { return endpointType; } public EndpointDataField setEndpointType(EndpointTypes value) { this.endpointType = value; return this; } public Boolean getIsCallerId() { return isCallerId; } public EndpointDataField setIsCallerId(Boolean value) { this.isCallerId = value; return this; } public Boolean getIsKnob() { return isKnob; } public EndpointDataField setIsKnob(Boolean value) { this.isKnob = value; return this; } } public static class DataType { public String typeName = null; public ArrayList fields = null; public String getTypeName() { return typeName; } public DataType setTypeName(String value) { this.typeName = value; return this; } public ArrayList getFields() { return fields; } public DataType setFields(ArrayList value) { this.fields = value; return this; } } public static class Value { public Boolean boolValue = null; public String stringValue = null; public Double numberValue = null; public ArrayList listValue = null; public Struct structValue = null; public Boolean isBoolValue() { return boolValue; } public Value setBoolValue(Boolean value) { this.boolValue = value; return this; } public String getStringValue() { return stringValue; } public Value setStringValue(String value) { this.stringValue = value; return this; } public Double getNumberValue() { return numberValue; } public Value setNumberValue(Double value) { this.numberValue = value; return this; } public ArrayList getListValue() { return listValue; } public Value setListValue(ArrayList value) { this.listValue = value; return this; } public Struct getStructValue() { return structValue; } public Value setStructValue(Struct value) { this.structValue = value; return this; } } public static enum UIHints { None, LargeText, InlineForm, Password, InlineStruct; } public static enum DataFieldUniqueness { NotUnique, Unique, UniqueToCustomer; } public static class DataField { public String id = null; public String name = null; public ValueTypes type = null; public UIHints uiHint = null; public String uiTab = null; public Boolean isAsync = null; public Boolean disableBinding = null; public DataType structType = null; public DataType listType = null; public String description = null; public ArrayList possibleValues = null; public Boolean isOutput = null; public String customFieldValuesUrl = null; public Value defaultValue = null; public String transitionNameFormat = null; public DataFieldUniqueness uniqueness = null; public Boolean voiceOnly = null; public String conditionalVisibilityField = null; public String conditionalVisibilityValue = null; public Boolean noEvalTemplate = null; public UserDataFieldModes userMode = null; public Boolean anyValueType = null; public String getId() { return id; } public DataField setId(String value) { this.id = value; return this; } public String getName() { return name; } public DataField setName(String value) { this.name = value; return this; } public ValueTypes getType() { return type; } public DataField setType(ValueTypes value) { this.type = value; return this; } public UIHints getUiHint() { return uiHint; } public DataField setUiHint(UIHints value) { this.uiHint = value; return this; } public String getUiTab() { return uiTab; } public DataField setUiTab(String value) { this.uiTab = value; return this; } public Boolean getIsAsync() { return isAsync; } public DataField setIsAsync(Boolean value) { this.isAsync = value; return this; } public Boolean isDisableBinding() { return disableBinding; } public DataField setDisableBinding(Boolean value) { this.disableBinding = value; return this; } public DataType getStructType() { return structType; } public DataField setStructType(DataType value) { this.structType = value; return this; } public DataType getListType() { return listType; } public DataField setListType(DataType value) { this.listType = value; return this; } public String getDescription() { return description; } public DataField setDescription(String value) { this.description = value; return this; } public ArrayList getPossibleValues() { return possibleValues; } public DataField setPossibleValues(ArrayList value) { this.possibleValues = value; return this; } public Boolean getIsOutput() { return isOutput; } public DataField setIsOutput(Boolean value) { this.isOutput = value; return this; } public String getCustomFieldValuesUrl() { return customFieldValuesUrl; } public DataField setCustomFieldValuesUrl(String value) { this.customFieldValuesUrl = value; return this; } public Value getDefaultValue() { return defaultValue; } public DataField setDefaultValue(Value value) { this.defaultValue = value; return this; } public String getTransitionNameFormat() { return transitionNameFormat; } public DataField setTransitionNameFormat(String value) { this.transitionNameFormat = value; return this; } public DataFieldUniqueness getUniqueness() { return uniqueness; } public DataField setUniqueness(DataFieldUniqueness value) { this.uniqueness = value; return this; } public Boolean isVoiceOnly() { return voiceOnly; } public DataField setVoiceOnly(Boolean value) { this.voiceOnly = value; return this; } public String getConditionalVisibilityField() { return conditionalVisibilityField; } public DataField setConditionalVisibilityField(String value) { this.conditionalVisibilityField = value; return this; } public String getConditionalVisibilityValue() { return conditionalVisibilityValue; } public DataField setConditionalVisibilityValue(String value) { this.conditionalVisibilityValue = value; return this; } public Boolean isNoEvalTemplate() { return noEvalTemplate; } public DataField setNoEvalTemplate(Boolean value) { this.noEvalTemplate = value; return this; } public UserDataFieldModes getUserMode() { return userMode; } public DataField setUserMode(UserDataFieldModes value) { this.userMode = value; return this; } public Boolean isAnyValueType() { return anyValueType; } public DataField setAnyValueType(Boolean value) { this.anyValueType = value; return this; } } public static class FlowInfo extends EntityInfo { /** * The name of this flow */ @ApiMember(Description="The name of this flow") public String name = null; /** * The roles that this flow has */ @ApiMember(Description="The roles that this flow has") public ArrayList roles = null; /** * What this flow does */ @ApiMember(Description="What this flow does") public String description = null; /** * Any notes for this flow */ @ApiMember(Description="Any notes for this flow") public String notes = null; /** * The ID of the account associated with the flow */ @ApiMember(Description="The ID of the account associated with the flow") public String accountId = null; /** * The name of the account associated with the flow */ @ApiMember(Description="The name of the account associated with the flow") public String accountName = null; /** * The ID of the customer this flow is associated with */ @ApiMember(Description="The ID of the customer this flow is associated with") public String customerId = null; /** * The name of the customer this flow is associated with */ @ApiMember(Description="The name of the customer this flow is associated with") public String customerName = null; /** * The breadcrumb to the flow for this endpoint */ @ApiMember(Description="The breadcrumb to the flow for this endpoint") public ArrayList customerBreadcrumb = null; /** * The nodes in this flow */ @ApiMember(Description="The nodes in this flow") public ArrayList nodes = null; /** * The flow's parameters */ @ApiMember(Description="The flow's parameters") public ArrayList parameters = null; /** * The flow's exits */ @ApiMember(Description="The flow's exits") public ArrayList exits = null; /** * The UI data for the flow */ @ApiMember(Description="The UI data for the flow") public FlowUI ui = null; /** * The list of tags for this flow */ @ApiMember(Description="The list of tags for this flow") public ArrayList tags = null; /** * The number of nodes in this flow */ @ApiMember(Description="The number of nodes in this flow") public Integer nodeCount = null; public String getName() { return name; } public FlowInfo setName(String value) { this.name = value; return this; } public ArrayList getRoles() { return roles; } public FlowInfo setRoles(ArrayList value) { this.roles = value; return this; } public String getDescription() { return description; } public FlowInfo setDescription(String value) { this.description = value; return this; } public String getNotes() { return notes; } public FlowInfo setNotes(String value) { this.notes = value; return this; } public String getAccountId() { return accountId; } public FlowInfo setAccountId(String value) { this.accountId = value; return this; } public String getAccountName() { return accountName; } public FlowInfo setAccountName(String value) { this.accountName = value; return this; } public String getCustomerId() { return customerId; } public FlowInfo setCustomerId(String value) { this.customerId = value; return this; } public String getCustomerName() { return customerName; } public FlowInfo setCustomerName(String value) { this.customerName = value; return this; } public ArrayList getCustomerBreadcrumb() { return customerBreadcrumb; } public FlowInfo setCustomerBreadcrumb(ArrayList value) { this.customerBreadcrumb = value; return this; } public ArrayList getNodes() { return nodes; } public FlowInfo setNodes(ArrayList value) { this.nodes = value; return this; } public ArrayList getParameters() { return parameters; } public FlowInfo setParameters(ArrayList value) { this.parameters = value; return this; } public ArrayList getExits() { return exits; } public FlowInfo setExits(ArrayList value) { this.exits = value; return this; } public FlowUI getUi() { return ui; } public FlowInfo setUi(FlowUI value) { this.ui = value; return this; } public ArrayList getTags() { return tags; } public FlowInfo setTags(ArrayList value) { this.tags = value; return this; } public Integer getNodeCount() { return nodeCount; } public FlowInfo setNodeCount(Integer value) { this.nodeCount = value; return this; } } }