afs.ts 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866
  1. // This file is auto-generated, don't edit it
  2. /**
  3. *
  4. */
  5. import Util, * as $Util from '@alicloud/tea-util'
  6. import OpenApi, * as $OpenApi from '@alicloud/openapi-client'
  7. import EndpointUtil from '@alicloud/endpoint-util'
  8. import * as $tea from '@alicloud/tea-typescript'
  9. export class AnalyzeNvcRequest extends $tea.Model {
  10. sourceIp?: string
  11. scoreJsonStr?: string
  12. data?: string
  13. static names(): { [key: string]: string } {
  14. return {
  15. sourceIp: 'SourceIp',
  16. scoreJsonStr: 'ScoreJsonStr',
  17. data: 'Data'
  18. }
  19. }
  20. static types(): { [key: string]: any } {
  21. return {
  22. sourceIp: 'string',
  23. scoreJsonStr: 'string',
  24. data: 'string'
  25. }
  26. }
  27. constructor(map?: { [key: string]: any }) {
  28. super(map)
  29. }
  30. }
  31. export class AnalyzeNvcResponseBody extends $tea.Model {
  32. requestId?: string
  33. bizCode?: string
  34. static names(): { [key: string]: string } {
  35. return {
  36. requestId: 'RequestId',
  37. bizCode: 'BizCode'
  38. }
  39. }
  40. static types(): { [key: string]: any } {
  41. return {
  42. requestId: 'string',
  43. bizCode: 'string'
  44. }
  45. }
  46. constructor(map?: { [key: string]: any }) {
  47. super(map)
  48. }
  49. }
  50. export class AnalyzeNvcResponse extends $tea.Model {
  51. headers: { [key: string]: string }
  52. body: AnalyzeNvcResponseBody
  53. static names(): { [key: string]: string } {
  54. return {
  55. headers: 'headers',
  56. body: 'body'
  57. }
  58. }
  59. static types(): { [key: string]: any } {
  60. return {
  61. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  62. body: AnalyzeNvcResponseBody
  63. }
  64. }
  65. constructor(map?: { [key: string]: any }) {
  66. super(map)
  67. }
  68. }
  69. export class AuthenticateSigRequest extends $tea.Model {
  70. sourceIp?: string
  71. sessionId?: string
  72. appKey?: string
  73. sig?: string
  74. token?: string
  75. scene?: string
  76. remoteIp?: string
  77. static names(): { [key: string]: string } {
  78. return {
  79. sourceIp: 'SourceIp',
  80. sessionId: 'SessionId',
  81. appKey: 'AppKey',
  82. sig: 'Sig',
  83. token: 'Token',
  84. scene: 'Scene',
  85. remoteIp: 'RemoteIp'
  86. }
  87. }
  88. static types(): { [key: string]: any } {
  89. return {
  90. sourceIp: 'string',
  91. sessionId: 'string',
  92. appKey: 'string',
  93. sig: 'string',
  94. token: 'string',
  95. scene: 'string',
  96. remoteIp: 'string'
  97. }
  98. }
  99. constructor(map?: { [key: string]: any }) {
  100. super(map)
  101. }
  102. }
  103. export class AuthenticateSigResponseBody extends $tea.Model {
  104. msg?: string
  105. requestId?: string
  106. riskLevel?: string
  107. code?: number
  108. detail?: string
  109. static names(): { [key: string]: string } {
  110. return {
  111. msg: 'Msg',
  112. requestId: 'RequestId',
  113. riskLevel: 'RiskLevel',
  114. code: 'Code',
  115. detail: 'Detail'
  116. }
  117. }
  118. static types(): { [key: string]: any } {
  119. return {
  120. msg: 'string',
  121. requestId: 'string',
  122. riskLevel: 'string',
  123. code: 'number',
  124. detail: 'string'
  125. }
  126. }
  127. constructor(map?: { [key: string]: any }) {
  128. super(map)
  129. }
  130. }
  131. export class AuthenticateSigResponse extends $tea.Model {
  132. headers: { [key: string]: string }
  133. body: AuthenticateSigResponseBody
  134. static names(): { [key: string]: string } {
  135. return {
  136. headers: 'headers',
  137. body: 'body'
  138. }
  139. }
  140. static types(): { [key: string]: any } {
  141. return {
  142. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  143. body: AuthenticateSigResponseBody
  144. }
  145. }
  146. constructor(map?: { [key: string]: any }) {
  147. super(map)
  148. }
  149. }
  150. export class ConfigurationStyleRequest extends $tea.Model {
  151. sourceIp?: string
  152. applyType?: string
  153. scene?: string
  154. configurationMethod?: string
  155. refExtId?: string
  156. static names(): { [key: string]: string } {
  157. return {
  158. sourceIp: 'SourceIp',
  159. applyType: 'ApplyType',
  160. scene: 'Scene',
  161. configurationMethod: 'ConfigurationMethod',
  162. refExtId: 'RefExtId'
  163. }
  164. }
  165. static types(): { [key: string]: any } {
  166. return {
  167. sourceIp: 'string',
  168. applyType: 'string',
  169. scene: 'string',
  170. configurationMethod: 'string',
  171. refExtId: 'string'
  172. }
  173. }
  174. constructor(map?: { [key: string]: any }) {
  175. super(map)
  176. }
  177. }
  178. export class ConfigurationStyleResponseBody extends $tea.Model {
  179. codeData?: ConfigurationStyleResponseBodyCodeData
  180. requestId?: string
  181. bizCode?: string
  182. static names(): { [key: string]: string } {
  183. return {
  184. codeData: 'CodeData',
  185. requestId: 'RequestId',
  186. bizCode: 'BizCode'
  187. }
  188. }
  189. static types(): { [key: string]: any } {
  190. return {
  191. codeData: ConfigurationStyleResponseBodyCodeData,
  192. requestId: 'string',
  193. bizCode: 'string'
  194. }
  195. }
  196. constructor(map?: { [key: string]: any }) {
  197. super(map)
  198. }
  199. }
  200. export class ConfigurationStyleResponse extends $tea.Model {
  201. headers: { [key: string]: string }
  202. body: ConfigurationStyleResponseBody
  203. static names(): { [key: string]: string } {
  204. return {
  205. headers: 'headers',
  206. body: 'body'
  207. }
  208. }
  209. static types(): { [key: string]: any } {
  210. return {
  211. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  212. body: ConfigurationStyleResponseBody
  213. }
  214. }
  215. constructor(map?: { [key: string]: any }) {
  216. super(map)
  217. }
  218. }
  219. export class CreateConfigurationRequest extends $tea.Model {
  220. sourceIp?: string
  221. configurationName?: string
  222. applyType?: string
  223. scene?: string
  224. maxPV?: string
  225. configurationMethod?: string
  226. static names(): { [key: string]: string } {
  227. return {
  228. sourceIp: 'SourceIp',
  229. configurationName: 'ConfigurationName',
  230. applyType: 'ApplyType',
  231. scene: 'Scene',
  232. maxPV: 'MaxPV',
  233. configurationMethod: 'ConfigurationMethod'
  234. }
  235. }
  236. static types(): { [key: string]: any } {
  237. return {
  238. sourceIp: 'string',
  239. configurationName: 'string',
  240. applyType: 'string',
  241. scene: 'string',
  242. maxPV: 'string',
  243. configurationMethod: 'string'
  244. }
  245. }
  246. constructor(map?: { [key: string]: any }) {
  247. super(map)
  248. }
  249. }
  250. export class CreateConfigurationResponseBody extends $tea.Model {
  251. refExtId?: string
  252. requestId?: string
  253. bizCode?: string
  254. static names(): { [key: string]: string } {
  255. return {
  256. refExtId: 'RefExtId',
  257. requestId: 'RequestId',
  258. bizCode: 'BizCode'
  259. }
  260. }
  261. static types(): { [key: string]: any } {
  262. return {
  263. refExtId: 'string',
  264. requestId: 'string',
  265. bizCode: 'string'
  266. }
  267. }
  268. constructor(map?: { [key: string]: any }) {
  269. super(map)
  270. }
  271. }
  272. export class CreateConfigurationResponse extends $tea.Model {
  273. headers: { [key: string]: string }
  274. body: CreateConfigurationResponseBody
  275. static names(): { [key: string]: string } {
  276. return {
  277. headers: 'headers',
  278. body: 'body'
  279. }
  280. }
  281. static types(): { [key: string]: any } {
  282. return {
  283. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  284. body: CreateConfigurationResponseBody
  285. }
  286. }
  287. constructor(map?: { [key: string]: any }) {
  288. super(map)
  289. }
  290. }
  291. export class DescribeAfsConfigNameRequest extends $tea.Model {
  292. sourceIp?: string
  293. productName?: string
  294. static names(): { [key: string]: string } {
  295. return {
  296. sourceIp: 'SourceIp',
  297. productName: 'ProductName'
  298. }
  299. }
  300. static types(): { [key: string]: any } {
  301. return {
  302. sourceIp: 'string',
  303. productName: 'string'
  304. }
  305. }
  306. constructor(map?: { [key: string]: any }) {
  307. super(map)
  308. }
  309. }
  310. export class DescribeAfsConfigNameResponseBody extends $tea.Model {
  311. requestId?: string
  312. configNames?: DescribeAfsConfigNameResponseBodyConfigNames[]
  313. bizCode?: string
  314. hasData?: boolean
  315. static names(): { [key: string]: string } {
  316. return {
  317. requestId: 'RequestId',
  318. configNames: 'ConfigNames',
  319. bizCode: 'BizCode',
  320. hasData: 'HasData'
  321. }
  322. }
  323. static types(): { [key: string]: any } {
  324. return {
  325. requestId: 'string',
  326. configNames: { type: 'array', itemType: DescribeAfsConfigNameResponseBodyConfigNames },
  327. bizCode: 'string',
  328. hasData: 'boolean'
  329. }
  330. }
  331. constructor(map?: { [key: string]: any }) {
  332. super(map)
  333. }
  334. }
  335. export class DescribeAfsConfigNameResponse extends $tea.Model {
  336. headers: { [key: string]: string }
  337. body: DescribeAfsConfigNameResponseBody
  338. static names(): { [key: string]: string } {
  339. return {
  340. headers: 'headers',
  341. body: 'body'
  342. }
  343. }
  344. static types(): { [key: string]: any } {
  345. return {
  346. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  347. body: DescribeAfsConfigNameResponseBody
  348. }
  349. }
  350. constructor(map?: { [key: string]: any }) {
  351. super(map)
  352. }
  353. }
  354. export class DescribeAfsOneConfDataRequest extends $tea.Model {
  355. sourceIp?: string
  356. appKey?: string
  357. scene?: string
  358. productName?: string
  359. static names(): { [key: string]: string } {
  360. return {
  361. sourceIp: 'SourceIp',
  362. appKey: 'AppKey',
  363. scene: 'Scene',
  364. productName: 'ProductName'
  365. }
  366. }
  367. static types(): { [key: string]: any } {
  368. return {
  369. sourceIp: 'string',
  370. appKey: 'string',
  371. scene: 'string',
  372. productName: 'string'
  373. }
  374. }
  375. constructor(map?: { [key: string]: any }) {
  376. super(map)
  377. }
  378. }
  379. export class DescribeAfsOneConfDataResponseBody extends $tea.Model {
  380. requestId?: string
  381. icOneConfDatas?: DescribeAfsOneConfDataResponseBodyIcOneConfDatas[]
  382. ncOneConfDatas?: DescribeAfsOneConfDataResponseBodyNcOneConfDatas[]
  383. nvcOneConfDatas?: DescribeAfsOneConfDataResponseBodyNvcOneConfDatas[]
  384. bizCode?: string
  385. hasData?: boolean
  386. static names(): { [key: string]: string } {
  387. return {
  388. requestId: 'RequestId',
  389. icOneConfDatas: 'IcOneConfDatas',
  390. ncOneConfDatas: 'NcOneConfDatas',
  391. nvcOneConfDatas: 'NvcOneConfDatas',
  392. bizCode: 'BizCode',
  393. hasData: 'HasData'
  394. }
  395. }
  396. static types(): { [key: string]: any } {
  397. return {
  398. requestId: 'string',
  399. icOneConfDatas: { type: 'array', itemType: DescribeAfsOneConfDataResponseBodyIcOneConfDatas },
  400. ncOneConfDatas: { type: 'array', itemType: DescribeAfsOneConfDataResponseBodyNcOneConfDatas },
  401. nvcOneConfDatas: { type: 'array', itemType: DescribeAfsOneConfDataResponseBodyNvcOneConfDatas },
  402. bizCode: 'string',
  403. hasData: 'boolean'
  404. }
  405. }
  406. constructor(map?: { [key: string]: any }) {
  407. super(map)
  408. }
  409. }
  410. export class DescribeAfsOneConfDataResponse extends $tea.Model {
  411. headers: { [key: string]: string }
  412. body: DescribeAfsOneConfDataResponseBody
  413. static names(): { [key: string]: string } {
  414. return {
  415. headers: 'headers',
  416. body: 'body'
  417. }
  418. }
  419. static types(): { [key: string]: any } {
  420. return {
  421. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  422. body: DescribeAfsOneConfDataResponseBody
  423. }
  424. }
  425. constructor(map?: { [key: string]: any }) {
  426. super(map)
  427. }
  428. }
  429. export class DescribeAfsTotalConfDataRequest extends $tea.Model {
  430. sourceIp?: string
  431. productName?: string
  432. static names(): { [key: string]: string } {
  433. return {
  434. sourceIp: 'SourceIp',
  435. productName: 'ProductName'
  436. }
  437. }
  438. static types(): { [key: string]: any } {
  439. return {
  440. sourceIp: 'string',
  441. productName: 'string'
  442. }
  443. }
  444. constructor(map?: { [key: string]: any }) {
  445. super(map)
  446. }
  447. }
  448. export class DescribeAfsTotalConfDataResponseBody extends $tea.Model {
  449. requestId?: string
  450. icTotalConfSigDatas?: DescribeAfsTotalConfDataResponseBodyIcTotalConfSigDatas[]
  451. nvcTotalConfSecVerifyDatas?: DescribeAfsTotalConfDataResponseBodyNvcTotalConfSecVerifyDatas[]
  452. icTotalConfVerifyDatas?: DescribeAfsTotalConfDataResponseBodyIcTotalConfVerifyDatas[]
  453. nvcTotalConfVerifyDatas?: DescribeAfsTotalConfDataResponseBodyNvcTotalConfVerifyDatas[]
  454. icTotalConfSecVerifyDatas?: DescribeAfsTotalConfDataResponseBodyIcTotalConfSecVerifyDatas[]
  455. ncTotalConfBlockDatas?: DescribeAfsTotalConfDataResponseBodyNcTotalConfBlockDatas[]
  456. icTotalConfBlockDatas?: DescribeAfsTotalConfDataResponseBodyIcTotalConfBlockDatas[]
  457. ncTotalConfSigDatas?: DescribeAfsTotalConfDataResponseBodyNcTotalConfSigDatas[]
  458. bizCode?: string
  459. hasData?: boolean
  460. ncTotalConfVerifyDatas?: DescribeAfsTotalConfDataResponseBodyNcTotalConfVerifyDatas[]
  461. static names(): { [key: string]: string } {
  462. return {
  463. requestId: 'RequestId',
  464. icTotalConfSigDatas: 'IcTotalConfSigDatas',
  465. nvcTotalConfSecVerifyDatas: 'NvcTotalConfSecVerifyDatas',
  466. icTotalConfVerifyDatas: 'IcTotalConfVerifyDatas',
  467. nvcTotalConfVerifyDatas: 'NvcTotalConfVerifyDatas',
  468. icTotalConfSecVerifyDatas: 'IcTotalConfSecVerifyDatas',
  469. ncTotalConfBlockDatas: 'NcTotalConfBlockDatas',
  470. icTotalConfBlockDatas: 'IcTotalConfBlockDatas',
  471. ncTotalConfSigDatas: 'NcTotalConfSigDatas',
  472. bizCode: 'BizCode',
  473. hasData: 'HasData',
  474. ncTotalConfVerifyDatas: 'NcTotalConfVerifyDatas'
  475. }
  476. }
  477. static types(): { [key: string]: any } {
  478. return {
  479. requestId: 'string',
  480. icTotalConfSigDatas: { type: 'array', itemType: DescribeAfsTotalConfDataResponseBodyIcTotalConfSigDatas },
  481. nvcTotalConfSecVerifyDatas: {
  482. type: 'array',
  483. itemType: DescribeAfsTotalConfDataResponseBodyNvcTotalConfSecVerifyDatas
  484. },
  485. icTotalConfVerifyDatas: {
  486. type: 'array',
  487. itemType: DescribeAfsTotalConfDataResponseBodyIcTotalConfVerifyDatas
  488. },
  489. nvcTotalConfVerifyDatas: {
  490. type: 'array',
  491. itemType: DescribeAfsTotalConfDataResponseBodyNvcTotalConfVerifyDatas
  492. },
  493. icTotalConfSecVerifyDatas: {
  494. type: 'array',
  495. itemType: DescribeAfsTotalConfDataResponseBodyIcTotalConfSecVerifyDatas
  496. },
  497. ncTotalConfBlockDatas: {
  498. type: 'array',
  499. itemType: DescribeAfsTotalConfDataResponseBodyNcTotalConfBlockDatas
  500. },
  501. icTotalConfBlockDatas: {
  502. type: 'array',
  503. itemType: DescribeAfsTotalConfDataResponseBodyIcTotalConfBlockDatas
  504. },
  505. ncTotalConfSigDatas: { type: 'array', itemType: DescribeAfsTotalConfDataResponseBodyNcTotalConfSigDatas },
  506. bizCode: 'string',
  507. hasData: 'boolean',
  508. ncTotalConfVerifyDatas: {
  509. type: 'array',
  510. itemType: DescribeAfsTotalConfDataResponseBodyNcTotalConfVerifyDatas
  511. }
  512. }
  513. }
  514. constructor(map?: { [key: string]: any }) {
  515. super(map)
  516. }
  517. }
  518. export class DescribeAfsTotalConfDataResponse extends $tea.Model {
  519. headers: { [key: string]: string }
  520. body: DescribeAfsTotalConfDataResponseBody
  521. static names(): { [key: string]: string } {
  522. return {
  523. headers: 'headers',
  524. body: 'body'
  525. }
  526. }
  527. static types(): { [key: string]: any } {
  528. return {
  529. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  530. body: DescribeAfsTotalConfDataResponseBody
  531. }
  532. }
  533. constructor(map?: { [key: string]: any }) {
  534. super(map)
  535. }
  536. }
  537. export class DescribeAfsVerifySigDataRequest extends $tea.Model {
  538. sourceIp?: string
  539. appKey?: string
  540. scene?: string
  541. productName?: string
  542. static names(): { [key: string]: string } {
  543. return {
  544. sourceIp: 'SourceIp',
  545. appKey: 'AppKey',
  546. scene: 'Scene',
  547. productName: 'ProductName'
  548. }
  549. }
  550. static types(): { [key: string]: any } {
  551. return {
  552. sourceIp: 'string',
  553. appKey: 'string',
  554. scene: 'string',
  555. productName: 'string'
  556. }
  557. }
  558. constructor(map?: { [key: string]: any }) {
  559. super(map)
  560. }
  561. }
  562. export class DescribeAfsVerifySigDataResponseBody extends $tea.Model {
  563. nvcCodeDatas?: DescribeAfsVerifySigDataResponseBodyNvcCodeDatas[]
  564. nvcSecDatas?: DescribeAfsVerifySigDataResponseBodyNvcSecDatas[]
  565. icVerifyDatas?: DescribeAfsVerifySigDataResponseBodyIcVerifyDatas[]
  566. requestId?: string
  567. ncVerifyDatas?: DescribeAfsVerifySigDataResponseBodyNcVerifyDatas[]
  568. nvcVerifyDatas?: DescribeAfsVerifySigDataResponseBodyNvcVerifyDatas[]
  569. icSecVerifyDatas?: DescribeAfsVerifySigDataResponseBodyIcSecVerifyDatas[]
  570. ncSigDatas?: DescribeAfsVerifySigDataResponseBodyNcSigDatas[]
  571. bizCode?: string
  572. hasData?: boolean
  573. static names(): { [key: string]: string } {
  574. return {
  575. nvcCodeDatas: 'NvcCodeDatas',
  576. nvcSecDatas: 'NvcSecDatas',
  577. icVerifyDatas: 'IcVerifyDatas',
  578. requestId: 'RequestId',
  579. ncVerifyDatas: 'NcVerifyDatas',
  580. nvcVerifyDatas: 'NvcVerifyDatas',
  581. icSecVerifyDatas: 'IcSecVerifyDatas',
  582. ncSigDatas: 'NcSigDatas',
  583. bizCode: 'BizCode',
  584. hasData: 'HasData'
  585. }
  586. }
  587. static types(): { [key: string]: any } {
  588. return {
  589. nvcCodeDatas: { type: 'array', itemType: DescribeAfsVerifySigDataResponseBodyNvcCodeDatas },
  590. nvcSecDatas: { type: 'array', itemType: DescribeAfsVerifySigDataResponseBodyNvcSecDatas },
  591. icVerifyDatas: { type: 'array', itemType: DescribeAfsVerifySigDataResponseBodyIcVerifyDatas },
  592. requestId: 'string',
  593. ncVerifyDatas: { type: 'array', itemType: DescribeAfsVerifySigDataResponseBodyNcVerifyDatas },
  594. nvcVerifyDatas: { type: 'array', itemType: DescribeAfsVerifySigDataResponseBodyNvcVerifyDatas },
  595. icSecVerifyDatas: { type: 'array', itemType: DescribeAfsVerifySigDataResponseBodyIcSecVerifyDatas },
  596. ncSigDatas: { type: 'array', itemType: DescribeAfsVerifySigDataResponseBodyNcSigDatas },
  597. bizCode: 'string',
  598. hasData: 'boolean'
  599. }
  600. }
  601. constructor(map?: { [key: string]: any }) {
  602. super(map)
  603. }
  604. }
  605. export class DescribeAfsVerifySigDataResponse extends $tea.Model {
  606. headers: { [key: string]: string }
  607. body: DescribeAfsVerifySigDataResponseBody
  608. static names(): { [key: string]: string } {
  609. return {
  610. headers: 'headers',
  611. body: 'body'
  612. }
  613. }
  614. static types(): { [key: string]: any } {
  615. return {
  616. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  617. body: DescribeAfsVerifySigDataResponseBody
  618. }
  619. }
  620. constructor(map?: { [key: string]: any }) {
  621. super(map)
  622. }
  623. }
  624. export class DescribeCaptchaDayRequest extends $tea.Model {
  625. sourceIp?: string
  626. configName?: string
  627. type?: string
  628. time?: string
  629. refExtId?: string
  630. static names(): { [key: string]: string } {
  631. return {
  632. sourceIp: 'SourceIp',
  633. configName: 'ConfigName',
  634. type: 'Type',
  635. time: 'Time',
  636. refExtId: 'RefExtId'
  637. }
  638. }
  639. static types(): { [key: string]: any } {
  640. return {
  641. sourceIp: 'string',
  642. configName: 'string',
  643. type: 'string',
  644. time: 'string',
  645. refExtId: 'string'
  646. }
  647. }
  648. constructor(map?: { [key: string]: any }) {
  649. super(map)
  650. }
  651. }
  652. export class DescribeCaptchaDayResponseBody extends $tea.Model {
  653. captchaDay?: DescribeCaptchaDayResponseBodyCaptchaDay
  654. requestId?: string
  655. bizCode?: string
  656. hasData?: boolean
  657. static names(): { [key: string]: string } {
  658. return {
  659. captchaDay: 'CaptchaDay',
  660. requestId: 'RequestId',
  661. bizCode: 'BizCode',
  662. hasData: 'HasData'
  663. }
  664. }
  665. static types(): { [key: string]: any } {
  666. return {
  667. captchaDay: DescribeCaptchaDayResponseBodyCaptchaDay,
  668. requestId: 'string',
  669. bizCode: 'string',
  670. hasData: 'boolean'
  671. }
  672. }
  673. constructor(map?: { [key: string]: any }) {
  674. super(map)
  675. }
  676. }
  677. export class DescribeCaptchaDayResponse extends $tea.Model {
  678. headers: { [key: string]: string }
  679. body: DescribeCaptchaDayResponseBody
  680. static names(): { [key: string]: string } {
  681. return {
  682. headers: 'headers',
  683. body: 'body'
  684. }
  685. }
  686. static types(): { [key: string]: any } {
  687. return {
  688. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  689. body: DescribeCaptchaDayResponseBody
  690. }
  691. }
  692. constructor(map?: { [key: string]: any }) {
  693. super(map)
  694. }
  695. }
  696. export class DescribeCaptchaIpCityRequest extends $tea.Model {
  697. sourceIp?: string
  698. configName?: string
  699. type?: string
  700. time?: string
  701. refExtId?: string
  702. static names(): { [key: string]: string } {
  703. return {
  704. sourceIp: 'SourceIp',
  705. configName: 'ConfigName',
  706. type: 'Type',
  707. time: 'Time',
  708. refExtId: 'RefExtId'
  709. }
  710. }
  711. static types(): { [key: string]: any } {
  712. return {
  713. sourceIp: 'string',
  714. configName: 'string',
  715. type: 'string',
  716. time: 'string',
  717. refExtId: 'string'
  718. }
  719. }
  720. constructor(map?: { [key: string]: any }) {
  721. super(map)
  722. }
  723. }
  724. export class DescribeCaptchaIpCityResponseBody extends $tea.Model {
  725. captchaIps?: DescribeCaptchaIpCityResponseBodyCaptchaIps[]
  726. captchaCities?: DescribeCaptchaIpCityResponseBodyCaptchaCities[]
  727. requestId?: string
  728. bizCode?: string
  729. hasData?: boolean
  730. static names(): { [key: string]: string } {
  731. return {
  732. captchaIps: 'CaptchaIps',
  733. captchaCities: 'CaptchaCities',
  734. requestId: 'RequestId',
  735. bizCode: 'BizCode',
  736. hasData: 'HasData'
  737. }
  738. }
  739. static types(): { [key: string]: any } {
  740. return {
  741. captchaIps: { type: 'array', itemType: DescribeCaptchaIpCityResponseBodyCaptchaIps },
  742. captchaCities: { type: 'array', itemType: DescribeCaptchaIpCityResponseBodyCaptchaCities },
  743. requestId: 'string',
  744. bizCode: 'string',
  745. hasData: 'boolean'
  746. }
  747. }
  748. constructor(map?: { [key: string]: any }) {
  749. super(map)
  750. }
  751. }
  752. export class DescribeCaptchaIpCityResponse extends $tea.Model {
  753. headers: { [key: string]: string }
  754. body: DescribeCaptchaIpCityResponseBody
  755. static names(): { [key: string]: string } {
  756. return {
  757. headers: 'headers',
  758. body: 'body'
  759. }
  760. }
  761. static types(): { [key: string]: any } {
  762. return {
  763. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  764. body: DescribeCaptchaIpCityResponseBody
  765. }
  766. }
  767. constructor(map?: { [key: string]: any }) {
  768. super(map)
  769. }
  770. }
  771. export class DescribeCaptchaMinRequest extends $tea.Model {
  772. sourceIp?: string
  773. configName?: string
  774. type?: string
  775. time?: string
  776. refExtId?: string
  777. static names(): { [key: string]: string } {
  778. return {
  779. sourceIp: 'SourceIp',
  780. configName: 'ConfigName',
  781. type: 'Type',
  782. time: 'Time',
  783. refExtId: 'RefExtId'
  784. }
  785. }
  786. static types(): { [key: string]: any } {
  787. return {
  788. sourceIp: 'string',
  789. configName: 'string',
  790. type: 'string',
  791. time: 'string',
  792. refExtId: 'string'
  793. }
  794. }
  795. constructor(map?: { [key: string]: any }) {
  796. super(map)
  797. }
  798. }
  799. export class DescribeCaptchaMinResponseBody extends $tea.Model {
  800. requestId?: string
  801. captchaMins?: DescribeCaptchaMinResponseBodyCaptchaMins[]
  802. bizCode?: string
  803. hasData?: boolean
  804. static names(): { [key: string]: string } {
  805. return {
  806. requestId: 'RequestId',
  807. captchaMins: 'CaptchaMins',
  808. bizCode: 'BizCode',
  809. hasData: 'HasData'
  810. }
  811. }
  812. static types(): { [key: string]: any } {
  813. return {
  814. requestId: 'string',
  815. captchaMins: { type: 'array', itemType: DescribeCaptchaMinResponseBodyCaptchaMins },
  816. bizCode: 'string',
  817. hasData: 'boolean'
  818. }
  819. }
  820. constructor(map?: { [key: string]: any }) {
  821. super(map)
  822. }
  823. }
  824. export class DescribeCaptchaMinResponse extends $tea.Model {
  825. headers: { [key: string]: string }
  826. body: DescribeCaptchaMinResponseBody
  827. static names(): { [key: string]: string } {
  828. return {
  829. headers: 'headers',
  830. body: 'body'
  831. }
  832. }
  833. static types(): { [key: string]: any } {
  834. return {
  835. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  836. body: DescribeCaptchaMinResponseBody
  837. }
  838. }
  839. constructor(map?: { [key: string]: any }) {
  840. super(map)
  841. }
  842. }
  843. export class DescribeCaptchaOrderRequest extends $tea.Model {
  844. sourceIp?: string
  845. lang?: string
  846. static names(): { [key: string]: string } {
  847. return {
  848. sourceIp: 'SourceIp',
  849. lang: 'Lang'
  850. }
  851. }
  852. static types(): { [key: string]: any } {
  853. return {
  854. sourceIp: 'string',
  855. lang: 'string'
  856. }
  857. }
  858. constructor(map?: { [key: string]: any }) {
  859. super(map)
  860. }
  861. }
  862. export class DescribeCaptchaOrderResponseBody extends $tea.Model {
  863. requestId?: string
  864. bizCode?: string
  865. static names(): { [key: string]: string } {
  866. return {
  867. requestId: 'RequestId',
  868. bizCode: 'BizCode'
  869. }
  870. }
  871. static types(): { [key: string]: any } {
  872. return {
  873. requestId: 'string',
  874. bizCode: 'string'
  875. }
  876. }
  877. constructor(map?: { [key: string]: any }) {
  878. super(map)
  879. }
  880. }
  881. export class DescribeCaptchaOrderResponse extends $tea.Model {
  882. headers: { [key: string]: string }
  883. body: DescribeCaptchaOrderResponseBody
  884. static names(): { [key: string]: string } {
  885. return {
  886. headers: 'headers',
  887. body: 'body'
  888. }
  889. }
  890. static types(): { [key: string]: any } {
  891. return {
  892. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  893. body: DescribeCaptchaOrderResponseBody
  894. }
  895. }
  896. constructor(map?: { [key: string]: any }) {
  897. super(map)
  898. }
  899. }
  900. export class DescribeCaptchaRiskRequest extends $tea.Model {
  901. sourceIp?: string
  902. configName?: string
  903. time?: string
  904. refExtId?: string
  905. static names(): { [key: string]: string } {
  906. return {
  907. sourceIp: 'SourceIp',
  908. configName: 'ConfigName',
  909. time: 'Time',
  910. refExtId: 'RefExtId'
  911. }
  912. }
  913. static types(): { [key: string]: any } {
  914. return {
  915. sourceIp: 'string',
  916. configName: 'string',
  917. time: 'string',
  918. refExtId: 'string'
  919. }
  920. }
  921. constructor(map?: { [key: string]: any }) {
  922. super(map)
  923. }
  924. }
  925. export class DescribeCaptchaRiskResponseBody extends $tea.Model {
  926. requestId?: string
  927. numOfLastMonth?: number
  928. riskLevel?: string
  929. numOfThisMonth?: number
  930. bizCode?: string
  931. static names(): { [key: string]: string } {
  932. return {
  933. requestId: 'RequestId',
  934. numOfLastMonth: 'NumOfLastMonth',
  935. riskLevel: 'RiskLevel',
  936. numOfThisMonth: 'NumOfThisMonth',
  937. bizCode: 'BizCode'
  938. }
  939. }
  940. static types(): { [key: string]: any } {
  941. return {
  942. requestId: 'string',
  943. numOfLastMonth: 'number',
  944. riskLevel: 'string',
  945. numOfThisMonth: 'number',
  946. bizCode: 'string'
  947. }
  948. }
  949. constructor(map?: { [key: string]: any }) {
  950. super(map)
  951. }
  952. }
  953. export class DescribeCaptchaRiskResponse extends $tea.Model {
  954. headers: { [key: string]: string }
  955. body: DescribeCaptchaRiskResponseBody
  956. static names(): { [key: string]: string } {
  957. return {
  958. headers: 'headers',
  959. body: 'body'
  960. }
  961. }
  962. static types(): { [key: string]: any } {
  963. return {
  964. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  965. body: DescribeCaptchaRiskResponseBody
  966. }
  967. }
  968. constructor(map?: { [key: string]: any }) {
  969. super(map)
  970. }
  971. }
  972. export class DescribeConfigNameRequest extends $tea.Model {
  973. sourceIp?: string
  974. static names(): { [key: string]: string } {
  975. return {
  976. sourceIp: 'SourceIp'
  977. }
  978. }
  979. static types(): { [key: string]: any } {
  980. return {
  981. sourceIp: 'string'
  982. }
  983. }
  984. constructor(map?: { [key: string]: any }) {
  985. super(map)
  986. }
  987. }
  988. export class DescribeConfigNameResponseBody extends $tea.Model {
  989. requestId?: string
  990. configNames?: DescribeConfigNameResponseBodyConfigNames[]
  991. hasConfig?: boolean
  992. bizCode?: string
  993. static names(): { [key: string]: string } {
  994. return {
  995. requestId: 'RequestId',
  996. configNames: 'ConfigNames',
  997. hasConfig: 'HasConfig',
  998. bizCode: 'BizCode'
  999. }
  1000. }
  1001. static types(): { [key: string]: any } {
  1002. return {
  1003. requestId: 'string',
  1004. configNames: { type: 'array', itemType: DescribeConfigNameResponseBodyConfigNames },
  1005. hasConfig: 'boolean',
  1006. bizCode: 'string'
  1007. }
  1008. }
  1009. constructor(map?: { [key: string]: any }) {
  1010. super(map)
  1011. }
  1012. }
  1013. export class DescribeConfigNameResponse extends $tea.Model {
  1014. headers: { [key: string]: string }
  1015. body: DescribeConfigNameResponseBody
  1016. static names(): { [key: string]: string } {
  1017. return {
  1018. headers: 'headers',
  1019. body: 'body'
  1020. }
  1021. }
  1022. static types(): { [key: string]: any } {
  1023. return {
  1024. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  1025. body: DescribeConfigNameResponseBody
  1026. }
  1027. }
  1028. constructor(map?: { [key: string]: any }) {
  1029. super(map)
  1030. }
  1031. }
  1032. export class DescribeEarlyWarningRequest extends $tea.Model {
  1033. sourceIp?: string
  1034. static names(): { [key: string]: string } {
  1035. return {
  1036. sourceIp: 'SourceIp'
  1037. }
  1038. }
  1039. static types(): { [key: string]: any } {
  1040. return {
  1041. sourceIp: 'string'
  1042. }
  1043. }
  1044. constructor(map?: { [key: string]: any }) {
  1045. super(map)
  1046. }
  1047. }
  1048. export class DescribeEarlyWarningResponseBody extends $tea.Model {
  1049. requestId?: string
  1050. hasWarning?: boolean
  1051. earlyWarnings?: DescribeEarlyWarningResponseBodyEarlyWarnings[]
  1052. bizCode?: string
  1053. static names(): { [key: string]: string } {
  1054. return {
  1055. requestId: 'RequestId',
  1056. hasWarning: 'HasWarning',
  1057. earlyWarnings: 'EarlyWarnings',
  1058. bizCode: 'BizCode'
  1059. }
  1060. }
  1061. static types(): { [key: string]: any } {
  1062. return {
  1063. requestId: 'string',
  1064. hasWarning: 'boolean',
  1065. earlyWarnings: { type: 'array', itemType: DescribeEarlyWarningResponseBodyEarlyWarnings },
  1066. bizCode: 'string'
  1067. }
  1068. }
  1069. constructor(map?: { [key: string]: any }) {
  1070. super(map)
  1071. }
  1072. }
  1073. export class DescribeEarlyWarningResponse extends $tea.Model {
  1074. headers: { [key: string]: string }
  1075. body: DescribeEarlyWarningResponseBody
  1076. static names(): { [key: string]: string } {
  1077. return {
  1078. headers: 'headers',
  1079. body: 'body'
  1080. }
  1081. }
  1082. static types(): { [key: string]: any } {
  1083. return {
  1084. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  1085. body: DescribeEarlyWarningResponseBody
  1086. }
  1087. }
  1088. constructor(map?: { [key: string]: any }) {
  1089. super(map)
  1090. }
  1091. }
  1092. export class DescribeOrderInfoRequest extends $tea.Model {
  1093. sourceIp?: string
  1094. static names(): { [key: string]: string } {
  1095. return {
  1096. sourceIp: 'SourceIp'
  1097. }
  1098. }
  1099. static types(): { [key: string]: any } {
  1100. return {
  1101. sourceIp: 'string'
  1102. }
  1103. }
  1104. constructor(map?: { [key: string]: any }) {
  1105. super(map)
  1106. }
  1107. }
  1108. export class DescribeOrderInfoResponseBody extends $tea.Model {
  1109. orderLevel?: string
  1110. requestId?: string
  1111. num?: string
  1112. endDate?: string
  1113. bizCode?: string
  1114. beginDate?: string
  1115. static names(): { [key: string]: string } {
  1116. return {
  1117. orderLevel: 'OrderLevel',
  1118. requestId: 'RequestId',
  1119. num: 'Num',
  1120. endDate: 'EndDate',
  1121. bizCode: 'BizCode',
  1122. beginDate: 'BeginDate'
  1123. }
  1124. }
  1125. static types(): { [key: string]: any } {
  1126. return {
  1127. orderLevel: 'string',
  1128. requestId: 'string',
  1129. num: 'string',
  1130. endDate: 'string',
  1131. bizCode: 'string',
  1132. beginDate: 'string'
  1133. }
  1134. }
  1135. constructor(map?: { [key: string]: any }) {
  1136. super(map)
  1137. }
  1138. }
  1139. export class DescribeOrderInfoResponse extends $tea.Model {
  1140. headers: { [key: string]: string }
  1141. body: DescribeOrderInfoResponseBody
  1142. static names(): { [key: string]: string } {
  1143. return {
  1144. headers: 'headers',
  1145. body: 'body'
  1146. }
  1147. }
  1148. static types(): { [key: string]: any } {
  1149. return {
  1150. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  1151. body: DescribeOrderInfoResponseBody
  1152. }
  1153. }
  1154. constructor(map?: { [key: string]: any }) {
  1155. super(map)
  1156. }
  1157. }
  1158. export class DescribePersonMachineListRequest extends $tea.Model {
  1159. sourceIp?: string
  1160. static names(): { [key: string]: string } {
  1161. return {
  1162. sourceIp: 'SourceIp'
  1163. }
  1164. }
  1165. static types(): { [key: string]: any } {
  1166. return {
  1167. sourceIp: 'string'
  1168. }
  1169. }
  1170. constructor(map?: { [key: string]: any }) {
  1171. super(map)
  1172. }
  1173. }
  1174. export class DescribePersonMachineListResponseBody extends $tea.Model {
  1175. personMachineRes?: DescribePersonMachineListResponseBodyPersonMachineRes
  1176. requestId?: string
  1177. bizCode?: string
  1178. static names(): { [key: string]: string } {
  1179. return {
  1180. personMachineRes: 'PersonMachineRes',
  1181. requestId: 'RequestId',
  1182. bizCode: 'BizCode'
  1183. }
  1184. }
  1185. static types(): { [key: string]: any } {
  1186. return {
  1187. personMachineRes: DescribePersonMachineListResponseBodyPersonMachineRes,
  1188. requestId: 'string',
  1189. bizCode: 'string'
  1190. }
  1191. }
  1192. constructor(map?: { [key: string]: any }) {
  1193. super(map)
  1194. }
  1195. }
  1196. export class DescribePersonMachineListResponse extends $tea.Model {
  1197. headers: { [key: string]: string }
  1198. body: DescribePersonMachineListResponseBody
  1199. static names(): { [key: string]: string } {
  1200. return {
  1201. headers: 'headers',
  1202. body: 'body'
  1203. }
  1204. }
  1205. static types(): { [key: string]: any } {
  1206. return {
  1207. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  1208. body: DescribePersonMachineListResponseBody
  1209. }
  1210. }
  1211. constructor(map?: { [key: string]: any }) {
  1212. super(map)
  1213. }
  1214. }
  1215. export class SetEarlyWarningRequest extends $tea.Model {
  1216. sourceIp?: string
  1217. warnOpen?: boolean
  1218. channel?: string
  1219. frequency?: string
  1220. timeOpen?: boolean
  1221. timeBegin?: string
  1222. timeEnd?: string
  1223. title?: string
  1224. static names(): { [key: string]: string } {
  1225. return {
  1226. sourceIp: 'SourceIp',
  1227. warnOpen: 'WarnOpen',
  1228. channel: 'Channel',
  1229. frequency: 'Frequency',
  1230. timeOpen: 'TimeOpen',
  1231. timeBegin: 'TimeBegin',
  1232. timeEnd: 'TimeEnd',
  1233. title: 'Title'
  1234. }
  1235. }
  1236. static types(): { [key: string]: any } {
  1237. return {
  1238. sourceIp: 'string',
  1239. warnOpen: 'boolean',
  1240. channel: 'string',
  1241. frequency: 'string',
  1242. timeOpen: 'boolean',
  1243. timeBegin: 'string',
  1244. timeEnd: 'string',
  1245. title: 'string'
  1246. }
  1247. }
  1248. constructor(map?: { [key: string]: any }) {
  1249. super(map)
  1250. }
  1251. }
  1252. export class SetEarlyWarningResponseBody extends $tea.Model {
  1253. requestId?: string
  1254. bizCode?: string
  1255. static names(): { [key: string]: string } {
  1256. return {
  1257. requestId: 'RequestId',
  1258. bizCode: 'BizCode'
  1259. }
  1260. }
  1261. static types(): { [key: string]: any } {
  1262. return {
  1263. requestId: 'string',
  1264. bizCode: 'string'
  1265. }
  1266. }
  1267. constructor(map?: { [key: string]: any }) {
  1268. super(map)
  1269. }
  1270. }
  1271. export class SetEarlyWarningResponse extends $tea.Model {
  1272. headers: { [key: string]: string }
  1273. body: SetEarlyWarningResponseBody
  1274. static names(): { [key: string]: string } {
  1275. return {
  1276. headers: 'headers',
  1277. body: 'body'
  1278. }
  1279. }
  1280. static types(): { [key: string]: any } {
  1281. return {
  1282. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  1283. body: SetEarlyWarningResponseBody
  1284. }
  1285. }
  1286. constructor(map?: { [key: string]: any }) {
  1287. super(map)
  1288. }
  1289. }
  1290. export class UpdateConfigNameRequest extends $tea.Model {
  1291. sourceIp?: string
  1292. lang?: string
  1293. refExtId?: string
  1294. configName?: string
  1295. static names(): { [key: string]: string } {
  1296. return {
  1297. sourceIp: 'SourceIp',
  1298. lang: 'Lang',
  1299. refExtId: 'RefExtId',
  1300. configName: 'ConfigName'
  1301. }
  1302. }
  1303. static types(): { [key: string]: any } {
  1304. return {
  1305. sourceIp: 'string',
  1306. lang: 'string',
  1307. refExtId: 'string',
  1308. configName: 'string'
  1309. }
  1310. }
  1311. constructor(map?: { [key: string]: any }) {
  1312. super(map)
  1313. }
  1314. }
  1315. export class UpdateConfigNameResponseBody extends $tea.Model {
  1316. requestId?: string
  1317. bizCode?: string
  1318. static names(): { [key: string]: string } {
  1319. return {
  1320. requestId: 'RequestId',
  1321. bizCode: 'BizCode'
  1322. }
  1323. }
  1324. static types(): { [key: string]: any } {
  1325. return {
  1326. requestId: 'string',
  1327. bizCode: 'string'
  1328. }
  1329. }
  1330. constructor(map?: { [key: string]: any }) {
  1331. super(map)
  1332. }
  1333. }
  1334. export class UpdateConfigNameResponse extends $tea.Model {
  1335. headers: { [key: string]: string }
  1336. body: UpdateConfigNameResponseBody
  1337. static names(): { [key: string]: string } {
  1338. return {
  1339. headers: 'headers',
  1340. body: 'body'
  1341. }
  1342. }
  1343. static types(): { [key: string]: any } {
  1344. return {
  1345. headers: { type: 'map', keyType: 'string', valueType: 'string' },
  1346. body: UpdateConfigNameResponseBody
  1347. }
  1348. }
  1349. constructor(map?: { [key: string]: any }) {
  1350. super(map)
  1351. }
  1352. }
  1353. export class ConfigurationStyleResponseBodyCodeData extends $tea.Model {
  1354. nodeJs?: string
  1355. javaUrl?: string
  1356. python?: string
  1357. java?: string
  1358. nodeJsUrl?: string
  1359. pythonUrl?: string
  1360. html?: string
  1361. phpUrl?: string
  1362. netUrl?: string
  1363. php?: string
  1364. net?: string
  1365. static names(): { [key: string]: string } {
  1366. return {
  1367. nodeJs: 'NodeJs',
  1368. javaUrl: 'JavaUrl',
  1369. python: 'Python',
  1370. java: 'Java',
  1371. nodeJsUrl: 'NodeJsUrl',
  1372. pythonUrl: 'PythonUrl',
  1373. html: 'Html',
  1374. phpUrl: 'PhpUrl',
  1375. netUrl: 'NetUrl',
  1376. php: 'Php',
  1377. net: 'Net'
  1378. }
  1379. }
  1380. static types(): { [key: string]: any } {
  1381. return {
  1382. nodeJs: 'string',
  1383. javaUrl: 'string',
  1384. python: 'string',
  1385. java: 'string',
  1386. nodeJsUrl: 'string',
  1387. pythonUrl: 'string',
  1388. html: 'string',
  1389. phpUrl: 'string',
  1390. netUrl: 'string',
  1391. php: 'string',
  1392. net: 'string'
  1393. }
  1394. }
  1395. constructor(map?: { [key: string]: any }) {
  1396. super(map)
  1397. }
  1398. }
  1399. export class DescribeAfsConfigNameResponseBodyConfigNames extends $tea.Model {
  1400. configName?: string
  1401. appKey?: string
  1402. refExtId?: string
  1403. aliUid?: string
  1404. scene?: string
  1405. static names(): { [key: string]: string } {
  1406. return {
  1407. configName: 'ConfigName',
  1408. appKey: 'AppKey',
  1409. refExtId: 'RefExtId',
  1410. aliUid: 'AliUid',
  1411. scene: 'Scene'
  1412. }
  1413. }
  1414. static types(): { [key: string]: any } {
  1415. return {
  1416. configName: 'string',
  1417. appKey: 'string',
  1418. refExtId: 'string',
  1419. aliUid: 'string',
  1420. scene: 'string'
  1421. }
  1422. }
  1423. constructor(map?: { [key: string]: any }) {
  1424. super(map)
  1425. }
  1426. }
  1427. export class DescribeAfsOneConfDataResponseBodyIcOneConfDatas extends $tea.Model {
  1428. icSigCnt?: number
  1429. icBlockCnt?: number
  1430. tableDate?: string
  1431. icVerifyCnt?: number
  1432. icSecVerifyCnt?: number
  1433. icInitCnt?: number
  1434. icNoActionCnt?: number
  1435. static names(): { [key: string]: string } {
  1436. return {
  1437. icSigCnt: 'IcSigCnt',
  1438. icBlockCnt: 'IcBlockCnt',
  1439. tableDate: 'TableDate',
  1440. icVerifyCnt: 'IcVerifyCnt',
  1441. icSecVerifyCnt: 'IcSecVerifyCnt',
  1442. icInitCnt: 'IcInitCnt',
  1443. icNoActionCnt: 'IcNoActionCnt'
  1444. }
  1445. }
  1446. static types(): { [key: string]: any } {
  1447. return {
  1448. icSigCnt: 'number',
  1449. icBlockCnt: 'number',
  1450. tableDate: 'string',
  1451. icVerifyCnt: 'number',
  1452. icSecVerifyCnt: 'number',
  1453. icInitCnt: 'number',
  1454. icNoActionCnt: 'number'
  1455. }
  1456. }
  1457. constructor(map?: { [key: string]: any }) {
  1458. super(map)
  1459. }
  1460. }
  1461. export class DescribeAfsOneConfDataResponseBodyNcOneConfDatas extends $tea.Model {
  1462. tableDate?: string
  1463. ncSigCnt?: number
  1464. ncVerifyCnt?: number
  1465. ncNoActionCnt?: number
  1466. ncVerifyBlockCnt?: number
  1467. ncInitCnt?: number
  1468. ncSigBlockCnt?: number
  1469. static names(): { [key: string]: string } {
  1470. return {
  1471. tableDate: 'TableDate',
  1472. ncSigCnt: 'NcSigCnt',
  1473. ncVerifyCnt: 'NcVerifyCnt',
  1474. ncNoActionCnt: 'NcNoActionCnt',
  1475. ncVerifyBlockCnt: 'NcVerifyBlockCnt',
  1476. ncInitCnt: 'NcInitCnt',
  1477. ncSigBlockCnt: 'NcSigBlockCnt'
  1478. }
  1479. }
  1480. static types(): { [key: string]: any } {
  1481. return {
  1482. tableDate: 'string',
  1483. ncSigCnt: 'number',
  1484. ncVerifyCnt: 'number',
  1485. ncNoActionCnt: 'number',
  1486. ncVerifyBlockCnt: 'number',
  1487. ncInitCnt: 'number',
  1488. ncSigBlockCnt: 'number'
  1489. }
  1490. }
  1491. constructor(map?: { [key: string]: any }) {
  1492. super(map)
  1493. }
  1494. }
  1495. export class DescribeAfsOneConfDataResponseBodyNvcOneConfDatas extends $tea.Model {
  1496. nvcNoActionCnt?: number
  1497. nvcSecVerifyCnt?: number
  1498. tableDate?: string
  1499. nvcVerifyCnt?: number
  1500. nvcBlockCnt?: number
  1501. nvcInitCnt?: number
  1502. static names(): { [key: string]: string } {
  1503. return {
  1504. nvcNoActionCnt: 'NvcNoActionCnt',
  1505. nvcSecVerifyCnt: 'NvcSecVerifyCnt',
  1506. tableDate: 'TableDate',
  1507. nvcVerifyCnt: 'NvcVerifyCnt',
  1508. nvcBlockCnt: 'NvcBlockCnt',
  1509. nvcInitCnt: 'NvcInitCnt'
  1510. }
  1511. }
  1512. static types(): { [key: string]: any } {
  1513. return {
  1514. nvcNoActionCnt: 'number',
  1515. nvcSecVerifyCnt: 'number',
  1516. tableDate: 'string',
  1517. nvcVerifyCnt: 'number',
  1518. nvcBlockCnt: 'number',
  1519. nvcInitCnt: 'number'
  1520. }
  1521. }
  1522. constructor(map?: { [key: string]: any }) {
  1523. super(map)
  1524. }
  1525. }
  1526. export class DescribeAfsTotalConfDataResponseBodyIcTotalConfSigDatas extends $tea.Model {
  1527. time?: string
  1528. value?: number
  1529. category?: string
  1530. static names(): { [key: string]: string } {
  1531. return {
  1532. time: 'Time',
  1533. value: 'Value',
  1534. category: 'Category'
  1535. }
  1536. }
  1537. static types(): { [key: string]: any } {
  1538. return {
  1539. time: 'string',
  1540. value: 'number',
  1541. category: 'string'
  1542. }
  1543. }
  1544. constructor(map?: { [key: string]: any }) {
  1545. super(map)
  1546. }
  1547. }
  1548. export class DescribeAfsTotalConfDataResponseBodyNvcTotalConfSecVerifyDatas extends $tea.Model {
  1549. time?: string
  1550. value?: number
  1551. category?: string
  1552. static names(): { [key: string]: string } {
  1553. return {
  1554. time: 'Time',
  1555. value: 'Value',
  1556. category: 'Category'
  1557. }
  1558. }
  1559. static types(): { [key: string]: any } {
  1560. return {
  1561. time: 'string',
  1562. value: 'number',
  1563. category: 'string'
  1564. }
  1565. }
  1566. constructor(map?: { [key: string]: any }) {
  1567. super(map)
  1568. }
  1569. }
  1570. export class DescribeAfsTotalConfDataResponseBodyIcTotalConfVerifyDatas extends $tea.Model {
  1571. time?: string
  1572. value?: number
  1573. category?: string
  1574. static names(): { [key: string]: string } {
  1575. return {
  1576. time: 'Time',
  1577. value: 'Value',
  1578. category: 'Category'
  1579. }
  1580. }
  1581. static types(): { [key: string]: any } {
  1582. return {
  1583. time: 'string',
  1584. value: 'number',
  1585. category: 'string'
  1586. }
  1587. }
  1588. constructor(map?: { [key: string]: any }) {
  1589. super(map)
  1590. }
  1591. }
  1592. export class DescribeAfsTotalConfDataResponseBodyNvcTotalConfVerifyDatas extends $tea.Model {
  1593. time?: string
  1594. value?: number
  1595. category?: string
  1596. static names(): { [key: string]: string } {
  1597. return {
  1598. time: 'Time',
  1599. value: 'Value',
  1600. category: 'Category'
  1601. }
  1602. }
  1603. static types(): { [key: string]: any } {
  1604. return {
  1605. time: 'string',
  1606. value: 'number',
  1607. category: 'string'
  1608. }
  1609. }
  1610. constructor(map?: { [key: string]: any }) {
  1611. super(map)
  1612. }
  1613. }
  1614. export class DescribeAfsTotalConfDataResponseBodyIcTotalConfSecVerifyDatas extends $tea.Model {
  1615. time?: string
  1616. value?: number
  1617. category?: string
  1618. static names(): { [key: string]: string } {
  1619. return {
  1620. time: 'Time',
  1621. value: 'Value',
  1622. category: 'Category'
  1623. }
  1624. }
  1625. static types(): { [key: string]: any } {
  1626. return {
  1627. time: 'string',
  1628. value: 'number',
  1629. category: 'string'
  1630. }
  1631. }
  1632. constructor(map?: { [key: string]: any }) {
  1633. super(map)
  1634. }
  1635. }
  1636. export class DescribeAfsTotalConfDataResponseBodyNcTotalConfBlockDatas extends $tea.Model {
  1637. time?: string
  1638. value?: number
  1639. category?: string
  1640. static names(): { [key: string]: string } {
  1641. return {
  1642. time: 'Time',
  1643. value: 'Value',
  1644. category: 'Category'
  1645. }
  1646. }
  1647. static types(): { [key: string]: any } {
  1648. return {
  1649. time: 'string',
  1650. value: 'number',
  1651. category: 'string'
  1652. }
  1653. }
  1654. constructor(map?: { [key: string]: any }) {
  1655. super(map)
  1656. }
  1657. }
  1658. export class DescribeAfsTotalConfDataResponseBodyIcTotalConfBlockDatas extends $tea.Model {
  1659. time?: string
  1660. value?: number
  1661. category?: string
  1662. static names(): { [key: string]: string } {
  1663. return {
  1664. time: 'Time',
  1665. value: 'Value',
  1666. category: 'Category'
  1667. }
  1668. }
  1669. static types(): { [key: string]: any } {
  1670. return {
  1671. time: 'string',
  1672. value: 'number',
  1673. category: 'string'
  1674. }
  1675. }
  1676. constructor(map?: { [key: string]: any }) {
  1677. super(map)
  1678. }
  1679. }
  1680. export class DescribeAfsTotalConfDataResponseBodyNcTotalConfSigDatas extends $tea.Model {
  1681. time?: string
  1682. value?: number
  1683. category?: string
  1684. static names(): { [key: string]: string } {
  1685. return {
  1686. time: 'Time',
  1687. value: 'Value',
  1688. category: 'Category'
  1689. }
  1690. }
  1691. static types(): { [key: string]: any } {
  1692. return {
  1693. time: 'string',
  1694. value: 'number',
  1695. category: 'string'
  1696. }
  1697. }
  1698. constructor(map?: { [key: string]: any }) {
  1699. super(map)
  1700. }
  1701. }
  1702. export class DescribeAfsTotalConfDataResponseBodyNcTotalConfVerifyDatas extends $tea.Model {
  1703. time?: string
  1704. value?: number
  1705. category?: string
  1706. static names(): { [key: string]: string } {
  1707. return {
  1708. time: 'Time',
  1709. value: 'Value',
  1710. category: 'Category'
  1711. }
  1712. }
  1713. static types(): { [key: string]: any } {
  1714. return {
  1715. time: 'string',
  1716. value: 'number',
  1717. category: 'string'
  1718. }
  1719. }
  1720. constructor(map?: { [key: string]: any }) {
  1721. super(map)
  1722. }
  1723. }
  1724. export class DescribeAfsVerifySigDataResponseBodyNvcCodeDatas extends $tea.Model {
  1725. time?: string
  1726. nvcCode400?: number
  1727. nvcCode200?: number
  1728. nvcCode800?: number
  1729. nvcCode600?: number
  1730. static names(): { [key: string]: string } {
  1731. return {
  1732. time: 'Time',
  1733. nvcCode400: 'NvcCode400',
  1734. nvcCode200: 'NvcCode200',
  1735. nvcCode800: 'NvcCode800',
  1736. nvcCode600: 'NvcCode600'
  1737. }
  1738. }
  1739. static types(): { [key: string]: any } {
  1740. return {
  1741. time: 'string',
  1742. nvcCode400: 'number',
  1743. nvcCode200: 'number',
  1744. nvcCode800: 'number',
  1745. nvcCode600: 'number'
  1746. }
  1747. }
  1748. constructor(map?: { [key: string]: any }) {
  1749. super(map)
  1750. }
  1751. }
  1752. export class DescribeAfsVerifySigDataResponseBodyNvcSecDatas extends $tea.Model {
  1753. time?: string
  1754. nvcSecBlock?: number
  1755. nvcSecPass?: number
  1756. static names(): { [key: string]: string } {
  1757. return {
  1758. time: 'Time',
  1759. nvcSecBlock: 'NvcSecBlock',
  1760. nvcSecPass: 'NvcSecPass'
  1761. }
  1762. }
  1763. static types(): { [key: string]: any } {
  1764. return {
  1765. time: 'string',
  1766. nvcSecBlock: 'number',
  1767. nvcSecPass: 'number'
  1768. }
  1769. }
  1770. constructor(map?: { [key: string]: any }) {
  1771. super(map)
  1772. }
  1773. }
  1774. export class DescribeAfsVerifySigDataResponseBodyIcVerifyDatas extends $tea.Model {
  1775. icSigCnt?: number
  1776. time?: string
  1777. icBlockCnt?: number
  1778. icSecVerifyCnt?: number
  1779. icVerifyCnt?: number
  1780. static names(): { [key: string]: string } {
  1781. return {
  1782. icSigCnt: 'IcSigCnt',
  1783. time: 'Time',
  1784. icBlockCnt: 'IcBlockCnt',
  1785. icSecVerifyCnt: 'IcSecVerifyCnt',
  1786. icVerifyCnt: 'IcVerifyCnt'
  1787. }
  1788. }
  1789. static types(): { [key: string]: any } {
  1790. return {
  1791. icSigCnt: 'number',
  1792. time: 'string',
  1793. icBlockCnt: 'number',
  1794. icSecVerifyCnt: 'number',
  1795. icVerifyCnt: 'number'
  1796. }
  1797. }
  1798. constructor(map?: { [key: string]: any }) {
  1799. super(map)
  1800. }
  1801. }
  1802. export class DescribeAfsVerifySigDataResponseBodyNcVerifyDatas extends $tea.Model {
  1803. time?: string
  1804. ncVerifyPass?: number
  1805. ncVerifyBlock?: number
  1806. static names(): { [key: string]: string } {
  1807. return {
  1808. time: 'Time',
  1809. ncVerifyPass: 'NcVerifyPass',
  1810. ncVerifyBlock: 'NcVerifyBlock'
  1811. }
  1812. }
  1813. static types(): { [key: string]: any } {
  1814. return {
  1815. time: 'string',
  1816. ncVerifyPass: 'number',
  1817. ncVerifyBlock: 'number'
  1818. }
  1819. }
  1820. constructor(map?: { [key: string]: any }) {
  1821. super(map)
  1822. }
  1823. }
  1824. export class DescribeAfsVerifySigDataResponseBodyNvcVerifyDatas extends $tea.Model {
  1825. time?: string
  1826. nvcSecVerifyCnt?: number
  1827. nvcVerifyCnt?: number
  1828. static names(): { [key: string]: string } {
  1829. return {
  1830. time: 'Time',
  1831. nvcSecVerifyCnt: 'NvcSecVerifyCnt',
  1832. nvcVerifyCnt: 'NvcVerifyCnt'
  1833. }
  1834. }
  1835. static types(): { [key: string]: any } {
  1836. return {
  1837. time: 'string',
  1838. nvcSecVerifyCnt: 'number',
  1839. nvcVerifyCnt: 'number'
  1840. }
  1841. }
  1842. constructor(map?: { [key: string]: any }) {
  1843. super(map)
  1844. }
  1845. }
  1846. export class DescribeAfsVerifySigDataResponseBodyIcSecVerifyDatas extends $tea.Model {
  1847. icSecBlock?: number
  1848. time?: string
  1849. icSecPass?: number
  1850. static names(): { [key: string]: string } {
  1851. return {
  1852. icSecBlock: 'IcSecBlock',
  1853. time: 'Time',
  1854. icSecPass: 'IcSecPass'
  1855. }
  1856. }
  1857. static types(): { [key: string]: any } {
  1858. return {
  1859. icSecBlock: 'number',
  1860. time: 'string',
  1861. icSecPass: 'number'
  1862. }
  1863. }
  1864. constructor(map?: { [key: string]: any }) {
  1865. super(map)
  1866. }
  1867. }
  1868. export class DescribeAfsVerifySigDataResponseBodyNcSigDatas extends $tea.Model {
  1869. time?: string
  1870. ncSigBlock?: number
  1871. ncSigPass?: number
  1872. static names(): { [key: string]: string } {
  1873. return {
  1874. time: 'Time',
  1875. ncSigBlock: 'NcSigBlock',
  1876. ncSigPass: 'NcSigPass'
  1877. }
  1878. }
  1879. static types(): { [key: string]: any } {
  1880. return {
  1881. time: 'string',
  1882. ncSigBlock: 'number',
  1883. ncSigPass: 'number'
  1884. }
  1885. }
  1886. constructor(map?: { [key: string]: any }) {
  1887. super(map)
  1888. }
  1889. }
  1890. export class DescribeCaptchaDayResponseBodyCaptchaDay extends $tea.Model {
  1891. checkTested?: number
  1892. direcetStrategyInterception?: number
  1893. maliciousFlow?: number
  1894. pass?: number
  1895. legalSign?: number
  1896. uncheckTested?: number
  1897. askForVerify?: number
  1898. init?: number
  1899. twiceVerify?: number
  1900. static names(): { [key: string]: string } {
  1901. return {
  1902. checkTested: 'CheckTested',
  1903. direcetStrategyInterception: 'DirecetStrategyInterception',
  1904. maliciousFlow: 'MaliciousFlow',
  1905. pass: 'Pass',
  1906. legalSign: 'LegalSign',
  1907. uncheckTested: 'UncheckTested',
  1908. askForVerify: 'AskForVerify',
  1909. init: 'Init',
  1910. twiceVerify: 'TwiceVerify'
  1911. }
  1912. }
  1913. static types(): { [key: string]: any } {
  1914. return {
  1915. checkTested: 'number',
  1916. direcetStrategyInterception: 'number',
  1917. maliciousFlow: 'number',
  1918. pass: 'number',
  1919. legalSign: 'number',
  1920. uncheckTested: 'number',
  1921. askForVerify: 'number',
  1922. init: 'number',
  1923. twiceVerify: 'number'
  1924. }
  1925. }
  1926. constructor(map?: { [key: string]: any }) {
  1927. super(map)
  1928. }
  1929. }
  1930. export class DescribeCaptchaIpCityResponseBodyCaptchaIps extends $tea.Model {
  1931. value?: number
  1932. ip?: string
  1933. static names(): { [key: string]: string } {
  1934. return {
  1935. value: 'Value',
  1936. ip: 'Ip'
  1937. }
  1938. }
  1939. static types(): { [key: string]: any } {
  1940. return {
  1941. value: 'number',
  1942. ip: 'string'
  1943. }
  1944. }
  1945. constructor(map?: { [key: string]: any }) {
  1946. super(map)
  1947. }
  1948. }
  1949. export class DescribeCaptchaIpCityResponseBodyCaptchaCities extends $tea.Model {
  1950. pv?: number
  1951. lng?: string
  1952. lat?: string
  1953. location?: string
  1954. static names(): { [key: string]: string } {
  1955. return {
  1956. pv: 'Pv',
  1957. lng: 'Lng',
  1958. lat: 'Lat',
  1959. location: 'Location'
  1960. }
  1961. }
  1962. static types(): { [key: string]: any } {
  1963. return {
  1964. pv: 'number',
  1965. lng: 'string',
  1966. lat: 'string',
  1967. location: 'string'
  1968. }
  1969. }
  1970. constructor(map?: { [key: string]: any }) {
  1971. super(map)
  1972. }
  1973. }
  1974. export class DescribeCaptchaMinResponseBodyCaptchaMins extends $tea.Model {
  1975. time?: string
  1976. pass?: string
  1977. interception?: string
  1978. static names(): { [key: string]: string } {
  1979. return {
  1980. time: 'Time',
  1981. pass: 'Pass',
  1982. interception: 'Interception'
  1983. }
  1984. }
  1985. static types(): { [key: string]: any } {
  1986. return {
  1987. time: 'string',
  1988. pass: 'string',
  1989. interception: 'string'
  1990. }
  1991. }
  1992. constructor(map?: { [key: string]: any }) {
  1993. super(map)
  1994. }
  1995. }
  1996. export class DescribeConfigNameResponseBodyConfigNames extends $tea.Model {
  1997. configName?: string
  1998. refExtId?: string
  1999. aliUid?: string
  2000. static names(): { [key: string]: string } {
  2001. return {
  2002. configName: 'ConfigName',
  2003. refExtId: 'RefExtId',
  2004. aliUid: 'AliUid'
  2005. }
  2006. }
  2007. static types(): { [key: string]: any } {
  2008. return {
  2009. configName: 'string',
  2010. refExtId: 'string',
  2011. aliUid: 'string'
  2012. }
  2013. }
  2014. constructor(map?: { [key: string]: any }) {
  2015. super(map)
  2016. }
  2017. }
  2018. export class DescribeEarlyWarningResponseBodyEarlyWarnings extends $tea.Model {
  2019. frequency?: string
  2020. timeBegin?: string
  2021. timeEnd?: string
  2022. channel?: string
  2023. warnOpen?: boolean
  2024. title?: string
  2025. content?: string
  2026. timeOpen?: boolean
  2027. static names(): { [key: string]: string } {
  2028. return {
  2029. frequency: 'Frequency',
  2030. timeBegin: 'TimeBegin',
  2031. timeEnd: 'TimeEnd',
  2032. channel: 'Channel',
  2033. warnOpen: 'WarnOpen',
  2034. title: 'Title',
  2035. content: 'Content',
  2036. timeOpen: 'TimeOpen'
  2037. }
  2038. }
  2039. static types(): { [key: string]: any } {
  2040. return {
  2041. frequency: 'string',
  2042. timeBegin: 'string',
  2043. timeEnd: 'string',
  2044. channel: 'string',
  2045. warnOpen: 'boolean',
  2046. title: 'string',
  2047. content: 'string',
  2048. timeOpen: 'boolean'
  2049. }
  2050. }
  2051. constructor(map?: { [key: string]: any }) {
  2052. super(map)
  2053. }
  2054. }
  2055. export class DescribePersonMachineListResponseBodyPersonMachineResPersonMachines extends $tea.Model {
  2056. configurationName?: string
  2057. configurationMethod?: string
  2058. extId?: string
  2059. applyType?: string
  2060. lastUpdate?: string
  2061. scene?: string
  2062. sceneOriginal?: string
  2063. appkey?: string
  2064. static names(): { [key: string]: string } {
  2065. return {
  2066. configurationName: 'ConfigurationName',
  2067. configurationMethod: 'ConfigurationMethod',
  2068. extId: 'ExtId',
  2069. applyType: 'ApplyType',
  2070. lastUpdate: 'LastUpdate',
  2071. scene: 'Scene',
  2072. sceneOriginal: 'SceneOriginal',
  2073. appkey: 'Appkey'
  2074. }
  2075. }
  2076. static types(): { [key: string]: any } {
  2077. return {
  2078. configurationName: 'string',
  2079. configurationMethod: 'string',
  2080. extId: 'string',
  2081. applyType: 'string',
  2082. lastUpdate: 'string',
  2083. scene: 'string',
  2084. sceneOriginal: 'string',
  2085. appkey: 'string'
  2086. }
  2087. }
  2088. constructor(map?: { [key: string]: any }) {
  2089. super(map)
  2090. }
  2091. }
  2092. export class DescribePersonMachineListResponseBodyPersonMachineRes extends $tea.Model {
  2093. personMachines?: DescribePersonMachineListResponseBodyPersonMachineResPersonMachines[]
  2094. hasConfiguration?: string
  2095. static names(): { [key: string]: string } {
  2096. return {
  2097. personMachines: 'PersonMachines',
  2098. hasConfiguration: 'HasConfiguration'
  2099. }
  2100. }
  2101. static types(): { [key: string]: any } {
  2102. return {
  2103. personMachines: {
  2104. type: 'array',
  2105. itemType: DescribePersonMachineListResponseBodyPersonMachineResPersonMachines
  2106. },
  2107. hasConfiguration: 'string'
  2108. }
  2109. }
  2110. constructor(map?: { [key: string]: any }) {
  2111. super(map)
  2112. }
  2113. }
  2114. export class AfsClient extends OpenApi {
  2115. constructor(config: $OpenApi.Config) {
  2116. super(config)
  2117. this._endpointRule = 'regional'
  2118. this._endpointMap = {
  2119. 'ap-northeast-1': 'afs.aliyuncs.com',
  2120. 'ap-northeast-2-pop': 'afs.aliyuncs.com',
  2121. 'ap-south-1': 'afs.aliyuncs.com',
  2122. 'ap-southeast-1': 'afs.aliyuncs.com',
  2123. 'ap-southeast-2': 'afs.aliyuncs.com',
  2124. 'ap-southeast-3': 'afs.aliyuncs.com',
  2125. 'ap-southeast-5': 'afs.aliyuncs.com',
  2126. 'cn-beijing': 'afs.aliyuncs.com',
  2127. 'cn-beijing-finance-1': 'afs.aliyuncs.com',
  2128. 'cn-beijing-finance-pop': 'afs.aliyuncs.com',
  2129. 'cn-beijing-gov-1': 'afs.aliyuncs.com',
  2130. 'cn-beijing-nu16-b01': 'afs.aliyuncs.com',
  2131. 'cn-chengdu': 'afs.aliyuncs.com',
  2132. 'cn-edge-1': 'afs.aliyuncs.com',
  2133. 'cn-fujian': 'afs.aliyuncs.com',
  2134. 'cn-haidian-cm12-c01': 'afs.aliyuncs.com',
  2135. 'cn-hangzhou-bj-b01': 'afs.aliyuncs.com',
  2136. 'cn-hangzhou-finance': 'afs.aliyuncs.com',
  2137. 'cn-hangzhou-internal-prod-1': 'afs.aliyuncs.com',
  2138. 'cn-hangzhou-internal-test-1': 'afs.aliyuncs.com',
  2139. 'cn-hangzhou-internal-test-2': 'afs.aliyuncs.com',
  2140. 'cn-hangzhou-internal-test-3': 'afs.aliyuncs.com',
  2141. 'cn-hangzhou-test-306': 'afs.aliyuncs.com',
  2142. 'cn-hongkong': 'afs.aliyuncs.com',
  2143. 'cn-hongkong-finance-pop': 'afs.aliyuncs.com',
  2144. 'cn-huhehaote': 'afs.aliyuncs.com',
  2145. 'cn-north-2-gov-1': 'afs.aliyuncs.com',
  2146. 'cn-qingdao': 'afs.aliyuncs.com',
  2147. 'cn-qingdao-nebula': 'afs.aliyuncs.com',
  2148. 'cn-shanghai': 'afs.aliyuncs.com',
  2149. 'cn-shanghai-et15-b01': 'afs.aliyuncs.com',
  2150. 'cn-shanghai-et2-b01': 'afs.aliyuncs.com',
  2151. 'cn-shanghai-finance-1': 'afs.aliyuncs.com',
  2152. 'cn-shanghai-inner': 'afs.aliyuncs.com',
  2153. 'cn-shanghai-internal-test-1': 'afs.aliyuncs.com',
  2154. 'cn-shenzhen': 'afs.aliyuncs.com',
  2155. 'cn-shenzhen-finance-1': 'afs.aliyuncs.com',
  2156. 'cn-shenzhen-inner': 'afs.aliyuncs.com',
  2157. 'cn-shenzhen-st4-d01': 'afs.aliyuncs.com',
  2158. 'cn-shenzhen-su18-b01': 'afs.aliyuncs.com',
  2159. 'cn-wuhan': 'afs.aliyuncs.com',
  2160. 'cn-yushanfang': 'afs.aliyuncs.com',
  2161. 'cn-zhangbei-na61-b01': 'afs.aliyuncs.com',
  2162. 'cn-zhangjiakou': 'afs.aliyuncs.com',
  2163. 'cn-zhangjiakou-na62-a01': 'afs.aliyuncs.com',
  2164. 'cn-zhengzhou-nebula-1': 'afs.aliyuncs.com',
  2165. 'eu-central-1': 'afs.aliyuncs.com',
  2166. 'eu-west-1': 'afs.aliyuncs.com',
  2167. 'eu-west-1-oxs': 'afs.aliyuncs.com',
  2168. 'me-east-1': 'afs.aliyuncs.com',
  2169. 'rus-west-1-pop': 'afs.aliyuncs.com',
  2170. 'us-east-1': 'afs.aliyuncs.com',
  2171. 'us-west-1': 'afs.aliyuncs.com'
  2172. }
  2173. this.checkConfig(config)
  2174. this._endpoint = this.getEndpoint(
  2175. 'afs',
  2176. this._regionId,
  2177. this._endpointRule,
  2178. this._network,
  2179. this._suffix,
  2180. this._endpointMap,
  2181. this._endpoint
  2182. )
  2183. }
  2184. getEndpoint(
  2185. productId: string,
  2186. regionId: string,
  2187. endpointRule: string,
  2188. network: string,
  2189. suffix: string,
  2190. endpointMap: { [key: string]: string },
  2191. endpoint: string
  2192. ): string {
  2193. if (!Util.empty(endpoint)) {
  2194. return endpoint
  2195. }
  2196. if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
  2197. return endpointMap[regionId]
  2198. }
  2199. return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix)
  2200. }
  2201. async analyzeNvcWithOptions(
  2202. request: AnalyzeNvcRequest,
  2203. runtime: $Util.RuntimeOptions
  2204. ): Promise<AnalyzeNvcResponse> {
  2205. Util.validateModel(request)
  2206. let req = new $OpenApi.OpenApiRequest({
  2207. body: Util.toMap(request)
  2208. })
  2209. return $tea.cast<AnalyzeNvcResponse>(
  2210. await this.doRPCRequest('AnalyzeNvc', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2211. new AnalyzeNvcResponse({})
  2212. )
  2213. }
  2214. async analyzeNvc(request: AnalyzeNvcRequest): Promise<AnalyzeNvcResponse> {
  2215. let runtime = new $Util.RuntimeOptions({})
  2216. return await this.analyzeNvcWithOptions(request, runtime)
  2217. }
  2218. async authenticateSigWithOptions(
  2219. request: AuthenticateSigRequest,
  2220. runtime: $Util.RuntimeOptions
  2221. ): Promise<AuthenticateSigResponse> {
  2222. Util.validateModel(request)
  2223. let req = new $OpenApi.OpenApiRequest({
  2224. body: Util.toMap(request)
  2225. })
  2226. return $tea.cast<AuthenticateSigResponse>(
  2227. await this.doRPCRequest('AuthenticateSig', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2228. new AuthenticateSigResponse({})
  2229. )
  2230. }
  2231. async authenticateSig(request: AuthenticateSigRequest): Promise<AuthenticateSigResponse> {
  2232. let runtime = new $Util.RuntimeOptions({})
  2233. return await this.authenticateSigWithOptions(request, runtime)
  2234. }
  2235. async configurationStyleWithOptions(
  2236. request: ConfigurationStyleRequest,
  2237. runtime: $Util.RuntimeOptions
  2238. ): Promise<ConfigurationStyleResponse> {
  2239. Util.validateModel(request)
  2240. let req = new $OpenApi.OpenApiRequest({
  2241. body: Util.toMap(request)
  2242. })
  2243. return $tea.cast<ConfigurationStyleResponse>(
  2244. await this.doRPCRequest('ConfigurationStyle', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2245. new ConfigurationStyleResponse({})
  2246. )
  2247. }
  2248. async configurationStyle(request: ConfigurationStyleRequest): Promise<ConfigurationStyleResponse> {
  2249. let runtime = new $Util.RuntimeOptions({})
  2250. return await this.configurationStyleWithOptions(request, runtime)
  2251. }
  2252. async createConfigurationWithOptions(
  2253. request: CreateConfigurationRequest,
  2254. runtime: $Util.RuntimeOptions
  2255. ): Promise<CreateConfigurationResponse> {
  2256. Util.validateModel(request)
  2257. let req = new $OpenApi.OpenApiRequest({
  2258. body: Util.toMap(request)
  2259. })
  2260. return $tea.cast<CreateConfigurationResponse>(
  2261. await this.doRPCRequest('CreateConfiguration', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2262. new CreateConfigurationResponse({})
  2263. )
  2264. }
  2265. async createConfiguration(request: CreateConfigurationRequest): Promise<CreateConfigurationResponse> {
  2266. let runtime = new $Util.RuntimeOptions({})
  2267. return await this.createConfigurationWithOptions(request, runtime)
  2268. }
  2269. async describeAfsConfigNameWithOptions(
  2270. request: DescribeAfsConfigNameRequest,
  2271. runtime: $Util.RuntimeOptions
  2272. ): Promise<DescribeAfsConfigNameResponse> {
  2273. Util.validateModel(request)
  2274. let req = new $OpenApi.OpenApiRequest({
  2275. body: Util.toMap(request)
  2276. })
  2277. return $tea.cast<DescribeAfsConfigNameResponse>(
  2278. await this.doRPCRequest('DescribeAfsConfigName', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2279. new DescribeAfsConfigNameResponse({})
  2280. )
  2281. }
  2282. async describeAfsConfigName(request: DescribeAfsConfigNameRequest): Promise<DescribeAfsConfigNameResponse> {
  2283. let runtime = new $Util.RuntimeOptions({})
  2284. return await this.describeAfsConfigNameWithOptions(request, runtime)
  2285. }
  2286. async describeAfsOneConfDataWithOptions(
  2287. request: DescribeAfsOneConfDataRequest,
  2288. runtime: $Util.RuntimeOptions
  2289. ): Promise<DescribeAfsOneConfDataResponse> {
  2290. Util.validateModel(request)
  2291. let req = new $OpenApi.OpenApiRequest({
  2292. body: Util.toMap(request)
  2293. })
  2294. return $tea.cast<DescribeAfsOneConfDataResponse>(
  2295. await this.doRPCRequest(
  2296. 'DescribeAfsOneConfData',
  2297. '2018-01-12',
  2298. 'HTTPS',
  2299. 'POST',
  2300. 'AK',
  2301. 'json',
  2302. req,
  2303. runtime
  2304. ),
  2305. new DescribeAfsOneConfDataResponse({})
  2306. )
  2307. }
  2308. async describeAfsOneConfData(request: DescribeAfsOneConfDataRequest): Promise<DescribeAfsOneConfDataResponse> {
  2309. let runtime = new $Util.RuntimeOptions({})
  2310. return await this.describeAfsOneConfDataWithOptions(request, runtime)
  2311. }
  2312. async describeAfsTotalConfDataWithOptions(
  2313. request: DescribeAfsTotalConfDataRequest,
  2314. runtime: $Util.RuntimeOptions
  2315. ): Promise<DescribeAfsTotalConfDataResponse> {
  2316. Util.validateModel(request)
  2317. let req = new $OpenApi.OpenApiRequest({
  2318. body: Util.toMap(request)
  2319. })
  2320. return $tea.cast<DescribeAfsTotalConfDataResponse>(
  2321. await this.doRPCRequest(
  2322. 'DescribeAfsTotalConfData',
  2323. '2018-01-12',
  2324. 'HTTPS',
  2325. 'POST',
  2326. 'AK',
  2327. 'json',
  2328. req,
  2329. runtime
  2330. ),
  2331. new DescribeAfsTotalConfDataResponse({})
  2332. )
  2333. }
  2334. async describeAfsTotalConfData(
  2335. request: DescribeAfsTotalConfDataRequest
  2336. ): Promise<DescribeAfsTotalConfDataResponse> {
  2337. let runtime = new $Util.RuntimeOptions({})
  2338. return await this.describeAfsTotalConfDataWithOptions(request, runtime)
  2339. }
  2340. async describeAfsVerifySigDataWithOptions(
  2341. request: DescribeAfsVerifySigDataRequest,
  2342. runtime: $Util.RuntimeOptions
  2343. ): Promise<DescribeAfsVerifySigDataResponse> {
  2344. Util.validateModel(request)
  2345. let req = new $OpenApi.OpenApiRequest({
  2346. body: Util.toMap(request)
  2347. })
  2348. return $tea.cast<DescribeAfsVerifySigDataResponse>(
  2349. await this.doRPCRequest(
  2350. 'DescribeAfsVerifySigData',
  2351. '2018-01-12',
  2352. 'HTTPS',
  2353. 'POST',
  2354. 'AK',
  2355. 'json',
  2356. req,
  2357. runtime
  2358. ),
  2359. new DescribeAfsVerifySigDataResponse({})
  2360. )
  2361. }
  2362. async describeAfsVerifySigData(
  2363. request: DescribeAfsVerifySigDataRequest
  2364. ): Promise<DescribeAfsVerifySigDataResponse> {
  2365. let runtime = new $Util.RuntimeOptions({})
  2366. return await this.describeAfsVerifySigDataWithOptions(request, runtime)
  2367. }
  2368. async describeCaptchaDayWithOptions(
  2369. request: DescribeCaptchaDayRequest,
  2370. runtime: $Util.RuntimeOptions
  2371. ): Promise<DescribeCaptchaDayResponse> {
  2372. Util.validateModel(request)
  2373. let req = new $OpenApi.OpenApiRequest({
  2374. body: Util.toMap(request)
  2375. })
  2376. return $tea.cast<DescribeCaptchaDayResponse>(
  2377. await this.doRPCRequest('DescribeCaptchaDay', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2378. new DescribeCaptchaDayResponse({})
  2379. )
  2380. }
  2381. async describeCaptchaDay(request: DescribeCaptchaDayRequest): Promise<DescribeCaptchaDayResponse> {
  2382. let runtime = new $Util.RuntimeOptions({})
  2383. return await this.describeCaptchaDayWithOptions(request, runtime)
  2384. }
  2385. async describeCaptchaIpCityWithOptions(
  2386. request: DescribeCaptchaIpCityRequest,
  2387. runtime: $Util.RuntimeOptions
  2388. ): Promise<DescribeCaptchaIpCityResponse> {
  2389. Util.validateModel(request)
  2390. let req = new $OpenApi.OpenApiRequest({
  2391. body: Util.toMap(request)
  2392. })
  2393. return $tea.cast<DescribeCaptchaIpCityResponse>(
  2394. await this.doRPCRequest('DescribeCaptchaIpCity', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2395. new DescribeCaptchaIpCityResponse({})
  2396. )
  2397. }
  2398. async describeCaptchaIpCity(request: DescribeCaptchaIpCityRequest): Promise<DescribeCaptchaIpCityResponse> {
  2399. let runtime = new $Util.RuntimeOptions({})
  2400. return await this.describeCaptchaIpCityWithOptions(request, runtime)
  2401. }
  2402. async describeCaptchaMinWithOptions(
  2403. request: DescribeCaptchaMinRequest,
  2404. runtime: $Util.RuntimeOptions
  2405. ): Promise<DescribeCaptchaMinResponse> {
  2406. Util.validateModel(request)
  2407. let req = new $OpenApi.OpenApiRequest({
  2408. body: Util.toMap(request)
  2409. })
  2410. return $tea.cast<DescribeCaptchaMinResponse>(
  2411. await this.doRPCRequest('DescribeCaptchaMin', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2412. new DescribeCaptchaMinResponse({})
  2413. )
  2414. }
  2415. async describeCaptchaMin(request: DescribeCaptchaMinRequest): Promise<DescribeCaptchaMinResponse> {
  2416. let runtime = new $Util.RuntimeOptions({})
  2417. return await this.describeCaptchaMinWithOptions(request, runtime)
  2418. }
  2419. async describeCaptchaOrderWithOptions(
  2420. request: DescribeCaptchaOrderRequest,
  2421. runtime: $Util.RuntimeOptions
  2422. ): Promise<DescribeCaptchaOrderResponse> {
  2423. Util.validateModel(request)
  2424. let req = new $OpenApi.OpenApiRequest({
  2425. body: Util.toMap(request)
  2426. })
  2427. return $tea.cast<DescribeCaptchaOrderResponse>(
  2428. await this.doRPCRequest('DescribeCaptchaOrder', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2429. new DescribeCaptchaOrderResponse({})
  2430. )
  2431. }
  2432. async describeCaptchaOrder(request: DescribeCaptchaOrderRequest): Promise<DescribeCaptchaOrderResponse> {
  2433. let runtime = new $Util.RuntimeOptions({})
  2434. return await this.describeCaptchaOrderWithOptions(request, runtime)
  2435. }
  2436. async describeCaptchaRiskWithOptions(
  2437. request: DescribeCaptchaRiskRequest,
  2438. runtime: $Util.RuntimeOptions
  2439. ): Promise<DescribeCaptchaRiskResponse> {
  2440. Util.validateModel(request)
  2441. let req = new $OpenApi.OpenApiRequest({
  2442. body: Util.toMap(request)
  2443. })
  2444. return $tea.cast<DescribeCaptchaRiskResponse>(
  2445. await this.doRPCRequest('DescribeCaptchaRisk', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2446. new DescribeCaptchaRiskResponse({})
  2447. )
  2448. }
  2449. async describeCaptchaRisk(request: DescribeCaptchaRiskRequest): Promise<DescribeCaptchaRiskResponse> {
  2450. let runtime = new $Util.RuntimeOptions({})
  2451. return await this.describeCaptchaRiskWithOptions(request, runtime)
  2452. }
  2453. async describeConfigNameWithOptions(
  2454. request: DescribeConfigNameRequest,
  2455. runtime: $Util.RuntimeOptions
  2456. ): Promise<DescribeConfigNameResponse> {
  2457. Util.validateModel(request)
  2458. let req = new $OpenApi.OpenApiRequest({
  2459. body: Util.toMap(request)
  2460. })
  2461. return $tea.cast<DescribeConfigNameResponse>(
  2462. await this.doRPCRequest('DescribeConfigName', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2463. new DescribeConfigNameResponse({})
  2464. )
  2465. }
  2466. async describeConfigName(request: DescribeConfigNameRequest): Promise<DescribeConfigNameResponse> {
  2467. let runtime = new $Util.RuntimeOptions({})
  2468. return await this.describeConfigNameWithOptions(request, runtime)
  2469. }
  2470. async describeEarlyWarningWithOptions(
  2471. request: DescribeEarlyWarningRequest,
  2472. runtime: $Util.RuntimeOptions
  2473. ): Promise<DescribeEarlyWarningResponse> {
  2474. Util.validateModel(request)
  2475. let req = new $OpenApi.OpenApiRequest({
  2476. body: Util.toMap(request)
  2477. })
  2478. return $tea.cast<DescribeEarlyWarningResponse>(
  2479. await this.doRPCRequest('DescribeEarlyWarning', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2480. new DescribeEarlyWarningResponse({})
  2481. )
  2482. }
  2483. async describeEarlyWarning(request: DescribeEarlyWarningRequest): Promise<DescribeEarlyWarningResponse> {
  2484. let runtime = new $Util.RuntimeOptions({})
  2485. return await this.describeEarlyWarningWithOptions(request, runtime)
  2486. }
  2487. async describeOrderInfoWithOptions(
  2488. request: DescribeOrderInfoRequest,
  2489. runtime: $Util.RuntimeOptions
  2490. ): Promise<DescribeOrderInfoResponse> {
  2491. Util.validateModel(request)
  2492. let req = new $OpenApi.OpenApiRequest({
  2493. body: Util.toMap(request)
  2494. })
  2495. return $tea.cast<DescribeOrderInfoResponse>(
  2496. await this.doRPCRequest('DescribeOrderInfo', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2497. new DescribeOrderInfoResponse({})
  2498. )
  2499. }
  2500. async describeOrderInfo(request: DescribeOrderInfoRequest): Promise<DescribeOrderInfoResponse> {
  2501. let runtime = new $Util.RuntimeOptions({})
  2502. return await this.describeOrderInfoWithOptions(request, runtime)
  2503. }
  2504. async describePersonMachineListWithOptions(
  2505. request: DescribePersonMachineListRequest,
  2506. runtime: $Util.RuntimeOptions
  2507. ): Promise<DescribePersonMachineListResponse> {
  2508. Util.validateModel(request)
  2509. let req = new $OpenApi.OpenApiRequest({
  2510. body: Util.toMap(request)
  2511. })
  2512. return $tea.cast<DescribePersonMachineListResponse>(
  2513. await this.doRPCRequest(
  2514. 'DescribePersonMachineList',
  2515. '2018-01-12',
  2516. 'HTTPS',
  2517. 'POST',
  2518. 'AK',
  2519. 'json',
  2520. req,
  2521. runtime
  2522. ),
  2523. new DescribePersonMachineListResponse({})
  2524. )
  2525. }
  2526. async describePersonMachineList(
  2527. request: DescribePersonMachineListRequest
  2528. ): Promise<DescribePersonMachineListResponse> {
  2529. let runtime = new $Util.RuntimeOptions({})
  2530. return await this.describePersonMachineListWithOptions(request, runtime)
  2531. }
  2532. async setEarlyWarningWithOptions(
  2533. request: SetEarlyWarningRequest,
  2534. runtime: $Util.RuntimeOptions
  2535. ): Promise<SetEarlyWarningResponse> {
  2536. Util.validateModel(request)
  2537. let req = new $OpenApi.OpenApiRequest({
  2538. body: Util.toMap(request)
  2539. })
  2540. return $tea.cast<SetEarlyWarningResponse>(
  2541. await this.doRPCRequest('SetEarlyWarning', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2542. new SetEarlyWarningResponse({})
  2543. )
  2544. }
  2545. async setEarlyWarning(request: SetEarlyWarningRequest): Promise<SetEarlyWarningResponse> {
  2546. let runtime = new $Util.RuntimeOptions({})
  2547. return await this.setEarlyWarningWithOptions(request, runtime)
  2548. }
  2549. async updateConfigNameWithOptions(
  2550. request: UpdateConfigNameRequest,
  2551. runtime: $Util.RuntimeOptions
  2552. ): Promise<UpdateConfigNameResponse> {
  2553. Util.validateModel(request)
  2554. let req = new $OpenApi.OpenApiRequest({
  2555. body: Util.toMap(request)
  2556. })
  2557. return $tea.cast<UpdateConfigNameResponse>(
  2558. await this.doRPCRequest('UpdateConfigName', '2018-01-12', 'HTTPS', 'POST', 'AK', 'json', req, runtime),
  2559. new UpdateConfigNameResponse({})
  2560. )
  2561. }
  2562. async updateConfigName(request: UpdateConfigNameRequest): Promise<UpdateConfigNameResponse> {
  2563. let runtime = new $Util.RuntimeOptions({})
  2564. return await this.updateConfigNameWithOptions(request, runtime)
  2565. }
  2566. }