@alicloud/dytnsapi20200217 1.0.5 → 1.0.8
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/dist/client.d.ts +251 -3
- package/dist/client.js +515 -9
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +648 -8
package/src/client.ts
CHANGED
|
@@ -69,10 +69,12 @@ export class DescribeEmptyNumberDetectResponseBody extends $tea.Model {
|
|
|
69
69
|
|
|
70
70
|
export class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
71
71
|
headers: { [key: string]: string };
|
|
72
|
+
statusCode: number;
|
|
72
73
|
body: DescribeEmptyNumberDetectResponseBody;
|
|
73
74
|
static names(): { [key: string]: string } {
|
|
74
75
|
return {
|
|
75
76
|
headers: 'headers',
|
|
77
|
+
statusCode: 'statusCode',
|
|
76
78
|
body: 'body',
|
|
77
79
|
};
|
|
78
80
|
}
|
|
@@ -80,6 +82,7 @@ export class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
|
80
82
|
static types(): { [key: string]: any } {
|
|
81
83
|
return {
|
|
82
84
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
85
|
+
statusCode: 'number',
|
|
83
86
|
body: DescribeEmptyNumberDetectResponseBody,
|
|
84
87
|
};
|
|
85
88
|
}
|
|
@@ -159,10 +162,12 @@ export class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
|
|
|
159
162
|
|
|
160
163
|
export class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
161
164
|
headers: { [key: string]: string };
|
|
165
|
+
statusCode: number;
|
|
162
166
|
body: DescribePhoneNumberAnalysisResponseBody;
|
|
163
167
|
static names(): { [key: string]: string } {
|
|
164
168
|
return {
|
|
165
169
|
headers: 'headers',
|
|
170
|
+
statusCode: 'statusCode',
|
|
166
171
|
body: 'body',
|
|
167
172
|
};
|
|
168
173
|
}
|
|
@@ -170,6 +175,7 @@ export class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
|
170
175
|
static types(): { [key: string]: any } {
|
|
171
176
|
return {
|
|
172
177
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
178
|
+
statusCode: 'number',
|
|
173
179
|
body: DescribePhoneNumberAnalysisResponseBody,
|
|
174
180
|
};
|
|
175
181
|
}
|
|
@@ -237,10 +243,12 @@ export class DescribePhoneNumberAttributeResponseBody extends $tea.Model {
|
|
|
237
243
|
|
|
238
244
|
export class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
239
245
|
headers: { [key: string]: string };
|
|
246
|
+
statusCode: number;
|
|
240
247
|
body: DescribePhoneNumberAttributeResponseBody;
|
|
241
248
|
static names(): { [key: string]: string } {
|
|
242
249
|
return {
|
|
243
250
|
headers: 'headers',
|
|
251
|
+
statusCode: 'statusCode',
|
|
244
252
|
body: 'body',
|
|
245
253
|
};
|
|
246
254
|
}
|
|
@@ -248,6 +256,7 @@ export class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
|
248
256
|
static types(): { [key: string]: any } {
|
|
249
257
|
return {
|
|
250
258
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
259
|
+
statusCode: 'number',
|
|
251
260
|
body: DescribePhoneNumberAttributeResponseBody,
|
|
252
261
|
};
|
|
253
262
|
}
|
|
@@ -324,10 +333,12 @@ export class DescribePhoneNumberOnlineTimeResponseBody extends $tea.Model {
|
|
|
324
333
|
|
|
325
334
|
export class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
326
335
|
headers: { [key: string]: string };
|
|
336
|
+
statusCode: number;
|
|
327
337
|
body: DescribePhoneNumberOnlineTimeResponseBody;
|
|
328
338
|
static names(): { [key: string]: string } {
|
|
329
339
|
return {
|
|
330
340
|
headers: 'headers',
|
|
341
|
+
statusCode: 'statusCode',
|
|
331
342
|
body: 'body',
|
|
332
343
|
};
|
|
333
344
|
}
|
|
@@ -335,6 +346,7 @@ export class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
335
346
|
static types(): { [key: string]: any } {
|
|
336
347
|
return {
|
|
337
348
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
349
|
+
statusCode: 'number',
|
|
338
350
|
body: DescribePhoneNumberOnlineTimeResponseBody,
|
|
339
351
|
};
|
|
340
352
|
}
|
|
@@ -405,10 +417,12 @@ export class DescribePhoneNumberResaleResponseBody extends $tea.Model {
|
|
|
405
417
|
|
|
406
418
|
export class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
407
419
|
headers: { [key: string]: string };
|
|
420
|
+
statusCode: number;
|
|
408
421
|
body: DescribePhoneNumberResaleResponseBody;
|
|
409
422
|
static names(): { [key: string]: string } {
|
|
410
423
|
return {
|
|
411
424
|
headers: 'headers',
|
|
425
|
+
statusCode: 'statusCode',
|
|
412
426
|
body: 'body',
|
|
413
427
|
};
|
|
414
428
|
}
|
|
@@ -416,6 +430,7 @@ export class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
|
416
430
|
static types(): { [key: string]: any } {
|
|
417
431
|
return {
|
|
418
432
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
433
|
+
statusCode: 'number',
|
|
419
434
|
body: DescribePhoneNumberResaleResponseBody,
|
|
420
435
|
};
|
|
421
436
|
}
|
|
@@ -483,10 +498,12 @@ export class DescribePhoneNumberStatusResponseBody extends $tea.Model {
|
|
|
483
498
|
|
|
484
499
|
export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
485
500
|
headers: { [key: string]: string };
|
|
501
|
+
statusCode: number;
|
|
486
502
|
body: DescribePhoneNumberStatusResponseBody;
|
|
487
503
|
static names(): { [key: string]: string } {
|
|
488
504
|
return {
|
|
489
505
|
headers: 'headers',
|
|
506
|
+
statusCode: 'statusCode',
|
|
490
507
|
body: 'body',
|
|
491
508
|
};
|
|
492
509
|
}
|
|
@@ -494,6 +511,7 @@ export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
494
511
|
static types(): { [key: string]: any } {
|
|
495
512
|
return {
|
|
496
513
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
514
|
+
statusCode: 'number',
|
|
497
515
|
body: DescribePhoneNumberStatusResponseBody,
|
|
498
516
|
};
|
|
499
517
|
}
|
|
@@ -503,17 +521,355 @@ export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
503
521
|
}
|
|
504
522
|
}
|
|
505
523
|
|
|
506
|
-
export class
|
|
524
|
+
export class InvalidPhoneNumberFilterRequest extends $tea.Model {
|
|
525
|
+
authCode?: string;
|
|
526
|
+
inputNumber?: string;
|
|
527
|
+
mask?: string;
|
|
528
|
+
ownerId?: number;
|
|
529
|
+
resourceOwnerAccount?: string;
|
|
530
|
+
resourceOwnerId?: number;
|
|
531
|
+
static names(): { [key: string]: string } {
|
|
532
|
+
return {
|
|
533
|
+
authCode: 'AuthCode',
|
|
534
|
+
inputNumber: 'InputNumber',
|
|
535
|
+
mask: 'Mask',
|
|
536
|
+
ownerId: 'OwnerId',
|
|
537
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
538
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
static types(): { [key: string]: any } {
|
|
543
|
+
return {
|
|
544
|
+
authCode: 'string',
|
|
545
|
+
inputNumber: 'string',
|
|
546
|
+
mask: 'string',
|
|
547
|
+
ownerId: 'number',
|
|
548
|
+
resourceOwnerAccount: 'string',
|
|
549
|
+
resourceOwnerId: 'number',
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
constructor(map?: { [key: string]: any }) {
|
|
554
|
+
super(map);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export class InvalidPhoneNumberFilterResponseBody extends $tea.Model {
|
|
559
|
+
code?: string;
|
|
560
|
+
data?: InvalidPhoneNumberFilterResponseBodyData[];
|
|
561
|
+
message?: string;
|
|
562
|
+
requestId?: string;
|
|
563
|
+
static names(): { [key: string]: string } {
|
|
564
|
+
return {
|
|
565
|
+
code: 'Code',
|
|
566
|
+
data: 'Data',
|
|
567
|
+
message: 'Message',
|
|
568
|
+
requestId: 'RequestId',
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
static types(): { [key: string]: any } {
|
|
573
|
+
return {
|
|
574
|
+
code: 'string',
|
|
575
|
+
data: { 'type': 'array', 'itemType': InvalidPhoneNumberFilterResponseBodyData },
|
|
576
|
+
message: 'string',
|
|
577
|
+
requestId: 'string',
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
constructor(map?: { [key: string]: any }) {
|
|
582
|
+
super(map);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export class InvalidPhoneNumberFilterResponse extends $tea.Model {
|
|
587
|
+
headers: { [key: string]: string };
|
|
588
|
+
statusCode: number;
|
|
589
|
+
body: InvalidPhoneNumberFilterResponseBody;
|
|
590
|
+
static names(): { [key: string]: string } {
|
|
591
|
+
return {
|
|
592
|
+
headers: 'headers',
|
|
593
|
+
statusCode: 'statusCode',
|
|
594
|
+
body: 'body',
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
static types(): { [key: string]: any } {
|
|
599
|
+
return {
|
|
600
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
601
|
+
statusCode: 'number',
|
|
602
|
+
body: InvalidPhoneNumberFilterResponseBody,
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
constructor(map?: { [key: string]: any }) {
|
|
607
|
+
super(map);
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export class PhoneNumberEncryptRequest extends $tea.Model {
|
|
612
|
+
authCode?: string;
|
|
613
|
+
inputNumber?: string;
|
|
614
|
+
mask?: string;
|
|
615
|
+
ownerId?: number;
|
|
616
|
+
resourceOwnerAccount?: string;
|
|
617
|
+
resourceOwnerId?: number;
|
|
618
|
+
static names(): { [key: string]: string } {
|
|
619
|
+
return {
|
|
620
|
+
authCode: 'AuthCode',
|
|
621
|
+
inputNumber: 'InputNumber',
|
|
622
|
+
mask: 'Mask',
|
|
623
|
+
ownerId: 'OwnerId',
|
|
624
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
625
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
static types(): { [key: string]: any } {
|
|
630
|
+
return {
|
|
631
|
+
authCode: 'string',
|
|
632
|
+
inputNumber: 'string',
|
|
633
|
+
mask: 'string',
|
|
634
|
+
ownerId: 'number',
|
|
635
|
+
resourceOwnerAccount: 'string',
|
|
636
|
+
resourceOwnerId: 'number',
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
constructor(map?: { [key: string]: any }) {
|
|
641
|
+
super(map);
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export class PhoneNumberEncryptResponseBody extends $tea.Model {
|
|
646
|
+
code?: string;
|
|
647
|
+
data?: PhoneNumberEncryptResponseBodyData[];
|
|
648
|
+
message?: string;
|
|
649
|
+
requestId?: string;
|
|
650
|
+
static names(): { [key: string]: string } {
|
|
651
|
+
return {
|
|
652
|
+
code: 'Code',
|
|
653
|
+
data: 'Data',
|
|
654
|
+
message: 'Message',
|
|
655
|
+
requestId: 'RequestId',
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
static types(): { [key: string]: any } {
|
|
660
|
+
return {
|
|
661
|
+
code: 'string',
|
|
662
|
+
data: { 'type': 'array', 'itemType': PhoneNumberEncryptResponseBodyData },
|
|
663
|
+
message: 'string',
|
|
664
|
+
requestId: 'string',
|
|
665
|
+
};
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
constructor(map?: { [key: string]: any }) {
|
|
669
|
+
super(map);
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export class PhoneNumberEncryptResponse extends $tea.Model {
|
|
674
|
+
headers: { [key: string]: string };
|
|
675
|
+
statusCode: number;
|
|
676
|
+
body: PhoneNumberEncryptResponseBody;
|
|
677
|
+
static names(): { [key: string]: string } {
|
|
678
|
+
return {
|
|
679
|
+
headers: 'headers',
|
|
680
|
+
statusCode: 'statusCode',
|
|
681
|
+
body: 'body',
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
static types(): { [key: string]: any } {
|
|
686
|
+
return {
|
|
687
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
688
|
+
statusCode: 'number',
|
|
689
|
+
body: PhoneNumberEncryptResponseBody,
|
|
690
|
+
};
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
constructor(map?: { [key: string]: any }) {
|
|
694
|
+
super(map);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
699
|
+
authCode?: string;
|
|
700
|
+
certCode?: string;
|
|
701
|
+
inputNumber?: string;
|
|
702
|
+
mask?: string;
|
|
703
|
+
name?: string;
|
|
704
|
+
ownerId?: number;
|
|
705
|
+
resourceOwnerAccount?: string;
|
|
706
|
+
resourceOwnerId?: number;
|
|
707
|
+
static names(): { [key: string]: string } {
|
|
708
|
+
return {
|
|
709
|
+
authCode: 'AuthCode',
|
|
710
|
+
certCode: 'CertCode',
|
|
711
|
+
inputNumber: 'InputNumber',
|
|
712
|
+
mask: 'Mask',
|
|
713
|
+
name: 'Name',
|
|
714
|
+
ownerId: 'OwnerId',
|
|
715
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
716
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
static types(): { [key: string]: any } {
|
|
721
|
+
return {
|
|
722
|
+
authCode: 'string',
|
|
723
|
+
certCode: 'string',
|
|
724
|
+
inputNumber: 'string',
|
|
725
|
+
mask: 'string',
|
|
726
|
+
name: 'string',
|
|
727
|
+
ownerId: 'number',
|
|
728
|
+
resourceOwnerAccount: 'string',
|
|
729
|
+
resourceOwnerId: 'number',
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
constructor(map?: { [key: string]: any }) {
|
|
734
|
+
super(map);
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
739
|
+
code?: string;
|
|
740
|
+
data?: ThreeElementsVerificationResponseBodyData[];
|
|
741
|
+
message?: string;
|
|
742
|
+
requestId?: string;
|
|
743
|
+
static names(): { [key: string]: string } {
|
|
744
|
+
return {
|
|
745
|
+
code: 'Code',
|
|
746
|
+
data: 'Data',
|
|
747
|
+
message: 'Message',
|
|
748
|
+
requestId: 'RequestId',
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
static types(): { [key: string]: any } {
|
|
753
|
+
return {
|
|
754
|
+
code: 'string',
|
|
755
|
+
data: { 'type': 'array', 'itemType': ThreeElementsVerificationResponseBodyData },
|
|
756
|
+
message: 'string',
|
|
757
|
+
requestId: 'string',
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
constructor(map?: { [key: string]: any }) {
|
|
762
|
+
super(map);
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
export class ThreeElementsVerificationResponse extends $tea.Model {
|
|
767
|
+
headers: { [key: string]: string };
|
|
768
|
+
statusCode: number;
|
|
769
|
+
body: ThreeElementsVerificationResponseBody;
|
|
770
|
+
static names(): { [key: string]: string } {
|
|
771
|
+
return {
|
|
772
|
+
headers: 'headers',
|
|
773
|
+
statusCode: 'statusCode',
|
|
774
|
+
body: 'body',
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
static types(): { [key: string]: any } {
|
|
779
|
+
return {
|
|
780
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
781
|
+
statusCode: 'number',
|
|
782
|
+
body: ThreeElementsVerificationResponseBody,
|
|
783
|
+
};
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
constructor(map?: { [key: string]: any }) {
|
|
787
|
+
super(map);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export class TwoElementsVerificationRequest extends $tea.Model {
|
|
792
|
+
authCode?: string;
|
|
793
|
+
inputNumber?: string;
|
|
794
|
+
mask?: string;
|
|
795
|
+
name?: string;
|
|
796
|
+
ownerId?: number;
|
|
797
|
+
resourceOwnerAccount?: string;
|
|
798
|
+
resourceOwnerId?: number;
|
|
799
|
+
static names(): { [key: string]: string } {
|
|
800
|
+
return {
|
|
801
|
+
authCode: 'AuthCode',
|
|
802
|
+
inputNumber: 'InputNumber',
|
|
803
|
+
mask: 'Mask',
|
|
804
|
+
name: 'Name',
|
|
805
|
+
ownerId: 'OwnerId',
|
|
806
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
807
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
static types(): { [key: string]: any } {
|
|
812
|
+
return {
|
|
813
|
+
authCode: 'string',
|
|
814
|
+
inputNumber: 'string',
|
|
815
|
+
mask: 'string',
|
|
816
|
+
name: 'string',
|
|
817
|
+
ownerId: 'number',
|
|
818
|
+
resourceOwnerAccount: 'string',
|
|
819
|
+
resourceOwnerId: 'number',
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
constructor(map?: { [key: string]: any }) {
|
|
824
|
+
super(map);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
829
|
+
code?: string;
|
|
830
|
+
data?: TwoElementsVerificationResponseBodyData[];
|
|
831
|
+
message?: string;
|
|
832
|
+
requestId?: string;
|
|
833
|
+
static names(): { [key: string]: string } {
|
|
834
|
+
return {
|
|
835
|
+
code: 'Code',
|
|
836
|
+
data: 'Data',
|
|
837
|
+
message: 'Message',
|
|
838
|
+
requestId: 'RequestId',
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
static types(): { [key: string]: any } {
|
|
843
|
+
return {
|
|
844
|
+
code: 'string',
|
|
845
|
+
data: { 'type': 'array', 'itemType': TwoElementsVerificationResponseBodyData },
|
|
846
|
+
message: 'string',
|
|
847
|
+
requestId: 'string',
|
|
848
|
+
};
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
constructor(map?: { [key: string]: any }) {
|
|
852
|
+
super(map);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
export class TwoElementsVerificationResponse extends $tea.Model {
|
|
507
857
|
headers: { [key: string]: string };
|
|
858
|
+
statusCode: number;
|
|
859
|
+
body: TwoElementsVerificationResponseBody;
|
|
508
860
|
static names(): { [key: string]: string } {
|
|
509
861
|
return {
|
|
510
862
|
headers: 'headers',
|
|
863
|
+
statusCode: 'statusCode',
|
|
864
|
+
body: 'body',
|
|
511
865
|
};
|
|
512
866
|
}
|
|
513
867
|
|
|
514
868
|
static types(): { [key: string]: any } {
|
|
515
869
|
return {
|
|
516
870
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
871
|
+
statusCode: 'number',
|
|
872
|
+
body: TwoElementsVerificationResponseBody,
|
|
517
873
|
};
|
|
518
874
|
}
|
|
519
875
|
|
|
@@ -666,6 +1022,103 @@ export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model
|
|
|
666
1022
|
}
|
|
667
1023
|
}
|
|
668
1024
|
|
|
1025
|
+
export class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
1026
|
+
code?: string;
|
|
1027
|
+
encryptedNumber?: string;
|
|
1028
|
+
expireTime?: string;
|
|
1029
|
+
originalNumber?: string;
|
|
1030
|
+
static names(): { [key: string]: string } {
|
|
1031
|
+
return {
|
|
1032
|
+
code: 'Code',
|
|
1033
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1034
|
+
expireTime: 'ExpireTime',
|
|
1035
|
+
originalNumber: 'OriginalNumber',
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
static types(): { [key: string]: any } {
|
|
1040
|
+
return {
|
|
1041
|
+
code: 'string',
|
|
1042
|
+
encryptedNumber: 'string',
|
|
1043
|
+
expireTime: 'string',
|
|
1044
|
+
originalNumber: 'string',
|
|
1045
|
+
};
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
constructor(map?: { [key: string]: any }) {
|
|
1049
|
+
super(map);
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
export class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
1054
|
+
encryptedNumber?: string;
|
|
1055
|
+
expireTime?: string;
|
|
1056
|
+
originalNumber?: string;
|
|
1057
|
+
static names(): { [key: string]: string } {
|
|
1058
|
+
return {
|
|
1059
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1060
|
+
expireTime: 'ExpireTime',
|
|
1061
|
+
originalNumber: 'OriginalNumber',
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
static types(): { [key: string]: any } {
|
|
1066
|
+
return {
|
|
1067
|
+
encryptedNumber: 'string',
|
|
1068
|
+
expireTime: 'string',
|
|
1069
|
+
originalNumber: 'string',
|
|
1070
|
+
};
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
constructor(map?: { [key: string]: any }) {
|
|
1074
|
+
super(map);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
export class ThreeElementsVerificationResponseBodyData extends $tea.Model {
|
|
1079
|
+
basicCarrier?: string;
|
|
1080
|
+
isConsistent?: number;
|
|
1081
|
+
static names(): { [key: string]: string } {
|
|
1082
|
+
return {
|
|
1083
|
+
basicCarrier: 'BasicCarrier',
|
|
1084
|
+
isConsistent: 'IsConsistent',
|
|
1085
|
+
};
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
static types(): { [key: string]: any } {
|
|
1089
|
+
return {
|
|
1090
|
+
basicCarrier: 'string',
|
|
1091
|
+
isConsistent: 'number',
|
|
1092
|
+
};
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
constructor(map?: { [key: string]: any }) {
|
|
1096
|
+
super(map);
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
export class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
1101
|
+
basicCarrier?: string;
|
|
1102
|
+
isConsistent?: number;
|
|
1103
|
+
static names(): { [key: string]: string } {
|
|
1104
|
+
return {
|
|
1105
|
+
basicCarrier: 'BasicCarrier',
|
|
1106
|
+
isConsistent: 'IsConsistent',
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
static types(): { [key: string]: any } {
|
|
1111
|
+
return {
|
|
1112
|
+
basicCarrier: 'string',
|
|
1113
|
+
isConsistent: 'number',
|
|
1114
|
+
};
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
constructor(map?: { [key: string]: any }) {
|
|
1118
|
+
super(map);
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
|
|
669
1122
|
|
|
670
1123
|
export default class Client extends OpenApi {
|
|
671
1124
|
|
|
@@ -971,10 +1424,197 @@ export default class Client extends OpenApi {
|
|
|
971
1424
|
return await this.describePhoneNumberStatusWithOptions(request, runtime);
|
|
972
1425
|
}
|
|
973
1426
|
|
|
974
|
-
async
|
|
975
|
-
|
|
1427
|
+
async invalidPhoneNumberFilterWithOptions(request: InvalidPhoneNumberFilterRequest, runtime: $Util.RuntimeOptions): Promise<InvalidPhoneNumberFilterResponse> {
|
|
1428
|
+
Util.validateModel(request);
|
|
1429
|
+
let query = { };
|
|
1430
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1431
|
+
query["AuthCode"] = request.authCode;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1435
|
+
query["InputNumber"] = request.inputNumber;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
if (!Util.isUnset(request.mask)) {
|
|
1439
|
+
query["Mask"] = request.mask;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1443
|
+
query["OwnerId"] = request.ownerId;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1447
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1451
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1455
|
+
query: OpenApiUtil.query(query),
|
|
1456
|
+
});
|
|
1457
|
+
let params = new $OpenApi.Params({
|
|
1458
|
+
action: "InvalidPhoneNumberFilter",
|
|
1459
|
+
version: "2020-02-17",
|
|
1460
|
+
protocol: "HTTPS",
|
|
1461
|
+
pathname: "/",
|
|
1462
|
+
method: "POST",
|
|
1463
|
+
authType: "AK",
|
|
1464
|
+
style: "RPC",
|
|
1465
|
+
reqBodyType: "formData",
|
|
1466
|
+
bodyType: "json",
|
|
1467
|
+
});
|
|
1468
|
+
return $tea.cast<InvalidPhoneNumberFilterResponse>(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
async invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse> {
|
|
1472
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1473
|
+
return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
async phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse> {
|
|
1477
|
+
Util.validateModel(request);
|
|
1478
|
+
let query = { };
|
|
1479
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1480
|
+
query["AuthCode"] = request.authCode;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1484
|
+
query["InputNumber"] = request.inputNumber;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
if (!Util.isUnset(request.mask)) {
|
|
1488
|
+
query["Mask"] = request.mask;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1492
|
+
query["OwnerId"] = request.ownerId;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1496
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1500
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1504
|
+
query: OpenApiUtil.query(query),
|
|
1505
|
+
});
|
|
1506
|
+
let params = new $OpenApi.Params({
|
|
1507
|
+
action: "PhoneNumberEncrypt",
|
|
1508
|
+
version: "2020-02-17",
|
|
1509
|
+
protocol: "HTTPS",
|
|
1510
|
+
pathname: "/",
|
|
1511
|
+
method: "POST",
|
|
1512
|
+
authType: "AK",
|
|
1513
|
+
style: "RPC",
|
|
1514
|
+
reqBodyType: "formData",
|
|
1515
|
+
bodyType: "json",
|
|
1516
|
+
});
|
|
1517
|
+
return $tea.cast<PhoneNumberEncryptResponse>(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
async phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse> {
|
|
1521
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1522
|
+
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
async threeElementsVerificationWithOptions(request: ThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<ThreeElementsVerificationResponse> {
|
|
1526
|
+
Util.validateModel(request);
|
|
1527
|
+
let query = { };
|
|
1528
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1529
|
+
query["AuthCode"] = request.authCode;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
if (!Util.isUnset(request.certCode)) {
|
|
1533
|
+
query["CertCode"] = request.certCode;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1537
|
+
query["InputNumber"] = request.inputNumber;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
if (!Util.isUnset(request.mask)) {
|
|
1541
|
+
query["Mask"] = request.mask;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
if (!Util.isUnset(request.name)) {
|
|
1545
|
+
query["Name"] = request.name;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1549
|
+
query["OwnerId"] = request.ownerId;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1553
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1557
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1561
|
+
query: OpenApiUtil.query(query),
|
|
1562
|
+
});
|
|
1563
|
+
let params = new $OpenApi.Params({
|
|
1564
|
+
action: "ThreeElementsVerification",
|
|
1565
|
+
version: "2020-02-17",
|
|
1566
|
+
protocol: "HTTPS",
|
|
1567
|
+
pathname: "/",
|
|
1568
|
+
method: "POST",
|
|
1569
|
+
authType: "AK",
|
|
1570
|
+
style: "RPC",
|
|
1571
|
+
reqBodyType: "formData",
|
|
1572
|
+
bodyType: "json",
|
|
1573
|
+
});
|
|
1574
|
+
return $tea.cast<ThreeElementsVerificationResponse>(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
async threeElementsVerification(request: ThreeElementsVerificationRequest): Promise<ThreeElementsVerificationResponse> {
|
|
1578
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1579
|
+
return await this.threeElementsVerificationWithOptions(request, runtime);
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
async twoElementsVerificationWithOptions(request: TwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<TwoElementsVerificationResponse> {
|
|
1583
|
+
Util.validateModel(request);
|
|
1584
|
+
let query = { };
|
|
1585
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1586
|
+
query["AuthCode"] = request.authCode;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1590
|
+
query["InputNumber"] = request.inputNumber;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
if (!Util.isUnset(request.mask)) {
|
|
1594
|
+
query["Mask"] = request.mask;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
if (!Util.isUnset(request.name)) {
|
|
1598
|
+
query["Name"] = request.name;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1602
|
+
query["OwnerId"] = request.ownerId;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1606
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1610
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1614
|
+
query: OpenApiUtil.query(query),
|
|
1615
|
+
});
|
|
976
1616
|
let params = new $OpenApi.Params({
|
|
977
|
-
action: "
|
|
1617
|
+
action: "TwoElementsVerification",
|
|
978
1618
|
version: "2020-02-17",
|
|
979
1619
|
protocol: "HTTPS",
|
|
980
1620
|
pathname: "/",
|
|
@@ -982,14 +1622,14 @@ export default class Client extends OpenApi {
|
|
|
982
1622
|
authType: "AK",
|
|
983
1623
|
style: "RPC",
|
|
984
1624
|
reqBodyType: "formData",
|
|
985
|
-
bodyType: "
|
|
1625
|
+
bodyType: "json",
|
|
986
1626
|
});
|
|
987
|
-
return $tea.cast<
|
|
1627
|
+
return $tea.cast<TwoElementsVerificationResponse>(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
|
|
988
1628
|
}
|
|
989
1629
|
|
|
990
|
-
async
|
|
1630
|
+
async twoElementsVerification(request: TwoElementsVerificationRequest): Promise<TwoElementsVerificationResponse> {
|
|
991
1631
|
let runtime = new $Util.RuntimeOptions({ });
|
|
992
|
-
return await this.
|
|
1632
|
+
return await this.twoElementsVerificationWithOptions(request, runtime);
|
|
993
1633
|
}
|
|
994
1634
|
|
|
995
1635
|
}
|