Requires any of the roles: | SystemAdministrator, Manager, Customer |
PATCHY | /system/settings |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
abstract class EntityInfo
{
/**
* The ID of the object
*/
// @ApiMember(Description="The ID of the object")
String? id;
/**
* The date the object was created
*/
// @ApiMember(Description="The date the object was created")
String? dateCreated;
/**
* The date the object was last modified
*/
// @ApiMember(Description="The date the object was last modified")
String? dateLastModified;
/**
* The user that created this object
*/
// @ApiMember(Description="The user that created this object")
String? createdBy;
/**
* The user that last modified this object
*/
// @ApiMember(Description="The user that last modified this object")
String? lastModifiedBy;
EntityInfo({this.id,this.dateCreated,this.dateLastModified,this.createdBy,this.lastModifiedBy});
EntityInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
dateCreated = json['dateCreated'];
dateLastModified = json['dateLastModified'];
createdBy = json['createdBy'];
lastModifiedBy = json['lastModifiedBy'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'dateCreated': dateCreated,
'dateLastModified': dateLastModified,
'createdBy': createdBy,
'lastModifiedBy': lastModifiedBy
};
getTypeName() => "EntityInfo";
TypeContext? context = _ctx;
}
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,
}
enum UIHints
{
None,
LargeText,
InlineForm,
Password,
InlineStruct,
}
class DataType implements IConvertible
{
String? typeName;
List<DataField>? fields;
DataType({this.typeName,this.fields});
DataType.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
typeName = json['typeName'];
fields = JsonConverters.fromJson(json['fields'],'List<DataField>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'typeName': typeName,
'fields': JsonConverters.toJson(fields,'List<DataField>',context!)
};
getTypeName() => "DataType";
TypeContext? context = _ctx;
}
class Struct extends Map<String,Value?> implements IConvertible
{
Struct();
Struct.fromJson(Map<String, dynamic> json) : super.fromJson(json);
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
return this;
}
Map<String, dynamic> toJson() => super.toJson();
getTypeName() => "Struct";
TypeContext? context = _ctx;
}
class Value implements IConvertible
{
bool? boolValue;
String? stringValue;
double? numberValue;
List<Struct>? listValue;
Struct? structValue;
Value({this.boolValue,this.stringValue,this.numberValue,this.listValue,this.structValue});
Value.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
boolValue = json['boolValue'];
stringValue = json['stringValue'];
numberValue = JsonConverters.toDouble(json['numberValue']);
listValue = JsonConverters.fromJson(json['listValue'],'List<Struct>',context!);
structValue = JsonConverters.fromJson(json['structValue'],'Struct',context!);
return this;
}
Map<String, dynamic> toJson() => {
'boolValue': boolValue,
'stringValue': stringValue,
'numberValue': numberValue,
'listValue': JsonConverters.toJson(listValue,'List<Struct>',context!),
'structValue': JsonConverters.toJson(structValue,'Struct',context!)
};
getTypeName() => "Value";
TypeContext? context = _ctx;
}
enum DataFieldUniqueness
{
NotUnique,
Unique,
UniqueToCustomer,
}
enum UserDataFieldModes
{
Hidden,
ReadOnly,
ReadWrite,
}
class DataField implements IConvertible
{
String? id;
String? name;
ValueTypes? type;
UIHints? uiHint;
String? uiTab;
bool? isAsync;
bool? disableBinding;
DataType? structType;
DataType? listType;
String? description;
List<String>? possibleValues;
bool? isOutput;
String? customFieldValuesUrl;
Value? defaultValue;
String? transitionNameFormat;
DataFieldUniqueness? uniqueness;
bool? voiceOnly;
String? conditionalVisibilityField;
String? conditionalVisibilityValue;
bool? noEvalTemplate;
UserDataFieldModes? userMode;
bool? anyValueType;
DataField({this.id,this.name,this.type,this.uiHint,this.uiTab,this.isAsync,this.disableBinding,this.structType,this.listType,this.description,this.possibleValues,this.isOutput,this.customFieldValuesUrl,this.defaultValue,this.transitionNameFormat,this.uniqueness,this.voiceOnly,this.conditionalVisibilityField,this.conditionalVisibilityValue,this.noEvalTemplate,this.userMode,this.anyValueType});
DataField.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
type = JsonConverters.fromJson(json['type'],'ValueTypes',context!);
uiHint = JsonConverters.fromJson(json['uiHint'],'UIHints',context!);
uiTab = json['uiTab'];
isAsync = json['isAsync'];
disableBinding = json['disableBinding'];
structType = JsonConverters.fromJson(json['structType'],'DataType',context!);
listType = JsonConverters.fromJson(json['listType'],'DataType',context!);
description = json['description'];
possibleValues = JsonConverters.fromJson(json['possibleValues'],'List<String>',context!);
isOutput = json['isOutput'];
customFieldValuesUrl = json['customFieldValuesUrl'];
defaultValue = JsonConverters.fromJson(json['defaultValue'],'Value',context!);
transitionNameFormat = json['transitionNameFormat'];
uniqueness = JsonConverters.fromJson(json['uniqueness'],'DataFieldUniqueness',context!);
voiceOnly = json['voiceOnly'];
conditionalVisibilityField = json['conditionalVisibilityField'];
conditionalVisibilityValue = json['conditionalVisibilityValue'];
noEvalTemplate = json['noEvalTemplate'];
userMode = JsonConverters.fromJson(json['userMode'],'UserDataFieldModes',context!);
anyValueType = json['anyValueType'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'name': name,
'type': JsonConverters.toJson(type,'ValueTypes',context!),
'uiHint': JsonConverters.toJson(uiHint,'UIHints',context!),
'uiTab': uiTab,
'isAsync': isAsync,
'disableBinding': disableBinding,
'structType': JsonConverters.toJson(structType,'DataType',context!),
'listType': JsonConverters.toJson(listType,'DataType',context!),
'description': description,
'possibleValues': JsonConverters.toJson(possibleValues,'List<String>',context!),
'isOutput': isOutput,
'customFieldValuesUrl': customFieldValuesUrl,
'defaultValue': JsonConverters.toJson(defaultValue,'Value',context!),
'transitionNameFormat': transitionNameFormat,
'uniqueness': JsonConverters.toJson(uniqueness,'DataFieldUniqueness',context!),
'voiceOnly': voiceOnly,
'conditionalVisibilityField': conditionalVisibilityField,
'conditionalVisibilityValue': conditionalVisibilityValue,
'noEvalTemplate': noEvalTemplate,
'userMode': JsonConverters.toJson(userMode,'UserDataFieldModes',context!),
'anyValueType': anyValueType
};
getTypeName() => "DataField";
TypeContext? context = _ctx;
}
class SystemSettingsField extends DataField implements IConvertible
{
Value? value;
SystemSettingsField({this.value});
SystemSettingsField.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
value = JsonConverters.fromJson(json['value'],'Value',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'value': JsonConverters.toJson(value,'Value',context!)
});
getTypeName() => "SystemSettingsField";
TypeContext? context = _ctx;
}
class CustomerDataField extends DataField implements IConvertible
{
bool? showInSearch;
CustomerDataField({this.showInSearch});
CustomerDataField.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
showInSearch = json['showInSearch'];
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'showInSearch': showInSearch
});
getTypeName() => "CustomerDataField";
TypeContext? context = _ctx;
}
enum EndpointTypes
{
PhoneNumber,
User,
FaxNumber,
EmailAddress,
Unused_1,
Unused_2,
Unused_3,
Unused_4,
Unused_5,
Team,
Assistant,
}
class EndpointDataField extends DataField implements IConvertible
{
bool? showInSearch;
bool? showInLists;
EndpointTypes? endpointType;
bool? isCallerId;
bool? isKnob;
EndpointDataField({this.showInSearch,this.showInLists,this.endpointType,this.isCallerId,this.isKnob});
EndpointDataField.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
showInSearch = json['showInSearch'];
showInLists = json['showInLists'];
endpointType = JsonConverters.fromJson(json['endpointType'],'EndpointTypes',context!);
isCallerId = json['isCallerId'];
isKnob = json['isKnob'];
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'showInSearch': showInSearch,
'showInLists': showInLists,
'endpointType': JsonConverters.toJson(endpointType,'EndpointTypes',context!),
'isCallerId': isCallerId,
'isKnob': isKnob
});
getTypeName() => "EndpointDataField";
TypeContext? context = _ctx;
}
class EmailAccount implements IConvertible
{
String? id;
String? server;
String? userName;
int? port;
String? emailAddress;
String? displayName;
String? password;
EmailAccount({this.id,this.server,this.userName,this.port,this.emailAddress,this.displayName,this.password});
EmailAccount.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
server = json['server'];
userName = json['userName'];
port = json['port'];
emailAddress = json['emailAddress'];
displayName = json['displayName'];
password = json['password'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'server': server,
'userName': userName,
'port': port,
'emailAddress': emailAddress,
'displayName': displayName,
'password': password
};
getTypeName() => "EmailAccount";
TypeContext? context = _ctx;
}
enum TagColors
{
Magenta,
Red,
Volcano,
Orange,
Gold,
Lime,
Green,
Cyan,
Blue,
GeekBlue,
Purple,
}
class Tag implements IConvertible
{
String? id;
String? name;
TagColors? color;
Tag({this.id,this.name,this.color});
Tag.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
color = JsonConverters.fromJson(json['color'],'TagColors',context!);
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'name': name,
'color': JsonConverters.toJson(color,'TagColors',context!)
};
getTypeName() => "Tag";
TypeContext? context = _ctx;
}
enum TwilioSipRegions
{
NorthAmericaVirginia,
NorthAmericaOregon,
EuropeIreland,
EuropeFrankfurt,
AsiaPacificSingapore,
AsiaPacificTokyo,
AsiaPacificSydney,
SouthAmericaSanPaolo,
}
class SystemSettingsInfo extends EntityInfo implements IConvertible
{
/**
* Use to override the system time for testing
*/
// @ApiMember(Description="Use to override the system time for testing")
bool? overrideSystemTime;
/**
* The system override time zone
*/
// @ApiMember(Description="The system override time zone")
String? overrideSystemTimeZoneId;
/**
* The system override date/time
*/
// @ApiMember(Description="The system override date/time")
String? overrideSystemDateTime;
/**
* The list of system settings fields
*/
// @ApiMember(Description="The list of system settings fields")
List<SystemSettingsField>? systemFields;
/**
* The list of customer metadata fields
*/
// @ApiMember(Description="The list of customer metadata fields")
List<CustomerDataField>? customerFields;
/**
* The list of endpoint metadata fields
*/
// @ApiMember(Description="The list of endpoint metadata fields")
List<EndpointDataField>? endpointFields;
/**
* The list of email accounts
*/
// @ApiMember(Description="The list of email accounts")
List<EmailAccount>? emailAccounts;
/**
* The list of tags in the system
*/
// @ApiMember(Description="The list of tags in the system")
List<Tag>? tags;
/**
* Documentation for the account
*/
// @ApiMember(Description="Documentation for the account")
String? documentation;
/**
* The number of days recordings are retained
*/
// @ApiMember(Description="The number of days recordings are retained")
int? recordingRetentionDays;
/**
* Enable the SIP refer beta
*/
// @ApiMember(Description="Enable the SIP refer beta")
bool? enableSipRefer;
/**
* The number of seconds after which we automatically logoff a not ready agent
*/
// @ApiMember(Description="The number of seconds after which we automatically logoff a not ready agent")
int? autoAgentLogoffSeconds;
/**
* The default SIP region for new devices
*/
// @ApiMember(Description="The default SIP region for new devices")
TwilioSipRegions? defaultSipRegion;
SystemSettingsInfo({this.overrideSystemTime,this.overrideSystemTimeZoneId,this.overrideSystemDateTime,this.systemFields,this.customerFields,this.endpointFields,this.emailAccounts,this.tags,this.documentation,this.recordingRetentionDays,this.enableSipRefer,this.autoAgentLogoffSeconds,this.defaultSipRegion});
SystemSettingsInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
overrideSystemTime = json['overrideSystemTime'];
overrideSystemTimeZoneId = json['overrideSystemTimeZoneId'];
overrideSystemDateTime = json['overrideSystemDateTime'];
systemFields = JsonConverters.fromJson(json['systemFields'],'List<SystemSettingsField>',context!);
customerFields = JsonConverters.fromJson(json['customerFields'],'List<CustomerDataField>',context!);
endpointFields = JsonConverters.fromJson(json['endpointFields'],'List<EndpointDataField>',context!);
emailAccounts = JsonConverters.fromJson(json['emailAccounts'],'List<EmailAccount>',context!);
tags = JsonConverters.fromJson(json['tags'],'List<Tag>',context!);
documentation = json['documentation'];
recordingRetentionDays = json['recordingRetentionDays'];
enableSipRefer = json['enableSipRefer'];
autoAgentLogoffSeconds = json['autoAgentLogoffSeconds'];
defaultSipRegion = JsonConverters.fromJson(json['defaultSipRegion'],'TwilioSipRegions',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'overrideSystemTime': overrideSystemTime,
'overrideSystemTimeZoneId': overrideSystemTimeZoneId,
'overrideSystemDateTime': overrideSystemDateTime,
'systemFields': JsonConverters.toJson(systemFields,'List<SystemSettingsField>',context!),
'customerFields': JsonConverters.toJson(customerFields,'List<CustomerDataField>',context!),
'endpointFields': JsonConverters.toJson(endpointFields,'List<EndpointDataField>',context!),
'emailAccounts': JsonConverters.toJson(emailAccounts,'List<EmailAccount>',context!),
'tags': JsonConverters.toJson(tags,'List<Tag>',context!),
'documentation': documentation,
'recordingRetentionDays': recordingRetentionDays,
'enableSipRefer': enableSipRefer,
'autoAgentLogoffSeconds': autoAgentLogoffSeconds,
'defaultSipRegion': JsonConverters.toJson(defaultSipRegion,'TwilioSipRegions',context!)
});
getTypeName() => "SystemSettingsInfo";
TypeContext? context = _ctx;
}
/**
* Updates the system settings
*/
// @Api(Description="Updates the system settings")
class PatchSystemSettings implements IPatch, IConvertible
{
/**
* Use to override the system time for testing
*/
// @ApiMember(Description="Use to override the system time for testing")
bool? overrideSystemTime;
/**
* The system override time zone
*/
// @ApiMember(Description="The system override time zone")
String? overrideSystemTimeZoneId;
/**
* The system override date/time
*/
// @ApiMember(Description="The system override date/time")
String? overrideSystemDateTime;
/**
* The account ID of the system settings
*/
// @ApiMember(Description="The account ID of the system settings")
String? accountId;
/**
* The list of system settings fields
*/
// @ApiMember(Description="The list of system settings fields")
List<SystemSettingsField>? systemFields;
/**
* The list of customer fields
*/
// @ApiMember(Description="The list of customer fields")
List<CustomerDataField>? customerFields;
/**
* The list of endpoint fields
*/
// @ApiMember(Description="The list of endpoint fields")
List<EndpointDataField>? endpointFields;
/**
* The list of email accounts
*/
// @ApiMember(Description="The list of email accounts")
List<EmailAccount>? emailAccounts;
/**
* The list of tags
*/
// @ApiMember(Description="The list of tags")
List<Tag>? tags;
/**
* Documentation for the account
*/
// @ApiMember(Description="Documentation for the account")
String? documentation;
/**
* The number of days recordings are retained
*/
// @ApiMember(Description="The number of days recordings are retained")
int? recordingRetentionDays;
/**
* Enable the SIP refer beta
*/
// @ApiMember(Description="Enable the SIP refer beta")
bool? enableSipRefer;
/**
* The number of seconds after which we automatically logoff a not ready agent
*/
// @ApiMember(Description="The number of seconds after which we automatically logoff a not ready agent")
int? autoAgentLogoffSeconds;
/**
* The default SIP region for new devices
*/
// @ApiMember(Description="The default SIP region for new devices")
TwilioSipRegions? defaultSipRegion;
PatchSystemSettings({this.overrideSystemTime,this.overrideSystemTimeZoneId,this.overrideSystemDateTime,this.accountId,this.systemFields,this.customerFields,this.endpointFields,this.emailAccounts,this.tags,this.documentation,this.recordingRetentionDays,this.enableSipRefer,this.autoAgentLogoffSeconds,this.defaultSipRegion});
PatchSystemSettings.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
overrideSystemTime = json['overrideSystemTime'];
overrideSystemTimeZoneId = json['overrideSystemTimeZoneId'];
overrideSystemDateTime = json['overrideSystemDateTime'];
accountId = json['accountId'];
systemFields = JsonConverters.fromJson(json['systemFields'],'List<SystemSettingsField>',context!);
customerFields = JsonConverters.fromJson(json['customerFields'],'List<CustomerDataField>',context!);
endpointFields = JsonConverters.fromJson(json['endpointFields'],'List<EndpointDataField>',context!);
emailAccounts = JsonConverters.fromJson(json['emailAccounts'],'List<EmailAccount>',context!);
tags = JsonConverters.fromJson(json['tags'],'List<Tag>',context!);
documentation = json['documentation'];
recordingRetentionDays = json['recordingRetentionDays'];
enableSipRefer = json['enableSipRefer'];
autoAgentLogoffSeconds = json['autoAgentLogoffSeconds'];
defaultSipRegion = JsonConverters.fromJson(json['defaultSipRegion'],'TwilioSipRegions',context!);
return this;
}
Map<String, dynamic> toJson() => {
'overrideSystemTime': overrideSystemTime,
'overrideSystemTimeZoneId': overrideSystemTimeZoneId,
'overrideSystemDateTime': overrideSystemDateTime,
'accountId': accountId,
'systemFields': JsonConverters.toJson(systemFields,'List<SystemSettingsField>',context!),
'customerFields': JsonConverters.toJson(customerFields,'List<CustomerDataField>',context!),
'endpointFields': JsonConverters.toJson(endpointFields,'List<EndpointDataField>',context!),
'emailAccounts': JsonConverters.toJson(emailAccounts,'List<EmailAccount>',context!),
'tags': JsonConverters.toJson(tags,'List<Tag>',context!),
'documentation': documentation,
'recordingRetentionDays': recordingRetentionDays,
'enableSipRefer': enableSipRefer,
'autoAgentLogoffSeconds': autoAgentLogoffSeconds,
'defaultSipRegion': JsonConverters.toJson(defaultSipRegion,'TwilioSipRegions',context!)
};
getTypeName() => "PatchSystemSettings";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: <String, TypeInfo> {
'EntityInfo': TypeInfo(TypeOf.AbstractClass),
'ValueTypes': TypeInfo(TypeOf.Enum, enumValues:ValueTypes.values),
'UIHints': TypeInfo(TypeOf.Enum, enumValues:UIHints.values),
'DataType': TypeInfo(TypeOf.Class, create:() => DataType()),
'List<DataField>': TypeInfo(TypeOf.Class, create:() => <DataField>[]),
'DataField': TypeInfo(TypeOf.Class, create:() => DataField()),
'Struct': TypeInfo(TypeOf.Class, create:() => Struct()),
'Value': TypeInfo(TypeOf.Class, create:() => Value()),
'List<Struct>': TypeInfo(TypeOf.Class, create:() => <Struct>[]),
'DataFieldUniqueness': TypeInfo(TypeOf.Enum, enumValues:DataFieldUniqueness.values),
'UserDataFieldModes': TypeInfo(TypeOf.Enum, enumValues:UserDataFieldModes.values),
'SystemSettingsField': TypeInfo(TypeOf.Class, create:() => SystemSettingsField()),
'CustomerDataField': TypeInfo(TypeOf.Class, create:() => CustomerDataField()),
'EndpointTypes': TypeInfo(TypeOf.Enum, enumValues:EndpointTypes.values),
'EndpointDataField': TypeInfo(TypeOf.Class, create:() => EndpointDataField()),
'EmailAccount': TypeInfo(TypeOf.Class, create:() => EmailAccount()),
'TagColors': TypeInfo(TypeOf.Enum, enumValues:TagColors.values),
'Tag': TypeInfo(TypeOf.Class, create:() => Tag()),
'TwilioSipRegions': TypeInfo(TypeOf.Enum, enumValues:TwilioSipRegions.values),
'SystemSettingsInfo': TypeInfo(TypeOf.Class, create:() => SystemSettingsInfo()),
'List<SystemSettingsField>': TypeInfo(TypeOf.Class, create:() => <SystemSettingsField>[]),
'List<CustomerDataField>': TypeInfo(TypeOf.Class, create:() => <CustomerDataField>[]),
'List<EndpointDataField>': TypeInfo(TypeOf.Class, create:() => <EndpointDataField>[]),
'List<EmailAccount>': TypeInfo(TypeOf.Class, create:() => <EmailAccount>[]),
'List<Tag>': TypeInfo(TypeOf.Class, create:() => <Tag>[]),
'PatchSystemSettings': TypeInfo(TypeOf.Class, create:() => PatchSystemSettings()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /system/settings HTTP/1.1
Host: team.evovoice.io
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
overrideSystemTime: False,
overrideSystemTimeZoneId: String,
overrideSystemDateTime: String,
accountId: String,
systemFields:
[
{
value:
{
boolValue: False,
stringValue: String,
numberValue: 0,
listValue:
[
null
]
},
id: String,
name: String,
type: NotSpecified,
uiHint: None,
uiTab: String,
isAsync: False,
disableBinding: False,
description: String,
possibleValues:
[
String
],
isOutput: False,
customFieldValuesUrl: String,
defaultValue:
{
boolValue: False,
stringValue: String,
numberValue: 0,
listValue:
[
null
]
},
transitionNameFormat: String,
uniqueness: NotUnique,
voiceOnly: False,
conditionalVisibilityField: String,
conditionalVisibilityValue: String,
noEvalTemplate: False,
userMode: Hidden,
anyValueType: False
}
],
customerFields:
[
{
showInSearch: False,
id: String,
name: String,
type: NotSpecified,
uiHint: None,
uiTab: String,
isAsync: False,
disableBinding: False,
description: String,
possibleValues:
[
String
],
isOutput: False,
customFieldValuesUrl: String,
defaultValue:
{
boolValue: False,
stringValue: String,
numberValue: 0,
listValue:
[
null
]
},
transitionNameFormat: String,
uniqueness: NotUnique,
voiceOnly: False,
conditionalVisibilityField: String,
conditionalVisibilityValue: String,
noEvalTemplate: False,
userMode: Hidden,
anyValueType: False
}
],
endpointFields:
[
{
showInSearch: False,
showInLists: False,
endpointType: PhoneNumber,
isCallerId: False,
isKnob: False,
id: String,
name: String,
type: NotSpecified,
uiHint: None,
uiTab: String,
isAsync: False,
disableBinding: False,
description: String,
possibleValues:
[
String
],
isOutput: False,
customFieldValuesUrl: String,
defaultValue:
{
boolValue: False,
stringValue: String,
numberValue: 0,
listValue:
[
null
]
},
transitionNameFormat: String,
uniqueness: NotUnique,
voiceOnly: False,
conditionalVisibilityField: String,
conditionalVisibilityValue: String,
noEvalTemplate: False,
userMode: Hidden,
anyValueType: False
}
],
emailAccounts:
[
{
id: String,
server: String,
userName: String,
port: 0,
emailAddress: String,
displayName: String,
password: String
}
],
tags:
[
{
id: String,
name: String,
color: Magenta
}
],
documentation: String,
recordingRetentionDays: 0,
enableSipRefer: False,
autoAgentLogoffSeconds: 0,
defaultSipRegion: NorthAmericaVirginia
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { overrideSystemTime: False, overrideSystemTimeZoneId: String, overrideSystemDateTime: String, systemFields: [ { value: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ null ] }, id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ null ] }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ], customerFields: [ { showInSearch: False, id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ null ] }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ], endpointFields: [ { showInSearch: False, showInLists: False, endpointType: PhoneNumber, isCallerId: False, isKnob: False, id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ null ] }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ], emailAccounts: [ { id: String, server: String, userName: String, port: 0, emailAddress: String, displayName: String, password: String } ], tags: [ { id: String, name: String, color: Magenta } ], documentation: String, recordingRetentionDays: 0, enableSipRefer: False, autoAgentLogoffSeconds: 0, defaultSipRegion: NorthAmericaVirginia, id: String, dateCreated: String, dateLastModified: String, createdBy: String, lastModifiedBy: String }