import * as $dara from '@darabonba/typescript'; export declare class QuerySmsTemplateListResponseBodySmsTemplateListReason extends $dara.Model { /** * @remarks * The time when the message template was rejected. Format: yyyy-MM-dd HH:mm:ss. * * @example * 2020-06-04 16:01:17 */ rejectDate?: string; /** * @remarks * The reason why the message template was rejected. * * @example * The document cannot verify the authenticity of the information. Please upload it again. */ rejectInfo?: string; /** * @remarks * The remarks about the rejection. * * @example * The document cannot verify the authenticity of the information. Please upload it again. */ rejectSubInfo?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class QuerySmsTemplateListResponseBodySmsTemplateList extends $dara.Model { /** * @remarks * The approval status of the message template. Valid values: * * * **AUDIT_STATE_INIT**: The message template is pending approval. * * **AUDIT_STATE_PASS**: The message template is approved. * * **AUDIT_STATE_NOT_PASS**: The message template is rejected. You can view the reason in the Reason response parameter. * * **AUDIT_STATE_CANCEL** or **AUDIT_SATE_CANCEL**: The approval is canceled. * * @example * AUDIT_STATE_PASS */ auditStatus?: string; /** * @remarks * The time when the message template was created. The time is in the yyyy-MM-dd HH:mm:ss format. * * @example * 2020-06-04 11:42:17 */ createDate?: string; /** * @remarks * The ticket ID. * * @example * 2361**** */ orderId?: string; /** * @remarks * The type of the message template. We recommend that you specify this parameter. Valid values: * * * **0**: verification code * * **1**: notification message * * **2**: promotional message * * **3**: message sent to countries or regions outside the Chinese mainland * * **7**: digital message * * > The template type is the same as the value of the TemplateType parameter in the AddSmsTemplate and ModifySmsTemplate operations. * * @example * 0 */ outerTemplateType?: number; /** * @remarks * The approval remarks. * * * If the value of AuditStatus is **AUDIT_STATE_PASS** or **AUDIT_STATE_INIT**, the value of Reason is No Approval Remarks. * * If the value of AuditStatus is **AUDIT_STATE_NOT_PASS**, the reason why the message template is rejected is returned. */ reason?: QuerySmsTemplateListResponseBodySmsTemplateListReason; signatureName?: string; /** * @remarks * The code of the message template. * * You can log on to the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm), click **Go China** or **Go Globe** in the left-side navigation pane, and then view the template code on the **Templates** tab. You can also call the [AddSmsTemplate](https://help.aliyun.com/document_detail/121208.html) operation to obtain the template code. * * @example * SMS_1525*** */ templateCode?: string; /** * @remarks * The content of the message template. * * @example * 123456789 */ templateContent?: string; /** * @remarks * The name of the message template. * * @example * aliyun verification code */ templateName?: string; /** * @remarks * The type of the message template. Valid values: * * * **0**: notification message * * **1**: promotional message * * **2**: verification code * * **6**: message sent to countries or regions outside the Chinese mainland * * **7**: digital message * * @example * 7 */ templateType?: number; trafficDriving?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class QuerySmsTemplateListResponseBody extends $dara.Model { /** * @remarks * The HTTP status code. * * * The value OK indicates that the request was successful. * * Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html). * * @example * OK */ code?: string; /** * @remarks * The page number. Default value: **1**. * * @example * 1 */ currentPage?: number; /** * @remarks * The returned message. * * @example * OK */ message?: string; /** * @remarks * The number of templates per page. Valid values: **1 to 50**. * * @example * 10 */ pageSize?: number; /** * @remarks * The request ID. * * @example * 819BE656-D2E0-4858-8B21-B2E47708**** */ requestId?: string; /** * @remarks * The queried message templates. */ smsTemplateList?: QuerySmsTemplateListResponseBodySmsTemplateList[]; /** * @remarks * The total number of templates. * * @example * 100 */ totalCount?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }