import * as $dara from '@darabonba/typescript'; export declare class GetSmsTemplateResponseBodyAuditInfo extends $dara.Model { /** * @remarks * Audit date and time. * * @example * 2024-06-03 11:20:34 */ auditDate?: string; /** * @remarks * Reasons for failed audit. * * @example * 模板内容中包含错别字。 */ rejectInfo?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetSmsTemplateResponseBodyFileUrlList extends $dara.Model { fileUrl?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetSmsTemplateResponseBodyMoreDataFileUrlList extends $dara.Model { moreDataFileUrl?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetSmsTemplateResponseBodySignList extends $dara.Model { signList?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetSmsTemplateResponseBody extends $dara.Model { /** * @remarks * Application scenario content. * * @example * http://www.aliyun.com/ */ applyScene?: string; /** * @remarks * Audit information. */ auditInfo?: GetSmsTemplateResponseBodyAuditInfo; /** * @remarks * Request status code. * * * OK indicates a successful request. * * For other error codes, please refer to [API Error Codes](https://help.aliyun.com/document_detail/101346.html). * * @example * OK */ code?: string; /** * @remarks * The time when the SMS template was created. * * @example * 2024-06-03 10:02:34 */ createDate?: string; fileUrlList?: GetSmsTemplateResponseBodyFileUrlList; /** * @remarks * International/Hong Kong, Macao, and Taiwan template type. When the **TemplateType** parameter is **3**, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values: * - **0**: Verification code. * - **1**: SMS notification. * - **2**: Promotional SMS. * * @example * 0 */ intlType?: number; /** * @remarks * Description of the status code. * * @example * OK */ message?: string; moreDataFileUrlList?: GetSmsTemplateResponseBodyMoreDataFileUrlList; /** * @remarks * Work order number. * * This parameter is used by auditors when querying the audit. You need to provide this work order number when requesting expedited review. * * @example * 2003019**** */ orderId?: string; /** * @remarks * The SMS signature associated with the template when applied. * * @example * 阿里云 */ relatedSignName?: string; /** * @remarks * Explanation for the SMS template application, which is one of the reference information for template review. * * @example * 申请验证码模板 */ remark?: string; /** * @remarks * The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and issue定位. * * @example * 819BE656-D2E0-4858-8B21-B2E47708**** */ requestId?: string; signList?: GetSmsTemplateResponseBodySignList; /** * @remarks * SMS template code. * * @example * SMS_20375**** */ templateCode?: string; /** * @remarks * Content of the SMS template. * * @example * 您正在申请手机注册,验证码为:${code},5分钟内有效! */ templateContent?: string; /** * @remarks * Name of the SMS template. * * @example * 验证码 */ templateName?: string; /** * @remarks * Template review status. Return values: * * - **0**: Under review. * - **1**: Approved. * - **2**: Not approved, with reasons for failure returned. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm=a2c4g.11186623.0.0.41fd339f3bPSCQ), invoke the [UpdateSmsTemplate](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-updatesmstemplate?spm) API or modify the SMS template on the [Template Management](https://dysms.console.aliyun.com/domestic/text/template) page. * - **10**: Review canceled. * * @example * 2 */ templateStatus?: string; /** * @remarks * Template identifier, indicating whether the template is user-defined or system-provided. Values: * * - **2**: User-defined template. * * - **3**: System-provided template. * * @example * 2 */ templateTag?: number; /** * @remarks * SMS type. Values: * * - **0**: Verification code. * - **1**: SMS notification. * - **2**: Promotional SMS. * - **3**: International/Hong Kong, Macao, and Taiwan messages. * * > Only enterprise-certified users can apply for promotional SMS and international/Hong Kong, Macao, and Taiwan messages. For details on the differences between personal and enterprise user rights, please refer to [Usage Notes](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm=a2c4g.11186623.0.0.67447f576NJnE8). * * @example * 0 */ templateType?: string; /** * @remarks * Template variable rules. * * For detailed rules of template variables, refer to the [Example Document](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example). * * @example * {"code":"characterWithNumber"} */ variableAttribute?: string; vendorAuditStatus?: { [key: string]: any; }; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }