@antchain/antdigital-benchtwocreate 1.0.0

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.
@@ -0,0 +1,740 @@
1
+ import * as $Util from '@alicloud/tea-util';
2
+ import * as $tea from '@alicloud/tea-typescript';
3
+ /**
4
+ * @remarks
5
+ * Model for initing client
6
+ */
7
+ export declare class Config extends $tea.Model {
8
+ /**
9
+ * @remarks
10
+ * accesskey id
11
+ */
12
+ accessKeyId?: string;
13
+ /**
14
+ * @remarks
15
+ * accesskey secret
16
+ */
17
+ accessKeySecret?: string;
18
+ /**
19
+ * @remarks
20
+ * security token
21
+ */
22
+ securityToken?: string;
23
+ /**
24
+ * @remarks
25
+ * http protocol
26
+ *
27
+ * @example
28
+ * http
29
+ */
30
+ protocol?: string;
31
+ /**
32
+ * @remarks
33
+ * read timeout
34
+ *
35
+ * @example
36
+ * 10
37
+ */
38
+ readTimeout?: number;
39
+ /**
40
+ * @remarks
41
+ * connect timeout
42
+ *
43
+ * @example
44
+ * 10
45
+ */
46
+ connectTimeout?: number;
47
+ /**
48
+ * @remarks
49
+ * http proxy
50
+ *
51
+ * @example
52
+ * http://localhost
53
+ */
54
+ httpProxy?: string;
55
+ /**
56
+ * @remarks
57
+ * https proxy
58
+ *
59
+ * @example
60
+ * https://localhost
61
+ */
62
+ httpsProxy?: string;
63
+ /**
64
+ * @remarks
65
+ * endpoint
66
+ *
67
+ * @example
68
+ * cs.aliyuncs.com
69
+ */
70
+ endpoint?: string;
71
+ /**
72
+ * @remarks
73
+ * proxy white list
74
+ *
75
+ * @example
76
+ * http://localhost
77
+ */
78
+ noProxy?: string;
79
+ /**
80
+ * @remarks
81
+ * max idle conns
82
+ *
83
+ * @example
84
+ * 3
85
+ */
86
+ maxIdleConns?: number;
87
+ /**
88
+ * @remarks
89
+ * user agent
90
+ *
91
+ * @example
92
+ * Alibabacloud/1
93
+ */
94
+ userAgent?: string;
95
+ /**
96
+ * @remarks
97
+ * socks5 proxy
98
+ */
99
+ socks5Proxy?: string;
100
+ /**
101
+ * @remarks
102
+ * socks5 network
103
+ *
104
+ * @example
105
+ * TCP
106
+ */
107
+ socks5NetWork?: string;
108
+ /**
109
+ * @remarks
110
+ * 长链接最大空闲时长
111
+ */
112
+ maxIdleTimeMillis?: number;
113
+ /**
114
+ * @remarks
115
+ * 长链接最大连接时长
116
+ */
117
+ keepAliveDurationMillis?: number;
118
+ /**
119
+ * @remarks
120
+ * 最大连接数(长链接最大总数)
121
+ */
122
+ maxRequests?: number;
123
+ /**
124
+ * @remarks
125
+ * 每个目标主机的最大连接数(分主机域名的长链接最大总数
126
+ */
127
+ maxRequestsPerHost?: number;
128
+ static names(): {
129
+ [key: string]: string;
130
+ };
131
+ static types(): {
132
+ [key: string]: any;
133
+ };
134
+ constructor(map?: {
135
+ [key: string]: any;
136
+ });
137
+ }
138
+ export declare class DemoClass extends $tea.Model {
139
+ /**
140
+ * @example
141
+ * some string
142
+ */
143
+ someString: string;
144
+ /**
145
+ * @example
146
+ * 3
147
+ */
148
+ someDate: string;
149
+ /**
150
+ * @example
151
+ * true
152
+ */
153
+ someBoolean: boolean;
154
+ /**
155
+ * @example
156
+ * 3
157
+ */
158
+ someInt: number;
159
+ someList: string[];
160
+ static names(): {
161
+ [key: string]: string;
162
+ };
163
+ static types(): {
164
+ [key: string]: any;
165
+ };
166
+ constructor(map?: {
167
+ [key: string]: any;
168
+ });
169
+ }
170
+ export declare class ResultTest extends $tea.Model {
171
+ /**
172
+ * @example
173
+ * 张三
174
+ */
175
+ name?: string;
176
+ /**
177
+ * @example
178
+ * undefined
179
+ */
180
+ list: DemoClass;
181
+ static names(): {
182
+ [key: string]: string;
183
+ };
184
+ static types(): {
185
+ [key: string]: any;
186
+ };
187
+ constructor(map?: {
188
+ [key: string]: any;
189
+ });
190
+ }
191
+ export declare class ResultTests extends $tea.Model {
192
+ /**
193
+ * @example
194
+ * 张三
195
+ */
196
+ name?: string;
197
+ /**
198
+ * @example
199
+ * 18
200
+ */
201
+ age: string;
202
+ static names(): {
203
+ [key: string]: string;
204
+ };
205
+ static types(): {
206
+ [key: string]: any;
207
+ };
208
+ constructor(map?: {
209
+ [key: string]: any;
210
+ });
211
+ }
212
+ export declare class TestDemo extends $tea.Model {
213
+ /**
214
+ * @example
215
+ * 张三
216
+ */
217
+ name?: string;
218
+ /**
219
+ * @example
220
+ * 23
221
+ */
222
+ number?: number;
223
+ static names(): {
224
+ [key: string]: string;
225
+ };
226
+ static types(): {
227
+ [key: string]: any;
228
+ };
229
+ constructor(map?: {
230
+ [key: string]: any;
231
+ });
232
+ }
233
+ export declare class DemoTestHf extends $tea.Model {
234
+ /**
235
+ * @example
236
+ * undefined
237
+ */
238
+ info: ResultTest;
239
+ static names(): {
240
+ [key: string]: string;
241
+ };
242
+ static types(): {
243
+ [key: string]: any;
244
+ };
245
+ constructor(map?: {
246
+ [key: string]: any;
247
+ });
248
+ }
249
+ export declare class InitPack extends $tea.Model {
250
+ /**
251
+ * @example
252
+ * 2022-11-07 14:48
253
+ */
254
+ time?: string;
255
+ /**
256
+ * @example
257
+ * wanyi
258
+ */
259
+ operator?: string;
260
+ /**
261
+ * @example
262
+ * 1
263
+ */
264
+ count?: number;
265
+ static names(): {
266
+ [key: string]: string;
267
+ };
268
+ static types(): {
269
+ [key: string]: any;
270
+ };
271
+ constructor(map?: {
272
+ [key: string]: any;
273
+ });
274
+ }
275
+ export declare class SumBean extends $tea.Model {
276
+ /**
277
+ * @example
278
+ * 张三
279
+ */
280
+ eName?: string;
281
+ /**
282
+ * @example
283
+ * 23
284
+ */
285
+ num?: number;
286
+ /**
287
+ * @example
288
+ * undefined
289
+ */
290
+ info: ResultTests;
291
+ static names(): {
292
+ [key: string]: string;
293
+ };
294
+ static types(): {
295
+ [key: string]: any;
296
+ };
297
+ constructor(map?: {
298
+ [key: string]: any;
299
+ });
300
+ }
301
+ export declare class ImportAntchainDemosdkCreateThreeRequest extends $tea.Model {
302
+ authToken?: string;
303
+ productInstanceId?: string;
304
+ timeout: string;
305
+ static names(): {
306
+ [key: string]: string;
307
+ };
308
+ static types(): {
309
+ [key: string]: any;
310
+ };
311
+ constructor(map?: {
312
+ [key: string]: any;
313
+ });
314
+ }
315
+ export declare class ImportAntchainDemosdkCreateThreeResponse extends $tea.Model {
316
+ reqMsgId?: string;
317
+ resultCode?: string;
318
+ resultMsg?: string;
319
+ msg?: string;
320
+ status?: string;
321
+ static names(): {
322
+ [key: string]: string;
323
+ };
324
+ static types(): {
325
+ [key: string]: any;
326
+ };
327
+ constructor(map?: {
328
+ [key: string]: any;
329
+ });
330
+ }
331
+ export declare class OneBenchTestCreateRequest extends $tea.Model {
332
+ authToken?: string;
333
+ productInstanceId?: string;
334
+ timeout: string;
335
+ static names(): {
336
+ [key: string]: string;
337
+ };
338
+ static types(): {
339
+ [key: string]: any;
340
+ };
341
+ constructor(map?: {
342
+ [key: string]: any;
343
+ });
344
+ }
345
+ export declare class OneBenchTestCreateResponse extends $tea.Model {
346
+ reqMsgId?: string;
347
+ resultCode?: string;
348
+ resultMsg?: string;
349
+ msg?: string;
350
+ status?: string;
351
+ static names(): {
352
+ [key: string]: string;
353
+ };
354
+ static types(): {
355
+ [key: string]: any;
356
+ };
357
+ constructor(map?: {
358
+ [key: string]: any;
359
+ });
360
+ }
361
+ export declare class TwoBenchTestCreateRequest extends $tea.Model {
362
+ authToken?: string;
363
+ productInstanceId?: string;
364
+ timeout: string;
365
+ static names(): {
366
+ [key: string]: string;
367
+ };
368
+ static types(): {
369
+ [key: string]: any;
370
+ };
371
+ constructor(map?: {
372
+ [key: string]: any;
373
+ });
374
+ }
375
+ export declare class TwoBenchTestCreateResponse extends $tea.Model {
376
+ reqMsgId?: string;
377
+ resultCode?: string;
378
+ resultMsg?: string;
379
+ status?: string;
380
+ msg?: string;
381
+ static names(): {
382
+ [key: string]: string;
383
+ };
384
+ static types(): {
385
+ [key: string]: any;
386
+ };
387
+ constructor(map?: {
388
+ [key: string]: any;
389
+ });
390
+ }
391
+ export declare class ThreeBenchTestCreateRequest extends $tea.Model {
392
+ authToken?: string;
393
+ productInstanceId?: string;
394
+ timeout: string;
395
+ static names(): {
396
+ [key: string]: string;
397
+ };
398
+ static types(): {
399
+ [key: string]: any;
400
+ };
401
+ constructor(map?: {
402
+ [key: string]: any;
403
+ });
404
+ }
405
+ export declare class ThreeBenchTestCreateResponse extends $tea.Model {
406
+ reqMsgId?: string;
407
+ resultCode?: string;
408
+ resultMsg?: string;
409
+ status?: string;
410
+ msg?: string;
411
+ static names(): {
412
+ [key: string]: string;
413
+ };
414
+ static types(): {
415
+ [key: string]: any;
416
+ };
417
+ constructor(map?: {
418
+ [key: string]: any;
419
+ });
420
+ }
421
+ export declare class FourBenchTestCreateRequest extends $tea.Model {
422
+ authToken?: string;
423
+ productInstanceId?: string;
424
+ timeout: string;
425
+ static names(): {
426
+ [key: string]: string;
427
+ };
428
+ static types(): {
429
+ [key: string]: any;
430
+ };
431
+ constructor(map?: {
432
+ [key: string]: any;
433
+ });
434
+ }
435
+ export declare class FourBenchTestCreateResponse extends $tea.Model {
436
+ reqMsgId?: string;
437
+ resultCode?: string;
438
+ resultMsg?: string;
439
+ status?: string;
440
+ msg?: string;
441
+ static names(): {
442
+ [key: string]: string;
443
+ };
444
+ static types(): {
445
+ [key: string]: any;
446
+ };
447
+ constructor(map?: {
448
+ [key: string]: any;
449
+ });
450
+ }
451
+ export declare class FiveBenchTestCreateRequest extends $tea.Model {
452
+ authToken?: string;
453
+ productInstanceId?: string;
454
+ timeout: string;
455
+ static names(): {
456
+ [key: string]: string;
457
+ };
458
+ static types(): {
459
+ [key: string]: any;
460
+ };
461
+ constructor(map?: {
462
+ [key: string]: any;
463
+ });
464
+ }
465
+ export declare class FiveBenchTestCreateResponse extends $tea.Model {
466
+ reqMsgId?: string;
467
+ resultCode?: string;
468
+ resultMsg?: string;
469
+ status?: string;
470
+ msg?: string;
471
+ static names(): {
472
+ [key: string]: string;
473
+ };
474
+ static types(): {
475
+ [key: string]: any;
476
+ };
477
+ constructor(map?: {
478
+ [key: string]: any;
479
+ });
480
+ }
481
+ export declare class SixBenchTestCreateRequest extends $tea.Model {
482
+ authToken?: string;
483
+ productInstanceId?: string;
484
+ timeout: string;
485
+ static names(): {
486
+ [key: string]: string;
487
+ };
488
+ static types(): {
489
+ [key: string]: any;
490
+ };
491
+ constructor(map?: {
492
+ [key: string]: any;
493
+ });
494
+ }
495
+ export declare class SixBenchTestCreateResponse extends $tea.Model {
496
+ reqMsgId?: string;
497
+ resultCode?: string;
498
+ resultMsg?: string;
499
+ msg?: string;
500
+ status?: string;
501
+ static names(): {
502
+ [key: string]: string;
503
+ };
504
+ static types(): {
505
+ [key: string]: any;
506
+ };
507
+ constructor(map?: {
508
+ [key: string]: any;
509
+ });
510
+ }
511
+ export declare class SevenBenchTestCreateRequest extends $tea.Model {
512
+ authToken?: string;
513
+ productInstanceId?: string;
514
+ timeout: string;
515
+ static names(): {
516
+ [key: string]: string;
517
+ };
518
+ static types(): {
519
+ [key: string]: any;
520
+ };
521
+ constructor(map?: {
522
+ [key: string]: any;
523
+ });
524
+ }
525
+ export declare class SevenBenchTestCreateResponse extends $tea.Model {
526
+ reqMsgId?: string;
527
+ resultCode?: string;
528
+ resultMsg?: string;
529
+ status?: string;
530
+ msg?: string;
531
+ static names(): {
532
+ [key: string]: string;
533
+ };
534
+ static types(): {
535
+ [key: string]: any;
536
+ };
537
+ constructor(map?: {
538
+ [key: string]: any;
539
+ });
540
+ }
541
+ export declare class EightBenchTestCreateRequest extends $tea.Model {
542
+ authToken?: string;
543
+ productInstanceId?: string;
544
+ static names(): {
545
+ [key: string]: string;
546
+ };
547
+ static types(): {
548
+ [key: string]: any;
549
+ };
550
+ constructor(map?: {
551
+ [key: string]: any;
552
+ });
553
+ }
554
+ export declare class EightBenchTestCreateResponse extends $tea.Model {
555
+ reqMsgId?: string;
556
+ resultCode?: string;
557
+ resultMsg?: string;
558
+ static names(): {
559
+ [key: string]: string;
560
+ };
561
+ static types(): {
562
+ [key: string]: any;
563
+ };
564
+ constructor(map?: {
565
+ [key: string]: any;
566
+ });
567
+ }
568
+ export default class Client {
569
+ _endpoint: string;
570
+ _regionId: string;
571
+ _accessKeyId: string;
572
+ _accessKeySecret: string;
573
+ _protocol: string;
574
+ _userAgent: string;
575
+ _readTimeout: number;
576
+ _connectTimeout: number;
577
+ _httpProxy: string;
578
+ _httpsProxy: string;
579
+ _socks5Proxy: string;
580
+ _socks5NetWork: string;
581
+ _noProxy: string;
582
+ _maxIdleConns: number;
583
+ _securityToken: string;
584
+ _maxIdleTimeMillis: number;
585
+ _keepAliveDurationMillis: number;
586
+ _maxRequests: number;
587
+ _maxRequestsPerHost: number;
588
+ /**
589
+ * @remarks
590
+ * Init client with Config
591
+ *
592
+ * @param config - config contains the necessary information to create a client
593
+ */
594
+ constructor(config: Config);
595
+ /**
596
+ * @remarks
597
+ * Encapsulate the request and invoke the network
598
+ *
599
+ * @param action - api name
600
+ * @param protocol - http or https
601
+ * @param method - e.g. GET
602
+ * @param pathname - pathname of every api
603
+ * @param request - which contains request params
604
+ * @param runtime - which controls some details of call api, such as retry times
605
+ * @returns the response
606
+ */
607
+ doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {
608
+ [key: string]: any;
609
+ }, headers: {
610
+ [key: string]: string;
611
+ }, runtime: $Util.RuntimeOptions): Promise<{
612
+ [key: string]: any;
613
+ }>;
614
+ /**
615
+ * @remarks
616
+ * Description: 用于个人工作台二期测试使用
617
+ * Summary: 用于个人工作台二期测试使用
618
+ */
619
+ importAntchainDemosdkCreateThree(request: ImportAntchainDemosdkCreateThreeRequest): Promise<ImportAntchainDemosdkCreateThreeResponse>;
620
+ /**
621
+ * @remarks
622
+ * Description: 用于个人工作台二期测试使用
623
+ * Summary: 用于个人工作台二期测试使用
624
+ */
625
+ importAntchainDemosdkCreateThreeEx(request: ImportAntchainDemosdkCreateThreeRequest, headers: {
626
+ [key: string]: string;
627
+ }, runtime: $Util.RuntimeOptions): Promise<ImportAntchainDemosdkCreateThreeResponse>;
628
+ /**
629
+ * @remarks
630
+ * Description: 测试使用
631
+ * Summary: 测试使用
632
+ */
633
+ oneBenchTestCreate(request: OneBenchTestCreateRequest): Promise<OneBenchTestCreateResponse>;
634
+ /**
635
+ * @remarks
636
+ * Description: 测试使用
637
+ * Summary: 测试使用
638
+ */
639
+ oneBenchTestCreateEx(request: OneBenchTestCreateRequest, headers: {
640
+ [key: string]: string;
641
+ }, runtime: $Util.RuntimeOptions): Promise<OneBenchTestCreateResponse>;
642
+ /**
643
+ * @remarks
644
+ * Description: 工作台二期测试使用
645
+ * Summary: 工作台二期测试使用
646
+ */
647
+ twoBenchTestCreate(request: TwoBenchTestCreateRequest): Promise<TwoBenchTestCreateResponse>;
648
+ /**
649
+ * @remarks
650
+ * Description: 工作台二期测试使用
651
+ * Summary: 工作台二期测试使用
652
+ */
653
+ twoBenchTestCreateEx(request: TwoBenchTestCreateRequest, headers: {
654
+ [key: string]: string;
655
+ }, runtime: $Util.RuntimeOptions): Promise<TwoBenchTestCreateResponse>;
656
+ /**
657
+ * @remarks
658
+ * Description: 工作台二期测试使用
659
+ * Summary: 工作台二期测试使用
660
+ */
661
+ threeBenchTestCreate(request: ThreeBenchTestCreateRequest): Promise<ThreeBenchTestCreateResponse>;
662
+ /**
663
+ * @remarks
664
+ * Description: 工作台二期测试使用
665
+ * Summary: 工作台二期测试使用
666
+ */
667
+ threeBenchTestCreateEx(request: ThreeBenchTestCreateRequest, headers: {
668
+ [key: string]: string;
669
+ }, runtime: $Util.RuntimeOptions): Promise<ThreeBenchTestCreateResponse>;
670
+ /**
671
+ * @remarks
672
+ * Description: 工作台二期测试使用
673
+ * Summary: 工作台二期测试使用
674
+ */
675
+ fourBenchTestCreate(request: FourBenchTestCreateRequest): Promise<FourBenchTestCreateResponse>;
676
+ /**
677
+ * @remarks
678
+ * Description: 工作台二期测试使用
679
+ * Summary: 工作台二期测试使用
680
+ */
681
+ fourBenchTestCreateEx(request: FourBenchTestCreateRequest, headers: {
682
+ [key: string]: string;
683
+ }, runtime: $Util.RuntimeOptions): Promise<FourBenchTestCreateResponse>;
684
+ /**
685
+ * @remarks
686
+ * Description: 工作台二期测试使用
687
+ * Summary: 工作台二期测试使用
688
+ */
689
+ fiveBenchTestCreate(request: FiveBenchTestCreateRequest): Promise<FiveBenchTestCreateResponse>;
690
+ /**
691
+ * @remarks
692
+ * Description: 工作台二期测试使用
693
+ * Summary: 工作台二期测试使用
694
+ */
695
+ fiveBenchTestCreateEx(request: FiveBenchTestCreateRequest, headers: {
696
+ [key: string]: string;
697
+ }, runtime: $Util.RuntimeOptions): Promise<FiveBenchTestCreateResponse>;
698
+ /**
699
+ * @remarks
700
+ * Description: 工作台二期测试使用
701
+ * Summary: 工作台二期测试使用
702
+ */
703
+ sixBenchTestCreate(request: SixBenchTestCreateRequest): Promise<SixBenchTestCreateResponse>;
704
+ /**
705
+ * @remarks
706
+ * Description: 工作台二期测试使用
707
+ * Summary: 工作台二期测试使用
708
+ */
709
+ sixBenchTestCreateEx(request: SixBenchTestCreateRequest, headers: {
710
+ [key: string]: string;
711
+ }, runtime: $Util.RuntimeOptions): Promise<SixBenchTestCreateResponse>;
712
+ /**
713
+ * @remarks
714
+ * Description: 工作台二期测试使用
715
+ * Summary: 工作台二期测试使用
716
+ */
717
+ sevenBenchTestCreate(request: SevenBenchTestCreateRequest): Promise<SevenBenchTestCreateResponse>;
718
+ /**
719
+ * @remarks
720
+ * Description: 工作台二期测试使用
721
+ * Summary: 工作台二期测试使用
722
+ */
723
+ sevenBenchTestCreateEx(request: SevenBenchTestCreateRequest, headers: {
724
+ [key: string]: string;
725
+ }, runtime: $Util.RuntimeOptions): Promise<SevenBenchTestCreateResponse>;
726
+ /**
727
+ * @remarks
728
+ * Description: 工作台二期测试使用
729
+ * Summary: 工作台二期测试使用
730
+ */
731
+ eightBenchTestCreate(request: EightBenchTestCreateRequest): Promise<EightBenchTestCreateResponse>;
732
+ /**
733
+ * @remarks
734
+ * Description: 工作台二期测试使用
735
+ * Summary: 工作台二期测试使用
736
+ */
737
+ eightBenchTestCreateEx(request: EightBenchTestCreateRequest, headers: {
738
+ [key: string]: string;
739
+ }, runtime: $Util.RuntimeOptions): Promise<EightBenchTestCreateResponse>;
740
+ }