UNPKG

@nocobase/plugin-verification

Version:

User identity verification management, including SMS, TOTP authenticator, with extensibility.

2,142 lines (1,925 loc) 122 kB
// This file is auto-generated, don't edit it /** * */ import Util, * as $Util from '@alicloud/tea-util'; import OpenApi, * as $OpenApi from '@alicloud/openapi-client'; import OpenApiUtil from '@alicloud/openapi-util'; import EndpointUtil from '@alicloud/endpoint-util'; import * as $tea from '@alicloud/tea-typescript'; export class AddShortUrlRequest extends $tea.Model { effectiveDays?: string; ownerId?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; shortUrlName?: string; sourceUrl?: string; static names(): { [key: string]: string } { return { effectiveDays: 'EffectiveDays', ownerId: 'OwnerId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', shortUrlName: 'ShortUrlName', sourceUrl: 'SourceUrl', }; } static types(): { [key: string]: any } { return { effectiveDays: 'string', ownerId: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', shortUrlName: 'string', sourceUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddShortUrlResponseBody extends $tea.Model { code?: string; data?: AddShortUrlResponseBodyData; message?: string; requestId?: string; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', message: 'Message', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { code: 'string', data: AddShortUrlResponseBodyData, message: 'string', requestId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddShortUrlResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: AddShortUrlResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AddShortUrlResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddSmsSignRequest extends $tea.Model { ownerId?: number; remark?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; signFileList?: AddSmsSignRequestSignFileList[]; signName?: string; signSource?: number; signType?: number; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', remark: 'Remark', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', signFileList: 'SignFileList', signName: 'SignName', signSource: 'SignSource', signType: 'SignType', }; } static types(): { [key: string]: any } { return { ownerId: 'number', remark: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', signFileList: { 'type': 'array', 'itemType': AddSmsSignRequestSignFileList }, signName: 'string', signSource: 'number', signType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddSmsSignResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; signName?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', signName: 'SignName', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', signName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddSmsSignResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: AddSmsSignResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AddSmsSignResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddSmsTemplateRequest extends $tea.Model { ownerId?: number; remark?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; templateContent?: string; templateName?: string; templateType?: number; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', remark: 'Remark', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', templateContent: 'TemplateContent', templateName: 'TemplateName', templateType: 'TemplateType', }; } static types(): { [key: string]: any } { return { ownerId: 'number', remark: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', templateContent: 'string', templateName: 'string', templateType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddSmsTemplateResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; templateCode?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', templateCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AddSmsTemplateResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: AddSmsTemplateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AddSmsTemplateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CheckMobilesCardSupportRequest extends $tea.Model { mobiles?: { [key: string]: any }[]; templateCode?: string; static names(): { [key: string]: string } { return { mobiles: 'Mobiles', templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { mobiles: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } }, templateCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CheckMobilesCardSupportResponseBody extends $tea.Model { code?: string; data?: { [key: string]: any }[]; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } }, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CheckMobilesCardSupportResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: CheckMobilesCardSupportResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CheckMobilesCardSupportResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CreateCardSmsTemplateRequest extends $tea.Model { factorys?: string; memo?: string; template?: { [key: string]: any }; templateName?: string; static names(): { [key: string]: string } { return { factorys: 'Factorys', memo: 'Memo', template: 'Template', templateName: 'TemplateName', }; } static types(): { [key: string]: any } { return { factorys: 'string', memo: 'string', template: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, templateName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CreateCardSmsTemplateShrinkRequest extends $tea.Model { factorys?: string; memo?: string; templateShrink?: string; templateName?: string; static names(): { [key: string]: string } { return { factorys: 'Factorys', memo: 'Memo', templateShrink: 'Template', templateName: 'TemplateName', }; } static types(): { [key: string]: any } { return { factorys: 'string', memo: 'string', templateShrink: 'string', templateName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CreateCardSmsTemplateResponseBody extends $tea.Model { code?: string; data?: CreateCardSmsTemplateResponseBodyData; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: CreateCardSmsTemplateResponseBodyData, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CreateCardSmsTemplateResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: CreateCardSmsTemplateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CreateCardSmsTemplateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteShortUrlRequest extends $tea.Model { ownerId?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; sourceUrl?: string; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', sourceUrl: 'SourceUrl', }; } static types(): { [key: string]: any } { return { ownerId: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', sourceUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteShortUrlResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteShortUrlResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: DeleteShortUrlResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DeleteShortUrlResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteSmsSignRequest extends $tea.Model { ownerId?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; signName?: string; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', signName: 'SignName', }; } static types(): { [key: string]: any } { return { ownerId: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', signName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteSmsSignResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; signName?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', signName: 'SignName', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', signName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteSmsSignResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: DeleteSmsSignResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DeleteSmsSignResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteSmsTemplateRequest extends $tea.Model { ownerId?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; templateCode?: string; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { ownerId: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', templateCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteSmsTemplateResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; templateCode?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', templateCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteSmsTemplateResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: DeleteSmsTemplateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DeleteSmsTemplateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetCardSmsLinkRequest extends $tea.Model { cardCodeType?: number; cardLinkType?: number; cardTemplateCode?: string; cardTemplateParamJson?: string; customShortCodeJson?: string; domain?: string; outId?: string; phoneNumberJson?: string; signNameJson?: string; static names(): { [key: string]: string } { return { cardCodeType: 'CardCodeType', cardLinkType: 'CardLinkType', cardTemplateCode: 'CardTemplateCode', cardTemplateParamJson: 'CardTemplateParamJson', customShortCodeJson: 'CustomShortCodeJson', domain: 'Domain', outId: 'OutId', phoneNumberJson: 'PhoneNumberJson', signNameJson: 'SignNameJson', }; } static types(): { [key: string]: any } { return { cardCodeType: 'number', cardLinkType: 'number', cardTemplateCode: 'string', cardTemplateParamJson: 'string', customShortCodeJson: 'string', domain: 'string', outId: 'string', phoneNumberJson: 'string', signNameJson: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetCardSmsLinkResponseBody extends $tea.Model { code?: string; data?: GetCardSmsLinkResponseBodyData; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: GetCardSmsLinkResponseBodyData, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetCardSmsLinkResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: GetCardSmsLinkResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: GetCardSmsLinkResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetMediaResourceIdRequest extends $tea.Model { extendInfo?: string; fileSize?: number; memo?: string; ossKey?: string; resourceType?: number; static names(): { [key: string]: string } { return { extendInfo: 'ExtendInfo', fileSize: 'FileSize', memo: 'Memo', ossKey: 'OssKey', resourceType: 'ResourceType', }; } static types(): { [key: string]: any } { return { extendInfo: 'string', fileSize: 'number', memo: 'string', ossKey: 'string', resourceType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetMediaResourceIdResponseBody extends $tea.Model { code?: string; data?: GetMediaResourceIdResponseBodyData; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: GetMediaResourceIdResponseBodyData, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetMediaResourceIdResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: GetMediaResourceIdResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: GetMediaResourceIdResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetOSSInfoForCardTemplateResponseBody extends $tea.Model { code?: string; data?: GetOSSInfoForCardTemplateResponseBodyData; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: GetOSSInfoForCardTemplateResponseBodyData, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetOSSInfoForCardTemplateResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: GetOSSInfoForCardTemplateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: GetOSSInfoForCardTemplateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ListTagResourcesRequest extends $tea.Model { nextToken?: string; ownerId?: number; pageSize?: number; prodCode?: string; regionId?: string; resourceId?: string[]; resourceOwnerAccount?: string; resourceOwnerId?: number; resourceType?: string; tag?: ListTagResourcesRequestTag[]; static names(): { [key: string]: string } { return { nextToken: 'NextToken', ownerId: 'OwnerId', pageSize: 'PageSize', prodCode: 'ProdCode', regionId: 'RegionId', resourceId: 'ResourceId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', resourceType: 'ResourceType', tag: 'Tag', }; } static types(): { [key: string]: any } { return { nextToken: 'string', ownerId: 'number', pageSize: 'number', prodCode: 'string', regionId: 'string', resourceId: { 'type': 'array', 'itemType': 'string' }, resourceOwnerAccount: 'string', resourceOwnerId: 'number', resourceType: 'string', tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ListTagResourcesResponseBody extends $tea.Model { code?: string; nextToken?: string; requestId?: string; tagResources?: ListTagResourcesResponseBodyTagResources; static names(): { [key: string]: string } { return { code: 'Code', nextToken: 'NextToken', requestId: 'RequestId', tagResources: 'TagResources', }; } static types(): { [key: string]: any } { return { code: 'string', nextToken: 'string', requestId: 'string', tagResources: ListTagResourcesResponseBodyTagResources, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ListTagResourcesResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: ListTagResourcesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ListTagResourcesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifySmsSignRequest extends $tea.Model { ownerId?: number; remark?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; signFileList?: ModifySmsSignRequestSignFileList[]; signName?: string; signSource?: number; signType?: number; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', remark: 'Remark', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', signFileList: 'SignFileList', signName: 'SignName', signSource: 'SignSource', signType: 'SignType', }; } static types(): { [key: string]: any } { return { ownerId: 'number', remark: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', signFileList: { 'type': 'array', 'itemType': ModifySmsSignRequestSignFileList }, signName: 'string', signSource: 'number', signType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifySmsSignResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; signName?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', signName: 'SignName', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', signName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifySmsSignResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: ModifySmsSignResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ModifySmsSignResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifySmsTemplateRequest extends $tea.Model { ownerId?: number; remark?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; templateCode?: string; templateContent?: string; templateName?: string; templateType?: number; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', remark: 'Remark', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', templateCode: 'TemplateCode', templateContent: 'TemplateContent', templateName: 'TemplateName', templateType: 'TemplateType', }; } static types(): { [key: string]: any } { return { ownerId: 'number', remark: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', templateCode: 'string', templateContent: 'string', templateName: 'string', templateType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifySmsTemplateResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; templateCode?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', templateCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ModifySmsTemplateResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: ModifySmsTemplateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ModifySmsTemplateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryCardSmsTemplateRequest extends $tea.Model { templateCode?: string; static names(): { [key: string]: string } { return { templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { templateCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryCardSmsTemplateResponseBody extends $tea.Model { code?: string; data?: QueryCardSmsTemplateResponseBodyData; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: QueryCardSmsTemplateResponseBodyData, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryCardSmsTemplateResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QueryCardSmsTemplateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryCardSmsTemplateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryCardSmsTemplateReportRequest extends $tea.Model { endDate?: string; startDate?: string; templateCodes?: string[]; static names(): { [key: string]: string } { return { endDate: 'EndDate', startDate: 'StartDate', templateCodes: 'TemplateCodes', }; } static types(): { [key: string]: any } { return { endDate: 'string', startDate: 'string', templateCodes: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryCardSmsTemplateReportResponseBody extends $tea.Model { code?: string; data?: { [key: string]: any }[]; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } }, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryCardSmsTemplateReportResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QueryCardSmsTemplateReportResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryCardSmsTemplateReportResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySendDetailsRequest extends $tea.Model { bizId?: string; currentPage?: number; ownerId?: number; pageSize?: number; phoneNumber?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; sendDate?: string; static names(): { [key: string]: string } { return { bizId: 'BizId', currentPage: 'CurrentPage', ownerId: 'OwnerId', pageSize: 'PageSize', phoneNumber: 'PhoneNumber', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', sendDate: 'SendDate', }; } static types(): { [key: string]: any } { return { bizId: 'string', currentPage: 'number', ownerId: 'number', pageSize: 'number', phoneNumber: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', sendDate: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySendDetailsResponseBody extends $tea.Model { code?: string; message?: string; requestId?: string; smsSendDetailDTOs?: QuerySendDetailsResponseBodySmsSendDetailDTOs; totalCount?: string; static names(): { [key: string]: string } { return { code: 'Code', message: 'Message', requestId: 'RequestId', smsSendDetailDTOs: 'SmsSendDetailDTOs', totalCount: 'TotalCount', }; } static types(): { [key: string]: any } { return { code: 'string', message: 'string', requestId: 'string', smsSendDetailDTOs: QuerySendDetailsResponseBodySmsSendDetailDTOs, totalCount: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySendDetailsResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QuerySendDetailsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QuerySendDetailsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySendStatisticsRequest extends $tea.Model { endDate?: string; isGlobe?: number; ownerId?: number; pageIndex?: number; pageSize?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; signName?: string; startDate?: string; templateType?: number; static names(): { [key: string]: string } { return { endDate: 'EndDate', isGlobe: 'IsGlobe', ownerId: 'OwnerId', pageIndex: 'PageIndex', pageSize: 'PageSize', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', signName: 'SignName', startDate: 'StartDate', templateType: 'TemplateType', }; } static types(): { [key: string]: any } { return { endDate: 'string', isGlobe: 'number', ownerId: 'number', pageIndex: 'number', pageSize: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', signName: 'string', startDate: 'string', templateType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySendStatisticsResponseBody extends $tea.Model { code?: string; data?: QuerySendStatisticsResponseBodyData; message?: string; requestId?: string; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', message: 'Message', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { code: 'string', data: QuerySendStatisticsResponseBodyData, message: 'string', requestId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySendStatisticsResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QuerySendStatisticsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QuerySendStatisticsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryShortUrlRequest extends $tea.Model { ownerId?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; shortUrl?: string; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', shortUrl: 'ShortUrl', }; } static types(): { [key: string]: any } { return { ownerId: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', shortUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryShortUrlResponseBody extends $tea.Model { code?: string; data?: QueryShortUrlResponseBodyData; message?: string; requestId?: string; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', message: 'Message', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { code: 'string', data: QueryShortUrlResponseBodyData, message: 'string', requestId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryShortUrlResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QueryShortUrlResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryShortUrlResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsSignRequest extends $tea.Model { ownerId?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; signName?: string; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', signName: 'SignName', }; } static types(): { [key: string]: any } { return { ownerId: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', signName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsSignResponseBody extends $tea.Model { code?: string; createDate?: string; message?: string; reason?: string; requestId?: string; signName?: string; signStatus?: number; static names(): { [key: string]: string } { return { code: 'Code', createDate: 'CreateDate', message: 'Message', reason: 'Reason', requestId: 'RequestId', signName: 'SignName', signStatus: 'SignStatus', }; } static types(): { [key: string]: any } { return { code: 'string', createDate: 'string', message: 'string', reason: 'string', requestId: 'string', signName: 'string', signStatus: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsSignResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QuerySmsSignResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QuerySmsSignResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsSignListRequest extends $tea.Model { ownerId?: number; pageIndex?: number; pageSize?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', pageIndex: 'PageIndex', pageSize: 'PageSize', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', }; } static types(): { [key: string]: any } { return { ownerId: 'number', pageIndex: 'number', pageSize: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsSignListResponseBody extends $tea.Model { code?: string; currentPage?: number; message?: string; pageSize?: number; requestId?: string; smsSignList?: QuerySmsSignListResponseBodySmsSignList[]; totalCount?: number; static names(): { [key: string]: string } { return { code: 'Code', currentPage: 'CurrentPage', message: 'Message', pageSize: 'PageSize', requestId: 'RequestId', smsSignList: 'SmsSignList', totalCount: 'TotalCount', }; } static types(): { [key: string]: any } { return { code: 'string', currentPage: 'number', message: 'string', pageSize: 'number', requestId: 'string', smsSignList: { 'type': 'array', 'itemType': QuerySmsSignListResponseBodySmsSignList }, totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsSignListResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QuerySmsSignListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QuerySmsSignListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsTemplateRequest extends $tea.Model { ownerId?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; templateCode?: string; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { ownerId: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', templateCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsTemplateResponseBody extends $tea.Model { code?: string; createDate?: string; message?: string; reason?: string; requestId?: string; templateCode?: string; templateContent?: string; templateName?: string; templateStatus?: number; templateType?: number; static names(): { [key: string]: string } { return { code: 'Code', createDate: 'CreateDate', message: 'Message', reason: 'Reason', requestId: 'RequestId', templateCode: 'TemplateCode', templateContent: 'TemplateContent', templateName: 'TemplateName', templateStatus: 'TemplateStatus', templateType: 'TemplateType', }; } static types(): { [key: string]: any } { return { code: 'string', createDate: 'string', message: 'string', reason: 'string', requestId: 'string', templateCode: 'string', templateContent: 'string', templateName: 'string', templateStatus: 'number', templateType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsTemplateResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QuerySmsTemplateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QuerySmsTemplateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsTemplateListRequest extends $tea.Model { ownerId?: number; pageIndex?: number; pageSize?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', pageIndex: 'PageIndex', pageSize: 'PageSize', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', }; } static types(): { [key: string]: any } { return { ownerId: 'number', pageIndex: 'number', pageSize: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsTemplateListResponseBody extends $tea.Model { code?: string; currentPage?: number; message?: string; pageSize?: number; requestId?: string; smsTemplateList?: QuerySmsTemplateListResponseBodySmsTemplateList[]; totalCount?: number; static names(): { [key: string]: string } { return { code: 'Code', currentPage: 'CurrentPage', message: 'Message', pageSize: 'PageSize', requestId: 'RequestId', smsTemplateList: 'SmsTemplateList', totalCount: 'TotalCount', }; } static types(): { [key: string]: any } { return { code: 'string', currentPage: 'number', message: 'string', pageSize: 'number', requestId: 'string', smsTemplateList: { 'type': 'array', 'itemType': QuerySmsTemplateListResponseBodySmsTemplateList }, totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QuerySmsTemplateListResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: QuerySmsTemplateListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QuerySmsTemplateListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SendBatchCardSmsRequest extends $tea.Model { cardTemplateCode?: string; cardTemplateParamJson?: string; digitalTemplateCode?: string; digitalTemplateParamJson?: string; fallbackType?: string; outId?: string; phoneNumberJson?: string; signNameJson?: string; smsTemplateCode?: string; smsTemplateParamJson?: string; smsUpExtendCodeJson?: string; static names(): { [key: string]: string } { return { cardTemplateCode: 'CardTemplateCode', cardTemplateParamJson: 'CardTemplateParamJson', digitalTemplateCode: 'DigitalTemplateCode', digitalTemplateParamJson: 'DigitalTemplateParamJson', fallbackType: 'FallbackType', outId: 'OutId', phoneNumberJson: 'PhoneNumberJson', signNameJson: 'SignNameJson', smsTemplateCode: 'SmsTemplateCode', smsTemplateParamJson: 'SmsTemplateParamJson', smsUpExtendCodeJson: 'SmsUpExtendCodeJson', }; } static types(): { [key: string]: any } { return { cardTemplateCode: 'string', cardTemplateParamJson: 'string', digitalTemplateCode: 'string', digitalTemplateParamJson: 'string', fallbackType: 'string', outId: 'string', phoneNumberJson: 'string', signNameJson: 'string', smsTemplateCode: 'string', smsTemplateParamJson: 'string', smsUpExtendCodeJson: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SendBatchCardSmsResponseBody extends $tea.Model { code?: string; data?: SendBatchCardSmsResponseBodyData; requestId?: string; success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: SendBatchCardSmsResponseBodyData, requestId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SendBatchCardSmsResponse extends $tea.Model { headers: { [key: string]: string }; statusCode: number; body: SendBatchCardSmsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SendBatchCardSmsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SendBatchSmsRequest extends $tea.Model { ownerId?: number; phoneNumberJson?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; signNameJson?: string; smsUpExtendCodeJson?: string; templateCode?: string; templateParamJson?: string; static names(): { [key: string]: string } { return { ownerId: 'OwnerId', phoneNumberJson: 'PhoneNumberJson', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', signNameJson: 'SignNameJson', smsUpEx