All Verbs | /portal/system-settings |
---|
export class NodeParameterMap
{
[key:string] : NodeParameter;
public constructor(init?: Partial<NodeParameterMap>) { (Object as any).assign(this, init); }
}
export enum ValueTypes
{
NotSpecified = 'NotSpecified',
String = 'String',
Boolean = 'Boolean',
Number = 'Number',
List = 'List',
Struct = 'Struct',
Transition = 'Transition',
Custom = 'Custom',
Date = 'Date',
AudioFile = 'AudioFile',
TimeZoneId = 'TimeZoneId',
PhoneNumber = 'PhoneNumber',
User = 'User',
Endpoint = 'Endpoint',
Time = 'Time',
File = 'File',
FaxNumber = 'FaxNumber',
EmailAccount = 'EmailAccount',
Customer = 'Customer',
Flow = 'Flow',
Team = 'Team',
FlowReference = 'FlowReference',
Integration = 'Integration',
}
export enum UIHints
{
None = 'None',
LargeText = 'LargeText',
InlineForm = 'InlineForm',
Password = 'Password',
InlineStruct = 'InlineStruct',
}
export class DataType
{
public typeName?: string;
public fields?: DataField[];
public constructor(init?: Partial<DataType>) { (Object as any).assign(this, init); }
}
export class Struct
{
public constructor(init?: Partial<Struct>) { (Object as any).assign(this, init); }
}
export class Value
{
public boolValue?: boolean;
public stringValue?: string;
public numberValue?: number;
public listValue?: Struct[];
public structValue?: Struct;
public constructor(init?: Partial<Value>) { (Object as any).assign(this, init); }
}
export enum DataFieldUniqueness
{
NotUnique = 'NotUnique',
Unique = 'Unique',
UniqueToCustomer = 'UniqueToCustomer',
}
export enum UserDataFieldModes
{
Hidden = 'Hidden',
ReadOnly = 'ReadOnly',
ReadWrite = 'ReadWrite',
}
export class DataField
{
public id?: string;
public name?: string;
public type?: ValueTypes;
public uiHint?: UIHints;
public uiTab?: string;
public isAsync?: boolean;
public disableBinding?: boolean;
public structType?: DataType;
public listType?: DataType;
public description?: string;
public possibleValues?: string[];
public isOutput?: boolean;
public customFieldValuesUrl?: string;
public defaultValue?: Value;
public transitionNameFormat?: string;
public uniqueness?: DataFieldUniqueness;
public voiceOnly?: boolean;
public conditionalVisibilityField?: string;
public conditionalVisibilityValue?: string;
public noEvalTemplate?: boolean;
public userMode?: UserDataFieldModes;
public anyValueType?: boolean;
public constructor(init?: Partial<DataField>) { (Object as any).assign(this, init); }
}
export enum EndpointTypes
{
PhoneNumber = 'PhoneNumber',
User = 'User',
FaxNumber = 'FaxNumber',
EmailAddress = 'EmailAddress',
Unused_1 = 'Unused_1',
Unused_2 = 'Unused_2',
Unused_3 = 'Unused_3',
Unused_4 = 'Unused_4',
Unused_5 = 'Unused_5',
Team = 'Team',
}
export class EndpointDataField extends DataField
{
public showInSearch?: boolean;
public showInLists?: boolean;
public endpointType?: EndpointTypes;
public isCallerId?: boolean;
public isKnob?: boolean;
public constructor(init?: Partial<EndpointDataField>) { super(init); (Object as any).assign(this, init); }
}
export class AppSystemSettingsInfo
{
public endpointFields?: EndpointDataField[];
/**
* Is this customer a HostedSuite customer?
*/
// @ApiMember(Description="Is this customer a HostedSuite customer?")
public isHostedSuiteCustomer?: boolean;
/**
* The customer's time zone
*/
// @ApiMember(Description="The customer's time zone")
public customerTimeZoneId?: string;
public constructor(init?: Partial<AppSystemSettingsInfo>) { (Object as any).assign(this, init); }
}
export class AppGetSystemSettings
{
public accountId?: string;
public customerId?: string;
public constructor(init?: Partial<AppGetSystemSettings>) { (Object as any).assign(this, init); }
}
TypeScript AppGetSystemSettings DTOs
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 /portal/system-settings HTTP/1.1
Host: evovoice.io
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
accountId: String,
customerId: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { 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, structType: { typeName: String, fields: [ { id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, structType: { typeName: String, fields: [ { id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, structType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, listType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, listType: { typeName: String, fields: [ { id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, structType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, listType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, listType: { typeName: String, fields: [ { id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, structType: { typeName: String, fields: [ { id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, structType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, listType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, listType: { typeName: String, fields: [ { id: String, name: String, type: NotSpecified, uiHint: None, uiTab: String, isAsync: False, disableBinding: False, structType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, listType: { typeName: String, fields: [ { 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: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ] }, description: String, possibleValues: [ String ], isOutput: False, customFieldValuesUrl: String, defaultValue: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } ], structValue: { String: { boolValue: False, stringValue: String, numberValue: 0, listValue: [ { } ], structValue: {} } } } } }, transitionNameFormat: String, uniqueness: NotUnique, voiceOnly: False, conditionalVisibilityField: String, conditionalVisibilityValue: String, noEvalTemplate: False, userMode: Hidden, anyValueType: False } ], isHostedSuiteCustomer: False, customerTimeZoneId: String }