/**
* BoldSign API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
import { FormField } from './formField';
import { PhoneNumber } from './phoneNumber';
import { RecipientNotificationSettings } from './recipientNotificationSettings';
export class TemplateRole {
'index': number;
'name'?: string | null;
'defaultSignerName'?: string | null;
'defaultSignerEmail'?: string | null;
'signerOrder'?: number;
'signerType'?: TemplateRole.SignerTypeEnum;
'hostEmail'?: string | null;
/**
*
Description:
- 0 - None
- 1 - English
- 2 - Spanish
- 3 - German
- 4 - French
- 5 - Romanian
- 6 - Norwegian
- 7 - Bulgarian
- 8 - Italian
- 9 - Danish
- 10 - Polish
- 11 - Portuguese
- 12 - Czech
- 13 - Dutch
- 14 - Swedish
- 15 - Russian
- 16 - Japanese
- 17 - Thai
- 18 - SimplifiedChinese
- 19 - TraditionalChinese
- 20 - Korean
*/
'language'?: TemplateRole.LanguageEnum;
'locale'?: TemplateRole.LocaleEnum;
'signType'?: TemplateRole.SignTypeEnum;
'defaultGroupId'?: string | null;
'imposeAuthentication'?: TemplateRole.ImposeAuthenticationEnum;
'phoneNumber'?: PhoneNumber;
'deliveryMode'?: TemplateRole.DeliveryModeEnum;
'allowFieldConfiguration'?: boolean;
'formFields'?: Array | null;
'allowRoleEdit'?: boolean;
'allowRoleDelete'?: boolean;
'recipientNotificationSettings'?: RecipientNotificationSettings;
'enableQes'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "index",
"baseName": "index",
"type": "number"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "defaultSignerName",
"baseName": "defaultSignerName",
"type": "string"
},
{
"name": "defaultSignerEmail",
"baseName": "defaultSignerEmail",
"type": "string"
},
{
"name": "signerOrder",
"baseName": "signerOrder",
"type": "number"
},
{
"name": "signerType",
"baseName": "signerType",
"type": "TemplateRole.SignerTypeEnum"
},
{
"name": "hostEmail",
"baseName": "hostEmail",
"type": "string"
},
{
"name": "language",
"baseName": "language",
"type": "TemplateRole.LanguageEnum"
},
{
"name": "locale",
"baseName": "locale",
"type": "TemplateRole.LocaleEnum"
},
{
"name": "signType",
"baseName": "signType",
"type": "TemplateRole.SignTypeEnum"
},
{
"name": "defaultGroupId",
"baseName": "defaultGroupId",
"type": "string"
},
{
"name": "imposeAuthentication",
"baseName": "imposeAuthentication",
"type": "TemplateRole.ImposeAuthenticationEnum"
},
{
"name": "phoneNumber",
"baseName": "phoneNumber",
"type": "PhoneNumber"
},
{
"name": "deliveryMode",
"baseName": "deliveryMode",
"type": "TemplateRole.DeliveryModeEnum"
},
{
"name": "allowFieldConfiguration",
"baseName": "allowFieldConfiguration",
"type": "boolean"
},
{
"name": "formFields",
"baseName": "formFields",
"type": "Array"
},
{
"name": "allowRoleEdit",
"baseName": "allowRoleEdit",
"type": "boolean"
},
{
"name": "allowRoleDelete",
"baseName": "allowRoleDelete",
"type": "boolean"
},
{
"name": "recipientNotificationSettings",
"baseName": "recipientNotificationSettings",
"type": "RecipientNotificationSettings"
},
{
"name": "enableQes",
"baseName": "enableQes",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return TemplateRole.attributeTypeMap;
}
}
export namespace TemplateRole {
export enum SignerTypeEnum {
Signer = 'Signer',
Reviewer = 'Reviewer',
InPersonSigner = 'InPersonSigner'
}
export enum LanguageEnum {
NUMBER_0 = 0,
NUMBER_1 = 1,
NUMBER_2 = 2,
NUMBER_3 = 3,
NUMBER_4 = 4,
NUMBER_5 = 5,
NUMBER_6 = 6,
NUMBER_7 = 7,
NUMBER_8 = 8,
NUMBER_9 = 9,
NUMBER_10 = 10,
NUMBER_11 = 11,
NUMBER_12 = 12,
NUMBER_13 = 13,
NUMBER_14 = 14,
NUMBER_15 = 15,
NUMBER_16 = 16,
NUMBER_17 = 17,
NUMBER_18 = 18,
NUMBER_19 = 19,
NUMBER_20 = 20
}
export enum LocaleEnum {
En = 'EN',
No = 'NO',
Fr = 'FR',
De = 'DE',
Es = 'ES',
Bg = 'BG',
Cs = 'CS',
Da = 'DA',
It = 'IT',
Nl = 'NL',
Pl = 'PL',
Pt = 'PT',
Ro = 'RO',
Ru = 'RU',
Sv = 'SV',
Default = 'Default',
Ja = 'JA',
Th = 'TH',
ZhCn = 'ZH_CN',
ZhTw = 'ZH_TW',
Ko = 'KO'
}
export enum SignTypeEnum {
Single = 'Single',
Group = 'Group'
}
export enum ImposeAuthenticationEnum {
None = 'None',
EmailOtp = 'EmailOTP',
AccessCode = 'AccessCode',
Smsotp = 'SMSOTP',
IdVerification = 'IdVerification',
Kba = 'KBA'
}
export enum DeliveryModeEnum {
Email = 'Email',
Sms = 'SMS',
EmailAndSms = 'EmailAndSMS',
WhatsApp = 'WhatsApp'
}
}