/* Options: Date: 2025-05-04 23:51:07 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ImportSpreadsheet.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CustomerInfo extends EntityInfo implements IConvertible { /** * The ID of the account associated with this customer */ // @ApiMember(Description="The ID of the account associated with this customer") String? accountId; /** * The parent customer ID for this customer */ // @ApiMember(Description="The parent customer ID for this customer") String? parentCustomerId; /** * The breadcrumb to this customer */ // @ApiMember(Description="The breadcrumb to this customer") List? breadcrumb; /** * The name of the account associated with this customer */ // @ApiMember(Description="The name of the account associated with this customer") String? accountName; /** * Is this customer staging or production? */ // @ApiMember(Description="Is this customer staging or production?") bool? isStaging; /** * The name of the company */ // @ApiMember(Description="The name of the company") String? name; /** * The reference ID for this company */ // @ApiMember(Description="The reference ID for this company") String? referenceId; /** * This customer's data values */ // @ApiMember(Description="This customer's data values") Struct? data; /** * The list of tags for this customer */ // @ApiMember(Description="The list of tags for this customer") List? tags; /** * This customer's schedule */ // @ApiMember(Description="This customer's schedule") Schedule? schedule; /** * Integration data for this customer */ // @ApiMember(Description="Integration data for this customer") EntityIntegrationData? integrationData; /** * Override this customer's billing settings? Otherwise inherits from parent */ // @ApiMember(Description="Override this customer's billing settings? Otherwise inherits from parent") bool? overrideBillingSettings; /** * Billing settings for this customer */ // @ApiMember(Description="Billing settings for this customer") BillingSettings? billingSettings; /** * Should this customer override the parent customer's app settings */ // @ApiMember(Description="Should this customer override the parent customer's app settings") bool? overrideAppSettings; /** * App / Portal settings for this customer */ // @ApiMember(Description="App / Portal settings for this customer") AppSettings? appSettings; CustomerInfo({this.accountId,this.parentCustomerId,this.breadcrumb,this.accountName,this.isStaging,this.name,this.referenceId,this.data,this.tags,this.schedule,this.integrationData,this.overrideBillingSettings,this.billingSettings,this.overrideAppSettings,this.appSettings}); CustomerInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); accountId = json['accountId']; parentCustomerId = json['parentCustomerId']; breadcrumb = JsonConverters.fromJson(json['breadcrumb'],'List',context!); accountName = json['accountName']; isStaging = json['isStaging']; name = json['name']; referenceId = json['referenceId']; data = JsonConverters.fromJson(json['data'],'Struct',context!); tags = JsonConverters.fromJson(json['tags'],'List',context!); schedule = JsonConverters.fromJson(json['schedule'],'Schedule',context!); integrationData = JsonConverters.fromJson(json['integrationData'],'EntityIntegrationData',context!); overrideBillingSettings = json['overrideBillingSettings']; billingSettings = JsonConverters.fromJson(json['billingSettings'],'BillingSettings',context!); overrideAppSettings = json['overrideAppSettings']; appSettings = JsonConverters.fromJson(json['appSettings'],'AppSettings',context!); return this; } Map toJson() => super.toJson()..addAll({ 'accountId': accountId, 'parentCustomerId': parentCustomerId, 'breadcrumb': JsonConverters.toJson(breadcrumb,'List',context!), 'accountName': accountName, 'isStaging': isStaging, 'name': name, 'referenceId': referenceId, 'data': JsonConverters.toJson(data,'Struct',context!), 'tags': JsonConverters.toJson(tags,'List',context!), 'schedule': JsonConverters.toJson(schedule,'Schedule',context!), 'integrationData': JsonConverters.toJson(integrationData,'EntityIntegrationData',context!), 'overrideBillingSettings': overrideBillingSettings, 'billingSettings': JsonConverters.toJson(billingSettings,'BillingSettings',context!), 'overrideAppSettings': overrideAppSettings, 'appSettings': JsonConverters.toJson(appSettings,'AppSettings',context!) }); getTypeName() => "CustomerInfo"; TypeContext? context = _ctx; } class EndpointInfo extends EntityInfo implements IConvertible { /** * The account ID this endpoint is associated with */ // @ApiMember(Description="The account ID this endpoint is associated with") String? accountId; /** * The name of the account this endpoint is associated with */ // @ApiMember(Description="The name of the account this endpoint is associated with") String? accountName; /** * The ID of the customer this endpoint is associated with */ // @ApiMember(Description="The ID of the customer this endpoint is associated with") String? customerId; /** * The name of the customer this endpoint is associated with */ // @ApiMember(Description="The name of the customer this endpoint is associated with") String? customerName; /** * The third party reference ID for the endpoint */ // @ApiMember(Description="The third party reference ID for the endpoint") String? referenceId; /** * The breadcrumb to the customer for this endpoint */ // @ApiMember(Description="The breadcrumb to the customer for this endpoint") List? customerBreadcrumb; /** * The display name of the endpoint */ // @ApiMember(Description="The display name of the endpoint") String? displayName; /** * The type of endpoint */ // @ApiMember(Description="The type of endpoint") EndpointTypes? type; /** * Extra info for this endpoint (typically to show in grid) */ // @ApiMember(Description="Extra info for this endpoint (typically to show in grid)") String? extraInformation; /** * The ID of the flow to use for voice */ // @ApiMember(Description="The ID of the flow to use for voice") String? flowId; /** * The name of the flow to use for voice */ // @ApiMember(Description="The name of the flow to use for voice") String? flowName; /** * The params for the voice flow */ // @ApiMember(Description="The params for the voice flow") Struct? flowParams; /** * Whether to use a single flow always or use scheduled flow system */ // @ApiMember(Description="Whether to use a single flow always or use scheduled flow system") EndpointFlowSchedules? flowSchedule; /** * This endpoint's schedule */ // @ApiMember(Description="This endpoint's schedule") Schedule? schedule; /** * The list of scheduled flows when using scheduling */ // @ApiMember(Description="The list of scheduled flows when using scheduling") List? scheduledFlows; /** * Disable SMS */ // @ApiMember(Description="Disable SMS") bool? disableSms; /** * Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number */ // @ApiMember(Description="Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number") bool? useExternal10DlcCampaign; /** * Is this a virtual phone number? */ // @ApiMember(Description="Is this a virtual phone number?") bool? isVirtualPhoneNumber; /** * Is caller ID verified for this virtual number? */ // @ApiMember(Description="Is caller ID verified for this virtual number?") bool? isCallerIdVerified; /** * The verification code for this number */ // @ApiMember(Description="The verification code for this number") String? callerIdVerificationCode; /** * The phone number */ // @ApiMember(Description="The phone number") String? phoneNumber; /** * The Sid of the phone number */ // @ApiMember(Description="The Sid of the phone number") String? phoneNumberSid; /** * The caller ID Name (CNAM) for the phone number */ // @ApiMember(Description="The caller ID Name (CNAM) for the phone number") String? callerIdName; /** * The address SID associated with the phone number */ // @ApiMember(Description="The address SID associated with the phone number") String? addressSid; /** * Do not touch this phone number - for BYOA accounts */ // @ApiMember(Description="Do not touch this phone number - for BYOA accounts") bool? doNotTouchPhoneNumber; /** * Is this number enrolled in a 10DLC messaging service campaign */ // @ApiMember(Description="Is this number enrolled in a 10DLC messaging service campaign") bool? isEnrolledIn10DlcService; /** * Whether we look up caller ID or not */ // @ApiMember(Description="Whether we look up caller ID or not") bool? enableCallerIdLookup; /** * The email address of the user */ // @ApiMember(Description="The email address of the user") String? userEmailAddress; /** * The Twilio Region for the SIP endpoint */ // @ApiMember(Description="The Twilio Region for the SIP endpoint") TwilioSipRegions? sipRegion; /** * The Twilio Sid of the credentials for Sip */ // @ApiMember(Description="The Twilio Sid of the credentials for Sip") String? sipCredentialSid; /** * The Twilio SIP user name */ // @ApiMember(Description="The Twilio SIP user name") String? sipUserName; /** * The Twilio SIP password */ // @ApiMember(Description="The Twilio SIP password") String? sipPassword; /** * The SIP domain */ // @ApiMember(Description="The SIP domain") String? sipDomain; /** * Is emergency calling enabled on this number? */ // @ApiMember(Description="Is emergency calling enabled on this number?") bool? enableEmergencyCalling; /** * The SID of the emergency address for this number */ // @ApiMember(Description="The SID of the emergency address for this number") String? emergencyAddressSid; /** * The ID of the phone number to use for emergency dialing */ // @ApiMember(Description="The ID of the phone number to use for emergency dialing") String? emergencyPhoneNumberId; /** * The current agent state of this user endpoint */ // @ApiMember(Description="The current agent state of this user endpoint") AgentStates? agentState; /** * The current agent state reason of this user endpoint */ // @ApiMember(Description="The current agent state reason of this user endpoint") AgentStateReasons? agentStateReason; /** * The mode for this user */ // @ApiMember(Description="The mode for this user") UserModes? userMode; /** * The ID of the file to use for voicemail greeting */ // @ApiMember(Description="The ID of the file to use for voicemail greeting") String? voicemailGreetingId; /** * The endpoint's data */ // @ApiMember(Description="The endpoint's data") Struct? data; /** * The email address for email endpoints */ // @ApiMember(Description="The email address for email endpoints") String? emailAddress; /** * The first name of the user (for user endpoints) */ // @ApiMember(Description="The first name of the user (for user endpoints)") String? userFirstName; /** * The last name of the user (for user endpoints) */ // @ApiMember(Description="The last name of the user (for user endpoints)") String? userLastName; /** * The URL of an image for this user's avatar */ // @ApiMember(Description="The URL of an image for this user's avatar") String? avatarUrl; /** * Does this user have manager role? */ // @ApiMember(Description="Does this user have manager role?") UserManagerRoles? managerRole; /** * The list of dashboard permissions for when the manager role is custom */ // @ApiMember(Description="The list of dashboard permissions for when the manager role is custom") List? dashboardPermissions; /** * The type of visibility this user has to their own fields */ // @ApiMember(Description="The type of visibility this user has to their own fields") UserDataFieldModes? myFieldPermissions; /** * The type of visibility this user has to customer fields */ // @ApiMember(Description="The type of visibility this user has to customer fields") UserDataFieldModes? customerFieldPermissions; /** * The type of visibility this user has to other user fields */ // @ApiMember(Description="The type of visibility this user has to other user fields") UserDataFieldModes? otherUserFieldPermissions; /** * The type of visibility this user has to other endpoint fields */ // @ApiMember(Description="The type of visibility this user has to other endpoint fields") UserDataFieldModes? otherEndpointFieldPermissions; /** * The name of this endpoint (for bots etc.) */ // @ApiMember(Description="The name of this endpoint (for bots etc.)") String? name; /** * The list of tags for this endpoint */ // @ApiMember(Description="The list of tags for this endpoint") List? tags; /** * The list of action URLs */ // @ApiMember(Description="The list of action URLs") List? actionUrls; /** * The list of members in this team */ // @ApiMember(Description="The list of members in this team") List? teamMemberIds; /** * Visibility of this user/team in contact lists */ // @ApiMember(Description="Visibility of this user/team in contact lists") CustomerVisibility? contactListVisibility; /** * The list of contacts personal to this user */ // @ApiMember(Description="The list of contacts personal to this user") List? contacts; /** * The documo ID for this number */ // @ApiMember(Description="The documo ID for this number") String? documoId; /** * Integration data for this endpoint */ // @ApiMember(Description="Integration data for this endpoint") EntityIntegrationData? integrationData; /** * Settings for third party phone system */ // @ApiMember(Description="Settings for third party phone system") ThirdPartyPhoneSystemSettings? thirdPartyPhoneSystemSettings; /** * Should this user override the parent customer's app settings */ // @ApiMember(Description="Should this user override the parent customer's app settings") bool? overrideAppSettings; /** * App / Portal settings for this user */ // @ApiMember(Description="App / Portal settings for this user") AppSettings? appSettings; /** * Configuration for the AI assistant */ // @ApiMember(Description="Configuration for the AI assistant") AssistantSettings? assistantSettings; /** * Configuration for the embed */ // @ApiMember(Description="Configuration for the embed") EmbedSettings? embedSettings; EndpointInfo({this.accountId,this.accountName,this.customerId,this.customerName,this.referenceId,this.customerBreadcrumb,this.displayName,this.type,this.extraInformation,this.flowId,this.flowName,this.flowParams,this.flowSchedule,this.schedule,this.scheduledFlows,this.disableSms,this.useExternal10DlcCampaign,this.isVirtualPhoneNumber,this.isCallerIdVerified,this.callerIdVerificationCode,this.phoneNumber,this.phoneNumberSid,this.callerIdName,this.addressSid,this.doNotTouchPhoneNumber,this.isEnrolledIn10DlcService,this.enableCallerIdLookup,this.userEmailAddress,this.sipRegion,this.sipCredentialSid,this.sipUserName,this.sipPassword,this.sipDomain,this.enableEmergencyCalling,this.emergencyAddressSid,this.emergencyPhoneNumberId,this.agentState,this.agentStateReason,this.userMode,this.voicemailGreetingId,this.data,this.emailAddress,this.userFirstName,this.userLastName,this.avatarUrl,this.managerRole,this.dashboardPermissions,this.myFieldPermissions,this.customerFieldPermissions,this.otherUserFieldPermissions,this.otherEndpointFieldPermissions,this.name,this.tags,this.actionUrls,this.teamMemberIds,this.contactListVisibility,this.contacts,this.documoId,this.integrationData,this.thirdPartyPhoneSystemSettings,this.overrideAppSettings,this.appSettings,this.assistantSettings,this.embedSettings}); EndpointInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); accountId = json['accountId']; accountName = json['accountName']; customerId = json['customerId']; customerName = json['customerName']; referenceId = json['referenceId']; customerBreadcrumb = JsonConverters.fromJson(json['customerBreadcrumb'],'List',context!); displayName = json['displayName']; type = JsonConverters.fromJson(json['type'],'EndpointTypes',context!); extraInformation = json['extraInformation']; flowId = json['flowId']; flowName = json['flowName']; flowParams = JsonConverters.fromJson(json['flowParams'],'Struct',context!); flowSchedule = JsonConverters.fromJson(json['flowSchedule'],'EndpointFlowSchedules',context!); schedule = JsonConverters.fromJson(json['schedule'],'Schedule',context!); scheduledFlows = JsonConverters.fromJson(json['scheduledFlows'],'List',context!); disableSms = json['disableSms']; useExternal10DlcCampaign = json['useExternal10DlcCampaign']; isVirtualPhoneNumber = json['isVirtualPhoneNumber']; isCallerIdVerified = json['isCallerIdVerified']; callerIdVerificationCode = json['callerIdVerificationCode']; phoneNumber = json['phoneNumber']; phoneNumberSid = json['phoneNumberSid']; callerIdName = json['callerIdName']; addressSid = json['addressSid']; doNotTouchPhoneNumber = json['doNotTouchPhoneNumber']; isEnrolledIn10DlcService = json['isEnrolledIn10DlcService']; enableCallerIdLookup = json['enableCallerIdLookup']; userEmailAddress = json['userEmailAddress']; sipRegion = JsonConverters.fromJson(json['sipRegion'],'TwilioSipRegions',context!); sipCredentialSid = json['sipCredentialSid']; sipUserName = json['sipUserName']; sipPassword = json['sipPassword']; sipDomain = json['sipDomain']; enableEmergencyCalling = json['enableEmergencyCalling']; emergencyAddressSid = json['emergencyAddressSid']; emergencyPhoneNumberId = json['emergencyPhoneNumberId']; agentState = JsonConverters.fromJson(json['agentState'],'AgentStates',context!); agentStateReason = JsonConverters.fromJson(json['agentStateReason'],'AgentStateReasons',context!); userMode = JsonConverters.fromJson(json['userMode'],'UserModes',context!); voicemailGreetingId = json['voicemailGreetingId']; data = JsonConverters.fromJson(json['data'],'Struct',context!); emailAddress = json['emailAddress']; userFirstName = json['userFirstName']; userLastName = json['userLastName']; avatarUrl = json['avatarUrl']; managerRole = JsonConverters.fromJson(json['managerRole'],'UserManagerRoles',context!); dashboardPermissions = JsonConverters.fromJson(json['dashboardPermissions'],'List',context!); myFieldPermissions = JsonConverters.fromJson(json['myFieldPermissions'],'UserDataFieldModes',context!); customerFieldPermissions = JsonConverters.fromJson(json['customerFieldPermissions'],'UserDataFieldModes',context!); otherUserFieldPermissions = JsonConverters.fromJson(json['otherUserFieldPermissions'],'UserDataFieldModes',context!); otherEndpointFieldPermissions = JsonConverters.fromJson(json['otherEndpointFieldPermissions'],'UserDataFieldModes',context!); name = json['name']; tags = JsonConverters.fromJson(json['tags'],'List',context!); actionUrls = JsonConverters.fromJson(json['actionUrls'],'List',context!); teamMemberIds = JsonConverters.fromJson(json['teamMemberIds'],'List',context!); contactListVisibility = JsonConverters.fromJson(json['contactListVisibility'],'CustomerVisibility',context!); contacts = JsonConverters.fromJson(json['contacts'],'List',context!); documoId = json['documoId']; integrationData = JsonConverters.fromJson(json['integrationData'],'EntityIntegrationData',context!); thirdPartyPhoneSystemSettings = JsonConverters.fromJson(json['thirdPartyPhoneSystemSettings'],'ThirdPartyPhoneSystemSettings',context!); overrideAppSettings = json['overrideAppSettings']; appSettings = JsonConverters.fromJson(json['appSettings'],'AppSettings',context!); assistantSettings = JsonConverters.fromJson(json['assistantSettings'],'AssistantSettings',context!); embedSettings = JsonConverters.fromJson(json['embedSettings'],'EmbedSettings',context!); return this; } Map toJson() => super.toJson()..addAll({ 'accountId': accountId, 'accountName': accountName, 'customerId': customerId, 'customerName': customerName, 'referenceId': referenceId, 'customerBreadcrumb': JsonConverters.toJson(customerBreadcrumb,'List',context!), 'displayName': displayName, 'type': JsonConverters.toJson(type,'EndpointTypes',context!), 'extraInformation': extraInformation, 'flowId': flowId, 'flowName': flowName, 'flowParams': JsonConverters.toJson(flowParams,'Struct',context!), 'flowSchedule': JsonConverters.toJson(flowSchedule,'EndpointFlowSchedules',context!), 'schedule': JsonConverters.toJson(schedule,'Schedule',context!), 'scheduledFlows': JsonConverters.toJson(scheduledFlows,'List',context!), 'disableSms': disableSms, 'useExternal10DlcCampaign': useExternal10DlcCampaign, 'isVirtualPhoneNumber': isVirtualPhoneNumber, 'isCallerIdVerified': isCallerIdVerified, 'callerIdVerificationCode': callerIdVerificationCode, 'phoneNumber': phoneNumber, 'phoneNumberSid': phoneNumberSid, 'callerIdName': callerIdName, 'addressSid': addressSid, 'doNotTouchPhoneNumber': doNotTouchPhoneNumber, 'isEnrolledIn10DlcService': isEnrolledIn10DlcService, 'enableCallerIdLookup': enableCallerIdLookup, 'userEmailAddress': userEmailAddress, 'sipRegion': JsonConverters.toJson(sipRegion,'TwilioSipRegions',context!), 'sipCredentialSid': sipCredentialSid, 'sipUserName': sipUserName, 'sipPassword': sipPassword, 'sipDomain': sipDomain, 'enableEmergencyCalling': enableEmergencyCalling, 'emergencyAddressSid': emergencyAddressSid, 'emergencyPhoneNumberId': emergencyPhoneNumberId, 'agentState': JsonConverters.toJson(agentState,'AgentStates',context!), 'agentStateReason': JsonConverters.toJson(agentStateReason,'AgentStateReasons',context!), 'userMode': JsonConverters.toJson(userMode,'UserModes',context!), 'voicemailGreetingId': voicemailGreetingId, 'data': JsonConverters.toJson(data,'Struct',context!), 'emailAddress': emailAddress, 'userFirstName': userFirstName, 'userLastName': userLastName, 'avatarUrl': avatarUrl, 'managerRole': JsonConverters.toJson(managerRole,'UserManagerRoles',context!), 'dashboardPermissions': JsonConverters.toJson(dashboardPermissions,'List',context!), 'myFieldPermissions': JsonConverters.toJson(myFieldPermissions,'UserDataFieldModes',context!), 'customerFieldPermissions': JsonConverters.toJson(customerFieldPermissions,'UserDataFieldModes',context!), 'otherUserFieldPermissions': JsonConverters.toJson(otherUserFieldPermissions,'UserDataFieldModes',context!), 'otherEndpointFieldPermissions': JsonConverters.toJson(otherEndpointFieldPermissions,'UserDataFieldModes',context!), 'name': name, 'tags': JsonConverters.toJson(tags,'List',context!), 'actionUrls': JsonConverters.toJson(actionUrls,'List',context!), 'teamMemberIds': JsonConverters.toJson(teamMemberIds,'List',context!), 'contactListVisibility': JsonConverters.toJson(contactListVisibility,'CustomerVisibility',context!), 'contacts': JsonConverters.toJson(contacts,'List',context!), 'documoId': documoId, 'integrationData': JsonConverters.toJson(integrationData,'EntityIntegrationData',context!), 'thirdPartyPhoneSystemSettings': JsonConverters.toJson(thirdPartyPhoneSystemSettings,'ThirdPartyPhoneSystemSettings',context!), 'overrideAppSettings': overrideAppSettings, 'appSettings': JsonConverters.toJson(appSettings,'AppSettings',context!), 'assistantSettings': JsonConverters.toJson(assistantSettings,'AssistantSettings',context!), 'embedSettings': JsonConverters.toJson(embedSettings,'EmbedSettings',context!) }); getTypeName() => "EndpointInfo"; TypeContext? context = _ctx; } class ImportSpreadsheetResult implements IConvertible { List? updatedCustomers; List? newCustomers; List? updatedPhoneNumbers; List? newPhoneNumbers; List? updatedUsers; List? newUsers; List? errors; bool? changesApplied; ImportSpreadsheetResult({this.updatedCustomers,this.newCustomers,this.updatedPhoneNumbers,this.newPhoneNumbers,this.updatedUsers,this.newUsers,this.errors,this.changesApplied}); ImportSpreadsheetResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { updatedCustomers = JsonConverters.fromJson(json['updatedCustomers'],'List',context!); newCustomers = JsonConverters.fromJson(json['newCustomers'],'List',context!); updatedPhoneNumbers = JsonConverters.fromJson(json['updatedPhoneNumbers'],'List',context!); newPhoneNumbers = JsonConverters.fromJson(json['newPhoneNumbers'],'List',context!); updatedUsers = JsonConverters.fromJson(json['updatedUsers'],'List',context!); newUsers = JsonConverters.fromJson(json['newUsers'],'List',context!); errors = JsonConverters.fromJson(json['errors'],'List',context!); changesApplied = json['changesApplied']; return this; } Map toJson() => { 'updatedCustomers': JsonConverters.toJson(updatedCustomers,'List',context!), 'newCustomers': JsonConverters.toJson(newCustomers,'List',context!), 'updatedPhoneNumbers': JsonConverters.toJson(updatedPhoneNumbers,'List',context!), 'newPhoneNumbers': JsonConverters.toJson(newPhoneNumbers,'List',context!), 'updatedUsers': JsonConverters.toJson(updatedUsers,'List',context!), 'newUsers': JsonConverters.toJson(newUsers,'List',context!), 'errors': JsonConverters.toJson(errors,'List',context!), 'changesApplied': changesApplied }; getTypeName() => "ImportSpreadsheetResult"; TypeContext? context = _ctx; } /** * Bulk import customers/phone numbers/users with validation of everythin */ // @Route("/import/spreadsheet", "POST") // @Api(Description="Bulk import customers/phone numbers/users with validation of everythin") class ImportSpreadsheet implements IReturn, IPost, IConvertible { /** * The account ID for this import */ // @ApiMember(Description="The account ID for this import") String? accountId; /** * Set to true to actually apply the changes. Otherwise just a preview is returned */ // @ApiMember(Description="Set to true to actually apply the changes. Otherwise just a preview is returned") bool? applyChanges; ImportSpreadsheet({this.accountId,this.applyChanges}); ImportSpreadsheet.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountId = json['accountId']; applyChanges = json['applyChanges']; return this; } Map toJson() => { 'accountId': accountId, 'applyChanges': applyChanges }; createResponse() => ImportSpreadsheetResult(); getResponseTypeName() => "ImportSpreadsheetResult"; getTypeName() => "ImportSpreadsheet"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'CustomerInfo': TypeInfo(TypeOf.Class, create:() => CustomerInfo()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomerBreadcrumb': TypeInfo(TypeOf.Class, create:() => CustomerBreadcrumb()), 'Struct': TypeInfo(TypeOf.Class, create:() => Struct()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Tag': TypeInfo(TypeOf.Class, create:() => Tag()), 'Schedule': TypeInfo(TypeOf.Class, create:() => Schedule()), 'EntityIntegrationData': TypeInfo(TypeOf.Class, create:() => EntityIntegrationData()), 'BillingSettings': TypeInfo(TypeOf.Class, create:() => BillingSettings()), 'AppSettings': TypeInfo(TypeOf.Class, create:() => AppSettings()), 'EndpointInfo': TypeInfo(TypeOf.Class, create:() => EndpointInfo()), 'EndpointTypes': TypeInfo(TypeOf.Class, create:() => EndpointTypes()), 'EndpointFlowSchedules': TypeInfo(TypeOf.Class, create:() => EndpointFlowSchedules()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ScheduledFlow': TypeInfo(TypeOf.Class, create:() => ScheduledFlow()), 'TwilioSipRegions': TypeInfo(TypeOf.Class, create:() => TwilioSipRegions()), 'AgentStates': TypeInfo(TypeOf.Class, create:() => AgentStates()), 'AgentStateReasons': TypeInfo(TypeOf.Class, create:() => AgentStateReasons()), 'UserModes': TypeInfo(TypeOf.Class, create:() => UserModes()), 'UserManagerRoles': TypeInfo(TypeOf.Class, create:() => UserManagerRoles()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DashboardPermissions': TypeInfo(TypeOf.Class, create:() => DashboardPermissions()), 'UserDataFieldModes': TypeInfo(TypeOf.Class, create:() => UserDataFieldModes()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EndpointActionUrl': TypeInfo(TypeOf.Class, create:() => EndpointActionUrl()), 'CustomerVisibility': TypeInfo(TypeOf.Class, create:() => CustomerVisibility()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EndpointContact': TypeInfo(TypeOf.Class, create:() => EndpointContact()), 'ThirdPartyPhoneSystemSettings': TypeInfo(TypeOf.Class, create:() => ThirdPartyPhoneSystemSettings()), 'AssistantSettings': TypeInfo(TypeOf.Class, create:() => AssistantSettings()), 'EmbedSettings': TypeInfo(TypeOf.Class, create:() => EmbedSettings()), 'ImportSpreadsheetResult': TypeInfo(TypeOf.Class, create:() => ImportSpreadsheetResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ImportSpreadsheet': TypeInfo(TypeOf.Class, create:() => ImportSpreadsheet()), });