@alicloud/dytnsapi20200217 1.0.6 → 1.0.9
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 +265 -0
- package/dist/client.js +543 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +683 -0
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,377 @@ export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
503
521
|
}
|
|
504
522
|
}
|
|
505
523
|
|
|
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
|
+
|
|
506
698
|
export class PvrCallbackFCUResponse extends $tea.Model {
|
|
507
699
|
headers: { [key: string]: string };
|
|
700
|
+
statusCode: number;
|
|
701
|
+
static names(): { [key: string]: string } {
|
|
702
|
+
return {
|
|
703
|
+
headers: 'headers',
|
|
704
|
+
statusCode: 'statusCode',
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
static types(): { [key: string]: any } {
|
|
709
|
+
return {
|
|
710
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
711
|
+
statusCode: 'number',
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
constructor(map?: { [key: string]: any }) {
|
|
716
|
+
super(map);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
721
|
+
authCode?: string;
|
|
722
|
+
certCode?: string;
|
|
723
|
+
inputNumber?: string;
|
|
724
|
+
mask?: string;
|
|
725
|
+
name?: string;
|
|
726
|
+
ownerId?: number;
|
|
727
|
+
resourceOwnerAccount?: string;
|
|
728
|
+
resourceOwnerId?: number;
|
|
729
|
+
static names(): { [key: string]: string } {
|
|
730
|
+
return {
|
|
731
|
+
authCode: 'AuthCode',
|
|
732
|
+
certCode: 'CertCode',
|
|
733
|
+
inputNumber: 'InputNumber',
|
|
734
|
+
mask: 'Mask',
|
|
735
|
+
name: 'Name',
|
|
736
|
+
ownerId: 'OwnerId',
|
|
737
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
738
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
739
|
+
};
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
static types(): { [key: string]: any } {
|
|
743
|
+
return {
|
|
744
|
+
authCode: 'string',
|
|
745
|
+
certCode: 'string',
|
|
746
|
+
inputNumber: 'string',
|
|
747
|
+
mask: 'string',
|
|
748
|
+
name: 'string',
|
|
749
|
+
ownerId: 'number',
|
|
750
|
+
resourceOwnerAccount: 'string',
|
|
751
|
+
resourceOwnerId: 'number',
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
constructor(map?: { [key: string]: any }) {
|
|
756
|
+
super(map);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
761
|
+
code?: string;
|
|
762
|
+
data?: ThreeElementsVerificationResponseBodyData[];
|
|
763
|
+
message?: string;
|
|
764
|
+
requestId?: string;
|
|
765
|
+
static names(): { [key: string]: string } {
|
|
766
|
+
return {
|
|
767
|
+
code: 'Code',
|
|
768
|
+
data: 'Data',
|
|
769
|
+
message: 'Message',
|
|
770
|
+
requestId: 'RequestId',
|
|
771
|
+
};
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
static types(): { [key: string]: any } {
|
|
775
|
+
return {
|
|
776
|
+
code: 'string',
|
|
777
|
+
data: { 'type': 'array', 'itemType': ThreeElementsVerificationResponseBodyData },
|
|
778
|
+
message: 'string',
|
|
779
|
+
requestId: 'string',
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
constructor(map?: { [key: string]: any }) {
|
|
784
|
+
super(map);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export class ThreeElementsVerificationResponse extends $tea.Model {
|
|
789
|
+
headers: { [key: string]: string };
|
|
790
|
+
statusCode: number;
|
|
791
|
+
body: ThreeElementsVerificationResponseBody;
|
|
792
|
+
static names(): { [key: string]: string } {
|
|
793
|
+
return {
|
|
794
|
+
headers: 'headers',
|
|
795
|
+
statusCode: 'statusCode',
|
|
796
|
+
body: 'body',
|
|
797
|
+
};
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
static types(): { [key: string]: any } {
|
|
801
|
+
return {
|
|
802
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
803
|
+
statusCode: 'number',
|
|
804
|
+
body: ThreeElementsVerificationResponseBody,
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
constructor(map?: { [key: string]: any }) {
|
|
809
|
+
super(map);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export class TwoElementsVerificationRequest extends $tea.Model {
|
|
814
|
+
authCode?: string;
|
|
815
|
+
inputNumber?: string;
|
|
816
|
+
mask?: string;
|
|
817
|
+
name?: string;
|
|
818
|
+
ownerId?: number;
|
|
819
|
+
resourceOwnerAccount?: string;
|
|
820
|
+
resourceOwnerId?: number;
|
|
821
|
+
static names(): { [key: string]: string } {
|
|
822
|
+
return {
|
|
823
|
+
authCode: 'AuthCode',
|
|
824
|
+
inputNumber: 'InputNumber',
|
|
825
|
+
mask: 'Mask',
|
|
826
|
+
name: 'Name',
|
|
827
|
+
ownerId: 'OwnerId',
|
|
828
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
829
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
static types(): { [key: string]: any } {
|
|
834
|
+
return {
|
|
835
|
+
authCode: 'string',
|
|
836
|
+
inputNumber: 'string',
|
|
837
|
+
mask: 'string',
|
|
838
|
+
name: 'string',
|
|
839
|
+
ownerId: 'number',
|
|
840
|
+
resourceOwnerAccount: 'string',
|
|
841
|
+
resourceOwnerId: 'number',
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
constructor(map?: { [key: string]: any }) {
|
|
846
|
+
super(map);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
851
|
+
code?: string;
|
|
852
|
+
data?: TwoElementsVerificationResponseBodyData[];
|
|
853
|
+
message?: string;
|
|
854
|
+
requestId?: string;
|
|
855
|
+
static names(): { [key: string]: string } {
|
|
856
|
+
return {
|
|
857
|
+
code: 'Code',
|
|
858
|
+
data: 'Data',
|
|
859
|
+
message: 'Message',
|
|
860
|
+
requestId: 'RequestId',
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
static types(): { [key: string]: any } {
|
|
865
|
+
return {
|
|
866
|
+
code: 'string',
|
|
867
|
+
data: { 'type': 'array', 'itemType': TwoElementsVerificationResponseBodyData },
|
|
868
|
+
message: 'string',
|
|
869
|
+
requestId: 'string',
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
constructor(map?: { [key: string]: any }) {
|
|
874
|
+
super(map);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
export class TwoElementsVerificationResponse extends $tea.Model {
|
|
879
|
+
headers: { [key: string]: string };
|
|
880
|
+
statusCode: number;
|
|
881
|
+
body: TwoElementsVerificationResponseBody;
|
|
508
882
|
static names(): { [key: string]: string } {
|
|
509
883
|
return {
|
|
510
884
|
headers: 'headers',
|
|
885
|
+
statusCode: 'statusCode',
|
|
886
|
+
body: 'body',
|
|
511
887
|
};
|
|
512
888
|
}
|
|
513
889
|
|
|
514
890
|
static types(): { [key: string]: any } {
|
|
515
891
|
return {
|
|
516
892
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
893
|
+
statusCode: 'number',
|
|
894
|
+
body: TwoElementsVerificationResponseBody,
|
|
517
895
|
};
|
|
518
896
|
}
|
|
519
897
|
|
|
@@ -666,6 +1044,103 @@ export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model
|
|
|
666
1044
|
}
|
|
667
1045
|
}
|
|
668
1046
|
|
|
1047
|
+
export class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
1048
|
+
code?: string;
|
|
1049
|
+
encryptedNumber?: string;
|
|
1050
|
+
expireTime?: string;
|
|
1051
|
+
originalNumber?: string;
|
|
1052
|
+
static names(): { [key: string]: string } {
|
|
1053
|
+
return {
|
|
1054
|
+
code: 'Code',
|
|
1055
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1056
|
+
expireTime: 'ExpireTime',
|
|
1057
|
+
originalNumber: 'OriginalNumber',
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
static types(): { [key: string]: any } {
|
|
1062
|
+
return {
|
|
1063
|
+
code: 'string',
|
|
1064
|
+
encryptedNumber: 'string',
|
|
1065
|
+
expireTime: 'string',
|
|
1066
|
+
originalNumber: 'string',
|
|
1067
|
+
};
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
constructor(map?: { [key: string]: any }) {
|
|
1071
|
+
super(map);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
export class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
1076
|
+
encryptedNumber?: string;
|
|
1077
|
+
expireTime?: string;
|
|
1078
|
+
originalNumber?: string;
|
|
1079
|
+
static names(): { [key: string]: string } {
|
|
1080
|
+
return {
|
|
1081
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1082
|
+
expireTime: 'ExpireTime',
|
|
1083
|
+
originalNumber: 'OriginalNumber',
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
static types(): { [key: string]: any } {
|
|
1088
|
+
return {
|
|
1089
|
+
encryptedNumber: 'string',
|
|
1090
|
+
expireTime: 'string',
|
|
1091
|
+
originalNumber: 'string',
|
|
1092
|
+
};
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
constructor(map?: { [key: string]: any }) {
|
|
1096
|
+
super(map);
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
export class ThreeElementsVerificationResponseBodyData 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
|
+
|
|
1122
|
+
export class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
1123
|
+
basicCarrier?: string;
|
|
1124
|
+
isConsistent?: number;
|
|
1125
|
+
static names(): { [key: string]: string } {
|
|
1126
|
+
return {
|
|
1127
|
+
basicCarrier: 'BasicCarrier',
|
|
1128
|
+
isConsistent: 'IsConsistent',
|
|
1129
|
+
};
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
static types(): { [key: string]: any } {
|
|
1133
|
+
return {
|
|
1134
|
+
basicCarrier: 'string',
|
|
1135
|
+
isConsistent: 'number',
|
|
1136
|
+
};
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
constructor(map?: { [key: string]: any }) {
|
|
1140
|
+
super(map);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
|
|
669
1144
|
|
|
670
1145
|
export default class Client extends OpenApi {
|
|
671
1146
|
|
|
@@ -971,6 +1446,104 @@ export default class Client extends OpenApi {
|
|
|
971
1446
|
return await this.describePhoneNumberStatusWithOptions(request, runtime);
|
|
972
1447
|
}
|
|
973
1448
|
|
|
1449
|
+
async invalidPhoneNumberFilterWithOptions(request: InvalidPhoneNumberFilterRequest, runtime: $Util.RuntimeOptions): Promise<InvalidPhoneNumberFilterResponse> {
|
|
1450
|
+
Util.validateModel(request);
|
|
1451
|
+
let query = { };
|
|
1452
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1453
|
+
query["AuthCode"] = request.authCode;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1457
|
+
query["InputNumber"] = request.inputNumber;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
if (!Util.isUnset(request.mask)) {
|
|
1461
|
+
query["Mask"] = request.mask;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1465
|
+
query["OwnerId"] = request.ownerId;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1469
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1473
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1477
|
+
query: OpenApiUtil.query(query),
|
|
1478
|
+
});
|
|
1479
|
+
let params = new $OpenApi.Params({
|
|
1480
|
+
action: "InvalidPhoneNumberFilter",
|
|
1481
|
+
version: "2020-02-17",
|
|
1482
|
+
protocol: "HTTPS",
|
|
1483
|
+
pathname: "/",
|
|
1484
|
+
method: "POST",
|
|
1485
|
+
authType: "AK",
|
|
1486
|
+
style: "RPC",
|
|
1487
|
+
reqBodyType: "formData",
|
|
1488
|
+
bodyType: "json",
|
|
1489
|
+
});
|
|
1490
|
+
return $tea.cast<InvalidPhoneNumberFilterResponse>(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
async invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse> {
|
|
1494
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1495
|
+
return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
async phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse> {
|
|
1499
|
+
Util.validateModel(request);
|
|
1500
|
+
let query = { };
|
|
1501
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1502
|
+
query["AuthCode"] = request.authCode;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1506
|
+
query["InputNumber"] = request.inputNumber;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
if (!Util.isUnset(request.mask)) {
|
|
1510
|
+
query["Mask"] = request.mask;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1514
|
+
query["OwnerId"] = request.ownerId;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1518
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1522
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1526
|
+
query: OpenApiUtil.query(query),
|
|
1527
|
+
});
|
|
1528
|
+
let params = new $OpenApi.Params({
|
|
1529
|
+
action: "PhoneNumberEncrypt",
|
|
1530
|
+
version: "2020-02-17",
|
|
1531
|
+
protocol: "HTTPS",
|
|
1532
|
+
pathname: "/",
|
|
1533
|
+
method: "POST",
|
|
1534
|
+
authType: "AK",
|
|
1535
|
+
style: "RPC",
|
|
1536
|
+
reqBodyType: "formData",
|
|
1537
|
+
bodyType: "json",
|
|
1538
|
+
});
|
|
1539
|
+
return $tea.cast<PhoneNumberEncryptResponse>(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
async phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse> {
|
|
1543
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1544
|
+
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
1545
|
+
}
|
|
1546
|
+
|
|
974
1547
|
async pvrCallbackFCUWithOptions(runtime: $Util.RuntimeOptions): Promise<PvrCallbackFCUResponse> {
|
|
975
1548
|
let req = new $OpenApi.OpenApiRequest({ });
|
|
976
1549
|
let params = new $OpenApi.Params({
|
|
@@ -992,4 +1565,114 @@ export default class Client extends OpenApi {
|
|
|
992
1565
|
return await this.pvrCallbackFCUWithOptions(runtime);
|
|
993
1566
|
}
|
|
994
1567
|
|
|
1568
|
+
async threeElementsVerificationWithOptions(request: ThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<ThreeElementsVerificationResponse> {
|
|
1569
|
+
Util.validateModel(request);
|
|
1570
|
+
let query = { };
|
|
1571
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1572
|
+
query["AuthCode"] = request.authCode;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
if (!Util.isUnset(request.certCode)) {
|
|
1576
|
+
query["CertCode"] = request.certCode;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1580
|
+
query["InputNumber"] = request.inputNumber;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
if (!Util.isUnset(request.mask)) {
|
|
1584
|
+
query["Mask"] = request.mask;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
if (!Util.isUnset(request.name)) {
|
|
1588
|
+
query["Name"] = request.name;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1592
|
+
query["OwnerId"] = request.ownerId;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1596
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1600
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1604
|
+
query: OpenApiUtil.query(query),
|
|
1605
|
+
});
|
|
1606
|
+
let params = new $OpenApi.Params({
|
|
1607
|
+
action: "ThreeElementsVerification",
|
|
1608
|
+
version: "2020-02-17",
|
|
1609
|
+
protocol: "HTTPS",
|
|
1610
|
+
pathname: "/",
|
|
1611
|
+
method: "POST",
|
|
1612
|
+
authType: "AK",
|
|
1613
|
+
style: "RPC",
|
|
1614
|
+
reqBodyType: "formData",
|
|
1615
|
+
bodyType: "json",
|
|
1616
|
+
});
|
|
1617
|
+
return $tea.cast<ThreeElementsVerificationResponse>(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
async threeElementsVerification(request: ThreeElementsVerificationRequest): Promise<ThreeElementsVerificationResponse> {
|
|
1621
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1622
|
+
return await this.threeElementsVerificationWithOptions(request, runtime);
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
async twoElementsVerificationWithOptions(request: TwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<TwoElementsVerificationResponse> {
|
|
1626
|
+
Util.validateModel(request);
|
|
1627
|
+
let query = { };
|
|
1628
|
+
if (!Util.isUnset(request.authCode)) {
|
|
1629
|
+
query["AuthCode"] = request.authCode;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
1633
|
+
query["InputNumber"] = request.inputNumber;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
if (!Util.isUnset(request.mask)) {
|
|
1637
|
+
query["Mask"] = request.mask;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
if (!Util.isUnset(request.name)) {
|
|
1641
|
+
query["Name"] = request.name;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
1645
|
+
query["OwnerId"] = request.ownerId;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
1649
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
1653
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1657
|
+
query: OpenApiUtil.query(query),
|
|
1658
|
+
});
|
|
1659
|
+
let params = new $OpenApi.Params({
|
|
1660
|
+
action: "TwoElementsVerification",
|
|
1661
|
+
version: "2020-02-17",
|
|
1662
|
+
protocol: "HTTPS",
|
|
1663
|
+
pathname: "/",
|
|
1664
|
+
method: "POST",
|
|
1665
|
+
authType: "AK",
|
|
1666
|
+
style: "RPC",
|
|
1667
|
+
reqBodyType: "formData",
|
|
1668
|
+
bodyType: "json",
|
|
1669
|
+
});
|
|
1670
|
+
return $tea.cast<TwoElementsVerificationResponse>(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
async twoElementsVerification(request: TwoElementsVerificationRequest): Promise<TwoElementsVerificationResponse> {
|
|
1674
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1675
|
+
return await this.twoElementsVerificationWithOptions(request, runtime);
|
|
1676
|
+
}
|
|
1677
|
+
|
|
995
1678
|
}
|