@antchain/abc 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts ADDED
@@ -0,0 +1,2172 @@
1
+ // This file is auto-generated, don't edit it
2
+ import AntchainUtil from '@antchain/alipay-util';
3
+ import Util, * as $Util from '@alicloud/tea-util';
4
+ import RPCUtil from '@alicloud/rpc-util';
5
+ import { Readable } from 'stream';
6
+ import * as $tea from '@alicloud/tea-typescript';
7
+
8
+ /**
9
+ * Model for initing client
10
+ */
11
+ export class Config extends $tea.Model {
12
+ accessKeyId?: string;
13
+ accessKeySecret?: string;
14
+ securityToken?: string;
15
+ protocol?: string;
16
+ readTimeout?: number;
17
+ connectTimeout?: number;
18
+ httpProxy?: string;
19
+ httpsProxy?: string;
20
+ endpoint?: string;
21
+ noProxy?: string;
22
+ maxIdleConns?: number;
23
+ userAgent?: string;
24
+ socks5Proxy?: string;
25
+ socks5NetWork?: string;
26
+ maxIdleTimeMillis?: number;
27
+ keepAliveDurationMillis?: number;
28
+ maxRequests?: number;
29
+ maxRequestsPerHost?: number;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ accessKeyId: 'accessKeyId',
33
+ accessKeySecret: 'accessKeySecret',
34
+ securityToken: 'securityToken',
35
+ protocol: 'protocol',
36
+ readTimeout: 'readTimeout',
37
+ connectTimeout: 'connectTimeout',
38
+ httpProxy: 'httpProxy',
39
+ httpsProxy: 'httpsProxy',
40
+ endpoint: 'endpoint',
41
+ noProxy: 'noProxy',
42
+ maxIdleConns: 'maxIdleConns',
43
+ userAgent: 'userAgent',
44
+ socks5Proxy: 'socks5Proxy',
45
+ socks5NetWork: 'socks5NetWork',
46
+ maxIdleTimeMillis: 'maxIdleTimeMillis',
47
+ keepAliveDurationMillis: 'keepAliveDurationMillis',
48
+ maxRequests: 'maxRequests',
49
+ maxRequestsPerHost: 'maxRequestsPerHost',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ accessKeyId: 'string',
56
+ accessKeySecret: 'string',
57
+ securityToken: 'string',
58
+ protocol: 'string',
59
+ readTimeout: 'number',
60
+ connectTimeout: 'number',
61
+ httpProxy: 'string',
62
+ httpsProxy: 'string',
63
+ endpoint: 'string',
64
+ noProxy: 'string',
65
+ maxIdleConns: 'number',
66
+ userAgent: 'string',
67
+ socks5Proxy: 'string',
68
+ socks5NetWork: 'string',
69
+ maxIdleTimeMillis: 'number',
70
+ keepAliveDurationMillis: 'number',
71
+ maxRequests: 'number',
72
+ maxRequestsPerHost: 'number',
73
+ };
74
+ }
75
+
76
+ constructor(map?: { [key: string]: any }) {
77
+ super(map);
78
+ }
79
+ }
80
+
81
+ // 子结构体
82
+ export class SubDemoStruct extends $tea.Model {
83
+ // name
84
+ name: string;
85
+ // value
86
+ value: string;
87
+ static names(): { [key: string]: string } {
88
+ return {
89
+ name: 'name',
90
+ value: 'value',
91
+ };
92
+ }
93
+
94
+ static types(): { [key: string]: any } {
95
+ return {
96
+ name: 'string',
97
+ value: 'string',
98
+ };
99
+ }
100
+
101
+ constructor(map?: { [key: string]: any }) {
102
+ super(map);
103
+ }
104
+ }
105
+
106
+ // ABC示例结构体
107
+ export class AbcDemoStruct extends $tea.Model {
108
+ // 字符串属性
109
+ someString?: string;
110
+ // Long型属性
111
+ someNumber: number;
112
+ // 布尔型
113
+ someBoolean: boolean;
114
+ // ISO8601格式字符串:yyyy-MM-dd_T_HH:mm:ss_Z_
115
+ someDate?: string;
116
+ // 字符串数组
117
+ someStringList?: string[];
118
+ // 子结构体
119
+ someStruct: SubDemoStruct;
120
+ // 结构体数组
121
+ someStructList: SubDemoStruct[];
122
+ static names(): { [key: string]: string } {
123
+ return {
124
+ someString: 'some_string',
125
+ someNumber: 'some_number',
126
+ someBoolean: 'some_boolean',
127
+ someDate: 'some_date',
128
+ someStringList: 'some_string_list',
129
+ someStruct: 'some_struct',
130
+ someStructList: 'some_struct_list',
131
+ };
132
+ }
133
+
134
+ static types(): { [key: string]: any } {
135
+ return {
136
+ someString: 'string',
137
+ someNumber: 'number',
138
+ someBoolean: 'boolean',
139
+ someDate: 'string',
140
+ someStringList: { 'type': 'array', 'itemType': 'string' },
141
+ someStruct: SubDemoStruct,
142
+ someStructList: { 'type': 'array', 'itemType': SubDemoStruct },
143
+ };
144
+ }
145
+
146
+ constructor(map?: { [key: string]: any }) {
147
+ super(map);
148
+ }
149
+ }
150
+
151
+ // TestDemo
152
+ export class TestDemo extends $tea.Model {
153
+ // id
154
+ demo: string;
155
+ static names(): { [key: string]: string } {
156
+ return {
157
+ demo: 'demo',
158
+ };
159
+ }
160
+
161
+ static types(): { [key: string]: any } {
162
+ return {
163
+ demo: 'string',
164
+ };
165
+ }
166
+
167
+ constructor(map?: { [key: string]: any }) {
168
+ super(map);
169
+ }
170
+ }
171
+
172
+ // 模拟大安全类型
173
+ export class FaceImage extends $tea.Model {
174
+ // 1123
175
+ content?: string;
176
+ // 123
177
+ rect: string;
178
+ static names(): { [key: string]: string } {
179
+ return {
180
+ content: 'content',
181
+ rect: 'rect',
182
+ };
183
+ }
184
+
185
+ static types(): { [key: string]: any } {
186
+ return {
187
+ content: 'string',
188
+ rect: 'string',
189
+ };
190
+ }
191
+
192
+ constructor(map?: { [key: string]: any }) {
193
+ super(map);
194
+ }
195
+ }
196
+
197
+ // 结构体返回结构
198
+ export class ResultListDemo extends $tea.Model {
199
+ // 返回结果码
200
+ code: AbcDemoStruct;
201
+ // 返回结果
202
+ data: AbcDemoStruct;
203
+ // 返回信息
204
+ message: AbcDemoStruct;
205
+ static names(): { [key: string]: string } {
206
+ return {
207
+ code: 'code',
208
+ data: 'data',
209
+ message: 'message',
210
+ };
211
+ }
212
+
213
+ static types(): { [key: string]: any } {
214
+ return {
215
+ code: AbcDemoStruct,
216
+ data: AbcDemoStruct,
217
+ message: AbcDemoStruct,
218
+ };
219
+ }
220
+
221
+ constructor(map?: { [key: string]: any }) {
222
+ super(map);
223
+ }
224
+ }
225
+
226
+ // 姓名和年龄
227
+ export class NameAndAge extends $tea.Model {
228
+ // 姓名
229
+ name?: string;
230
+ // 年龄
231
+ age?: number;
232
+ static names(): { [key: string]: string } {
233
+ return {
234
+ name: 'name',
235
+ age: 'age',
236
+ };
237
+ }
238
+
239
+ static types(): { [key: string]: any } {
240
+ return {
241
+ name: 'string',
242
+ age: 'number',
243
+ };
244
+ }
245
+
246
+ constructor(map?: { [key: string]: any }) {
247
+ super(map);
248
+ }
249
+ }
250
+
251
+ // 共享能力六期接入rasp回归
252
+ export class GongXiangnengli extends $tea.Model {
253
+ static names(): { [key: string]: string } {
254
+ return {
255
+ };
256
+ }
257
+
258
+ static types(): { [key: string]: any } {
259
+ return {
260
+ };
261
+ }
262
+
263
+ constructor(map?: { [key: string]: any }) {
264
+ super(map);
265
+ }
266
+ }
267
+
268
+ // 初始参数
269
+ export class InitParks extends $tea.Model {
270
+ // 返回接收到请求的当前时间
271
+ time: string;
272
+ // 操作人
273
+ operator: string;
274
+ // 请求编号
275
+ count: number;
276
+ static names(): { [key: string]: string } {
277
+ return {
278
+ time: 'time',
279
+ operator: 'operator',
280
+ count: 'count',
281
+ };
282
+ }
283
+
284
+ static types(): { [key: string]: any } {
285
+ return {
286
+ time: 'string',
287
+ operator: 'string',
288
+ count: 'number',
289
+ };
290
+ }
291
+
292
+ constructor(map?: { [key: string]: any }) {
293
+ super(map);
294
+ }
295
+ }
296
+
297
+ // 11
298
+ export class InitPark extends $tea.Model {
299
+ // 1
300
+ demo: string;
301
+ static names(): { [key: string]: string } {
302
+ return {
303
+ demo: 'demo',
304
+ };
305
+ }
306
+
307
+ static types(): { [key: string]: any } {
308
+ return {
309
+ demo: 'string',
310
+ };
311
+ }
312
+
313
+ constructor(map?: { [key: string]: any }) {
314
+ super(map);
315
+ }
316
+ }
317
+
318
+ // 初始
319
+ export class InitPack extends $tea.Model {
320
+ // 请求时间
321
+ time: string;
322
+ // 请求人
323
+ operate: string;
324
+ // 编号
325
+ count: number;
326
+ static names(): { [key: string]: string } {
327
+ return {
328
+ time: 'time',
329
+ operate: 'operate',
330
+ count: 'count',
331
+ };
332
+ }
333
+
334
+ static types(): { [key: string]: any } {
335
+ return {
336
+ time: 'string',
337
+ operate: 'string',
338
+ count: 'number',
339
+ };
340
+ }
341
+
342
+ constructor(map?: { [key: string]: any }) {
343
+ super(map);
344
+ }
345
+ }
346
+
347
+ // 测试使用
348
+ export class TestPark extends $tea.Model {
349
+ // 请求时间
350
+ time: string;
351
+ // 请求人
352
+ operator: string;
353
+ // 请求编号
354
+ count: number;
355
+ static names(): { [key: string]: string } {
356
+ return {
357
+ time: 'time',
358
+ operator: 'operator',
359
+ count: 'count',
360
+ };
361
+ }
362
+
363
+ static types(): { [key: string]: any } {
364
+ return {
365
+ time: 'string',
366
+ operator: 'string',
367
+ count: 'number',
368
+ };
369
+ }
370
+
371
+ constructor(map?: { [key: string]: any }) {
372
+ super(map);
373
+ }
374
+ }
375
+
376
+ // 键值对
377
+ export class XNameValuePair extends $tea.Model {
378
+ // 键名
379
+ name: string;
380
+ // 键值
381
+ value: string;
382
+ static names(): { [key: string]: string } {
383
+ return {
384
+ name: 'name',
385
+ value: 'value',
386
+ };
387
+ }
388
+
389
+ static types(): { [key: string]: any } {
390
+ return {
391
+ name: 'string',
392
+ value: 'string',
393
+ };
394
+ }
395
+
396
+ constructor(map?: { [key: string]: any }) {
397
+ super(map);
398
+ }
399
+ }
400
+
401
+ export class PreviewDemoRequest extends $tea.Model {
402
+ // OAuth模式下的授权token
403
+ authToken?: string;
404
+ productInstanceId?: string;
405
+ // 字符串入参
406
+ inputString: string;
407
+ // Long型入参
408
+ inputNumber?: number;
409
+ // 布尔型入参
410
+ inputBoolean: boolean;
411
+ // ISO8601格式字符串:yyyy-MM-dd_T_HH:mm:ss_Z_
412
+ inputDate?: string;
413
+ // 字符串列表入参
414
+ inputStringList?: string[];
415
+ // 示例结构体入参
416
+ inputStruct: AbcDemoStruct;
417
+ // 结构体数组入参
418
+ inputStructList: AbcDemoStruct[];
419
+ // 123
420
+ fileObject?: Readable;
421
+ fileObjectName?: string;
422
+ fileId: string;
423
+ static names(): { [key: string]: string } {
424
+ return {
425
+ authToken: 'auth_token',
426
+ productInstanceId: 'product_instance_id',
427
+ inputString: 'input_string',
428
+ inputNumber: 'input_number',
429
+ inputBoolean: 'input_boolean',
430
+ inputDate: 'input_date',
431
+ inputStringList: 'input_string_list',
432
+ inputStruct: 'input_struct',
433
+ inputStructList: 'input_struct_list',
434
+ fileObject: 'fileObject',
435
+ fileObjectName: 'fileObjectName',
436
+ fileId: 'file_id',
437
+ };
438
+ }
439
+
440
+ static types(): { [key: string]: any } {
441
+ return {
442
+ authToken: 'string',
443
+ productInstanceId: 'string',
444
+ inputString: 'string',
445
+ inputNumber: 'number',
446
+ inputBoolean: 'boolean',
447
+ inputDate: 'string',
448
+ inputStringList: { 'type': 'array', 'itemType': 'string' },
449
+ inputStruct: AbcDemoStruct,
450
+ inputStructList: { 'type': 'array', 'itemType': AbcDemoStruct },
451
+ fileObject: 'Readable',
452
+ fileObjectName: 'string',
453
+ fileId: 'string',
454
+ };
455
+ }
456
+
457
+ constructor(map?: { [key: string]: any }) {
458
+ super(map);
459
+ }
460
+ }
461
+
462
+ export class PreviewDemoResponse extends $tea.Model {
463
+ // 请求唯一ID,用于链路跟踪和问题排查
464
+ reqMsgId?: string;
465
+ // 结果码,一般OK表示调用成功
466
+ resultCode?: string;
467
+ // 异常信息的文本描述
468
+ resultMsg?: string;
469
+ // 字符串回参
470
+ outputString?: string;
471
+ // Long型回参
472
+ outputNumber?: number;
473
+ // 布尔型回参
474
+ outputBoolean?: boolean;
475
+ // ISO8602格式字符串:yyyy-MM-dd_T_HH:mm:ss_Z_
476
+ outputDate?: string;
477
+ // 字符串数组
478
+ outputStringList?: string[];
479
+ // 结构体回参
480
+ outputStruct?: AbcDemoStruct;
481
+ // 结构体列表回参
482
+ outputStructList?: AbcDemoStruct[];
483
+ static names(): { [key: string]: string } {
484
+ return {
485
+ reqMsgId: 'req_msg_id',
486
+ resultCode: 'result_code',
487
+ resultMsg: 'result_msg',
488
+ outputString: 'output_string',
489
+ outputNumber: 'output_number',
490
+ outputBoolean: 'output_boolean',
491
+ outputDate: 'output_date',
492
+ outputStringList: 'output_string_list',
493
+ outputStruct: 'output_struct',
494
+ outputStructList: 'output_struct_list',
495
+ };
496
+ }
497
+
498
+ static types(): { [key: string]: any } {
499
+ return {
500
+ reqMsgId: 'string',
501
+ resultCode: 'string',
502
+ resultMsg: 'string',
503
+ outputString: 'string',
504
+ outputNumber: 'number',
505
+ outputBoolean: 'boolean',
506
+ outputDate: 'string',
507
+ outputStringList: { 'type': 'array', 'itemType': 'string' },
508
+ outputStruct: AbcDemoStruct,
509
+ outputStructList: { 'type': 'array', 'itemType': AbcDemoStruct },
510
+ };
511
+ }
512
+
513
+ constructor(map?: { [key: string]: any }) {
514
+ super(map);
515
+ }
516
+ }
517
+
518
+ export class QueryGatewayRequest extends $tea.Model {
519
+ // OAuth模式下的授权token
520
+ authToken?: string;
521
+ productInstanceId?: string;
522
+ // 查询输入
523
+ //
524
+ data: string;
525
+ // 结构体参数
526
+ param: AbcDemoStruct;
527
+ static names(): { [key: string]: string } {
528
+ return {
529
+ authToken: 'auth_token',
530
+ productInstanceId: 'product_instance_id',
531
+ data: 'data',
532
+ param: 'param',
533
+ };
534
+ }
535
+
536
+ static types(): { [key: string]: any } {
537
+ return {
538
+ authToken: 'string',
539
+ productInstanceId: 'string',
540
+ data: 'string',
541
+ param: AbcDemoStruct,
542
+ };
543
+ }
544
+
545
+ constructor(map?: { [key: string]: any }) {
546
+ super(map);
547
+ }
548
+ }
549
+
550
+ export class QueryGatewayResponse extends $tea.Model {
551
+ // 请求唯一ID,用于链路跟踪和问题排查
552
+ reqMsgId?: string;
553
+ // 结果码,一般OK表示调用成功
554
+ resultCode?: string;
555
+ // 异常信息的文本描述
556
+ resultMsg?: string;
557
+ // 返回查询
558
+ queryResult?: string;
559
+ static names(): { [key: string]: string } {
560
+ return {
561
+ reqMsgId: 'req_msg_id',
562
+ resultCode: 'result_code',
563
+ resultMsg: 'result_msg',
564
+ queryResult: 'query_result',
565
+ };
566
+ }
567
+
568
+ static types(): { [key: string]: any } {
569
+ return {
570
+ reqMsgId: 'string',
571
+ resultCode: 'string',
572
+ resultMsg: 'string',
573
+ queryResult: 'string',
574
+ };
575
+ }
576
+
577
+ constructor(map?: { [key: string]: any }) {
578
+ super(map);
579
+ }
580
+ }
581
+
582
+ export class QueryAbcdaAbcddaaRequest extends $tea.Model {
583
+ // OAuth模式下的授权token
584
+ authToken?: string;
585
+ productInstanceId?: string;
586
+ static names(): { [key: string]: string } {
587
+ return {
588
+ authToken: 'auth_token',
589
+ productInstanceId: 'product_instance_id',
590
+ };
591
+ }
592
+
593
+ static types(): { [key: string]: any } {
594
+ return {
595
+ authToken: 'string',
596
+ productInstanceId: 'string',
597
+ };
598
+ }
599
+
600
+ constructor(map?: { [key: string]: any }) {
601
+ super(map);
602
+ }
603
+ }
604
+
605
+ export class QueryAbcdaAbcddaaResponse extends $tea.Model {
606
+ // 请求唯一ID,用于链路跟踪和问题排查
607
+ reqMsgId?: string;
608
+ // 结果码,一般OK表示调用成功
609
+ resultCode?: string;
610
+ // 异常信息的文本描述
611
+ resultMsg?: string;
612
+ static names(): { [key: string]: string } {
613
+ return {
614
+ reqMsgId: 'req_msg_id',
615
+ resultCode: 'result_code',
616
+ resultMsg: 'result_msg',
617
+ };
618
+ }
619
+
620
+ static types(): { [key: string]: any } {
621
+ return {
622
+ reqMsgId: 'string',
623
+ resultCode: 'string',
624
+ resultMsg: 'string',
625
+ };
626
+ }
627
+
628
+ constructor(map?: { [key: string]: any }) {
629
+ super(map);
630
+ }
631
+ }
632
+
633
+ export class MatchSecurityFaceRequest extends $tea.Model {
634
+ // OAuth模式下的授权token
635
+ authToken?: string;
636
+ productInstanceId?: string;
637
+ // 123
638
+ bizId: string;
639
+ // 123
640
+ face1?: FaceImage;
641
+ // 123
642
+ face2?: FaceImage;
643
+ static names(): { [key: string]: string } {
644
+ return {
645
+ authToken: 'auth_token',
646
+ productInstanceId: 'product_instance_id',
647
+ bizId: 'biz_id',
648
+ face1: 'face1',
649
+ face2: 'face2',
650
+ };
651
+ }
652
+
653
+ static types(): { [key: string]: any } {
654
+ return {
655
+ authToken: 'string',
656
+ productInstanceId: 'string',
657
+ bizId: 'string',
658
+ face1: FaceImage,
659
+ face2: FaceImage,
660
+ };
661
+ }
662
+
663
+ constructor(map?: { [key: string]: any }) {
664
+ super(map);
665
+ }
666
+ }
667
+
668
+ export class MatchSecurityFaceResponse extends $tea.Model {
669
+ // 请求唯一ID,用于链路跟踪和问题排查
670
+ reqMsgId?: string;
671
+ // 结果码,一般OK表示调用成功
672
+ resultCode?: string;
673
+ // 异常信息的文本描述
674
+ resultMsg?: string;
675
+ // 123
676
+ transactionId?: string;
677
+ // 123
678
+ samePerson?: string;
679
+ // 123
680
+ score?: string;
681
+ static names(): { [key: string]: string } {
682
+ return {
683
+ reqMsgId: 'req_msg_id',
684
+ resultCode: 'result_code',
685
+ resultMsg: 'result_msg',
686
+ transactionId: 'transaction_id',
687
+ samePerson: 'same_person',
688
+ score: 'score',
689
+ };
690
+ }
691
+
692
+ static types(): { [key: string]: any } {
693
+ return {
694
+ reqMsgId: 'string',
695
+ resultCode: 'string',
696
+ resultMsg: 'string',
697
+ transactionId: 'string',
698
+ samePerson: 'string',
699
+ score: 'string',
700
+ };
701
+ }
702
+
703
+ constructor(map?: { [key: string]: any }) {
704
+ super(map);
705
+ }
706
+ }
707
+
708
+ export class UploadTestFileRequest extends $tea.Model {
709
+ // OAuth模式下的授权token
710
+ authToken?: string;
711
+ productInstanceId?: string;
712
+ // 123
713
+ fileObject?: Readable;
714
+ fileObjectName?: string;
715
+ fileId: string;
716
+ static names(): { [key: string]: string } {
717
+ return {
718
+ authToken: 'auth_token',
719
+ productInstanceId: 'product_instance_id',
720
+ fileObject: 'fileObject',
721
+ fileObjectName: 'fileObjectName',
722
+ fileId: 'file_id',
723
+ };
724
+ }
725
+
726
+ static types(): { [key: string]: any } {
727
+ return {
728
+ authToken: 'string',
729
+ productInstanceId: 'string',
730
+ fileObject: 'Readable',
731
+ fileObjectName: 'string',
732
+ fileId: 'string',
733
+ };
734
+ }
735
+
736
+ constructor(map?: { [key: string]: any }) {
737
+ super(map);
738
+ }
739
+ }
740
+
741
+ export class UploadTestFileResponse extends $tea.Model {
742
+ // 请求唯一ID,用于链路跟踪和问题排查
743
+ reqMsgId?: string;
744
+ // 结果码,一般OK表示调用成功
745
+ resultCode?: string;
746
+ // 异常信息的文本描述
747
+ resultMsg?: string;
748
+ static names(): { [key: string]: string } {
749
+ return {
750
+ reqMsgId: 'req_msg_id',
751
+ resultCode: 'result_code',
752
+ resultMsg: 'result_msg',
753
+ };
754
+ }
755
+
756
+ static types(): { [key: string]: any } {
757
+ return {
758
+ reqMsgId: 'string',
759
+ resultCode: 'string',
760
+ resultMsg: 'string',
761
+ };
762
+ }
763
+
764
+ constructor(map?: { [key: string]: any }) {
765
+ super(map);
766
+ }
767
+ }
768
+
769
+ export class QueryTimeOneRequest extends $tea.Model {
770
+ // OAuth模式下的授权token
771
+ authToken?: string;
772
+ productInstanceId?: string;
773
+ // 超时时间
774
+ timeout?: string;
775
+ static names(): { [key: string]: string } {
776
+ return {
777
+ authToken: 'auth_token',
778
+ productInstanceId: 'product_instance_id',
779
+ timeout: 'timeout',
780
+ };
781
+ }
782
+
783
+ static types(): { [key: string]: any } {
784
+ return {
785
+ authToken: 'string',
786
+ productInstanceId: 'string',
787
+ timeout: 'string',
788
+ };
789
+ }
790
+
791
+ constructor(map?: { [key: string]: any }) {
792
+ super(map);
793
+ }
794
+ }
795
+
796
+ export class QueryTimeOneResponse extends $tea.Model {
797
+ // 请求唯一ID,用于链路跟踪和问题排查
798
+ reqMsgId?: string;
799
+ // 结果码,一般OK表示调用成功
800
+ resultCode?: string;
801
+ // 异常信息的文本描述
802
+ resultMsg?: string;
803
+ // 状态码
804
+ stauts?: string;
805
+ // OK
806
+ msg?: string;
807
+ static names(): { [key: string]: string } {
808
+ return {
809
+ reqMsgId: 'req_msg_id',
810
+ resultCode: 'result_code',
811
+ resultMsg: 'result_msg',
812
+ stauts: 'stauts',
813
+ msg: 'msg',
814
+ };
815
+ }
816
+
817
+ static types(): { [key: string]: any } {
818
+ return {
819
+ reqMsgId: 'string',
820
+ resultCode: 'string',
821
+ resultMsg: 'string',
822
+ stauts: 'string',
823
+ msg: 'string',
824
+ };
825
+ }
826
+
827
+ constructor(map?: { [key: string]: any }) {
828
+ super(map);
829
+ }
830
+ }
831
+
832
+ export class QueryTimeTwoRequest extends $tea.Model {
833
+ // OAuth模式下的授权token
834
+ authToken?: string;
835
+ productInstanceId?: string;
836
+ // 下游超时时间
837
+ timeout?: string;
838
+ static names(): { [key: string]: string } {
839
+ return {
840
+ authToken: 'auth_token',
841
+ productInstanceId: 'product_instance_id',
842
+ timeout: 'timeout',
843
+ };
844
+ }
845
+
846
+ static types(): { [key: string]: any } {
847
+ return {
848
+ authToken: 'string',
849
+ productInstanceId: 'string',
850
+ timeout: 'string',
851
+ };
852
+ }
853
+
854
+ constructor(map?: { [key: string]: any }) {
855
+ super(map);
856
+ }
857
+ }
858
+
859
+ export class QueryTimeTwoResponse extends $tea.Model {
860
+ // 请求唯一ID,用于链路跟踪和问题排查
861
+ reqMsgId?: string;
862
+ // 结果码,一般OK表示调用成功
863
+ resultCode?: string;
864
+ // 异常信息的文本描述
865
+ resultMsg?: string;
866
+ // 状态码
867
+ stauts?: string;
868
+ // OK
869
+ msg?: string;
870
+ static names(): { [key: string]: string } {
871
+ return {
872
+ reqMsgId: 'req_msg_id',
873
+ resultCode: 'result_code',
874
+ resultMsg: 'result_msg',
875
+ stauts: 'stauts',
876
+ msg: 'msg',
877
+ };
878
+ }
879
+
880
+ static types(): { [key: string]: any } {
881
+ return {
882
+ reqMsgId: 'string',
883
+ resultCode: 'string',
884
+ resultMsg: 'string',
885
+ stauts: 'string',
886
+ msg: 'string',
887
+ };
888
+ }
889
+
890
+ constructor(map?: { [key: string]: any }) {
891
+ super(map);
892
+ }
893
+ }
894
+
895
+ export class QueryTimeThreeRequest extends $tea.Model {
896
+ // OAuth模式下的授权token
897
+ authToken?: string;
898
+ productInstanceId?: string;
899
+ // 下游超时时间
900
+ timeout?: string;
901
+ static names(): { [key: string]: string } {
902
+ return {
903
+ authToken: 'auth_token',
904
+ productInstanceId: 'product_instance_id',
905
+ timeout: 'timeout',
906
+ };
907
+ }
908
+
909
+ static types(): { [key: string]: any } {
910
+ return {
911
+ authToken: 'string',
912
+ productInstanceId: 'string',
913
+ timeout: 'string',
914
+ };
915
+ }
916
+
917
+ constructor(map?: { [key: string]: any }) {
918
+ super(map);
919
+ }
920
+ }
921
+
922
+ export class QueryTimeThreeResponse extends $tea.Model {
923
+ // 请求唯一ID,用于链路跟踪和问题排查
924
+ reqMsgId?: string;
925
+ // 结果码,一般OK表示调用成功
926
+ resultCode?: string;
927
+ // 异常信息的文本描述
928
+ resultMsg?: string;
929
+ // 状态码
930
+ stauts?: string;
931
+ // OK
932
+ msg?: string;
933
+ static names(): { [key: string]: string } {
934
+ return {
935
+ reqMsgId: 'req_msg_id',
936
+ resultCode: 'result_code',
937
+ resultMsg: 'result_msg',
938
+ stauts: 'stauts',
939
+ msg: 'msg',
940
+ };
941
+ }
942
+
943
+ static types(): { [key: string]: any } {
944
+ return {
945
+ reqMsgId: 'string',
946
+ resultCode: 'string',
947
+ resultMsg: 'string',
948
+ stauts: 'string',
949
+ msg: 'string',
950
+ };
951
+ }
952
+
953
+ constructor(map?: { [key: string]: any }) {
954
+ super(map);
955
+ }
956
+ }
957
+
958
+ export class QueryTimeFourRequest extends $tea.Model {
959
+ // OAuth模式下的授权token
960
+ authToken?: string;
961
+ productInstanceId?: string;
962
+ // 超时时间
963
+ timeout?: string;
964
+ static names(): { [key: string]: string } {
965
+ return {
966
+ authToken: 'auth_token',
967
+ productInstanceId: 'product_instance_id',
968
+ timeout: 'timeout',
969
+ };
970
+ }
971
+
972
+ static types(): { [key: string]: any } {
973
+ return {
974
+ authToken: 'string',
975
+ productInstanceId: 'string',
976
+ timeout: 'string',
977
+ };
978
+ }
979
+
980
+ constructor(map?: { [key: string]: any }) {
981
+ super(map);
982
+ }
983
+ }
984
+
985
+ export class QueryTimeFourResponse extends $tea.Model {
986
+ // 请求唯一ID,用于链路跟踪和问题排查
987
+ reqMsgId?: string;
988
+ // 结果码,一般OK表示调用成功
989
+ resultCode?: string;
990
+ // 异常信息的文本描述
991
+ resultMsg?: string;
992
+ // 状态码
993
+ stauts?: string;
994
+ // OK
995
+ msg?: string;
996
+ static names(): { [key: string]: string } {
997
+ return {
998
+ reqMsgId: 'req_msg_id',
999
+ resultCode: 'result_code',
1000
+ resultMsg: 'result_msg',
1001
+ stauts: 'stauts',
1002
+ msg: 'msg',
1003
+ };
1004
+ }
1005
+
1006
+ static types(): { [key: string]: any } {
1007
+ return {
1008
+ reqMsgId: 'string',
1009
+ resultCode: 'string',
1010
+ resultMsg: 'string',
1011
+ stauts: 'string',
1012
+ msg: 'string',
1013
+ };
1014
+ }
1015
+
1016
+ constructor(map?: { [key: string]: any }) {
1017
+ super(map);
1018
+ }
1019
+ }
1020
+
1021
+ export class QueryTimeFiveRequest extends $tea.Model {
1022
+ // OAuth模式下的授权token
1023
+ authToken?: string;
1024
+ productInstanceId?: string;
1025
+ // 下游超时时间
1026
+ timeout?: string;
1027
+ static names(): { [key: string]: string } {
1028
+ return {
1029
+ authToken: 'auth_token',
1030
+ productInstanceId: 'product_instance_id',
1031
+ timeout: 'timeout',
1032
+ };
1033
+ }
1034
+
1035
+ static types(): { [key: string]: any } {
1036
+ return {
1037
+ authToken: 'string',
1038
+ productInstanceId: 'string',
1039
+ timeout: 'string',
1040
+ };
1041
+ }
1042
+
1043
+ constructor(map?: { [key: string]: any }) {
1044
+ super(map);
1045
+ }
1046
+ }
1047
+
1048
+ export class QueryTimeFiveResponse extends $tea.Model {
1049
+ // 请求唯一ID,用于链路跟踪和问题排查
1050
+ reqMsgId?: string;
1051
+ // 结果码,一般OK表示调用成功
1052
+ resultCode?: string;
1053
+ // 异常信息的文本描述
1054
+ resultMsg?: string;
1055
+ // 状态码
1056
+ stauts?: string;
1057
+ // OK
1058
+ msg?: string;
1059
+ static names(): { [key: string]: string } {
1060
+ return {
1061
+ reqMsgId: 'req_msg_id',
1062
+ resultCode: 'result_code',
1063
+ resultMsg: 'result_msg',
1064
+ stauts: 'stauts',
1065
+ msg: 'msg',
1066
+ };
1067
+ }
1068
+
1069
+ static types(): { [key: string]: any } {
1070
+ return {
1071
+ reqMsgId: 'string',
1072
+ resultCode: 'string',
1073
+ resultMsg: 'string',
1074
+ stauts: 'string',
1075
+ msg: 'string',
1076
+ };
1077
+ }
1078
+
1079
+ constructor(map?: { [key: string]: any }) {
1080
+ super(map);
1081
+ }
1082
+ }
1083
+
1084
+ export class CreateapiExistingProductsRequest extends $tea.Model {
1085
+ // OAuth模式下的授权token
1086
+ authToken?: string;
1087
+ productInstanceId?: string;
1088
+ // 计算值输入
1089
+ execNum: number;
1090
+ static names(): { [key: string]: string } {
1091
+ return {
1092
+ authToken: 'auth_token',
1093
+ productInstanceId: 'product_instance_id',
1094
+ execNum: 'exec_num',
1095
+ };
1096
+ }
1097
+
1098
+ static types(): { [key: string]: any } {
1099
+ return {
1100
+ authToken: 'string',
1101
+ productInstanceId: 'string',
1102
+ execNum: 'number',
1103
+ };
1104
+ }
1105
+
1106
+ constructor(map?: { [key: string]: any }) {
1107
+ super(map);
1108
+ }
1109
+ }
1110
+
1111
+ export class CreateapiExistingProductsResponse extends $tea.Model {
1112
+ // 请求唯一ID,用于链路跟踪和问题排查
1113
+ reqMsgId?: string;
1114
+ // 结果码,一般OK表示调用成功
1115
+ resultCode?: string;
1116
+ // 异常信息的文本描述
1117
+ resultMsg?: string;
1118
+ // 计算值返回
1119
+ execNumEcho?: number;
1120
+ static names(): { [key: string]: string } {
1121
+ return {
1122
+ reqMsgId: 'req_msg_id',
1123
+ resultCode: 'result_code',
1124
+ resultMsg: 'result_msg',
1125
+ execNumEcho: 'exec_num_echo',
1126
+ };
1127
+ }
1128
+
1129
+ static types(): { [key: string]: any } {
1130
+ return {
1131
+ reqMsgId: 'string',
1132
+ resultCode: 'string',
1133
+ resultMsg: 'string',
1134
+ execNumEcho: 'number',
1135
+ };
1136
+ }
1137
+
1138
+ constructor(map?: { [key: string]: any }) {
1139
+ super(map);
1140
+ }
1141
+ }
1142
+
1143
+ export class APreCreateApiRequest extends $tea.Model {
1144
+ // OAuth模式下的授权token
1145
+ authToken?: string;
1146
+ productInstanceId?: string;
1147
+ // 请求时间
1148
+ time: string;
1149
+ // 请求发起人
1150
+ operator: string;
1151
+ // 请求编号
1152
+ count: number;
1153
+ // 原始信息
1154
+ originInfo: string;
1155
+ static names(): { [key: string]: string } {
1156
+ return {
1157
+ authToken: 'auth_token',
1158
+ productInstanceId: 'product_instance_id',
1159
+ time: 'time',
1160
+ operator: 'operator',
1161
+ count: 'count',
1162
+ originInfo: 'origin_info',
1163
+ };
1164
+ }
1165
+
1166
+ static types(): { [key: string]: any } {
1167
+ return {
1168
+ authToken: 'string',
1169
+ productInstanceId: 'string',
1170
+ time: 'string',
1171
+ operator: 'string',
1172
+ count: 'number',
1173
+ originInfo: 'string',
1174
+ };
1175
+ }
1176
+
1177
+ constructor(map?: { [key: string]: any }) {
1178
+ super(map);
1179
+ }
1180
+ }
1181
+
1182
+ export class APreCreateApiResponse extends $tea.Model {
1183
+ // 请求唯一ID,用于链路跟踪和问题排查
1184
+ reqMsgId?: string;
1185
+ // 结果码,一般OK表示调用成功
1186
+ resultCode?: string;
1187
+ // 异常信息的文本描述
1188
+ resultMsg?: string;
1189
+ // 跟新后的info
1190
+ updInfo?: string;
1191
+ // 组合返回请求结果
1192
+ updPark?: InitParks;
1193
+ static names(): { [key: string]: string } {
1194
+ return {
1195
+ reqMsgId: 'req_msg_id',
1196
+ resultCode: 'result_code',
1197
+ resultMsg: 'result_msg',
1198
+ updInfo: 'upd_info',
1199
+ updPark: 'upd_park',
1200
+ };
1201
+ }
1202
+
1203
+ static types(): { [key: string]: any } {
1204
+ return {
1205
+ reqMsgId: 'string',
1206
+ resultCode: 'string',
1207
+ resultMsg: 'string',
1208
+ updInfo: 'string',
1209
+ updPark: InitParks,
1210
+ };
1211
+ }
1212
+
1213
+ constructor(map?: { [key: string]: any }) {
1214
+ super(map);
1215
+ }
1216
+ }
1217
+
1218
+ export class ApiTestCreateRequest extends $tea.Model {
1219
+ // OAuth模式下的授权token
1220
+ authToken?: string;
1221
+ productInstanceId?: string;
1222
+ // 1
1223
+ timeout: string;
1224
+ static names(): { [key: string]: string } {
1225
+ return {
1226
+ authToken: 'auth_token',
1227
+ productInstanceId: 'product_instance_id',
1228
+ timeout: 'timeout',
1229
+ };
1230
+ }
1231
+
1232
+ static types(): { [key: string]: any } {
1233
+ return {
1234
+ authToken: 'string',
1235
+ productInstanceId: 'string',
1236
+ timeout: 'string',
1237
+ };
1238
+ }
1239
+
1240
+ constructor(map?: { [key: string]: any }) {
1241
+ super(map);
1242
+ }
1243
+ }
1244
+
1245
+ export class ApiTestCreateResponse extends $tea.Model {
1246
+ // 请求唯一ID,用于链路跟踪和问题排查
1247
+ reqMsgId?: string;
1248
+ // 结果码,一般OK表示调用成功
1249
+ resultCode?: string;
1250
+ // 异常信息的文本描述
1251
+ resultMsg?: string;
1252
+ // 请求返回描述
1253
+ status?: string;
1254
+ // msg
1255
+ msg?: string;
1256
+ static names(): { [key: string]: string } {
1257
+ return {
1258
+ reqMsgId: 'req_msg_id',
1259
+ resultCode: 'result_code',
1260
+ resultMsg: 'result_msg',
1261
+ status: 'status',
1262
+ msg: 'msg',
1263
+ };
1264
+ }
1265
+
1266
+ static types(): { [key: string]: any } {
1267
+ return {
1268
+ reqMsgId: 'string',
1269
+ resultCode: 'string',
1270
+ resultMsg: 'string',
1271
+ status: 'string',
1272
+ msg: 'string',
1273
+ };
1274
+ }
1275
+
1276
+ constructor(map?: { [key: string]: any }) {
1277
+ super(map);
1278
+ }
1279
+ }
1280
+
1281
+ export class QueryApprovalTestRequest extends $tea.Model {
1282
+ // OAuth模式下的授权token
1283
+ authToken?: string;
1284
+ productInstanceId?: string;
1285
+ // 入参
1286
+ input: string;
1287
+ // 新增字段
1288
+ delete: string;
1289
+ static names(): { [key: string]: string } {
1290
+ return {
1291
+ authToken: 'auth_token',
1292
+ productInstanceId: 'product_instance_id',
1293
+ input: 'input',
1294
+ delete: 'delete',
1295
+ };
1296
+ }
1297
+
1298
+ static types(): { [key: string]: any } {
1299
+ return {
1300
+ authToken: 'string',
1301
+ productInstanceId: 'string',
1302
+ input: 'string',
1303
+ delete: 'string',
1304
+ };
1305
+ }
1306
+
1307
+ constructor(map?: { [key: string]: any }) {
1308
+ super(map);
1309
+ }
1310
+ }
1311
+
1312
+ export class QueryApprovalTestResponse extends $tea.Model {
1313
+ // 请求唯一ID,用于链路跟踪和问题排查
1314
+ reqMsgId?: string;
1315
+ // 结果码,一般OK表示调用成功
1316
+ resultCode?: string;
1317
+ // 异常信息的文本描述
1318
+ resultMsg?: string;
1319
+ // 回参
1320
+ msg?: string;
1321
+ // 新增字段
1322
+ code?: number;
1323
+ static names(): { [key: string]: string } {
1324
+ return {
1325
+ reqMsgId: 'req_msg_id',
1326
+ resultCode: 'result_code',
1327
+ resultMsg: 'result_msg',
1328
+ msg: 'msg',
1329
+ code: 'code',
1330
+ };
1331
+ }
1332
+
1333
+ static types(): { [key: string]: any } {
1334
+ return {
1335
+ reqMsgId: 'string',
1336
+ resultCode: 'string',
1337
+ resultMsg: 'string',
1338
+ msg: 'string',
1339
+ code: 'number',
1340
+ };
1341
+ }
1342
+
1343
+ constructor(map?: { [key: string]: any }) {
1344
+ super(map);
1345
+ }
1346
+ }
1347
+
1348
+ export class QueryOneLimitRequest extends $tea.Model {
1349
+ // OAuth模式下的授权token
1350
+ authToken?: string;
1351
+ productInstanceId?: string;
1352
+ // 超时时间
1353
+ timeout: string;
1354
+ static names(): { [key: string]: string } {
1355
+ return {
1356
+ authToken: 'auth_token',
1357
+ productInstanceId: 'product_instance_id',
1358
+ timeout: 'timeout',
1359
+ };
1360
+ }
1361
+
1362
+ static types(): { [key: string]: any } {
1363
+ return {
1364
+ authToken: 'string',
1365
+ productInstanceId: 'string',
1366
+ timeout: 'string',
1367
+ };
1368
+ }
1369
+
1370
+ constructor(map?: { [key: string]: any }) {
1371
+ super(map);
1372
+ }
1373
+ }
1374
+
1375
+ export class QueryOneLimitResponse extends $tea.Model {
1376
+ // 请求唯一ID,用于链路跟踪和问题排查
1377
+ reqMsgId?: string;
1378
+ // 结果码,一般OK表示调用成功
1379
+ resultCode?: string;
1380
+ // 异常信息的文本描述
1381
+ resultMsg?: string;
1382
+ // 状态码
1383
+ stauts?: string;
1384
+ // 状态码描述
1385
+ msg?: string;
1386
+ static names(): { [key: string]: string } {
1387
+ return {
1388
+ reqMsgId: 'req_msg_id',
1389
+ resultCode: 'result_code',
1390
+ resultMsg: 'result_msg',
1391
+ stauts: 'stauts',
1392
+ msg: 'msg',
1393
+ };
1394
+ }
1395
+
1396
+ static types(): { [key: string]: any } {
1397
+ return {
1398
+ reqMsgId: 'string',
1399
+ resultCode: 'string',
1400
+ resultMsg: 'string',
1401
+ stauts: 'string',
1402
+ msg: 'string',
1403
+ };
1404
+ }
1405
+
1406
+ constructor(map?: { [key: string]: any }) {
1407
+ super(map);
1408
+ }
1409
+ }
1410
+
1411
+ export class ImportOneLimitRequest extends $tea.Model {
1412
+ // OAuth模式下的授权token
1413
+ authToken?: string;
1414
+ productInstanceId?: string;
1415
+ // 超时时间
1416
+ timeout: string;
1417
+ static names(): { [key: string]: string } {
1418
+ return {
1419
+ authToken: 'auth_token',
1420
+ productInstanceId: 'product_instance_id',
1421
+ timeout: 'timeout',
1422
+ };
1423
+ }
1424
+
1425
+ static types(): { [key: string]: any } {
1426
+ return {
1427
+ authToken: 'string',
1428
+ productInstanceId: 'string',
1429
+ timeout: 'string',
1430
+ };
1431
+ }
1432
+
1433
+ constructor(map?: { [key: string]: any }) {
1434
+ super(map);
1435
+ }
1436
+ }
1437
+
1438
+ export class ImportOneLimitResponse extends $tea.Model {
1439
+ // 请求唯一ID,用于链路跟踪和问题排查
1440
+ reqMsgId?: string;
1441
+ // 结果码,一般OK表示调用成功
1442
+ resultCode?: string;
1443
+ // 异常信息的文本描述
1444
+ resultMsg?: string;
1445
+ // 状态码
1446
+ stauts?: string;
1447
+ // 状态描述
1448
+ msg?: string;
1449
+ static names(): { [key: string]: string } {
1450
+ return {
1451
+ reqMsgId: 'req_msg_id',
1452
+ resultCode: 'result_code',
1453
+ resultMsg: 'result_msg',
1454
+ stauts: 'stauts',
1455
+ msg: 'msg',
1456
+ };
1457
+ }
1458
+
1459
+ static types(): { [key: string]: any } {
1460
+ return {
1461
+ reqMsgId: 'string',
1462
+ resultCode: 'string',
1463
+ resultMsg: 'string',
1464
+ stauts: 'string',
1465
+ msg: 'string',
1466
+ };
1467
+ }
1468
+
1469
+ constructor(map?: { [key: string]: any }) {
1470
+ super(map);
1471
+ }
1472
+ }
1473
+
1474
+ export class QueryGongxiangTesttestRequest extends $tea.Model {
1475
+ // OAuth模式下的授权token
1476
+ authToken?: string;
1477
+ productInstanceId?: string;
1478
+ // 验证
1479
+ character1: string;
1480
+ // 用于验证
1481
+ character2: number;
1482
+ static names(): { [key: string]: string } {
1483
+ return {
1484
+ authToken: 'auth_token',
1485
+ productInstanceId: 'product_instance_id',
1486
+ character1: 'character1',
1487
+ character2: 'character2',
1488
+ };
1489
+ }
1490
+
1491
+ static types(): { [key: string]: any } {
1492
+ return {
1493
+ authToken: 'string',
1494
+ productInstanceId: 'string',
1495
+ character1: 'string',
1496
+ character2: 'number',
1497
+ };
1498
+ }
1499
+
1500
+ constructor(map?: { [key: string]: any }) {
1501
+ super(map);
1502
+ }
1503
+ }
1504
+
1505
+ export class QueryGongxiangTesttestResponse extends $tea.Model {
1506
+ // 请求唯一ID,用于链路跟踪和问题排查
1507
+ reqMsgId?: string;
1508
+ // 结果码,一般OK表示调用成功
1509
+ resultCode?: string;
1510
+ // 异常信息的文本描述
1511
+ resultMsg?: string;
1512
+ // 回参
1513
+ character1?: string;
1514
+ static names(): { [key: string]: string } {
1515
+ return {
1516
+ reqMsgId: 'req_msg_id',
1517
+ resultCode: 'result_code',
1518
+ resultMsg: 'result_msg',
1519
+ character1: 'character1',
1520
+ };
1521
+ }
1522
+
1523
+ static types(): { [key: string]: any } {
1524
+ return {
1525
+ reqMsgId: 'string',
1526
+ resultCode: 'string',
1527
+ resultMsg: 'string',
1528
+ character1: 'string',
1529
+ };
1530
+ }
1531
+
1532
+ constructor(map?: { [key: string]: any }) {
1533
+ super(map);
1534
+ }
1535
+ }
1536
+
1537
+ export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
1538
+ // OAuth模式下的授权token
1539
+ authToken?: string;
1540
+ // 上传文件作用的openapi method
1541
+ apiCode: string;
1542
+ // 文件标签,多个标签;分割
1543
+ fileLabel?: string;
1544
+ // 自定义的文件元数据
1545
+ fileMetadata?: string;
1546
+ // 文件名,不传则随机生成文件名
1547
+ fileName?: string;
1548
+ // 文件的多媒体类型
1549
+ mimeType?: string;
1550
+ // 产品方的api归属集群,即productInstanceId
1551
+ apiCluster?: string;
1552
+ static names(): { [key: string]: string } {
1553
+ return {
1554
+ authToken: 'auth_token',
1555
+ apiCode: 'api_code',
1556
+ fileLabel: 'file_label',
1557
+ fileMetadata: 'file_metadata',
1558
+ fileName: 'file_name',
1559
+ mimeType: 'mime_type',
1560
+ apiCluster: 'api_cluster',
1561
+ };
1562
+ }
1563
+
1564
+ static types(): { [key: string]: any } {
1565
+ return {
1566
+ authToken: 'string',
1567
+ apiCode: 'string',
1568
+ fileLabel: 'string',
1569
+ fileMetadata: 'string',
1570
+ fileName: 'string',
1571
+ mimeType: 'string',
1572
+ apiCluster: 'string',
1573
+ };
1574
+ }
1575
+
1576
+ constructor(map?: { [key: string]: any }) {
1577
+ super(map);
1578
+ }
1579
+ }
1580
+
1581
+ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
1582
+ // 请求唯一ID,用于链路跟踪和问题排查
1583
+ reqMsgId?: string;
1584
+ // 结果码,一般OK表示调用成功
1585
+ resultCode?: string;
1586
+ // 异常信息的文本描述
1587
+ resultMsg?: string;
1588
+ // 上传有效期
1589
+ expiredTime?: string;
1590
+ // 32位文件唯一id
1591
+ fileId?: string;
1592
+ // 放入http请求头里
1593
+ uploadHeaders?: XNameValuePair[];
1594
+ // 文件上传地址
1595
+ uploadUrl?: string;
1596
+ static names(): { [key: string]: string } {
1597
+ return {
1598
+ reqMsgId: 'req_msg_id',
1599
+ resultCode: 'result_code',
1600
+ resultMsg: 'result_msg',
1601
+ expiredTime: 'expired_time',
1602
+ fileId: 'file_id',
1603
+ uploadHeaders: 'upload_headers',
1604
+ uploadUrl: 'upload_url',
1605
+ };
1606
+ }
1607
+
1608
+ static types(): { [key: string]: any } {
1609
+ return {
1610
+ reqMsgId: 'string',
1611
+ resultCode: 'string',
1612
+ resultMsg: 'string',
1613
+ expiredTime: 'string',
1614
+ fileId: 'string',
1615
+ uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
1616
+ uploadUrl: 'string',
1617
+ };
1618
+ }
1619
+
1620
+ constructor(map?: { [key: string]: any }) {
1621
+ super(map);
1622
+ }
1623
+ }
1624
+
1625
+
1626
+ export default class Client {
1627
+ _endpoint: string;
1628
+ _regionId: string;
1629
+ _accessKeyId: string;
1630
+ _accessKeySecret: string;
1631
+ _protocol: string;
1632
+ _userAgent: string;
1633
+ _readTimeout: number;
1634
+ _connectTimeout: number;
1635
+ _httpProxy: string;
1636
+ _httpsProxy: string;
1637
+ _socks5Proxy: string;
1638
+ _socks5NetWork: string;
1639
+ _noProxy: string;
1640
+ _maxIdleConns: number;
1641
+ _securityToken: string;
1642
+ _maxIdleTimeMillis: number;
1643
+ _keepAliveDurationMillis: number;
1644
+ _maxRequests: number;
1645
+ _maxRequestsPerHost: number;
1646
+
1647
+ /**
1648
+ * Init client with Config
1649
+ * @param config config contains the necessary information to create a client
1650
+ */
1651
+ constructor(config: Config) {
1652
+ if (Util.isUnset(config)) {
1653
+ throw $tea.newError({
1654
+ code: "ParameterMissing",
1655
+ message: "'config' can not be unset",
1656
+ });
1657
+ }
1658
+
1659
+ this._accessKeyId = config.accessKeyId;
1660
+ this._accessKeySecret = config.accessKeySecret;
1661
+ this._securityToken = config.securityToken;
1662
+ this._endpoint = config.endpoint;
1663
+ this._protocol = config.protocol;
1664
+ this._userAgent = config.userAgent;
1665
+ this._readTimeout = Util.defaultNumber(config.readTimeout, 20000);
1666
+ this._connectTimeout = Util.defaultNumber(config.connectTimeout, 20000);
1667
+ this._httpProxy = config.httpProxy;
1668
+ this._httpsProxy = config.httpsProxy;
1669
+ this._noProxy = config.noProxy;
1670
+ this._socks5Proxy = config.socks5Proxy;
1671
+ this._socks5NetWork = config.socks5NetWork;
1672
+ this._maxIdleConns = Util.defaultNumber(config.maxIdleConns, 60000);
1673
+ this._maxIdleTimeMillis = Util.defaultNumber(config.maxIdleTimeMillis, 5);
1674
+ this._keepAliveDurationMillis = Util.defaultNumber(config.keepAliveDurationMillis, 5000);
1675
+ this._maxRequests = Util.defaultNumber(config.maxRequests, 100);
1676
+ this._maxRequestsPerHost = Util.defaultNumber(config.maxRequestsPerHost, 100);
1677
+ }
1678
+
1679
+ /**
1680
+ * Encapsulate the request and invoke the network
1681
+ * @param action api name
1682
+ * @param protocol http or https
1683
+ * @param method e.g. GET
1684
+ * @param pathname pathname of every api
1685
+ * @param request which contains request params
1686
+ * @param runtime which controls some details of call api, such as retry times
1687
+ * @return the response
1688
+ */
1689
+ async doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {[key: string]: any}, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<{[key: string]: any}> {
1690
+ let _runtime: { [key: string]: any } = {
1691
+ timeouted: "retry",
1692
+ readTimeout: Util.defaultNumber(runtime.readTimeout, this._readTimeout),
1693
+ connectTimeout: Util.defaultNumber(runtime.connectTimeout, this._connectTimeout),
1694
+ httpProxy: Util.defaultString(runtime.httpProxy, this._httpProxy),
1695
+ httpsProxy: Util.defaultString(runtime.httpsProxy, this._httpsProxy),
1696
+ noProxy: Util.defaultString(runtime.noProxy, this._noProxy),
1697
+ maxIdleConns: Util.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
1698
+ maxIdleTimeMillis: this._maxIdleTimeMillis,
1699
+ keepAliveDuration: this._keepAliveDurationMillis,
1700
+ maxRequests: this._maxRequests,
1701
+ maxRequestsPerHost: this._maxRequestsPerHost,
1702
+ retry: {
1703
+ retryable: runtime.autoretry,
1704
+ maxAttempts: Util.defaultNumber(runtime.maxAttempts, 3),
1705
+ },
1706
+ backoff: {
1707
+ policy: Util.defaultString(runtime.backoffPolicy, "no"),
1708
+ period: Util.defaultNumber(runtime.backoffPeriod, 1),
1709
+ },
1710
+ ignoreSSL: runtime.ignoreSSL,
1711
+ }
1712
+
1713
+ let _lastRequest = null;
1714
+ let _now = Date.now();
1715
+ let _retryTimes = 0;
1716
+ while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
1717
+ if (_retryTimes > 0) {
1718
+ let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
1719
+ if (_backoffTime > 0) {
1720
+ await $tea.sleep(_backoffTime);
1721
+ }
1722
+ }
1723
+
1724
+ _retryTimes = _retryTimes + 1;
1725
+ try {
1726
+ let request_ = new $tea.Request();
1727
+ request_.protocol = Util.defaultString(this._protocol, protocol);
1728
+ request_.method = method;
1729
+ request_.pathname = pathname;
1730
+ request_.query = {
1731
+ method: action,
1732
+ version: version,
1733
+ sign_type: "HmacSHA1",
1734
+ req_time: AntchainUtil.getTimestamp(),
1735
+ req_msg_id: AntchainUtil.getNonce(),
1736
+ access_key: this._accessKeyId,
1737
+ base_sdk_version: "TeaSDK-2.0",
1738
+ sdk_version: "1.0.14",
1739
+ _prod_code: "ABC",
1740
+ _prod_channel: "undefined",
1741
+ };
1742
+ if (!Util.empty(this._securityToken)) {
1743
+ request_.query["security_token"] = this._securityToken;
1744
+ }
1745
+
1746
+ request_.headers = {
1747
+ host: Util.defaultString(this._endpoint, "openapi.antchain.antgroup.com"),
1748
+ 'user-agent': Util.getUserAgent(this._userAgent),
1749
+ ...headers,
1750
+ };
1751
+ let tmp = Util.anyifyMapValue(RPCUtil.query(request));
1752
+ request_.body = new $tea.BytesReadable(Util.toFormString(tmp));
1753
+ request_.headers["content-type"] = "application/x-www-form-urlencoded";
1754
+ let signedParam = {
1755
+ ...request_.query,
1756
+ ...RPCUtil.query(request),
1757
+ };
1758
+ request_.query["sign"] = AntchainUtil.getSignature(signedParam, this._accessKeySecret);
1759
+ _lastRequest = request_;
1760
+ let response_ = await $tea.doAction(request_, _runtime);
1761
+
1762
+ let raw = await Util.readAsString(response_.body);
1763
+ let obj = Util.parseJSON(raw);
1764
+ let res = Util.assertAsMap(obj);
1765
+ let resp = Util.assertAsMap(res["response"]);
1766
+ if (AntchainUtil.hasError(raw, this._accessKeySecret)) {
1767
+ throw $tea.newError({
1768
+ message: resp["result_msg"],
1769
+ data: resp,
1770
+ code: resp["result_code"],
1771
+ });
1772
+ }
1773
+
1774
+ return resp;
1775
+ } catch (ex) {
1776
+ if ($tea.isRetryable(ex)) {
1777
+ continue;
1778
+ }
1779
+ throw ex;
1780
+ }
1781
+ }
1782
+
1783
+ throw $tea.newUnretryableError(_lastRequest);
1784
+ }
1785
+
1786
+ /**
1787
+ * Description: 录入演示111
1788
+ * Summary: 录入演示API
1789
+ */
1790
+ async previewDemo(request: PreviewDemoRequest): Promise<PreviewDemoResponse> {
1791
+ let runtime = new $Util.RuntimeOptions({ });
1792
+ let headers : {[key: string ]: string} = { };
1793
+ return await this.previewDemoEx(request, headers, runtime);
1794
+ }
1795
+
1796
+ /**
1797
+ * Description: 录入演示111
1798
+ * Summary: 录入演示API
1799
+ */
1800
+ async previewDemoEx(request: PreviewDemoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PreviewDemoResponse> {
1801
+ if (!Util.isUnset(request.fileObject)) {
1802
+ let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
1803
+ authToken: request.authToken,
1804
+ apiCode: "antchain.abc.demo.preview",
1805
+ fileName: request.fileObjectName,
1806
+ });
1807
+ let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
1808
+ if (!AntchainUtil.isSuccess(uploadResp.resultCode, "ok")) {
1809
+ let previewDemoResponse = new PreviewDemoResponse({
1810
+ reqMsgId: uploadResp.reqMsgId,
1811
+ resultCode: uploadResp.resultCode,
1812
+ resultMsg: uploadResp.resultMsg,
1813
+ });
1814
+ return previewDemoResponse;
1815
+ }
1816
+
1817
+ let uploadHeaders = AntchainUtil.parseUploadHeaders(uploadResp.uploadHeaders);
1818
+ await AntchainUtil.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
1819
+ request.fileId = uploadResp.fileId;
1820
+ request.fileObject = null;
1821
+ }
1822
+
1823
+ Util.validateModel(request);
1824
+ return $tea.cast<PreviewDemoResponse>(await this.doRequest("1.0", "antchain.abc.demo.preview", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PreviewDemoResponse({}));
1825
+ }
1826
+
1827
+ /**
1828
+ * Description: 测试导入api1
1829
+ * Summary: 测试导入api1
1830
+ */
1831
+ async queryGateway(request: QueryGatewayRequest): Promise<QueryGatewayResponse> {
1832
+ let runtime = new $Util.RuntimeOptions({ });
1833
+ let headers : {[key: string ]: string} = { };
1834
+ return await this.queryGatewayEx(request, headers, runtime);
1835
+ }
1836
+
1837
+ /**
1838
+ * Description: 测试导入api1
1839
+ * Summary: 测试导入api1
1840
+ */
1841
+ async queryGatewayEx(request: QueryGatewayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryGatewayResponse> {
1842
+ Util.validateModel(request);
1843
+ return $tea.cast<QueryGatewayResponse>(await this.doRequest("1.0", "antchain.abc.gateway.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryGatewayResponse({}));
1844
+ }
1845
+
1846
+ /**
1847
+ * Description: 调试a s dddd
1848
+ * Summary: 调试1
1849
+ */
1850
+ async queryAbcdaAbcddaa(request: QueryAbcdaAbcddaaRequest): Promise<QueryAbcdaAbcddaaResponse> {
1851
+ let runtime = new $Util.RuntimeOptions({ });
1852
+ let headers : {[key: string ]: string} = { };
1853
+ return await this.queryAbcdaAbcddaaEx(request, headers, runtime);
1854
+ }
1855
+
1856
+ /**
1857
+ * Description: 调试a s dddd
1858
+ * Summary: 调试1
1859
+ */
1860
+ async queryAbcdaAbcddaaEx(request: QueryAbcdaAbcddaaRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryAbcdaAbcddaaResponse> {
1861
+ Util.validateModel(request);
1862
+ return $tea.cast<QueryAbcdaAbcddaaResponse>(await this.doRequest("1.0", "antchain.abc.abcda.abcddaa.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryAbcdaAbcddaaResponse({}));
1863
+ }
1864
+
1865
+ /**
1866
+ * Description: 测试大安全接口
1867
+ * Summary: 测试大安全接口
1868
+ */
1869
+ async matchSecurityFace(request: MatchSecurityFaceRequest): Promise<MatchSecurityFaceResponse> {
1870
+ let runtime = new $Util.RuntimeOptions({ });
1871
+ let headers : {[key: string ]: string} = { };
1872
+ return await this.matchSecurityFaceEx(request, headers, runtime);
1873
+ }
1874
+
1875
+ /**
1876
+ * Description: 测试大安全接口
1877
+ * Summary: 测试大安全接口
1878
+ */
1879
+ async matchSecurityFaceEx(request: MatchSecurityFaceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MatchSecurityFaceResponse> {
1880
+ Util.validateModel(request);
1881
+ return $tea.cast<MatchSecurityFaceResponse>(await this.doRequest("1.0", "antchain.abc.security.face.match", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new MatchSecurityFaceResponse({}));
1882
+ }
1883
+
1884
+ /**
1885
+ * Description: 文件上传测试接口
1886
+ * Summary: 文件上传测试接口
1887
+ */
1888
+ async uploadTestFile(request: UploadTestFileRequest): Promise<UploadTestFileResponse> {
1889
+ let runtime = new $Util.RuntimeOptions({ });
1890
+ let headers : {[key: string ]: string} = { };
1891
+ return await this.uploadTestFileEx(request, headers, runtime);
1892
+ }
1893
+
1894
+ /**
1895
+ * Description: 文件上传测试接口
1896
+ * Summary: 文件上传测试接口
1897
+ */
1898
+ async uploadTestFileEx(request: UploadTestFileRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadTestFileResponse> {
1899
+ if (!Util.isUnset(request.fileObject)) {
1900
+ let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
1901
+ authToken: request.authToken,
1902
+ apiCode: "antchain.abc.test.file.upload",
1903
+ fileName: request.fileObjectName,
1904
+ });
1905
+ let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
1906
+ if (!AntchainUtil.isSuccess(uploadResp.resultCode, "ok")) {
1907
+ let uploadTestFileResponse = new UploadTestFileResponse({
1908
+ reqMsgId: uploadResp.reqMsgId,
1909
+ resultCode: uploadResp.resultCode,
1910
+ resultMsg: uploadResp.resultMsg,
1911
+ });
1912
+ return uploadTestFileResponse;
1913
+ }
1914
+
1915
+ let uploadHeaders = AntchainUtil.parseUploadHeaders(uploadResp.uploadHeaders);
1916
+ await AntchainUtil.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
1917
+ request.fileId = uploadResp.fileId;
1918
+ request.fileObject = null;
1919
+ }
1920
+
1921
+ Util.validateModel(request);
1922
+ return $tea.cast<UploadTestFileResponse>(await this.doRequest("1.0", "antchain.abc.test.file.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadTestFileResponse({}));
1923
+ }
1924
+
1925
+ /**
1926
+ * Description: 压测接口1
1927
+ * Summary: 压测接口1
1928
+ */
1929
+ async queryTimeOne(request: QueryTimeOneRequest): Promise<QueryTimeOneResponse> {
1930
+ let runtime = new $Util.RuntimeOptions({ });
1931
+ let headers : {[key: string ]: string} = { };
1932
+ return await this.queryTimeOneEx(request, headers, runtime);
1933
+ }
1934
+
1935
+ /**
1936
+ * Description: 压测接口1
1937
+ * Summary: 压测接口1
1938
+ */
1939
+ async queryTimeOneEx(request: QueryTimeOneRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTimeOneResponse> {
1940
+ Util.validateModel(request);
1941
+ return $tea.cast<QueryTimeOneResponse>(await this.doRequest("1.0", "antchain.abc.time.one.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTimeOneResponse({}));
1942
+ }
1943
+
1944
+ /**
1945
+ * Description: 压测接口2
1946
+ * Summary: 压测接口2
1947
+ */
1948
+ async queryTimeTwo(request: QueryTimeTwoRequest): Promise<QueryTimeTwoResponse> {
1949
+ let runtime = new $Util.RuntimeOptions({ });
1950
+ let headers : {[key: string ]: string} = { };
1951
+ return await this.queryTimeTwoEx(request, headers, runtime);
1952
+ }
1953
+
1954
+ /**
1955
+ * Description: 压测接口2
1956
+ * Summary: 压测接口2
1957
+ */
1958
+ async queryTimeTwoEx(request: QueryTimeTwoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTimeTwoResponse> {
1959
+ Util.validateModel(request);
1960
+ return $tea.cast<QueryTimeTwoResponse>(await this.doRequest("1.0", "antchain.abc.time.two.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTimeTwoResponse({}));
1961
+ }
1962
+
1963
+ /**
1964
+ * Description: 压测接口3
1965
+ * Summary: 压测接口3
1966
+ */
1967
+ async queryTimeThree(request: QueryTimeThreeRequest): Promise<QueryTimeThreeResponse> {
1968
+ let runtime = new $Util.RuntimeOptions({ });
1969
+ let headers : {[key: string ]: string} = { };
1970
+ return await this.queryTimeThreeEx(request, headers, runtime);
1971
+ }
1972
+
1973
+ /**
1974
+ * Description: 压测接口3
1975
+ * Summary: 压测接口3
1976
+ */
1977
+ async queryTimeThreeEx(request: QueryTimeThreeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTimeThreeResponse> {
1978
+ Util.validateModel(request);
1979
+ return $tea.cast<QueryTimeThreeResponse>(await this.doRequest("1.0", "antchain.abc.time.three.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTimeThreeResponse({}));
1980
+ }
1981
+
1982
+ /**
1983
+ * Description: 压测接口4
1984
+ * Summary: 压测接口4
1985
+ */
1986
+ async queryTimeFour(request: QueryTimeFourRequest): Promise<QueryTimeFourResponse> {
1987
+ let runtime = new $Util.RuntimeOptions({ });
1988
+ let headers : {[key: string ]: string} = { };
1989
+ return await this.queryTimeFourEx(request, headers, runtime);
1990
+ }
1991
+
1992
+ /**
1993
+ * Description: 压测接口4
1994
+ * Summary: 压测接口4
1995
+ */
1996
+ async queryTimeFourEx(request: QueryTimeFourRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTimeFourResponse> {
1997
+ Util.validateModel(request);
1998
+ return $tea.cast<QueryTimeFourResponse>(await this.doRequest("1.0", "antchain.abc.time.four.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTimeFourResponse({}));
1999
+ }
2000
+
2001
+ /**
2002
+ * Description: 压测接口5
2003
+ * Summary: 压测接口5
2004
+ */
2005
+ async queryTimeFive(request: QueryTimeFiveRequest): Promise<QueryTimeFiveResponse> {
2006
+ let runtime = new $Util.RuntimeOptions({ });
2007
+ let headers : {[key: string ]: string} = { };
2008
+ return await this.queryTimeFiveEx(request, headers, runtime);
2009
+ }
2010
+
2011
+ /**
2012
+ * Description: 压测接口5
2013
+ * Summary: 压测接口5
2014
+ */
2015
+ async queryTimeFiveEx(request: QueryTimeFiveRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTimeFiveResponse> {
2016
+ Util.validateModel(request);
2017
+ return $tea.cast<QueryTimeFiveResponse>(await this.doRequest("1.0", "antchain.abc.time.five.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTimeFiveResponse({}));
2018
+ }
2019
+
2020
+ /**
2021
+ * Description: 已有产品创建api
2022
+ * Summary: 已有产品创建api
2023
+ */
2024
+ async createapiExistingProducts(request: CreateapiExistingProductsRequest): Promise<CreateapiExistingProductsResponse> {
2025
+ let runtime = new $Util.RuntimeOptions({ });
2026
+ let headers : {[key: string ]: string} = { };
2027
+ return await this.createapiExistingProductsEx(request, headers, runtime);
2028
+ }
2029
+
2030
+ /**
2031
+ * Description: 已有产品创建api
2032
+ * Summary: 已有产品创建api
2033
+ */
2034
+ async createapiExistingProductsEx(request: CreateapiExistingProductsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateapiExistingProductsResponse> {
2035
+ Util.validateModel(request);
2036
+ return $tea.cast<CreateapiExistingProductsResponse>(await this.doRequest("1.0", "antchain.abc.existing.products.createapi", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateapiExistingProductsResponse({}));
2037
+ }
2038
+
2039
+ /**
2040
+ * Description: 已有产品下创建的api
2041
+ * Summary: 已有产品下创建的api
2042
+ */
2043
+ async aPreCreateApi(request: APreCreateApiRequest): Promise<APreCreateApiResponse> {
2044
+ let runtime = new $Util.RuntimeOptions({ });
2045
+ let headers : {[key: string ]: string} = { };
2046
+ return await this.aPreCreateApiEx(request, headers, runtime);
2047
+ }
2048
+
2049
+ /**
2050
+ * Description: 已有产品下创建的api
2051
+ * Summary: 已有产品下创建的api
2052
+ */
2053
+ async aPreCreateApiEx(request: APreCreateApiRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<APreCreateApiResponse> {
2054
+ Util.validateModel(request);
2055
+ return $tea.cast<APreCreateApiResponse>(await this.doRequest("1.0", "antchain.abc.pre.create.api.a", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new APreCreateApiResponse({}));
2056
+ }
2057
+
2058
+ /**
2059
+ * Description: 测试使用api
2060
+ * Summary: 测试使用api
2061
+ */
2062
+ async apiTestCreate(request: ApiTestCreateRequest): Promise<ApiTestCreateResponse> {
2063
+ let runtime = new $Util.RuntimeOptions({ });
2064
+ let headers : {[key: string ]: string} = { };
2065
+ return await this.apiTestCreateEx(request, headers, runtime);
2066
+ }
2067
+
2068
+ /**
2069
+ * Description: 测试使用api
2070
+ * Summary: 测试使用api
2071
+ */
2072
+ async apiTestCreateEx(request: ApiTestCreateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApiTestCreateResponse> {
2073
+ Util.validateModel(request);
2074
+ return $tea.cast<ApiTestCreateResponse>(await this.doRequest("1.0", "antchain.abc.test.create.api", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApiTestCreateResponse({}));
2075
+ }
2076
+
2077
+ /**
2078
+ * Description: 用于测试api评审接入SDL/修改后的评审/0323
2079
+ * Summary: 用于测试api评审接入SDL/修改后的评审/0323
2080
+ */
2081
+ async queryApprovalTest(request: QueryApprovalTestRequest): Promise<QueryApprovalTestResponse> {
2082
+ let runtime = new $Util.RuntimeOptions({ });
2083
+ let headers : {[key: string ]: string} = { };
2084
+ return await this.queryApprovalTestEx(request, headers, runtime);
2085
+ }
2086
+
2087
+ /**
2088
+ * Description: 用于测试api评审接入SDL/修改后的评审/0323
2089
+ * Summary: 用于测试api评审接入SDL/修改后的评审/0323
2090
+ */
2091
+ async queryApprovalTestEx(request: QueryApprovalTestRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryApprovalTestResponse> {
2092
+ Util.validateModel(request);
2093
+ return $tea.cast<QueryApprovalTestResponse>(await this.doRequest("1.0", "antchain.abc.approval.test.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryApprovalTestResponse({}));
2094
+ }
2095
+
2096
+ /**
2097
+ * Description: 个人工作台二期预发测试
2098
+ * Summary: 个人工作台二期预发测试
2099
+ */
2100
+ async queryOneLimit(request: QueryOneLimitRequest): Promise<QueryOneLimitResponse> {
2101
+ let runtime = new $Util.RuntimeOptions({ });
2102
+ let headers : {[key: string ]: string} = { };
2103
+ return await this.queryOneLimitEx(request, headers, runtime);
2104
+ }
2105
+
2106
+ /**
2107
+ * Description: 个人工作台二期预发测试
2108
+ * Summary: 个人工作台二期预发测试
2109
+ */
2110
+ async queryOneLimitEx(request: QueryOneLimitRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryOneLimitResponse> {
2111
+ Util.validateModel(request);
2112
+ return $tea.cast<QueryOneLimitResponse>(await this.doRequest("1.0", "antchain.abc.one.limit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryOneLimitResponse({}));
2113
+ }
2114
+
2115
+ /**
2116
+ * Description: 个人工作台二期预发测试
2117
+ * Summary: 个人工作台二期预发测试
2118
+ */
2119
+ async importOneLimit(request: ImportOneLimitRequest): Promise<ImportOneLimitResponse> {
2120
+ let runtime = new $Util.RuntimeOptions({ });
2121
+ let headers : {[key: string ]: string} = { };
2122
+ return await this.importOneLimitEx(request, headers, runtime);
2123
+ }
2124
+
2125
+ /**
2126
+ * Description: 个人工作台二期预发测试
2127
+ * Summary: 个人工作台二期预发测试
2128
+ */
2129
+ async importOneLimitEx(request: ImportOneLimitRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ImportOneLimitResponse> {
2130
+ Util.validateModel(request);
2131
+ return $tea.cast<ImportOneLimitResponse>(await this.doRequest("1.0", "antchain.abc.one.limit.import", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ImportOneLimitResponse({}));
2132
+ }
2133
+
2134
+ /**
2135
+ * Description: 用于共享能力中心六期接入rasp回归验证
2136
+ * Summary: 用于共享能力中心六期接入rasp回归验证
2137
+ */
2138
+ async queryGongxiangTesttest(request: QueryGongxiangTesttestRequest): Promise<QueryGongxiangTesttestResponse> {
2139
+ let runtime = new $Util.RuntimeOptions({ });
2140
+ let headers : {[key: string ]: string} = { };
2141
+ return await this.queryGongxiangTesttestEx(request, headers, runtime);
2142
+ }
2143
+
2144
+ /**
2145
+ * Description: 用于共享能力中心六期接入rasp回归验证
2146
+ * Summary: 用于共享能力中心六期接入rasp回归验证
2147
+ */
2148
+ async queryGongxiangTesttestEx(request: QueryGongxiangTesttestRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryGongxiangTesttestResponse> {
2149
+ Util.validateModel(request);
2150
+ return $tea.cast<QueryGongxiangTesttestResponse>(await this.doRequest("1.0", "antchain.abc.gongxiang.testtest.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryGongxiangTesttestResponse({}));
2151
+ }
2152
+
2153
+ /**
2154
+ * Description: 创建HTTP PUT提交的文件上传
2155
+ * Summary: 文件上传创建
2156
+ */
2157
+ async createAntcloudGatewayxFileUpload(request: CreateAntcloudGatewayxFileUploadRequest): Promise<CreateAntcloudGatewayxFileUploadResponse> {
2158
+ let runtime = new $Util.RuntimeOptions({ });
2159
+ let headers : {[key: string ]: string} = { };
2160
+ return await this.createAntcloudGatewayxFileUploadEx(request, headers, runtime);
2161
+ }
2162
+
2163
+ /**
2164
+ * Description: 创建HTTP PUT提交的文件上传
2165
+ * Summary: 文件上传创建
2166
+ */
2167
+ async createAntcloudGatewayxFileUploadEx(request: CreateAntcloudGatewayxFileUploadRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAntcloudGatewayxFileUploadResponse> {
2168
+ Util.validateModel(request);
2169
+ return $tea.cast<CreateAntcloudGatewayxFileUploadResponse>(await this.doRequest("1.0", "antcloud.gatewayx.file.upload.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateAntcloudGatewayxFileUploadResponse({}));
2170
+ }
2171
+
2172
+ }