@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/dist/client.js
CHANGED
|
@@ -72,12 +72,14 @@ class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
|
72
72
|
static names() {
|
|
73
73
|
return {
|
|
74
74
|
headers: 'headers',
|
|
75
|
+
statusCode: 'statusCode',
|
|
75
76
|
body: 'body',
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
79
|
static types() {
|
|
79
80
|
return {
|
|
80
81
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82
|
+
statusCode: 'number',
|
|
81
83
|
body: DescribeEmptyNumberDetectResponseBody,
|
|
82
84
|
};
|
|
83
85
|
}
|
|
@@ -142,12 +144,14 @@ class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
|
142
144
|
static names() {
|
|
143
145
|
return {
|
|
144
146
|
headers: 'headers',
|
|
147
|
+
statusCode: 'statusCode',
|
|
145
148
|
body: 'body',
|
|
146
149
|
};
|
|
147
150
|
}
|
|
148
151
|
static types() {
|
|
149
152
|
return {
|
|
150
153
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
154
|
+
statusCode: 'number',
|
|
151
155
|
body: DescribePhoneNumberAnalysisResponseBody,
|
|
152
156
|
};
|
|
153
157
|
}
|
|
@@ -204,12 +208,14 @@ class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
|
204
208
|
static names() {
|
|
205
209
|
return {
|
|
206
210
|
headers: 'headers',
|
|
211
|
+
statusCode: 'statusCode',
|
|
207
212
|
body: 'body',
|
|
208
213
|
};
|
|
209
214
|
}
|
|
210
215
|
static types() {
|
|
211
216
|
return {
|
|
212
217
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
218
|
+
statusCode: 'number',
|
|
213
219
|
body: DescribePhoneNumberAttributeResponseBody,
|
|
214
220
|
};
|
|
215
221
|
}
|
|
@@ -272,12 +278,14 @@ class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
272
278
|
static names() {
|
|
273
279
|
return {
|
|
274
280
|
headers: 'headers',
|
|
281
|
+
statusCode: 'statusCode',
|
|
275
282
|
body: 'body',
|
|
276
283
|
};
|
|
277
284
|
}
|
|
278
285
|
static types() {
|
|
279
286
|
return {
|
|
280
287
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
288
|
+
statusCode: 'number',
|
|
281
289
|
body: DescribePhoneNumberOnlineTimeResponseBody,
|
|
282
290
|
};
|
|
283
291
|
}
|
|
@@ -336,12 +344,14 @@ class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
|
336
344
|
static names() {
|
|
337
345
|
return {
|
|
338
346
|
headers: 'headers',
|
|
347
|
+
statusCode: 'statusCode',
|
|
339
348
|
body: 'body',
|
|
340
349
|
};
|
|
341
350
|
}
|
|
342
351
|
static types() {
|
|
343
352
|
return {
|
|
344
353
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
354
|
+
statusCode: 'number',
|
|
345
355
|
body: DescribePhoneNumberResaleResponseBody,
|
|
346
356
|
};
|
|
347
357
|
}
|
|
@@ -398,17 +408,155 @@ class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
398
408
|
static names() {
|
|
399
409
|
return {
|
|
400
410
|
headers: 'headers',
|
|
411
|
+
statusCode: 'statusCode',
|
|
401
412
|
body: 'body',
|
|
402
413
|
};
|
|
403
414
|
}
|
|
404
415
|
static types() {
|
|
405
416
|
return {
|
|
406
417
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
418
|
+
statusCode: 'number',
|
|
407
419
|
body: DescribePhoneNumberStatusResponseBody,
|
|
408
420
|
};
|
|
409
421
|
}
|
|
410
422
|
}
|
|
411
423
|
exports.DescribePhoneNumberStatusResponse = DescribePhoneNumberStatusResponse;
|
|
424
|
+
class InvalidPhoneNumberFilterRequest extends $tea.Model {
|
|
425
|
+
constructor(map) {
|
|
426
|
+
super(map);
|
|
427
|
+
}
|
|
428
|
+
static names() {
|
|
429
|
+
return {
|
|
430
|
+
authCode: 'AuthCode',
|
|
431
|
+
inputNumber: 'InputNumber',
|
|
432
|
+
mask: 'Mask',
|
|
433
|
+
ownerId: 'OwnerId',
|
|
434
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
435
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
static types() {
|
|
439
|
+
return {
|
|
440
|
+
authCode: 'string',
|
|
441
|
+
inputNumber: 'string',
|
|
442
|
+
mask: 'string',
|
|
443
|
+
ownerId: 'number',
|
|
444
|
+
resourceOwnerAccount: 'string',
|
|
445
|
+
resourceOwnerId: 'number',
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
exports.InvalidPhoneNumberFilterRequest = InvalidPhoneNumberFilterRequest;
|
|
450
|
+
class InvalidPhoneNumberFilterResponseBody extends $tea.Model {
|
|
451
|
+
constructor(map) {
|
|
452
|
+
super(map);
|
|
453
|
+
}
|
|
454
|
+
static names() {
|
|
455
|
+
return {
|
|
456
|
+
code: 'Code',
|
|
457
|
+
data: 'Data',
|
|
458
|
+
message: 'Message',
|
|
459
|
+
requestId: 'RequestId',
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
static types() {
|
|
463
|
+
return {
|
|
464
|
+
code: 'string',
|
|
465
|
+
data: { 'type': 'array', 'itemType': InvalidPhoneNumberFilterResponseBodyData },
|
|
466
|
+
message: 'string',
|
|
467
|
+
requestId: 'string',
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
exports.InvalidPhoneNumberFilterResponseBody = InvalidPhoneNumberFilterResponseBody;
|
|
472
|
+
class InvalidPhoneNumberFilterResponse extends $tea.Model {
|
|
473
|
+
constructor(map) {
|
|
474
|
+
super(map);
|
|
475
|
+
}
|
|
476
|
+
static names() {
|
|
477
|
+
return {
|
|
478
|
+
headers: 'headers',
|
|
479
|
+
statusCode: 'statusCode',
|
|
480
|
+
body: 'body',
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
static types() {
|
|
484
|
+
return {
|
|
485
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
486
|
+
statusCode: 'number',
|
|
487
|
+
body: InvalidPhoneNumberFilterResponseBody,
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
exports.InvalidPhoneNumberFilterResponse = InvalidPhoneNumberFilterResponse;
|
|
492
|
+
class PhoneNumberEncryptRequest extends $tea.Model {
|
|
493
|
+
constructor(map) {
|
|
494
|
+
super(map);
|
|
495
|
+
}
|
|
496
|
+
static names() {
|
|
497
|
+
return {
|
|
498
|
+
authCode: 'AuthCode',
|
|
499
|
+
inputNumber: 'InputNumber',
|
|
500
|
+
mask: 'Mask',
|
|
501
|
+
ownerId: 'OwnerId',
|
|
502
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
503
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
static types() {
|
|
507
|
+
return {
|
|
508
|
+
authCode: 'string',
|
|
509
|
+
inputNumber: 'string',
|
|
510
|
+
mask: 'string',
|
|
511
|
+
ownerId: 'number',
|
|
512
|
+
resourceOwnerAccount: 'string',
|
|
513
|
+
resourceOwnerId: 'number',
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
exports.PhoneNumberEncryptRequest = PhoneNumberEncryptRequest;
|
|
518
|
+
class PhoneNumberEncryptResponseBody extends $tea.Model {
|
|
519
|
+
constructor(map) {
|
|
520
|
+
super(map);
|
|
521
|
+
}
|
|
522
|
+
static names() {
|
|
523
|
+
return {
|
|
524
|
+
code: 'Code',
|
|
525
|
+
data: 'Data',
|
|
526
|
+
message: 'Message',
|
|
527
|
+
requestId: 'RequestId',
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
static types() {
|
|
531
|
+
return {
|
|
532
|
+
code: 'string',
|
|
533
|
+
data: { 'type': 'array', 'itemType': PhoneNumberEncryptResponseBodyData },
|
|
534
|
+
message: 'string',
|
|
535
|
+
requestId: 'string',
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
exports.PhoneNumberEncryptResponseBody = PhoneNumberEncryptResponseBody;
|
|
540
|
+
class PhoneNumberEncryptResponse extends $tea.Model {
|
|
541
|
+
constructor(map) {
|
|
542
|
+
super(map);
|
|
543
|
+
}
|
|
544
|
+
static names() {
|
|
545
|
+
return {
|
|
546
|
+
headers: 'headers',
|
|
547
|
+
statusCode: 'statusCode',
|
|
548
|
+
body: 'body',
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
static types() {
|
|
552
|
+
return {
|
|
553
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
554
|
+
statusCode: 'number',
|
|
555
|
+
body: PhoneNumberEncryptResponseBody,
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
exports.PhoneNumberEncryptResponse = PhoneNumberEncryptResponse;
|
|
412
560
|
class PvrCallbackFCUResponse extends $tea.Model {
|
|
413
561
|
constructor(map) {
|
|
414
562
|
super(map);
|
|
@@ -416,15 +564,159 @@ class PvrCallbackFCUResponse extends $tea.Model {
|
|
|
416
564
|
static names() {
|
|
417
565
|
return {
|
|
418
566
|
headers: 'headers',
|
|
567
|
+
statusCode: 'statusCode',
|
|
419
568
|
};
|
|
420
569
|
}
|
|
421
570
|
static types() {
|
|
422
571
|
return {
|
|
423
572
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
573
|
+
statusCode: 'number',
|
|
424
574
|
};
|
|
425
575
|
}
|
|
426
576
|
}
|
|
427
577
|
exports.PvrCallbackFCUResponse = PvrCallbackFCUResponse;
|
|
578
|
+
class ThreeElementsVerificationRequest extends $tea.Model {
|
|
579
|
+
constructor(map) {
|
|
580
|
+
super(map);
|
|
581
|
+
}
|
|
582
|
+
static names() {
|
|
583
|
+
return {
|
|
584
|
+
authCode: 'AuthCode',
|
|
585
|
+
certCode: 'CertCode',
|
|
586
|
+
inputNumber: 'InputNumber',
|
|
587
|
+
mask: 'Mask',
|
|
588
|
+
name: 'Name',
|
|
589
|
+
ownerId: 'OwnerId',
|
|
590
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
591
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
static types() {
|
|
595
|
+
return {
|
|
596
|
+
authCode: 'string',
|
|
597
|
+
certCode: 'string',
|
|
598
|
+
inputNumber: 'string',
|
|
599
|
+
mask: 'string',
|
|
600
|
+
name: 'string',
|
|
601
|
+
ownerId: 'number',
|
|
602
|
+
resourceOwnerAccount: 'string',
|
|
603
|
+
resourceOwnerId: 'number',
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
exports.ThreeElementsVerificationRequest = ThreeElementsVerificationRequest;
|
|
608
|
+
class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
609
|
+
constructor(map) {
|
|
610
|
+
super(map);
|
|
611
|
+
}
|
|
612
|
+
static names() {
|
|
613
|
+
return {
|
|
614
|
+
code: 'Code',
|
|
615
|
+
data: 'Data',
|
|
616
|
+
message: 'Message',
|
|
617
|
+
requestId: 'RequestId',
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
static types() {
|
|
621
|
+
return {
|
|
622
|
+
code: 'string',
|
|
623
|
+
data: { 'type': 'array', 'itemType': ThreeElementsVerificationResponseBodyData },
|
|
624
|
+
message: 'string',
|
|
625
|
+
requestId: 'string',
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
exports.ThreeElementsVerificationResponseBody = ThreeElementsVerificationResponseBody;
|
|
630
|
+
class ThreeElementsVerificationResponse extends $tea.Model {
|
|
631
|
+
constructor(map) {
|
|
632
|
+
super(map);
|
|
633
|
+
}
|
|
634
|
+
static names() {
|
|
635
|
+
return {
|
|
636
|
+
headers: 'headers',
|
|
637
|
+
statusCode: 'statusCode',
|
|
638
|
+
body: 'body',
|
|
639
|
+
};
|
|
640
|
+
}
|
|
641
|
+
static types() {
|
|
642
|
+
return {
|
|
643
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
644
|
+
statusCode: 'number',
|
|
645
|
+
body: ThreeElementsVerificationResponseBody,
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
exports.ThreeElementsVerificationResponse = ThreeElementsVerificationResponse;
|
|
650
|
+
class TwoElementsVerificationRequest extends $tea.Model {
|
|
651
|
+
constructor(map) {
|
|
652
|
+
super(map);
|
|
653
|
+
}
|
|
654
|
+
static names() {
|
|
655
|
+
return {
|
|
656
|
+
authCode: 'AuthCode',
|
|
657
|
+
inputNumber: 'InputNumber',
|
|
658
|
+
mask: 'Mask',
|
|
659
|
+
name: 'Name',
|
|
660
|
+
ownerId: 'OwnerId',
|
|
661
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
662
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
663
|
+
};
|
|
664
|
+
}
|
|
665
|
+
static types() {
|
|
666
|
+
return {
|
|
667
|
+
authCode: 'string',
|
|
668
|
+
inputNumber: 'string',
|
|
669
|
+
mask: 'string',
|
|
670
|
+
name: 'string',
|
|
671
|
+
ownerId: 'number',
|
|
672
|
+
resourceOwnerAccount: 'string',
|
|
673
|
+
resourceOwnerId: 'number',
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
exports.TwoElementsVerificationRequest = TwoElementsVerificationRequest;
|
|
678
|
+
class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
679
|
+
constructor(map) {
|
|
680
|
+
super(map);
|
|
681
|
+
}
|
|
682
|
+
static names() {
|
|
683
|
+
return {
|
|
684
|
+
code: 'Code',
|
|
685
|
+
data: 'Data',
|
|
686
|
+
message: 'Message',
|
|
687
|
+
requestId: 'RequestId',
|
|
688
|
+
};
|
|
689
|
+
}
|
|
690
|
+
static types() {
|
|
691
|
+
return {
|
|
692
|
+
code: 'string',
|
|
693
|
+
data: { 'type': 'array', 'itemType': TwoElementsVerificationResponseBodyData },
|
|
694
|
+
message: 'string',
|
|
695
|
+
requestId: 'string',
|
|
696
|
+
};
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
exports.TwoElementsVerificationResponseBody = TwoElementsVerificationResponseBody;
|
|
700
|
+
class TwoElementsVerificationResponse extends $tea.Model {
|
|
701
|
+
constructor(map) {
|
|
702
|
+
super(map);
|
|
703
|
+
}
|
|
704
|
+
static names() {
|
|
705
|
+
return {
|
|
706
|
+
headers: 'headers',
|
|
707
|
+
statusCode: 'statusCode',
|
|
708
|
+
body: 'body',
|
|
709
|
+
};
|
|
710
|
+
}
|
|
711
|
+
static types() {
|
|
712
|
+
return {
|
|
713
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
714
|
+
statusCode: 'number',
|
|
715
|
+
body: TwoElementsVerificationResponseBody,
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
exports.TwoElementsVerificationResponse = TwoElementsVerificationResponse;
|
|
428
720
|
class DescribeEmptyNumberDetectResponseBodyData extends $tea.Model {
|
|
429
721
|
constructor(map) {
|
|
430
722
|
super(map);
|
|
@@ -541,6 +833,84 @@ class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model {
|
|
|
541
833
|
}
|
|
542
834
|
}
|
|
543
835
|
exports.DescribePhoneNumberStatusResponseBodyPhoneStatus = DescribePhoneNumberStatusResponseBodyPhoneStatus;
|
|
836
|
+
class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
837
|
+
constructor(map) {
|
|
838
|
+
super(map);
|
|
839
|
+
}
|
|
840
|
+
static names() {
|
|
841
|
+
return {
|
|
842
|
+
code: 'Code',
|
|
843
|
+
encryptedNumber: 'EncryptedNumber',
|
|
844
|
+
expireTime: 'ExpireTime',
|
|
845
|
+
originalNumber: 'OriginalNumber',
|
|
846
|
+
};
|
|
847
|
+
}
|
|
848
|
+
static types() {
|
|
849
|
+
return {
|
|
850
|
+
code: 'string',
|
|
851
|
+
encryptedNumber: 'string',
|
|
852
|
+
expireTime: 'string',
|
|
853
|
+
originalNumber: 'string',
|
|
854
|
+
};
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
exports.InvalidPhoneNumberFilterResponseBodyData = InvalidPhoneNumberFilterResponseBodyData;
|
|
858
|
+
class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
859
|
+
constructor(map) {
|
|
860
|
+
super(map);
|
|
861
|
+
}
|
|
862
|
+
static names() {
|
|
863
|
+
return {
|
|
864
|
+
encryptedNumber: 'EncryptedNumber',
|
|
865
|
+
expireTime: 'ExpireTime',
|
|
866
|
+
originalNumber: 'OriginalNumber',
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
static types() {
|
|
870
|
+
return {
|
|
871
|
+
encryptedNumber: 'string',
|
|
872
|
+
expireTime: 'string',
|
|
873
|
+
originalNumber: 'string',
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
exports.PhoneNumberEncryptResponseBodyData = PhoneNumberEncryptResponseBodyData;
|
|
878
|
+
class ThreeElementsVerificationResponseBodyData extends $tea.Model {
|
|
879
|
+
constructor(map) {
|
|
880
|
+
super(map);
|
|
881
|
+
}
|
|
882
|
+
static names() {
|
|
883
|
+
return {
|
|
884
|
+
basicCarrier: 'BasicCarrier',
|
|
885
|
+
isConsistent: 'IsConsistent',
|
|
886
|
+
};
|
|
887
|
+
}
|
|
888
|
+
static types() {
|
|
889
|
+
return {
|
|
890
|
+
basicCarrier: 'string',
|
|
891
|
+
isConsistent: 'number',
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
exports.ThreeElementsVerificationResponseBodyData = ThreeElementsVerificationResponseBodyData;
|
|
896
|
+
class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
897
|
+
constructor(map) {
|
|
898
|
+
super(map);
|
|
899
|
+
}
|
|
900
|
+
static names() {
|
|
901
|
+
return {
|
|
902
|
+
basicCarrier: 'BasicCarrier',
|
|
903
|
+
isConsistent: 'IsConsistent',
|
|
904
|
+
};
|
|
905
|
+
}
|
|
906
|
+
static types() {
|
|
907
|
+
return {
|
|
908
|
+
basicCarrier: 'string',
|
|
909
|
+
isConsistent: 'number',
|
|
910
|
+
};
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
exports.TwoElementsVerificationResponseBodyData = TwoElementsVerificationResponseBodyData;
|
|
544
914
|
class Client extends openapi_client_1.default {
|
|
545
915
|
constructor(config) {
|
|
546
916
|
super(config);
|
|
@@ -794,6 +1164,88 @@ class Client extends openapi_client_1.default {
|
|
|
794
1164
|
let runtime = new $Util.RuntimeOptions({});
|
|
795
1165
|
return await this.describePhoneNumberStatusWithOptions(request, runtime);
|
|
796
1166
|
}
|
|
1167
|
+
async invalidPhoneNumberFilterWithOptions(request, runtime) {
|
|
1168
|
+
tea_util_1.default.validateModel(request);
|
|
1169
|
+
let query = {};
|
|
1170
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1171
|
+
query["AuthCode"] = request.authCode;
|
|
1172
|
+
}
|
|
1173
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1174
|
+
query["InputNumber"] = request.inputNumber;
|
|
1175
|
+
}
|
|
1176
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1177
|
+
query["Mask"] = request.mask;
|
|
1178
|
+
}
|
|
1179
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1180
|
+
query["OwnerId"] = request.ownerId;
|
|
1181
|
+
}
|
|
1182
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1183
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1184
|
+
}
|
|
1185
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1186
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1187
|
+
}
|
|
1188
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1189
|
+
query: openapi_util_1.default.query(query),
|
|
1190
|
+
});
|
|
1191
|
+
let params = new $OpenApi.Params({
|
|
1192
|
+
action: "InvalidPhoneNumberFilter",
|
|
1193
|
+
version: "2020-02-17",
|
|
1194
|
+
protocol: "HTTPS",
|
|
1195
|
+
pathname: "/",
|
|
1196
|
+
method: "POST",
|
|
1197
|
+
authType: "AK",
|
|
1198
|
+
style: "RPC",
|
|
1199
|
+
reqBodyType: "formData",
|
|
1200
|
+
bodyType: "json",
|
|
1201
|
+
});
|
|
1202
|
+
return $tea.cast(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
|
|
1203
|
+
}
|
|
1204
|
+
async invalidPhoneNumberFilter(request) {
|
|
1205
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1206
|
+
return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
|
|
1207
|
+
}
|
|
1208
|
+
async phoneNumberEncryptWithOptions(request, runtime) {
|
|
1209
|
+
tea_util_1.default.validateModel(request);
|
|
1210
|
+
let query = {};
|
|
1211
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1212
|
+
query["AuthCode"] = request.authCode;
|
|
1213
|
+
}
|
|
1214
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1215
|
+
query["InputNumber"] = request.inputNumber;
|
|
1216
|
+
}
|
|
1217
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1218
|
+
query["Mask"] = request.mask;
|
|
1219
|
+
}
|
|
1220
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1221
|
+
query["OwnerId"] = request.ownerId;
|
|
1222
|
+
}
|
|
1223
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1224
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1225
|
+
}
|
|
1226
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1227
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1228
|
+
}
|
|
1229
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1230
|
+
query: openapi_util_1.default.query(query),
|
|
1231
|
+
});
|
|
1232
|
+
let params = new $OpenApi.Params({
|
|
1233
|
+
action: "PhoneNumberEncrypt",
|
|
1234
|
+
version: "2020-02-17",
|
|
1235
|
+
protocol: "HTTPS",
|
|
1236
|
+
pathname: "/",
|
|
1237
|
+
method: "POST",
|
|
1238
|
+
authType: "AK",
|
|
1239
|
+
style: "RPC",
|
|
1240
|
+
reqBodyType: "formData",
|
|
1241
|
+
bodyType: "json",
|
|
1242
|
+
});
|
|
1243
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
|
|
1244
|
+
}
|
|
1245
|
+
async phoneNumberEncrypt(request) {
|
|
1246
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1247
|
+
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
1248
|
+
}
|
|
797
1249
|
async pvrCallbackFCUWithOptions(runtime) {
|
|
798
1250
|
let req = new $OpenApi.OpenApiRequest({});
|
|
799
1251
|
let params = new $OpenApi.Params({
|
|
@@ -813,6 +1265,97 @@ class Client extends openapi_client_1.default {
|
|
|
813
1265
|
let runtime = new $Util.RuntimeOptions({});
|
|
814
1266
|
return await this.pvrCallbackFCUWithOptions(runtime);
|
|
815
1267
|
}
|
|
1268
|
+
async threeElementsVerificationWithOptions(request, runtime) {
|
|
1269
|
+
tea_util_1.default.validateModel(request);
|
|
1270
|
+
let query = {};
|
|
1271
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1272
|
+
query["AuthCode"] = request.authCode;
|
|
1273
|
+
}
|
|
1274
|
+
if (!tea_util_1.default.isUnset(request.certCode)) {
|
|
1275
|
+
query["CertCode"] = request.certCode;
|
|
1276
|
+
}
|
|
1277
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1278
|
+
query["InputNumber"] = request.inputNumber;
|
|
1279
|
+
}
|
|
1280
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1281
|
+
query["Mask"] = request.mask;
|
|
1282
|
+
}
|
|
1283
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
1284
|
+
query["Name"] = request.name;
|
|
1285
|
+
}
|
|
1286
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1287
|
+
query["OwnerId"] = request.ownerId;
|
|
1288
|
+
}
|
|
1289
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1290
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1291
|
+
}
|
|
1292
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1293
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1294
|
+
}
|
|
1295
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1296
|
+
query: openapi_util_1.default.query(query),
|
|
1297
|
+
});
|
|
1298
|
+
let params = new $OpenApi.Params({
|
|
1299
|
+
action: "ThreeElementsVerification",
|
|
1300
|
+
version: "2020-02-17",
|
|
1301
|
+
protocol: "HTTPS",
|
|
1302
|
+
pathname: "/",
|
|
1303
|
+
method: "POST",
|
|
1304
|
+
authType: "AK",
|
|
1305
|
+
style: "RPC",
|
|
1306
|
+
reqBodyType: "formData",
|
|
1307
|
+
bodyType: "json",
|
|
1308
|
+
});
|
|
1309
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
|
|
1310
|
+
}
|
|
1311
|
+
async threeElementsVerification(request) {
|
|
1312
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1313
|
+
return await this.threeElementsVerificationWithOptions(request, runtime);
|
|
1314
|
+
}
|
|
1315
|
+
async twoElementsVerificationWithOptions(request, runtime) {
|
|
1316
|
+
tea_util_1.default.validateModel(request);
|
|
1317
|
+
let query = {};
|
|
1318
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1319
|
+
query["AuthCode"] = request.authCode;
|
|
1320
|
+
}
|
|
1321
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1322
|
+
query["InputNumber"] = request.inputNumber;
|
|
1323
|
+
}
|
|
1324
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1325
|
+
query["Mask"] = request.mask;
|
|
1326
|
+
}
|
|
1327
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
1328
|
+
query["Name"] = request.name;
|
|
1329
|
+
}
|
|
1330
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1331
|
+
query["OwnerId"] = request.ownerId;
|
|
1332
|
+
}
|
|
1333
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1334
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1335
|
+
}
|
|
1336
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1337
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1338
|
+
}
|
|
1339
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1340
|
+
query: openapi_util_1.default.query(query),
|
|
1341
|
+
});
|
|
1342
|
+
let params = new $OpenApi.Params({
|
|
1343
|
+
action: "TwoElementsVerification",
|
|
1344
|
+
version: "2020-02-17",
|
|
1345
|
+
protocol: "HTTPS",
|
|
1346
|
+
pathname: "/",
|
|
1347
|
+
method: "POST",
|
|
1348
|
+
authType: "AK",
|
|
1349
|
+
style: "RPC",
|
|
1350
|
+
reqBodyType: "formData",
|
|
1351
|
+
bodyType: "json",
|
|
1352
|
+
});
|
|
1353
|
+
return $tea.cast(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
|
|
1354
|
+
}
|
|
1355
|
+
async twoElementsVerification(request) {
|
|
1356
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1357
|
+
return await this.twoElementsVerificationWithOptions(request, runtime);
|
|
1358
|
+
}
|
|
816
1359
|
}
|
|
817
1360
|
exports.default = Client;
|
|
818
1361
|
//# sourceMappingURL=client.js.map
|